@beterdichtbij/component-library 0.44.0 → 0.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,58 +150,58 @@ img.ProseMirror-separator {
150
150
 
151
151
  `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
152
152
 
153
- `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var d={placement:hn(e.placement),variation:Do(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,F1(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,F1(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Xc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:BA,data:{}};var Xi={passive:!0};function PA(n){var e=n.state,t=n.instance,r=n.options,o=r.scroll,s=o===void 0?!0:o,i=r.resize,l=i===void 0?!0:i,a=Ht(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach(function(d){d.addEventListener("scroll",t.update,Xi)}),l&&a.addEventListener("resize",t.update,Xi),function(){s&&u.forEach(function(d){d.removeEventListener("scroll",t.update,Xi)}),l&&a.removeEventListener("resize",t.update,Xi)}}const qc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:PA,data:{}};var FA={left:"right",right:"left",bottom:"top",top:"bottom"};function qi(n){return n.replace(/left|right|bottom|top/g,function(e){return FA[e]})}var VA={start:"end",end:"start"};function V1(n){return n.replace(/start|end/g,function(e){return VA[e]})}function eu(n){var e=Ht(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function tu(n){return Lo(fr(n)).left+eu(n).scrollLeft}function $A(n,e){var t=Ht(n),r=fr(n),o=t.visualViewport,s=r.clientWidth,i=r.clientHeight,l=0,a=0;if(o){s=o.width,i=o.height;var u=M1();(u||!u&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:i,x:l+tu(n),y:a}}function zA(n){var e,t=fr(n),r=eu(n),o=(e=n.ownerDocument)==null?void 0:e.body,s=Zr(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Zr(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+tu(n),a=-r.scrollTop;return pn(o||t).direction==="rtl"&&(l+=Zr(t.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:l,y:a}}function nu(n){var e=pn(n),t=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+r)}function $1(n){return["html","body","#document"].indexOf(Sn(n))>=0?n.ownerDocument.body:jt(n)&&nu(n)?n:$1(Ji(n))}function Os(n,e){var t;e===void 0&&(e=[]);var r=$1(n),o=r===((t=n.ownerDocument)==null?void 0:t.body),s=Ht(r),i=o?[s].concat(s.visualViewport||[],nu(r)?r:[]):r,l=e.concat(i);return o?l:l.concat(Os(Ji(i)))}function ru(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function UA(n,e){var t=Lo(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function z1(n,e,t){return e===Wc?ru($A(n,t)):Qr(e)?UA(e,t):ru(zA(fr(n)))}function HA(n){var e=Os(Ji(n)),t=["absolute","fixed"].indexOf(pn(n).position)>=0,r=t&&jt(n)?xs(n):n;return Qr(r)?e.filter(function(o){return Qr(o)&&O1(o,r)&&Sn(o)!=="body"}):[]}function jA(n,e,t,r){var o=e==="clippingParents"?HA(n):[].concat(e),s=[].concat(o,[t]),i=s[0],l=s.reduce(function(a,u){var d=z1(n,u,r);return a.top=Zr(d.top,a.top),a.right=Zi(d.right,a.right),a.bottom=Zi(d.bottom,a.bottom),a.left=Zr(d.left,a.left),a},z1(n,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function U1(n){var e=n.reference,t=n.element,r=n.placement,o=r?hn(r):null,s=r?Do(r):null,i=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,a;switch(o){case kt:a={x:i,y:e.y-t.height};break;case zt:a={x:i,y:e.y+e.height};break;case Ut:a={x:e.x+e.width,y:l};break;case Nt:a={x:e.x-t.width,y:l};break;default:a={x:e.x,y:e.y}}var u=o?Jc(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(s){case Gr:a[u]=a[u]-(e[d]/2-t[d]/2);break;case xo:a[u]=a[u]+(e[d]/2-t[d]/2);break}}return a}function Ro(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=r===void 0?n.placement:r,s=t.strategy,i=s===void 0?n.strategy:s,l=t.boundary,a=l===void 0?C1:l,u=t.rootBoundary,d=u===void 0?Wc:u,f=t.elementContext,h=f===void 0?Mo:f,p=t.altBoundary,m=p===void 0?!1:p,g=t.padding,y=g===void 0?0:g,C=R1(typeof y!="number"?y:B1(y,Io)),b=h===Mo?A1:Mo,E=n.rects.popper,v=n.elements[m?b:h],N=jA(Qr(v)?v:v.contextElement||fr(n.elements.popper),a,d,i),w=Lo(n.elements.reference),x=U1({reference:w,element:E,strategy:"absolute",placement:o}),M=ru(Object.assign({},E,x)),L=h===Mo?M:w,$={top:N.top-L.top+C.top,bottom:L.bottom-N.bottom+C.bottom,left:N.left-L.left+C.left,right:L.right-N.right+C.right},V=n.modifiersData.offset;if(h===Mo&&V){var z=V[o];Object.keys($).forEach(function(G){var Y=[Ut,zt].indexOf(G)>=0?1:-1,K=[kt,zt].indexOf(G)>=0?"y":"x";$[G]+=z[K]*Y})}return $}function WA(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=t.boundary,s=t.rootBoundary,i=t.padding,l=t.flipVariations,a=t.allowedAutoPlacements,u=a===void 0?Yc:a,d=Do(r),f=d?l?Kc:Kc.filter(function(m){return Do(m)===d}):Io,h=f.filter(function(m){return u.indexOf(m)>=0});h.length===0&&(h=f,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=h.reduce(function(m,g){return m[g]=Ro(n,{placement:g,boundary:o,rootBoundary:s,padding:i})[hn(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function KA(n){if(hn(n)===Is)return[];var e=qi(n);return[V1(n),e,V1(e)]}function YA(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!0:i,a=t.fallbackPlacements,u=t.padding,d=t.boundary,f=t.rootBoundary,h=t.altBoundary,p=t.flipVariations,m=p===void 0?!0:p,g=t.allowedAutoPlacements,y=e.options.placement,C=hn(y),b=C===y,E=a||(b||!m?[qi(y)]:KA(y)),v=[y].concat(E).reduce(function(Se,ke){return Se.concat(hn(ke)===Is?WA(e,{placement:ke,boundary:d,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:g}):ke)},[]),N=e.rects.reference,w=e.rects.popper,x=new Map,M=!0,L=v[0],$=0;$<v.length;$++){var V=v[$],z=hn(V),G=Do(V)===Gr,Y=[kt,zt].indexOf(z)>=0,K=Y?"width":"height",W=Ro(e,{placement:V,boundary:d,rootBoundary:f,altBoundary:h,padding:u}),J=Y?G?Ut:Nt:G?zt:kt;N[K]>w[K]&&(J=qi(J));var U=qi(J),ee=[];if(s&&ee.push(W[z]<=0),l&&ee.push(W[J]<=0,W[U]<=0),ee.every(function(Se){return Se})){L=V,M=!1;break}x.set(V,ee)}if(M)for(var re=m?3:1,ue=function(ke){var xe=v.find(function(Ae){var D=x.get(Ae);if(D)return D.slice(0,ke).every(function(B){return B})});if(xe)return L=xe,"break"},ge=re;ge>0;ge--){var Ee=ue(ge);if(Ee==="break")break}e.placement!==L&&(e.modifiersData[r]._skip=!0,e.placement=L,e.reset=!0)}}const H1={name:"flip",enabled:!0,phase:"main",fn:YA,requiresIfExists:["offset"],data:{_skip:!1}};function j1(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function W1(n){return[kt,Ut,zt,Nt].some(function(e){return n[e]>=0})}function GA(n){var e=n.state,t=n.name,r=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,i=Ro(e,{elementContext:"reference"}),l=Ro(e,{altBoundary:!0}),a=j1(i,r),u=j1(l,o,s),d=W1(a),f=W1(u);e.modifiersData[t]={referenceClippingOffsets:a,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const K1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:GA};function QA(n,e,t){var r=hn(n),o=[Nt,kt].indexOf(r)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,i=s[0],l=s[1];return i=i||0,l=(l||0)*o,[Nt,Ut].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}function ZA(n){var e=n.state,t=n.options,r=n.name,o=t.offset,s=o===void 0?[0,0]:o,i=Yc.reduce(function(d,f){return d[f]=QA(f,e.rects,s),d},{}),l=i[e.placement],a=l.x,u=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=i}const Y1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ZA};function JA(n){var e=n.state,t=n.name;e.modifiersData[t]=U1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ou={name:"popperOffsets",enabled:!0,phase:"read",fn:JA,data:{}};function XA(n){return n==="x"?"y":"x"}function qA(n){var e=n.state,t=n.options,r=n.name,o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!1:i,a=t.boundary,u=t.rootBoundary,d=t.altBoundary,f=t.padding,h=t.tether,p=h===void 0?!0:h,m=t.tetherOffset,g=m===void 0?0:m,y=Ro(e,{boundary:a,rootBoundary:u,padding:f,altBoundary:d}),C=hn(e.placement),b=Do(e.placement),E=!b,v=Jc(C),N=XA(v),w=e.modifiersData.popperOffsets,x=e.rects.reference,M=e.rects.popper,L=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,$=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,z={x:0,y:0};if(w){if(s){var G,Y=v==="y"?kt:Nt,K=v==="y"?zt:Ut,W=v==="y"?"height":"width",J=w[v],U=J+y[Y],ee=J-y[K],re=p?-M[W]/2:0,ue=b===Gr?x[W]:M[W],ge=b===Gr?-M[W]:-x[W],Ee=e.elements.arrow,Se=p&&Ee?Zc(Ee):{width:0,height:0},ke=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:D1(),xe=ke[Y],Ae=ke[K],D=Ms(0,x[W],Se[W]),B=E?x[W]/2-re-D-xe-$.mainAxis:ue-D-xe-$.mainAxis,I=E?-x[W]/2+re+D+Ae+$.mainAxis:ge+D+Ae+$.mainAxis,R=e.elements.arrow&&xs(e.elements.arrow),A=R?v==="y"?R.clientTop||0:R.clientLeft||0:0,T=(G=V==null?void 0:V[v])!=null?G:0,k=J+B-T-A,O=J+I-T,H=Ms(p?Zi(U,k):U,J,p?Zr(ee,O):ee);w[v]=H,z[v]=H-J}if(l){var j,Z=v==="x"?kt:Nt,X=v==="x"?zt:Ut,S=w[N],_=N==="y"?"height":"width",F=S+y[Z],Q=S-y[X],ae=[kt,Nt].indexOf(C)!==-1,pe=(j=V==null?void 0:V[N])!=null?j:0,Te=ae?F:S-x[_]-M[_]-pe+$.altAxis,q=ae?S+x[_]+M[_]-pe-$.altAxis:Q,ie=p&&ae?xA(Te,S,q):Ms(p?Te:F,S,p?q:Q);w[N]=ie,z[N]=ie-S}e.modifiersData[r]=z}}const G1={name:"preventOverflow",enabled:!0,phase:"main",fn:qA,requiresIfExists:["offset"]};function eb(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function tb(n){return n===Ht(n)||!jt(n)?eu(n):eb(n)}function nb(n){var e=n.getBoundingClientRect(),t=Oo(e.width)/n.offsetWidth||1,r=Oo(e.height)/n.offsetHeight||1;return t!==1||r!==1}function rb(n,e,t){t===void 0&&(t=!1);var r=jt(e),o=jt(e)&&nb(e),s=fr(e),i=Lo(n,o,t),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!t)&&((Sn(e)!=="body"||nu(s))&&(l=tb(e)),jt(e)?(a=Lo(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):s&&(a.x=tu(s))),{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function ob(n){var e=new Map,t=new Set,r=[];n.forEach(function(s){e.set(s.name,s)});function o(s){t.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!t.has(l)){var a=e.get(l);a&&o(a)}}),r.push(s)}return n.forEach(function(s){t.has(s.name)||o(s)}),r}function sb(n){var e=ob(n);return Gi.reduce(function(t,r){return t.concat(e.filter(function(o){return o.phase===r}))},[])}function ib(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function hr(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return[].concat(t).reduce(function(o,s){return o.replace(/%s/,s)},n)}var Jr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',ab='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Q1=["name","enabled","phase","fn","effect","requires","options"];function lb(n){n.forEach(function(e){[].concat(Object.keys(e),Q1).filter(function(t,r,o){return o.indexOf(t)===r}).forEach(function(t){switch(t){case"name":typeof e.name!="string"&&console.error(hr(Jr,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(hr(Jr,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Gi.indexOf(e.phase)<0&&console.error(hr(Jr,e.name,'"phase"',"either "+Gi.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(hr(Jr,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(hr(Jr,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(hr(Jr,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(hr(Jr,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+Q1.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+t+'" was provided.')}e.requires&&e.requires.forEach(function(r){n.find(function(o){return o.name===r})==null&&console.error(hr(ab,String(e.name),r,r))})})})}function cb(n,e){var t=new Set;return n.filter(function(r){var o=e(r);if(!t.has(o))return t.add(o),!0})}function ub(n){var e=n.reduce(function(t,r){var o=t[r.name];return t[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,t},{});return Object.keys(e).map(function(t){return e[t]})}var Z1="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",db="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",J1={placement:"bottom",modifiers:[],strategy:"absolute"};function X1(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function ea(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,r=t===void 0?[]:t,o=e.defaultOptions,s=o===void 0?J1:o;return function(l,a,u){u===void 0&&(u=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},J1,s),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},f=[],h=!1,p={state:d,setOptions:function(C){var b=typeof C=="function"?C(d.options):C;g(),d.options=Object.assign({},s,d.options,b),d.scrollParents={reference:Qr(l)?Os(l):l.contextElement?Os(l.contextElement):[],popper:Os(a)};var E=sb(ub([].concat(r,d.options.modifiers)));if(d.orderedModifiers=E.filter(function(V){return V.enabled}),process.env.NODE_ENV!=="production"){var v=cb([].concat(E,d.options.modifiers),function(V){var z=V.name;return z});if(lb(v),hn(d.options.placement)===Is){var N=d.orderedModifiers.find(function(V){var z=V.name;return z==="flip"});N||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var w=pn(a),x=w.marginTop,M=w.marginRight,L=w.marginBottom,$=w.marginLeft;[x,M,L,$].some(function(V){return parseFloat(V)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return m(),p.update()},forceUpdate:function(){if(!h){var C=d.elements,b=C.reference,E=C.popper;if(!X1(b,E)){process.env.NODE_ENV!=="production"&&console.error(Z1);return}d.rects={reference:rb(b,xs(E),d.options.strategy==="fixed"),popper:Zc(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(V){return d.modifiersData[V.name]=Object.assign({},V.data)});for(var v=0,N=0;N<d.orderedModifiers.length;N++){if(process.env.NODE_ENV!=="production"&&(v+=1,v>100)){console.error(db);break}if(d.reset===!0){d.reset=!1,N=-1;continue}var w=d.orderedModifiers[N],x=w.fn,M=w.options,L=M===void 0?{}:M,$=w.name;typeof x=="function"&&(d=x({state:d,options:L,name:$,instance:p})||d)}}},update:ib(function(){return new Promise(function(y){p.forceUpdate(),y(d)})}),destroy:function(){g(),h=!0}};if(!X1(l,a))return process.env.NODE_ENV!=="production"&&console.error(Z1),p;p.setOptions(u).then(function(y){!h&&u.onFirstUpdate&&u.onFirstUpdate(y)});function m(){d.orderedModifiers.forEach(function(y){var C=y.name,b=y.options,E=b===void 0?{}:b,v=y.effect;if(typeof v=="function"){var N=v({state:d,name:C,instance:p,options:E}),w=function(){};f.push(N||w)}})}function g(){f.forEach(function(y){return y()}),f=[]}return p}}var fb=ea(),hb=[qc,ou,Xc,Qi],pb=ea({defaultModifiers:hb}),mb=[qc,ou,Xc,Qi,Y1,H1,G1,P1,K1],ta=ea({defaultModifiers:mb});const q1=Object.freeze(Object.defineProperty({__proto__:null,afterMain:k1,afterRead:T1,afterWrite:x1,applyStyles:Qi,arrow:P1,auto:Is,basePlacements:Io,beforeMain:S1,beforeRead:b1,beforeWrite:N1,bottom:zt,clippingParents:C1,computeStyles:Xc,createPopper:ta,createPopperBase:fb,createPopperLite:pb,detectOverflow:Ro,end:xo,eventListeners:qc,flip:H1,hide:K1,left:Nt,main:_1,modifierPhases:Gi,offset:Y1,placements:Yc,popper:Mo,popperGenerator:ea,popperOffsets:ou,preventOverflow:G1,read:w1,reference:A1,right:Ut,start:Gr,top:kt,variationPlacements:Kc,viewport:Wc,write:I1},Symbol.toStringTag,{value:"Module"}));var gb="tippy-box",e0="tippy-content",yb="tippy-backdrop",t0="tippy-arrow",n0="tippy-svg-arrow",Xr={passive:!0,capture:!0},r0=function(){return document.body};function vb(n,e){return{}.hasOwnProperty.call(n,e)}function su(n,e,t){if(Array.isArray(n)){var r=n[e];return r??(Array.isArray(t)?t[e]:t)}return n}function iu(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function o0(n,e){return typeof n=="function"?n.apply(void 0,e):n}function s0(n,e){if(e===0)return n;var t;return function(r){clearTimeout(t),t=setTimeout(function(){n(r)},e)}}function Eb(n,e){var t=Object.assign({},n);return e.forEach(function(r){delete t[r]}),t}function Cb(n){return n.split(/\s+/).filter(Boolean)}function Bo(n){return[].concat(n)}function i0(n,e){n.indexOf(e)===-1&&n.push(e)}function Ab(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function bb(n){return n.split("-")[0]}function na(n){return[].slice.call(n)}function a0(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function Ls(){return document.createElement("div")}function Ds(n){return["Element","Fragment"].some(function(e){return iu(n,e)})}function wb(n){return iu(n,"NodeList")}function Tb(n){return iu(n,"MouseEvent")}function Sb(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function _b(n){return Ds(n)?[n]:wb(n)?na(n):Array.isArray(n)?n:na(document.querySelectorAll(n))}function au(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function l0(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function kb(n){var e,t=Bo(n),r=t[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function Nb(n,e){var t=e.clientX,r=e.clientY;return n.every(function(o){var s=o.popperRect,i=o.popperState,l=o.props,a=l.interactiveBorder,u=bb(i.placement),d=i.modifiersData.offset;if(!d)return!0;var f=u==="bottom"?d.top.y:0,h=u==="top"?d.bottom.y:0,p=u==="right"?d.left.x:0,m=u==="left"?d.right.x:0,g=s.top-r+f>a,y=r-s.bottom-h>a,C=s.left-t+p>a,b=t-s.right-m>a;return g||y||C||b})}function lu(n,e,t){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){n[r](o,t)})}function c0(n,e){for(var t=e;t;){var r;if(n.contains(t))return!0;t=t.getRootNode==null||(r=t.getRootNode())==null?void 0:r.host}return!1}var _n={isTouch:!1},u0=0;function Ib(){_n.isTouch||(_n.isTouch=!0,window.performance&&document.addEventListener("mousemove",d0))}function d0(){var n=performance.now();n-u0<20&&(_n.isTouch=!1,document.removeEventListener("mousemove",d0)),u0=n}function xb(){var n=document.activeElement;if(Sb(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function Mb(){document.addEventListener("touchstart",Ib,Xr),window.addEventListener("blur",xb)}var Ob=typeof window<"u"&&typeof document<"u",Lb=Ob?!!window.msCrypto:!1;function Po(n){var e=n==="destroy"?"n already-":" ";return[n+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function f0(n){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return n.replace(e," ").replace(t,"").trim()}function Db(n){return f0(`
153
+ `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var d={placement:hn(e.placement),variation:Do(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,F1(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,F1(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Xc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:BA,data:{}};var Xi={passive:!0};function PA(n){var e=n.state,t=n.instance,r=n.options,o=r.scroll,s=o===void 0?!0:o,i=r.resize,l=i===void 0?!0:i,a=Ht(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach(function(d){d.addEventListener("scroll",t.update,Xi)}),l&&a.addEventListener("resize",t.update,Xi),function(){s&&u.forEach(function(d){d.removeEventListener("scroll",t.update,Xi)}),l&&a.removeEventListener("resize",t.update,Xi)}}const qc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:PA,data:{}};var FA={left:"right",right:"left",bottom:"top",top:"bottom"};function qi(n){return n.replace(/left|right|bottom|top/g,function(e){return FA[e]})}var VA={start:"end",end:"start"};function V1(n){return n.replace(/start|end/g,function(e){return VA[e]})}function eu(n){var e=Ht(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function tu(n){return Lo(fr(n)).left+eu(n).scrollLeft}function $A(n,e){var t=Ht(n),r=fr(n),o=t.visualViewport,s=r.clientWidth,i=r.clientHeight,l=0,a=0;if(o){s=o.width,i=o.height;var u=M1();(u||!u&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:i,x:l+tu(n),y:a}}function zA(n){var e,t=fr(n),r=eu(n),o=(e=n.ownerDocument)==null?void 0:e.body,s=Zr(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Zr(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+tu(n),a=-r.scrollTop;return pn(o||t).direction==="rtl"&&(l+=Zr(t.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:l,y:a}}function nu(n){var e=pn(n),t=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+r)}function $1(n){return["html","body","#document"].indexOf(Sn(n))>=0?n.ownerDocument.body:jt(n)&&nu(n)?n:$1(Ji(n))}function Os(n,e){var t;e===void 0&&(e=[]);var r=$1(n),o=r===((t=n.ownerDocument)==null?void 0:t.body),s=Ht(r),i=o?[s].concat(s.visualViewport||[],nu(r)?r:[]):r,l=e.concat(i);return o?l:l.concat(Os(Ji(i)))}function ru(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function UA(n,e){var t=Lo(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function z1(n,e,t){return e===Wc?ru($A(n,t)):Qr(e)?UA(e,t):ru(zA(fr(n)))}function HA(n){var e=Os(Ji(n)),t=["absolute","fixed"].indexOf(pn(n).position)>=0,r=t&&jt(n)?xs(n):n;return Qr(r)?e.filter(function(o){return Qr(o)&&O1(o,r)&&Sn(o)!=="body"}):[]}function jA(n,e,t,r){var o=e==="clippingParents"?HA(n):[].concat(e),s=[].concat(o,[t]),i=s[0],l=s.reduce(function(a,u){var d=z1(n,u,r);return a.top=Zr(d.top,a.top),a.right=Zi(d.right,a.right),a.bottom=Zi(d.bottom,a.bottom),a.left=Zr(d.left,a.left),a},z1(n,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function U1(n){var e=n.reference,t=n.element,r=n.placement,o=r?hn(r):null,s=r?Do(r):null,i=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,a;switch(o){case kt:a={x:i,y:e.y-t.height};break;case zt:a={x:i,y:e.y+e.height};break;case Ut:a={x:e.x+e.width,y:l};break;case Nt:a={x:e.x-t.width,y:l};break;default:a={x:e.x,y:e.y}}var u=o?Jc(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(s){case Gr:a[u]=a[u]-(e[d]/2-t[d]/2);break;case xo:a[u]=a[u]+(e[d]/2-t[d]/2);break}}return a}function Ro(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=r===void 0?n.placement:r,s=t.strategy,i=s===void 0?n.strategy:s,l=t.boundary,a=l===void 0?C1:l,u=t.rootBoundary,d=u===void 0?Wc:u,f=t.elementContext,h=f===void 0?Mo:f,p=t.altBoundary,m=p===void 0?!1:p,g=t.padding,y=g===void 0?0:g,C=R1(typeof y!="number"?y:B1(y,Io)),b=h===Mo?A1:Mo,E=n.rects.popper,v=n.elements[m?b:h],N=jA(Qr(v)?v:v.contextElement||fr(n.elements.popper),a,d,i),w=Lo(n.elements.reference),x=U1({reference:w,element:E,strategy:"absolute",placement:o}),M=ru(Object.assign({},E,x)),L=h===Mo?M:w,$={top:N.top-L.top+C.top,bottom:L.bottom-N.bottom+C.bottom,left:N.left-L.left+C.left,right:L.right-N.right+C.right},V=n.modifiersData.offset;if(h===Mo&&V){var z=V[o];Object.keys($).forEach(function(G){var Y=[Ut,zt].indexOf(G)>=0?1:-1,K=[kt,zt].indexOf(G)>=0?"y":"x";$[G]+=z[K]*Y})}return $}function WA(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=t.boundary,s=t.rootBoundary,i=t.padding,l=t.flipVariations,a=t.allowedAutoPlacements,u=a===void 0?Yc:a,d=Do(r),f=d?l?Kc:Kc.filter(function(m){return Do(m)===d}):Io,h=f.filter(function(m){return u.indexOf(m)>=0});h.length===0&&(h=f,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=h.reduce(function(m,g){return m[g]=Ro(n,{placement:g,boundary:o,rootBoundary:s,padding:i})[hn(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function KA(n){if(hn(n)===Is)return[];var e=qi(n);return[V1(n),e,V1(e)]}function YA(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!0:i,a=t.fallbackPlacements,u=t.padding,d=t.boundary,f=t.rootBoundary,h=t.altBoundary,p=t.flipVariations,m=p===void 0?!0:p,g=t.allowedAutoPlacements,y=e.options.placement,C=hn(y),b=C===y,E=a||(b||!m?[qi(y)]:KA(y)),v=[y].concat(E).reduce(function(Se,ke){return Se.concat(hn(ke)===Is?WA(e,{placement:ke,boundary:d,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:g}):ke)},[]),N=e.rects.reference,w=e.rects.popper,x=new Map,M=!0,L=v[0],$=0;$<v.length;$++){var V=v[$],z=hn(V),G=Do(V)===Gr,Y=[kt,zt].indexOf(z)>=0,K=Y?"width":"height",W=Ro(e,{placement:V,boundary:d,rootBoundary:f,altBoundary:h,padding:u}),J=Y?G?Ut:Nt:G?zt:kt;N[K]>w[K]&&(J=qi(J));var U=qi(J),ee=[];if(s&&ee.push(W[z]<=0),l&&ee.push(W[J]<=0,W[U]<=0),ee.every(function(Se){return Se})){L=V,M=!1;break}x.set(V,ee)}if(M)for(var re=m?3:1,ue=function(ke){var xe=v.find(function(Ae){var D=x.get(Ae);if(D)return D.slice(0,ke).every(function(B){return B})});if(xe)return L=xe,"break"},ge=re;ge>0;ge--){var Ee=ue(ge);if(Ee==="break")break}e.placement!==L&&(e.modifiersData[r]._skip=!0,e.placement=L,e.reset=!0)}}const H1={name:"flip",enabled:!0,phase:"main",fn:YA,requiresIfExists:["offset"],data:{_skip:!1}};function j1(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function W1(n){return[kt,Ut,zt,Nt].some(function(e){return n[e]>=0})}function GA(n){var e=n.state,t=n.name,r=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,i=Ro(e,{elementContext:"reference"}),l=Ro(e,{altBoundary:!0}),a=j1(i,r),u=j1(l,o,s),d=W1(a),f=W1(u);e.modifiersData[t]={referenceClippingOffsets:a,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const K1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:GA};function QA(n,e,t){var r=hn(n),o=[Nt,kt].indexOf(r)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,i=s[0],l=s[1];return i=i||0,l=(l||0)*o,[Nt,Ut].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}function ZA(n){var e=n.state,t=n.options,r=n.name,o=t.offset,s=o===void 0?[0,0]:o,i=Yc.reduce(function(d,f){return d[f]=QA(f,e.rects,s),d},{}),l=i[e.placement],a=l.x,u=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=i}const Y1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ZA};function JA(n){var e=n.state,t=n.name;e.modifiersData[t]=U1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ou={name:"popperOffsets",enabled:!0,phase:"read",fn:JA,data:{}};function XA(n){return n==="x"?"y":"x"}function qA(n){var e=n.state,t=n.options,r=n.name,o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!1:i,a=t.boundary,u=t.rootBoundary,d=t.altBoundary,f=t.padding,h=t.tether,p=h===void 0?!0:h,m=t.tetherOffset,g=m===void 0?0:m,y=Ro(e,{boundary:a,rootBoundary:u,padding:f,altBoundary:d}),C=hn(e.placement),b=Do(e.placement),E=!b,v=Jc(C),N=XA(v),w=e.modifiersData.popperOffsets,x=e.rects.reference,M=e.rects.popper,L=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,$=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,z={x:0,y:0};if(w){if(s){var G,Y=v==="y"?kt:Nt,K=v==="y"?zt:Ut,W=v==="y"?"height":"width",J=w[v],U=J+y[Y],ee=J-y[K],re=p?-M[W]/2:0,ue=b===Gr?x[W]:M[W],ge=b===Gr?-M[W]:-x[W],Ee=e.elements.arrow,Se=p&&Ee?Zc(Ee):{width:0,height:0},ke=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:D1(),xe=ke[Y],Ae=ke[K],D=Ms(0,x[W],Se[W]),B=E?x[W]/2-re-D-xe-$.mainAxis:ue-D-xe-$.mainAxis,I=E?-x[W]/2+re+D+Ae+$.mainAxis:ge+D+Ae+$.mainAxis,R=e.elements.arrow&&xs(e.elements.arrow),A=R?v==="y"?R.clientTop||0:R.clientLeft||0:0,T=(G=V==null?void 0:V[v])!=null?G:0,k=J+B-T-A,O=J+I-T,H=Ms(p?Zi(U,k):U,J,p?Zr(ee,O):ee);w[v]=H,z[v]=H-J}if(l){var j,Z=v==="x"?kt:Nt,X=v==="x"?zt:Ut,S=w[N],_=N==="y"?"height":"width",F=S+y[Z],Q=S-y[X],ae=[kt,Nt].indexOf(C)!==-1,pe=(j=V==null?void 0:V[N])!=null?j:0,Te=ae?F:S-x[_]-M[_]-pe+$.altAxis,q=ae?S+x[_]+M[_]-pe-$.altAxis:Q,ie=p&&ae?xA(Te,S,q):Ms(p?Te:F,S,p?q:Q);w[N]=ie,z[N]=ie-S}e.modifiersData[r]=z}}const G1={name:"preventOverflow",enabled:!0,phase:"main",fn:qA,requiresIfExists:["offset"]};function eb(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function tb(n){return n===Ht(n)||!jt(n)?eu(n):eb(n)}function nb(n){var e=n.getBoundingClientRect(),t=Oo(e.width)/n.offsetWidth||1,r=Oo(e.height)/n.offsetHeight||1;return t!==1||r!==1}function rb(n,e,t){t===void 0&&(t=!1);var r=jt(e),o=jt(e)&&nb(e),s=fr(e),i=Lo(n,o,t),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!t)&&((Sn(e)!=="body"||nu(s))&&(l=tb(e)),jt(e)?(a=Lo(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):s&&(a.x=tu(s))),{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function ob(n){var e=new Map,t=new Set,r=[];n.forEach(function(s){e.set(s.name,s)});function o(s){t.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!t.has(l)){var a=e.get(l);a&&o(a)}}),r.push(s)}return n.forEach(function(s){t.has(s.name)||o(s)}),r}function sb(n){var e=ob(n);return Gi.reduce(function(t,r){return t.concat(e.filter(function(o){return o.phase===r}))},[])}function ib(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function hr(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return[].concat(t).reduce(function(o,s){return o.replace(/%s/,s)},n)}var Jr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',ab='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Q1=["name","enabled","phase","fn","effect","requires","options"];function lb(n){n.forEach(function(e){[].concat(Object.keys(e),Q1).filter(function(t,r,o){return o.indexOf(t)===r}).forEach(function(t){switch(t){case"name":typeof e.name!="string"&&console.error(hr(Jr,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(hr(Jr,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Gi.indexOf(e.phase)<0&&console.error(hr(Jr,e.name,'"phase"',"either "+Gi.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(hr(Jr,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(hr(Jr,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(hr(Jr,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(hr(Jr,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+Q1.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+t+'" was provided.')}e.requires&&e.requires.forEach(function(r){n.find(function(o){return o.name===r})==null&&console.error(hr(ab,String(e.name),r,r))})})})}function cb(n,e){var t=new Set;return n.filter(function(r){var o=e(r);if(!t.has(o))return t.add(o),!0})}function ub(n){var e=n.reduce(function(t,r){var o=t[r.name];return t[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,t},{});return Object.keys(e).map(function(t){return e[t]})}var Z1="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",db="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",J1={placement:"bottom",modifiers:[],strategy:"absolute"};function X1(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function ea(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,r=t===void 0?[]:t,o=e.defaultOptions,s=o===void 0?J1:o;return function(l,a,u){u===void 0&&(u=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},J1,s),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},f=[],h=!1,p={state:d,setOptions:function(C){var b=typeof C=="function"?C(d.options):C;g(),d.options=Object.assign({},s,d.options,b),d.scrollParents={reference:Qr(l)?Os(l):l.contextElement?Os(l.contextElement):[],popper:Os(a)};var E=sb(ub([].concat(r,d.options.modifiers)));if(d.orderedModifiers=E.filter(function(V){return V.enabled}),process.env.NODE_ENV!=="production"){var v=cb([].concat(E,d.options.modifiers),function(V){var z=V.name;return z});if(lb(v),hn(d.options.placement)===Is){var N=d.orderedModifiers.find(function(V){var z=V.name;return z==="flip"});N||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var w=pn(a),x=w.marginTop,M=w.marginRight,L=w.marginBottom,$=w.marginLeft;[x,M,L,$].some(function(V){return parseFloat(V)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return m(),p.update()},forceUpdate:function(){if(!h){var C=d.elements,b=C.reference,E=C.popper;if(!X1(b,E)){process.env.NODE_ENV!=="production"&&console.error(Z1);return}d.rects={reference:rb(b,xs(E),d.options.strategy==="fixed"),popper:Zc(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(V){return d.modifiersData[V.name]=Object.assign({},V.data)});for(var v=0,N=0;N<d.orderedModifiers.length;N++){if(process.env.NODE_ENV!=="production"&&(v+=1,v>100)){console.error(db);break}if(d.reset===!0){d.reset=!1,N=-1;continue}var w=d.orderedModifiers[N],x=w.fn,M=w.options,L=M===void 0?{}:M,$=w.name;typeof x=="function"&&(d=x({state:d,options:L,name:$,instance:p})||d)}}},update:ib(function(){return new Promise(function(y){p.forceUpdate(),y(d)})}),destroy:function(){g(),h=!0}};if(!X1(l,a))return process.env.NODE_ENV!=="production"&&console.error(Z1),p;p.setOptions(u).then(function(y){!h&&u.onFirstUpdate&&u.onFirstUpdate(y)});function m(){d.orderedModifiers.forEach(function(y){var C=y.name,b=y.options,E=b===void 0?{}:b,v=y.effect;if(typeof v=="function"){var N=v({state:d,name:C,instance:p,options:E}),w=function(){};f.push(N||w)}})}function g(){f.forEach(function(y){return y()}),f=[]}return p}}var fb=ea(),hb=[qc,ou,Xc,Qi],pb=ea({defaultModifiers:hb}),mb=[qc,ou,Xc,Qi,Y1,H1,G1,P1,K1],ta=ea({defaultModifiers:mb});const q1=Object.freeze(Object.defineProperty({__proto__:null,afterMain:k1,afterRead:T1,afterWrite:x1,applyStyles:Qi,arrow:P1,auto:Is,basePlacements:Io,beforeMain:S1,beforeRead:b1,beforeWrite:N1,bottom:zt,clippingParents:C1,computeStyles:Xc,createPopper:ta,createPopperBase:fb,createPopperLite:pb,detectOverflow:Ro,end:xo,eventListeners:qc,flip:H1,hide:K1,left:Nt,main:_1,modifierPhases:Gi,offset:Y1,placements:Yc,popper:Mo,popperGenerator:ea,popperOffsets:ou,preventOverflow:G1,read:w1,reference:A1,right:Ut,start:Gr,top:kt,variationPlacements:Kc,viewport:Wc,write:I1},Symbol.toStringTag,{value:"Module"}));var gb="tippy-box",em="tippy-content",yb="tippy-backdrop",tm="tippy-arrow",nm="tippy-svg-arrow",Xr={passive:!0,capture:!0},rm=function(){return document.body};function vb(n,e){return{}.hasOwnProperty.call(n,e)}function su(n,e,t){if(Array.isArray(n)){var r=n[e];return r??(Array.isArray(t)?t[e]:t)}return n}function iu(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function om(n,e){return typeof n=="function"?n.apply(void 0,e):n}function sm(n,e){if(e===0)return n;var t;return function(r){clearTimeout(t),t=setTimeout(function(){n(r)},e)}}function Eb(n,e){var t=Object.assign({},n);return e.forEach(function(r){delete t[r]}),t}function Cb(n){return n.split(/\s+/).filter(Boolean)}function Bo(n){return[].concat(n)}function im(n,e){n.indexOf(e)===-1&&n.push(e)}function Ab(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function bb(n){return n.split("-")[0]}function na(n){return[].slice.call(n)}function am(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function Ls(){return document.createElement("div")}function Ds(n){return["Element","Fragment"].some(function(e){return iu(n,e)})}function wb(n){return iu(n,"NodeList")}function Tb(n){return iu(n,"MouseEvent")}function Sb(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function _b(n){return Ds(n)?[n]:wb(n)?na(n):Array.isArray(n)?n:na(document.querySelectorAll(n))}function au(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function lm(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function kb(n){var e,t=Bo(n),r=t[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function Nb(n,e){var t=e.clientX,r=e.clientY;return n.every(function(o){var s=o.popperRect,i=o.popperState,l=o.props,a=l.interactiveBorder,u=bb(i.placement),d=i.modifiersData.offset;if(!d)return!0;var f=u==="bottom"?d.top.y:0,h=u==="top"?d.bottom.y:0,p=u==="right"?d.left.x:0,m=u==="left"?d.right.x:0,g=s.top-r+f>a,y=r-s.bottom-h>a,C=s.left-t+p>a,b=t-s.right-m>a;return g||y||C||b})}function lu(n,e,t){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){n[r](o,t)})}function cm(n,e){for(var t=e;t;){var r;if(n.contains(t))return!0;t=t.getRootNode==null||(r=t.getRootNode())==null?void 0:r.host}return!1}var _n={isTouch:!1},um=0;function Ib(){_n.isTouch||(_n.isTouch=!0,window.performance&&document.addEventListener("mousemove",dm))}function dm(){var n=performance.now();n-um<20&&(_n.isTouch=!1,document.removeEventListener("mousemove",dm)),um=n}function xb(){var n=document.activeElement;if(Sb(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function Mb(){document.addEventListener("touchstart",Ib,Xr),window.addEventListener("blur",xb)}var Ob=typeof window<"u"&&typeof document<"u",Lb=Ob?!!window.msCrypto:!1;function Po(n){var e=n==="destroy"?"n already-":" ";return[n+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function fm(n){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return n.replace(e," ").replace(t,"").trim()}function Db(n){return fm(`
154
154
  %ctippy.js
155
155
 
156
- %c`+f0(n)+`
156
+ %c`+fm(n)+`
157
157
 
158
158
  %c👷‍ This is a development-only message. It will be removed in production.
159
- `)}function h0(n){return[Db(n),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Rs;process.env.NODE_ENV!=="production"&&Rb();function Rb(){Rs=new Set}function $n(n,e){if(n&&!Rs.has(e)){var t;Rs.add(e),(t=console).warn.apply(t,h0(e))}}function cu(n,e){if(n&&!Rs.has(e)){var t;Rs.add(e),(t=console).error.apply(t,h0(e))}}function Bb(n){var e=!n,t=Object.prototype.toString.call(n)==="[object Object]"&&!n.addEventListener;cu(e,["tippy() was passed","`"+String(n)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),cu(t,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var p0={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Pb={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Wt=Object.assign({appendTo:r0,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},p0,Pb),Fb=Object.keys(Wt),Vb=function(e){process.env.NODE_ENV!=="production"&&y0(e,[]);var t=Object.keys(e);t.forEach(function(r){Wt[r]=e[r]})};function m0(n){var e=n.plugins||[],t=e.reduce(function(r,o){var s=o.name,i=o.defaultValue;if(s){var l;r[s]=n[s]!==void 0?n[s]:(l=Wt[s])!=null?l:i}return r},{});return Object.assign({},n,t)}function $b(n,e){var t=e?Object.keys(m0(Object.assign({},Wt,{plugins:e}))):Fb,r=t.reduce(function(o,s){var i=(n.getAttribute("data-tippy-"+s)||"").trim();if(!i)return o;if(s==="content")o[s]=i;else try{o[s]=JSON.parse(i)}catch{o[s]=i}return o},{});return r}function g0(n,e){var t=Object.assign({},e,{content:o0(e.content,[n])},e.ignoreAttributes?{}:$b(n,e.plugins));return t.aria=Object.assign({},Wt.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}function y0(n,e){n===void 0&&(n={}),e===void 0&&(e=[]);var t=Object.keys(n);t.forEach(function(r){var o=Eb(Wt,Object.keys(p0)),s=!vb(o,r);s&&(s=e.filter(function(i){return i.name===r}).length===0),$n(s,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
159
+ `)}function hm(n){return[Db(n),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Rs;process.env.NODE_ENV!=="production"&&Rb();function Rb(){Rs=new Set}function $n(n,e){if(n&&!Rs.has(e)){var t;Rs.add(e),(t=console).warn.apply(t,hm(e))}}function cu(n,e){if(n&&!Rs.has(e)){var t;Rs.add(e),(t=console).error.apply(t,hm(e))}}function Bb(n){var e=!n,t=Object.prototype.toString.call(n)==="[object Object]"&&!n.addEventListener;cu(e,["tippy() was passed","`"+String(n)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),cu(t,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var pm={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Pb={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Wt=Object.assign({appendTo:rm,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},pm,Pb),Fb=Object.keys(Wt),Vb=function(e){process.env.NODE_ENV!=="production"&&ym(e,[]);var t=Object.keys(e);t.forEach(function(r){Wt[r]=e[r]})};function mm(n){var e=n.plugins||[],t=e.reduce(function(r,o){var s=o.name,i=o.defaultValue;if(s){var l;r[s]=n[s]!==void 0?n[s]:(l=Wt[s])!=null?l:i}return r},{});return Object.assign({},n,t)}function $b(n,e){var t=e?Object.keys(mm(Object.assign({},Wt,{plugins:e}))):Fb,r=t.reduce(function(o,s){var i=(n.getAttribute("data-tippy-"+s)||"").trim();if(!i)return o;if(s==="content")o[s]=i;else try{o[s]=JSON.parse(i)}catch{o[s]=i}return o},{});return r}function gm(n,e){var t=Object.assign({},e,{content:om(e.content,[n])},e.ignoreAttributes?{}:$b(n,e.plugins));return t.aria=Object.assign({},Wt.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}function ym(n,e){n===void 0&&(n={}),e===void 0&&(e=[]);var t=Object.keys(n);t.forEach(function(r){var o=Eb(Wt,Object.keys(pm)),s=!vb(o,r);s&&(s=e.filter(function(i){return i.name===r}).length===0),$n(s,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
160
160
 
161
161
  `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
162
- `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var zb=function(){return"innerHTML"};function uu(n,e){n[zb()]=e}function v0(n){var e=Ls();return n===!0?e.className=t0:(e.className=n0,Ds(n)?e.appendChild(n):uu(e,n)),e}function E0(n,e){Ds(e.content)?(uu(n,""),n.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?uu(n,e.content):n.textContent=e.content)}function du(n){var e=n.firstElementChild,t=na(e.children);return{box:e,content:t.find(function(r){return r.classList.contains(e0)}),arrow:t.find(function(r){return r.classList.contains(t0)||r.classList.contains(n0)}),backdrop:t.find(function(r){return r.classList.contains(yb)})}}function C0(n){var e=Ls(),t=Ls();t.className=gb,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var r=Ls();r.className=e0,r.setAttribute("data-state","hidden"),E0(r,n.props),e.appendChild(t),t.appendChild(r),o(n.props,n.props);function o(s,i){var l=du(e),a=l.box,u=l.content,d=l.arrow;i.theme?a.setAttribute("data-theme",i.theme):a.removeAttribute("data-theme"),typeof i.animation=="string"?a.setAttribute("data-animation",i.animation):a.removeAttribute("data-animation"),i.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth=typeof i.maxWidth=="number"?i.maxWidth+"px":i.maxWidth,i.role?a.setAttribute("role",i.role):a.removeAttribute("role"),(s.content!==i.content||s.allowHTML!==i.allowHTML)&&E0(u,n.props),i.arrow?d?s.arrow!==i.arrow&&(a.removeChild(d),a.appendChild(v0(i.arrow))):a.appendChild(v0(i.arrow)):d&&a.removeChild(d)}return{popper:e,onUpdate:o}}C0.$$tippy=!0;var Ub=1,ra=[],fu=[];function Hb(n,e){var t=g0(n,Object.assign({},Wt,m0(a0(e)))),r,o,s,i=!1,l=!1,a=!1,u=!1,d,f,h,p=[],m=s0(k,t.interactiveDebounce),g,y=Ub++,C=null,b=Ab(t.plugins),E={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},v={id:y,reference:n,popper:Ls(),popperInstance:C,props:t,state:E,plugins:b,clearDelayTimeouts:Te,setProps:q,setContent:ie,show:be,hide:Pe,hideWithInteractivity:qe,enable:ae,disable:pe,unmount:nt,destroy:Mt};if(!t.render)return process.env.NODE_ENV!=="production"&&cu(!0,"render() function has not been supplied."),v;var N=t.render(v),w=N.popper,x=N.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+v.id,v.popper=w,n._tippy=v,w._tippy=v;var M=b.map(function(te){return te.fn(v)}),L=n.hasAttribute("aria-expanded");return R(),re(),J(),U("onCreate",[v]),t.showOnCreate&&F(),w.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&Y().addEventListener("mousemove",m)}),v;function $(){var te=v.props.touch;return Array.isArray(te)?te:[te,0]}function V(){return $()[0]==="hold"}function z(){var te;return!!((te=v.props.render)!=null&&te.$$tippy)}function G(){return g||n}function Y(){var te=G().parentNode;return te?kb(te):document}function K(){return du(w)}function W(te){return v.state.isMounted&&!v.state.isVisible||_n.isTouch||d&&d.type==="focus"?0:su(v.props.delay,te?0:1,Wt.delay)}function J(te){te===void 0&&(te=!1),w.style.pointerEvents=v.props.interactive&&!te?"":"none",w.style.zIndex=""+v.props.zIndex}function U(te,ye,me){if(me===void 0&&(me=!0),M.forEach(function(Re){Re[te]&&Re[te].apply(Re,ye)}),me){var Oe;(Oe=v.props)[te].apply(Oe,ye)}}function ee(){var te=v.props.aria;if(te.content){var ye="aria-"+te.content,me=w.id,Oe=Bo(v.props.triggerTarget||n);Oe.forEach(function(Re){var et=Re.getAttribute(ye);if(v.state.isVisible)Re.setAttribute(ye,et?et+" "+me:me);else{var rt=et&&et.replace(me,"").trim();rt?Re.setAttribute(ye,rt):Re.removeAttribute(ye)}})}}function re(){if(!(L||!v.props.aria.expanded)){var te=Bo(v.props.triggerTarget||n);te.forEach(function(ye){v.props.interactive?ye.setAttribute("aria-expanded",v.state.isVisible&&ye===G()?"true":"false"):ye.removeAttribute("aria-expanded")})}}function ue(){Y().removeEventListener("mousemove",m),ra=ra.filter(function(te){return te!==m})}function ge(te){if(!(_n.isTouch&&(a||te.type==="mousedown"))){var ye=te.composedPath&&te.composedPath()[0]||te.target;if(!(v.props.interactive&&c0(w,ye))){if(Bo(v.props.triggerTarget||n).some(function(me){return c0(me,ye)})){if(_n.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else U("onClickOutside",[v,te]);v.props.hideOnClick===!0&&(v.clearDelayTimeouts(),v.hide(),l=!0,setTimeout(function(){l=!1}),v.state.isMounted||xe())}}}function Ee(){a=!0}function Se(){a=!1}function ke(){var te=Y();te.addEventListener("mousedown",ge,!0),te.addEventListener("touchend",ge,Xr),te.addEventListener("touchstart",Se,Xr),te.addEventListener("touchmove",Ee,Xr)}function xe(){var te=Y();te.removeEventListener("mousedown",ge,!0),te.removeEventListener("touchend",ge,Xr),te.removeEventListener("touchstart",Se,Xr),te.removeEventListener("touchmove",Ee,Xr)}function Ae(te,ye){B(te,function(){!v.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&ye()})}function D(te,ye){B(te,ye)}function B(te,ye){var me=K().box;function Oe(Re){Re.target===me&&(lu(me,"remove",Oe),ye())}if(te===0)return ye();lu(me,"remove",f),lu(me,"add",Oe),f=Oe}function I(te,ye,me){me===void 0&&(me=!1);var Oe=Bo(v.props.triggerTarget||n);Oe.forEach(function(Re){Re.addEventListener(te,ye,me),p.push({node:Re,eventType:te,handler:ye,options:me})})}function R(){V()&&(I("touchstart",T,{passive:!0}),I("touchend",O,{passive:!0})),Cb(v.props.trigger).forEach(function(te){if(te!=="manual")switch(I(te,T),te){case"mouseenter":I("mouseleave",O);break;case"focus":I(Lb?"focusout":"blur",H);break;case"focusin":I("focusout",H);break}})}function A(){p.forEach(function(te){var ye=te.node,me=te.eventType,Oe=te.handler,Re=te.options;ye.removeEventListener(me,Oe,Re)}),p=[]}function T(te){var ye,me=!1;if(!(!v.state.isEnabled||j(te)||l)){var Oe=((ye=d)==null?void 0:ye.type)==="focus";d=te,g=te.currentTarget,re(),!v.state.isVisible&&Tb(te)&&ra.forEach(function(Re){return Re(te)}),te.type==="click"&&(v.props.trigger.indexOf("mouseenter")<0||i)&&v.props.hideOnClick!==!1&&v.state.isVisible?me=!0:F(te),te.type==="click"&&(i=!me),me&&!Oe&&Q(te)}}function k(te){var ye=te.target,me=G().contains(ye)||w.contains(ye);if(!(te.type==="mousemove"&&me)){var Oe=_().concat(w).map(function(Re){var et,rt=Re._tippy,Ot=(et=rt.popperInstance)==null?void 0:et.state;return Ot?{popperRect:Re.getBoundingClientRect(),popperState:Ot,props:t}:null}).filter(Boolean);Nb(Oe,te)&&(ue(),Q(te))}}function O(te){var ye=j(te)||v.props.trigger.indexOf("click")>=0&&i;if(!ye){if(v.props.interactive){v.hideWithInteractivity(te);return}Q(te)}}function H(te){v.props.trigger.indexOf("focusin")<0&&te.target!==G()||v.props.interactive&&te.relatedTarget&&w.contains(te.relatedTarget)||Q(te)}function j(te){return _n.isTouch?V()!==te.type.indexOf("touch")>=0:!1}function Z(){X();var te=v.props,ye=te.popperOptions,me=te.placement,Oe=te.offset,Re=te.getReferenceClientRect,et=te.moveTransition,rt=z()?du(w).arrow:null,Ot=Re?{getBoundingClientRect:Re,contextElement:Re.contextElement||G()}:n,Lt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Nr){var Yt=Nr.state;if(z()){var on=K(),rs=on.box;["placement","reference-hidden","escaped"].forEach(function(sn){sn==="placement"?rs.setAttribute("data-placement",Yt.placement):Yt.attributes.popper["data-popper-"+sn]?rs.setAttribute("data-"+sn,""):rs.removeAttribute("data-"+sn)}),Yt.attributes.popper={}}}},gt=[{name:"offset",options:{offset:Oe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!et}},Lt];z()&&rt&&gt.push({name:"arrow",options:{element:rt,padding:3}}),gt.push.apply(gt,(ye==null?void 0:ye.modifiers)||[]),v.popperInstance=ta(Ot,w,Object.assign({},ye,{placement:me,onFirstUpdate:h,modifiers:gt}))}function X(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function S(){var te=v.props.appendTo,ye,me=G();v.props.interactive&&te===r0||te==="parent"?ye=me.parentNode:ye=o0(te,[me]),ye.contains(w)||ye.appendChild(w),v.state.isMounted=!0,Z(),process.env.NODE_ENV!=="production"&&$n(v.props.interactive&&te===Wt.appendTo&&me.nextElementSibling!==w,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
162
+ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var zb=function(){return"innerHTML"};function uu(n,e){n[zb()]=e}function vm(n){var e=Ls();return n===!0?e.className=tm:(e.className=nm,Ds(n)?e.appendChild(n):uu(e,n)),e}function Em(n,e){Ds(e.content)?(uu(n,""),n.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?uu(n,e.content):n.textContent=e.content)}function du(n){var e=n.firstElementChild,t=na(e.children);return{box:e,content:t.find(function(r){return r.classList.contains(em)}),arrow:t.find(function(r){return r.classList.contains(tm)||r.classList.contains(nm)}),backdrop:t.find(function(r){return r.classList.contains(yb)})}}function Cm(n){var e=Ls(),t=Ls();t.className=gb,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var r=Ls();r.className=em,r.setAttribute("data-state","hidden"),Em(r,n.props),e.appendChild(t),t.appendChild(r),o(n.props,n.props);function o(s,i){var l=du(e),a=l.box,u=l.content,d=l.arrow;i.theme?a.setAttribute("data-theme",i.theme):a.removeAttribute("data-theme"),typeof i.animation=="string"?a.setAttribute("data-animation",i.animation):a.removeAttribute("data-animation"),i.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth=typeof i.maxWidth=="number"?i.maxWidth+"px":i.maxWidth,i.role?a.setAttribute("role",i.role):a.removeAttribute("role"),(s.content!==i.content||s.allowHTML!==i.allowHTML)&&Em(u,n.props),i.arrow?d?s.arrow!==i.arrow&&(a.removeChild(d),a.appendChild(vm(i.arrow))):a.appendChild(vm(i.arrow)):d&&a.removeChild(d)}return{popper:e,onUpdate:o}}Cm.$$tippy=!0;var Ub=1,ra=[],fu=[];function Hb(n,e){var t=gm(n,Object.assign({},Wt,mm(am(e)))),r,o,s,i=!1,l=!1,a=!1,u=!1,d,f,h,p=[],m=sm(k,t.interactiveDebounce),g,y=Ub++,C=null,b=Ab(t.plugins),E={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},v={id:y,reference:n,popper:Ls(),popperInstance:C,props:t,state:E,plugins:b,clearDelayTimeouts:Te,setProps:q,setContent:ie,show:be,hide:Pe,hideWithInteractivity:qe,enable:ae,disable:pe,unmount:nt,destroy:Mt};if(!t.render)return process.env.NODE_ENV!=="production"&&cu(!0,"render() function has not been supplied."),v;var N=t.render(v),w=N.popper,x=N.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+v.id,v.popper=w,n._tippy=v,w._tippy=v;var M=b.map(function(te){return te.fn(v)}),L=n.hasAttribute("aria-expanded");return R(),re(),J(),U("onCreate",[v]),t.showOnCreate&&F(),w.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&Y().addEventListener("mousemove",m)}),v;function $(){var te=v.props.touch;return Array.isArray(te)?te:[te,0]}function V(){return $()[0]==="hold"}function z(){var te;return!!((te=v.props.render)!=null&&te.$$tippy)}function G(){return g||n}function Y(){var te=G().parentNode;return te?kb(te):document}function K(){return du(w)}function W(te){return v.state.isMounted&&!v.state.isVisible||_n.isTouch||d&&d.type==="focus"?0:su(v.props.delay,te?0:1,Wt.delay)}function J(te){te===void 0&&(te=!1),w.style.pointerEvents=v.props.interactive&&!te?"":"none",w.style.zIndex=""+v.props.zIndex}function U(te,ye,me){if(me===void 0&&(me=!0),M.forEach(function(Re){Re[te]&&Re[te].apply(Re,ye)}),me){var Oe;(Oe=v.props)[te].apply(Oe,ye)}}function ee(){var te=v.props.aria;if(te.content){var ye="aria-"+te.content,me=w.id,Oe=Bo(v.props.triggerTarget||n);Oe.forEach(function(Re){var et=Re.getAttribute(ye);if(v.state.isVisible)Re.setAttribute(ye,et?et+" "+me:me);else{var rt=et&&et.replace(me,"").trim();rt?Re.setAttribute(ye,rt):Re.removeAttribute(ye)}})}}function re(){if(!(L||!v.props.aria.expanded)){var te=Bo(v.props.triggerTarget||n);te.forEach(function(ye){v.props.interactive?ye.setAttribute("aria-expanded",v.state.isVisible&&ye===G()?"true":"false"):ye.removeAttribute("aria-expanded")})}}function ue(){Y().removeEventListener("mousemove",m),ra=ra.filter(function(te){return te!==m})}function ge(te){if(!(_n.isTouch&&(a||te.type==="mousedown"))){var ye=te.composedPath&&te.composedPath()[0]||te.target;if(!(v.props.interactive&&cm(w,ye))){if(Bo(v.props.triggerTarget||n).some(function(me){return cm(me,ye)})){if(_n.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else U("onClickOutside",[v,te]);v.props.hideOnClick===!0&&(v.clearDelayTimeouts(),v.hide(),l=!0,setTimeout(function(){l=!1}),v.state.isMounted||xe())}}}function Ee(){a=!0}function Se(){a=!1}function ke(){var te=Y();te.addEventListener("mousedown",ge,!0),te.addEventListener("touchend",ge,Xr),te.addEventListener("touchstart",Se,Xr),te.addEventListener("touchmove",Ee,Xr)}function xe(){var te=Y();te.removeEventListener("mousedown",ge,!0),te.removeEventListener("touchend",ge,Xr),te.removeEventListener("touchstart",Se,Xr),te.removeEventListener("touchmove",Ee,Xr)}function Ae(te,ye){B(te,function(){!v.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&ye()})}function D(te,ye){B(te,ye)}function B(te,ye){var me=K().box;function Oe(Re){Re.target===me&&(lu(me,"remove",Oe),ye())}if(te===0)return ye();lu(me,"remove",f),lu(me,"add",Oe),f=Oe}function I(te,ye,me){me===void 0&&(me=!1);var Oe=Bo(v.props.triggerTarget||n);Oe.forEach(function(Re){Re.addEventListener(te,ye,me),p.push({node:Re,eventType:te,handler:ye,options:me})})}function R(){V()&&(I("touchstart",T,{passive:!0}),I("touchend",O,{passive:!0})),Cb(v.props.trigger).forEach(function(te){if(te!=="manual")switch(I(te,T),te){case"mouseenter":I("mouseleave",O);break;case"focus":I(Lb?"focusout":"blur",H);break;case"focusin":I("focusout",H);break}})}function A(){p.forEach(function(te){var ye=te.node,me=te.eventType,Oe=te.handler,Re=te.options;ye.removeEventListener(me,Oe,Re)}),p=[]}function T(te){var ye,me=!1;if(!(!v.state.isEnabled||j(te)||l)){var Oe=((ye=d)==null?void 0:ye.type)==="focus";d=te,g=te.currentTarget,re(),!v.state.isVisible&&Tb(te)&&ra.forEach(function(Re){return Re(te)}),te.type==="click"&&(v.props.trigger.indexOf("mouseenter")<0||i)&&v.props.hideOnClick!==!1&&v.state.isVisible?me=!0:F(te),te.type==="click"&&(i=!me),me&&!Oe&&Q(te)}}function k(te){var ye=te.target,me=G().contains(ye)||w.contains(ye);if(!(te.type==="mousemove"&&me)){var Oe=_().concat(w).map(function(Re){var et,rt=Re._tippy,Ot=(et=rt.popperInstance)==null?void 0:et.state;return Ot?{popperRect:Re.getBoundingClientRect(),popperState:Ot,props:t}:null}).filter(Boolean);Nb(Oe,te)&&(ue(),Q(te))}}function O(te){var ye=j(te)||v.props.trigger.indexOf("click")>=0&&i;if(!ye){if(v.props.interactive){v.hideWithInteractivity(te);return}Q(te)}}function H(te){v.props.trigger.indexOf("focusin")<0&&te.target!==G()||v.props.interactive&&te.relatedTarget&&w.contains(te.relatedTarget)||Q(te)}function j(te){return _n.isTouch?V()!==te.type.indexOf("touch")>=0:!1}function Z(){X();var te=v.props,ye=te.popperOptions,me=te.placement,Oe=te.offset,Re=te.getReferenceClientRect,et=te.moveTransition,rt=z()?du(w).arrow:null,Ot=Re?{getBoundingClientRect:Re,contextElement:Re.contextElement||G()}:n,Lt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Nr){var Yt=Nr.state;if(z()){var on=K(),rs=on.box;["placement","reference-hidden","escaped"].forEach(function(sn){sn==="placement"?rs.setAttribute("data-placement",Yt.placement):Yt.attributes.popper["data-popper-"+sn]?rs.setAttribute("data-"+sn,""):rs.removeAttribute("data-"+sn)}),Yt.attributes.popper={}}}},gt=[{name:"offset",options:{offset:Oe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!et}},Lt];z()&&rt&&gt.push({name:"arrow",options:{element:rt,padding:3}}),gt.push.apply(gt,(ye==null?void 0:ye.modifiers)||[]),v.popperInstance=ta(Ot,w,Object.assign({},ye,{placement:me,onFirstUpdate:h,modifiers:gt}))}function X(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function S(){var te=v.props.appendTo,ye,me=G();v.props.interactive&&te===rm||te==="parent"?ye=me.parentNode:ye=om(te,[me]),ye.contains(w)||ye.appendChild(w),v.state.isMounted=!0,Z(),process.env.NODE_ENV!=="production"&&$n(v.props.interactive&&te===Wt.appendTo&&me.nextElementSibling!==w,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
163
163
 
164
164
  `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
165
165
 
166
166
  `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
167
167
 
168
- `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function _(){return na(w.querySelectorAll("[data-tippy-root]"))}function F(te){v.clearDelayTimeouts(),te&&U("onTrigger",[v,te]),ke();var ye=W(!0),me=$(),Oe=me[0],Re=me[1];_n.isTouch&&Oe==="hold"&&Re&&(ye=Re),ye?r=setTimeout(function(){v.show()},ye):v.show()}function Q(te){if(v.clearDelayTimeouts(),U("onUntrigger",[v,te]),!v.state.isVisible){xe();return}if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(te.type)>=0&&i)){var ye=W(!1);ye?o=setTimeout(function(){v.state.isVisible&&v.hide()},ye):s=requestAnimationFrame(function(){v.hide()})}}function ae(){v.state.isEnabled=!0}function pe(){v.hide(),v.state.isEnabled=!1}function Te(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(s)}function q(te){if(process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("setProps")),!v.state.isDestroyed){U("onBeforeUpdate",[v,te]),A();var ye=v.props,me=g0(n,Object.assign({},ye,a0(te),{ignoreAttributes:!0}));v.props=me,R(),ye.interactiveDebounce!==me.interactiveDebounce&&(ue(),m=s0(k,me.interactiveDebounce)),ye.triggerTarget&&!me.triggerTarget?Bo(ye.triggerTarget).forEach(function(Oe){Oe.removeAttribute("aria-expanded")}):me.triggerTarget&&n.removeAttribute("aria-expanded"),re(),J(),x&&x(ye,me),v.popperInstance&&(Z(),_().forEach(function(Oe){requestAnimationFrame(Oe._tippy.popperInstance.forceUpdate)})),U("onAfterUpdate",[v,te])}}function ie(te){v.setProps({content:te})}function be(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("show"));var te=v.state.isVisible,ye=v.state.isDestroyed,me=!v.state.isEnabled,Oe=_n.isTouch&&!v.props.touch,Re=su(v.props.duration,0,Wt.duration);if(!(te||ye||me||Oe)&&!G().hasAttribute("disabled")&&(U("onShow",[v],!1),v.props.onShow(v)!==!1)){if(v.state.isVisible=!0,z()&&(w.style.visibility="visible"),J(),ke(),v.state.isMounted||(w.style.transition="none"),z()){var et=K(),rt=et.box,Ot=et.content;au([rt,Ot],0)}h=function(){var gt;if(!(!v.state.isVisible||u)){if(u=!0,w.offsetHeight,w.style.transition=v.props.moveTransition,z()&&v.props.animation){var Ln=K(),Nr=Ln.box,Yt=Ln.content;au([Nr,Yt],Re),l0([Nr,Yt],"visible")}ee(),re(),i0(fu,v),(gt=v.popperInstance)==null||gt.forceUpdate(),U("onMount",[v]),v.props.animation&&z()&&D(Re,function(){v.state.isShown=!0,U("onShown",[v])})}},S()}}function Pe(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("hide"));var te=!v.state.isVisible,ye=v.state.isDestroyed,me=!v.state.isEnabled,Oe=su(v.props.duration,1,Wt.duration);if(!(te||ye||me)&&(U("onHide",[v],!1),v.props.onHide(v)!==!1)){if(v.state.isVisible=!1,v.state.isShown=!1,u=!1,i=!1,z()&&(w.style.visibility="hidden"),ue(),xe(),J(!0),z()){var Re=K(),et=Re.box,rt=Re.content;v.props.animation&&(au([et,rt],Oe),l0([et,rt],"hidden"))}ee(),re(),v.props.animation?z()&&Ae(Oe,v.unmount):v.unmount()}}function qe(te){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("hideWithInteractivity")),Y().addEventListener("mousemove",m),i0(ra,m),m(te)}function nt(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("unmount")),v.state.isVisible&&v.hide(),v.state.isMounted&&(X(),_().forEach(function(te){te._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),fu=fu.filter(function(te){return te!==v}),v.state.isMounted=!1,U("onHidden",[v]))}function Mt(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("destroy")),!v.state.isDestroyed&&(v.clearDelayTimeouts(),v.unmount(),A(),delete n._tippy,v.state.isDestroyed=!0,U("onDestroy",[v]))}}function Fo(n,e){e===void 0&&(e={});var t=Wt.plugins.concat(e.plugins||[]);process.env.NODE_ENV!=="production"&&(Bb(n),y0(e,t)),Mb();var r=Object.assign({},e,{plugins:t}),o=_b(n);if(process.env.NODE_ENV!=="production"){var s=Ds(r.content),i=o.length>1;$n(s&&i,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
168
+ `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function _(){return na(w.querySelectorAll("[data-tippy-root]"))}function F(te){v.clearDelayTimeouts(),te&&U("onTrigger",[v,te]),ke();var ye=W(!0),me=$(),Oe=me[0],Re=me[1];_n.isTouch&&Oe==="hold"&&Re&&(ye=Re),ye?r=setTimeout(function(){v.show()},ye):v.show()}function Q(te){if(v.clearDelayTimeouts(),U("onUntrigger",[v,te]),!v.state.isVisible){xe();return}if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(te.type)>=0&&i)){var ye=W(!1);ye?o=setTimeout(function(){v.state.isVisible&&v.hide()},ye):s=requestAnimationFrame(function(){v.hide()})}}function ae(){v.state.isEnabled=!0}function pe(){v.hide(),v.state.isEnabled=!1}function Te(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(s)}function q(te){if(process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("setProps")),!v.state.isDestroyed){U("onBeforeUpdate",[v,te]),A();var ye=v.props,me=gm(n,Object.assign({},ye,am(te),{ignoreAttributes:!0}));v.props=me,R(),ye.interactiveDebounce!==me.interactiveDebounce&&(ue(),m=sm(k,me.interactiveDebounce)),ye.triggerTarget&&!me.triggerTarget?Bo(ye.triggerTarget).forEach(function(Oe){Oe.removeAttribute("aria-expanded")}):me.triggerTarget&&n.removeAttribute("aria-expanded"),re(),J(),x&&x(ye,me),v.popperInstance&&(Z(),_().forEach(function(Oe){requestAnimationFrame(Oe._tippy.popperInstance.forceUpdate)})),U("onAfterUpdate",[v,te])}}function ie(te){v.setProps({content:te})}function be(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("show"));var te=v.state.isVisible,ye=v.state.isDestroyed,me=!v.state.isEnabled,Oe=_n.isTouch&&!v.props.touch,Re=su(v.props.duration,0,Wt.duration);if(!(te||ye||me||Oe)&&!G().hasAttribute("disabled")&&(U("onShow",[v],!1),v.props.onShow(v)!==!1)){if(v.state.isVisible=!0,z()&&(w.style.visibility="visible"),J(),ke(),v.state.isMounted||(w.style.transition="none"),z()){var et=K(),rt=et.box,Ot=et.content;au([rt,Ot],0)}h=function(){var gt;if(!(!v.state.isVisible||u)){if(u=!0,w.offsetHeight,w.style.transition=v.props.moveTransition,z()&&v.props.animation){var Ln=K(),Nr=Ln.box,Yt=Ln.content;au([Nr,Yt],Re),lm([Nr,Yt],"visible")}ee(),re(),im(fu,v),(gt=v.popperInstance)==null||gt.forceUpdate(),U("onMount",[v]),v.props.animation&&z()&&D(Re,function(){v.state.isShown=!0,U("onShown",[v])})}},S()}}function Pe(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("hide"));var te=!v.state.isVisible,ye=v.state.isDestroyed,me=!v.state.isEnabled,Oe=su(v.props.duration,1,Wt.duration);if(!(te||ye||me)&&(U("onHide",[v],!1),v.props.onHide(v)!==!1)){if(v.state.isVisible=!1,v.state.isShown=!1,u=!1,i=!1,z()&&(w.style.visibility="hidden"),ue(),xe(),J(!0),z()){var Re=K(),et=Re.box,rt=Re.content;v.props.animation&&(au([et,rt],Oe),lm([et,rt],"hidden"))}ee(),re(),v.props.animation?z()&&Ae(Oe,v.unmount):v.unmount()}}function qe(te){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("hideWithInteractivity")),Y().addEventListener("mousemove",m),im(ra,m),m(te)}function nt(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("unmount")),v.state.isVisible&&v.hide(),v.state.isMounted&&(X(),_().forEach(function(te){te._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),fu=fu.filter(function(te){return te!==v}),v.state.isMounted=!1,U("onHidden",[v]))}function Mt(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("destroy")),!v.state.isDestroyed&&(v.clearDelayTimeouts(),v.unmount(),A(),delete n._tippy,v.state.isDestroyed=!0,U("onDestroy",[v]))}}function Fo(n,e){e===void 0&&(e={});var t=Wt.plugins.concat(e.plugins||[]);process.env.NODE_ENV!=="production"&&(Bb(n),ym(e,t)),Mb();var r=Object.assign({},e,{plugins:t}),o=_b(n);if(process.env.NODE_ENV!=="production"){var s=Ds(r.content),i=o.length>1;$n(s&&i,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
169
169
 
170
170
  `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
171
171
 
172
172
  `,`1) content: element.innerHTML
173
- `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,u){var d=u&&Hb(u,r);return d&&a.push(d),a},[]);return Ds(n)?l[0]:l}Fo.defaultProps=Wt,Fo.setDefaultProps=Vb,Fo.currentInput=_n,Object.assign({},Qi,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),Fo.setDefaultProps({render:C0});class jb{constructor({editor:e,element:t,view:r,tippyOptions:o={},updateDelay:s=250,shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:l,state:a,from:u,to:d})=>{const{doc:f,selection:h}=a,{empty:p}=h,m=!f.textBetween(u,d).length&&Fc(a.selection),g=this.element.contains(document.activeElement);return!(!(l.hasFocus()||g)||p||m||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:l})=>{var a;if(this.preventHide){this.preventHide=!1;return}l!=null&&l.relatedTarget&&(!((a=this.element.parentNode)===null||a===void 0)&&a.contains(l.relatedTarget))||this.hide()},this.tippyBlurHandler=l=>{this.blurHandler({event:l})},this.handleDebouncedUpdate=(l,a)=>{const u=!(a!=null&&a.selection.eq(l.state.selection)),d=!(a!=null&&a.doc.eq(l.state.doc));!u&&!d||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,u,d,a)},this.updateDelay))},this.updateHandler=(l,a,u,d)=>{var f,h,p;const{state:m,composing:g}=l,{selection:y}=m;if(g||!a&&!u)return;this.createTooltip();const{ranges:b}=y,E=Math.min(...b.map(w=>w.$from.pos)),v=Math.max(...b.map(w=>w.$to.pos));if(!((f=this.shouldShow)===null||f===void 0?void 0:f.call(this,{editor:this.editor,view:l,state:m,oldState:d,from:E,to:v}))){this.hide();return}(h=this.tippy)===null||h===void 0||h.setProps({getReferenceClientRect:((p=this.tippyOptions)===null||p===void 0?void 0:p.getReferenceClientRect)||(()=>{if(iA(m.selection)){let w=l.nodeDOM(E);const x=w.dataset.nodeViewWrapper?w:w.querySelector("[data-node-view-wrapper]");if(x&&(w=x.firstChild),w)return w.getBoundingClientRect()}return v1(l,E,v)})}),this.show()},this.editor=e,this.element=t,this.view=r,this.updateDelay=s,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=Fo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:r}=e,o=r.selection.$from.pos!==r.selection.$to.pos;if(this.updateDelay>0&&o){this.handleDebouncedUpdate(e,t);return}const s=!(t!=null&&t.selection.eq(e.state.selection)),i=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,s,i,t)}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const A0=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new jb({view:e,...n})});Jt.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[A0({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class Wb{constructor({editor:e,element:t,view:r,tippyOptions:o={},shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:i,state:l})=>{const{selection:a}=l,{$anchor:u,empty:d}=a,f=u.depth===1,h=u.parent.isTextblock&&!u.parent.type.spec.code&&!u.parent.textContent;return!(!i.hasFocus()||!d||!f||!h||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:i})=>{var l;if(this.preventHide){this.preventHide=!1;return}i!=null&&i.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(i.relatedTarget))||this.hide()},this.tippyBlurHandler=i=>{this.blurHandler({event:i})},this.editor=e,this.element=t,this.view=r,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=Fo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var r,o,s;const{state:i}=e,{doc:l,selection:a}=i,{from:u,to:d}=a;if(t&&t.doc.eq(l)&&t.selection.eq(a))return;if(this.createTooltip(),!((r=this.shouldShow)===null||r===void 0?void 0:r.call(this,{editor:this.editor,view:e,state:i,oldState:t}))){this.hide();return}(o=this.tippy)===null||o===void 0||o.setProps({getReferenceClientRect:((s=this.tippyOptions)===null||s===void 0?void 0:s.getReferenceClientRect)||(()=>v1(e,u,d))}),this.show()}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const b0=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new Wb({view:e,...n})});Jt.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[b0({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),c.defineComponent({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{updateDelay:r,editor:o,pluginKey:s,shouldShow:i,tippyOptions:l}=n;o.registerPlugin(A0({updateDelay:r,editor:o,element:t.value,pluginKey:s,shouldShow:i,tippyOptions:l}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}});function w0(n){return c.customRef((e,t)=>({get(){return e(),n},set(r){n=r,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class Kb extends SA{constructor(e={}){return super(e),this.vueRenderers=c.reactive(new Map),this.contentComponent=null,this.reactiveState=w0(this.view.state),this.reactiveExtensionStorage=w0(this.extensionStorage),this.on("transaction",()=>{this.reactiveState.value=this.view.state,this.reactiveExtensionStorage.value=this.extensionStorage}),c.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){super.registerPlugin(e,t),this.reactiveState.value=this.view.state}unregisterPlugin(e){super.unregisterPlugin(e),this.reactiveState.value=this.view.state}}const Yb=c.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(n){const e=c.ref(),t=c.getCurrentInstance();return c.watchEffect(()=>{const r=n.editor;r&&r.options.element&&e.value&&c.nextTick(()=>{if(!e.value||!r.options.element.firstChild)return;const o=c.unref(e.value);e.value.append(...r.options.element.childNodes),r.contentComponent=t.ctx._,r.setOptions({element:o}),r.createNodeViews()})}),c.onBeforeUnmount(()=>{const r=n.editor;if(!r||(r.isDestroyed||r.view.setProps({nodeViews:{}}),r.contentComponent=null,!r.options.element.firstChild))return;const o=document.createElement("div");o.append(...r.options.element.childNodes),r.setOptions({element:o})}),{rootEl:e}},render(){const n=[];return this.editor&&this.editor.vueRenderers.forEach(e=>{const t=c.h(c.Teleport,{to:e.teleportElement,key:e.id},c.h(e.component,{ref:e.id,...e.props}));n.push(t)}),c.h("div",{ref:e=>{this.rootEl=e}},...n)}});c.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{pluginKey:r,editor:o,tippyOptions:s,shouldShow:i}=n;o.registerPlugin(b0({pluginKey:r,editor:o,element:t.value,tippyOptions:s,shouldShow:i}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}}),c.defineComponent({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return c.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),c.defineComponent({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var n,e;return c.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(e=(n=this.$slots).default)===null||e===void 0?void 0:e.call(n))}});const Gb=(n={})=>{const e=c.shallowRef();return c.onMounted(()=>{e.value=new Kb(n)}),c.onBeforeUnmount(()=>{var t;(t=e.value)===null||t===void 0||t.destroy()}),e},Qb=Vn.create({name:"doc",topNode:!0,content:"block+"}),Zb=Vn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:n}){return["p",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Jb=Vn.create({name:"text",group:"inline"}),Xb="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",qb="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Vo=(n,e)=>{for(const t in e)n[t]=e[t];return n},hu="numeric",pu="ascii",mu="alpha",oa="asciinumeric",sa="alphanumeric",gu="domain",T0="emoji",ew="scheme",tw="slashscheme",S0="whitespace";function nw(n,e){return n in e||(e[n]=[]),e[n]}function qr(n,e,t){e[hu]&&(e[oa]=!0,e[sa]=!0),e[pu]&&(e[oa]=!0,e[mu]=!0),e[oa]&&(e[sa]=!0),e[mu]&&(e[sa]=!0),e[sa]&&(e[gu]=!0),e[T0]&&(e[gu]=!0);for(const r in e){const o=nw(r,t);o.indexOf(n)<0&&o.push(n)}}function rw(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function Bt(n){n===void 0&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}Bt.groups={},Bt.prototype={accepts(){return!!this.t},go(n){const e=this,t=e.j[n];if(t)return t;for(let r=0;r<e.jr.length;r++){const o=e.jr[r][0],s=e.jr[r][1];if(s&&o.test(n))return s}return e.jd},has(n,e){return e===void 0&&(e=!1),e?n in this.j:!!this.go(n)},ta(n,e,t,r){for(let o=0;o<n.length;o++)this.tt(n[o],e,t,r)},tr(n,e,t,r){r=r||Bt.groups;let o;return e&&e.j?o=e:(o=new Bt(e),t&&r&&qr(e,t,r)),this.jr.push([n,o]),o},ts(n,e,t,r){let o=this;const s=n.length;if(!s)return o;for(let i=0;i<s-1;i++)o=o.tt(n[i]);return o.tt(n[s-1],e,t,r)},tt(n,e,t,r){r=r||Bt.groups;const o=this;if(e&&e.j)return o.j[n]=e,e;const s=e;let i,l=o.go(n);if(l?(i=new Bt,Vo(i.j,l.j),i.jr.push.apply(i.jr,l.jr),i.jd=l.jd,i.t=l.t):i=new Bt,s){if(r)if(i.t&&typeof i.t=="string"){const a=Vo(rw(i.t,r),t);qr(s,a,r)}else t&&qr(s,t,r);i.t=s}return o.j[n]=i,i}};const Fe=(n,e,t,r,o)=>n.ta(e,t,r,o),Xt=(n,e,t,r,o)=>n.tr(e,t,r,o),_0=(n,e,t,r,o)=>n.ts(e,t,r,o),ve=(n,e,t,r,o)=>n.tt(e,t,r,o),zn="WORD",yu="UWORD",Bs="LOCALHOST",vu="TLD",Eu="UTLD",ia="SCHEME",$o="SLASH_SCHEME",Cu="NUM",k0="WS",Au="NL",Ps="OPENBRACE",Fs="CLOSEBRACE",aa="OPENBRACKET",la="CLOSEBRACKET",ca="OPENPAREN",ua="CLOSEPAREN",da="OPENANGLEBRACKET",fa="CLOSEANGLEBRACKET",ha="FULLWIDTHLEFTPAREN",pa="FULLWIDTHRIGHTPAREN",ma="LEFTCORNERBRACKET",ga="RIGHTCORNERBRACKET",ya="LEFTWHITECORNERBRACKET",va="RIGHTWHITECORNERBRACKET",Ea="FULLWIDTHLESSTHAN",Ca="FULLWIDTHGREATERTHAN",Aa="AMPERSAND",ba="APOSTROPHE",wa="ASTERISK",pr="AT",Ta="BACKSLASH",Sa="BACKTICK",_a="CARET",mr="COLON",bu="COMMA",ka="DOLLAR",kn="DOT",Na="EQUALS",wu="EXCLAMATION",Nn="HYPHEN",Ia="PERCENT",xa="PIPE",Ma="PLUS",Oa="POUND",La="QUERY",Tu="QUOTE",Su="SEMI",In="SLASH",Vs="TILDE",Da="UNDERSCORE",N0="EMOJI",Ra="SYM";var I0=Object.freeze({__proto__:null,WORD:zn,UWORD:yu,LOCALHOST:Bs,TLD:vu,UTLD:Eu,SCHEME:ia,SLASH_SCHEME:$o,NUM:Cu,WS:k0,NL:Au,OPENBRACE:Ps,CLOSEBRACE:Fs,OPENBRACKET:aa,CLOSEBRACKET:la,OPENPAREN:ca,CLOSEPAREN:ua,OPENANGLEBRACKET:da,CLOSEANGLEBRACKET:fa,FULLWIDTHLEFTPAREN:ha,FULLWIDTHRIGHTPAREN:pa,LEFTCORNERBRACKET:ma,RIGHTCORNERBRACKET:ga,LEFTWHITECORNERBRACKET:ya,RIGHTWHITECORNERBRACKET:va,FULLWIDTHLESSTHAN:Ea,FULLWIDTHGREATERTHAN:Ca,AMPERSAND:Aa,APOSTROPHE:ba,ASTERISK:wa,AT:pr,BACKSLASH:Ta,BACKTICK:Sa,CARET:_a,COLON:mr,COMMA:bu,DOLLAR:ka,DOT:kn,EQUALS:Na,EXCLAMATION:wu,HYPHEN:Nn,PERCENT:Ia,PIPE:xa,PLUS:Ma,POUND:Oa,QUERY:La,QUOTE:Tu,SEMI:Su,SLASH:In,TILDE:Vs,UNDERSCORE:Da,EMOJI:N0,SYM:Ra});const zo=/[a-z]/,_u=/\p{L}/u,ku=/\p{Emoji}/u,Nu=/\d/,x0=/\s/,M0=`
174
- `,ow="️",sw="‍";let Ba=null,Pa=null;function iw(n){n===void 0&&(n=[]);const e={};Bt.groups=e;const t=new Bt;Ba==null&&(Ba=O0(Xb)),Pa==null&&(Pa=O0(qb)),ve(t,"'",ba),ve(t,"{",Ps),ve(t,"}",Fs),ve(t,"[",aa),ve(t,"]",la),ve(t,"(",ca),ve(t,")",ua),ve(t,"<",da),ve(t,">",fa),ve(t,"(",ha),ve(t,")",pa),ve(t,"「",ma),ve(t,"」",ga),ve(t,"『",ya),ve(t,"』",va),ve(t,"<",Ea),ve(t,">",Ca),ve(t,"&",Aa),ve(t,"*",wa),ve(t,"@",pr),ve(t,"`",Sa),ve(t,"^",_a),ve(t,":",mr),ve(t,",",bu),ve(t,"$",ka),ve(t,".",kn),ve(t,"=",Na),ve(t,"!",wu),ve(t,"-",Nn),ve(t,"%",Ia),ve(t,"|",xa),ve(t,"+",Ma),ve(t,"#",Oa),ve(t,"?",La),ve(t,'"',Tu),ve(t,"/",In),ve(t,";",Su),ve(t,"~",Vs),ve(t,"_",Da),ve(t,"\\",Ta);const r=Xt(t,Nu,Cu,{[hu]:!0});Xt(r,Nu,r);const o=Xt(t,zo,zn,{[pu]:!0});Xt(o,zo,o);const s=Xt(t,_u,yu,{[mu]:!0});Xt(s,zo),Xt(s,_u,s);const i=Xt(t,x0,k0,{[S0]:!0});ve(t,M0,Au,{[S0]:!0}),ve(i,M0),Xt(i,x0,i);const l=Xt(t,ku,N0,{[T0]:!0});Xt(l,ku,l),ve(l,ow,l);const a=ve(l,sw);Xt(a,ku,l);const u=[[zo,o]],d=[[zo,null],[_u,s]];for(let f=0;f<Ba.length;f++)gr(t,Ba[f],vu,zn,u);for(let f=0;f<Pa.length;f++)gr(t,Pa[f],Eu,yu,d);qr(vu,{tld:!0,ascii:!0},e),qr(Eu,{utld:!0,alpha:!0},e),gr(t,"file",ia,zn,u),gr(t,"mailto",ia,zn,u),gr(t,"http",$o,zn,u),gr(t,"https",$o,zn,u),gr(t,"ftp",$o,zn,u),gr(t,"ftps",$o,zn,u),qr(ia,{scheme:!0,ascii:!0},e),qr($o,{slashscheme:!0,ascii:!0},e),n=n.sort((f,h)=>f[0]>h[0]?1:-1);for(let f=0;f<n.length;f++){const h=n[f][0],m=n[f][1]?{[ew]:!0}:{[tw]:!0};h.indexOf("-")>=0?m[gu]=!0:zo.test(h)?Nu.test(h)?m[oa]=!0:m[pu]=!0:m[hu]=!0,_0(t,h,h,m)}return _0(t,"localhost",Bs,{ascii:!0}),t.jd=new Bt(Ra),{start:t,tokens:Vo({groups:e},I0)}}function aw(n,e){const t=lw(e.replace(/[A-Z]/g,l=>l.toLowerCase())),r=t.length,o=[];let s=0,i=0;for(;i<r;){let l=n,a=null,u=0,d=null,f=-1,h=-1;for(;i<r&&(a=l.go(t[i]));)l=a,l.accepts()?(f=0,h=0,d=l):f>=0&&(f+=t[i].length,h++),u+=t[i].length,s+=t[i].length,i++;s-=f,i-=h,u-=f,o.push({t:d.t,v:e.slice(s-u,s),s:s-u,e:s})}return o}function lw(n){const e=[],t=n.length;let r=0;for(;r<t;){let o=n.charCodeAt(r),s,i=o<55296||o>56319||r+1===t||(s=n.charCodeAt(r+1))<56320||s>57343?n[r]:n.slice(r,r+2);e.push(i),r+=i.length}return e}function gr(n,e,t,r,o){let s;const i=e.length;for(let l=0;l<i-1;l++){const a=e[l];n.j[a]?s=n.j[a]:(s=new Bt(r),s.jr=o.slice(),n.j[a]=s),n=s}return s=new Bt(t),s.jr=o.slice(),n.j[e[i-1]]=s,s}function O0(n){const e=[],t=[];let r=0,o="0123456789";for(;r<n.length;){let s=0;for(;o.indexOf(n[r+s])>=0;)s++;if(s>0){e.push(t.join(""));for(let i=parseInt(n.substring(r,r+s),10);i>0;i--)t.pop();r+=s}else t.push(n[r]),r++}return e}const $s={defaultProtocol:"http",events:null,format:L0,formatHref:L0,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Iu(n,e){e===void 0&&(e=null);let t=Vo({},$s);n&&(t=Vo(t,n instanceof Iu?n.o:n));const r=t.ignoreTags,o=[];for(let s=0;s<r.length;s++)o.push(r[s].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=o}Iu.prototype={o:$s,ignoreTags:[],defaultRender(n){return n},check(n){return this.get("validate",n.toString(),n)},get(n,e,t){const r=e!=null;let o=this.o[n];return o&&(typeof o=="object"?(o=t.t in o?o[t.t]:$s[n],typeof o=="function"&&r&&(o=o(e,t))):typeof o=="function"&&r&&(o=o(e,t.t,t)),o)},getObj(n,e,t){let r=this.o[n];return typeof r=="function"&&e!=null&&(r=r(e,t.t,t)),r},render(n){const e=n.render(this);return(this.get("render",null,n)||this.defaultRender)(e,n.t,n)}};function L0(n){return n}function D0(n,e){this.t="token",this.v=n,this.tk=e}D0.prototype={isLink:!1,toString(){return this.v},toHref(n){return this.toString()},toFormattedString(n){const e=this.toString(),t=n.get("truncate",e,this),r=n.get("format",e,this);return t&&r.length>t?r.substring(0,t)+"…":r},toFormattedHref(n){return n.get("formatHref",this.toHref(n.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(n){return n===void 0&&(n=$s.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(n),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(n){return{type:this.t,value:this.toFormattedString(n),isLink:this.isLink,href:this.toFormattedHref(n),start:this.startIndex(),end:this.endIndex()}},validate(n){return n.get("validate",this.toString(),this)},render(n){const e=this,t=this.toHref(n.get("defaultProtocol")),r=n.get("formatHref",t,this),o=n.get("tagName",t,e),s=this.toFormattedString(n),i={},l=n.get("className",t,e),a=n.get("target",t,e),u=n.get("rel",t,e),d=n.getObj("attributes",t,e),f=n.getObj("events",t,e);return i.href=r,l&&(i.class=l),a&&(i.target=a),u&&(i.rel=u),d&&Vo(i,d),{tagName:o,attributes:i,content:s,eventListeners:f}}};function Fa(n,e){class t extends D0{constructor(o,s){super(o,s),this.t=n}}for(const r in e)t.prototype[r]=e[r];return t.t=n,t}const R0=Fa("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),B0=Fa("text"),cw=Fa("nl"),Va=Fa("url",{isLink:!0,toHref(n){return n===void 0&&(n=$s.defaultProtocol),this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==Bs&&n[1].t===mr}}),qt=n=>new Bt(n);function uw(n){let{groups:e}=n;const t=e.domain.concat([Aa,wa,pr,Ta,Sa,_a,ka,Na,Nn,Cu,Ia,xa,Ma,Oa,In,Ra,Vs,Da]),r=[ba,mr,bu,kn,wu,La,Tu,Su,da,fa,Ps,Fs,la,aa,ca,ua,ha,pa,ma,ga,ya,va,Ea,Ca],o=[Aa,ba,wa,Ta,Sa,_a,ka,Na,Nn,Ps,Fs,Ia,xa,Ma,Oa,La,In,Ra,Vs,Da],s=qt(),i=ve(s,Vs);Fe(i,o,i),Fe(i,e.domain,i);const l=qt(),a=qt(),u=qt();Fe(s,e.domain,l),Fe(s,e.scheme,a),Fe(s,e.slashscheme,u),Fe(l,o,i),Fe(l,e.domain,l);const d=ve(l,pr);ve(i,pr,d),ve(a,pr,d),ve(u,pr,d);const f=ve(i,kn);Fe(f,o,i),Fe(f,e.domain,i);const h=qt();Fe(d,e.domain,h),Fe(h,e.domain,h);const p=ve(h,kn);Fe(p,e.domain,h);const m=qt(R0);Fe(p,e.tld,m),Fe(p,e.utld,m),ve(d,Bs,m);const g=ve(h,Nn);Fe(g,e.domain,h),Fe(m,e.domain,h),ve(m,kn,p),ve(m,Nn,g);const y=ve(m,mr);Fe(y,e.numeric,R0);const C=ve(l,Nn),b=ve(l,kn);Fe(C,e.domain,l),Fe(b,o,i),Fe(b,e.domain,l);const E=qt(Va);Fe(b,e.tld,E),Fe(b,e.utld,E),Fe(E,e.domain,l),Fe(E,o,i),ve(E,kn,b),ve(E,Nn,C),ve(E,pr,d);const v=ve(E,mr),N=qt(Va);Fe(v,e.numeric,N);const w=qt(Va),x=qt();Fe(w,t,w),Fe(w,r,x),Fe(x,t,w),Fe(x,r,x),ve(E,In,w),ve(N,In,w);const M=ve(a,mr),L=ve(u,mr),$=ve(L,In),V=ve($,In);Fe(a,e.domain,l),ve(a,kn,b),ve(a,Nn,C),Fe(u,e.domain,l),ve(u,kn,b),ve(u,Nn,C),Fe(M,e.domain,w),ve(M,In,w),Fe(V,e.domain,w),Fe(V,t,w),ve(V,In,w);const z=[[Ps,Fs],[aa,la],[ca,ua],[da,fa],[ha,pa],[ma,ga],[ya,va],[Ea,Ca]];for(let G=0;G<z.length;G++){const[Y,K]=z[G],W=ve(w,Y);ve(x,Y,W),ve(W,K,w);const J=qt(Va);Fe(W,t,J);const U=qt();Fe(W,r),Fe(J,t,J),Fe(J,r,U),Fe(U,t,J),Fe(U,r,U),ve(J,K,w),ve(U,K,w)}return ve(s,Bs,E),ve(s,Au,cw),{start:s,tokens:I0}}function dw(n,e,t){let r=t.length,o=0,s=[],i=[];for(;o<r;){let l=n,a=null,u=null,d=0,f=null,h=-1;for(;o<r&&!(a=l.go(t[o].t));)i.push(t[o++]);for(;o<r&&(u=a||l.go(t[o].t));)a=null,l=u,l.accepts()?(h=0,f=l):h>=0&&h++,o++,d++;if(h<0)o-=d,o<r&&(i.push(t[o]),o++);else{i.length>0&&(s.push(xu(B0,e,i)),i=[]),o-=h,d-=h;const p=f.t,m=t.slice(o-d,o);s.push(xu(p,e,m))}}return i.length>0&&s.push(xu(B0,e,i)),s}function xu(n,e,t){const r=t[0].s,o=t[t.length-1].e,s=e.slice(r,o);return new n(s,t)}const fw=typeof console<"u"&&console&&console.warn||(()=>{}),hw="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Je={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function pw(){Bt.groups={},Je.scanner=null,Je.parser=null,Je.tokenQueue=[],Je.pluginQueue=[],Je.customSchemes=[],Je.initialized=!1}function P0(n,e){if(e===void 0&&(e=!1),Je.initialized&&fw(`linkifyjs: already initialized - will not register custom scheme "${n}" ${hw}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))throw new Error(`linkifyjs: incorrect scheme format.
173
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,u){var d=u&&Hb(u,r);return d&&a.push(d),a},[]);return Ds(n)?l[0]:l}Fo.defaultProps=Wt,Fo.setDefaultProps=Vb,Fo.currentInput=_n,Object.assign({},Qi,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),Fo.setDefaultProps({render:Cm});class jb{constructor({editor:e,element:t,view:r,tippyOptions:o={},updateDelay:s=250,shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:l,state:a,from:u,to:d})=>{const{doc:f,selection:h}=a,{empty:p}=h,m=!f.textBetween(u,d).length&&Fc(a.selection),g=this.element.contains(document.activeElement);return!(!(l.hasFocus()||g)||p||m||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:l})=>{var a;if(this.preventHide){this.preventHide=!1;return}l!=null&&l.relatedTarget&&(!((a=this.element.parentNode)===null||a===void 0)&&a.contains(l.relatedTarget))||this.hide()},this.tippyBlurHandler=l=>{this.blurHandler({event:l})},this.handleDebouncedUpdate=(l,a)=>{const u=!(a!=null&&a.selection.eq(l.state.selection)),d=!(a!=null&&a.doc.eq(l.state.doc));!u&&!d||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,u,d,a)},this.updateDelay))},this.updateHandler=(l,a,u,d)=>{var f,h,p;const{state:m,composing:g}=l,{selection:y}=m;if(g||!a&&!u)return;this.createTooltip();const{ranges:b}=y,E=Math.min(...b.map(w=>w.$from.pos)),v=Math.max(...b.map(w=>w.$to.pos));if(!((f=this.shouldShow)===null||f===void 0?void 0:f.call(this,{editor:this.editor,view:l,state:m,oldState:d,from:E,to:v}))){this.hide();return}(h=this.tippy)===null||h===void 0||h.setProps({getReferenceClientRect:((p=this.tippyOptions)===null||p===void 0?void 0:p.getReferenceClientRect)||(()=>{if(iA(m.selection)){let w=l.nodeDOM(E);const x=w.dataset.nodeViewWrapper?w:w.querySelector("[data-node-view-wrapper]");if(x&&(w=x.firstChild),w)return w.getBoundingClientRect()}return v1(l,E,v)})}),this.show()},this.editor=e,this.element=t,this.view=r,this.updateDelay=s,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=Fo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:r}=e,o=r.selection.$from.pos!==r.selection.$to.pos;if(this.updateDelay>0&&o){this.handleDebouncedUpdate(e,t);return}const s=!(t!=null&&t.selection.eq(e.state.selection)),i=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,s,i,t)}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Am=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new jb({view:e,...n})});Jt.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Am({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class Wb{constructor({editor:e,element:t,view:r,tippyOptions:o={},shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:i,state:l})=>{const{selection:a}=l,{$anchor:u,empty:d}=a,f=u.depth===1,h=u.parent.isTextblock&&!u.parent.type.spec.code&&!u.parent.textContent;return!(!i.hasFocus()||!d||!f||!h||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:i})=>{var l;if(this.preventHide){this.preventHide=!1;return}i!=null&&i.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(i.relatedTarget))||this.hide()},this.tippyBlurHandler=i=>{this.blurHandler({event:i})},this.editor=e,this.element=t,this.view=r,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=Fo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var r,o,s;const{state:i}=e,{doc:l,selection:a}=i,{from:u,to:d}=a;if(t&&t.doc.eq(l)&&t.selection.eq(a))return;if(this.createTooltip(),!((r=this.shouldShow)===null||r===void 0?void 0:r.call(this,{editor:this.editor,view:e,state:i,oldState:t}))){this.hide();return}(o=this.tippy)===null||o===void 0||o.setProps({getReferenceClientRect:((s=this.tippyOptions)===null||s===void 0?void 0:s.getReferenceClientRect)||(()=>v1(e,u,d))}),this.show()}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const bm=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new Wb({view:e,...n})});Jt.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[bm({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),c.defineComponent({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{updateDelay:r,editor:o,pluginKey:s,shouldShow:i,tippyOptions:l}=n;o.registerPlugin(Am({updateDelay:r,editor:o,element:t.value,pluginKey:s,shouldShow:i,tippyOptions:l}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}});function wm(n){return c.customRef((e,t)=>({get(){return e(),n},set(r){n=r,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class Kb extends SA{constructor(e={}){return super(e),this.vueRenderers=c.reactive(new Map),this.contentComponent=null,this.reactiveState=wm(this.view.state),this.reactiveExtensionStorage=wm(this.extensionStorage),this.on("transaction",()=>{this.reactiveState.value=this.view.state,this.reactiveExtensionStorage.value=this.extensionStorage}),c.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){super.registerPlugin(e,t),this.reactiveState.value=this.view.state}unregisterPlugin(e){super.unregisterPlugin(e),this.reactiveState.value=this.view.state}}const Yb=c.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(n){const e=c.ref(),t=c.getCurrentInstance();return c.watchEffect(()=>{const r=n.editor;r&&r.options.element&&e.value&&c.nextTick(()=>{if(!e.value||!r.options.element.firstChild)return;const o=c.unref(e.value);e.value.append(...r.options.element.childNodes),r.contentComponent=t.ctx._,r.setOptions({element:o}),r.createNodeViews()})}),c.onBeforeUnmount(()=>{const r=n.editor;if(!r||(r.isDestroyed||r.view.setProps({nodeViews:{}}),r.contentComponent=null,!r.options.element.firstChild))return;const o=document.createElement("div");o.append(...r.options.element.childNodes),r.setOptions({element:o})}),{rootEl:e}},render(){const n=[];return this.editor&&this.editor.vueRenderers.forEach(e=>{const t=c.h(c.Teleport,{to:e.teleportElement,key:e.id},c.h(e.component,{ref:e.id,...e.props}));n.push(t)}),c.h("div",{ref:e=>{this.rootEl=e}},...n)}});c.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{pluginKey:r,editor:o,tippyOptions:s,shouldShow:i}=n;o.registerPlugin(bm({pluginKey:r,editor:o,element:t.value,tippyOptions:s,shouldShow:i}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}}),c.defineComponent({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return c.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),c.defineComponent({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var n,e;return c.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(e=(n=this.$slots).default)===null||e===void 0?void 0:e.call(n))}});const Gb=(n={})=>{const e=c.shallowRef();return c.onMounted(()=>{e.value=new Kb(n)}),c.onBeforeUnmount(()=>{var t;(t=e.value)===null||t===void 0||t.destroy()}),e},Qb=Vn.create({name:"doc",topNode:!0,content:"block+"}),Zb=Vn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:n}){return["p",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Jb=Vn.create({name:"text",group:"inline"}),Xb="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",qb="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Vo=(n,e)=>{for(const t in e)n[t]=e[t];return n},hu="numeric",pu="ascii",mu="alpha",oa="asciinumeric",sa="alphanumeric",gu="domain",Tm="emoji",ew="scheme",tw="slashscheme",Sm="whitespace";function nw(n,e){return n in e||(e[n]=[]),e[n]}function qr(n,e,t){e[hu]&&(e[oa]=!0,e[sa]=!0),e[pu]&&(e[oa]=!0,e[mu]=!0),e[oa]&&(e[sa]=!0),e[mu]&&(e[sa]=!0),e[sa]&&(e[gu]=!0),e[Tm]&&(e[gu]=!0);for(const r in e){const o=nw(r,t);o.indexOf(n)<0&&o.push(n)}}function rw(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function Bt(n){n===void 0&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}Bt.groups={},Bt.prototype={accepts(){return!!this.t},go(n){const e=this,t=e.j[n];if(t)return t;for(let r=0;r<e.jr.length;r++){const o=e.jr[r][0],s=e.jr[r][1];if(s&&o.test(n))return s}return e.jd},has(n,e){return e===void 0&&(e=!1),e?n in this.j:!!this.go(n)},ta(n,e,t,r){for(let o=0;o<n.length;o++)this.tt(n[o],e,t,r)},tr(n,e,t,r){r=r||Bt.groups;let o;return e&&e.j?o=e:(o=new Bt(e),t&&r&&qr(e,t,r)),this.jr.push([n,o]),o},ts(n,e,t,r){let o=this;const s=n.length;if(!s)return o;for(let i=0;i<s-1;i++)o=o.tt(n[i]);return o.tt(n[s-1],e,t,r)},tt(n,e,t,r){r=r||Bt.groups;const o=this;if(e&&e.j)return o.j[n]=e,e;const s=e;let i,l=o.go(n);if(l?(i=new Bt,Vo(i.j,l.j),i.jr.push.apply(i.jr,l.jr),i.jd=l.jd,i.t=l.t):i=new Bt,s){if(r)if(i.t&&typeof i.t=="string"){const a=Vo(rw(i.t,r),t);qr(s,a,r)}else t&&qr(s,t,r);i.t=s}return o.j[n]=i,i}};const Fe=(n,e,t,r,o)=>n.ta(e,t,r,o),Xt=(n,e,t,r,o)=>n.tr(e,t,r,o),_m=(n,e,t,r,o)=>n.ts(e,t,r,o),ve=(n,e,t,r,o)=>n.tt(e,t,r,o),zn="WORD",yu="UWORD",Bs="LOCALHOST",vu="TLD",Eu="UTLD",ia="SCHEME",$o="SLASH_SCHEME",Cu="NUM",km="WS",Au="NL",Ps="OPENBRACE",Fs="CLOSEBRACE",aa="OPENBRACKET",la="CLOSEBRACKET",ca="OPENPAREN",ua="CLOSEPAREN",da="OPENANGLEBRACKET",fa="CLOSEANGLEBRACKET",ha="FULLWIDTHLEFTPAREN",pa="FULLWIDTHRIGHTPAREN",ma="LEFTCORNERBRACKET",ga="RIGHTCORNERBRACKET",ya="LEFTWHITECORNERBRACKET",va="RIGHTWHITECORNERBRACKET",Ea="FULLWIDTHLESSTHAN",Ca="FULLWIDTHGREATERTHAN",Aa="AMPERSAND",ba="APOSTROPHE",wa="ASTERISK",pr="AT",Ta="BACKSLASH",Sa="BACKTICK",_a="CARET",mr="COLON",bu="COMMA",ka="DOLLAR",kn="DOT",Na="EQUALS",wu="EXCLAMATION",Nn="HYPHEN",Ia="PERCENT",xa="PIPE",Ma="PLUS",Oa="POUND",La="QUERY",Tu="QUOTE",Su="SEMI",In="SLASH",Vs="TILDE",Da="UNDERSCORE",Nm="EMOJI",Ra="SYM";var Im=Object.freeze({__proto__:null,WORD:zn,UWORD:yu,LOCALHOST:Bs,TLD:vu,UTLD:Eu,SCHEME:ia,SLASH_SCHEME:$o,NUM:Cu,WS:km,NL:Au,OPENBRACE:Ps,CLOSEBRACE:Fs,OPENBRACKET:aa,CLOSEBRACKET:la,OPENPAREN:ca,CLOSEPAREN:ua,OPENANGLEBRACKET:da,CLOSEANGLEBRACKET:fa,FULLWIDTHLEFTPAREN:ha,FULLWIDTHRIGHTPAREN:pa,LEFTCORNERBRACKET:ma,RIGHTCORNERBRACKET:ga,LEFTWHITECORNERBRACKET:ya,RIGHTWHITECORNERBRACKET:va,FULLWIDTHLESSTHAN:Ea,FULLWIDTHGREATERTHAN:Ca,AMPERSAND:Aa,APOSTROPHE:ba,ASTERISK:wa,AT:pr,BACKSLASH:Ta,BACKTICK:Sa,CARET:_a,COLON:mr,COMMA:bu,DOLLAR:ka,DOT:kn,EQUALS:Na,EXCLAMATION:wu,HYPHEN:Nn,PERCENT:Ia,PIPE:xa,PLUS:Ma,POUND:Oa,QUERY:La,QUOTE:Tu,SEMI:Su,SLASH:In,TILDE:Vs,UNDERSCORE:Da,EMOJI:Nm,SYM:Ra});const zo=/[a-z]/,_u=/\p{L}/u,ku=/\p{Emoji}/u,Nu=/\d/,xm=/\s/,Mm=`
174
+ `,ow="️",sw="‍";let Ba=null,Pa=null;function iw(n){n===void 0&&(n=[]);const e={};Bt.groups=e;const t=new Bt;Ba==null&&(Ba=Om(Xb)),Pa==null&&(Pa=Om(qb)),ve(t,"'",ba),ve(t,"{",Ps),ve(t,"}",Fs),ve(t,"[",aa),ve(t,"]",la),ve(t,"(",ca),ve(t,")",ua),ve(t,"<",da),ve(t,">",fa),ve(t,"(",ha),ve(t,")",pa),ve(t,"「",ma),ve(t,"」",ga),ve(t,"『",ya),ve(t,"』",va),ve(t,"<",Ea),ve(t,">",Ca),ve(t,"&",Aa),ve(t,"*",wa),ve(t,"@",pr),ve(t,"`",Sa),ve(t,"^",_a),ve(t,":",mr),ve(t,",",bu),ve(t,"$",ka),ve(t,".",kn),ve(t,"=",Na),ve(t,"!",wu),ve(t,"-",Nn),ve(t,"%",Ia),ve(t,"|",xa),ve(t,"+",Ma),ve(t,"#",Oa),ve(t,"?",La),ve(t,'"',Tu),ve(t,"/",In),ve(t,";",Su),ve(t,"~",Vs),ve(t,"_",Da),ve(t,"\\",Ta);const r=Xt(t,Nu,Cu,{[hu]:!0});Xt(r,Nu,r);const o=Xt(t,zo,zn,{[pu]:!0});Xt(o,zo,o);const s=Xt(t,_u,yu,{[mu]:!0});Xt(s,zo),Xt(s,_u,s);const i=Xt(t,xm,km,{[Sm]:!0});ve(t,Mm,Au,{[Sm]:!0}),ve(i,Mm),Xt(i,xm,i);const l=Xt(t,ku,Nm,{[Tm]:!0});Xt(l,ku,l),ve(l,ow,l);const a=ve(l,sw);Xt(a,ku,l);const u=[[zo,o]],d=[[zo,null],[_u,s]];for(let f=0;f<Ba.length;f++)gr(t,Ba[f],vu,zn,u);for(let f=0;f<Pa.length;f++)gr(t,Pa[f],Eu,yu,d);qr(vu,{tld:!0,ascii:!0},e),qr(Eu,{utld:!0,alpha:!0},e),gr(t,"file",ia,zn,u),gr(t,"mailto",ia,zn,u),gr(t,"http",$o,zn,u),gr(t,"https",$o,zn,u),gr(t,"ftp",$o,zn,u),gr(t,"ftps",$o,zn,u),qr(ia,{scheme:!0,ascii:!0},e),qr($o,{slashscheme:!0,ascii:!0},e),n=n.sort((f,h)=>f[0]>h[0]?1:-1);for(let f=0;f<n.length;f++){const h=n[f][0],m=n[f][1]?{[ew]:!0}:{[tw]:!0};h.indexOf("-")>=0?m[gu]=!0:zo.test(h)?Nu.test(h)?m[oa]=!0:m[pu]=!0:m[hu]=!0,_m(t,h,h,m)}return _m(t,"localhost",Bs,{ascii:!0}),t.jd=new Bt(Ra),{start:t,tokens:Vo({groups:e},Im)}}function aw(n,e){const t=lw(e.replace(/[A-Z]/g,l=>l.toLowerCase())),r=t.length,o=[];let s=0,i=0;for(;i<r;){let l=n,a=null,u=0,d=null,f=-1,h=-1;for(;i<r&&(a=l.go(t[i]));)l=a,l.accepts()?(f=0,h=0,d=l):f>=0&&(f+=t[i].length,h++),u+=t[i].length,s+=t[i].length,i++;s-=f,i-=h,u-=f,o.push({t:d.t,v:e.slice(s-u,s),s:s-u,e:s})}return o}function lw(n){const e=[],t=n.length;let r=0;for(;r<t;){let o=n.charCodeAt(r),s,i=o<55296||o>56319||r+1===t||(s=n.charCodeAt(r+1))<56320||s>57343?n[r]:n.slice(r,r+2);e.push(i),r+=i.length}return e}function gr(n,e,t,r,o){let s;const i=e.length;for(let l=0;l<i-1;l++){const a=e[l];n.j[a]?s=n.j[a]:(s=new Bt(r),s.jr=o.slice(),n.j[a]=s),n=s}return s=new Bt(t),s.jr=o.slice(),n.j[e[i-1]]=s,s}function Om(n){const e=[],t=[];let r=0,o="0123456789";for(;r<n.length;){let s=0;for(;o.indexOf(n[r+s])>=0;)s++;if(s>0){e.push(t.join(""));for(let i=parseInt(n.substring(r,r+s),10);i>0;i--)t.pop();r+=s}else t.push(n[r]),r++}return e}const $s={defaultProtocol:"http",events:null,format:Lm,formatHref:Lm,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Iu(n,e){e===void 0&&(e=null);let t=Vo({},$s);n&&(t=Vo(t,n instanceof Iu?n.o:n));const r=t.ignoreTags,o=[];for(let s=0;s<r.length;s++)o.push(r[s].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=o}Iu.prototype={o:$s,ignoreTags:[],defaultRender(n){return n},check(n){return this.get("validate",n.toString(),n)},get(n,e,t){const r=e!=null;let o=this.o[n];return o&&(typeof o=="object"?(o=t.t in o?o[t.t]:$s[n],typeof o=="function"&&r&&(o=o(e,t))):typeof o=="function"&&r&&(o=o(e,t.t,t)),o)},getObj(n,e,t){let r=this.o[n];return typeof r=="function"&&e!=null&&(r=r(e,t.t,t)),r},render(n){const e=n.render(this);return(this.get("render",null,n)||this.defaultRender)(e,n.t,n)}};function Lm(n){return n}function Dm(n,e){this.t="token",this.v=n,this.tk=e}Dm.prototype={isLink:!1,toString(){return this.v},toHref(n){return this.toString()},toFormattedString(n){const e=this.toString(),t=n.get("truncate",e,this),r=n.get("format",e,this);return t&&r.length>t?r.substring(0,t)+"…":r},toFormattedHref(n){return n.get("formatHref",this.toHref(n.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(n){return n===void 0&&(n=$s.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(n),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(n){return{type:this.t,value:this.toFormattedString(n),isLink:this.isLink,href:this.toFormattedHref(n),start:this.startIndex(),end:this.endIndex()}},validate(n){return n.get("validate",this.toString(),this)},render(n){const e=this,t=this.toHref(n.get("defaultProtocol")),r=n.get("formatHref",t,this),o=n.get("tagName",t,e),s=this.toFormattedString(n),i={},l=n.get("className",t,e),a=n.get("target",t,e),u=n.get("rel",t,e),d=n.getObj("attributes",t,e),f=n.getObj("events",t,e);return i.href=r,l&&(i.class=l),a&&(i.target=a),u&&(i.rel=u),d&&Vo(i,d),{tagName:o,attributes:i,content:s,eventListeners:f}}};function Fa(n,e){class t extends Dm{constructor(o,s){super(o,s),this.t=n}}for(const r in e)t.prototype[r]=e[r];return t.t=n,t}const Rm=Fa("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Bm=Fa("text"),cw=Fa("nl"),Va=Fa("url",{isLink:!0,toHref(n){return n===void 0&&(n=$s.defaultProtocol),this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==Bs&&n[1].t===mr}}),qt=n=>new Bt(n);function uw(n){let{groups:e}=n;const t=e.domain.concat([Aa,wa,pr,Ta,Sa,_a,ka,Na,Nn,Cu,Ia,xa,Ma,Oa,In,Ra,Vs,Da]),r=[ba,mr,bu,kn,wu,La,Tu,Su,da,fa,Ps,Fs,la,aa,ca,ua,ha,pa,ma,ga,ya,va,Ea,Ca],o=[Aa,ba,wa,Ta,Sa,_a,ka,Na,Nn,Ps,Fs,Ia,xa,Ma,Oa,La,In,Ra,Vs,Da],s=qt(),i=ve(s,Vs);Fe(i,o,i),Fe(i,e.domain,i);const l=qt(),a=qt(),u=qt();Fe(s,e.domain,l),Fe(s,e.scheme,a),Fe(s,e.slashscheme,u),Fe(l,o,i),Fe(l,e.domain,l);const d=ve(l,pr);ve(i,pr,d),ve(a,pr,d),ve(u,pr,d);const f=ve(i,kn);Fe(f,o,i),Fe(f,e.domain,i);const h=qt();Fe(d,e.domain,h),Fe(h,e.domain,h);const p=ve(h,kn);Fe(p,e.domain,h);const m=qt(Rm);Fe(p,e.tld,m),Fe(p,e.utld,m),ve(d,Bs,m);const g=ve(h,Nn);Fe(g,e.domain,h),Fe(m,e.domain,h),ve(m,kn,p),ve(m,Nn,g);const y=ve(m,mr);Fe(y,e.numeric,Rm);const C=ve(l,Nn),b=ve(l,kn);Fe(C,e.domain,l),Fe(b,o,i),Fe(b,e.domain,l);const E=qt(Va);Fe(b,e.tld,E),Fe(b,e.utld,E),Fe(E,e.domain,l),Fe(E,o,i),ve(E,kn,b),ve(E,Nn,C),ve(E,pr,d);const v=ve(E,mr),N=qt(Va);Fe(v,e.numeric,N);const w=qt(Va),x=qt();Fe(w,t,w),Fe(w,r,x),Fe(x,t,w),Fe(x,r,x),ve(E,In,w),ve(N,In,w);const M=ve(a,mr),L=ve(u,mr),$=ve(L,In),V=ve($,In);Fe(a,e.domain,l),ve(a,kn,b),ve(a,Nn,C),Fe(u,e.domain,l),ve(u,kn,b),ve(u,Nn,C),Fe(M,e.domain,w),ve(M,In,w),Fe(V,e.domain,w),Fe(V,t,w),ve(V,In,w);const z=[[Ps,Fs],[aa,la],[ca,ua],[da,fa],[ha,pa],[ma,ga],[ya,va],[Ea,Ca]];for(let G=0;G<z.length;G++){const[Y,K]=z[G],W=ve(w,Y);ve(x,Y,W),ve(W,K,w);const J=qt(Va);Fe(W,t,J);const U=qt();Fe(W,r),Fe(J,t,J),Fe(J,r,U),Fe(U,t,J),Fe(U,r,U),ve(J,K,w),ve(U,K,w)}return ve(s,Bs,E),ve(s,Au,cw),{start:s,tokens:Im}}function dw(n,e,t){let r=t.length,o=0,s=[],i=[];for(;o<r;){let l=n,a=null,u=null,d=0,f=null,h=-1;for(;o<r&&!(a=l.go(t[o].t));)i.push(t[o++]);for(;o<r&&(u=a||l.go(t[o].t));)a=null,l=u,l.accepts()?(h=0,f=l):h>=0&&h++,o++,d++;if(h<0)o-=d,o<r&&(i.push(t[o]),o++);else{i.length>0&&(s.push(xu(Bm,e,i)),i=[]),o-=h,d-=h;const p=f.t,m=t.slice(o-d,o);s.push(xu(p,e,m))}}return i.length>0&&s.push(xu(Bm,e,i)),s}function xu(n,e,t){const r=t[0].s,o=t[t.length-1].e,s=e.slice(r,o);return new n(s,t)}const fw=typeof console<"u"&&console&&console.warn||(()=>{}),hw="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Je={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function pw(){Bt.groups={},Je.scanner=null,Je.parser=null,Je.tokenQueue=[],Je.pluginQueue=[],Je.customSchemes=[],Je.initialized=!1}function Pm(n,e){if(e===void 0&&(e=!1),Je.initialized&&fw(`linkifyjs: already initialized - will not register custom scheme "${n}" ${hw}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))throw new Error(`linkifyjs: incorrect scheme format.
175
175
  1. Must only contain digits, lowercase ASCII letters or "-"
176
176
  2. Cannot start or end with "-"
177
- 3. "-" cannot repeat`);Je.customSchemes.push([n,e])}function mw(){Je.scanner=iw(Je.customSchemes);for(let n=0;n<Je.tokenQueue.length;n++)Je.tokenQueue[n][1]({scanner:Je.scanner});Je.parser=uw(Je.scanner.tokens);for(let n=0;n<Je.pluginQueue.length;n++)Je.pluginQueue[n][1]({scanner:Je.scanner,parser:Je.parser});Je.initialized=!0}function gw(n){return Je.initialized||mw(),dw(Je.parser.start,n,aw(Je.scanner.start,n))}function Mu(n,e,t){if(e===void 0&&(e=null),t===void 0&&(t=null),e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const r=new Iu(t),o=gw(n),s=[];for(let i=0;i<o.length;i++){const l=o[i];l.isLink&&(!e||l.t===e)&&r.check(l)&&s.push(l.toFormattedObject(r))}return s}function yw(n){return new Dt({key:new un("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(u=>u.docChanged)&&!t.doc.eq(r.doc),s=e.some(u=>u.getMeta("preventAutolink"));if(!o||s)return;const{tr:i}=r,l=GC(t.doc,[...e]);if(rA(l).forEach(({newRange:u})=>{const d=ZC(r.doc,u,p=>p.isTextblock);let f,h;if(d.length>1?(f=d[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):d.length&&r.doc.textBetween(u.from,u.to," "," ").endsWith(" ")&&(f=d[0],h=r.doc.textBetween(f.pos,u.to,void 0," ")),f&&h){const p=h.split(" ").filter(y=>y!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;Mu(m).filter(y=>y.isLink).map(y=>({...y,from:g+y.start+1,to:g+y.end+1})).filter(y=>r.schema.marks.code?!r.doc.rangeHasMark(y.from,y.to,r.schema.marks.code):!0).filter(y=>n.validate?n.validate(y.value):!0).forEach(y=>{zc(y.from,y.to,r.doc).some(C=>C.mark.type===n.type)||i.addMark(y.from,y.to,n.type.create({href:y.href}))})}}),!!i.steps.length)return i}})}function vw(n){return new Dt({key:new un("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,s;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=g1(e.state,n.type.name),a=r.target,u=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,d=(s=a==null?void 0:a.target)!==null&&s!==void 0?s:l.target;return a&&u?(e.editable&&window.open(u,d),!0):!1}}})}function Ew(n){return new Dt({key:new un("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:s}=e,{selection:i}=s,{empty:l}=i;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const u=Mu(a).find(m=>m.isLink&&m.value===a);if(!a||!u)return!1;const d=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=d==null?void 0:d.match(f),p=h?h[1]:u.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const Cw=Tn.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){P0(n);return}P0(n.scheme,n.optionalSlashes)})},onDestroy(){pw()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:'a[href]:not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:n}){return["a",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:e})=>e().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:e})=>e().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Ns({find:n=>Mu(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),s=/href="([^"]*)"/,i=o==null?void 0:o.match(s);return i?{href:i[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(yw({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(vw({type:this.type})),this.options.linkOnPaste&&n.push(Ew({editor:this.editor,type:this.type})),n}}).extend({addAttributes(){var n;return{...(n=this.parent)==null?void 0:n.call(this),title:{default:null,parseHTML:e=>e.getAttribute("title"),renderHTML:e=>({title:e.title})}}}}),Aw=Jt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Dt({key:new un("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const s=n.type.createAndFill(),i=(s==null?void 0:s.sameMarkup(n))&&s.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const u=r>=a&&r<=a+l.nodeSize,d=!l.isLeaf&&!l.childCount;if((u||!this.options.showOnlyCurrent)&&d){const f=[this.options.emptyNodeClass];i&&f.push(this.options.emptyEditorClass);const h=Zt.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:u}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),at.create(n,o)}}})]}}),bw=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,ww=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,Tw=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,Sw=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,_w=Tn.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!=="normal"&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}]},renderHTML({HTMLAttributes:n}){return["strong",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Ki({find:bw,type:this.type}),Ki({find:Tw,type:this.type})]},addPasteRules(){return[Ns({find:ww,type:this.type}),Ns({find:Sw,type:this.type})]}}),kw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,Nw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,Iw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,xw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,Mw=Tn.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:n=>n.style.fontStyle!=="normal"&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:n}){return["em",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Ki({find:kw,type:this.type}),Ki({find:Iw,type:this.type})]},addPasteRules(){return[Ns({find:Nw,type:this.type}),Ns({find:xw,type:this.type})]}}),Ow=Tn.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["u",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),Lw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Dw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),F0=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=ji(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),V0=/^\s*([-+*])\s$/,Rw=Vn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:n}){return["ul",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Dw.name,this.editor.getAttributes(F0.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Yi({find:V0,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Yi({find:V0,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(F0.name),editor:this.editor})),[n]}}),Bw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),$0=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=ji(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),z0=/^(\d+)\.\s$/,Pw=Vn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:n}){const{start:e,...t}=n;return e===1?["ol",_t(this.options.HTMLAttributes,t),0]:["ol",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Bw.name,this.editor.getAttributes($0.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Yi({find:z0,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Yi({find:z0,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes($0.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),Fw=Vn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",_t(this.options.HTMLAttributes,n)]},renderText(){return`
178
- `},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:d})=>{if(d&&a&&i){const f=a.filter(h=>l.includes(h.type.name));u.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Ou={BASIC:"basic",FULL:"full"},Vw={class:"attachment-list"},$w={class:"attachment-link"},zw={key:1,class:"attachment-no-download"},Uw=["href"],$a=c.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(c.openBlock(),c.createElementBlock("ul",Vw,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.files,s=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:s.CorrelationId},[c.createElementVNode("div",$w,[r.showDelete?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:c.withCtx(()=>[c.createVNode(c.unref(is))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),r.noDownload?(c.openBlock(),c.createElementBlock("div",zw,[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)])):(c.openBlock(),c.createElementBlock("a",{key:2,href:s.downloadUrl},[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)],8,Uw))])]))),128))]))}}),Hw={class:"attachment-list"},jw={class:"attachment"},Ww=["onClick"],Kw=["src","alt"],Yw=["onClick"],Gw=["href"],Qw={class:"btn btn-light download-button-image"},Zw=["src","alt"],za=c.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=s=>{e("delete",s)},o=(s,i)=>{s.target&&s.target.className==="img-preview"&&e("show",i)};return(s,i)=>(c.openBlock(),c.createElementBlock("ul",Hw,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.files,l=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[c.createElementVNode("div",jw,[s.showDelete?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"remove","aria-label":"verwijder",onClick:c.withModifiers(a=>r(l),["prevent"])},{default:c.withCtx(()=>[c.createVNode(c.unref(is))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),t.noDownload?(c.openBlock(),c.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[c.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,Kw)],8,Ww)):(c.openBlock(),c.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[c.createElementVNode("button",Qw,[c.createVNode(c.unref(Sl))])],8,Gw)):c.createCommentVNode("",!0),c.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,Zw)],8,Yw))])]))),128))]))}}),U0=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),Jw=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,Xw=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,qw=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,eT=(n,e)=>e?U0(n):!U0(n),Ua=(n,e)=>n===void 0?void 0:n.filter(r=>eT(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:Jw(r),previewUrl:Xw(r),fullImageUrl:qw(r),altName:`${r.Naam}`,...r,CorrelationId:o}});/*!
177
+ 3. "-" cannot repeat`);Je.customSchemes.push([n,e])}function mw(){Je.scanner=iw(Je.customSchemes);for(let n=0;n<Je.tokenQueue.length;n++)Je.tokenQueue[n][1]({scanner:Je.scanner});Je.parser=uw(Je.scanner.tokens);for(let n=0;n<Je.pluginQueue.length;n++)Je.pluginQueue[n][1]({scanner:Je.scanner,parser:Je.parser});Je.initialized=!0}function gw(n){return Je.initialized||mw(),dw(Je.parser.start,n,aw(Je.scanner.start,n))}function Mu(n,e,t){if(e===void 0&&(e=null),t===void 0&&(t=null),e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const r=new Iu(t),o=gw(n),s=[];for(let i=0;i<o.length;i++){const l=o[i];l.isLink&&(!e||l.t===e)&&r.check(l)&&s.push(l.toFormattedObject(r))}return s}function yw(n){return new Dt({key:new un("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(u=>u.docChanged)&&!t.doc.eq(r.doc),s=e.some(u=>u.getMeta("preventAutolink"));if(!o||s)return;const{tr:i}=r,l=GC(t.doc,[...e]);if(rA(l).forEach(({newRange:u})=>{const d=ZC(r.doc,u,p=>p.isTextblock);let f,h;if(d.length>1?(f=d[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):d.length&&r.doc.textBetween(u.from,u.to," "," ").endsWith(" ")&&(f=d[0],h=r.doc.textBetween(f.pos,u.to,void 0," ")),f&&h){const p=h.split(" ").filter(y=>y!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;Mu(m).filter(y=>y.isLink).map(y=>({...y,from:g+y.start+1,to:g+y.end+1})).filter(y=>r.schema.marks.code?!r.doc.rangeHasMark(y.from,y.to,r.schema.marks.code):!0).filter(y=>n.validate?n.validate(y.value):!0).forEach(y=>{zc(y.from,y.to,r.doc).some(C=>C.mark.type===n.type)||i.addMark(y.from,y.to,n.type.create({href:y.href}))})}}),!!i.steps.length)return i}})}function vw(n){return new Dt({key:new un("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,s;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=g1(e.state,n.type.name),a=r.target,u=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,d=(s=a==null?void 0:a.target)!==null&&s!==void 0?s:l.target;return a&&u?(e.editable&&window.open(u,d),!0):!1}}})}function Ew(n){return new Dt({key:new un("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:s}=e,{selection:i}=s,{empty:l}=i;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const u=Mu(a).find(m=>m.isLink&&m.value===a);if(!a||!u)return!1;const d=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=d==null?void 0:d.match(f),p=h?h[1]:u.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const Cw=Tn.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Pm(n);return}Pm(n.scheme,n.optionalSlashes)})},onDestroy(){pw()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:'a[href]:not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:n}){return["a",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:e})=>e().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:e})=>e().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Ns({find:n=>Mu(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),s=/href="([^"]*)"/,i=o==null?void 0:o.match(s);return i?{href:i[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(yw({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(vw({type:this.type})),this.options.linkOnPaste&&n.push(Ew({editor:this.editor,type:this.type})),n}}).extend({addAttributes(){var n;return{...(n=this.parent)==null?void 0:n.call(this),title:{default:null,parseHTML:e=>e.getAttribute("title"),renderHTML:e=>({title:e.title})}}}}),Aw=Jt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Dt({key:new un("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const s=n.type.createAndFill(),i=(s==null?void 0:s.sameMarkup(n))&&s.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const u=r>=a&&r<=a+l.nodeSize,d=!l.isLeaf&&!l.childCount;if((u||!this.options.showOnlyCurrent)&&d){const f=[this.options.emptyNodeClass];i&&f.push(this.options.emptyEditorClass);const h=Zt.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:u}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),at.create(n,o)}}})]}}),bw=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,ww=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,Tw=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,Sw=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,_w=Tn.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!=="normal"&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}]},renderHTML({HTMLAttributes:n}){return["strong",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Ki({find:bw,type:this.type}),Ki({find:Tw,type:this.type})]},addPasteRules(){return[Ns({find:ww,type:this.type}),Ns({find:Sw,type:this.type})]}}),kw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,Nw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,Iw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,xw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,Mw=Tn.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:n=>n.style.fontStyle!=="normal"&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:n}){return["em",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Ki({find:kw,type:this.type}),Ki({find:Iw,type:this.type})]},addPasteRules(){return[Ns({find:Nw,type:this.type}),Ns({find:xw,type:this.type})]}}),Ow=Tn.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["u",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),Lw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Dw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Fm=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=ji(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Vm=/^\s*([-+*])\s$/,Rw=Vn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:n}){return["ul",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Dw.name,this.editor.getAttributes(Fm.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Yi({find:Vm,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Yi({find:Vm,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Fm.name),editor:this.editor})),[n]}}),Bw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),$m=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=ji(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),zm=/^(\d+)\.\s$/,Pw=Vn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:n}){const{start:e,...t}=n;return e===1?["ol",_t(this.options.HTMLAttributes,t),0]:["ol",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Bw.name,this.editor.getAttributes($m.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Yi({find:zm,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Yi({find:zm,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes($m.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),Fw=Vn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",_t(this.options.HTMLAttributes,n)]},renderText(){return`
178
+ `},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:d})=>{if(d&&a&&i){const f=a.filter(h=>l.includes(h.type.name));u.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Ou={BASIC:"basic",FULL:"full"},Vw={class:"attachment-list"},$w={class:"attachment-link"},zw={key:1,class:"attachment-no-download"},Uw=["href"],$a=c.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(c.openBlock(),c.createElementBlock("ul",Vw,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.files,s=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:s.CorrelationId},[c.createElementVNode("div",$w,[r.showDelete?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:c.withCtx(()=>[c.createVNode(c.unref(is))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),r.noDownload?(c.openBlock(),c.createElementBlock("div",zw,[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)])):(c.openBlock(),c.createElementBlock("a",{key:2,href:s.downloadUrl},[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)],8,Uw))])]))),128))]))}}),Hw={class:"attachment-list"},jw={class:"attachment"},Ww=["onClick"],Kw=["src","alt"],Yw=["onClick"],Gw=["href"],Qw={class:"btn btn-light download-button-image"},Zw=["src","alt"],za=c.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=s=>{e("delete",s)},o=(s,i)=>{s.target&&s.target.className==="img-preview"&&e("show",i)};return(s,i)=>(c.openBlock(),c.createElementBlock("ul",Hw,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.files,l=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[c.createElementVNode("div",jw,[s.showDelete?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"remove","aria-label":"verwijder",onClick:c.withModifiers(a=>r(l),["prevent"])},{default:c.withCtx(()=>[c.createVNode(c.unref(is))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),t.noDownload?(c.openBlock(),c.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[c.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,Kw)],8,Ww)):(c.openBlock(),c.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[c.createElementVNode("button",Qw,[c.createVNode(c.unref(Sl))])],8,Gw)):c.createCommentVNode("",!0),c.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,Zw)],8,Yw))])]))),128))]))}}),Um=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),Jw=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,Xw=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,qw=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,eT=(n,e)=>e?Um(n):!Um(n),Ua=(n,e)=>n===void 0?void 0:n.filter(r=>eT(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:Jw(r),previewUrl:Xw(r),fullImageUrl:qw(r),altName:`${r.Naam}`,...r,CorrelationId:o}});/*!
179
179
  * Bootstrap v5.3.0 (https://getbootstrap.com/)
180
180
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
181
181
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
182
- */const yr=new Map,Lu={set(n,e,t){yr.has(n)||yr.set(n,new Map);const r=yr.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return yr.has(n)&&yr.get(n).get(e)||null},remove(n,e){if(!yr.has(n))return;const t=yr.get(n);t.delete(e),t.size===0&&yr.delete(n)}},tT=1e6,nT=1e3,Du="transitionend",H0=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),rT=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),oT=n=>{do n+=Math.floor(Math.random()*tT);while(document.getElementById(n));return n},sT=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*nT)},j0=n=>{n.dispatchEvent(new Event(Du))},Un=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),vr=n=>Un(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(H0(n)):null,Uo=n=>{if(!Un(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Er=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",W0=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?W0(n.parentNode):null},Ha=()=>{},zs=n=>{n.offsetHeight},K0=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ru=[],iT=n=>{document.readyState==="loading"?(Ru.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ru)e()}),Ru.push(n)):n()},en=()=>document.documentElement.dir==="rtl",tn=n=>{iT(()=>{const e=K0();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},Pt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Y0=(n,e,t=!0)=>{if(!t){Pt(n);return}const r=5,o=sT(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Du,i),Pt(n))};e.addEventListener(Du,i),setTimeout(()=>{s||j0(e)},o)},Bu=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},aT=/[^.]*(?=\..*)\.|.*/,lT=/\..*/,cT=/::\d+$/,Pu={};let G0=1;const Q0={mouseenter:"mouseover",mouseleave:"mouseout"},uT=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Z0(n,e){return e&&`${e}::${G0++}`||n.uidEvent||G0++}function J0(n){const e=Z0(n);return n.uidEvent=e,Pu[e]=Pu[e]||{},Pu[e]}function dT(n,e){return function t(r){return Vu(r,{delegateTarget:n}),t.oneOff&&ce.off(n,r.type,e),e.apply(n,[r])}}function fT(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return Vu(o,{delegateTarget:i}),r.oneOff&&ce.off(n,o.type,e,t),t.apply(i,[o])}}function X0(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function q0(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=tm(n);return uT.has(s)||(s=n),[r,o,s]}function em(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=q0(e,t,r);e in Q0&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=J0(n),u=a[l]||(a[l]={}),d=X0(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=Z0(i,e.replace(aT,"")),h=s?fT(n,t,i):dT(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Fu(n,e,t,r,o){const s=X0(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function hT(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Fu(n,e,t,i.callable,i.delegationSelector)}function tm(n){return n=n.replace(lT,""),Q0[n]||n}const ce={on(n,e,t,r){em(n,e,t,r,!1)},one(n,e,t,r){em(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=q0(e,t,r),l=i!==e,a=J0(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Fu(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))hT(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(cT,"");(!l||e.includes(p))&&Fu(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=K0(),o=tm(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=Vu(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function Vu(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function nm(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function $u(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Hn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${$u(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${$u(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=nm(n.dataset[r])}return e},getDataAttribute(n,e){return nm(n.getAttribute(`data-bs-${$u(e)}`))}};class Us{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=Un(t)?Hn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Un(t)?Hn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Un(s)?"element":rT(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const pT="5.3.0";class mn extends Us{constructor(e,t){super(),e=vr(e),e&&(this._element=e,this._config=this._getConfig(t),Lu.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Lu.remove(this._element,this.constructor.DATA_KEY),ce.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Y0(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Lu.get(vr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return pT}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const zu=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return H0(e)},Me={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Er(t)&&Uo(t))},getSelectorFromElement(n){const e=zu(n);return e&&Me.findOne(e)?e:null},getElementFromSelector(n){const e=zu(n);return e?Me.findOne(e):null},getMultipleElementsFromSelector(n){const e=zu(n);return e?Me.find(e):[]}},ja=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ce.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Er(this))return;const s=Me.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},mT="alert",rm=".bs.alert",gT=`close${rm}`,yT=`closed${rm}`,vT="fade",ET="show";class Wa extends mn{static get NAME(){return mT}close(){if(ce.trigger(this._element,gT).defaultPrevented)return;this._element.classList.remove(ET);const t=this._element.classList.contains(vT);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ce.trigger(this._element,yT),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Wa.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ja(Wa,"close"),tn(Wa);const CT="button",AT=".bs.button",bT=".data-api",wT="active",om='[data-bs-toggle="button"]',TT=`click${AT}${bT}`;class Ka extends mn{static get NAME(){return CT}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wT))}static jQueryInterface(e){return this.each(function(){const t=Ka.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ce.on(document,TT,om,n=>{n.preventDefault();const e=n.target.closest(om);Ka.getOrCreateInstance(e).toggle()}),tn(Ka);const ST="swipe",Ho=".bs.swipe",_T=`touchstart${Ho}`,kT=`touchmove${Ho}`,NT=`touchend${Ho}`,IT=`pointerdown${Ho}`,xT=`pointerup${Ho}`,MT="touch",OT="pen",LT="pointer-event",DT=40,RT={endCallback:null,leftCallback:null,rightCallback:null},BT={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ya extends Us{constructor(e,t){super(),this._element=e,!(!e||!Ya.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return RT}static get DefaultType(){return BT}static get NAME(){return ST}dispose(){ce.off(this._element,Ho)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Pt(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=DT)return;const t=e/this._deltaX;this._deltaX=0,t&&Pt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ce.on(this._element,IT,e=>this._start(e)),ce.on(this._element,xT,e=>this._end(e)),this._element.classList.add(LT)):(ce.on(this._element,_T,e=>this._start(e)),ce.on(this._element,kT,e=>this._move(e)),ce.on(this._element,NT,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===OT||e.pointerType===MT)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const PT="carousel",Cr=".bs.carousel",sm=".data-api",FT="ArrowLeft",VT="ArrowRight",$T=500,Hs="next",jo="prev",Wo="left",Ga="right",zT=`slide${Cr}`,Uu=`slid${Cr}`,UT=`keydown${Cr}`,HT=`mouseenter${Cr}`,jT=`mouseleave${Cr}`,WT=`dragstart${Cr}`,KT=`load${Cr}${sm}`,YT=`click${Cr}${sm}`,im="carousel",Qa="active",GT="slide",QT="carousel-item-end",ZT="carousel-item-start",JT="carousel-item-next",XT="carousel-item-prev",am=".active",lm=".carousel-item",qT=am+lm,eS=".carousel-item img",tS=".carousel-indicators",nS="[data-bs-slide], [data-bs-slide-to]",rS='[data-bs-ride="carousel"]',oS={[FT]:Ga,[VT]:Wo},sS={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},iS={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class js extends mn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Me.findOne(tS,this._element),this._addEventListeners(),this._config.ride===im&&this.cycle()}static get Default(){return sS}static get DefaultType(){return iS}static get NAME(){return PT}next(){this._slide(Hs)}nextWhenVisible(){!document.hidden&&Uo(this._element)&&this.next()}prev(){this._slide(jo)}pause(){this._isSliding&&j0(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ce.one(this._element,Uu,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ce.one(this._element,Uu,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Hs:jo;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ce.on(this._element,UT,e=>this._keydown(e)),this._config.pause==="hover"&&(ce.on(this._element,HT,()=>this.pause()),ce.on(this._element,jT,()=>this._maybeEnableCycle())),this._config.touch&&Ya.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Me.find(eS,this._element))ce.on(r,WT,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Wo)),rightCallback:()=>this._slide(this._directionToOrder(Ga)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),$T+this._config.interval))}};this._swipeHelper=new Ya(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=oS[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Me.findOne(am,this._indicatorsElement);t.classList.remove(Qa),t.removeAttribute("aria-current");const r=Me.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Qa),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const r=this._getActive(),o=e===Hs,s=t||Bu(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>ce.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(zT).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?ZT:QT,f=o?JT:XT;s.classList.add(f),zs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(Qa),r.classList.remove(Qa,f,d),this._isSliding=!1,l(Uu)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(GT)}_getActive(){return Me.findOne(qT,this._element)}_getItems(){return Me.find(lm,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return en()?e===Wo?jo:Hs:e===Wo?Hs:jo}_orderToDirection(e){return en()?e===jo?Wo:Ga:e===jo?Ga:Wo}static jQueryInterface(e){return this.each(function(){const t=js.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,YT,nS,function(n){const e=Me.getElementFromSelector(this);if(!e||!e.classList.contains(im))return;n.preventDefault();const t=js.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Hn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ce.on(window,KT,()=>{const n=Me.find(rS);for(const e of n)js.getOrCreateInstance(e)}),tn(js);const aS="collapse",Ws=".bs.collapse",lS=".data-api",cS=`show${Ws}`,uS=`shown${Ws}`,dS=`hide${Ws}`,fS=`hidden${Ws}`,hS=`click${Ws}${lS}`,Hu="show",Ko="collapse",Za="collapsing",pS="collapsed",mS=`:scope .${Ko} .${Ko}`,gS="collapse-horizontal",yS="width",vS="height",ES=".collapse.show, .collapse.collapsing",ju='[data-bs-toggle="collapse"]',CS={parent:null,toggle:!0},AS={parent:"(null|element)",toggle:"boolean"};class Ks extends mn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Me.find(ju);for(const o of r){const s=Me.getSelectorFromElement(o),i=Me.find(s).filter(l=>l===this._element);s!==null&&i.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return CS}static get DefaultType(){return AS}static get NAME(){return aS}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(ES).filter(l=>l!==this._element).map(l=>Ks.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ce.trigger(this._element,cS).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Ko),this._element.classList.add(Za),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko,Hu),this._element.style[r]="",ce.trigger(this._element,uS)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||ce.trigger(this._element,dS).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,zs(this._element),this._element.classList.add(Za),this._element.classList.remove(Ko,Hu);for(const o of this._triggerArray){const s=Me.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko),ce.trigger(this._element,fS)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Hu)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=vr(e.parent),e}_getDimension(){return this._element.classList.contains(gS)?yS:vS}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ju);for(const t of e){const r=Me.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Me.find(mS,this._config.parent);return Me.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(pS,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Ks.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ce.on(document,hS,ju,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Me.getMultipleElementsFromSelector(this))Ks.getOrCreateInstance(e,{toggle:!1}).toggle()}),tn(Ks);const cm="dropdown",eo=".bs.dropdown",Wu=".data-api",bS="Escape",um="Tab",wS="ArrowUp",dm="ArrowDown",TS=2,SS=`hide${eo}`,_S=`hidden${eo}`,kS=`show${eo}`,NS=`shown${eo}`,fm=`click${eo}${Wu}`,hm=`keydown${eo}${Wu}`,IS=`keyup${eo}${Wu}`,Yo="show",xS="dropup",MS="dropend",OS="dropstart",LS="dropup-center",DS="dropdown-center",to='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',RS=`${to}.${Yo}`,Ja=".dropdown-menu",BS=".navbar",PS=".navbar-nav",FS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",VS=en()?"top-end":"top-start",$S=en()?"top-start":"top-end",zS=en()?"bottom-end":"bottom-start",US=en()?"bottom-start":"bottom-end",HS=en()?"left-start":"right-start",jS=en()?"right-start":"left-start",WS="top",KS="bottom",YS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},GS={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xn extends mn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Me.next(this._element,Ja)[0]||Me.prev(this._element,Ja)[0]||Me.findOne(Ja,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return YS}static get DefaultType(){return GS}static get NAME(){return cm}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Er(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ce.trigger(this._element,kS,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(PS))for(const r of[].concat(...document.body.children))ce.on(r,"mouseover",Ha);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Yo),this._element.classList.add(Yo),ce.trigger(this._element,NS,e)}}hide(){if(Er(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ce.trigger(this._element,SS,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ce.off(r,"mouseover",Ha);this._popper&&this._popper.destroy(),this._menu.classList.remove(Yo),this._element.classList.remove(Yo),this._element.setAttribute("aria-expanded","false"),Hn.removeDataAttribute(this._menu,"popper"),ce.trigger(this._element,_S,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Un(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${cm.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof q1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Un(this._config.reference)?e=vr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ta(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Yo)}_getPlacement(){const e=this._parent;if(e.classList.contains(MS))return HS;if(e.classList.contains(OS))return jS;if(e.classList.contains(LS))return WS;if(e.classList.contains(DS))return KS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(xS)?t?$S:VS:t?US:zS}_detectNavbar(){return this._element.closest(BS)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Hn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Pt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Me.find(FS,this._menu).filter(o=>Uo(o));r.length&&Bu(r,t,e===dm,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===TS||e.type==="keyup"&&e.key!==um)return;const t=Me.find(RS);for(const r of t){const o=xn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===um||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===bS,o=[wS,dm].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches(to)?this:Me.prev(this,to)[0]||Me.next(this,to)[0]||Me.findOne(to,e.delegateTarget.parentNode),i=xn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}ce.on(document,hm,to,xn.dataApiKeydownHandler),ce.on(document,hm,Ja,xn.dataApiKeydownHandler),ce.on(document,fm,xn.clearMenus),ce.on(document,IS,xn.clearMenus),ce.on(document,fm,to,function(n){n.preventDefault(),xn.getOrCreateInstance(this).toggle()}),tn(xn);const pm="backdrop",QS="fade",mm="show",gm=`mousedown.bs.${pm}`,ZS={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},JS={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ym extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ZS}static get DefaultType(){return JS}static get NAME(){return pm}show(e){if(!this._config.isVisible){Pt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&zs(t),t.classList.add(mm),this._emulateAnimation(()=>{Pt(e)})}hide(e){if(!this._config.isVisible){Pt(e);return}this._getElement().classList.remove(mm),this._emulateAnimation(()=>{this.dispose(),Pt(e)})}dispose(){this._isAppended&&(ce.off(this._element,gm),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(QS),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=vr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ce.on(e,gm,()=>{Pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Y0(e,this._getElement(),this._config.isAnimated)}}const XS="focustrap",Xa=".bs.focustrap",qS=`focusin${Xa}`,e_=`keydown.tab${Xa}`,t_="Tab",n_="forward",vm="backward",r_={autofocus:!0,trapElement:null},o_={autofocus:"boolean",trapElement:"element"};class Em extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return r_}static get DefaultType(){return o_}static get NAME(){return XS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ce.off(document,Xa),ce.on(document,qS,e=>this._handleFocusin(e)),ce.on(document,e_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ce.off(document,Xa))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Me.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===vm?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===t_&&(this._lastTabNavDirection=e.shiftKey?vm:n_)}}const Cm=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Am=".sticky-top",qa="padding-right",bm="margin-right";class Ku{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,qa,t=>t+e),this._setElementAttributes(Cm,qa,t=>t+e),this._setElementAttributes(Am,bm,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qa),this._resetElementAttributes(Cm,qa),this._resetElementAttributes(Am,bm)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Hn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Hn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Hn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Un(e)){t(e);return}for(const r of Me.find(e,this._element))t(r)}}const s_="modal",nn=".bs.modal",i_=".data-api",a_="Escape",l_=`hide${nn}`,c_=`hidePrevented${nn}`,wm=`hidden${nn}`,Tm=`show${nn}`,u_=`shown${nn}`,d_=`resize${nn}`,f_=`click.dismiss${nn}`,h_=`mousedown.dismiss${nn}`,p_=`keydown.dismiss${nn}`,m_=`click${nn}${i_}`,Sm="modal-open",g_="fade",_m="show",Yu="modal-static",y_=".modal.show",v_=".modal-dialog",E_=".modal-body",C_='[data-bs-toggle="modal"]',A_={backdrop:!0,focus:!0,keyboard:!0},b_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ar extends mn{constructor(e,t){super(e,t),this._dialog=Me.findOne(v_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ku,this._addEventListeners()}static get Default(){return A_}static get DefaultType(){return b_}static get NAME(){return s_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ce.trigger(this._element,Tm,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Sm),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ce.trigger(this._element,l_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_m),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ce.off(window,nn),ce.off(this._dialog,nn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ym({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Em({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=Me.findOne(E_,this._dialog);t&&(t.scrollTop=0),zs(this._element),this._element.classList.add(_m);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ce.trigger(this._element,u_,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ce.on(this._element,p_,e=>{if(e.key===a_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ce.on(window,d_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ce.on(this._element,h_,e=>{ce.one(this._element,f_,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Sm),this._resetAdjustments(),this._scrollBar.reset(),ce.trigger(this._element,wm)})}_isAnimated(){return this._element.classList.contains(g_)}_triggerBackdropTransition(){if(ce.trigger(this._element,c_).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Yu)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Yu),this._queueCallback(()=>{this._element.classList.remove(Yu),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=en()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=en()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ce.on(document,m_,C_,function(n){const e=Me.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ce.one(e,Tm,o=>{o.defaultPrevented||ce.one(e,wm,()=>{Uo(this)&&this.focus()})});const t=Me.findOne(y_);t&&Ar.getInstance(t).hide(),Ar.getOrCreateInstance(e).toggle(this)}),ja(Ar),tn(Ar);const w_="offcanvas",jn=".bs.offcanvas",km=".data-api",T_=`load${jn}${km}`,S_="Escape",Nm="show",Im="showing",xm="hiding",__="offcanvas-backdrop",Mm=".offcanvas.show",k_=`show${jn}`,N_=`shown${jn}`,I_=`hide${jn}`,Om=`hidePrevented${jn}`,Lm=`hidden${jn}`,x_=`resize${jn}`,M_=`click${jn}${km}`,O_=`keydown.dismiss${jn}`,L_='[data-bs-toggle="offcanvas"]',D_={backdrop:!0,keyboard:!0,scroll:!1},R_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class br extends mn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return D_}static get DefaultType(){return R_}static get NAME(){return w_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ce.trigger(this._element,k_,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ku().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Im);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Nm),this._element.classList.remove(Im),ce.trigger(this._element,N_,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ce.trigger(this._element,I_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(xm),this._backdrop.hide();const t=()=>{this._element.classList.remove(Nm,xm),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ku().reset(),ce.trigger(this._element,Lm)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ce.trigger(this._element,Om);return}this.hide()},t=!!this._config.backdrop;return new ym({className:__,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Em({trapElement:this._element})}_addEventListeners(){ce.on(this._element,O_,e=>{if(e.key===S_){if(this._config.keyboard){this.hide();return}ce.trigger(this._element,Om)}})}static jQueryInterface(e){return this.each(function(){const t=br.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ce.on(document,M_,L_,function(n){const e=Me.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Er(this))return;ce.one(e,Lm,()=>{Uo(this)&&this.focus()});const t=Me.findOne(Mm);t&&t!==e&&br.getInstance(t).hide(),br.getOrCreateInstance(e).toggle(this)}),ce.on(window,T_,()=>{for(const n of Me.find(Mm))br.getOrCreateInstance(n).show()}),ce.on(window,x_,()=>{for(const n of Me.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&br.getOrCreateInstance(n).hide()}),ja(br),tn(br);const Dm={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},B_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),P_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,F_=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?B_.has(t)?!!P_.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function V_(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)F_(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const $_="TemplateFactory",z_={allowList:Dm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},H_={entry:"(string|element|function|null)",selector:"(string|element)"};class j_ extends Us{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return z_}static get DefaultType(){return U_}static get NAME(){return $_}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,s]of Object.entries(this._config.content))this._setContent(e,s,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},H_)}_setContent(e,t,r){const o=Me.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Un(t)){this._putElementInTemplate(vr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?V_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Pt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const W_="tooltip",K_=new Set(["sanitize","allowList","sanitizeFn"]),Gu="fade",Y_="modal",el="show",G_=".tooltip-inner",Rm=`.${Y_}`,Bm="hide.bs.modal",Ys="hover",Qu="focus",Q_="click",Z_="manual",J_="hide",X_="hidden",q_="show",ek="shown",tk="inserted",nk="click",rk="focusin",ok="focusout",sk="mouseenter",ik="mouseleave",ak={AUTO:"auto",TOP:"top",RIGHT:en()?"left":"right",BOTTOM:"bottom",LEFT:en()?"right":"left"},lk={allowList:Dm,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ck={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Mn extends mn{constructor(e,t){if(typeof q1>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lk}static get DefaultType(){return ck}static get NAME(){return W_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ce.off(this._element.closest(Rm),Bm,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ce.trigger(this._element,this.constructor.eventName(q_)),r=(W0(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),ce.trigger(this._element,this.constructor.eventName(tk))),this._popper=this._createPopper(o),o.classList.add(el),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ce.on(l,"mouseover",Ha);const i=()=>{ce.trigger(this._element,this.constructor.eventName(ek)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ce.trigger(this._element,this.constructor.eventName(J_)).defaultPrevented)return;if(this._getTipElement().classList.remove(el),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ce.off(o,"mouseover",Ha);this._activeTrigger[Q_]=!1,this._activeTrigger[Qu]=!1,this._activeTrigger[Ys]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ce.trigger(this._element,this.constructor.eventName(X_)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Gu,el),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=oT(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Gu),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new j_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[G_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Gu)}_isShown(){return this.tip&&this.tip.classList.contains(el)}_createPopper(e){const t=Pt(this._config.placement,[this,e,this._element]),r=ak[t.toUpperCase()];return ta(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Pt(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...Pt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ce.on(this._element,this.constructor.eventName(nk),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Z_){const r=t===Ys?this.constructor.eventName(sk):this.constructor.eventName(rk),o=t===Ys?this.constructor.eventName(ik):this.constructor.eventName(ok);ce.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?Qu:Ys]=!0,i._enter()}),ce.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?Qu:Ys]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ce.on(this._element.closest(Rm),Bm,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=Hn.getDataAttributes(this._element);for(const r of Object.keys(t))K_.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:vr(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=Mn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(Mn);const uk="popover",dk=".popover-header",fk=".popover-body",hk={...Mn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},pk={...Mn.DefaultType,content:"(null|string|element|function)"};class no extends Mn{static get Default(){return hk}static get DefaultType(){return pk}static get NAME(){return uk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dk]:this._getTitle(),[fk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=no.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(no);const mk="scrollspy",Zu=".bs.scrollspy",gk=".data-api",yk=`activate${Zu}`,Pm=`click${Zu}`,vk=`load${Zu}${gk}`,Ek="dropdown-item",Go="active",Ck='[data-bs-spy="scroll"]',Ju="[href]",Ak=".nav, .list-group",Fm=".nav-link",bk=`${Fm}, .nav-item > ${Fm}, .list-group-item`,wk=".dropdown",Tk=".dropdown-toggle",Sk={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},_k={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class tl extends mn{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Sk}static get DefaultType(){return _k}static get NAME(){return mk}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=vr(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ce.off(this._config.target,Pm),ce.on(this._config.target,Pm,Ju,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Me.find(Ju,this._config.target);for(const t of e){if(!t.hash||Er(t))continue;const r=Me.findOne(decodeURI(t.hash),this._element);Uo(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Go),this._activateParents(e),ce.trigger(this._element,yk,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Ek)){Me.findOne(Tk,e.closest(wk)).classList.add(Go);return}for(const t of Me.parents(e,Ak))for(const r of Me.prev(t,bk))r.classList.add(Go)}_clearActiveClass(e){e.classList.remove(Go);const t=Me.find(`${Ju}.${Go}`,e);for(const r of t)r.classList.remove(Go)}static jQueryInterface(e){return this.each(function(){const t=tl.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(window,vk,()=>{for(const n of Me.find(Ck))tl.getOrCreateInstance(n)}),tn(tl);const kk="tab",ro=".bs.tab",Nk=`hide${ro}`,Ik=`hidden${ro}`,xk=`show${ro}`,Mk=`shown${ro}`,Ok=`click${ro}`,Lk=`keydown${ro}`,Dk=`load${ro}`,Rk="ArrowLeft",Vm="ArrowRight",Bk="ArrowUp",$m="ArrowDown",oo="active",zm="fade",Xu="show",Pk="dropdown",Fk=".dropdown-toggle",Vk=".dropdown-menu",qu=":not(.dropdown-toggle)",$k='.list-group, .nav, [role="tablist"]',zk=".nav-item, .list-group-item",Uk=`.nav-link${qu}, .list-group-item${qu}, [role="tab"]${qu}`,Um='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ed=`${Uk}, ${Um}`,Hk=`.${oo}[data-bs-toggle="tab"], .${oo}[data-bs-toggle="pill"], .${oo}[data-bs-toggle="list"]`;class Qo extends mn{constructor(e){super(e),this._parent=this._element.closest($k),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ce.on(this._element,Lk,t=>this._keydown(t)))}static get NAME(){return kk}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ce.trigger(t,Nk,{relatedTarget:e}):null;ce.trigger(e,xk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(oo),this._activate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Xu);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ce.trigger(e,Mk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(zm))}_deactivate(e,t){if(!e)return;e.classList.remove(oo),e.blur(),this._deactivate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Xu);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ce.trigger(e,Ik,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(zm))}_keydown(e){if(![Rk,Vm,Bk,$m].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Vm,$m].includes(e.key),r=Bu(this._getChildren().filter(o=>!Er(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),Qo.getOrCreateInstance(r).show())}_getChildren(){return Me.find(ed,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=Me.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(Pk))return;const o=(s,i)=>{const l=Me.findOne(s,r);l&&l.classList.toggle(i,t)};o(Fk,oo),o(Vk,Xu),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(oo)}_getInnerElement(e){return e.matches(ed)?e:Me.findOne(ed,e)}_getOuterElement(e){return e.closest(zk)||e}static jQueryInterface(e){return this.each(function(){const t=Qo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,Ok,Um,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Er(this)&&Qo.getOrCreateInstance(this).show()}),ce.on(window,Dk,()=>{for(const n of Me.find(Hk))Qo.getOrCreateInstance(n)}),tn(Qo);const jk="toast",wr=".bs.toast",Wk=`mouseover${wr}`,Kk=`mouseout${wr}`,Yk=`focusin${wr}`,Gk=`focusout${wr}`,Qk=`hide${wr}`,Zk=`hidden${wr}`,Jk=`show${wr}`,Xk=`shown${wr}`,qk="fade",Hm="hide",nl="show",rl="showing",eN={animation:"boolean",autohide:"boolean",delay:"number"},tN={animation:!0,autohide:!0,delay:5e3};class Zo extends mn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tN}static get DefaultType(){return eN}static get NAME(){return jk}show(){if(ce.trigger(this._element,Jk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(qk);const t=()=>{this._element.classList.remove(rl),ce.trigger(this._element,Xk),this._maybeScheduleHide()};this._element.classList.remove(Hm),zs(this._element),this._element.classList.add(nl,rl),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ce.trigger(this._element,Qk).defaultPrevented)return;const t=()=>{this._element.classList.add(Hm),this._element.classList.remove(rl,nl),ce.trigger(this._element,Zk)};this._element.classList.add(rl),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(nl),super.dispose()}isShown(){return this._element.classList.contains(nl)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ce.on(this._element,Wk,e=>this._onInteraction(e,!0)),ce.on(this._element,Kk,e=>this._onInteraction(e,!1)),ce.on(this._element,Yk,e=>this._onInteraction(e,!0)),ce.on(this._element,Gk,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ja(Zo),tn(Zo);function jm(n,e){return e.value||n.getAttribute("title")||""}const Gs={mounted:(n,e)=>{const t=jm(n,e);t&&n.setAttribute("title",t),new Mn(n)},updated:(n,e)=>{const t=Mn.getInstance(n);t&&t.dispose();const r=jm(n,e);r&&n.setAttribute("title",r),new Mn(n)},unmounted:n=>{const e=Mn.getInstance(n);e&&e.dispose()}},nN={key:0,class:"pills-list__wrapper"},rN={class:"pills-list__ul"},oN={class:"bd-markdown-editor__menu-bottom"},sN={key:0,class:"vr"},Wm=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Ou.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Dr(t,"modelValue",e),s=[Qb,Zb,Jb,Aw.configure({placeholder:t.placeholder}),Fw,Cw.configure({openOnClick:!1,validate:x=>/^https?:\/\//i.test(x)})];t.variant===Ou.FULL&&s.push(_w,Mw,Ow,Lw,Rw,Pw);const i=Gb({content:o.value,extensions:s,onUpdate:({editor:x})=>{const{view:M,state:L}=x,{from:$,to:V}=M.state.selection;if(L.doc.textBetween($-1,V,"")==" "&&x.getAttributes("link").href!=null&&x.chain().setTextSelection({from:$-1,to:V}).toggleLink({href:x.getAttributes("link").href}).setTextSelection({from:V,to:V}).run(),x.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",x.getHTML())}});c.watch(()=>t.modelValue,x=>{i.value.getHTML()!==x&&i.value.commands.setContent(x,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Ou.FULL),g=x=>i.value&&i.value.isActive(x)?"active":null,y=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!0):null),b=x=>{e("action",{name:"delete-attachment",obj:x})},E=x=>{e("action",{name:"image-attachment",obj:x})},v=c.computed(()=>{if(!i.value)return!1;const{from:x,to:M}=i.value.state.selection;return x!==M}),N=c.computed(()=>v.value?"Voeg een link toe":"Selecteer eerst tekst"),w=()=>{const x=i.value.getAttributes("link").href,M=window.prompt("Voeg link toe",x);if(M!==null){if(M===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:M}).run()}};return(x,M)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(Yb),{editor:c.unref(i)},null,8,["editor"]),x.pills?(c.openBlock(),c.createElementBlock("div",nN,[c.createElementVNode("ul",rN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(x.pills,(L,$)=>(c.openBlock(),c.createElementBlock("li",{key:$,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(L)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(x.$slots,"default"),y.value?(c.openBlock(),c.createBlock($a,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:b},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(za,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:b,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",oN,[c.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Or))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",sN)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:M[0]||(M[0]=L=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(El))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:M[1]||(M[1]=L=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(kl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:M[2]||(M[2]=L=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Dl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:M[3]||(M[3]=L=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Cl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:M[4]||(M[4]=L=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Il))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:w,disabled:!v.value},{default:c.withCtx(()=>[c.createVNode(c.unref(ii))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Gs),N.value]])])],2),c.createVNode(di,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),iN={class:"header"},aN=c.createElementVNode("div",null,"Menu",-1),lN={class:"icon-close-wrapper"},cN={class:"navbar"},uN={class:"nav navbar-nav w-100"},dN={class:"nav-item"},fN={class:"nav-item"},td=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",iN,[aN,c.createElementVNode("div",lN,[c.createVNode(oi,{onClick:o})])]),c.createElementVNode("nav",cN,[c.createElementVNode("ul",uN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",dN,[c.createVNode(Mr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",fN,[c.createVNode(Mr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),hN={class:"bd-user"},pN={class:"bd-user__information"},mN={class:"text-break"},gN={class:"overflow-x-hidden"},Km=c.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",hN,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(ls,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",pN,[c.createElementVNode("header",null,[c.createElementVNode("h5",mN,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",gN,c.toDisplayString(t.value),1)])]))}}),yN={class:"bd-chat-cloud-card"},vN={class:"bd-chat-cloud-card__header"},EN={class:"bd-chat-cloud-card__body"},CN=["innerHTML"],AN={class:"bd-chat-cloud-card__footer"},bN={key:0,class:"pills-list__wrapper"},wN={class:"pills-list__ul"},Ym=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=c.computed(()=>t.isSender?"sender":Ve),o=c.computed(()=>Ua(t.files,!1)),s=c.computed(()=>Ua(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(ls,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",yN,[c.createElementVNode("div",vN,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",EN,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,CN)])]),c.createElementVNode("div",AN,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",bN,[c.createElementVNode("ul",wN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock($a,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(za,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),TN=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(xl),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(Ml),{key:1})):(c.openBlock(),c.createBlock(c.unref(Ol),{key:2}))],2))}}),SN={class:"bd-table"},_N={key:0,class:"table"},kN={key:1},NN=["onClick"],IN={key:0},xN={key:1,class:"empty-text"},Gm=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",SN,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",_N,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(TN,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",kN,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",IN,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,NN))),256))])])):(c.openBlock(),c.createElementBlock("p",xN,c.toDisplayString(r.emptyText),1))]))}}),MN=["id"],ON={key:0,class:"toast-body__title"},LN={class:"actions"},DN=["textContent"],RN=["textContent"],BN={class:"icon-wrapper"},PN=["textContent"],FN=["textContent"],Qm=3e4,Zm=5e3,Jm=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let b="video-call-toast";return t.id&&(b+=`-${t.id}`),b}),a=c.computed(()=>r.value?[r.value?"is-handled":Ve,o.value?"is-handled--success":Ve,t.canceled?"is-handled--canceled":Ve].join(" "):Ve),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const b=l.value,E=document.querySelector(`#${b}`);if(E){E.addEventListener("hide.bs.toast",C);var v={autohide:!0,delay:Qm+Zm};i=Zo.getOrCreateInstance(E,v),i.show(),s=window.setTimeout(h,Qm)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),y()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),y()},y=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),Zm)},C=()=>{r.value=!1,o.value=!1};return(b,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",ON,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",BN,[c.createVNode(ri)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,PN),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,FN)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode($l,{value:b.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",LN,[c.createVNode(Ze,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(Al),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,DN)]),_:1}),c.createVNode(Ze,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(ri),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,RN)]),_:1})])],64))],2)],8,MN))}}),nd=c.defineComponent({__name:"BDDropdown",props:{size:{default:At.MD},variant:{default:ai.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=fo(),r=`__BD__DROPDOWN__${t.value}`,o=c.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),VN={class:"row bd-header"},$N={class:"col logo-mix"},zN=["src","alt"],UN=c.createElementVNode("div",null,"Menu",-1),HN={key:0,class:"col header-options"},jN={class:"col bd-btn-settings"},rd=c.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let u=[];return t.headerOptions&&(u=u.concat(t.headerOptions)),t.dropdownOptions&&(u=u.concat(t.dropdownOptions)),u}),o=c.ref(void 0),s=()=>e("click-logo"),i=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(u,d)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",VN,[c.createElementVNode("div",$N,[c.createVNode(vl,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:s}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,zN)):c.createCommentVNode("",!0)]),c.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[UN,c.createVNode(Nl)]),t.headerOptions&&t.headerOptions.length!==0?(c.openBlock(),c.createElementBlock("div",HN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,f=>(c.openBlock(),c.createBlock(Ze,{class:"btn-header",to:f.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",jN,[c.renderSlot(u.$slots,"profile-side"),t.profileImageSrc?(c.openBlock(),c.createBlock(ls,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),c.createVNode(nd,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(f,h)=>(c.openBlock(),c.createBlock(pi,c.mergeProps({key:h},f),null,16))),128)),c.createVNode(pi,{text:"Uitloggen",onClick:i})]),_:1},8,["text"])])]),c.createVNode(td,{active:o.value,options:r.value,onHide:a,onSignout:i},{"special-options":c.withCtx(()=>[c.renderSlot(u.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}});/*!
182
+ */const yr=new Map,Lu={set(n,e,t){yr.has(n)||yr.set(n,new Map);const r=yr.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return yr.has(n)&&yr.get(n).get(e)||null},remove(n,e){if(!yr.has(n))return;const t=yr.get(n);t.delete(e),t.size===0&&yr.delete(n)}},tT=1e6,nT=1e3,Du="transitionend",Hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),rT=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),oT=n=>{do n+=Math.floor(Math.random()*tT);while(document.getElementById(n));return n},sT=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*nT)},jm=n=>{n.dispatchEvent(new Event(Du))},Un=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),vr=n=>Un(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Hm(n)):null,Uo=n=>{if(!Un(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Er=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Wm=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?Wm(n.parentNode):null},Ha=()=>{},zs=n=>{n.offsetHeight},Km=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ru=[],iT=n=>{document.readyState==="loading"?(Ru.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ru)e()}),Ru.push(n)):n()},en=()=>document.documentElement.dir==="rtl",tn=n=>{iT(()=>{const e=Km();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},Pt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Ym=(n,e,t=!0)=>{if(!t){Pt(n);return}const r=5,o=sT(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Du,i),Pt(n))};e.addEventListener(Du,i),setTimeout(()=>{s||jm(e)},o)},Bu=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},aT=/[^.]*(?=\..*)\.|.*/,lT=/\..*/,cT=/::\d+$/,Pu={};let Gm=1;const Qm={mouseenter:"mouseover",mouseleave:"mouseout"},uT=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Zm(n,e){return e&&`${e}::${Gm++}`||n.uidEvent||Gm++}function Jm(n){const e=Zm(n);return n.uidEvent=e,Pu[e]=Pu[e]||{},Pu[e]}function dT(n,e){return function t(r){return Vu(r,{delegateTarget:n}),t.oneOff&&ce.off(n,r.type,e),e.apply(n,[r])}}function fT(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return Vu(o,{delegateTarget:i}),r.oneOff&&ce.off(n,o.type,e,t),t.apply(i,[o])}}function Xm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function qm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=t0(n);return uT.has(s)||(s=n),[r,o,s]}function e0(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=qm(e,t,r);e in Qm&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=Jm(n),u=a[l]||(a[l]={}),d=Xm(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=Zm(i,e.replace(aT,"")),h=s?fT(n,t,i):dT(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Fu(n,e,t,r,o){const s=Xm(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function hT(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Fu(n,e,t,i.callable,i.delegationSelector)}function t0(n){return n=n.replace(lT,""),Qm[n]||n}const ce={on(n,e,t,r){e0(n,e,t,r,!1)},one(n,e,t,r){e0(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=qm(e,t,r),l=i!==e,a=Jm(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Fu(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))hT(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(cT,"");(!l||e.includes(p))&&Fu(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Km(),o=t0(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=Vu(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function Vu(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function n0(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function $u(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Hn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${$u(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${$u(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=n0(n.dataset[r])}return e},getDataAttribute(n,e){return n0(n.getAttribute(`data-bs-${$u(e)}`))}};class Us{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=Un(t)?Hn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Un(t)?Hn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Un(s)?"element":rT(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const pT="5.3.0";class mn extends Us{constructor(e,t){super(),e=vr(e),e&&(this._element=e,this._config=this._getConfig(t),Lu.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Lu.remove(this._element,this.constructor.DATA_KEY),ce.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Ym(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Lu.get(vr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return pT}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const zu=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return Hm(e)},Me={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Er(t)&&Uo(t))},getSelectorFromElement(n){const e=zu(n);return e&&Me.findOne(e)?e:null},getElementFromSelector(n){const e=zu(n);return e?Me.findOne(e):null},getMultipleElementsFromSelector(n){const e=zu(n);return e?Me.find(e):[]}},ja=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ce.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Er(this))return;const s=Me.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},mT="alert",r0=".bs.alert",gT=`close${r0}`,yT=`closed${r0}`,vT="fade",ET="show";class Wa extends mn{static get NAME(){return mT}close(){if(ce.trigger(this._element,gT).defaultPrevented)return;this._element.classList.remove(ET);const t=this._element.classList.contains(vT);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ce.trigger(this._element,yT),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Wa.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ja(Wa,"close"),tn(Wa);const CT="button",AT=".bs.button",bT=".data-api",wT="active",o0='[data-bs-toggle="button"]',TT=`click${AT}${bT}`;class Ka extends mn{static get NAME(){return CT}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wT))}static jQueryInterface(e){return this.each(function(){const t=Ka.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ce.on(document,TT,o0,n=>{n.preventDefault();const e=n.target.closest(o0);Ka.getOrCreateInstance(e).toggle()}),tn(Ka);const ST="swipe",Ho=".bs.swipe",_T=`touchstart${Ho}`,kT=`touchmove${Ho}`,NT=`touchend${Ho}`,IT=`pointerdown${Ho}`,xT=`pointerup${Ho}`,MT="touch",OT="pen",LT="pointer-event",DT=40,RT={endCallback:null,leftCallback:null,rightCallback:null},BT={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ya extends Us{constructor(e,t){super(),this._element=e,!(!e||!Ya.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return RT}static get DefaultType(){return BT}static get NAME(){return ST}dispose(){ce.off(this._element,Ho)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Pt(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=DT)return;const t=e/this._deltaX;this._deltaX=0,t&&Pt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ce.on(this._element,IT,e=>this._start(e)),ce.on(this._element,xT,e=>this._end(e)),this._element.classList.add(LT)):(ce.on(this._element,_T,e=>this._start(e)),ce.on(this._element,kT,e=>this._move(e)),ce.on(this._element,NT,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===OT||e.pointerType===MT)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const PT="carousel",Cr=".bs.carousel",s0=".data-api",FT="ArrowLeft",VT="ArrowRight",$T=500,Hs="next",jo="prev",Wo="left",Ga="right",zT=`slide${Cr}`,Uu=`slid${Cr}`,UT=`keydown${Cr}`,HT=`mouseenter${Cr}`,jT=`mouseleave${Cr}`,WT=`dragstart${Cr}`,KT=`load${Cr}${s0}`,YT=`click${Cr}${s0}`,i0="carousel",Qa="active",GT="slide",QT="carousel-item-end",ZT="carousel-item-start",JT="carousel-item-next",XT="carousel-item-prev",a0=".active",l0=".carousel-item",qT=a0+l0,eS=".carousel-item img",tS=".carousel-indicators",nS="[data-bs-slide], [data-bs-slide-to]",rS='[data-bs-ride="carousel"]',oS={[FT]:Ga,[VT]:Wo},sS={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},iS={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class js extends mn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Me.findOne(tS,this._element),this._addEventListeners(),this._config.ride===i0&&this.cycle()}static get Default(){return sS}static get DefaultType(){return iS}static get NAME(){return PT}next(){this._slide(Hs)}nextWhenVisible(){!document.hidden&&Uo(this._element)&&this.next()}prev(){this._slide(jo)}pause(){this._isSliding&&jm(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ce.one(this._element,Uu,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ce.one(this._element,Uu,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Hs:jo;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ce.on(this._element,UT,e=>this._keydown(e)),this._config.pause==="hover"&&(ce.on(this._element,HT,()=>this.pause()),ce.on(this._element,jT,()=>this._maybeEnableCycle())),this._config.touch&&Ya.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Me.find(eS,this._element))ce.on(r,WT,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Wo)),rightCallback:()=>this._slide(this._directionToOrder(Ga)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),$T+this._config.interval))}};this._swipeHelper=new Ya(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=oS[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Me.findOne(a0,this._indicatorsElement);t.classList.remove(Qa),t.removeAttribute("aria-current");const r=Me.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Qa),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const r=this._getActive(),o=e===Hs,s=t||Bu(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>ce.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(zT).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?ZT:QT,f=o?JT:XT;s.classList.add(f),zs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(Qa),r.classList.remove(Qa,f,d),this._isSliding=!1,l(Uu)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(GT)}_getActive(){return Me.findOne(qT,this._element)}_getItems(){return Me.find(l0,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return en()?e===Wo?jo:Hs:e===Wo?Hs:jo}_orderToDirection(e){return en()?e===jo?Wo:Ga:e===jo?Ga:Wo}static jQueryInterface(e){return this.each(function(){const t=js.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,YT,nS,function(n){const e=Me.getElementFromSelector(this);if(!e||!e.classList.contains(i0))return;n.preventDefault();const t=js.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Hn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ce.on(window,KT,()=>{const n=Me.find(rS);for(const e of n)js.getOrCreateInstance(e)}),tn(js);const aS="collapse",Ws=".bs.collapse",lS=".data-api",cS=`show${Ws}`,uS=`shown${Ws}`,dS=`hide${Ws}`,fS=`hidden${Ws}`,hS=`click${Ws}${lS}`,Hu="show",Ko="collapse",Za="collapsing",pS="collapsed",mS=`:scope .${Ko} .${Ko}`,gS="collapse-horizontal",yS="width",vS="height",ES=".collapse.show, .collapse.collapsing",ju='[data-bs-toggle="collapse"]',CS={parent:null,toggle:!0},AS={parent:"(null|element)",toggle:"boolean"};class Ks extends mn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Me.find(ju);for(const o of r){const s=Me.getSelectorFromElement(o),i=Me.find(s).filter(l=>l===this._element);s!==null&&i.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return CS}static get DefaultType(){return AS}static get NAME(){return aS}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(ES).filter(l=>l!==this._element).map(l=>Ks.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ce.trigger(this._element,cS).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Ko),this._element.classList.add(Za),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko,Hu),this._element.style[r]="",ce.trigger(this._element,uS)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||ce.trigger(this._element,dS).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,zs(this._element),this._element.classList.add(Za),this._element.classList.remove(Ko,Hu);for(const o of this._triggerArray){const s=Me.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko),ce.trigger(this._element,fS)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Hu)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=vr(e.parent),e}_getDimension(){return this._element.classList.contains(gS)?yS:vS}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ju);for(const t of e){const r=Me.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Me.find(mS,this._config.parent);return Me.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(pS,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Ks.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ce.on(document,hS,ju,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Me.getMultipleElementsFromSelector(this))Ks.getOrCreateInstance(e,{toggle:!1}).toggle()}),tn(Ks);const c0="dropdown",eo=".bs.dropdown",Wu=".data-api",bS="Escape",u0="Tab",wS="ArrowUp",d0="ArrowDown",TS=2,SS=`hide${eo}`,_S=`hidden${eo}`,kS=`show${eo}`,NS=`shown${eo}`,f0=`click${eo}${Wu}`,h0=`keydown${eo}${Wu}`,IS=`keyup${eo}${Wu}`,Yo="show",xS="dropup",MS="dropend",OS="dropstart",LS="dropup-center",DS="dropdown-center",to='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',RS=`${to}.${Yo}`,Ja=".dropdown-menu",BS=".navbar",PS=".navbar-nav",FS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",VS=en()?"top-end":"top-start",$S=en()?"top-start":"top-end",zS=en()?"bottom-end":"bottom-start",US=en()?"bottom-start":"bottom-end",HS=en()?"left-start":"right-start",jS=en()?"right-start":"left-start",WS="top",KS="bottom",YS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},GS={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xn extends mn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Me.next(this._element,Ja)[0]||Me.prev(this._element,Ja)[0]||Me.findOne(Ja,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return YS}static get DefaultType(){return GS}static get NAME(){return c0}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Er(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ce.trigger(this._element,kS,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(PS))for(const r of[].concat(...document.body.children))ce.on(r,"mouseover",Ha);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Yo),this._element.classList.add(Yo),ce.trigger(this._element,NS,e)}}hide(){if(Er(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ce.trigger(this._element,SS,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ce.off(r,"mouseover",Ha);this._popper&&this._popper.destroy(),this._menu.classList.remove(Yo),this._element.classList.remove(Yo),this._element.setAttribute("aria-expanded","false"),Hn.removeDataAttribute(this._menu,"popper"),ce.trigger(this._element,_S,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Un(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${c0.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof q1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Un(this._config.reference)?e=vr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ta(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Yo)}_getPlacement(){const e=this._parent;if(e.classList.contains(MS))return HS;if(e.classList.contains(OS))return jS;if(e.classList.contains(LS))return WS;if(e.classList.contains(DS))return KS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(xS)?t?$S:VS:t?US:zS}_detectNavbar(){return this._element.closest(BS)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Hn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Pt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Me.find(FS,this._menu).filter(o=>Uo(o));r.length&&Bu(r,t,e===d0,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===TS||e.type==="keyup"&&e.key!==u0)return;const t=Me.find(RS);for(const r of t){const o=xn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===u0||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===bS,o=[wS,d0].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches(to)?this:Me.prev(this,to)[0]||Me.next(this,to)[0]||Me.findOne(to,e.delegateTarget.parentNode),i=xn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}ce.on(document,h0,to,xn.dataApiKeydownHandler),ce.on(document,h0,Ja,xn.dataApiKeydownHandler),ce.on(document,f0,xn.clearMenus),ce.on(document,IS,xn.clearMenus),ce.on(document,f0,to,function(n){n.preventDefault(),xn.getOrCreateInstance(this).toggle()}),tn(xn);const p0="backdrop",QS="fade",m0="show",g0=`mousedown.bs.${p0}`,ZS={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},JS={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class y0 extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ZS}static get DefaultType(){return JS}static get NAME(){return p0}show(e){if(!this._config.isVisible){Pt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&zs(t),t.classList.add(m0),this._emulateAnimation(()=>{Pt(e)})}hide(e){if(!this._config.isVisible){Pt(e);return}this._getElement().classList.remove(m0),this._emulateAnimation(()=>{this.dispose(),Pt(e)})}dispose(){this._isAppended&&(ce.off(this._element,g0),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(QS),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=vr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ce.on(e,g0,()=>{Pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ym(e,this._getElement(),this._config.isAnimated)}}const XS="focustrap",Xa=".bs.focustrap",qS=`focusin${Xa}`,e_=`keydown.tab${Xa}`,t_="Tab",n_="forward",v0="backward",r_={autofocus:!0,trapElement:null},o_={autofocus:"boolean",trapElement:"element"};class E0 extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return r_}static get DefaultType(){return o_}static get NAME(){return XS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ce.off(document,Xa),ce.on(document,qS,e=>this._handleFocusin(e)),ce.on(document,e_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ce.off(document,Xa))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Me.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===v0?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===t_&&(this._lastTabNavDirection=e.shiftKey?v0:n_)}}const C0=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",A0=".sticky-top",qa="padding-right",b0="margin-right";class Ku{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,qa,t=>t+e),this._setElementAttributes(C0,qa,t=>t+e),this._setElementAttributes(A0,b0,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qa),this._resetElementAttributes(C0,qa),this._resetElementAttributes(A0,b0)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Hn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Hn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Hn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Un(e)){t(e);return}for(const r of Me.find(e,this._element))t(r)}}const s_="modal",nn=".bs.modal",i_=".data-api",a_="Escape",l_=`hide${nn}`,c_=`hidePrevented${nn}`,w0=`hidden${nn}`,T0=`show${nn}`,u_=`shown${nn}`,d_=`resize${nn}`,f_=`click.dismiss${nn}`,h_=`mousedown.dismiss${nn}`,p_=`keydown.dismiss${nn}`,m_=`click${nn}${i_}`,S0="modal-open",g_="fade",_0="show",Yu="modal-static",y_=".modal.show",v_=".modal-dialog",E_=".modal-body",C_='[data-bs-toggle="modal"]',A_={backdrop:!0,focus:!0,keyboard:!0},b_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ar extends mn{constructor(e,t){super(e,t),this._dialog=Me.findOne(v_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ku,this._addEventListeners()}static get Default(){return A_}static get DefaultType(){return b_}static get NAME(){return s_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ce.trigger(this._element,T0,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(S0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ce.trigger(this._element,l_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ce.off(window,nn),ce.off(this._dialog,nn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new y0({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new E0({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=Me.findOne(E_,this._dialog);t&&(t.scrollTop=0),zs(this._element),this._element.classList.add(_0);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ce.trigger(this._element,u_,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ce.on(this._element,p_,e=>{if(e.key===a_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ce.on(window,d_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ce.on(this._element,h_,e=>{ce.one(this._element,f_,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(S0),this._resetAdjustments(),this._scrollBar.reset(),ce.trigger(this._element,w0)})}_isAnimated(){return this._element.classList.contains(g_)}_triggerBackdropTransition(){if(ce.trigger(this._element,c_).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Yu)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Yu),this._queueCallback(()=>{this._element.classList.remove(Yu),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=en()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=en()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ce.on(document,m_,C_,function(n){const e=Me.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ce.one(e,T0,o=>{o.defaultPrevented||ce.one(e,w0,()=>{Uo(this)&&this.focus()})});const t=Me.findOne(y_);t&&Ar.getInstance(t).hide(),Ar.getOrCreateInstance(e).toggle(this)}),ja(Ar),tn(Ar);const w_="offcanvas",jn=".bs.offcanvas",k0=".data-api",T_=`load${jn}${k0}`,S_="Escape",N0="show",I0="showing",x0="hiding",__="offcanvas-backdrop",M0=".offcanvas.show",k_=`show${jn}`,N_=`shown${jn}`,I_=`hide${jn}`,O0=`hidePrevented${jn}`,L0=`hidden${jn}`,x_=`resize${jn}`,M_=`click${jn}${k0}`,O_=`keydown.dismiss${jn}`,L_='[data-bs-toggle="offcanvas"]',D_={backdrop:!0,keyboard:!0,scroll:!1},R_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class br extends mn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return D_}static get DefaultType(){return R_}static get NAME(){return w_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ce.trigger(this._element,k_,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ku().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(I0);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(N0),this._element.classList.remove(I0),ce.trigger(this._element,N_,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ce.trigger(this._element,I_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(x0),this._backdrop.hide();const t=()=>{this._element.classList.remove(N0,x0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ku().reset(),ce.trigger(this._element,L0)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ce.trigger(this._element,O0);return}this.hide()},t=!!this._config.backdrop;return new y0({className:__,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new E0({trapElement:this._element})}_addEventListeners(){ce.on(this._element,O_,e=>{if(e.key===S_){if(this._config.keyboard){this.hide();return}ce.trigger(this._element,O0)}})}static jQueryInterface(e){return this.each(function(){const t=br.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ce.on(document,M_,L_,function(n){const e=Me.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Er(this))return;ce.one(e,L0,()=>{Uo(this)&&this.focus()});const t=Me.findOne(M0);t&&t!==e&&br.getInstance(t).hide(),br.getOrCreateInstance(e).toggle(this)}),ce.on(window,T_,()=>{for(const n of Me.find(M0))br.getOrCreateInstance(n).show()}),ce.on(window,x_,()=>{for(const n of Me.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&br.getOrCreateInstance(n).hide()}),ja(br),tn(br);const D0={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},B_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),P_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,F_=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?B_.has(t)?!!P_.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function V_(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)F_(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const $_="TemplateFactory",z_={allowList:D0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},H_={entry:"(string|element|function|null)",selector:"(string|element)"};class j_ extends Us{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return z_}static get DefaultType(){return U_}static get NAME(){return $_}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,s]of Object.entries(this._config.content))this._setContent(e,s,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},H_)}_setContent(e,t,r){const o=Me.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Un(t)){this._putElementInTemplate(vr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?V_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Pt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const W_="tooltip",K_=new Set(["sanitize","allowList","sanitizeFn"]),Gu="fade",Y_="modal",el="show",G_=".tooltip-inner",R0=`.${Y_}`,B0="hide.bs.modal",Ys="hover",Qu="focus",Q_="click",Z_="manual",J_="hide",X_="hidden",q_="show",ek="shown",tk="inserted",nk="click",rk="focusin",ok="focusout",sk="mouseenter",ik="mouseleave",ak={AUTO:"auto",TOP:"top",RIGHT:en()?"left":"right",BOTTOM:"bottom",LEFT:en()?"right":"left"},lk={allowList:D0,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ck={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Mn extends mn{constructor(e,t){if(typeof q1>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lk}static get DefaultType(){return ck}static get NAME(){return W_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ce.off(this._element.closest(R0),B0,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ce.trigger(this._element,this.constructor.eventName(q_)),r=(Wm(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),ce.trigger(this._element,this.constructor.eventName(tk))),this._popper=this._createPopper(o),o.classList.add(el),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ce.on(l,"mouseover",Ha);const i=()=>{ce.trigger(this._element,this.constructor.eventName(ek)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ce.trigger(this._element,this.constructor.eventName(J_)).defaultPrevented)return;if(this._getTipElement().classList.remove(el),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ce.off(o,"mouseover",Ha);this._activeTrigger[Q_]=!1,this._activeTrigger[Qu]=!1,this._activeTrigger[Ys]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ce.trigger(this._element,this.constructor.eventName(X_)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Gu,el),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=oT(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Gu),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new j_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[G_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Gu)}_isShown(){return this.tip&&this.tip.classList.contains(el)}_createPopper(e){const t=Pt(this._config.placement,[this,e,this._element]),r=ak[t.toUpperCase()];return ta(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Pt(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...Pt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ce.on(this._element,this.constructor.eventName(nk),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Z_){const r=t===Ys?this.constructor.eventName(sk):this.constructor.eventName(rk),o=t===Ys?this.constructor.eventName(ik):this.constructor.eventName(ok);ce.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?Qu:Ys]=!0,i._enter()}),ce.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?Qu:Ys]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ce.on(this._element.closest(R0),B0,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=Hn.getDataAttributes(this._element);for(const r of Object.keys(t))K_.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:vr(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=Mn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(Mn);const uk="popover",dk=".popover-header",fk=".popover-body",hk={...Mn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},pk={...Mn.DefaultType,content:"(null|string|element|function)"};class no extends Mn{static get Default(){return hk}static get DefaultType(){return pk}static get NAME(){return uk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dk]:this._getTitle(),[fk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=no.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(no);const mk="scrollspy",Zu=".bs.scrollspy",gk=".data-api",yk=`activate${Zu}`,P0=`click${Zu}`,vk=`load${Zu}${gk}`,Ek="dropdown-item",Go="active",Ck='[data-bs-spy="scroll"]',Ju="[href]",Ak=".nav, .list-group",F0=".nav-link",bk=`${F0}, .nav-item > ${F0}, .list-group-item`,wk=".dropdown",Tk=".dropdown-toggle",Sk={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},_k={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class tl extends mn{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Sk}static get DefaultType(){return _k}static get NAME(){return mk}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=vr(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ce.off(this._config.target,P0),ce.on(this._config.target,P0,Ju,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Me.find(Ju,this._config.target);for(const t of e){if(!t.hash||Er(t))continue;const r=Me.findOne(decodeURI(t.hash),this._element);Uo(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Go),this._activateParents(e),ce.trigger(this._element,yk,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Ek)){Me.findOne(Tk,e.closest(wk)).classList.add(Go);return}for(const t of Me.parents(e,Ak))for(const r of Me.prev(t,bk))r.classList.add(Go)}_clearActiveClass(e){e.classList.remove(Go);const t=Me.find(`${Ju}.${Go}`,e);for(const r of t)r.classList.remove(Go)}static jQueryInterface(e){return this.each(function(){const t=tl.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(window,vk,()=>{for(const n of Me.find(Ck))tl.getOrCreateInstance(n)}),tn(tl);const kk="tab",ro=".bs.tab",Nk=`hide${ro}`,Ik=`hidden${ro}`,xk=`show${ro}`,Mk=`shown${ro}`,Ok=`click${ro}`,Lk=`keydown${ro}`,Dk=`load${ro}`,Rk="ArrowLeft",V0="ArrowRight",Bk="ArrowUp",$0="ArrowDown",oo="active",z0="fade",Xu="show",Pk="dropdown",Fk=".dropdown-toggle",Vk=".dropdown-menu",qu=":not(.dropdown-toggle)",$k='.list-group, .nav, [role="tablist"]',zk=".nav-item, .list-group-item",Uk=`.nav-link${qu}, .list-group-item${qu}, [role="tab"]${qu}`,U0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ed=`${Uk}, ${U0}`,Hk=`.${oo}[data-bs-toggle="tab"], .${oo}[data-bs-toggle="pill"], .${oo}[data-bs-toggle="list"]`;class Qo extends mn{constructor(e){super(e),this._parent=this._element.closest($k),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ce.on(this._element,Lk,t=>this._keydown(t)))}static get NAME(){return kk}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ce.trigger(t,Nk,{relatedTarget:e}):null;ce.trigger(e,xk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(oo),this._activate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Xu);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ce.trigger(e,Mk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(z0))}_deactivate(e,t){if(!e)return;e.classList.remove(oo),e.blur(),this._deactivate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Xu);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ce.trigger(e,Ik,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(z0))}_keydown(e){if(![Rk,V0,Bk,$0].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[V0,$0].includes(e.key),r=Bu(this._getChildren().filter(o=>!Er(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),Qo.getOrCreateInstance(r).show())}_getChildren(){return Me.find(ed,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=Me.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(Pk))return;const o=(s,i)=>{const l=Me.findOne(s,r);l&&l.classList.toggle(i,t)};o(Fk,oo),o(Vk,Xu),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(oo)}_getInnerElement(e){return e.matches(ed)?e:Me.findOne(ed,e)}_getOuterElement(e){return e.closest(zk)||e}static jQueryInterface(e){return this.each(function(){const t=Qo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,Ok,U0,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Er(this)&&Qo.getOrCreateInstance(this).show()}),ce.on(window,Dk,()=>{for(const n of Me.find(Hk))Qo.getOrCreateInstance(n)}),tn(Qo);const jk="toast",wr=".bs.toast",Wk=`mouseover${wr}`,Kk=`mouseout${wr}`,Yk=`focusin${wr}`,Gk=`focusout${wr}`,Qk=`hide${wr}`,Zk=`hidden${wr}`,Jk=`show${wr}`,Xk=`shown${wr}`,qk="fade",H0="hide",nl="show",rl="showing",eN={animation:"boolean",autohide:"boolean",delay:"number"},tN={animation:!0,autohide:!0,delay:5e3};class Zo extends mn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tN}static get DefaultType(){return eN}static get NAME(){return jk}show(){if(ce.trigger(this._element,Jk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(qk);const t=()=>{this._element.classList.remove(rl),ce.trigger(this._element,Xk),this._maybeScheduleHide()};this._element.classList.remove(H0),zs(this._element),this._element.classList.add(nl,rl),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ce.trigger(this._element,Qk).defaultPrevented)return;const t=()=>{this._element.classList.add(H0),this._element.classList.remove(rl,nl),ce.trigger(this._element,Zk)};this._element.classList.add(rl),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(nl),super.dispose()}isShown(){return this._element.classList.contains(nl)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ce.on(this._element,Wk,e=>this._onInteraction(e,!0)),ce.on(this._element,Kk,e=>this._onInteraction(e,!1)),ce.on(this._element,Yk,e=>this._onInteraction(e,!0)),ce.on(this._element,Gk,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ja(Zo),tn(Zo);function j0(n,e){return e.value||n.getAttribute("title")||""}const Gs={mounted:(n,e)=>{const t=j0(n,e);t&&n.setAttribute("title",t),new Mn(n)},updated:(n,e)=>{const t=Mn.getInstance(n);t&&t.dispose();const r=j0(n,e);r&&n.setAttribute("title",r),new Mn(n)},unmounted:n=>{const e=Mn.getInstance(n);e&&e.dispose()}},nN={key:0,class:"pills-list__wrapper"},rN={class:"pills-list__ul"},oN={class:"bd-markdown-editor__menu-bottom"},sN={key:0,class:"vr"},W0=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Ou.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Dr(t,"modelValue",e),s=[Qb,Zb,Jb,Aw.configure({placeholder:t.placeholder}),Fw,Cw.configure({openOnClick:!1,validate:x=>/^https?:\/\//i.test(x)})];t.variant===Ou.FULL&&s.push(_w,Mw,Ow,Lw,Rw,Pw);const i=Gb({content:o.value,extensions:s,onUpdate:({editor:x})=>{const{view:M,state:L}=x,{from:$,to:V}=M.state.selection;if(L.doc.textBetween($-1,V,"")==" "&&x.getAttributes("link").href!=null&&x.chain().setTextSelection({from:$-1,to:V}).toggleLink({href:x.getAttributes("link").href}).setTextSelection({from:V,to:V}).run(),x.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",x.getHTML())}});c.watch(()=>t.modelValue,x=>{i.value.getHTML()!==x&&i.value.commands.setContent(x,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Ou.FULL),g=x=>i.value&&i.value.isActive(x)?"active":null,y=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!0):null),b=x=>{e("action",{name:"delete-attachment",obj:x})},E=x=>{e("action",{name:"image-attachment",obj:x})},v=c.computed(()=>{if(!i.value)return!1;const{from:x,to:M}=i.value.state.selection;return x!==M}),N=c.computed(()=>v.value?"Voeg een link toe":"Selecteer eerst tekst"),w=()=>{const x=i.value.getAttributes("link").href,M=window.prompt("Voeg link toe",x);if(M!==null){if(M===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:M}).run()}};return(x,M)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(Yb),{editor:c.unref(i)},null,8,["editor"]),x.pills?(c.openBlock(),c.createElementBlock("div",nN,[c.createElementVNode("ul",rN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(x.pills,(L,$)=>(c.openBlock(),c.createElementBlock("li",{key:$,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(L)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(x.$slots,"default"),y.value?(c.openBlock(),c.createBlock($a,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:b},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(za,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:b,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",oN,[c.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Or))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",sN)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:M[0]||(M[0]=L=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(El))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:M[1]||(M[1]=L=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(kl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:M[2]||(M[2]=L=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Dl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:M[3]||(M[3]=L=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Cl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:M[4]||(M[4]=L=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Il))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:w,disabled:!v.value},{default:c.withCtx(()=>[c.createVNode(c.unref(ii))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Gs),N.value]])])],2),c.createVNode(di,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),iN={class:"header"},aN=c.createElementVNode("div",null,"Menu",-1),lN={class:"icon-close-wrapper"},cN={class:"navbar"},uN={class:"nav navbar-nav w-100"},dN={class:"nav-item"},fN={class:"nav-item"},td=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",iN,[aN,c.createElementVNode("div",lN,[c.createVNode(oi,{onClick:o})])]),c.createElementVNode("nav",cN,[c.createElementVNode("ul",uN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",dN,[c.createVNode(Mr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",fN,[c.createVNode(Mr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),hN={class:"bd-user"},pN={class:"bd-user__information"},mN={class:"text-break"},gN={class:"overflow-x-hidden"},K0=c.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",hN,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(ls,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",pN,[c.createElementVNode("header",null,[c.createElementVNode("h5",mN,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",gN,c.toDisplayString(t.value),1)])]))}}),yN={class:"bd-chat-cloud-card"},vN={class:"bd-chat-cloud-card__header"},EN={class:"bd-chat-cloud-card__body"},CN=["innerHTML"],AN={class:"bd-chat-cloud-card__footer"},bN={key:0,class:"pills-list__wrapper"},wN={class:"pills-list__ul"},Y0=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=c.computed(()=>t.isSender?"sender":Ve),o=c.computed(()=>Ua(t.files,!1)),s=c.computed(()=>Ua(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(ls,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",yN,[c.createElementVNode("div",vN,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",EN,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,CN)])]),c.createElementVNode("div",AN,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",bN,[c.createElementVNode("ul",wN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock($a,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(za,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),TN=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(xl),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(Ml),{key:1})):(c.openBlock(),c.createBlock(c.unref(Ol),{key:2}))],2))}}),SN={class:"bd-table"},_N={key:0,class:"table"},kN={key:1},NN=["onClick"],IN={key:0},xN={key:1,class:"empty-text"},G0=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",SN,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",_N,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(TN,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",kN,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",IN,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,NN))),256))])])):(c.openBlock(),c.createElementBlock("p",xN,c.toDisplayString(r.emptyText),1))]))}}),MN=["id"],ON={key:0,class:"toast-body__title"},LN={class:"actions"},DN=["textContent"],RN=["textContent"],BN={class:"icon-wrapper"},PN=["textContent"],FN=["textContent"],Q0=3e4,Z0=5e3,J0=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let b="video-call-toast";return t.id&&(b+=`-${t.id}`),b}),a=c.computed(()=>r.value?[r.value?"is-handled":Ve,o.value?"is-handled--success":Ve,t.canceled?"is-handled--canceled":Ve].join(" "):Ve),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const b=l.value,E=document.querySelector(`#${b}`);if(E){E.addEventListener("hide.bs.toast",C);var v={autohide:!0,delay:Q0+Z0};i=Zo.getOrCreateInstance(E,v),i.show(),s=window.setTimeout(h,Q0)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),y()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),y()},y=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),Z0)},C=()=>{r.value=!1,o.value=!1};return(b,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",ON,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",BN,[c.createVNode(ri)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,PN),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,FN)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode($l,{value:b.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",LN,[c.createVNode(Ze,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(Al),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,DN)]),_:1}),c.createVNode(Ze,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(ri),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,RN)]),_:1})])],64))],2)],8,MN))}}),nd=c.defineComponent({__name:"BDDropdown",props:{size:{default:At.MD},variant:{default:ai.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=fo(),r=`__BD__DROPDOWN__${t.value}`,o=c.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),VN={class:"row bd-header"},$N={class:"col logo-mix"},zN=["src","alt"],UN=c.createElementVNode("div",null,"Menu",-1),HN={key:1,class:"col header-options"},jN={class:"col bd-btn-settings"},WN={key:2},rd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",VN,[c.createElementVNode("div",$N,[c.createVNode(vl,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,zN)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[UN,c.createVNode(Nl)])),o.value?(c.openBlock(),c.createElementBlock("div",HN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Ze,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",jN,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(ls,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",WN,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(nd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(pi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(pi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(td,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
183
183
  * shared v9.14.4
184
184
  * (c) 2025 kazuya kawaguchi
185
185
  * Released under the MIT License.
186
- */const Wn=typeof window<"u";let Kt,so;if(process.env.NODE_ENV!=="production"){const n=Wn&&window.performance;n&&n.mark&&n.measure&&n.clearMarks&&n.clearMeasures&&(Kt=e=>{n.mark(e)},so=(e,t,r)=>{n.measure(e,t,r),n.clearMarks(t),n.clearMarks(r)})}const WN=/\{([0-9a-zA-Z]+)\}/g;function od(n,...e){return e.length===1&&je(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(WN,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const Kn=(n,e=!1)=>e?Symbol.for(n):Symbol(n),KN=(n,e,t)=>YN({l:n,k:e,s:t}),YN=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ut=n=>typeof n=="number"&&isFinite(n),GN=n=>t2(n)==="[object Date]",Jo=n=>t2(n)==="[object RegExp]",ol=n=>He(n)&&Object.keys(n).length===0,Ct=Object.assign,QN=Object.create,Ke=(n=null)=>QN(n);let Xm;const Yn=()=>Xm||(Xm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ke());function qm(n){return n.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const ZN=Object.prototype.hasOwnProperty;function gn(n,e){return ZN.call(n,e)}const st=Array.isArray,Qe=n=>typeof n=="function",_e=n=>typeof n=="string",Ge=n=>typeof n=="boolean",je=n=>n!==null&&typeof n=="object",JN=n=>je(n)&&Qe(n.then)&&Qe(n.catch),e2=Object.prototype.toString,t2=n=>e2.call(n),He=n=>{if(!je(n))return!1;const e=Object.getPrototypeOf(n);return e===null||e.constructor===Object},XN=n=>n==null?"":st(n)||He(n)&&n.toString===e2?JSON.stringify(n,null,2):String(n);function qN(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const n2=2;function eI(n,e=0,t=n.length){const r=n.split(/\r?\n/);let o=0;const s=[];for(let i=0;i<r.length;i++)if(o+=r[i].length+1,o>=e){for(let l=i-n2;l<=i+n2||t>o;l++){if(l<0||l>=r.length)continue;const a=l+1;s.push(`${a}${" ".repeat(3-String(a).length)}| ${r[l]}`);const u=r[l].length;if(l===i){const d=e-(o-u)+1,f=Math.max(1,t>o?u-d:t-e);s.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(l>i){if(t>o){const d=Math.max(Math.min(t-o,u),1);s.push(" | "+"^".repeat(d))}o+=u+1}}break}return s.join(`
187
- `)}function sl(n){let e=n;return()=>++e}function Gn(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const r2={};function o2(n){r2[n]||(r2[n]=!0,Gn(n))}function tI(){const n=new Map;return{events:n,on(t,r){const o=n.get(t);o&&o.push(r)||n.set(t,[r])},off(t,r){const o=n.get(t);o&&o.splice(o.indexOf(r)>>>0,1)},emit(t,r){(n.get(t)||[]).slice().map(o=>o(r)),(n.get("*")||[]).slice().map(o=>o(t,r))}}}const il=n=>!je(n)||st(n);function al(n,e){if(il(n)||il(e))throw new Error("Invalid value");const t=[{src:n,des:e}];for(;t.length;){const{src:r,des:o}=t.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(je(r[s])&&!je(o[s])&&(o[s]=Array.isArray(r[s])?[]:Ke()),il(o[s])||il(r[s])?o[s]=r[s]:t.push({src:r[s],des:o[s]}))})}}/*!
186
+ */const Wn=typeof window<"u";let Kt,so;if(process.env.NODE_ENV!=="production"){const n=Wn&&window.performance;n&&n.mark&&n.measure&&n.clearMarks&&n.clearMeasures&&(Kt=e=>{n.mark(e)},so=(e,t,r)=>{n.measure(e,t,r),n.clearMarks(t),n.clearMarks(r)})}const KN=/\{([0-9a-zA-Z]+)\}/g;function od(n,...e){return e.length===1&&je(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(KN,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const Kn=(n,e=!1)=>e?Symbol.for(n):Symbol(n),YN=(n,e,t)=>GN({l:n,k:e,s:t}),GN=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ut=n=>typeof n=="number"&&isFinite(n),QN=n=>t2(n)==="[object Date]",Jo=n=>t2(n)==="[object RegExp]",ol=n=>He(n)&&Object.keys(n).length===0,Ct=Object.assign,ZN=Object.create,Ke=(n=null)=>ZN(n);let X0;const Yn=()=>X0||(X0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ke());function q0(n){return n.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const JN=Object.prototype.hasOwnProperty;function gn(n,e){return JN.call(n,e)}const st=Array.isArray,Qe=n=>typeof n=="function",_e=n=>typeof n=="string",Ge=n=>typeof n=="boolean",je=n=>n!==null&&typeof n=="object",XN=n=>je(n)&&Qe(n.then)&&Qe(n.catch),e2=Object.prototype.toString,t2=n=>e2.call(n),He=n=>{if(!je(n))return!1;const e=Object.getPrototypeOf(n);return e===null||e.constructor===Object},qN=n=>n==null?"":st(n)||He(n)&&n.toString===e2?JSON.stringify(n,null,2):String(n);function eI(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const n2=2;function tI(n,e=0,t=n.length){const r=n.split(/\r?\n/);let o=0;const s=[];for(let i=0;i<r.length;i++)if(o+=r[i].length+1,o>=e){for(let l=i-n2;l<=i+n2||t>o;l++){if(l<0||l>=r.length)continue;const a=l+1;s.push(`${a}${" ".repeat(3-String(a).length)}| ${r[l]}`);const u=r[l].length;if(l===i){const d=e-(o-u)+1,f=Math.max(1,t>o?u-d:t-e);s.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(l>i){if(t>o){const d=Math.max(Math.min(t-o,u),1);s.push(" | "+"^".repeat(d))}o+=u+1}}break}return s.join(`
187
+ `)}function sl(n){let e=n;return()=>++e}function Gn(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const r2={};function o2(n){r2[n]||(r2[n]=!0,Gn(n))}function nI(){const n=new Map;return{events:n,on(t,r){const o=n.get(t);o&&o.push(r)||n.set(t,[r])},off(t,r){const o=n.get(t);o&&o.splice(o.indexOf(r)>>>0,1)},emit(t,r){(n.get(t)||[]).slice().map(o=>o(r)),(n.get("*")||[]).slice().map(o=>o(t,r))}}}const il=n=>!je(n)||st(n);function al(n,e){if(il(n)||il(e))throw new Error("Invalid value");const t=[{src:n,des:e}];for(;t.length;){const{src:r,des:o}=t.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(je(r[s])&&!je(o[s])&&(o[s]=Array.isArray(r[s])?[]:Ke()),il(o[s])||il(r[s])?o[s]=r[s]:t.push({src:r[s],des:o[s]}))})}}/*!
188
188
  * message-compiler v9.14.4
189
189
  * (c) 2025 kazuya kawaguchi
190
190
  * Released under the MIT License.
191
- */function nI(n,e,t){return{line:n,column:e,offset:t}}function ll(n,e,t){const r={start:n,end:e};return t!=null&&(r.source=t),r}const rI=/\{([0-9a-zA-Z]+)\}/g;function s2(n,...e){return e.length===1&&oI(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(rI,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const i2=Object.assign,a2=n=>typeof n=="string",oI=n=>n!==null&&typeof n=="object";function l2(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const cl={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},sI={[cl.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function iI(n,e,...t){const r=s2(sI[n]||"",...t||[]),o={message:String(r),code:n};return e&&(o.location=e),o}const De={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},aI={[De.EXPECTED_TOKEN]:"Expected token: '{0}'",[De.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[De.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[De.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[De.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[De.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[De.EMPTY_PLACEHOLDER]:"Empty placeholder",[De.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[De.INVALID_LINKED_FORMAT]:"Invalid linked format",[De.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[De.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[De.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[De.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[De.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[De.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Xo(n,e,t={}){const{domain:r,messages:o,args:s}=t,i=s2((o||aI)[n]||"",...s||[]),l=new SyntaxError(String(i));return l.code=n,e&&(l.location=e),l.domain=r,l}function lI(n){throw n}const cI=/<\/?[\w\s="/.':;#-\/]+>/,uI=n=>cI.test(n),Qn=" ",dI="\r",It=`
192
- `,fI=String.fromCharCode(8232),hI=String.fromCharCode(8233);function pI(n){const e=n;let t=0,r=1,o=1,s=0;const i=x=>e[x]===dI&&e[x+1]===It,l=x=>e[x]===It,a=x=>e[x]===hI,u=x=>e[x]===fI,d=x=>i(x)||l(x)||a(x)||u(x),f=()=>t,h=()=>r,p=()=>o,m=()=>s,g=x=>i(x)||a(x)||u(x)?It:e[x],y=()=>g(t),C=()=>g(t+s);function b(){return s=0,d(t)&&(r++,o=0),i(t)&&t++,t++,o++,e[t]}function E(){return i(t+s)&&s++,s++,e[t+s]}function v(){t=0,r=1,o=1,s=0}function N(x=0){s=x}function w(){const x=t+s;for(;x!==t;)b();s=0}return{index:f,line:h,column:p,peekOffset:m,charAt:g,currentChar:y,currentPeek:C,next:b,peek:E,reset:v,resetPeek:N,skipToPeek:w}}const Tr=void 0,mI=".",c2="'",gI="tokenizer";function yI(n,e={}){const t=e.location!==!1,r=pI(n),o=()=>r.index(),s=()=>nI(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:d}=e;function f(S,_,F,...Q){const ae=u();if(_.column+=F,_.offset+=F,d){const pe=t?ll(ae.startLoc,_):null,Te=Xo(S,pe,{domain:gI,args:Q});d(Te)}}function h(S,_,F){S.endLoc=s(),S.currentType=_;const Q={type:_};return t&&(Q.loc=ll(S.startLoc,S.endLoc)),F!=null&&(Q.value=F),Q}const p=S=>h(S,14);function m(S,_){return S.currentChar()===_?(S.next(),_):(f(De.EXPECTED_TOKEN,s(),0,_),"")}function g(S){let _="";for(;S.currentPeek()===Qn||S.currentPeek()===It;)_+=S.currentPeek(),S.peek();return _}function y(S){const _=g(S);return S.skipToPeek(),_}function C(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function b(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=48&&_<=57}function E(S,_){const{currentType:F}=_;if(F!==2)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function v(S,_){const{currentType:F}=_;if(F!==2)return!1;g(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),ae=b(Q);return S.resetPeek(),ae}function N(S,_){const{currentType:F}=_;if(F!==2)return!1;g(S);const Q=S.currentPeek()===c2;return S.resetPeek(),Q}function w(S,_){const{currentType:F}=_;if(F!==8)return!1;g(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function x(S,_){const{currentType:F}=_;if(F!==9)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function M(S,_){const{currentType:F}=_;if(!(F===8||F===12))return!1;g(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function L(S,_){const{currentType:F}=_;if(F!==10)return!1;const Q=()=>{const pe=S.currentPeek();return pe==="{"?C(S.peek()):pe==="@"||pe==="%"||pe==="|"||pe===":"||pe==="."||pe===Qn||!pe?!1:pe===It?(S.peek(),Q()):z(S,!1)},ae=Q();return S.resetPeek(),ae}function $(S){g(S);const _=S.currentPeek()==="|";return S.resetPeek(),_}function V(S){const _=g(S),F=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:F,hasSpace:_.length>0}}function z(S,_=!0){const F=(ae=!1,pe="",Te=!1)=>{const q=S.currentPeek();return q==="{"?pe==="%"?!1:ae:q==="@"||!q?pe==="%"?!0:ae:q==="%"?(S.peek(),F(ae,"%",!0)):q==="|"?pe==="%"||Te?!0:!(pe===Qn||pe===It):q===Qn?(S.peek(),F(!0,Qn,Te)):q===It?(S.peek(),F(!0,It,Te)):!0},Q=F();return _&&S.resetPeek(),Q}function G(S,_){const F=S.currentChar();return F===Tr?Tr:_(F)?(S.next(),F):null}function Y(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function K(S){return G(S,Y)}function W(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function J(S){return G(S,W)}function U(S){const _=S.charCodeAt(0);return _>=48&&_<=57}function ee(S){return G(S,U)}function re(S){const _=S.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function ue(S){return G(S,re)}function ge(S){let _="",F="";for(;_=ee(S);)F+=_;return F}function Ee(S){y(S);const _=S.currentChar();return _!=="%"&&f(De.EXPECTED_TOKEN,s(),0,_),S.next(),"%"}function Se(S){let _="";for(;;){const F=S.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(z(S))_+=F,S.next();else break;else if(F===Qn||F===It)if(z(S))_+=F,S.next();else{if($(S))break;_+=F,S.next()}else _+=F,S.next()}return _}function ke(S){y(S);let _="",F="";for(;_=J(S);)F+=_;return S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),F}function xe(S){y(S);let _="";return S.currentChar()==="-"?(S.next(),_+=`-${ge(S)}`):_+=ge(S),S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_}function Ae(S){return S!==c2&&S!==It}function D(S){y(S),m(S,"'");let _="",F="";for(;_=G(S,Ae);)_==="\\"?F+=B(S):F+=_;const Q=S.currentChar();return Q===It||Q===Tr?(f(De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Q===It&&(S.next(),m(S,"'")),F):(m(S,"'"),F)}function B(S){const _=S.currentChar();switch(_){case"\\":case"'":return S.next(),`\\${_}`;case"u":return I(S,_,4);case"U":return I(S,_,6);default:return f(De.UNKNOWN_ESCAPE_SEQUENCE,s(),0,_),""}}function I(S,_,F){m(S,_);let Q="";for(let ae=0;ae<F;ae++){const pe=ue(S);if(!pe){f(De.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${_}${Q}${S.currentChar()}`);break}Q+=pe}return`\\${_}${Q}`}function R(S){return S!=="{"&&S!=="}"&&S!==Qn&&S!==It}function A(S){y(S);let _="",F="";for(;_=G(S,R);)F+=_;return F}function T(S){let _="",F="";for(;_=K(S);)F+=_;return F}function k(S){const _=F=>{const Q=S.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===Qn?F:(F+=Q,S.next(),_(F))};return _("")}function O(S){y(S);const _=m(S,"|");return y(S),_}function H(S,_){let F=null;switch(S.currentChar()){case"{":return _.braceNest>=1&&f(De.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),F=h(_,2,"{"),y(S),_.braceNest++,F;case"}":return _.braceNest>0&&_.currentType===2&&f(De.EMPTY_PLACEHOLDER,s(),0),S.next(),F=h(_,3,"}"),_.braceNest--,_.braceNest>0&&y(S),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),F;case"@":return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),F=j(S,_)||p(_),_.braceNest=0,F;default:{let ae=!0,pe=!0,Te=!0;if($(S))return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),F=h(_,1,O(S)),_.braceNest=0,_.inLinked=!1,F;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_.braceNest=0,Z(S,_);if(ae=E(S,_))return F=h(_,5,ke(S)),y(S),F;if(pe=v(S,_))return F=h(_,6,xe(S)),y(S),F;if(Te=N(S,_))return F=h(_,7,D(S)),y(S),F;if(!ae&&!pe&&!Te)return F=h(_,13,A(S)),f(De.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,F.value),y(S),F;break}}return F}function j(S,_){const{currentType:F}=_;let Q=null;const ae=S.currentChar();switch((F===8||F===9||F===12||F===10)&&(ae===It||ae===Qn)&&f(De.INVALID_LINKED_FORMAT,s(),0),ae){case"@":return S.next(),Q=h(_,8,"@"),_.inLinked=!0,Q;case".":return y(S),S.next(),h(_,9,".");case":":return y(S),S.next(),h(_,10,":");default:return $(S)?(Q=h(_,1,O(S)),_.braceNest=0,_.inLinked=!1,Q):w(S,_)||M(S,_)?(y(S),j(S,_)):x(S,_)?(y(S),h(_,12,T(S))):L(S,_)?(y(S),ae==="{"?H(S,_)||Q:h(_,11,k(S))):(F===8&&f(De.INVALID_LINKED_FORMAT,s(),0),_.braceNest=0,_.inLinked=!1,Z(S,_))}}function Z(S,_){let F={type:14};if(_.braceNest>0)return H(S,_)||p(_);if(_.inLinked)return j(S,_)||p(_);switch(S.currentChar()){case"{":return H(S,_)||p(_);case"}":return f(De.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),h(_,3,"}");case"@":return j(S,_)||p(_);default:{if($(S))return F=h(_,1,O(S)),_.braceNest=0,_.inLinked=!1,F;const{isModulo:ae,hasSpace:pe}=V(S);if(ae)return pe?h(_,0,Se(S)):h(_,4,Ee(S));if(z(S))return h(_,0,Se(S));break}}return F}function X(){const{currentType:S,offset:_,startLoc:F,endLoc:Q}=a;return a.lastType=S,a.lastOffset=_,a.lastStartLoc=F,a.lastEndLoc=Q,a.offset=o(),a.startLoc=s(),r.currentChar()===Tr?h(a,14):Z(r,a)}return{nextToken:X,currentOffset:o,currentPosition:s,context:u}}const vI="parser",EI=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function CI(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||t,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function AI(n={}){const e=n.location!==!1,{onError:t,onWarn:r}=n;function o(E,v,N,w,...x){const M=E.currentPosition();if(M.offset+=w,M.column+=w,t){const L=e?ll(N,M):null,$=Xo(v,L,{domain:vI,args:x});t($)}}function s(E,v,N,w,...x){const M=E.currentPosition();if(M.offset+=w,M.column+=w,r){const L=e?ll(N,M):null;r(iI(v,L,x))}}function i(E,v,N){const w={type:E};return e&&(w.start=v,w.end=v,w.loc={start:N,end:N}),w}function l(E,v,N,w){w&&(E.type=w),e&&(E.end=v,E.loc&&(E.loc.end=N))}function a(E,v){const N=E.context(),w=i(3,N.offset,N.startLoc);return w.value=v,l(w,E.currentOffset(),E.currentPosition()),w}function u(E,v){const N=E.context(),{lastOffset:w,lastStartLoc:x}=N,M=i(5,w,x);return M.index=parseInt(v,10),E.nextToken(),l(M,E.currentOffset(),E.currentPosition()),M}function d(E,v,N){const w=E.context(),{lastOffset:x,lastStartLoc:M}=w,L=i(4,x,M);return L.key=v,N===!0&&(L.modulo=!0),E.nextToken(),l(L,E.currentOffset(),E.currentPosition()),L}function f(E,v){const N=E.context(),{lastOffset:w,lastStartLoc:x}=N,M=i(9,w,x);return M.value=v.replace(EI,CI),E.nextToken(),l(M,E.currentOffset(),E.currentPosition()),M}function h(E){const v=E.nextToken(),N=E.context(),{lastOffset:w,lastStartLoc:x}=N,M=i(8,w,x);return v.type!==12?(o(E,De.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),M.value="",l(M,w,x),{nextConsumeToken:v,node:M}):(v.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,yn(v)),M.value=v.value||"",l(M,E.currentOffset(),E.currentPosition()),{node:M})}function p(E,v){const N=E.context(),w=i(7,N.offset,N.startLoc);return w.value=v,l(w,E.currentOffset(),E.currentPosition()),w}function m(E){const v=E.context(),N=i(6,v.offset,v.startLoc);let w=E.nextToken();if(w.type===9){const x=h(E);N.modifier=x.node,w=x.nextConsumeToken||E.nextToken()}switch(w.type!==10&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),w=E.nextToken(),w.type===2&&(w=E.nextToken()),w.type){case 11:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=p(E,w.value||"");break;case 5:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=d(E,w.value||"");break;case 6:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=u(E,w.value||"");break;case 7:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=f(E,w.value||"");break;default:{o(E,De.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const x=E.context(),M=i(7,x.offset,x.startLoc);return M.value="",l(M,x.offset,x.startLoc),N.key=M,l(N,x.offset,x.startLoc),{nextConsumeToken:w,node:N}}}return l(N,E.currentOffset(),E.currentPosition()),{node:N}}function g(E){const v=E.context(),N=v.currentType===1?E.currentOffset():v.offset,w=v.currentType===1?v.endLoc:v.startLoc,x=i(2,N,w);x.items=[];let M=null,L=null;do{const z=M||E.nextToken();switch(M=null,z.type){case 0:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(a(E,z.value||""));break;case 6:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(u(E,z.value||""));break;case 4:L=!0;break;case 5:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(d(E,z.value||"",!!L)),L&&(s(E,cl.USE_MODULO_SYNTAX,v.lastStartLoc,0,yn(z)),L=null);break;case 7:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(f(E,z.value||""));break;case 8:{const G=m(E);x.items.push(G.node),M=G.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const $=v.currentType===1?v.lastOffset:E.currentOffset(),V=v.currentType===1?v.lastEndLoc:E.currentPosition();return l(x,$,V),x}function y(E,v,N,w){const x=E.context();let M=w.items.length===0;const L=i(1,v,N);L.cases=[],L.cases.push(w);do{const $=g(E);M||(M=$.items.length===0),L.cases.push($)}while(x.currentType!==14);return M&&o(E,De.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),l(L,E.currentOffset(),E.currentPosition()),L}function C(E){const v=E.context(),{offset:N,startLoc:w}=v,x=g(E);return v.currentType===14?x:y(E,N,w,x)}function b(E){const v=yI(E,i2({},n)),N=v.context(),w=i(0,N.offset,N.startLoc);return e&&w.loc&&(w.loc.source=E),w.body=C(v),n.onCacheKey&&(w.cacheKey=n.onCacheKey(E)),N.currentType!==14&&o(v,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,E[N.offset]||""),l(w,v.currentOffset(),v.currentPosition()),w}return{parse:b}}function yn(n){if(n.type===14)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function bI(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function u2(n,e){for(let t=0;t<n.length;t++)sd(n[t],e)}function sd(n,e){switch(n.type){case 1:u2(n.cases,e),e.helper("plural");break;case 2:u2(n.items,e);break;case 6:{sd(n.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function wI(n,e={}){const t=bI(n);t.helper("normalize"),n.body&&sd(n.body,t);const r=t.context();n.helpers=Array.from(r.helpers)}function TI(n){const e=n.body;return e.type===2?d2(e):e.cases.forEach(t=>d2(t)),n}function d2(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;t<n.items.length;t++){const r=n.items[t];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===n.items.length){n.static=l2(e);for(let t=0;t<n.items.length;t++){const r=n.items[t];(r.type===3||r.type===9)&&delete r.value}}}}const SI="minifier";function qo(n){switch(n.t=n.type,n.type){case 0:{const e=n;qo(e.body),e.b=e.body,delete e.body;break}case 1:{const e=n,t=e.cases;for(let r=0;r<t.length;r++)qo(t[r]);e.c=t,delete e.cases;break}case 2:{const e=n,t=e.items;for(let r=0;r<t.length;r++)qo(t[r]);e.i=t,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=n;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=n;qo(e.key),e.k=e.key,delete e.key,e.modifier&&(qo(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=n;e.i=e.index,delete e.index;break}case 4:{const e=n;e.k=e.key,delete e.key;break}default:throw Xo(De.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:SI,args:[n.type]})}delete n.type}const _I="parser";function kI(n,e){const{sourceMap:t,filename:r,breakLineCode:o,needIndent:s}=e,i=e.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&n.loc&&(l.source=n.loc.source);const a=()=>l;function u(y,C){l.code+=y}function d(y,C=!0){const b=C?o:"";u(s?b+" ".repeat(y):b)}function f(y=!0){const C=++l.indentLevel;y&&d(C)}function h(y=!0){const C=--l.indentLevel;y&&d(C)}function p(){d(l.indentLevel)}return{context:a,push:u,indent:f,deindent:h,newline:p,helper:y=>`_${y}`,needIndent:()=>l.needIndent}}function NI(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),es(n,e.key),e.modifier?(n.push(", "),es(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function II(n,e){const{helper:t,needIndent:r}=n;n.push(`${t("normalize")}([`),n.indent(r());const o=e.items.length;for(let s=0;s<o&&(es(n,e.items[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}function xI(n,e){const{helper:t,needIndent:r}=n;if(e.cases.length>1){n.push(`${t("plural")}([`),n.indent(r());const o=e.cases.length;for(let s=0;s<o&&(es(n,e.cases[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}}function MI(n,e){e.body?es(n,e.body):n.push("null")}function es(n,e){const{helper:t}=n;switch(e.type){case 0:MI(n,e);break;case 1:xI(n,e);break;case 2:II(n,e);break;case 6:NI(n,e);break;case 8:n.push(JSON.stringify(e.value),e);break;case 7:n.push(JSON.stringify(e.value),e);break;case 5:n.push(`${t("interpolate")}(${t("list")}(${e.index}))`,e);break;case 4:n.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:n.push(JSON.stringify(e.value),e);break;case 3:n.push(JSON.stringify(e.value),e);break;default:throw Xo(De.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:_I,args:[e.type]})}}const OI=(n,e={})=>{const t=a2(e.mode)?e.mode:"normal",r=a2(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":`
193
- `,i=e.needIndent?e.needIndent:t!=="arrow",l=n.helpers||[],a=kI(n,{mode:t,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),l.length>0&&(a.push(`const { ${l2(l.map(f=>`${f}: _${f}`),", ")} } = ctx`),a.newline()),a.push("return "),es(a,n),a.deindent(i),a.push("}"),delete n.helpers;const{code:u,map:d}=a.context();return{ast:n,code:u,map:d?d.toJSON():void 0}};function LI(n,e={}){const t=i2({},e),r=!!t.jit,o=!!t.minify,s=t.optimize==null?!0:t.optimize,l=AI(t).parse(n);return r?(s&&TI(l),o&&qo(l),{ast:l,code:""}):(wI(l,t),OI(l,t))}/*!
191
+ */function rI(n,e,t){return{line:n,column:e,offset:t}}function ll(n,e,t){const r={start:n,end:e};return t!=null&&(r.source=t),r}const oI=/\{([0-9a-zA-Z]+)\}/g;function s2(n,...e){return e.length===1&&sI(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(oI,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const i2=Object.assign,a2=n=>typeof n=="string",sI=n=>n!==null&&typeof n=="object";function l2(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const cl={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},iI={[cl.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function aI(n,e,...t){const r=s2(iI[n]||"",...t||[]),o={message:String(r),code:n};return e&&(o.location=e),o}const De={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},lI={[De.EXPECTED_TOKEN]:"Expected token: '{0}'",[De.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[De.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[De.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[De.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[De.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[De.EMPTY_PLACEHOLDER]:"Empty placeholder",[De.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[De.INVALID_LINKED_FORMAT]:"Invalid linked format",[De.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[De.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[De.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[De.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[De.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[De.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Xo(n,e,t={}){const{domain:r,messages:o,args:s}=t,i=s2((o||lI)[n]||"",...s||[]),l=new SyntaxError(String(i));return l.code=n,e&&(l.location=e),l.domain=r,l}function cI(n){throw n}const uI=/<\/?[\w\s="/.':;#-\/]+>/,dI=n=>uI.test(n),Qn=" ",fI="\r",It=`
192
+ `,hI=String.fromCharCode(8232),pI=String.fromCharCode(8233);function mI(n){const e=n;let t=0,r=1,o=1,s=0;const i=x=>e[x]===fI&&e[x+1]===It,l=x=>e[x]===It,a=x=>e[x]===pI,u=x=>e[x]===hI,d=x=>i(x)||l(x)||a(x)||u(x),f=()=>t,h=()=>r,p=()=>o,m=()=>s,g=x=>i(x)||a(x)||u(x)?It:e[x],y=()=>g(t),C=()=>g(t+s);function b(){return s=0,d(t)&&(r++,o=0),i(t)&&t++,t++,o++,e[t]}function E(){return i(t+s)&&s++,s++,e[t+s]}function v(){t=0,r=1,o=1,s=0}function N(x=0){s=x}function w(){const x=t+s;for(;x!==t;)b();s=0}return{index:f,line:h,column:p,peekOffset:m,charAt:g,currentChar:y,currentPeek:C,next:b,peek:E,reset:v,resetPeek:N,skipToPeek:w}}const Tr=void 0,gI=".",c2="'",yI="tokenizer";function vI(n,e={}){const t=e.location!==!1,r=mI(n),o=()=>r.index(),s=()=>rI(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:d}=e;function f(S,_,F,...Q){const ae=u();if(_.column+=F,_.offset+=F,d){const pe=t?ll(ae.startLoc,_):null,Te=Xo(S,pe,{domain:yI,args:Q});d(Te)}}function h(S,_,F){S.endLoc=s(),S.currentType=_;const Q={type:_};return t&&(Q.loc=ll(S.startLoc,S.endLoc)),F!=null&&(Q.value=F),Q}const p=S=>h(S,14);function m(S,_){return S.currentChar()===_?(S.next(),_):(f(De.EXPECTED_TOKEN,s(),0,_),"")}function g(S){let _="";for(;S.currentPeek()===Qn||S.currentPeek()===It;)_+=S.currentPeek(),S.peek();return _}function y(S){const _=g(S);return S.skipToPeek(),_}function C(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function b(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=48&&_<=57}function E(S,_){const{currentType:F}=_;if(F!==2)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function v(S,_){const{currentType:F}=_;if(F!==2)return!1;g(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),ae=b(Q);return S.resetPeek(),ae}function N(S,_){const{currentType:F}=_;if(F!==2)return!1;g(S);const Q=S.currentPeek()===c2;return S.resetPeek(),Q}function w(S,_){const{currentType:F}=_;if(F!==8)return!1;g(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function x(S,_){const{currentType:F}=_;if(F!==9)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function M(S,_){const{currentType:F}=_;if(!(F===8||F===12))return!1;g(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function L(S,_){const{currentType:F}=_;if(F!==10)return!1;const Q=()=>{const pe=S.currentPeek();return pe==="{"?C(S.peek()):pe==="@"||pe==="%"||pe==="|"||pe===":"||pe==="."||pe===Qn||!pe?!1:pe===It?(S.peek(),Q()):z(S,!1)},ae=Q();return S.resetPeek(),ae}function $(S){g(S);const _=S.currentPeek()==="|";return S.resetPeek(),_}function V(S){const _=g(S),F=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:F,hasSpace:_.length>0}}function z(S,_=!0){const F=(ae=!1,pe="",Te=!1)=>{const q=S.currentPeek();return q==="{"?pe==="%"?!1:ae:q==="@"||!q?pe==="%"?!0:ae:q==="%"?(S.peek(),F(ae,"%",!0)):q==="|"?pe==="%"||Te?!0:!(pe===Qn||pe===It):q===Qn?(S.peek(),F(!0,Qn,Te)):q===It?(S.peek(),F(!0,It,Te)):!0},Q=F();return _&&S.resetPeek(),Q}function G(S,_){const F=S.currentChar();return F===Tr?Tr:_(F)?(S.next(),F):null}function Y(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function K(S){return G(S,Y)}function W(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function J(S){return G(S,W)}function U(S){const _=S.charCodeAt(0);return _>=48&&_<=57}function ee(S){return G(S,U)}function re(S){const _=S.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function ue(S){return G(S,re)}function ge(S){let _="",F="";for(;_=ee(S);)F+=_;return F}function Ee(S){y(S);const _=S.currentChar();return _!=="%"&&f(De.EXPECTED_TOKEN,s(),0,_),S.next(),"%"}function Se(S){let _="";for(;;){const F=S.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(z(S))_+=F,S.next();else break;else if(F===Qn||F===It)if(z(S))_+=F,S.next();else{if($(S))break;_+=F,S.next()}else _+=F,S.next()}return _}function ke(S){y(S);let _="",F="";for(;_=J(S);)F+=_;return S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),F}function xe(S){y(S);let _="";return S.currentChar()==="-"?(S.next(),_+=`-${ge(S)}`):_+=ge(S),S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_}function Ae(S){return S!==c2&&S!==It}function D(S){y(S),m(S,"'");let _="",F="";for(;_=G(S,Ae);)_==="\\"?F+=B(S):F+=_;const Q=S.currentChar();return Q===It||Q===Tr?(f(De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Q===It&&(S.next(),m(S,"'")),F):(m(S,"'"),F)}function B(S){const _=S.currentChar();switch(_){case"\\":case"'":return S.next(),`\\${_}`;case"u":return I(S,_,4);case"U":return I(S,_,6);default:return f(De.UNKNOWN_ESCAPE_SEQUENCE,s(),0,_),""}}function I(S,_,F){m(S,_);let Q="";for(let ae=0;ae<F;ae++){const pe=ue(S);if(!pe){f(De.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${_}${Q}${S.currentChar()}`);break}Q+=pe}return`\\${_}${Q}`}function R(S){return S!=="{"&&S!=="}"&&S!==Qn&&S!==It}function A(S){y(S);let _="",F="";for(;_=G(S,R);)F+=_;return F}function T(S){let _="",F="";for(;_=K(S);)F+=_;return F}function k(S){const _=F=>{const Q=S.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===Qn?F:(F+=Q,S.next(),_(F))};return _("")}function O(S){y(S);const _=m(S,"|");return y(S),_}function H(S,_){let F=null;switch(S.currentChar()){case"{":return _.braceNest>=1&&f(De.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),F=h(_,2,"{"),y(S),_.braceNest++,F;case"}":return _.braceNest>0&&_.currentType===2&&f(De.EMPTY_PLACEHOLDER,s(),0),S.next(),F=h(_,3,"}"),_.braceNest--,_.braceNest>0&&y(S),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),F;case"@":return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),F=j(S,_)||p(_),_.braceNest=0,F;default:{let ae=!0,pe=!0,Te=!0;if($(S))return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),F=h(_,1,O(S)),_.braceNest=0,_.inLinked=!1,F;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_.braceNest=0,Z(S,_);if(ae=E(S,_))return F=h(_,5,ke(S)),y(S),F;if(pe=v(S,_))return F=h(_,6,xe(S)),y(S),F;if(Te=N(S,_))return F=h(_,7,D(S)),y(S),F;if(!ae&&!pe&&!Te)return F=h(_,13,A(S)),f(De.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,F.value),y(S),F;break}}return F}function j(S,_){const{currentType:F}=_;let Q=null;const ae=S.currentChar();switch((F===8||F===9||F===12||F===10)&&(ae===It||ae===Qn)&&f(De.INVALID_LINKED_FORMAT,s(),0),ae){case"@":return S.next(),Q=h(_,8,"@"),_.inLinked=!0,Q;case".":return y(S),S.next(),h(_,9,".");case":":return y(S),S.next(),h(_,10,":");default:return $(S)?(Q=h(_,1,O(S)),_.braceNest=0,_.inLinked=!1,Q):w(S,_)||M(S,_)?(y(S),j(S,_)):x(S,_)?(y(S),h(_,12,T(S))):L(S,_)?(y(S),ae==="{"?H(S,_)||Q:h(_,11,k(S))):(F===8&&f(De.INVALID_LINKED_FORMAT,s(),0),_.braceNest=0,_.inLinked=!1,Z(S,_))}}function Z(S,_){let F={type:14};if(_.braceNest>0)return H(S,_)||p(_);if(_.inLinked)return j(S,_)||p(_);switch(S.currentChar()){case"{":return H(S,_)||p(_);case"}":return f(De.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),h(_,3,"}");case"@":return j(S,_)||p(_);default:{if($(S))return F=h(_,1,O(S)),_.braceNest=0,_.inLinked=!1,F;const{isModulo:ae,hasSpace:pe}=V(S);if(ae)return pe?h(_,0,Se(S)):h(_,4,Ee(S));if(z(S))return h(_,0,Se(S));break}}return F}function X(){const{currentType:S,offset:_,startLoc:F,endLoc:Q}=a;return a.lastType=S,a.lastOffset=_,a.lastStartLoc=F,a.lastEndLoc=Q,a.offset=o(),a.startLoc=s(),r.currentChar()===Tr?h(a,14):Z(r,a)}return{nextToken:X,currentOffset:o,currentPosition:s,context:u}}const EI="parser",CI=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function AI(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||t,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function bI(n={}){const e=n.location!==!1,{onError:t,onWarn:r}=n;function o(E,v,N,w,...x){const M=E.currentPosition();if(M.offset+=w,M.column+=w,t){const L=e?ll(N,M):null,$=Xo(v,L,{domain:EI,args:x});t($)}}function s(E,v,N,w,...x){const M=E.currentPosition();if(M.offset+=w,M.column+=w,r){const L=e?ll(N,M):null;r(aI(v,L,x))}}function i(E,v,N){const w={type:E};return e&&(w.start=v,w.end=v,w.loc={start:N,end:N}),w}function l(E,v,N,w){w&&(E.type=w),e&&(E.end=v,E.loc&&(E.loc.end=N))}function a(E,v){const N=E.context(),w=i(3,N.offset,N.startLoc);return w.value=v,l(w,E.currentOffset(),E.currentPosition()),w}function u(E,v){const N=E.context(),{lastOffset:w,lastStartLoc:x}=N,M=i(5,w,x);return M.index=parseInt(v,10),E.nextToken(),l(M,E.currentOffset(),E.currentPosition()),M}function d(E,v,N){const w=E.context(),{lastOffset:x,lastStartLoc:M}=w,L=i(4,x,M);return L.key=v,N===!0&&(L.modulo=!0),E.nextToken(),l(L,E.currentOffset(),E.currentPosition()),L}function f(E,v){const N=E.context(),{lastOffset:w,lastStartLoc:x}=N,M=i(9,w,x);return M.value=v.replace(CI,AI),E.nextToken(),l(M,E.currentOffset(),E.currentPosition()),M}function h(E){const v=E.nextToken(),N=E.context(),{lastOffset:w,lastStartLoc:x}=N,M=i(8,w,x);return v.type!==12?(o(E,De.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),M.value="",l(M,w,x),{nextConsumeToken:v,node:M}):(v.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,yn(v)),M.value=v.value||"",l(M,E.currentOffset(),E.currentPosition()),{node:M})}function p(E,v){const N=E.context(),w=i(7,N.offset,N.startLoc);return w.value=v,l(w,E.currentOffset(),E.currentPosition()),w}function m(E){const v=E.context(),N=i(6,v.offset,v.startLoc);let w=E.nextToken();if(w.type===9){const x=h(E);N.modifier=x.node,w=x.nextConsumeToken||E.nextToken()}switch(w.type!==10&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),w=E.nextToken(),w.type===2&&(w=E.nextToken()),w.type){case 11:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=p(E,w.value||"");break;case 5:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=d(E,w.value||"");break;case 6:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=u(E,w.value||"");break;case 7:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=f(E,w.value||"");break;default:{o(E,De.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const x=E.context(),M=i(7,x.offset,x.startLoc);return M.value="",l(M,x.offset,x.startLoc),N.key=M,l(N,x.offset,x.startLoc),{nextConsumeToken:w,node:N}}}return l(N,E.currentOffset(),E.currentPosition()),{node:N}}function g(E){const v=E.context(),N=v.currentType===1?E.currentOffset():v.offset,w=v.currentType===1?v.endLoc:v.startLoc,x=i(2,N,w);x.items=[];let M=null,L=null;do{const z=M||E.nextToken();switch(M=null,z.type){case 0:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(a(E,z.value||""));break;case 6:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(u(E,z.value||""));break;case 4:L=!0;break;case 5:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(d(E,z.value||"",!!L)),L&&(s(E,cl.USE_MODULO_SYNTAX,v.lastStartLoc,0,yn(z)),L=null);break;case 7:z.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(z)),x.items.push(f(E,z.value||""));break;case 8:{const G=m(E);x.items.push(G.node),M=G.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const $=v.currentType===1?v.lastOffset:E.currentOffset(),V=v.currentType===1?v.lastEndLoc:E.currentPosition();return l(x,$,V),x}function y(E,v,N,w){const x=E.context();let M=w.items.length===0;const L=i(1,v,N);L.cases=[],L.cases.push(w);do{const $=g(E);M||(M=$.items.length===0),L.cases.push($)}while(x.currentType!==14);return M&&o(E,De.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),l(L,E.currentOffset(),E.currentPosition()),L}function C(E){const v=E.context(),{offset:N,startLoc:w}=v,x=g(E);return v.currentType===14?x:y(E,N,w,x)}function b(E){const v=vI(E,i2({},n)),N=v.context(),w=i(0,N.offset,N.startLoc);return e&&w.loc&&(w.loc.source=E),w.body=C(v),n.onCacheKey&&(w.cacheKey=n.onCacheKey(E)),N.currentType!==14&&o(v,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,E[N.offset]||""),l(w,v.currentOffset(),v.currentPosition()),w}return{parse:b}}function yn(n){if(n.type===14)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function wI(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function u2(n,e){for(let t=0;t<n.length;t++)sd(n[t],e)}function sd(n,e){switch(n.type){case 1:u2(n.cases,e),e.helper("plural");break;case 2:u2(n.items,e);break;case 6:{sd(n.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function TI(n,e={}){const t=wI(n);t.helper("normalize"),n.body&&sd(n.body,t);const r=t.context();n.helpers=Array.from(r.helpers)}function SI(n){const e=n.body;return e.type===2?d2(e):e.cases.forEach(t=>d2(t)),n}function d2(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;t<n.items.length;t++){const r=n.items[t];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===n.items.length){n.static=l2(e);for(let t=0;t<n.items.length;t++){const r=n.items[t];(r.type===3||r.type===9)&&delete r.value}}}}const _I="minifier";function qo(n){switch(n.t=n.type,n.type){case 0:{const e=n;qo(e.body),e.b=e.body,delete e.body;break}case 1:{const e=n,t=e.cases;for(let r=0;r<t.length;r++)qo(t[r]);e.c=t,delete e.cases;break}case 2:{const e=n,t=e.items;for(let r=0;r<t.length;r++)qo(t[r]);e.i=t,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=n;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=n;qo(e.key),e.k=e.key,delete e.key,e.modifier&&(qo(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=n;e.i=e.index,delete e.index;break}case 4:{const e=n;e.k=e.key,delete e.key;break}default:throw Xo(De.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:_I,args:[n.type]})}delete n.type}const kI="parser";function NI(n,e){const{sourceMap:t,filename:r,breakLineCode:o,needIndent:s}=e,i=e.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&n.loc&&(l.source=n.loc.source);const a=()=>l;function u(y,C){l.code+=y}function d(y,C=!0){const b=C?o:"";u(s?b+" ".repeat(y):b)}function f(y=!0){const C=++l.indentLevel;y&&d(C)}function h(y=!0){const C=--l.indentLevel;y&&d(C)}function p(){d(l.indentLevel)}return{context:a,push:u,indent:f,deindent:h,newline:p,helper:y=>`_${y}`,needIndent:()=>l.needIndent}}function II(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),es(n,e.key),e.modifier?(n.push(", "),es(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function xI(n,e){const{helper:t,needIndent:r}=n;n.push(`${t("normalize")}([`),n.indent(r());const o=e.items.length;for(let s=0;s<o&&(es(n,e.items[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}function MI(n,e){const{helper:t,needIndent:r}=n;if(e.cases.length>1){n.push(`${t("plural")}([`),n.indent(r());const o=e.cases.length;for(let s=0;s<o&&(es(n,e.cases[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}}function OI(n,e){e.body?es(n,e.body):n.push("null")}function es(n,e){const{helper:t}=n;switch(e.type){case 0:OI(n,e);break;case 1:MI(n,e);break;case 2:xI(n,e);break;case 6:II(n,e);break;case 8:n.push(JSON.stringify(e.value),e);break;case 7:n.push(JSON.stringify(e.value),e);break;case 5:n.push(`${t("interpolate")}(${t("list")}(${e.index}))`,e);break;case 4:n.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:n.push(JSON.stringify(e.value),e);break;case 3:n.push(JSON.stringify(e.value),e);break;default:throw Xo(De.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:kI,args:[e.type]})}}const LI=(n,e={})=>{const t=a2(e.mode)?e.mode:"normal",r=a2(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":`
193
+ `,i=e.needIndent?e.needIndent:t!=="arrow",l=n.helpers||[],a=NI(n,{mode:t,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),l.length>0&&(a.push(`const { ${l2(l.map(f=>`${f}: _${f}`),", ")} } = ctx`),a.newline()),a.push("return "),es(a,n),a.deindent(i),a.push("}"),delete n.helpers;const{code:u,map:d}=a.context();return{ast:n,code:u,map:d?d.toJSON():void 0}};function DI(n,e={}){const t=i2({},e),r=!!t.jit,o=!!t.minify,s=t.optimize==null?!0:t.optimize,l=bI(t).parse(n);return r?(s&&SI(l),o&&qo(l),{ast:l,code:""}):(TI(l,t),LI(l,t))}/*!
194
194
  * core-base v9.14.4
195
195
  * (c) 2025 kazuya kawaguchi
196
196
  * Released under the MIT License.
197
- */function DI(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function vn(n){return je(n)&&id(n)===0&&(gn(n,"b")||gn(n,"body"))}const f2=["b","body"];function RI(n){return Sr(n,f2)}const h2=["c","cases"];function BI(n){return Sr(n,h2,[])}const p2=["s","static"];function PI(n){return Sr(n,p2)}const m2=["i","items"];function FI(n){return Sr(n,m2,[])}const g2=["t","type"];function id(n){return Sr(n,g2)}const y2=["v","value"];function ul(n,e){const t=Sr(n,y2);if(t!=null)return t;throw Qs(e)}const v2=["m","modifier"];function VI(n){return Sr(n,v2)}const E2=["k","key"];function $I(n){const e=Sr(n,E2);if(e)return e;throw Qs(6)}function Sr(n,e,t){for(let r=0;r<e.length;r++){const o=e[r];if(gn(n,o)&&n[o]!=null)return n[o]}return t}const C2=[...f2,...h2,...p2,...m2,...E2,...v2,...y2,...g2];function Qs(n){return new Error(`unhandled node type: ${n}`)}const _r=[];_r[0]={w:[0],i:[3,0],"[":[4],o:[7]},_r[1]={w:[1],".":[2],"[":[4],o:[7]},_r[2]={w:[2],i:[3,0],0:[3,0]},_r[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},_r[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},_r[5]={"'":[4,0],o:8,l:[5,0]},_r[6]={'"':[4,0],o:8,l:[6,0]};const zI=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function UI(n){return zI.test(n)}function HI(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function jI(n){if(n==null)return"o";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function WI(n){const e=n.trim();return n.charAt(0)==="0"&&isNaN(parseInt(n))?!1:UI(e)?HI(e):"*"+e}function KI(n){const e=[];let t=-1,r=0,o=0,s,i,l,a,u,d,f;const h=[];h[0]=()=>{i===void 0?i=l:i+=l},h[1]=()=>{i!==void 0&&(e.push(i),i=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,i===void 0||(i=WI(i),i===!1))return!1;h[1]()}};function p(){const m=n[t+1];if(r===5&&m==="'"||r===6&&m==='"')return t++,l="\\"+m,h[0](),!0}for(;r!==null;)if(t++,s=n[t],!(s==="\\"&&p())){if(a=jI(s),f=_r[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(l=s,d()===!1))))return;if(r===7)return e}}const A2=new Map;function YI(n,e){return je(n)?n[e]:null}function GI(n,e){if(!je(n))return null;let t=A2.get(e);if(t||(t=KI(e),t&&A2.set(e,t)),!t)return null;const r=t.length;let o=n,s=0;for(;s<r;){const i=t[s];if(C2.includes(i)&&vn(o))return null;const l=o[i];if(l===void 0||Qe(o))return null;o=l,s++}return o}const QI=n=>n,ZI=n=>"",JI="text",XI=n=>n.length===0?"":qN(n),qI=XN;function b2(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function ex(n){const e=ut(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(ut(n.named.count)||ut(n.named.n))?ut(n.named.count)?n.named.count:ut(n.named.n)?n.named.n:e:e}function tx(n,e){e.count||(e.count=n),e.n||(e.n=n)}function nx(n={}){const e=n.locale,t=ex(n),r=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?n.pluralRules[e]:b2,o=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?b2:void 0,s=C=>C[r(t,C.length,o)],i=n.list||[],l=C=>i[C],a=n.named||Ke();ut(n.pluralIndex)&&tx(t,a);const u=C=>a[C];function d(C){const b=Qe(n.messages)?n.messages(C):je(n.messages)?n.messages[C]:!1;return b||(n.parent?n.parent.message(C):ZI)}const f=C=>n.modifiers?n.modifiers[C]:QI,h=He(n.processor)&&Qe(n.processor.normalize)?n.processor.normalize:XI,p=He(n.processor)&&Qe(n.processor.interpolate)?n.processor.interpolate:qI,m=He(n.processor)&&_e(n.processor.type)?n.processor.type:JI,y={list:l,named:u,plural:s,linked:(C,...b)=>{const[E,v]=b;let N="text",w="";b.length===1?je(E)?(w=E.modifier||w,N=E.type||N):_e(E)&&(w=E||w):b.length===2&&(_e(E)&&(w=E||w),_e(v)&&(N=v||N));const x=d(C)(y),M=N==="vnode"&&st(x)&&w?x[0]:x;return w?f(w)(M,N):M},message:d,type:m,interpolate:p,normalize:h,values:Ct(Ke(),i,a)};return y}let Zs=null;function rx(n){Zs=n}function ox(n,e,t){Zs&&Zs.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const sx=ix("function:translate");function ix(n){return e=>Zs&&Zs.emit(n,e)}const w2=cl.__EXTEND_POINT__,io=sl(w2),xt={NOT_FOUND_KEY:w2,FALLBACK_TO_TRANSLATE:io(),CANNOT_FORMAT_NUMBER:io(),FALLBACK_TO_NUMBER_FORMAT:io(),CANNOT_FORMAT_DATE:io(),FALLBACK_TO_DATE_FORMAT:io(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:io(),__EXTEND_POINT__:io()},ax={[xt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[xt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[xt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[xt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ao(n,...e){return od(ax[n],...e)}const T2=De.__EXTEND_POINT__,lo=sl(T2),dt={INVALID_ARGUMENT:T2,INVALID_DATE_ARGUMENT:lo(),INVALID_ISO_DATE_ARGUMENT:lo(),NOT_SUPPORT_NON_STRING_MESSAGE:lo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:lo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:lo(),NOT_SUPPORT_LOCALE_TYPE:lo(),__EXTEND_POINT__:lo()};function On(n){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:lx}:void 0)}const lx={[dt.INVALID_ARGUMENT]:"Invalid arguments",[dt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[dt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[dt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[dt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function ad(n,e){return e.locale!=null?S2(e.locale):S2(n.locale)}let ld;function S2(n){if(_e(n))return n;if(Qe(n)){if(n.resolvedOnce&&ld!=null)return ld;if(n.constructor.name==="Function"){const e=n();if(JN(e))throw On(dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ld=e}else throw On(dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw On(dt.NOT_SUPPORT_LOCALE_TYPE)}function cx(n,e,t){return[...new Set([t,...st(e)?e:je(e)?Object.keys(e):_e(e)?[e]:[t]])]}function _2(n,e,t){const r=_e(t)?t:Js,o=n;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[t];for(;st(i);)i=k2(s,i,e);const l=st(e)||!He(e)?e:e.default?e.default:null;i=_e(l)?[l]:l,st(i)&&k2(s,i,!1),o.__localeChainCache.set(r,s)}return s}function k2(n,e,t){let r=!0;for(let o=0;o<e.length&&Ge(r);o++){const s=e[o];_e(s)&&(r=ux(n,e[o],t))}return r}function ux(n,e,t){let r;const o=e.split("-");do{const s=o.join("-");r=dx(n,s,t),o.splice(-1,1)}while(o.length&&r===!0);return r}function dx(n,e,t){let r=!1;if(!n.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const o=e.replace(/!/g,"");n.push(o),(st(t)||He(t))&&t[o]&&(r=t[o])}return r}const fx="9.14.4",dl=-1,Js="en-US",fl="",N2=n=>`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function hx(){return{upper:(n,e)=>e==="text"&&_e(n)?n.toUpperCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&_e(n)?n.toLowerCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&_e(n)?N2(n):e==="vnode"&&je(n)&&"__v_isVNode"in n?N2(n.children):n}}let I2;function x2(n){I2=n}let M2;function px(n){M2=n}let O2;function mx(n){O2=n}let L2=null;const gx=n=>{L2=n},yx=()=>L2;let D2=null;const R2=n=>{D2=n},vx=()=>D2;let B2=0;function Ex(n={}){const e=Qe(n.onWarn)?n.onWarn:Gn,t=_e(n.version)?n.version:fx,r=_e(n.locale)||Qe(n.locale)?n.locale:Js,o=Qe(r)?Js:r,s=st(n.fallbackLocale)||He(n.fallbackLocale)||_e(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:o,i=He(n.messages)?n.messages:cd(o),l=He(n.datetimeFormats)?n.datetimeFormats:cd(o),a=He(n.numberFormats)?n.numberFormats:cd(o),u=Ct(Ke(),n.modifiers,hx()),d=n.pluralRules||Ke(),f=Qe(n.missing)?n.missing:null,h=Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,p=Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,m=!!n.fallbackFormat,g=!!n.unresolving,y=Qe(n.postTranslation)?n.postTranslation:null,C=He(n.processor)?n.processor:null,b=Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,E=!!n.escapeParameter,v=Qe(n.messageCompiler)?n.messageCompiler:I2;process.env.NODE_ENV!=="production"&&Qe(n.messageCompiler)&&o2(ao(xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=Qe(n.messageResolver)?n.messageResolver:M2||YI,w=Qe(n.localeFallbacker)?n.localeFallbacker:O2||cx,x=je(n.fallbackContext)?n.fallbackContext:void 0,M=n,L=je(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,$=je(M.__numberFormatters)?M.__numberFormatters:new Map,V=je(M.__meta)?M.__meta:{};B2++;const z={version:t,cid:B2,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:f,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:g,postTranslation:y,processor:C,warnHtmlMessage:b,escapeParameter:E,messageCompiler:v,messageResolver:N,localeFallbacker:w,fallbackContext:x,onWarn:e,__meta:V};return z.datetimeFormats=l,z.numberFormats=a,z.__datetimeFormatters=L,z.__numberFormatters=$,process.env.NODE_ENV!=="production"&&(z.__v_emitter=M.__v_emitter!=null?M.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ox(z,t,V),z}const cd=n=>({[n]:Ke()});function hl(n,e){return n instanceof RegExp?n.test(e):n}function P2(n,e){return n instanceof RegExp?n.test(e):n}function ud(n,e,t,r,o){const{missing:s,onWarn:i}=n;if(process.env.NODE_ENV!=="production"){const l=n.__v_emitter;l&&l.emit("missing",{locale:t,key:e,type:o,groupId:`${o}:${e}`})}if(s!==null){const l=s(n,t,e,o);return _e(l)?l:e}else return process.env.NODE_ENV!=="production"&&P2(r,e)&&i(ao(xt.NOT_FOUND_KEY,{key:e,locale:t})),e}function Xs(n,e,t){const r=n;r.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function F2(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function Cx(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let r=t+1;r<e.length;r++)if(F2(n,e[r]))return!0;return!1}function dd(n){return t=>Ax(t,n)}function Ax(n,e){const t=RI(e);if(t==null)throw Qs(0);if(id(t)===1){const s=BI(t);return n.plural(s.reduce((i,l)=>[...i,V2(n,l)],[]))}else return V2(n,t)}function V2(n,e){const t=PI(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const r=FI(e).reduce((o,s)=>[...o,fd(n,s)],[]);return n.normalize(r)}}function fd(n,e){const t=id(e);switch(t){case 3:return ul(e,t);case 9:return ul(e,t);case 4:{const r=e;if(gn(r,"k")&&r.k)return n.interpolate(n.named(r.k));if(gn(r,"key")&&r.key)return n.interpolate(n.named(r.key));throw Qs(t)}case 5:{const r=e;if(gn(r,"i")&&ut(r.i))return n.interpolate(n.list(r.i));if(gn(r,"index")&&ut(r.index))return n.interpolate(n.list(r.index));throw Qs(t)}case 6:{const r=e,o=VI(r),s=$I(r);return n.linked(fd(n,s),o?fd(n,o):void 0,n.type)}case 7:return ul(e,t);case 8:return ul(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const bx="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function $2(n,e){e&&uI(n)&&Gn(od(bx,{source:n}))}const z2=n=>n;let ts=Ke();function U2(n){n.code===cl.USE_MODULO_SYNTAX&&Gn(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
197
+ */function RI(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function vn(n){return je(n)&&id(n)===0&&(gn(n,"b")||gn(n,"body"))}const f2=["b","body"];function BI(n){return Sr(n,f2)}const h2=["c","cases"];function PI(n){return Sr(n,h2,[])}const p2=["s","static"];function FI(n){return Sr(n,p2)}const m2=["i","items"];function VI(n){return Sr(n,m2,[])}const g2=["t","type"];function id(n){return Sr(n,g2)}const y2=["v","value"];function ul(n,e){const t=Sr(n,y2);if(t!=null)return t;throw Qs(e)}const v2=["m","modifier"];function $I(n){return Sr(n,v2)}const E2=["k","key"];function zI(n){const e=Sr(n,E2);if(e)return e;throw Qs(6)}function Sr(n,e,t){for(let r=0;r<e.length;r++){const o=e[r];if(gn(n,o)&&n[o]!=null)return n[o]}return t}const C2=[...f2,...h2,...p2,...m2,...E2,...v2,...y2,...g2];function Qs(n){return new Error(`unhandled node type: ${n}`)}const _r=[];_r[0]={w:[0],i:[3,0],"[":[4],o:[7]},_r[1]={w:[1],".":[2],"[":[4],o:[7]},_r[2]={w:[2],i:[3,0],0:[3,0]},_r[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},_r[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},_r[5]={"'":[4,0],o:8,l:[5,0]},_r[6]={'"':[4,0],o:8,l:[6,0]};const UI=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function HI(n){return UI.test(n)}function jI(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function WI(n){if(n==null)return"o";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function KI(n){const e=n.trim();return n.charAt(0)==="0"&&isNaN(parseInt(n))?!1:HI(e)?jI(e):"*"+e}function YI(n){const e=[];let t=-1,r=0,o=0,s,i,l,a,u,d,f;const h=[];h[0]=()=>{i===void 0?i=l:i+=l},h[1]=()=>{i!==void 0&&(e.push(i),i=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,i===void 0||(i=KI(i),i===!1))return!1;h[1]()}};function p(){const m=n[t+1];if(r===5&&m==="'"||r===6&&m==='"')return t++,l="\\"+m,h[0](),!0}for(;r!==null;)if(t++,s=n[t],!(s==="\\"&&p())){if(a=WI(s),f=_r[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(l=s,d()===!1))))return;if(r===7)return e}}const A2=new Map;function GI(n,e){return je(n)?n[e]:null}function QI(n,e){if(!je(n))return null;let t=A2.get(e);if(t||(t=YI(e),t&&A2.set(e,t)),!t)return null;const r=t.length;let o=n,s=0;for(;s<r;){const i=t[s];if(C2.includes(i)&&vn(o))return null;const l=o[i];if(l===void 0||Qe(o))return null;o=l,s++}return o}const ZI=n=>n,JI=n=>"",XI="text",qI=n=>n.length===0?"":eI(n),ex=qN;function b2(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function tx(n){const e=ut(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(ut(n.named.count)||ut(n.named.n))?ut(n.named.count)?n.named.count:ut(n.named.n)?n.named.n:e:e}function nx(n,e){e.count||(e.count=n),e.n||(e.n=n)}function rx(n={}){const e=n.locale,t=tx(n),r=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?n.pluralRules[e]:b2,o=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?b2:void 0,s=C=>C[r(t,C.length,o)],i=n.list||[],l=C=>i[C],a=n.named||Ke();ut(n.pluralIndex)&&nx(t,a);const u=C=>a[C];function d(C){const b=Qe(n.messages)?n.messages(C):je(n.messages)?n.messages[C]:!1;return b||(n.parent?n.parent.message(C):JI)}const f=C=>n.modifiers?n.modifiers[C]:ZI,h=He(n.processor)&&Qe(n.processor.normalize)?n.processor.normalize:qI,p=He(n.processor)&&Qe(n.processor.interpolate)?n.processor.interpolate:ex,m=He(n.processor)&&_e(n.processor.type)?n.processor.type:XI,y={list:l,named:u,plural:s,linked:(C,...b)=>{const[E,v]=b;let N="text",w="";b.length===1?je(E)?(w=E.modifier||w,N=E.type||N):_e(E)&&(w=E||w):b.length===2&&(_e(E)&&(w=E||w),_e(v)&&(N=v||N));const x=d(C)(y),M=N==="vnode"&&st(x)&&w?x[0]:x;return w?f(w)(M,N):M},message:d,type:m,interpolate:p,normalize:h,values:Ct(Ke(),i,a)};return y}let Zs=null;function ox(n){Zs=n}function sx(n,e,t){Zs&&Zs.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const ix=ax("function:translate");function ax(n){return e=>Zs&&Zs.emit(n,e)}const w2=cl.__EXTEND_POINT__,io=sl(w2),xt={NOT_FOUND_KEY:w2,FALLBACK_TO_TRANSLATE:io(),CANNOT_FORMAT_NUMBER:io(),FALLBACK_TO_NUMBER_FORMAT:io(),CANNOT_FORMAT_DATE:io(),FALLBACK_TO_DATE_FORMAT:io(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:io(),__EXTEND_POINT__:io()},lx={[xt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[xt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[xt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[xt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ao(n,...e){return od(lx[n],...e)}const T2=De.__EXTEND_POINT__,lo=sl(T2),dt={INVALID_ARGUMENT:T2,INVALID_DATE_ARGUMENT:lo(),INVALID_ISO_DATE_ARGUMENT:lo(),NOT_SUPPORT_NON_STRING_MESSAGE:lo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:lo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:lo(),NOT_SUPPORT_LOCALE_TYPE:lo(),__EXTEND_POINT__:lo()};function On(n){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:cx}:void 0)}const cx={[dt.INVALID_ARGUMENT]:"Invalid arguments",[dt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[dt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[dt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[dt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function ad(n,e){return e.locale!=null?S2(e.locale):S2(n.locale)}let ld;function S2(n){if(_e(n))return n;if(Qe(n)){if(n.resolvedOnce&&ld!=null)return ld;if(n.constructor.name==="Function"){const e=n();if(XN(e))throw On(dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ld=e}else throw On(dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw On(dt.NOT_SUPPORT_LOCALE_TYPE)}function ux(n,e,t){return[...new Set([t,...st(e)?e:je(e)?Object.keys(e):_e(e)?[e]:[t]])]}function _2(n,e,t){const r=_e(t)?t:Js,o=n;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[t];for(;st(i);)i=k2(s,i,e);const l=st(e)||!He(e)?e:e.default?e.default:null;i=_e(l)?[l]:l,st(i)&&k2(s,i,!1),o.__localeChainCache.set(r,s)}return s}function k2(n,e,t){let r=!0;for(let o=0;o<e.length&&Ge(r);o++){const s=e[o];_e(s)&&(r=dx(n,e[o],t))}return r}function dx(n,e,t){let r;const o=e.split("-");do{const s=o.join("-");r=fx(n,s,t),o.splice(-1,1)}while(o.length&&r===!0);return r}function fx(n,e,t){let r=!1;if(!n.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const o=e.replace(/!/g,"");n.push(o),(st(t)||He(t))&&t[o]&&(r=t[o])}return r}const hx="9.14.4",dl=-1,Js="en-US",fl="",N2=n=>`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function px(){return{upper:(n,e)=>e==="text"&&_e(n)?n.toUpperCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&_e(n)?n.toLowerCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&_e(n)?N2(n):e==="vnode"&&je(n)&&"__v_isVNode"in n?N2(n.children):n}}let I2;function x2(n){I2=n}let M2;function mx(n){M2=n}let O2;function gx(n){O2=n}let L2=null;const yx=n=>{L2=n},vx=()=>L2;let D2=null;const R2=n=>{D2=n},Ex=()=>D2;let B2=0;function Cx(n={}){const e=Qe(n.onWarn)?n.onWarn:Gn,t=_e(n.version)?n.version:hx,r=_e(n.locale)||Qe(n.locale)?n.locale:Js,o=Qe(r)?Js:r,s=st(n.fallbackLocale)||He(n.fallbackLocale)||_e(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:o,i=He(n.messages)?n.messages:cd(o),l=He(n.datetimeFormats)?n.datetimeFormats:cd(o),a=He(n.numberFormats)?n.numberFormats:cd(o),u=Ct(Ke(),n.modifiers,px()),d=n.pluralRules||Ke(),f=Qe(n.missing)?n.missing:null,h=Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,p=Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,m=!!n.fallbackFormat,g=!!n.unresolving,y=Qe(n.postTranslation)?n.postTranslation:null,C=He(n.processor)?n.processor:null,b=Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,E=!!n.escapeParameter,v=Qe(n.messageCompiler)?n.messageCompiler:I2;process.env.NODE_ENV!=="production"&&Qe(n.messageCompiler)&&o2(ao(xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=Qe(n.messageResolver)?n.messageResolver:M2||GI,w=Qe(n.localeFallbacker)?n.localeFallbacker:O2||ux,x=je(n.fallbackContext)?n.fallbackContext:void 0,M=n,L=je(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,$=je(M.__numberFormatters)?M.__numberFormatters:new Map,V=je(M.__meta)?M.__meta:{};B2++;const z={version:t,cid:B2,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:f,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:g,postTranslation:y,processor:C,warnHtmlMessage:b,escapeParameter:E,messageCompiler:v,messageResolver:N,localeFallbacker:w,fallbackContext:x,onWarn:e,__meta:V};return z.datetimeFormats=l,z.numberFormats=a,z.__datetimeFormatters=L,z.__numberFormatters=$,process.env.NODE_ENV!=="production"&&(z.__v_emitter=M.__v_emitter!=null?M.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&sx(z,t,V),z}const cd=n=>({[n]:Ke()});function hl(n,e){return n instanceof RegExp?n.test(e):n}function P2(n,e){return n instanceof RegExp?n.test(e):n}function ud(n,e,t,r,o){const{missing:s,onWarn:i}=n;if(process.env.NODE_ENV!=="production"){const l=n.__v_emitter;l&&l.emit("missing",{locale:t,key:e,type:o,groupId:`${o}:${e}`})}if(s!==null){const l=s(n,t,e,o);return _e(l)?l:e}else return process.env.NODE_ENV!=="production"&&P2(r,e)&&i(ao(xt.NOT_FOUND_KEY,{key:e,locale:t})),e}function Xs(n,e,t){const r=n;r.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function F2(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function Ax(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let r=t+1;r<e.length;r++)if(F2(n,e[r]))return!0;return!1}function dd(n){return t=>bx(t,n)}function bx(n,e){const t=BI(e);if(t==null)throw Qs(0);if(id(t)===1){const s=PI(t);return n.plural(s.reduce((i,l)=>[...i,V2(n,l)],[]))}else return V2(n,t)}function V2(n,e){const t=FI(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const r=VI(e).reduce((o,s)=>[...o,fd(n,s)],[]);return n.normalize(r)}}function fd(n,e){const t=id(e);switch(t){case 3:return ul(e,t);case 9:return ul(e,t);case 4:{const r=e;if(gn(r,"k")&&r.k)return n.interpolate(n.named(r.k));if(gn(r,"key")&&r.key)return n.interpolate(n.named(r.key));throw Qs(t)}case 5:{const r=e;if(gn(r,"i")&&ut(r.i))return n.interpolate(n.list(r.i));if(gn(r,"index")&&ut(r.index))return n.interpolate(n.list(r.index));throw Qs(t)}case 6:{const r=e,o=$I(r),s=zI(r);return n.linked(fd(n,s),o?fd(n,o):void 0,n.type)}case 7:return ul(e,t);case 8:return ul(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const wx="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function $2(n,e){e&&dI(n)&&Gn(od(wx,{source:n}))}const z2=n=>n;let ts=Ke();function U2(n){n.code===cl.USE_MODULO_SYNTAX&&Gn(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
198
198
  reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
199
- (message compiler warning message: ${n.message})`)}function H2(n,e={}){let t=!1;const r=e.onError||lI;return e.onError=o=>{t=!0,r(o)},{...LI(n,e),detectError:t}}const wx=(n,e)=>{if(!_e(n))throw On(dt.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=U2);{const t=Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$2(n,t);const o=(e.onCacheKey||z2)(n),s=ts[o];if(s)return s;const{code:i,detectError:l}=H2(n,e),a=new Function(`return ${i}`)();return l?a:ts[o]=a}};function Tx(n,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=U2),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&_e(n)){const t=Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$2(n,t);const o=(e.onCacheKey||z2)(n),s=ts[o];if(s)return s;const{ast:i,detectError:l}=H2(n,{...e,location:process.env.NODE_ENV!=="production",jit:!0}),a=dd(i);return l?a:ts[o]=a}else{if(process.env.NODE_ENV!=="production"&&!vn(n))return Gn(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>n;const t=n.cacheKey;if(t){const r=ts[t];return r||(ts[t]=dd(n))}else return dd(n)}}const j2=()=>"",rn=n=>Qe(n);function W2(n,...e){const{fallbackFormat:t,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=n,[a,u]=hd(...e),d=Ge(u.missingWarn)?u.missingWarn:n.missingWarn,f=Ge(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn,h=Ge(u.escapeParameter)?u.escapeParameter:n.escapeParameter,p=!!u.resolvedMessage,m=_e(u.default)||Ge(u.default)?Ge(u.default)?s?a:()=>a:u.default:t?s?a:()=>a:"",g=t||m!=="",y=ad(n,u);h&&Sx(u);let[C,b,E]=p?[a,y,l[y]||Ke()]:K2(n,a,y,i,f,d),v=C,N=a;if(!p&&!(_e(v)||vn(v)||rn(v))&&g&&(v=m,N=v),!p&&(!(_e(v)||vn(v)||rn(v))||!_e(b)))return o?dl:a;if(process.env.NODE_ENV!=="production"&&_e(v)&&n.messageCompiler==null)return Gn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`),a;let w=!1;const x=()=>{w=!0},M=rn(v)?v:Y2(n,a,b,v,N,x);if(w)return v;const L=Ix(n,b,E,u),$=nx(L),V=_x(n,M,$),z=r?r(V,a):V;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const G={timestamp:Date.now(),key:_e(a)?a:rn(v)?v.key:"",locale:b||(rn(v)?v.locale:""),format:_e(v)?v:rn(v)?v.source:"",message:z};G.meta=Ct({},n.__meta,yx()||{}),sx(G)}return z}function Sx(n){st(n.list)?n.list=n.list.map(e=>_e(e)?qm(e):e):je(n.named)&&Object.keys(n.named).forEach(e=>{_e(n.named[e])&&(n.named[e]=qm(n.named[e]))})}function K2(n,e,t,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=n,d=u(n,r,t);let f=Ke(),h,p=null,m=t,g=null;const y="translate";for(let C=0;C<d.length;C++){if(h=g=d[C],process.env.NODE_ENV!=="production"&&t!==h&&!F2(t,h)&&hl(o,e)&&l(ao(xt.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&t!==h){const N=n.__v_emitter;N&&N.emit("fallback",{type:y,key:e,from:m,to:g,groupId:`${y}:${e}`})}f=i[h]||Ke();let b=null,E,v;if(process.env.NODE_ENV!=="production"&&Wn&&(b=window.performance.now(),E="intlify-message-resolve-start",v="intlify-message-resolve-end",Kt&&Kt(E)),(p=a(f,e))===null&&(p=f[e]),process.env.NODE_ENV!=="production"&&Wn){const N=window.performance.now(),w=n.__v_emitter;w&&b&&p&&w.emit("message-resolve",{type:"message-resolve",key:e,message:p,time:N-b,groupId:`${y}:${e}`}),E&&v&&Kt&&so&&(Kt(v),so("intlify message resolve",E,v))}if(_e(p)||vn(p)||rn(p))break;if(!Cx(h,d)){const N=ud(n,e,h,s,y);N!==e&&(p=N)}m=g}return[p,h,f]}function Y2(n,e,t,r,o,s){const{messageCompiler:i,warnHtmlMessage:l}=n;if(rn(r)){const h=r;return h.locale=h.locale||t,h.key=h.key||e,h}if(i==null){const h=()=>r;return h.locale=t,h.key=e,h}let a=null,u,d;process.env.NODE_ENV!=="production"&&Wn&&(a=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Kt&&Kt(u));const f=i(r,kx(n,t,o,r,l,s));if(process.env.NODE_ENV!=="production"&&Wn){const h=window.performance.now(),p=n.__v_emitter;p&&a&&p.emit("message-compilation",{type:"message-compilation",message:r,time:h-a,groupId:`translate:${e}`}),u&&d&&Kt&&so&&(Kt(d),so("intlify message compilation",u,d))}return f.locale=t,f.key=e,f.source=r,f}function _x(n,e,t){let r=null,o,s;process.env.NODE_ENV!=="production"&&Wn&&(r=window.performance.now(),o="intlify-message-evaluation-start",s="intlify-message-evaluation-end",Kt&&Kt(o));const i=e(t);if(process.env.NODE_ENV!=="production"&&Wn){const l=window.performance.now(),a=n.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:i,time:l-r,groupId:`translate:${e.key}`}),o&&s&&Kt&&so&&(Kt(s),so("intlify message evaluation",o,s))}return i}function hd(...n){const[e,t,r]=n,o=Ke();if(!_e(e)&&!ut(e)&&!rn(e)&&!vn(e))throw On(dt.INVALID_ARGUMENT);const s=ut(e)?String(e):(rn(e),e);return ut(t)?o.plural=t:_e(t)?o.default=t:He(t)&&!ol(t)?o.named=t:st(t)&&(o.list=t),ut(r)?o.plural=r:_e(r)?o.default=r:He(r)&&Ct(o,r),[s,o]}function kx(n,e,t,r,o,s){return{locale:e,key:t,warnHtmlMessage:o,onError:i=>{if(s&&s(i),process.env.NODE_ENV!=="production"){const l=Nx(r),a=`Message compilation error: ${i.message}`,u=i.location&&l&&eI(l,i.location.start.offset,i.location.end.offset),d=n.__v_emitter;d&&l&&d.emit("compile-error",{message:l,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${t}`}),console.error(u?`${a}
200
- ${u}`:a)}else throw i},onCacheKey:i=>KN(e,t,i)}}function Nx(n){if(_e(n))return n;if(n.loc&&n.loc.source)return n.loc.source}function Ix(n,e,t,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:d}=n,h={locale:e,modifiers:o,pluralRules:s,messages:p=>{let m=i(t,p);if(m==null&&d){const[,,g]=K2(d,p,e,l,a,u);m=i(g,p)}if(_e(m)||vn(m)){let g=!1;const C=Y2(n,p,e,m,p,()=>{g=!0});return g?j2:C}else return rn(m)?m:j2}};return n.processor&&(h.processor=n.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),ut(r.plural)&&(h.pluralIndex=r.plural),h}const G2=typeof Intl<"u",Q2={dateTimeFormat:G2&&typeof Intl.DateTimeFormat<"u",numberFormat:G2&&typeof Intl.NumberFormat<"u"};function Z2(n,...e){const{datetimeFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__datetimeFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!Q2.dateTimeFormat)return s(ao(xt.CANNOT_FORMAT_DATE)),fl;const[a,u,d,f]=pd(...e),h=Ge(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ge(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=ad(n,d),y=i(n,o,g);if(!_e(a)||a==="")return new Intl.DateTimeFormat(g,f).format(u);let C={},b,E=null,v=g,N=null;const w="datetime format";for(let L=0;L<y.length;L++){if(b=N=y[L],process.env.NODE_ENV!=="production"&&g!==b&&hl(p,a)&&s(ao(xt.FALLBACK_TO_DATE_FORMAT,{key:a,target:b})),process.env.NODE_ENV!=="production"&&g!==b){const $=n.__v_emitter;$&&$.emit("fallback",{type:w,key:a,from:v,to:N,groupId:`${w}:${a}`})}if(C=t[b]||{},E=C[a],He(E))break;ud(n,a,b,h,w),v=N}if(!He(E)||!_e(b))return r?dl:a;let x=`${b}__${a}`;ol(f)||(x=`${x}__${JSON.stringify(f)}`);let M=l.get(x);return M||(M=new Intl.DateTimeFormat(b,Ct({},E,f)),l.set(x,M)),m?M.formatToParts(u):M.format(u)}const J2=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function pd(...n){const[e,t,r,o]=n,s=Ke();let i=Ke(),l;if(_e(e)){const a=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw On(dt.INVALID_ISO_DATE_ARGUMENT);const u=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(u);try{l.toISOString()}catch{throw On(dt.INVALID_ISO_DATE_ARGUMENT)}}else if(GN(e)){if(isNaN(e.getTime()))throw On(dt.INVALID_DATE_ARGUMENT);l=e}else if(ut(e))l=e;else throw On(dt.INVALID_ARGUMENT);return _e(t)?s.key=t:He(t)&&Object.keys(t).forEach(a=>{J2.includes(a)?i[a]=t[a]:s[a]=t[a]}),_e(r)?s.locale=r:He(r)&&(i=r),He(o)&&(i=o),[s.key||"",l,s,i]}function X2(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function q2(n,...e){const{numberFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__numberFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!Q2.numberFormat)return s(ao(xt.CANNOT_FORMAT_NUMBER)),fl;const[a,u,d,f]=md(...e),h=Ge(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ge(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=ad(n,d),y=i(n,o,g);if(!_e(a)||a==="")return new Intl.NumberFormat(g,f).format(u);let C={},b,E=null,v=g,N=null;const w="number format";for(let L=0;L<y.length;L++){if(b=N=y[L],process.env.NODE_ENV!=="production"&&g!==b&&hl(p,a)&&s(ao(xt.FALLBACK_TO_NUMBER_FORMAT,{key:a,target:b})),process.env.NODE_ENV!=="production"&&g!==b){const $=n.__v_emitter;$&&$.emit("fallback",{type:w,key:a,from:v,to:N,groupId:`${w}:${a}`})}if(C=t[b]||{},E=C[a],He(E))break;ud(n,a,b,h,w),v=N}if(!He(E)||!_e(b))return r?dl:a;let x=`${b}__${a}`;ol(f)||(x=`${x}__${JSON.stringify(f)}`);let M=l.get(x);return M||(M=new Intl.NumberFormat(b,Ct({},E,f)),l.set(x,M)),m?M.formatToParts(u):M.format(u)}const eg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function md(...n){const[e,t,r,o]=n,s=Ke();let i=Ke();if(!ut(e))throw On(dt.INVALID_ARGUMENT);const l=e;return _e(t)?s.key=t:He(t)&&Object.keys(t).forEach(a=>{eg.includes(a)?i[a]=t[a]:s[a]=t[a]}),_e(r)?s.locale=r:He(r)&&(i=r),He(o)&&(i=o),[s.key||"",l,s,i]}function tg(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}DI();/*!
199
+ (message compiler warning message: ${n.message})`)}function H2(n,e={}){let t=!1;const r=e.onError||cI;return e.onError=o=>{t=!0,r(o)},{...DI(n,e),detectError:t}}const Tx=(n,e)=>{if(!_e(n))throw On(dt.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=U2);{const t=Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$2(n,t);const o=(e.onCacheKey||z2)(n),s=ts[o];if(s)return s;const{code:i,detectError:l}=H2(n,e),a=new Function(`return ${i}`)();return l?a:ts[o]=a}};function Sx(n,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=U2),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&_e(n)){const t=Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$2(n,t);const o=(e.onCacheKey||z2)(n),s=ts[o];if(s)return s;const{ast:i,detectError:l}=H2(n,{...e,location:process.env.NODE_ENV!=="production",jit:!0}),a=dd(i);return l?a:ts[o]=a}else{if(process.env.NODE_ENV!=="production"&&!vn(n))return Gn(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>n;const t=n.cacheKey;if(t){const r=ts[t];return r||(ts[t]=dd(n))}else return dd(n)}}const j2=()=>"",rn=n=>Qe(n);function W2(n,...e){const{fallbackFormat:t,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=n,[a,u]=hd(...e),d=Ge(u.missingWarn)?u.missingWarn:n.missingWarn,f=Ge(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn,h=Ge(u.escapeParameter)?u.escapeParameter:n.escapeParameter,p=!!u.resolvedMessage,m=_e(u.default)||Ge(u.default)?Ge(u.default)?s?a:()=>a:u.default:t?s?a:()=>a:"",g=t||m!=="",y=ad(n,u);h&&_x(u);let[C,b,E]=p?[a,y,l[y]||Ke()]:K2(n,a,y,i,f,d),v=C,N=a;if(!p&&!(_e(v)||vn(v)||rn(v))&&g&&(v=m,N=v),!p&&(!(_e(v)||vn(v)||rn(v))||!_e(b)))return o?dl:a;if(process.env.NODE_ENV!=="production"&&_e(v)&&n.messageCompiler==null)return Gn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`),a;let w=!1;const x=()=>{w=!0},M=rn(v)?v:Y2(n,a,b,v,N,x);if(w)return v;const L=xx(n,b,E,u),$=rx(L),V=kx(n,M,$),z=r?r(V,a):V;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const G={timestamp:Date.now(),key:_e(a)?a:rn(v)?v.key:"",locale:b||(rn(v)?v.locale:""),format:_e(v)?v:rn(v)?v.source:"",message:z};G.meta=Ct({},n.__meta,vx()||{}),ix(G)}return z}function _x(n){st(n.list)?n.list=n.list.map(e=>_e(e)?q0(e):e):je(n.named)&&Object.keys(n.named).forEach(e=>{_e(n.named[e])&&(n.named[e]=q0(n.named[e]))})}function K2(n,e,t,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=n,d=u(n,r,t);let f=Ke(),h,p=null,m=t,g=null;const y="translate";for(let C=0;C<d.length;C++){if(h=g=d[C],process.env.NODE_ENV!=="production"&&t!==h&&!F2(t,h)&&hl(o,e)&&l(ao(xt.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&t!==h){const N=n.__v_emitter;N&&N.emit("fallback",{type:y,key:e,from:m,to:g,groupId:`${y}:${e}`})}f=i[h]||Ke();let b=null,E,v;if(process.env.NODE_ENV!=="production"&&Wn&&(b=window.performance.now(),E="intlify-message-resolve-start",v="intlify-message-resolve-end",Kt&&Kt(E)),(p=a(f,e))===null&&(p=f[e]),process.env.NODE_ENV!=="production"&&Wn){const N=window.performance.now(),w=n.__v_emitter;w&&b&&p&&w.emit("message-resolve",{type:"message-resolve",key:e,message:p,time:N-b,groupId:`${y}:${e}`}),E&&v&&Kt&&so&&(Kt(v),so("intlify message resolve",E,v))}if(_e(p)||vn(p)||rn(p))break;if(!Ax(h,d)){const N=ud(n,e,h,s,y);N!==e&&(p=N)}m=g}return[p,h,f]}function Y2(n,e,t,r,o,s){const{messageCompiler:i,warnHtmlMessage:l}=n;if(rn(r)){const h=r;return h.locale=h.locale||t,h.key=h.key||e,h}if(i==null){const h=()=>r;return h.locale=t,h.key=e,h}let a=null,u,d;process.env.NODE_ENV!=="production"&&Wn&&(a=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Kt&&Kt(u));const f=i(r,Nx(n,t,o,r,l,s));if(process.env.NODE_ENV!=="production"&&Wn){const h=window.performance.now(),p=n.__v_emitter;p&&a&&p.emit("message-compilation",{type:"message-compilation",message:r,time:h-a,groupId:`translate:${e}`}),u&&d&&Kt&&so&&(Kt(d),so("intlify message compilation",u,d))}return f.locale=t,f.key=e,f.source=r,f}function kx(n,e,t){let r=null,o,s;process.env.NODE_ENV!=="production"&&Wn&&(r=window.performance.now(),o="intlify-message-evaluation-start",s="intlify-message-evaluation-end",Kt&&Kt(o));const i=e(t);if(process.env.NODE_ENV!=="production"&&Wn){const l=window.performance.now(),a=n.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:i,time:l-r,groupId:`translate:${e.key}`}),o&&s&&Kt&&so&&(Kt(s),so("intlify message evaluation",o,s))}return i}function hd(...n){const[e,t,r]=n,o=Ke();if(!_e(e)&&!ut(e)&&!rn(e)&&!vn(e))throw On(dt.INVALID_ARGUMENT);const s=ut(e)?String(e):(rn(e),e);return ut(t)?o.plural=t:_e(t)?o.default=t:He(t)&&!ol(t)?o.named=t:st(t)&&(o.list=t),ut(r)?o.plural=r:_e(r)?o.default=r:He(r)&&Ct(o,r),[s,o]}function Nx(n,e,t,r,o,s){return{locale:e,key:t,warnHtmlMessage:o,onError:i=>{if(s&&s(i),process.env.NODE_ENV!=="production"){const l=Ix(r),a=`Message compilation error: ${i.message}`,u=i.location&&l&&tI(l,i.location.start.offset,i.location.end.offset),d=n.__v_emitter;d&&l&&d.emit("compile-error",{message:l,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${t}`}),console.error(u?`${a}
200
+ ${u}`:a)}else throw i},onCacheKey:i=>YN(e,t,i)}}function Ix(n){if(_e(n))return n;if(n.loc&&n.loc.source)return n.loc.source}function xx(n,e,t,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:d}=n,h={locale:e,modifiers:o,pluralRules:s,messages:p=>{let m=i(t,p);if(m==null&&d){const[,,g]=K2(d,p,e,l,a,u);m=i(g,p)}if(_e(m)||vn(m)){let g=!1;const C=Y2(n,p,e,m,p,()=>{g=!0});return g?j2:C}else return rn(m)?m:j2}};return n.processor&&(h.processor=n.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),ut(r.plural)&&(h.pluralIndex=r.plural),h}const G2=typeof Intl<"u",Q2={dateTimeFormat:G2&&typeof Intl.DateTimeFormat<"u",numberFormat:G2&&typeof Intl.NumberFormat<"u"};function Z2(n,...e){const{datetimeFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__datetimeFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!Q2.dateTimeFormat)return s(ao(xt.CANNOT_FORMAT_DATE)),fl;const[a,u,d,f]=pd(...e),h=Ge(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ge(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=ad(n,d),y=i(n,o,g);if(!_e(a)||a==="")return new Intl.DateTimeFormat(g,f).format(u);let C={},b,E=null,v=g,N=null;const w="datetime format";for(let L=0;L<y.length;L++){if(b=N=y[L],process.env.NODE_ENV!=="production"&&g!==b&&hl(p,a)&&s(ao(xt.FALLBACK_TO_DATE_FORMAT,{key:a,target:b})),process.env.NODE_ENV!=="production"&&g!==b){const $=n.__v_emitter;$&&$.emit("fallback",{type:w,key:a,from:v,to:N,groupId:`${w}:${a}`})}if(C=t[b]||{},E=C[a],He(E))break;ud(n,a,b,h,w),v=N}if(!He(E)||!_e(b))return r?dl:a;let x=`${b}__${a}`;ol(f)||(x=`${x}__${JSON.stringify(f)}`);let M=l.get(x);return M||(M=new Intl.DateTimeFormat(b,Ct({},E,f)),l.set(x,M)),m?M.formatToParts(u):M.format(u)}const J2=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function pd(...n){const[e,t,r,o]=n,s=Ke();let i=Ke(),l;if(_e(e)){const a=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw On(dt.INVALID_ISO_DATE_ARGUMENT);const u=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(u);try{l.toISOString()}catch{throw On(dt.INVALID_ISO_DATE_ARGUMENT)}}else if(QN(e)){if(isNaN(e.getTime()))throw On(dt.INVALID_DATE_ARGUMENT);l=e}else if(ut(e))l=e;else throw On(dt.INVALID_ARGUMENT);return _e(t)?s.key=t:He(t)&&Object.keys(t).forEach(a=>{J2.includes(a)?i[a]=t[a]:s[a]=t[a]}),_e(r)?s.locale=r:He(r)&&(i=r),He(o)&&(i=o),[s.key||"",l,s,i]}function X2(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function q2(n,...e){const{numberFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__numberFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!Q2.numberFormat)return s(ao(xt.CANNOT_FORMAT_NUMBER)),fl;const[a,u,d,f]=md(...e),h=Ge(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ge(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=ad(n,d),y=i(n,o,g);if(!_e(a)||a==="")return new Intl.NumberFormat(g,f).format(u);let C={},b,E=null,v=g,N=null;const w="number format";for(let L=0;L<y.length;L++){if(b=N=y[L],process.env.NODE_ENV!=="production"&&g!==b&&hl(p,a)&&s(ao(xt.FALLBACK_TO_NUMBER_FORMAT,{key:a,target:b})),process.env.NODE_ENV!=="production"&&g!==b){const $=n.__v_emitter;$&&$.emit("fallback",{type:w,key:a,from:v,to:N,groupId:`${w}:${a}`})}if(C=t[b]||{},E=C[a],He(E))break;ud(n,a,b,h,w),v=N}if(!He(E)||!_e(b))return r?dl:a;let x=`${b}__${a}`;ol(f)||(x=`${x}__${JSON.stringify(f)}`);let M=l.get(x);return M||(M=new Intl.NumberFormat(b,Ct({},E,f)),l.set(x,M)),m?M.formatToParts(u):M.format(u)}const eg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function md(...n){const[e,t,r,o]=n,s=Ke();let i=Ke();if(!ut(e))throw On(dt.INVALID_ARGUMENT);const l=e;return _e(t)?s.key=t:He(t)&&Object.keys(t).forEach(a=>{eg.includes(a)?i[a]=t[a]:s[a]=t[a]}),_e(r)?s.locale=r:He(r)&&(i=r),He(o)&&(i=o),[s.key||"",l,s,i]}function tg(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}RI();/*!
201
201
  * vue-i18n v9.14.4
202
202
  * (c) 2025 kazuya kawaguchi
203
203
  * Released under the MIT License.
204
- */const xx="9.14.4";function Mx(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Yn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Yn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ng=xt.__EXTEND_POINT__,Zn=sl(ng),Ft={FALLBACK_TO_ROOT:ng,NOT_SUPPORTED_PRESERVE:Zn(),NOT_SUPPORTED_FORMATTER:Zn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Zn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Zn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Zn(),NOT_FOUND_PARENT_SCOPE:Zn(),IGNORE_OBJ_FLATTEN:Zn(),NOTICE_DROP_ALLOW_COMPOSITION:Zn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Zn()},Ox={[Ft.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ft.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Ft.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Ft.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Ft.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Ft.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Ft.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ft.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ft.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function pl(n,...e){return od(Ox[n],...e)}const rg=dt.__EXTEND_POINT__,Vt=sl(rg),Xe={UNEXPECTED_RETURN_TYPE:rg,INVALID_ARGUMENT:Vt(),MUST_BE_CALL_SETUP_TOP:Vt(),NOT_INSTALLED:Vt(),NOT_AVAILABLE_IN_LEGACY_MODE:Vt(),REQUIRED_VALUE:Vt(),INVALID_VALUE:Vt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vt(),NOT_INSTALLED_WITH_PROVIDE:Vt(),UNEXPECTED_ERROR:Vt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vt(),BRIDGE_SUPPORT_VUE_2_ONLY:Vt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vt(),__EXTEND_POINT__:Vt()};function kr(n,...e){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:Lx,args:e}:void 0)}const Lx={[Xe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xe.INVALID_ARGUMENT]:"Invalid argument",[Xe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xe.NOT_INSTALLED]:"Need to install with `app.use` function",[Xe.UNEXPECTED_ERROR]:"Unexpected error",[Xe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xe.REQUIRED_VALUE]:"Required in value: {0}",[Xe.INVALID_VALUE]:"Invalid value",[Xe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},gd=Kn("__translateVNode"),yd=Kn("__datetimeParts"),vd=Kn("__numberParts"),Ed=Kn("__enableEmitter"),Cd=Kn("__disableEmitter"),Dx=Kn("__setPluralRules"),og=Kn("__injectWithOption"),Ad=Kn("__dispose");function qs(n){if(!je(n)||vn(n))return n;for(const e in n)if(gn(n,e))if(!e.includes("."))je(n[e])&&qs(n[e]);else{const t=e.split("."),r=t.length-1;let o=n,s=!1;for(let i=0;i<r;i++){if(t[i]==="__proto__")throw new Error(`unsafe key: ${t[i]}`);if(t[i]in o||(o[t[i]]=Ke()),!je(o[t[i]])){process.env.NODE_ENV!=="production"&&Gn(pl(Ft.IGNORE_OBJ_FLATTEN,{key:t[i]})),s=!0;break}o=o[t[i]]}if(s||(vn(o)?C2.includes(t[r])||delete n[e]:(o[t[r]]=n[e],delete n[e])),!vn(o)){const i=o[t[r]];je(i)&&qs(i)}}return n}function bd(n,e){const{messages:t,__i18n:r,messageResolver:o,flatJson:s}=e,i=He(t)?t:st(r)?Ke():{[n]:Ke()};if(st(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||Ke(),al(u,i[a])):al(u,i)}else _e(l)&&al(JSON.parse(l),i)}),o==null&&s)for(const l in i)gn(i,l)&&qs(i[l]);return i}function sg(n){return n.type}function Rx(n,e,t){let r=je(e.messages)?e.messages:Ke();"__i18nGlobal"in t&&(r=bd(n.locale.value,{messages:r,__i18n:t.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{n.mergeLocaleMessage(s,r[s])});{if(je(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(i=>{n.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(je(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(i=>{n.mergeNumberFormat(i,e.numberFormats[i])})}}}function ig(n){return c.createVNode(c.Text,null,n,0)}const ag="__INTLIFY_META__",lg=()=>[],Bx=()=>!1;let cg=0;function ug(n){return(e,t,r,o)=>n(t,r,c.getCurrentInstance()||void 0,o)}const Px=()=>{const n=c.getCurrentInstance();let e=null;return n&&(e=sg(n)[ag])?{[ag]:e}:null};function Fx(n={},e){const{__root:t,__injectWithOption:r}=n,o=t===void 0,s=n.flatJson,i=Wn?c.ref:c.shallowRef,l=!!n.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&o2(pl(Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=Ge(n.inheritLocale)?n.inheritLocale:!0;const u=i(t&&a?t.locale.value:_e(n.locale)?n.locale:Js),d=i(t&&a?t.fallbackLocale.value:_e(n.fallbackLocale)||st(n.fallbackLocale)||He(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:u.value),f=i(bd(u.value,n)),h=i(He(n.datetimeFormats)?n.datetimeFormats:{[u.value]:{}}),p=i(He(n.numberFormats)?n.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,g=t?t.fallbackWarn:Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,y=t?t.fallbackRoot:Ge(n.fallbackRoot)?n.fallbackRoot:!0,C=!!n.fallbackFormat,b=Qe(n.missing)?n.missing:null,E=Qe(n.missing)?ug(n.missing):null,v=Qe(n.postTranslation)?n.postTranslation:null,N=t?t.warnHtmlMessage:Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,w=!!n.escapeParameter;const x=t?t.modifiers:He(n.modifiers)?n.modifiers:{};let M=n.pluralRules||t&&t.pluralRules,L;L=(()=>{o&&R2(null);const q={version:xx,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:x,pluralRules:M,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:N,escapeParameter:w,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=h.value,q.numberFormats=p.value,q.__datetimeFormatters=He(L)?L.__datetimeFormatters:void 0,q.__numberFormatters=He(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(q.__v_emitter=He(L)?L.__v_emitter:void 0);const ie=Ex(q);return o&&R2(ie),ie})(),Xs(L,u.value,d.value);function V(){return[u.value,d.value,f.value,h.value,p.value]}const z=c.computed({get:()=>u.value,set:q=>{u.value=q,L.locale=u.value}}),G=c.computed({get:()=>d.value,set:q=>{d.value=q,L.fallbackLocale=d.value,Xs(L,u.value,q)}}),Y=c.computed(()=>f.value),K=c.computed(()=>h.value),W=c.computed(()=>p.value);function J(){return Qe(v)?v:null}function U(q){v=q,L.postTranslation=q}function ee(){return b}function re(q){q!==null&&(E=ug(q)),b=q,L.missing=E}function ue(q,ie){return q!=="translate"||!ie.resolvedMessage}const ge=(q,ie,be,Pe,qe,nt)=>{V();let Mt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(L.fallbackContext=t?vx():void 0),Mt=q(L)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(L.fallbackContext=void 0)}if(be!=="translate exists"&&ut(Mt)&&Mt===dl||be==="translate exists"&&!Mt){const[te,ye]=ie();if(process.env.NODE_ENV!=="production"&&t&&_e(te)&&ue(be,ye)&&(y&&(hl(g,te)||P2(m,te))&&Gn(pl(Ft.FALLBACK_TO_ROOT,{key:te,type:be})),process.env.NODE_ENV!=="production")){const{__v_emitter:me}=L;me&&y&&me.emit("fallback",{type:be,key:te,to:"global",groupId:`${be}:${te}`})}return t&&y?Pe(t):qe(te)}else{if(nt(Mt))return Mt;throw kr(Xe.UNEXPECTED_RETURN_TYPE)}};function Ee(...q){return ge(ie=>Reflect.apply(W2,null,[ie,...q]),()=>hd(...q),"translate",ie=>Reflect.apply(ie.t,ie,[...q]),ie=>ie,ie=>_e(ie))}function Se(...q){const[ie,be,Pe]=q;if(Pe&&!je(Pe))throw kr(Xe.INVALID_ARGUMENT);return Ee(ie,be,Ct({resolvedMessage:!0},Pe||{}))}function ke(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>Reflect.apply(ie.d,ie,[...q]),()=>fl,ie=>_e(ie))}function xe(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>Reflect.apply(ie.n,ie,[...q]),()=>fl,ie=>_e(ie))}function Ae(q){return q.map(ie=>_e(ie)||ut(ie)||Ge(ie)?ig(String(ie)):ie)}const B={normalize:Ae,interpolate:q=>q,type:"vnode"};function I(...q){return ge(ie=>{let be;const Pe=ie;try{Pe.processor=B,be=Reflect.apply(W2,null,[Pe,...q])}finally{Pe.processor=null}return be},()=>hd(...q),"translate",ie=>ie[gd](...q),ie=>[ig(ie)],ie=>st(ie))}function R(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>ie[vd](...q),lg,ie=>_e(ie)||st(ie))}function A(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>ie[yd](...q),lg,ie=>_e(ie)||st(ie))}function T(q){M=q,L.pluralRules=M}function k(q,ie){return ge(()=>{if(!q)return!1;const be=_e(ie)?ie:u.value,Pe=j(be),qe=L.messageResolver(Pe,q);return l?qe!=null:vn(qe)||rn(qe)||_e(qe)},()=>[q],"translate exists",be=>Reflect.apply(be.te,be,[q,ie]),Bx,be=>Ge(be))}function O(q){let ie=null;const be=_2(L,d.value,u.value);for(let Pe=0;Pe<be.length;Pe++){const qe=f.value[be[Pe]]||{},nt=L.messageResolver(qe,q);if(nt!=null){ie=nt;break}}return ie}function H(q){const ie=O(q);return ie??(t?t.tm(q)||{}:{})}function j(q){return f.value[q]||{}}function Z(q,ie){if(s){const be={[q]:ie};for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q]}f.value[q]=ie,L.messages=f.value}function X(q,ie){f.value[q]=f.value[q]||{};const be={[q]:ie};if(s)for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q],al(ie,f.value[q]),L.messages=f.value}function S(q){return h.value[q]||{}}function _(q,ie){h.value[q]=ie,L.datetimeFormats=h.value,X2(L,q,ie)}function F(q,ie){h.value[q]=Ct(h.value[q]||{},ie),L.datetimeFormats=h.value,X2(L,q,ie)}function Q(q){return p.value[q]||{}}function ae(q,ie){p.value[q]=ie,L.numberFormats=p.value,tg(L,q,ie)}function pe(q,ie){p.value[q]=Ct(p.value[q]||{},ie),L.numberFormats=p.value,tg(L,q,ie)}cg++,t&&Wn&&(c.watch(t.locale,q=>{a&&(u.value=q,L.locale=q,Xs(L,u.value,d.value))}),c.watch(t.fallbackLocale,q=>{a&&(d.value=q,L.fallbackLocale=q,Xs(L,u.value,d.value))}));const Te={id:cg,locale:z,fallbackLocale:G,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(u.value=t.locale.value,d.value=t.fallbackLocale.value,Xs(L,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Y,get modifiers(){return x},get pluralRules(){return M||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(q){m=q,L.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(q){g=q,L.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(q){y=q},get fallbackFormat(){return C},set fallbackFormat(q){C=q,L.fallbackFormat=C},get warnHtmlMessage(){return N},set warnHtmlMessage(q){N=q,L.warnHtmlMessage=q},get escapeParameter(){return w},set escapeParameter(q){w=q,L.escapeParameter=q},t:Ee,getLocaleMessage:j,setLocaleMessage:Z,mergeLocaleMessage:X,getPostTranslationHandler:J,setPostTranslationHandler:U,getMissingHandler:ee,setMissingHandler:re,[Dx]:T};return Te.datetimeFormats=K,Te.numberFormats=W,Te.rt=Se,Te.te=k,Te.tm=H,Te.d=ke,Te.n=xe,Te.getDateTimeFormat=S,Te.setDateTimeFormat=_,Te.mergeDateTimeFormat=F,Te.getNumberFormat=Q,Te.setNumberFormat=ae,Te.mergeNumberFormat=pe,Te[og]=r,Te[gd]=I,Te[yd]=A,Te[vd]=R,process.env.NODE_ENV!=="production"&&(Te[Ed]=q=>{L.__v_emitter=q},Te[Cd]=()=>{L.__v_emitter=void 0}),Te}const wd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function Vx({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((r,o)=>[...r,...o.type===c.Fragment?o.children:[o]],[]):e.reduce((t,r)=>{const o=n[r];return o&&(t[r]=o()),t},Ke())}function dg(n){return c.Fragment}Ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>ut(n)||!isNaN(n)}},wd);function $x(n){return st(n)&&!_e(n[0])}function fg(n,e,t,r){const{slots:o,attrs:s}=e;return()=>{const i={part:!0};let l=Ke();n.locale&&(i.locale=n.locale),_e(n.format)?i.key=n.format:je(n.format)&&(_e(n.format.key)&&(i.key=n.format.key),l=Object.keys(n.format).reduce((h,p)=>t.includes(p)?Ct(Ke(),h,{[p]:n.format[p]}):h,Ke()));const a=r(n.value,i,l);let u=[i.key];st(a)?u=a.map((h,p)=>{const m=o[h.type],g=m?m({[h.type]:h.value,index:p,parts:a}):[h.value];return $x(g)&&(g[0].key=`${h.type}-${p}`),g}):_e(a)&&(u=[a]);const d=Ct(Ke(),s),f=_e(n.tag)||je(n.tag)?n.tag:dg();return c.h(f,d,u)}}Ct({value:{type:Number,required:!0},format:{type:[String,Object]}},wd),Ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},wd);function hg(n,e){}const zx=Kn("global-vue-i18n");function ei(n={}){const e=c.getCurrentInstance();if(e==null)throw kr(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw kr(Xe.NOT_INSTALLED);const t=Ux(e),r=jx(t),o=sg(e),s=Hx(n,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!n.__useComponent){if(!t.allowComposition)throw kr(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return Gx(e,s,r,n)}if(s==="global")return Rx(r,n,o),r;if(s==="parent"){let a=Wx(t,e,n.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Gn(pl(Ft.NOT_FOUND_PARENT_SCOPE)),a=r),a}const i=t;let l=i.__getInstance(e);if(l==null){const a=Ct({},n);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=Fx(a),i.__composerExtend&&(l[Ad]=i.__composerExtend(l)),Yx(i,e,l),i.__setInstance(e,l)}return l}function Ux(n){{const e=c.inject(n.isCE?zx:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw kr(n.isCE?Xe.NOT_INSTALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function Hx(n,e){return ol(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function jx(n){return n.mode==="composition"?n.global:n.global.__composer}function Wx(n,e,t=!1){let r=null;const o=e.root;let s=Kx(e,t);for(;s!=null;){const i=n;if(n.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(s);l!=null&&(r=l.__composer,t&&r&&!r[og]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Kx(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function Yx(n,e,t){let r=null;c.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=t,r=tI();const o=t;o[Ed]&&o[Ed](r),r.on("*",hg)}},e),c.onUnmounted(()=>{const o=t;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",hg),o[Cd]&&o[Cd](),delete e.vnode.el.__VUE_I18N__),n.__deleteInstance(e);const s=o[Ad];s&&(s(),delete o[Ad])},e)}function Gx(n,e,t,r={}){const o=e==="local",s=c.shallowRef(null);if(o&&n.proxy&&!(n.proxy.$options.i18n||n.proxy.$options.__i18n))throw kr(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ge(r.inheritLocale)?r.inheritLocale:!_e(r.locale),l=c.ref(!o||i?t.locale.value:_e(r.locale)?r.locale:Js),a=c.ref(!o||i?t.fallbackLocale.value:_e(r.fallbackLocale)||st(r.fallbackLocale)||He(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=c.ref(bd(l.value,r)),d=c.ref(He(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=c.ref(He(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?t.missingWarn:Ge(r.missingWarn)||Jo(r.missingWarn)?r.missingWarn:!0,p=o?t.fallbackWarn:Ge(r.fallbackWarn)||Jo(r.fallbackWarn)?r.fallbackWarn:!0,m=o?t.fallbackRoot:Ge(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,y=Qe(r.missing)?r.missing:null,C=Qe(r.postTranslation)?r.postTranslation:null,b=o?t.warnHtmlMessage:Ge(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,v=o?t.modifiers:He(r.modifiers)?r.modifiers:{},N=r.pluralRules||o&&t.pluralRules;function w(){return[l.value,a.value,u.value,d.value,f.value]}const x=c.computed({get:()=>s.value?s.value.locale.value:l.value,set:k=>{s.value&&(s.value.locale.value=k),l.value=k}}),M=c.computed({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:k=>{s.value&&(s.value.fallbackLocale.value=k),a.value=k}}),L=c.computed(()=>s.value?s.value.messages.value:u.value),$=c.computed(()=>d.value),V=c.computed(()=>f.value);function z(){return s.value?s.value.getPostTranslationHandler():C}function G(k){s.value&&s.value.setPostTranslationHandler(k)}function Y(){return s.value?s.value.getMissingHandler():y}function K(k){s.value&&s.value.setMissingHandler(k)}function W(k){return w(),k()}function J(...k){return s.value?W(()=>Reflect.apply(s.value.t,null,[...k])):W(()=>"")}function U(...k){return s.value?Reflect.apply(s.value.rt,null,[...k]):""}function ee(...k){return s.value?W(()=>Reflect.apply(s.value.d,null,[...k])):W(()=>"")}function re(...k){return s.value?W(()=>Reflect.apply(s.value.n,null,[...k])):W(()=>"")}function ue(k){return s.value?s.value.tm(k):{}}function ge(k,O){return s.value?s.value.te(k,O):!1}function Ee(k){return s.value?s.value.getLocaleMessage(k):{}}function Se(k,O){s.value&&(s.value.setLocaleMessage(k,O),u.value[k]=O)}function ke(k,O){s.value&&s.value.mergeLocaleMessage(k,O)}function xe(k){return s.value?s.value.getDateTimeFormat(k):{}}function Ae(k,O){s.value&&(s.value.setDateTimeFormat(k,O),d.value[k]=O)}function D(k,O){s.value&&s.value.mergeDateTimeFormat(k,O)}function B(k){return s.value?s.value.getNumberFormat(k):{}}function I(k,O){s.value&&(s.value.setNumberFormat(k,O),f.value[k]=O)}function R(k,O){s.value&&s.value.mergeNumberFormat(k,O)}const A={get id(){return s.value?s.value.id:-1},locale:x,fallbackLocale:M,messages:L,datetimeFormats:$,numberFormats:V,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(k){s.value&&(s.value.inheritLocale=k)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:N},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackWarn(){return s.value?s.value.fallbackWarn:p},set fallbackWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(k){s.value&&(s.value.fallbackRoot=k)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(k){s.value&&(s.value.fallbackFormat=k)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:b},set warnHtmlMessage(k){s.value&&(s.value.warnHtmlMessage=k)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(k){s.value&&(s.value.escapeParameter=k)},t:J,getPostTranslationHandler:z,setPostTranslationHandler:G,getMissingHandler:Y,setMissingHandler:K,rt:U,d:ee,n:re,tm:ue,te:ge,getLocaleMessage:Ee,setLocaleMessage:Se,mergeLocaleMessage:ke,getDateTimeFormat:xe,setDateTimeFormat:Ae,mergeDateTimeFormat:D,getNumberFormat:B,setNumberFormat:I,mergeNumberFormat:R};function T(k){k.locale.value=l.value,k.fallbackLocale.value=a.value,Object.keys(u.value).forEach(O=>{k.mergeLocaleMessage(O,u.value[O])}),Object.keys(d.value).forEach(O=>{k.mergeDateTimeFormat(O,d.value[O])}),Object.keys(f.value).forEach(O=>{k.mergeNumberFormat(O,f.value[O])}),k.escapeParameter=E,k.fallbackFormat=g,k.fallbackRoot=m,k.fallbackWarn=p,k.missingWarn=h,k.warnHtmlMessage=b}return c.onBeforeMount(()=>{if(n.proxy==null||n.proxy.$i18n==null)throw kr(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const k=s.value=n.proxy.$i18n.__composer;e==="global"?(l.value=k.locale.value,a.value=k.fallbackLocale.value,u.value=k.messages.value,d.value=k.datetimeFormats.value,f.value=k.numberFormats.value):o&&T(k)}),A}if(Mx(),__INTLIFY_JIT_COMPILATION__?x2(Tx):x2(wx),px(GI),mx(_2),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const n=Yn();n.__INTLIFY__=!0,rx(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Qx="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgaGVpZ2h0PSI4MDBweCIKICAgd2lkdGg9IjgwMHB4IgogICB2aWV3Qm94PSIwIDAgODAwIDgwMCIKICAgZmlsbD0ibm9uZSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMiIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYmVsbC1pY29uLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40LjIgKGViZjBlOTQsIDIwMjUtMDUtMDgpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMyIiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpZD0ibmFtZWR2aWV3MiIKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiMwMDAwMDAiCiAgICAgYm9yZGVyb3BhY2l0eT0iMC4yNSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMC4wIgogICAgIGlua3NjYXBlOnBhZ2VjaGVja2VyYm9hcmQ9IjAiCiAgICAgaW5rc2NhcGU6ZGVza2NvbG9yPSIjZDFkMWQxIgogICAgIGlua3NjYXBlOnpvb209IjAuOTM5MDI2MDEiCiAgICAgaW5rc2NhcGU6Y3g9IjM2MS4wMTIzNiIKICAgICBpbmtzY2FwZTpjeT0iNDI1LjQ0MDgyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjMyMyIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzIxIgogICAgIGlua3NjYXBlOndpbmRvdy14PSI2OSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iLTkiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIgogICAgIGlua3NjYXBlOmxvY2tndWlkZXM9ImZhbHNlIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDU3NC43MTM0LDUxNy43MDgzOSBjIC00My4wMjM0MywtMTkuNDI5NTggLTQwLjMzOTkxLC05Mi4wMzE3MyAtNDAuMzcxNjYsLTk0LjEzNjAzIGwgLTAuODY0MDMsLTU1LjA4NjIyIGMgLTAuODQ0NTIsLTUzLjg0MjYzIC0zMi43NjI4OSwtMTAxLjAxNzg3IC03OS41MjI2MSwtMTIwLjczMzg5IC0wLjEwMDU1LC0yNy42ODUzOCAtMjYuMjQ3ODcsLTUwLjE3NzEzIC01My45NTM3NSwtNTAuMTc3MTMgLTI3LjcwNjU1LDAgLTUzLjg1MzIsMjIuNDkzMDcgLTUzLjk1NDQyLDUwLjE3NTgxIC00Ni43NTc3NCwxOS43MTYwMSAtNzcuNjczOTUsNjguNjIxNjYgLTc4LjY1NzI0LDEyMi40NjE5MyBsIC0wLjg2NDAzLDQ3LjMxIGMgLTAuMDMwNCwyLjEwNDMgMS43ODc3Myw4MC43NTQ2MyAtNDEuMjM3MDMsMTAwLjE4NDIgLTQuOTAxMjIsMi4yMTQxMiAtNy41OTQ5NCwxMi45NDczIC02LjQ2MTc1LDE4LjIwNTA4IDEuMTMxODcsNS4yNTg0MyAzLjk4MjM3LDE0LjQxMTkgOS4zNjEyMiwxNC40MTE5IGggMTEwLjg3MTE1IGMgMi4yMzU5NSwxMi4zMDAzNSA4LjA1MjA1LDIzLjc0MzM2IDE2Ljk0NzU0LDMzLjAxMTk2IDExLjgxNDgsMTIuMzA5NjEgMjcuNDM5MywxOS4wODg4OCA0My45OTI1NywxOS4wODg4OCAxNi41NTQ2LDAgMzIuMTc5MSwtNi43NzkyNyA0My45OTI1OCwtMTkuMDg4ODggOC44OTY4MSwtOS4yNjkyNSAxNC43MTI5MSwtMjAuNzEyOTQgMTYuOTQ3NTQsLTMzLjAxMTk2IGggMTEwLjg3MTE1IGMgNS4zNzg4NSwwIDguMjI4NjksLTkuMTUyOCA5LjM2MTg5LC0xNC40MTE5IDEuMTM0NDksLTUuMjU3NzggLTEuNTU3ODksLTE1Ljk5MDMgLTYuNDU5MTIsLTE4LjIwMzc1IHogbSAtNjUuNDU3NDIsLTI3Ljc0MTc4IGMgNC41MjI4MiwxMy43MTIwNCA3LjI1NzA3LDE2LjIwNjczIDE2LjMzODQ1LDI3LjY2NTYyIGwgLTI1MC4zOTQ3NSwtMC43OTI3NSBjIDkuMDgwMDUsLTExLjQ1NzU2IDEwLjM3MTQsLTEzLjE1ODg1IDE0Ljg5NDIyLC0yNi44NzI4NyB6IE0gNDAwLjAwMTM1LDIyNC4wMDYyMiBjIDEyLjUzMjU1LDAgMTkuNTMwMTUsNC44MjI1MiAyMi44NDU3LDE2LjMwMTI2IC04LjU0MTU5LC0xLjc3MTU2IC0xMy43ODc0NywtMi43MDU2MyAtMjIuODQ1NywtMi43MDU2MyAtOS4wNTgyMywwIC0xNC4zMDQxMiwwLjkzMzQxIC0yMi44NDU2OSwyLjcwNTYzIDMuMzE2MiwtMTEuNDc4MDggMTAuMzEzODEsLTE2LjMwMTI2IDIyLjg0NTY5LC0xNi4zMDEyNiB6IG0gLTEwMy41ODg0OCwxOTkuNjM0OTQgMS43OTkzMywtNTQuMjIxNyBjIDEuOTYwMjIsLTU5LjA2OTg5IDQyLjY4NTQzLC05Ni42NzQ5NyAxMDEuNzg5MTUsLTk2LjY3NDk3IDU5LjEwMzczLDAgOTkuODk0OTksMzUuODAzNTkgMTAxLjc4OTE2LDk0Ljg3NTY0IGwgMS43OTkzMyw1Ni4xMTQzIGMgMC4wMTUyLDEuNzE3MzEgMS40NzQyMiwxMi41NjgzIDEuMjMyNDMsMzQuNzg2MiBIIDI5NS4xNzc3OCBjIDAuNzE4OTQsLTIyLjIzOTA2IDEuMjIxMTksLTMzLjEyMTggMS4yMzUwOSwtMzQuODc5NDcgeiBtIDEwMy41ODg0OCwxNDguOTY5NzggYyAtMTcuNDI1MTcsMCAtMjUuNDM1NTgsLTUuNTgwMTUgLTMwLjMxNjk0LC0yMi4yODYyNCBoIDYwLjYzMjU3IGMgLTQuODgxMzgsMTYuNzA2MDkgLTEyLjg4OTE0LDIyLjI4NjI0IC0zMC4zMTU2MywyMi4yODYyNCB6IgogICAgIGlkPSJwYXRoMSIKICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuODk5NjY2O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjc2NzY3NjY2NzY2NzY2NzY2NjY2NjY3Njc2NzY3Nzc2NjY2NzY2NzIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDM5Ny45Njk0NCwyODMuMzM2NjkgYyAtNDkuNDE4NTUsMCAtODkuNjIzNjEsNDAuMjAzNzMgLTg5LjYyMzYxLDg5LjYyMTYxIDAsNi4zNDM1NCA1LjE0Mjg2LDExLjQ4NjQgMTEuNDg2MzksMTEuNDg2NCA2LjM0MzU1LDAgMTEuNDg2NDEsLTUuMTQyODYgMTEuNDg2NDEsLTExLjQ4NjQgMCwtMzYuNzUwNzYgMjkuODk5MzgsLTY2LjY0OTQ4IDY2LjY1MTQ4LC02Ni42NDk0OCA2LjM0MzUzLDAgMTEuNDg2MzksLTUuMTQyODUgMTEuNDg2MzksLTExLjQ4NjQgLTYuNmUtNCwtNi4zNDQyIC01LjE0MzUzLC0xMS40ODU3MyAtMTEuNDg3MDYsLTExLjQ4NTczIHoiCiAgICAgaWQ9InBhdGgyIgogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MC45MDQ3MTI7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0ic3Nzc3NjcyIgLz4KPC9zdmc+Cg==",pg=async(n,e)=>{const t=n+e,o=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",o);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")};function Td(){const n=()=>new Promise(t=>{if(document.readyState==="complete")return t();window.addEventListener("load",()=>t(),{once:!0})});return{OnWindowLoaded:t=>{c.onMounted(()=>n().then(t))}}}const Zx=(n,e,t)=>{const{OnWindowLoaded:r}=Td(),o="lkj298fhGGJihge",s=c.ref(!1),i=()=>e+"|"+t();return r(async()=>{if(e==null||t==null||t()==null){s.value=!1;return}const u=i(),d=localStorage.getItem(n),f=JSON.parse(d)||[],h=await pg(u,o);s.value=!f.includes(h)}),{hasUnfulfilledInteraction:s,MarkInteractionPerformed:async()=>{const u=i(),d=await pg(u,o),f=localStorage.getItem(n),h=JSON.parse(f)||[];h.includes(d)||(h.push(d),localStorage.setItem(n,JSON.stringify(h))),s.value=!1}}};function mg(n){const{OnWindowLoaded:e}=Td();let t;const r=()=>{t=document.addEventListener("click",s=>{if(!s||!s.target)return;let i=null;if(s.target instanceof Element&&(i=s.target.closest(".popover")),i)return;const l=no.getInstance(n.value);l&&l.hide()})};c.onMounted(r);const o=()=>{if((n==null?void 0:n.value)==null)return;no.getInstance(n.value)||new no(n.value)};e(o),c.watch(n,o),c.onUnmounted(()=>{if((n==null?void 0:n.value)!=null){const s=no.getInstance(n.value);s&&s.dispose()}t&&document.removeEventListener("click",t)})}const Jx=["data-bs-title","data-bs-content"],Xx=["title"],qx={key:0,class:"number-circle",textContent:1},eM=c.defineComponent({__name:"BDNotificationButton",props:{userId:{},getNotification:{}},setup(n){const e=n,t=()=>{var d;return(d=e.getNotification)==null?void 0:d.linkUrl},{hasUnfulfilledInteraction:r,MarkInteractionPerformed:o}=Zx("notificationsRead",e.userId,t),s=c.ref();mg(s);const i=c.computed(()=>{const d=e.getNotification;if(!d)return!1;const{isActive:f,startDate:h,endDate:p}=d;if(!f)return!1;const m=new Date(h),g=new Date(p),y=new Date;return y>=m&&y<=g}),l=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.tooltip}),a=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.title}),u=c.computed(()=>{const d=e.getNotification;if(!d)return"";const{text:f,linkUrl:h,linkText:p}=d;return`
204
+ */const Mx="9.14.4";function Ox(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Yn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Yn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ng=xt.__EXTEND_POINT__,Zn=sl(ng),Ft={FALLBACK_TO_ROOT:ng,NOT_SUPPORTED_PRESERVE:Zn(),NOT_SUPPORTED_FORMATTER:Zn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Zn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Zn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Zn(),NOT_FOUND_PARENT_SCOPE:Zn(),IGNORE_OBJ_FLATTEN:Zn(),NOTICE_DROP_ALLOW_COMPOSITION:Zn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Zn()},Lx={[Ft.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ft.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Ft.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Ft.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Ft.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Ft.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Ft.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ft.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ft.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function pl(n,...e){return od(Lx[n],...e)}const rg=dt.__EXTEND_POINT__,Vt=sl(rg),Xe={UNEXPECTED_RETURN_TYPE:rg,INVALID_ARGUMENT:Vt(),MUST_BE_CALL_SETUP_TOP:Vt(),NOT_INSTALLED:Vt(),NOT_AVAILABLE_IN_LEGACY_MODE:Vt(),REQUIRED_VALUE:Vt(),INVALID_VALUE:Vt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vt(),NOT_INSTALLED_WITH_PROVIDE:Vt(),UNEXPECTED_ERROR:Vt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vt(),BRIDGE_SUPPORT_VUE_2_ONLY:Vt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vt(),__EXTEND_POINT__:Vt()};function kr(n,...e){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:Dx,args:e}:void 0)}const Dx={[Xe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xe.INVALID_ARGUMENT]:"Invalid argument",[Xe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xe.NOT_INSTALLED]:"Need to install with `app.use` function",[Xe.UNEXPECTED_ERROR]:"Unexpected error",[Xe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xe.REQUIRED_VALUE]:"Required in value: {0}",[Xe.INVALID_VALUE]:"Invalid value",[Xe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},gd=Kn("__translateVNode"),yd=Kn("__datetimeParts"),vd=Kn("__numberParts"),Ed=Kn("__enableEmitter"),Cd=Kn("__disableEmitter"),Rx=Kn("__setPluralRules"),og=Kn("__injectWithOption"),Ad=Kn("__dispose");function qs(n){if(!je(n)||vn(n))return n;for(const e in n)if(gn(n,e))if(!e.includes("."))je(n[e])&&qs(n[e]);else{const t=e.split("."),r=t.length-1;let o=n,s=!1;for(let i=0;i<r;i++){if(t[i]==="__proto__")throw new Error(`unsafe key: ${t[i]}`);if(t[i]in o||(o[t[i]]=Ke()),!je(o[t[i]])){process.env.NODE_ENV!=="production"&&Gn(pl(Ft.IGNORE_OBJ_FLATTEN,{key:t[i]})),s=!0;break}o=o[t[i]]}if(s||(vn(o)?C2.includes(t[r])||delete n[e]:(o[t[r]]=n[e],delete n[e])),!vn(o)){const i=o[t[r]];je(i)&&qs(i)}}return n}function bd(n,e){const{messages:t,__i18n:r,messageResolver:o,flatJson:s}=e,i=He(t)?t:st(r)?Ke():{[n]:Ke()};if(st(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||Ke(),al(u,i[a])):al(u,i)}else _e(l)&&al(JSON.parse(l),i)}),o==null&&s)for(const l in i)gn(i,l)&&qs(i[l]);return i}function sg(n){return n.type}function Bx(n,e,t){let r=je(e.messages)?e.messages:Ke();"__i18nGlobal"in t&&(r=bd(n.locale.value,{messages:r,__i18n:t.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{n.mergeLocaleMessage(s,r[s])});{if(je(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(i=>{n.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(je(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(i=>{n.mergeNumberFormat(i,e.numberFormats[i])})}}}function ig(n){return c.createVNode(c.Text,null,n,0)}const ag="__INTLIFY_META__",lg=()=>[],Px=()=>!1;let cg=0;function ug(n){return(e,t,r,o)=>n(t,r,c.getCurrentInstance()||void 0,o)}const Fx=()=>{const n=c.getCurrentInstance();let e=null;return n&&(e=sg(n)[ag])?{[ag]:e}:null};function Vx(n={},e){const{__root:t,__injectWithOption:r}=n,o=t===void 0,s=n.flatJson,i=Wn?c.ref:c.shallowRef,l=!!n.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&o2(pl(Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=Ge(n.inheritLocale)?n.inheritLocale:!0;const u=i(t&&a?t.locale.value:_e(n.locale)?n.locale:Js),d=i(t&&a?t.fallbackLocale.value:_e(n.fallbackLocale)||st(n.fallbackLocale)||He(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:u.value),f=i(bd(u.value,n)),h=i(He(n.datetimeFormats)?n.datetimeFormats:{[u.value]:{}}),p=i(He(n.numberFormats)?n.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,g=t?t.fallbackWarn:Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,y=t?t.fallbackRoot:Ge(n.fallbackRoot)?n.fallbackRoot:!0,C=!!n.fallbackFormat,b=Qe(n.missing)?n.missing:null,E=Qe(n.missing)?ug(n.missing):null,v=Qe(n.postTranslation)?n.postTranslation:null,N=t?t.warnHtmlMessage:Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,w=!!n.escapeParameter;const x=t?t.modifiers:He(n.modifiers)?n.modifiers:{};let M=n.pluralRules||t&&t.pluralRules,L;L=(()=>{o&&R2(null);const q={version:Mx,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:x,pluralRules:M,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:N,escapeParameter:w,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=h.value,q.numberFormats=p.value,q.__datetimeFormatters=He(L)?L.__datetimeFormatters:void 0,q.__numberFormatters=He(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(q.__v_emitter=He(L)?L.__v_emitter:void 0);const ie=Cx(q);return o&&R2(ie),ie})(),Xs(L,u.value,d.value);function V(){return[u.value,d.value,f.value,h.value,p.value]}const z=c.computed({get:()=>u.value,set:q=>{u.value=q,L.locale=u.value}}),G=c.computed({get:()=>d.value,set:q=>{d.value=q,L.fallbackLocale=d.value,Xs(L,u.value,q)}}),Y=c.computed(()=>f.value),K=c.computed(()=>h.value),W=c.computed(()=>p.value);function J(){return Qe(v)?v:null}function U(q){v=q,L.postTranslation=q}function ee(){return b}function re(q){q!==null&&(E=ug(q)),b=q,L.missing=E}function ue(q,ie){return q!=="translate"||!ie.resolvedMessage}const ge=(q,ie,be,Pe,qe,nt)=>{V();let Mt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(L.fallbackContext=t?Ex():void 0),Mt=q(L)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(L.fallbackContext=void 0)}if(be!=="translate exists"&&ut(Mt)&&Mt===dl||be==="translate exists"&&!Mt){const[te,ye]=ie();if(process.env.NODE_ENV!=="production"&&t&&_e(te)&&ue(be,ye)&&(y&&(hl(g,te)||P2(m,te))&&Gn(pl(Ft.FALLBACK_TO_ROOT,{key:te,type:be})),process.env.NODE_ENV!=="production")){const{__v_emitter:me}=L;me&&y&&me.emit("fallback",{type:be,key:te,to:"global",groupId:`${be}:${te}`})}return t&&y?Pe(t):qe(te)}else{if(nt(Mt))return Mt;throw kr(Xe.UNEXPECTED_RETURN_TYPE)}};function Ee(...q){return ge(ie=>Reflect.apply(W2,null,[ie,...q]),()=>hd(...q),"translate",ie=>Reflect.apply(ie.t,ie,[...q]),ie=>ie,ie=>_e(ie))}function Se(...q){const[ie,be,Pe]=q;if(Pe&&!je(Pe))throw kr(Xe.INVALID_ARGUMENT);return Ee(ie,be,Ct({resolvedMessage:!0},Pe||{}))}function ke(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>Reflect.apply(ie.d,ie,[...q]),()=>fl,ie=>_e(ie))}function xe(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>Reflect.apply(ie.n,ie,[...q]),()=>fl,ie=>_e(ie))}function Ae(q){return q.map(ie=>_e(ie)||ut(ie)||Ge(ie)?ig(String(ie)):ie)}const B={normalize:Ae,interpolate:q=>q,type:"vnode"};function I(...q){return ge(ie=>{let be;const Pe=ie;try{Pe.processor=B,be=Reflect.apply(W2,null,[Pe,...q])}finally{Pe.processor=null}return be},()=>hd(...q),"translate",ie=>ie[gd](...q),ie=>[ig(ie)],ie=>st(ie))}function R(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>ie[vd](...q),lg,ie=>_e(ie)||st(ie))}function A(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>ie[yd](...q),lg,ie=>_e(ie)||st(ie))}function T(q){M=q,L.pluralRules=M}function k(q,ie){return ge(()=>{if(!q)return!1;const be=_e(ie)?ie:u.value,Pe=j(be),qe=L.messageResolver(Pe,q);return l?qe!=null:vn(qe)||rn(qe)||_e(qe)},()=>[q],"translate exists",be=>Reflect.apply(be.te,be,[q,ie]),Px,be=>Ge(be))}function O(q){let ie=null;const be=_2(L,d.value,u.value);for(let Pe=0;Pe<be.length;Pe++){const qe=f.value[be[Pe]]||{},nt=L.messageResolver(qe,q);if(nt!=null){ie=nt;break}}return ie}function H(q){const ie=O(q);return ie??(t?t.tm(q)||{}:{})}function j(q){return f.value[q]||{}}function Z(q,ie){if(s){const be={[q]:ie};for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q]}f.value[q]=ie,L.messages=f.value}function X(q,ie){f.value[q]=f.value[q]||{};const be={[q]:ie};if(s)for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q],al(ie,f.value[q]),L.messages=f.value}function S(q){return h.value[q]||{}}function _(q,ie){h.value[q]=ie,L.datetimeFormats=h.value,X2(L,q,ie)}function F(q,ie){h.value[q]=Ct(h.value[q]||{},ie),L.datetimeFormats=h.value,X2(L,q,ie)}function Q(q){return p.value[q]||{}}function ae(q,ie){p.value[q]=ie,L.numberFormats=p.value,tg(L,q,ie)}function pe(q,ie){p.value[q]=Ct(p.value[q]||{},ie),L.numberFormats=p.value,tg(L,q,ie)}cg++,t&&Wn&&(c.watch(t.locale,q=>{a&&(u.value=q,L.locale=q,Xs(L,u.value,d.value))}),c.watch(t.fallbackLocale,q=>{a&&(d.value=q,L.fallbackLocale=q,Xs(L,u.value,d.value))}));const Te={id:cg,locale:z,fallbackLocale:G,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(u.value=t.locale.value,d.value=t.fallbackLocale.value,Xs(L,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Y,get modifiers(){return x},get pluralRules(){return M||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(q){m=q,L.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(q){g=q,L.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(q){y=q},get fallbackFormat(){return C},set fallbackFormat(q){C=q,L.fallbackFormat=C},get warnHtmlMessage(){return N},set warnHtmlMessage(q){N=q,L.warnHtmlMessage=q},get escapeParameter(){return w},set escapeParameter(q){w=q,L.escapeParameter=q},t:Ee,getLocaleMessage:j,setLocaleMessage:Z,mergeLocaleMessage:X,getPostTranslationHandler:J,setPostTranslationHandler:U,getMissingHandler:ee,setMissingHandler:re,[Rx]:T};return Te.datetimeFormats=K,Te.numberFormats=W,Te.rt=Se,Te.te=k,Te.tm=H,Te.d=ke,Te.n=xe,Te.getDateTimeFormat=S,Te.setDateTimeFormat=_,Te.mergeDateTimeFormat=F,Te.getNumberFormat=Q,Te.setNumberFormat=ae,Te.mergeNumberFormat=pe,Te[og]=r,Te[gd]=I,Te[yd]=A,Te[vd]=R,process.env.NODE_ENV!=="production"&&(Te[Ed]=q=>{L.__v_emitter=q},Te[Cd]=()=>{L.__v_emitter=void 0}),Te}const wd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function $x({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((r,o)=>[...r,...o.type===c.Fragment?o.children:[o]],[]):e.reduce((t,r)=>{const o=n[r];return o&&(t[r]=o()),t},Ke())}function dg(n){return c.Fragment}Ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>ut(n)||!isNaN(n)}},wd);function zx(n){return st(n)&&!_e(n[0])}function fg(n,e,t,r){const{slots:o,attrs:s}=e;return()=>{const i={part:!0};let l=Ke();n.locale&&(i.locale=n.locale),_e(n.format)?i.key=n.format:je(n.format)&&(_e(n.format.key)&&(i.key=n.format.key),l=Object.keys(n.format).reduce((h,p)=>t.includes(p)?Ct(Ke(),h,{[p]:n.format[p]}):h,Ke()));const a=r(n.value,i,l);let u=[i.key];st(a)?u=a.map((h,p)=>{const m=o[h.type],g=m?m({[h.type]:h.value,index:p,parts:a}):[h.value];return zx(g)&&(g[0].key=`${h.type}-${p}`),g}):_e(a)&&(u=[a]);const d=Ct(Ke(),s),f=_e(n.tag)||je(n.tag)?n.tag:dg();return c.h(f,d,u)}}Ct({value:{type:Number,required:!0},format:{type:[String,Object]}},wd),Ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},wd);function hg(n,e){}const Ux=Kn("global-vue-i18n");function ei(n={}){const e=c.getCurrentInstance();if(e==null)throw kr(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw kr(Xe.NOT_INSTALLED);const t=Hx(e),r=Wx(t),o=sg(e),s=jx(n,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!n.__useComponent){if(!t.allowComposition)throw kr(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return Qx(e,s,r,n)}if(s==="global")return Bx(r,n,o),r;if(s==="parent"){let a=Kx(t,e,n.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Gn(pl(Ft.NOT_FOUND_PARENT_SCOPE)),a=r),a}const i=t;let l=i.__getInstance(e);if(l==null){const a=Ct({},n);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=Vx(a),i.__composerExtend&&(l[Ad]=i.__composerExtend(l)),Gx(i,e,l),i.__setInstance(e,l)}return l}function Hx(n){{const e=c.inject(n.isCE?Ux:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw kr(n.isCE?Xe.NOT_INSTALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function jx(n,e){return ol(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function Wx(n){return n.mode==="composition"?n.global:n.global.__composer}function Kx(n,e,t=!1){let r=null;const o=e.root;let s=Yx(e,t);for(;s!=null;){const i=n;if(n.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(s);l!=null&&(r=l.__composer,t&&r&&!r[og]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Yx(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function Gx(n,e,t){let r=null;c.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=t,r=nI();const o=t;o[Ed]&&o[Ed](r),r.on("*",hg)}},e),c.onUnmounted(()=>{const o=t;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",hg),o[Cd]&&o[Cd](),delete e.vnode.el.__VUE_I18N__),n.__deleteInstance(e);const s=o[Ad];s&&(s(),delete o[Ad])},e)}function Qx(n,e,t,r={}){const o=e==="local",s=c.shallowRef(null);if(o&&n.proxy&&!(n.proxy.$options.i18n||n.proxy.$options.__i18n))throw kr(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ge(r.inheritLocale)?r.inheritLocale:!_e(r.locale),l=c.ref(!o||i?t.locale.value:_e(r.locale)?r.locale:Js),a=c.ref(!o||i?t.fallbackLocale.value:_e(r.fallbackLocale)||st(r.fallbackLocale)||He(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=c.ref(bd(l.value,r)),d=c.ref(He(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=c.ref(He(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?t.missingWarn:Ge(r.missingWarn)||Jo(r.missingWarn)?r.missingWarn:!0,p=o?t.fallbackWarn:Ge(r.fallbackWarn)||Jo(r.fallbackWarn)?r.fallbackWarn:!0,m=o?t.fallbackRoot:Ge(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,y=Qe(r.missing)?r.missing:null,C=Qe(r.postTranslation)?r.postTranslation:null,b=o?t.warnHtmlMessage:Ge(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,v=o?t.modifiers:He(r.modifiers)?r.modifiers:{},N=r.pluralRules||o&&t.pluralRules;function w(){return[l.value,a.value,u.value,d.value,f.value]}const x=c.computed({get:()=>s.value?s.value.locale.value:l.value,set:k=>{s.value&&(s.value.locale.value=k),l.value=k}}),M=c.computed({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:k=>{s.value&&(s.value.fallbackLocale.value=k),a.value=k}}),L=c.computed(()=>s.value?s.value.messages.value:u.value),$=c.computed(()=>d.value),V=c.computed(()=>f.value);function z(){return s.value?s.value.getPostTranslationHandler():C}function G(k){s.value&&s.value.setPostTranslationHandler(k)}function Y(){return s.value?s.value.getMissingHandler():y}function K(k){s.value&&s.value.setMissingHandler(k)}function W(k){return w(),k()}function J(...k){return s.value?W(()=>Reflect.apply(s.value.t,null,[...k])):W(()=>"")}function U(...k){return s.value?Reflect.apply(s.value.rt,null,[...k]):""}function ee(...k){return s.value?W(()=>Reflect.apply(s.value.d,null,[...k])):W(()=>"")}function re(...k){return s.value?W(()=>Reflect.apply(s.value.n,null,[...k])):W(()=>"")}function ue(k){return s.value?s.value.tm(k):{}}function ge(k,O){return s.value?s.value.te(k,O):!1}function Ee(k){return s.value?s.value.getLocaleMessage(k):{}}function Se(k,O){s.value&&(s.value.setLocaleMessage(k,O),u.value[k]=O)}function ke(k,O){s.value&&s.value.mergeLocaleMessage(k,O)}function xe(k){return s.value?s.value.getDateTimeFormat(k):{}}function Ae(k,O){s.value&&(s.value.setDateTimeFormat(k,O),d.value[k]=O)}function D(k,O){s.value&&s.value.mergeDateTimeFormat(k,O)}function B(k){return s.value?s.value.getNumberFormat(k):{}}function I(k,O){s.value&&(s.value.setNumberFormat(k,O),f.value[k]=O)}function R(k,O){s.value&&s.value.mergeNumberFormat(k,O)}const A={get id(){return s.value?s.value.id:-1},locale:x,fallbackLocale:M,messages:L,datetimeFormats:$,numberFormats:V,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(k){s.value&&(s.value.inheritLocale=k)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:N},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackWarn(){return s.value?s.value.fallbackWarn:p},set fallbackWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(k){s.value&&(s.value.fallbackRoot=k)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(k){s.value&&(s.value.fallbackFormat=k)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:b},set warnHtmlMessage(k){s.value&&(s.value.warnHtmlMessage=k)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(k){s.value&&(s.value.escapeParameter=k)},t:J,getPostTranslationHandler:z,setPostTranslationHandler:G,getMissingHandler:Y,setMissingHandler:K,rt:U,d:ee,n:re,tm:ue,te:ge,getLocaleMessage:Ee,setLocaleMessage:Se,mergeLocaleMessage:ke,getDateTimeFormat:xe,setDateTimeFormat:Ae,mergeDateTimeFormat:D,getNumberFormat:B,setNumberFormat:I,mergeNumberFormat:R};function T(k){k.locale.value=l.value,k.fallbackLocale.value=a.value,Object.keys(u.value).forEach(O=>{k.mergeLocaleMessage(O,u.value[O])}),Object.keys(d.value).forEach(O=>{k.mergeDateTimeFormat(O,d.value[O])}),Object.keys(f.value).forEach(O=>{k.mergeNumberFormat(O,f.value[O])}),k.escapeParameter=E,k.fallbackFormat=g,k.fallbackRoot=m,k.fallbackWarn=p,k.missingWarn=h,k.warnHtmlMessage=b}return c.onBeforeMount(()=>{if(n.proxy==null||n.proxy.$i18n==null)throw kr(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const k=s.value=n.proxy.$i18n.__composer;e==="global"?(l.value=k.locale.value,a.value=k.fallbackLocale.value,u.value=k.messages.value,d.value=k.datetimeFormats.value,f.value=k.numberFormats.value):o&&T(k)}),A}if(Ox(),__INTLIFY_JIT_COMPILATION__?x2(Sx):x2(Tx),mx(QI),gx(_2),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const n=Yn();n.__INTLIFY__=!0,ox(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Zx="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgaGVpZ2h0PSI4MDBweCIKICAgd2lkdGg9IjgwMHB4IgogICB2aWV3Qm94PSIwIDAgODAwIDgwMCIKICAgZmlsbD0ibm9uZSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMiIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYmVsbC1pY29uLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40LjIgKGViZjBlOTQsIDIwMjUtMDUtMDgpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMyIiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpZD0ibmFtZWR2aWV3MiIKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiMwMDAwMDAiCiAgICAgYm9yZGVyb3BhY2l0eT0iMC4yNSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMC4wIgogICAgIGlua3NjYXBlOnBhZ2VjaGVja2VyYm9hcmQ9IjAiCiAgICAgaW5rc2NhcGU6ZGVza2NvbG9yPSIjZDFkMWQxIgogICAgIGlua3NjYXBlOnpvb209IjAuOTM5MDI2MDEiCiAgICAgaW5rc2NhcGU6Y3g9IjM2MS4wMTIzNiIKICAgICBpbmtzY2FwZTpjeT0iNDI1LjQ0MDgyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjMyMyIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzIxIgogICAgIGlua3NjYXBlOndpbmRvdy14PSI2OSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iLTkiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIgogICAgIGlua3NjYXBlOmxvY2tndWlkZXM9ImZhbHNlIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDU3NC43MTM0LDUxNy43MDgzOSBjIC00My4wMjM0MywtMTkuNDI5NTggLTQwLjMzOTkxLC05Mi4wMzE3MyAtNDAuMzcxNjYsLTk0LjEzNjAzIGwgLTAuODY0MDMsLTU1LjA4NjIyIGMgLTAuODQ0NTIsLTUzLjg0MjYzIC0zMi43NjI4OSwtMTAxLjAxNzg3IC03OS41MjI2MSwtMTIwLjczMzg5IC0wLjEwMDU1LC0yNy42ODUzOCAtMjYuMjQ3ODcsLTUwLjE3NzEzIC01My45NTM3NSwtNTAuMTc3MTMgLTI3LjcwNjU1LDAgLTUzLjg1MzIsMjIuNDkzMDcgLTUzLjk1NDQyLDUwLjE3NTgxIC00Ni43NTc3NCwxOS43MTYwMSAtNzcuNjczOTUsNjguNjIxNjYgLTc4LjY1NzI0LDEyMi40NjE5MyBsIC0wLjg2NDAzLDQ3LjMxIGMgLTAuMDMwNCwyLjEwNDMgMS43ODc3Myw4MC43NTQ2MyAtNDEuMjM3MDMsMTAwLjE4NDIgLTQuOTAxMjIsMi4yMTQxMiAtNy41OTQ5NCwxMi45NDczIC02LjQ2MTc1LDE4LjIwNTA4IDEuMTMxODcsNS4yNTg0MyAzLjk4MjM3LDE0LjQxMTkgOS4zNjEyMiwxNC40MTE5IGggMTEwLjg3MTE1IGMgMi4yMzU5NSwxMi4zMDAzNSA4LjA1MjA1LDIzLjc0MzM2IDE2Ljk0NzU0LDMzLjAxMTk2IDExLjgxNDgsMTIuMzA5NjEgMjcuNDM5MywxOS4wODg4OCA0My45OTI1NywxOS4wODg4OCAxNi41NTQ2LDAgMzIuMTc5MSwtNi43NzkyNyA0My45OTI1OCwtMTkuMDg4ODggOC44OTY4MSwtOS4yNjkyNSAxNC43MTI5MSwtMjAuNzEyOTQgMTYuOTQ3NTQsLTMzLjAxMTk2IGggMTEwLjg3MTE1IGMgNS4zNzg4NSwwIDguMjI4NjksLTkuMTUyOCA5LjM2MTg5LC0xNC40MTE5IDEuMTM0NDksLTUuMjU3NzggLTEuNTU3ODksLTE1Ljk5MDMgLTYuNDU5MTIsLTE4LjIwMzc1IHogbSAtNjUuNDU3NDIsLTI3Ljc0MTc4IGMgNC41MjI4MiwxMy43MTIwNCA3LjI1NzA3LDE2LjIwNjczIDE2LjMzODQ1LDI3LjY2NTYyIGwgLTI1MC4zOTQ3NSwtMC43OTI3NSBjIDkuMDgwMDUsLTExLjQ1NzU2IDEwLjM3MTQsLTEzLjE1ODg1IDE0Ljg5NDIyLC0yNi44NzI4NyB6IE0gNDAwLjAwMTM1LDIyNC4wMDYyMiBjIDEyLjUzMjU1LDAgMTkuNTMwMTUsNC44MjI1MiAyMi44NDU3LDE2LjMwMTI2IC04LjU0MTU5LC0xLjc3MTU2IC0xMy43ODc0NywtMi43MDU2MyAtMjIuODQ1NywtMi43MDU2MyAtOS4wNTgyMywwIC0xNC4zMDQxMiwwLjkzMzQxIC0yMi44NDU2OSwyLjcwNTYzIDMuMzE2MiwtMTEuNDc4MDggMTAuMzEzODEsLTE2LjMwMTI2IDIyLjg0NTY5LC0xNi4zMDEyNiB6IG0gLTEwMy41ODg0OCwxOTkuNjM0OTQgMS43OTkzMywtNTQuMjIxNyBjIDEuOTYwMjIsLTU5LjA2OTg5IDQyLjY4NTQzLC05Ni42NzQ5NyAxMDEuNzg5MTUsLTk2LjY3NDk3IDU5LjEwMzczLDAgOTkuODk0OTksMzUuODAzNTkgMTAxLjc4OTE2LDk0Ljg3NTY0IGwgMS43OTkzMyw1Ni4xMTQzIGMgMC4wMTUyLDEuNzE3MzEgMS40NzQyMiwxMi41NjgzIDEuMjMyNDMsMzQuNzg2MiBIIDI5NS4xNzc3OCBjIDAuNzE4OTQsLTIyLjIzOTA2IDEuMjIxMTksLTMzLjEyMTggMS4yMzUwOSwtMzQuODc5NDcgeiBtIDEwMy41ODg0OCwxNDguOTY5NzggYyAtMTcuNDI1MTcsMCAtMjUuNDM1NTgsLTUuNTgwMTUgLTMwLjMxNjk0LC0yMi4yODYyNCBoIDYwLjYzMjU3IGMgLTQuODgxMzgsMTYuNzA2MDkgLTEyLjg4OTE0LDIyLjI4NjI0IC0zMC4zMTU2MywyMi4yODYyNCB6IgogICAgIGlkPSJwYXRoMSIKICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuODk5NjY2O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjc2NzY3NjY2NzY2NzY2NzY2NjY2NjY3Njc2NzY3Nzc2NjY2NzY2NzIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDM5Ny45Njk0NCwyODMuMzM2NjkgYyAtNDkuNDE4NTUsMCAtODkuNjIzNjEsNDAuMjAzNzMgLTg5LjYyMzYxLDg5LjYyMTYxIDAsNi4zNDM1NCA1LjE0Mjg2LDExLjQ4NjQgMTEuNDg2MzksMTEuNDg2NCA2LjM0MzU1LDAgMTEuNDg2NDEsLTUuMTQyODYgMTEuNDg2NDEsLTExLjQ4NjQgMCwtMzYuNzUwNzYgMjkuODk5MzgsLTY2LjY0OTQ4IDY2LjY1MTQ4LC02Ni42NDk0OCA2LjM0MzUzLDAgMTEuNDg2MzksLTUuMTQyODUgMTEuNDg2MzksLTExLjQ4NjQgLTYuNmUtNCwtNi4zNDQyIC01LjE0MzUzLC0xMS40ODU3MyAtMTEuNDg3MDYsLTExLjQ4NTczIHoiCiAgICAgaWQ9InBhdGgyIgogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MC45MDQ3MTI7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0ic3Nzc3NjcyIgLz4KPC9zdmc+Cg==",pg=async(n,e)=>{const t=n+e,o=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",o);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")};function Td(){const n=()=>new Promise(t=>{if(document.readyState==="complete")return t();window.addEventListener("load",()=>t(),{once:!0})});return{OnWindowLoaded:t=>{c.onMounted(()=>n().then(t))}}}const Jx=(n,e,t)=>{const{OnWindowLoaded:r}=Td(),o="lkj298fhGGJihge",s=c.ref(!1),i=()=>e+"|"+t();return r(async()=>{if(e==null||t==null||t()==null){s.value=!1;return}const u=i(),d=localStorage.getItem(n),f=JSON.parse(d)||[],h=await pg(u,o);s.value=!f.includes(h)}),{hasUnfulfilledInteraction:s,MarkInteractionPerformed:async()=>{const u=i(),d=await pg(u,o),f=localStorage.getItem(n),h=JSON.parse(f)||[];h.includes(d)||(h.push(d),localStorage.setItem(n,JSON.stringify(h))),s.value=!1}}};function mg(n){const{OnWindowLoaded:e}=Td();let t;const r=()=>{t=document.addEventListener("click",s=>{if(!s||!s.target)return;let i=null;if(s.target instanceof Element&&(i=s.target.closest(".popover")),i)return;const l=no.getInstance(n.value);l&&l.hide()})};c.onMounted(r);const o=()=>{if((n==null?void 0:n.value)==null)return;no.getInstance(n.value)||new no(n.value)};e(o),c.watch(n,o),c.onUnmounted(()=>{if((n==null?void 0:n.value)!=null){const s=no.getInstance(n.value);s&&s.dispose()}t&&document.removeEventListener("click",t)})}const Xx=["data-bs-title","data-bs-content"],qx=["title"],eM={key:0,class:"number-circle",textContent:1},tM=c.defineComponent({__name:"BDNotificationButton",props:{userId:{},getNotification:{}},setup(n){const e=n,t=()=>{var d;return(d=e.getNotification)==null?void 0:d.linkUrl},{hasUnfulfilledInteraction:r,MarkInteractionPerformed:o}=Jx("notificationsRead",e.userId,t),s=c.ref();mg(s);const i=c.computed(()=>{const d=e.getNotification;if(!d)return!1;const{isActive:f,startDate:h,endDate:p}=d;if(!f)return!1;const m=new Date(h),g=new Date(p),y=new Date;return y>=m&&y<=g}),l=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.tooltip}),a=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.title}),u=c.computed(()=>{const d=e.getNotification;if(!d)return"";const{text:f,linkUrl:h,linkText:p}=d;return`
205
205
  <p>${f}</p>
206
206
  <a href='${h}' target='_blank'>${p}</a>
207
- `});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:Qx,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,Xx),[[c.unref(Gs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",qx)):c.createCommentVNode("",!0)],8,Jx)):c.createCommentVNode("",!0)}}),tM={class:"profile-side"},nM=["href"],rM={class:"nav-item"},oM=["textContent"],gg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=ei(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(rd,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",tM,[c.createVNode(eM,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(ni),{title:r.value},null,8,["title"]),[[c.unref(Gs)]])],8,nM)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",rM,[c.createVNode(Mr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(ni)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,oM)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),sM={class:"modal-dialog"},iM={class:"modal-content"},aM={class:"modal-header"},lM={class:"modal-title"},cM=["src"],uM=c.createElementVNode("span",null,"Sluiten",-1),dM={class:"modal-body"},fM={key:0,class:"modal-footer"},hM=["disabled"],ti=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",sM,[c.createElementVNode("div",iM,[c.createElementVNode("div",aM,[c.createElementVNode("h2",lM,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,cM)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[uM,c.createVNode(c.unref(oi))]))]),c.createElementVNode("div",dM,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",fM,[t.hideFooterSubmitButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:o},c.toDisplayString(t.submitButtonTitle),9,hM)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ml=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Ar.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=Ar.getInstance(o);s&&s.hide()}}}};function yg(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const pM=["src","alt"],mM={key:0,class:"show-spinner"},gM={class:"spinner-border text-primary",role:"status"},yM={class:"visually-hidden"},vM=["href"],vg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ml("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=yg(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve}};return(g,y)=>(c.openBlock(),c.createBlock(ti,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Ve)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:y[0]||(y[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:y[1]||(y[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:y[2]||(y[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,pM)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",mM,[c.createElementVNode("div",gM,[c.createElementVNode("span",yM,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Bl,{modelValue:c.unref(o),"onUpdate:modelValue":y[3]||(y[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Ze,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,vM)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,ho.SUCCESS),t=l=>s("Waarschuwing",l,ho.WARNING),r=l=>s("Informatie",l,ho.INFO),o=l=>s("Mislukt",l,ho.DANGER);function s(l,a,u){const d=`toast-${Lf()}`,f={id:d,variant:u,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=c.h(Vl,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${d}`);y&&(Zo.getOrCreateInstance(y,n).show(),i(y))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:EM}=gl();function Sd(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>fi(h.ErrorMessage)&&h.ErrorMessage!==Ve):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,fi(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&EM(f)}},o=c.ref(null),s=c.ref(""),i=a=>{_y(a.value)?o.value=a.value.map(u=>fi(u)?u:u.ErrorMessage):fi(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Ve}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const CM={key:0},AM={key:1},bM={class:"bd-form-field"},wM={class:"bd-form-field"},Eg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=Sd(null),{closeModal:f}=ml("phone-number-edit-modal");let h=Ve;const p=c.ref(),m=c.ref(null),g=c.ref(),y=c.ref(),C=c.ref(null),b=c.computed(()=>y.value==null||y.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const L={newPhonenumber:p.value};r.startPhoneNumberUpdate(L).then(N).catch(u)},v=()=>{if(!y.value){C.value=!1;return}const L={requestIdentifier:g.value,token:y.value};r.confirmPhoneNumberUpdate(L).then(w).catch(u)},N=L=>{m.value=null,o(r.confirmationCodeSentText),g.value=L.data.RequestIdentifier},w=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},x=L=>{h=L,p.value=h,m.value=null,g.value=void 0,y.value=void 0,C.value=null},M=()=>{x(h),d(),s(r.editCanceledText)};return e({Reset:x}),(L,$)=>(c.openBlock(),c.createBlock(ti,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Ve)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":b.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:v,onCancel:M},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(as,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",CM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),(V,z)=>(c.openBlock(),c.createElementBlock("li",{key:z},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(V),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",AM,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",bM,[c.createVNode(Br,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":$[0]||($[0]=V=>p.value=V),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",wM,[g.value?(c.openBlock(),c.createBlock(Br,{key:0,label:r.confirmationCodeLabel,modelValue:y.value,"onUpdate:modelValue":$[1]||($[1]=V=>y.value=V),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Cg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={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(Y){var K=["th","st","nd","rd"],W=Y%100;return"["+Y+(K[(W-20)%10]||K[W]||K[0])+"]"}},E=function(Y,K,W){var J=String(Y);return!J||J.length>=K?Y:""+Array(K+1-J.length).join(W)+Y},v={s:E,z:function(Y){var K=-Y.utcOffset(),W=Math.abs(K),J=Math.floor(W/60),U=W%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(U,2,"0")},m:function Y(K,W){if(K.date()<W.date())return-Y(W,K);var J=12*(W.year()-K.year())+(W.month()-K.month()),U=K.clone().add(J,f),ee=W-U<0,re=K.clone().add(J+(ee?-1:1),f);return+(-(J+(W-U)/(ee?U-re:re-U))||0)},a:function(Y){return Y<0?Math.ceil(Y)||0:Math.floor(Y)},p:function(Y){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[Y]||String(Y||"").toLowerCase().replace(/s$/,"")},u:function(Y){return Y===void 0}},N="en",w={};w[N]=b;var x="$isDayjsObject",M=function(Y){return Y instanceof z||!(!Y||!Y[x])},L=function Y(K,W,J){var U;if(!K)return N;if(typeof K=="string"){var ee=K.toLowerCase();w[ee]&&(U=ee),W&&(w[ee]=W,U=ee);var re=K.split("-");if(!U&&re.length>1)return Y(re[0])}else{var ue=K.name;w[ue]=K,U=ue}return!J&&U&&(N=U),U||!J&&N},$=function(Y,K){if(M(Y))return Y.clone();var W=typeof K=="object"?K:{};return W.date=Y,W.args=arguments,new z(W)},V=v;V.l=L,V.i=M,V.w=function(Y,K){return $(Y,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var z=function(){function Y(W){this.$L=L(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[x]=!0}var K=Y.prototype;return K.parse=function(W){this.$d=function(J){var U=J.date,ee=J.utc;if(U===null)return new Date(NaN);if(V.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var re=U.match(y);if(re){var ue=re[2]-1||0,ge=(re[7]||"0").substring(0,3);return ee?new Date(Date.UTC(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)):new Date(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)}}return new Date(U)}(W),this.init()},K.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},K.$utils=function(){return V},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(W,J){var U=$(W);return this.startOf(J)<=U&&U<=this.endOf(J)},K.isAfter=function(W,J){return $(W)<this.startOf(J)},K.isBefore=function(W,J){return this.endOf(J)<$(W)},K.$g=function(W,J,U){return V.u(W)?this[J]:this.set(U,W)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(W,J){var U=this,ee=!!V.u(J)||J,re=V.p(W),ue=function(B,I){var R=V.w(U.$u?Date.UTC(U.$y,I,B):new Date(U.$y,I,B),U);return ee?R:R.endOf(u)},ge=function(B,I){return V.w(U.toDate()[B].apply(U.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(I)),U)},Ee=this.$W,Se=this.$M,ke=this.$D,xe="set"+(this.$u?"UTC":"");switch(re){case p:return ee?ue(1,0):ue(31,11);case f:return ee?ue(1,Se):ue(0,Se+1);case d:var Ae=this.$locale().weekStart||0,D=(Ee<Ae?Ee+7:Ee)-Ae;return ue(ee?ke-D:ke+(6-D),Se);case u:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case i:return ge(xe+"Milliseconds",3);default:return this.clone()}},K.endOf=function(W){return this.startOf(W,!1)},K.$set=function(W,J){var U,ee=V.p(W),re="set"+(this.$u?"UTC":""),ue=(U={},U[u]=re+"Date",U[m]=re+"Date",U[f]=re+"Month",U[p]=re+"FullYear",U[a]=re+"Hours",U[l]=re+"Minutes",U[i]=re+"Seconds",U[s]=re+"Milliseconds",U)[ee],ge=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var Ee=this.clone().set(m,1);Ee.$d[ue](ge),Ee.init(),this.$d=Ee.set(m,Math.min(this.$D,Ee.daysInMonth())).$d}else ue&&this.$d[ue](ge);return this.init(),this},K.set=function(W,J){return this.clone().$set(W,J)},K.get=function(W){return this[V.p(W)]()},K.add=function(W,J){var U,ee=this;W=Number(W);var re=V.p(J),ue=function(Se){var ke=$(ee);return V.w(ke.date(ke.date()+Math.round(Se*W)),ee)};if(re===f)return this.set(f,this.$M+W);if(re===p)return this.set(p,this.$y+W);if(re===u)return ue(1);if(re===d)return ue(7);var ge=(U={},U[l]=r,U[a]=o,U[i]=t,U)[re]||1,Ee=this.$d.getTime()+W*ge;return V.w(Ee,this)},K.subtract=function(W,J){return this.add(-1*W,J)},K.format=function(W){var J=this,U=this.$locale();if(!this.isValid())return U.invalidDate||g;var ee=W||"YYYY-MM-DDTHH:mm:ssZ",re=V.z(this),ue=this.$H,ge=this.$m,Ee=this.$M,Se=U.weekdays,ke=U.months,xe=U.meridiem,Ae=function(I,R,A,T){return I&&(I[R]||I(J,ee))||A[R].slice(0,T)},D=function(I){return V.s(ue%12||12,I,"0")},B=xe||function(I,R,A){var T=I<12?"AM":"PM";return A?T.toLowerCase():T};return ee.replace(C,function(I,R){return R||function(A){switch(A){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return Ee+1;case"MM":return V.s(Ee+1,2,"0");case"MMM":return Ae(U.monthsShort,Ee,ke,3);case"MMMM":return Ae(ke,Ee);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ae(U.weekdaysMin,J.$W,Se,2);case"ddd":return Ae(U.weekdaysShort,J.$W,Se,3);case"dddd":return Se[J.$W];case"H":return String(ue);case"HH":return V.s(ue,2,"0");case"h":return D(1);case"hh":return D(2);case"a":return B(ue,ge,!0);case"A":return B(ue,ge,!1);case"m":return String(ge);case"mm":return V.s(ge,2,"0");case"s":return String(J.$s);case"ss":return V.s(J.$s,2,"0");case"SSS":return V.s(J.$ms,3,"0");case"Z":return re}return null}(I)||re.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(W,J,U){var ee,re=this,ue=V.p(J),ge=$(W),Ee=(ge.utcOffset()-this.utcOffset())*r,Se=this-ge,ke=function(){return V.m(re,ge)};switch(ue){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Se-Ee)/6048e5;break;case u:ee=(Se-Ee)/864e5;break;case a:ee=Se/o;break;case l:ee=Se/r;break;case i:ee=Se/t;break;default:ee=Se}return U?ee:V.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return w[this.$L]},K.locale=function(W,J){if(!W)return this.$L;var U=this.clone(),ee=L(W,J,!0);return ee&&(U.$L=ee),U},K.clone=function(){return V.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},Y}(),G=z.prototype;return $.prototype=G,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(Y){G[Y[1]]=function(K){return this.$g(K,Y[0],Y[1])}}),$.extend=function(Y,K){return Y.$i||(Y(K,z,$),Y.$i=!0),$},$.locale=L,$.isDayjs=M,$.unix=function(Y){return $(1e3*Y)},$.en=w[N],$.Ls=w,$.p={},$})})(Cg);var Ag=Cg.exports;const ns=Ul(Ag),bg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ml("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},y=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=ns().diff(t(),"m"),l.value=ns().subtract(i.value,"m").diff(t(),"s");const M=n??Number.MAX_SAFE_INTEGER,L=e??0;i.value>=M?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=b):i.value>=M-L?d():f()},b=M=>{M.stopPropagation(),v()},E=()=>{o(),y(),i.value=null,l.value=null,g()},v=()=>{y(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},N=()=>{a.value?v():E()},w=()=>{v()},x=()=>{a.value?v():f()};return c.onMounted(()=>{const M=document.getElementById("session-time-out-modal");M&&M.addEventListener("hidden.bs.modal",N),y(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:w,OnSubmit:x}},wg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=bg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(d,f)=>(c.openBlock(),c.createBlock(ti,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":c.unref(t),"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":u.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Tg=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),TM={class:"template change-password-template"},SM={class:"template-title"},_M={key:0},kM={key:1},NM=["onSubmit","onReset"],IM={class:"bd-form-field"},xM={class:"bd-form-field"},MM={class:"bd-form-field"},OM={class:"bd-form-buttons"},Sg=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=Sd(null),{ValidationObjectIsValid:a}=Tg();let u=c.ref({password:Ve,passwordNew:Ve,passwordRepeat:Ve}),d=c.ref({password:{state:null,errorLabel:Ve},passwordNew:{state:null,errorLabel:Ve},passwordRepeat:{state:null,errorLabel:Ve}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(y=>{t(e.failureText),i(y)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,y=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Ve&&g?null:!1,d.value.passwordNew.errorLabel=y,d.value.passwordRepeat.state=u.value.passwordRepeat!==Ve&&g?null:!1,d.value.passwordRepeat.errorLabel=y}return d.value.password.state=u.value.password!==Ve?null:!1,d.value.password.errorLabel=d.value.password.state?Ve:e.requiredText,a(d.value)},p=()=>{u.value.password=Ve,u.value.passwordNew=Ve,u.value.passwordRepeat=Ve,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",TM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(xr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",SM,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(xr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(ui,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(ss,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(xr,{key:0},{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",_M,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(y,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(y),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",kM,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,{class:"bd-card-form",sm:12,md:12},{default:c.withCtx(()=>[c.createElementVNode("form",{onSubmit:c.withModifiers(f,["prevent"]),onReset:c.withModifiers(p,["prevent"]),class:"form"},[c.createElementVNode("div",IM,[c.createVNode(Br,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=y=>c.unref(u).password=y),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",xM,[c.createVNode(Br,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=y=>c.unref(u).passwordNew=y),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",MM,[c.createVNode(Br,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=y=>c.unref(u).passwordRepeat=y),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",OM,[c.createVNode(Ze,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Ze,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,NM)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),LM={class:"template not-found-template"},DM={class:"center-screen"},RM={class:"container-warning"},BM=["textContent"],PM=["textContent"],_g=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=ei(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",LM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",DM,[c.createElementVNode("div",RM,[c.createVNode(Ll),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,BM),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,PM),c.createVNode(Ze,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var FM={exports:{}};(function(n,e){(function(t,r){n.exports=r(Ag)})(zl,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={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(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(FM);var kg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var b=C.match(/([+-]|\d\d)/g),E=60*b[1]+(+b[2]||0);return E===0?0:b[0]==="+"?-E:E}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var b,E=a.meridiem;if(E){for(var v=1;v<=24;v+=1)if(y.indexOf(E(v,0,C))>-1){b=v>12;break}}else b=y===(C?"pm":"PM");return b},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[s,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(y){var C=a.ordinal,b=y.match(/\d+/);if(this.day=b[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===y&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(y){var C=h("months"),b=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(y)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(y){var C,b;C=y,b=a&&a.formats;for(var E=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,V,z){var G=z&&z.toUpperCase();return V||b[z]||t[z]||b[G].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Y,K,W){return K||W.slice(1)})})).match(r),v=E.length,N=0;N<v;N+=1){var w=E[N],x=m[w],M=x&&x[0],L=x&&x[1];E[N]=L?{regex:M,parser:L}:w.replace(/^\[|\]$/g,"")}return function($){for(var V={},z=0,G=0;z<v;z+=1){var Y=E[z];if(typeof Y=="string")G+=Y.length;else{var K=Y.regex,W=Y.parser,J=$.slice(G),U=K.exec(J)[0];W.call(V,U),$=$.replace(U,"")}}return function(ee){var re=ee.afternoon;if(re!==void 0){var ue=ee.hours;re?ue<12&&(ee.hours+=12):ue===12&&(ee.hours=0),delete ee.afternoon}}(V),V}}return function(y,C,b){b.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(u=y.parseTwoDigitYear);var E=C.prototype,v=E.parse;E.parse=function(N){var w=N.date,x=N.utc,M=N.args;this.$u=x;var L=M[1];if(typeof L=="string"){var $=M[2]===!0,V=M[3]===!0,z=$||V,G=M[2];V&&(G=M[2]),a=this.$locale(),!$&&G&&(a=b.Ls[G]),this.$d=function(J,U,ee,re){try{if(["x","X"].indexOf(U)>-1)return new Date((U==="X"?1e3:1)*J);var ue=g(U)(J),ge=ue.year,Ee=ue.month,Se=ue.day,ke=ue.hours,xe=ue.minutes,Ae=ue.seconds,D=ue.milliseconds,B=ue.zone,I=ue.week,R=new Date,A=Se||(ge||Ee?1:R.getDate()),T=ge||R.getFullYear(),k=0;ge&&!Ee||(k=Ee>0?Ee-1:R.getMonth());var O,H=ke||0,j=xe||0,Z=Ae||0,X=D||0;return B?new Date(Date.UTC(T,k,A,H,j,Z,X+60*B.offset*1e3)):ee?new Date(Date.UTC(T,k,A,H,j,Z,X)):(O=new Date(T,k,A,H,j,Z,X),I&&(O=re(O).week(I).toDate()),O)}catch{return new Date("")}}(w,L,x,b),this.init(),G&&G!==!0&&(this.$L=this.locale(G).$L),z&&w!=this.format(L)&&(this.$d=new Date("")),a={}}else if(L instanceof Array)for(var Y=L.length,K=1;K<=Y;K+=1){M[1]=L[K-1];var W=b.apply(this,M);if(W.isValid()){this.$d=W.$d,this.$L=W.$L,this.init();break}K===Y&&(this.$d=new Date(""))}else v.call(this,N)}}})})(kg);var VM=kg.exports;const $M=Ul(VM);ns.extend($M),ns.locale("nl");function zM(n,e=ns().startOf("day")){const t="DD-MM-YYYY",r=ns(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const UM={install:n=>{n.component("BDAlert",as),n.component("BDArticle",Wf),n.component("BDAttachmentPreviewList",$a),n.component("BDBadge",$f),n.component("BDButton",Ze),n.component("BDCard",ui),n.component("BDChangePasswordTemplate",Sg),n.component("BDChatCloud",Ym),n.component("BDCol",Ir),n.component("BDCollapsableCard",Df),n.component("BDContainer",ss),n.component("BDDropdown",nd),n.component("BDDropdownItem",pi),n.component("BDDropzone",Gf),n.component("BDForm",zf),n.component("BDFormCheckbox",jf),n.component("BDFormInput",Br),n.component("BDFormInvalidFeedback",di),n.component("BDFormSelect",Hf),n.component("BDHeader",rd),n.component("BDImageAttachmentModal",vg),n.component("BDImageAttachmentPreviewList",za),n.component("BDInputGroup",Vf),n.component("BDLink",Mr),n.component("BDLogo",vl),n.component("BDMarkdownEditor",Wm),n.component("BDMobileMenu",td),n.component("BDModal",ti),n.component("BDNotFoundTemplate",_g),n.component("BDPagination",Uf),n.component("BDPhoneNumberEditModal",Eg),n.component("BDPill",hi),n.component("BDPractitionerHeader",gg),n.component("BDProfileImage",ls),n.component("BDRow",xr),n.component("BDSessionTimeOutModal",wg),n.component("BDTable",Gm),n.component("BDToast",Vl),n.component("BDUser",Km),n.component("BDUserInformation",$l),n.component("BDVideoCallToast",Jm),n.component("BDZoomslider",Bl),n.component("IconAcademy",ni),n.component("IconArrowDown",Ld),n.component("IconArrowUp",Dd),n.component("IconAttachment",Or),n.component("IconBold",El),n.component("IconBulletList",Cl),n.component("IconCalendar",Rd),n.component("IconCall",ri),n.component("IconCallReject",Al),n.component("IconCardView",Bd),n.component("IconCaretDown",bl),n.component("IconCaretLeft",wl),n.component("IconCaretRight",Tl),n.component("IconCheck",uo),n.component("IconClipboard",Pd),n.component("IconClose",oi),n.component("IconComment",Fd),n.component("IconCommentActive",Vd),n.component("IconCommonFileEmpty",zd),n.component("IconCommonFileWarning",Ud),n.component("IconCommentStatic",$d),n.component("IconContactPerson",Hd),n.component("IconCopy",jd),n.component("IconDelete",Wd),n.component("IconDoubleCheck",Kd),n.component("IconDownloadImage",Sl),n.component("IconEdit",Yd),n.component("IconEndCall",Gd),n.component("IconError",si),n.component("IconExternal",Qd),n.component("IconEyeShow",Zd),n.component("IconEyeSlash",Jd),n.component("IconFile",_l),n.component("IconFileAdded",Xd),n.component("IconForward",qd),n.component("IconHix",ef),n.component("IconHyperlink",ii),n.component("IconImageFileLandscape",tf),n.component("IconImageFileWarning",nf),n.component("IconInfo",Lr),n.component("IconInformationCircle",rf),n.component("IconItalic",kl),n.component("IconListView",of),n.component("IconLock",sf),n.component("IconLusciiEscalated",af),n.component("IconLusciiLogo",lf),n.component("IconLusciiOpen",cf),n.component("IconLusciiPriorityHigh",uf),n.component("IconLusciiPriorityLow",df),n.component("IconLusciiPriorityMedium",ff),n.component("IconMenu",Nl),n.component("IconMessage",hf),n.component("IconMessageForward",pf),n.component("IconMicrophoneSlash",mf),n.component("IconMicrosoftTeams",gf),n.component("IconMin",yf),n.component("IconOrderedList",Il),n.component("IconPlus",vf),n.component("IconRefresh",Ef),n.component("IconRemove",is),n.component("IconSananetLogo",Cf),n.component("IconService",Af),n.component("IconShareScreen",bf),n.component("IconSingleNeutral",wf),n.component("IconSort",Tf),n.component("IconSortAsc",xl),n.component("IconSortDesc",Ml),n.component("IconSortNone",Ol),n.component("IconTriangleDown",Sf),n.component("IconTriangleExclamation",Ll),n.component("IconUnderline",Dl),n.component("IconVideoDisabled",kf),n.component("IconVideocall",_f),n.component("IconZorgkaart",Nf),n.directive("vBDTooltip",Gs)}};ne.BDAlert=as,ne.BDArticle=Wf,ne.BDAttachmentPreviewList=$a,ne.BDBadge=$f,ne.BDButton=Ze,ne.BDCard=ui,ne.BDChangePasswordTemplate=Sg,ne.BDChatCloud=Ym,ne.BDCol=Ir,ne.BDCollapsableCard=Df,ne.BDContainer=ss,ne.BDDropdown=nd,ne.BDDropdownItem=pi,ne.BDDropzone=Gf,ne.BDForm=zf,ne.BDFormCheckbox=jf,ne.BDFormInput=Br,ne.BDFormInvalidFeedback=di,ne.BDFormSelect=Hf,ne.BDHeader=rd,ne.BDImageAttachmentModal=vg,ne.BDImageAttachmentPreviewList=za,ne.BDInputGroup=Vf,ne.BDLink=Mr,ne.BDLogo=vl,ne.BDMarkdownEditor=Wm,ne.BDMobileMenu=td,ne.BDModal=ti,ne.BDNotFoundTemplate=_g,ne.BDPagination=Uf,ne.BDPhoneNumberEditModal=Eg,ne.BDPill=hi,ne.BDPractitionerHeader=gg,ne.BDProfileImage=ls,ne.BDRow=xr,ne.BDSessionTimeOutModal=wg,ne.BDTable=Gm,ne.BDToast=Vl,ne.BDUser=Km,ne.BDUserInformation=$l,ne.BDVideoCallToast=Jm,ne.BDZoomslider=Bl,ne.IconAcademy=ni,ne.IconArrowDown=Ld,ne.IconArrowUp=Dd,ne.IconAttachment=Or,ne.IconBold=El,ne.IconBulletList=Cl,ne.IconCalendar=Rd,ne.IconCall=ri,ne.IconCallReject=Al,ne.IconCardView=Bd,ne.IconCaretDown=bl,ne.IconCaretLeft=wl,ne.IconCaretRight=Tl,ne.IconCheck=uo,ne.IconClipboard=Pd,ne.IconClose=oi,ne.IconComment=Fd,ne.IconCommentActive=Vd,ne.IconCommentStatic=$d,ne.IconCommonFileEmpty=zd,ne.IconCommonFileWarning=Ud,ne.IconContactPerson=Hd,ne.IconCopy=jd,ne.IconDelete=Wd,ne.IconDoubleCheck=Kd,ne.IconDownloadImage=Sl,ne.IconEdit=Yd,ne.IconEndCall=Gd,ne.IconError=si,ne.IconExternal=Qd,ne.IconEyeShow=Zd,ne.IconEyeSlash=Jd,ne.IconFile=_l,ne.IconFileAdded=Xd,ne.IconForward=qd,ne.IconHix=ef,ne.IconHyperlink=ii,ne.IconImageFileLandscape=tf,ne.IconImageFileWarning=nf,ne.IconInfo=Lr,ne.IconInformationCircle=rf,ne.IconItalic=kl,ne.IconListView=of,ne.IconLock=sf,ne.IconLusciiEscalated=af,ne.IconLusciiLogo=lf,ne.IconLusciiOpen=cf,ne.IconLusciiPriorityHigh=uf,ne.IconLusciiPriorityLow=df,ne.IconLusciiPriorityMedium=ff,ne.IconMenu=Nl,ne.IconMessage=hf,ne.IconMessageForward=pf,ne.IconMicrophoneSlash=mf,ne.IconMicrosoftTeams=gf,ne.IconMin=yf,ne.IconOrderedList=Il,ne.IconPlus=vf,ne.IconRefresh=Ef,ne.IconRemove=is,ne.IconSananetLogo=Cf,ne.IconService=Af,ne.IconShareScreen=bf,ne.IconSingleNeutral=wf,ne.IconSort=Tf,ne.IconSortAsc=xl,ne.IconSortDesc=Ml,ne.IconSortNone=Ol,ne.IconTriangleDown=Sf,ne.IconTriangleExclamation=Ll,ne.IconUnderline=Dl,ne.IconVideoDisabled=kf,ne.IconVideocall=_f,ne.IconZorgkaart=Nf,ne.default=UM,ne.getDisplayDate=zM,ne.useModal=ml,ne.usePopover=mg,ne.useServerErrors=Sd,ne.useSessionTimeOut=bg,ne.useToaster=gl,ne.useValidation=Tg,ne.useWindow=Td,ne.useZoom=yg,ne.vBdTooltip=Gs,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
207
+ `});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:Zx,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,qx),[[c.unref(Gs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",eM)):c.createCommentVNode("",!0)],8,Xx)):c.createCommentVNode("",!0)}}),nM={class:"profile-side"},rM=["href"],oM={class:"nav-item"},sM=["textContent"],gg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=ei(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(rd,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",nM,[c.createVNode(tM,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(ni),{title:r.value},null,8,["title"]),[[c.unref(Gs)]])],8,rM)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",oM,[c.createVNode(Mr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(ni)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,sM)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),iM={class:"modal-dialog"},aM={class:"modal-content"},lM={class:"modal-header"},cM={class:"modal-title"},uM=["src"],dM=c.createElementVNode("span",null,"Sluiten",-1),fM={class:"modal-body"},hM={key:0,class:"modal-footer"},pM=["disabled"],ti=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",iM,[c.createElementVNode("div",aM,[c.createElementVNode("div",lM,[c.createElementVNode("h2",cM,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,uM)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[dM,c.createVNode(c.unref(oi))]))]),c.createElementVNode("div",fM,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",hM,[t.hideFooterSubmitButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:o},c.toDisplayString(t.submitButtonTitle),9,pM)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ml=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Ar.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=Ar.getInstance(o);s&&s.hide()}}}};function yg(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const mM=["src","alt"],gM={key:0,class:"show-spinner"},yM={class:"spinner-border text-primary",role:"status"},vM={class:"visually-hidden"},EM=["href"],vg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ml("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=yg(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve}};return(g,y)=>(c.openBlock(),c.createBlock(ti,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Ve)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:y[0]||(y[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:y[1]||(y[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:y[2]||(y[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,mM)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",gM,[c.createElementVNode("div",yM,[c.createElementVNode("span",vM,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Bl,{modelValue:c.unref(o),"onUpdate:modelValue":y[3]||(y[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Ze,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,EM)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,ho.SUCCESS),t=l=>s("Waarschuwing",l,ho.WARNING),r=l=>s("Informatie",l,ho.INFO),o=l=>s("Mislukt",l,ho.DANGER);function s(l,a,u){const d=`toast-${Lf()}`,f={id:d,variant:u,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=c.h(Vl,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${d}`);y&&(Zo.getOrCreateInstance(y,n).show(),i(y))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:CM}=gl();function Sd(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>fi(h.ErrorMessage)&&h.ErrorMessage!==Ve):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,fi(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&CM(f)}},o=c.ref(null),s=c.ref(""),i=a=>{_y(a.value)?o.value=a.value.map(u=>fi(u)?u:u.ErrorMessage):fi(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Ve}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const AM={key:0},bM={key:1},wM={class:"bd-form-field"},TM={class:"bd-form-field"},Eg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=Sd(null),{closeModal:f}=ml("phone-number-edit-modal");let h=Ve;const p=c.ref(),m=c.ref(null),g=c.ref(),y=c.ref(),C=c.ref(null),b=c.computed(()=>y.value==null||y.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const L={newPhonenumber:p.value};r.startPhoneNumberUpdate(L).then(N).catch(u)},v=()=>{if(!y.value){C.value=!1;return}const L={requestIdentifier:g.value,token:y.value};r.confirmPhoneNumberUpdate(L).then(w).catch(u)},N=L=>{m.value=null,o(r.confirmationCodeSentText),g.value=L.data.RequestIdentifier},w=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},x=L=>{h=L,p.value=h,m.value=null,g.value=void 0,y.value=void 0,C.value=null},M=()=>{x(h),d(),s(r.editCanceledText)};return e({Reset:x}),(L,$)=>(c.openBlock(),c.createBlock(ti,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Ve)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":b.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:v,onCancel:M},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(as,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",AM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),(V,z)=>(c.openBlock(),c.createElementBlock("li",{key:z},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(V),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",bM,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",wM,[c.createVNode(Br,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":$[0]||($[0]=V=>p.value=V),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",TM,[g.value?(c.openBlock(),c.createBlock(Br,{key:0,label:r.confirmationCodeLabel,modelValue:y.value,"onUpdate:modelValue":$[1]||($[1]=V=>y.value=V),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Cg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={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(Y){var K=["th","st","nd","rd"],W=Y%100;return"["+Y+(K[(W-20)%10]||K[W]||K[0])+"]"}},E=function(Y,K,W){var J=String(Y);return!J||J.length>=K?Y:""+Array(K+1-J.length).join(W)+Y},v={s:E,z:function(Y){var K=-Y.utcOffset(),W=Math.abs(K),J=Math.floor(W/60),U=W%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(U,2,"0")},m:function Y(K,W){if(K.date()<W.date())return-Y(W,K);var J=12*(W.year()-K.year())+(W.month()-K.month()),U=K.clone().add(J,f),ee=W-U<0,re=K.clone().add(J+(ee?-1:1),f);return+(-(J+(W-U)/(ee?U-re:re-U))||0)},a:function(Y){return Y<0?Math.ceil(Y)||0:Math.floor(Y)},p:function(Y){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[Y]||String(Y||"").toLowerCase().replace(/s$/,"")},u:function(Y){return Y===void 0}},N="en",w={};w[N]=b;var x="$isDayjsObject",M=function(Y){return Y instanceof z||!(!Y||!Y[x])},L=function Y(K,W,J){var U;if(!K)return N;if(typeof K=="string"){var ee=K.toLowerCase();w[ee]&&(U=ee),W&&(w[ee]=W,U=ee);var re=K.split("-");if(!U&&re.length>1)return Y(re[0])}else{var ue=K.name;w[ue]=K,U=ue}return!J&&U&&(N=U),U||!J&&N},$=function(Y,K){if(M(Y))return Y.clone();var W=typeof K=="object"?K:{};return W.date=Y,W.args=arguments,new z(W)},V=v;V.l=L,V.i=M,V.w=function(Y,K){return $(Y,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var z=function(){function Y(W){this.$L=L(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[x]=!0}var K=Y.prototype;return K.parse=function(W){this.$d=function(J){var U=J.date,ee=J.utc;if(U===null)return new Date(NaN);if(V.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var re=U.match(y);if(re){var ue=re[2]-1||0,ge=(re[7]||"0").substring(0,3);return ee?new Date(Date.UTC(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)):new Date(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)}}return new Date(U)}(W),this.init()},K.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},K.$utils=function(){return V},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(W,J){var U=$(W);return this.startOf(J)<=U&&U<=this.endOf(J)},K.isAfter=function(W,J){return $(W)<this.startOf(J)},K.isBefore=function(W,J){return this.endOf(J)<$(W)},K.$g=function(W,J,U){return V.u(W)?this[J]:this.set(U,W)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(W,J){var U=this,ee=!!V.u(J)||J,re=V.p(W),ue=function(B,I){var R=V.w(U.$u?Date.UTC(U.$y,I,B):new Date(U.$y,I,B),U);return ee?R:R.endOf(u)},ge=function(B,I){return V.w(U.toDate()[B].apply(U.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(I)),U)},Ee=this.$W,Se=this.$M,ke=this.$D,xe="set"+(this.$u?"UTC":"");switch(re){case p:return ee?ue(1,0):ue(31,11);case f:return ee?ue(1,Se):ue(0,Se+1);case d:var Ae=this.$locale().weekStart||0,D=(Ee<Ae?Ee+7:Ee)-Ae;return ue(ee?ke-D:ke+(6-D),Se);case u:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case i:return ge(xe+"Milliseconds",3);default:return this.clone()}},K.endOf=function(W){return this.startOf(W,!1)},K.$set=function(W,J){var U,ee=V.p(W),re="set"+(this.$u?"UTC":""),ue=(U={},U[u]=re+"Date",U[m]=re+"Date",U[f]=re+"Month",U[p]=re+"FullYear",U[a]=re+"Hours",U[l]=re+"Minutes",U[i]=re+"Seconds",U[s]=re+"Milliseconds",U)[ee],ge=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var Ee=this.clone().set(m,1);Ee.$d[ue](ge),Ee.init(),this.$d=Ee.set(m,Math.min(this.$D,Ee.daysInMonth())).$d}else ue&&this.$d[ue](ge);return this.init(),this},K.set=function(W,J){return this.clone().$set(W,J)},K.get=function(W){return this[V.p(W)]()},K.add=function(W,J){var U,ee=this;W=Number(W);var re=V.p(J),ue=function(Se){var ke=$(ee);return V.w(ke.date(ke.date()+Math.round(Se*W)),ee)};if(re===f)return this.set(f,this.$M+W);if(re===p)return this.set(p,this.$y+W);if(re===u)return ue(1);if(re===d)return ue(7);var ge=(U={},U[l]=r,U[a]=o,U[i]=t,U)[re]||1,Ee=this.$d.getTime()+W*ge;return V.w(Ee,this)},K.subtract=function(W,J){return this.add(-1*W,J)},K.format=function(W){var J=this,U=this.$locale();if(!this.isValid())return U.invalidDate||g;var ee=W||"YYYY-MM-DDTHH:mm:ssZ",re=V.z(this),ue=this.$H,ge=this.$m,Ee=this.$M,Se=U.weekdays,ke=U.months,xe=U.meridiem,Ae=function(I,R,A,T){return I&&(I[R]||I(J,ee))||A[R].slice(0,T)},D=function(I){return V.s(ue%12||12,I,"0")},B=xe||function(I,R,A){var T=I<12?"AM":"PM";return A?T.toLowerCase():T};return ee.replace(C,function(I,R){return R||function(A){switch(A){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return Ee+1;case"MM":return V.s(Ee+1,2,"0");case"MMM":return Ae(U.monthsShort,Ee,ke,3);case"MMMM":return Ae(ke,Ee);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ae(U.weekdaysMin,J.$W,Se,2);case"ddd":return Ae(U.weekdaysShort,J.$W,Se,3);case"dddd":return Se[J.$W];case"H":return String(ue);case"HH":return V.s(ue,2,"0");case"h":return D(1);case"hh":return D(2);case"a":return B(ue,ge,!0);case"A":return B(ue,ge,!1);case"m":return String(ge);case"mm":return V.s(ge,2,"0");case"s":return String(J.$s);case"ss":return V.s(J.$s,2,"0");case"SSS":return V.s(J.$ms,3,"0");case"Z":return re}return null}(I)||re.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(W,J,U){var ee,re=this,ue=V.p(J),ge=$(W),Ee=(ge.utcOffset()-this.utcOffset())*r,Se=this-ge,ke=function(){return V.m(re,ge)};switch(ue){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Se-Ee)/6048e5;break;case u:ee=(Se-Ee)/864e5;break;case a:ee=Se/o;break;case l:ee=Se/r;break;case i:ee=Se/t;break;default:ee=Se}return U?ee:V.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return w[this.$L]},K.locale=function(W,J){if(!W)return this.$L;var U=this.clone(),ee=L(W,J,!0);return ee&&(U.$L=ee),U},K.clone=function(){return V.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},Y}(),G=z.prototype;return $.prototype=G,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(Y){G[Y[1]]=function(K){return this.$g(K,Y[0],Y[1])}}),$.extend=function(Y,K){return Y.$i||(Y(K,z,$),Y.$i=!0),$},$.locale=L,$.isDayjs=M,$.unix=function(Y){return $(1e3*Y)},$.en=w[N],$.Ls=w,$.p={},$})})(Cg);var Ag=Cg.exports;const ns=Ul(Ag),bg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ml("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},y=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=ns().diff(t(),"m"),l.value=ns().subtract(i.value,"m").diff(t(),"s");const M=n??Number.MAX_SAFE_INTEGER,L=e??0;i.value>=M?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=b):i.value>=M-L?d():f()},b=M=>{M.stopPropagation(),v()},E=()=>{o(),y(),i.value=null,l.value=null,g()},v=()=>{y(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},N=()=>{a.value?v():E()},w=()=>{v()},x=()=>{a.value?v():f()};return c.onMounted(()=>{const M=document.getElementById("session-time-out-modal");M&&M.addEventListener("hidden.bs.modal",N),y(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:w,OnSubmit:x}},wg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout","hideCancelButton"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=bg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>e.hideCancelButton||t.value),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(f,h)=>(c.openBlock(),c.createBlock(ti,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":u.value,"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Tg=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),SM={class:"template change-password-template"},_M={class:"template-title"},kM={key:0},NM={key:1},IM=["onSubmit","onReset"],xM={class:"bd-form-field"},MM={class:"bd-form-field"},OM={class:"bd-form-field"},LM={class:"bd-form-buttons"},Sg=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=Sd(null),{ValidationObjectIsValid:a}=Tg();let u=c.ref({password:Ve,passwordNew:Ve,passwordRepeat:Ve}),d=c.ref({password:{state:null,errorLabel:Ve},passwordNew:{state:null,errorLabel:Ve},passwordRepeat:{state:null,errorLabel:Ve}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(y=>{t(e.failureText),i(y)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,y=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Ve&&g?null:!1,d.value.passwordNew.errorLabel=y,d.value.passwordRepeat.state=u.value.passwordRepeat!==Ve&&g?null:!1,d.value.passwordRepeat.errorLabel=y}return d.value.password.state=u.value.password!==Ve?null:!1,d.value.password.errorLabel=d.value.password.state?Ve:e.requiredText,a(d.value)},p=()=>{u.value.password=Ve,u.value.passwordNew=Ve,u.value.passwordRepeat=Ve,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",SM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(xr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",_M,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(xr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(ui,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(ss,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(xr,{key:0},{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",kM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(y,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(y),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",NM,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,{class:"bd-card-form",sm:12,md:12},{default:c.withCtx(()=>[c.createElementVNode("form",{onSubmit:c.withModifiers(f,["prevent"]),onReset:c.withModifiers(p,["prevent"]),class:"form"},[c.createElementVNode("div",xM,[c.createVNode(Br,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=y=>c.unref(u).password=y),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",MM,[c.createVNode(Br,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=y=>c.unref(u).passwordNew=y),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",OM,[c.createVNode(Br,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=y=>c.unref(u).passwordRepeat=y),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",LM,[c.createVNode(Ze,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Ze,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,IM)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),DM={class:"template not-found-template"},RM={class:"center-screen"},BM={class:"container-warning"},PM=["textContent"],FM=["textContent"],_g=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=ei(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",DM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",RM,[c.createElementVNode("div",BM,[c.createVNode(Ll),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,PM),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,FM),c.createVNode(Ze,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var VM={exports:{}};(function(n,e){(function(t,r){n.exports=r(Ag)})(zl,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={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(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(VM);var kg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var b=C.match(/([+-]|\d\d)/g),E=60*b[1]+(+b[2]||0);return E===0?0:b[0]==="+"?-E:E}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var b,E=a.meridiem;if(E){for(var v=1;v<=24;v+=1)if(y.indexOf(E(v,0,C))>-1){b=v>12;break}}else b=y===(C?"pm":"PM");return b},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[s,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(y){var C=a.ordinal,b=y.match(/\d+/);if(this.day=b[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===y&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(y){var C=h("months"),b=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(y)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(y){var C,b;C=y,b=a&&a.formats;for(var E=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,V,z){var G=z&&z.toUpperCase();return V||b[z]||t[z]||b[G].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Y,K,W){return K||W.slice(1)})})).match(r),v=E.length,N=0;N<v;N+=1){var w=E[N],x=m[w],M=x&&x[0],L=x&&x[1];E[N]=L?{regex:M,parser:L}:w.replace(/^\[|\]$/g,"")}return function($){for(var V={},z=0,G=0;z<v;z+=1){var Y=E[z];if(typeof Y=="string")G+=Y.length;else{var K=Y.regex,W=Y.parser,J=$.slice(G),U=K.exec(J)[0];W.call(V,U),$=$.replace(U,"")}}return function(ee){var re=ee.afternoon;if(re!==void 0){var ue=ee.hours;re?ue<12&&(ee.hours+=12):ue===12&&(ee.hours=0),delete ee.afternoon}}(V),V}}return function(y,C,b){b.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(u=y.parseTwoDigitYear);var E=C.prototype,v=E.parse;E.parse=function(N){var w=N.date,x=N.utc,M=N.args;this.$u=x;var L=M[1];if(typeof L=="string"){var $=M[2]===!0,V=M[3]===!0,z=$||V,G=M[2];V&&(G=M[2]),a=this.$locale(),!$&&G&&(a=b.Ls[G]),this.$d=function(J,U,ee,re){try{if(["x","X"].indexOf(U)>-1)return new Date((U==="X"?1e3:1)*J);var ue=g(U)(J),ge=ue.year,Ee=ue.month,Se=ue.day,ke=ue.hours,xe=ue.minutes,Ae=ue.seconds,D=ue.milliseconds,B=ue.zone,I=ue.week,R=new Date,A=Se||(ge||Ee?1:R.getDate()),T=ge||R.getFullYear(),k=0;ge&&!Ee||(k=Ee>0?Ee-1:R.getMonth());var O,H=ke||0,j=xe||0,Z=Ae||0,X=D||0;return B?new Date(Date.UTC(T,k,A,H,j,Z,X+60*B.offset*1e3)):ee?new Date(Date.UTC(T,k,A,H,j,Z,X)):(O=new Date(T,k,A,H,j,Z,X),I&&(O=re(O).week(I).toDate()),O)}catch{return new Date("")}}(w,L,x,b),this.init(),G&&G!==!0&&(this.$L=this.locale(G).$L),z&&w!=this.format(L)&&(this.$d=new Date("")),a={}}else if(L instanceof Array)for(var Y=L.length,K=1;K<=Y;K+=1){M[1]=L[K-1];var W=b.apply(this,M);if(W.isValid()){this.$d=W.$d,this.$L=W.$L,this.init();break}K===Y&&(this.$d=new Date(""))}else v.call(this,N)}}})})(kg);var $M=kg.exports;const zM=Ul($M);ns.extend(zM),ns.locale("nl");function UM(n,e=ns().startOf("day")){const t="DD-MM-YYYY",r=ns(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const HM={install:n=>{n.component("BDAlert",as),n.component("BDArticle",Wf),n.component("BDAttachmentPreviewList",$a),n.component("BDBadge",$f),n.component("BDButton",Ze),n.component("BDCard",ui),n.component("BDChangePasswordTemplate",Sg),n.component("BDChatCloud",Y0),n.component("BDCol",Ir),n.component("BDCollapsableCard",Df),n.component("BDContainer",ss),n.component("BDDropdown",nd),n.component("BDDropdownItem",pi),n.component("BDDropzone",Gf),n.component("BDForm",zf),n.component("BDFormCheckbox",jf),n.component("BDFormInput",Br),n.component("BDFormInvalidFeedback",di),n.component("BDFormSelect",Hf),n.component("BDHeader",rd),n.component("BDImageAttachmentModal",vg),n.component("BDImageAttachmentPreviewList",za),n.component("BDInputGroup",Vf),n.component("BDLink",Mr),n.component("BDLogo",vl),n.component("BDMarkdownEditor",W0),n.component("BDMobileMenu",td),n.component("BDModal",ti),n.component("BDNotFoundTemplate",_g),n.component("BDPagination",Uf),n.component("BDPhoneNumberEditModal",Eg),n.component("BDPill",hi),n.component("BDPractitionerHeader",gg),n.component("BDProfileImage",ls),n.component("BDRow",xr),n.component("BDSessionTimeOutModal",wg),n.component("BDTable",G0),n.component("BDToast",Vl),n.component("BDUser",K0),n.component("BDUserInformation",$l),n.component("BDVideoCallToast",J0),n.component("BDZoomslider",Bl),n.component("IconAcademy",ni),n.component("IconArrowDown",Ld),n.component("IconArrowUp",Dd),n.component("IconAttachment",Or),n.component("IconBold",El),n.component("IconBulletList",Cl),n.component("IconCalendar",Rd),n.component("IconCall",ri),n.component("IconCallReject",Al),n.component("IconCardView",Bd),n.component("IconCaretDown",bl),n.component("IconCaretLeft",wl),n.component("IconCaretRight",Tl),n.component("IconCheck",uo),n.component("IconClipboard",Pd),n.component("IconClose",oi),n.component("IconComment",Fd),n.component("IconCommentActive",Vd),n.component("IconCommonFileEmpty",zd),n.component("IconCommonFileWarning",Ud),n.component("IconCommentStatic",$d),n.component("IconContactPerson",Hd),n.component("IconCopy",jd),n.component("IconDelete",Wd),n.component("IconDoubleCheck",Kd),n.component("IconDownloadImage",Sl),n.component("IconEdit",Yd),n.component("IconEndCall",Gd),n.component("IconError",si),n.component("IconExternal",Qd),n.component("IconEyeShow",Zd),n.component("IconEyeSlash",Jd),n.component("IconFile",_l),n.component("IconFileAdded",Xd),n.component("IconForward",qd),n.component("IconHix",ef),n.component("IconHyperlink",ii),n.component("IconImageFileLandscape",tf),n.component("IconImageFileWarning",nf),n.component("IconInfo",Lr),n.component("IconInformationCircle",rf),n.component("IconItalic",kl),n.component("IconListView",of),n.component("IconLock",sf),n.component("IconLusciiEscalated",af),n.component("IconLusciiLogo",lf),n.component("IconLusciiOpen",cf),n.component("IconLusciiPriorityHigh",uf),n.component("IconLusciiPriorityLow",df),n.component("IconLusciiPriorityMedium",ff),n.component("IconMenu",Nl),n.component("IconMessage",hf),n.component("IconMessageForward",pf),n.component("IconMicrophoneSlash",mf),n.component("IconMicrosoftTeams",gf),n.component("IconMin",yf),n.component("IconOrderedList",Il),n.component("IconPlus",vf),n.component("IconRefresh",Ef),n.component("IconRemove",is),n.component("IconSananetLogo",Cf),n.component("IconService",Af),n.component("IconShareScreen",bf),n.component("IconSingleNeutral",wf),n.component("IconSort",Tf),n.component("IconSortAsc",xl),n.component("IconSortDesc",Ml),n.component("IconSortNone",Ol),n.component("IconTriangleDown",Sf),n.component("IconTriangleExclamation",Ll),n.component("IconUnderline",Dl),n.component("IconVideoDisabled",kf),n.component("IconVideocall",_f),n.component("IconZorgkaart",Nf),n.directive("vBDTooltip",Gs)}};ne.BDAlert=as,ne.BDArticle=Wf,ne.BDAttachmentPreviewList=$a,ne.BDBadge=$f,ne.BDButton=Ze,ne.BDCard=ui,ne.BDChangePasswordTemplate=Sg,ne.BDChatCloud=Y0,ne.BDCol=Ir,ne.BDCollapsableCard=Df,ne.BDContainer=ss,ne.BDDropdown=nd,ne.BDDropdownItem=pi,ne.BDDropzone=Gf,ne.BDForm=zf,ne.BDFormCheckbox=jf,ne.BDFormInput=Br,ne.BDFormInvalidFeedback=di,ne.BDFormSelect=Hf,ne.BDHeader=rd,ne.BDImageAttachmentModal=vg,ne.BDImageAttachmentPreviewList=za,ne.BDInputGroup=Vf,ne.BDLink=Mr,ne.BDLogo=vl,ne.BDMarkdownEditor=W0,ne.BDMobileMenu=td,ne.BDModal=ti,ne.BDNotFoundTemplate=_g,ne.BDPagination=Uf,ne.BDPhoneNumberEditModal=Eg,ne.BDPill=hi,ne.BDPractitionerHeader=gg,ne.BDProfileImage=ls,ne.BDRow=xr,ne.BDSessionTimeOutModal=wg,ne.BDTable=G0,ne.BDToast=Vl,ne.BDUser=K0,ne.BDUserInformation=$l,ne.BDVideoCallToast=J0,ne.BDZoomslider=Bl,ne.IconAcademy=ni,ne.IconArrowDown=Ld,ne.IconArrowUp=Dd,ne.IconAttachment=Or,ne.IconBold=El,ne.IconBulletList=Cl,ne.IconCalendar=Rd,ne.IconCall=ri,ne.IconCallReject=Al,ne.IconCardView=Bd,ne.IconCaretDown=bl,ne.IconCaretLeft=wl,ne.IconCaretRight=Tl,ne.IconCheck=uo,ne.IconClipboard=Pd,ne.IconClose=oi,ne.IconComment=Fd,ne.IconCommentActive=Vd,ne.IconCommentStatic=$d,ne.IconCommonFileEmpty=zd,ne.IconCommonFileWarning=Ud,ne.IconContactPerson=Hd,ne.IconCopy=jd,ne.IconDelete=Wd,ne.IconDoubleCheck=Kd,ne.IconDownloadImage=Sl,ne.IconEdit=Yd,ne.IconEndCall=Gd,ne.IconError=si,ne.IconExternal=Qd,ne.IconEyeShow=Zd,ne.IconEyeSlash=Jd,ne.IconFile=_l,ne.IconFileAdded=Xd,ne.IconForward=qd,ne.IconHix=ef,ne.IconHyperlink=ii,ne.IconImageFileLandscape=tf,ne.IconImageFileWarning=nf,ne.IconInfo=Lr,ne.IconInformationCircle=rf,ne.IconItalic=kl,ne.IconListView=of,ne.IconLock=sf,ne.IconLusciiEscalated=af,ne.IconLusciiLogo=lf,ne.IconLusciiOpen=cf,ne.IconLusciiPriorityHigh=uf,ne.IconLusciiPriorityLow=df,ne.IconLusciiPriorityMedium=ff,ne.IconMenu=Nl,ne.IconMessage=hf,ne.IconMessageForward=pf,ne.IconMicrophoneSlash=mf,ne.IconMicrosoftTeams=gf,ne.IconMin=yf,ne.IconOrderedList=Il,ne.IconPlus=vf,ne.IconRefresh=Ef,ne.IconRemove=is,ne.IconSananetLogo=Cf,ne.IconService=Af,ne.IconShareScreen=bf,ne.IconSingleNeutral=wf,ne.IconSort=Tf,ne.IconSortAsc=xl,ne.IconSortDesc=Ml,ne.IconSortNone=Ol,ne.IconTriangleDown=Sf,ne.IconTriangleExclamation=Ll,ne.IconUnderline=Dl,ne.IconVideoDisabled=kf,ne.IconVideocall=_f,ne.IconZorgkaart=Nf,ne.default=HM,ne.getDisplayDate=UM,ne.useModal=ml,ne.usePopover=mg,ne.useServerErrors=Sd,ne.useSessionTimeOut=bg,ne.useToaster=gl,ne.useValidation=Tg,ne.useWindow=Td,ne.useZoom=yg,ne.vBdTooltip=Gs,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});