@beterdichtbij/component-library 0.66.0-beta.0 → 0.66.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1169,7 +1169,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1169
1169
|
.p-splitbutton-raised {
|
|
1170
1170
|
box-shadow: dt('splitbutton.raised.shadow');
|
|
1171
1171
|
}
|
|
1172
|
-
`,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-splitbutton p-component`,{"p-splitbutton-raised":n.raised,"p-splitbutton-rounded":n.rounded,"p-splitbutton-fluid":t.hasFluid}]},pcButton:`p-splitbutton-button`,pcDropdown:`p-splitbutton-dropdown`}}),Dh={name:`SplitButton`,extends:{name:`BaseSplitButton`,extends:kp,props:{label:{type:String,default:null},icon:{type:String,default:null},model:{type:Array,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:[String,Object],default:`body`},disabled:{type:Boolean,default:!1},fluid:{type:Boolean,default:null},class:{type:null,default:null},style:{type:null,default:null},buttonProps:{type:null,default:null},menuButtonProps:{type:null,default:null},menuButtonIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:Eh,provide:function(){return{$pcSplitButton:this,$parentInstance:this}}},inheritAttrs:!1,emits:[`click`],inject:{$pcFluid:{default:null}},data:function(){return{isExpanded:!1}},mounted:function(){var e=this;this.$watch(`$refs.menu.visible`,function(t){e.isExpanded=t})},methods:{onDropdownButtonClick:function(e){e&&e.preventDefault(),this.$refs.menu.toggle({currentTarget:this.$el,relatedTarget:this.$refs.button.$el}),this.isExpanded=this.$refs.menu.visible},onDropdownKeydown:function(e){(e.code===`ArrowDown`||e.code===`ArrowUp`)&&(this.onDropdownButtonClick(),e.preventDefault())},onDefaultButtonClick:function(e){this.isExpanded&&this.$refs.menu.hide(e),this.$emit(`click`,e)}},computed:{containerClass:function(){return[this.cx(`root`),this.class]},hasFluid:function(){return od(this.fluid)?!!this.$pcFluid:this.fluid}},components:{PVSButton:Gm,PVSMenu:Ch,ChevronDownIcon:Rp}},Oh=[`data-p-severity`];function kh(e,t,n,r,i,a){var o=(0,u.resolveComponent)(`PVSButton`),s=(0,u.resolveComponent)(`PVSMenu`);return(0,u.openBlock)(),(0,u.createElementBlock)(`div`,(0,u.mergeProps)({class:a.containerClass,style:e.style},e.ptmi(`root`),{"data-p-severity":e.severity}),[(0,u.createVNode)(o,(0,u.mergeProps)({type:`button`,class:e.cx(`pcButton`),label:e.label,disabled:e.disabled,severity:e.severity,text:e.text,icon:e.icon,outlined:e.outlined,size:e.size,fluid:e.fluid,"aria-label":e.label,onClick:a.onDefaultButtonClick},e.buttonProps,{pt:e.ptm(`pcButton`),unstyled:e.unstyled}),(0,u.createSlots)({default:(0,u.withCtx)(function(){return[(0,u.renderSlot)(e.$slots,`default`)]}),_:2},[e.$slots.icon?{name:`icon`,fn:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,`icon`,{class:(0,u.normalizeClass)(t.class)},function(){return[(0,u.createElementVNode)(`span`,(0,u.mergeProps)({class:[e.icon,t.class]},e.ptm(`pcButton`).icon,{"data-pc-section":`buttonicon`}),null,16)]})]}),key:`0`}:void 0]),1040,[`class`,`label`,`disabled`,`severity`,`text`,`icon`,`outlined`,`size`,`fluid`,`aria-label`,`onClick`,`pt`,`unstyled`]),(0,u.createVNode)(o,(0,u.mergeProps)({ref:`button`,type:`button`,class:e.cx(`pcDropdown`),disabled:e.disabled,"aria-haspopup":`true`,"aria-expanded":i.isExpanded,"aria-controls":i.isExpanded?e.$id+`_overlay`:void 0,onClick:a.onDropdownButtonClick,onKeydown:a.onDropdownKeydown,severity:e.severity,text:e.text,outlined:e.outlined,size:e.size,unstyled:e.unstyled},e.menuButtonProps,{pt:e.ptm(`pcDropdown`)}),{icon:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,e.$slots.dropdownicon?`dropdownicon`:`menubuttonicon`,{class:(0,u.normalizeClass)(t.class)},function(){return[((0,u.openBlock)(),(0,u.createBlock)((0,u.resolveDynamicComponent)(e.menuButtonIcon||e.dropdownIcon?`span`:`ChevronDownIcon`),(0,u.mergeProps)({class:[e.dropdownIcon||e.menuButtonIcon,t.class]},e.ptm(`pcDropdown`).icon,{"data-pc-section":`menubuttonicon`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`disabled`,`aria-expanded`,`aria-controls`,`onClick`,`onKeydown`,`severity`,`text`,`outlined`,`size`,`unstyled`,`pt`]),(0,u.createVNode)(s,{ref:`menu`,id:e.$id+`_overlay`,model:e.model,popup:!0,autoZIndex:e.autoZIndex,baseZIndex:e.baseZIndex,appendTo:e.appendTo,unstyled:e.unstyled,pt:e.ptm(`pcMenu`)},(0,u.createSlots)({_:2},[e.$slots.menuitemicon?{name:`itemicon`,fn:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,`menuitemicon`,{item:t.item,class:(0,u.normalizeClass)(t.class)})]}),key:`0`}:void 0,e.$slots.item?{name:`item`,fn:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,`item`,{item:t.item,hasSubmenu:t.hasSubmenu,label:t.label,props:t.props})]}),key:`1`}:void 0]),1032,[`id`,`model`,`autoZIndex`,`baseZIndex`,`appendTo`,`unstyled`,`pt`])],16,Oh)}Dh.render=kh;var Ah=[`src`],jh={class:`menu-item`},Mh=[`src`],Nh={__name:`BDContentLibrarySplitButton`,props:{contentLibraryProviders:{type:Array,default:()=>[]},isExternalOnly:{type:Boolean,default:!1}},emits:[`content-library`],setup(e,{emit:t}){let{t:n}=Ju(),r=e,i=t,a=(0,u.computed)(()=>r.contentLibraryProviders.map(e=>({label:e.label||e.text,image:e.img,value:e.value,command:()=>i(`content-library`,e.value)}))),o=(0,u.computed)(()=>{let e=a.value;return e.length!==0&&r.isExternalOnly&&(e=e.slice(1)),e}),s=(0,u.computed)(()=>{let e=a.value;return r.isExternalOnly&&e.length>0?e[0].label:n(`contentLibrarySplitButton.messageTemplatesTitle`)}),c=(0,u.computed)(()=>{let e=a.value;return r.isExternalOnly&&e.length>0}),l=(0,u.computed)(()=>{let e=a.value;return e.length>0?e[0].image:``}),d=()=>{let e=a.value,t=`message-template`;r.isExternalOnly&&e.length>0&&(t=e[0].value),i(`content-library`,t)};return(e,t)=>((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(Dh),{class:`bd-content-library-split-button`,model:o.value,outlined:``,severity:`secondary`,onClick:d},{default:(0,u.withCtx)(()=>[c.value?((0,u.openBlock)(),(0,u.createElementBlock)(`img`,{key:0,src:l.value,alt:``},null,8,Ah)):((0,u.openBlock)(),(0,u.createBlock)(et,{key:1})),(0,u.createElementVNode)(`span`,null,(0,u.toDisplayString)(s.value),1)]),item:(0,u.withCtx)(({item:e})=>[(0,u.createElementVNode)(`div`,jh,[(0,u.createElementVNode)(`img`,{src:e.image,alt:``,class:`icon-image`},null,8,Mh),(0,u.createElementVNode)(`span`,null,(0,u.toDisplayString)(e.label),1)])]),_:1},8,[`model`]))}},Ph={date:``,displayTime:!0,format:`numeric`},Fh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),Ih=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(Fh()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_nl=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`nl`,weekdays:`zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag`.split(`_`),weekdaysShort:`zo._ma._di._wo._do._vr._za.`.split(`_`),weekdaysMin:`zo_ma_di_wo_do_vr_za`.split(`_`),months:`januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december`.split(`_`),monthsShort:`jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec`.split(`_`),ordinal:function(e){return`[`+e+(e===1||e===8||e>=20?`ste`:`de`)+`]`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD-MM-YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},relativeTime:{future:`over %s`,past:`%s geleden`,s:`een paar seconden`,m:`een minuut`,mm:`%d minuten`,h:`een uur`,hh:`%d uur`,d:`een dag`,dd:`%d dagen`,M:`een maand`,MM:`%d maanden`,y:`een jaar`,yy:`%d jaar`}};return n.default.locale(r,null,!0),r}))})),Lh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Rh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrAfter=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}))})),zh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))})),Bh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){"use strict";var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),Vh=l(Fh(),1);Ih();var Hh=l(Lh(),1),Uh=l(Rh(),1),Wh=l(zh(),1),Gh=l(Bh(),1);Vh.default.extend(Hh.default),Vh.default.locale(`nl`),Vh.default.extend(Uh.default),Vh.default.extend(Wh.default),Vh.default.extend(Gh.default);var Kh=e=>e?e.charAt(0).toUpperCase()+e.slice(1):``;function qh(e,t=(0,Vh.default)()){let n=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0);if(!n.isValid())return``;let r=t.startOf(`day`);if(n.isSame(r,`day`))return`Vandaag`;let i=r.subtract(1,`day`);if(n.isSame(i,`day`))return`Gisteren`;let a=r.subtract(6,`day`);if(n.isSameOrAfter(a)&&n.isBefore(r))return Kh(n.format(`dddd`));let o=r.subtract(7,`day`);return n.isSame(o)||n.isSame(t,`year`)?n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Jh(e,t=(0,Vh.default)()){let n=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0),r=e.includes(` `)&&e.includes(`:`);if(!n.isValid())return``;let i=t.startOf(`day`);if(n.isSame(i,`day`))return r?n.format(`H:mm`):`Vandaag`;let a=i.subtract(1,`day`);if(n.isSame(a,`day`))return r?`Gisteren ${n.format(`H:mm`)}`:`Gisteren`;let o=i.subtract(6,`day`);if(n.isSameOrAfter(o)&&n.isBefore(i))return Kh(r?n.format(`dddd H:mm`):n.format(`dddd`));let s=i.subtract(7,`day`);return n.isSame(s)||n.isSame(t,`year`)?r?n.format(`D MMM H:mm`):n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Yh(e){let t=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0),n=e.includes(` `)&&e.includes(`:`);return t.isValid()?n&&t.isSame((0,Vh.default)(),`year`)?t.format(`DD-MM-YYYY H:mm`):t.format(`DD-MM-YYYY`):``}function Xh(e){let t=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0);return t.isValid()?t.format(`DD-MM-YYYY`):``}var Zh={class:`bd-date`},Qh=(0,u.defineComponent)({__name:`BDDate`,props:{date:{},displayTime:{type:Boolean,default:Ph.displayTime},format:{default:Ph.format}},setup(e){let t=e,n=(0,u.computed)(()=>t.date?t.format===`textual`?t.displayTime?Jh(t.date):qh(t.date):(t.format,t.displayTime?Yh(t.date):Xh(t.date)):``);return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`span`,Zh,(0,u.toDisplayString)(n.value),1))}}),$h=(0,u.defineComponent)({__name:`BDForm`,emits:[`submit`,`reset`],setup(e,{emit:t}){let n=t;function r(){n(`submit`)}function i(){n(`reset`)}return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`form`,{onSubmit:(0,u.withModifiers)(r,[`prevent`]),onReset:(0,u.withModifiers)(i,[`prevent`])},[(0,u.renderSlot)(e.$slots,`default`)],32))}}),eg=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var tg=e=>e!==void 0,ng=Object.prototype.toString,rg=e=>ng.call(e)===`[object Object]`,ig=()=>{};function ag(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function og(e,t={}){let n,r,i=ig,a=e=>{clearTimeout(e),i(),i=ig},o;return s=>{let c=(0,u.toValue)(e),l=(0,u.toValue)(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function sg(e){return Array.isArray(e)?e:[e]}function cg(e,t=200,n={}){return ag(og(t,n),e)}function lg(e,t,n){return(0,u.watch)(e,t,{...n,immediate:!0})}var ug=eg?window:void 0;eg&&window.document,eg&&window.navigator,eg&&window.location;function dg(e){let t=(0,u.toValue)(e);return t?.$el??t}function fg(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=(0,u.computed)(()=>{let t=sg((0,u.toValue)(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return lg(()=>[n.value?.map(e=>dg(e))??[ug].filter(e=>e!=null),sg((0,u.toValue)(n.value?e[1]:e[0])),sg((0,u.unref)(n.value?e[2]:e[1])),(0,u.toValue)(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=rg(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function pg(e){return JSON.parse(JSON.stringify(e))}function mg(e,t={}){let{initialValue:n=!1,focusVisible:r=!1,preventScroll:i=!1}=t,a=(0,u.shallowRef)(!1),o=(0,u.computed)(()=>dg(e)),s={passive:!0};fg(o,`focus`,e=>{var t;(!r||(t=e.target).matches?.call(t,`:focus-visible`))&&(a.value=!0)},s),fg(o,`blur`,()=>a.value=!1,s);let c=(0,u.computed)({get:()=>a.value,set(e){var t,n;!e&&a.value?(t=o.value)==null||t.blur():e&&!a.value&&((n=o.value)==null||n.focus({preventScroll:i}))}});return(0,u.watch)(o,()=>{c.value=n},{immediate:!0,flush:`post`}),{focused:c}}function hg(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:d,shouldEmit:f}=r,p=(0,u.getCurrentInstance)(),m=n||p?.emit||(p==null||(i=p.$emit)==null?void 0:i.bind(p))||(p==null||(a=p.proxy)==null||(a=a.$emit)==null?void 0:a.bind(p?.proxy)),h=c;t||=`modelValue`,h||=`update:${t.toString()}`;let g=e=>o?typeof o==`function`?o(e):pg(e):e,_=()=>tg(e[t])?g(e[t]):d,v=e=>{f?f(e)&&m(h,e):m(h,e)};if(s){let n=(0,u.ref)(_()),r=!1;return(0,u.watch)(()=>e[t],e=>{r||(r=!0,n.value=g(e),(0,u.nextTick)(()=>r=!1))}),(0,u.watch)(n,n=>{!r&&(n!==e[t]||l)&&v(n)},{deep:l}),n}else return(0,u.computed)({get(){return _()},set(e){v(e)}})}var gg=[`value`,`true-value`,`false-value`,`data-checked`,`disabled`],_g=(0,u.defineComponent)({__name:`BDFormCheckbox`,props:{disabled:{type:Boolean,default:!1},modelValue:{type:[Boolean,String,Array],default:void 0},value:{type:[Boolean,String],default:!0},uncheckedValue:{type:[Boolean,String],default:!1},state:{type:[Boolean,null],default:void 0}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:t}){let{uniqueIdentifier:n}=La(),r=e,i=t,a=hg(r,`modelValue`,i),o=`form-check-input-${n.value}`,s=(0,u.computed)(()=>[`form-check`,`bd-form-checkbox`]),c=(0,u.computed)(()=>({"form-check-input":!0,"is-invalid":r.state===!1})),l=e=>i(`change`,e.target.value);return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)(s.value)},[(0,u.withDirectives)((0,u.createElementVNode)(`input`,{"onUpdate:modelValue":n[0]||=e=>(0,u.isRef)(a)?a.value=e:null,id:o,class:(0,u.normalizeClass)(c.value),type:`checkbox`,value:e.value,"true-value":e.value,"false-value":e.uncheckedValue,"data-checked":(0,u.unref)(a)===e.value,disabled:r.disabled,onChange:l},null,42,gg),[[u.vModelCheckbox,(0,u.unref)(a)]]),(0,u.createElementVNode)(`label`,{class:`form-check-label`,for:o},[(0,u.renderSlot)(t.$slots,`default`)]),(0,u.renderSlot)(t.$slots,`last`)],2))}}),vg={class:`invalid-feedback bd-invalid-feedback`},yg=(0,u.defineComponent)({__name:`BDFormInvalidFeedback`,props:{state:{type:[Boolean,null],default:null},text:{default:``}},setup(e){let t=e;return(e,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,vg,[t.state?((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(He),{key:0})):((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(Jt),{key:1})),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(t.text),1)]))}}),bg=Object.defineProperty,xg=(e,t,n)=>t in e?bg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sg=(e,t,n)=>xg(e,typeof t==`symbol`?t:t+``,n),Cg={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}},wg=(e,t,n)=>e.replaceAll(t,``).replace(n,`.`).replace(`..`,`.`).replace(/[^.\d]/g,``),Tg=(e,t,n)=>new Intl.NumberFormat(n.number?.locale??`en`,{minimumFractionDigits:e,maximumFractionDigits:t,roundingMode:`trunc`}),Eg=(e,t=!0,n)=>{let r=n.number?.unsigned!==!0&&e.startsWith(`-`)?`-`:``,i=n.number?.fraction??0,a=Tg(0,i,n),o=a.formatToParts(1000.12),s=o.find(e=>e.type===`group`)?.value??` `,c=o.find(e=>e.type===`decimal`)?.value??`.`,l=wg(e,s,c);if(Number.isNaN(parseFloat(l)))return r;let u=l.split(`.`);u[1]!=null&&u[1].length>=1&&(a=Tg(u[1].length<=i?u[1].length:i,i,n));let d=a.format(parseFloat(l));return t?i>0&&l.endsWith(`.`)&&!l.slice(0,-1).includes(`.`)&&(d+=c):d=wg(d,s,c),r+d},Dg=e=>JSON.parse(e.replaceAll(`'`,`"`)),Og=(e,t={})=>{let n={...t};e.dataset.maska!=null&&e.dataset.maska!==``&&(n.mask=Ag(e.dataset.maska)),e.dataset.maskaEager!=null&&(n.eager=kg(e.dataset.maskaEager)),e.dataset.maskaReversed!=null&&(n.reversed=kg(e.dataset.maskaReversed)),e.dataset.maskaTokensReplace!=null&&(n.tokensReplace=kg(e.dataset.maskaTokensReplace)),e.dataset.maskaTokens!=null&&(n.tokens=jg(e.dataset.maskaTokens));let r={};return e.dataset.maskaNumberLocale!=null&&(r.locale=e.dataset.maskaNumberLocale),e.dataset.maskaNumberFraction!=null&&(r.fraction=parseInt(e.dataset.maskaNumberFraction)),e.dataset.maskaNumberUnsigned!=null&&(r.unsigned=kg(e.dataset.maskaNumberUnsigned)),(e.dataset.maskaNumber!=null||Object.values(r).length>0)&&(n.number=r),n},kg=e=>e===``?!0:!!JSON.parse(e),Ag=e=>e.startsWith(`[`)&&e.endsWith(`]`)?Dg(e):e,jg=e=>{if(e.startsWith(`{`)&&e.endsWith(`}`))return Dg(e);let t={};return e.split(`|`).forEach(e=>{let n=e.split(`:`);t[n[0]]={pattern:Mg()?new RegExp(n[1],`u`):new RegExp(n[1]),optional:n[2]===`optional`,multiple:n[2]===`multiple`,repeated:n[2]===`repeated`}}),t},Mg=()=>{try{return!0}catch{return!1}},Ng=class{constructor(e={}){Sg(this,`opts`,{}),Sg(this,`memo`,new Map);let t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...Cg,...t.tokens};for(let e of Object.values(t.tokens))typeof e.pattern==`string`&&(e.pattern=Mg()?new RegExp(e.pattern,`u`):new RegExp(e.pattern))}else t.tokens=Cg;Array.isArray(t.mask)&&(t.mask.length>1?t.mask=[...t.mask].sort((e,t)=>e.length-t.length):t.mask=t.mask[0]??``),t.mask===``&&(t.mask=null),this.opts=t}masked(e){return this.process(String(e),this.findMask(String(e)))}unmasked(e){return this.process(String(e),this.findMask(String(e)),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(e){let t=this.findMask(String(e));if(this.opts.mask==null||t==null)return!1;let n=this.process(String(e),t).length;return typeof this.opts.mask==`string`?n>=this.opts.mask.length:n>=t.length}findMask(e){let t=this.opts.mask;if(t==null)return null;if(typeof t==`string`)return t;if(typeof t==`function`)return t(e);let n=this.process(e,t.slice(-1).pop()??``,!1);return t.find(t=>this.process(e,t,!1).length>=n.length)??``}escapeMask(e){let t=[],n=[];return e.split(``).forEach((r,i)=>{r===`!`&&e[i-1]!==`!`?n.push(i-n.length):t.push(r)}),{mask:t.join(``),escaped:n}}process(e,t,n=!0){if(this.opts.number!=null)return Eg(e,n,this.opts);if(t==null)return e;let r=`v=${e},mr=${t},m=${+!!n}`;if(this.memo.has(r))return this.memo.get(r);let{mask:i,escaped:a}=this.escapeMask(t),o=[],s=this.opts.tokens==null?{}:this.opts.tokens,c=this.isReversed()?-1:1,l=this.isReversed()?`unshift`:`push`,u=this.isReversed()?0:i.length-1,d=this.isReversed()?()=>h>-1&&g>-1:()=>h<i.length&&g<e.length,f=e=>!this.isReversed()&&e<=u||this.isReversed()&&e>=u,p,m=-1,h=this.isReversed()?i.length-1:0,g=this.isReversed()?e.length-1:0,_=!1;for(;d();){let t=i.charAt(h),r=s[t],d=r?.transform==null?e.charAt(g):r.transform(e.charAt(g));if(!a.includes(h)&&r!=null?(d.match(r.pattern)==null?r.multiple?_&&=(h+=c,g-=c,!1):d===p?p=void 0:r.optional&&(h+=c,g-=c):(o[l](d),r.repeated?(m===-1?m=h:h===u&&h!==m&&(h=m-c),u===m&&(h-=c)):r.multiple&&(_=!0,h-=c),h+=c),g+=c):(n&&!this.isEager()&&o[l](t),d===t&&!this.isEager()?g+=c:p=t,this.isEager()||(h+=c)),this.isEager())for(;f(h)&&(s[i.charAt(h)]==null||a.includes(h));){if(n){if(o[l](i.charAt(h)),e.charAt(g)===i.charAt(h)){h+=c,g+=c;continue}}else i.charAt(h)===e.charAt(g)&&(g+=c);h+=c}}return this.memo.set(r,o.join(``)),this.memo.get(r)}},Pg=class{constructor(e,t={}){Sg(this,`items`,new Map),Sg(this,`eventAbortController`),Sg(this,`onInput`,e=>{if(e instanceof CustomEvent&&e.type===`input`&&!e.isTrusted&&!e.bubbles)return;let t=e.target,n=this.items.get(t);if(n===void 0)return;let r=`inputType`in e&&e.inputType.startsWith(`delete`),i=n.isEager(),a=r&&i&&n.unmasked(t.value)===``?``:t.value;this.fixCursor(t,r,()=>this.setValue(t,a))}),this.options=t,this.eventAbortController=new AbortController,this.init(this.getInputs(e))}update(e={}){this.options={...e},this.init(Array.from(this.items.keys()))}updateValue(e){e.value!==``&&e.value!==this.processInput(e)?.masked&&this.setValue(e,e.value)}destroy(){this.eventAbortController.abort(),this.items.clear()}init(e){let t=this.getOptions(this.options);for(let n of e){if(!this.items.has(n)){let{signal:e}=this.eventAbortController;n.addEventListener(`input`,this.onInput,{capture:!0,signal:e})}let e=new Ng(Og(n,t));this.items.set(n,e),queueMicrotask(()=>this.updateValue(n)),n.selectionStart===null&&e.isEager()&&console.warn("Maska: input of `%s` type is not supported",n.type)}}getInputs(e){return typeof e==`string`?Array.from(document.querySelectorAll(e)):`length`in e?Array.from(e):[e]}getOptions(e){let{onMaska:t,preProcess:n,postProcess:r,...i}=e;return i}fixCursor(e,t,n){let r=e.selectionStart,i=e.value;if(n(),r===null||r===i.length&&!t)return;let a=e.value,o=i.slice(0,r),s=a.slice(0,r),c=this.processInput(e,o)?.unmasked,l=this.processInput(e,s)?.unmasked;if(c===void 0||l===void 0)return;let u=r;o!==s&&(u+=t?a.length-i.length:c.length-l.length),e.setSelectionRange(u,u)}setValue(e,t){let n=this.processInput(e,t);n!==void 0&&(e.value=n.masked,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(e=>e(n)):this.options.onMaska(n)),e.dispatchEvent(new CustomEvent(`maska`,{detail:n})),e.dispatchEvent(new CustomEvent(`input`,{detail:n.masked})))}processInput(e,t){let n=this.items.get(e);if(n===void 0)return;let r=t??e.value;this.options.preProcess!=null&&(r=this.options.preProcess(r));let i=n.masked(r);return this.options.postProcess!=null&&(i=this.options.postProcess(i)),{masked:i,unmasked:n.unmasked(r),completed:n.completed(r)}}},Fg=new WeakMap,Ig=(e,t)=>{if(e.arg==null||e.instance==null)return;let n=`setup`in e.instance.$.type;e.arg in e.instance?e.instance[e.arg]=t:n&&console.warn("Maska: please expose `%s` using defineExpose",e.arg)},Lg=(e,t)=>{var n;let r=e instanceof HTMLInputElement?e:e.querySelector(`input`);if(r==null||r?.type===`file`)return;let i={};if(t.value!=null&&(i=typeof t.value==`string`?{mask:t.value}:{...t.value}),t.arg!=null){let e=e=>{Ig(t,t.modifiers.unmasked?e.unmasked:t.modifiers.completed?e.completed:e.masked)};i.onMaska=i.onMaska==null?e:Array.isArray(i.onMaska)?[...i.onMaska,e]:[i.onMaska,e]}Fg.has(r)?(n=Fg.get(r))==null||n.update(i):Fg.set(r,new Pg(r,i))},Rg=[`value`,`type`],zg=(0,u.defineComponent)({__name:`BDFormInput`,props:{modelValue:{default:``},formGroupClass:{default:void 0},type:{default:`text`},label:{default:void 0},labelClass:{default:void 0},formFieldClass:{default:void 0},inputClass:{default:void 0},placeholder:{default:void 0},state:{type:[Boolean,null],default:null},readonly:{type:[Boolean,null],default:null},disabled:{type:[Boolean,null],default:null},autofocus:{type:[Boolean,null],default:null},size:{default:Aa.MD},tabindex:{default:null},invalidFeedbackClass:{default:void 0},invalidFeedbackText:{default:void 0},delayTimeMs:{default:0},mask:{default:void 0}},emits:[`update:modelValue`,`click`,`blur`,`enter`],setup(e,{emit:t}){let n=e,r=t,{uniqueIdentifier:i}=La(),a=hg(n,`modelValue`,r),o=`__BD__FORM__LABEL__${i.value}`,s=`__BD__FORM__GROUP__${i.value}`,c=`form-input-${n.label?n.label.replace(/ /g,`-`).toLowerCase():i.value}`,l=`validationFeedback${n.label?n.label.replace(/ /g,``):i.value}`,d=(0,u.computed)(()=>({[`${n.inputClass}`]:n.inputClass,"is-invalid":n.state===!1,"is-valid":n.state===!0,[`form-control-${n.size}`]:n.size})),f=(0,u.computed)(()=>({[`${n.invalidFeedbackClass}`]:n.invalidFeedbackClass,"is-invalid":n.state===!1})),p=(0,u.computed)(()=>({placeholder:n.placeholder?n.placeholder:null,readonly:n.readonly===!0,disabled:n.disabled===!0,autofocus:n.autofocus===!0,tabindex:n.tabindex?n.tabindex:null,"aria-describedby":n.state===!1&&n.invalidFeedbackText?l:null,"data-maska":n.mask})),m=cg(e=>{a.value=e.target.value},n.delayTimeMs);return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`bd-form-input`,e.formGroupClass]),id:s},[(0,u.renderSlot)(t.$slots,`label`,{},()=>[e.label?((0,u.openBlock)(),(0,u.createElementBlock)(`label`,{key:0,for:c,id:o,class:(0,u.normalizeClass)([`form-label`,e.labelClass])},(0,u.toDisplayString)(e.label),3)):(0,u.createCommentVNode)(``,!0)]),(0,u.createElementVNode)(`div`,{class:(0,u.normalizeClass)(e.formFieldClass)},[(0,u.withDirectives)((0,u.createElementVNode)(`input`,(0,u.mergeProps)({value:e.modelValue,type:e.type,id:c,class:[`form-control`,d.value]},p.value,{onInput:n[0]||=(...e)=>(0,u.unref)(m)&&(0,u.unref)(m)(...e),onClick:n[1]||=e=>t.$emit(`click`),onBlur:n[2]||=e=>t.$emit(`blur`),onKeydown:n[3]||=(0,u.withKeys)(e=>t.$emit(`enter`),[`enter`])}),null,16,Rg),[[(0,u.unref)(Lg)]]),(0,u.renderSlot)(t.$slots,`default`)],2),(0,u.createVNode)(yg,{text:e.invalidFeedbackText,class:(0,u.normalizeClass)(f.value),state:e.state,id:l},null,8,[`text`,`class`,`state`])],2))}}),Bg=[`disabled`],Vg=[`label`],Hg=[`value`],Ug=[`value`],Wg=(0,u.defineComponent)({__name:`BDFormSelect`,props:{size:{default:Aa.MD},disabled:{type:Boolean},autofocus:{type:Boolean,default:!1},options:{default:void 0},modelValue:{default:``},state:{type:[Boolean,null],default:null}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:t}){let n=e,r=t,i=hg(n,`modelValue`,r),a=(0,u.ref)(null),{focused:o}=mg(a,{initialValue:n.autofocus}),s=(0,u.computed)(()=>({"form-select":!0,"bd-form-select":!0,"is-invalid":n.state===!1,[`form-select-${n.size}`]:[`xs`,`sm`,`lg`].includes(n.size)}));(0,u.watch)(()=>n.autofocus,e=>{e&&(o.value=!0)});let c=e=>{i.value=e.target.value,r(`input`,d(e.target.value))},l=e=>{r(`change`,d(e.target.value))},d=e=>{try{return JSON.parse(e)}catch{return e}};return(e,t)=>(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)(`select`,{class:(0,u.normalizeClass)(s.value),"onUpdate:modelValue":t[0]||=e=>(0,u.isRef)(i)?i.value=e:null,disabled:n.disabled,ref_key:`input`,ref:a,onInput:c,onChange:l},[(0,u.renderSlot)(e.$slots,`first`),n.options&&n.options.length>0&&n.options[0].label&&n.options[0].options?((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,{key:0},(0,u.renderList)(n.options,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`optgroup`,{label:e.label},[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.options,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`option`,{value:JSON.stringify(e.value),key:e.value},(0,u.toDisplayString)(e.text),9,Hg))),128))],8,Vg))),256)):((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,{key:1},(0,u.renderList)(n.options,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`option`,{value:e.value,key:e.value},(0,u.toDisplayString)(e.text),9,Ug))),128))],42,Bg)),[[u.vModelSelect,(0,u.unref)(i)]])}}),Gg={class:`input-group bd-input-group`},Kg=[`for`],qg=(0,u.defineComponent)({__name:`BDInputGroup`,props:{label:{default:void 0},labelForId:{default:void 0}},setup(e){let t=(0,u.useAttrs)(),n=e;return(e,r)=>((0,u.openBlock)(),(0,u.createElementBlock)(`fieldset`,Gg,[n.label?((0,u.openBlock)(),(0,u.createElementBlock)(`label`,{key:0,for:n.labelForId,class:`form-label`},(0,u.toDisplayString)(n.label),9,Kg)):(0,u.createCommentVNode)(``,!0),(0,u.createElementVNode)(`div`,{class:(0,u.normalizeClass)((0,u.unref)(t).class)},[(0,u.renderSlot)(e.$slots,`default`)],2)]))}}),Jg=e=>typeof e==`string`||e instanceof String,Yg={class:`bd-loader__spinner`},Xg={class:`spinner-border`,role:`status`},Zg={class:`visually-hidden`},Qg={key:0},$g={__name:`BDLoader`,props:{message:String,size:{type:String,default:`md`},stopAnimation:{type:Boolean,default:!1},isColleague:{type:Boolean,default:!1}},setup(e){let t=e,n=(0,u.computed)(()=>t.stopAnimation?`bd-loader--static`:``),r=(0,u.computed)(()=>t.isColleague?`bd-loader--colleague`:``);return(t,i)=>{let a=(0,u.resolveComponent)(`icon-videocall`);return(0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`bd-loader text-center`,[e.size,n.value,r.value]])},[(0,u.createElementVNode)(`div`,Yg,[(0,u.createVNode)(a),(0,u.createElementVNode)(`div`,Xg,[(0,u.createElementVNode)(`span`,Zg,(0,u.toDisplayString)(e.message),1)])]),e.message?((0,u.openBlock)(),(0,u.createElementBlock)(`p`,Qg,[(0,u.createElementVNode)(`b`,null,(0,u.toDisplayString)(e.message),1)])):(0,u.createCommentVNode)(``,!0)],2)}}},e_={};function t_(e,t){return(0,u.openBlock)(),(0,u.createElementBlock)(`svg`,(0,u.mergeProps)({class:`bd-logo`},e.$attrs,{version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`}),[...t[0]||=[(0,u.createStaticVNode)(`<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>`,2)]],16)}var n_=g(e_,[[`render`,t_]]),r_={"aria-label":`Page navigation`,class:`bd-pagination`},i_={class:`page-item`},a_=[`data-page`],o_=[`data-page`],s_={class:`page-item`},c_=[`data-page`],l_=(0,u.defineComponent)({__name:`BDPagination`,props:{modelValue:{default:1},totalRows:{default:1},rowsPerPage:{default:10},isPatient:{type:Boolean,default:!0}},emits:[`click`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=hg(n,`modelValue`,r),a=(0,u.ref)(Math.ceil(n.totalRows/n.rowsPerPage)),o=(0,u.ref)([]);(0,u.watch)([()=>n.totalRows,()=>n.rowsPerPage],()=>{a.value=Math.ceil(n.totalRows/n.rowsPerPage),o.value=f(i.value)}),(0,u.onMounted)(()=>{o.value=f(i.value)});let s=(0,u.computed)(()=>({[`${n.class}`]:n.class,colleague:!n.isPatient})),c=e=>{let t=e.currentTarget.getAttribute(`data-page`),n=Number(t);isNaN(Number(n))||(i.value=n,o.value=f(n)),r(`click`,n)},l=(e,t,n)=>n<=t?n:e==1?6:e<=4?5:1,d=(e,t,n)=>n<=t?0:e==n?6:e>n-4?5:1,f=e=>{let t=[],n=l(e,7,a.value),r=a.value>7&&e>4,i=a.value>7&&e<a.value-3,o=r&&i,s=d(e,7,a.value);for(let e=1;e<=n;e++)t.push(e);if(r&&t.push(`...`),o)for(let n=e-1;n<=e+1;n++)t.push(n);i&&t.push(`...`);for(let e=1;e<=s;e++)t.push(a.value-s+e);return t};return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,r_,[(0,u.createElementVNode)(`ul`,{class:(0,u.normalizeClass)([`pagination`,s.value])},[(0,u.withDirectives)((0,u.createElementVNode)(`li`,i_,[(0,u.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Previous`,onClick:c,"data-page":(0,u.unref)(i)-1},[(0,u.createVNode)((0,u.unref)(Pe))],8,a_)],512),[[u.vShow,(0,u.unref)(i)>1]]),((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(o.value,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{class:(0,u.normalizeClass)([`page-item`,{active:(0,u.unref)(i)===e,disabled:typeof e==`string`}]),key:e},[(0,u.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,onClick:c,"data-page":e},(0,u.toDisplayString)(e),9,o_)],2))),128)),(0,u.withDirectives)((0,u.createElementVNode)(`li`,s_,[(0,u.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Next`,onClick:c,"data-page":(0,u.unref)(i)+1},[(0,u.createVNode)((0,u.unref)(Re))],8,c_)],512),[[u.vShow,(0,u.unref)(i)<a.value]])],2)]))}}),u_={class:`bd-pill`},d_=[`src`],f_={class:`bd-pill__description`},p_=[`href`],m_=[`id`,`textContent`,`title`],h_=[`id`,`textContent`,`title`],g_=(0,u.defineComponent)({__name:`BDPill`,props:{imgSrc:{default:``},uri:{default:``},uriDisplayName:{default:``},title:{default:``},subtitle:{default:``},showClose:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:t}){let{uniqueIdentifier:n}=La(),r=e,i=(0,u.computed)(()=>r.uri),a=(0,u.computed)(()=>r.uriDisplayName===``?r.uri:r.uriDisplayName),o=(0,u.computed)(()=>r.imgSrc),s=(0,u.computed)(()=>r.title),c=(0,u.computed)(()=>r.subtitle),l=(0,u.computed)(()=>`bd-pill-title-${n.value}`),d=(0,u.computed)(()=>`bd-pill-subtitle-${n.value}`);return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,u_,[(0,u.createElementVNode)(`img`,{src:o.value,class:`bd-pill__logo`,alt:`logo-externe-partij`},null,8,d_),(0,u.createElementVNode)(`div`,f_,[(0,u.createElementVNode)(`a`,{href:i.value,class:`bd-pill__link`,target:`_blank`,rel:`noopener noreferrer`},[(0,u.createVNode)((0,u.unref)(Dn),{class:`bd-pill__icon-hyperlink`,style:{height:`12px`}}),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(a.value),1)],8,p_),(0,u.createElementVNode)(`span`,{class:`bd-pill__title`,id:l.value,textContent:(0,u.toDisplayString)(s.value),"data-bs-toggle":`tooltip`,title:s.value},null,8,m_),(0,u.createElementVNode)(`span`,{class:`bd-pill__subtitle`,id:d.value,textContent:(0,u.toDisplayString)(c.value),"data-bs-toggle":`tooltip`,title:c.value},null,8,h_)])]))}}),__={class:`bd-profile-picture`},v_=[`src`,`alt`],y_=(0,u.defineComponent)({__name:`BDProfileImage`,props:{src:{default:``},username:{default:null},size:{default:Aa.LG},linkText:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,u.computed)(()=>`${n.username?`${n.username}'s `:``}profielfoto`),a=()=>{r(`click`)};return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,__,[(0,u.createElementVNode)(`div`,{class:(0,u.normalizeClass)([`rounded-circle`,n.size])},[(0,u.createElementVNode)(`img`,{src:n.src,alt:i.value},null,8,v_)],2),n.linkText?((0,u.openBlock)(),(0,u.createBlock)(A,{key:0,variant:`link`,onClick:a,textContent:(0,u.toDisplayString)(n.linkText)},null,8,[`textContent`])):(0,u.createCommentVNode)(``,!0)]))}}),b_={DANGER:`danger`,WARNING:`warning`,INFO:`info`,SUCCESS:`success`},x_=[`id`],S_={class:`toast-header`},C_={class:`toast-body`},w_=(0,u.defineComponent)({__name:`BDToast`,props:{id:{},variant:{default:b_.INFO},title:{default:``},text:{default:``}},setup(e){let t=e,n=(0,u.computed)(()=>({[`bd-toast-${t.variant}`]:!0})),r=(0,u.computed)(()=>t.variant!==b_.SUCCESS);return(e,i)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`toast bd-toast`,n.value]),role:`alert`,"aria-live":`assertive`,"aria-atomic":`true`,key:t.id,id:t.id},[(0,u.createElementVNode)(`div`,S_,[r.value?((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(Un),{key:0})):((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(He),{key:1})),(0,u.createElementVNode)(`h5`,null,(0,u.toDisplayString)(t.title),1),i[0]||=(0,u.createElementVNode)(`button`,{type:`button`,class:`btn-close`,"data-bs-dismiss":`toast`,"aria-label":`Close`},null,-1)]),(0,u.createElementVNode)(`div`,C_,[(0,u.createElementVNode)(`span`,null,(0,u.toDisplayString)(t.text),1)])],10,x_))}}),T_=e=>Array.isArray(e)&&e.length>0,E_=e=>Object.keys(e).map(t=>e[t]),D_=e=>Array.isArray(e)&&e.length>0,O_=e=>!e||Array.isArray(e)&&!e.length,k_={name:`BDUserInformation`,props:{value:{type:Object},showProfilePicture:{type:Boolean}},render(){let{name:e,profilePictureUri:t,extra:n,...r}=this.value,i=t&&this.showProfilePicture?(0,u.h)(`img`,{class:`bd-user-information__profile-picture`,src:t,alt:e}):null,a=[(0,u.h)(`h4`,null,e)];return this.$slots.default&&a.push(this.$slots.default()),(0,u.h)(`div`,{class:`bd-user-information`},[i,(0,u.h)(`div`,{class:`bd-user-information__detail`},[(0,u.h)(`div`,{class:`bd-user-information__header`},a),(0,u.h)(`small`,null,E_(r).filter(e=>e).join(` • `))])])}},A_={class:`bd-zoom-slider d-flex`},j_=[`max`],M_=(0,u.defineComponent)({__name:`BDZoomslider`,props:{modelValue:{},maxValue:{default:5}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=hg(n,`modelValue`,t);function i(){r.value!==0&&r.value--}function a(){r.value<n.maxValue&&r.value++}return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,A_,[((0,u.openBlock)(),(0,u.createElementBlock)(`svg`,{class:`bd-zoom-slider-min-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:i},[...n[1]||=[(0,u.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,u.createElementVNode)(`path`,{d:`M1.5 13.5h21a1.5 1.5 0 0 0 0-3h-21a1.5 1.5 0 0 0 0 3z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]])),(0,u.withDirectives)((0,u.createElementVNode)(`input`,{type:`range`,"onUpdate:modelValue":n[0]||=e=>(0,u.isRef)(r)?r.value=e:null,min:`0`,max:e.maxValue,class:`bd-zoom-slider-input`},null,8,j_),[[u.vModelText,(0,u.unref)(r)]]),((0,u.openBlock)(),(0,u.createElementBlock)(`svg`,{class:`bd-zoom-slider-plus-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:a},[...n[2]||=[(0,u.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,u.createElementVNode)(`path`,{d:`M0 12a1.5 1.5 0 0 0 1.5 1.5h8.75a.25.25 0 0 1 .25.25v8.75a1.5 1.5 0 0 0 3 0v-8.75a.25.25 0 0 1 .25-.25h8.75a1.5 1.5 0 0 0 0-3h-8.75a.25.25 0 0 1-.25-.25V1.5a1.5 1.5 0 0 0-3 0v8.75a.25.25 0 0 1-.25.25H1.5A1.5 1.5 0 0 0 0 12z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]]))]))}}),N_={class:`attachment-list`},P_={class:`attachment-link`},F_={key:1,class:`attachment-no-download`},I_=[`href`],L_=(0,u.defineComponent)({__name:`BDAttachmentPreviewList`,props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`],setup(e,{emit:t}){let n=t,r=e=>{n(`delete`,e)};return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`ul`,N_,[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.files,t=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{class:`attachment-list__item`,key:t.CorrelationId},[(0,u.createElementVNode)(`div`,P_,[e.showDelete?((0,u.openBlock)(),(0,u.createBlock)(A,{key:0,variant:`remove`,onClick:e=>r(t),"aria-label":`verwijder`},{default:(0,u.withCtx)(()=>[(0,u.createVNode)((0,u.unref)(mi))]),_:1},8,[`onClick`])):(0,u.createCommentVNode)(``,!0),e.noDownload?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,F_,[(0,u.createVNode)((0,u.unref)(k)),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(t.Naam.trim()),1)])):((0,u.openBlock)(),(0,u.createElementBlock)(`a`,{key:2,href:t.downloadUrl},[(0,u.createVNode)((0,u.unref)(k)),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(t.Naam.trim()),1)],8,I_))])]))),128))]))}}),R_={class:`attachment-list`},z_={class:`attachment`},B_=[`onClick`],V_=[`src`,`alt`],H_=[`onClick`],U_=[`href`],W_={class:`btn btn-light download-button-image`},G_=[`src`,`alt`],K_=(0,u.defineComponent)({__name:`BDImageAttachmentPreviewList`,props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`,`show`],setup(e,{emit:t}){let n=e,r=t,i=e=>{r(`delete`,e)},a=(e,t)=>{e.target&&e.target.className===`img-preview`&&r(`show`,t)};return(t,r)=>((0,u.openBlock)(),(0,u.createElementBlock)(`ul`,R_,[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.files,t=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{class:`attachment-list__item`,key:t.CorrelationId},[(0,u.createElementVNode)(`div`,z_,[e.showDelete?((0,u.openBlock)(),(0,u.createBlock)(A,{key:0,variant:`remove`,"aria-label":`verwijder`,onClick:(0,u.withModifiers)(e=>i(t),[`prevent`])},{default:(0,u.withCtx)(()=>[(0,u.createVNode)((0,u.unref)(mi))]),_:1},8,[`onClick`])):(0,u.createCommentVNode)(``,!0),n.noDownload?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{key:1,onClick:e=>a(e,t)},[(0,u.createElementVNode)(`img`,{src:t.previewUrl,class:`img-preview`,alt:t.altName,loading:`lazy`},null,8,V_)],8,B_)):((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{key:2,onClick:e=>a(e,t)},[n.fastDownload?((0,u.openBlock)(),(0,u.createElementBlock)(`a`,{key:0,href:t.downloadUrl,class:`download-link`},[(0,u.createElementVNode)(`button`,W_,[(0,u.createVNode)((0,u.unref)(It))])],8,U_)):(0,u.createCommentVNode)(``,!0),(0,u.createElementVNode)(`img`,{src:t.previewUrl,alt:t.altName,class:`img-preview`,loading:`lazy`},null,8,G_)],8,H_))])]))),128))]))}}),q_=e=>e?.map(e=>e.CorrelationId),J_=e=>{if(e.Naam==null)return!1;let t=e.Naam.toLowerCase();return t.endsWith(`.png`)||t.endsWith(`.jpg`)||t.endsWith(`.jpeg`)||t.endsWith(`.gif`)},Y_=(e,t)=>t.DownloadUrl?t.DownloadUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlage/${t.Id}`:t.FileId?`${e}/Portaal/DownloadStandardMessageAttachment/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlage/${t.CorrelationId}`,X_=(e,t)=>t.ThumbnailUrl?t.ThumbnailUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlageThumbnail/${t.Id}`:t.StandardAttachmentId||t.standardAttachmentId?`${e}/Portaal/DownloadStandardMessageAttachmentThumbnail/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlageThumbnail/${t.CorrelationId}`,Z_=(e,t)=>t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:null,Q_=(e,t)=>t?J_(e):!J_(e),$_=(e=``,t,n)=>{if(t!==void 0)return t.filter(e=>Q_(e,n)).map(t=>{let n=typeof t.CorrelationId==`string`?t.CorrelationId:t.CorrelationId==null?``:t.CorrelationId.toString();return{downloadUrl:Y_(e,t),previewUrl:X_(e,t),fullImageUrl:Z_(e,t),altName:`${t.Naam}`,...t,CorrelationId:n}})},ev={class:`bd-chat-cloud-card`},tv={class:`bd-chat-cloud-card__header`},nv={class:`bd-chat-cloud-card__body`},rv=[`innerHTML`],iv={class:`bd-chat-cloud-card__footer`},av={key:0,class:`pills-list__wrapper`},ov={class:`pills-list__ul`},sv=(0,u.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},apiUrl:{default:``}},emits:[`show-attachment`,`action`],setup(e,{emit:t}){let n=e,r=t,i=(0,u.computed)(()=>n.isSender?`sender`:``),a=(0,u.computed)(()=>$_(n.apiUrl,n.files,!1)),o=(0,u.computed)(()=>$_(n.apiUrl,n.files,!0)),s=()=>{r(`action`,`copy-message`)},c=e=>{r(`show-attachment`,e)};return(t,r)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`bd-chat-cloud`,i.value])},[(0,u.createVNode)(y_,{src:n.src,username:n.username,size:`sm`},null,8,[`src`,`username`]),(0,u.createElementVNode)(`div`,ev,[(0,u.createElementVNode)(`div`,tv,[(0,u.renderSlot)(t.$slots,`header`,{},()=>[(0,u.createTextVNode)((0,u.toDisplayString)(e.headerTitle),1)]),(0,u.createVNode)(A,{variant:`outline-primary-dark`,size:`sm`,onClick:s},{default:(0,u.withCtx)(()=>[...r[0]||=[(0,u.createTextVNode)(` kopieer `,-1)]]),_:1})]),(0,u.createElementVNode)(`div`,nv,[(0,u.renderSlot)(t.$slots,`body`,{},()=>[(0,u.createElementVNode)(`div`,{class:`bd-chat-cloud-card__message`,innerHTML:n.message},null,8,rv)])]),(0,u.createElementVNode)(`div`,iv,[(0,u.renderSlot)(t.$slots,`footer`,{},()=>[e.pills?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,av,[(0,u.createElementVNode)(`ul`,ov,[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.pills,(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{key:t,class:`pills-list__li`},[(0,u.createVNode)(g_,(0,u.mergeProps)({ref_for:!0},e),null,16)]))),128))])])):(0,u.createCommentVNode)(``,!0),a.value&&a.value.length>0?((0,u.openBlock)(),(0,u.createBlock)(L_,{key:1,files:a.value},null,8,[`files`])):(0,u.createCommentVNode)(``,!0),o.value&&o.value.length>0?((0,u.openBlock)(),(0,u.createBlock)(K_,{key:2,"fast-download":!0,files:o.value,onShow:c},null,8,[`files`])):(0,u.createCommentVNode)(``,!0)])])])],2))}}),cv=(0,u.defineComponent)({__name:`BDDropdownItem`,props:{to:{default:``},target:{default:`_blank`},text:{default:void 0},rel:{default:`noopener noreferrer`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=()=>{r(`click`)};return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,(0,u.mergeProps)({class:`bd-dropdown-item`},e.$attrs),[(0,u.createVNode)(ja,(0,u.mergeProps)({class:`dropdown-item`,onClick:i},n),{default:(0,u.withCtx)(()=>[(0,u.renderSlot)(e.$slots,`default`,{},()=>[(0,u.createTextVNode)((0,u.toDisplayString)(n.text),1)])]),_:3},16)],16))}}),lv={class:`bd-file-upload-preview`},uv={class:`preview-details`},dv=[`src`,`alt`],fv={class:`filename`},pv={key:2,class:`mark-container pending`},mv={class:`mark-container success`},hv=(0,u.defineComponent)({__name:`BDFileUploadPreview`,props:{file:{},isPending:{type:Boolean}},emits:[`remove`],setup(e,{emit:t}){let n=e,r=t,i=()=>r(`remove`,n.file);return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,lv,[(0,u.createElementVNode)(`div`,uv,[n.file.previewUrl?((0,u.openBlock)(),(0,u.createElementBlock)(`img`,{key:0,src:n.file.previewUrl,class:`preview-image`,alt:n.file.UUID},null,8,dv)):((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(dn),{key:1,class:`preview-icon`})),(0,u.createElementVNode)(`div`,fv,[(0,u.createElementVNode)(`small`,null,(0,u.toDisplayString)(n.file.name),1)]),n.isPending?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,pv,[...t[1]||=[(0,u.createElementVNode)(`div`,{class:`spinner-border text-primary spinner-border-sm`,role:`status`},null,-1)]])):((0,u.openBlock)(),(0,u.createElementBlock)(u.Fragment,{key:3},[(0,u.createVNode)(A,{class:`remove-button`,onClick:t[0]||=e=>i()},{default:(0,u.withCtx)(()=>[(0,u.createVNode)((0,u.unref)(mi))]),_:1}),(0,u.createElementVNode)(`div`,mv,[(0,u.createVNode)((0,u.unref)(He))])],64))])]))}}),gv={name:`PlusIcon`,extends:Lp};function _v(e){return xv(e)||bv(e)||yv(e)||vv()}function vv(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1172
|
+
`,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-splitbutton p-component`,{"p-splitbutton-raised":n.raised,"p-splitbutton-rounded":n.rounded,"p-splitbutton-fluid":t.hasFluid}]},pcButton:`p-splitbutton-button`,pcDropdown:`p-splitbutton-dropdown`}}),Dh={name:`SplitButton`,extends:{name:`BaseSplitButton`,extends:kp,props:{label:{type:String,default:null},icon:{type:String,default:null},model:{type:Array,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:[String,Object],default:`body`},disabled:{type:Boolean,default:!1},fluid:{type:Boolean,default:null},class:{type:null,default:null},style:{type:null,default:null},buttonProps:{type:null,default:null},menuButtonProps:{type:null,default:null},menuButtonIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:Eh,provide:function(){return{$pcSplitButton:this,$parentInstance:this}}},inheritAttrs:!1,emits:[`click`],inject:{$pcFluid:{default:null}},data:function(){return{isExpanded:!1}},mounted:function(){var e=this;this.$watch(`$refs.menu.visible`,function(t){e.isExpanded=t})},methods:{onDropdownButtonClick:function(e){e&&e.preventDefault(),this.$refs.menu.toggle({currentTarget:this.$el,relatedTarget:this.$refs.button.$el}),this.isExpanded=this.$refs.menu.visible},onDropdownKeydown:function(e){(e.code===`ArrowDown`||e.code===`ArrowUp`)&&(this.onDropdownButtonClick(),e.preventDefault())},onDefaultButtonClick:function(e){this.isExpanded&&this.$refs.menu.hide(e),this.$emit(`click`,e)}},computed:{containerClass:function(){return[this.cx(`root`),this.class]},hasFluid:function(){return od(this.fluid)?!!this.$pcFluid:this.fluid}},components:{PVSButton:Gm,PVSMenu:Ch,ChevronDownIcon:Rp}},Oh=[`data-p-severity`];function kh(e,t,n,r,i,a){var o=(0,u.resolveComponent)(`PVSButton`),s=(0,u.resolveComponent)(`PVSMenu`);return(0,u.openBlock)(),(0,u.createElementBlock)(`div`,(0,u.mergeProps)({class:a.containerClass,style:e.style},e.ptmi(`root`),{"data-p-severity":e.severity}),[(0,u.createVNode)(o,(0,u.mergeProps)({type:`button`,class:e.cx(`pcButton`),label:e.label,disabled:e.disabled,severity:e.severity,text:e.text,icon:e.icon,outlined:e.outlined,size:e.size,fluid:e.fluid,"aria-label":e.label,onClick:a.onDefaultButtonClick},e.buttonProps,{pt:e.ptm(`pcButton`),unstyled:e.unstyled}),(0,u.createSlots)({default:(0,u.withCtx)(function(){return[(0,u.renderSlot)(e.$slots,`default`)]}),_:2},[e.$slots.icon?{name:`icon`,fn:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,`icon`,{class:(0,u.normalizeClass)(t.class)},function(){return[(0,u.createElementVNode)(`span`,(0,u.mergeProps)({class:[e.icon,t.class]},e.ptm(`pcButton`).icon,{"data-pc-section":`buttonicon`}),null,16)]})]}),key:`0`}:void 0]),1040,[`class`,`label`,`disabled`,`severity`,`text`,`icon`,`outlined`,`size`,`fluid`,`aria-label`,`onClick`,`pt`,`unstyled`]),(0,u.createVNode)(o,(0,u.mergeProps)({ref:`button`,type:`button`,class:e.cx(`pcDropdown`),disabled:e.disabled,"aria-haspopup":`true`,"aria-expanded":i.isExpanded,"aria-controls":i.isExpanded?e.$id+`_overlay`:void 0,onClick:a.onDropdownButtonClick,onKeydown:a.onDropdownKeydown,severity:e.severity,text:e.text,outlined:e.outlined,size:e.size,unstyled:e.unstyled},e.menuButtonProps,{pt:e.ptm(`pcDropdown`)}),{icon:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,e.$slots.dropdownicon?`dropdownicon`:`menubuttonicon`,{class:(0,u.normalizeClass)(t.class)},function(){return[((0,u.openBlock)(),(0,u.createBlock)((0,u.resolveDynamicComponent)(e.menuButtonIcon||e.dropdownIcon?`span`:`ChevronDownIcon`),(0,u.mergeProps)({class:[e.dropdownIcon||e.menuButtonIcon,t.class]},e.ptm(`pcDropdown`).icon,{"data-pc-section":`menubuttonicon`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`disabled`,`aria-expanded`,`aria-controls`,`onClick`,`onKeydown`,`severity`,`text`,`outlined`,`size`,`unstyled`,`pt`]),(0,u.createVNode)(s,{ref:`menu`,id:e.$id+`_overlay`,model:e.model,popup:!0,autoZIndex:e.autoZIndex,baseZIndex:e.baseZIndex,appendTo:e.appendTo,unstyled:e.unstyled,pt:e.ptm(`pcMenu`)},(0,u.createSlots)({_:2},[e.$slots.menuitemicon?{name:`itemicon`,fn:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,`menuitemicon`,{item:t.item,class:(0,u.normalizeClass)(t.class)})]}),key:`0`}:void 0,e.$slots.item?{name:`item`,fn:(0,u.withCtx)(function(t){return[(0,u.renderSlot)(e.$slots,`item`,{item:t.item,hasSubmenu:t.hasSubmenu,label:t.label,props:t.props})]}),key:`1`}:void 0]),1032,[`id`,`model`,`autoZIndex`,`baseZIndex`,`appendTo`,`unstyled`,`pt`])],16,Oh)}Dh.render=kh;var Ah=[`src`],jh={class:`menu-item`},Mh=[`src`],Nh={__name:`BDContentLibrarySplitButton`,props:{contentLibraryProviders:{type:Array,default:()=>[]},isExternalOnly:{type:Boolean,default:!1}},emits:[`content-library`],setup(e,{emit:t}){let{t:n}=Ju(),r=e,i=t,a=(0,u.computed)(()=>r.contentLibraryProviders.map(e=>({label:e.label||e.text,image:e.img,value:e.value,command:()=>i(`content-library`,e.value)}))),o=(0,u.computed)(()=>{let e=a.value;return e.length!==0&&r.isExternalOnly&&(e=e.slice(1)),e}),s=(0,u.computed)(()=>{let e=a.value;return r.isExternalOnly&&e.length>0?e[0].label:n(`contentLibrarySplitButton.messageTemplatesTitle`)}),c=(0,u.computed)(()=>{let e=a.value;return r.isExternalOnly&&e.length>0}),l=(0,u.computed)(()=>{let e=a.value;return e.length>0?e[0].image:``}),d=()=>{let e=a.value,t=`message-template`;r.isExternalOnly&&e.length>0&&(t=e[0].value),i(`content-library`,t)};return(e,t)=>((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(Dh),{class:`bd-content-library-split-button`,model:o.value,outlined:``,severity:`secondary`,onClick:d},{default:(0,u.withCtx)(()=>[c.value?((0,u.openBlock)(),(0,u.createElementBlock)(`img`,{key:0,src:l.value,alt:``},null,8,Ah)):((0,u.openBlock)(),(0,u.createBlock)(et,{key:1})),(0,u.createElementVNode)(`span`,null,(0,u.toDisplayString)(s.value),1)]),item:(0,u.withCtx)(({item:e})=>[(0,u.createElementVNode)(`div`,jh,[(0,u.createElementVNode)(`img`,{src:e.image,alt:``,class:`icon-image`},null,8,Mh),(0,u.createElementVNode)(`span`,null,(0,u.toDisplayString)(e.label),1)])]),_:1},8,[`model`]))}},Ph={date:``,displayTime:!0,format:`numeric`},Fh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),Ih=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(Fh()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_nl=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`nl`,weekdays:`zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag`.split(`_`),weekdaysShort:`zo._ma._di._wo._do._vr._za.`.split(`_`),weekdaysMin:`zo_ma_di_wo_do_vr_za`.split(`_`),months:`januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december`.split(`_`),monthsShort:`jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec`.split(`_`),ordinal:function(e){return`[`+e+(e===1||e===8||e>=20?`ste`:`de`)+`]`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD-MM-YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},relativeTime:{future:`over %s`,past:`%s geleden`,s:`een paar seconden`,m:`een minuut`,mm:`%d minuten`,h:`een uur`,hh:`%d uur`,d:`een dag`,dd:`%d dagen`,M:`een maand`,MM:`%d maanden`,y:`een jaar`,yy:`%d jaar`}};return n.default.locale(r,null,!0),r}))})),Lh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Rh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrAfter=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}))})),zh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))})),Bh=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){"use strict";var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),Vh=l(Fh(),1);Ih();var Hh=l(Lh(),1),Uh=l(Rh(),1),Wh=l(zh(),1),Gh=l(Bh(),1);Vh.default.extend(Hh.default),Vh.default.locale(`nl`),Vh.default.extend(Uh.default),Vh.default.extend(Wh.default),Vh.default.extend(Gh.default);var Kh=e=>e?e.charAt(0).toUpperCase()+e.slice(1):``;function qh(e,t=(0,Vh.default)()){let n=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0);if(!n.isValid())return``;let r=t.startOf(`day`);if(n.isSame(r,`day`))return`Vandaag`;let i=r.subtract(1,`day`);if(n.isSame(i,`day`))return`Gisteren`;let a=r.subtract(6,`day`);if(n.isSameOrAfter(a)&&n.isBefore(r))return Kh(n.format(`dddd`));let o=r.subtract(7,`day`);return n.isSame(o)||n.isSame(t,`year`)?n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Jh(e,t=(0,Vh.default)()){let n=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0),r=e.includes(` `)&&e.includes(`:`);if(!n.isValid())return``;let i=t.startOf(`day`);if(n.isSame(i,`day`))return r?n.format(`H:mm`):`Vandaag`;let a=i.subtract(1,`day`);if(n.isSame(a,`day`))return r?`Gisteren ${n.format(`H:mm`)}`:`Gisteren`;let o=i.subtract(6,`day`);if(n.isSameOrAfter(o)&&n.isBefore(i))return Kh(r?n.format(`dddd H:mm`):n.format(`dddd`));let s=i.subtract(7,`day`);return n.isSame(s)||n.isSame(t,`year`)?r?n.format(`D MMM H:mm`):n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Yh(e){let t=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0),n=e.includes(` `)&&e.includes(`:`);return t.isValid()?n&&t.isSame((0,Vh.default)(),`year`)?t.format(`DD-MM-YYYY H:mm`):t.format(`DD-MM-YYYY`):``}function Xh(e){let t=(0,Vh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0);return t.isValid()?t.format(`DD-MM-YYYY`):``}var Zh={class:`bd-date`},Qh=(0,u.defineComponent)({__name:`BDDate`,props:{date:{},displayTime:{type:Boolean,default:Ph.displayTime},format:{default:Ph.format}},setup(e){let t=e,n=(0,u.computed)(()=>t.date?t.format===`textual`?t.displayTime?Jh(t.date):qh(t.date):(t.format,t.displayTime?Yh(t.date):Xh(t.date)):``);return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`span`,Zh,(0,u.toDisplayString)(n.value),1))}}),$h=(0,u.defineComponent)({__name:`BDForm`,emits:[`submit`,`reset`],setup(e,{emit:t}){let n=t;function r(){n(`submit`)}function i(){n(`reset`)}return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`form`,{onSubmit:(0,u.withModifiers)(r,[`prevent`]),onReset:(0,u.withModifiers)(i,[`prevent`])},[(0,u.renderSlot)(e.$slots,`default`)],32))}}),eg=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var tg=e=>e!==void 0,ng=Object.prototype.toString,rg=e=>ng.call(e)===`[object Object]`,ig=()=>{};function ag(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function og(e,t={}){let n,r,i=ig,a=e=>{clearTimeout(e),i(),i=ig},o;return s=>{let c=(0,u.toValue)(e),l=(0,u.toValue)(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function sg(e){return Array.isArray(e)?e:[e]}function cg(e,t=200,n={}){return ag(og(t,n),e)}function lg(e,t,n){return(0,u.watch)(e,t,{...n,immediate:!0})}var ug=eg?window:void 0;eg&&window.document,eg&&window.navigator,eg&&window.location;function dg(e){let t=(0,u.toValue)(e);return t?.$el??t}function fg(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=(0,u.computed)(()=>{let t=sg((0,u.toValue)(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return lg(()=>[n.value?.map(e=>dg(e))??[ug].filter(e=>e!=null),sg((0,u.toValue)(n.value?e[1]:e[0])),sg((0,u.unref)(n.value?e[2]:e[1])),(0,u.toValue)(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=rg(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function pg(e){return JSON.parse(JSON.stringify(e))}function mg(e,t={}){let{initialValue:n=!1,focusVisible:r=!1,preventScroll:i=!1}=t,a=(0,u.shallowRef)(!1),o=(0,u.computed)(()=>dg(e)),s={passive:!0};fg(o,`focus`,e=>{var t;(!r||(t=e.target).matches?.call(t,`:focus-visible`))&&(a.value=!0)},s),fg(o,`blur`,()=>a.value=!1,s);let c=(0,u.computed)({get:()=>a.value,set(e){var t,n;!e&&a.value?(t=o.value)==null||t.blur():e&&!a.value&&((n=o.value)==null||n.focus({preventScroll:i}))}});return(0,u.watch)(o,()=>{c.value=n},{immediate:!0,flush:`post`}),{focused:c}}function hg(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:d,shouldEmit:f}=r,p=(0,u.getCurrentInstance)(),m=n||p?.emit||(p==null||(i=p.$emit)==null?void 0:i.bind(p))||(p==null||(a=p.proxy)==null||(a=a.$emit)==null?void 0:a.bind(p?.proxy)),h=c;t||=`modelValue`,h||=`update:${t.toString()}`;let g=e=>o?typeof o==`function`?o(e):pg(e):e,_=()=>tg(e[t])?g(e[t]):d,v=e=>{f?f(e)&&m(h,e):m(h,e)};if(s){let n=(0,u.ref)(_()),r=!1;return(0,u.watch)(()=>e[t],e=>{r||(r=!0,n.value=g(e),(0,u.nextTick)(()=>r=!1))}),(0,u.watch)(n,n=>{!r&&(n!==e[t]||l)&&v(n)},{deep:l}),n}else return(0,u.computed)({get(){return _()},set(e){v(e)}})}var gg=[`value`,`true-value`,`false-value`,`data-checked`,`disabled`],_g=(0,u.defineComponent)({__name:`BDFormCheckbox`,props:{disabled:{type:Boolean,default:!1},modelValue:{type:[Boolean,String,Array],default:void 0},value:{type:[Boolean,String],default:!0},uncheckedValue:{type:[Boolean,String],default:!1},state:{type:[Boolean,null],default:void 0}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:t}){let{uniqueIdentifier:n}=La(),r=e,i=t,a=hg(r,`modelValue`,i),o=`form-check-input-${n.value}`,s=(0,u.computed)(()=>[`form-check`,`bd-form-checkbox`]),c=(0,u.computed)(()=>({"form-check-input":!0,"is-invalid":r.state===!1})),l=e=>i(`change`,e.target.value);return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)(s.value)},[(0,u.withDirectives)((0,u.createElementVNode)(`input`,{"onUpdate:modelValue":n[0]||=e=>(0,u.isRef)(a)?a.value=e:null,id:o,class:(0,u.normalizeClass)(c.value),type:`checkbox`,value:e.value,"true-value":e.value,"false-value":e.uncheckedValue,"data-checked":(0,u.unref)(a)===e.value,disabled:r.disabled,onChange:l},null,42,gg),[[u.vModelCheckbox,(0,u.unref)(a)]]),(0,u.createElementVNode)(`label`,{class:`form-check-label`,for:o},[(0,u.renderSlot)(t.$slots,`default`)]),(0,u.renderSlot)(t.$slots,`last`)],2))}}),vg={class:`invalid-feedback bd-invalid-feedback`},yg=(0,u.defineComponent)({__name:`BDFormInvalidFeedback`,props:{state:{type:[Boolean,null],default:null},text:{default:``}},setup(e){let t=e;return(e,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,vg,[t.state?((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(He),{key:0})):((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(Jt),{key:1})),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(t.text),1)]))}}),bg=Object.defineProperty,xg=(e,t,n)=>t in e?bg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sg=(e,t,n)=>xg(e,typeof t==`symbol`?t:t+``,n),Cg={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}},wg=(e,t,n)=>e.replaceAll(t,``).replace(n,`.`).replace(`..`,`.`).replace(/[^.\d]/g,``),Tg=(e,t,n)=>new Intl.NumberFormat(n.number?.locale??`en`,{minimumFractionDigits:e,maximumFractionDigits:t,roundingMode:`trunc`}),Eg=(e,t=!0,n)=>{let r=n.number?.unsigned!==!0&&e.startsWith(`-`)?`-`:``,i=n.number?.fraction??0,a=Tg(0,i,n),o=a.formatToParts(1000.12),s=o.find(e=>e.type===`group`)?.value??` `,c=o.find(e=>e.type===`decimal`)?.value??`.`,l=wg(e,s,c);if(Number.isNaN(parseFloat(l)))return r;let u=l.split(`.`);u[1]!=null&&u[1].length>=1&&(a=Tg(u[1].length<=i?u[1].length:i,i,n));let d=a.format(parseFloat(l));return t?i>0&&l.endsWith(`.`)&&!l.slice(0,-1).includes(`.`)&&(d+=c):d=wg(d,s,c),r+d},Dg=e=>JSON.parse(e.replaceAll(`'`,`"`)),Og=(e,t={})=>{let n={...t};e.dataset.maska!=null&&e.dataset.maska!==``&&(n.mask=Ag(e.dataset.maska)),e.dataset.maskaEager!=null&&(n.eager=kg(e.dataset.maskaEager)),e.dataset.maskaReversed!=null&&(n.reversed=kg(e.dataset.maskaReversed)),e.dataset.maskaTokensReplace!=null&&(n.tokensReplace=kg(e.dataset.maskaTokensReplace)),e.dataset.maskaTokens!=null&&(n.tokens=jg(e.dataset.maskaTokens));let r={};return e.dataset.maskaNumberLocale!=null&&(r.locale=e.dataset.maskaNumberLocale),e.dataset.maskaNumberFraction!=null&&(r.fraction=parseInt(e.dataset.maskaNumberFraction)),e.dataset.maskaNumberUnsigned!=null&&(r.unsigned=kg(e.dataset.maskaNumberUnsigned)),(e.dataset.maskaNumber!=null||Object.values(r).length>0)&&(n.number=r),n},kg=e=>e===``?!0:!!JSON.parse(e),Ag=e=>e.startsWith(`[`)&&e.endsWith(`]`)?Dg(e):e,jg=e=>{if(e.startsWith(`{`)&&e.endsWith(`}`))return Dg(e);let t={};return e.split(`|`).forEach(e=>{let n=e.split(`:`);t[n[0]]={pattern:Mg()?new RegExp(n[1],`u`):new RegExp(n[1]),optional:n[2]===`optional`,multiple:n[2]===`multiple`,repeated:n[2]===`repeated`}}),t},Mg=()=>{try{return!0}catch{return!1}},Ng=class{constructor(e={}){Sg(this,`opts`,{}),Sg(this,`memo`,new Map);let t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...Cg,...t.tokens};for(let e of Object.values(t.tokens))typeof e.pattern==`string`&&(e.pattern=Mg()?new RegExp(e.pattern,`u`):new RegExp(e.pattern))}else t.tokens=Cg;Array.isArray(t.mask)&&(t.mask.length>1?t.mask=[...t.mask].sort((e,t)=>e.length-t.length):t.mask=t.mask[0]??``),t.mask===``&&(t.mask=null),this.opts=t}masked(e){return this.process(String(e),this.findMask(String(e)))}unmasked(e){return this.process(String(e),this.findMask(String(e)),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(e){let t=this.findMask(String(e));if(this.opts.mask==null||t==null)return!1;let n=this.process(String(e),t).length;return typeof this.opts.mask==`string`?n>=this.opts.mask.length:n>=t.length}findMask(e){let t=this.opts.mask;if(t==null)return null;if(typeof t==`string`)return t;if(typeof t==`function`)return t(e);let n=this.process(e,t.slice(-1).pop()??``,!1);return t.find(t=>this.process(e,t,!1).length>=n.length)??``}escapeMask(e){let t=[],n=[];return e.split(``).forEach((r,i)=>{r===`!`&&e[i-1]!==`!`?n.push(i-n.length):t.push(r)}),{mask:t.join(``),escaped:n}}process(e,t,n=!0){if(this.opts.number!=null)return Eg(e,n,this.opts);if(t==null)return e;let r=`v=${e},mr=${t},m=${+!!n}`;if(this.memo.has(r))return this.memo.get(r);let{mask:i,escaped:a}=this.escapeMask(t),o=[],s=this.opts.tokens==null?{}:this.opts.tokens,c=this.isReversed()?-1:1,l=this.isReversed()?`unshift`:`push`,u=this.isReversed()?0:i.length-1,d=this.isReversed()?()=>h>-1&&g>-1:()=>h<i.length&&g<e.length,f=e=>!this.isReversed()&&e<=u||this.isReversed()&&e>=u,p,m=-1,h=this.isReversed()?i.length-1:0,g=this.isReversed()?e.length-1:0,_=!1;for(;d();){let t=i.charAt(h),r=s[t],d=r?.transform==null?e.charAt(g):r.transform(e.charAt(g));if(!a.includes(h)&&r!=null?(d.match(r.pattern)==null?r.multiple?_&&=(h+=c,g-=c,!1):d===p?p=void 0:r.optional&&(h+=c,g-=c):(o[l](d),r.repeated?(m===-1?m=h:h===u&&h!==m&&(h=m-c),u===m&&(h-=c)):r.multiple&&(_=!0,h-=c),h+=c),g+=c):(n&&!this.isEager()&&o[l](t),d===t&&!this.isEager()?g+=c:p=t,this.isEager()||(h+=c)),this.isEager())for(;f(h)&&(s[i.charAt(h)]==null||a.includes(h));){if(n){if(o[l](i.charAt(h)),e.charAt(g)===i.charAt(h)){h+=c,g+=c;continue}}else i.charAt(h)===e.charAt(g)&&(g+=c);h+=c}}return this.memo.set(r,o.join(``)),this.memo.get(r)}},Pg=class{constructor(e,t={}){Sg(this,`items`,new Map),Sg(this,`eventAbortController`),Sg(this,`onInput`,e=>{if(e instanceof CustomEvent&&e.type===`input`&&!e.isTrusted&&!e.bubbles)return;let t=e.target,n=this.items.get(t);if(n===void 0)return;let r=`inputType`in e&&e.inputType.startsWith(`delete`),i=n.isEager(),a=r&&i&&n.unmasked(t.value)===``?``:t.value;this.fixCursor(t,r,()=>this.setValue(t,a))}),this.options=t,this.eventAbortController=new AbortController,this.init(this.getInputs(e))}update(e={}){this.options={...e},this.init(Array.from(this.items.keys()))}updateValue(e){e.value!==``&&e.value!==this.processInput(e)?.masked&&this.setValue(e,e.value)}destroy(){this.eventAbortController.abort(),this.items.clear()}init(e){let t=this.getOptions(this.options);for(let n of e){if(!this.items.has(n)){let{signal:e}=this.eventAbortController;n.addEventListener(`input`,this.onInput,{capture:!0,signal:e})}let e=new Ng(Og(n,t));this.items.set(n,e),queueMicrotask(()=>this.updateValue(n)),n.selectionStart===null&&e.isEager()&&console.warn("Maska: input of `%s` type is not supported",n.type)}}getInputs(e){return typeof e==`string`?Array.from(document.querySelectorAll(e)):`length`in e?Array.from(e):[e]}getOptions(e){let{onMaska:t,preProcess:n,postProcess:r,...i}=e;return i}fixCursor(e,t,n){let r=e.selectionStart,i=e.value;if(n(),r===null||r===i.length&&!t)return;let a=e.value,o=i.slice(0,r),s=a.slice(0,r),c=this.processInput(e,o)?.unmasked,l=this.processInput(e,s)?.unmasked;if(c===void 0||l===void 0)return;let u=r;o!==s&&(u+=t?a.length-i.length:c.length-l.length),e.setSelectionRange(u,u)}setValue(e,t){let n=this.processInput(e,t);n!==void 0&&(e.value=n.masked,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(e=>e(n)):this.options.onMaska(n)),e.dispatchEvent(new CustomEvent(`maska`,{detail:n})),e.dispatchEvent(new CustomEvent(`input`,{detail:n.masked})))}processInput(e,t){let n=this.items.get(e);if(n===void 0)return;let r=t??e.value;this.options.preProcess!=null&&(r=this.options.preProcess(r));let i=n.masked(r);return this.options.postProcess!=null&&(i=this.options.postProcess(i)),{masked:i,unmasked:n.unmasked(r),completed:n.completed(r)}}},Fg=new WeakMap,Ig=(e,t)=>{if(e.arg==null||e.instance==null)return;let n=`setup`in e.instance.$.type;e.arg in e.instance?e.instance[e.arg]=t:n&&console.warn("Maska: please expose `%s` using defineExpose",e.arg)},Lg=(e,t)=>{var n;let r=e instanceof HTMLInputElement?e:e.querySelector(`input`);if(r==null||r?.type===`file`)return;let i={};if(t.value!=null&&(i=typeof t.value==`string`?{mask:t.value}:{...t.value}),t.arg!=null){let e=e=>{Ig(t,t.modifiers.unmasked?e.unmasked:t.modifiers.completed?e.completed:e.masked)};i.onMaska=i.onMaska==null?e:Array.isArray(i.onMaska)?[...i.onMaska,e]:[i.onMaska,e]}Fg.has(r)?(n=Fg.get(r))==null||n.update(i):Fg.set(r,new Pg(r,i))},Rg=[`value`,`type`],zg=(0,u.defineComponent)({__name:`BDFormInput`,props:{modelValue:{default:``},formGroupClass:{default:void 0},type:{default:`text`},label:{default:void 0},labelClass:{default:void 0},formFieldClass:{default:void 0},inputClass:{default:void 0},placeholder:{default:void 0},state:{type:[Boolean,null],default:null},readonly:{type:[Boolean,null],default:null},disabled:{type:[Boolean,null],default:null},autofocus:{type:[Boolean,null],default:null},size:{default:Aa.MD},tabindex:{default:null},invalidFeedbackClass:{default:void 0},invalidFeedbackText:{default:void 0},delayTimeMs:{default:0},mask:{default:void 0}},emits:[`update:modelValue`,`click`,`blur`,`enter`],setup(e,{emit:t}){let n=e,r=t,{uniqueIdentifier:i}=La(),a=hg(n,`modelValue`,r),o=`__BD__FORM__LABEL__${i.value}`,s=`__BD__FORM__GROUP__${i.value}`,c=`form-input-${n.label?n.label.replace(/ /g,`-`).toLowerCase():i.value}`,l=`validationFeedback${n.label?n.label.replace(/ /g,``):i.value}`,d=(0,u.computed)(()=>({[`${n.inputClass}`]:n.inputClass,"is-invalid":n.state===!1,"is-valid":n.state===!0,[`form-control-${n.size}`]:n.size})),f=(0,u.computed)(()=>({[`${n.invalidFeedbackClass}`]:n.invalidFeedbackClass,"is-invalid":n.state===!1})),p=(0,u.computed)(()=>({placeholder:n.placeholder?n.placeholder:null,readonly:n.readonly===!0,disabled:n.disabled===!0,autofocus:n.autofocus===!0,tabindex:n.tabindex?n.tabindex:null,"aria-describedby":n.state===!1&&n.invalidFeedbackText?l:null,"data-maska":n.mask})),m=cg(e=>{a.value=e.target.value},n.delayTimeMs);return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`bd-form-input`,e.formGroupClass]),id:s},[(0,u.renderSlot)(t.$slots,`label`,{},()=>[e.label?((0,u.openBlock)(),(0,u.createElementBlock)(`label`,{key:0,for:c,id:o,class:(0,u.normalizeClass)([`form-label`,e.labelClass])},(0,u.toDisplayString)(e.label),3)):(0,u.createCommentVNode)(``,!0)]),(0,u.createElementVNode)(`div`,{class:(0,u.normalizeClass)(e.formFieldClass)},[(0,u.withDirectives)((0,u.createElementVNode)(`input`,(0,u.mergeProps)({value:e.modelValue,type:e.type,id:c,class:[`form-control`,d.value]},p.value,{onInput:n[0]||=(...e)=>(0,u.unref)(m)&&(0,u.unref)(m)(...e),onClick:n[1]||=e=>t.$emit(`click`),onBlur:n[2]||=e=>t.$emit(`blur`),onKeydown:n[3]||=(0,u.withKeys)(e=>t.$emit(`enter`),[`enter`])}),null,16,Rg),[[(0,u.unref)(Lg)]]),(0,u.renderSlot)(t.$slots,`default`)],2),(0,u.createVNode)(yg,{text:e.invalidFeedbackText,class:(0,u.normalizeClass)(f.value),state:e.state,id:l},null,8,[`text`,`class`,`state`])],2))}}),Bg=[`disabled`],Vg=[`label`],Hg=[`value`],Ug=[`value`],Wg=(0,u.defineComponent)({__name:`BDFormSelect`,props:{size:{default:Aa.MD},disabled:{type:Boolean},autofocus:{type:Boolean,default:!1},options:{default:void 0},modelValue:{default:``},state:{type:[Boolean,null],default:null}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:t}){let n=e,r=t,i=hg(n,`modelValue`,r),a=(0,u.ref)(null),{focused:o}=mg(a,{initialValue:n.autofocus}),s=(0,u.computed)(()=>({"form-select":!0,"bd-form-select":!0,"is-invalid":n.state===!1,[`form-select-${n.size}`]:[`xs`,`sm`,`lg`].includes(n.size)}));(0,u.watch)(()=>n.autofocus,e=>{e&&(o.value=!0)});let c=e=>{i.value=e.target.value,r(`input`,d(e.target.value))},l=e=>{r(`change`,d(e.target.value))},d=e=>{try{return JSON.parse(e)}catch{return e}};return(e,t)=>(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)(`select`,{class:(0,u.normalizeClass)(s.value),"onUpdate:modelValue":t[0]||=e=>(0,u.isRef)(i)?i.value=e:null,disabled:n.disabled,ref_key:`input`,ref:a,onInput:c,onChange:l},[(0,u.renderSlot)(e.$slots,`first`),n.options&&n.options.length>0&&n.options[0].label&&n.options[0].options?((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,{key:0},(0,u.renderList)(n.options,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`optgroup`,{label:e.label},[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.options,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`option`,{value:JSON.stringify(e.value),key:e.value},(0,u.toDisplayString)(e.text),9,Hg))),128))],8,Vg))),256)):((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,{key:1},(0,u.renderList)(n.options,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`option`,{value:e.value,key:e.value},(0,u.toDisplayString)(e.text),9,Ug))),128))],42,Bg)),[[u.vModelSelect,(0,u.unref)(i)]])}}),Gg={class:`input-group bd-input-group`},Kg=[`for`],qg=(0,u.defineComponent)({__name:`BDInputGroup`,props:{label:{default:void 0},labelForId:{default:void 0}},setup(e){let t=(0,u.useAttrs)(),n=e;return(e,r)=>((0,u.openBlock)(),(0,u.createElementBlock)(`fieldset`,Gg,[n.label?((0,u.openBlock)(),(0,u.createElementBlock)(`label`,{key:0,for:n.labelForId,class:`form-label`},(0,u.toDisplayString)(n.label),9,Kg)):(0,u.createCommentVNode)(``,!0),(0,u.createElementVNode)(`div`,{class:(0,u.normalizeClass)((0,u.unref)(t).class)},[(0,u.renderSlot)(e.$slots,`default`)],2)]))}}),Jg=e=>typeof e==`string`||e instanceof String,Yg={class:`bd-loader__spinner`},Xg={class:`spinner-border`,role:`status`},Zg={class:`visually-hidden`},Qg={key:0},$g={__name:`BDLoader`,props:{message:String,size:{type:String,default:`md`},stopAnimation:{type:Boolean,default:!1},isColleague:{type:Boolean,default:!1}},setup(e){let t=e,n=(0,u.computed)(()=>t.stopAnimation?`bd-loader--static`:``),r=(0,u.computed)(()=>t.isColleague?`bd-loader--colleague`:``);return(t,i)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`bd-loader text-center`,[e.size,n.value,r.value]])},[(0,u.createElementVNode)(`div`,Yg,[(0,u.createVNode)(la),(0,u.createElementVNode)(`div`,Xg,[(0,u.createElementVNode)(`span`,Zg,(0,u.toDisplayString)(e.message),1)])]),e.message?((0,u.openBlock)(),(0,u.createElementBlock)(`p`,Qg,[(0,u.createElementVNode)(`b`,null,(0,u.toDisplayString)(e.message),1)])):(0,u.createCommentVNode)(``,!0)],2))}},e_={};function t_(e,t){return(0,u.openBlock)(),(0,u.createElementBlock)(`svg`,(0,u.mergeProps)({class:`bd-logo`},e.$attrs,{version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`}),[...t[0]||=[(0,u.createStaticVNode)(`<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>`,2)]],16)}var n_=g(e_,[[`render`,t_]]),r_={"aria-label":`Page navigation`,class:`bd-pagination`},i_={class:`page-item`},a_=[`data-page`],o_=[`data-page`],s_={class:`page-item`},c_=[`data-page`],l_=(0,u.defineComponent)({__name:`BDPagination`,props:{modelValue:{default:1},totalRows:{default:1},rowsPerPage:{default:10},isPatient:{type:Boolean,default:!0}},emits:[`click`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=hg(n,`modelValue`,r),a=(0,u.ref)(Math.ceil(n.totalRows/n.rowsPerPage)),o=(0,u.ref)([]);(0,u.watch)([()=>n.totalRows,()=>n.rowsPerPage],()=>{a.value=Math.ceil(n.totalRows/n.rowsPerPage),o.value=f(i.value)}),(0,u.onMounted)(()=>{o.value=f(i.value)});let s=(0,u.computed)(()=>({[`${n.class}`]:n.class,colleague:!n.isPatient})),c=e=>{let t=e.currentTarget.getAttribute(`data-page`),n=Number(t);isNaN(Number(n))||(i.value=n,o.value=f(n)),r(`click`,n)},l=(e,t,n)=>n<=t?n:e==1?6:e<=4?5:1,d=(e,t,n)=>n<=t?0:e==n?6:e>n-4?5:1,f=e=>{let t=[],n=l(e,7,a.value),r=a.value>7&&e>4,i=a.value>7&&e<a.value-3,o=r&&i,s=d(e,7,a.value);for(let e=1;e<=n;e++)t.push(e);if(r&&t.push(`...`),o)for(let n=e-1;n<=e+1;n++)t.push(n);i&&t.push(`...`);for(let e=1;e<=s;e++)t.push(a.value-s+e);return t};return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,r_,[(0,u.createElementVNode)(`ul`,{class:(0,u.normalizeClass)([`pagination`,s.value])},[(0,u.withDirectives)((0,u.createElementVNode)(`li`,i_,[(0,u.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Previous`,onClick:c,"data-page":(0,u.unref)(i)-1},[(0,u.createVNode)((0,u.unref)(Pe))],8,a_)],512),[[u.vShow,(0,u.unref)(i)>1]]),((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(o.value,e=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{class:(0,u.normalizeClass)([`page-item`,{active:(0,u.unref)(i)===e,disabled:typeof e==`string`}]),key:e},[(0,u.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,onClick:c,"data-page":e},(0,u.toDisplayString)(e),9,o_)],2))),128)),(0,u.withDirectives)((0,u.createElementVNode)(`li`,s_,[(0,u.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Next`,onClick:c,"data-page":(0,u.unref)(i)+1},[(0,u.createVNode)((0,u.unref)(Re))],8,c_)],512),[[u.vShow,(0,u.unref)(i)<a.value]])],2)]))}}),u_={class:`bd-pill`},d_=[`src`],f_={class:`bd-pill__description`},p_=[`href`],m_=[`id`,`textContent`,`title`],h_=[`id`,`textContent`,`title`],g_=(0,u.defineComponent)({__name:`BDPill`,props:{imgSrc:{default:``},uri:{default:``},uriDisplayName:{default:``},title:{default:``},subtitle:{default:``},showClose:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:t}){let{uniqueIdentifier:n}=La(),r=e,i=(0,u.computed)(()=>r.uri),a=(0,u.computed)(()=>r.uriDisplayName===``?r.uri:r.uriDisplayName),o=(0,u.computed)(()=>r.imgSrc),s=(0,u.computed)(()=>r.title),c=(0,u.computed)(()=>r.subtitle),l=(0,u.computed)(()=>`bd-pill-title-${n.value}`),d=(0,u.computed)(()=>`bd-pill-subtitle-${n.value}`);return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,u_,[(0,u.createElementVNode)(`img`,{src:o.value,class:`bd-pill__logo`,alt:`logo-externe-partij`},null,8,d_),(0,u.createElementVNode)(`div`,f_,[(0,u.createElementVNode)(`a`,{href:i.value,class:`bd-pill__link`,target:`_blank`,rel:`noopener noreferrer`},[(0,u.createVNode)((0,u.unref)(Dn),{class:`bd-pill__icon-hyperlink`,style:{height:`12px`}}),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(a.value),1)],8,p_),(0,u.createElementVNode)(`span`,{class:`bd-pill__title`,id:l.value,textContent:(0,u.toDisplayString)(s.value),"data-bs-toggle":`tooltip`,title:s.value},null,8,m_),(0,u.createElementVNode)(`span`,{class:`bd-pill__subtitle`,id:d.value,textContent:(0,u.toDisplayString)(c.value),"data-bs-toggle":`tooltip`,title:c.value},null,8,h_)])]))}}),__={class:`bd-profile-picture`},v_=[`src`,`alt`],y_=(0,u.defineComponent)({__name:`BDProfileImage`,props:{src:{default:``},username:{default:null},size:{default:Aa.LG},linkText:{default:null}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,u.computed)(()=>`${n.username?`${n.username}'s `:``}profielfoto`),a=()=>{r(`click`)};return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,__,[(0,u.createElementVNode)(`div`,{class:(0,u.normalizeClass)([`rounded-circle`,n.size])},[(0,u.createElementVNode)(`img`,{src:n.src,alt:i.value},null,8,v_)],2),n.linkText?((0,u.openBlock)(),(0,u.createBlock)(A,{key:0,variant:`link`,onClick:a,textContent:(0,u.toDisplayString)(n.linkText)},null,8,[`textContent`])):(0,u.createCommentVNode)(``,!0)]))}}),b_={DANGER:`danger`,WARNING:`warning`,INFO:`info`,SUCCESS:`success`},x_=[`id`],S_={class:`toast-header`},C_={class:`toast-body`},w_=(0,u.defineComponent)({__name:`BDToast`,props:{id:{},variant:{default:b_.INFO},title:{default:``},text:{default:``}},setup(e){let t=e,n=(0,u.computed)(()=>({[`bd-toast-${t.variant}`]:!0})),r=(0,u.computed)(()=>t.variant!==b_.SUCCESS);return(e,i)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`toast bd-toast`,n.value]),role:`alert`,"aria-live":`assertive`,"aria-atomic":`true`,key:t.id,id:t.id},[(0,u.createElementVNode)(`div`,S_,[r.value?((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(Un),{key:0})):((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(He),{key:1})),(0,u.createElementVNode)(`h5`,null,(0,u.toDisplayString)(t.title),1),i[0]||=(0,u.createElementVNode)(`button`,{type:`button`,class:`btn-close`,"data-bs-dismiss":`toast`,"aria-label":`Close`},null,-1)]),(0,u.createElementVNode)(`div`,C_,[(0,u.createElementVNode)(`span`,null,(0,u.toDisplayString)(t.text),1)])],10,x_))}}),T_=e=>Array.isArray(e)&&e.length>0,E_=e=>Object.keys(e).map(t=>e[t]),D_=e=>Array.isArray(e)&&e.length>0,O_=e=>!e||Array.isArray(e)&&!e.length,k_={name:`BDUserInformation`,props:{value:{type:Object},showProfilePicture:{type:Boolean}},render(){let{name:e,profilePictureUri:t,extra:n,...r}=this.value,i=t&&this.showProfilePicture?(0,u.h)(`img`,{class:`bd-user-information__profile-picture`,src:t,alt:e}):null,a=[(0,u.h)(`h4`,null,e)];return this.$slots.default&&a.push(this.$slots.default()),(0,u.h)(`div`,{class:`bd-user-information`},[i,(0,u.h)(`div`,{class:`bd-user-information__detail`},[(0,u.h)(`div`,{class:`bd-user-information__header`},a),(0,u.h)(`small`,null,E_(r).filter(e=>e).join(` • `))])])}},A_={class:`bd-zoom-slider d-flex`},j_=[`max`],M_=(0,u.defineComponent)({__name:`BDZoomslider`,props:{modelValue:{},maxValue:{default:5}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=hg(n,`modelValue`,t);function i(){r.value!==0&&r.value--}function a(){r.value<n.maxValue&&r.value++}return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,A_,[((0,u.openBlock)(),(0,u.createElementBlock)(`svg`,{class:`bd-zoom-slider-min-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:i},[...n[1]||=[(0,u.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,u.createElementVNode)(`path`,{d:`M1.5 13.5h21a1.5 1.5 0 0 0 0-3h-21a1.5 1.5 0 0 0 0 3z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]])),(0,u.withDirectives)((0,u.createElementVNode)(`input`,{type:`range`,"onUpdate:modelValue":n[0]||=e=>(0,u.isRef)(r)?r.value=e:null,min:`0`,max:e.maxValue,class:`bd-zoom-slider-input`},null,8,j_),[[u.vModelText,(0,u.unref)(r)]]),((0,u.openBlock)(),(0,u.createElementBlock)(`svg`,{class:`bd-zoom-slider-plus-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:a},[...n[2]||=[(0,u.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,u.createElementVNode)(`path`,{d:`M0 12a1.5 1.5 0 0 0 1.5 1.5h8.75a.25.25 0 0 1 .25.25v8.75a1.5 1.5 0 0 0 3 0v-8.75a.25.25 0 0 1 .25-.25h8.75a1.5 1.5 0 0 0 0-3h-8.75a.25.25 0 0 1-.25-.25V1.5a1.5 1.5 0 0 0-3 0v8.75a.25.25 0 0 1-.25.25H1.5A1.5 1.5 0 0 0 0 12z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]]))]))}}),N_={class:`attachment-list`},P_={class:`attachment-link`},F_={key:1,class:`attachment-no-download`},I_=[`href`],L_=(0,u.defineComponent)({__name:`BDAttachmentPreviewList`,props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`],setup(e,{emit:t}){let n=t,r=e=>{n(`delete`,e)};return(t,n)=>((0,u.openBlock)(),(0,u.createElementBlock)(`ul`,N_,[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.files,t=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{class:`attachment-list__item`,key:t.CorrelationId},[(0,u.createElementVNode)(`div`,P_,[e.showDelete?((0,u.openBlock)(),(0,u.createBlock)(A,{key:0,variant:`remove`,onClick:e=>r(t),"aria-label":`verwijder`},{default:(0,u.withCtx)(()=>[(0,u.createVNode)((0,u.unref)(mi))]),_:1},8,[`onClick`])):(0,u.createCommentVNode)(``,!0),e.noDownload?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,F_,[(0,u.createVNode)((0,u.unref)(k)),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(t.Naam.trim()),1)])):((0,u.openBlock)(),(0,u.createElementBlock)(`a`,{key:2,href:t.downloadUrl},[(0,u.createVNode)((0,u.unref)(k)),(0,u.createTextVNode)(` `+(0,u.toDisplayString)(t.Naam.trim()),1)],8,I_))])]))),128))]))}}),R_={class:`attachment-list`},z_={class:`attachment`},B_=[`onClick`],V_=[`src`,`alt`],H_=[`onClick`],U_=[`href`],W_={class:`btn btn-light download-button-image`},G_=[`src`,`alt`],K_=(0,u.defineComponent)({__name:`BDImageAttachmentPreviewList`,props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`,`show`],setup(e,{emit:t}){let n=e,r=t,i=e=>{r(`delete`,e)},a=(e,t)=>{e.target&&e.target.className===`img-preview`&&r(`show`,t)};return(t,r)=>((0,u.openBlock)(),(0,u.createElementBlock)(`ul`,R_,[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.files,t=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{class:`attachment-list__item`,key:t.CorrelationId},[(0,u.createElementVNode)(`div`,z_,[e.showDelete?((0,u.openBlock)(),(0,u.createBlock)(A,{key:0,variant:`remove`,"aria-label":`verwijder`,onClick:(0,u.withModifiers)(e=>i(t),[`prevent`])},{default:(0,u.withCtx)(()=>[(0,u.createVNode)((0,u.unref)(mi))]),_:1},8,[`onClick`])):(0,u.createCommentVNode)(``,!0),n.noDownload?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{key:1,onClick:e=>a(e,t)},[(0,u.createElementVNode)(`img`,{src:t.previewUrl,class:`img-preview`,alt:t.altName,loading:`lazy`},null,8,V_)],8,B_)):((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{key:2,onClick:e=>a(e,t)},[n.fastDownload?((0,u.openBlock)(),(0,u.createElementBlock)(`a`,{key:0,href:t.downloadUrl,class:`download-link`},[(0,u.createElementVNode)(`button`,W_,[(0,u.createVNode)((0,u.unref)(It))])],8,U_)):(0,u.createCommentVNode)(``,!0),(0,u.createElementVNode)(`img`,{src:t.previewUrl,alt:t.altName,class:`img-preview`,loading:`lazy`},null,8,G_)],8,H_))])]))),128))]))}}),q_=e=>e?.map(e=>e.CorrelationId),J_=e=>{if(e.Naam==null)return!1;let t=e.Naam.toLowerCase();return t.endsWith(`.png`)||t.endsWith(`.jpg`)||t.endsWith(`.jpeg`)||t.endsWith(`.gif`)},Y_=(e,t)=>t.DownloadUrl?t.DownloadUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlage/${t.Id}`:t.FileId?`${e}/Portaal/DownloadStandardMessageAttachment/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlage/${t.CorrelationId}`,X_=(e,t)=>t.ThumbnailUrl?t.ThumbnailUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlageThumbnail/${t.Id}`:t.StandardAttachmentId||t.standardAttachmentId?`${e}/Portaal/DownloadStandardMessageAttachmentThumbnail/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlageThumbnail/${t.CorrelationId}`,Z_=(e,t)=>t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:null,Q_=(e,t)=>t?J_(e):!J_(e),$_=(e=``,t,n)=>{if(t!==void 0)return t.filter(e=>Q_(e,n)).map(t=>{let n=typeof t.CorrelationId==`string`?t.CorrelationId:t.CorrelationId==null?``:t.CorrelationId.toString();return{downloadUrl:Y_(e,t),previewUrl:X_(e,t),fullImageUrl:Z_(e,t),altName:`${t.Naam}`,...t,CorrelationId:n}})},ev={class:`bd-chat-cloud-card`},tv={class:`bd-chat-cloud-card__header`},nv={class:`bd-chat-cloud-card__body`},rv=[`innerHTML`],iv={class:`bd-chat-cloud-card__footer`},av={key:0,class:`pills-list__wrapper`},ov={class:`pills-list__ul`},sv=(0,u.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},apiUrl:{default:``}},emits:[`show-attachment`,`action`],setup(e,{emit:t}){let n=e,r=t,i=(0,u.computed)(()=>n.isSender?`sender`:``),a=(0,u.computed)(()=>$_(n.apiUrl,n.files,!1)),o=(0,u.computed)(()=>$_(n.apiUrl,n.files,!0)),s=()=>{r(`action`,`copy-message`)},c=e=>{r(`show-attachment`,e)};return(t,r)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{class:(0,u.normalizeClass)([`bd-chat-cloud`,i.value])},[(0,u.createVNode)(y_,{src:n.src,username:n.username,size:`sm`},null,8,[`src`,`username`]),(0,u.createElementVNode)(`div`,ev,[(0,u.createElementVNode)(`div`,tv,[(0,u.renderSlot)(t.$slots,`header`,{},()=>[(0,u.createTextVNode)((0,u.toDisplayString)(e.headerTitle),1)]),(0,u.createVNode)(A,{variant:`outline-primary-dark`,size:`sm`,onClick:s},{default:(0,u.withCtx)(()=>[...r[0]||=[(0,u.createTextVNode)(` kopieer `,-1)]]),_:1})]),(0,u.createElementVNode)(`div`,nv,[(0,u.renderSlot)(t.$slots,`body`,{},()=>[(0,u.createElementVNode)(`div`,{class:`bd-chat-cloud-card__message`,innerHTML:n.message},null,8,rv)])]),(0,u.createElementVNode)(`div`,iv,[(0,u.renderSlot)(t.$slots,`footer`,{},()=>[e.pills?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,av,[(0,u.createElementVNode)(`ul`,ov,[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.pills,(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,{key:t,class:`pills-list__li`},[(0,u.createVNode)(g_,(0,u.mergeProps)({ref_for:!0},e),null,16)]))),128))])])):(0,u.createCommentVNode)(``,!0),a.value&&a.value.length>0?((0,u.openBlock)(),(0,u.createBlock)(L_,{key:1,files:a.value},null,8,[`files`])):(0,u.createCommentVNode)(``,!0),o.value&&o.value.length>0?((0,u.openBlock)(),(0,u.createBlock)(K_,{key:2,"fast-download":!0,files:o.value,onShow:c},null,8,[`files`])):(0,u.createCommentVNode)(``,!0)])])])],2))}}),cv=(0,u.defineComponent)({__name:`BDDropdownItem`,props:{to:{default:``},target:{default:`_blank`},text:{default:void 0},rel:{default:`noopener noreferrer`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=()=>{r(`click`)};return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`li`,(0,u.mergeProps)({class:`bd-dropdown-item`},e.$attrs),[(0,u.createVNode)(ja,(0,u.mergeProps)({class:`dropdown-item`,onClick:i},n),{default:(0,u.withCtx)(()=>[(0,u.renderSlot)(e.$slots,`default`,{},()=>[(0,u.createTextVNode)((0,u.toDisplayString)(n.text),1)])]),_:3},16)],16))}}),lv={class:`bd-file-upload-preview`},uv={class:`preview-details`},dv=[`src`,`alt`],fv={class:`filename`},pv={key:2,class:`mark-container pending`},mv={class:`mark-container success`},hv=(0,u.defineComponent)({__name:`BDFileUploadPreview`,props:{file:{},isPending:{type:Boolean}},emits:[`remove`],setup(e,{emit:t}){let n=e,r=t,i=()=>r(`remove`,n.file);return(e,t)=>((0,u.openBlock)(),(0,u.createElementBlock)(`div`,lv,[(0,u.createElementVNode)(`div`,uv,[n.file.previewUrl?((0,u.openBlock)(),(0,u.createElementBlock)(`img`,{key:0,src:n.file.previewUrl,class:`preview-image`,alt:n.file.UUID},null,8,dv)):((0,u.openBlock)(),(0,u.createBlock)((0,u.unref)(dn),{key:1,class:`preview-icon`})),(0,u.createElementVNode)(`div`,fv,[(0,u.createElementVNode)(`small`,null,(0,u.toDisplayString)(n.file.name),1)]),n.isPending?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,pv,[...t[1]||=[(0,u.createElementVNode)(`div`,{class:`spinner-border text-primary spinner-border-sm`,role:`status`},null,-1)]])):((0,u.openBlock)(),(0,u.createElementBlock)(u.Fragment,{key:3},[(0,u.createVNode)(A,{class:`remove-button`,onClick:t[0]||=e=>i()},{default:(0,u.withCtx)(()=>[(0,u.createVNode)((0,u.unref)(mi))]),_:1}),(0,u.createElementVNode)(`div`,mv,[(0,u.createVNode)((0,u.unref)(He))])],64))])]))}}),gv={name:`PlusIcon`,extends:Lp};function _v(e){return xv(e)||bv(e)||yv(e)||vv()}function vv(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1173
1173
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yv(e,t){if(e){if(typeof e==`string`)return Sv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sv(e,t):void 0}}function bv(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function xv(e){if(Array.isArray(e))return Sv(e)}function Sv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Cv(e,t,n,r,i,a){return(0,u.openBlock)(),(0,u.createElementBlock)(`svg`,(0,u.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),_v(t[0]||=[(0,u.createElementVNode)(`path`,{d:`M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z`,fill:`currentColor`},null,-1)]),16)}gv.render=Cv;var wv={name:`TimesIcon`,extends:Lp};function Tv(e){return kv(e)||Ov(e)||Dv(e)||Ev()}function Ev(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1174
1174
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dv(e,t){if(e){if(typeof e==`string`)return Av(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Av(e,t):void 0}}function Ov(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function kv(e){if(Array.isArray(e))return Av(e)}function Av(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function jv(e,t,n,r,i,a){return(0,u.openBlock)(),(0,u.createElementBlock)(`svg`,(0,u.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Tv(t[0]||=[(0,u.createElementVNode)(`path`,{d:`M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z`,fill:`currentColor`},null,-1)]),16)}wv.render=jv;var Mv={name:`UploadIcon`,extends:Lp};function Nv(e){return Lv(e)||Iv(e)||Fv(e)||Pv()}function Pv(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1175
1175
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fv(e,t){if(e){if(typeof e==`string`)return Rv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rv(e,t):void 0}}function Iv(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Lv(e){if(Array.isArray(e))return Rv(e)}function Rv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function zv(e,t,n,r,i,a){return(0,u.openBlock)(),(0,u.createElementBlock)(`svg`,(0,u.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Nv(t[0]||=[(0,u.createElementVNode)(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M6.58942 9.82197C6.70165 9.93405 6.85328 9.99793 7.012 10C7.17071 9.99793 7.32234 9.93405 7.43458 9.82197C7.54681 9.7099 7.61079 9.55849 7.61286 9.4V2.04798L9.79204 4.22402C9.84752 4.28011 9.91365 4.32457 9.98657 4.35479C10.0595 4.38502 10.1377 4.40039 10.2167 4.40002C10.2956 4.40039 10.3738 4.38502 10.4467 4.35479C10.5197 4.32457 10.5858 4.28011 10.6413 4.22402C10.7538 4.11152 10.817 3.95902 10.817 3.80002C10.817 3.64102 10.7538 3.48852 10.6413 3.37602L7.45127 0.190618C7.44656 0.185584 7.44176 0.180622 7.43687 0.175736C7.32419 0.063214 7.17136 0 7.012 0C6.85264 0 6.69981 0.063214 6.58712 0.175736C6.58181 0.181045 6.5766 0.186443 6.5715 0.191927L3.38282 3.37602C3.27669 3.48976 3.2189 3.6402 3.22165 3.79564C3.2244 3.95108 3.28746 4.09939 3.39755 4.20932C3.50764 4.31925 3.65616 4.38222 3.81182 4.38496C3.96749 4.3877 4.11814 4.33001 4.23204 4.22402L6.41113 2.04807V9.4C6.41321 9.55849 6.47718 9.7099 6.58942 9.82197ZM11.9952 14H2.02883C1.751 13.9887 1.47813 13.9228 1.22584 13.8061C0.973545 13.6894 0.746779 13.5241 0.558517 13.3197C0.370254 13.1154 0.22419 12.876 0.128681 12.6152C0.0331723 12.3545 -0.00990605 12.0775 0.0019109 11.8V9.40005C0.0019109 9.24092 0.065216 9.08831 0.1779 8.97579C0.290584 8.86326 0.443416 8.80005 0.602775 8.80005C0.762134 8.80005 0.914966 8.86326 1.02765 8.97579C1.14033 9.08831 1.20364 9.24092 1.20364 9.40005V11.8C1.18295 12.0376 1.25463 12.274 1.40379 12.4602C1.55296 12.6463 1.76817 12.7681 2.00479 12.8H11.9952C12.2318 12.7681 12.447 12.6463 12.5962 12.4602C12.7453 12.274 12.817 12.0376 12.7963 11.8V9.40005C12.7963 9.24092 12.8596 9.08831 12.9723 8.97579C13.085 8.86326 13.2378 8.80005 13.3972 8.80005C13.5565 8.80005 13.7094 8.86326 13.8221 8.97579C13.9347 9.08831 13.998 9.24092 13.998 9.40005V11.8C14.022 12.3563 13.8251 12.8996 13.45 13.3116C13.0749 13.7236 12.552 13.971 11.9952 14Z`,fill:`currentColor`},null,-1)]),16)}Mv.render=zv;var Bv=pp.extend({name:`message`,style:`
|
|
@@ -1347,13 +1347,13 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
var ts = /\{([0-9a-zA-Z]+)\}/g;
|
|
1349
1349
|
function ns(e, ...t) {
|
|
1350
|
-
return t.length === 1 &&
|
|
1350
|
+
return t.length === 1 && ks(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ts, (e, n) => t.hasOwnProperty(n) ? t[n] : "");
|
|
1351
1351
|
}
|
|
1352
1352
|
var rs = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), is = (e, t, n) => as({
|
|
1353
1353
|
l: e,
|
|
1354
1354
|
k: t,
|
|
1355
1355
|
s: n
|
|
1356
|
-
}), as = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ss = (e) => typeof e == "number" && isFinite(e), cs = (e) =>
|
|
1356
|
+
}), as = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ss = (e) => typeof e == "number" && isFinite(e), cs = (e) => Ms(e) === "[object Date]", ls = (e) => Ms(e) === "[object RegExp]", us = (e) => B(e) && Object.keys(e).length === 0, ds = Object.assign, fs = Object.create, ps = (e = null) => fs(e), ms, hs = () => ms ||= typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ps();
|
|
1357
1357
|
function gs(e) {
|
|
1358
1358
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
1359
1359
|
}
|
|
@@ -1394,7 +1394,7 @@ var ws = Object.prototype.hasOwnProperty;
|
|
|
1394
1394
|
function Ts(e, t) {
|
|
1395
1395
|
return ws.call(e, t);
|
|
1396
1396
|
}
|
|
1397
|
-
var Es = Array.isArray, Ds = (e) => typeof e == "function", z = (e) => typeof e == "string", Os = (e) => typeof e == "boolean",
|
|
1397
|
+
var Es = Array.isArray, Ds = (e) => typeof e == "function", z = (e) => typeof e == "string", Os = (e) => typeof e == "boolean", ks = (e) => typeof e == "object" && !!e, As = (e) => ks(e) && Ds(e.then) && Ds(e.catch), js = Object.prototype.toString, Ms = (e) => js.call(e), B = (e) => Ms(e) === "[object Object]", Ns = (e) => e == null ? "" : Es(e) || B(e) && e.toString === js ? JSON.stringify(e, null, 2) : String(e);
|
|
1398
1398
|
function Ps(e, t = "") {
|
|
1399
1399
|
return e.reduce((e, n, r) => r === 0 ? e + n : e + t + n, "");
|
|
1400
1400
|
}
|
|
@@ -1439,7 +1439,7 @@ function Ls() {
|
|
|
1439
1439
|
}
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
var Rs = (e) => !
|
|
1442
|
+
var Rs = (e) => !ks(e) || Es(e);
|
|
1443
1443
|
function zs(e, t) {
|
|
1444
1444
|
if (Rs(e) || Rs(t)) throw Error("Invalid value");
|
|
1445
1445
|
let n = [{
|
|
@@ -1449,7 +1449,7 @@ function zs(e, t) {
|
|
|
1449
1449
|
for (; n.length;) {
|
|
1450
1450
|
let { src: e, des: t } = n.pop();
|
|
1451
1451
|
Object.keys(e).forEach((r) => {
|
|
1452
|
-
r !== "__proto__" && (
|
|
1452
|
+
r !== "__proto__" && (ks(e[r]) && !ks(t[r]) && (t[r] = Array.isArray(e[r]) ? [] : ps()), Rs(t[r]) || Rs(e[r]) ? t[r] = e[r] : n.push({
|
|
1453
1453
|
src: e[r],
|
|
1454
1454
|
des: t[r]
|
|
1455
1455
|
}));
|
|
@@ -2231,7 +2231,7 @@ function Dc() {
|
|
|
2231
2231
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (hs().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (hs().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
2232
2232
|
}
|
|
2233
2233
|
function Oc(e) {
|
|
2234
|
-
return
|
|
2234
|
+
return ks(e) && Rc(e) === 0 && (Ts(e, "b") || Ts(e, "body"));
|
|
2235
2235
|
}
|
|
2236
2236
|
var kc = ["b", "body"];
|
|
2237
2237
|
function Ac(e) {
|
|
@@ -2414,13 +2414,13 @@ function ml(e) {
|
|
|
2414
2414
|
if (e.resolvedOnce && pl != null) return pl;
|
|
2415
2415
|
if (e.constructor.name === "Function") {
|
|
2416
2416
|
let t = e();
|
|
2417
|
-
if (
|
|
2417
|
+
if (As(t)) throw ul(ll.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
2418
2418
|
return pl = t;
|
|
2419
2419
|
} else throw ul(ll.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
2420
2420
|
} else throw ul(ll.NOT_SUPPORT_LOCALE_TYPE);
|
|
2421
2421
|
}
|
|
2422
2422
|
function hl(e, t, n) {
|
|
2423
|
-
return [...new Set([n, ...Es(t) ? t :
|
|
2423
|
+
return [...new Set([n, ...Es(t) ? t : ks(t) ? Object.keys(t) : z(t) ? [t] : [n]])];
|
|
2424
2424
|
}
|
|
2425
2425
|
function gl(e, t, n) {
|
|
2426
2426
|
let r = z(n) ? n : Pl, i = e;
|
|
@@ -2430,7 +2430,7 @@ function gl(e, t, n) {
|
|
|
2430
2430
|
a = [];
|
|
2431
2431
|
let e = [n];
|
|
2432
2432
|
for (; Es(e);) e = _l(a, e, t);
|
|
2433
|
-
let o = Es(t) || !
|
|
2433
|
+
let o = Es(t) || !B(t) ? t : t.default ? t.default : null;
|
|
2434
2434
|
e = z(o) ? [o] : o, Es(e) && _l(a, e, !1), i.__localeChainCache.set(r, a);
|
|
2435
2435
|
}
|
|
2436
2436
|
return a;
|
|
@@ -2455,7 +2455,7 @@ function yl(e, t, n) {
|
|
|
2455
2455
|
if (!e.includes(t) && (r = !0, t)) {
|
|
2456
2456
|
r = t[t.length - 1] !== "!";
|
|
2457
2457
|
let i = t.replace(/!/g, "");
|
|
2458
|
-
e.push(i), (Es(n) ||
|
|
2458
|
+
e.push(i), (Es(n) || B(n)) && n[i] && (r = n[i]);
|
|
2459
2459
|
}
|
|
2460
2460
|
return r;
|
|
2461
2461
|
}
|
|
@@ -2556,16 +2556,16 @@ function El(e) {
|
|
|
2556
2556
|
}
|
|
2557
2557
|
var Dl = /* @__PURE__ */ new Map();
|
|
2558
2558
|
function Ol(e, t) {
|
|
2559
|
-
return
|
|
2559
|
+
return ks(e) ? e[t] : null;
|
|
2560
2560
|
}
|
|
2561
2561
|
function kl(e, t) {
|
|
2562
|
-
if (!
|
|
2562
|
+
if (!ks(e)) return null;
|
|
2563
2563
|
let n = Dl.get(t);
|
|
2564
2564
|
if (n || (n = El(t), n && Dl.set(t, n)), !n) return null;
|
|
2565
2565
|
let r = n.length, i = e, a = 0;
|
|
2566
2566
|
for (; a < r;) {
|
|
2567
2567
|
let e = n[a];
|
|
2568
|
-
if (Kc.includes(e) && Oc(i) || !
|
|
2568
|
+
if (Kc.includes(e) && Oc(i) || !ks(i) || !Ts(i, e)) return null;
|
|
2569
2569
|
let t = i[e];
|
|
2570
2570
|
if (t === void 0 || Ds(i)) return null;
|
|
2571
2571
|
i = t, a++;
|
|
@@ -2599,9 +2599,9 @@ function Ml(e, ...t) {
|
|
|
2599
2599
|
var Nl = "11.4.5", Pl = "en-US", Fl = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
2600
2600
|
function Il() {
|
|
2601
2601
|
return {
|
|
2602
|
-
upper: (e, t) => t === "text" && z(e) ? e.toUpperCase() : t === "vnode" &&
|
|
2603
|
-
lower: (e, t) => t === "text" && z(e) ? e.toLowerCase() : t === "vnode" &&
|
|
2604
|
-
capitalize: (e, t) => t === "text" && z(e) ? Fl(e) : t === "vnode" &&
|
|
2602
|
+
upper: (e, t) => t === "text" && z(e) ? e.toUpperCase() : t === "vnode" && ks(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
2603
|
+
lower: (e, t) => t === "text" && z(e) ? e.toLowerCase() : t === "vnode" && ks(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
2604
|
+
capitalize: (e, t) => t === "text" && z(e) ? Fl(e) : t === "vnode" && ks(e) && "__v_isVNode" in e ? Fl(e.children) : e
|
|
2605
2605
|
};
|
|
2606
2606
|
}
|
|
2607
2607
|
var Ll;
|
|
@@ -2620,9 +2620,9 @@ var Ul = null, Wl = /* @__NO_SIDE_EFFECTS__ */ () => Ul, Gl = null, Kl = (e) =>
|
|
|
2620
2620
|
Gl = e;
|
|
2621
2621
|
}, ql = () => Gl, Jl = 0;
|
|
2622
2622
|
function Yl(e = {}) {
|
|
2623
|
-
let t = Ds(e.onWarn) ? e.onWarn : Yo, n = z(e.version) ? e.version : Nl, r = z(e.locale) || Ds(e.locale) ? e.locale : Pl, i = Ds(r) ? Pl : r, a = Es(e.fallbackLocale) ||
|
|
2623
|
+
let t = Ds(e.onWarn) ? e.onWarn : Yo, n = z(e.version) ? e.version : Nl, r = z(e.locale) || Ds(e.locale) ? e.locale : Pl, i = Ds(r) ? Pl : r, a = Es(e.fallbackLocale) || B(e.fallbackLocale) || z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, o = B(e.messages) ? e.messages : Xl(i), s = B(e.datetimeFormats) ? e.datetimeFormats : Xl(i), c = B(e.numberFormats) ? e.numberFormats : Xl(i), l = ds(ps(), e.modifiers, Il()), u = e.pluralRules || ps(), d = Ds(e.missing) ? e.missing : null, f = Os(e.missingWarn) || ls(e.missingWarn) ? e.missingWarn : !0, p = Os(e.fallbackWarn) || ls(e.fallbackWarn) ? e.fallbackWarn : !0, m = !!e.fallbackFormat, h = !!e.unresolving, g = Ds(e.postTranslation) ? e.postTranslation : null, _ = B(e.processor) ? e.processor : null, v = Os(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, b = Ds(e.messageCompiler) ? e.messageCompiler : Ll;
|
|
2624
2624
|
process.env.NODE_ENV !== "production" && Ds(e.messageCompiler) && Zo(Ml(Al.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
2625
|
-
let x = Ds(e.messageResolver) ? e.messageResolver : zl || Ol, S = Ds(e.localeFallbacker) ? e.localeFallbacker : Vl || hl, C =
|
|
2625
|
+
let x = Ds(e.messageResolver) ? e.messageResolver : zl || Ol, S = Ds(e.localeFallbacker) ? e.localeFallbacker : Vl || hl, C = ks(e.fallbackContext) ? e.fallbackContext : void 0, w = e, T = ks(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), E = ks(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), D = ks(w.__meta) ? w.__meta : {};
|
|
2626
2626
|
Jl++;
|
|
2627
2627
|
let O = {
|
|
2628
2628
|
version: n,
|
|
@@ -2717,10 +2717,10 @@ function au(e, ...t) {
|
|
|
2717
2717
|
groupId: `${S}:${c}`
|
|
2718
2718
|
});
|
|
2719
2719
|
}
|
|
2720
|
-
if (_ = n[v] || {}, y = _[c],
|
|
2720
|
+
if (_ = n[v] || {}, y = _[c], B(y)) break;
|
|
2721
2721
|
$l(e, c, v, f, S), b = x;
|
|
2722
2722
|
}
|
|
2723
|
-
if (!
|
|
2723
|
+
if (!B(y) || !z(v)) return r ? -1 : c;
|
|
2724
2724
|
let C = `${v}__${c}`;
|
|
2725
2725
|
us(d) || (C = `${C}__${JSON.stringify(d)}`);
|
|
2726
2726
|
let w = s.get(C);
|
|
@@ -2765,9 +2765,9 @@ function su(...e) {
|
|
|
2765
2765
|
s = t;
|
|
2766
2766
|
} else if (ss(t)) s = t;
|
|
2767
2767
|
else throw ul(ll.INVALID_ARGUMENT);
|
|
2768
|
-
return z(n) ? a.key = n :
|
|
2768
|
+
return z(n) ? a.key = n : B(n) && Object.keys(n).forEach((e) => {
|
|
2769
2769
|
ou.includes(e) ? o[e] = n[e] : a[e] = n[e];
|
|
2770
|
-
}), z(r) ? a.locale = r :
|
|
2770
|
+
}), z(r) ? a.locale = r : B(r) && (o = r), B(i) && (o = i), [
|
|
2771
2771
|
a.key || "",
|
|
2772
2772
|
s,
|
|
2773
2773
|
a,
|
|
@@ -2805,10 +2805,10 @@ function lu(e, ...t) {
|
|
|
2805
2805
|
groupId: `${S}:${c}`
|
|
2806
2806
|
});
|
|
2807
2807
|
}
|
|
2808
|
-
if (_ = n[v] || {}, y = _[c],
|
|
2808
|
+
if (_ = n[v] || {}, y = _[c], B(y)) break;
|
|
2809
2809
|
$l(e, c, v, f, S), b = x;
|
|
2810
2810
|
}
|
|
2811
|
-
if (!
|
|
2811
|
+
if (!B(y) || !z(v)) return r ? -1 : c;
|
|
2812
2812
|
let C = `${v}__${c}`;
|
|
2813
2813
|
us(d) || (C = `${C}__${JSON.stringify(d)}`);
|
|
2814
2814
|
let w = s.get(C);
|
|
@@ -2840,9 +2840,9 @@ function du(...e) {
|
|
|
2840
2840
|
let [t, n, r, i] = e, a = ps(), o = ps();
|
|
2841
2841
|
if (!ss(t)) throw ul(ll.INVALID_ARGUMENT);
|
|
2842
2842
|
let s = t;
|
|
2843
|
-
return z(n) ? a.key = n :
|
|
2843
|
+
return z(n) ? a.key = n : B(n) && Object.keys(n).forEach((e) => {
|
|
2844
2844
|
uu.includes(e) ? o[e] = n[e] : a[e] = n[e];
|
|
2845
|
-
}), z(r) ? a.locale = r :
|
|
2845
|
+
}), z(r) ? a.locale = r : B(r) && (o = r), B(i) && (o = i), [
|
|
2846
2846
|
a.key || "",
|
|
2847
2847
|
s,
|
|
2848
2848
|
a,
|
|
@@ -2869,7 +2869,7 @@ function bu(e = {}) {
|
|
|
2869
2869
|
ss(e.pluralIndex) && (c.count ||= e.pluralIndex, c.n ||= e.pluralIndex);
|
|
2870
2870
|
let l = (e) => c[e];
|
|
2871
2871
|
function u(t, n) {
|
|
2872
|
-
return (Ds(e.messages) ? e.messages(t, !!n) :
|
|
2872
|
+
return (Ds(e.messages) ? e.messages(t, !!n) : ks(e.messages) ? e.messages[t] : !1) || (e.parent ? e.parent.message(t) : mu);
|
|
2873
2873
|
}
|
|
2874
2874
|
let d = (t) => e.modifiers ? e.modifiers[t] : pu, f = Ds(e.processor?.normalize) ? e.processor.normalize : gu, p = Ds(e.processor?.interpolate) ? e.processor.interpolate : _u, m = {
|
|
2875
2875
|
list: s,
|
|
@@ -2877,7 +2877,7 @@ function bu(e = {}) {
|
|
|
2877
2877
|
plural: a,
|
|
2878
2878
|
linked: (e, ...t) => {
|
|
2879
2879
|
let [n, r] = t, i = "text", a = "";
|
|
2880
|
-
t.length === 1 ?
|
|
2880
|
+
t.length === 1 ? ks(n) ? (a = n.modifier || a, i = n.type || i) : z(n) && (a = n || a) : t.length === 2 && (z(n) && (a = n || a), z(r) && (i = r || i));
|
|
2881
2881
|
let o = u(e, !0)(m), s = o === "" || o === void 0 ? e : o, c = i === "vnode" && Es(s) && a ? s[0] : s;
|
|
2882
2882
|
return a ? d(a)(c, i) : c;
|
|
2883
2883
|
},
|
|
@@ -2918,7 +2918,7 @@ function Cu(e, ...t) {
|
|
|
2918
2918
|
return T;
|
|
2919
2919
|
}
|
|
2920
2920
|
function wu(e) {
|
|
2921
|
-
Es(e.list) ? e.list = e.list.map((e) => z(e) ? gs(e) : e) :
|
|
2921
|
+
Es(e.list) ? e.list = e.list.map((e) => z(e) ? gs(e) : e) : ks(e.named) && Object.keys(e.named).forEach((t) => {
|
|
2922
2922
|
z(e.named[t]) && (e.named[t] = gs(e.named[t]));
|
|
2923
2923
|
});
|
|
2924
2924
|
}
|
|
@@ -3004,7 +3004,7 @@ function Ou(...e) {
|
|
|
3004
3004
|
let [t, n, r] = e, i = ps();
|
|
3005
3005
|
if (!z(t) && !ss(t) && !Su(t) && !Oc(t)) throw ul(ll.INVALID_ARGUMENT);
|
|
3006
3006
|
let a = ss(t) ? String(t) : (Su(t), t);
|
|
3007
|
-
return ss(n) ? i.plural = n : z(n) ? i.default = n :
|
|
3007
|
+
return ss(n) ? i.plural = n : z(n) ? i.default = n : B(n) && !us(n) ? i.named = n : Es(n) && (i.list = n), ss(r) ? i.plural = r : z(r) ? i.default = r : B(r) && ds(i, r), [a, i];
|
|
3008
3008
|
}
|
|
3009
3009
|
function ku(e, t, n, r, i, a) {
|
|
3010
3010
|
return {
|
|
@@ -3193,13 +3193,13 @@ function id(e, ...t) {
|
|
|
3193
3193
|
return ns(rd[e], ...t);
|
|
3194
3194
|
}
|
|
3195
3195
|
function ad(e) {
|
|
3196
|
-
if (!
|
|
3197
|
-
for (let t in e) if (Ts(e, t)) if (!t.includes("."))
|
|
3196
|
+
if (!ks(e) || Oc(e)) return e;
|
|
3197
|
+
for (let t in e) if (Ts(e, t)) if (!t.includes(".")) ks(e[t]) && ad(e[t]);
|
|
3198
3198
|
else {
|
|
3199
3199
|
let n = t.split("."), r = n.length - 1, i = e, a = !1;
|
|
3200
3200
|
for (let e = 0; e < r; e++) {
|
|
3201
3201
|
if (n[e] === "__proto__") throw Error(`unsafe key: ${n[e]}`);
|
|
3202
|
-
if (n[e] in i || (i[n[e]] = ps()), !
|
|
3202
|
+
if (n[e] in i || (i[n[e]] = ps()), !ks(i[n[e]])) {
|
|
3203
3203
|
process.env.NODE_ENV !== "production" && Yo(id(nd.IGNORE_OBJ_FLATTEN, { key: n[e] })), a = !0;
|
|
3204
3204
|
break;
|
|
3205
3205
|
}
|
|
@@ -3207,13 +3207,13 @@ function ad(e) {
|
|
|
3207
3207
|
}
|
|
3208
3208
|
if (a || (Oc(i) ? Kc.includes(n[r]) || delete e[t] : (i[n[r]] = e[t], delete e[t])), !Oc(i)) {
|
|
3209
3209
|
let e = i[n[r]];
|
|
3210
|
-
|
|
3210
|
+
ks(e) && ad(e);
|
|
3211
3211
|
}
|
|
3212
3212
|
}
|
|
3213
3213
|
return e;
|
|
3214
3214
|
}
|
|
3215
3215
|
function od(e, t) {
|
|
3216
|
-
let { messages: n, __i18n: r, messageResolver: i, flatJson: a } = t, o =
|
|
3216
|
+
let { messages: n, __i18n: r, messageResolver: i, flatJson: a } = t, o = B(n) ? n : Es(r) ? ps() : { [e]: ps() };
|
|
3217
3217
|
if (Es(r) && r.forEach((e) => {
|
|
3218
3218
|
if ("locale" in e && "resource" in e) {
|
|
3219
3219
|
let { locale: t, resource: n } = e;
|
|
@@ -3226,7 +3226,7 @@ function sd(e) {
|
|
|
3226
3226
|
return e.type;
|
|
3227
3227
|
}
|
|
3228
3228
|
function cd(e, t, n) {
|
|
3229
|
-
let r =
|
|
3229
|
+
let r = ks(t.messages) ? t.messages : ps();
|
|
3230
3230
|
"__i18nGlobal" in n && (r = od(e.locale.value, {
|
|
3231
3231
|
messages: r,
|
|
3232
3232
|
__i18n: n.__i18nGlobal
|
|
@@ -3234,13 +3234,13 @@ function cd(e, t, n) {
|
|
|
3234
3234
|
let i = Object.keys(r);
|
|
3235
3235
|
if (i.length && i.forEach((t) => {
|
|
3236
3236
|
e.mergeLocaleMessage(t, r[t]);
|
|
3237
|
-
}),
|
|
3237
|
+
}), ks(t.datetimeFormats)) {
|
|
3238
3238
|
let n = Object.keys(t.datetimeFormats);
|
|
3239
3239
|
n.length && n.forEach((n) => {
|
|
3240
3240
|
e.mergeDateTimeFormat(n, t.datetimeFormats[n]);
|
|
3241
3241
|
});
|
|
3242
3242
|
}
|
|
3243
|
-
if (
|
|
3243
|
+
if (ks(t.numberFormats)) {
|
|
3244
3244
|
let n = Object.keys(t.numberFormats);
|
|
3245
3245
|
n.length && n.forEach((n) => {
|
|
3246
3246
|
e.mergeNumberFormat(n, t.numberFormats[n]);
|
|
@@ -3259,7 +3259,7 @@ function md(e) {
|
|
|
3259
3259
|
return ((t, n, r, i) => e(n, r, ud() || void 0, i));
|
|
3260
3260
|
}
|
|
3261
3261
|
function hd(e = {}) {
|
|
3262
|
-
let { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, o = Qo ? j : ue, s = Os(e.inheritLocale) ? e.inheritLocale : !0, c = o(t && s ? t.locale.value : z(e.locale) ? e.locale : Pl), l = o(t && s ? t.fallbackLocale.value : z(e.fallbackLocale) || Es(e.fallbackLocale) ||
|
|
3262
|
+
let { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, o = Qo ? j : ue, s = Os(e.inheritLocale) ? e.inheritLocale : !0, c = o(t && s ? t.locale.value : z(e.locale) ? e.locale : Pl), l = o(t && s ? t.fallbackLocale.value : z(e.fallbackLocale) || Es(e.fallbackLocale) || B(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value), u = o(od(c.value, e)), d = o(B(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), f = o(B(e.numberFormats) ? e.numberFormats : { [c.value]: {} }), p = t ? t.missingWarn : Os(e.missingWarn) || ls(e.missingWarn) ? e.missingWarn : !0, m = t ? t.fallbackWarn : Os(e.fallbackWarn) || ls(e.fallbackWarn) ? e.fallbackWarn : !0, h = t ? t.fallbackRoot : Os(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, _ = Ds(e.missing) ? e.missing : null, v = Ds(e.missing) ? md(e.missing) : null, y = Ds(e.postTranslation) ? e.postTranslation : null, b = t ? t.warnHtmlMessage : Os(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, x = !!e.escapeParameter, S = t ? t.modifiers : B(e.modifiers) ? e.modifiers : {}, C = e.pluralRules || t && t.pluralRules, w;
|
|
3263
3263
|
w = (() => {
|
|
3264
3264
|
r && Kl(null);
|
|
3265
3265
|
let t = {
|
|
@@ -3281,7 +3281,7 @@ function hd(e = {}) {
|
|
|
3281
3281
|
messageCompiler: e.messageCompiler,
|
|
3282
3282
|
__meta: { framework: "vue" }
|
|
3283
3283
|
};
|
|
3284
|
-
t.datetimeFormats = d.value, t.numberFormats = f.value, t.__datetimeFormatters =
|
|
3284
|
+
t.datetimeFormats = d.value, t.numberFormats = f.value, t.__datetimeFormatters = B(w) ? w.__datetimeFormatters : void 0, t.__numberFormatters = B(w) ? w.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (t.__v_emitter = B(w) ? w.__v_emitter : void 0);
|
|
3285
3285
|
let n = Yl(t);
|
|
3286
3286
|
return r && Kl(n), n;
|
|
3287
3287
|
})(), eu(w, c.value, l.value);
|
|
@@ -3353,7 +3353,7 @@ function hd(e = {}) {
|
|
|
3353
3353
|
}
|
|
3354
3354
|
function M(...e) {
|
|
3355
3355
|
let [t, n, r] = e;
|
|
3356
|
-
if (r && !
|
|
3356
|
+
if (r && !ks(r)) throw Ku(Gu.INVALID_ARGUMENT);
|
|
3357
3357
|
return oe(t, n, ds({ resolvedMessage: !0 }, r || {}));
|
|
3358
3358
|
}
|
|
3359
3359
|
function N(...e) {
|
|
@@ -3641,7 +3641,7 @@ function Td(e) {
|
|
|
3641
3641
|
let t = {};
|
|
3642
3642
|
return Object.keys(e).forEach((n) => {
|
|
3643
3643
|
let r = e[n];
|
|
3644
|
-
Ds(r) && "source" in r ? t[n] = kd(r) : Oc(r) && r.loc && r.loc.source ? t[n] = r.loc.source :
|
|
3644
|
+
Ds(r) && "source" in r ? t[n] = kd(r) : Oc(r) && r.loc && r.loc.source ? t[n] = r.loc.source : ks(r) ? t[n] = Td(r) : t[n] = r;
|
|
3645
3645
|
}), t;
|
|
3646
3646
|
}
|
|
3647
3647
|
var Ed = {
|
|
@@ -3770,12 +3770,12 @@ function Id(e, t) {
|
|
|
3770
3770
|
let n = Md(e.nodeId, t);
|
|
3771
3771
|
if (n) {
|
|
3772
3772
|
let [t] = e.path;
|
|
3773
|
-
t === "locale" && z(e.state.value) ? n.locale.value = e.state.value : t === "fallbackLocale" && (z(e.state.value) || Es(e.state.value) ||
|
|
3773
|
+
t === "locale" && z(e.state.value) ? n.locale.value = e.state.value : t === "fallbackLocale" && (z(e.state.value) || Es(e.state.value) || ks(e.state.value)) ? n.fallbackLocale.value = e.state.value : t === "inheritLocale" && Os(e.state.value) && (n.inheritLocale = e.state.value);
|
|
3774
3774
|
}
|
|
3775
3775
|
}
|
|
3776
3776
|
function Ld(e) {
|
|
3777
|
-
let t = z(e.locale) ? e.locale : Pl, n = z(e.fallbackLocale) || Es(e.fallbackLocale) ||
|
|
3778
|
-
if (
|
|
3777
|
+
let t = z(e.locale) ? e.locale : Pl, n = z(e.fallbackLocale) || Es(e.fallbackLocale) || B(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = Ds(e.missing) ? e.missing : void 0, i = Os(e.silentTranslationWarn) || ls(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = Os(e.silentFallbackWarn) || ls(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = Os(e.fallbackRoot) ? e.fallbackRoot : !0, s = !!e.formatFallbackMessages, c = B(e.modifiers) ? e.modifiers : {}, l = e.pluralizationRules, u = Ds(e.postTranslation) ? e.postTranslation : void 0, d = z(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml, p = Os(e.sync) ? e.sync : !0, m = e.messages;
|
|
3778
|
+
if (B(e.sharedMessages)) {
|
|
3779
3779
|
let t = e.sharedMessages;
|
|
3780
3780
|
m = Object.keys(t).reduce((e, n) => (ds(e[n] || (e[n] = {}), t[n]), e), m || {});
|
|
3781
3781
|
}
|
|
@@ -4039,8 +4039,8 @@ var Wd = /* @__PURE__ */ g({
|
|
|
4039
4039
|
e.locale && (a.locale = e.locale), e.plural !== void 0 && (a.plural = z(e.plural) ? +e.plural : e.plural);
|
|
4040
4040
|
let o = Hd(t, r);
|
|
4041
4041
|
return i[Ju](e.keypath, o, a);
|
|
4042
|
-
}, o = ds(ps(), r), s = z(e.tag) ||
|
|
4043
|
-
return
|
|
4042
|
+
}, o = ds(ps(), r), s = z(e.tag) || ks(e.tag) ? e.tag : Ud();
|
|
4043
|
+
return ks(s) ? x(s, o, { default: a }) : x(s, o, a());
|
|
4044
4044
|
};
|
|
4045
4045
|
}
|
|
4046
4046
|
});
|
|
@@ -4052,7 +4052,7 @@ function Kd(e, t, n, r) {
|
|
|
4052
4052
|
return () => {
|
|
4053
4053
|
let t = () => {
|
|
4054
4054
|
let t = { part: !0 }, a = ps();
|
|
4055
|
-
e.locale && (t.locale = e.locale), z(e.format) ? t.key = e.format :
|
|
4055
|
+
e.locale && (t.locale = e.locale), z(e.format) ? t.key = e.format : ks(e.format) && (z(e.format.key) && (t.key = e.format.key), a = Object.keys(e.format).reduce((t, r) => n.includes(r) ? ds(ps(), t, { [r]: e.format[r] }) : t, ps()));
|
|
4056
4056
|
let o = r(e.value, t, a), s = [t.key];
|
|
4057
4057
|
return Es(o) ? s = o.map((e, t) => {
|
|
4058
4058
|
let n = i[e.type], r = n ? n({
|
|
@@ -4062,8 +4062,8 @@ function Kd(e, t, n, r) {
|
|
|
4062
4062
|
}) : [e.value];
|
|
4063
4063
|
return Gd(r) && (r[0].key = `${e.type}-${t}`), r;
|
|
4064
4064
|
}) : z(o) && (s = [o]), s;
|
|
4065
|
-
}, o = ds(ps(), a), s = z(e.tag) ||
|
|
4066
|
-
return
|
|
4065
|
+
}, o = ds(ps(), a), s = z(e.tag) || ks(e.tag) ? e.tag : Ud();
|
|
4066
|
+
return ks(s) ? x(s, o, { default: t }) : x(s, o, t());
|
|
4067
4067
|
};
|
|
4068
4068
|
}
|
|
4069
4069
|
var qd = /* @__PURE__ */ g({
|
|
@@ -4124,7 +4124,7 @@ function Yd(e) {
|
|
|
4124
4124
|
}
|
|
4125
4125
|
function Xd(e) {
|
|
4126
4126
|
if (z(e)) return { path: e };
|
|
4127
|
-
if (
|
|
4127
|
+
if (B(e)) {
|
|
4128
4128
|
if (!("path" in e)) throw Ku(Gu.REQUIRED_VALUE, "path");
|
|
4129
4129
|
return e;
|
|
4130
4130
|
} else throw Ku(Gu.INVALID_VALUE);
|
|
@@ -4138,7 +4138,7 @@ function Zd(e) {
|
|
|
4138
4138
|
];
|
|
4139
4139
|
}
|
|
4140
4140
|
function Qd(e, t, ...n) {
|
|
4141
|
-
let r =
|
|
4141
|
+
let r = B(n[0]) ? n[0] : {};
|
|
4142
4142
|
(!Os(r.globalInstall) || r.globalInstall) && ([Wd.name, "I18nT"].forEach((t) => e.component(t, Wd)), [qd.name, "I18nN"].forEach((t) => e.component(t, qd)), [pf.name, "I18nD"].forEach((t) => e.component(t, pf))), e.directive("t", Yd(t));
|
|
4143
4143
|
}
|
|
4144
4144
|
var $d = /* #__PURE__*/ rs("global-vue-i18n");
|
|
@@ -4160,7 +4160,7 @@ function ef(e = {}) {
|
|
|
4160
4160
|
return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
|
|
4161
4161
|
},
|
|
4162
4162
|
async install(e, ...r) {
|
|
4163
|
-
if (process.env.NODE_ENV !== "production" && (e.__VUE_I18N__ = u), e.__VUE_I18N_SYMBOL__ = o, e.provide(e.__VUE_I18N_SYMBOL__, u),
|
|
4163
|
+
if (process.env.NODE_ENV !== "production" && (e.__VUE_I18N__ = u), e.__VUE_I18N_SYMBOL__ = o, e.provide(e.__VUE_I18N_SYMBOL__, u), B(r[0])) {
|
|
4164
4164
|
let e = r[0];
|
|
4165
4165
|
u.__composerExtend = e.__composerExtend, u.__vueI18nExtend = e.__vueI18nExtend;
|
|
4166
4166
|
}
|
|
@@ -9536,14 +9536,11 @@ var T_ = [
|
|
|
9536
9536
|
},
|
|
9537
9537
|
setup(e) {
|
|
9538
9538
|
let t = e, n = a(() => t.stopAnimation ? "bd-loader--static" : ""), r = a(() => t.isColleague ? "bd-loader--colleague" : "");
|
|
9539
|
-
return (t, i) => {
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
r.value
|
|
9545
|
-
]]) }, [u("div", iv, [m(a), u("div", av, [u("span", ov, P(e.message), 1)])]), e.message ? (A(), l("p", sv, [u("b", null, P(e.message), 1)])) : c("", !0)], 2);
|
|
9546
|
-
};
|
|
9539
|
+
return (t, i) => (A(), l("div", { class: O(["bd-loader text-center", [
|
|
9540
|
+
e.size,
|
|
9541
|
+
n.value,
|
|
9542
|
+
r.value
|
|
9543
|
+
]]) }, [u("div", iv, [m(po), u("div", av, [u("span", ov, P(e.message), 1)])]), e.message ? (A(), l("p", sv, [u("b", null, P(e.message), 1)])) : c("", !0)], 2));
|
|
9547
9544
|
}
|
|
9548
9545
|
}, lv = {};
|
|
9549
9546
|
function uv(e, t) {
|
|
@@ -1170,7 +1170,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1170
1170
|
.p-splitbutton-raised {
|
|
1171
1171
|
box-shadow: dt('splitbutton.raised.shadow');
|
|
1172
1172
|
}
|
|
1173
|
-
`,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-splitbutton p-component`,{"p-splitbutton-raised":n.raised,"p-splitbutton-rounded":n.rounded,"p-splitbutton-fluid":t.hasFluid}]},pcButton:`p-splitbutton-button`,pcDropdown:`p-splitbutton-dropdown`}}),kh={name:`SplitButton`,extends:{name:`BaseSplitButton`,extends:jp,props:{label:{type:String,default:null},icon:{type:String,default:null},model:{type:Array,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:[String,Object],default:`body`},disabled:{type:Boolean,default:!1},fluid:{type:Boolean,default:null},class:{type:null,default:null},style:{type:null,default:null},buttonProps:{type:null,default:null},menuButtonProps:{type:null,default:null},menuButtonIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:Oh,provide:function(){return{$pcSplitButton:this,$parentInstance:this}}},inheritAttrs:!1,emits:[`click`],inject:{$pcFluid:{default:null}},data:function(){return{isExpanded:!1}},mounted:function(){var e=this;this.$watch(`$refs.menu.visible`,function(t){e.isExpanded=t})},methods:{onDropdownButtonClick:function(e){e&&e.preventDefault(),this.$refs.menu.toggle({currentTarget:this.$el,relatedTarget:this.$refs.button.$el}),this.isExpanded=this.$refs.menu.visible},onDropdownKeydown:function(e){(e.code===`ArrowDown`||e.code===`ArrowUp`)&&(this.onDropdownButtonClick(),e.preventDefault())},onDefaultButtonClick:function(e){this.isExpanded&&this.$refs.menu.hide(e),this.$emit(`click`,e)}},computed:{containerClass:function(){return[this.cx(`root`),this.class]},hasFluid:function(){return cd(this.fluid)?!!this.$pcFluid:this.fluid}},components:{PVSButton:qm,PVSMenu:Th,ChevronDownIcon:Bp}},Ah=[`data-p-severity`];function jh(e,n,r,i,a,o){var s=(0,t.resolveComponent)(`PVSButton`),c=(0,t.resolveComponent)(`PVSMenu`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,(0,t.mergeProps)({class:o.containerClass,style:e.style},e.ptmi(`root`),{"data-p-severity":e.severity}),[(0,t.createVNode)(s,(0,t.mergeProps)({type:`button`,class:e.cx(`pcButton`),label:e.label,disabled:e.disabled,severity:e.severity,text:e.text,icon:e.icon,outlined:e.outlined,size:e.size,fluid:e.fluid,"aria-label":e.label,onClick:o.onDefaultButtonClick},e.buttonProps,{pt:e.ptm(`pcButton`),unstyled:e.unstyled}),(0,t.createSlots)({default:(0,t.withCtx)(function(){return[(0,t.renderSlot)(e.$slots,`default`)]}),_:2},[e.$slots.icon?{name:`icon`,fn:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,`icon`,{class:(0,t.normalizeClass)(n.class)},function(){return[(0,t.createElementVNode)(`span`,(0,t.mergeProps)({class:[e.icon,n.class]},e.ptm(`pcButton`).icon,{"data-pc-section":`buttonicon`}),null,16)]})]}),key:`0`}:void 0]),1040,[`class`,`label`,`disabled`,`severity`,`text`,`icon`,`outlined`,`size`,`fluid`,`aria-label`,`onClick`,`pt`,`unstyled`]),(0,t.createVNode)(s,(0,t.mergeProps)({ref:`button`,type:`button`,class:e.cx(`pcDropdown`),disabled:e.disabled,"aria-haspopup":`true`,"aria-expanded":a.isExpanded,"aria-controls":a.isExpanded?e.$id+`_overlay`:void 0,onClick:o.onDropdownButtonClick,onKeydown:o.onDropdownKeydown,severity:e.severity,text:e.text,outlined:e.outlined,size:e.size,unstyled:e.unstyled},e.menuButtonProps,{pt:e.ptm(`pcDropdown`)}),{icon:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,e.$slots.dropdownicon?`dropdownicon`:`menubuttonicon`,{class:(0,t.normalizeClass)(n.class)},function(){return[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.menuButtonIcon||e.dropdownIcon?`span`:`ChevronDownIcon`),(0,t.mergeProps)({class:[e.dropdownIcon||e.menuButtonIcon,n.class]},e.ptm(`pcDropdown`).icon,{"data-pc-section":`menubuttonicon`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`disabled`,`aria-expanded`,`aria-controls`,`onClick`,`onKeydown`,`severity`,`text`,`outlined`,`size`,`unstyled`,`pt`]),(0,t.createVNode)(c,{ref:`menu`,id:e.$id+`_overlay`,model:e.model,popup:!0,autoZIndex:e.autoZIndex,baseZIndex:e.baseZIndex,appendTo:e.appendTo,unstyled:e.unstyled,pt:e.ptm(`pcMenu`)},(0,t.createSlots)({_:2},[e.$slots.menuitemicon?{name:`itemicon`,fn:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,`menuitemicon`,{item:n.item,class:(0,t.normalizeClass)(n.class)})]}),key:`0`}:void 0,e.$slots.item?{name:`item`,fn:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,`item`,{item:n.item,hasSubmenu:n.hasSubmenu,label:n.label,props:n.props})]}),key:`1`}:void 0]),1032,[`id`,`model`,`autoZIndex`,`baseZIndex`,`appendTo`,`unstyled`,`pt`])],16,Ah)}kh.render=jh;var Mh=[`src`],Nh={class:`menu-item`},Ph=[`src`],Fh={__name:`BDContentLibrarySplitButton`,props:{contentLibraryProviders:{type:Array,default:()=>[]},isExternalOnly:{type:Boolean,default:!1}},emits:[`content-library`],setup(e,{emit:n}){let{t:r}=Xu(),i=e,a=n,o=(0,t.computed)(()=>i.contentLibraryProviders.map(e=>({label:e.label||e.text,image:e.img,value:e.value,command:()=>a(`content-library`,e.value)}))),s=(0,t.computed)(()=>{let e=o.value;return e.length!==0&&i.isExternalOnly&&(e=e.slice(1)),e}),c=(0,t.computed)(()=>{let e=o.value;return i.isExternalOnly&&e.length>0?e[0].label:r(`contentLibrarySplitButton.messageTemplatesTitle`)}),l=(0,t.computed)(()=>{let e=o.value;return i.isExternalOnly&&e.length>0}),u=(0,t.computed)(()=>{let e=o.value;return e.length>0?e[0].image:``}),d=()=>{let e=o.value,t=`message-template`;i.isExternalOnly&&e.length>0&&(t=e[0].value),a(`content-library`,t)};return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(kh),{class:`bd-content-library-split-button`,model:s.value,outlined:``,severity:`secondary`,onClick:d},{default:(0,t.withCtx)(()=>[l.value?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:u.value,alt:``},null,8,Mh)):((0,t.openBlock)(),(0,t.createBlock)(rt,{key:1})),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(c.value),1)]),item:(0,t.withCtx)(({item:e})=>[(0,t.createElementVNode)(`div`,Nh,[(0,t.createElementVNode)(`img`,{src:e.image,alt:``,class:`icon-image`},null,8,Ph),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e.label),1)])]),_:1},8,[`model`]))}},Ih={date:``,displayTime:!0,format:`numeric`},Lh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),Rh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(Lh()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_nl=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`nl`,weekdays:`zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag`.split(`_`),weekdaysShort:`zo._ma._di._wo._do._vr._za.`.split(`_`),weekdaysMin:`zo_ma_di_wo_do_vr_za`.split(`_`),months:`januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december`.split(`_`),monthsShort:`jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec`.split(`_`),ordinal:function(e){return`[`+e+(e===1||e===8||e>=20?`ste`:`de`)+`]`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD-MM-YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},relativeTime:{future:`over %s`,past:`%s geleden`,s:`een paar seconden`,m:`een minuut`,mm:`%d minuten`,h:`een uur`,hh:`%d uur`,d:`een dag`,dd:`%d dagen`,M:`een maand`,MM:`%d maanden`,y:`een jaar`,yy:`%d jaar`}};return n.default.locale(r,null,!0),r}))})),zh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Bh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrAfter=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}))})),Vh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))})),Hh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){"use strict";var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),Uh=m(Lh(),1);Rh();var Wh=m(zh(),1),Gh=m(Bh(),1),Kh=m(Vh(),1),qh=m(Hh(),1);Uh.default.extend(Wh.default),Uh.default.locale(`nl`),Uh.default.extend(Gh.default),Uh.default.extend(Kh.default),Uh.default.extend(qh.default);var Jh=e=>e?e.charAt(0).toUpperCase()+e.slice(1):``;function Yh(e,t=(0,Uh.default)()){let n=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0);if(!n.isValid())return``;let r=t.startOf(`day`);if(n.isSame(r,`day`))return`Vandaag`;let i=r.subtract(1,`day`);if(n.isSame(i,`day`))return`Gisteren`;let a=r.subtract(6,`day`);if(n.isSameOrAfter(a)&&n.isBefore(r))return Jh(n.format(`dddd`));let o=r.subtract(7,`day`);return n.isSame(o)||n.isSame(t,`year`)?n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Xh(e,t=(0,Uh.default)()){let n=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0),r=e.includes(` `)&&e.includes(`:`);if(!n.isValid())return``;let i=t.startOf(`day`);if(n.isSame(i,`day`))return r?n.format(`H:mm`):`Vandaag`;let a=i.subtract(1,`day`);if(n.isSame(a,`day`))return r?`Gisteren ${n.format(`H:mm`)}`:`Gisteren`;let o=i.subtract(6,`day`);if(n.isSameOrAfter(o)&&n.isBefore(i))return Jh(r?n.format(`dddd H:mm`):n.format(`dddd`));let s=i.subtract(7,`day`);return n.isSame(s)||n.isSame(t,`year`)?r?n.format(`D MMM H:mm`):n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Zh(e){let t=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0),n=e.includes(` `)&&e.includes(`:`);return t.isValid()?n&&t.isSame((0,Uh.default)(),`year`)?t.format(`DD-MM-YYYY H:mm`):t.format(`DD-MM-YYYY`):``}function Qh(e){let t=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0);return t.isValid()?t.format(`DD-MM-YYYY`):``}var $h={class:`bd-date`},eg=(0,t.defineComponent)({__name:`BDDate`,props:{date:{},displayTime:{type:Boolean,default:Ih.displayTime},format:{default:Ih.format}},setup(e){let n=e,r=(0,t.computed)(()=>n.date?n.format===`textual`?n.displayTime?Xh(n.date):Yh(n.date):(n.format,n.displayTime?Zh(n.date):Qh(n.date)):``);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,$h,(0,t.toDisplayString)(r.value),1))}}),tg=(0,t.defineComponent)({__name:`BDForm`,emits:[`submit`,`reset`],setup(e,{emit:n}){let r=n;function i(){r(`submit`)}function a(){r(`reset`)}return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`form`,{onSubmit:(0,t.withModifiers)(i,[`prevent`]),onReset:(0,t.withModifiers)(a,[`prevent`])},[(0,t.renderSlot)(e.$slots,`default`)],32))}}),ng=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var rg=e=>e!==void 0,ig=Object.prototype.toString,ag=e=>ig.call(e)===`[object Object]`,og=()=>{};function sg(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function cg(e,n={}){let r,i,a=og,o=e=>{clearTimeout(e),a(),a=og},s;return c=>{let l=(0,t.toValue)(e),u=(0,t.toValue)(n.maxWait);return r&&o(r),l<=0||u!==void 0&&u<=0?(i&&=(o(i),void 0),Promise.resolve(c())):new Promise((e,t)=>{a=n.rejectOnCancel?t:e,s=c,u&&!i&&(i=setTimeout(()=>{r&&o(r),i=void 0,e(s())},u)),r=setTimeout(()=>{i&&o(i),i=void 0,e(c())},l)})}}function lg(e){return Array.isArray(e)?e:[e]}function ug(e,t=200,n={}){return sg(cg(t,n),e)}function dg(e,n,r){return(0,t.watch)(e,n,{...r,immediate:!0})}var fg=ng?window:void 0;ng&&window.document,ng&&window.navigator,ng&&window.location;function pg(e){let n=(0,t.toValue)(e);return n?.$el??n}function mg(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=(0,t.computed)(()=>{let n=lg((0,t.toValue)(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return dg(()=>[r.value?.map(e=>pg(e))??[fg].filter(e=>e!=null),lg((0,t.toValue)(r.value?e[1]:e[0])),lg((0,t.unref)(r.value?e[2]:e[1])),(0,t.toValue)(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=ag(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function hg(e){return JSON.parse(JSON.stringify(e))}function gg(e,n={}){let{initialValue:r=!1,focusVisible:i=!1,preventScroll:a=!1}=n,o=(0,t.shallowRef)(!1),s=(0,t.computed)(()=>pg(e)),c={passive:!0};mg(s,`focus`,e=>{var t;(!i||(t=e.target).matches?.call(t,`:focus-visible`))&&(o.value=!0)},c),mg(s,`blur`,()=>o.value=!1,c);let l=(0,t.computed)({get:()=>o.value,set(e){var t,n;!e&&o.value?(t=s.value)==null||t.blur():e&&!o.value&&((n=s.value)==null||n.focus({preventScroll:a}))}});return(0,t.watch)(s,()=>{l.value=r},{immediate:!0,flush:`post`}),{focused:l}}function _g(e,n,r,i={}){var a,o;let{clone:s=!1,passive:c=!1,eventName:l,deep:u=!1,defaultValue:d,shouldEmit:f}=i,p=(0,t.getCurrentInstance)(),m=r||p?.emit||(p==null||(a=p.$emit)==null?void 0:a.bind(p))||(p==null||(o=p.proxy)==null||(o=o.$emit)==null?void 0:o.bind(p?.proxy)),h=l;n||=`modelValue`,h||=`update:${n.toString()}`;let g=e=>s?typeof s==`function`?s(e):hg(e):e,_=()=>rg(e[n])?g(e[n]):d,v=e=>{f?f(e)&&m(h,e):m(h,e)};if(c){let r=(0,t.ref)(_()),i=!1;return(0,t.watch)(()=>e[n],e=>{i||(i=!0,r.value=g(e),(0,t.nextTick)(()=>i=!1))}),(0,t.watch)(r,t=>{!i&&(t!==e[n]||u)&&v(t)},{deep:u}),r}else return(0,t.computed)({get(){return _()},set(e){v(e)}})}var vg=[`value`,`true-value`,`false-value`,`data-checked`,`disabled`],yg=(0,t.defineComponent)({__name:`BDFormCheckbox`,props:{disabled:{type:Boolean,default:!1},modelValue:{type:[Boolean,String,Array],default:void 0},value:{type:[Boolean,String],default:!0},uncheckedValue:{type:[Boolean,String],default:!1},state:{type:[Boolean,null],default:void 0}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:n}){let{uniqueIdentifier:r}=Ba(),i=e,a=n,o=_g(i,`modelValue`,a),s=`form-check-input-${r.value}`,c=(0,t.computed)(()=>[`form-check`,`bd-form-checkbox`]),l=(0,t.computed)(()=>({"form-check-input":!0,"is-invalid":i.state===!1})),u=e=>a(`change`,e.target.value);return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)(c.value)},[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[0]||=e=>(0,t.isRef)(o)?o.value=e:null,id:s,class:(0,t.normalizeClass)(l.value),type:`checkbox`,value:e.value,"true-value":e.value,"false-value":e.uncheckedValue,"data-checked":(0,t.unref)(o)===e.value,disabled:i.disabled,onChange:u},null,42,vg),[[t.vModelCheckbox,(0,t.unref)(o)]]),(0,t.createElementVNode)(`label`,{class:`form-check-label`,for:s},[(0,t.renderSlot)(n.$slots,`default`)]),(0,t.renderSlot)(n.$slots,`last`)],2))}}),bg={class:`invalid-feedback bd-invalid-feedback`},xg=(0,t.defineComponent)({__name:`BDFormInvalidFeedback`,props:{state:{type:[Boolean,null],default:null},text:{default:``}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,bg,[n.state?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Ge),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:1})),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(n.text),1)]))}}),Sg=Object.defineProperty,Cg=(e,t,n)=>t in e?Sg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wg=(e,t,n)=>Cg(e,typeof t==`symbol`?t:t+``,n),Tg={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}},Eg=(e,t,n)=>e.replaceAll(t,``).replace(n,`.`).replace(`..`,`.`).replace(/[^.\d]/g,``),Dg=(e,t,n)=>new Intl.NumberFormat(n.number?.locale??`en`,{minimumFractionDigits:e,maximumFractionDigits:t,roundingMode:`trunc`}),Og=(e,t=!0,n)=>{let r=n.number?.unsigned!==!0&&e.startsWith(`-`)?`-`:``,i=n.number?.fraction??0,a=Dg(0,i,n),o=a.formatToParts(1000.12),s=o.find(e=>e.type===`group`)?.value??` `,c=o.find(e=>e.type===`decimal`)?.value??`.`,l=Eg(e,s,c);if(Number.isNaN(parseFloat(l)))return r;let u=l.split(`.`);u[1]!=null&&u[1].length>=1&&(a=Dg(u[1].length<=i?u[1].length:i,i,n));let d=a.format(parseFloat(l));return t?i>0&&l.endsWith(`.`)&&!l.slice(0,-1).includes(`.`)&&(d+=c):d=Eg(d,s,c),r+d},kg=e=>JSON.parse(e.replaceAll(`'`,`"`)),Ag=(e,t={})=>{let n={...t};e.dataset.maska!=null&&e.dataset.maska!==``&&(n.mask=Mg(e.dataset.maska)),e.dataset.maskaEager!=null&&(n.eager=jg(e.dataset.maskaEager)),e.dataset.maskaReversed!=null&&(n.reversed=jg(e.dataset.maskaReversed)),e.dataset.maskaTokensReplace!=null&&(n.tokensReplace=jg(e.dataset.maskaTokensReplace)),e.dataset.maskaTokens!=null&&(n.tokens=Ng(e.dataset.maskaTokens));let r={};return e.dataset.maskaNumberLocale!=null&&(r.locale=e.dataset.maskaNumberLocale),e.dataset.maskaNumberFraction!=null&&(r.fraction=parseInt(e.dataset.maskaNumberFraction)),e.dataset.maskaNumberUnsigned!=null&&(r.unsigned=jg(e.dataset.maskaNumberUnsigned)),(e.dataset.maskaNumber!=null||Object.values(r).length>0)&&(n.number=r),n},jg=e=>e===``?!0:!!JSON.parse(e),Mg=e=>e.startsWith(`[`)&&e.endsWith(`]`)?kg(e):e,Ng=e=>{if(e.startsWith(`{`)&&e.endsWith(`}`))return kg(e);let t={};return e.split(`|`).forEach(e=>{let n=e.split(`:`);t[n[0]]={pattern:Pg()?new RegExp(n[1],`u`):new RegExp(n[1]),optional:n[2]===`optional`,multiple:n[2]===`multiple`,repeated:n[2]===`repeated`}}),t},Pg=()=>{try{return!0}catch{return!1}},Fg=class{constructor(e={}){wg(this,`opts`,{}),wg(this,`memo`,new Map);let t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...Tg,...t.tokens};for(let e of Object.values(t.tokens))typeof e.pattern==`string`&&(e.pattern=Pg()?new RegExp(e.pattern,`u`):new RegExp(e.pattern))}else t.tokens=Tg;Array.isArray(t.mask)&&(t.mask.length>1?t.mask=[...t.mask].sort((e,t)=>e.length-t.length):t.mask=t.mask[0]??``),t.mask===``&&(t.mask=null),this.opts=t}masked(e){return this.process(String(e),this.findMask(String(e)))}unmasked(e){return this.process(String(e),this.findMask(String(e)),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(e){let t=this.findMask(String(e));if(this.opts.mask==null||t==null)return!1;let n=this.process(String(e),t).length;return typeof this.opts.mask==`string`?n>=this.opts.mask.length:n>=t.length}findMask(e){let t=this.opts.mask;if(t==null)return null;if(typeof t==`string`)return t;if(typeof t==`function`)return t(e);let n=this.process(e,t.slice(-1).pop()??``,!1);return t.find(t=>this.process(e,t,!1).length>=n.length)??``}escapeMask(e){let t=[],n=[];return e.split(``).forEach((r,i)=>{r===`!`&&e[i-1]!==`!`?n.push(i-n.length):t.push(r)}),{mask:t.join(``),escaped:n}}process(e,t,n=!0){if(this.opts.number!=null)return Og(e,n,this.opts);if(t==null)return e;let r=`v=${e},mr=${t},m=${+!!n}`;if(this.memo.has(r))return this.memo.get(r);let{mask:i,escaped:a}=this.escapeMask(t),o=[],s=this.opts.tokens==null?{}:this.opts.tokens,c=this.isReversed()?-1:1,l=this.isReversed()?`unshift`:`push`,u=this.isReversed()?0:i.length-1,d=this.isReversed()?()=>h>-1&&g>-1:()=>h<i.length&&g<e.length,f=e=>!this.isReversed()&&e<=u||this.isReversed()&&e>=u,p,m=-1,h=this.isReversed()?i.length-1:0,g=this.isReversed()?e.length-1:0,_=!1;for(;d();){let t=i.charAt(h),r=s[t],d=r?.transform==null?e.charAt(g):r.transform(e.charAt(g));if(!a.includes(h)&&r!=null?(d.match(r.pattern)==null?r.multiple?_&&=(h+=c,g-=c,!1):d===p?p=void 0:r.optional&&(h+=c,g-=c):(o[l](d),r.repeated?(m===-1?m=h:h===u&&h!==m&&(h=m-c),u===m&&(h-=c)):r.multiple&&(_=!0,h-=c),h+=c),g+=c):(n&&!this.isEager()&&o[l](t),d===t&&!this.isEager()?g+=c:p=t,this.isEager()||(h+=c)),this.isEager())for(;f(h)&&(s[i.charAt(h)]==null||a.includes(h));){if(n){if(o[l](i.charAt(h)),e.charAt(g)===i.charAt(h)){h+=c,g+=c;continue}}else i.charAt(h)===e.charAt(g)&&(g+=c);h+=c}}return this.memo.set(r,o.join(``)),this.memo.get(r)}},Ig=class{constructor(e,t={}){wg(this,`items`,new Map),wg(this,`eventAbortController`),wg(this,`onInput`,e=>{if(e instanceof CustomEvent&&e.type===`input`&&!e.isTrusted&&!e.bubbles)return;let t=e.target,n=this.items.get(t);if(n===void 0)return;let r=`inputType`in e&&e.inputType.startsWith(`delete`),i=n.isEager(),a=r&&i&&n.unmasked(t.value)===``?``:t.value;this.fixCursor(t,r,()=>this.setValue(t,a))}),this.options=t,this.eventAbortController=new AbortController,this.init(this.getInputs(e))}update(e={}){this.options={...e},this.init(Array.from(this.items.keys()))}updateValue(e){e.value!==``&&e.value!==this.processInput(e)?.masked&&this.setValue(e,e.value)}destroy(){this.eventAbortController.abort(),this.items.clear()}init(e){let t=this.getOptions(this.options);for(let n of e){if(!this.items.has(n)){let{signal:e}=this.eventAbortController;n.addEventListener(`input`,this.onInput,{capture:!0,signal:e})}let e=new Fg(Ag(n,t));this.items.set(n,e),queueMicrotask(()=>this.updateValue(n)),n.selectionStart===null&&e.isEager()&&console.warn("Maska: input of `%s` type is not supported",n.type)}}getInputs(e){return typeof e==`string`?Array.from(document.querySelectorAll(e)):`length`in e?Array.from(e):[e]}getOptions(e){let{onMaska:t,preProcess:n,postProcess:r,...i}=e;return i}fixCursor(e,t,n){let r=e.selectionStart,i=e.value;if(n(),r===null||r===i.length&&!t)return;let a=e.value,o=i.slice(0,r),s=a.slice(0,r),c=this.processInput(e,o)?.unmasked,l=this.processInput(e,s)?.unmasked;if(c===void 0||l===void 0)return;let u=r;o!==s&&(u+=t?a.length-i.length:c.length-l.length),e.setSelectionRange(u,u)}setValue(e,t){let n=this.processInput(e,t);n!==void 0&&(e.value=n.masked,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(e=>e(n)):this.options.onMaska(n)),e.dispatchEvent(new CustomEvent(`maska`,{detail:n})),e.dispatchEvent(new CustomEvent(`input`,{detail:n.masked})))}processInput(e,t){let n=this.items.get(e);if(n===void 0)return;let r=t??e.value;this.options.preProcess!=null&&(r=this.options.preProcess(r));let i=n.masked(r);return this.options.postProcess!=null&&(i=this.options.postProcess(i)),{masked:i,unmasked:n.unmasked(r),completed:n.completed(r)}}},Lg=new WeakMap,Rg=(e,t)=>{if(e.arg==null||e.instance==null)return;let n=`setup`in e.instance.$.type;e.arg in e.instance?e.instance[e.arg]=t:n&&console.warn("Maska: please expose `%s` using defineExpose",e.arg)},zg=(e,t)=>{var n;let r=e instanceof HTMLInputElement?e:e.querySelector(`input`);if(r==null||r?.type===`file`)return;let i={};if(t.value!=null&&(i=typeof t.value==`string`?{mask:t.value}:{...t.value}),t.arg!=null){let e=e=>{Rg(t,t.modifiers.unmasked?e.unmasked:t.modifiers.completed?e.completed:e.masked)};i.onMaska=i.onMaska==null?e:Array.isArray(i.onMaska)?[...i.onMaska,e]:[i.onMaska,e]}Lg.has(r)?(n=Lg.get(r))==null||n.update(i):Lg.set(r,new Ig(r,i))},Bg=[`value`,`type`],Vg=(0,t.defineComponent)({__name:`BDFormInput`,props:{modelValue:{default:``},formGroupClass:{default:void 0},type:{default:`text`},label:{default:void 0},labelClass:{default:void 0},formFieldClass:{default:void 0},inputClass:{default:void 0},placeholder:{default:void 0},state:{type:[Boolean,null],default:null},readonly:{type:[Boolean,null],default:null},disabled:{type:[Boolean,null],default:null},autofocus:{type:[Boolean,null],default:null},size:{default:Na.MD},tabindex:{default:null},invalidFeedbackClass:{default:void 0},invalidFeedbackText:{default:void 0},delayTimeMs:{default:0},mask:{default:void 0}},emits:[`update:modelValue`,`click`,`blur`,`enter`],setup(e,{emit:n}){let r=e,i=n,{uniqueIdentifier:a}=Ba(),o=_g(r,`modelValue`,i),s=`__BD__FORM__LABEL__${a.value}`,c=`__BD__FORM__GROUP__${a.value}`,l=`form-input-${r.label?r.label.replace(/ /g,`-`).toLowerCase():a.value}`,u=`validationFeedback${r.label?r.label.replace(/ /g,``):a.value}`,d=(0,t.computed)(()=>({[`${r.inputClass}`]:r.inputClass,"is-invalid":r.state===!1,"is-valid":r.state===!0,[`form-control-${r.size}`]:r.size})),f=(0,t.computed)(()=>({[`${r.invalidFeedbackClass}`]:r.invalidFeedbackClass,"is-invalid":r.state===!1})),p=(0,t.computed)(()=>({placeholder:r.placeholder?r.placeholder:null,readonly:r.readonly===!0,disabled:r.disabled===!0,autofocus:r.autofocus===!0,tabindex:r.tabindex?r.tabindex:null,"aria-describedby":r.state===!1&&r.invalidFeedbackText?u:null,"data-maska":r.mask})),m=ug(e=>{o.value=e.target.value},r.delayTimeMs);return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`bd-form-input`,e.formGroupClass]),id:c},[(0,t.renderSlot)(n.$slots,`label`,{},()=>[e.label?((0,t.openBlock)(),(0,t.createElementBlock)(`label`,{key:0,for:l,id:s,class:(0,t.normalizeClass)([`form-label`,e.labelClass])},(0,t.toDisplayString)(e.label),3)):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)(e.formFieldClass)},[(0,t.withDirectives)((0,t.createElementVNode)(`input`,(0,t.mergeProps)({value:e.modelValue,type:e.type,id:l,class:[`form-control`,d.value]},p.value,{onInput:r[0]||=(...e)=>(0,t.unref)(m)&&(0,t.unref)(m)(...e),onClick:r[1]||=e=>n.$emit(`click`),onBlur:r[2]||=e=>n.$emit(`blur`),onKeydown:r[3]||=(0,t.withKeys)(e=>n.$emit(`enter`),[`enter`])}),null,16,Bg),[[(0,t.unref)(zg)]]),(0,t.renderSlot)(n.$slots,`default`)],2),(0,t.createVNode)(xg,{text:e.invalidFeedbackText,class:(0,t.normalizeClass)(f.value),state:e.state,id:u},null,8,[`text`,`class`,`state`])],2))}}),Hg=[`disabled`],Ug=[`label`],Wg=[`value`],Gg=[`value`],Kg=(0,t.defineComponent)({__name:`BDFormSelect`,props:{size:{default:Na.MD},disabled:{type:Boolean},autofocus:{type:Boolean,default:!1},options:{default:void 0},modelValue:{default:``},state:{type:[Boolean,null],default:null}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:n}){let r=e,i=n,a=_g(r,`modelValue`,i),o=(0,t.ref)(null),{focused:s}=gg(o,{initialValue:r.autofocus}),c=(0,t.computed)(()=>({"form-select":!0,"bd-form-select":!0,"is-invalid":r.state===!1,[`form-select-${r.size}`]:[`xs`,`sm`,`lg`].includes(r.size)}));(0,t.watch)(()=>r.autofocus,e=>{e&&(s.value=!0)});let l=e=>{a.value=e.target.value,i(`input`,d(e.target.value))},u=e=>{i(`change`,d(e.target.value))},d=e=>{try{return JSON.parse(e)}catch{return e}};return(e,n)=>(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`select`,{class:(0,t.normalizeClass)(c.value),"onUpdate:modelValue":n[0]||=e=>(0,t.isRef)(a)?a.value=e:null,disabled:r.disabled,ref_key:`input`,ref:o,onInput:l,onChange:u},[(0,t.renderSlot)(e.$slots,`first`),r.options&&r.options.length>0&&r.options[0].label&&r.options[0].options?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)(r.options,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`optgroup`,{label:e.label},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.options,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{value:JSON.stringify(e.value),key:e.value},(0,t.toDisplayString)(e.text),9,Wg))),128))],8,Ug))),256)):((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:1},(0,t.renderList)(r.options,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{value:e.value,key:e.value},(0,t.toDisplayString)(e.text),9,Gg))),128))],42,Hg)),[[t.vModelSelect,(0,t.unref)(a)]])}}),qg={class:`input-group bd-input-group`},Jg=[`for`],Yg=(0,t.defineComponent)({__name:`BDInputGroup`,props:{label:{default:void 0},labelForId:{default:void 0}},setup(e){let n=(0,t.useAttrs)(),r=e;return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`fieldset`,qg,[r.label?((0,t.openBlock)(),(0,t.createElementBlock)(`label`,{key:0,for:r.labelForId,class:`form-label`},(0,t.toDisplayString)(r.label),9,Jg)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)((0,t.unref)(n).class)},[(0,t.renderSlot)(e.$slots,`default`)],2)]))}}),Xg=e=>typeof e==`string`||e instanceof String,Zg={class:`bd-loader__spinner`},Qg={class:`spinner-border`,role:`status`},$g={class:`visually-hidden`},e_={key:0},t_={__name:`BDLoader`,props:{message:String,size:{type:String,default:`md`},stopAnimation:{type:Boolean,default:!1},isColleague:{type:Boolean,default:!1}},setup(e){let n=e,r=(0,t.computed)(()=>n.stopAnimation?`bd-loader--static`:``),i=(0,t.computed)(()=>n.isColleague?`bd-loader--colleague`:``);return(n,a)=>{let o=(0,t.resolveComponent)(`icon-videocall`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`bd-loader text-center`,[e.size,r.value,i.value]])},[(0,t.createElementVNode)(`div`,Zg,[(0,t.createVNode)(o),(0,t.createElementVNode)(`div`,Qg,[(0,t.createElementVNode)(`span`,$g,(0,t.toDisplayString)(e.message),1)])]),e.message?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,e_,[(0,t.createElementVNode)(`b`,null,(0,t.toDisplayString)(e.message),1)])):(0,t.createCommentVNode)(``,!0)],2)}}},n_={};function r_(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,(0,t.mergeProps)({class:`bd-logo`},e.$attrs,{version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`}),[...n[0]||=[(0,t.createStaticVNode)(`<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>`,2)]],16)}var i_=v(n_,[[`render`,r_]]),a_={"aria-label":`Page navigation`,class:`bd-pagination`},o_={class:`page-item`},s_=[`data-page`],c_=[`data-page`],l_={class:`page-item`},u_=[`data-page`],d_=(0,t.defineComponent)({__name:`BDPagination`,props:{modelValue:{default:1},totalRows:{default:1},rowsPerPage:{default:10},isPatient:{type:Boolean,default:!0}},emits:[`click`,`update:modelValue`],setup(e,{emit:n}){let r=e,i=n,a=_g(r,`modelValue`,i),o=(0,t.ref)(Math.ceil(r.totalRows/r.rowsPerPage)),s=(0,t.ref)([]);(0,t.watch)([()=>r.totalRows,()=>r.rowsPerPage],()=>{o.value=Math.ceil(r.totalRows/r.rowsPerPage),s.value=f(a.value)}),(0,t.onMounted)(()=>{s.value=f(a.value)});let c=(0,t.computed)(()=>({[`${r.class}`]:r.class,colleague:!r.isPatient})),l=e=>{let t=e.currentTarget.getAttribute(`data-page`),n=Number(t);isNaN(Number(n))||(a.value=n,s.value=f(n)),i(`click`,n)},u=(e,t,n)=>n<=t?n:e==1?6:e<=4?5:1,d=(e,t,n)=>n<=t?0:e==n?6:e>n-4?5:1,f=e=>{let t=[],n=u(e,7,o.value),r=o.value>7&&e>4,i=o.value>7&&e<o.value-3,a=r&&i,s=d(e,7,o.value);for(let e=1;e<=n;e++)t.push(e);if(r&&t.push(`...`),a)for(let n=e-1;n<=e+1;n++)t.push(n);i&&t.push(`...`);for(let e=1;e<=s;e++)t.push(o.value-s+e);return t};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,a_,[(0,t.createElementVNode)(`ul`,{class:(0,t.normalizeClass)([`pagination`,c.value])},[(0,t.withDirectives)((0,t.createElementVNode)(`li`,o_,[(0,t.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Previous`,onClick:l,"data-page":(0,t.unref)(a)-1},[(0,t.createVNode)((0,t.unref)(Le))],8,s_)],512),[[t.vShow,(0,t.unref)(a)>1]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(s.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{class:(0,t.normalizeClass)([`page-item`,{active:(0,t.unref)(a)===e,disabled:typeof e==`string`}]),key:e},[(0,t.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,onClick:l,"data-page":e},(0,t.toDisplayString)(e),9,c_)],2))),128)),(0,t.withDirectives)((0,t.createElementVNode)(`li`,l_,[(0,t.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Next`,onClick:l,"data-page":(0,t.unref)(a)+1},[(0,t.createVNode)((0,t.unref)(Ve))],8,u_)],512),[[t.vShow,(0,t.unref)(a)<o.value]])],2)]))}}),f_={class:`bd-pill`},p_=[`src`],m_={class:`bd-pill__description`},h_=[`href`],g_=[`id`,`textContent`,`title`],__=[`id`,`textContent`,`title`],v_=(0,t.defineComponent)({__name:`BDPill`,props:{imgSrc:{default:``},uri:{default:``},uriDisplayName:{default:``},title:{default:``},subtitle:{default:``},showClose:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:n}){let{uniqueIdentifier:r}=Ba(),i=e,a=(0,t.computed)(()=>i.uri),o=(0,t.computed)(()=>i.uriDisplayName===``?i.uri:i.uriDisplayName),s=(0,t.computed)(()=>i.imgSrc),c=(0,t.computed)(()=>i.title),l=(0,t.computed)(()=>i.subtitle),u=(0,t.computed)(()=>`bd-pill-title-${r.value}`),d=(0,t.computed)(()=>`bd-pill-subtitle-${r.value}`);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,f_,[(0,t.createElementVNode)(`img`,{src:s.value,class:`bd-pill__logo`,alt:`logo-externe-partij`},null,8,p_),(0,t.createElementVNode)(`div`,m_,[(0,t.createElementVNode)(`a`,{href:a.value,class:`bd-pill__link`,target:`_blank`,rel:`noopener noreferrer`},[(0,t.createVNode)((0,t.unref)(An),{class:`bd-pill__icon-hyperlink`,style:{height:`12px`}}),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(o.value),1)],8,h_),(0,t.createElementVNode)(`span`,{class:`bd-pill__title`,id:u.value,textContent:(0,t.toDisplayString)(c.value),"data-bs-toggle":`tooltip`,title:c.value},null,8,g_),(0,t.createElementVNode)(`span`,{class:`bd-pill__subtitle`,id:d.value,textContent:(0,t.toDisplayString)(l.value),"data-bs-toggle":`tooltip`,title:l.value},null,8,__)])]))}}),y_={class:`bd-profile-picture`},b_=[`src`,`alt`],x_=(0,t.defineComponent)({__name:`BDProfileImage`,props:{src:{default:``},username:{default:null},size:{default:Na.LG},linkText:{default:null}},emits:[`click`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)(()=>`${r.username?`${r.username}'s `:``}profielfoto`),o=()=>{i(`click`)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,y_,[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`rounded-circle`,r.size])},[(0,t.createElementVNode)(`img`,{src:r.src,alt:a.value},null,8,b_)],2),r.linkText?((0,t.openBlock)(),(0,t.createBlock)(k,{key:0,variant:`link`,onClick:o,textContent:(0,t.toDisplayString)(r.linkText)},null,8,[`textContent`])):(0,t.createCommentVNode)(``,!0)]))}}),S_={DANGER:`danger`,WARNING:`warning`,INFO:`info`,SUCCESS:`success`},C_=[`id`],w_={class:`toast-header`},T_={class:`toast-body`},E_=(0,t.defineComponent)({__name:`BDToast`,props:{id:{},variant:{default:S_.INFO},title:{default:``},text:{default:``}},setup(e){let n=e,r=(0,t.computed)(()=>({[`bd-toast-${n.variant}`]:!0})),i=(0,t.computed)(()=>n.variant!==S_.SUCCESS);return(e,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`toast bd-toast`,r.value]),role:`alert`,"aria-live":`assertive`,"aria-atomic":`true`,key:n.id,id:n.id},[(0,t.createElementVNode)(`div`,w_,[i.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Kn),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Ge),{key:1})),(0,t.createElementVNode)(`h5`,null,(0,t.toDisplayString)(n.title),1),a[0]||=(0,t.createElementVNode)(`button`,{type:`button`,class:`btn-close`,"data-bs-dismiss":`toast`,"aria-label":`Close`},null,-1)]),(0,t.createElementVNode)(`div`,T_,[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(n.text),1)])],10,C_))}}),D_=e=>Array.isArray(e)&&e.length>0,O_=e=>Object.keys(e).map(t=>e[t]),k_=e=>Array.isArray(e)&&e.length>0,A_=e=>!e||Array.isArray(e)&&!e.length,j_={name:`BDUserInformation`,props:{value:{type:Object},showProfilePicture:{type:Boolean}},render(){let{name:e,profilePictureUri:n,extra:r,...i}=this.value,a=n&&this.showProfilePicture?(0,t.h)(`img`,{class:`bd-user-information__profile-picture`,src:n,alt:e}):null,o=[(0,t.h)(`h4`,null,e)];return this.$slots.default&&o.push(this.$slots.default()),(0,t.h)(`div`,{class:`bd-user-information`},[a,(0,t.h)(`div`,{class:`bd-user-information__detail`},[(0,t.h)(`div`,{class:`bd-user-information__header`},o),(0,t.h)(`small`,null,O_(i).filter(e=>e).join(` • `))])])}},M_={class:`bd-zoom-slider d-flex`},N_=[`max`],P_=(0,t.defineComponent)({__name:`BDZoomslider`,props:{modelValue:{},maxValue:{default:5}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,i=_g(r,`modelValue`,n);function a(){i.value!==0&&i.value--}function o(){i.value<r.maxValue&&i.value++}return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,M_,[((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{class:`bd-zoom-slider-min-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:a},[...r[1]||=[(0,t.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,t.createElementVNode)(`path`,{d:`M1.5 13.5h21a1.5 1.5 0 0 0 0-3h-21a1.5 1.5 0 0 0 0 3z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]])),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{type:`range`,"onUpdate:modelValue":r[0]||=e=>(0,t.isRef)(i)?i.value=e:null,min:`0`,max:e.maxValue,class:`bd-zoom-slider-input`},null,8,N_),[[t.vModelText,(0,t.unref)(i)]]),((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{class:`bd-zoom-slider-plus-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:o},[...r[2]||=[(0,t.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,t.createElementVNode)(`path`,{d:`M0 12a1.5 1.5 0 0 0 1.5 1.5h8.75a.25.25 0 0 1 .25.25v8.75a1.5 1.5 0 0 0 3 0v-8.75a.25.25 0 0 1 .25-.25h8.75a1.5 1.5 0 0 0 0-3h-8.75a.25.25 0 0 1-.25-.25V1.5a1.5 1.5 0 0 0-3 0v8.75a.25.25 0 0 1-.25.25H1.5A1.5 1.5 0 0 0 0 12z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]]))]))}}),F_={class:`attachment-list`},I_={class:`attachment-link`},L_={key:1,class:`attachment-no-download`},R_=[`href`],z_=(0,t.defineComponent)({__name:`BDAttachmentPreviewList`,props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`],setup(e,{emit:n}){let r=n,i=e=>{r(`delete`,e)};return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,F_,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.files,n=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{class:`attachment-list__item`,key:n.CorrelationId},[(0,t.createElementVNode)(`div`,I_,[e.showDelete?((0,t.openBlock)(),(0,t.createBlock)(k,{key:0,variant:`remove`,onClick:e=>i(n),"aria-label":`verwijder`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(_i))]),_:1},8,[`onClick`])):(0,t.createCommentVNode)(``,!0),e.noDownload?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,L_,[(0,t.createVNode)((0,t.unref)(ae)),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(n.Naam.trim()),1)])):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:2,href:n.downloadUrl},[(0,t.createVNode)((0,t.unref)(ae)),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(n.Naam.trim()),1)],8,R_))])]))),128))]))}}),B_={class:`attachment-list`},V_={class:`attachment`},H_=[`onClick`],U_=[`src`,`alt`],W_=[`onClick`],G_=[`href`],K_={class:`btn btn-light download-button-image`},q_=[`src`,`alt`],J_=(0,t.defineComponent)({__name:`BDImageAttachmentPreviewList`,props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`,`show`],setup(e,{emit:n}){let r=e,i=n,a=e=>{i(`delete`,e)},o=(e,t)=>{e.target&&e.target.className===`img-preview`&&i(`show`,t)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,B_,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.files,n=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{class:`attachment-list__item`,key:n.CorrelationId},[(0,t.createElementVNode)(`div`,V_,[e.showDelete?((0,t.openBlock)(),(0,t.createBlock)(k,{key:0,variant:`remove`,"aria-label":`verwijder`,onClick:(0,t.withModifiers)(e=>a(n),[`prevent`])},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(_i))]),_:1},8,[`onClick`])):(0,t.createCommentVNode)(``,!0),r.noDownload?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:1,onClick:e=>o(e,n)},[(0,t.createElementVNode)(`img`,{src:n.previewUrl,class:`img-preview`,alt:n.altName,loading:`lazy`},null,8,U_)],8,H_)):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:2,onClick:e=>o(e,n)},[r.fastDownload?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,href:n.downloadUrl,class:`download-link`},[(0,t.createElementVNode)(`button`,K_,[(0,t.createVNode)((0,t.unref)(zt))])],8,G_)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`img`,{src:n.previewUrl,alt:n.altName,class:`img-preview`,loading:`lazy`},null,8,q_)],8,W_))])]))),128))]))}}),Y_=e=>e?.map(e=>e.CorrelationId),X_=e=>{if(e.Naam==null)return!1;let t=e.Naam.toLowerCase();return t.endsWith(`.png`)||t.endsWith(`.jpg`)||t.endsWith(`.jpeg`)||t.endsWith(`.gif`)},Z_=(e,t)=>t.DownloadUrl?t.DownloadUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlage/${t.Id}`:t.FileId?`${e}/Portaal/DownloadStandardMessageAttachment/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlage/${t.CorrelationId}`,Q_=(e,t)=>t.ThumbnailUrl?t.ThumbnailUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlageThumbnail/${t.Id}`:t.StandardAttachmentId||t.standardAttachmentId?`${e}/Portaal/DownloadStandardMessageAttachmentThumbnail/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlageThumbnail/${t.CorrelationId}`,$_=(e,t)=>t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:null,ev=(e,t)=>t?X_(e):!X_(e),tv=(e=``,t,n)=>{if(t!==void 0)return t.filter(e=>ev(e,n)).map(t=>{let n=typeof t.CorrelationId==`string`?t.CorrelationId:t.CorrelationId==null?``:t.CorrelationId.toString();return{downloadUrl:Z_(e,t),previewUrl:Q_(e,t),fullImageUrl:$_(e,t),altName:`${t.Naam}`,...t,CorrelationId:n}})},nv={class:`bd-chat-cloud-card`},rv={class:`bd-chat-cloud-card__header`},iv={class:`bd-chat-cloud-card__body`},av=[`innerHTML`],ov={class:`bd-chat-cloud-card__footer`},sv={key:0,class:`pills-list__wrapper`},cv={class:`pills-list__ul`},lv=(0,t.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},apiUrl:{default:``}},emits:[`show-attachment`,`action`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)(()=>r.isSender?`sender`:``),o=(0,t.computed)(()=>tv(r.apiUrl,r.files,!1)),s=(0,t.computed)(()=>tv(r.apiUrl,r.files,!0)),c=()=>{i(`action`,`copy-message`)},l=e=>{i(`show-attachment`,e)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`bd-chat-cloud`,a.value])},[(0,t.createVNode)(x_,{src:r.src,username:r.username,size:`sm`},null,8,[`src`,`username`]),(0,t.createElementVNode)(`div`,nv,[(0,t.createElementVNode)(`div`,rv,[(0,t.renderSlot)(n.$slots,`header`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.headerTitle),1)]),(0,t.createVNode)(k,{variant:`outline-primary-dark`,size:`sm`,onClick:c},{default:(0,t.withCtx)(()=>[...i[0]||=[(0,t.createTextVNode)(` kopieer `,-1)]]),_:1})]),(0,t.createElementVNode)(`div`,iv,[(0,t.renderSlot)(n.$slots,`body`,{},()=>[(0,t.createElementVNode)(`div`,{class:`bd-chat-cloud-card__message`,innerHTML:r.message},null,8,av)])]),(0,t.createElementVNode)(`div`,ov,[(0,t.renderSlot)(n.$slots,`footer`,{},()=>[e.pills?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,sv,[(0,t.createElementVNode)(`ul`,cv,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.pills,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n,class:`pills-list__li`},[(0,t.createVNode)(v_,(0,t.mergeProps)({ref_for:!0},e),null,16)]))),128))])])):(0,t.createCommentVNode)(``,!0),o.value&&o.value.length>0?((0,t.openBlock)(),(0,t.createBlock)(z_,{key:1,files:o.value},null,8,[`files`])):(0,t.createCommentVNode)(``,!0),s.value&&s.value.length>0?((0,t.openBlock)(),(0,t.createBlock)(J_,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,[`files`])):(0,t.createCommentVNode)(``,!0)])])])],2))}}),uv=(0,t.defineComponent)({__name:`BDDropdownItem`,props:{to:{default:``},target:{default:`_blank`},text:{default:void 0},rel:{default:`noopener noreferrer`}},emits:[`click`],setup(e,{emit:n}){let r=e,i=n,a=()=>{i(`click`)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,(0,t.mergeProps)({class:`bd-dropdown-item`},e.$attrs),[(0,t.createVNode)(Pa,(0,t.mergeProps)({class:`dropdown-item`,onClick:a},r),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.text),1)])]),_:3},16)],16))}}),dv={class:`bd-file-upload-preview`},fv={class:`preview-details`},pv=[`src`,`alt`],mv={class:`filename`},hv={key:2,class:`mark-container pending`},gv={class:`mark-container success`},_v=(0,t.defineComponent)({__name:`BDFileUploadPreview`,props:{file:{},isPending:{type:Boolean}},emits:[`remove`],setup(e,{emit:n}){let r=e,i=n,a=()=>i(`remove`,r.file);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,dv,[(0,t.createElementVNode)(`div`,fv,[r.file.previewUrl?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:r.file.previewUrl,class:`preview-image`,alt:r.file.UUID},null,8,pv)):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(mn),{key:1,class:`preview-icon`})),(0,t.createElementVNode)(`div`,mv,[(0,t.createElementVNode)(`small`,null,(0,t.toDisplayString)(r.file.name),1)]),r.isPending?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,hv,[...n[1]||=[(0,t.createElementVNode)(`div`,{class:`spinner-border text-primary spinner-border-sm`,role:`status`},null,-1)]])):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:3},[(0,t.createVNode)(k,{class:`remove-button`,onClick:n[0]||=e=>a()},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(_i))]),_:1}),(0,t.createElementVNode)(`div`,gv,[(0,t.createVNode)((0,t.unref)(Ge))])],64))])]))}}),vv={name:`PlusIcon`,extends:zp};function yv(e){return Cv(e)||Sv(e)||xv(e)||bv()}function bv(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1173
|
+
`,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-splitbutton p-component`,{"p-splitbutton-raised":n.raised,"p-splitbutton-rounded":n.rounded,"p-splitbutton-fluid":t.hasFluid}]},pcButton:`p-splitbutton-button`,pcDropdown:`p-splitbutton-dropdown`}}),kh={name:`SplitButton`,extends:{name:`BaseSplitButton`,extends:jp,props:{label:{type:String,default:null},icon:{type:String,default:null},model:{type:Array,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:[String,Object],default:`body`},disabled:{type:Boolean,default:!1},fluid:{type:Boolean,default:null},class:{type:null,default:null},style:{type:null,default:null},buttonProps:{type:null,default:null},menuButtonProps:{type:null,default:null},menuButtonIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:Oh,provide:function(){return{$pcSplitButton:this,$parentInstance:this}}},inheritAttrs:!1,emits:[`click`],inject:{$pcFluid:{default:null}},data:function(){return{isExpanded:!1}},mounted:function(){var e=this;this.$watch(`$refs.menu.visible`,function(t){e.isExpanded=t})},methods:{onDropdownButtonClick:function(e){e&&e.preventDefault(),this.$refs.menu.toggle({currentTarget:this.$el,relatedTarget:this.$refs.button.$el}),this.isExpanded=this.$refs.menu.visible},onDropdownKeydown:function(e){(e.code===`ArrowDown`||e.code===`ArrowUp`)&&(this.onDropdownButtonClick(),e.preventDefault())},onDefaultButtonClick:function(e){this.isExpanded&&this.$refs.menu.hide(e),this.$emit(`click`,e)}},computed:{containerClass:function(){return[this.cx(`root`),this.class]},hasFluid:function(){return cd(this.fluid)?!!this.$pcFluid:this.fluid}},components:{PVSButton:qm,PVSMenu:Th,ChevronDownIcon:Bp}},Ah=[`data-p-severity`];function jh(e,n,r,i,a,o){var s=(0,t.resolveComponent)(`PVSButton`),c=(0,t.resolveComponent)(`PVSMenu`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,(0,t.mergeProps)({class:o.containerClass,style:e.style},e.ptmi(`root`),{"data-p-severity":e.severity}),[(0,t.createVNode)(s,(0,t.mergeProps)({type:`button`,class:e.cx(`pcButton`),label:e.label,disabled:e.disabled,severity:e.severity,text:e.text,icon:e.icon,outlined:e.outlined,size:e.size,fluid:e.fluid,"aria-label":e.label,onClick:o.onDefaultButtonClick},e.buttonProps,{pt:e.ptm(`pcButton`),unstyled:e.unstyled}),(0,t.createSlots)({default:(0,t.withCtx)(function(){return[(0,t.renderSlot)(e.$slots,`default`)]}),_:2},[e.$slots.icon?{name:`icon`,fn:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,`icon`,{class:(0,t.normalizeClass)(n.class)},function(){return[(0,t.createElementVNode)(`span`,(0,t.mergeProps)({class:[e.icon,n.class]},e.ptm(`pcButton`).icon,{"data-pc-section":`buttonicon`}),null,16)]})]}),key:`0`}:void 0]),1040,[`class`,`label`,`disabled`,`severity`,`text`,`icon`,`outlined`,`size`,`fluid`,`aria-label`,`onClick`,`pt`,`unstyled`]),(0,t.createVNode)(s,(0,t.mergeProps)({ref:`button`,type:`button`,class:e.cx(`pcDropdown`),disabled:e.disabled,"aria-haspopup":`true`,"aria-expanded":a.isExpanded,"aria-controls":a.isExpanded?e.$id+`_overlay`:void 0,onClick:o.onDropdownButtonClick,onKeydown:o.onDropdownKeydown,severity:e.severity,text:e.text,outlined:e.outlined,size:e.size,unstyled:e.unstyled},e.menuButtonProps,{pt:e.ptm(`pcDropdown`)}),{icon:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,e.$slots.dropdownicon?`dropdownicon`:`menubuttonicon`,{class:(0,t.normalizeClass)(n.class)},function(){return[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.menuButtonIcon||e.dropdownIcon?`span`:`ChevronDownIcon`),(0,t.mergeProps)({class:[e.dropdownIcon||e.menuButtonIcon,n.class]},e.ptm(`pcDropdown`).icon,{"data-pc-section":`menubuttonicon`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`disabled`,`aria-expanded`,`aria-controls`,`onClick`,`onKeydown`,`severity`,`text`,`outlined`,`size`,`unstyled`,`pt`]),(0,t.createVNode)(c,{ref:`menu`,id:e.$id+`_overlay`,model:e.model,popup:!0,autoZIndex:e.autoZIndex,baseZIndex:e.baseZIndex,appendTo:e.appendTo,unstyled:e.unstyled,pt:e.ptm(`pcMenu`)},(0,t.createSlots)({_:2},[e.$slots.menuitemicon?{name:`itemicon`,fn:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,`menuitemicon`,{item:n.item,class:(0,t.normalizeClass)(n.class)})]}),key:`0`}:void 0,e.$slots.item?{name:`item`,fn:(0,t.withCtx)(function(n){return[(0,t.renderSlot)(e.$slots,`item`,{item:n.item,hasSubmenu:n.hasSubmenu,label:n.label,props:n.props})]}),key:`1`}:void 0]),1032,[`id`,`model`,`autoZIndex`,`baseZIndex`,`appendTo`,`unstyled`,`pt`])],16,Ah)}kh.render=jh;var Mh=[`src`],Nh={class:`menu-item`},Ph=[`src`],Fh={__name:`BDContentLibrarySplitButton`,props:{contentLibraryProviders:{type:Array,default:()=>[]},isExternalOnly:{type:Boolean,default:!1}},emits:[`content-library`],setup(e,{emit:n}){let{t:r}=Xu(),i=e,a=n,o=(0,t.computed)(()=>i.contentLibraryProviders.map(e=>({label:e.label||e.text,image:e.img,value:e.value,command:()=>a(`content-library`,e.value)}))),s=(0,t.computed)(()=>{let e=o.value;return e.length!==0&&i.isExternalOnly&&(e=e.slice(1)),e}),c=(0,t.computed)(()=>{let e=o.value;return i.isExternalOnly&&e.length>0?e[0].label:r(`contentLibrarySplitButton.messageTemplatesTitle`)}),l=(0,t.computed)(()=>{let e=o.value;return i.isExternalOnly&&e.length>0}),u=(0,t.computed)(()=>{let e=o.value;return e.length>0?e[0].image:``}),d=()=>{let e=o.value,t=`message-template`;i.isExternalOnly&&e.length>0&&(t=e[0].value),a(`content-library`,t)};return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(kh),{class:`bd-content-library-split-button`,model:s.value,outlined:``,severity:`secondary`,onClick:d},{default:(0,t.withCtx)(()=>[l.value?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:u.value,alt:``},null,8,Mh)):((0,t.openBlock)(),(0,t.createBlock)(rt,{key:1})),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(c.value),1)]),item:(0,t.withCtx)(({item:e})=>[(0,t.createElementVNode)(`div`,Nh,[(0,t.createElementVNode)(`img`,{src:e.image,alt:``,class:`icon-image`},null,8,Ph),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e.label),1)])]),_:1},8,[`model`]))}},Ih={date:``,displayTime:!0,format:`numeric`},Lh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),Rh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(Lh()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_nl=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`nl`,weekdays:`zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag`.split(`_`),weekdaysShort:`zo._ma._di._wo._do._vr._za.`.split(`_`),weekdaysMin:`zo_ma_di_wo_do_vr_za`.split(`_`),months:`januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december`.split(`_`),monthsShort:`jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec`.split(`_`),ordinal:function(e){return`[`+e+(e===1||e===8||e>=20?`ste`:`de`)+`]`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD-MM-YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},relativeTime:{future:`over %s`,past:`%s geleden`,s:`een paar seconden`,m:`een minuut`,mm:`%d minuten`,h:`een uur`,hh:`%d uur`,d:`een dag`,dd:`%d dagen`,M:`een maand`,MM:`%d maanden`,y:`een jaar`,yy:`%d jaar`}};return n.default.locale(r,null,!0),r}))})),zh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Bh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrAfter=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}))})),Vh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))})),Hh=d(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){"use strict";var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),Uh=m(Lh(),1);Rh();var Wh=m(zh(),1),Gh=m(Bh(),1),Kh=m(Vh(),1),qh=m(Hh(),1);Uh.default.extend(Wh.default),Uh.default.locale(`nl`),Uh.default.extend(Gh.default),Uh.default.extend(Kh.default),Uh.default.extend(qh.default);var Jh=e=>e?e.charAt(0).toUpperCase()+e.slice(1):``;function Yh(e,t=(0,Uh.default)()){let n=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0);if(!n.isValid())return``;let r=t.startOf(`day`);if(n.isSame(r,`day`))return`Vandaag`;let i=r.subtract(1,`day`);if(n.isSame(i,`day`))return`Gisteren`;let a=r.subtract(6,`day`);if(n.isSameOrAfter(a)&&n.isBefore(r))return Jh(n.format(`dddd`));let o=r.subtract(7,`day`);return n.isSame(o)||n.isSame(t,`year`)?n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Xh(e,t=(0,Uh.default)()){let n=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`],!0),r=e.includes(` `)&&e.includes(`:`);if(!n.isValid())return``;let i=t.startOf(`day`);if(n.isSame(i,`day`))return r?n.format(`H:mm`):`Vandaag`;let a=i.subtract(1,`day`);if(n.isSame(a,`day`))return r?`Gisteren ${n.format(`H:mm`)}`:`Gisteren`;let o=i.subtract(6,`day`);if(n.isSameOrAfter(o)&&n.isBefore(i))return Jh(r?n.format(`dddd H:mm`):n.format(`dddd`));let s=i.subtract(7,`day`);return n.isSame(s)||n.isSame(t,`year`)?r?n.format(`D MMM H:mm`):n.format(`D MMMM`):n.format(`DD-MM-YYYY`)}function Zh(e){let t=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0),n=e.includes(` `)&&e.includes(`:`);return t.isValid()?n&&t.isSame((0,Uh.default)(),`year`)?t.format(`DD-MM-YYYY H:mm`):t.format(`DD-MM-YYYY`):``}function Qh(e){let t=(0,Uh.default)(e,[`DD-MM-YYYY HH:mm`,`YYYY-MM-DD`,`DD-MM-YYYY`,`YYYY-MM-DDTHH:mm:ss`],!0);return t.isValid()?t.format(`DD-MM-YYYY`):``}var $h={class:`bd-date`},eg=(0,t.defineComponent)({__name:`BDDate`,props:{date:{},displayTime:{type:Boolean,default:Ih.displayTime},format:{default:Ih.format}},setup(e){let n=e,r=(0,t.computed)(()=>n.date?n.format===`textual`?n.displayTime?Xh(n.date):Yh(n.date):(n.format,n.displayTime?Zh(n.date):Qh(n.date)):``);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,$h,(0,t.toDisplayString)(r.value),1))}}),tg=(0,t.defineComponent)({__name:`BDForm`,emits:[`submit`,`reset`],setup(e,{emit:n}){let r=n;function i(){r(`submit`)}function a(){r(`reset`)}return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`form`,{onSubmit:(0,t.withModifiers)(i,[`prevent`]),onReset:(0,t.withModifiers)(a,[`prevent`])},[(0,t.renderSlot)(e.$slots,`default`)],32))}}),ng=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var rg=e=>e!==void 0,ig=Object.prototype.toString,ag=e=>ig.call(e)===`[object Object]`,og=()=>{};function sg(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function cg(e,n={}){let r,i,a=og,o=e=>{clearTimeout(e),a(),a=og},s;return c=>{let l=(0,t.toValue)(e),u=(0,t.toValue)(n.maxWait);return r&&o(r),l<=0||u!==void 0&&u<=0?(i&&=(o(i),void 0),Promise.resolve(c())):new Promise((e,t)=>{a=n.rejectOnCancel?t:e,s=c,u&&!i&&(i=setTimeout(()=>{r&&o(r),i=void 0,e(s())},u)),r=setTimeout(()=>{i&&o(i),i=void 0,e(c())},l)})}}function lg(e){return Array.isArray(e)?e:[e]}function ug(e,t=200,n={}){return sg(cg(t,n),e)}function dg(e,n,r){return(0,t.watch)(e,n,{...r,immediate:!0})}var fg=ng?window:void 0;ng&&window.document,ng&&window.navigator,ng&&window.location;function pg(e){let n=(0,t.toValue)(e);return n?.$el??n}function mg(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=(0,t.computed)(()=>{let n=lg((0,t.toValue)(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return dg(()=>[r.value?.map(e=>pg(e))??[fg].filter(e=>e!=null),lg((0,t.toValue)(r.value?e[1]:e[0])),lg((0,t.unref)(r.value?e[2]:e[1])),(0,t.toValue)(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=ag(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function hg(e){return JSON.parse(JSON.stringify(e))}function gg(e,n={}){let{initialValue:r=!1,focusVisible:i=!1,preventScroll:a=!1}=n,o=(0,t.shallowRef)(!1),s=(0,t.computed)(()=>pg(e)),c={passive:!0};mg(s,`focus`,e=>{var t;(!i||(t=e.target).matches?.call(t,`:focus-visible`))&&(o.value=!0)},c),mg(s,`blur`,()=>o.value=!1,c);let l=(0,t.computed)({get:()=>o.value,set(e){var t,n;!e&&o.value?(t=s.value)==null||t.blur():e&&!o.value&&((n=s.value)==null||n.focus({preventScroll:a}))}});return(0,t.watch)(s,()=>{l.value=r},{immediate:!0,flush:`post`}),{focused:l}}function _g(e,n,r,i={}){var a,o;let{clone:s=!1,passive:c=!1,eventName:l,deep:u=!1,defaultValue:d,shouldEmit:f}=i,p=(0,t.getCurrentInstance)(),m=r||p?.emit||(p==null||(a=p.$emit)==null?void 0:a.bind(p))||(p==null||(o=p.proxy)==null||(o=o.$emit)==null?void 0:o.bind(p?.proxy)),h=l;n||=`modelValue`,h||=`update:${n.toString()}`;let g=e=>s?typeof s==`function`?s(e):hg(e):e,_=()=>rg(e[n])?g(e[n]):d,v=e=>{f?f(e)&&m(h,e):m(h,e)};if(c){let r=(0,t.ref)(_()),i=!1;return(0,t.watch)(()=>e[n],e=>{i||(i=!0,r.value=g(e),(0,t.nextTick)(()=>i=!1))}),(0,t.watch)(r,t=>{!i&&(t!==e[n]||u)&&v(t)},{deep:u}),r}else return(0,t.computed)({get(){return _()},set(e){v(e)}})}var vg=[`value`,`true-value`,`false-value`,`data-checked`,`disabled`],yg=(0,t.defineComponent)({__name:`BDFormCheckbox`,props:{disabled:{type:Boolean,default:!1},modelValue:{type:[Boolean,String,Array],default:void 0},value:{type:[Boolean,String],default:!0},uncheckedValue:{type:[Boolean,String],default:!1},state:{type:[Boolean,null],default:void 0}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:n}){let{uniqueIdentifier:r}=Ba(),i=e,a=n,o=_g(i,`modelValue`,a),s=`form-check-input-${r.value}`,c=(0,t.computed)(()=>[`form-check`,`bd-form-checkbox`]),l=(0,t.computed)(()=>({"form-check-input":!0,"is-invalid":i.state===!1})),u=e=>a(`change`,e.target.value);return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)(c.value)},[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[0]||=e=>(0,t.isRef)(o)?o.value=e:null,id:s,class:(0,t.normalizeClass)(l.value),type:`checkbox`,value:e.value,"true-value":e.value,"false-value":e.uncheckedValue,"data-checked":(0,t.unref)(o)===e.value,disabled:i.disabled,onChange:u},null,42,vg),[[t.vModelCheckbox,(0,t.unref)(o)]]),(0,t.createElementVNode)(`label`,{class:`form-check-label`,for:s},[(0,t.renderSlot)(n.$slots,`default`)]),(0,t.renderSlot)(n.$slots,`last`)],2))}}),bg={class:`invalid-feedback bd-invalid-feedback`},xg=(0,t.defineComponent)({__name:`BDFormInvalidFeedback`,props:{state:{type:[Boolean,null],default:null},text:{default:``}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,bg,[n.state?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Ge),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:1})),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(n.text),1)]))}}),Sg=Object.defineProperty,Cg=(e,t,n)=>t in e?Sg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wg=(e,t,n)=>Cg(e,typeof t==`symbol`?t:t+``,n),Tg={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}},Eg=(e,t,n)=>e.replaceAll(t,``).replace(n,`.`).replace(`..`,`.`).replace(/[^.\d]/g,``),Dg=(e,t,n)=>new Intl.NumberFormat(n.number?.locale??`en`,{minimumFractionDigits:e,maximumFractionDigits:t,roundingMode:`trunc`}),Og=(e,t=!0,n)=>{let r=n.number?.unsigned!==!0&&e.startsWith(`-`)?`-`:``,i=n.number?.fraction??0,a=Dg(0,i,n),o=a.formatToParts(1000.12),s=o.find(e=>e.type===`group`)?.value??` `,c=o.find(e=>e.type===`decimal`)?.value??`.`,l=Eg(e,s,c);if(Number.isNaN(parseFloat(l)))return r;let u=l.split(`.`);u[1]!=null&&u[1].length>=1&&(a=Dg(u[1].length<=i?u[1].length:i,i,n));let d=a.format(parseFloat(l));return t?i>0&&l.endsWith(`.`)&&!l.slice(0,-1).includes(`.`)&&(d+=c):d=Eg(d,s,c),r+d},kg=e=>JSON.parse(e.replaceAll(`'`,`"`)),Ag=(e,t={})=>{let n={...t};e.dataset.maska!=null&&e.dataset.maska!==``&&(n.mask=Mg(e.dataset.maska)),e.dataset.maskaEager!=null&&(n.eager=jg(e.dataset.maskaEager)),e.dataset.maskaReversed!=null&&(n.reversed=jg(e.dataset.maskaReversed)),e.dataset.maskaTokensReplace!=null&&(n.tokensReplace=jg(e.dataset.maskaTokensReplace)),e.dataset.maskaTokens!=null&&(n.tokens=Ng(e.dataset.maskaTokens));let r={};return e.dataset.maskaNumberLocale!=null&&(r.locale=e.dataset.maskaNumberLocale),e.dataset.maskaNumberFraction!=null&&(r.fraction=parseInt(e.dataset.maskaNumberFraction)),e.dataset.maskaNumberUnsigned!=null&&(r.unsigned=jg(e.dataset.maskaNumberUnsigned)),(e.dataset.maskaNumber!=null||Object.values(r).length>0)&&(n.number=r),n},jg=e=>e===``?!0:!!JSON.parse(e),Mg=e=>e.startsWith(`[`)&&e.endsWith(`]`)?kg(e):e,Ng=e=>{if(e.startsWith(`{`)&&e.endsWith(`}`))return kg(e);let t={};return e.split(`|`).forEach(e=>{let n=e.split(`:`);t[n[0]]={pattern:Pg()?new RegExp(n[1],`u`):new RegExp(n[1]),optional:n[2]===`optional`,multiple:n[2]===`multiple`,repeated:n[2]===`repeated`}}),t},Pg=()=>{try{return!0}catch{return!1}},Fg=class{constructor(e={}){wg(this,`opts`,{}),wg(this,`memo`,new Map);let t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...Tg,...t.tokens};for(let e of Object.values(t.tokens))typeof e.pattern==`string`&&(e.pattern=Pg()?new RegExp(e.pattern,`u`):new RegExp(e.pattern))}else t.tokens=Tg;Array.isArray(t.mask)&&(t.mask.length>1?t.mask=[...t.mask].sort((e,t)=>e.length-t.length):t.mask=t.mask[0]??``),t.mask===``&&(t.mask=null),this.opts=t}masked(e){return this.process(String(e),this.findMask(String(e)))}unmasked(e){return this.process(String(e),this.findMask(String(e)),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(e){let t=this.findMask(String(e));if(this.opts.mask==null||t==null)return!1;let n=this.process(String(e),t).length;return typeof this.opts.mask==`string`?n>=this.opts.mask.length:n>=t.length}findMask(e){let t=this.opts.mask;if(t==null)return null;if(typeof t==`string`)return t;if(typeof t==`function`)return t(e);let n=this.process(e,t.slice(-1).pop()??``,!1);return t.find(t=>this.process(e,t,!1).length>=n.length)??``}escapeMask(e){let t=[],n=[];return e.split(``).forEach((r,i)=>{r===`!`&&e[i-1]!==`!`?n.push(i-n.length):t.push(r)}),{mask:t.join(``),escaped:n}}process(e,t,n=!0){if(this.opts.number!=null)return Og(e,n,this.opts);if(t==null)return e;let r=`v=${e},mr=${t},m=${+!!n}`;if(this.memo.has(r))return this.memo.get(r);let{mask:i,escaped:a}=this.escapeMask(t),o=[],s=this.opts.tokens==null?{}:this.opts.tokens,c=this.isReversed()?-1:1,l=this.isReversed()?`unshift`:`push`,u=this.isReversed()?0:i.length-1,d=this.isReversed()?()=>h>-1&&g>-1:()=>h<i.length&&g<e.length,f=e=>!this.isReversed()&&e<=u||this.isReversed()&&e>=u,p,m=-1,h=this.isReversed()?i.length-1:0,g=this.isReversed()?e.length-1:0,_=!1;for(;d();){let t=i.charAt(h),r=s[t],d=r?.transform==null?e.charAt(g):r.transform(e.charAt(g));if(!a.includes(h)&&r!=null?(d.match(r.pattern)==null?r.multiple?_&&=(h+=c,g-=c,!1):d===p?p=void 0:r.optional&&(h+=c,g-=c):(o[l](d),r.repeated?(m===-1?m=h:h===u&&h!==m&&(h=m-c),u===m&&(h-=c)):r.multiple&&(_=!0,h-=c),h+=c),g+=c):(n&&!this.isEager()&&o[l](t),d===t&&!this.isEager()?g+=c:p=t,this.isEager()||(h+=c)),this.isEager())for(;f(h)&&(s[i.charAt(h)]==null||a.includes(h));){if(n){if(o[l](i.charAt(h)),e.charAt(g)===i.charAt(h)){h+=c,g+=c;continue}}else i.charAt(h)===e.charAt(g)&&(g+=c);h+=c}}return this.memo.set(r,o.join(``)),this.memo.get(r)}},Ig=class{constructor(e,t={}){wg(this,`items`,new Map),wg(this,`eventAbortController`),wg(this,`onInput`,e=>{if(e instanceof CustomEvent&&e.type===`input`&&!e.isTrusted&&!e.bubbles)return;let t=e.target,n=this.items.get(t);if(n===void 0)return;let r=`inputType`in e&&e.inputType.startsWith(`delete`),i=n.isEager(),a=r&&i&&n.unmasked(t.value)===``?``:t.value;this.fixCursor(t,r,()=>this.setValue(t,a))}),this.options=t,this.eventAbortController=new AbortController,this.init(this.getInputs(e))}update(e={}){this.options={...e},this.init(Array.from(this.items.keys()))}updateValue(e){e.value!==``&&e.value!==this.processInput(e)?.masked&&this.setValue(e,e.value)}destroy(){this.eventAbortController.abort(),this.items.clear()}init(e){let t=this.getOptions(this.options);for(let n of e){if(!this.items.has(n)){let{signal:e}=this.eventAbortController;n.addEventListener(`input`,this.onInput,{capture:!0,signal:e})}let e=new Fg(Ag(n,t));this.items.set(n,e),queueMicrotask(()=>this.updateValue(n)),n.selectionStart===null&&e.isEager()&&console.warn("Maska: input of `%s` type is not supported",n.type)}}getInputs(e){return typeof e==`string`?Array.from(document.querySelectorAll(e)):`length`in e?Array.from(e):[e]}getOptions(e){let{onMaska:t,preProcess:n,postProcess:r,...i}=e;return i}fixCursor(e,t,n){let r=e.selectionStart,i=e.value;if(n(),r===null||r===i.length&&!t)return;let a=e.value,o=i.slice(0,r),s=a.slice(0,r),c=this.processInput(e,o)?.unmasked,l=this.processInput(e,s)?.unmasked;if(c===void 0||l===void 0)return;let u=r;o!==s&&(u+=t?a.length-i.length:c.length-l.length),e.setSelectionRange(u,u)}setValue(e,t){let n=this.processInput(e,t);n!==void 0&&(e.value=n.masked,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(e=>e(n)):this.options.onMaska(n)),e.dispatchEvent(new CustomEvent(`maska`,{detail:n})),e.dispatchEvent(new CustomEvent(`input`,{detail:n.masked})))}processInput(e,t){let n=this.items.get(e);if(n===void 0)return;let r=t??e.value;this.options.preProcess!=null&&(r=this.options.preProcess(r));let i=n.masked(r);return this.options.postProcess!=null&&(i=this.options.postProcess(i)),{masked:i,unmasked:n.unmasked(r),completed:n.completed(r)}}},Lg=new WeakMap,Rg=(e,t)=>{if(e.arg==null||e.instance==null)return;let n=`setup`in e.instance.$.type;e.arg in e.instance?e.instance[e.arg]=t:n&&console.warn("Maska: please expose `%s` using defineExpose",e.arg)},zg=(e,t)=>{var n;let r=e instanceof HTMLInputElement?e:e.querySelector(`input`);if(r==null||r?.type===`file`)return;let i={};if(t.value!=null&&(i=typeof t.value==`string`?{mask:t.value}:{...t.value}),t.arg!=null){let e=e=>{Rg(t,t.modifiers.unmasked?e.unmasked:t.modifiers.completed?e.completed:e.masked)};i.onMaska=i.onMaska==null?e:Array.isArray(i.onMaska)?[...i.onMaska,e]:[i.onMaska,e]}Lg.has(r)?(n=Lg.get(r))==null||n.update(i):Lg.set(r,new Ig(r,i))},Bg=[`value`,`type`],Vg=(0,t.defineComponent)({__name:`BDFormInput`,props:{modelValue:{default:``},formGroupClass:{default:void 0},type:{default:`text`},label:{default:void 0},labelClass:{default:void 0},formFieldClass:{default:void 0},inputClass:{default:void 0},placeholder:{default:void 0},state:{type:[Boolean,null],default:null},readonly:{type:[Boolean,null],default:null},disabled:{type:[Boolean,null],default:null},autofocus:{type:[Boolean,null],default:null},size:{default:Na.MD},tabindex:{default:null},invalidFeedbackClass:{default:void 0},invalidFeedbackText:{default:void 0},delayTimeMs:{default:0},mask:{default:void 0}},emits:[`update:modelValue`,`click`,`blur`,`enter`],setup(e,{emit:n}){let r=e,i=n,{uniqueIdentifier:a}=Ba(),o=_g(r,`modelValue`,i),s=`__BD__FORM__LABEL__${a.value}`,c=`__BD__FORM__GROUP__${a.value}`,l=`form-input-${r.label?r.label.replace(/ /g,`-`).toLowerCase():a.value}`,u=`validationFeedback${r.label?r.label.replace(/ /g,``):a.value}`,d=(0,t.computed)(()=>({[`${r.inputClass}`]:r.inputClass,"is-invalid":r.state===!1,"is-valid":r.state===!0,[`form-control-${r.size}`]:r.size})),f=(0,t.computed)(()=>({[`${r.invalidFeedbackClass}`]:r.invalidFeedbackClass,"is-invalid":r.state===!1})),p=(0,t.computed)(()=>({placeholder:r.placeholder?r.placeholder:null,readonly:r.readonly===!0,disabled:r.disabled===!0,autofocus:r.autofocus===!0,tabindex:r.tabindex?r.tabindex:null,"aria-describedby":r.state===!1&&r.invalidFeedbackText?u:null,"data-maska":r.mask})),m=ug(e=>{o.value=e.target.value},r.delayTimeMs);return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`bd-form-input`,e.formGroupClass]),id:c},[(0,t.renderSlot)(n.$slots,`label`,{},()=>[e.label?((0,t.openBlock)(),(0,t.createElementBlock)(`label`,{key:0,for:l,id:s,class:(0,t.normalizeClass)([`form-label`,e.labelClass])},(0,t.toDisplayString)(e.label),3)):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)(e.formFieldClass)},[(0,t.withDirectives)((0,t.createElementVNode)(`input`,(0,t.mergeProps)({value:e.modelValue,type:e.type,id:l,class:[`form-control`,d.value]},p.value,{onInput:r[0]||=(...e)=>(0,t.unref)(m)&&(0,t.unref)(m)(...e),onClick:r[1]||=e=>n.$emit(`click`),onBlur:r[2]||=e=>n.$emit(`blur`),onKeydown:r[3]||=(0,t.withKeys)(e=>n.$emit(`enter`),[`enter`])}),null,16,Bg),[[(0,t.unref)(zg)]]),(0,t.renderSlot)(n.$slots,`default`)],2),(0,t.createVNode)(xg,{text:e.invalidFeedbackText,class:(0,t.normalizeClass)(f.value),state:e.state,id:u},null,8,[`text`,`class`,`state`])],2))}}),Hg=[`disabled`],Ug=[`label`],Wg=[`value`],Gg=[`value`],Kg=(0,t.defineComponent)({__name:`BDFormSelect`,props:{size:{default:Na.MD},disabled:{type:Boolean},autofocus:{type:Boolean,default:!1},options:{default:void 0},modelValue:{default:``},state:{type:[Boolean,null],default:null}},emits:[`update:modelValue`,`change`,`input`],setup(e,{emit:n}){let r=e,i=n,a=_g(r,`modelValue`,i),o=(0,t.ref)(null),{focused:s}=gg(o,{initialValue:r.autofocus}),c=(0,t.computed)(()=>({"form-select":!0,"bd-form-select":!0,"is-invalid":r.state===!1,[`form-select-${r.size}`]:[`xs`,`sm`,`lg`].includes(r.size)}));(0,t.watch)(()=>r.autofocus,e=>{e&&(s.value=!0)});let l=e=>{a.value=e.target.value,i(`input`,d(e.target.value))},u=e=>{i(`change`,d(e.target.value))},d=e=>{try{return JSON.parse(e)}catch{return e}};return(e,n)=>(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`select`,{class:(0,t.normalizeClass)(c.value),"onUpdate:modelValue":n[0]||=e=>(0,t.isRef)(a)?a.value=e:null,disabled:r.disabled,ref_key:`input`,ref:o,onInput:l,onChange:u},[(0,t.renderSlot)(e.$slots,`first`),r.options&&r.options.length>0&&r.options[0].label&&r.options[0].options?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)(r.options,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`optgroup`,{label:e.label},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.options,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{value:JSON.stringify(e.value),key:e.value},(0,t.toDisplayString)(e.text),9,Wg))),128))],8,Ug))),256)):((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:1},(0,t.renderList)(r.options,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{value:e.value,key:e.value},(0,t.toDisplayString)(e.text),9,Gg))),128))],42,Hg)),[[t.vModelSelect,(0,t.unref)(a)]])}}),qg={class:`input-group bd-input-group`},Jg=[`for`],Yg=(0,t.defineComponent)({__name:`BDInputGroup`,props:{label:{default:void 0},labelForId:{default:void 0}},setup(e){let n=(0,t.useAttrs)(),r=e;return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`fieldset`,qg,[r.label?((0,t.openBlock)(),(0,t.createElementBlock)(`label`,{key:0,for:r.labelForId,class:`form-label`},(0,t.toDisplayString)(r.label),9,Jg)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)((0,t.unref)(n).class)},[(0,t.renderSlot)(e.$slots,`default`)],2)]))}}),Xg=e=>typeof e==`string`||e instanceof String,Zg={class:`bd-loader__spinner`},Qg={class:`spinner-border`,role:`status`},$g={class:`visually-hidden`},e_={key:0},t_={__name:`BDLoader`,props:{message:String,size:{type:String,default:`md`},stopAnimation:{type:Boolean,default:!1},isColleague:{type:Boolean,default:!1}},setup(e){let n=e,r=(0,t.computed)(()=>n.stopAnimation?`bd-loader--static`:``),i=(0,t.computed)(()=>n.isColleague?`bd-loader--colleague`:``);return(n,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`bd-loader text-center`,[e.size,r.value,i.value]])},[(0,t.createElementVNode)(`div`,Zg,[(0,t.createVNode)(fa),(0,t.createElementVNode)(`div`,Qg,[(0,t.createElementVNode)(`span`,$g,(0,t.toDisplayString)(e.message),1)])]),e.message?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,e_,[(0,t.createElementVNode)(`b`,null,(0,t.toDisplayString)(e.message),1)])):(0,t.createCommentVNode)(``,!0)],2))}},n_={};function r_(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,(0,t.mergeProps)({class:`bd-logo`},e.$attrs,{version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`}),[...n[0]||=[(0,t.createStaticVNode)(`<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>`,2)]],16)}var i_=v(n_,[[`render`,r_]]),a_={"aria-label":`Page navigation`,class:`bd-pagination`},o_={class:`page-item`},s_=[`data-page`],c_=[`data-page`],l_={class:`page-item`},u_=[`data-page`],d_=(0,t.defineComponent)({__name:`BDPagination`,props:{modelValue:{default:1},totalRows:{default:1},rowsPerPage:{default:10},isPatient:{type:Boolean,default:!0}},emits:[`click`,`update:modelValue`],setup(e,{emit:n}){let r=e,i=n,a=_g(r,`modelValue`,i),o=(0,t.ref)(Math.ceil(r.totalRows/r.rowsPerPage)),s=(0,t.ref)([]);(0,t.watch)([()=>r.totalRows,()=>r.rowsPerPage],()=>{o.value=Math.ceil(r.totalRows/r.rowsPerPage),s.value=f(a.value)}),(0,t.onMounted)(()=>{s.value=f(a.value)});let c=(0,t.computed)(()=>({[`${r.class}`]:r.class,colleague:!r.isPatient})),l=e=>{let t=e.currentTarget.getAttribute(`data-page`),n=Number(t);isNaN(Number(n))||(a.value=n,s.value=f(n)),i(`click`,n)},u=(e,t,n)=>n<=t?n:e==1?6:e<=4?5:1,d=(e,t,n)=>n<=t?0:e==n?6:e>n-4?5:1,f=e=>{let t=[],n=u(e,7,o.value),r=o.value>7&&e>4,i=o.value>7&&e<o.value-3,a=r&&i,s=d(e,7,o.value);for(let e=1;e<=n;e++)t.push(e);if(r&&t.push(`...`),a)for(let n=e-1;n<=e+1;n++)t.push(n);i&&t.push(`...`);for(let e=1;e<=s;e++)t.push(o.value-s+e);return t};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,a_,[(0,t.createElementVNode)(`ul`,{class:(0,t.normalizeClass)([`pagination`,c.value])},[(0,t.withDirectives)((0,t.createElementVNode)(`li`,o_,[(0,t.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Previous`,onClick:l,"data-page":(0,t.unref)(a)-1},[(0,t.createVNode)((0,t.unref)(Le))],8,s_)],512),[[t.vShow,(0,t.unref)(a)>1]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(s.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{class:(0,t.normalizeClass)([`page-item`,{active:(0,t.unref)(a)===e,disabled:typeof e==`string`}]),key:e},[(0,t.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,onClick:l,"data-page":e},(0,t.toDisplayString)(e),9,c_)],2))),128)),(0,t.withDirectives)((0,t.createElementVNode)(`li`,l_,[(0,t.createElementVNode)(`a`,{class:`page-link d-flex justify-content-center align-items-center`,"aria-label":`Next`,onClick:l,"data-page":(0,t.unref)(a)+1},[(0,t.createVNode)((0,t.unref)(Ve))],8,u_)],512),[[t.vShow,(0,t.unref)(a)<o.value]])],2)]))}}),f_={class:`bd-pill`},p_=[`src`],m_={class:`bd-pill__description`},h_=[`href`],g_=[`id`,`textContent`,`title`],__=[`id`,`textContent`,`title`],v_=(0,t.defineComponent)({__name:`BDPill`,props:{imgSrc:{default:``},uri:{default:``},uriDisplayName:{default:``},title:{default:``},subtitle:{default:``},showClose:{type:Boolean,default:!1}},emits:[`close`],setup(e,{emit:n}){let{uniqueIdentifier:r}=Ba(),i=e,a=(0,t.computed)(()=>i.uri),o=(0,t.computed)(()=>i.uriDisplayName===``?i.uri:i.uriDisplayName),s=(0,t.computed)(()=>i.imgSrc),c=(0,t.computed)(()=>i.title),l=(0,t.computed)(()=>i.subtitle),u=(0,t.computed)(()=>`bd-pill-title-${r.value}`),d=(0,t.computed)(()=>`bd-pill-subtitle-${r.value}`);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,f_,[(0,t.createElementVNode)(`img`,{src:s.value,class:`bd-pill__logo`,alt:`logo-externe-partij`},null,8,p_),(0,t.createElementVNode)(`div`,m_,[(0,t.createElementVNode)(`a`,{href:a.value,class:`bd-pill__link`,target:`_blank`,rel:`noopener noreferrer`},[(0,t.createVNode)((0,t.unref)(An),{class:`bd-pill__icon-hyperlink`,style:{height:`12px`}}),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(o.value),1)],8,h_),(0,t.createElementVNode)(`span`,{class:`bd-pill__title`,id:u.value,textContent:(0,t.toDisplayString)(c.value),"data-bs-toggle":`tooltip`,title:c.value},null,8,g_),(0,t.createElementVNode)(`span`,{class:`bd-pill__subtitle`,id:d.value,textContent:(0,t.toDisplayString)(l.value),"data-bs-toggle":`tooltip`,title:l.value},null,8,__)])]))}}),y_={class:`bd-profile-picture`},b_=[`src`,`alt`],x_=(0,t.defineComponent)({__name:`BDProfileImage`,props:{src:{default:``},username:{default:null},size:{default:Na.LG},linkText:{default:null}},emits:[`click`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)(()=>`${r.username?`${r.username}'s `:``}profielfoto`),o=()=>{i(`click`)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,y_,[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`rounded-circle`,r.size])},[(0,t.createElementVNode)(`img`,{src:r.src,alt:a.value},null,8,b_)],2),r.linkText?((0,t.openBlock)(),(0,t.createBlock)(k,{key:0,variant:`link`,onClick:o,textContent:(0,t.toDisplayString)(r.linkText)},null,8,[`textContent`])):(0,t.createCommentVNode)(``,!0)]))}}),S_={DANGER:`danger`,WARNING:`warning`,INFO:`info`,SUCCESS:`success`},C_=[`id`],w_={class:`toast-header`},T_={class:`toast-body`},E_=(0,t.defineComponent)({__name:`BDToast`,props:{id:{},variant:{default:S_.INFO},title:{default:``},text:{default:``}},setup(e){let n=e,r=(0,t.computed)(()=>({[`bd-toast-${n.variant}`]:!0})),i=(0,t.computed)(()=>n.variant!==S_.SUCCESS);return(e,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`toast bd-toast`,r.value]),role:`alert`,"aria-live":`assertive`,"aria-atomic":`true`,key:n.id,id:n.id},[(0,t.createElementVNode)(`div`,w_,[i.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Kn),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Ge),{key:1})),(0,t.createElementVNode)(`h5`,null,(0,t.toDisplayString)(n.title),1),a[0]||=(0,t.createElementVNode)(`button`,{type:`button`,class:`btn-close`,"data-bs-dismiss":`toast`,"aria-label":`Close`},null,-1)]),(0,t.createElementVNode)(`div`,T_,[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(n.text),1)])],10,C_))}}),D_=e=>Array.isArray(e)&&e.length>0,O_=e=>Object.keys(e).map(t=>e[t]),k_=e=>Array.isArray(e)&&e.length>0,A_=e=>!e||Array.isArray(e)&&!e.length,j_={name:`BDUserInformation`,props:{value:{type:Object},showProfilePicture:{type:Boolean}},render(){let{name:e,profilePictureUri:n,extra:r,...i}=this.value,a=n&&this.showProfilePicture?(0,t.h)(`img`,{class:`bd-user-information__profile-picture`,src:n,alt:e}):null,o=[(0,t.h)(`h4`,null,e)];return this.$slots.default&&o.push(this.$slots.default()),(0,t.h)(`div`,{class:`bd-user-information`},[a,(0,t.h)(`div`,{class:`bd-user-information__detail`},[(0,t.h)(`div`,{class:`bd-user-information__header`},o),(0,t.h)(`small`,null,O_(i).filter(e=>e).join(` • `))])])}},M_={class:`bd-zoom-slider d-flex`},N_=[`max`],P_=(0,t.defineComponent)({__name:`BDZoomslider`,props:{modelValue:{},maxValue:{default:5}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,i=_g(r,`modelValue`,n);function a(){i.value!==0&&i.value--}function o(){i.value<r.maxValue&&i.value++}return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,M_,[((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{class:`bd-zoom-slider-min-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:a},[...r[1]||=[(0,t.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,t.createElementVNode)(`path`,{d:`M1.5 13.5h21a1.5 1.5 0 0 0 0-3h-21a1.5 1.5 0 0 0 0 3z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]])),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{type:`range`,"onUpdate:modelValue":r[0]||=e=>(0,t.isRef)(i)?i.value=e:null,min:`0`,max:e.maxValue,class:`bd-zoom-slider-input`},null,8,N_),[[t.vModelText,(0,t.unref)(i)]]),((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{class:`bd-zoom-slider-plus-button`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`,fill:`#000000`,stroke:`#000000`,height:`20`,width:`20`,onClick:o},[...r[2]||=[(0,t.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,t.createElementVNode)(`path`,{d:`M0 12a1.5 1.5 0 0 0 1.5 1.5h8.75a.25.25 0 0 1 .25.25v8.75a1.5 1.5 0 0 0 3 0v-8.75a.25.25 0 0 1 .25-.25h8.75a1.5 1.5 0 0 0 0-3h-8.75a.25.25 0 0 1-.25-.25V1.5a1.5 1.5 0 0 0-3 0v8.75a.25.25 0 0 1-.25.25H1.5A1.5 1.5 0 0 0 0 12z`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`0`})],-1)]]))]))}}),F_={class:`attachment-list`},I_={class:`attachment-link`},L_={key:1,class:`attachment-no-download`},R_=[`href`],z_=(0,t.defineComponent)({__name:`BDAttachmentPreviewList`,props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`],setup(e,{emit:n}){let r=n,i=e=>{r(`delete`,e)};return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,F_,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.files,n=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{class:`attachment-list__item`,key:n.CorrelationId},[(0,t.createElementVNode)(`div`,I_,[e.showDelete?((0,t.openBlock)(),(0,t.createBlock)(k,{key:0,variant:`remove`,onClick:e=>i(n),"aria-label":`verwijder`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(_i))]),_:1},8,[`onClick`])):(0,t.createCommentVNode)(``,!0),e.noDownload?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,L_,[(0,t.createVNode)((0,t.unref)(ae)),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(n.Naam.trim()),1)])):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:2,href:n.downloadUrl},[(0,t.createVNode)((0,t.unref)(ae)),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(n.Naam.trim()),1)],8,R_))])]))),128))]))}}),B_={class:`attachment-list`},V_={class:`attachment`},H_=[`onClick`],U_=[`src`,`alt`],W_=[`onClick`],G_=[`href`],K_={class:`btn btn-light download-button-image`},q_=[`src`,`alt`],J_=(0,t.defineComponent)({__name:`BDImageAttachmentPreviewList`,props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:[`delete`,`show`],setup(e,{emit:n}){let r=e,i=n,a=e=>{i(`delete`,e)},o=(e,t)=>{e.target&&e.target.className===`img-preview`&&i(`show`,t)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,B_,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.files,n=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{class:`attachment-list__item`,key:n.CorrelationId},[(0,t.createElementVNode)(`div`,V_,[e.showDelete?((0,t.openBlock)(),(0,t.createBlock)(k,{key:0,variant:`remove`,"aria-label":`verwijder`,onClick:(0,t.withModifiers)(e=>a(n),[`prevent`])},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(_i))]),_:1},8,[`onClick`])):(0,t.createCommentVNode)(``,!0),r.noDownload?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:1,onClick:e=>o(e,n)},[(0,t.createElementVNode)(`img`,{src:n.previewUrl,class:`img-preview`,alt:n.altName,loading:`lazy`},null,8,U_)],8,H_)):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:2,onClick:e=>o(e,n)},[r.fastDownload?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,href:n.downloadUrl,class:`download-link`},[(0,t.createElementVNode)(`button`,K_,[(0,t.createVNode)((0,t.unref)(zt))])],8,G_)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`img`,{src:n.previewUrl,alt:n.altName,class:`img-preview`,loading:`lazy`},null,8,q_)],8,W_))])]))),128))]))}}),Y_=e=>e?.map(e=>e.CorrelationId),X_=e=>{if(e.Naam==null)return!1;let t=e.Naam.toLowerCase();return t.endsWith(`.png`)||t.endsWith(`.jpg`)||t.endsWith(`.jpeg`)||t.endsWith(`.gif`)},Z_=(e,t)=>t.DownloadUrl?t.DownloadUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlage/${t.Id}`:t.FileId?`${e}/Portaal/DownloadStandardMessageAttachment/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlage/${t.CorrelationId}`,Q_=(e,t)=>t.ThumbnailUrl?t.ThumbnailUrl:t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:t.url?t.url:t.Id?`${e}/Portaal/DownloadBerichtBijlageThumbnail/${t.Id}`:t.StandardAttachmentId||t.standardAttachmentId?`${e}/Portaal/DownloadStandardMessageAttachmentThumbnail/${t.StandardAttachmentId}/${t.FileId}`:`${e}/Portaal/DownloadBerichtStagingBijlageThumbnail/${t.CorrelationId}`,$_=(e,t)=>t.identifier?`${e}/Collega/api/Conversation/GetConversationAttachment?conversationId=${t.conversationId}&fileMetadataId=${t.identifier}`:null,ev=(e,t)=>t?X_(e):!X_(e),tv=(e=``,t,n)=>{if(t!==void 0)return t.filter(e=>ev(e,n)).map(t=>{let n=typeof t.CorrelationId==`string`?t.CorrelationId:t.CorrelationId==null?``:t.CorrelationId.toString();return{downloadUrl:Z_(e,t),previewUrl:Q_(e,t),fullImageUrl:$_(e,t),altName:`${t.Naam}`,...t,CorrelationId:n}})},nv={class:`bd-chat-cloud-card`},rv={class:`bd-chat-cloud-card__header`},iv={class:`bd-chat-cloud-card__body`},av=[`innerHTML`],ov={class:`bd-chat-cloud-card__footer`},sv={key:0,class:`pills-list__wrapper`},cv={class:`pills-list__ul`},lv=(0,t.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},apiUrl:{default:``}},emits:[`show-attachment`,`action`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)(()=>r.isSender?`sender`:``),o=(0,t.computed)(()=>tv(r.apiUrl,r.files,!1)),s=(0,t.computed)(()=>tv(r.apiUrl,r.files,!0)),c=()=>{i(`action`,`copy-message`)},l=e=>{i(`show-attachment`,e)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`bd-chat-cloud`,a.value])},[(0,t.createVNode)(x_,{src:r.src,username:r.username,size:`sm`},null,8,[`src`,`username`]),(0,t.createElementVNode)(`div`,nv,[(0,t.createElementVNode)(`div`,rv,[(0,t.renderSlot)(n.$slots,`header`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.headerTitle),1)]),(0,t.createVNode)(k,{variant:`outline-primary-dark`,size:`sm`,onClick:c},{default:(0,t.withCtx)(()=>[...i[0]||=[(0,t.createTextVNode)(` kopieer `,-1)]]),_:1})]),(0,t.createElementVNode)(`div`,iv,[(0,t.renderSlot)(n.$slots,`body`,{},()=>[(0,t.createElementVNode)(`div`,{class:`bd-chat-cloud-card__message`,innerHTML:r.message},null,8,av)])]),(0,t.createElementVNode)(`div`,ov,[(0,t.renderSlot)(n.$slots,`footer`,{},()=>[e.pills?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,sv,[(0,t.createElementVNode)(`ul`,cv,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.pills,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n,class:`pills-list__li`},[(0,t.createVNode)(v_,(0,t.mergeProps)({ref_for:!0},e),null,16)]))),128))])])):(0,t.createCommentVNode)(``,!0),o.value&&o.value.length>0?((0,t.openBlock)(),(0,t.createBlock)(z_,{key:1,files:o.value},null,8,[`files`])):(0,t.createCommentVNode)(``,!0),s.value&&s.value.length>0?((0,t.openBlock)(),(0,t.createBlock)(J_,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,[`files`])):(0,t.createCommentVNode)(``,!0)])])])],2))}}),uv=(0,t.defineComponent)({__name:`BDDropdownItem`,props:{to:{default:``},target:{default:`_blank`},text:{default:void 0},rel:{default:`noopener noreferrer`}},emits:[`click`],setup(e,{emit:n}){let r=e,i=n,a=()=>{i(`click`)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,(0,t.mergeProps)({class:`bd-dropdown-item`},e.$attrs),[(0,t.createVNode)(Pa,(0,t.mergeProps)({class:`dropdown-item`,onClick:a},r),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.text),1)])]),_:3},16)],16))}}),dv={class:`bd-file-upload-preview`},fv={class:`preview-details`},pv=[`src`,`alt`],mv={class:`filename`},hv={key:2,class:`mark-container pending`},gv={class:`mark-container success`},_v=(0,t.defineComponent)({__name:`BDFileUploadPreview`,props:{file:{},isPending:{type:Boolean}},emits:[`remove`],setup(e,{emit:n}){let r=e,i=n,a=()=>i(`remove`,r.file);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,dv,[(0,t.createElementVNode)(`div`,fv,[r.file.previewUrl?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:r.file.previewUrl,class:`preview-image`,alt:r.file.UUID},null,8,pv)):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(mn),{key:1,class:`preview-icon`})),(0,t.createElementVNode)(`div`,mv,[(0,t.createElementVNode)(`small`,null,(0,t.toDisplayString)(r.file.name),1)]),r.isPending?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,hv,[...n[1]||=[(0,t.createElementVNode)(`div`,{class:`spinner-border text-primary spinner-border-sm`,role:`status`},null,-1)]])):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:3},[(0,t.createVNode)(k,{class:`remove-button`,onClick:n[0]||=e=>a()},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(_i))]),_:1}),(0,t.createElementVNode)(`div`,gv,[(0,t.createVNode)((0,t.unref)(Ge))])],64))])]))}}),vv={name:`PlusIcon`,extends:zp};function yv(e){return Cv(e)||Sv(e)||xv(e)||bv()}function bv(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1174
1174
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xv(e,t){if(e){if(typeof e==`string`)return wv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wv(e,t):void 0}}function Sv(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Cv(e){if(Array.isArray(e))return wv(e)}function wv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Tv(e,n,r,i,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,(0,t.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),yv(n[0]||=[(0,t.createElementVNode)(`path`,{d:`M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z`,fill:`currentColor`},null,-1)]),16)}vv.render=Tv;var Ev={name:`TimesIcon`,extends:zp};function Dv(e){return jv(e)||Av(e)||kv(e)||Ov()}function Ov(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1175
1175
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kv(e,t){if(e){if(typeof e==`string`)return Mv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mv(e,t):void 0}}function Av(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function jv(e){if(Array.isArray(e))return Mv(e)}function Mv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Nv(e,n,r,i,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,(0,t.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Dv(n[0]||=[(0,t.createElementVNode)(`path`,{d:`M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z`,fill:`currentColor`},null,-1)]),16)}Ev.render=Nv;var Pv={name:`UploadIcon`,extends:zp};function Fv(e){return zv(e)||Rv(e)||Lv(e)||Iv()}function Iv(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1176
1176
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lv(e,t){if(e){if(typeof e==`string`)return Bv(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bv(e,t):void 0}}function Rv(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function zv(e){if(Array.isArray(e))return Bv(e)}function Bv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vv(e,n,r,i,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,(0,t.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Fv(n[0]||=[(0,t.createElementVNode)(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M6.58942 9.82197C6.70165 9.93405 6.85328 9.99793 7.012 10C7.17071 9.99793 7.32234 9.93405 7.43458 9.82197C7.54681 9.7099 7.61079 9.55849 7.61286 9.4V2.04798L9.79204 4.22402C9.84752 4.28011 9.91365 4.32457 9.98657 4.35479C10.0595 4.38502 10.1377 4.40039 10.2167 4.40002C10.2956 4.40039 10.3738 4.38502 10.4467 4.35479C10.5197 4.32457 10.5858 4.28011 10.6413 4.22402C10.7538 4.11152 10.817 3.95902 10.817 3.80002C10.817 3.64102 10.7538 3.48852 10.6413 3.37602L7.45127 0.190618C7.44656 0.185584 7.44176 0.180622 7.43687 0.175736C7.32419 0.063214 7.17136 0 7.012 0C6.85264 0 6.69981 0.063214 6.58712 0.175736C6.58181 0.181045 6.5766 0.186443 6.5715 0.191927L3.38282 3.37602C3.27669 3.48976 3.2189 3.6402 3.22165 3.79564C3.2244 3.95108 3.28746 4.09939 3.39755 4.20932C3.50764 4.31925 3.65616 4.38222 3.81182 4.38496C3.96749 4.3877 4.11814 4.33001 4.23204 4.22402L6.41113 2.04807V9.4C6.41321 9.55849 6.47718 9.7099 6.58942 9.82197ZM11.9952 14H2.02883C1.751 13.9887 1.47813 13.9228 1.22584 13.8061C0.973545 13.6894 0.746779 13.5241 0.558517 13.3197C0.370254 13.1154 0.22419 12.876 0.128681 12.6152C0.0331723 12.3545 -0.00990605 12.0775 0.0019109 11.8V9.40005C0.0019109 9.24092 0.065216 9.08831 0.1779 8.97579C0.290584 8.86326 0.443416 8.80005 0.602775 8.80005C0.762134 8.80005 0.914966 8.86326 1.02765 8.97579C1.14033 9.08831 1.20364 9.24092 1.20364 9.40005V11.8C1.18295 12.0376 1.25463 12.274 1.40379 12.4602C1.55296 12.6463 1.76817 12.7681 2.00479 12.8H11.9952C12.2318 12.7681 12.447 12.6463 12.5962 12.4602C12.7453 12.274 12.817 12.0376 12.7963 11.8V9.40005C12.7963 9.24092 12.8596 9.08831 12.9723 8.97579C13.085 8.86326 13.2378 8.80005 13.3972 8.80005C13.5565 8.80005 13.7094 8.86326 13.8221 8.97579C13.9347 9.08831 13.998 9.24092 13.998 9.40005V11.8C14.022 12.3563 13.8251 12.8996 13.45 13.3116C13.0749 13.7236 12.552 13.971 11.9952 14Z`,fill:`currentColor`},null,-1)]),16)}Pv.render=Vv;var Hv=hp.extend({name:`message`,style:`
|
package/dist/scss/_loader.scss
CHANGED
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
position: relative;
|
|
6
6
|
margin-bottom: 10px;
|
|
7
7
|
|
|
8
|
-
svg {
|
|
9
|
-
fill
|
|
10
|
-
}
|
|
11
|
-
img, svg {
|
|
8
|
+
img, svg.icon.icon-videocall {
|
|
9
|
+
fill: $color-border;
|
|
12
10
|
position: absolute;
|
|
13
11
|
top: 50%;
|
|
14
12
|
left: 50%;
|
|
@@ -26,7 +24,7 @@
|
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
26
|
&.md {
|
|
29
|
-
img, svg {
|
|
27
|
+
img, svg.icon.icon-videocall {
|
|
30
28
|
width: 88px;
|
|
31
29
|
height: 88px;
|
|
32
30
|
}
|
|
@@ -36,7 +34,7 @@
|
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
&.lg {
|
|
39
|
-
img, svg {
|
|
37
|
+
img, svg.icon.icon-videocall {
|
|
40
38
|
width: 180px;
|
|
41
39
|
height: 180px;
|
|
42
40
|
}
|
package/package.json
CHANGED