| Server IP : 31.14.161.123 / Your IP : 216.73.216.229 Web Server : Apache System : Linux cpanel.classit.ro 4.18.0-553.144.1.el8_10.x86_64 #1 SMP Tue Jul 14 09:26:58 EDT 2026 x86_64 User : diamedic ( 1014) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/diamedic/public_html/app/ |
Upload File : |
import{a as Zt}from"./chunk-6NL2JLBK.js";import{$ as Bi,A as Ii,Ab as Gt,Ba as Bt,Ca as pt,Cb as J,D as _e,Da as Y,Db as He,E as xt,Ea as $i,Ec as de,F as qe,Fb as Wi,Ga as H,Ha as oe,Hb as zi,Ib as Zi,Jb as Qi,Kb as $t,L as Ke,La as U,Lb as jt,N as xi,Oc as qi,P as ki,Q as Fi,Rb as _t,S as Pi,Sb as Ge,Tb as gt,Ua as ji,Ub as Ut,Va as Be,Vb as Wt,Xb as Se,Yb as zt,Zb as le,_a as Ui,_b as ce,aa as Li,ab as ft,ba as Vi,c as Ri,ca as E,ea as kt,f as C,fa as ht,ia as Hi,ja as Q,jb as Le,jc as Ji,k as Ai,ka as Pe,kb as Ve,kc as Yi,lb as W,ma as Gi,mb as Lt,n as ut,ob as Vt,pa as u,s as Fe,sc as Xe,va as Ft,xb as Ht,ya as Pt,yb as ae,z as $,zc as Me}from"./chunk-YYBV4RPL.js";import{a as Ye,b as It}from"./chunk-EQDQRRRY.js";var O="top",B="bottom",x="right",R="left",mt="auto",ge=[O,B,x,R],ue="start",Oe="end",Ki="clippingParents",vt="viewport",$e="popper",Xi="reference",Qt=ge.reduce(function(t,o){return t.concat([o+"-"+ue,o+"-"+Oe])},[]),bt=[].concat(ge,[mt]).reduce(function(t,o){return t.concat([o,o+"-"+ue,o+"-"+Oe])},[]),kn="beforeRead",Fn="read",Pn="afterRead",Bn="beforeMain",Ln="main",Vn="afterMain",Hn="beforeWrite",Gn="write",$n="afterWrite",en=[kn,Fn,Pn,Bn,Ln,Vn,Hn,Gn,$n];function k(t){return t?(t.nodeName||"").toLowerCase():null}function D(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var o=t.ownerDocument;return o&&o.defaultView||window}return t}function q(t){var o=D(t).Element;return t instanceof o||t instanceof Element}function A(t){var o=D(t).HTMLElement;return t instanceof o||t instanceof HTMLElement}function je(t){if(typeof ShadowRoot>"u")return!1;var o=D(t).ShadowRoot;return t instanceof o||t instanceof ShadowRoot}function jn(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];!A(s)||!k(s)||(Object.assign(s.style,i),Object.keys(n).forEach(function(r){var l=n[r];l===!1?s.removeAttribute(r):s.setAttribute(r,l===!0?"":l)}))})}function Un(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]),l=r.reduce(function(a,d){return a[d]="",a},{});!A(n)||!k(n)||(Object.assign(n.style,l),Object.keys(s).forEach(function(a){n.removeAttribute(a)}))})}}var tn={name:"applyStyles",enabled:!0,phase:"write",fn:jn,effect:Un,requires:["computeStyles"]};function F(t){return t.split("-")[0]}var ie=Math.max,Ne=Math.min,he=Math.round;function Ue(){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 et(){return!/^((?!chrome|android).)*safari/i.test(Ue())}function K(t,o,e){o===void 0&&(o=!1),e===void 0&&(e=!1);var i=t.getBoundingClientRect(),n=1,s=1;o&&A(t)&&(n=t.offsetWidth>0&&he(i.width)/t.offsetWidth||1,s=t.offsetHeight>0&&he(i.height)/t.offsetHeight||1);var r=q(t)?D(t):window,l=r.visualViewport,a=!et()&&e,d=(i.left+(a&&l?l.offsetLeft:0))/n,c=(i.top+(a&&l?l.offsetTop:0))/s,f=i.width/n,p=i.height/s;return{width:f,height:p,top:c,right:d+f,bottom:c+p,left:d,x:d,y:c}}function Ce(t){var o=K(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 tt(t,o){var e=o.getRootNode&&o.getRootNode();if(t.contains(o))return!0;if(e&&je(e)){var i=o;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function j(t){return D(t).getComputedStyle(t)}function Jt(t){return["table","td","th"].indexOf(k(t))>=0}function L(t){return((q(t)?t.ownerDocument:t.document)||window.document).documentElement}function pe(t){return k(t)==="html"?t:t.assignedSlot||t.parentNode||(je(t)?t.host:null)||L(t)}function nn(t){return!A(t)||j(t).position==="fixed"?null:t.offsetParent}function Wn(t){var o=/firefox/i.test(Ue()),e=/Trident/i.test(Ue());if(e&&A(t)){var i=j(t);if(i.position==="fixed")return null}var n=pe(t);for(je(n)&&(n=n.host);A(n)&&["html","body"].indexOf(k(n))<0;){var s=j(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 ne(t){for(var o=D(t),e=nn(t);e&&Jt(e)&&j(e).position==="static";)e=nn(e);return e&&(k(e)==="html"||k(e)==="body"&&j(e).position==="static")?o:e||Wn(t)||o}function Ee(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Re(t,o,e){return ie(t,Ne(o,e))}function on(t,o,e){var i=Re(t,o,e);return i>e?e:i}function it(){return{top:0,right:0,bottom:0,left:0}}function nt(t){return Object.assign({},it(),t)}function ot(t,o){return o.reduce(function(e,i){return e[i]=t,e},{})}var zn=function(o,e){return o=typeof o=="function"?o(Object.assign({},e.rects,{placement:e.placement})):o,nt(typeof o!="number"?o:ot(o,ge))};function Zn(t){var o,e=t.state,i=t.name,n=t.options,s=e.elements.arrow,r=e.modifiersData.popperOffsets,l=F(e.placement),a=Ee(l),d=[R,x].indexOf(l)>=0,c=d?"height":"width";if(!(!s||!r)){var f=zn(n.padding,e),p=Ce(s),h=a==="y"?O:R,w=a==="y"?B:x,m=e.rects.reference[c]+e.rects.reference[a]-r[a]-e.rects.popper[c],g=r[a]-e.rects.reference[a],y=ne(s),S=y?a==="y"?y.clientHeight||0:y.clientWidth||0:0,M=m/2-g/2,_=f[h],v=S-p[c]-f[w],b=S/2-p[c]/2+M,T=Re(_,b,v),P=a;e.modifiersData[i]=(o={},o[P]=T,o.centerOffset=T-b,o)}}function Qn(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)||tt(o.elements.popper,n)&&(o.elements.arrow=n))}var Yt={name:"arrow",enabled:!0,phase:"main",fn:Zn,effect:Qn,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function X(t){return t.split("-")[1]}var Jn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yn(t,o){var e=t.x,i=t.y,n=o.devicePixelRatio||1;return{x:he(e*n)/n||0,y:he(i*n)/n||0}}function sn(t){var o,e=t.popper,i=t.popperRect,n=t.placement,s=t.variation,r=t.offsets,l=t.position,a=t.gpuAcceleration,d=t.adaptive,c=t.roundOffsets,f=t.isFixed,p=r.x,h=p===void 0?0:p,w=r.y,m=w===void 0?0:w,g=typeof c=="function"?c({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var y=r.hasOwnProperty("x"),S=r.hasOwnProperty("y"),M=R,_=O,v=window;if(d){var b=ne(e),T="clientHeight",P="clientWidth";if(b===D(e)&&(b=L(e),j(b).position!=="static"&&l==="absolute"&&(T="scrollHeight",P="scrollWidth")),b=b,n===O||(n===R||n===x)&&s===Oe){_=B;var I=f&&b===v&&v.visualViewport?v.visualViewport.height:b[T];m-=I-i.height,m*=a?1:-1}if(n===R||(n===O||n===B)&&s===Oe){M=x;var N=f&&b===v&&v.visualViewport?v.visualViewport.width:b[P];h-=N-i.width,h*=a?1:-1}}var V=Object.assign({position:l},d&&Jn),ee=c===!0?Yn({x:h,y:m},D(e)):{x:h,y:m};if(h=ee.x,m=ee.y,a){var G;return Object.assign({},V,(G={},G[_]=S?"0":"",G[M]=y?"0":"",G.transform=(v.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",G))}return Object.assign({},V,(o={},o[_]=S?m+"px":"",o[M]=y?h+"px":"",o.transform="",o))}function qn(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,l=e.roundOffsets,a=l===void 0?!0:l,d={placement:F(o.placement),variation:X(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,sn(Object.assign({},d,{offsets:o.modifiersData.popperOffsets,position:o.options.strategy,adaptive:r,roundOffsets:a})))),o.modifiersData.arrow!=null&&(o.styles.arrow=Object.assign({},o.styles.arrow,sn(Object.assign({},d,{offsets:o.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-placement":o.placement})}var rn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qn,data:{}};var yt={passive:!0};function Kn(t){var o=t.state,e=t.instance,i=t.options,n=i.scroll,s=n===void 0?!0:n,r=i.resize,l=r===void 0?!0:r,a=D(o.elements.popper),d=[].concat(o.scrollParents.reference,o.scrollParents.popper);return s&&d.forEach(function(c){c.addEventListener("scroll",e.update,yt)}),l&&a.addEventListener("resize",e.update,yt),function(){s&&d.forEach(function(c){c.removeEventListener("scroll",e.update,yt)}),l&&a.removeEventListener("resize",e.update,yt)}}var an={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Kn,data:{}};var Xn={left:"right",right:"left",bottom:"top",top:"bottom"};function We(t){return t.replace(/left|right|bottom|top/g,function(o){return Xn[o]})}var eo={start:"end",end:"start"};function wt(t){return t.replace(/start|end/g,function(o){return eo[o]})}function Ae(t){var o=D(t),e=o.pageXOffset,i=o.pageYOffset;return{scrollLeft:e,scrollTop:i}}function Ie(t){return K(L(t)).left+Ae(t).scrollLeft}function qt(t,o){var e=D(t),i=L(t),n=e.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,a=0;if(n){s=n.width,r=n.height;var d=et();(d||!d&&o==="fixed")&&(l=n.offsetLeft,a=n.offsetTop)}return{width:s,height:r,x:l+Ie(t),y:a}}function Kt(t){var o,e=L(t),i=Ae(t),n=(o=t.ownerDocument)==null?void 0:o.body,s=ie(e.scrollWidth,e.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=ie(e.scrollHeight,e.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),l=-i.scrollLeft+Ie(t),a=-i.scrollTop;return j(n||e).direction==="rtl"&&(l+=ie(e.clientWidth,n?n.clientWidth:0)-s),{width:s,height:r,x:l,y:a}}function xe(t){var o=j(t),e=o.overflow,i=o.overflowX,n=o.overflowY;return/auto|scroll|overlay|hidden/.test(e+n+i)}function Dt(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:A(t)&&xe(t)?t:Dt(pe(t))}function me(t,o){var e;o===void 0&&(o=[]);var i=Dt(t),n=i===((e=t.ownerDocument)==null?void 0:e.body),s=D(i),r=n?[s].concat(s.visualViewport||[],xe(i)?i:[]):i,l=o.concat(r);return n?l:l.concat(me(pe(r)))}function ze(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function to(t,o){var e=K(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===vt?ze(qt(t,e)):q(o)?to(o,e):ze(Kt(L(t)))}function io(t){var o=me(pe(t)),e=["absolute","fixed"].indexOf(j(t).position)>=0,i=e&&A(t)?ne(t):t;return q(i)?o.filter(function(n){return q(n)&&tt(n,i)&&k(n)!=="body"}):[]}function Xt(t,o,e,i){var n=o==="clippingParents"?io(t):[].concat(o),s=[].concat(n,[e]),r=s[0],l=s.reduce(function(a,d){var c=ln(t,d,i);return a.top=ie(c.top,a.top),a.right=Ne(c.right,a.right),a.bottom=Ne(c.bottom,a.bottom),a.left=ie(c.left,a.left),a},ln(t,r,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function st(t){var o=t.reference,e=t.element,i=t.placement,n=i?F(i):null,s=i?X(i):null,r=o.x+o.width/2-e.width/2,l=o.y+o.height/2-e.height/2,a;switch(n){case O:a={x:r,y:o.y-e.height};break;case B:a={x:r,y:o.y+o.height};break;case x:a={x:o.x+o.width,y:l};break;case R:a={x:o.x-e.width,y:l};break;default:a={x:o.x,y:o.y}}var d=n?Ee(n):null;if(d!=null){var c=d==="y"?"height":"width";switch(s){case ue:a[d]=a[d]-(o[c]/2-e[c]/2);break;case Oe:a[d]=a[d]+(o[c]/2-e[c]/2);break;default:}}return a}function ve(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,l=e.boundary,a=l===void 0?Ki:l,d=e.rootBoundary,c=d===void 0?vt:d,f=e.elementContext,p=f===void 0?$e:f,h=e.altBoundary,w=h===void 0?!1:h,m=e.padding,g=m===void 0?0:m,y=nt(typeof g!="number"?g:ot(g,ge)),S=p===$e?Xi:$e,M=t.rects.popper,_=t.elements[w?S:p],v=Xt(q(_)?_:_.contextElement||L(t.elements.popper),a,c,r),b=K(t.elements.reference),T=st({reference:b,element:M,strategy:"absolute",placement:n}),P=ze(Object.assign({},M,T)),I=p===$e?P:b,N={top:v.top-I.top+y.top,bottom:I.bottom-v.bottom+y.bottom,left:v.left-I.left+y.left,right:I.right-v.right+y.right},V=t.modifiersData.offset;if(p===$e&&V){var ee=V[n];Object.keys(N).forEach(function(G){var be=[x,B].indexOf(G)>=0?1:-1,ye=[O,B].indexOf(G)>=0?"y":"x";N[G]+=ee[ye]*be})}return N}function ei(t,o){o===void 0&&(o={});var e=o,i=e.placement,n=e.boundary,s=e.rootBoundary,r=e.padding,l=e.flipVariations,a=e.allowedAutoPlacements,d=a===void 0?bt:a,c=X(i),f=c?l?Qt:Qt.filter(function(w){return X(w)===c}):ge,p=f.filter(function(w){return d.indexOf(w)>=0});p.length===0&&(p=f);var h=p.reduce(function(w,m){return w[m]=ve(t,{placement:m,boundary:n,rootBoundary:s,padding:r})[F(m)],w},{});return Object.keys(h).sort(function(w,m){return h[w]-h[m]})}function no(t){if(F(t)===mt)return[];var o=We(t);return[wt(t),o,wt(o)]}function oo(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,l=r===void 0?!0:r,a=e.fallbackPlacements,d=e.padding,c=e.boundary,f=e.rootBoundary,p=e.altBoundary,h=e.flipVariations,w=h===void 0?!0:h,m=e.allowedAutoPlacements,g=o.options.placement,y=F(g),S=y===g,M=a||(S||!w?[We(g)]:no(g)),_=[g].concat(M).reduce(function(ke,fe){return ke.concat(F(fe)===mt?ei(o,{placement:fe,boundary:c,rootBoundary:f,padding:d,flipVariations:w,allowedAutoPlacements:m}):fe)},[]),v=o.rects.reference,b=o.rects.popper,T=new Map,P=!0,I=_[0],N=0;N<_.length;N++){var V=_[N],ee=F(V),G=X(V)===ue,be=[O,B].indexOf(ee)>=0,ye=be?"width":"height",Z=ve(o,{placement:V,boundary:c,rootBoundary:f,altBoundary:p,padding:d}),te=be?G?x:R:G?B:O;v[ye]>b[ye]&&(te=We(te));var rt=We(te),we=[];if(s&&we.push(Z[ee]<=0),l&&we.push(Z[te]<=0,Z[rt]<=0),we.every(function(ke){return ke})){I=V,P=!1;break}T.set(V,we)}if(P)for(var at=w?3:1,Ct=function(fe){var Je=_.find(function(ct){var De=T.get(ct);if(De)return De.slice(0,fe).every(function(Et){return Et})});if(Je)return I=Je,"break"},Qe=at;Qe>0;Qe--){var lt=Ct(Qe);if(lt==="break")break}o.placement!==I&&(o.modifiersData[i]._skip=!0,o.placement=I,o.reset=!0)}}var ti={name:"flip",enabled:!0,phase:"main",fn:oo,requiresIfExists:["offset"],data:{_skip:!1}};function so(t,o,e){var i=F(t),n=[R,O].indexOf(i)>=0?-1:1,s=typeof e=="function"?e(Object.assign({},o,{placement:t})):e,r=s[0],l=s[1];return r=r||0,l=(l||0)*n,[R,x].indexOf(i)>=0?{x:l,y:r}:{x:r,y:l}}function ro(t){var o=t.state,e=t.options,i=t.name,n=e.offset,s=n===void 0?[0,0]:n,r=bt.reduce(function(c,f){return c[f]=so(f,o.rects,s),c},{}),l=r[o.placement],a=l.x,d=l.y;o.modifiersData.popperOffsets!=null&&(o.modifiersData.popperOffsets.x+=a,o.modifiersData.popperOffsets.y+=d),o.modifiersData[i]=r}var ii={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ro};function ao(t){var o=t.state,e=t.name;o.modifiersData[e]=st({reference:o.rects.reference,element:o.rects.popper,strategy:"absolute",placement:o.placement})}var cn={name:"popperOffsets",enabled:!0,phase:"read",fn:ao,data:{}};function ni(t){return t==="x"?"y":"x"}function lo(t){var o=t.state,e=t.options,i=t.name,n=e.mainAxis,s=n===void 0?!0:n,r=e.altAxis,l=r===void 0?!1:r,a=e.boundary,d=e.rootBoundary,c=e.altBoundary,f=e.padding,p=e.tether,h=p===void 0?!0:p,w=e.tetherOffset,m=w===void 0?0:w,g=ve(o,{boundary:a,rootBoundary:d,padding:f,altBoundary:c}),y=F(o.placement),S=X(o.placement),M=!S,_=Ee(y),v=ni(_),b=o.modifiersData.popperOffsets,T=o.rects.reference,P=o.rects.popper,I=typeof m=="function"?m(Object.assign({},o.rects,{placement:o.placement})):m,N=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),V=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,ee={x:0,y:0};if(b){if(s){var G,be=_==="y"?O:R,ye=_==="y"?B:x,Z=_==="y"?"height":"width",te=b[_],rt=te+g[be],we=te-g[ye],at=h?-P[Z]/2:0,Ct=S===ue?T[Z]:P[Z],Qe=S===ue?-P[Z]:-T[Z],lt=o.elements.arrow,ke=h&<?Ce(lt):{width:0,height:0},fe=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:it(),Je=fe[be],ct=fe[ye],De=Re(0,T[Z],ke[Z]),Et=M?T[Z]/2-at-De-Je-N.mainAxis:Ct-De-Je-N.mainAxis,Cn=M?-T[Z]/2+at+De+ct+N.mainAxis:Qe+De+ct+N.mainAxis,Rt=o.elements.arrow&&ne(o.elements.arrow),En=Rt?_==="y"?Rt.clientTop||0:Rt.clientLeft||0:0,wi=(G=V?.[_])!=null?G:0,Rn=te+Et-wi-En,An=te+Cn-wi,Di=Re(h?Ne(rt,Rn):rt,te,h?ie(we,An):we);b[_]=Di,ee[_]=Di-te}if(l){var Ti,In=_==="x"?O:R,xn=_==="x"?B:x,Te=b[v],dt=v==="y"?"height":"width",Si=Te+g[In],Mi=Te-g[xn],At=[O,R].indexOf(y)!==-1,Oi=(Ti=V?.[v])!=null?Ti:0,Ni=At?Si:Te-T[dt]-P[dt]-Oi+N.altAxis,Ci=At?Te+T[dt]+P[dt]-Oi-N.altAxis:Mi,Ei=h&&At?on(Ni,Te,Ci):Re(h?Ni:Si,Te,h?Ci:Mi);b[v]=Ei,ee[v]=Ei-Te}o.modifiersData[i]=ee}}var oi={name:"preventOverflow",enabled:!0,phase:"main",fn:lo,requiresIfExists:["offset"]};function si(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ri(t){return t===D(t)||!A(t)?Ae(t):si(t)}function co(t){var o=t.getBoundingClientRect(),e=he(o.width)/t.offsetWidth||1,i=he(o.height)/t.offsetHeight||1;return e!==1||i!==1}function ai(t,o,e){e===void 0&&(e=!1);var i=A(o),n=A(o)&&co(o),s=L(o),r=K(t,n,e),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(i||!i&&!e)&&((k(o)!=="body"||xe(s))&&(l=ri(o)),A(o)?(a=K(o,!0),a.x+=o.clientLeft,a.y+=o.clientTop):s&&(a.x=Ie(s))),{x:r.left+l.scrollLeft-a.x,y:r.top+l.scrollTop-a.y,width:r.width,height:r.height}}function uo(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);var r=[].concat(s.requires||[],s.requiresIfExists||[]);r.forEach(function(l){if(!e.has(l)){var a=o.get(l);a&&n(a)}}),i.push(s)}return t.forEach(function(s){e.has(s.name)||n(s)}),i}function li(t){var o=uo(t);return en.reduce(function(e,i){return e.concat(o.filter(function(n){return n.phase===i}))},[])}function ci(t){var o;return function(){return o||(o=new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(t())})})),o}}function di(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 dn={placement:"bottom",modifiers:[],strategy:"absolute"};function un(){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 hn(t){t===void 0&&(t={});var o=t,e=o.defaultModifiers,i=e===void 0?[]:e,n=o.defaultOptions,s=n===void 0?dn:n;return function(l,a,d){d===void 0&&(d=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},dn,s),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},f=[],p=!1,h={state:c,setOptions:function(y){var S=typeof y=="function"?y(c.options):y;m(),c.options=Object.assign({},s,c.options,S),c.scrollParents={reference:q(l)?me(l):l.contextElement?me(l.contextElement):[],popper:me(a)};var M=li(di([].concat(i,c.options.modifiers)));return c.orderedModifiers=M.filter(function(_){return _.enabled}),w(),h.update()},forceUpdate:function(){if(!p){var y=c.elements,S=y.reference,M=y.popper;if(un(S,M)){c.rects={reference:ai(S,ne(M),c.options.strategy==="fixed"),popper:Ce(M)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(N){return c.modifiersData[N.name]=Object.assign({},N.data)});for(var _=0;_<c.orderedModifiers.length;_++){if(c.reset===!0){c.reset=!1,_=-1;continue}var v=c.orderedModifiers[_],b=v.fn,T=v.options,P=T===void 0?{}:T,I=v.name;typeof b=="function"&&(c=b({state:c,options:P,name:I,instance:h})||c)}}}},update:ci(function(){return new Promise(function(g){h.forceUpdate(),g(c)})}),destroy:function(){m(),p=!0}};if(!un(l,a))return h;h.setOptions(d).then(function(g){!p&&d.onFirstUpdate&&d.onFirstUpdate(g)});function w(){c.orderedModifiers.forEach(function(g){var y=g.name,S=g.options,M=S===void 0?{}:S,_=g.effect;if(typeof _=="function"){var v=_({state:c,name:y,instance:h,options:M}),b=function(){};f.push(v||b)}})}function m(){f.forEach(function(g){return g()}),f=[]}return h}}var ho=[an,cn,rn,tn],ui=hn({defaultModifiers:ho});var mn=["*"];var po=t=>({$implicit:t});var fo=["dialog"],_o=["ngbNavOutlet",""];function go(t,o){}function mo(t,o){if(t&1&&($t(0,"div",0),Vt(1,go,0,0,"ng-template",1),jt()),t&2){let e=gt().$implicit,i=gt();Gt("item",e)("nav",i.nav)("role",i.paneRole),Ui(),Gt("ngTemplateOutlet",(e.contentTpl==null?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",Yi(5,po,e.active||i.isPanelTransitioning(e)))}}function vo(t,o){if(t&1&&Vt(0,mo,2,7,"div",0),t&2){let e=o.$implicit,i=gt();Wi(e.isPanelInDom()||i.isPanelTransitioning(e)?0:-1)}}var vn={animation:!0,transitionTimerDelayMs:5},Nt=(()=>{class t{constructor(){this.animation=vn.animation}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function bo(t){let{transitionDelay:o,transitionDuration:e}=window.getComputedStyle(t),i=parseFloat(o),n=parseFloat(e);return(i+n)*1e3}function gi(t){return typeof t=="string"}function re(t){return t!=null}function bn(t){return t&&t.then}function yo(t,o){return!o||typeof t.closest>"u"?null:t.closest(o)}function Ze(t){return(t||document.body).getBoundingClientRect()}function wo(t){return o=>new Ri(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 yn(t=document){let o=t?.activeElement;return o?o.shadowRoot?yn(o.shadowRoot):o:null}var Do=()=>{},{transitionTimerDelayMs:To}=vn,Tt=new Map,z=(t,o,e,i)=>{let n=i.context||{},s=Tt.get(o);if(s)switch(i.runningTransition){case"continue":return Ai;case"stop":t.run(()=>s.transition$.complete()),n=Object.assign(s.context,n),Tt.delete(o)}let r=e(o,i.animation,n)||Do;if(!i.animation||window.getComputedStyle(o).transitionProperty==="none")return t.run(()=>r()),ut(void 0).pipe(wo(t));let l=new C,a=new C,d=l.pipe(Fi(!0));Tt.set(o,{transition$:l,complete:()=>{a.next(),a.complete()},context:n});let c=bo(o);return t.runOutsideAngular(()=>{let f=$(o,"transitionend").pipe(E(d),_e(({target:h})=>h===o)),p=Ii(c+To).pipe(E(d));xt(p,f,a).pipe(E(d)).subscribe(()=>{Tt.delete(o),t.run(()=>{r(),l.next(),l.complete()})})}),l.asObservable()};function So(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 Mo=(t,o,e)=>{let{direction:i,maxSize:n,dimension:s}=e,{classList:r}=t;function l(){r.add("collapse"),i==="show"?r.add("show"):r.remove("show")}if(!o){l();return}return n||(n=So(t,s),e.maxSize=n,t.style[s]=i!=="show"?n:"0px",r.remove("collapse","collapsing","show"),Ze(t),r.add("collapsing")),t.style[s]=i==="show"?n:"0px",()=>{l(),r.remove("collapsing"),t.style[s]=""}},Oo=(()=>{class t{constructor(){this._ngbConfig=u(Nt),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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Xc=(()=>{class t{constructor(){this._config=u(Oo),this._element=u(U),this._zone=u(oe),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new H,this.horizontal=this._config.horizontal,this.shown=new H,this.hidden=new H}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 z(this._zone,this._element.nativeElement,Mo,{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=W({type:t,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(i,n){i&2&&J("collapse-horizontal",n.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"]})}}return t})();var ed=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ve({type:t})}static{this.\u0275inj=Pe({})}}return t})();var St=(t,o)=>o?o.some(e=>e.contains(t)):!1,pn=(t,o)=>!o||yo(t,o)!=null,No=(()=>{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})(),Co=t=>No?()=>setTimeout(()=>t(),100):t;function Eo(t,o,e,i,n,s,r,l){e&&t.runOutsideAngular(Co(()=>{let a=p=>{let h=p.target;return p.button===2||St(h,r)?!1:e==="inside"?St(h,s)&&pn(h,l):e==="outside"?!St(h,s):pn(h,l)||!St(h,s)},d=$(o,"keydown").pipe(E(n),_e(p=>p.key==="Escape"),kt(p=>p.preventDefault())),c=$(o,"mousedown").pipe(Fe(a),E(n)),f=$(o,"mouseup").pipe(ht(c),_e(([p,h])=>h),xi(0),E(n));xt([d.pipe(Fe(p=>0)),f.pipe(Fe(p=>1))]).subscribe(p=>t.run(()=>i(p)))}))}var wn=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function mi(t){let o=Array.from(t.querySelectorAll(wn)).filter(e=>e.tabIndex!==-1);return[o[0],o[o.length-1]]}var Dn=(t,o,e,i=!1)=>{t.runOutsideAngular(()=>{let n=$(o,"focusin").pipe(E(e),Fe(s=>s.target));$(o,"keydown").pipe(E(e),_e(s=>s.key==="Tab"),ht(n)).subscribe(([s,r])=>{let[l,a]=mi(o);(r===l||r===o)&&s.shiftKey&&(a.focus(),s.preventDefault()),r===a&&!s.shiftKey&&(l.focus(),s.preventDefault())}),i&&$(o,"click").pipe(E(e),ht(n),Fe(s=>s[1])).subscribe(s=>s.focus())})},Ro=(()=>{class t{constructor(){this._element=u(de).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ao=/\s+/,Io=/ +/gi,xo={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 ko(t,o){let[e,i]=xo[t];return o&&i||e}var Fo=/^left/,Po=/^right/,Bo=/^start/,Lo=/^end/;function Vo(t,o){let[e,i]=o.split("-"),n=e.replace(Fo,"start").replace(Po,"end"),s=[n];if(i){let r=i;(e==="left"||e==="right")&&(r=r.replace(Bo,"top").replace(Lo,"bottom")),s.push(`${n}-${r}`)}return t&&(s=s.map(r=>`${t}-${r}`)),s.join(" ")}function fn({placement:t,baseClass:o},e){let i=Array.isArray(t)?t:t.split(Ao),n=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],s=i.findIndex(d=>d==="auto");s>=0&&n.forEach(function(d){i.find(c=>c.search("^"+d)!==-1)==null&&i.splice(s++,1,d)});let r=i.map(d=>ko(d,e.isRTL()));return{placement:r.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!o,phase:"write",fn({state:d}){let c=new RegExp(o+"(-[a-z]+)*","gi"),f=d.elements.popper,p=d.placement,h=f.className;h=h.replace(c,""),h+=` ${Vo(o,p)}`,h=h.trim().replace(Io," "),f.className=h}},ti,oi,Yt,{enabled:!0,name:"flip",options:{fallbackPlacements:r}}]}}function _n(t){return t}function Ho(){let t=u(Ro),o=null;return{createPopper(e){if(!o){let n=(e.updatePopperOptions||_n)(fn(e,t));o=ui(e.hostElement,e.targetElement,n)}},update(){o&&o.update()},setOptions(e){if(o){let n=(e.updatePopperOptions||_n)(fn(e,t));o.setOptions(n)}},destroy(){o&&(o.destroy(),o=null)}}}function Go(t){return o=>(o.modifiers.push(ii,{name:"offset",options:{offset:()=>t}}),o)}var td=new Date(1882,10,12),id=new Date(2174,10,25);var nd=1e3*60*60*24;var vi=1080,$o=24*vi,jo=12*vi+793,od=29*$o+jo,sd=11*vi+204;var Uo=(()=>{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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wo=(()=>{class t{constructor(){this._disabled=!1,this.nativeElement=u(U).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=W({type:t,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(i,n){i&2&&(_t("tabIndex",n.disabled?-1:n.tabindex),J("disabled",n.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"}})}}return t})();var zo=(()=>{class t{constructor(){this.dropdown=u(Tn),this.nativeElement=u(U).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(i,n,s){if(i&1&&Se(s,Wo,4),i&2){let r;le(r=ce())&&(n.menuItems=r)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(i,n){i&1&&Ge("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&&J("show",n.dropdown.isOpen())}})}}return t})(),hi=(()=>{class t{constructor(){this.dropdown=u(Tn),this.nativeElement=u(U).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,n){i&2&&(ae("aria-expanded",n.dropdown.isOpen()),J("show",n.dropdown.isOpen()))}})}}return t})(),rd=(()=>{class t extends hi{static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Bt(t)))(n||t)}})()}static{this.\u0275dir=W({type:t,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,n){i&1&&Ge("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&&(ae("aria-expanded",n.dropdown.isOpen()),J("show",n.dropdown.isOpen()))},features:[Ji([{provide:hi,useExisting:Hi(()=>t)}]),Lt]})}}return t})(),Tn=(()=>{class t{constructor(){this._changeDetector=u(Xe),this._config=u(Uo),this._document=u(de),this._injector=u(Y),this._ngZone=u(oe),this._nativeElement=u(U).nativeElement,this._destroyCloseHandlers$=new C,this._bodyContainer=null,this._positioning=Ho(),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 H}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){Be({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(Go([0,2])(e))}),this._applyPlacementClasses(),this._afterRenderRef=ji({write:()=>{this._positionMenu()}},{injector:this._injector})})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Eo(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,l=this._isEventFromToggle(e);if(!l&&n.length&&n.forEach((a,d)=>{a.contains(e.target)&&(r=a),a===yn(this._document)&&(s=d)}),i===" "||i==="Enter"){r&&(this.autoClose===!0||this.autoClose==="inside")&&$(r,"click").pipe(Ke(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 a=this._menu.nativeElement.querySelectorAll(wn);e.shiftKey&&e.target===a[0]?(this._anchor.nativeElement.focus(),e.preventDefault()):!e.shiftKey&&e.target===a[a.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else $(e.target,"focusout").pipe(Ke(1)).subscribe(({relatedTarget:a})=>{this._nativeElement.contains(a)||this.close()});return}if(l||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=W({type:t,selectors:[["","ngbDropdown",""]],contentQueries:function(i,n,s){if(i&1&&(Se(s,zo,5),Se(s,hi,5)),i&2){let r;le(r=ce())&&(n._menu=r.first),le(r=ce())&&(n._anchor=r.first)}},hostVars:2,hostBindings:function(i,n){i&2&&J("show",n.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[Pt]})}}return t})();var ad=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ve({type:t})}static{this.\u0275inj=Pe({})}}return t})(),Zo=(()=>{class t{constructor(){this._ngbConfig=u(Nt),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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),se=class{constructor(o,e,i){this.nodes=o,this.viewRef=e,this.componentRef=i}};var Sn=(()=>{class t{constructor(){this._document=u(de)}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 l=parseFloat(window.getComputedStyle(i).paddingRight);n.paddingRight=`${l+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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Qo=(()=>{class t{constructor(){this._nativeElement=u(U).nativeElement,this._zone=u(oe),this._injector=u(Y)}ngOnInit(){Be({mixedReadWrite:()=>z(this._zone,this._nativeElement,(e,i)=>{i&&Ze(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return z(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=Le({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,n){i&2&&(He("modal-backdrop"+(n.backdropClass?" "+n.backdropClass:"")),J("show",!n.animation)("fade",n.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(i,n){},encapsulation:2})}}return t})(),Mt=class{update(o){}close(o){}dismiss(o){}},Jo=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],Yo=["animation","backdropClass"],pi=class{_applyWindowOptions(o,e){Jo.forEach(i=>{re(e[i])&&(o[i]=e[i])})}_applyBackdropOptions(o,e){Yo.forEach(i=>{re(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(E(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(E(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 C,this._dismissed=new C,this._hidden=new C,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();bn(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():ut(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}}),qe(o,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},fi=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(fi||{}),qo=(()=>{class t{constructor(){this._document=u(de),this._elRef=u(U),this._zone=u(oe),this._injector=u(Y),this._closed$=new C,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new H,this.shown=new C,this.hidden=new C}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":gi(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,Be({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:e}=this._elRef,i={animation:this.animation,runningTransition:"stop"},n=z(this._zone,e,()=>e.classList.remove("show"),i),s=z(this._zone,this._dialogEl.nativeElement,()=>{},i),r=qe(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=z(this._zone,this._elRef.nativeElement,(s,r)=>{r&&Ze(s),s.classList.add("show")},e),n=z(this._zone,this._dialogEl.nativeElement,()=>{},e);qe(i,n).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{$(e,"keydown").pipe(E(this._closed$),_e(n=>n.key==="Escape")).subscribe(n=>{this.keyboard?requestAnimationFrame(()=>{n.defaultPrevented||this._zone.run(()=>this.dismiss(fi.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let i=!1;$(this._dialogEl.nativeElement,"mousedown").pipe(E(this._closed$),kt(()=>i=!1),Vi(()=>$(e,"mouseup").pipe(E(this._closed$),Ke(1))),_e(({target:n})=>e===n)).subscribe(()=>{i=!0}),$(e,"click").pipe(E(this._closed$)).subscribe(({target:n})=>{e===n&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!i&&this._zone.run(()=>this.dismiss(fi.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=mi(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"&&z(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=Le({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(i,n){if(i&1&&zt(fo,7),i&2){let s;le(s=ce())&&(n._dialogEl=s.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(i,n){i&2&&(ae("aria-modal",!0)("aria-labelledby",n.ariaLabelledBy)("aria-describedby",n.ariaDescribedBy)("role",n.role),He("modal d-block"+(n.windowClass?" "+n.windowClass:"")),J("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:mn,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,n){i&1&&(Ut(),$t(0,"div",1,0)(2,"div",2),Wt(3),jt()()),i&2&&He("modal-dialog"+(n.size?" modal-"+n.size:"")+(n.centered?" 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}
`],encapsulation:2})}}return t})(),Ko=(()=>{class t{constructor(){this._applicationRef=u(Ht),this._injector=u(Y),this._environmentInjector=u(Ft),this._document=u(de),this._scrollBar=u(Sn),this._activeWindowCmptHasChanged=new C,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new H;let e=u(oe);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let i=this._windowCmpts[this._windowCmpts.length-1];Dn(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:re(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 Mt;e=n.injector||e;let l=e.get(Ft,null)||this._environmentInjector,a=this._getContentRef(e,l,i,r,n),d=n.backdrop!==!1?this._attachBackdrop(s):void 0,c=this._attachWindowComponent(s,a.nodes),f=new pi(c,a,d,n.beforeDismiss);return this._registerModalRef(f),this._registerWindowCmpt(c),f.hidden.pipe(Ke(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"),d&&d.instance&&d.changeDetectorRef.detectChanges(),c.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=Me(Qo,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_attachWindowComponent(e,i){let n=Me(qo,{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):gi(n)?this._createFromString(n):this._createFromComponent(e,i,n,s,r):new se([])}_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 se([s.rootNodes],s)}_createFromString(e){let i=this._document.createTextNode(`${e}`);return new se([[i]])}_createFromComponent(e,i,n,s,r){let l=Y.create({providers:[{provide:Mt,useValue:s}],parent:e}),a=Me(n,{environmentInjector:i,elementInjector:l}),d=a.location.nativeElement;return r.scrollable&&d.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new se([[d]],a.hostView,a)}_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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Xo=(()=>{class t{constructor(){this._injector=u(Y),this._modalStack=u(Ko),this._config=u(Zo)}open(e,i={}){let n=Ye(It(Ye({},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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ld=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ve({type:t})}static{this.\u0275inj=Pe({providers:[Xo]})}}return t})(),es=(()=>{class t{constructor(){this._ngbConfig=u(Nt),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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Mn=t=>re(t)&&t!=="",ts=0,is=(()=>{class t{constructor(){this.templateRef=u(ft)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=W({type:t,selectors:[["ng-template","ngbNavContent",""]]})}}return t})(),cd=(()=>{class t{constructor(e){this.role=e,this.nav=u(bi)}static{this.\u0275fac=function(i){return new(i||t)(pt("role"))}}static{this.\u0275dir=W({type:t,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(i,n){i&2&&ae("role",n.role?n.role:n.nav.roles?"presentation":void 0)}})}}return t})(),On=(()=>{class t{constructor(){this._nav=u(bi),this._nativeElement=u(U).nativeElement,this.disabled=!1,this.shown=new H,this.hidden=new H}ngOnInit(){re(this.domId)||(this.domId=`ngb-nav-${ts++}`)}get active(){return this._nav.activeId===this.id}get id(){return Mn(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(re(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=W({type:t,selectors:[["","ngbNavItem",""]],contentQueries:function(i,n,s){if(i&1&&Se(s,is,4),i&2){let r;le(r=ce())&&(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})(),bi=(()=>{class t{constructor(e){this.role=e,this._config=u(es),this._cd=u(Xe),this._document=u(de),this._nativeElement=u(U).nativeElement,this.destroyRef=u($i),this._navigatingWithKeyboard=!1,this.activeIdChange=new H,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 H,this.hidden=new H,this.navItemChange$=new C,this.navChange=new H}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;if(i.forEach((r,l)=>{r.nativeElement===this._document.activeElement&&(s=l)}),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(!re(this.activeId)){let e=this.items.first?this.items.first.id:null;Mn(e)&&(this._updateActiveId(e,!1),this._cd.detectChanges())}this.items.changes.pipe(Zt(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)(pt("role"))}}static{this.\u0275dir=W({type:t,selectors:[["","ngbNav",""]],contentQueries:function(i,n,s){if(i&1&&(Se(s,On,4),Se(s,Nn,5)),i&2){let r;le(r=ce())&&(n.items=r),le(r=ce())&&(n.links=r)}},hostAttrs:[1,"nav"],hostVars:4,hostBindings:function(i,n){i&1&&Ge("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&&(ae("aria-orientation",n.orientation==="vertical"&&n.roles==="tablist"?"vertical":void 0)("role",n.role?n.role:n.roles?"tablist":void 0),J("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:[Pt]})}}return t})(),Nn=(()=>{class t{constructor(e){this.role=e,this.navItem=u(On),this.nav=u(bi),this.nativeElement=u(U).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)(pt("role"))}}static{this.\u0275dir=W({type:t,selectors:[["","ngbNavLink",""]],hostAttrs:[1,"nav-link"],hostVars:12,hostBindings:function(i,n){i&2&&(_t("id",n.navItem.domId),ae("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),J("nav-item",n.navItem.isNgContainer())("active",n.navItem.active)("disabled",n.navItem.disabled))}})}}return t})();var dd=(()=>{class t extends Nn{static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Bt(t)))(n||t)}})()}static{this.\u0275dir=W({type:t,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostBindings:function(i,n){i&1&&Ge("click",function(r){return n.nav.click(n.navItem),r.preventDefault()})},features:[Lt]})}}return t})(),ns=({classList:t})=>(t.remove("show"),()=>t.remove("active")),os=(t,o)=>{o&&Ze(t),t.classList.add("show")},gn=(()=>{class t{constructor(){this.nativeElement=u(U).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(i,n){i&2&&(_t("id",n.item.panelDomId),ae("role",n.role?n.role:n.nav.roles?"tabpanel":void 0)("aria-labelledby",n.item.domId),J("fade",n.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"}})}}return t})(),ud=(()=>{class t{constructor(){this._cd=u(Xe),this._ngZone=u(oe),this._activePane=null}isPanelTransitioning(e){return this._activePane?.item===e}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe(Zt(this.nav.destroyRef),Li(this._activePane?.item||null),ki(),Bi(1)).subscribe(e=>{let i={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?z(this._ngZone,this._activePane.nativeElement,ns,i).subscribe(()=>{let n=this._activePane?.item;this._activePane=this._getPaneForItem(e),this._cd.markForCheck(),this._activePane&&(this._activePane.nativeElement.classList.add("active"),z(this._ngZone,this._activePane.nativeElement,os,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=Le({type:t,selectors:[["","ngbNavOutlet",""]],viewQuery:function(i,n){if(i&1&&zt(gn,5),i&2){let s;le(s=ce())&&(n._panes=s)}},hostAttrs:[1,"tab-content"],inputs:{paneRole:"paneRole",nav:[0,"ngbNavOutlet","nav"]},attrs:_o,decls:2,vars:0,consts:[["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&Zi(0,vo,1,1,null,null,zi),i&2&&Qi(n.nav.items)},dependencies:[gn,qi],encapsulation:2,changeDetection:0})}}return t})();var hd=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ve({type:t})}static{this.\u0275inj=Pe({})}}return t})();var pd=new Gi("live announcer delay",{providedIn:"root",factory:()=>100});var ss=(()=>{class t{constructor(){this._ngbConfig=u(Nt),this.backdrop=!0,this.keyboard=!0,this.position="start",this.scroll=!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=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ot=class{close(o){}dismiss(o){}},_i=class{get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(E(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(E(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._panelCmptRef.instance.shown.asObservable()}constructor(o,e,i,n){this._panelCmptRef=o,this._contentRef=e,this._backdropCmptRef=i,this._beforeDismiss=n,this._closed=new C,this._dismissed=new C,this._hidden=new C,o.instance.dismissEvent.subscribe(s=>{this.dismiss(s)}),i&&i.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._panelCmptRef&&(this._closed.next(o),this._resolve(o),this._removeOffcanvasElements())}_dismiss(o){this._dismissed.next(o),this._reject(o),this._removeOffcanvasElements()}dismiss(o){if(this._panelCmptRef)if(!this._beforeDismiss)this._dismiss(o);else{let e=this._beforeDismiss();bn(e)?e.then(i=>{i!==!1&&this._dismiss(o)},()=>{}):e!==!1&&this._dismiss(o)}}_removeOffcanvasElements(){let o=this._panelCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():ut(void 0);o.subscribe(()=>{let{nativeElement:i}=this._panelCmptRef.location;i.parentNode.removeChild(i),this._panelCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._panelCmptRef=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}}),qe(o,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},yi=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(yi||{}),rs=(()=>{class t{constructor(){this._nativeElement=u(U).nativeElement,this._zone=u(oe),this._injector=u(Y),this.dismissEvent=new H}ngOnInit(){Be({mixedReadWrite:()=>z(this._zone,this._nativeElement,(e,i)=>{i&&Ze(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return z(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}dismiss(){this.static||this.dismissEvent.emit(yi.BACKDROP_CLICK)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Le({type:t,selectors:[["ngb-offcanvas-backdrop"]],hostVars:6,hostBindings:function(i,n){i&1&&Ge("mousedown",function(){return n.dismiss()}),i&2&&(He("offcanvas-backdrop"+(n.backdropClass?" "+n.backdropClass:"")),J("show",!n.animation)("fade",n.animation))},inputs:{animation:"animation",backdropClass:"backdropClass",static:"static"},outputs:{dismissEvent:"dismiss"},decls:0,vars:0,template:function(i,n){},encapsulation:2})}}return t})(),as=(()=>{class t{constructor(){this._document=u(de),this._elRef=u(U),this._zone=u(oe),this._injector=u(Y),this._closed$=new C,this._elWithFocus=null,this.keyboard=!0,this.position="start",this.dismissEvent=new H,this.shown=new C,this.hidden=new C}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,Be({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let e={animation:this.animation,runningTransition:"stop"},i=z(this._zone,this._elRef.nativeElement,n=>(n.classList.remove("showing"),n.classList.add("hiding"),()=>n.classList.remove("show","hiding")),e);return i.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),i}_show(){let e={animation:this.animation,runningTransition:"continue"};z(this._zone,this._elRef.nativeElement,(n,s)=>(s&&Ze(n),n.classList.add("show","showing"),()=>n.classList.remove("showing")),e).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{$(e,"keydown").pipe(E(this._closed$),_e(i=>i.key==="Escape")).subscribe(i=>{this.keyboard&&requestAnimationFrame(()=>{i.defaultPrevented||this._zone.run(()=>this.dismiss(yi.ESC))})})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){let i=e.querySelector("[ngbAutofocus]"),n=mi(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})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Le({type:t,selectors:[["ngb-offcanvas-panel"]],hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(i,n){i&2&&(ae("aria-modal",!0)("aria-labelledby",n.ariaLabelledBy)("aria-describedby",n.ariaDescribedBy),He("offcanvas offcanvas-"+n.position+(n.panelClass?" "+n.panelClass:"")))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",keyboard:"keyboard",panelClass:"panelClass",position:"position"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:mn,decls:1,vars:0,template:function(i,n){i&1&&(Ut(),Wt(0))},encapsulation:2})}}return t})(),ls=(()=>{class t{constructor(){this._applicationRef=u(Ht),this._injector=u(Y),this._document=u(de),this._scrollBar=u(Sn),this._activePanelCmptHasChanged=new C,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._panelAttributes=["animation","ariaDescribedBy","ariaLabelledBy","keyboard","panelClass","position"],this._activeInstance=new H;let e=u(oe);this._activePanelCmptHasChanged.subscribe(()=>{this._panelCmpt&&Dn(e,this._panelCmpt.location.nativeElement,this._activePanelCmptHasChanged)})}_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:re(n.container)?this._document.querySelector(n.container):this._document.body;if(!s)throw new Error(`The specified offcanvas container "${n.container||"body"}" was not found in the DOM.`);n.scroll||this._hideScrollBar();let r=new Ot,l=this._getContentRef(n.injector||e,i,r),a=n.backdrop!==!1?this._attachBackdrop(s):void 0,d=this._attachWindowComponent(s,l.nodes),c=new _i(d,l,a,n.beforeDismiss);return this._registerOffcanvasRef(c),this._registerPanelCmpt(d),c.hidden.pipe(Pi(()=>this._restoreScrollBar())).subscribe(),r.close=f=>{c.close(f)},r.dismiss=f=>{c.dismiss(f)},this._applyPanelOptions(d.instance,n),a&&a.instance&&(this._applyBackdropOptions(a.instance,n),a.changeDetectorRef.detectChanges()),d.changeDetectorRef.detectChanges(),c}get activeInstance(){return this._activeInstance}dismiss(e){this._offcanvasRef?.dismiss(e)}hasOpenOffcanvas(){return!!this._offcanvasRef}_attachBackdrop(e){let i=Me(rs,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_attachWindowComponent(e,i){let n=Me(as,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_applyPanelOptions(e,i){this._panelAttributes.forEach(n=>{re(i[n])&&(e[n]=i[n])})}_applyBackdropOptions(e,i){this._backdropAttributes.forEach(n=>{re(i[n])&&(e[n]=i[n])}),e.static=i.backdrop==="static"}_getContentRef(e,i,n){return i?i instanceof ft?this._createFromTemplateRef(i,n):gi(i)?this._createFromString(i):this._createFromComponent(e,i,n):new se([])}_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 se([s.rootNodes],s)}_createFromString(e){let i=this._document.createTextNode(`${e}`);return new se([[i]])}_createFromComponent(e,i,n){let s=Y.create({providers:[{provide:Ot,useValue:n}],parent:e}),r=Me(i,{environmentInjector:this._applicationRef.injector,elementInjector:s}),l=r.location.nativeElement;return this._applicationRef.attachView(r.hostView),new se([[l]],r.hostView,r)}_registerOffcanvasRef(e){let i=()=>{this._offcanvasRef=void 0,this._activeInstance.emit(this._offcanvasRef)};this._offcanvasRef=e,this._activeInstance.emit(this._offcanvasRef),e.result.then(i,i)}_registerPanelCmpt(e){this._panelCmpt=e,this._activePanelCmptHasChanged.next(),e.onDestroy(()=>{this._panelCmpt=void 0,this._activePanelCmptHasChanged.next()})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fd=(()=>{class t{constructor(){this._injector=u(Y),this._offcanvasStack=u(ls),this._config=u(ss)}open(e,i={}){let n=Ye(It(Ye({},this._config),{animation:this._config.animation}),i);return this._offcanvasStack.open(this._injector,e,n)}get activeInstance(){return this._offcanvasStack.activeInstance}dismiss(e){this._offcanvasStack.dismiss(e)}hasOpenOffcanvas(){return this._offcanvasStack.hasOpenOffcanvas()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),_d=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ve({type:t})}static{this.\u0275inj=Pe({})}}return t})();export{Xc as a,ed as b,Wo as c,zo as d,rd as e,Tn as f,ad as g,Xo as h,ld as i,is as j,cd as k,On as l,bi as m,Nn as n,dd as o,ud as p,hd as q,Ot as r,fd as s,_d as t};