vendor: 6,050 bytes, line 1
1import{a as Oi,d as kn}from"./chunk-TZR3YR7X.js";import{$a as qt,A as dt,Ab as Fe,Bb as Te,Bc as Se,C as mn,Ca as Ie,Cb as Ce,Da as Qt,Db as E,Ea as re,Eb as k,Fa as ht,Fb as Be,H as X,Ha as D,I as vn,Ia as ge,Ib as Nn,Ic as En,J as bn,Jb as Rt,Ka as $,Kb as ce,L as De,Lb as te,M as bi,Mb as M,N as Ut,Nb as Yt,Oa as Jt,Ob as Kt,Pa as pt,Pc as ei,Sb as ve,T as Ct,Tb as He,U as yn,Ub as j,V as wn,Vb as L,W as Dn,Wa as T,Wb as xn,Xa as ft,Xb as Me,Yb as Ze,Zb as Ti,a as Qe,b as $t,ba as Sn,ca as Tn,cb as me,da as Cn,db as Ke,ea as V,eb as x,fa as Wt,gb as wi,ha as zt,hb as Di,hc as Zt,i as jt,ib as Q,jc as Ci,ka as Mt,l as Z,la as N,ma as Je,oa as Mn,ob as Si,p as gn,qc as Mi,ra as c,rb as le,sb as J,sc as Pn,ua as yi,ub as F,uc as Oe,v as Lt,wa as On,wb as Ot,xa as ut,ya as qe,yb as ae,za as Ye,zb as Rn,zc as Xt}from"./chunk-UDRK4HNX.js";function Re(t){t||(On(Re),t=c(ht));let o=new jt(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(V(o))}var A="top",q="bottom",U="right",B="left",ti="auto",Ge=[A,q,U,B],Ne="start",Xe="end",An="clippingParents",ii="viewport",_t="popper",In="reference",Ri=Ge.reduce(function(t,o){return t.concat([o+"-"+Ne,o+"-"+Xe])},[]),ni=[].concat(Ge,[ti]).reduce(function(t,o){return t.concat([o,o+"-"+Ne,o+"-"+Xe])},[]),To="beforeRead",Co="read",Mo="afterRead",Oo="beforeMain",Ro="main",No="afterMain",xo="beforeWrite",Po="write",Eo="afterWrite",Fn=[To,Co,Mo,Oo,Ro,No,xo,Po,Eo];function W(t){return t?(t.nodeName||"").toLowerCase():null}function P(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var o=t.ownerDocument;return o&&o.defaultView||window}return t}function de(t){var o=P(t).Element;return t instanceof o||t instanceof Element}function H(t){var o=P(t).HTMLElement;return t instanceof o||t instanceof HTMLElement}function gt(t){if(typeof ShadowRoot>"u")return!1;var o=P(t).ShadowRoot;return t instanceof o||t instanceof ShadowRoot}function ko(t){var o=t.state;Object.keys(o.elements).forEach(function(e){var i=o.styles[e]||{},n=o.attributes[e]||{},s=o.elements[e];!H(s)||!W(s)||(Object.assign(s.style,i),Object.keys(n).forEach(function(r){var a=n[r];a===!1?s.removeAttribute(r):s.setAttribute(r,a===!0?"":a)}))})}function Ao(t){var o=t.state,e={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,e.popper),o.styles=e,o.elements.arrow&&Object.assign(o.elements.arrow.style,e.arrow),function(){Object.keys(o.elements).forEach(function(i){var n=o.elements[i],s=o.attributes[i]||{},r=Object.keys(o.styles.hasOwnProperty(i)?o.styles[i]:e[i]),a=r.reduce(function(l,u){return l[u]="",l},{});!H(n)||!W(n)||(Object.assign(n.style,a),Object.keys(s).forEach(function(l){n.removeAttribute(l)}))})}}var Bn={name:"applyStyles",enabled:!0,phase:"write",fn:ko,effect:Ao,requires:["computeStyles"]};function z(t){return t.split("-")[0]}var be=Math.max,et=Math.min,xe=Math.round;function mt(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(o){return o.brand+"/"+o.version}).join(" "):navigator.userAgent}function Nt(){return!/^((?!chrome|android).)*safari/i.test(mt())}function ue(t,o,e){o===void 0&&(o=!1),e===void 0&&(e=!1);var i=t.getBoundingClientRect(),n=1,s=1;o&&H(t)&&(n=t.offsetWidth>0&&xe(i.width)/t.offsetWidth||1,s=t.offsetHeight>0&&xe(i.height)/t.offsetHeight||1);var r=de(t)?P(t):window,a=r.visualViewport,l=!Nt()&&e,u=(i.left+(l&&a?a.offsetLeft:0))/n,d=(i.top+(l&&a?a.offsetTop:0))/s,f=i.width/n,p=i.height/s;return{width:f,height:p,top:d,right:u+f,bottom:d+p,left:u,x:u,y:d}}function tt(t){var o=ue(t),e=t.offsetWidth,i=t.offsetHeight;return Math.abs(o.width-e)<=1&&(e=o.width),Math.abs(o.height-i)<=1&&(i=o.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:i}}function xt(t,o){var e=o.getRootNode&&o.getRootNode();if(t.contains(o))return!0;if(e&>(e)){var i=o;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ie(t){return P(t).getComputedStyle(t)}function Ni(t){return["table","td","th"].indexOf(W(t))>=0}function Y(t){return((de(t)?t.ownerDocument:t.document)||window.document).documentElement}function Pe(t){return W(t)==="html"?t:t.assignedSlot||t.parentNode||(gt(t)?t.host:null)||Y(t)}function Hn(t){return!H(t)||ie(t).position==="fixed"?null:t.offsetParent}function Io(t){var o=/firefox/i.test(mt()),e=/Trident/i.test(mt());if(e&&H(t)){var i=ie(t);if(i.position==="fixed")return null}var n=Pe(t);for(gt(n)&&(n=n.host);H(n)&&["html","body"].indexOf(W(n))<0;){var s=ie(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||o&&s.willChange==="filter"||o&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function ye(t){for(var o=P(t),e=Hn(t);e&&Ni(e)&&ie(e).position==="static";)e=Hn(e);return e&&(W(e)==="html"||W(e)==="body"&&ie(e).position==="static")?o:e||Io(t)||o}function it(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function nt(t,o,e){return be(t,et(o,e))}function Gn(t,o,e){var i=nt(t,o,e);return i>e?e:i}function Pt(){return{top:0,right:0,bottom:0,left:0}}function Et(t){return Object.assign({},Pt(),t)}function kt(t,o){return o.reduce(function(e,i){return e[i]=t,e},{})}var Fo=function(o,e){return o=typeof o=="function"?o(Object.assign({},e.rects,{placement:e.placement})):o,Et(typeof o!="number"?o:kt(o,Ge))};function Bo(t){var o,e=t.state,i=t.name,n=t.options,s=e.elements.arrow,r=e.modifiersData.popperOffsets,a=z(e.placement),l=it(a),u=[B,U].indexOf(a)>=0,d=u?"height":"width";if(!(!s||!r)){var f=Fo(n.padding,e),p=tt(s),h=l==="y"?A:B,_=l==="y"?q:U,v=e.rects.reference[d]+e.rects.reference[l]-r[l]-e.rects.popper[d],g=r[l]-e.rects.reference[l],y=ye(s),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,O=v/2-g/2,m=f[h],w=b-p[d]-f[_],S=b/2-p[d]/2+O,R=nt(m,S,w),C=l;e.modifiersData[i]=(o={},o[C]=R,o.centerOffset=R-S,o)}}function Ho(t){var o=t.state,e=t.options,i=e.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=o.elements.popper.querySelector(n),!n)||xt(
vendor: 3,276 bytes, line 1
1o.elements.popper,n)&&(o.elements.arrow=n))}var xi={name:"arrow",enabled:!0,phase:"main",fn:Bo,effect:Ho,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(t){return t.split("-")[1]}var Go={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vo(t,o){var e=t.x,i=t.y,n=o.devicePixelRatio||1;return{x:xe(e*n)/n||0,y:xe(i*n)/n||0}}function Vn(t){var o,e=t.popper,i=t.popperRect,n=t.placement,s=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,d=t.roundOffsets,f=t.isFixed,p=r.x,h=p===void 0?0:p,_=r.y,v=_===void 0?0:_,g=typeof d=="function"?d({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var y=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),O=B,m=A,w=window;if(u){var S=ye(e),R="clientHeight",C="clientWidth";if(S===P(e)&&(S=Y(e),ie(S).position!=="static"&&a==="absolute"&&(R="scrollHeight",C="scrollWidth")),S=S,n===A||(n===B||n===U)&&s===Xe){m=q;var G=f&&S===w&&w.visualViewport?w.visualViewport.height:S[R];v-=G-i.height,v*=l?1:-1}if(n===B||(n===A||n===q)&&s===Xe){O=U;var I=f&&S===w&&w.visualViewport?w.visualViewport.width:S[C];h-=I-i.width,h*=l?1:-1}}var K=Object.assign({position:a},u&&Go),fe=d===!0?Vo({x:h,y:v},P(e)):{x:h,y:v};if(h=fe.x,v=fe.y,l){var ee;return Object.assign({},K,(ee={},ee[m]=b?"0":"",ee[O]=y?"0":"",ee.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",ee))}return Object.assign({},K,(o={},o[m]=b?v+"px":"",o[O]=y?h+"px":"",o.transform="",o))}function $o(t){var o=t.state,e=t.options,i=e.gpuAcceleration,n=i===void 0?!0:i,s=e.adaptive,r=s===void 0?!0:s,a=e.roundOffsets,l=a===void 0?!0:a,u={placement:z(o.placement),variation:he(o.placement),popper:o.elements.popper,popperRect:o.rects.popper,gpuAcceleration:n,isFixed:o.options.strategy==="fixed"};o.modifiersData.popperOffsets!=null&&(o.styles.popper=Object.assign({},o.styles.popper,Vn(Object.assign({},u,{offsets:o.modifiersData.popperOffsets,position:o.options.strategy,adaptive:r,roundOffsets:l})))),o.modifiersData.arrow!=null&&(o.styles.arrow=Object.assign({},o.styles.arrow,Vn(Object.assign({},u,{offsets:o.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-placement":o.placement})}var $n={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$o,data:{}};var oi={passive:!0};function jo(t){var o=t.state,e=t.instance,i=t.options,n=i.scroll,s=n===void 0?!0:n,r=i.resize,a=r===void 0?!0:r,l=P(o.elements.popper),u=[].concat(o.scrollParents.reference,o.scrollParents.popper);return s&&u.forEach(function(d){d.addEventListener("scroll",e.update,oi)}),a&&l.addEventListener("resize",e.update,oi),function(){s&&u.forEach(function(d){d.removeEventListener("scroll",e.update,oi)}),a&&l.removeEventListener("resize",e.update,oi)}}var jn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:jo,data:{}};var Lo={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(t){return t.replace(/left|right|bottom|top/g,function(o){return Lo[o]})}var Uo={start:"end",end:"start"};function si(t){return t.replace(/start|end/g,function(o){return Uo[o]})}function ot(t){var o=P(t),e=o.pageXOffset,i=o.pageYOffset;return{scrollLeft:e,scrollTop:i}}function st(t){return ue(Y(t)).left+ot(t).scrollLeft}
vendor: 8,422 bytes, line 1
1function Pi(t,o){var e=P(t),i=Y(t),n=e.visualViewport,s=i.clientWidth,r=i.clientHeight,a=0,l=0;if(n){s=n.width,r=n.height;var u=Nt();(u||!u&&o==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:s,height:r,x:a+st(t),y:l}}function Ei(t){var o,e=Y(t),i=ot(t),n=(o=t.ownerDocument)==null?void 0:o.body,s=be(e.scrollWidth,e.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=be(e.scrollHeight,e.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-i.scrollLeft+st(t),l=-i.scrollTop;return ie(n||e).direction==="rtl"&&(a+=be(e.clientWidth,n?n.clientWidth:0)-s),{width:s,height:r,x:a,y:l}}function rt(t){var o=ie(t),e=o.overflow,i=o.overflowX,n=o.overflowY;return/auto|scroll|overlay|hidden/.test(e+n+i)}function ri(t){return["html","body","#document"].indexOf(W(t))>=0?t.ownerDocument.body:H(t)&&rt(t)?t:ri(Pe(t))}function Ve(t,o){var e;o===void 0&&(o=[]);var i=ri(t),n=i===((e=t.ownerDocument)==null?void 0:e.body),s=P(i),r=n?[s].concat(s.visualViewport||[],rt(i)?i:[]):i,a=o.concat(r);return n?a:a.concat(Ve(Pe(r)))}function bt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Wo(t,o){var e=ue(t,!1,o==="fixed");return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function Ln(t,o,e){return o===ii?bt(Pi(t,e)):de(o)?Wo(o,e):bt(Ei(Y(t)))}function zo(t){var o=Ve(Pe(t)),e=["absolute","fixed"].indexOf(ie(t).position)>=0,i=e&&H(t)?ye(t):t;return de(i)?o.filter(function(n){return de(n)&&xt(n,i)&&W(n)!=="body"}):[]}function ki(t,o,e,i){var n=o==="clippingParents"?zo(t):[].concat(o),s=[].concat(n,[e]),r=s[0],a=s.reduce(function(l,u){var d=Ln(t,u,i);return l.top=be(d.top,l.top),l.right=et(d.right,l.right),l.bottom=et(d.bottom,l.bottom),l.left=be(d.left,l.left),l},Ln(t,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function At(t){var o=t.reference,e=t.element,i=t.placement,n=i?z(i):null,s=i?he(i):null,r=o.x+o.width/2-e.width/2,a=o.y+o.height/2-e.height/2,l;switch(n){case A:l={x:r,y:o.y-e.height};break;case q:l={x:r,y:o.y+o.height};break;case U:l={x:o.x+o.width,y:a};break;case B:l={x:o.x-e.width,y:a};break;default:l={x:o.x,y:o.y}}var u=n?it(n):null;if(u!=null){var d=u==="y"?"height":"width";switch(s){case Ne:l[u]=l[u]-(o[d]/2-e[d]/2);break;case Xe:l[u]=l[u]+(o[d]/2-e[d]/2);break;default:}}return l}function $e(t,o){o===void 0&&(o={});var e=o,i=e.placement,n=i===void 0?t.placement:i,s=e.strategy,r=s===void 0?t.strategy:s,a=e.boundary,l=a===void 0?An:a,u=e.rootBoundary,d=u===void 0?ii:u,f=e.elementContext,p=f===void 0?_t:f,h=e.altBoundary,_=h===void 0?!1:h,v=e.padding,g=v===void 0?0:v,y=Et(typeof g!="number"?g:kt(g,Ge)),b=p===_t?In:_t,O=t.rects.popper,m=t.elements[_?b:p],w=ki(de(m)?m:m.contextElement||Y(t.elements.popper),l,d,r),S=ue(t.elements.reference),R=At({reference:S,element:O,strategy:"absolute",placement:n}),C=bt(Object.assign({},O,R)),G=p===_t?C:S,I={top:w.top-G.top+y.top,bottom:G.bottom-w.bottom+y.bottom,left:w.left-G.left+y.left,right:G.right-w.right+y.right},K=t.modifiersData.offset;if(p===_t&&K){var fe=K[n];Object.keys(I).forEach(function(ee){var je=[U,q].indexOf(ee)>=0?1:-1,Le=[A,q].indexOf(ee)>=0?"y":"x";I[ee]+=fe[Le]*je})}return I}function Ai(t,o){o===void 0&&(o={});var e=o,i=e.placement,n=e.boundary,s=e.rootBoundary,r=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,u=l===void 0?ni:l,d=he(i),f=d?a?Ri:Ri.filter(function(_){return he(_)===d}):Ge,p=f.filter(function(_){return u.indexOf(_)>=0});p.length===0&&(p=f);var h=p.reduce(function(_,v){return _[v]=$e(t,{placement:v,boundary:n,rootBoundary:s,padding:r})[z(v)],_},{});return Object.keys(h).sort(function(_,v){return h[_]-h[v]})}function Qo(t){if(z(t)===ti)return[];var o=vt(t);return[si(t),o,si(o)]}function Jo(t){var o=t.state,e=t.options,i=t.name;if(!o.modifiersData[i]._skip){for(var n=e.mainAxis,s=n===void 0?!0:n,r=e.altAxis,a=r===void 0?!0:r,l=e.fallbackPlacements,u=e.padding,d=e.boundary,f=e.rootBoundary,p=e.altBoundary,h=e.flipVariations,_=h===void 0?!0:h,v=e.allowedAutoPlacements,g=o.options.placement,y=z(g),b=y===g,O=l||(b||!_?[vt(g)]:Qo(g)),m=[g].concat(O).reduce(function(ct,Ae){return ct.concat(z(Ae)===ti?Ai(o,{placement:Ae,boundary:d,rootBoundary:f,padding:u,flipVariations:_,allowedAutoPlacements:v}):Ae)},[]),w=o.rects.reference,S=o.rects.popper,R=new Map,C=!0,G=m[0],I=0;I<m.length;I++){var K=m[I],fe=z(K),ee=he(K)===Ne,je=[A,q].indexOf(fe)>=0,Le=je?"width":"height",se=$e(o,{placement:K,boundary:d,rootBoundary:f,altBoundary:p,padding:u}),_e=je?ee?U:B:ee?q:A;w[Le]>S[Le]&&(_e=vt(_e));var Ft=vt(_e),Ue=[];if(s&&Ue.push(se[fe]<=0),a&&Ue.push(se[_e]<=0,se[Ft]<=0),Ue.every(function(ct){return ct})){G=K,C=!1;break}R.set(K,Ue)}if(C)for(var Bt=_?3:1,_i=function(Ae){var Tt=m.find(function(Gt){var We=R.get(Gt);if(We)return We.slice(0,Ae).every(function(gi){return gi})});if(Tt)return G=Tt,"break"},St=Bt;St>0;St--){var Ht=_i(St);if(Ht==="break")break}o.placement!==G&&(o.modifiersData[i]._skip=!0,o.placement=G,o.reset=!0)}}var Ii={name:"flip",enabled:!0,phase:"main",fn:Jo,requiresIfExists:["offset"],data:{_skip:!1}};function qo(t,o,e){var i=z(t),n=[B,A].indexOf(i)>=0?-1:1,s=typeof e=="function"?e(Object.assign({},o,{placement:t})):e,r=s[0],a=s[1];return r=r||0,a=(a||0)*n,[B,U].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}function Yo(t){var o=t.state,e=t.options,i=t.name,n=e.offset,s=n===void 0?[0,0]:n,r=ni.reduce(function(d,f){return d[f]=qo(f,o.rects,s),d},{}),a=r[o.placement],l=a.x,u=a.y;o.modifiersData.popperOffsets!=null&&(o.modifiersData.popperOffsets.x+=l,o.modifiersData.popperOffsets.y+=u),o.modifiersData[i]=r}var Fi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Yo};function Ko(t){var o=t.state,e=t.name;o.modifiersData[e]=At({reference:o.rects.reference,element:o.rects.popper,strategy:"absolute",placement:o.placement})}var Un={name:"popperOffsets",enabled:!0,phase:"read",fn:Ko,data:{}};function Bi(t){return t==="x"?"y":"x"}function Zo(t){var o=t.state,e=t.options,i=t.name,n=e.mainAxis,s=n===void 0?!0:n,r=e.altAxis,a=r===void 0?!1:r,l=e.boundary,u=e.rootBoundary,d=e.altBoundary,f=e.padding,p=e.tether,h=p===void 0?!0:p,_=e.tetherOffset,v=_===void 0?0:_,g=$e(o,{boundary:l,rootBoundary:u,padding:f,altBoundary:d}),y=z(o.placement),b=he(o.placement),O=!b,m=it(y),w=Bi(m),S=o.modifiersData.popperOffsets,R=o.rects.reference,C=o.rects.popper,G=typeof v=="function"?v(Object.assign({},o.rects,{placement:o.placement})):v,I=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),K=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,fe={x:0,y:0};if(S){if(s){var ee,je=m==="y"?A:B,Le=m==="y"?q:U,se=m==="y"?"height":"width",_e=S[m],Ft=_e+g[je],Ue=_e-g[Le],Bt=h?-C[se]/2:0,_i=b===Ne?R[se]:C[se],St=b===Ne?-C[se]:-R[se],Ht=o.elements.arrow,ct=h&&Ht?tt(Ht):{width:0,height:0},Ae=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:Pt(),Tt=Ae[je],Gt=Ae[Le],We=nt(0,R[se],ct[se]),gi=O?R[se]/2-Bt-We-Tt-I.mainAxis:_i-We-Tt-I.mainAxis,vo=O?-R[se]/2+Bt+We+Gt+I.mainAxis:St+We+Gt+I.mainAxis,mi=o.elements.arrow&&ye(o.elements.arrow),bo=mi?m==="y"?mi.clientTop||0:mi.clientLeft||0:0,an=(ee=K?.[m])!=null?ee:0,yo=_e+gi-an-bo,wo=_e+vo-an,ln=nt(h?et(Ft,yo):Ft,_e,h?be(Ue,wo):Ue);S[m]=ln,fe[m]=ln-_e}if(a){var cn,Do=m==="x"?A:B,So=m==="x"?q:U,ze=S[w],Vt=w==="y"?"height":"width",dn=ze+g[Do],un=ze-g[So],vi=[A,B].indexOf(y)!==-1,hn=(cn=K?.[w])!=null?cn:0,pn=vi?dn:ze-R[Vt]-C[Vt]-hn+I.altAxis,fn=vi?ze+R[Vt]+C[Vt]-hn-I.altAxis:un,_n=h&&vi?Gn(pn,ze,fn):nt(h?pn:dn,ze,h?fn:un);S[w]=_n,fe[w]=_n-ze}o.modifiersData[i]=fe}}var Hi={name:"preventOverflow",enabled:!0,phase:"main",fn:Zo,requiresIfExists:["offset"]};function Gi(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Vi(t){return t===P(t)||!H(t)?ot(t):Gi(t)}function Xo(t){var o=t.getBoundingClientRect(),e=xe(o.width)/t.offsetWidth||1,i=xe(o.height)/t.offsetHeight||1;return e!==1||i!==1}function $i(t,o,e){e===void 0&&(e=!1);var i=H(o),n=H(o)&&Xo(o),s=Y(o),r=ue(t,n,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!e)&&((W(o)!=="body"||rt(s))&&(a=Vi(o)),H(o)?(l=ue(o,!0),l.x+=o.clientLeft,l.y+=o.clientTop):s&&(l.x=st(s))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function es(t){var o=new Map,e=new Set,i=[];t.forEach(function(s){o.set(s.name,s)});function n(s){e.add(s.name);
1var r=[].concat(s.requires||[],s.requiresIfExists||[]);r.forEach(function(a){if(!e.has(a)){var l=o.get(a);l&&n(l)}}),i.push(s)}return t.forEach(function(s){e.has(s.name)||n(s)}),i}function ji(t){var o=es(t);return Fn.reduce(function(e,i){return e.concat(o.filter(function(n){return n.phase===i}))},[])}function Li(t){var o;return function(){return o||(o=new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(t())})})),o}}function Ui(t){var o=t.reduce(function(e,i){var n=e[i.name];return e[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,e},{});return Object.keys(o).map(function(e){return o[e]})}var Wn={placement:"bottom",modifiers:[],strategy:"absolute"};function zn(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return!o.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Qn(t){t===void 0&&(t={});var o=t,e=o.defaultModifiers,i=e===void 0?[]:e,n=o.defaultOptions,s=n===void 0?Wn:n;return function(a,l,u){u===void 0&&(u=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Wn,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},f=[],p=!1,h={state:d,setOptions:function(y){var b=typeof y=="function"?y(d.options):y;v(),d.options=Object.assign({},s,d.options,b),d.scrollParents={reference:de(a)?Ve(a):a.contextElement?Ve(a.contextElement):[],popper:Ve(l)};var O=ji(Ui([].concat(i,d.options.modifiers)));return d.orderedModifiers=O.filter(function(m){return m.enabled}),_(),h.update()},forceUpdate:function(){if(!p){var y=d.elements,b=y.reference,O=y.popper;if(zn(b,O)){d.rects={reference:$i(b,ye(O),d.options.strategy==="fixed"),popper:tt(O)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(I){return d.modifiersData[I.name]=Object.assign({},I.data)});for(var m=0;m<d.orderedModifiers.length;m++){if(d.reset===!0){d.reset=!1,m=-1;continue}var w=d.orderedModifiers[m],S=w.fn,R=w.options,C=R===void 0?{}:R,G=w.name;typeof S=="function"&&(d=S({state:d,options:C,name:G,instance:h})||d)}}}},update:Li(function(){return new Promise(function(g){h.forceUpdate(),g(d)})}),destroy:function(){v(),p=!0}};if(!zn(a,l))return h;h.setOptions(u).then(function(g){!p&&u.onFirstUpdate&&u.onFirstUpdate(g)});function _(){d.orderedModifiers.forEach(function(g){var y=g.name,b=g.options,O=b===void 0?{}:b,m=g.effect;if(typeof m=="function"){var w=m({state:d,name:y,instance:h,options:O}),S=function(){};f.push(w||S)}})}function v(){f.forEach(function(g){return g()}),f=[]}return h}}var ts=[jn,Un,$n,Bn],Wi=Qn({defaultModifiers:ts});var is=["container"],ns=["ngbAccordionBody",""],Zi=["*"];var os=["ngbDatepickerDayView",""],ss=["month"],rs=["year"];function as(t,o){if(t&1&&(E(0,"option",3),Me(1),k()),t&2){let e=o.$implicit,i=M();J("value",e),le("aria-label",i.i18n.getMonthFullName(e,i.date.year)),T(),Ze(i.i18n.getMonthShortName(e,i.date.year))}}function ls(t,o){if(t&1&&(E(0,"option",3),Me(1),k()),t&2){let e=o.$implicit,i=M();J("value",e),T(),Ze(i.i18n.getYearNumerals(e))}}function cs(t,o){if(t&1){let e=Rt();E(0,"ngb-datepicker-navigation-select",6),te("select",function(n){qe(e);let s=M();return Ye(s.select.emit(n))}),k()}if(t&2){let e=M();J("date",e.date)("disabled",e.disabled)("months",e.selectBoxes.months)("years",e.selectBoxes.years)}}function ds(t,o){t&1&&Be(0,"div",7)}function us(t,o){t&1&&Be(0,"div",7)}function hs(t,o){if(t&1&&(Q(0,ds,1,0,"div",7),E(1,"div",8),Me(2),k(),Q(3,us,1,0,"div",7)),t&2){let e=o.$implicit,i=o.$index,n=M(2);ae(i>0?0:-1),T(2),Ti(" ",n.i18n.getMonthLabel(e.firstDate)," "),T(),ae(i!==n.months.length-1?3:-1)}}function ps(t,o){if(t&1&&Te(0,hs,4,3,null,null,Fe),t&2){let e=M();Ce(e.months)}}function fs(t,o){if(t&1&&(E(0,"div",1),Me(1),k()),t&2){let e=M(2);T(),Ze(e.i18n.getWeekLabel())}}function _s(t,o){if(t&1&&(E(0,"div",2),Me(1),k()),t&2){let e=o.$implicit;T(),Ze(e)}}function gs(t,o){if(t&1&&(E(0,"div",0),Q(1,fs,2,1,"div",1),Te(2,_s,2,1,"div",2,Rn),k()),t&2){let e=M();T(),ae(e.datepicker.showWeekNumbers?1:-1),T(),Ce(e.viewModel.weekdays)}}function ms(t,o){if(t&1&&(E(0,"div",4),Me(1),k()),t&2){let e=M(2).$implicit,i=M();
1T(),Ze(i.i18n.getWeekNumerals(e.number))}}function vs(t,o){}function bs(t,o){if(t&1&&Q(0,vs,0,0,"ng-template",7),t&2){let e=M().$implicit,i=M(3);J("ngTemplateOutlet",i.datepicker.dayTemplate)("ngTemplateOutletContext",e.context)}}function ys(t,o){if(t&1){let e=Rt();E(0,"div",6),te("click",function(n){let s=qe(e).$implicit;return M(3).doSelect(s),Ye(n.preventDefault())}),Q(1,bs,1,2,null,7),k()}if(t&2){let e=o.$implicit;F("disabled",e.context.disabled)("hidden",e.hidden)("ngb-dp-today",e.context.today),J("tabindex",e.tabindex),le("aria-label",e.ariaLabel),T(),ae(e.hidden?-1:1)}}function ws(t,o){if(t&1&&(E(0,"div",3),Q(1,ms,2,1,"div",4),Te(2,ys,2,9,"div",5,Fe),k()),t&2){let e=M().$implicit,i=M();T(),ae(i.datepicker.showWeekNumbers?1:-1),T(),Ce(e.days)}}function Ds(t,o){if(t&1&&Q(0,ws,4,1,"div",3),t&2){let e=o.$implicit;ae(e.collapsed?-1:0)}}var Ss=["defaultDayTemplate"],Ts=["content"],io=t=>({$implicit:t});function Cs(t,o){if(t&1&&Be(0,"div",8),t&2){let e=o.date,i=o.currentMonth,n=o.selected,s=o.disabled,r=o.focused;J("date",e)("currentMonth",i)("selected",n)("disabled",s)("focused",r)}}function Ms(t,o){if(t&1&&(E(0,"div",10),Me(1),k()),t&2){let e=M().$implicit,i=M(2);T(),Ti(" ",i.i18n.getMonthLabel(e.firstDate)," ")}}function Os(t,o){if(t&1&&(E(0,"div",9),Q(1,Ms,2,1,"div",10),Be(2,"ngb-datepicker-month",11),k()),t&2){let e=o.$implicit,i=M(2);T(),ae(i.navigation==="none"||i.displayMonths>1&&i.navigation==="select"?1:-1),T(),J("month",e.firstDate)}}function Rs(t,o){if(t&1&&Te(0,Os,3,2,"div",9,Fe),t&2){let e=M();Ce(e.model.months)}}function Ns(t,o){if(t&1){let e=Rt();E(0,"ngb-datepicker-navigation",12),te("navigate",function(n){qe(e);let s=M();return Ye(s.onNavigateEvent(n))})("select",function(n){qe(e);let s=M();return Ye(s.onNavigateDateSelect(n))}),k()}if(t&2){let e=M();J("date",e.model.firstDate)("months",e.model.months)("disabled",e.model.disabled)("showSelect",e.model.navigation==="select")("prevDisabled",e.model.prevDisabled)("nextDisabled",e.model.nextDisabled)("selectBoxes",e.model.selectBoxes)}}function xs(t,o){}function Ps(t,o){}var Es=["dialog"],ks=["ngbNavOutlet",""];function As(t,o){}function Is(t,o){if(t&1&&(E(0,"div",0),Q(1,As,0,0,"ng-template",1),k()),t&2){let e=M().$implicit,i=M();J("item",e)("nav",i.nav)("role",i.paneRole),T(),J("ngTemplateOutlet",(e.contentTpl==null?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",Ci(5,io,e.active||i.isPanelTransitioning(e)))}}function Fs(t,o){if(t&1&&Q(0,Is,2,7,"div",0),t&2){let e=o.$implicit,i=M();ae(e.isPanelInDom()||i.isPanelTransitioning(e)?0:-1)}}var no={animation:!0,transitionTimerDelayMs:5},It=(()=>{class t{constructor(){this.animation=no.animation}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bs=(()=>{class t{constructor(){this._ngbConfig=c(It),this.closeOthers=!1,this.destroyOnHide=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Hs(t){let{transitionDelay:o,transitionDuration:e}=window.getComputedStyle(t),i=parseFloat(o),n=parseFloat(e);return(i+n)*1e3}function we(t){return parseInt(`${t}`,10)}function wt(t){return typeof t=="string"}function Ee(t){return!isNaN(we(t))}function ne(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}function at(t){return t!=null}function Gs(t){return t&&t.then}function Jn(t){return Ee(t)?`0${t}`.slice(-2):""}function Vs(t,o){return!o||typeof t.closest>"u"?null:t.closest(o)}function pi(t){return(t||document.body).getBoundingClientRect()}function $s(t){return o=>new jt(e=>{let i=r=>t.run(()=>e.next(r)),n=r=>t.run(()=>e.error(r)),s=()=>t.run(()=>e.complete());return o.subscribe({next:i,error:n,complete:s})})}function oo(t=document){let o=t?.activeElement;return o?o.shadowRoot?oo(o.shadowRoot):o:null}var js=()=>{},{transitionTimerDelayMs:Ls}=no,ai=new Map,pe=(t,o,e,i)=>{let n=i.context||{},s=ai.get(o);if(s)switch(i.runningTransition){case"continue":return gn;case"stop":t.run(()=>s.transition$.complete()),n=Object.assign(s.context,n),ai.delete(o)}let r=e(o,i.animation,n)||js;if(!i.animation||window.getComputedStyle(o).transitionProperty==="none")return t.run(()=>r()),Lt(void 0).pipe($s(t));let a=new Z,l=new Z,u=a.pipe(Dn(!0));
1ai.set(o,{transition$:a,complete:()=>{l.next(),l.complete()},context:n});let d=Hs(o);return t.runOutsideAngular(()=>{let f=X(o,"transitionend").pipe(V(u),De(({target:h})=>h===o)),p=vn(d+Ls).pipe(V(u));bi(p,f,l).pipe(V(u)).subscribe(()=>{ai.delete(o),t.run(()=>{r(),a.next(),a.complete()})})}),a.asObservable()};function Us(t,o){if(typeof navigator>"u")return"0px";let{classList:e}=t,i=e.contains("show");i||e.add("show"),t.style[o]="";let n=t.getBoundingClientRect()[o]+"px";return i||e.remove("show"),n}var Ws=(t,o,e)=>{let{direction:i,maxSize:n,dimension:s}=e,{classList:r}=t;function a(){r.add("collapse"),i==="show"?r.add("show"):r.remove("show")}if(!o){a();return}return n||(n=Us(t,s),e.maxSize=n,t.style[s]=i!=="show"?n:"0px",r.remove("collapse","collapsing","show"),pi(t),r.add("collapsing")),t.style[s]=i==="show"?n:"0px",()=>{a(),r.remove("collapsing"),t.style[s]=""}},zs=(()=>{class t{constructor(){this._ngbConfig=c(It),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),qn=(()=>{class t{constructor(){this._config=c(zs),this._element=c($),this._zone=c(ge),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new D,this.horizontal=this._config.horizontal,this.shown=new D,this.hidden=new D}set collapsed(e){this._isCollapsed!==e&&(this._isCollapsed=e,this._afterInit&&this._runTransitionWithEvents(e,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(e=this._isCollapsed){this.collapsed=!e,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(e,i){return pe(this._zone,this._element.nativeElement,Ws,{animation:i,runningTransition:"stop",context:{direction:e?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(e,i){this._runTransition(e,i).subscribe(()=>{e?this.hidden.emit():this.shown.emit()})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(i,n){i&2&&F("collapse-horizontal",n.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"]})}}return t})(),Qs=0,Lu=(()=>{class t{constructor(){this._item=c(Dt),this._viewRef=null,this.elementRef=c($)}ngAfterContentChecked(){this._bodyTpl&&(this._item._shouldBeInDOM?this._createViewIfNotExists():this._destroyViewIfExists())}ngOnDestroy(){this._destroyViewIfExists()}_destroyViewIfExists(){this._viewRef?.destroy(),this._viewRef=null}_createViewIfNotExists(){this._viewRef||(this._viewRef=this._vcr.createEmbeddedView(this._bodyTpl),this._viewRef.detectChanges())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["","ngbAccordionBody",""]],contentQueries:function(i,n,s){if(i&1&&ve(s,ft,7),i&2){let r;j(r=L())&&(n._bodyTpl=r.first)}},viewQuery:function(i,n){if(i&1&&He(is,7,qt),i&2){let s;j(s=L())&&(n._vcr=s.first)}},hostAttrs:[1,"accordion-body"],attrs:ns,ngContentSelectors:Zi,decls:3,vars:0,consts:[["container",""]],template:function(i,n){i&1&&(Yt(),Nn(0,null,0),Kt(2))},encapsulation:2})}}return t})(),Js=(()=>{class t{constructor(){this.item=c(Dt),this.ngbCollapse=c(qn)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region",1,"accordion-collapse"],hostVars:2,hostBindings:function(i,n){i&2&&(ce("id",n.item.collapseId),le("aria-labelledby",n.item.toggleId))},exportAs:["ngbAccordionCollapse"],features:[Di([qn])]})}}return t})(),qs=(()=>{class t{constructor(){this.item=c(Dt),this.accordion=c(so)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbAccordionToggle",""]],hostVars:5,hostBindings:function(i,n){i&1&&te("click",function(){return!n.item.disabled&&n.accordion.toggle(n.item.id)}),i&2&&(ce("id",n.item.toggleId),le("aria-controls",n.item.collapseId)("aria-expanded",!n.item.collapsed),F("collapsed",n.item.collapsed))}})}}return t})(),Uu=(()=>{class t{constructor(){this.item=c(Dt)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["button","ngbAccordionButton",""]],hostAttrs:["type","button",1,"accordion-button"],hostVars:1,hostBindings:function(i,n){i&2&&ce("disabled",n.item.disabled)},features:[Di([qs])]})}}return t})(),Wu=(()=>{class t{constructor(){this.item=c(Dt)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbAccordionHeader",""]],hostAttrs:["role","heading",1,"accordion-header"],hostVars:2,hostBindings:function(i,n){i&2&&F("collapsed",n.item.collapsed)}})}}return t})(),Dt=(()=>{class t{constructor(){this._accordion=c(so),this._cd=c(Oe),this._destroyRef=c(ht),this._collapsed=!0,this._id=`ngb-accordion-item-${Qs++}`,this._collapseAnimationRunning=!1,this.disabled=!1,this.show=new D,this.shown=new D,this.hide=new D,this.hidden=new D}set id(e){wt(e)&&e!==""&&(this._id=e)}set destroyOnHide(e){this._destroyOnHide=e}get destroyOnHide(){return this._destroyOnHide===void 0?this._accordion.destroyOnHide:this._destroyOnHide}set collapsed(e){e?this.collapse():this.expand()}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}get _shouldBeInDOM(){return!this.collapsed||this._collapseAnimationRunning||!this.destroyOnHide}ngAfterContentInit(){let{ngbCollapse:e}=this._collapse;e.animation=!1,e.collapsed=this.collapsed,e.animation=this._accordion.animation,e.hidden.pipe(Re(this._destroyRef)).subscribe(()=>{this._collapseAnimationRunning=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id
1),this._cd.markForCheck()}),e.shown.pipe(Re(this._destroyRef)).subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id),this._cd.markForCheck()})}toggle(){this.collapsed=!this.collapsed}expand(){if(this.collapsed){if(!this._accordion._ensureCanExpand(this))return;this._collapsed=!1,this._cd.markForCheck(),this._cd.detectChanges(),this.show.emit(),this._accordion.show.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!1}}collapse(){this.collapsed||(this._collapsed=!0,this._collapseAnimationRunning=!0,this._cd.markForCheck(),this.hide.emit(),this._accordion.hide.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbAccordionItem",""]],contentQueries:function(i,n,s){if(i&1&&ve(s,Js,7),i&2){let r;j(r=L())&&(n._collapse=r.first)}},hostAttrs:[1,"accordion-item"],hostVars:1,hostBindings:function(i,n){i&2&&ce("id",n.id)},inputs:{id:[0,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordionItem"]})}}return t})(),so=(()=>{class t{constructor(){this._config=c(Bs),this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=this._config.animation,this.closeOthers=this._config.closeOthers,this.destroyOnHide=this._config.destroyOnHide,this.show=new D,this.shown=new D,this.hide=new D,this.hidden=new D}toggle(e){this._getItem(e)?.toggle()}expand(e){this._getItem(e)?.expand()}expandAll(){this._items&&(this.closeOthers?this._items.find(e=>!e.collapsed)||this._items.first.expand():this._items.forEach(e=>e.expand()))}collapse(e){this._getItem(e)?.collapse()}collapseAll(){this._items?.forEach(e=>e.collapse())}isExpanded(e){let i=this._getItem(e);return i?!i.collapsed:!1}_ensureCanExpand(e){return this.closeOthers?this._items?(this._items.find(i=>!i.collapsed&&e!==i)?.collapse(),!0):this._anItemWasAlreadyExpandedDuringInitialisation?!1:(this._anItemWasAlreadyExpandedDuringInitialisation=!0,!0):!0}_getItem(e){return this._items?.find(i=>i.id===e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbAccordion",""]],contentQueries:function(i,n,s){if(i&1&&ve(s,Dt,4),i&2){let r;j(r=L())&&(n._items=r)}},hostAttrs:[1,"accordion"],inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordion"]})}}return t})();var zu=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ke({type:t})}static{this.\u0275inj=Je({})}}return t})();var Qu=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ke({type:t})}static{this.\u0275inj=Je({})}}return t})(),oe=class t{static from(o){return o instanceof t?o:o?new t(o.year,o.month,o.day):null}constructor(o,e,i){this.year=ne(o)?o:null,this.month=ne(e)?e:null,this.day=ne(i)?i:null}equals(o){return o!=null&&this.year===o.year&&this.month===o.month&&this.day===o.day}before(o){return o?this.year===o.year?this.month===o.month?this.day===o.day?!1:this.day<o.day:this.month<o.month:this.year<o.year:!1}after(o){return o?this.year===o.year?this.month===o.month?this.day===o.day?!1:this.day>o.day:this.month>o.month:this.year>o.year:!1}};function Yn(t){return new oe(t.getFullYear(),t.getMonth()+1,t.getDate())}function li(t){let o=new Date(t.year,t.month-1,t.day,12);return isNaN(o.getTime())||o.setFullYear(t.year),o}function Ys(){return new Ks}var fi=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>Ys(),providedIn:"root"})}}return t})(),Ks=(()=>{class t extends fi{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(e,i="d",n=1){let s=li(e),r=!0,a=s.getMonth();switch(i){case"y":s.setFullYear(s.getFullYear()+n);break;case"m":a+=n,s.setMonth(a),a=a%12,a<0&&(a=a+12);break;case"d":s.setDate(s.getDate()+n),r=!1;break;default:return e}return r&&s.getMonth()!==a&&s.setDate(0),Yn(s)}getPrev(e,i="d",n=1){return this.getNext(e,i,-n)}getWeekday(e){let n=li(e).getDay();return n===0?7:n}
1getWeekNumber(e,i){i===7&&(i=0);let n=(11-i)%7,s=e[n],r=li(s);r.setDate(r.getDate()+4-(r.getDay()||7));let a=r.getTime();return r.setMonth(0),r.setDate(1),Math.floor(Math.round((a-r.getTime())/864e5)/7)+1}getToday(){return Yn(new Date)}isValid(e){if(!e||!ne(e.year)||!ne(e.month)||!ne(e.day)||e.year===0)return!1;let i=li(e);return!isNaN(i.getTime())&&i.getFullYear()===e.year&&i.getMonth()+1===e.month&&i.getDate()===e.day}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Ie(t)))(n||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function yt(t,o){return!Zs(t,o)}function ro(t,o){return!t&&!o?!1:!t||!o?!0:t.year!==o.year||t.month!==o.month}function Zs(t,o){return!t&&!o||!!t&&!!o&&t.equals(o)}function Xs(t,o){if(o&&t&&o.before(t))throw new Error(`'maxDate' ${o} should be greater than 'minDate' ${t}`)}function ci(t,o,e){return t&&o&&t.before(o)?o:t&&e&&t.after(e)?e:t||null}function zi(t,o){let{minDate:e,maxDate:i,disabled:n,markDisabled:s}=o;return!(t==null||n||s&&s(t,{year:t.year,month:t.month})||e&&t.before(e)||i&&t.after(i))}function er(t,o,e,i){if(!o)return[];let n=t.getMonths(o.year);if(e&&o.year===e.year){let s=n.findIndex(r=>r===e.month);n=n.slice(s)}if(i&&o.year===i.year){let s=n.findIndex(r=>r===i.month);n=n.slice(0,s+1)}return n}function tr(t,o,e){if(!t)return[];let i=o?Math.max(o.year,t.year-500):t.year-10,s=(e?Math.min(e.year,t.year+500):t.year+10)-i+1,r=Array(s);for(let a=0;a<s;a++)r[a]=i+a;return r}function ir(t,o,e){let i=Object.assign(t.getNext(o,"m"),{day:1});return e!=null&&i.after(e)}function nr(t,o,e){let i=Object.assign(t.getPrev(o,"m"),{day:1});return e!=null&&(i.year===e.year&&i.month<e.month||i.year<e.year&&e.month===1)}function or(t,o,e,i,n){let{displayMonths:s,months:r}=e,a=r.splice(0,r.length);return Array.from({length:s},(u,d)=>{let f=Object.assign(t.getNext(o,"m",d),{day:1});if(r[d]=null,!n){let p=a.findIndex(h=>h.firstDate.equals(f));p!==-1&&(r[d]=a.splice(p,1)[0])}return f}).forEach((u,d)=>{r[d]===null&&(r[d]=sr(t,u,e,i,a.shift()||{}))}),r}function sr(t,o,e,i,n={}){let{dayTemplateData:s,minDate:r,maxDate:a,firstDayOfWeek:l,markDisabled:u,outsideDays:d,weekdayWidth:f,weekdaysVisible:p}=e,h=t.getToday();n.firstDate=null,n.lastDate=null,n.number=o.month,n.year=o.year,n.weeks=n.weeks||[],n.weekdays=n.weekdays||[],o=rr(t,o,l),p||(n.weekdays.length=0);for(let _=0;_<t.getWeeksPerMonth();_++){let v=n.weeks[_];v||(v=n.weeks[_]={number:0,days:[],collapsed:!0});let g=v.days;for(let y=0;y<t.getDaysPerWeek();y++){_===0&&p&&(n.weekdays[y]=i.getWeekdayLabel(t.getWeekday(o),f));let b=new oe(o.year,o.month,o.day),O=t.getNext(b),m=i.getDayAriaLabel(b),w=!!(r&&b.before(r)||a&&b.after(a));!w&&u&&(w=u(b,{month:n.number,year:n.year}));let S=b.equals(h),R=s?s(b,{month:n.number,year:n.year}):void 0;n.firstDate===null&&b.month===n.number&&(n.firstDate=b),b.month===n.number&&O.month!==n.number&&(n.lastDate=b);let C=g[y];C||(C=g[y]={}),C.date=b,C.context=Object.assign(C.context||{},{$implicit:b,date:b,data:R,currentMonth:n.number,currentYear:n.year,disabled:w,focused:!1,selected:!1,today:S}),C.tabindex=-1,C.ariaLabel=m,C.hidden=!1,o=O}v.number=t.getWeekNumber(g.map(y=>y.date),l),v.collapsed=d==="collapsed"&&g[0].date.month!==n.number&&g[g.length-1].date.month!==n.number}return n}function rr(t,o,e){let i=t.getDaysPerWeek(),n=new oe(o.year,o.month,1),s=t.getWeekday(n)%i;return t.getPrev(n,"d",(i+s-e)%i)}var lt=(()=>{class t{getMonthLabel(e){return`${this.getMonthFullName(e.month,e.year)} ${this.getYearNumerals(e.year)}`}getDayNumerals(e){return`${e.day}`}getWeekNumerals(e){return`${e}`}getYearNumerals(e){return`${e}`}getWeekLabel(){return""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>new ar,providedIn:"root"})}}return t})(),ar=(()=>{class t extends lt{constructor(){super(...arguments),this._locale=c(Pn),this._monthsShort=[...Array(12).keys()].map(e=>Intl.DateTimeFormat(this._locale,{month:"short",timeZone:"UTC"}).format(Date.UTC(2e3,e))),this._monthsFull=[...Array(12).keys()].map(e=>Intl.DateTimeFormat(this._locale,{month:"long",timeZone:"UTC"}).format(Date.UTC(2e3,e)))}getWeekdayLabel(e,i="narrow"){return[1,2,3,4,5,6,7].map(s=>Intl.DateTimeFormat(this._locale,{weekday:i,timeZone:"UTC"}).format(Date.UTC(2e3,4,s)))[e-1]||""}getMonthShortName(e){return this._monthsShort[e-1]||""}getMonthFullName(e){return this._monthsFull[e-1]||""}getDayAriaLabel(e){let i=new Date(e.year,e.month-1,e.day);return En(i,"fullDate",this._locale)}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Ie(t)))(n||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),Qi=(()=>{class t{constructor(){this._VALIDATORS={dayTemplateData:e=>{if(this._state.dayTemplateData!==e)return{dayTemplateData:e}},displayMonths:e=>{if(e=we(e),ne(e)&&e>0&&this._state.displayMonths!==e)return{displayMonths:e}},disabled:e=>{if(this._state.disabled!==e)return{disabled:e}},firstDayOfWeek:e=>{if(e=we(e),ne(e)&&e>=0&&this._state.firstDayOfWeek!==e)return{firstDayOfWeek:e}},focusVisible:e=>{if(this._state.focusVisible!==e&&!this._state.disabled)return{focusVisible:e}},markDisabled:e=>{if(this._state.markDisabled!==e)return{markDisabled:e}},maxDate:e=>{let i=this.toValidDate(e,null);if(yt(this._state.maxDate,i))return{maxDate:i}},minDate:e=>{let i=this.toValidDate(e,null);if(yt(this._state.minDate,i))return{minDate:i}},navigation:e=>{if(this._state.navigation!==e)return{navigation:e}},outsideDays:e=>{if(this._state.outsideDays!==e)return{outsideDays:e}},weekdays:e=>{let i=e===!0||e===!1?"narrow":e,n=e===!0||e===!1?e:!0;if(this._state.weekdayWidth!==i||this._state.weekdaysVisible!==n)return{weekdayWidth:i,weekdaysVisible:n}}},this._calendar=c(fi),this._i18n=c(lt),this._model$=new Z,this._dateSelect$=new Z,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:"narrow",weekdaysVisible:!0}}get model$(){return this._model$.pipe(De(e=>e.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(De(e=>e!==null))}set(e){let i=Object.keys(e).map(n=>this._VALIDATORS[n](e[n])).reduce((n,s)=>Qe(Qe({},n),s),{});Object.keys(i).length>0&&this._nextState(i)}focus(e){let i=this.toValidDate(e,null);i!=null&&!this._state.disabled&&yt(this._state.focusDate,i)&&this._nextState({focusDate:e})}focusSelect(){zi(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(e){let i=this.toValidDate(e,this._calendar.getToday());i!=null&&!this._state.disabled&&(!this._state.firstDate||ro(this._state.firstDate,i))&&this._nextState({firstDate:i})}select(e,i={}){let n=this.toValidDate(e,null);n!=null&&!this._state.disabled&&(yt(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),i.emitEvent&&zi(n,this._state)&&this._dateSelect$.next(n))}toValidDate(e,i){let n=oe.from(e);return i===void 0&&(i=this._calendar.getToday()),this._calendar.isValid(n)?n:i}getMonth(e){for(let i of this._state.months)if(e.month===i.number&&e.year===i.year)return i;throw new Error(`month ${e.month} of year ${e.year} not found`)}_nextState(e){let i=this._updateState(e);this._patchContexts(i),this._state=i,this._model$.next(this._state)}_patchContexts(e){let{months:i,displayMonths:n,selectedDate:s,focusDate:r,focusVisible:a,disabled:l,outsideDays:u}=e;e.months.forEach(d=>{d.weeks.forEach(f=>{f.days.forEach(p=>{r&&(p.context.focused=r.equals(p.date)&&a),p.tabindex=!l&&r&&p.date.equals(r)&&r.month===d.number?0:-1,l===!0&&(p.context.disabled=!0),s!==void 0&&(p.context.selected=s!==null&&s.equals(p.date)),d.number!==p.date.month&&(p.hidden=u==="hidden"||u==="collapsed"||n>1&&p.date.after(i[0].firstDate)&&p.date.before(i[n-1].lastDate))})})})}_updateState(e){let i=Object.assign({},this._state,e),n=i.firstDate;if(("minDate"in e||"maxDate"in e)&&(Xs(i.minDate,i.maxDate),i.focusDate=ci(i.focusDate,i.minDate,i.maxDate),i.firstDate=ci(i.firstDate,i.minDate,i.maxDate),n=i.focusDate),"disabled"in e&&(i.focusVisible=!1),"selectedDate"in e&&this._state.months.length===0&&(n=i.selectedDate),"focu
1sVisible"in e||"focusDate"in e&&(i.focusDate=ci(i.focusDate,i.minDate,i.maxDate),n=i.focusDate,i.months.length!==0&&i.focusDate&&!i.focusDate.before(i.firstDate)&&!i.focusDate.after(i.lastDate)))return i;if("firstDate"in e&&(i.firstDate=ci(i.firstDate,i.minDate,i.maxDate),n=i.firstDate),n){let s="dayTemplateData"in e||"firstDayOfWeek"in e||"markDisabled"in e||"minDate"in e||"maxDate"in e||"disabled"in e||"outsideDays"in e||"weekdaysVisible"in e,r=or(this._calendar,n,i,this._i18n,s);i.months=r,i.firstDate=r[0].firstDate,i.lastDate=r[r.length-1].lastDate,"selectedDate"in e&&!zi(i.selectedDate,i)&&(i.selectedDate=null),"firstDate"in e&&(!i.focusDate||i.focusDate.before(i.firstDate)||i.focusDate.after(i.lastDate))&&(i.focusDate=n);let a=!this._state.firstDate||this._state.firstDate.year!==i.firstDate.year,l=!this._state.firstDate||this._state.firstDate.month!==i.firstDate.month;i.navigation==="select"?(("minDate"in e||"maxDate"in e||i.selectBoxes.years.length===0||a)&&(i.selectBoxes.years=tr(i.firstDate,i.minDate,i.maxDate)),("minDate"in e||"maxDate"in e||i.selectBoxes.months.length===0||a)&&(i.selectBoxes.months=er(this._calendar,i.firstDate,i.minDate,i.maxDate))):i.selectBoxes={years:[],months:[]},(i.navigation==="arrows"||i.navigation==="select")&&(l||a||"minDate"in e||"maxDate"in e||"disabled"in e)&&(i.prevDisabled=i.disabled||nr(this._calendar,i.firstDate,i.minDate),i.nextDisabled=i.disabled||ir(this._calendar,i.lastDate,i.maxDate))}return i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),ui=function(t){return t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT",t}(ui||{}),Xi=(()=>{class t{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays="narrow"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function lr(){return new cr}var en=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>lr(),providedIn:"root"})}}return t})(),cr=(()=>{class t extends en{fromModel(e){return e&&ne(e.year)&&ne(e.month)&&ne(e.day)?{year:e.year,month:e.month,day:e.day}:null}toModel(e){return e&&ne(e.year)&&ne(e.month)&&ne(e.day)?{year:e.year,month:e.month,day:e.day}:null}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Ie(t)))(n||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),dr=(()=>{class t{processKey(e,i){let{state:n,calendar:s}=i;switch(e.key){case"PageUp":i.focusDate(s.getPrev(n.focusedDate,e.shiftKey?"y":"m",1));break;case"PageDown":i.focusDate(s.getNext(n.focusedDate,e.shiftKey?"y":"m",1));break;case"End":i.focusDate(e.shiftKey?n.maxDate:n.lastDate);break;case"Home":i.focusDate(e.shiftKey?n.minDate:n.firstDate);break;case"ArrowLeft":i.focusDate(s.getPrev(n.focusedDate,"d",1));break;case"ArrowUp":i.focusDate(s.getPrev(n.focusedDate,"d",s.getDaysPerWeek()));break;case"ArrowRight":i.focusDate(s.getNext(n.focusedDate,"d",1));break;case"ArrowDown":i.focusDate(s.getNext(n.focusedDate,"d",s.getDaysPerWeek()));break;case"Enter":case" ":i.focusSelect();break;default:return}e.preventDefault(),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ur=(()=>{class t{constructor(){this.i18n=c(lt)}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(i,n){i&2&&F("bg-primary",n.selected)("text-white",n.selected)("text-muted",n.isMuted())("outside",n.isMuted())("active",n.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:os,decls:1,vars:1,template:function(i,n){i&1&&Me(0),i&2&&Ze(n.i18n.getDayNumerals(n.date))},styles:[`[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-tertiary-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5} 2`],encapsulation:2,changeDetection:0})}}return t})(),hr=(()=>{class t{constructor(){this._month=-1,this._year=-1,this.i18n=c(lt),this.select=new D}changeMonth(e){this.select.emit(new oe(this.date.year,we(e),1))}changeYear(e){this.select.emit(new oe(we(e),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this.monthSelect.nativeElement.value=`${this._month}`),this.date.year!==this._year&&(this._year=this.date.year,this.yearSelect.nativeElement.value=`${this._year}`))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(i,n){if(i&1&&(He(ss,7,$),He(rs,7,$)),i&2){let s;j(s=L())&&(n.monthSelect=s.first),j(s=L())&&(n.yearSelect=s.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:8,vars:2,consts:()=>{let e;e=$localize`:@@ngb.datepicker.select-month:Select month`;let i;i=$localize`:@@ngb.datepicker.select-month:Select month`;let n;n=$localize`:@@ngb.datepicker.select-year:Select year`;let s;return s=$localize`:@@ngb.datepicker.select-year:Select year`,[["month",""],["year",""],["aria-label",e,"title",i,1,"form-select",3,"change","disabled"],[3,"value"],["aria-label",n,"title",s,1,"form-select",3,"change","disabled"]]},template:function(i,n){if(i&1){let s=Rt();E(0,"select",2,0),te("change",function(a){return qe(s),Ye(n.changeMonth(a.target.value))}),Te(2,as,2,3,"option",3,Fe),k(),E(4,"select",4,1),te("change",function(a){return qe(s),Ye(n.changeYear(a.target.value))}),Te(6,ls,2,2,"option",3,Fe),k()}i&2&&(J("disabled",n.disabled),T(2),Ce(n.months),T(2),J("disabled",n.disabled),T(2),Ce(n.years))},styles:[`ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important} 3`],encapsulation:2,changeDetection:0})}}return t})(),pr=(()=>{class t{constructor(){this.navigation=ui,this.i18n=c(lt),this.months=[],this.navigate=new D,this.select=new D}
3onClickPrev(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:8,vars:4,consts:()=>{let e;e=$localize`:@@ngb.datepicker.previous-month:Previous month`;let i;i=$localize`:@@ngb.datepicker.previous-month:Previous month`;let n;n=$localize`:@@ngb.datepicker.next-month:Next month`;let s;return s=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow","ngb-dp-arrow-prev"],["type","button","aria-label",e,"title",i,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-chevron"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years"],[1,"ngb-dp-arrow","ngb-dp-arrow-next"],["type","button","aria-label",n,"title",s,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-select",3,"select","date","disabled","months","years"],[1,"ngb-dp-arrow"],[1,"ngb-dp-month-name"]]},template:function(i,n){i&1&&(E(0,"div",0)(1,"button",1),te("click",function(r){return n.onClickPrev(r)}),Be(2,"span",2),k()(),Q(3,cs,1,4,"ngb-datepicker-navigation-select",3)(4,ps,2,0),E(5,"div",4)(6,"button",5),te("click",function(r){return n.onClickNext(r)}),Be(7,"span",2),k()()),i&2&&(T(),J("disabled",n.prevDisabled),T(2),ae(n.showSelect?3:-1),T(),ae(n.showSelect?-1:4),T(2),J("disabled",n.nextDisabled))},dependencies:[hr],styles:[`ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow-next{justify-content:flex-end}.ngb-dp-arrow-next .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem} 4`],encapsulation:2,changeDetection:0})}}return t})(),fr=(()=>{class t{constructor(){this.templateRef=c(ft)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["ng-template","ngbDatepickerContent",""]]})}}return t})(),_r=(()=>{class t{constructor(){this._keyboardService=c(dr),this._service=c(Qi),this.i18n=c(lt),this.datepicker=c(ao)}set month(e){this.viewModel=this._service.getMonth(e)}onKeyDown(e){this._keyboardService.processKey(e,this.datepicker)}doSelect(e){!e.context.disabled&&!e.hidden&&this.datepicker.onDateSelect(e.date)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(i,n){i&1&&te("keydown",function(r){return n.onKeyDown(r)})},inputs:{month:"month"},decls:3,vars:1,consts:[["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["role","row",1,"ngb-dp-week"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"disabled","tabindex","hidden","ngb-dp-today"],["role","gridcell",1,"ngb-dp-day",3,"click","tabindex"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&(Q(0,gs,4,1,"div",0),Te(1,Ds,1,1,null,null,Fe)),i&2&&(ae(n.viewModel.weekdays.length>0?0:-1),T(),Ce(n.viewModel.weeks))},dependencies:[ei],styles:[`ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-tertiary-bg)}
4.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1} 5`],encapsulation:2})}}return t})(),ao=(()=>{class t{constructor(){this.injector=c(re),this._service=c(Qi),this._calendar=c(fi),this._i18n=c(lt),this._config=c(Xi),this._nativeElement=c($).nativeElement,this._ngbDateAdapter=c(en),this._ngZone=c(ge),this._destroyRef=c(ht),this._injector=c(re),this._controlValue=null,this._publicState={},this._initialized=!1,this.dayTemplate=this._config.dayTemplate,this.dayTemplateData=this._config.dayTemplateData,this.displayMonths=this._config.displayMonths,this.firstDayOfWeek=this._config.firstDayOfWeek,this.footerTemplate=this._config.footerTemplate,this.markDisabled=this._config.markDisabled,this.maxDate=this._config.maxDate,this.minDate=this._config.minDate,this.navigation=this._config.navigation,this.outsideDays=this._config.outsideDays,this.showWeekNumbers=this._config.showWeekNumbers,this.startDate=this._config.startDate,this.weekdays=this._config.weekdays,this.navigate=new D,this.dateSelect=new D,this.onChange=i=>{},this.onTouched=()=>{};let e=c(Oe);this._service.dateSelect$.pipe(Re()).subscribe(i=>{this.dateSelect.emit(i)}),this._service.model$.pipe(Re()).subscribe(i=>{let n=i.firstDate,s=this.model?this.model.firstDate:null;this._publicState={maxDate:i.maxDate,minDate:i.minDate,firstDate:i.firstDate,lastDate:i.lastDate,focusedDate:i.focusDate,months:i.months.map(d=>d.firstDate)};let r=!1;if(!n.equals(s)&&(this.navigate.emit({current:s?{year:s.year,month:s.month}:null,next:{year:n.year,month:n.month},preventDefault:()=>r=!0}),r&&s!==null)){this._service.open(s);return}let a=i.selectedDate,l=i.focusDate,u=this.model?this.model.focusDate:null;this.model=i,yt(a,this._controlValue)&&(this._controlValue=a,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(a))),yt(l,u)&&u&&i.focusVisible&&this.focus(),e.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(e){this._service.focus(oe.from(e))}focusSelect(){this._service.focusSelect()}focus(){pt({read:()=>{this._nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]')?.focus()}},{injector:this._injector})}navigateTo(e){this._service.open(oe.from(e?e.day?e:$t(Qe({},e),{day:1}):null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{let e=X(this._contentEl.nativeElement,"focusin"),i=X(this._contentEl.nativeElement,"focusout");bn(e,i).pipe(De(n=>{let s=n.target,r=n.relatedTarget;return!(s?.classList.contains("ngb-dp-day")&&r?.classList.contains("ngb-dp-day")&&this._nativeElement.contains(s)&&this._nativeElement.contains(r))}),Re(this._destroyRef)).subscribe(({type:n})=>this._ngZone.run(()=>this._service.set({focusVisible:n==="focusin"})))})}ngOnInit(){if(this.model===void 0){let e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(i=>e[i]=this[i]),this._service.set(e),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate),this._initialized=!0}ngOnChanges(e){let i={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(n=>n in e).forEach(n=>i[n]=this[n]),this._service.set(i),"startDate"in e&&this._initialized){let{currentValue:n,previousValue:s}=e.startDate;ro(s,n)&&this.navigateTo(this.startDate)}}onDateSelect(e){this._service.focus(e),this._service.select(e,{emitEvent:!0})}onNavigateDateSelect(e){this._service.open(e)}onNavigateEvent(e){switch(e){case ui.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case ui.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1));break}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._service.set({disabled:e})}writeValue(e){this._controlValue=oe.from(this._ngbDateAdapter.fromModel(e)),this._service.select(this._controlValue)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["ngb-datepicker"]],contentQueries:function(i,n,s){if(i&1&&ve(s,fr,7),i&2){let r;j(r=L())&&(n.contentTemplateFromContent=r.first)}},viewQuery:function(i,n){if(i&1&&(He(Ss,7),He(Ts,7)),i&2){let s;j(s=L())&&(n._defaultDayTemplate=s.first),j(s=L())&&(n._contentEl=s.first)}},hostVars:2,hostBindings:function(i,n){i&2&&F("disabled",n.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],features:[Zt([{provide:Oi,useExisting:Mt(()=>t),multi:!0},Qi]),ut],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],["content",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"],[1,"ngb-dp-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],[1,"ngb-dp-month"],[1,"ngb-dp-month-name"],[3,"month"],[3,"navigate","select","date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"]
5],template:function(i,n){if(i&1&&(Q(0,Cs,1,5,"ng-template",null,0,Mi)(2,Rs,2,0,"ng-template",null,1,Mi),E(4,"div",3),Q(5,Ns,1,7,"ngb-datepicker-navigation",4),k(),E(6,"div",5,2),Q(8,xs,0,0,"ng-template",6),k(),Q(9,Ps,0,0,"ng-template",7)),i&2){let s=xn(3);T(5),ae(n.navigation!=="none"?5:-1),T(),F("ngb-dp-months",!n.contentTemplate),T(2),J("ngTemplateOutlet",n.contentTemplate||(n.contentTemplateFromContent==null?null:n.contentTemplateFromContent.templateRef)||s)("ngTemplateOutletContext",Ci(7,io,n))("ngTemplateOutletInjector",n.injector),T(),J("ngTemplateOutlet",n.footerTemplate)}},dependencies:[ei,ur,_r,pr],styles:[`ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-tertiary-bg)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-tertiary-bg)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem} 6`],encapsulation:2,changeDetection:0})}}return t})(),di=(t,o)=>o?o.some(e=>e.contains(t)):!1,Kn=(t,o)=>!o||Vs(t,o)!=null,gr=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,o=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||o()):!1})(),mr=t=>gr?()=>setTimeout(()=>t(),100):t;function tn(t,o,e,i,n,s,r,a){e&&t.runOutsideAngular(mr(()=>{let l=p=>{let h=p.target;return p.button===2||di(h,r)?!1:e==="inside"?di(h,s)&&Kn(h,a):e==="outside"?!di(h,s):Kn(h,a)||!di(h,s)},u=X(o,"keydown").pipe(V(n),De(p=>p.key==="Escape"),Wt(p=>p.preventDefault())),d=X(o,"mousedown").pipe(dt(l),V(n)),f=X(o,"mouseup").pipe(zt(d),De(([p,h])=>h),yn(0),V(n));bi([u.pipe(dt(p=>0)),f.pipe(dt(p=>1))]).subscribe(p=>t.run(()=>i(p)))}))}var lo=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function co(t){let o=Array.from(t.querySelectorAll(lo)).filter(e=>e.tabIndex!==-1);return[o[0],o[o.length-1]]}var uo=(t,o,e,i=!1)=>{t.runOutsideAngular(()=>{let n=X(o,"focusin").pipe(V(e),dt(s=>s.target));X(o,"keydown").pipe(V(e),De(s=>s.key==="Tab"),zt(n)).subscribe(([s,r])=>{let[a,l]=co(o);(r===a||r===o)&&s.shiftKey&&(l.focus(),s.preventDefault()),r===l&&!s.shiftKey&&(a.focus(),s.preventDefault())}),i&&X(o,"click").pipe(V(e),zt(n),dt(s=>s[1])).subscribe(s=>s.focus())})},vr=(()=>{class t{constructor(){this._element=c(Se).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),br=/\s+/,yr=/ +/gi,wr={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function Dr(t,o){let[e,i]=wr[t];return o&&i||e}var Sr=/^left/,Tr=/^right/,Cr=/^start/,Mr=/^end/;function Or(t,o){let[e,i]=o.split("-"),n=e.replace(Sr,"start").replace(Tr,"end"),s=[n];if(i){let r=i;(e==="left"||e==="right")&&(r=r.replace(Cr,"top").replace(Mr,"bottom")),s.push(`${n}-${r}`)}return t&&(s=s.map(r=>`${t}-${r}`)),s.join(" ")}function Zn({placement:t,baseClass:o},e){let i=Array.isArray(t)?t:t.split(br),n=["top","bottom","start","end","top-start","to
6p-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],s=i.findIndex(u=>u==="auto");s>=0&&n.forEach(function(u){i.find(d=>d.search("^"+u)!==-1)==null&&i.splice(s++,1,u)});let r=i.map(u=>Dr(u,e.isRTL()));return{placement:r.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!o,phase:"write",fn({state:u}){let d=new RegExp(o+"(-[a-z]+)*","gi"),f=u.elements.popper,p=u.placement,h=f.className;h=h.replace(d,""),h+=` ${Or(o,p)}`,h=h.trim().replace(yr," "),f.className=h}},Ii,Hi,xi,{enabled:!0,name:"flip",options:{fallbackPlacements:r}}]}}function Xn(t){return t}function nn(){let t=c(vr),o=null;return{createPopper(e){if(!o){let n=(e.updatePopperOptions||Xn)(Zn(e,t));o=Wi(e.hostElement,e.targetElement,n)}},update(){o&&o.update()},setOptions(e){if(o){let n=(e.updatePopperOptions||Xn)(Zn(e,t));o.setOptions(n)}},destroy(){o&&(o.destroy(),o=null)}}}function Rr(){return new Nr}var ho=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>Rr(),providedIn:"root"})}}return t})(),Nr=(()=>{class t extends ho{parse(e){if(e!=null){let i=e.trim().split("-");if(i.length===1&&Ee(i[0]))return{year:we(i[0]),month:null,day:null};if(i.length===2&&Ee(i[0])&&Ee(i[1]))return{year:we(i[0]),month:we(i[1]),day:null};if(i.length===3&&Ee(i[0])&&Ee(i[1])&&Ee(i[2]))return{year:we(i[0]),month:we(i[1]),day:we(i[2])}}return null}format(e){return e?`${e.year}-${Ee(e.month)?Jn(e.month):""}-${Ee(e.day)?Jn(e.day):""}`:""}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Ie(t)))(n||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})(),eo=(()=>{class t extends Xi{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=e=>e,this.restoreFocus=!0}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Ie(t)))(n||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function on(t){return o=>(o.modifiers.push(Fi,{name:"offset",options:{offset:()=>t}}),o)}var Ju=(()=>{class t{constructor(){this._parserFormatter=c(ho),this._elRef=c($),this._vcRef=c(qt),this._ngZone=c(ge),this._calendar=c(fi),this._dateAdapter=c(en),this._document=c(Se),this._changeDetector=c(Oe),this._injector=c(re),this._config=c(eo),this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._positioning=nn(),this._destroyCloseHandlers$=new Z,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.positionTarget=this._config.positionTarget,this.dateSelect=new D,this.navigate=new D,this.closed=new D,this._onChange=e=>{},this._onTouched=()=>{},this._validatorChange=()=>{}}get disabled(){return this._disabled}set disabled(e){this._disabled=e===""||e&&e!=="false",this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}registerOnValidatorChange(e){this._validatorChange=e}setDisabledState(e){this.disabled=e}validate(e){let{value:i}=e;if(i!=null){let n=this._fromDateStruct(this._dateAdapter.fromModel(i));if(!n)return{ngbDate:{invalid:i}};if(this.minDate&&n.before(oe.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:i}}};if(this.maxDate&&n.after(oe.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:i}}}}return null}writeValue(e){this._model=this._fromDateStruct(this._dateAdapter.fromModel(e)),this._writeModelValue(this._model)}manualDateChange(e,i=!1){let n=e!==this._inputValue;n&&(this._inputValue=e,this._model=this._fromDateStruct(this._parserFormatter.parse(e))),(n||!i)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):e===""?null:e),i&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){this._cRef=this._vcRef.createComponent(ao,{injector:this._injector}),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(i=>{this.writeValue(i),this._onChange(i),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),this.container==="body"&&this._document.querySelector(this.container)?.appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,uo(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus());let e;if(wt(this.positionTarget)?e=this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?e=this.positionTarget:e=this._elRef.nativeElement,this.positionTarget&&!e)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._ngZone.runOutsideAngular(()=>{this._cRef&&e&&(this._positioning.createPopper({hostElement:e,targetElement:this._cRef.location.nativeElement,placement:this.placement,updatePopperOptions:i=>this.popperOptions(on([0,2])(i))}),this._afterRenderRef=Jt({mixedReadWrite:()=>
6{this._positioning.update()}},{injector:this._injector}))}),this._setCloseHandlers()}}close(){if(this.isOpen()){this._cRef?.destroy(),this._cRef=null,this._positioning.destroy(),this._afterRenderRef?.destroy(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let e=this._elWithFocus;wt(this.restoreFocus)?e=this._document.querySelector(this.restoreFocus):this.restoreFocus!==void 0&&(e=this.restoreFocus),e&&e.focus?e.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(e){this.isOpen()&&this._cRef.instance.navigateTo(e)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(e){if((e.minDate||e.maxDate)&&(this._validatorChange(),this.isOpen()&&(e.minDate&&this._cRef.setInput("minDate",this.minDate),e.maxDate&&this._cRef.setInput("maxDate",this.maxDate))),e.datepickerClass){let{currentValue:i,previousValue:n}=e.datepickerClass;this._applyPopupClass(i,n)}e.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(e){["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(i=>{this[i]!==void 0&&e.setInput(i,this[i])}),e.setInput("startDate",this.startDate||this._model)}_applyPopupClass(e,i){let n=this._cRef?.location.nativeElement;n&&(e&&n.classList.add(e),i&&n.classList.remove(i))}_applyPopupStyling(e){e.classList.add("dropdown-menu","show"),this.container==="body"&&e.classList.add("ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(e){e.navigate.subscribe(i=>this.navigate.emit(i)),e.dateSelect.subscribe(i=>{this.dateSelect.emit(i),(this.autoClose===!0||this.autoClose==="inside")&&this.close()})}_writeModelValue(e){let i=this._parserFormatter.format(e);this._inputValue=i,this._elRef.nativeElement.value=i,this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(e)),this._onTouched())}_fromDateStruct(e){let i=e?new oe(e.year,e.month,e.day):null;return this._calendar.isValid(i)?i:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),tn(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(i,n){i&1&&te("input",function(r){return n.manualDateChange(r.target.value)})("change",function(r){return n.manualDateChange(r.target.value,!0)})("focus",function(){return n.onFocus()})("blur",function(){return n.onBlur()}),i&2&&ce("disabled",n.disabled)},inputs:{autoClose:"autoClose",contentTemplate:"contentTemplate",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[Zt([{provide:Oi,useExisting:Mt(()=>t),multi:!0},{provide:kn,useExisting:Mt(()=>t),multi:!0},{provide:Xi,useExisting:eo}]),ut]})}}return t})();var qu=new Date(1882,10,12),Yu=new Date(2174,10,25);var Ku=1e3*60*60*24;var sn=1080,xr=24*sn,Pr=12*sn+793,Zu=29*xr+Pr,Xu=11*sn+204;var eh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ke({type:t})}static{this.\u0275inj=Je({})}}return t})(),Er=(()=>{class t{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=e=>e,this.container=null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),po=(()=>{class t{constructor(){this._disabled=!1,this.nativeElement=c($).nativeElement,this.tabindex=0}set disabled(e){this._disabled=e===""||e===!0}get disabled(){return this._disabled}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(i,n){i&2&&(ce("tabIndex",n.disabled?-1:n.tabindex),F("disabled",n.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"}})}}return t})(),th=(()=>{class t{constructor(){this.item=c(po)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["button","ngbDropdownItem",""]],hostVars:1,hostBindings:function(i,n){i&2&&ce("disabled",n.item.disabled)}})}}return t})(),kr=(()=>{class t{constructor(){this.dropdown=c(fo),this.nativeElement=c($).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(i,n,s){if(i&1&&ve(s,po,4),i&2){let r;j(r=L())&&(n.menuItems=r)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(i,n){i&1&&te("keydown.ArrowUp",function(r){return n.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return n.dropdown.onKeyDown(r)})("keydown.Home",function(r){return n.dropdown.onKeyDown(r)})("keydown.End",function(r){return n.dropdown.onKeyDown(r)})("keydown.Enter",function(r){return n.dropdown.onKeyDown(r)})("keydown.Space",function(r){return n.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return n.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return n.dropdown.onKeyDown(r)}),i&2&&F("show",n.dropdown.isOpen())}})}}return t})(),Ji=(()=>{class t{constructor(){this.dropdown=c(fo),this.nativeElement=c($).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,n){i&2&&(le("aria-expanded",n.dropdown.isOpen()),F("show",n.dropdown.isOpen()))}})}}return t})(),ih=(()=>{class t extends Ji{static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Ie(t)))(n||t)}})()}static{this.\u0275dir=x({type:t,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,n){i&1&&te("click",function(){return n.dropdown.toggle()})("keydown.ArrowUp",function(r){return n.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return n.dropdown.onKeyDown(r)})("keydown.Home",function(r){return n.dropdown.onKeyDown(r)})("keydown.End",function(r){return n.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return n.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return n.dropdown.onKeyDown(r)}),i&2&&(le("aria-expanded",n.dropdown.isOpen()),F("show",n.dropdown.isOpen()))},features:[Zt([{provide:Ji,useExisting:Mt(()=>t)}]),wi]})}}return t})(),fo=(()=>{class t{constructor(){this._changeDetector=c(Oe),this._config=c(Er),this._document=c(Se),this._injector=c(re),this._ngZone=c(ge),this._nativeElement=c($).nativeElement,this._destroyCloseHandlers$=new Z,this._bodyContainer=null,this._positioning=nn(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new D}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".
6navbar")?"static":"dynamic")}ngAfterContentInit(){pt({write:()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()}},{injector:this._injector})}ngOnChanges(e){if(e.container&&this._open&&this._applyContainer(this.container),e.placement&&!e.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),e.dropdownClass){let{currentValue:i,previousValue:n}=e.dropdownClass;this._applyCustomDropdownClass(i,n)}e.autoClose&&this._open&&(this.autoClose=e.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),this.display==="dynamic"&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:e=>this.popperOptions(on([0,2])(e))}),this._applyPlacementClasses(),this._afterRenderRef=Jt({write:()=>{this._positionMenu()}},{injector:this._injector})})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),tn(this._ngZone,this._document,this.autoClose,e=>{this.close(),e===0&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._afterRenderRef?.destroy(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(e){let{key:i}=e,n=this._getMenuElements(),s=-1,r=null,a=this._isEventFromToggle(e);if(!a&&n.length&&n.forEach((l,u)=>{l.contains(e.target)&&(r=l),l===oo(this._document)&&(s=u)}),i===" "||i==="Enter"){r&&(this.autoClose===!0||this.autoClose==="inside")&&X(r,"click").pipe(Ct(1)).subscribe(()=>this.close());return}if(i==="Tab"){if(e.target&&this.isOpen()&&this.autoClose)if(this._anchor.nativeElement===e.target){this.container==="body"&&!e.shiftKey?(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")):e.shiftKey&&this.close();return}else if(this.container==="body"){let l=this._menu.nativeElement.querySelectorAll(lo);e.shiftKey&&e.target===l[0]?(this._anchor.nativeElement.focus(),e.preventDefault()):!e.shiftKey&&e.target===l[l.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else X(e.target,"focusout").pipe(Ct(1)).subscribe(({relatedTarget:l})=>{this._nativeElement.contains(l)||this.close()});return}if(a||r){if(this.open(),n.length){switch(i){case"ArrowDown":s=Math.min(s+1,n.length-1);break;case"ArrowUp":if(this._isDropup()&&s===-1){s=n.length-1;break}s=Math.max(s-1,0);break;case"Home":s=0;break;case"End":s=n.length-1;break}n[s].focus()}e.preventDefault()}}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(e){return this._anchor.nativeElement.contains(e.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:e})=>!e).map(({nativeElement:e})=>e):[]}_positionMenu(){let e=this._menu;this.isOpen()&&e&&(this.display==="dynamic"?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(e){return Array.isArray(e)?e[0]:e.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(e=null){if(this._resetContainer(),e==="body"){let i=this._menu.nativeElement,n=this._bodyContainer=this._bodyContainer||this._document.createElement("div");n.style.position="absolute",i.style.position="static",n.style.zIndex="1055",n.appendChild(i),this._document.body.appendChild(n)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(e,i){let n=this.container==="body"?this._bodyContainer:this._nativeElement;n&&(i&&n.classList.remove(i),e&&n.classList.add(e))}_applyPlacementClasses(e){if(this._menu){e||(e=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),this.display==="static"?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");let i=e.search("^top")!==-1?"dropup":"dropdown";this._nativeElement.classList.add(i),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(i))}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbDropdown",""]],contentQueries:function(i,n,s){if(i&1&&(ve(s,kr,5),ve(s,Ji,5)),i&2){let r;j(r=L())&&(n._menu=r.first),j(r=L())&&(n._anchor=r.first)}},hostVars:2,hostBindings:function(i,n){i&2&&F("show",n.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",dis
6play:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[ut]})}}return t})();var nh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ke({type:t})}static{this.\u0275inj=Je({})}}return t})(),Ar=(()=>{class t{constructor(){this._ngbConfig=c(It),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ke=class{constructor(o,e,i){this.nodes=o,this.viewRef=e,this.componentRef=i}},qi=class{constructor(o){this._componentType=o,this._windowRef=null,this._contentRef=null,this._document=c(Se),this._applicationRef=c(Si),this._injector=c(re),this._viewContainerRef=c(qt),this._ngZone=c(ge)}open(o,e,i=!1){this._windowRef||(this._contentRef=this._getContentRef(o,e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:n}=this._windowRef.location,s=new Z;pt({mixedReadWrite:()=>{s.next(),s.complete()}},{injector:this._injector});let r=s.pipe(mn(()=>pe(this._ngZone,n,({classList:a})=>a.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(o=!1){return this._windowRef?pe(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:o,runningTransition:"stop"}).pipe(Wt(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):Lt(void 0)}_getContentRef(o,e){if(o)if(o instanceof ft){let i=o.createEmbeddedView(e);return this._applicationRef.attachView(i),new ke([i.rootNodes],i)}else return new ke([[this._document.createTextNode(`${o}`)]]);else return new ke([])}},Ir=(()=>{class t{constructor(){this._document=c(Se)}hide(){let e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,n=i.style,{overflow:s,paddingRight:r}=n;if(e>0){let a=parseFloat(window.getComputedStyle(i).paddingRight);n.paddingRight=`${a+e}px`}return n.overflow="hidden",()=>{e>0&&(n.paddingRight=r),n.overflow=s}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Fr=(()=>{class t{constructor(){this._nativeElement=c($).nativeElement,this._zone=c(ge),this._injector=c(re)}ngOnInit(){pt({mixedReadWrite:()=>pe(this._zone,this._nativeElement,(e,i)=>{i&&pi(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return pe(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,n){i&2&&(Ot("modal-backdrop"+(n.backdropClass?" "+n.backdropClass:"")),F("show",!n.animation)("fade",n.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(i,n){},encapsulation:2})}}return t})(),hi=class{update(o){}close(o){}dismiss(o){}},Br=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],Hr=["animation","backdropClass"],Yi=class{_applyWindowOptions(o,e){Br.forEach(i=>{at(e[i])&&(o[i]=e[i])})}_applyBackdropOptions(o,e){Hr.forEach(i=>{at(e[i])&&(o[i]=e[i])})}update(o){this._applyWindowOptions(this._windowCmptRef.instance,o),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,o)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(V(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(V(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(o,e,i,n){this._windowCmptRef=o,this._contentRef=e,this._backdropCmptRef=i,this._beforeDismiss=n,this._closed=new Z,this._dismissed=new Z,this._hidden=new Z,o.instance.dismissEvent.subscribe(s=>{this.dismiss(s)}),this.result=new Promise((s,r)=>{this._resolve=s,this._reject=r}),this.result.then(null,()=>{})}close(o){this._windowCmptRef&&(this._closed.next(o),this._resolve(o),this._removeModalElements())}_dismiss(o){this._dismissed.next(o),this._reject(o),this._removeModalElements()}dismiss(o){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(o);else{let e=this._beforeDismiss();Gs(e)?e.then(i=>{i!==!1&&this._dismiss(o)},()=>{}):e!==!1&&this._dismiss(o)}}_removeModalElements(){let o=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Lt(void 0);o.subscribe(()=>{let{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Ut(o,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},Ki=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(Ki||{}),Gr=(()=>{class t{constructor(){this._document=c(Se),this._elRef=c($),this._zone=c(ge),this._injector=c(re),this._closed$=new Z,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new D,this.shown=new Z,this.hidden=new Z}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":wt(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,pt({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:e}=this._elRef,i={animation:this.animation,runningTransition:"stop"},n=pe(this._zone,e,()=>e.classList.remove("show"),i),s=pe(this._zone,this._dialogEl.nativeElement,()=>{},i),r=Ut(n,s);return r.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),r}_show(){let e={animation:this.animation,runningTransition:"continue"},i=pe(this._zone,this._elRef.nativeElement,(s,r)=>{r&&pi(s),s.classList.add("show")},e),n=pe(this._zone,this._dialogEl.nativeElement,()=>{},e);Ut(i,n).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{X(e,"keydown").pipe(V(this._closed$),De(n=>n.key==="Escape")).subscribe(n=>{this.keyboard?requestAnimationFrame(()=>{n.defaultPrevented||this._zone.run(()=>this.dismiss(Ki.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let i=!1;X(this._dialogEl.nativeElement,"mousedown").pipe(V(this._closed$),Wt(()=>i=!1),Cn(()=>X(e,"mouseup").pipe(V(this._closed$),Ct(1))),De(({target:n})=>e===n)).subscribe(()=>{i=!0}),X(e,"click").pipe(V(this._closed$)).subscribe(({target:n})=>{e===n&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!i&&this._zone.run(()=>this.dismiss(Ki.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){let i=e.querySelector("[ngbAutofocus]"),n=co(e)[0];(i||n||e).focus()}}_restoreFocus(){let e=this._document.body,i=this._elWithFocus,n;i&&i.focus&&e.contains(i)?n=i:n=e,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&pe(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(i,n){if(i&1&&He(Es,7),i&2){let s;j(s=L())&&(n._dialogEl=s.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(i,n){i&2&&(le("aria-modal",!0)("aria-labelledby",n.ariaLabelledBy)("aria-describedby",n.ariaDescribedBy)("role",n.role),Ot("modal d-block"+(n.windowClass?" "+n.windowClass:"")),F("fade",n.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Zi,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,n){i&1&&(Yt(),E(0,"div",1,0)(2,"div",2),Kt(3),k()()),i&2&&Ot("modal-dialog"+(n.size?" modal-"+n.size:"")+(n.
6centered?" modal-dialog-centered":"")+n.fullscreenClass+(n.scrollable?" modal-dialog-scrollable":"")+(n.modalDialogClass?" "+n.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden} 7`],encapsulation:2})}}return t})(),Vr=(()=>{class t{constructor(){this._applicationRef=c(Si),this._injector=c(re),this._environmentInjector=c(yi),this._document=c(Se),this._scrollBar=c(Ir),this._activeWindowCmptHasChanged=new Z,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new D;let e=c(ge);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let i=this._windowCmpts[this._windowCmpts.length-1];uo(e,i.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(i.location.nativeElement)}})}_restoreScrollBar(){let e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,i,n){let s=n.container instanceof HTMLElement?n.container:at(n.container)?this._document.querySelector(n.container):this._document.body;if(!s)throw new Error(`The specified modal container "${n.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let r=new hi;e=n.injector||e;let a=e.get(yi,null)||this._environmentInjector,l=this._getContentRef(e,a,i,r,n),u=n.backdrop!==!1?this._attachBackdrop(s):void 0,d=this._attachWindowComponent(s,l.nodes),f=new Yi(d,l,u,n.beforeDismiss);return this._registerModalRef(f),this._registerWindowCmpt(d),f.hidden.pipe(Ct(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),r.close=p=>{f.close(p)},r.dismiss=p=>{f.dismiss(p)},r.update=p=>{f.update(p)},f.update(n),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),u&&u.instance&&u.changeDetectorRef.detectChanges(),d.changeDetectorRef.detectChanges(),f}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(i=>i.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let i=Xt(Fr,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_attachWindowComponent(e,i){let n=Xt(Gr,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_getContentRef(e,i,n,s,r){return n?n instanceof ft?this._createFromTemplateRef(n,s):wt(n)?this._createFromString(n):this._createFromComponent(e,i,n,s,r):new ke([])}_createFromTemplateRef(e,i){let n={$implicit:i,close(r){i.close(r)},dismiss(r){i.dismiss(r)}},s=e.createEmbeddedView(n);return this._applicationRef.attachView(s),new ke([s.rootNodes],s)}_createFromString(e){let i=this._document.createTextNode(`${e}`);return new ke([[i]])}_createFromComponent(e,i,n,s,r){let a=re.create({providers:[{provide:hi,useValue:s}],parent:e}),l=Xt(n,{environmentInjector:i,elementInjector:a}),u=l.location.nativeElement;return r.scrollable&&u.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new ke([[u]],l.hostView,l)}_setAriaHidden(e){let i=e.parentElement;i&&e!==this._document.body&&(Array.from(i.children).forEach(n=>{n!==e&&n.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,i)=>{e?i.setAttribute("aria-hidden",e):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){let i=()=>{let n=this._modalRefs.indexOf(e);n>-1&&(this._modalRefs.splice(n,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(i,i)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{let i=this._windowCmpts.indexOf(e);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),oh=(()=>{class t{constructor(){this._injector=c(re),this._modalStack=c(Vr),this._config=c(Ar)}open(e,i={}){let n=Qe($t(Qe({},this._config),{animation:this._config.animation}),i);return this._modalStack.open(this._injector,e,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var $r=(()=>{class t{constructor(){this._ngbConfig=c(It),this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),_o=t=>at(t)&&t!=="",jr=0,Lr=(()=>{class t{constructor(){this.templateRef=c(ft)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["ng-template","ngbNavContent",""]]})}}return t})(),sh=(()=>{class t{constructor(e){this.role=e,this.nav=c(rn)}static{this.\u0275fac=function(i){return new(i||t)(Qt("role"))}}static{this.\u0275dir=x({type:t,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(i,n){i&2&&le("role",n.role?n.role:n.nav.roles?"presentation":void 0)}})}}return t})(),go=(()=>{class t{constructor(){this._nav=c(rn),this._nativeElement=c($).nativeElement,this.disabled=!1,this.shown=new D,this.hidden=new D}ngOnInit(){at(this.domId)||(this.domId=`ngb-nav-${jr++}`)}get active(){return this._nav.activeId===this.id}get id(){return _o(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(at(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}isNgContainer(){return this._nativeElement.nodeType===Node.COMMENT_NODE}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbNavItem",""]],contentQueries:function(i,n,s){if(i&1&&ve(s,Lr,4),i&2){let r;j(r=L())&&(n.contentTpl=r.first)}},hostAttrs:[1,"nav-item"],inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:[0,"ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"]})}}return t})(),rn=(()=>{class t{constructor(e){this.role=e,this._config=c($r),this._cd=c(Oe),this._document=c(Se),this._nativeElement=c($).nativeElement,this.destroyRef=c(ht),this._navigatingWithKeyboard=!1,this.activeIdChange=new D,this.animation=this._config.animation,this.destroyOnHide=this._config.destroyOnHide,this.orientation=this._config.orientation,this.roles=this._config.roles,this.keyboard=this._config.keyboard,this.shown=new D,this.hidden=new D,this.navItemChange$=new Z,this.navChange=new D}click(e){e.disabled||this._updateActiveId(e.id)}onFocusout({relatedTarget:e}){this._nativeElement.contains(e)||(this._navigatingWithKeyboard=!1)}onKeyDown(e){if(this.roles!=="tablist"||!this.keyboard)return;let i=this.links.filter(r=>!r.navItem.disabled),{length:n}=i,s=-1;
7if(i.forEach((r,a)=>{r.nativeElement===this._document.activeElement&&(s=a)}),n){switch(e.key){case"ArrowUp":case"ArrowLeft":s=(s-1+n)%n;break;case"ArrowRight":case"ArrowDown":s=(s+1)%n;break;case"Home":s=0;break;case"End":s=n-1;break}this.keyboard==="changeWithArrows"&&this.select(i[s].navItem.id),i[s].nativeElement.focus(),this._navigatingWithKeyboard=!0,e.preventDefault()}}select(e){this._updateActiveId(e,!1)}ngAfterContentInit(){if(!at(this.activeId)){let e=this.items.first?this.items.first.id:null;_o(e)&&(this._updateActiveId(e,!1),this._cd.detectChanges())}this.items.changes.pipe(Re(this.destroyRef)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:e}){e&&!e.firstChange&&this._notifyItemChanged(e.currentValue)}_updateActiveId(e,i=!0){if(this.activeId!==e){let n=!1;i&&this.navChange.emit({activeId:this.activeId,nextId:e,preventDefault:()=>{n=!0}}),n||(this.activeId=e,this.activeIdChange.emit(e),this._notifyItemChanged(e))}}_notifyItemChanged(e){this.navItemChange$.next(this._getItemById(e))}_getItemById(e){return this.items&&this.items.find(i=>i.id===e)||null}static{this.\u0275fac=function(i){return new(i||t)(Qt("role"))}}static{this.\u0275dir=x({type:t,selectors:[["","ngbNav",""]],contentQueries:function(i,n,s){if(i&1&&(ve(s,go,4),ve(s,mo,5)),i&2){let r;j(r=L())&&(n.items=r),j(r=L())&&(n.links=r)}},hostAttrs:[1,"nav"],hostVars:4,hostBindings:function(i,n){i&1&&te("keydown.arrowLeft",function(r){return n.onKeyDown(r)})("keydown.arrowRight",function(r){return n.onKeyDown(r)})("keydown.arrowDown",function(r){return n.onKeyDown(r)})("keydown.arrowUp",function(r){return n.onKeyDown(r)})("keydown.Home",function(r){return n.onKeyDown(r)})("keydown.End",function(r){return n.onKeyDown(r)})("focusout",function(r){return n.onFocusout(r)}),i&2&&(le("aria-orientation",n.orientation==="vertical"&&n.roles==="tablist"?"vertical":void 0)("role",n.role?n.role:n.roles?"tablist":void 0),F("flex-column",n.orientation==="vertical"))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],features:[ut]})}}return t})(),mo=(()=>{class t{constructor(e){this.role=e,this.navItem=c(go),this.nav=c(rn),this.nativeElement=c($).nativeElement}get tabindex(){return this.nav.keyboard===!1?this.navItem.disabled?-1:void 0:this.nav._navigatingWithKeyboard||this.navItem.disabled||!this.navItem.active?-1:void 0}static{this.\u0275fac=function(i){return new(i||t)(Qt("role"))}}static{this.\u0275dir=x({type:t,selectors:[["","ngbNavLink",""]],hostAttrs:[1,"nav-link"],hostVars:12,hostBindings:function(i,n){i&2&&(ce("id",n.navItem.domId),le("role",n.role?n.role:n.nav.roles?"tab":void 0)("tabindex",n.tabindex)("aria-controls",n.navItem.isPanelInDom()?n.navItem.panelDomId:null)("aria-selected",n.navItem.active)("aria-disabled",n.navItem.disabled),F("nav-item",n.navItem.isNgContainer())("active",n.navItem.active)("disabled",n.navItem.disabled))}})}}return t})(),rh=(()=>{class t extends mo{static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Ie(t)))(n||t)}})()}static{this.\u0275dir=x({type:t,selectors:[["button","ngbNavLink",""]],hostAttrs:["type","button"],hostVars:1,hostBindings:function(i,n){i&1&&te("click",function(){return n.nav.click(n.navItem)}),i&2&&ce("disabled",n.navItem.disabled)},features:[wi]})}}return t})();var Ur=({classList:t})=>(t.remove("show"),()=>t.remove("active")),Wr=(t,o)=>{o&&pi(t),t.classList.add("show")},to=(()=>{class t{constructor(){this.nativeElement=c($).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(i,n){i&2&&(ce("id",n.item.panelDomId),le("role",n.role?n.role:n.nav.roles?"tabpanel":void 0)("aria-labelledby",n.item.domId),F("fade",n.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"}})}}return t})(),ah=(()=>{class t{constructor(){this._cd=c(Oe),this._ngZone=c(ge),this._activePane=null}isPanelTransitioning(e){return this._activePane?.item===e}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe(Re(this.nav.destroyRef),Tn(this._activePane?.item||null),wn(),Sn(1)).subscribe(e=>{let i={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?pe(this._ngZone,this._activePane.nativeElement,Ur,i).subscribe(()=>{let n=this._activePane?.item;this._activePane=this._getPaneForItem(e),this._cd.markForCheck(),this._activePane&&(this._activePane.nativeElement.classList.add("active"),pe(this._ngZone,this._activePane.nativeElement,Wr,i).subscribe(()=>{e&&(e.shown.emit(),this.nav.shown.emit(e.id))})),n&&(n.hidden.emit(),this.nav.hidden.emit(n.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.nativeElement.classList.add("show","active")}_getPaneForItem(e){return this._panes&&this._panes.find(i=>i.item===e)||null}_getActivePane(){return this._panes&&this._panes.find(e=>e.item.active)||null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["","ngbNavOutlet",""]],viewQuery:function(i,n){if(i&1&&He(to,5),i&2){let s;j(s=L())&&(n._panes=s)}},hostAttrs:[1,"tab-content"],inputs:{paneRole:"paneRole",nav:[0,"ngbNavOutlet","nav"]},attrs:ks,decls:2,vars:0,consts:[["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&Te(0,Fs,1,1,null,null,Fe),i&2&&Ce(n.nav.items)},dependencies:[to,ei],encapsulation:2,changeDetection:0})}}return t})();var lh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ke({type:t})}static{this.\u0275inj=Je({})}}return t})();var zr={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function Qr(t){let o=(t||"").trim();if(o.length===0)return[];let e=o.split(/\s+/).map(n=>n.split(":")).map(n=>
7zr[n[0]]||n),i=e.filter(n=>n.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(i.length===1&&e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:e}function Jr(t,o,e,i,n,s=0,r=0){let a=Qr(o);if(a.length===0)return()=>{};let l=new Set,u=[],d;function f(h,_){t.addEventListener(h,_),u.push(()=>t.removeEventListener(h,_))}function p(h,_){clearTimeout(d),_>0?d=setTimeout(h,_):h()}for(let[h,_]of a)_?(f(h,()=>{l.add(h),p(()=>l.size>0&&i(),s)}),f(_,()=>{l.delete(h),p(()=>l.size===0&&n(),r)})):f(h,()=>e()?p(n,r):p(i,s));return()=>u.forEach(h=>h())}var qr=(()=>{class t{constructor(){this._ngbConfig=c(It),this.autoClose=!0,this.placement="auto",this.popperOptions=e=>e,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Yr=0,Kr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=me({type:t,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(i,n){i&2&&(ce("id",n.id),Ot("tooltip"+(n.tooltipClass?" "+n.tooltipClass:"")),F("fade",n.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:Zi,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(i,n){i&1&&(Yt(),Be(0,"div",0),E(1,"div",1),Kt(2),k())},styles:[`ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0} 8`],encapsulation:2,changeDetection:0})}}return t})(),ch=(()=>{class t{constructor(){this._config=c(qr),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new D,this.hidden=new D,this._nativeElement=c($).nativeElement,this._ngZone=c(ge),this._document=c(Se),this._changeDetector=c(Oe),this._injector=c(re),this._ngbTooltipWindowId=`ngb-tooltip-${Yr++}`,this._popupService=new qi(Kr),this._windowRef=null,this._positioning=nn()}set ngbTooltip(e){this._ngbTooltip=e,!e&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(e){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){let{windowRef:i,transition$:n}=this._popupService.open(this._ngbTooltip,e??this.tooltipContext,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),this.container==="body"&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,baseClass:"bs-tooltip",updatePopperOptions:s=>this.popperOptions(on([0,6])(s))}),Promise.resolve().then(()=>{this._positioning.update()}),this._afterRenderRef=Jt({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector})}),tn(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),n.subscribe(()=>this.shown.emit())}}close(e=this.animation){this._windowRef!=null&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(e).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._afterRenderRef?.destroy(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return this._windowRef!=null}ngOnInit(){this._unregisterListenersFn=Jr(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:e}){e&&this.isOpen()&&this._windowRef.setInput("tooltipClass",e.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(wt(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=x({type:t,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[ut]})}}return t})(),dh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ke({type:t})}static{this.\u0275inj=Je({})}}return t})();var uh=new Mn("live announcer delay",{providedIn:"root",factory:()=>100});export{qn as a,Lu as b,Js as c,Uu as d,Wu as e,Dt as f,so as g,zu as h,Qu as i,oe as j,fi as k,ho as l,Ju as m,eh as
8n,Er as o,po as p,th as q,kr as r,ih as s,fo as t,nh as u,hi as v,oh as w,Lr as x,sh as y,go as z,rn as A,mo as B,rh as C,ah as D,lh as E,ch as F,dh as G};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.