var hT=Object.create;var Mf=Object.defineProperty,gT=Object.defineProperties,_T=Object.getOwnPropertyDescriptor,vT=Object.getOwnPropertyDescriptors,bT=Object.getOwnPropertyNames,Fy=Object.getOwnPropertySymbols,yT=Object.getPrototypeOf,Vy=Object.prototype.hasOwnProperty,wT=Object.prototype.propertyIsEnumerable;var Ly=(t,n,e)=>n in t?Mf(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,R=(t,n)=>{for(var e in n||={})Vy.call(n,e)&&Ly(t,e,n[e]);if(Fy)for(var e of Fy(n))wT.call(n,e)&&Ly(t,e,n[e]);return t},ce=(t,n)=>gT(t,vT(n));var CT=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var xT=(t,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of bT(n))!Vy.call(t,r)&&r!==e&&Mf(t,r,{get:()=>n[r],enumerable:!(i=_T(n,r))||i.enumerable});return t};var ed=(t,n,e)=>(e=t!=null?hT(yT(t)):{},xT(n||!t||!t.__esModule?Mf(e,"default",{value:t,enumerable:!0}):e,t));var Mc=CT((Ji,sb)=>{"use strict";(function(t,n){typeof Ji=="object"&&typeof sb<"u"?sb.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self,t.Sweetalert2=n())})(Ji,function(){"use strict";function t(l,d,h){if(typeof l=="function"?l===d:l.has(d))return arguments.length<3?d:h;throw new TypeError("Private element is not present on this object")}function n(l,d){if(d.has(l))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(l,d){return l.get(t(l,d))}function i(l,d,h){n(l,d),d.set(l,h)}function r(l,d,h){return l.set(t(l,d),h),h}let o=100,a={},s=()=>{a.previousActiveElement instanceof HTMLElement?(a.previousActiveElement.focus(),a.previousActiveElement=null):document.body&&document.body.focus()},c=l=>new Promise(d=>{if(!l)return d();let h=window.scrollX,w=window.scrollY;a.restoreFocusTimeout=setTimeout(()=>{s(),d()},o),window.scrollTo(h,w)}),g="swal2-",_=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"].reduce((l,d)=>(l[d]=g+d,l),{}),C=["success","warning","info","question","error"].reduce((l,d)=>(l[d]=g+d,l),{}),S="SweetAlert2:",N=l=>l.charAt(0).toUpperCase()+l.slice(1),L=l=>{console.warn(`${S} ${typeof l=="object"?l.join(" "):l}`)},ie=l=>{console.error(`${S} ${l}`)},Ve=[],We=l=>{Ve.includes(l)||(Ve.push(l),L(l))},xi=(l,d=null)=>{We(`"${l}" is deprecated and will be removed in the next major release.${d?` Use "${d}" instead.`:""}`)},er=l=>typeof l=="function"?l():l,Ks=l=>l&&typeof l.toPromise=="function",Zs=l=>Ks(l)?l.toPromise():Promise.resolve(l),lf=l=>l&&Promise.resolve(l)===l,rn=()=>document.body.querySelector(`.${_.container}`),Qs=l=>{let d=rn();return d?d.querySelector(l):null},Tn=l=>Qs(`.${l}`),Ne=()=>Tn(_.popup),fa=()=>Tn(_.icon),VM=()=>Tn(_["icon-content"]),Lb=()=>Tn(_.title),cf=()=>Tn(_["html-container"]),Vb=()=>Tn(_.image),df=()=>Tn(_["progress-steps"]),jc=()=>Tn(_["validation-message"]),Di=()=>Qs(`.${_.actions} .${_.confirm}`),ha=()=>Qs(`.${_.actions} .${_.cancel}`),fo=()=>Qs(`.${_.actions} .${_.deny}`),BM=()=>Tn(_["input-label"]),ga=()=>Qs(`.${_.loader}`),Xs=()=>Tn(_.actions),Bb=()=>Tn(_.footer),Hc=()=>Tn(_["timer-progress-bar"]),uf=()=>Tn(_.close),jM=`
  a[href],
  area[href],
  input:not([disabled]),
  select:not([disabled]),
  textarea:not([disabled]),
  button:not([disabled]),
  iframe,
  object,
  embed,
  [tabindex="0"],
  [contenteditable],
  audio[controls],
  video[controls],
  summary
`,mf=()=>{let l=Ne();if(!l)return[];let d=l.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),h=Array.from(d).sort((z,Te)=>{let Be=parseInt(z.getAttribute("tabindex")||"0"),rt=parseInt(Te.getAttribute("tabindex")||"0");return Be>rt?1:Be<rt?-1:0}),w=l.querySelectorAll(jM),M=Array.from(w).filter(z=>z.getAttribute("tabindex")!=="-1");return[...new Set(h.concat(M))].filter(z=>pn(z))},pf=()=>tr(document.body,_.shown)&&!tr(document.body,_["toast-shown"])&&!tr(document.body,_["no-backdrop"]),zc=()=>{let l=Ne();return l?tr(l,_.toast):!1},HM=()=>{let l=Ne();return l?l.hasAttribute("data-loading"):!1},An=(l,d)=>{if(l.textContent="",d){let w=new DOMParser().parseFromString(d,"text/html"),M=w.querySelector("head");M&&Array.from(M.childNodes).forEach(Te=>{l.appendChild(Te)});let z=w.querySelector("body");z&&Array.from(z.childNodes).forEach(Te=>{Te instanceof HTMLVideoElement||Te instanceof HTMLAudioElement?l.appendChild(Te.cloneNode(!0)):l.appendChild(Te)})}},tr=(l,d)=>{if(!d)return!1;let h=d.split(/\s+/);for(let w=0;w<h.length;w++)if(!l.classList.contains(h[w]))return!1;return!0},zM=(l,d)=>{Array.from(l.classList).forEach(h=>{!Object.values(_).includes(h)&&!Object.values(C).includes(h)&&!Object.values(d.showClass||{}).includes(h)&&l.classList.remove(h)})},Rn=(l,d,h)=>{if(zM(l,d),!d.customClass)return;let w=d.customClass[h];if(w){if(typeof w!="string"&&!w.forEach){L(`Invalid type of customClass.${h}! Expected string or iterable object, got "${typeof w}"`);return}Pe(l,w)}},Uc=(l,d)=>{if(!d)return null;switch(d){case"select":case"textarea":case"file":return l.querySelector(`.${_.popup} > .${_[d]}`);case"checkbox":return l.querySelector(`.${_.popup} > .${_.checkbox} input`);case"radio":return l.querySelector(`.${_.popup} > .${_.radio} input:checked`)||l.querySelector(`.${_.popup} > .${_.radio} input:first-child`);case"range":return l.querySelector(`.${_.popup} > .${_.range} input`);default:return l.querySelector(`.${_.popup} > .${_.input}`)}},jb=l=>{if(l.focus(),l.type!=="file"){let d=l.value;l.value="",l.value=d}},Hb=(l,d,h)=>{!l||!d||(typeof d=="string"&&(d=d.split(/\s+/).filter(Boolean)),d.forEach(w=>{Array.isArray(l)?l.forEach(M=>{h?M.classList.add(w):M.classList.remove(w)}):h?l.classList.add(w):l.classList.remove(w)}))},Pe=(l,d)=>{Hb(l,d,!0)},zn=(l,d)=>{Hb(l,d,!1)},Or=(l,d)=>{let h=Array.from(l.children);for(let w=0;w<h.length;w++){let M=h[w];if(M instanceof HTMLElement&&tr(M,d))return M}},ho=(l,d,h)=>{h===`${parseInt(`${h}`)}`&&(h=parseInt(h)),h||parseInt(`${h}`)===0?l.style.setProperty(d,typeof h=="number"?`${h}px`:h):l.style.removeProperty(d)},Pt=(l,d="flex")=>{l&&(l.style.display=d)},Yt=l=>{l&&(l.style.display="none")},ff=(l,d="block")=>{l&&new MutationObserver(()=>{Js(l,l.innerHTML,d)}).observe(l,{childList:!0,subtree:!0})},zb=(l,d,h,w)=>{let M=l.querySelector(d);M&&M.style.setProperty(h,w)},Js=(l,d,h="flex")=>{d?Pt(l,h):Yt(l)},pn=l=>!!(l&&(l.offsetWidth||l.offsetHeight||l.getClientRects().length)),UM=()=>!pn(Di())&&!pn(fo())&&!pn(ha()),hf=l=>l.scrollHeight>l.clientHeight,$M=(l,d)=>{let h=l;for(;h&&h!==d;){if(hf(h))return!0;h=h.parentElement}return!1},Ub=l=>{let d=window.getComputedStyle(l),h=parseFloat(d.getPropertyValue("animation-duration")||"0"),w=parseFloat(d.getPropertyValue("transition-duration")||"0");return h>0||w>0},gf=(l,d=!1)=>{let h=Hc();h&&pn(h)&&(d&&(h.style.transition="none",h.style.width="100%"),setTimeout(()=>{h.style.transition=`width ${l/1e3}s linear`,h.style.width="0%"},10))},WM=()=>{let l=Hc();if(!l)return;let d=parseInt(window.getComputedStyle(l).width);l.style.removeProperty("transition"),l.style.width="100%";let h=parseInt(window.getComputedStyle(l).width),w=d/h*100;l.style.width=`${w}%`},GM=()=>typeof window>"u"||typeof document>"u",qM=`
 <div aria-labelledby="${_.title}" aria-describedby="${_["html-container"]}" class="${_.popup}" tabindex="-1">
   <button type="button" class="${_.close}"></button>
   <ul class="${_["progress-steps"]}"></ul>
   <div class="${_.icon}"></div>
   <img class="${_.image}" />
   <h2 class="${_.title}" id="${_.title}"></h2>
   <div class="${_["html-container"]}" id="${_["html-container"]}"></div>
   <input class="${_.input}" id="${_.input}" />
   <input type="file" class="${_.file}" />
   <div class="${_.range}">
     <input type="range" />
     <output></output>
   </div>
   <select class="${_.select}" id="${_.select}"></select>
   <div class="${_.radio}"></div>
   <label class="${_.checkbox}">
     <input type="checkbox" id="${_.checkbox}" />
     <span class="${_.label}"></span>
   </label>
   <textarea class="${_.textarea}" id="${_.textarea}"></textarea>
   <div class="${_["validation-message"]}" id="${_["validation-message"]}"></div>
   <div class="${_.actions}">
     <div class="${_.loader}"></div>
     <button type="button" class="${_.confirm}"></button>
     <button type="button" class="${_.deny}"></button>
     <button type="button" class="${_.cancel}"></button>
   </div>
   <div class="${_.footer}"></div>
   <div class="${_["timer-progress-bar-container"]}">
     <div class="${_["timer-progress-bar"]}"></div>
   </div>
 </div>
`.replace(/(^|\n)\s*/g,""),YM=()=>{let l=rn();return l?(l.remove(),zn([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]]),!0):!1},go=()=>{a.currentInstance.resetValidationMessage()},KM=()=>{let l=Ne(),d=Or(l,_.input),h=Or(l,_.file),w=l.querySelector(`.${_.range} input`),M=l.querySelector(`.${_.range} output`),z=Or(l,_.select),Te=l.querySelector(`.${_.checkbox} input`),Be=Or(l,_.textarea);d.oninput=go,h.onchange=go,z.onchange=go,Te.onchange=go,Be.oninput=go,w.oninput=()=>{go(),M.value=w.value},w.onchange=()=>{go(),M.value=w.value}},ZM=l=>typeof l=="string"?document.querySelector(l):l,QM=l=>{let d=Ne();d.setAttribute("role",l.toast?"alert":"dialog"),d.setAttribute("aria-live",l.toast?"polite":"assertive"),l.toast||d.setAttribute("aria-modal","true")},XM=l=>{window.getComputedStyle(l).direction==="rtl"&&Pe(rn(),_.rtl)},JM=l=>{let d=YM();if(GM()){ie("SweetAlert2 requires document to initialize");return}let h=document.createElement("div");h.className=_.container,d&&Pe(h,_["no-transition"]),An(h,qM),h.dataset.swal2Theme=l.theme;let w=ZM(l.target);w.appendChild(h),l.topLayer&&(h.setAttribute("popover",""),h.showPopover()),QM(l),XM(w),KM()},_f=(l,d)=>{l instanceof HTMLElement?d.appendChild(l):typeof l=="object"?ek(l,d):l&&An(d,l)},ek=(l,d)=>{l.jquery?tk(d,l):An(d,l.toString())},tk=(l,d)=>{if(l.textContent="",0 in d)for(let h=0;h in d;h++)l.appendChild(d[h].cloneNode(!0));else l.appendChild(d.cloneNode(!0))},nk=(l,d)=>{let h=Xs(),w=ga();!h||!w||(!d.showConfirmButton&&!d.showDenyButton&&!d.showCancelButton?Yt(h):Pt(h),Rn(h,d,"actions"),ik(h,w,d),An(w,d.loaderHtml||""),Rn(w,d,"loader"))};function ik(l,d,h){let w=Di(),M=fo(),z=ha();!w||!M||!z||(bf(w,"confirm",h),bf(M,"deny",h),bf(z,"cancel",h),rk(w,M,z,h),h.reverseButtons&&(h.toast?(l.insertBefore(z,w),l.insertBefore(M,w)):(l.insertBefore(z,d),l.insertBefore(M,d),l.insertBefore(w,d))))}function rk(l,d,h,w){if(!w.buttonsStyling){zn([l,d,h],_.styled);return}Pe([l,d,h],_.styled),w.confirmButtonColor&&l.style.setProperty("--swal2-confirm-button-background-color",w.confirmButtonColor),w.denyButtonColor&&d.style.setProperty("--swal2-deny-button-background-color",w.denyButtonColor),w.cancelButtonColor&&h.style.setProperty("--swal2-cancel-button-background-color",w.cancelButtonColor),vf(l),vf(d),vf(h)}function vf(l){let d=window.getComputedStyle(l);if(d.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;let h=d.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");l.style.setProperty("--swal2-action-button-focus-box-shadow",d.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${h}`))}function bf(l,d,h){let w=N(d);Js(l,h[`show${w}Button`],"inline-block"),An(l,h[`${d}ButtonText`]||""),l.setAttribute("aria-label",h[`${d}ButtonAriaLabel`]||""),l.className=_[d],Rn(l,h,`${d}Button`)}let ok=(l,d)=>{let h=uf();h&&(An(h,d.closeButtonHtml||""),Rn(h,d,"closeButton"),Js(h,d.showCloseButton),h.setAttribute("aria-label",d.closeButtonAriaLabel||""))},ak=(l,d)=>{let h=rn();h&&(sk(h,d.backdrop),lk(h,d.position),ck(h,d.grow),Rn(h,d,"container"))};function sk(l,d){typeof d=="string"?l.style.background=d:d||Pe([document.documentElement,document.body],_["no-backdrop"])}function lk(l,d){d&&(d in _?Pe(l,_[d]):(L('The "position" parameter is not valid, defaulting to "center"'),Pe(l,_.center)))}function ck(l,d){d&&Pe(l,_[`grow-${d}`])}var Ze={innerParams:new WeakMap,domCache:new WeakMap};let dk=["input","file","range","select","radio","checkbox","textarea"],uk=(l,d)=>{let h=Ne();if(!h)return;let w=Ze.innerParams.get(l),M=!w||d.input!==w.input;dk.forEach(z=>{let Te=Or(h,_[z]);Te&&(fk(z,d.inputAttributes),Te.className=_[z],M&&Yt(Te))}),d.input&&(M&&mk(d),hk(d))},mk=l=>{if(!l.input)return;if(!ut[l.input]){ie(`Unexpected type of input! Expected ${Object.keys(ut).join(" | ")}, got "${l.input}"`);return}let d=$b(l.input);if(!d)return;let h=ut[l.input](d,l);Pt(d),l.inputAutoFocus&&setTimeout(()=>{jb(h)})},pk=l=>{for(let d=0;d<l.attributes.length;d++){let h=l.attributes[d].name;["id","type","value","style"].includes(h)||l.removeAttribute(h)}},fk=(l,d)=>{let h=Ne();if(!h)return;let w=Uc(h,l);if(w){pk(w);for(let M in d)w.setAttribute(M,d[M])}},hk=l=>{if(!l.input)return;let d=$b(l.input);d&&Rn(d,l,"input")},yf=(l,d)=>{!l.placeholder&&d.inputPlaceholder&&(l.placeholder=d.inputPlaceholder)},el=(l,d,h)=>{if(h.inputLabel){let w=document.createElement("label"),M=_["input-label"];w.setAttribute("for",l.id),w.className=M,typeof h.customClass=="object"&&Pe(w,h.customClass.inputLabel),w.innerText=h.inputLabel,d.insertAdjacentElement("beforebegin",w)}},$b=l=>{let d=Ne();if(d)return Or(d,_[l]||_.input)},$c=(l,d)=>{["string","number"].includes(typeof d)?l.value=`${d}`:lf(d)||L(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof d}"`)},ut={};ut.text=ut.email=ut.password=ut.number=ut.tel=ut.url=ut.search=ut.date=ut["datetime-local"]=ut.time=ut.week=ut.month=(l,d)=>($c(l,d.inputValue),el(l,l,d),yf(l,d),l.type=d.input,l),ut.file=(l,d)=>(el(l,l,d),yf(l,d),l),ut.range=(l,d)=>{let h=l.querySelector("input"),w=l.querySelector("output");return $c(h,d.inputValue),h.type=d.input,$c(w,d.inputValue),el(h,l,d),l},ut.select=(l,d)=>{if(l.textContent="",d.inputPlaceholder){let h=document.createElement("option");An(h,d.inputPlaceholder),h.value="",h.disabled=!0,h.selected=!0,l.appendChild(h)}return el(l,l,d),l},ut.radio=l=>(l.textContent="",l),ut.checkbox=(l,d)=>{let h=Uc(Ne(),"checkbox");h.value="1",h.checked=!!d.inputValue;let w=l.querySelector("span");return An(w,d.inputPlaceholder||d.inputLabel),h},ut.textarea=(l,d)=>{$c(l,d.inputValue),yf(l,d),el(l,l,d);let h=w=>parseInt(window.getComputedStyle(w).marginLeft)+parseInt(window.getComputedStyle(w).marginRight);return setTimeout(()=>{if("MutationObserver"in window){let w=parseInt(window.getComputedStyle(Ne()).width),M=()=>{if(!document.body.contains(l))return;let z=l.offsetWidth+h(l);z>w?Ne().style.width=`${z}px`:ho(Ne(),"width",d.width)};new MutationObserver(M).observe(l,{attributes:!0,attributeFilter:["style"]})}}),l};let gk=(l,d)=>{let h=cf();h&&(ff(h),Rn(h,d,"htmlContainer"),d.html?(_f(d.html,h),Pt(h,"block")):d.text?(h.textContent=d.text,Pt(h,"block")):Yt(h),uk(l,d))},_k=(l,d)=>{let h=Bb();h&&(ff(h),Js(h,!!d.footer,"block"),d.footer&&_f(d.footer,h),Rn(h,d,"footer"))},vk=(l,d)=>{let h=Ze.innerParams.get(l),w=fa();if(!w)return;if(h&&d.icon===h.icon){qb(w,d),Wb(w,d);return}if(!d.icon&&!d.iconHtml){Yt(w);return}if(d.icon&&Object.keys(C).indexOf(d.icon)===-1){ie(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${d.icon}"`),Yt(w);return}Pt(w),qb(w,d),Wb(w,d),Pe(w,d.showClass&&d.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",Gb)},Wb=(l,d)=>{for(let[h,w]of Object.entries(C))d.icon!==h&&zn(l,w);Pe(l,d.icon&&C[d.icon]),wk(l,d),Gb(),Rn(l,d,"icon")},Gb=()=>{let l=Ne();if(!l)return;let d=window.getComputedStyle(l).getPropertyValue("background-color"),h=l.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let w=0;w<h.length;w++)h[w].style.backgroundColor=d},bk=l=>`
  ${l.animation?'<div class="swal2-success-circular-line-left"></div>':""}
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
  <div class="swal2-success-ring"></div>
  ${l.animation?'<div class="swal2-success-fix"></div>':""}
  ${l.animation?'<div class="swal2-success-circular-line-right"></div>':""}
`,yk=`
  <span class="swal2-x-mark">
    <span class="swal2-x-mark-line-left"></span>
    <span class="swal2-x-mark-line-right"></span>
  </span>
`,qb=(l,d)=>{if(!d.icon&&!d.iconHtml)return;let h=l.innerHTML,w="";d.iconHtml?w=Yb(d.iconHtml):d.icon==="success"?(w=bk(d),h=h.replace(/ style=".*?"/g,"")):d.icon==="error"?w=yk:d.icon&&(w=Yb({question:"?",warning:"!",info:"i"}[d.icon])),h.trim()!==w.trim()&&An(l,w)},wk=(l,d)=>{if(d.iconColor){l.style.color=d.iconColor,l.style.borderColor=d.iconColor;for(let h of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])zb(l,h,"background-color",d.iconColor);zb(l,".swal2-success-ring","border-color",d.iconColor)}},Yb=l=>`<div class="${_["icon-content"]}">${l}</div>`,Ck=(l,d)=>{let h=Vb();if(h){if(!d.imageUrl){Yt(h);return}Pt(h,""),h.setAttribute("src",d.imageUrl),h.setAttribute("alt",d.imageAlt||""),ho(h,"width",d.imageWidth),ho(h,"height",d.imageHeight),h.className=_.image,Rn(h,d,"image")}},wf=!1,Kb=0,Zb=0,Qb=0,Xb=0,xk=l=>{l.addEventListener("mousedown",Wc),document.body.addEventListener("mousemove",Gc),l.addEventListener("mouseup",qc),l.addEventListener("touchstart",Wc),document.body.addEventListener("touchmove",Gc),l.addEventListener("touchend",qc)},Dk=l=>{l.removeEventListener("mousedown",Wc),document.body.removeEventListener("mousemove",Gc),l.removeEventListener("mouseup",qc),l.removeEventListener("touchstart",Wc),document.body.removeEventListener("touchmove",Gc),l.removeEventListener("touchend",qc)},Wc=l=>{let d=Ne();if(l.target===d||fa().contains(l.target)){wf=!0;let h=Jb(l);Kb=h.clientX,Zb=h.clientY,Qb=parseInt(d.style.insetInlineStart)||0,Xb=parseInt(d.style.insetBlockStart)||0,Pe(d,"swal2-dragging")}},Gc=l=>{let d=Ne();if(wf){let{clientX:h,clientY:w}=Jb(l);d.style.insetInlineStart=`${Qb+(h-Kb)}px`,d.style.insetBlockStart=`${Xb+(w-Zb)}px`}},qc=()=>{let l=Ne();wf=!1,zn(l,"swal2-dragging")},Jb=l=>{let d=0,h=0;return l.type.startsWith("mouse")?(d=l.clientX,h=l.clientY):l.type.startsWith("touch")&&(d=l.touches[0].clientX,h=l.touches[0].clientY),{clientX:d,clientY:h}},Ek=(l,d)=>{let h=rn(),w=Ne();if(!(!h||!w)){if(d.toast){ho(h,"width",d.width),w.style.width="100%";let M=ga();M&&w.insertBefore(M,fa())}else ho(w,"width",d.width);ho(w,"padding",d.padding),d.color&&(w.style.color=d.color),d.background&&(w.style.background=d.background),Yt(jc()),Ik(w,d),d.draggable&&!d.toast?(Pe(w,_.draggable),xk(w)):(zn(w,_.draggable),Dk(w))}},Ik=(l,d)=>{let h=d.showClass||{};l.className=`${_.popup} ${pn(l)?h.popup:""}`,d.toast?(Pe([document.documentElement,document.body],_["toast-shown"]),Pe(l,_.toast)):Pe(l,_.modal),Rn(l,d,"popup"),typeof d.customClass=="string"&&Pe(l,d.customClass),d.icon&&Pe(l,_[`icon-${d.icon}`])},Sk=(l,d)=>{let h=df();if(!h)return;let{progressSteps:w,currentProgressStep:M}=d;if(!w||w.length===0||M===void 0){Yt(h);return}Pt(h),h.textContent="",M>=w.length&&L("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),w.forEach((z,Te)=>{let Be=Mk(z);if(h.appendChild(Be),Te===M&&Pe(Be,_["active-progress-step"]),Te!==w.length-1){let rt=kk(d);h.appendChild(rt)}})},Mk=l=>{let d=document.createElement("li");return Pe(d,_["progress-step"]),An(d,l),d},kk=l=>{let d=document.createElement("li");return Pe(d,_["progress-step-line"]),l.progressStepsDistance&&ho(d,"width",l.progressStepsDistance),d},Tk=(l,d)=>{let h=Lb();h&&(ff(h),Js(h,!!(d.title||d.titleText),"block"),d.title&&_f(d.title,h),d.titleText&&(h.innerText=d.titleText),Rn(h,d,"title"))},ey=(l,d)=>{Ek(l,d),ak(l,d),Sk(l,d),vk(l,d),Ck(l,d),Tk(l,d),ok(l,d),gk(l,d),nk(l,d),_k(l,d);let h=Ne();typeof d.didRender=="function"&&h&&d.didRender(h),a.eventEmitter.emit("didRender",h)},Ak=()=>pn(Ne()),ty=()=>{var l;return(l=Di())===null||l===void 0?void 0:l.click()},Rk=()=>{var l;return(l=fo())===null||l===void 0?void 0:l.click()},Ok=()=>{var l;return(l=ha())===null||l===void 0?void 0:l.click()},_a=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),ny=l=>{l.keydownTarget&&l.keydownHandlerAdded&&(l.keydownTarget.removeEventListener("keydown",l.keydownHandler,{capture:l.keydownListenerCapture}),l.keydownHandlerAdded=!1)},Nk=(l,d,h)=>{ny(l),d.toast||(l.keydownHandler=w=>Fk(d,w,h),l.keydownTarget=d.keydownListenerCapture?window:Ne(),l.keydownListenerCapture=d.keydownListenerCapture,l.keydownTarget.addEventListener("keydown",l.keydownHandler,{capture:l.keydownListenerCapture}),l.keydownHandlerAdded=!0)},Cf=(l,d)=>{var h;let w=mf();if(w.length){l=l+d,l===-2&&(l=w.length-1),l===w.length?l=0:l===-1&&(l=w.length-1),w[l].focus();return}(h=Ne())===null||h===void 0||h.focus()},iy=["ArrowRight","ArrowDown"],Pk=["ArrowLeft","ArrowUp"],Fk=(l,d,h)=>{l&&(d.isComposing||d.keyCode===229||(l.stopKeydownPropagation&&d.stopPropagation(),d.key==="Enter"?Lk(d,l):d.key==="Tab"?Vk(d):[...iy,...Pk].includes(d.key)?Bk(d.key):d.key==="Escape"&&jk(d,l,h)))},Lk=(l,d)=>{if(!er(d.allowEnterKey))return;let h=Uc(Ne(),d.input);if(l.target&&h&&l.target instanceof HTMLElement&&l.target.outerHTML===h.outerHTML){if(["textarea","file"].includes(d.input))return;ty(),l.preventDefault()}},Vk=l=>{let d=l.target,h=mf(),w=-1;for(let M=0;M<h.length;M++)if(d===h[M]){w=M;break}l.shiftKey?Cf(w,-1):Cf(w,1),l.stopPropagation(),l.preventDefault()},Bk=l=>{let d=Xs(),h=Di(),w=fo(),M=ha();if(!d||!h||!w||!M)return;let z=[h,w,M];if(document.activeElement instanceof HTMLElement&&!z.includes(document.activeElement))return;let Te=iy.includes(l)?"nextElementSibling":"previousElementSibling",Be=document.activeElement;if(Be){for(let rt=0;rt<d.children.length;rt++){if(Be=Be[Te],!Be)return;if(Be instanceof HTMLButtonElement&&pn(Be))break}Be instanceof HTMLButtonElement&&Be.focus()}},jk=(l,d,h)=>{l.preventDefault(),er(d.allowEscapeKey)&&h(_a.esc)};var va={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};let Hk=()=>{let l=rn();Array.from(document.body.children).forEach(h=>{h.contains(l)||(h.hasAttribute("aria-hidden")&&h.setAttribute("data-previous-aria-hidden",h.getAttribute("aria-hidden")||""),h.setAttribute("aria-hidden","true"))})},ry=()=>{Array.from(document.body.children).forEach(d=>{d.hasAttribute("data-previous-aria-hidden")?(d.setAttribute("aria-hidden",d.getAttribute("data-previous-aria-hidden")||""),d.removeAttribute("data-previous-aria-hidden")):d.removeAttribute("aria-hidden")})},oy=typeof window<"u"&&!!window.GestureEvent,zk=()=>{if(oy&&!tr(document.body,_.iosfix)){let l=document.body.scrollTop;document.body.style.top=`${l*-1}px`,Pe(document.body,_.iosfix),Uk()}},Uk=()=>{let l=rn();if(!l)return;let d;l.ontouchstart=h=>{d=$k(h)},l.ontouchmove=h=>{d&&(h.preventDefault(),h.stopPropagation())}},$k=l=>{let d=l.target,h=rn(),w=cf();return!h||!w||Wk(l)||Gk(l)?!1:d===h||!hf(h)&&d instanceof HTMLElement&&!$M(d,w)&&d.tagName!=="INPUT"&&d.tagName!=="TEXTAREA"&&!(hf(w)&&w.contains(d))},Wk=l=>l.touches&&l.touches.length&&l.touches[0].touchType==="stylus",Gk=l=>l.touches&&l.touches.length>1,qk=()=>{if(tr(document.body,_.iosfix)){let l=parseInt(document.body.style.top,10);zn(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=l*-1}},Yk=()=>{let l=document.createElement("div");l.className=_["scrollbar-measure"],document.body.appendChild(l);let d=l.getBoundingClientRect().width-l.clientWidth;return document.body.removeChild(l),d},ba=null,Kk=l=>{ba===null&&(document.body.scrollHeight>window.innerHeight||l==="scroll")&&(ba=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${ba+Yk()}px`)},Zk=()=>{ba!==null&&(document.body.style.paddingRight=`${ba}px`,ba=null)};function ay(l,d,h,w){zc()?ly(l,w):(c(h).then(()=>ly(l,w)),ny(a)),oy?(d.setAttribute("style","display:none !important"),d.removeAttribute("class"),d.innerHTML=""):d.remove(),pf()&&(Zk(),qk(),ry()),Qk()}function Qk(){zn([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"]])}function Nr(l){l=Jk(l);let d=va.swalPromiseResolve.get(this),h=Xk(this);this.isAwaitingPromise?l.isDismissed||(tl(this),d(l)):h&&d(l)}let Xk=l=>{let d=Ne();if(!d)return!1;let h=Ze.innerParams.get(l);if(!h||tr(d,h.hideClass.popup))return!1;zn(d,h.showClass.popup),Pe(d,h.hideClass.popup);let w=rn();return zn(w,h.showClass.backdrop),Pe(w,h.hideClass.backdrop),e1(l,d,h),!0};function sy(l){let d=va.swalPromiseReject.get(this);tl(this),d&&d(l)}let tl=l=>{l.isAwaitingPromise&&(delete l.isAwaitingPromise,Ze.innerParams.get(l)||l._destroy())},Jk=l=>typeof l>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},l),e1=(l,d,h)=>{var w;let M=rn(),z=Ub(d);typeof h.willClose=="function"&&h.willClose(d),(w=a.eventEmitter)===null||w===void 0||w.emit("willClose",d),z?t1(l,d,M,h.returnFocus,h.didClose):ay(l,M,h.returnFocus,h.didClose)},t1=(l,d,h,w,M)=>{a.swalCloseEventFinishedCallback=ay.bind(null,l,h,w,M);let z=function(Te){if(Te.target===d){var Be;(Be=a.swalCloseEventFinishedCallback)===null||Be===void 0||Be.call(a),delete a.swalCloseEventFinishedCallback,d.removeEventListener("animationend",z),d.removeEventListener("transitionend",z)}};d.addEventListener("animationend",z),d.addEventListener("transitionend",z)},ly=(l,d)=>{setTimeout(()=>{var h;typeof d=="function"&&d.bind(l.params)(),(h=a.eventEmitter)===null||h===void 0||h.emit("didClose"),l._destroy&&l._destroy()})},ya=l=>{let d=Ne();if(d||new Jc,d=Ne(),!d)return;let h=ga();zc()?Yt(fa()):n1(d,l),Pt(h),d.setAttribute("data-loading","true"),d.setAttribute("aria-busy","true"),d.focus()},n1=(l,d)=>{let h=Xs(),w=ga();!h||!w||(!d&&pn(Di())&&(d=Di()),Pt(h),d&&(Yt(d),w.setAttribute("data-button-to-replace",d.className),h.insertBefore(w,d)),Pe([l,h],_.loading))},i1=(l,d)=>{d.input==="select"||d.input==="radio"?l1(l,d):["text","email","number","tel","textarea"].some(h=>h===d.input)&&(Ks(d.inputValue)||lf(d.inputValue))&&(ya(Di()),c1(l,d))},r1=(l,d)=>{let h=l.getInput();if(!h)return null;switch(d.input){case"checkbox":return o1(h);case"radio":return a1(h);case"file":return s1(h);default:return d.inputAutoTrim?h.value.trim():h.value}},o1=l=>l.checked?1:0,a1=l=>l.checked?l.value:null,s1=l=>l.files&&l.files.length?l.getAttribute("multiple")!==null?l.files:l.files[0]:null,l1=(l,d)=>{let h=Ne();if(!h)return;let w=M=>{d.input==="select"?d1(h,Yc(M),d):d.input==="radio"&&u1(h,Yc(M),d)};Ks(d.inputOptions)||lf(d.inputOptions)?(ya(Di()),Zs(d.inputOptions).then(M=>{l.hideLoading(),w(M)})):typeof d.inputOptions=="object"?w(d.inputOptions):ie(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof d.inputOptions}`)},c1=(l,d)=>{let h=l.getInput();h&&(Yt(h),Zs(d.inputValue).then(w=>{h.value=d.input==="number"?`${parseFloat(w)||0}`:`${w}`,Pt(h),h.focus(),l.hideLoading()}).catch(w=>{ie(`Error in inputValue promise: ${w}`),h.value="",Pt(h),h.focus(),l.hideLoading()}))};function d1(l,d,h){let w=Or(l,_.select);if(!w)return;let M=(z,Te,Be)=>{let rt=document.createElement("option");rt.value=Be,An(rt,Te),rt.selected=cy(Be,h.inputValue),z.appendChild(rt)};d.forEach(z=>{let Te=z[0],Be=z[1];if(Array.isArray(Be)){let rt=document.createElement("optgroup");rt.label=Te,rt.disabled=!1,w.appendChild(rt),Be.forEach(Ca=>M(rt,Ca[1],Ca[0]))}else M(w,Be,Te)}),w.focus()}function u1(l,d,h){let w=Or(l,_.radio);if(!w)return;d.forEach(z=>{let Te=z[0],Be=z[1],rt=document.createElement("input"),Ca=document.createElement("label");rt.type="radio",rt.name=_.radio,rt.value=Te,cy(Te,h.inputValue)&&(rt.checked=!0);let Sf=document.createElement("span");An(Sf,Be),Sf.className=_.label,Ca.appendChild(rt),Ca.appendChild(Sf),w.appendChild(Ca)});let M=w.querySelectorAll("input");M.length&&M[0].focus()}let Yc=l=>{let d=[];return l instanceof Map?l.forEach((h,w)=>{let M=h;typeof M=="object"&&(M=Yc(M)),d.push([w,M])}):Object.keys(l).forEach(h=>{let w=l[h];typeof w=="object"&&(w=Yc(w)),d.push([h,w])}),d},cy=(l,d)=>!!d&&d.toString()===l.toString(),m1=l=>{let d=Ze.innerParams.get(l);l.disableButtons(),d.input?dy(l,"confirm"):Df(l,!0)},p1=l=>{let d=Ze.innerParams.get(l);l.disableButtons(),d.returnInputValueOnDeny?dy(l,"deny"):xf(l,!1)},f1=(l,d)=>{l.disableButtons(),d(_a.cancel)},dy=(l,d)=>{let h=Ze.innerParams.get(l);if(!h.input){ie(`The "input" parameter is needed to be set when using returnInputValueOn${N(d)}`);return}let w=l.getInput(),M=r1(l,h);h.inputValidator?h1(l,M,d):w&&!w.checkValidity()?(l.enableButtons(),l.showValidationMessage(h.validationMessage||w.validationMessage)):d==="deny"?xf(l,M):Df(l,M)},h1=(l,d,h)=>{let w=Ze.innerParams.get(l);l.disableInput(),Promise.resolve().then(()=>Zs(w.inputValidator(d,w.validationMessage))).then(z=>{l.enableButtons(),l.enableInput(),z?l.showValidationMessage(z):h==="deny"?xf(l,d):Df(l,d)})},xf=(l,d)=>{let h=Ze.innerParams.get(l||void 0);h.showLoaderOnDeny&&ya(fo()),h.preDeny?(l.isAwaitingPromise=!0,Promise.resolve().then(()=>Zs(h.preDeny(d,h.validationMessage))).then(M=>{M===!1?(l.hideLoading(),tl(l)):l.close({isDenied:!0,value:typeof M>"u"?d:M})}).catch(M=>my(l||void 0,M))):l.close({isDenied:!0,value:d})},uy=(l,d)=>{l.close({isConfirmed:!0,value:d})},my=(l,d)=>{l.rejectPromise(d)},Df=(l,d)=>{let h=Ze.innerParams.get(l||void 0);h.showLoaderOnConfirm&&ya(),h.preConfirm?(l.resetValidationMessage(),l.isAwaitingPromise=!0,Promise.resolve().then(()=>Zs(h.preConfirm(d,h.validationMessage))).then(M=>{pn(jc())||M===!1?(l.hideLoading(),tl(l)):uy(l,typeof M>"u"?d:M)}).catch(M=>my(l||void 0,M))):uy(l,d)};function Kc(){let l=Ze.innerParams.get(this);if(!l)return;let d=Ze.domCache.get(this);Yt(d.loader),zc()?l.icon&&Pt(fa()):g1(d),zn([d.popup,d.actions],_.loading),d.popup.removeAttribute("aria-busy"),d.popup.removeAttribute("data-loading"),d.confirmButton.disabled=!1,d.denyButton.disabled=!1,d.cancelButton.disabled=!1}let g1=l=>{let d=l.popup.getElementsByClassName(l.loader.getAttribute("data-button-to-replace"));d.length?Pt(d[0],"inline-block"):UM()&&Yt(l.actions)};function py(){let l=Ze.innerParams.get(this),d=Ze.domCache.get(this);return d?Uc(d.popup,l.input):null}function fy(l,d,h){let w=Ze.domCache.get(l);d.forEach(M=>{w[M].disabled=h})}function hy(l,d){let h=Ne();if(!(!h||!l))if(l.type==="radio"){let w=h.querySelectorAll(`[name="${_.radio}"]`);for(let M=0;M<w.length;M++)w[M].disabled=d}else l.disabled=d}function gy(){fy(this,["confirmButton","denyButton","cancelButton"],!1)}function _y(){fy(this,["confirmButton","denyButton","cancelButton"],!0)}function vy(){hy(this.getInput(),!1)}function by(){hy(this.getInput(),!0)}function yy(l){let d=Ze.domCache.get(this),h=Ze.innerParams.get(this);An(d.validationMessage,l),d.validationMessage.className=_["validation-message"],h.customClass&&h.customClass.validationMessage&&Pe(d.validationMessage,h.customClass.validationMessage),Pt(d.validationMessage);let w=this.getInput();w&&(w.setAttribute("aria-invalid","true"),w.setAttribute("aria-describedby",_["validation-message"]),jb(w),Pe(w,_.inputerror))}function wy(){let l=Ze.domCache.get(this);l.validationMessage&&Yt(l.validationMessage);let d=this.getInput();d&&(d.removeAttribute("aria-invalid"),d.removeAttribute("aria-describedby"),zn(d,_.inputerror))}let wa={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},_1=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],v1={allowEnterKey:void 0},b1=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Cy=l=>Object.prototype.hasOwnProperty.call(wa,l),xy=l=>_1.indexOf(l)!==-1,Dy=l=>v1[l],y1=l=>{Cy(l)||L(`Unknown parameter "${l}"`)},w1=l=>{b1.includes(l)&&L(`The parameter "${l}" is incompatible with toasts`)},C1=l=>{let d=Dy(l);d&&xi(l,d)},Ey=l=>{l.backdrop===!1&&l.allowOutsideClick&&L('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),l.theme&&!["light","dark","auto","minimal","borderless","bootstrap-4","bootstrap-4-light","bootstrap-4-dark","bootstrap-5","bootstrap-5-light","bootstrap-5-dark","material-ui","material-ui-light","material-ui-dark","embed-iframe","bulma","bulma-light","bulma-dark"].includes(l.theme)&&L(`Invalid theme "${l.theme}"`);for(let d in l)y1(d),l.toast&&w1(d),C1(d)};function Iy(l){let d=rn(),h=Ne(),w=Ze.innerParams.get(this);if(!h||tr(h,w.hideClass.popup)){L("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}let M=x1(l),z=Object.assign({},w,M);Ey(z),d.dataset.swal2Theme=z.theme,ey(this,z),Ze.innerParams.set(this,z),Object.defineProperties(this,{params:{value:Object.assign({},this.params,l),writable:!1,enumerable:!0}})}let x1=l=>{let d={};return Object.keys(l).forEach(h=>{xy(h)?d[h]=l[h]:L(`Invalid parameter to update: ${h}`)}),d};function Sy(){let l=Ze.domCache.get(this),d=Ze.innerParams.get(this);if(!d){My(this);return}l.popup&&a.swalCloseEventFinishedCallback&&(a.swalCloseEventFinishedCallback(),delete a.swalCloseEventFinishedCallback),typeof d.didDestroy=="function"&&d.didDestroy(),a.eventEmitter.emit("didDestroy"),D1(this)}let D1=l=>{My(l),delete l.params,delete a.keydownHandler,delete a.keydownTarget,delete a.currentInstance},My=l=>{l.isAwaitingPromise?(Ef(Ze,l),l.isAwaitingPromise=!0):(Ef(va,l),Ef(Ze,l),delete l.isAwaitingPromise,delete l.disableButtons,delete l.enableButtons,delete l.getInput,delete l.disableInput,delete l.enableInput,delete l.hideLoading,delete l.disableLoading,delete l.showValidationMessage,delete l.resetValidationMessage,delete l.close,delete l.closePopup,delete l.closeModal,delete l.closeToast,delete l.rejectPromise,delete l.update,delete l._destroy)},Ef=(l,d)=>{for(let h in l)l[h].delete(d)};var E1=Object.freeze({__proto__:null,_destroy:Sy,close:Nr,closeModal:Nr,closePopup:Nr,closeToast:Nr,disableButtons:_y,disableInput:by,disableLoading:Kc,enableButtons:gy,enableInput:vy,getInput:py,handleAwaitingPromise:tl,hideLoading:Kc,rejectPromise:sy,resetValidationMessage:wy,showValidationMessage:yy,update:Iy});let I1=(l,d,h)=>{l.toast?S1(l,d,h):(k1(d),T1(d),A1(l,d,h))},S1=(l,d,h)=>{d.popup.onclick=()=>{l&&(M1(l)||l.timer||l.input)||h(_a.close)}},M1=l=>!!(l.showConfirmButton||l.showDenyButton||l.showCancelButton||l.showCloseButton),Zc=!1,k1=l=>{l.popup.onmousedown=()=>{l.container.onmouseup=function(d){l.container.onmouseup=()=>{},d.target===l.container&&(Zc=!0)}}},T1=l=>{l.container.onmousedown=d=>{d.target===l.container&&d.preventDefault(),l.popup.onmouseup=function(h){l.popup.onmouseup=()=>{},(h.target===l.popup||h.target instanceof HTMLElement&&l.popup.contains(h.target))&&(Zc=!0)}}},A1=(l,d,h)=>{d.container.onclick=w=>{if(Zc){Zc=!1;return}w.target===d.container&&er(l.allowOutsideClick)&&h(_a.backdrop)}},R1=l=>typeof l=="object"&&l.jquery,ky=l=>l instanceof Element||R1(l),O1=l=>{let d={};return typeof l[0]=="object"&&!ky(l[0])?Object.assign(d,l[0]):["title","html","icon"].forEach((h,w)=>{let M=l[w];typeof M=="string"||ky(M)?d[h]=M:M!==void 0&&ie(`Unexpected type of ${h}! Expected "string" or "Element", got ${typeof M}`)}),d};function N1(...l){return new this(...l)}function P1(l){class d extends this{_main(w,M){return super._main(w,Object.assign({},l,M))}}return d}let F1=()=>a.timeout&&a.timeout.getTimerLeft(),Ty=()=>{if(a.timeout)return WM(),a.timeout.stop()},Ay=()=>{if(a.timeout){let l=a.timeout.start();return gf(l),l}},L1=()=>{let l=a.timeout;return l&&(l.running?Ty():Ay())},V1=l=>{if(a.timeout){let d=a.timeout.increase(l);return gf(d,!0),d}},B1=()=>!!(a.timeout&&a.timeout.isRunning()),Ry=!1,If={};function j1(l="data-swal-template"){If[l]=this,Ry||(document.body.addEventListener("click",H1),Ry=!0)}let H1=l=>{for(let d=l.target;d&&d!==document;d=d.parentNode)for(let h in If){let w=d.getAttribute(h);if(w){If[h].fire({template:w});return}}};class z1{constructor(){this.events={}}_getHandlersByEventName(d){return typeof this.events[d]>"u"&&(this.events[d]=[]),this.events[d]}on(d,h){let w=this._getHandlersByEventName(d);w.includes(h)||w.push(h)}once(d,h){let w=(...M)=>{this.removeListener(d,w),h.apply(this,M)};this.on(d,w)}emit(d,...h){this._getHandlersByEventName(d).forEach(w=>{try{w.apply(this,h)}catch(M){console.error(M)}})}removeListener(d,h){let w=this._getHandlersByEventName(d),M=w.indexOf(h);M>-1&&w.splice(M,1)}removeAllListeners(d){this.events[d]!==void 0&&(this.events[d].length=0)}reset(){this.events={}}}a.eventEmitter=new z1;var U1=Object.freeze({__proto__:null,argsToParams:O1,bindClickHandler:j1,clickCancel:Ok,clickConfirm:ty,clickDeny:Rk,enableLoading:ya,fire:N1,getActions:Xs,getCancelButton:ha,getCloseButton:uf,getConfirmButton:Di,getContainer:rn,getDenyButton:fo,getFocusableElements:mf,getFooter:Bb,getHtmlContainer:cf,getIcon:fa,getIconContent:VM,getImage:Vb,getInputLabel:BM,getLoader:ga,getPopup:Ne,getProgressSteps:df,getTimerLeft:F1,getTimerProgressBar:Hc,getTitle:Lb,getValidationMessage:jc,increaseTimer:V1,isDeprecatedParameter:Dy,isLoading:HM,isTimerRunning:B1,isUpdatableParameter:xy,isValidParameter:Cy,isVisible:Ak,mixin:P1,off:(l,d)=>{if(!l){a.eventEmitter.reset();return}d?a.eventEmitter.removeListener(l,d):a.eventEmitter.removeAllListeners(l)},on:(l,d)=>{a.eventEmitter.on(l,d)},once:(l,d)=>{a.eventEmitter.once(l,d)},resumeTimer:Ay,showLoading:ya,stopTimer:Ty,toggleTimer:L1});class $1{constructor(d,h){this.callback=d,this.remaining=h,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(d){let h=this.running;return h&&this.stop(),this.remaining+=d,h&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}let Oy=["swal-title","swal-html","swal-footer"],W1=l=>{let d=typeof l.template=="string"?document.querySelector(l.template):l.template;if(!d)return{};let h=d.content;return J1(h),Object.assign(G1(h),q1(h),Y1(h),K1(h),Z1(h),Q1(h),X1(h,Oy))},G1=l=>{let d={};return Array.from(l.querySelectorAll("swal-param")).forEach(w=>{_o(w,["name","value"]);let M=w.getAttribute("name"),z=w.getAttribute("value");!M||!z||(typeof wa[M]=="boolean"?d[M]=z!=="false":typeof wa[M]=="object"?d[M]=JSON.parse(z):d[M]=z)}),d},q1=l=>{let d={};return Array.from(l.querySelectorAll("swal-function-param")).forEach(w=>{let M=w.getAttribute("name"),z=w.getAttribute("value");!M||!z||(d[M]=new Function(`return ${z}`)())}),d},Y1=l=>{let d={};return Array.from(l.querySelectorAll("swal-button")).forEach(w=>{_o(w,["type","color","aria-label"]);let M=w.getAttribute("type");!M||!["confirm","cancel","deny"].includes(M)||(d[`${M}ButtonText`]=w.innerHTML,d[`show${N(M)}Button`]=!0,w.hasAttribute("color")&&(d[`${M}ButtonColor`]=w.getAttribute("color")),w.hasAttribute("aria-label")&&(d[`${M}ButtonAriaLabel`]=w.getAttribute("aria-label")))}),d},K1=l=>{let d={},h=l.querySelector("swal-image");return h&&(_o(h,["src","width","height","alt"]),h.hasAttribute("src")&&(d.imageUrl=h.getAttribute("src")||void 0),h.hasAttribute("width")&&(d.imageWidth=h.getAttribute("width")||void 0),h.hasAttribute("height")&&(d.imageHeight=h.getAttribute("height")||void 0),h.hasAttribute("alt")&&(d.imageAlt=h.getAttribute("alt")||void 0)),d},Z1=l=>{let d={},h=l.querySelector("swal-icon");return h&&(_o(h,["type","color"]),h.hasAttribute("type")&&(d.icon=h.getAttribute("type")),h.hasAttribute("color")&&(d.iconColor=h.getAttribute("color")),d.iconHtml=h.innerHTML),d},Q1=l=>{let d={},h=l.querySelector("swal-input");h&&(_o(h,["type","label","placeholder","value"]),d.input=h.getAttribute("type")||"text",h.hasAttribute("label")&&(d.inputLabel=h.getAttribute("label")),h.hasAttribute("placeholder")&&(d.inputPlaceholder=h.getAttribute("placeholder")),h.hasAttribute("value")&&(d.inputValue=h.getAttribute("value")));let w=Array.from(l.querySelectorAll("swal-input-option"));return w.length&&(d.inputOptions={},w.forEach(M=>{_o(M,["value"]);let z=M.getAttribute("value");if(!z)return;let Te=M.innerHTML;d.inputOptions[z]=Te})),d},X1=(l,d)=>{let h={};for(let w in d){let M=d[w],z=l.querySelector(M);z&&(_o(z,[]),h[M.replace(/^swal-/,"")]=z.innerHTML.trim())}return h},J1=l=>{let d=Oy.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(l.children).forEach(h=>{let w=h.tagName.toLowerCase();d.includes(w)||L(`Unrecognized element <${w}>`)})},_o=(l,d)=>{Array.from(l.attributes).forEach(h=>{d.indexOf(h.name)===-1&&L([`Unrecognized attribute "${h.name}" on <${l.tagName.toLowerCase()}>.`,`${d.length?`Allowed attributes are: ${d.join(", ")}`:"To set the value, use HTML within the element."}`])})},Ny=10,eT=l=>{let d=rn(),h=Ne();typeof l.willOpen=="function"&&l.willOpen(h),a.eventEmitter.emit("willOpen",h);let M=window.getComputedStyle(document.body).overflowY;iT(d,h,l),setTimeout(()=>{tT(d,h)},Ny),pf()&&(nT(d,l.scrollbarPadding,M),Hk()),!zc()&&!a.previousActiveElement&&(a.previousActiveElement=document.activeElement),typeof l.didOpen=="function"&&setTimeout(()=>l.didOpen(h)),a.eventEmitter.emit("didOpen",h)},Qc=l=>{let d=Ne();if(l.target!==d)return;let h=rn();d.removeEventListener("animationend",Qc),d.removeEventListener("transitionend",Qc),h.style.overflowY="auto",zn(h,_["no-transition"])},tT=(l,d)=>{Ub(d)?(l.style.overflowY="hidden",d.addEventListener("animationend",Qc),d.addEventListener("transitionend",Qc)):l.style.overflowY="auto"},nT=(l,d,h)=>{zk(),d&&h!=="hidden"&&Kk(h),setTimeout(()=>{l.scrollTop=0})},iT=(l,d,h)=>{Pe(l,h.showClass.backdrop),h.animation?(d.style.setProperty("opacity","0","important"),Pt(d,"grid"),setTimeout(()=>{Pe(d,h.showClass.popup),d.style.removeProperty("opacity")},Ny)):Pt(d,"grid"),Pe([document.documentElement,document.body],_.shown),h.heightAuto&&h.backdrop&&!h.toast&&Pe([document.documentElement,document.body],_["height-auto"])};var Py={email:(l,d)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(l)?Promise.resolve():Promise.resolve(d||"Invalid email address"),url:(l,d)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(l)?Promise.resolve():Promise.resolve(d||"Invalid URL")};function rT(l){l.inputValidator||(l.input==="email"&&(l.inputValidator=Py.email),l.input==="url"&&(l.inputValidator=Py.url))}function oT(l){(!l.target||typeof l.target=="string"&&!document.querySelector(l.target)||typeof l.target!="string"&&!l.target.appendChild)&&(L('Target parameter is not valid, defaulting to "body"'),l.target="body")}function aT(l){rT(l),l.showLoaderOnConfirm&&!l.preConfirm&&L(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
showLoaderOnConfirm should be used together with preConfirm, see usage example:
https://sweetalert2.github.io/#ajax-request`),oT(l),typeof l.title=="string"&&(l.title=l.title.split(`
`).join("<br />")),JM(l)}let Ei;var Xc=new WeakMap;class mt{constructor(...d){if(i(this,Xc,void 0),typeof window>"u")return;Ei=this;let h=Object.freeze(this.constructor.argsToParams(d));this.params=h,this.isAwaitingPromise=!1,r(Xc,this,this._main(Ei.params))}_main(d,h={}){if(Ey(Object.assign({},h,d)),a.currentInstance){let z=va.swalPromiseResolve.get(a.currentInstance),{isAwaitingPromise:Te}=a.currentInstance;a.currentInstance._destroy(),Te||z({isDismissed:!0}),pf()&&ry()}a.currentInstance=Ei;let w=lT(d,h);aT(w),Object.freeze(w),a.timeout&&(a.timeout.stop(),delete a.timeout),clearTimeout(a.restoreFocusTimeout);let M=cT(Ei);return ey(Ei,w),Ze.innerParams.set(Ei,w),sT(Ei,M,w)}then(d){return e(Xc,this).then(d)}finally(d){return e(Xc,this).finally(d)}}let sT=(l,d,h)=>new Promise((w,M)=>{let z=Te=>{l.close({isDismissed:!0,dismiss:Te,isConfirmed:!1,isDenied:!1})};va.swalPromiseResolve.set(l,w),va.swalPromiseReject.set(l,M),d.confirmButton.onclick=()=>{m1(l)},d.denyButton.onclick=()=>{p1(l)},d.cancelButton.onclick=()=>{f1(l,z)},d.closeButton.onclick=()=>{z(_a.close)},I1(h,d,z),Nk(a,h,z),i1(l,h),eT(h),dT(a,h,z),uT(d,h),setTimeout(()=>{d.container.scrollTop=0})}),lT=(l,d)=>{let h=W1(l),w=Object.assign({},wa,d,h,l);return w.showClass=Object.assign({},wa.showClass,w.showClass),w.hideClass=Object.assign({},wa.hideClass,w.hideClass),w.animation===!1&&(w.showClass={backdrop:"swal2-noanimation"},w.hideClass={}),w},cT=l=>{let d={popup:Ne(),container:rn(),actions:Xs(),confirmButton:Di(),denyButton:fo(),cancelButton:ha(),loader:ga(),closeButton:uf(),validationMessage:jc(),progressSteps:df()};return Ze.domCache.set(l,d),d},dT=(l,d,h)=>{let w=Hc();Yt(w),d.timer&&(l.timeout=new $1(()=>{h("timer"),delete l.timeout},d.timer),d.timerProgressBar&&(Pt(w),Rn(w,d,"timerProgressBar"),setTimeout(()=>{l.timeout&&l.timeout.running&&gf(d.timer)})))},uT=(l,d)=>{if(!d.toast){if(!er(d.allowEnterKey)){xi("allowEnterKey"),fT();return}mT(l)||pT(l,d)||Cf(-1,1)}},mT=l=>{let d=Array.from(l.popup.querySelectorAll("[autofocus]"));for(let h of d)if(h instanceof HTMLElement&&pn(h))return h.focus(),!0;return!1},pT=(l,d)=>d.focusDeny&&pn(l.denyButton)?(l.denyButton.focus(),!0):d.focusCancel&&pn(l.cancelButton)?(l.cancelButton.focus(),!0):d.focusConfirm&&pn(l.confirmButton)?(l.confirmButton.focus(),!0):!1,fT=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};mt.prototype.disableButtons=_y,mt.prototype.enableButtons=gy,mt.prototype.getInput=py,mt.prototype.disableInput=by,mt.prototype.enableInput=vy,mt.prototype.hideLoading=Kc,mt.prototype.disableLoading=Kc,mt.prototype.showValidationMessage=yy,mt.prototype.resetValidationMessage=wy,mt.prototype.close=Nr,mt.prototype.closePopup=Nr,mt.prototype.closeModal=Nr,mt.prototype.closeToast=Nr,mt.prototype.rejectPromise=sy,mt.prototype.update=Iy,mt.prototype._destroy=Sy,Object.assign(mt,U1),Object.keys(E1).forEach(l=>{mt[l]=function(...d){return Ei&&Ei[l]?Ei[l](...d):null}}),mt.DismissReason=_a,mt.version="11.26.3";let Jc=mt;return Jc.default=Jc,Jc});typeof Ji<"u"&&Ji.Sweetalert2&&(Ji.swal=Ji.sweetAlert=Ji.Swal=Ji.SweetAlert=Ji.Sweetalert2);typeof document<"u"&&function(t,n){var e=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(e),e.styleSheet)e.styleSheet.disabled||(e.styleSheet.cssText=n);else try{e.innerHTML=n}catch{e.innerText=n}}(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}')});function Rf(t,n){return Object.is(t,n)}var Ct=null,td=!1,Of=1,fn=Symbol("SIGNAL");function De(t){let n=Ct;return Ct=t,n}function Nf(){return Ct}var xa={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function il(t){if(td)throw new Error("");if(Ct===null)return;Ct.consumerOnSignalRead(t);let n=Ct.nextProducerIndex++;if(ad(Ct),n<Ct.producerNode.length&&Ct.producerNode[n]!==t&&nl(Ct)){let e=Ct.producerNode[n];od(e,Ct.producerIndexOfThis[n])}Ct.producerNode[n]!==t&&(Ct.producerNode[n]=t,Ct.producerIndexOfThis[n]=nl(Ct)?jy(t,Ct,n):0),Ct.producerLastReadVersion[n]=t.version}function By(){Of++}function Pf(t){if(!(nl(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Of)){if(!t.producerMustRecompute(t)&&!rd(t)){Af(t);return}t.producerRecomputeValue(t),Af(t)}}function Ff(t){if(t.liveConsumerNode===void 0)return;let n=td;td=!0;try{for(let e of t.liveConsumerNode)e.dirty||DT(e)}finally{td=n}}function Lf(){return Ct?.consumerAllowSignalWrites!==!1}function DT(t){t.dirty=!0,Ff(t),t.consumerMarkedDirty?.(t)}function Af(t){t.dirty=!1,t.lastCleanEpoch=Of}function rl(t){return t&&(t.nextProducerIndex=0),De(t)}function id(t,n){if(De(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(nl(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)od(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function rd(t){ad(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(Pf(e),i!==e.version))return!0}return!1}function ol(t){if(ad(t),nl(t))for(let n=0;n<t.producerNode.length;n++)od(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function jy(t,n,e){if(Hy(t),t.liveConsumerNode.length===0&&zy(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=jy(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function od(t,n){if(Hy(t),t.liveConsumerNode.length===1&&zy(t))for(let i=0;i<t.producerNode.length;i++)od(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];ad(r),r.producerIndexOfThis[i]=n}}function nl(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ad(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Hy(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function zy(t){return t.producerNode!==void 0}function sd(t,n){let e=Object.create(ET);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(Pf(e),il(e),e.value===nd)throw e.error;return e.value};return i[fn]=e,i}var kf=Symbol("UNSET"),Tf=Symbol("COMPUTING"),nd=Symbol("ERRORED"),ET=ce(R({},xa),{value:kf,dirty:!0,error:null,equal:Rf,kind:"computed",producerMustRecompute(t){return t.value===kf||t.value===Tf},producerRecomputeValue(t){if(t.value===Tf)throw new Error("Detected cycle in computations.");let n=t.value;t.value=Tf;let e=rl(t),i,r=!1;try{i=t.computation(),De(null),r=n!==kf&&n!==nd&&i!==nd&&t.equal(n,i)}catch(o){i=nd,t.error=o}finally{id(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function IT(){throw new Error}var Uy=IT;function $y(t){Uy(t)}function Vf(t){Uy=t}var ST=null;function Bf(t,n){let e=Object.create(ld);e.value=t,n!==void 0&&(e.equal=n);let i=()=>(il(e),e.value);return i[fn]=e,i}function al(t,n){Lf()||$y(t),t.equal(t.value,n)||(t.value=n,MT(t))}function jf(t,n){Lf()||$y(t),al(t,n(t.value))}var ld=ce(R({},xa),{equal:Rf,value:void 0,kind:"signal"});function MT(t){t.version++,By(),Ff(t),ST?.()}function Hf(t){let n=De(null);try{return t()}finally{De(n)}}var zf;function sl(){return zf}function nr(t){let n=zf;return zf=t,n}var cd=Symbol("NotFound");function ge(t){return typeof t=="function"}function Da(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var dd=Da(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
  `)}`:"",this.name="UnsubscriptionError",this.errors=e});function vo(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var de=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(ge(i))try{i()}catch(o){n=o instanceof dd?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Wy(o)}catch(a){n=n??[],a instanceof dd?n=[...n,...a.errors]:n.push(a)}}if(n)throw new dd(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Wy(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&vo(e,n)}remove(n){let{_finalizers:e}=this;e&&vo(e,n),n instanceof t&&n._removeParent(this)}};de.EMPTY=(()=>{let t=new de;return t.closed=!0,t})();var Uf=de.EMPTY;function ud(t){return t instanceof de||t&&"closed"in t&&ge(t.remove)&&ge(t.add)&&ge(t.unsubscribe)}function Wy(t){ge(t)?t():t.unsubscribe()}var oi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ea={setTimeout(t,n,...e){let{delegate:i}=Ea;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Ea;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function md(t){Ea.setTimeout(()=>{let{onUnhandledError:n}=oi;if(n)n(t);else throw t})}function ll(){}var Gy=$f("C",void 0,void 0);function qy(t){return $f("E",void 0,t)}function Yy(t){return $f("N",t,void 0)}function $f(t,n,e){return{kind:t,value:n,error:e}}var bo=null;function Ia(t){if(oi.useDeprecatedSynchronousErrorHandling){let n=!bo;if(n&&(bo={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=bo;if(bo=null,e)throw i}}else t()}function Ky(t){oi.useDeprecatedSynchronousErrorHandling&&bo&&(bo.errorThrown=!0,bo.error=t)}var yo=class extends de{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ud(n)&&n.add(this)):this.destination=NT}static create(n,e,i){return new ir(n,e,i)}next(n){this.isStopped?Gf(Yy(n),this):this._next(n)}error(n){this.isStopped?Gf(qy(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Gf(Gy,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},RT=Function.prototype.bind;function Wf(t,n){return RT.call(t,n)}var qf=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){pd(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){pd(i)}else pd(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){pd(e)}}},ir=class extends yo{constructor(n,e,i){super();let r;if(ge(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&oi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Wf(n.next,o),error:n.error&&Wf(n.error,o),complete:n.complete&&Wf(n.complete,o)}):r=n}this.destination=new qf(r)}};function pd(t){oi.useDeprecatedSynchronousErrorHandling?Ky(t):md(t)}function OT(t){throw t}function Gf(t,n){let{onStoppedNotification:e}=oi;e&&Ea.setTimeout(()=>e(t,n))}var NT={closed:!0,next:ll,error:OT,complete:ll};var Sa=typeof Symbol=="function"&&Symbol.observable||"@@observable";function on(t){return t}function Yf(...t){return Kf(t)}function Kf(t){return t.length===0?on:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var we=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=FT(e)?e:new ir(e,i,r);return Ia(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=Zy(i),new i((r,o)=>{let a=new ir({next:s=>{try{e(s)}catch(c){o(c),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[Sa](){return this}pipe(...e){return Kf(e)(this)}toPromise(e){return e=Zy(e),new e((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function Zy(t){var n;return(n=t??oi.Promise)!==null&&n!==void 0?n:Promise}function PT(t){return t&&ge(t.next)&&ge(t.error)&&ge(t.complete)}function FT(t){return t&&t instanceof yo||PT(t)&&ud(t)}function Zf(t){return ge(t?.lift)}function me(t){return n=>{if(Zf(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ue(t,n,e,i,r){return new Qf(t,n,e,i,r)}var Qf=class extends yo{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){n.error(c)}}:super._next,this._error=r?function(s){try{r(s)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Ma(){return me((t,n)=>{let e=null;t._refCount++;let i=ue(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var ka=class extends we{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Zf(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new de;let e=this.getSubject();n.add(this.source.subscribe(ue(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=de.EMPTY)}return n}refCount(){return Ma()(this)}};var Qy=Da(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var V=(()=>{class t extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new fd(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Qy}next(e){Ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Uf:(this.currentObservers=null,o.push(e),new de(()=>{this.currentObservers=null,vo(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new we;return e.source=this,e}}return t.create=(n,e)=>new fd(n,e),t})(),fd=class extends V{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:Uf}};var xt=class extends V{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var cl={now(){return(cl.delegate||Date).now()},delegate:void 0};var wo=class extends V{constructor(n=1/0,e=1/0,i=cl){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=e.now(),s=0;for(let c=1;c<i.length&&i[c]<=a;c+=2)s=c;s&&i.splice(0,s+1)}}};var hd=class extends de{constructor(n,e){super()}schedule(n,e=0){return this}};var dl={setInterval(t,n,...e){let{delegate:i}=dl;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=dl;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var gd=class extends hd{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return dl.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&dl.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,vo(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var Ta=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Ta.now=cl.now;var _d=class extends Ta{constructor(n,e=Ta.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var ul=new _d(gd),Xy=ul;var Ft=new we(t=>t.complete());function vd(t){return t&&ge(t.schedule)}function Xf(t){return t[t.length-1]}function bd(t){return ge(Xf(t))?t.pop():void 0}function Ii(t){return vd(Xf(t))?t.pop():void 0}function Jy(t,n){return typeof Xf(t)=="number"?t.pop():n}function t0(t,n,e,i){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(b){try{g(i.next(b))}catch(_){a(_)}}function c(b){try{g(i.throw(b))}catch(_){a(_)}}function g(b){b.done?o(b.value):r(b.value).then(s,c)}g((i=i.apply(t,n||[])).next())})}function e0(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Co(t){return this instanceof Co?(this.v=t,this):new Co(t)}function n0(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(C){return function(S){return Promise.resolve(S).then(C,_)}}function s(C,S){i[C]&&(r[C]=function(N){return new Promise(function(L,ie){o.push([C,N,L,ie])>1||c(C,N)})},S&&(r[C]=S(r[C])))}function c(C,S){try{g(i[C](S))}catch(N){D(o[0][3],N)}}function g(C){C.value instanceof Co?Promise.resolve(C.value.v).then(b,_):D(o[0][2],C)}function b(C){c("next",C)}function _(C){c("throw",C)}function D(C,S){C(S),o.shift(),o.length&&c(o[0][0],o[0][1])}}function i0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof e0=="function"?e0(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,c){a=t[o](a),r(s,c,a.done,a.value)})}}function r(o,a,s,c){Promise.resolve(c).then(function(g){o({value:g,done:s})},a)}}var yd=t=>t&&typeof t.length=="number"&&typeof t!="function";function wd(t){return ge(t?.then)}function Cd(t){return ge(t[Sa])}function xd(t){return Symbol.asyncIterator&&ge(t?.[Symbol.asyncIterator])}function Dd(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function LT(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ed=LT();function Id(t){return ge(t?.[Ed])}function Sd(t){return n0(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Co(e.read());if(r)return yield Co(void 0);yield yield Co(i)}}finally{e.releaseLock()}})}function Md(t){return ge(t?.getReader)}function Ge(t){if(t instanceof we)return t;if(t!=null){if(Cd(t))return VT(t);if(yd(t))return BT(t);if(wd(t))return jT(t);if(xd(t))return r0(t);if(Id(t))return HT(t);if(Md(t))return zT(t)}throw Dd(t)}function VT(t){return new we(n=>{let e=t[Sa]();if(ge(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function BT(t){return new we(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function jT(t){return new we(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,md)})}function HT(t){return new we(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function r0(t){return new we(n=>{UT(t,n).catch(e=>n.error(e))})}function zT(t){return r0(Sd(t))}function UT(t,n){var e,i,r,o;return t0(this,void 0,void 0,function*(){try{for(e=i0(t);i=yield e.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function hn(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function kd(t,n=0){return me((e,i)=>{e.subscribe(ue(i,r=>hn(i,t,()=>i.next(r),n),()=>hn(i,t,()=>i.complete(),n),r=>hn(i,t,()=>i.error(r),n)))})}function Td(t,n=0){return me((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function o0(t,n){return Ge(t).pipe(Td(n),kd(n))}function a0(t,n){return Ge(t).pipe(Td(n),kd(n))}function s0(t,n){return new we(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function l0(t,n){return new we(e=>{let i;return hn(e,n,()=>{i=t[Ed](),hn(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>ge(i?.return)&&i.return()})}function Ad(t,n){if(!t)throw new Error("Iterable cannot be null");return new we(e=>{hn(e,n,()=>{let i=t[Symbol.asyncIterator]();hn(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function c0(t,n){return Ad(Sd(t),n)}function d0(t,n){if(t!=null){if(Cd(t))return o0(t,n);if(yd(t))return s0(t,n);if(wd(t))return a0(t,n);if(xd(t))return Ad(t,n);if(Id(t))return l0(t,n);if(Md(t))return c0(t,n)}throw Dd(t)}function ze(t,n){return n?d0(t,n):Ge(t)}function G(...t){let n=Ii(t);return ze(t,n)}function ai(t,n){let e=ge(t)?t:()=>t,i=r=>r.error(e());return new we(n?r=>n.schedule(i,0,r):i)}function Rd(t){return!!t&&(t instanceof we||ge(t.lift)&&ge(t.subscribe))}var rr=Da(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function u0(t){return t instanceof Date&&!isNaN(t)}function re(t,n){return me((e,i)=>{let r=0;e.subscribe(ue(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:$T}=Array;function WT(t,n){return $T(n)?t(...n):t(n)}function Od(t){return re(n=>WT(t,n))}var{isArray:GT}=Array,{getPrototypeOf:qT,prototype:YT,keys:KT}=Object;function Nd(t){if(t.length===1){let n=t[0];if(GT(n))return{args:n,keys:null};if(ZT(n)){let e=KT(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function ZT(t){return t&&typeof t=="object"&&qT(t)===YT}function Pd(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function xo(...t){let n=Ii(t),e=bd(t),{args:i,keys:r}=Nd(t);if(i.length===0)return ze([],n);let o=new we(QT(i,n,r?a=>Pd(r,a):on));return e?o.pipe(Od(e)):o}function QT(t,n,e=on){return i=>{m0(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let c=0;c<r;c++)m0(n,()=>{let g=ze(t[c],n),b=!1;g.subscribe(ue(i,_=>{o[c]=_,b||(b=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}function m0(t,n,e){t?hn(e,t,n):n()}function p0(t,n,e,i,r,o,a,s){let c=[],g=0,b=0,_=!1,D=()=>{_&&!c.length&&!g&&n.complete()},C=N=>g<i?S(N):c.push(N),S=N=>{o&&n.next(N),g++;let L=!1;Ge(e(N,b++)).subscribe(ue(n,ie=>{r?.(ie),o?C(ie):n.next(ie)},()=>{L=!0},void 0,()=>{if(L)try{for(g--;c.length&&g<i;){let ie=c.shift();a?hn(n,a,()=>S(ie)):S(ie)}D()}catch(ie){n.error(ie)}}))};return t.subscribe(ue(n,C,()=>{_=!0,D()})),()=>{s?.()}}function pt(t,n,e=1/0){return ge(n)?pt((i,r)=>re((o,a)=>n(i,o,r,a))(Ge(t(i,r))),e):(typeof n=="number"&&(e=n),me((i,r)=>p0(i,r,t,e)))}function Pr(t=1/0){return pt(on,t)}function f0(){return Pr(1)}function Fr(...t){return f0()(ze(t,Ii(t)))}function Aa(t){return new we(n=>{Ge(t()).subscribe(n)})}function ml(...t){let n=bd(t),{args:e,keys:i}=Nd(t),r=new we(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),c=a,g=a;for(let b=0;b<a;b++){let _=!1;Ge(e[b]).subscribe(ue(o,D=>{_||(_=!0,g--),s[b]=D},()=>c--,void 0,()=>{(!c||!_)&&(g||o.next(i?Pd(i,s):s),o.complete())}))}});return n?r.pipe(Od(n)):r}function h0(t=0,n,e=Xy){let i=-1;return n!=null&&(vd(n)?e=n:i=n),new we(r=>{let o=u0(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Kt(...t){let n=Ii(t),e=Jy(t,1/0),i=t;return i.length?i.length===1?Ge(i[0]):Pr(e)(ze(i,n)):Ft}function ve(t,n){return me((e,i)=>{let r=0;e.subscribe(ue(i,o=>t.call(n,o,r++)&&i.next(o)))})}function g0(t){return me((n,e)=>{let i=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let g=r;r=null,e.next(g)}a&&e.complete()},c=()=>{o=null,a&&e.complete()};n.subscribe(ue(e,g=>{i=!0,r=g,o||Ge(t(g)).subscribe(o=ue(e,s,c))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function Fd(t,n=ul){return g0(()=>h0(t,n))}function Zt(t){return me((n,e)=>{let i=null,r=!1,o;i=n.subscribe(ue(e,void 0,void 0,a=>{o=Ge(t(a,Zt(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function _0(t,n,e,i,r){return(o,a)=>{let s=e,c=n,g=0;o.subscribe(ue(a,b=>{let _=g++;c=s?t(c,b,_):(s=!0,b),i&&a.next(c)},r&&(()=>{s&&a.next(c),a.complete()})))}}function Si(t,n){return ge(n)?pt(t,n,1):pt(t,1)}function Lr(t,n=ul){return me((e,i)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let g=o;o=null,i.next(g)}};function c(){let g=a+t,b=n.now();if(b<g){r=this.schedule(void 0,g-b),i.add(r);return}s()}e.subscribe(ue(i,g=>{o=g,a=n.now(),r||(r=n.schedule(c,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function Vr(t){return me((n,e)=>{let i=!1;n.subscribe(ue(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function Lt(t){return t<=0?()=>Ft:me((n,e)=>{let i=0;n.subscribe(ue(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function Ra(t,n=on){return t=t??XT,me((e,i)=>{let r,o=!0;e.subscribe(ue(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function XT(t,n){return t===n}function Ld(t=JT){return me((n,e)=>{let i=!1;n.subscribe(ue(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function JT(){return new rr}function Un(t){return me((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function or(t,n){let e=arguments.length>=2;return i=>i.pipe(t?ve((r,o)=>t(r,o,i)):on,Lt(1),e?Vr(n):Ld(()=>new rr))}function Oa(t){return t<=0?()=>Ft:me((n,e)=>{let i=[];n.subscribe(ue(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function Jf(t,n){let e=arguments.length>=2;return i=>i.pipe(t?ve((r,o)=>t(r,o,i)):on,Oa(1),e?Vr(n):Ld(()=>new rr))}function Vd(){return me((t,n)=>{let e,i=!1;t.subscribe(ue(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function eh(t,n){return me(_0(t,n,arguments.length>=2,!0))}function pl(t={}){let{connector:n=()=>new V,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,c,g=0,b=!1,_=!1,D=()=>{s?.unsubscribe(),s=void 0},C=()=>{D(),a=c=void 0,b=_=!1},S=()=>{let N=a;C(),N?.unsubscribe()};return me((N,L)=>{g++,!_&&!b&&D();let ie=c=c??n();L.add(()=>{g--,g===0&&!_&&!b&&(s=th(S,r))}),ie.subscribe(L),!a&&g>0&&(a=new ir({next:Ve=>ie.next(Ve),error:Ve=>{_=!0,D(),s=th(C,e,Ve),ie.error(Ve)},complete:()=>{b=!0,D(),s=th(C,i),ie.complete()}}),Ge(N).subscribe(a))})(o)}}function th(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new ir({next:()=>{i.unsubscribe(),t()}});return Ge(n(...e)).subscribe(i)}function Br(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,pl({connector:()=>new wo(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function fl(t){return ve((n,e)=>t<=e)}function Qe(...t){let n=Ii(t);return me((e,i)=>{(n?Fr(t,e,n):Fr(t,e)).subscribe(i)})}function Xe(t,n){return me((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(ue(i,c=>{r?.unsubscribe();let g=0,b=o++;Ge(t(c,b)).subscribe(r=ue(i,_=>i.next(n?n(c,_,b,g++):_),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Ie(t){return me((n,e)=>{Ge(t).subscribe(ue(e,()=>e.complete(),ll)),!e.closed&&n.subscribe(e)})}function nh(t,n=!1){return me((e,i)=>{let r=0;e.subscribe(ue(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}function qe(t,n,e){let i=ge(t)||n||e?{next:t,error:n,complete:e}:t;return i?me((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(ue(o,c=>{var g;(g=i.next)===null||g===void 0||g.call(i,c),o.next(c)},()=>{var c;s=!1,(c=i.complete)===null||c===void 0||c.call(i),o.complete()},c=>{var g;s=!1,(g=i.error)===null||g===void 0||g.call(i,c),o.error(c)},()=>{var c,g;s&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(g=i.finalize)===null||g===void 0||g.call(i)}))}):on}var lw="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",H=class extends Error{code;constructor(n,e){super(Ig(n,e)),this.code=n}};function eA(t){return`NG0${Math.abs(t)}`}function Ig(t,n){return`${eA(t)}${n?": "+n:""}`}var cw=Symbol("InputSignalNode#UNSET"),tA=ce(R({},ld),{transformFn:void 0,applyValueToInputSignal(t,n){al(t,n)}});function dw(t,n){let e=Object.create(tA);e.value=t,e.transformFn=n?.transform;function i(){if(il(e),e.value===cw){let r=null;throw new H(-950,r)}return e.value}return i[fn]=e,i}function Il(t){return{toString:t}.toString()}var Bd="__parameters__";function nA(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function uw(t,n,e){return Il(()=>{let i=nA(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let a=new r(...o);return s.annotation=a,s;function s(c,g,b){let _=c.hasOwnProperty(Bd)?c[Bd]:Object.defineProperty(c,Bd,{value:[]})[Bd];for(;_.length<=b;)_.push(null);return(_[b]=_[b]||[]).push(a),c}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var Mi=globalThis;function Ye(t){for(let n in t)if(t[n]===Ye)return n;throw Error("Could not find renamed property on target object.")}function iA(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function _n(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(_n).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
`);return i>=0?e.slice(0,i):e}function vh(t,n){return t?n?`${t} ${n}`:t:n||""}var rA=Ye({__forward_ref__:Ye});function Gt(t){return t.__forward_ref__=Gt,t.toString=function(){return _n(this())},t}function an(t){return mw(t)?t():t}function mw(t){return typeof t=="function"&&t.hasOwnProperty(rA)&&t.__forward_ref__===Gt}function A(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function q(t){return{providers:t.providers||[],imports:t.imports||[]}}function Cu(t){return v0(t,fw)||v0(t,hw)}function pw(t){return Cu(t)!==null}function v0(t,n){return t.hasOwnProperty(n)?t[n]:null}function oA(t){let n=t&&(t[fw]||t[hw]);return n||null}function b0(t){return t&&(t.hasOwnProperty(y0)||t.hasOwnProperty(aA))?t[y0]:null}var fw=Ye({\u0275prov:Ye}),y0=Ye({\u0275inj:Ye}),hw=Ye({ngInjectableDef:Ye}),aA=Ye({ngInjectorDef:Ye}),T=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=A({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gw(t){return t&&!!t.\u0275providers}var sA=Ye({\u0275cmp:Ye}),lA=Ye({\u0275dir:Ye}),cA=Ye({\u0275pipe:Ye}),dA=Ye({\u0275mod:Ye}),Zd=Ye({\u0275fac:Ye}),vl=Ye({__NG_ELEMENT_ID__:Ye}),w0=Ye({__NG_ENV_ID__:Ye});function ja(t){return typeof t=="string"?t:t==null?"":String(t)}function uA(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ja(t)}function _w(t,n){throw new H(-200,t)}function Sg(t,n){throw new H(-201,!1)}var Ce=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Ce||{}),bh;function vw(){return bh}function gn(t){let n=bh;return bh=t,n}function bw(t,n,e){let i=Cu(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&Ce.Optional)return null;if(n!==void 0)return n;Sg(t,"Injector")}var mA={},Eo=mA,yh="__NG_DI_FLAG__",Qd=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=e;return this.injector.get(n,i.optional?cd:Eo,i)}},Xd="ngTempTokenPath",pA="ngTokenPath",fA=/\n/gm,hA="\u0275",C0="__source";function gA(t,n=Ce.Default){if(sl()===void 0)throw new H(-203,!1);if(sl()===null)return bw(t,void 0,n);{let e=sl(),i;return e instanceof Qd?i=e.injector:i=e,i.get(t,n&Ce.Optional?null:void 0,n)}}function Q(t,n=Ce.Default){return(vw()||gA)(an(t),n)}function p(t,n=Ce.Default){return Q(t,xu(n))}function xu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function wh(t){let n=[];for(let e=0;e<t.length;e++){let i=an(t[e]);if(Array.isArray(i)){if(i.length===0)throw new H(900,!1);let r,o=Ce.Default;for(let a=0;a<i.length;a++){let s=i[a],c=_A(s);typeof c=="number"?c===-1?r=s.token:o|=c:r=s}n.push(Q(r,o))}else n.push(Q(i))}return n}function yw(t,n){return t[yh]=n,t.prototype[yh]=n,t}function _A(t){return t[yh]}function vA(t,n,e,i){let r=t[Xd];throw n[C0]&&r.unshift(n[C0]),t.message=bA(`
`+t.message,r,e,i),t[pA]=r,t[Xd]=null,t}function bA(t,n,e,i=null){t=t&&t.charAt(0)===`
`&&t.charAt(1)==hA?t.slice(2):t;let r=_n(n);if(Array.isArray(n))r=n.map(_n).join(" -> ");else if(typeof n=="object"){let o=[];for(let a in n)if(n.hasOwnProperty(a)){let s=n[a];o.push(a+":"+(typeof s=="string"?JSON.stringify(s):_n(s)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(fA,`
  `)}`}var Pi=yw(uw("Optional"),8);var $r=yw(uw("SkipSelf"),4);function So(t,n){let e=t.hasOwnProperty(Zd);return e?t[Zd]:null}function yA(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function wA(t){return t.flat(Number.POSITIVE_INFINITY)}function Mg(t,n){t.forEach(e=>Array.isArray(e)?Mg(e,n):n(e))}function ww(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Jd(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function CA(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function xA(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function Du(t,n,e){let i=Sl(t,n);return i>=0?t[i|1]=e:(i=~i,xA(t,i,n,e)),i}function ih(t,n){let e=Sl(t,n);if(e>=0)return t[e|1]}function Sl(t,n){return DA(t,n,1)}function DA(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),a=t[o<<e];if(n===a)return o<<e;a>n?r=o:i=o+1}return~(r<<e)}var Mo={},sn=[],Ha=new T(""),Cw=new T("",-1),xw=new T(""),eu=class{get(n,e=Eo){if(e===Eo){let i=new Error(`NullInjectorError: No provider for ${_n(n)}!`);throw i.name="NullInjectorError",i}return e}};function Dw(t,n){let e=t[dA]||null;if(!e&&n===!0)throw new Error(`Type ${_n(t)} does not have '\u0275mod' property.`);return e}function zr(t){return t[sA]||null}function EA(t){return t[lA]||null}function IA(t){return t[cA]||null}function Bo(t){return{\u0275providers:t}}function SA(...t){return{\u0275providers:Ew(!0,t),\u0275fromNgModule:!0}}function Ew(t,...n){let e=[],i=new Set,r,o=a=>{e.push(a)};return Mg(n,a=>{let s=a;Ch(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&Iw(r,o),e}function Iw(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];kg(r,o=>{n(o,i)})}}function Ch(t,n,e,i){if(t=an(t),!t)return!1;let r=null,o=b0(t),a=!o&&zr(t);if(!o&&!a){let c=t.ngModule;if(o=b0(c),o)r=c;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){let c=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let g of c)Ch(g,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let g;try{Mg(o.imports,b=>{Ch(b,n,e,i)&&(g||=[],g.push(b))})}finally{}g!==void 0&&Iw(g,n)}if(!s){let g=So(r)||(()=>new r);n({provide:r,useFactory:g,deps:sn},r),n({provide:xw,useValue:r,multi:!0},r),n({provide:Ha,useValue:()=>Q(r),multi:!0},r)}let c=o.providers;if(c!=null&&!s){let g=t;kg(c,b=>{n(b,g)})}}else return!1;return r!==t&&t.providers!==void 0}function kg(t,n){for(let e of t)gw(e)&&(e=e.\u0275providers),Array.isArray(e)?kg(e,n):n(e)}var MA=Ye({provide:String,useValue:Ye});function Sw(t){return t!==null&&typeof t=="object"&&MA in t}function kA(t){return!!(t&&t.useExisting)}function TA(t){return!!(t&&t.useFactory)}function za(t){return typeof t=="function"}function AA(t){return!!t.useClass}var Eu=new T(""),$d={},x0={},rh;function Iu(){return rh===void 0&&(rh=new eu),rh}var st=class{},bl=class extends st{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Dh(n,a=>this.processProvider(a)),this.records.set(Cw,Na(void 0,this)),r.has("environment")&&this.records.set(st,Na(void 0,this));let o=this.records.get(Eu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(xw,sn,Ce.Self))}retrieve(n,e){let i=e;return this.get(n,i.optional?cd:Eo,i)}destroy(){gl(this),this._destroyed=!0;let n=De(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),De(n)}}onDestroy(n){return gl(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){gl(this);let e=nr(this),i=gn(void 0),r;try{return n()}finally{nr(e),gn(i)}}get(n,e=Eo,i=Ce.Default){if(gl(this),n.hasOwnProperty(w0))return n[w0](this);i=xu(i);let r,o=nr(this),a=gn(void 0);try{if(!(i&Ce.SkipSelf)){let c=this.records.get(n);if(c===void 0){let g=FA(n)&&Cu(n);g&&this.injectableDefInScope(g)?c=Na(xh(n),$d):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,i)}let s=i&Ce.Self?Iu():this.parent;return e=i&Ce.Optional&&e===Eo?null:e,s.get(n,e)}catch(s){if(s.name==="NullInjectorError"){if((s[Xd]=s[Xd]||[]).unshift(_n(n)),o)throw s;return vA(s,n,"R3InjectorError",this.source)}else throw s}finally{gn(a),nr(o)}}resolveInjectorInitializers(){let n=De(null),e=nr(this),i=gn(void 0),r;try{let o=this.get(Ha,sn,Ce.Self);for(let a of o)a()}finally{nr(e),gn(i),De(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(_n(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=an(n);let e=za(n)?n:an(n&&n.provide),i=OA(n);if(!za(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Na(void 0,$d,!0),r.factory=()=>wh(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=De(null);try{return e.value===x0?_w(_n(n)):e.value===$d&&(e.value=x0,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&PA(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{De(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=an(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function xh(t){let n=Cu(t),e=n!==null?n.factory:So(t);if(e!==null)return e;if(t instanceof T)throw new H(204,!1);if(t instanceof Function)return RA(t);throw new H(204,!1)}function RA(t){if(t.length>0)throw new H(204,!1);let e=oA(t);return e!==null?()=>e.factory(t):()=>new t}function OA(t){if(Sw(t))return Na(void 0,t.useValue);{let n=Mw(t);return Na(n,$d)}}function Mw(t,n,e){let i;if(za(t)){let r=an(t);return So(r)||xh(r)}else if(Sw(t))i=()=>an(t.useValue);else if(TA(t))i=()=>t.useFactory(...wh(t.deps||[]));else if(kA(t))i=(r,o)=>Q(an(t.useExisting),o!==void 0&&o&Ce.Optional?Ce.Optional:void 0);else{let r=an(t&&(t.useClass||t.provide));if(NA(t))i=()=>new r(...wh(t.deps));else return So(r)||xh(r)}return i}function gl(t){if(t.destroyed)throw new H(205,!1)}function Na(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function NA(t){return!!t.deps}function PA(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function FA(t){return typeof t=="function"||typeof t=="object"&&t instanceof T}function Dh(t,n){for(let e of t)Array.isArray(e)?Dh(e,n):e&&gw(e)?Dh(e.\u0275providers,n):n(e)}function vn(t,n){let e;t instanceof bl?(gl(t),e=t):e=new Qd(t);let i,r=nr(e),o=gn(void 0);try{return n()}finally{nr(r),gn(o)}}function kw(){return vw()!==void 0||sl()!=null}function Tg(t){if(!kw())throw new H(-203,!1)}function LA(t){return typeof t=="function"}var ur=0,_e=1,pe=2,Xt=3,ci=4,bn=5,Ua=6,tu=7,Dt=8,$a=9,ar=10,ot=11,yl=12,D0=13,Za=14,On=15,ko=16,Pa=17,sr=18,Su=19,Tw=20,jr=21,oh=22,To=23,$n=24,Va=25,Et=26,Aw=1;var Ao=7,nu=8,Wa=9,Qt=10;function Hr(t){return Array.isArray(t)&&typeof t[Aw]=="object"}function mr(t){return Array.isArray(t)&&t[Aw]===!0}function Ag(t){return(t.flags&4)!==0}function Qa(t){return t.componentOffset>-1}function Mu(t){return(t.flags&1)===1}function Ti(t){return!!t.template}function iu(t){return(t[pe]&512)!==0}function Xa(t){return(t[pe]&256)===256}var Eh=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Rw(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var je=(()=>{let t=()=>Ow;return t.ngInherit=!0,t})();function Ow(t){return t.type.prototype.ngOnChanges&&(t.setInput=BA),VA}function VA(){let t=Pw(this),n=t?.current;if(n){let e=t.previous;if(e===Mo)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function BA(t,n,e,i,r){let o=this.declaredInputs[i],a=Pw(t)||jA(t,{previous:Mo,current:null}),s=a.current||(a.current={}),c=a.previous,g=c[o];s[o]=new Eh(g&&g.currentValue,e,c===Mo),Rw(t,n,r,e)}var Nw="__ngSimpleChanges__";function Pw(t){return t[Nw]||null}function jA(t,n){return t[Nw]=n}var E0=null;var Ue=function(t,n=null,e){E0?.(t,n,e)},Fw="svg",HA="math";function Ai(t){for(;Array.isArray(t);)t=t[ur];return t}function Lw(t,n){return Ai(n[t])}function Fi(t,n){return Ai(n[t.index])}function Rg(t,n){return t.data[n]}function Vw(t,n){return t[n]}function Bw(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Ri(t,n){let e=n[t];return Hr(e)?e:e[ur]}function zA(t){return(t[pe]&4)===4}function Og(t){return(t[pe]&128)===128}function UA(t){return mr(t[Xt])}function Ur(t,n){return n==null?null:t[n]}function jw(t){t[Pa]=0}function Hw(t){t[pe]&1024||(t[pe]|=1024,Og(t)&&Ja(t))}function $A(t,n){for(;t>0;)n=n[Za],t--;return n}function ku(t){return!!(t[pe]&9216||t[$n]?.dirty)}function Ih(t){t[ar].changeDetectionScheduler?.notify(8),t[pe]&64&&(t[pe]|=1024),ku(t)&&Ja(t)}function Ja(t){t[ar].changeDetectionScheduler?.notify(0);let n=Ro(t);for(;n!==null&&!(n[pe]&8192||(n[pe]|=8192,!Og(n)));)n=Ro(n)}function zw(t,n){if(Xa(t))throw new H(911,!1);t[jr]===null&&(t[jr]=[]),t[jr].push(n)}function WA(t,n){if(t[jr]===null)return;let e=t[jr].indexOf(n);e!==-1&&t[jr].splice(e,1)}function Ro(t){let n=t[Xt];return mr(n)?n[Xt]:n}function Ng(t){return t[tu]??=[]}function Pg(t){return t.cleanup??=[]}function GA(t,n,e,i){let r=Ng(n);r.push(e),t.firstCreatePass&&Pg(t).push(i,r.length-1)}var be={lFrame:Yw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Sh=!1;function qA(){return be.lFrame.elementDepthCount}function YA(){be.lFrame.elementDepthCount++}function KA(){be.lFrame.elementDepthCount--}function Fg(){return be.bindingsEnabled}function Uw(){return be.skipHydrationRootTNode!==null}function ZA(t){return be.skipHydrationRootTNode===t}function QA(){be.skipHydrationRootTNode=null}function fe(){return be.lFrame.lView}function tt(){return be.lFrame.tView}function U(t){return be.lFrame.contextLView=t,t[Dt]}function $(t){return be.lFrame.contextLView=null,t}function Jt(){let t=$w();for(;t!==null&&t.type===64;)t=t.parent;return t}function $w(){return be.lFrame.currentTNode}function XA(){let t=be.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Wr(t,n){let e=be.lFrame;e.currentTNode=t,e.isParent=n}function Lg(){return be.lFrame.isParent}function Vg(){be.lFrame.isParent=!1}function JA(){return be.lFrame.contextLView}function Ww(){return Sh}function ru(t){let n=Sh;return Sh=t,n}function Bg(){let t=be.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function eR(){return be.lFrame.bindingIndex}function tR(t){return be.lFrame.bindingIndex=t}function jo(){return be.lFrame.bindingIndex++}function jg(t){let n=be.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function nR(){return be.lFrame.inI18n}function iR(t,n){let e=be.lFrame;e.bindingIndex=e.bindingRootIndex=t,Mh(n)}function rR(){return be.lFrame.currentDirectiveIndex}function Mh(t){be.lFrame.currentDirectiveIndex=t}function oR(t){let n=be.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Hg(){return be.lFrame.currentQueryIndex}function Tu(t){be.lFrame.currentQueryIndex=t}function aR(t){let n=t[_e];return n.type===2?n.declTNode:n.type===1?t[bn]:null}function Gw(t,n,e){if(e&Ce.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&Ce.Host);)if(r=aR(o),r===null||(o=o[Za],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=be.lFrame=qw();return i.currentTNode=n,i.lView=t,!0}function zg(t){let n=qw(),e=t[_e];be.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function qw(){let t=be.lFrame,n=t===null?null:t.child;return n===null?Yw(t):n}function Yw(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Kw(){let t=be.lFrame;return be.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Zw=Kw;function Ug(){let t=Kw();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function sR(t){return(be.lFrame.contextLView=$A(t,be.lFrame.contextLView))[Dt]}function pr(){return be.lFrame.selectedIndex}function Oo(t){be.lFrame.selectedIndex=t}function Au(){let t=be.lFrame;return Rg(t.tView,t.selectedIndex)}function St(){be.lFrame.currentNamespace=Fw}function fr(){lR()}function lR(){be.lFrame.currentNamespace=null}function cR(){return be.lFrame.currentNamespace}var Qw=!0;function Ru(){return Qw}function Ou(t){Qw=t}function dR(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=Ow(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function $g(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:c,ngAfterViewChecked:g,ngOnDestroy:b}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),c&&(t.viewHooks??=[]).push(-e,c),g&&((t.viewHooks??=[]).push(e,g),(t.viewCheckHooks??=[]).push(e,g)),b!=null&&(t.destroyHooks??=[]).push(e,b)}}function Wd(t,n,e){Xw(t,n,3,e)}function Gd(t,n,e,i){(t[pe]&3)===e&&Xw(t,n,e,i)}function ah(t,n){let e=t[pe];(e&3)===n&&(e&=16383,e+=1,t[pe]=e)}function Xw(t,n,e,i){let r=i!==void 0?t[Pa]&65535:0,o=i??-1,a=n.length-1,s=0;for(let c=r;c<a;c++)if(typeof n[c+1]=="number"){if(s=n[c],i!=null&&s>=i)break}else n[c]<0&&(t[Pa]+=65536),(s<o||o==-1)&&(uR(t,e,n,c),t[Pa]=(t[Pa]&4294901760)+c+2),c++}function I0(t,n){Ue(4,t,n);let e=De(null);try{n.call(t)}finally{De(e),Ue(5,t,n)}}function uR(t,n,e,i){let r=e[i]<0,o=e[i+1],a=r?-e[i]:e[i],s=t[a];r?t[pe]>>14<t[Pa]>>16&&(t[pe]&3)===n&&(t[pe]+=16384,I0(s,o)):I0(s,o)}var Ba=-1,No=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=i}};function mR(t){return(t.flags&8)!==0}function pR(t){return(t.flags&16)!==0}function fR(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],a=e[i++],s=e[i++];t.setAttribute(n,a,s,o)}else{let o=r,a=e[++i];hR(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++}}return i}function Jw(t){return t===3||t===4||t===6}function hR(t){return t.charCodeAt(0)===64}function Ga(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?S0(t,e,r,null,n[++i]):S0(t,e,r,null,null))}}return t}function S0(t,n,e,i,r){let o=0,a=t.length;if(n===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===n){a=-1;break}else if(s>n){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(t.splice(a,0,n),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function eC(t){return t!==Ba}function ou(t){return t&32767}function gR(t){return t>>16}function au(t,n){let e=gR(t),i=n;for(;e>0;)i=i[Za],e--;return i}var kh=!0;function su(t){let n=kh;return kh=t,n}var _R=256,tC=_R-1,nC=5,vR=0,ki={};function bR(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(vl)&&(i=e[vl]),i==null&&(i=e[vl]=vR++);let r=i&tC,o=1<<r;n.data[t+(r>>nC)]|=o}function lu(t,n){let e=iC(t,n);if(e!==-1)return e;let i=n[_e];i.firstCreatePass&&(t.injectorIndex=n.length,sh(i.data,t),sh(n,null),sh(i.blueprint,null));let r=Wg(t,n),o=t.injectorIndex;if(eC(r)){let a=ou(r),s=au(r,n),c=s[_e].data;for(let g=0;g<8;g++)n[o+g]=s[a+g]|c[a+g]}return n[o+8]=r,o}function sh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function iC(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Wg(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=lC(r),i===null)return Ba;if(e++,r=r[Za],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Ba}function Th(t,n,e){bR(t,n,e)}function yR(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(Jw(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2}}}return null}function rC(t,n,e){if(e&Ce.Optional||t!==void 0)return t;Sg(n,"NodeInjector")}function oC(t,n,e,i){if(e&Ce.Optional&&i===void 0&&(i=null),(e&(Ce.Self|Ce.Host))===0){let r=t[$a],o=gn(void 0);try{return r?r.get(n,i,e&Ce.Optional):bw(n,i,e&Ce.Optional)}finally{gn(o)}}return rC(i,n,e)}function aC(t,n,e,i=Ce.Default,r){if(t!==null){if(n[pe]&2048&&!(i&Ce.Self)){let a=DR(t,n,e,i,ki);if(a!==ki)return a}let o=sC(t,n,e,i,ki);if(o!==ki)return o}return oC(n,e,i,r)}function sC(t,n,e,i,r){let o=CR(e);if(typeof o=="function"){if(!Gw(n,t,i))return i&Ce.Host?rC(r,e,i):oC(n,e,i,r);try{let a;if(a=o(i),a==null&&!(i&Ce.Optional))Sg(e);else return a}finally{Zw()}}else if(typeof o=="number"){let a=null,s=iC(t,n),c=Ba,g=i&Ce.Host?n[On][bn]:null;for((s===-1||i&Ce.SkipSelf)&&(c=s===-1?Wg(t,n):n[s+8],c===Ba||!k0(i,!1)?s=-1:(a=n[_e],s=ou(c),n=au(c,n)));s!==-1;){let b=n[_e];if(M0(o,s,b.data)){let _=wR(s,n,e,a,i,g);if(_!==ki)return _}c=n[s+8],c!==Ba&&k0(i,n[_e].data[s+8]===g)&&M0(o,s,n)?(a=b,s=ou(c),n=au(c,n)):s=-1}}return r}function wR(t,n,e,i,r,o){let a=n[_e],s=a.data[t+8],c=i==null?Qa(s)&&kh:i!=a&&(s.type&3)!==0,g=r&Ce.Host&&o===s,b=qd(s,a,e,c,g);return b!==null?wl(n,a,b,s,r):ki}function qd(t,n,e,i,r){let o=t.providerIndexes,a=n.data,s=o&1048575,c=t.directiveStart,g=t.directiveEnd,b=o>>20,_=i?s:s+b,D=r?s+b:g;for(let C=_;C<D;C++){let S=a[C];if(C<c&&e===S||C>=c&&S.type===e)return C}if(r){let C=a[c];if(C&&Ti(C)&&C.type===e)return c}return null}function wl(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof No){let s=o;s.resolving&&_w(uA(a[e]));let c=su(s.canSeeViewProviders);s.resolving=!0;let g,b=s.injectImpl?gn(s.injectImpl):null,_=Gw(t,i,Ce.Default);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&dR(e,a[e],n)}finally{b!==null&&gn(b),su(c),s.resolving=!1,Zw()}}return o}function CR(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(vl)?t[vl]:void 0;return typeof n=="number"?n>=0?n&tC:xR:n}function M0(t,n,e){let i=1<<t;return!!(e[n+(t>>nC)]&i)}function k0(t,n){return!(t&Ce.Self)&&!(t&Ce.Host&&n)}var Io=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return aC(this._tNode,this._lView,n,xu(i),e)}};function xR(){return new Io(Jt(),fe())}function Je(t){return Il(()=>{let n=t.prototype.constructor,e=n[Zd]||Ah(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Zd]||Ah(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Ah(t){return mw(t)?()=>{let n=Ah(an(t));return n&&n()}:So(t)}function DR(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[pe]&2048&&!iu(a);){let s=sC(o,a,e,i|Ce.Self,ki);if(s!==ki)return s;let c=o.parent;if(!c){let g=a[Tw];if(g){let b=g.get(e,ki,i);if(b!==ki)return b}c=lC(a),a=a[Za]}o=c}return r}function lC(t){let n=t[_e],e=n.type;return e===2?n.declTNode:e===1?t[bn]:null}function Nu(t){return yR(Jt(),t)}function T0(t,n=null,e=null,i){let r=cC(t,n,e,i);return r.resolveInjectorInitializers(),r}function cC(t,n=null,e=null,i,r=new Set){let o=[e||sn,SA(t)];return i=i||(typeof t=="object"?void 0:_n(t)),new bl(o,n||Iu(),i||null,r)}var Se=class t{static THROW_IF_NOT_FOUND=Eo;static NULL=new eu;static create(n,e){if(Array.isArray(n))return T0({name:""},e,n,"");{let i=n.name??"";return T0({name:i},n.parent,n.providers,i)}}static \u0275prov=A({token:t,providedIn:"any",factory:()=>Q(Cw)});static __NG_ELEMENT_ID__=-1};var Oi=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Nu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},ER=new T("");ER.__NG_ELEMENT_ID__=t=>{let n=Jt();if(n===null)throw new H(204,!1);if(n.type&2)return n.value;if(t&Ce.Optional)return null;throw new H(204,!1)};var dC=!1,Ho=(()=>{class t{static __NG_ELEMENT_ID__=IR;static __NG_ENV_ID__=e=>e}return t})(),cu=class extends Ho{_lView;constructor(n){super(),this._lView=n}onDestroy(n){let e=this._lView;return Xa(e)?(n(),()=>{}):(zw(e,n),()=>WA(e,n))}};function IR(){return new cu(fe())}var Po=class{},Pu=new T("",{providedIn:"root",factory:()=>!1});var uC=new T(""),mC=new T(""),Gr=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new xt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=A({token:t,providedIn:"root",factory:()=>new t})}return t})();var Rh=class extends V{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,kw()&&(this.destroyRef=p(Ho,{optional:!0})??void 0,this.pendingTasks=p(Gr,{optional:!0})??void 0)}emit(n){let e=De(null);try{super.next(n)}finally{De(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&typeof n=="object"){let c=n;r=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return n instanceof de&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},B=Rh;function Cl(...t){}function pC(t){let n,e;function i(){t=Cl;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function A0(t){return queueMicrotask(()=>t()),()=>{t=Cl}}var Gg="isAngularZone",du=Gg+"_ID",SR=0,K=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new B(!1);onMicrotaskEmpty=new B(!1);onStable=new B(!1);onError=new B(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=dC}=n;if(typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,TR(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Gg)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new H(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,MR,Cl,Cl);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},MR={};function qg(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function kR(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){pC(()=>{t.callbackScheduled=!1,Oh(t),t.isCheckStableRunning=!0,qg(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Oh(t)}function TR(t){let n=()=>{kR(t)},e=SR++;t._inner=t._inner.fork({name:"angular",properties:{[Gg]:!0,[du]:e,[du+e]:!0},onInvokeTask:(i,r,o,a,s,c)=>{if(AR(c))return i.invokeTask(o,a,s,c);try{return R0(t),i.invokeTask(o,a,s,c)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),O0(t)}},onInvoke:(i,r,o,a,s,c,g)=>{try{return R0(t),i.invoke(o,a,s,c,g)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!RR(c)&&n(),O0(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,Oh(t),qg(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function Oh(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function R0(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function O0(t){t._nesting--,qg(t)}var Nh=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new B;onMicrotaskEmpty=new B;onStable=new B;onError=new B;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function AR(t){return fC(t,"__ignore_ng_zone__")}function RR(t){return fC(t,"__scheduler_tick__")}function fC(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var ln=class{_console=console;handleError(n){this._console.error("ERROR",n)}},OR=new T("",{providedIn:"root",factory:()=>{let t=p(K),n=p(ln);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function N0(t,n){return dw(t,n)}function NR(t){return dw(cw,t)}var hC=(N0.required=NR,N0);function PR(){return es(Jt(),fe())}function es(t,n){return new X(Fi(t,n))}var X=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=PR}return t})();function gC(t){return t instanceof X?t.nativeElement:t}function qr(t){return typeof t=="function"&&t[fn]!==void 0}function ht(t,n){let e=Bf(t,n?.equal),i=e[fn];return e.set=r=>al(i,r),e.update=r=>jf(i,r),e.asReadonly=FR.bind(e),e}function FR(){let t=this[fn];if(t.readonlyFn===void 0){let n=()=>this();n[fn]=t,t.readonlyFn=n}return t.readonlyFn}function _C(t){return qr(t)&&typeof t.set=="function"}function LR(){return this._results[Symbol.iterator]()}var Nn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new V}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=wA(n);(this._changesDetected=!yA(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=LR};function vC(t){return(t.flags&128)===128}var bC=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(bC||{}),yC=new Map,VR=0;function BR(){return VR++}function jR(t){yC.set(t[Su],t)}function Ph(t){yC.delete(t[Su])}var P0="__ngContext__";function ts(t,n){Hr(n)?(t[P0]=n[Su],jR(n)):t[P0]=n}function wC(t){return xC(t[yl])}function CC(t){return xC(t[ci])}function xC(t){for(;t!==null&&!mr(t);)t=t[ci];return t}var Fh;function DC(t){Fh=t}function HR(){if(Fh!==void 0)return Fh;if(typeof document<"u")return document;throw new H(210,!1)}var zo=new T("",{providedIn:"root",factory:()=>zR}),zR="ng",Yg=new T(""),Yr=new T("",{providedIn:"platform",factory:()=>"unknown"});var et=new T(""),Ml=new T("",{providedIn:"root",factory:()=>HR().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var UR="h",$R="b";var EC=!1,WR=new T("",{providedIn:"root",factory:()=>EC});var Kg=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Kg||{}),ns=new T(""),F0=new Set;function hr(t){F0.has(t)||(F0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Zg=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=GR}return t})();function GR(){return new Zg(fe(),Jt())}var Fa=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Fa||{}),IC=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=A({token:t,providedIn:"root",factory:()=>new t})}return t})(),qR=[Fa.EarlyRead,Fa.Write,Fa.MixedReadWrite,Fa.Read],YR=(()=>{class t{ngZone=p(K);scheduler=p(Po);errorHandler=p(ln,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(ns,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Ue(16),this.executing=!0;for(let i of qR)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Ue(17)}register(e){let{view:i}=e;i!==void 0?((i[Va]??=[]).push(e),Ja(i),i[pe]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Kg.AFTER_NEXT_RENDER,e):e()}static \u0275prov=A({token:t,providedIn:"root",factory:()=>new t})}return t})(),Lh=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Va];n&&(this.view[Va]=n.filter(e=>e!==this))}};function kl(t,n){!n?.injector&&Tg(kl);let e=n?.injector??p(Se);return hr("NgAfterRender"),SC(t,e,n,!1)}function cn(t,n){!n?.injector&&Tg(cn);let e=n?.injector??p(Se);return hr("NgAfterNextRender"),SC(t,e,n,!0)}function KR(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function SC(t,n,e,i){let r=n.get(IC);r.impl??=n.get(YR);let o=n.get(ns,null,{optional:!0}),a=e?.phase??Fa.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(Ho):null,c=n.get(Zg,null,{optional:!0}),g=new Lh(r.impl,KR(t,a),c?.view,i,s,o?.snapshot(null));return r.impl.register(g),g}var ZR=(t,n,e,i)=>{};function QR(t,n,e,i){ZR(t,n,e,i)}var XR=()=>null;function MC(t,n,e=!1){return XR(t,n,e)}function kC(t,n){let e=t.contentQueries;if(e!==null){let i=De(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];Tu(o),s.contentQueries(2,n[a],a)}}}finally{De(i)}}}function Vh(t,n,e){Tu(0);let i=De(null);try{n(t,e)}finally{De(i)}}function Qg(t,n,e){if(Ag(n)){let i=De(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let c=e[a];s.contentQueries(1,c,a)}}}finally{De(i)}}}var Ni=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ni||{}),jd;function JR(){if(jd===void 0&&(jd=null,Mi.trustedTypes))try{jd=Mi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jd}function Fu(t){return JR()?.createHTML(t)||t}var Hd;function eO(){if(Hd===void 0&&(Hd=null,Mi.trustedTypes))try{Hd=Mi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Hd}function L0(t){return eO()?.createScriptURL(t)||t}var lr=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lw})`}},Bh=class extends lr{getTypeName(){return"HTML"}},jh=class extends lr{getTypeName(){return"Style"}},Hh=class extends lr{getTypeName(){return"Script"}},zh=class extends lr{getTypeName(){return"URL"}},Uh=class extends lr{getTypeName(){return"ResourceURL"}};function di(t){return t instanceof lr?t.changingThisBreaksApplicationSecurity:t}function Kr(t,n){let e=tO(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${lw})`)}return e===n}function tO(t){return t instanceof lr&&t.getTypeName()||null}function TC(t){return new Bh(t)}function AC(t){return new jh(t)}function RC(t){return new Hh(t)}function OC(t){return new zh(t)}function NC(t){return new Uh(t)}function nO(t){let n=new Wh(t);return iO()?new $h(n):n}var $h=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Fu(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Wh=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Fu(n),e}};function iO(){try{return!!new window.DOMParser().parseFromString(Fu(""),"text/html")}catch{return!1}}var rO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Lu(t){return t=String(t),t.match(rO)?t:"unsafe:"+t}function gr(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Tl(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var PC=gr("area,br,col,hr,img,wbr"),FC=gr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),LC=gr("rp,rt"),oO=Tl(LC,FC),aO=Tl(FC,gr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sO=Tl(LC,gr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),V0=Tl(PC,aO,sO,oO),VC=gr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lO=gr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),cO=gr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),dO=Tl(VC,lO,cO),uO=gr("script,style,template"),Gh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=fO(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=pO(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=B0(n).toLowerCase();if(!V0.hasOwnProperty(e))return this.sanitizedSomething=!0,!uO.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),a=o.name,s=a.toLowerCase();if(!dO.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let c=o.value;VC[s]&&(c=Lu(c)),this.buf.push(" ",a,'="',j0(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=B0(n).toLowerCase();V0.hasOwnProperty(e)&&!PC.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(j0(n))}};function mO(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function pO(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw BC(n);return n}function fO(t){let n=t.firstChild;if(n&&mO(t,n))throw BC(n);return n}function B0(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function BC(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var hO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gO=/([^\#-~ |!])/g;function j0(t){return t.replace(/&/g,"&amp;").replace(hO,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(gO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var zd;function jC(t,n){let e=null;try{zd=zd||nO(t);let i=n?String(n):"";e=zd.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=zd.getInertBodyElement(i)}while(i!==o);let s=new Gh().sanitizeChildren(H0(e)||e);return Fu(s)}finally{if(e){let i=H0(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function H0(t){return"content"in t&&_O(t)?t.content:null}function _O(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var en=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(en||{});function vO(t){let n=zC();return n?n.sanitize(en.URL,t)||"":Kr(t,"URL")?di(t):Lu(ja(t))}function bO(t){let n=zC();if(n)return L0(n.sanitize(en.RESOURCE_URL,t)||"");if(Kr(t,"ResourceURL"))return L0(di(t));throw new H(904,!1)}function yO(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?bO:vO}function HC(t,n,e){return yO(n,e)(t)}function zC(){let t=fe();return t&&t[ar].sanitizer}var wO=/^>|^->|<!--|-->|--!>|<!-$/g,CO=/(<|>)/g,xO="\u200B$1\u200B";function DO(t){return t.replace(wO,n=>n.replace(CO,xO))}function UC(t){return t instanceof Function?t():t}function EO(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var $C="ng-template";function IO(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&EO(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Xg(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function Xg(t){return t.type===4&&t.value!==$C}function SO(t,n,e){let i=t.type===4&&!e?$C:t.value;return n===i}function MO(t,n,e){let i=4,r=t.attrs,o=r!==null?AO(r):0,a=!1;for(let s=0;s<n.length;s++){let c=n[s];if(typeof c=="number"){if(!a&&!si(i)&&!si(c))return!1;if(a&&si(c))continue;a=!1,i=c|i&1;continue}if(!a)if(i&4){if(i=2|i&1,c!==""&&!SO(t,c,e)||c===""&&n.length===1){if(si(i))return!1;a=!0}}else if(i&8){if(r===null||!IO(t,r,c,e)){if(si(i))return!1;a=!0}}else{let g=n[++s],b=kO(c,r,Xg(t),e);if(b===-1){if(si(i))return!1;a=!0;continue}if(g!==""){let _;if(b>o?_="":_=r[b+1].toLowerCase(),i&2&&g!==_){if(si(i))return!1;a=!0}}}}return si(i)||a}function si(t){return(t&1)===0}function kO(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let a=n[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=n[++r];for(;typeof s=="string";)s=n[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return RO(n,t)}function WC(t,n,e=!1){for(let i=0;i<n.length;i++)if(MO(t,n[i],e))return!0;return!1}function TO(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function AO(t){for(let n=0;n<t.length;n++){let e=t[n];if(Jw(e))return n}return t.length}function RO(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function OO(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function z0(t,n){return t?":not("+n.trim()+")":n}function NO(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string")if(i&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!si(a)&&(n+=z0(o,r),r=""),i=a,o=o||!si(i);e++}return r!==""&&(n+=z0(o,r)),n}function PO(t){return t.map(NO).join(",")}function FO(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!si(r))break;r=o}i++}return e.length&&n.push(1,...e),n}var Fn={};function LO(t,n){return t.createText(n)}function VO(t,n,e){t.setValue(n,e)}function BO(t,n){return t.createComment(DO(n))}function GC(t,n,e){return t.createElement(n,e)}function uu(t,n,e,i,r){t.insertBefore(n,e,i,r)}function qC(t,n,e){t.appendChild(n,e)}function U0(t,n,e,i,r){i!==null?uu(t,n,e,i,r):qC(t,n,e)}function jO(t,n,e){t.removeChild(null,n,e)}function HO(t,n,e){t.setAttribute(n,"style",e)}function zO(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function YC(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&fR(t,n,i),r!==null&&zO(t,n,r),o!==null&&HO(t,n,o)}function Jg(t,n,e,i,r,o,a,s,c,g,b){let _=Et+i,D=_+r,C=UO(_,D),S=typeof g=="function"?g():g;return C[_e]={type:t,blueprint:C,template:e,queries:null,viewQuery:s,declTNode:n,data:C.slice().fill(null,_),bindingStartIndex:_,expandoStartIndex:D,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:c,consts:S,incompleteFirstPass:!1,ssrId:b}}function UO(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Fn);return e}function $O(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Jg(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function e_(t,n,e,i,r,o,a,s,c,g,b){let _=n.blueprint.slice();return _[ur]=r,_[pe]=i|4|128|8|64|1024,(g!==null||t&&t[pe]&2048)&&(_[pe]|=2048),jw(_),_[Xt]=_[Za]=t,_[Dt]=e,_[ar]=a||t&&t[ar],_[ot]=s||t&&t[ot],_[$a]=c||t&&t[$a]||null,_[bn]=o,_[Su]=BR(),_[Ua]=b,_[Tw]=g,_[On]=n.type==2?t[On]:_,_}function WO(t,n,e){let i=Fi(n,t),r=$O(e),o=t[ar].rendererFactory,a=t_(t,e_(t,r,null,KC(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=a}function KC(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function ZC(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function t_(t,n){return t[yl]?t[D0][ci]=n:t[yl]=n,t[D0]=n,n}function f(t=1){QC(tt(),fe(),pr()+t,!1)}function QC(t,n,e,i){if(!i)if((n[pe]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Wd(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Gd(n,o,0,e)}Oo(e)}var Vu=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Vu||{});function qh(t,n,e,i){let r=De(null);try{let[o,a,s]=t.inputs[e],c=null;(a&Vu.SignalBased)!==0&&(c=n[o][fn]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):s!==null&&(i=s.call(n,i)),t.setInput!==null?t.setInput(n,c,i,e,o):Rw(n,c,o,i)}finally{De(r)}}function XC(t,n,e,i,r){let o=pr(),a=i&2;try{Oo(-1),a&&n.length>Et&&QC(t,n,Et,!1),Ue(a?2:0,r),e(i,r)}finally{Oo(o),Ue(a?3:1,r)}}function Bu(t,n,e){QO(t,n,e),(e.flags&64)===64&&XO(t,n,e)}function n_(t,n,e=Fi){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],s=a===-1?e(n,t):t[a];t[r++]=s}}}function GO(t,n,e,i){let o=i.get(WR,EC)||e===Ni.ShadowDom,a=t.selectRootElement(n,o);return qO(a),a}function qO(t){YO(t)}var YO=()=>null;function KO(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function i_(t,n,e,i,r,o,a,s){if(!s&&o_(n,t,e,i,r)){Qa(n)&&ZO(e,n.index);return}if(n.type&3){let c=Fi(n,e);i=KO(i),r=a!=null?a(r,n.value||"",i):r,o.setProperty(c,i,r)}else n.type&12}function ZO(t,n){let e=Ri(n,t);e[pe]&16||(e[pe]|=64)}function QO(t,n,e){let i=e.directiveStart,r=e.directiveEnd;Qa(e)&&WO(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||lu(e,n);let o=e.initialInputs;for(let a=i;a<r;a++){let s=t.data[a],c=wl(n,t,a,e);if(ts(c,n),o!==null&&nN(n,a-i,c,s,e,o),Ti(s)){let g=Ri(e.index,n);g[Dt]=wl(n,t,a,e)}}}function XO(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,a=rR();try{Oo(o);for(let s=i;s<r;s++){let c=t.data[s],g=n[s];Mh(s),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&JO(c,g)}}finally{Oo(-1),Mh(a)}}function JO(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function r_(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];WC(n,o.selectors,!1)&&(i??=[],Ti(o)?i.unshift(o):i.push(o))}return i}function eN(t,n,e,i,r,o){let a=Fi(t,n);tN(n[ot],a,o,t.value,e,i,r)}function tN(t,n,e,i,r,o,a){if(o==null)t.removeAttribute(n,r,e);else{let s=a==null?ja(o):a(o,i||"",r);t.setAttribute(n,r,s,e)}}function nN(t,n,e,i,r,o){let a=o[n];if(a!==null)for(let s=0;s<a.length;s+=2){let c=a[s],g=a[s+1];qh(i,e,c,g)}}function iN(t,n){let e=t[$a],i=e?e.get(ln,null):null;i&&i.handleError(n)}function o_(t,n,e,i,r){let o=t.inputs?.[i],a=t.hostDirectiveInputs?.[i],s=!1;if(a)for(let c=0;c<a.length;c+=2){let g=a[c],b=a[c+1],_=n.data[g];qh(_,e[g],b,r),s=!0}if(o)for(let c of o){let g=e[c],b=n.data[c];qh(b,g,i,r),s=!0}return s}function rN(t,n){let e=Ri(n,t),i=e[_e];oN(i,e);let r=e[ur];r!==null&&e[Ua]===null&&(e[Ua]=MC(r,e[$a])),Ue(18),a_(i,e,e[Dt]),Ue(19,e[Dt])}function oN(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function a_(t,n,e){zg(n);try{let i=t.viewQuery;i!==null&&Vh(1,i,e);let r=t.template;r!==null&&XC(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[sr]?.finishViewCreation(t),t.staticContentQueries&&kC(t,n),t.staticViewQueries&&Vh(2,t.viewQuery,e);let o=t.components;o!==null&&aN(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[pe]&=-5,Ug()}}function aN(t,n){for(let e=0;e<n.length;e++)rN(t,n[e])}function Al(t,n,e,i){let r=De(null);try{let o=n.tView,s=t[pe]&4096?4096:16,c=e_(t,o,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),g=t[n.index];c[ko]=g;let b=t[sr];return b!==null&&(c[sr]=b.createEmbeddedView(o)),a_(o,c,e),c}finally{De(r)}}function qa(t,n){return!n||n.firstChild===null||vC(t)}var sN;function s_(t,n){return sN(t,n)}var cr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(cr||{});function l_(t){return(t.flags&32)===32}function La(t,n,e,i,r){if(i!=null){let o,a=!1;mr(i)?o=i:Hr(i)&&(a=!0,i=i[ur]);let s=Ai(i);t===0&&e!==null?r==null?qC(n,e,s):uu(n,e,s,r||null,!0):t===1&&e!==null?uu(n,e,s,r||null,!0):t===2?jO(n,s,a):t===3&&n.destroyNode(s),o!=null&&_N(n,t,o,e,r)}}function lN(t,n){JC(t,n),n[ur]=null,n[bn]=null}function cN(t,n,e,i,r,o){i[ur]=r,i[bn]=n,zu(t,i,e,1,r,o)}function JC(t,n){n[ar].changeDetectionScheduler?.notify(9),zu(t,n,n[ot],2,null,null)}function dN(t){let n=t[yl];if(!n)return lh(t[_e],t);for(;n;){let e=null;if(Hr(n))e=n[yl];else{let i=n[Qt];i&&(e=i)}if(!e){for(;n&&!n[ci]&&n!==t;)Hr(n)&&lh(n[_e],n),n=n[Xt];n===null&&(n=t),Hr(n)&&lh(n[_e],n),e=n&&n[ci]}n=e}}function c_(t,n){let e=t[Wa],i=e.indexOf(n);e.splice(i,1)}function ju(t,n){if(Xa(n))return;let e=n[ot];e.destroyNode&&zu(t,n,e,3,null,null),dN(n)}function lh(t,n){if(Xa(n))return;let e=De(null);try{n[pe]&=-129,n[pe]|=256,n[$n]&&ol(n[$n]),mN(t,n),uN(t,n),n[_e].type===1&&n[ot].destroy();let i=n[ko];if(i!==null&&mr(n[Xt])){i!==n[Xt]&&c_(i,n);let r=n[sr];r!==null&&r.detachView(t)}Ph(n)}finally{De(e)}}function uN(t,n){let e=t.cleanup,i=n[tu];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[e[a+1]];e[a].call(s)}i!==null&&(n[tu]=null);let r=n[jr];if(r!==null){n[jr]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=n[To];if(o!==null){n[To]=null;for(let a of o)a.destroy()}}function mN(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof No)){let o=e[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],c=o[a+1];Ue(4,s,c);try{c.call(s)}finally{Ue(5,s,c)}}else{Ue(4,r,o);try{o.call(r)}finally{Ue(5,r,o)}}}}}function ex(t,n,e){return pN(t,n.parent,e)}function pN(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[ur];if(Qa(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===Ni.None||r===Ni.Emulated)return null}return Fi(i,e)}function tx(t,n,e){return hN(t,n,e)}function fN(t,n,e){return t.type&40?Fi(t,e):null}var hN=fN,$0;function Hu(t,n,e,i){let r=ex(t,i,n),o=n[ot],a=i.parent||n[bn],s=tx(a,i,n);if(r!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)U0(o,r,e[c],s,!1);else U0(o,r,e,s,!1);$0!==void 0&&$0(o,i,n,e,r)}function _l(t,n){if(n!==null){let e=n.type;if(e&3)return Fi(n,t);if(e&4)return Yh(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return _l(t,i);{let r=t[n.index];return mr(r)?Yh(-1,r):Ai(r)}}else{if(e&128)return _l(t,n.next);if(e&32)return s_(n,t)()||Ai(t[n.index]);{let i=nx(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Ro(t[On]);return _l(r,i)}else return _l(t,n.next)}}}return null}function nx(t,n){if(n!==null){let i=t[On][bn],r=n.projection;return i.projection[r]}return null}function Yh(t,n){let e=Qt+t+1;if(e<n.length){let i=n[e],r=i[_e].firstChild;if(r!==null)return _l(i,r)}return n[Ao]}function d_(t,n,e,i,r,o,a){for(;e!=null;){if(e.type===128){e=e.next;continue}let s=i[e.index],c=e.type;if(a&&n===0&&(s&&ts(Ai(s),i),e.flags|=2),!l_(e))if(c&8)d_(t,n,e.child,i,r,o,!1),La(n,t,r,s,o);else if(c&32){let g=s_(e,i),b;for(;b=g();)La(n,t,r,b,o);La(n,t,r,s,o)}else c&16?ix(t,n,i,e,r,o):La(n,t,r,s,o);e=a?e.projectionNext:e.next}}function zu(t,n,e,i,r,o){d_(e,i,t.firstChild,n,r,o,!1)}function gN(t,n,e){let i=n[ot],r=ex(t,e,n),o=e.parent||n[bn],a=tx(o,e,n);ix(i,0,n,e,r,a)}function ix(t,n,e,i,r,o){let a=e[On],c=a[bn].projection[i.projection];if(Array.isArray(c))for(let g=0;g<c.length;g++){let b=c[g];La(n,t,r,b,o)}else{let g=c,b=a[Xt];vC(i)&&(g.flags|=128),d_(t,n,g,b,r,o,!0)}}function _N(t,n,e,i,r){let o=e[Ao],a=Ai(e);o!==a&&La(n,t,i,o,r);for(let s=Qt;s<e.length;s++){let c=e[s];zu(c[_e],c,t,n,i,o)}}function vN(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:cr.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=cr.Important),t.setStyle(e,i,r,o))}}function mu(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Ai(o)),mr(o)&&bN(o,i);let a=e.type;if(a&8)mu(t,n,e.child,i);else if(a&32){let s=s_(e,n),c;for(;c=s();)i.push(c)}else if(a&16){let s=nx(n,e);if(Array.isArray(s))i.push(...s);else{let c=Ro(n[On]);mu(c[_e],c,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function bN(t,n){for(let e=Qt;e<t.length;e++){let i=t[e],r=i[_e].firstChild;r!==null&&mu(i[_e],i,r,n)}t[Ao]!==t[ur]&&n.push(t[Ao])}function rx(t){if(t[Va]!==null){for(let n of t[Va])n.impl.addSequence(n);t[Va].length=0}}var ox=[];function yN(t){return t[$n]??wN(t)}function wN(t){let n=ox.pop()??Object.create(xN);return n.lView=t,n}function CN(t){t.lView[$n]!==t&&(t.lView=null,ox.push(t))}var xN=ce(R({},xa),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Ja(t.lView)},consumerOnSignalRead(){this.lView[$n]=this}});function DN(t){let n=t[$n]??Object.create(EN);return n.lView=t,n}var EN=ce(R({},xa),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Ro(t.lView);for(;n&&!ax(n[_e]);)n=Ro(n);n&&Hw(n)},consumerOnSignalRead(){this.lView[$n]=this}});function ax(t){return t.type!==2}function sx(t){if(t[To]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[To])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[pe]&8192)}}var IN=100;function lx(t,n=!0,e=0){let r=t[ar].rendererFactory,o=!1;o||r.begin?.();try{SN(t,e)}catch(a){throw n&&iN(t,a),a}finally{o||r.end?.()}}function SN(t,n){let e=Ww();try{ru(!0),Kh(t,n);let i=0;for(;ku(t);){if(i===IN)throw new H(103,!1);i++,Kh(t,1)}}finally{ru(e)}}function MN(t,n,e,i){if(Xa(n))return;let r=n[pe],o=!1,a=!1;zg(n);let s=!0,c=null,g=null;o||(ax(t)?(g=yN(n),c=rl(g)):Nf()===null?(s=!1,g=DN(n),c=rl(g)):n[$n]&&(ol(n[$n]),n[$n]=null));try{jw(n),tR(t.bindingStartIndex),e!==null&&XC(t,n,e,2,i);let b=(r&3)===3;if(!o)if(b){let C=t.preOrderCheckHooks;C!==null&&Wd(n,C,null)}else{let C=t.preOrderHooks;C!==null&&Gd(n,C,0,null),ah(n,0)}if(a||kN(n),sx(n),cx(n,0),t.contentQueries!==null&&kC(t,n),!o)if(b){let C=t.contentCheckHooks;C!==null&&Wd(n,C)}else{let C=t.contentHooks;C!==null&&Gd(n,C,1),ah(n,1)}AN(t,n);let _=t.components;_!==null&&ux(n,_,0);let D=t.viewQuery;if(D!==null&&Vh(2,D,i),!o)if(b){let C=t.viewCheckHooks;C!==null&&Wd(n,C)}else{let C=t.viewHooks;C!==null&&Gd(n,C,2),ah(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[oh]){for(let C of n[oh])C();n[oh]=null}o||(rx(n),n[pe]&=-73)}catch(b){throw o||Ja(n),b}finally{g!==null&&(id(g,c),s&&CN(g)),Ug()}}function cx(t,n){for(let e=wC(t);e!==null;e=CC(e))for(let i=Qt;i<e.length;i++){let r=e[i];dx(r,n)}}function kN(t){for(let n=wC(t);n!==null;n=CC(n)){if(!(n[pe]&2))continue;let e=n[Wa];for(let i=0;i<e.length;i++){let r=e[i];Hw(r)}}}function TN(t,n,e){Ue(18);let i=Ri(n,t);dx(i,e),Ue(19,i[Dt])}function dx(t,n){Og(t)&&Kh(t,n)}function Kh(t,n){let i=t[_e],r=t[pe],o=t[$n],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&rd(o)),a||=!1,o&&(o.dirty=!1),t[pe]&=-9217,a)MN(i,t,i.template,t[Dt]);else if(r&8192){sx(t),cx(t,1);let s=i.components;s!==null&&ux(t,s,1),rx(t)}}function ux(t,n,e){for(let i=0;i<n.length;i++)TN(t,n[i],e)}function AN(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Oo(~r);else{let o=r,a=e[++i],s=e[++i];iR(a,o);let c=n[o];Ue(24,c),s(2,c),Ue(25,c)}}}finally{Oo(-1)}}function u_(t,n){let e=Ww()?64:1088;for(t[ar].changeDetectionScheduler?.notify(n);t;){t[pe]|=e;let i=Ro(t);if(iu(t)&&!i)return t;t=i}return null}function mx(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function px(t,n){let e=Qt+n;if(e<t.length)return t[e]}function Rl(t,n,e,i=!0){let r=n[_e];if(RN(r,n,t,e),i){let a=Yh(e,t),s=n[ot],c=s.parentNode(t[Ao]);c!==null&&cN(r,t[bn],s,n,c,a)}let o=n[Ua];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function fx(t,n){let e=xl(t,n);return e!==void 0&&ju(e[_e],e),e}function xl(t,n){if(t.length<=Qt)return;let e=Qt+n,i=t[e];if(i){let r=i[ko];r!==null&&r!==t&&c_(r,i),n>0&&(t[e-1][ci]=i[ci]);let o=Jd(t,Qt+n);lN(i[_e],i);let a=o[sr];a!==null&&a.detachView(o[_e]),i[Xt]=null,i[ci]=null,i[pe]&=-129}return i}function RN(t,n,e,i){let r=Qt+i,o=e.length;i>0&&(e[r-1][ci]=n),i<o-Qt?(n[ci]=e[r],ww(e,Qt+i,n)):(e.push(n),n[ci]=null),n[Xt]=e;let a=n[ko];a!==null&&e!==a&&hx(a,n);let s=n[sr];s!==null&&s.insertView(t),Ih(n),n[pe]|=128}function hx(t,n){let e=t[Wa],i=n[Xt];if(Hr(i))t[pe]|=2;else{let r=i[Xt][On];n[On]!==r&&(t[pe]|=2)}e===null?t[Wa]=[n]:e.push(n)}var Dl=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,e=n[_e];return mu(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i}get context(){return this._lView[Dt]}set context(n){this._lView[Dt]=n}get destroyed(){return Xa(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Xt];if(mr(n)){let e=n[nu],i=e?e.indexOf(this):-1;i>-1&&(xl(n,i),Jd(e,i))}this._attachedToViewContainer=!1}ju(this._lView[_e],this._lView)}onDestroy(n){zw(this._lView,n)}markForCheck(){u_(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[pe]&=-129}reattach(){Ih(this._lView),this._lView[pe]|=128}detectChanges(){this._lView[pe]|=1024,lx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=iu(this._lView),e=this._lView[ko];e!==null&&!n&&c_(e,this._lView),JC(this._lView[_e],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=n;let e=iu(this._lView),i=this._lView[ko];i!==null&&!e&&hx(i,this._lView),Ih(this._lView)}};var ft=(()=>{class t{static __NG_ELEMENT_ID__=PN}return t})(),ON=ft,NN=class extends ON{_declarationLView;_declarationTContainer;elementRef;constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=Al(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Dl(r)}};function PN(){return Uu(Jt(),fe())}function Uu(t,n){return t.type&4?new NN(n,t,es(t,n)):null}function is(t,n,e,i,r){let o=t.data[n];if(o===null)o=FN(t,n,e,i,r),nR()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=XA();o.injectorIndex=a===null?-1:a.injectorIndex}return Wr(o,!0),o}function FN(t,n,e,i,r){let o=$w(),a=Lg(),s=a?o:o&&o.parent,c=t.data[n]=VN(t,s,e,n,i,r);return LN(t,c,o,a),c}function LN(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function VN(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return Uw()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var uG=new RegExp(`^(\\d+)*(${$R}|${UR})*(.*)`);var BN=()=>null;function Ya(t,n){return BN(t,n)}var jN=class{},gx=class{},Zh=class{resolveComponentFactory(n){throw Error(`No component factory found for ${_n(n)}.`)}},$u=class{static NULL=new Zh},It=class{},He=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>HN()}return t})();function HN(){let t=fe(),n=Jt(),e=Ri(n.index,t);return(Hr(e)?e:t)[ot]}var zN=(()=>{class t{static \u0275prov=A({token:t,providedIn:"root",factory:()=>null})}return t})();var ch={},Qh=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=xu(i);let r=this.injector.get(n,ch,i);return r!==ch||e===ch?r:this.parentInjector.get(n,e,i)}};function Xh(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let a=0;a<n.length;a++){let s=n[a];if(typeof s=="number")o=s;else if(o==1)r=vh(r,s);else if(o==2){let c=s,g=n[++a];i=vh(i,c+": "+g+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function ee(t,n=Ce.Default){let e=fe();if(e===null)return Q(t,n);let i=Jt();return aC(i,e,an(t),n)}function Wu(){let t="invalid";throw new Error(t)}function m_(t,n,e,i,r){let o=i===null?null:{"":-1},a=r(t,e);if(a!==null){let s,c=null,g=null,b=$N(a);b===null?s=a:[s,c,g]=b,qN(t,n,e,s,o,c,g)}o!==null&&i!==null&&UN(e,i,o)}function UN(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new H(-301,!1);i.push(n[r],o)}}function $N(t){let n=null,e=!1;for(let a=0;a<t.length;a++){let s=t[a];if(a===0&&Ti(s)&&(n=s),s.findHostDirectiveDefs!==null){e=!0;break}}if(!e)return null;let i=null,r=null,o=null;for(let a of t)a.findHostDirectiveDefs!==null&&(i??=[],r??=new Map,o??=new Map,WN(a,i,o,r)),a===n&&(i??=[],i.push(a));return i!==null?(i.push(...n===null?t:t.slice(1)),[i,r,o]):null}function WN(t,n,e,i){let r=n.length;t.findHostDirectiveDefs(t,n,i),e.set(t,[r,n.length-1])}function GN(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function qN(t,n,e,i,r,o,a){let s=i.length,c=!1;for(let D=0;D<s;D++){let C=i[D];!c&&Ti(C)&&(c=!0,GN(t,e,D)),Th(lu(e,n),t,C.type)}JN(e,t.data.length,s);for(let D=0;D<s;D++){let C=i[D];C.providersResolver&&C.providersResolver(C)}let g=!1,b=!1,_=ZC(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let D=0;D<s;D++){let C=i[D];if(e.mergedAttrs=Ga(e.mergedAttrs,C.hostAttrs),KN(t,e,n,_,C),XN(_,C,r),a!==null&&a.has(C)){let[N,L]=a.get(C);e.directiveToIndex.set(C.type,[_,N+e.directiveStart,L+e.directiveStart])}else(o===null||!o.has(C))&&e.directiveToIndex.set(C.type,_);C.contentQueries!==null&&(e.flags|=4),(C.hostBindings!==null||C.hostAttrs!==null||C.hostVars!==0)&&(e.flags|=64);let S=C.type.prototype;!g&&(S.ngOnChanges||S.ngOnInit||S.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),g=!0),!b&&(S.ngOnChanges||S.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),b=!0),_++}YN(t,e,o)}function YN(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))W0(0,n,r,i),W0(1,n,r,i),q0(n,i,!1);else{let o=e.get(r);G0(0,n,o,i),G0(1,n,o,i),q0(n,i,!0)}}}function W0(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=n.inputs??={}:a=n.outputs??={},a[o]??=[],a[o].push(i),_x(n,o)}}function G0(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=n.hostDirectiveInputs??={}:s=n.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,o),_x(n,a)}}function _x(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function q0(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||Xg(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let a=null,s=0;for(;s<i.length;){let c=i[s];if(c===0){s+=4;continue}else if(c===5){s+=2;continue}else if(typeof c=="number")break;if(!e&&r.hasOwnProperty(c)){let g=r[c];for(let b of g)if(b===n){a??=[],a.push(c,i[s+1]);break}}else if(e&&o.hasOwnProperty(c)){let g=o[c];for(let b=0;b<g.length;b+=2)if(g[b]===n){a??=[],a.push(g[b+1],i[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(a)}function KN(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=So(r.type,!0)),a=new No(o,Ti(r),ee);t.blueprint[i]=a,e[i]=a,ZN(t,n,i,ZC(t,e,r.hostVars,Fn),r)}function ZN(t,n,e,i,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~n.index;QN(a)!=s&&a.push(s),a.push(e,i,o)}}function QN(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function XN(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Ti(n)&&(e[""]=t)}}function JN(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function vx(t,n,e,i,r,o,a,s){let c=n.consts,g=Ur(c,a),b=is(n,t,2,i,g);return o&&m_(n,e,b,Ur(c,s),r),b.mergedAttrs=Ga(b.mergedAttrs,b.attrs),b.attrs!==null&&Xh(b,b.attrs,!1),b.mergedAttrs!==null&&Xh(b,b.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,b),b}function bx(t,n){$g(t,n),Ag(n)&&t.queries.elementEnd(n)}var pu=class extends $u{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=zr(n);return new Fo(e,this.ngModule)}};function e2(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Vu.SignalBased)!==0};return r&&(o.transform=r),o})}function t2(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function n2(t,n,e){let i=n instanceof st?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new Qh(e,i):e}function i2(t){let n=t.get(It,null);if(n===null)throw new H(407,!1);let e=t.get(zN,null),i=t.get(Po,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i}}function r2(t,n){let e=(t.selectors[0][0]||"div").toLowerCase();return GC(n,e,e==="svg"?Fw:e==="math"?HA:null)}var Fo=class extends gx{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=e2(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=t2(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=PO(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r){Ue(22);let o=De(null);try{let a=this.componentDef,s=i?["ng-version","19.2.16"]:FO(this.componentDef.selectors[0]),c=Jg(0,null,null,1,0,null,null,null,null,[s],null),g=n2(a,r||this.ngModule,n),b=i2(g),_=b.rendererFactory.createRenderer(null,a),D=i?GO(_,i,a.encapsulation,g):r2(a,_),C=e_(null,c,null,512|KC(a),null,null,b,_,g,null,MC(D,g,!0));C[Et]=D,zg(C);let S=null;try{let N=vx(Et,c,C,"#host",()=>[this.componentDef],!0,0);D&&(YC(_,D,N),ts(D,C)),Bu(c,C,N),Qg(c,N,C),bx(c,N),e!==void 0&&o2(N,this.ngContentSelectors,e),S=Ri(N.index,C),C[Dt]=S[Dt],a_(c,C,null)}catch(N){throw S!==null&&Ph(S),Ph(C),N}finally{Ue(23),Ug()}return new Jh(this.componentType,C)}finally{De(o)}}},Jh=class extends jN{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e){super(),this._rootLView=e,this._tNode=Rg(e[_e],Et),this.location=es(this._tNode,e),this.instance=Ri(this._tNode.index,e)[Dt],this.hostView=this.changeDetectorRef=new Dl(e,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=o_(i,r[_e],r,n,e);this.previousInputValues.set(n,e);let a=Ri(i.index,r);u_(a,1)}get injector(){return new Io(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function o2(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}var lt=(()=>{class t{static __NG_ELEMENT_ID__=a2}return t})();function a2(){let t=Jt();return wx(t,fe())}var s2=lt,yx=class extends s2{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return es(this._hostTNode,this._hostLView)}get injector(){return new Io(this._hostTNode,this._hostLView)}get parentInjector(){let n=Wg(this._hostTNode,this._hostLView);if(eC(n)){let e=au(n,this._hostLView),i=ou(n),r=e[_e].data[i+8];return new Io(r,e)}else return new Io(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Y0(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Qt}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Ya(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,qa(this._hostTNode,a)),s}createComponent(n,e,i,r,o){let a=n&&!LA(n),s;if(a)s=e;else{let S=e||{};s=S.index,i=S.injector,r=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}let c=a?n:new Fo(zr(n)),g=i||this.parentInjector;if(!o&&c.ngModule==null){let N=(a?g:this.parentInjector).get(st,null);N&&(o=N)}let b=zr(c.componentType??{}),_=Ya(this._lContainer,b?.id??null),D=_?.firstChild??null,C=c.create(g,r,D,o);return this.insertImpl(C.hostView,s,qa(this._hostTNode,_)),C}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(UA(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let c=r[Xt],g=new yx(c,c[bn],c[Xt]);g.detach(g.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return Rl(a,r,o,i),n.attachToViewContainerRef(),ww(dh(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Y0(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=xl(this._lContainer,e);i&&(Jd(dh(this._lContainer),e),ju(i[_e],i))}detach(n){let e=this._adjustIndex(n,-1),i=xl(this._lContainer,e);return i&&Jd(dh(this._lContainer),e)!=null?new Dl(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Y0(t){return t[nu]}function dh(t){return t[nu]||(t[nu]=[])}function wx(t,n){let e,i=n[t.index];return mr(i)?e=i:(e=mx(i,n,null,t),n[t.index]=e,t_(n,e)),c2(e,n,t,i),new yx(e,t,n)}function l2(t,n){let e=t[ot],i=e.createComment(""),r=Fi(n,t),o=e.parentNode(r);return uu(e,o,i,e.nextSibling(r),!1),i}var c2=m2,d2=()=>!1;function u2(t,n,e){return d2(t,n,e)}function m2(t,n,e,i){if(t[Ao])return;let r;e.type&8?r=Ai(i):r=l2(n,e),t[Ao]=r}var eg=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},tg=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)f_(n,e).matches!==null&&this.queries[e].setDirty()}},fu=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=v2(n):this.predicate=n}},ng=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},ig=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,p2(e,o)),this.matchTNodeWithReadOption(n,e,qd(e,n,o,!1,!1))}else i===ft?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,qd(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===X||r===lt||r===ft&&e.type&4)this.addMatch(e.index,-2);else{let o=qd(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function p2(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function f2(t,n){return t.type&11?es(t,n):t.type&4?Uu(t,n):null}function h2(t,n,e,i){return e===-1?f2(n,t):e===-2?g2(t,n,i):wl(t,t[_e],e,n)}function g2(t,n,e){if(e===X)return es(n,t);if(e===ft)return Uu(n,t);if(e===lt)return wx(n,t)}function Cx(t,n,e,i){let r=n[sr].queries[i];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let c=0;a!==null&&c<a.length;c+=2){let g=a[c];if(g<0)s.push(null);else{let b=o[g];s.push(h2(n,b,a[c+1],e.metadata.read))}}r.matches=s}return r.matches}function rg(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=Cx(t,n,r,e);for(let s=0;s<o.length;s+=2){let c=o[s];if(c>0)i.push(a[s/2]);else{let g=o[s+1],b=n[-c];for(let _=Qt;_<b.length;_++){let D=b[_];D[ko]===D[Xt]&&rg(D[_e],D,g,i)}if(b[Wa]!==null){let _=b[Wa];for(let D=0;D<_.length;D++){let C=_[D];rg(C[_e],C,g,i)}}}}}return i}function p_(t,n){return t[sr].queries[n].queryList}function xx(t,n,e){let i=new Nn((e&4)===4);return GA(t,n,i,i.destroy),(n[sr]??=new tg).queries.push(new eg(i))-1}function _2(t,n,e){let i=tt();return i.firstCreatePass&&(Ex(i,new fu(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),xx(i,fe(),n)}function Dx(t,n,e,i){let r=tt();if(r.firstCreatePass){let o=Jt();Ex(r,new fu(n,e,i),o.index),b2(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return xx(r,fe(),e)}function v2(t){return t.split(",").map(n=>n.trim())}function Ex(t,n,e){t.queries===null&&(t.queries=new ng),t.queries.track(new ig(n,e))}function b2(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function f_(t,n){return t.queries.getByIndex(n)}function Ix(t,n){let e=t[_e],i=f_(e,n);return i.crossesNgTemplate?rg(e,t,n,[]):Cx(e,t,i,n)}function Sx(t,n,e){let i,r=sd(()=>{i._dirtyCounter();let o=x2(i,t);if(n&&o===void 0)throw new H(-951,!1);return o});return i=r[fn],i._dirtyCounter=ht(0),i._flatValue=void 0,r}function y2(t){return Sx(!0,!1,t)}function w2(t){return Sx(!0,!0,t)}function C2(t,n){let e=t[fn];e._lView=fe(),e._queryIndex=n,e._queryList=p_(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function x2(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[pe]&4)return n?void 0:sn;let r=p_(e,i),o=Ix(e,i);return r.reset(o,gC),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function K0(t,n){return y2(n)}function D2(t,n){return w2(n)}var Mx=(K0.required=D2,K0);var dr=class{},h_=class{};var og=class extends dr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new pu(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=Dw(n);this._bootstrapComponents=UC(o.bootstrap),this._r3Injector=cC(n,e,[{provide:dr,useValue:this},{provide:$u,useValue:this.componentFactoryResolver},...i],_n(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},ag=class extends h_{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new og(this.moduleType,n,[])}};var hu=class extends dr{injector;componentFactoryResolver=new pu(this);instance=null;constructor(n){super();let e=new bl([...n.providers,{provide:dr,useValue:this},{provide:$u,useValue:this.componentFactoryResolver}],n.parent||Iu(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Ol(t,n,e=null){return new hu({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var E2=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Ew(!1,e.type),r=i.length>0?Ol([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=A({token:t,providedIn:"environment",factory:()=>new t(Q(st))})}return t})();function P(t){return Il(()=>{let n=Tx(t),e=ce(R({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===bC.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(E2).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ni.Emulated,styles:t.styles||sn,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&hr("NgStandalone"),Ax(e);let i=t.dependencies;return e.directiveDefs=Z0(i,!1),e.pipeDefs=Z0(i,!0),e.id=T2(e),e})}function I2(t){return zr(t)||EA(t)}function S2(t){return t!==null}function Y(t){return Il(()=>({type:t.type,bootstrap:t.bootstrap||sn,declarations:t.declarations||sn,imports:t.imports||sn,exports:t.exports||sn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function M2(t,n){if(t==null)return Mo;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,a,s,c;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,c=r[3]||null):(o=r,a=r,s=Vu.None,c=null),e[o]=[i,s,c],n[o]=a}return e}function k2(t){if(t==null)return Mo;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function j(t){return Il(()=>{let n=Tx(t);return Ax(n),n})}function kx(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Tx(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Mo,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||sn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:M2(t.inputs,n),outputs:k2(t.outputs),debugInfo:null}}function Ax(t){t.features?.forEach(n=>n(t))}function Z0(t,n){if(!t)return null;let e=n?IA:I2;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(S2)}function T2(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function A2(t){return Object.getPrototypeOf(t.prototype).constructor}function Re(t){let n=A2(t.type),e=!0,i=[t];for(;n;){let r;if(Ti(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new H(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let a=t;a.inputs=uh(t.inputs),a.declaredInputs=uh(t.declaredInputs),a.outputs=uh(t.outputs);let s=r.hostBindings;s&&F2(t,s);let c=r.viewQuery,g=r.contentQueries;if(c&&N2(t,c),g&&P2(t,g),R2(t,r),iA(t.outputs,r.outputs),Ti(r)&&r.data.animation){let b=t.data;b.animation=(b.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let s=o[a];s&&s.ngInherit&&s(t),s===Re&&(e=!1)}}n=Object.getPrototypeOf(n)}O2(i)}function R2(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function O2(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Ga(r.hostAttrs,e=Ga(e,r.hostAttrs))}}function uh(t){return t===Mo?{}:t===sn?[]:t}function N2(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function P2(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function F2(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function Rx(t){return V2(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function L2(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function V2(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function g_(t,n,e){return t[n]=e}function B2(t,n){return t[n]}function Wn(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Ox(t,n,e,i){let r=Wn(t,n,e);return Wn(t,n+1,i)||r}function j2(t,n,e,i,r,o,a,s,c){let g=n.consts,b=is(n,t,4,a||null,s||null);Fg()&&m_(n,e,b,Ur(g,c),r_),b.mergedAttrs=Ga(b.mergedAttrs,b.attrs),$g(n,b);let _=b.tView=Jg(2,b,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,g,null);return n.queries!==null&&(n.queries.template(n,b),_.queries=n.queries.embeddedTView(b)),b}function gu(t,n,e,i,r,o,a,s,c,g){let b=e+Et,_=n.firstCreatePass?j2(b,n,t,i,r,o,a,s,c):n.data[b];Wr(_,!1);let D=H2(n,t,_,e);Ru()&&Hu(n,t,D,_),ts(D,t);let C=mx(D,t,D,_);return t[b]=C,t_(t,C),u2(C,_,t),Mu(_)&&Bu(n,t,_),c!=null&&n_(t,_,g),_}function k(t,n,e,i,r,o,a,s){let c=fe(),g=tt(),b=Ur(g.consts,o);return gu(c,g,t,n,e,i,r,b,a,s),k}var H2=z2;function z2(t,n,e,i){return Ou(!0),n[ot].createComment("")}var __=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Nx=new T("");var Px=(()=>{class t{static \u0275prov=A({token:t,providedIn:"root",factory:()=>new sg})}return t})(),sg=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),this.queuedEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}};function Uo(t){return!!t&&typeof t.then=="function"}function Fx(t){return!!t&&typeof t.subscribe=="function"}var Lx=new T("");function v_(t){return Bo([{provide:Lx,multi:!0,useValue:t}])}var Vx=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=p(Lx,{optional:!0})??[];injector=p(Se);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=vn(this.injector,r);if(Uo(o))e.push(o);else if(Fx(o)){let a=new Promise((s,c)=>{o.subscribe({complete:s,error:c})});e.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gu=new T("");function U2(){Vf(()=>{throw new H(600,!1)})}function $2(t){return t.isBoundToModule}var W2=10;var Pn=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(OR);afterRenderManager=p(IC);zonelessEnabled=p(Pu);rootEffectScheduler=p(Px);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new V;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=p(Gr).hasPendingTasks.pipe(re(e=>!e));constructor(){p(ns,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=p(st);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=Se.NULL){Ue(10);let o=e instanceof gx;if(!this._injector.get(Vx).done){let C="";throw new H(405,C)}let s;o?s=e:s=this._injector.get($u).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let c=$2(s)?void 0:this._injector.get(dr),g=i||s.selector,b=s.create(r,[],g,c),_=b.location.nativeElement,D=b.injector.get(Nx,null);return D?.registerApplication(_),b.onDestroy(()=>{this.detachView(b.hostView),Yd(this.components,b),D?.unregisterApplication(_)}),this._loadComponent(b),Ue(11,b),b}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ue(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Kg.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new H(101,!1);let e=De(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,De(e),this.afterTick.next(),Ue(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(It,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<W2;)Ue(14),this.synchronizeOnce(),Ue(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let e=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)G2(i,r,e,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>ku(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Yd(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Gu,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Yd(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new H(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Yd(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function G2(t,n,e,i){if(!e&&!ku(t))return;lx(t,n,e&&!i?0:1)}function Z(t,n,e,i){let r=fe(),o=jo();if(Wn(r,o,n)){let a=tt(),s=Au();eN(s,r,t,n,e,i)}return Z}function Bx(t,n,e,i){return Wn(t,jo(),e)?n+ja(e)+i:Fn}function q2(t,n,e,i,r,o){let a=eR(),s=Ox(t,a,e,r);return jg(2),s?n+ja(e)+i+ja(r)+o:Fn}function Ud(t,n){return t<<17|n<<2}function Lo(t){return t>>17&32767}function Y2(t){return(t&2)==2}function K2(t,n){return t&131071|n<<17}function lg(t){return t|2}function Ka(t){return(t&131068)>>2}function mh(t,n){return t&-131069|n<<2}function Z2(t){return(t&1)===1}function cg(t){return t|1}function Q2(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=Lo(a),c=Ka(a);t[i]=e;let g=!1,b;if(Array.isArray(e)){let _=e;b=_[1],(b===null||Sl(_,b)>0)&&(g=!0)}else b=e;if(r)if(c!==0){let D=Lo(t[s+1]);t[i+1]=Ud(D,s),D!==0&&(t[D+1]=mh(t[D+1],i)),t[s+1]=K2(t[s+1],i)}else t[i+1]=Ud(s,0),s!==0&&(t[s+1]=mh(t[s+1],i)),s=i;else t[i+1]=Ud(c,0),s===0?s=i:t[c+1]=mh(t[c+1],i),c=i;g&&(t[i+1]=lg(t[i+1])),Q0(t,b,i,!0),Q0(t,b,i,!1),X2(n,b,t,i,o),a=Ud(s,c),o?n.classBindings=a:n.styleBindings=a}function X2(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Sl(o,n)>=0&&(e[i+1]=cg(e[i+1]))}function Q0(t,n,e,i){let r=t[e+1],o=n===null,a=i?Lo(r):Ka(r),s=!1;for(;a!==0&&(s===!1||o);){let c=t[a],g=t[a+1];J2(c,n)&&(s=!0,t[a+1]=i?cg(g):lg(g)),a=i?Lo(g):Ka(g)}s&&(t[e+1]=i?lg(r):cg(r))}function J2(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Sl(t,n)>=0:!1}var li={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function eP(t){return t.substring(li.key,li.keyEnd)}function tP(t){return nP(t),jx(t,Hx(t,0,li.textEnd))}function jx(t,n){let e=li.textEnd;return e===n?-1:(n=li.keyEnd=iP(t,li.key=n,e),Hx(t,n,e))}function nP(t){li.key=0,li.keyEnd=0,li.value=0,li.valueEnd=0,li.textEnd=t.length}function Hx(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function iP(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function y(t,n,e){let i=fe(),r=jo();if(Wn(i,r,n)){let o=tt(),a=Au();i_(o,a,i,t,n,i[ot],e,!1)}return y}function dg(t,n,e,i,r){o_(n,t,e,r?"class":"style",i)}function dn(t,n,e){return Ux(t,n,e,!1),dn}function F(t,n){return Ux(t,n,null,!0),F}function at(t){$x(cP,zx,t,!0)}function zx(t,n){for(let e=tP(n);e>=0;e=jx(n,e))Du(t,eP(n),!0)}function Ux(t,n,e,i){let r=fe(),o=tt(),a=jg(2);if(o.firstUpdatePass&&Gx(o,t,a,i),n!==Fn&&Wn(r,a,n)){let s=o.data[pr()];qx(o,s,r,r[ot],t,r[a+1]=uP(n,e),i,a)}}function $x(t,n,e,i){let r=tt(),o=jg(2);r.firstUpdatePass&&Gx(r,null,o,i);let a=fe();if(e!==Fn&&Wn(a,o,e)){let s=r.data[pr()];if(Yx(s,i)&&!Wx(r,o)){let c=i?s.classesWithoutHost:s.stylesWithoutHost;c!==null&&(e=vh(c,e||"")),dg(r,s,a,e,i)}else dP(r,s,a,a[ot],a[o+1],a[o+1]=lP(t,n,e),i,o)}}function Wx(t,n){return n>=t.expandoStartIndex}function Gx(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[pr()],a=Wx(t,e);Yx(o,i)&&n===null&&!a&&(n=!1),n=rP(r,o,n,i),Q2(r,o,n,e,a,i)}}function rP(t,n,e,i){let r=oR(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=ph(null,t,n,e,i),e=El(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=ph(r,t,n,e,i),o===null){let c=oP(t,n,i);c!==void 0&&Array.isArray(c)&&(c=ph(null,t,n,c[1],i),c=El(c,n.attrs,i),aP(t,n,i,c))}else o=sP(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function oP(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ka(i)!==0)return t[Lo(i)]}function aP(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Lo(r)]=i}function sP(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;i=El(i,a,e)}return El(i,n.attrs,e)}function ph(t,n,e,i,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=n[s],i=El(i,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i}function El(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let a=n[o];typeof a=="number"?r=a:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Du(t,a,e?!0:n[++o]))}return t===void 0?null:t}function lP(t,n,e){if(e==null||e==="")return sn;let i=[],r=di(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function cP(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Du(t,i,e)}function dP(t,n,e,i,r,o,a,s){r===Fn&&(r=sn);let c=0,g=0,b=0<r.length?r[0]:null,_=0<o.length?o[0]:null;for(;b!==null||_!==null;){let D=c<r.length?r[c+1]:void 0,C=g<o.length?o[g+1]:void 0,S=null,N;b===_?(c+=2,g+=2,D!==C&&(S=_,N=C)):_===null||b!==null&&b<_?(c+=2,S=b):(g+=2,S=_,N=C),S!==null&&qx(t,n,e,i,S,N,a,s),b=c<r.length?r[c]:null,_=g<o.length?o[g]:null}}function qx(t,n,e,i,r,o,a,s){if(!(n.type&3))return;let c=t.data,g=c[s+1],b=Z2(g)?X0(c,n,e,r,Ka(g),a):void 0;if(!_u(b)){_u(o)||Y2(g)&&(o=X0(c,null,e,r,s,a));let _=Lw(pr(),e);vN(i,a,_,r,o)}}function X0(t,n,e,i,r,o){let a=n===null,s;for(;r>0;){let c=t[r],g=Array.isArray(c),b=g?c[1]:c,_=b===null,D=e[r+1];D===Fn&&(D=_?sn:void 0);let C=_?ih(D,i):b===i?D:void 0;if(g&&!_u(C)&&(C=ih(c,i)),_u(C)&&(s=C,a))return s;let S=t[r+1];r=a?Lo(S):Ka(S)}if(n!==null){let c=o?n.residualClasses:n.residualStyles;c!=null&&(s=ih(c,i))}return s}function _u(t){return t!==void 0}function uP(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=_n(di(t)))),t}function Yx(t,n){return(t.flags&(n?8:16))!==0}function qu(t,n,e){let i=fe(),r=Bx(i,t,n,e);$x(Du,zx,r,!0)}var ug=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};function fh(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function mP(t,n,e){let i,r,o=0,a=t.length-1,s=void 0;if(Array.isArray(n)){let c=n.length-1;for(;o<=a&&o<=c;){let g=t.at(o),b=n[o],_=fh(o,g,o,b,e);if(_!==0){_<0&&t.updateValue(o,b),o++;continue}let D=t.at(a),C=n[c],S=fh(a,D,c,C,e);if(S!==0){S<0&&t.updateValue(a,C),a--,c--;continue}let N=e(o,g),L=e(a,D),ie=e(o,b);if(Object.is(ie,L)){let Ve=e(c,C);Object.is(Ve,N)?(t.swap(o,a),t.updateValue(a,C),c--,a--):t.move(a,o),t.updateValue(o,b),o++;continue}if(i??=new vu,r??=ew(t,o,a,e),mg(t,i,o,ie))t.updateValue(o,b),o++,a++;else if(r.has(ie))i.set(N,t.detach(o)),a--;else{let Ve=t.create(o,n[o]);t.attach(o,Ve),o++,a++}}for(;o<=c;)J0(t,i,e,o,n[o]),o++}else if(n!=null){let c=n[Symbol.iterator](),g=c.next();for(;!g.done&&o<=a;){let b=t.at(o),_=g.value,D=fh(o,b,o,_,e);if(D!==0)D<0&&t.updateValue(o,_),o++,g=c.next();else{i??=new vu,r??=ew(t,o,a,e);let C=e(o,_);if(mg(t,i,o,C))t.updateValue(o,_),o++,a++,g=c.next();else if(!r.has(C))t.attach(o,t.create(o,_)),o++,a++,g=c.next();else{let S=e(o,b);i.set(S,t.detach(o)),a--}}}for(;!g.done;)J0(t,i,e,t.length,g.value),g=c.next()}for(;o<=a;)t.destroy(t.detach(a--));i?.forEach(c=>{t.destroy(c)})}function mg(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function J0(t,n,e,i,r){if(mg(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function ew(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}var vu=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function he(t,n){hr("NgControlFlow");let e=fe(),i=jo(),r=e[i]!==Fn?e[i]:-1,o=r!==-1?bu(e,Et+r):void 0,a=0;if(Wn(e,i,t)){let s=De(null);try{if(o!==void 0&&fx(o,a),t!==-1){let c=Et+t,g=bu(e,c),b=gg(e[_e],c),_=Ya(g,b.tView.ssrId),D=Al(e,b,n,{dehydratedView:_});Rl(g,D,a,qa(b,_))}}finally{De(s)}}else if(o!==void 0){let s=px(o,a);s!==void 0&&(s[Dt]=n)}}var pg=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Qt}};function rs(t,n){return n}var fg=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Li(t,n,e,i,r,o,a,s,c,g,b,_,D){hr("NgControlFlow");let C=fe(),S=tt(),N=c!==void 0,L=fe(),ie=s?a.bind(L[On][Dt]):a,Ve=new fg(N,ie);L[Et+t]=Ve,gu(C,S,t+1,n,e,i,r,Ur(S.consts,o)),N&&gu(C,S,t+2,c,g,b,_,Ur(S.consts,D))}var hg=class extends ug{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Qt}at(n){return this.getLView(n)[Dt].$implicit}attach(n,e){let i=e[Ua];this.needsIndexUpdate||=n!==this.length,Rl(this.lContainer,e,n,qa(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,pP(this.lContainer,n)}create(n,e){let i=Ya(this.lContainer,this.templateTNode.tView.ssrId),r=Al(this.hostLView,this.templateTNode,new pg(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){ju(n[_e],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Dt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Dt].$index=n}getLView(n){return fP(this.lContainer,n)}};function Vi(t){let n=De(null),e=pr();try{let i=fe(),r=i[_e],o=i[e],a=e+1,s=bu(i,a);if(o.liveCollection===void 0){let g=gg(r,a);o.liveCollection=new hg(s,i,g)}else o.liveCollection.reset();let c=o.liveCollection;if(mP(c,t,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){let g=jo(),b=c.length===0;if(Wn(i,g,b)){let _=e+2,D=bu(i,_);if(b){let C=gg(r,_),S=Ya(D,C.tView.ssrId),N=Al(i,C,void 0,{dehydratedView:S});Rl(D,N,0,qa(C,S))}else fx(D,0)}}}finally{De(n)}}function bu(t,n){return t[n]}function pP(t,n){return xl(t,n)}function fP(t,n){return px(t,n)}function gg(t,n){return Rg(t,n)}function m(t,n,e,i){let r=fe(),o=tt(),a=Et+t,s=r[ot],c=o.firstCreatePass?vx(a,o,r,n,r_,Fg(),e,i):o.data[a],g=hP(o,r,c,s,n,t);r[a]=g;let b=Mu(c);return Wr(c,!0),YC(s,g,c),!l_(c)&&Ru()&&Hu(o,r,g,c),(qA()===0||b)&&ts(g,r),YA(),b&&(Bu(o,r,c),Qg(o,c,r)),i!==null&&n_(r,c),m}function u(){let t=Jt();Lg()?Vg():(t=t.parent,Wr(t,!1));let n=t;ZA(n)&&QA(),KA();let e=tt();return e.firstCreatePass&&bx(e,n),n.classesWithoutHost!=null&&mR(n)&&dg(e,n,fe(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&pR(n)&&dg(e,n,fe(),n.stylesWithoutHost,!1),u}function E(t,n,e,i){return m(t,n,e,i),u(),E}var hP=(t,n,e,i,r,o)=>(Ou(!0),GC(i,r,cR()));function gP(t,n,e,i,r){let o=n.consts,a=Ur(o,i),s=is(n,t,8,"ng-container",a);a!==null&&Xh(s,a,!0);let c=Ur(o,r);return Fg()&&m_(n,e,s,c,r_),s.mergedAttrs=Ga(s.mergedAttrs,s.attrs),n.queries!==null&&n.queries.elementStart(n,s),s}function Mt(t,n,e){let i=fe(),r=tt(),o=t+Et,a=r.firstCreatePass?gP(o,r,i,n,e):r.data[o];Wr(a,!0);let s=_P(r,i,a,t);return i[o]=s,Ru()&&Hu(r,i,s,a),ts(s,i),Mu(a)&&(Bu(r,i,a),Qg(r,a,i)),e!=null&&n_(i,a),Mt}function kt(){let t=Jt(),n=tt();return Lg()?Vg():(t=t.parent,Wr(t,!1)),n.firstCreatePass&&($g(n,t),Ag(t)&&n.queries.elementEnd(t)),kt}function Gn(t,n,e){return Mt(t,n,e),kt(),Gn}var _P=(t,n,e,i)=>(Ou(!0),BO(n[ot],""));function xe(){return fe()}function qt(t,n,e){let i=fe(),r=jo();if(Wn(i,r,n)){let o=tt(),a=Au();i_(o,a,i,t,n,i[ot],e,!0)}return qt}var Do=void 0;function vP(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var bP=["en",[["a","p"],["AM","PM"],Do],[["AM","PM"],Do,Do],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Do,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Do,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Do,"{1} 'at' {0}",Do],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",vP],hh={};function b_(t){let n=yP(t),e=tw(n);if(e)return e;let i=n.split("-")[0];if(e=tw(i),e)return e;if(i==="en")return bP;throw new H(701,!1)}function tw(t){return t in hh||(hh[t]=Mi.ng&&Mi.ng.common&&Mi.ng.common.locales&&Mi.ng.common.locales[t]),hh[t]}var os=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(os||{});function yP(t){return t.toLowerCase().replace(/_/g,"-")}var yu="en-US";var wP=yu;function CP(t){typeof t=="string"&&(wP=t.toLowerCase().replace(/_/g,"-"))}function nw(t,n,e){return function i(r){if(r===Function)return e;let o=Qa(t)?Ri(t.index,n):n;u_(o,5);let a=n[Dt],s=iw(n,a,e,r),c=i.__ngNextListenerFn__;for(;c;)s=iw(n,a,c,r)&&s,c=c.__ngNextListenerFn__;return s}}function iw(t,n,e,i){let r=De(null);try{return Ue(6,n,e),e(i)!==!1}catch(o){return xP(t,o),!1}finally{Ue(7,n,e),De(r)}}function xP(t,n){let e=t[$a],i=e?e.get(ln,null):null;i&&i.handleError(n)}function rw(t,n,e,i,r,o){let a=n[e],s=n[_e],g=s.data[e].outputs[i],b=a[g],_=s.firstCreatePass?Pg(s):null,D=Ng(n),C=b.subscribe(o),S=D.length;D.push(o,C),_&&_.push(r,t.index,S,-(S+1))}function O(t,n,e,i){let r=fe(),o=tt(),a=Jt();return Kx(o,r,r[ot],a,t,n,i),O}function DP(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===i){let s=n[tu],c=r[o+2];return s.length>c?s[c]:null}typeof a=="string"&&(o+=2)}return null}function Kx(t,n,e,i,r,o,a){let s=Mu(i),g=t.firstCreatePass?Pg(t):null,b=Ng(n),_=!0;if(i.type&3||a){let D=Fi(i,n),C=a?a(D):D,S=b.length,N=a?ie=>a(Ai(ie[i.index])):i.index,L=null;if(!a&&s&&(L=DP(t,n,r,i.index)),L!==null){let ie=L.__ngLastListenerFn__||L;ie.__ngNextListenerFn__=o,L.__ngLastListenerFn__=o,_=!1}else{o=nw(i,n,o),QR(n,C,r,o);let ie=e.listen(C,r,o);b.push(o,ie),g&&g.push(r,N,S,S+1)}}else o=nw(i,n,o);if(_){let D=i.outputs?.[r],C=i.hostDirectiveOutputs?.[r];if(C&&C.length)for(let S=0;S<C.length;S+=2){let N=C[S],L=C[S+1];rw(i,n,N,L,r,o)}if(D&&D.length)for(let S of D)rw(i,n,S,r,r,o)}}function x(t=1){return sR(t)}function EP(t,n){let e=null,i=TO(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?WC(t,o,!0):OO(i,o))return r}return e}function Oe(t){let n=fe()[On][bn];if(!n.projection){let e=t?t.length:1,i=n.projection=CA(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=t?EP(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function le(t,n=0,e,i,r,o){let a=fe(),s=tt(),c=i?t+1:null;c!==null&&gu(a,s,c,i,r,o,null,e);let g=is(s,Et+t,16,null,e||null);g.projection===null&&(g.projection=n),Vg();let _=!a[Ua]||Uw();a[On][bn].projection[g.projection]===null&&c!==null?IP(a,s,c):_&&!l_(g)&&gN(s,a,g)}function IP(t,n,e){let i=Et+e,r=n.data[i],o=t[i],a=Ya(o,r.tView.ssrId),s=Al(t,r,void 0,{dehydratedView:a});Rl(o,s,0,qa(r,a))}function $e(t,n,e,i){Dx(t,n,e,i)}function Ee(t,n,e){_2(t,n,e)}function te(t){let n=fe(),e=tt(),i=Hg();Tu(i+1);let r=f_(e,i);if(t.dirty&&zA(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=Ix(n,i);t.reset(o,gC),t.notifyOnChanges()}return!0}return!1}function ne(){return p_(fe(),Hg())}function Zx(t,n,e,i,r){C2(n,Dx(t,e,i,r))}function Qx(t=1){Tu(Hg()+t)}function yt(t){let n=JA();return Vw(n,Et+t)}function v(t,n=""){let e=fe(),i=tt(),r=t+Et,o=i.firstCreatePass?is(i,r,1,n,null):i.data[r],a=SP(i,e,o,n,t);e[r]=a,Ru()&&Hu(i,e,a,o),Wr(o,!1)}var SP=(t,n,e,i,r)=>(Ou(!0),LO(n[ot],i));function I(t){return ae("",t,""),I}function ae(t,n,e){let i=fe(),r=Bx(i,t,n,e);return r!==Fn&&Xx(i,pr(),r),ae}function as(t,n,e,i,r){let o=fe(),a=q2(o,t,n,e,i,r);return a!==Fn&&Xx(o,pr(),a),as}function Xx(t,n,e){let i=Lw(n,t);VO(t[ot],i,e)}function gt(t,n,e){_C(n)&&(n=n());let i=fe(),r=jo();if(Wn(i,r,n)){let o=tt(),a=Au();i_(o,a,i,t,n,i[ot],e,!1)}return gt}function wt(t,n){let e=_C(t);return e&&t.set(n),e}function _t(t,n){let e=fe(),i=tt(),r=Jt();return Kx(i,e,e[ot],r,t,n),_t}var MP={};function y_(t){let n=tt(),e=fe(),i=t+Et,r=is(n,i,128,null,null);return Wr(r,!1),Bw(n,e,i,MP),y_}function kP(t,n,e){let i=tt();if(i.firstCreatePass){let r=Ti(t);_g(e,i.data,i.blueprint,r,!0),_g(n,i.data,i.blueprint,r,!1)}}function _g(t,n,e,i,r){if(t=an(t),Array.isArray(t))for(let o=0;o<t.length;o++)_g(t[o],n,e,i,r);else{let o=tt(),a=fe(),s=Jt(),c=za(t)?t:an(t.provide),g=Mw(t),b=s.providerIndexes&1048575,_=s.directiveStart,D=s.providerIndexes>>20;if(za(t)||!t.multi){let C=new No(g,r,ee),S=_h(c,n,r?b:b+D,_);S===-1?(Th(lu(s,a),o,c),gh(o,t,n.length),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(C),a.push(C)):(e[S]=C,a[S]=C)}else{let C=_h(c,n,b+D,_),S=_h(c,n,b,b+D),N=C>=0&&e[C],L=S>=0&&e[S];if(r&&!L||!r&&!N){Th(lu(s,a),o,c);let ie=RP(r?AP:TP,e.length,r,i,g);!r&&L&&(e[S].providerFactory=ie),gh(o,t,n.length,0),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(ie),a.push(ie)}else{let ie=Jx(e[r?S:C],g,!r&&i);gh(o,t,C>-1?C:S,ie)}!r&&i&&L&&e[S].componentProviders++}}}function gh(t,n,e,i){let r=za(n),o=AA(n);if(r||o){let c=(o?an(n.useClass):n).prototype.ngOnDestroy;if(c){let g=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let b=g.indexOf(e);b===-1?g.push(e,[i,c]):g[b+1].push(i,c)}else g.push(e,c)}}}function Jx(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function _h(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function TP(t,n,e,i,r){return vg(this.multi,[])}function AP(t,n,e,i,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,c=wl(i,i[_e],this.providerFactory.index,r);a=c.slice(0,s),vg(o,a);for(let g=s;g<c.length;g++)a.push(c[g])}else a=[],vg(o,a);return a}function vg(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function RP(t,n,e,i,r){let o=new No(t,e,ee);return o.multi=[],o.index=n,o.componentProviders=0,Jx(o,r,i&&!e),o}function Fe(t,n=[]){return e=>{e.providersResolver=(i,r)=>kP(i,r?r(t):t,n)}}function eD(t,n,e){let i=Bg()+t,r=fe();return r[i]===Fn?g_(r,i,e?n.call(e):n()):B2(r,i)}function w_(t,n,e,i,r){return NP(fe(),Bg(),t,n,e,i,r)}function tD(t,n){let e=t[n];return e===Fn?void 0:e}function OP(t,n,e,i,r,o){let a=n+e;return Wn(t,a,r)?g_(t,a+1,o?i.call(o,r):i(r)):tD(t,a+1)}function NP(t,n,e,i,r,o,a){let s=n+e;return Ox(t,s,r,o)?g_(t,s+2,a?i.call(a,r,o):i(r,o)):tD(t,s+2)}function $o(t,n){let e=tt(),i,r=t+Et;e.firstCreatePass?(i=PP(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=So(i.type,!0)),a,s=gn(ee);try{let c=su(!1),g=o();return su(c),Bw(e,fe(),r,g),g}finally{gn(s)}}function PP(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function Wo(t,n,e){let i=t+Et,r=fe(),o=Vw(r,i);return FP(r,i)?OP(r,Bg(),n,o.transform,e,o):o.transform(e)}function FP(t,n){return t[_e].data[n].pure}function Bi(t,n){return Uu(t,n)}var Vo=class{full;major;minor;patch;constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},C_=new Vo("19.2.16"),bg=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},nD=(()=>{class t{compileModuleSync(e){return new ag(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=Dw(e),o=UC(r.declarations).reduce((a,s)=>{let c=zr(s);return c&&a.push(new Fo(c)),a},[]);return new bg(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var LP=(()=>{class t{zone=p(K);changeDetectionScheduler=p(Po);applicationRef=p(Pn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),VP=new T("",{factory:()=>!1});function iD({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new K(ce(R({},oD()),{scheduleInRootZone:e})),[{provide:K,useFactory:t},{provide:Ha,multi:!0,useFactory:()=>{let i=p(LP,{optional:!0});return()=>i.initialize()}},{provide:Ha,multi:!0,useFactory:()=>{let i=p(BP);return()=>{i.initialize()}}},n===!0?{provide:uC,useValue:!0}:[],{provide:mC,useValue:e??dC}]}function rD(t){let n=t?.ignoreChangesOutsideZone,e=t?.scheduleInRootZone,i=iD({ngZoneFactory:()=>{let r=oD(t);return r.scheduleInRootZone=e,r.shouldCoalesceEventChangeDetection&&hr("NgZone_CoalesceEvent"),new K(r)},ignoreChangesOutsideZone:n,scheduleInRootZone:e});return Bo([{provide:VP,useValue:!0},{provide:Pu,useValue:!1},i])}function oD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var BP=(()=>{class t{subscription=new de;initialized=!1;zone=p(K);pendingTasks=p(Gr);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{K.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var jP=(()=>{class t{appRef=p(Pn);taskService=p(Gr);ngZone=p(K);zonelessEnabled=p(Pu);tracing=p(ns,{optional:!0});disableScheduling=p(uC,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new de;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(du):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(mC,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Nh||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?A0:pC;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(du+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,A0(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function HP(){return typeof $localize<"u"&&$localize.locale||yu}var ss=new T("",{providedIn:"root",factory:()=>p(ss,Ce.Optional|Ce.SkipSelf)||HP()});var yg=new T(""),zP=new T("");function hl(t){return!t.moduleRef}function UP(t){let n=hl(t)?t.r3Injector:t.moduleRef.injector,e=n.get(K);return e.run(()=>{hl(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(ln,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),hl(t)){let o=()=>n.destroy(),a=t.platformInjector.get(yg);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(yg);a.add(o),t.moduleRef.onDestroy(()=>{Yd(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return WP(i,e,()=>{let o=n.get(Vx);return o.runInitializers(),o.donePromise.then(()=>{let a=n.get(ss,yu);if(CP(a||yu),!n.get(zP,!0))return hl(t)?n.get(Pn):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(hl(t)){let c=n.get(Pn);return t.rootComponent!==void 0&&c.bootstrap(t.rootComponent),c}else return $P(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function $P(t,n){let e=t.injector.get(Pn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new H(-403,!1);n.push(t)}function WP(t,n,e){try{let i=e();return Uo(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var Kd=null;function GP(t=[],n){return Se.create({name:n,providers:[{provide:Eu,useValue:"platform"},{provide:yg,useValue:new Set([()=>Kd=null])},...t]})}function qP(t=[]){if(Kd)return Kd;let n=GP(t);return Kd=n,U2(),YP(n),n}function YP(t){let n=t.get(Yg,null);vn(t,()=>{n?.forEach(e=>e())})}var ke=(()=>{class t{static __NG_ELEMENT_ID__=KP}return t})();function KP(t){return ZP(Jt(),fe(),(t&16)===16)}function ZP(t,n,e){if(Qa(t)&&!e){let i=Ri(t.index,n);return new Dl(i,i)}else if(t.type&175){let i=n[On];return new Dl(i,n)}return null}var wg=class{constructor(){}supports(n){return Rx(n)}create(n){return new Cg(n)}},QP=(t,n)=>n,Cg=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||QP}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let a=!i||e&&e.currentIndex<ow(i,r,o)?e:i,s=ow(a,r,o),c=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(e=e._next,a.previousIndex==null)r++;else{o||(o=[]);let g=s-r,b=c-r;if(g!=b){for(let D=0;D<g;D++){let C=D<o.length?o[D]:o[D]=0,S=C+D;b<=S&&S<g&&(o[D]=C+1)}let _=a.previousIndex;o[_]=b-g}}s!==c&&n(a,s,c)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!Rx(n))throw new H(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,a;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)o=n[s],a=this._trackByFn(s,o),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,o,a,s),i=!0):(i&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,L2(n,s=>{a=this._trackByFn(r,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,r),i=!0):(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new xg(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new wu),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new wu),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},xg=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},Dg=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},wu=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Dg,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ow(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function aw(){return new Yu([new wg])}var Yu=(()=>{class t{factories;static \u0275prov=A({token:t,providedIn:"root",factory:aw});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||aw()),deps:[[t,new $r,new Pi]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new H(901,!1)}}return t})();function aD(t){let{rootComponent:n,appProviders:e,platformProviders:i,platformRef:r}=t;Ue(8);try{let o=r?.injector??qP(i),a=[iD({}),{provide:Po,useExisting:jP},...e||[]],s=new hu({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return UP({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{Ue(9)}}function J(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Tt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function qn(t){return Hf(t)}function Yn(t,n){return sd(t,n?.equal)}var Eg=class{[fn];constructor(n){this[fn]=n}destroy(){this[fn].destroy()}};function Nl(t,n){!n?.injector&&Tg(Nl);let e=n?.injector??p(Se),i=n?.manualCleanup!==!0?e.get(Ho):null,r,o=e.get(Zg,null,{optional:!0}),a=e.get(Po);return o!==null&&!n?.forceRoot?(r=eF(o.view,a,t),i instanceof cu&&i._lView===o.view&&(i=null)):r=tF(t,e.get(Px),a),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new Eg(r)}var sD=ce(R({},xa),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Cl,run(){if(this.dirty=!1,this.hasRun&&!rd(this))return;this.hasRun=!0;let t=i=>(this.cleanupFns??=[]).push(i),n=rl(this),e=ru(!1);try{this.maybeCleanup(),this.fn(t)}finally{ru(e),id(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),XP=ce(R({},sD),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ol(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),JP=ce(R({},sD),{consumerMarkedDirty(){this.view[pe]|=8192,Ja(this.view),this.notifier.notify(13)},destroy(){ol(this),this.onDestroyFn(),this.maybeCleanup(),this.view[To]?.delete(this)}});function eF(t,n,e){let i=Object.create(JP);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=e,t[To]??=new Set,t[To].add(i),i.consumerMarkedDirty(i),i}function tF(t,n,e){let i=Object.create(XP);return i.fn=t,i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}function Ku(t,n){let e=zr(t),i=n.elementInjector||Iu();return new Fo(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function lD(t){let n=zr(t);if(!n)return null;let e=new Fo(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var oe=new T("");var uD=null;function Kn(){return uD}function x_(t){uD??=t}var Pl=class{},Fl=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>p(mD),providedIn:"platform"})}return t})(),D_=new T(""),mD=(()=>{class t extends Fl{_location;_history;_doc=p(oe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kn().getBaseHref(this._doc)}onPopState(e){let i=Kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Kn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Zu(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function cD(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function ui(t){return t&&t[0]!=="?"?`?${t}`:t}var mi=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>p(Xu),providedIn:"root"})}return t})(),Qu=new T(""),Xu=(()=>{class t extends mi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Zu(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+ui(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+ui(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+ui(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(Q(Fl),Q(Qu,8))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ji=(()=>{class t{_subject=new V;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=rF(cD(dD(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+ui(i))}normalize(e){return t.stripTrailingSlash(iF(this._basePath,dD(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ui(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ui(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=ui;static joinWithSlash=Zu;static stripTrailingSlash=cD;static \u0275fac=function(i){return new(i||t)(Q(mi))};static \u0275prov=A({token:t,factory:()=>nF(),providedIn:"root"})}return t})();function nF(){return new ji(Q(mi))}function iF(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function dD(t){return t.replace(/\/index.html$/,"")}function rF(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var k_=(()=>{class t extends mi{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=Zu(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+ui(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+ui(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(Q(Fl),Q(Qu,8))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();var T_=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(T_||{});var Hi={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ls(t,n){let e=b_(t),i=e[os.NumberSymbols][n];if(typeof i>"u"){if(n===Hi.CurrencyDecimal)return e[os.NumberSymbols][Hi.Decimal];if(n===Hi.CurrencyGroup)return e[os.NumberSymbols][Hi.Group]}return i}function _D(t,n){return b_(t)[os.NumberFormats][n]}var oF=/^(\d+)?\.((\d+)(-(\d+))?)?$/,pD=22,Ju=".",Ll="0",aF=";",sF=",",E_="#";function lF(t,n,e,i,r,o,a=!1){let s="",c=!1;if(!isFinite(t))s=ls(e,Hi.Infinity);else{let g=uF(t);a&&(g=dF(g));let b=n.minInt,_=n.minFrac,D=n.maxFrac;if(o){let Ve=o.match(oF);if(Ve===null)throw new Error(`${o} is not a valid digit info`);let We=Ve[1],xi=Ve[3],er=Ve[5];We!=null&&(b=I_(We)),xi!=null&&(_=I_(xi)),er!=null?D=I_(er):xi!=null&&_>D&&(D=_)}mF(g,_,D);let C=g.digits,S=g.integerLen,N=g.exponent,L=[];for(c=C.every(Ve=>!Ve);S<b;S++)C.unshift(0);for(;S<0;S++)C.unshift(0);S>0?L=C.splice(S,C.length):(L=C,C=[0]);let ie=[];for(C.length>=n.lgSize&&ie.unshift(C.splice(-n.lgSize,C.length).join(""));C.length>n.gSize;)ie.unshift(C.splice(-n.gSize,C.length).join(""));C.length&&ie.unshift(C.join("")),s=ie.join(ls(e,i)),L.length&&(s+=ls(e,r)+L.join("")),N&&(s+=ls(e,Hi.Exponential)+"+"+N)}return t<0&&!c?s=n.negPre+s+n.negSuf:s=n.posPre+s+n.posSuf,s}function vD(t,n,e){let i=_D(n,T_.Decimal),r=cF(i,ls(n,Hi.MinusSign));return lF(t,r,n,Hi.Group,Hi.Decimal,e)}function cF(t,n="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(aF),r=i[0],o=i[1],a=r.indexOf(Ju)!==-1?r.split(Ju):[r.substring(0,r.lastIndexOf(Ll)+1),r.substring(r.lastIndexOf(Ll)+1)],s=a[0],c=a[1]||"";e.posPre=s.substring(0,s.indexOf(E_));for(let b=0;b<c.length;b++){let _=c.charAt(b);_===Ll?e.minFrac=e.maxFrac=b+1:_===E_?e.maxFrac=b+1:e.posSuf+=_}let g=s.split(sF);if(e.gSize=g[1]?g[1].length:0,e.lgSize=g[2]||g[1]?(g[2]||g[1]).length:0,o){let b=r.length-e.posPre.length-e.posSuf.length,_=o.indexOf(E_);e.negPre=o.substring(0,_).replace(/'/g,""),e.negSuf=o.slice(_+b).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}function dF(t){if(t.digits[0]===0)return t;let n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(n===0?t.digits.push(0,0):n===1&&t.digits.push(0),t.integerLen+=2),t}function uF(t){let n=Math.abs(t)+"",e=0,i,r,o,a,s;for((r=n.indexOf(Ju))>-1&&(n=n.replace(Ju,"")),(o=n.search(/e/i))>0?(r<0&&(r=o),r+=+n.slice(o+1),n=n.substring(0,o)):r<0&&(r=n.length),o=0;n.charAt(o)===Ll;o++);if(o===(s=n.length))i=[0],r=1;else{for(s--;n.charAt(s)===Ll;)s--;for(r-=o,i=[],a=0;o<=s;o++,a++)i[a]=Number(n.charAt(o))}return r>pD&&(i=i.splice(0,pD-1),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}function mF(t,n,e){if(n>e)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${e}).`);let i=t.digits,r=i.length-t.integerLen,o=Math.min(Math.max(n,r),e),a=o+t.integerLen,s=i[a];if(a>0){i.splice(Math.max(t.integerLen,a));for(let _=a;_<i.length;_++)i[_]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,a=o+1),i[0]=0;for(let _=1;_<a;_++)i[_]=0}if(s>=5)if(a-1<0){for(let _=0;_>a;_--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[a-1]++;for(;r<Math.max(0,o);r++)i.push(0);let c=o!==0,g=n+t.integerLen,b=i.reduceRight(function(_,D,C,S){return D=D+_,S[C]=D<10?D:D-10,c&&(S[C]===0&&C>=g?S.pop():c=!1),D>=10?1:0},0);b&&(i.unshift(b),t.integerLen++)}function I_(t){let n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}var S_=/\s+/,fD=[],Go=(()=>{class t{_ngEl;_renderer;initialClasses=fD;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(S_):fD}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(S_):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(S_).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(ee(X),ee(He))};static \u0275dir=j({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var em=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Vt=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new em(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let s=i.get(o);i.move(s,a),hD(s,r)}});for(let r=0,o=i.length;r<o;r++){let s=i.get(r).context;s.index=r,s.count=o,s.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);hD(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(ee(lt),ee(ft),ee(Yu))};static \u0275dir=j({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function hD(t,n){t.context.$implicit=n.item}var vt=(()=>{class t{_viewContainer;_context=new tm;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){gD(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){gD(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(ee(lt),ee(ft))};static \u0275dir=j({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),tm=class{$implicit=null;ngIf=null};function gD(t,n){if(t&&!t.createEmbeddedView)throw new H(2020,!1)}var M_=class{_viewContainerRef;_templateRef;_created=!1;constructor(n,e){this._viewContainerRef=n,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}},Zn=(()=>{class t{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let i=e===this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let i of this._defaultViews)i.enforceState(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return t})(),pi=(()=>{class t{ngSwitch;_view;ngSwitchCase;constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new M_(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(i){return new(i||t)(ee(lt),ee(ft),ee(Zn,9))};static \u0275dir=j({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})();var Zr=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(ee(lt))};static \u0275dir=j({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[je]})}return t})();function pF(t,n){return new H(2100,!1)}var A_=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,i,r){if(!fF(e))return null;r||=this._locale;try{let o=hF(e);return vD(o,r,i)}catch(o){throw pF(t,o.message)}}static \u0275fac=function(i){return new(i||t)(ee(ss,16))};static \u0275pipe=kx({name:"number",type:t,pure:!0})}return t})();function fF(t){return!(t==null||t===""||t!==t)}function hF(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var ct=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({})}return t})();function Vl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var nm="browser",bD="server";function R_(t){return t===nm}function im(t){return t===bD}var qo=class{};var yD=(()=>{class t{static \u0275prov=A({token:t,providedIn:"root",factory:()=>new O_(p(oe),window)})}return t})(),O_=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=gF(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};function gF(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(a)return a}r=i.nextNode()}}return null}var am=new T(""),L_=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new H(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(Q(am),Q(K))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),Bl=class{_doc;constructor(n){this._doc=n}manager},rm="ng-app-id";function wD(t){for(let n of t)n.remove()}function CD(t,n){let e=n.createElement("style");return e.textContent=t,e}function _F(t,n,e,i){let r=t.head?.querySelectorAll(`style[${rm}="${n}"],link[${rm}="${n}"]`);if(r)for(let o of r)o.removeAttribute(rm),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function P_(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var V_=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.isServer=im(o),_F(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,CD);i?.forEach(r=>this.addUsage(r,this.external,P_))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(wD(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])wD(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,CD(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,P_(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(rm,this.appId),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(Q(oe),Q(zo),Q(Ml,8),Q(Yr))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),N_={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},B_=/%COMP%/g;var DD="%COMP%",vF=`_nghost-${DD}`,bF=`_ngcontent-${DD}`,yF=!0,wF=new T("",{providedIn:"root",factory:()=>yF});function CF(t){return bF.replace(B_,t)}function xF(t){return vF.replace(B_,t)}function ED(t,n){return n.map(e=>e.replace(B_,t))}var j_=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,a,s,c,g=null,b=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=s,this.ngZone=c,this.nonce=g,this.tracingService=b,this.platformIsServer=im(s),this.defaultRenderer=new jl(e,a,c,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ni.ShadowDom&&(i=ce(R({},i),{encapsulation:Ni.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof om?r.applyToHost(e):r instanceof Hl&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,s=this.ngZone,c=this.eventManager,g=this.sharedStylesHost,b=this.removeStylesOnCompDestroy,_=this.platformIsServer,D=this.tracingService;switch(i.encapsulation){case Ni.Emulated:o=new om(c,g,i,this.appId,b,a,s,_,D);break;case Ni.ShadowDom:return new F_(c,g,e,i,a,s,this.nonce,_,D);default:o=new Hl(c,g,i,b,a,s,_,D);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(Q(L_),Q(V_),Q(zo),Q(wF),Q(oe),Q(Yr),Q(K),Q(Ml),Q(ns,8))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),jl=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(N_[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(xD(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(xD(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new H(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=N_[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=N_[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(cr.DashCase|cr.Important)?n.style.setProperty(e,i,r&cr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&cr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=Kn().getGlobalEventTarget(this.doc,n),!n))throw new H(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function xD(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var F_=class extends jl{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,a,s,c,g){super(n,o,a,c,g),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let b=r.styles;b=ED(r.id,b);for(let D of b){let C=document.createElement("style");s&&C.setAttribute("nonce",s),C.textContent=D,this.shadowRoot.appendChild(C)}let _=r.getExternalStyles?.();if(_)for(let D of _){let C=P_(D,o);s&&C.setAttribute("nonce",s),this.shadowRoot.appendChild(C)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Hl=class extends jl{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,a,s,c,g){super(n,o,a,s,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let b=i.styles;this.styles=g?ED(g,b):b,this.styleUrls=i.getExternalStyles?.(g)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},om=class extends Hl{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,c,g){let b=r+"-"+i.id;super(n,e,i,o,a,s,c,g,b),this.contentAttr=CF(b),this.hostAttr=xF(b)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var sm=class t extends Pl{supportsDOMEvents=!0;static makeCurrent(){x_(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=DF();return e==null?null:EF(e)}resetBaseElement(){zl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Vl(document.cookie,n)}},zl=null;function DF(){return zl=zl||document.head.querySelector("base"),zl?zl.getAttribute("href"):null}function EF(t){return new URL(t,document.baseURI).pathname}var IF=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),SD=(()=>{class t extends Bl{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(Q(oe))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),ID=["alt","control","meta","shift"],SF={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},MF={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},MD=(()=>{class t extends Bl{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kn().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),ID.forEach(g=>{let b=i.indexOf(g);b>-1&&(i.splice(b,1),a+=g+".")}),a+=o,i.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(e,i){let r=SF[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),ID.forEach(a=>{if(a!==r){let s=MF[a];s(e)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(Q(oe))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function H_(t,n,e){return aD(R({rootComponent:t,platformRef:e?.platformRef},kF(n)))}function kF(t){return{appProviders:[...NF,...t?.providers??[]],platformProviders:OF}}function TF(){sm.makeCurrent()}function AF(){return new ln}function RF(){return DC(document),document}var OF=[{provide:Yr,useValue:nm},{provide:Yg,useValue:TF,multi:!0},{provide:oe,useFactory:RF}];var NF=[{provide:Eu,useValue:"root"},{provide:ln,useFactory:AF},{provide:am,useClass:SD,multi:!0,deps:[oe]},{provide:am,useClass:MD,multi:!0,deps:[oe]},j_,V_,L_,{provide:It,useExisting:j_},{provide:qo,useClass:IF},[]];var ds=class{},Ul=class{},zi=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var cm=class{encodeKey(n){return kD(n)}encodeValue(n){return kD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function PF(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}var FF=/%(\d[a-f0-9])/gi,LF={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function kD(t){return encodeURIComponent(t).replace(FF,(n,e)=>LF[e]??n)}function lm(t){return`${t}`}var _r=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new cm,n.fromString){if(n.fromObject)throw new H(2805,!1);this.map=PF(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(lm):[lm(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(lm(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(lm(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var dm=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function VF(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function TD(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function AD(t){return typeof Blob<"u"&&t instanceof Blob}function RD(t){return typeof FormData<"u"&&t instanceof FormData}function BF(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var OD="Content-Type",ND="Accept",PD="X-Request-URL",FD="text/plain",LD="application/json",jF=`${LD}, ${FD}, */*`,cs=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(VF(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new zi,this.context??=new dm,!this.params)this.params=new _r,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),c=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+c+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||TD(this.body)||AD(this.body)||RD(this.body)||BF(this.body)?this.body:this.body instanceof _r?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||RD(this.body)?null:AD(this.body)?this.body.type||null:TD(this.body)?null:typeof this.body=="string"?FD:this.body instanceof _r?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?LD:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,a=n.body!==void 0?n.body:this.body,s=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress,g=n.headers||this.headers,b=n.params||this.params,_=n.context??this.context;return n.setHeaders!==void 0&&(g=Object.keys(n.setHeaders).reduce((D,C)=>D.set(C,n.setHeaders[C]),g)),n.setParams&&(b=Object.keys(n.setParams).reduce((D,C)=>D.set(C,n.setParams[C]),b)),new t(e,i,a,{params:b,headers:g,context:_,reportProgress:c,responseType:r,withCredentials:s,transferCache:o})}},Yo=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Yo||{}),us=class{headers;status;statusText;url;ok;type;constructor(n,e=200,i="OK"){this.headers=n.headers||new zi,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},um=class t extends us{constructor(n={}){super(n)}type=Yo.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},$l=class t extends us{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Yo.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Wl=class extends us{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},HF=200,zF=204;function z_(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ko=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof cs)o=e;else{let c;r.headers instanceof zi?c=r.headers:c=new zi(r.headers);let g;r.params&&(r.params instanceof _r?g=r.params:g=new _r({fromObject:r.params})),o=new cs(e,i,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:g,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let a=G(o).pipe(Si(c=>this.handler.handle(c)));if(e instanceof cs||r.observe==="events")return a;let s=a.pipe(ve(c=>c instanceof $l));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new H(2806,!1);return c.body}));case"blob":return s.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new H(2807,!1);return c.body}));case"text":return s.pipe(re(c=>{if(c.body!==null&&typeof c.body!="string")throw new H(2808,!1);return c.body}));case"json":default:return s.pipe(re(c=>c.body))}case"response":return s;default:throw new H(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new _r().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,z_(r,i))}post(e,i,r={}){return this.request("POST",e,z_(r,i))}put(e,i,r={}){return this.request("PUT",e,z_(r,i))}static \u0275fac=function(i){return new(i||t)(Q(ds))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();var UF=new T("");function $F(t,n){return n(t)}function WF(t,n,e){return(i,r)=>vn(e,()=>n(i,o=>t(o,r)))}var $_=new T(""),VD=new T(""),BD=new T("",{providedIn:"root",factory:()=>!0});var mm=(()=>{class t extends ds{backend;injector;chain=null;pendingTasks=p(Gr);contributeToStability=p(BD);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get($_),...this.injector.get(VD,[])]));this.chain=i.reduceRight((r,o)=>WF(r,o,this.injector),$F)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Un(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(Q(Ul),Q(st))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();var GF=/^\)\]\}',?\n/,qF=RegExp(`^${PD}:`,"m");function YF(t){return"responseURL"in t&&t.responseURL?t.responseURL:qF.test(t.getAllResponseHeaders())?t.getResponseHeader(PD):null}var U_=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new H(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ze(i.\u0275loadImpl()):G(null)).pipe(Xe(()=>new we(o=>{let a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((N,L)=>a.setRequestHeader(N,L.join(","))),e.headers.has(ND)||a.setRequestHeader(ND,jF),!e.headers.has(OD)){let N=e.detectContentTypeHeader();N!==null&&a.setRequestHeader(OD,N)}if(e.responseType){let N=e.responseType.toLowerCase();a.responseType=N!=="json"?N:"text"}let s=e.serializeBody(),c=null,g=()=>{if(c!==null)return c;let N=a.statusText||"OK",L=new zi(a.getAllResponseHeaders()),ie=YF(a)||e.url;return c=new um({headers:L,status:a.status,statusText:N,url:ie}),c},b=()=>{let{headers:N,status:L,statusText:ie,url:Ve}=g(),We=null;L!==zF&&(We=typeof a.response>"u"?a.responseText:a.response),L===0&&(L=We?HF:0);let xi=L>=200&&L<300;if(e.responseType==="json"&&typeof We=="string"){let er=We;We=We.replace(GF,"");try{We=We!==""?JSON.parse(We):null}catch(Ks){We=er,xi&&(xi=!1,We={error:Ks,text:We})}}xi?(o.next(new $l({body:We,headers:N,status:L,statusText:ie,url:Ve||void 0})),o.complete()):o.error(new Wl({error:We,headers:N,status:L,statusText:ie,url:Ve||void 0}))},_=N=>{let{url:L}=g(),ie=new Wl({error:N,status:a.status||0,statusText:a.statusText||"Unknown Error",url:L||void 0});o.error(ie)},D=!1,C=N=>{D||(o.next(g()),D=!0);let L={type:Yo.DownloadProgress,loaded:N.loaded};N.lengthComputable&&(L.total=N.total),e.responseType==="text"&&a.responseText&&(L.partialText=a.responseText),o.next(L)},S=N=>{let L={type:Yo.UploadProgress,loaded:N.loaded};N.lengthComputable&&(L.total=N.total),o.next(L)};return a.addEventListener("load",b),a.addEventListener("error",_),a.addEventListener("timeout",_),a.addEventListener("abort",_),e.reportProgress&&(a.addEventListener("progress",C),s!==null&&a.upload&&a.upload.addEventListener("progress",S)),a.send(s),o.next({type:Yo.Sent}),()=>{a.removeEventListener("error",_),a.removeEventListener("abort",_),a.removeEventListener("load",b),a.removeEventListener("timeout",_),e.reportProgress&&(a.removeEventListener("progress",C),s!==null&&a.upload&&a.upload.removeEventListener("progress",S)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||t)(Q(qo))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),jD=new T(""),KF="XSRF-TOKEN",ZF=new T("",{providedIn:"root",factory:()=>KF}),QF="X-XSRF-TOKEN",XF=new T("",{providedIn:"root",factory:()=>QF}),Gl=class{},JF=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vl(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(Q(oe),Q(ZF))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),eL=/^(?:https?:)?\/\//i;function tL(t,n){if(!p(jD)||t.method==="GET"||t.method==="HEAD"||eL.test(t.url))return n(t);let e=p(Gl).getToken(),i=p(XF);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}var W_=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(W_||{});function nL(t,n){return{\u0275kind:t,\u0275providers:n}}function G_(...t){let n=[Ko,U_,mm,{provide:ds,useExisting:mm},{provide:Ul,useFactory:()=>p(UF,{optional:!0})??p(U_)},{provide:$_,useValue:tL,multi:!0},{provide:jD,useValue:!0},{provide:Gl,useClass:JF}];for(let e of t)n.push(...e.\u0275providers);return Bo(n)}function q_(t){return nL(W_.Interceptors,t.map(n=>({provide:$_,useValue:n,multi:!0})))}var zD=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(Q(oe))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Y_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Q(iL),r},providedIn:"root"})}return t})(),iL=(()=>{class t extends Y_{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case en.NONE:return i;case en.HTML:return Kr(i,"HTML")?di(i):jC(this._doc,String(i)).toString();case en.STYLE:return Kr(i,"Style")?di(i):i;case en.SCRIPT:if(Kr(i,"Script"))return di(i);throw new H(5200,!1);case en.URL:return Kr(i,"URL")?di(i):Lu(String(i));case en.RESOURCE_URL:if(Kr(i,"ResourceURL"))return di(i);throw new H(5201,!1);default:throw new H(5202,!1)}}bypassSecurityTrustHtml(e){return TC(e)}bypassSecurityTrustStyle(e){return AC(e)}bypassSecurityTrustScript(e){return RC(e)}bypassSecurityTrustUrl(e){return OC(e)}bypassSecurityTrustResourceUrl(e){return NC(e)}static \u0275fac=function(i){return new(i||t)(Q(oe))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ye="primary",oc=Symbol("RouteTitle"),J_=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Xo(t){return new J_(t)}function QD(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let a=i[o],s=t[o];if(a[0]===":")r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function rL(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!Ui(t[e],n[e]))return!1;return!0}function Ui(t,n){let e=t?ev(t):void 0,i=n?ev(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!XD(t[r],n[r]))return!1;return!0}function ev(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function XD(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function JD(t){return t.length>0?t[t.length-1]:null}function to(t){return Rd(t)?t:Uo(t)?ze(Promise.resolve(t)):G(t)}var oL={exact:tE,subset:nE},eE={exact:aL,subset:sL,ignored:()=>!0};function $D(t,n,e){return oL[e.paths](t.root,n.root,e.matrixParams)&&eE[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function aL(t,n){return Ui(t,n)}function tE(t,n,e){if(!Zo(t.segments,n.segments)||!hm(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!tE(t.children[i],n.children[i],e))return!1;return!0}function sL(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>XD(t[e],n[e]))}function nE(t,n,e){return iE(t,n,n.segments,e)}function iE(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Zo(r,e)||n.hasChildren()||!hm(r,e,i))}else if(t.segments.length===e.length){if(!Zo(t.segments,e)||!hm(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!nE(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Zo(t.segments,r)||!hm(t.segments,r,i)||!t.children[ye]?!1:iE(t.children[ye],n,o,i)}}function hm(t,n,e){return n.every((i,r)=>eE[e](t[r].parameters,i.parameters))}var $i=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Le([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Xo(this.queryParams),this._queryParamMap}toString(){return dL.serialize(this)}},Le=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gm(this)}},Qr=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Xo(this.parameters),this._parameterMap}toString(){return oE(this)}};function lL(t,n){return Zo(t,n)&&t.every((e,i)=>Ui(e.parameters,n[i].parameters))}function Zo(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function cL(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===ye&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==ye&&(e=e.concat(n(r,i)))}),e}var Jo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>new Xr,providedIn:"root"})}return t})(),Xr=class{parse(n){let e=new nv(n);return new $i(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${ql(n.root,!0)}`,i=pL(n.queryParams),r=typeof n.fragment=="string"?`#${uL(n.fragment)}`:"";return`${e}${i}${r}`}},dL=new Xr;function gm(t){return t.segments.map(n=>oE(n)).join("/")}function ql(t,n){if(!t.hasChildren())return gm(t);if(n){let e=t.children[ye]?ql(t.children[ye],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==ye&&i.push(`${r}:${ql(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=cL(t,(i,r)=>r===ye?[ql(t.children[ye],!1)]:[`${r}:${ql(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[ye]!=null?`${gm(t)}/${e[0]}`:`${gm(t)}/(${e.join("//")})`}}function rE(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pm(t){return rE(t).replace(/%3B/gi,";")}function uL(t){return encodeURI(t)}function tv(t){return rE(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _m(t){return decodeURIComponent(t)}function WD(t){return _m(t.replace(/\+/g,"%20"))}function oE(t){return`${tv(t.path)}${mL(t.parameters)}`}function mL(t){return Object.entries(t).map(([n,e])=>`;${tv(n)}=${tv(e)}`).join("")}function pL(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${pm(e)}=${pm(r)}`).join("&"):`${pm(e)}=${pm(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var fL=/^[^\/()?;#]+/;function K_(t){let n=t.match(fL);return n?n[0]:""}var hL=/^[^\/()?;=#]+/;function gL(t){let n=t.match(hL);return n?n[0]:""}var _L=/^[^=?&#]+/;function vL(t){let n=t.match(_L);return n?n[0]:""}var bL=/^[^&#]+/;function yL(t){let n=t.match(bL);return n?n[0]:""}var nv=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Le([],{}):new Le([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[ye]=new Le(n,e)),i}parseSegment(){let n=K_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new H(4009,!1);return this.capture(n),new Qr(_m(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=gL(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=K_(this.remaining);r&&(i=r,this.capture(i))}n[_m(e)]=_m(i)}parseQueryParam(n){let e=vL(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let a=yL(this.remaining);a&&(i=a,this.capture(i))}let r=WD(e),o=WD(i);if(n.hasOwnProperty(r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=K_(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new H(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ye);let a=this.parseChildren();e[o]=Object.keys(a).length===1?a[ye]:new Le([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new H(4011,!1)}};function aE(t){return t.segments.length>0?new Le([],{[ye]:t}):t}function sE(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=sE(r);if(i===ye&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))n[a]=s;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Le(t.segments,n);return wL(e)}function wL(t){if(t.numberOfChildren===1&&t.children[ye]){let n=t.children[ye];return new Le(t.segments.concat(n.segments),n.children)}return t}function Jr(t){return t instanceof $i}function lE(t,n,e=null,i=null){let r=cE(t);return dE(r,n,e,i)}function cE(t){let n;function e(o){let a={};for(let c of o.children){let g=e(c);a[c.outlet]=g}let s=new Le(o.url,a);return o===t&&(n=s),s}let i=e(t.root),r=aE(i);return n??r}function dE(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return Z_(r,r,r,e,i);let o=CL(n);if(o.toRoot())return Z_(r,r,new Le([],{}),e,i);let a=xL(o,r,t),s=a.processChildren?Kl(a.segmentGroup,a.index,o.commands):mE(a.segmentGroup,a.index,o.commands);return Z_(r,a.segmentGroup,s,e,i)}function bm(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ql(t){return typeof t=="object"&&t!=null&&t.outlets}function Z_(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([c,g])=>{o[c]=Array.isArray(g)?g.map(b=>`${b}`):`${g}`});let a;t===n?a=e:a=uE(t,n,e);let s=aE(sE(a));return new $i(s,o,r)}function uE(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=uE(o,n,e)}),new Le(t.segments,i)}var ym=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&bm(i[0]))throw new H(4003,!1);let r=i.find(Ql);if(r&&r!==JD(i))throw new H(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function CL(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ym(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,g])=>{s[c]=typeof g=="string"?g.split("/"):g}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new ym(e,n,i)}var fs=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function xL(t,n,e){if(t.isAbsolute)return new fs(n,!0,0);if(!e)return new fs(n,!1,NaN);if(e.parent===null)return new fs(e,!0,0);let i=bm(t.commands[0])?0:1,r=e.segments.length-1+i;return DL(e,r,t.numberOfDoubleDots)}function DL(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new H(4005,!1);r=i.segments.length}return new fs(i,!1,r-o)}function EL(t){return Ql(t[0])?t[0].outlets:{[ye]:t}}function mE(t,n,e){if(t??=new Le([],{}),t.segments.length===0&&t.hasChildren())return Kl(t,n,e);let i=IL(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Le(t.segments.slice(0,i.pathIndex),{});return o.children[ye]=new Le(t.segments.slice(i.pathIndex),t.children),Kl(o,0,r)}else return i.match&&r.length===0?new Le(t.segments,{}):i.match&&!t.hasChildren()?iv(t,n,e):i.match?Kl(t,0,r):iv(t,n,e)}function Kl(t,n,e){if(e.length===0)return new Le(t.segments,{});{let i=EL(e),r={};if(Object.keys(i).some(o=>o!==ye)&&t.children[ye]&&t.numberOfChildren===1&&t.children[ye].segments.length===0){let o=Kl(t.children[ye],n,e);return new Le(t.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=mE(t.children[o],n,a))}),Object.entries(t.children).forEach(([o,a])=>{i[o]===void 0&&(r[o]=a)}),new Le(t.segments,r)}}function IL(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let a=t.segments[r],s=e[i];if(Ql(s))break;let c=`${s}`,g=i<e.length-1?e[i+1]:null;if(r>0&&c===void 0)break;if(c&&g&&typeof g=="object"&&g.outlets===void 0){if(!qD(c,g,a))return o;i+=2}else{if(!qD(c,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function iv(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(Ql(o)){let c=SL(o.outlets);return new Le(i,c)}if(r===0&&bm(e[0])){let c=t.segments[n];i.push(new Qr(c.path,GD(e[0]))),r++;continue}let a=Ql(o)?o.outlets[ye]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&bm(s)?(i.push(new Qr(a,GD(s))),r+=2):(i.push(new Qr(a,{})),r++)}return new Le(i,{})}function SL(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=iv(new Le([],{}),0,i))}),n}function GD(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function qD(t,n,e){return t==e.path&&Ui(n,e.parameters)}var vm="imperative",At=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(At||{}),Vn=class{id;url;constructor(n,e){this.id=n,this.url=e}},Wi=class extends Vn{type=At.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Bt=class extends Vn{urlAfterRedirects;type=At.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},yn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(yn||{}),gs=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(gs||{}),Qn=class extends Vn{reason;code;type=At.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Gi=class extends Vn{reason;code;type=At.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},eo=class extends Vn{error;target;type=At.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Xl=class extends Vn{urlAfterRedirects;state;type=At.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wm=class extends Vn{urlAfterRedirects;state;type=At.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cm=class extends Vn{urlAfterRedirects;state;shouldActivate;type=At.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},xm=class extends Vn{urlAfterRedirects;state;type=At.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dm=class extends Vn{urlAfterRedirects;state;type=At.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Em=class{route;type=At.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Im=class{route;type=At.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Sm=class{snapshot;type=At.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mm=class{snapshot;type=At.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},km=class{snapshot;type=At.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tm=class{snapshot;type=At.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_s=class{routerEvent;position;anchor;type=At.Scroll;constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Jl=class{},vs=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function ML(t,n){return t.providers&&!t._injector&&(t._injector=Ol(t.providers,n,`Route: ${t.path}`)),t._injector??n}function hi(t){return t.outlet||ye}function kL(t,n){let e=t.filter(i=>hi(i)===n);return e.push(...t.filter(i=>hi(i)!==n)),e}function ac(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Am=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ac(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ea(this.rootInjector)}},ea=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Am(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(Q(st))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rm=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=rv(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=rv(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=ov(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return ov(n,this._root).map(e=>e.value)}};function rv(t,n){if(t===n.value)return n;for(let e of n.children){let i=rv(t,e);if(i)return i}return null}function ov(t,n){if(t===n.value)return[n];for(let e of n.children){let i=ov(t,e);if(i.length)return i.unshift(n),i}return[]}var Ln=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ps(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var ec=class extends Rm{snapshot;constructor(n,e){super(n),this.snapshot=e,pv(this,n)}toString(){return this.snapshot.toString()}};function pE(t){let n=TL(t),e=new xt([new Qr("",{})]),i=new xt({}),r=new xt({}),o=new xt({}),a=new xt(""),s=new wn(e,i,o,a,r,ye,t,n.root);return s.snapshot=n.root,new ec(new Ln(s,[]),n)}function TL(t){let n={},e={},i={},r="",o=new Qo([],n,i,r,e,ye,t,null,{});return new tc("",new Ln(o,[]))}var wn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,a,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(re(g=>g[oc]))??G(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(re(n=>Xo(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(re(n=>Xo(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Om(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:R(R({},n.params),t.params),data:R(R({},n.data),t.data),resolve:R(R(R(R({},t.data),n.data),r?.data),t._resolvedData)}:i={params:R({},t.params),data:R({},t.data),resolve:R(R({},t.data),t._resolvedData??{})},r&&hE(r)&&(i.resolve[oc]=r.title),i}var Qo=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[oc]}constructor(n,e,i,r,o,a,s,c,g){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=g}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Xo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Xo(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},tc=class extends Rm{url;constructor(n,e){super(e),this.url=n,pv(this,e)}toString(){return fE(this._root)}};function pv(t,n){n.value._routerState=t,n.children.forEach(e=>pv(t,e))}function fE(t){let n=t.children.length>0?` { ${t.children.map(fE).join(", ")} } `:"";return`${t.value}${n}`}function Q_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ui(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Ui(n.params,e.params)||t.paramsSubject.next(e.params),rL(n.url,e.url)||t.urlSubject.next(e.url),Ui(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function av(t,n){let e=Ui(t.params,n.params)&&lL(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||av(t.parent,n.parent))}function hE(t){return typeof t.title=="string"||t.title===null}var gE=new T(""),sc=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ye;activateEvents=new B;deactivateEvents=new B;attachEvents=new B;detachEvents=new B;routerOutletData=hC(void 0);parentContexts=p(ea);location=p(lt);changeDetector=p(ke);inputBinder=p(lc,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new H(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new H(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new H(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new H(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new sv(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:c,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[je]})}return t})(),sv=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===wn?this.route:n===ea?this.childContexts:n===gE?this.outletData:this.parent.get(n,e)}},lc=new T(""),fv=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=xo([i.queryParams,i.params,i.data]).pipe(Xe(([o,a,s],c)=>(s=R(R(R({},o),a),s),c===0?G(s):Promise.resolve(s)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let a=lD(i.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,o[s])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),hv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&E(0,"router-outlet")},dependencies:[sc],encapsulation:2})}return t})();function gv(t){let n=t.children&&t.children.map(gv),e=n?ce(R({},t),{children:n}):R({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ye&&(e.component=hv),e}function AL(t,n,e){let i=nc(t,n._root,e?e._root:void 0);return new ec(i,n)}function nc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=RL(t,n,e);return new Ln(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>nc(t,s)),a}}let i=OL(n.value),r=n.children.map(o=>nc(t,o));return new Ln(i,r)}}function RL(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return nc(t,i,r);return nc(t,i)})}function OL(t){return new wn(new xt(t.url),new xt(t.params),new xt(t.queryParams),new xt(t.fragment),new xt(t.data),t.outlet,t.component,t)}var bs=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},_E="ngNavigationCancelingError";function Nm(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Jr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=vE(!1,yn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function vE(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[_E]=!0,e.cancellationCode=n,e}function NL(t){return bE(t)&&Jr(t.url)}function bE(t){return!!t&&t[_E]}var PL=(t,n,e,i)=>re(r=>(new lv(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),lv=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Q_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=ps(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ps(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){let a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ps(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=ps(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Tm(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Mm(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(Q_(r),r===o)if(r.component){let a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Q_(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,i)}},Pm=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},hs=class{component;route;constructor(n,e){this.component=n,this.route=e}};function FL(t,n,e){let i=t._root,r=n?n._root:null;return Yl(i,r,e,[i.value])}function LL(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function ws(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!pw(t)?t:n.get(t):i}function Yl(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=ps(n);return t.children.forEach(a=>{VL(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Zl(s,e.getContext(a),r)),r}function VL(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=BL(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Pm(i)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Yl(t,n,s?s.children:null,i,r):Yl(t,n,e,i,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new hs(s.outlet.component,a))}else a&&Zl(n,s,r),r.canActivateChecks.push(new Pm(i)),o.component?Yl(t,null,s?s.children:null,i,r):Yl(t,null,e,i,r);return r}function BL(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Zo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Zo(t.url,n.url)||!Ui(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!av(t,n)||!Ui(t.queryParams,n.queryParams);case"paramsChange":default:return!av(t,n)}}function Zl(t,n,e){let i=ps(t),r=t.value;Object.entries(i).forEach(([o,a])=>{r.component?n?Zl(a,n.children.getContext(o),e):Zl(a,null,e):Zl(a,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new hs(n.outlet.component,r)):e.canDeactivateChecks.push(new hs(null,r)):e.canDeactivateChecks.push(new hs(null,r))}function cc(t){return typeof t=="function"}function jL(t){return typeof t=="boolean"}function HL(t){return t&&cc(t.canLoad)}function zL(t){return t&&cc(t.canActivate)}function UL(t){return t&&cc(t.canActivateChild)}function $L(t){return t&&cc(t.canDeactivate)}function WL(t){return t&&cc(t.canMatch)}function yE(t){return t instanceof rr||t?.name==="EmptyError"}var fm=Symbol("INITIAL_VALUE");function ys(){return Xe(t=>xo(t.map(n=>n.pipe(Lt(1),Qe(fm)))).pipe(re(n=>{for(let e of n)if(e!==!0){if(e===fm)return fm;if(e===!1||GL(e))return e}return!0}),ve(n=>n!==fm),Lt(1)))}function GL(t){return Jr(t)||t instanceof bs}function qL(t,n){return pt(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return a.length===0&&o.length===0?G(ce(R({},e),{guardsResult:!0})):YL(a,i,r,t).pipe(pt(s=>s&&jL(s)?KL(i,o,t,n):G(s)),re(s=>ce(R({},e),{guardsResult:s})))})}function YL(t,n,e,i){return ze(t).pipe(pt(r=>eV(r.component,r.route,e,n,i)),or(r=>r!==!0,!0))}function KL(t,n,e,i){return ze(n).pipe(Si(r=>Fr(QL(r.route.parent,i),ZL(r.route,i),JL(t,r.path,e),XL(t,r.route,e))),or(r=>r!==!0,!0))}function ZL(t,n){return t!==null&&n&&n(new km(t)),G(!0)}function QL(t,n){return t!==null&&n&&n(new Sm(t)),G(!0)}function XL(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return G(!0);let r=i.map(o=>Aa(()=>{let a=ac(n)??e,s=ws(o,a),c=zL(s)?s.canActivate(n,t):vn(a,()=>s(n,t));return to(c).pipe(or())}));return G(r).pipe(ys())}function JL(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>LL(a)).filter(a=>a!==null).map(a=>Aa(()=>{let s=a.guards.map(c=>{let g=ac(a.node)??e,b=ws(c,g),_=UL(b)?b.canActivateChild(i,t):vn(g,()=>b(i,t));return to(_).pipe(or())});return G(s).pipe(ys())}));return G(o).pipe(ys())}function eV(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return G(!0);let a=o.map(s=>{let c=ac(n)??r,g=ws(s,c),b=$L(g)?g.canDeactivate(t,n,e,i):vn(c,()=>g(t,n,e,i));return to(b).pipe(or())});return G(a).pipe(ys())}function tV(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return G(!0);let o=r.map(a=>{let s=ws(a,t),c=HL(s)?s.canLoad(n,e):vn(t,()=>s(n,e));return to(c)});return G(o).pipe(ys(),wE(i))}function wE(t){return Yf(qe(n=>{if(typeof n!="boolean")throw Nm(t,n)}),re(n=>n===!0))}function nV(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return G(!0);let o=r.map(a=>{let s=ws(a,t),c=WL(s)?s.canMatch(n,e):vn(t,()=>s(n,e));return to(c)});return G(o).pipe(ys(),wE(i))}var ic=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},rc=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function ms(t){return ai(new ic(t))}function iV(t){return ai(new H(4e3,!1))}function rV(t){return ai(vE(!1,yn.GuardRejected))}var cv=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return G(i);if(r.numberOfChildren>1||!r.children[ye])return iV(`${n.redirectTo}`);r=r.children[ye]}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let s=e,{queryParams:c,fragment:g,routeConfig:b,url:_,outlet:D,params:C,data:S,title:N}=r,L=vn(o,()=>s({params:C,data:S,queryParams:c,fragment:g,routeConfig:b,url:_,outlet:D,title:N}));if(L instanceof $i)throw new rc(L);e=L}let a=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new rc(a);return a}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new $i(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,i,r)}),new Le(o,a)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new H(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},dv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oV(t,n,e,i,r){let o=CE(t,n,e);return o.matched?(i=ML(n,i),nV(i,n,e,r).pipe(re(a=>a===!0?o:R({},dv)))):G(o)}function CE(t,n,e){if(n.path==="**")return aV(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?R({},dv):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||QD)(e,t,n);if(!r)return R({},dv);let o={};Object.entries(r.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=r.consumed.length>0?R(R({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function aV(t){return{matched:!0,parameters:t.length>0?JD(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function YD(t,n,e,i){return e.length>0&&cV(t,e,i)?{segmentGroup:new Le(n,lV(i,new Le(e,t.children))),slicedSegments:[]}:e.length===0&&dV(t,e,i)?{segmentGroup:new Le(t.segments,sV(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Le(t.segments,t.children),slicedSegments:e}}function sV(t,n,e,i){let r={};for(let o of e)if(Lm(t,n,o)&&!i[hi(o)]){let a=new Le([],{});r[hi(o)]=a}return R(R({},i),r)}function lV(t,n){let e={};e[ye]=n;for(let i of t)if(i.path===""&&hi(i)!==ye){let r=new Le([],{});e[hi(i)]=r}return e}function cV(t,n,e){return e.some(i=>Lm(t,n,i)&&hi(i)!==ye)}function dV(t,n,e){return e.some(i=>Lm(t,n,i))}function Lm(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function uV(t,n,e){return n.length===0&&!t.children[e]}var uv=class{};function mV(t,n,e,i,r,o,a="emptyOnly"){return new mv(t,n,e,i,r,a,o).recognize()}var pV=31,mv=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,a,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new cv(this.urlSerializer,this.urlTree)}noMatchError(n){return new H(4002,`'${n.segmentGroup}'`)}recognize(){let n=YD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(re(({children:e,rootSnapshot:i})=>{let r=new Ln(i,e),o=new tc("",r),a=lE(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}))}match(n){let e=new Qo([],Object.freeze({}),Object.freeze(R({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ye,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,ye,e).pipe(re(i=>({children:i,rootSnapshot:e})),Zt(i=>{if(i instanceof rc)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof ic?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(re(a=>a instanceof Ln?[a]:[]))}processChildren(n,e,i,r){let o=[];for(let a of Object.keys(i.children))a==="primary"?o.unshift(a):o.push(a);return ze(o).pipe(Si(a=>{let s=i.children[a],c=kL(e,a);return this.processSegmentGroup(n,c,s,a,r)}),eh((a,s)=>(a.push(...s),a)),Vr(null),Jf(),pt(a=>{if(a===null)return ms(i);let s=xE(a);return fV(s),G(s)}))}processSegment(n,e,i,r,o,a,s){return ze(e).pipe(Si(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,i,r,o,a,s).pipe(Zt(g=>{if(g instanceof ic)return G(null);throw g}))),or(c=>!!c),Zt(c=>{if(yE(c))return uV(i,r,o)?G(new uv):ms(i);throw c}))}processSegmentAgainstRoute(n,e,i,r,o,a,s,c){return hi(i)!==a&&(a===ye||!Lm(r,o,i))?ms(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,a,c):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,a,c):ms(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,a,s){let{matched:c,parameters:g,consumedSegments:b,positionalParamSegments:_,remainingSegments:D}=CE(e,r,o);if(!c)return ms(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>pV&&(this.allowRedirects=!1));let C=new Qo(o,g,Object.freeze(R({},this.urlTree.queryParams)),this.urlTree.fragment,KD(r),hi(r),r.component??r._loadedComponent??null,r,ZD(r)),S=Om(C,s,this.paramsInheritanceStrategy);C.params=Object.freeze(S.params),C.data=Object.freeze(S.data);let N=this.applyRedirects.applyRedirectCommands(b,r.redirectTo,_,C,n);return this.applyRedirects.lineralizeSegments(r,N).pipe(pt(L=>this.processSegment(n,i,e,L.concat(D),a,!1,s)))}matchSegmentAgainstRoute(n,e,i,r,o,a){let s=oV(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),s.pipe(Xe(c=>c.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(Xe(({routes:g})=>{let b=i._loadedInjector??n,{parameters:_,consumedSegments:D,remainingSegments:C}=c,S=new Qo(D,_,Object.freeze(R({},this.urlTree.queryParams)),this.urlTree.fragment,KD(i),hi(i),i.component??i._loadedComponent??null,i,ZD(i)),N=Om(S,a,this.paramsInheritanceStrategy);S.params=Object.freeze(N.params),S.data=Object.freeze(N.data);let{segmentGroup:L,slicedSegments:ie}=YD(e,D,C,g);if(ie.length===0&&L.hasChildren())return this.processChildren(b,g,L,S).pipe(re(We=>new Ln(S,We)));if(g.length===0&&ie.length===0)return G(new Ln(S,[]));let Ve=hi(i)===o;return this.processSegment(b,g,L,ie,Ve?ye:o,!0,S).pipe(re(We=>new Ln(S,We instanceof Ln?[We]:[])))}))):ms(e)))}getChildConfig(n,e,i){return e.children?G({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?G({routes:e._loadedRoutes,injector:e._loadedInjector}):tV(n,e,i,this.urlSerializer).pipe(pt(r=>r?this.configLoader.loadChildren(n,e).pipe(qe(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):rV(e))):G({routes:[],injector:n})}};function fV(t){t.sort((n,e)=>n.value.outlet===ye?-1:e.value.outlet===ye?1:n.value.outlet.localeCompare(e.value.outlet))}function hV(t){let n=t.value.routeConfig;return n&&n.path===""}function xE(t){let n=[],e=new Set;for(let i of t){if(!hV(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=xE(i.children);n.push(new Ln(i.value,r))}return n.filter(i=>!e.has(i))}function KD(t){return t.data||{}}function ZD(t){return t.resolve||{}}function gV(t,n,e,i,r,o){return pt(a=>mV(t,n,e,i,a.extractedUrl,r,o).pipe(re(({state:s,tree:c})=>ce(R({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function _V(t,n){return pt(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return G(e);let o=new Set(r.map(c=>c.route)),a=new Set;for(let c of o)if(!a.has(c))for(let g of DE(c))a.add(g);let s=0;return ze(a).pipe(Si(c=>o.has(c)?vV(c,i,t,n):(c.data=Om(c,c.parent,t).resolve,G(void 0))),qe(()=>s++),Oa(1),pt(c=>s===a.size?G(e):Ft))})}function DE(t){let n=t.children.map(e=>DE(e)).flat();return[t,...n]}function vV(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!hE(r)&&(o[oc]=r.title),bV(o,t,n,i).pipe(re(a=>(t._resolvedData=a,t.data=Om(t,t.parent,e).resolve,null)))}function bV(t,n,e,i){let r=ev(t);if(r.length===0)return G({});let o={};return ze(r).pipe(pt(a=>yV(t[a],n,e,i).pipe(or(),qe(s=>{if(s instanceof bs)throw Nm(new Xr,s);o[a]=s}))),Oa(1),re(()=>o),Zt(a=>yE(a)?Ft:ai(a)))}function yV(t,n,e,i){let r=ac(n)??i,o=ws(t,r),a=o.resolve?o.resolve(n,e):vn(r,()=>o(n,e));return to(a)}function X_(t){return Xe(n=>{let e=t(n);return e?ze(e).pipe(re(()=>n)):G(n)})}var _v=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ye);return i}getResolvedTitleForRoute(e){return e.data[oc]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>p(EE),providedIn:"root"})}return t})(),EE=(()=>{class t extends _v{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(Q(zD))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ta=new T("",{providedIn:"root",factory:()=>({})}),na=new T(""),Vm=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(nD);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return G(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=to(e.loadComponent()).pipe(re(SE),qe(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Un(()=>{this.componentLoaders.delete(e)})),r=new ka(i,()=>new V).pipe(Ma());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return G({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=IE(i,this.compiler,e,this.onLoadEndListener).pipe(Un(()=>{this.childrenLoaders.delete(i)})),a=new ka(o,()=>new V).pipe(Ma());return this.childrenLoaders.set(i,a),a}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function IE(t,n,e,i){return to(t.loadChildren()).pipe(re(SE),pt(r=>r instanceof h_||Array.isArray(r)?G(r):ze(n.compileModuleAsync(r))),re(r=>{i&&i(t);let o,a,s=!1;return Array.isArray(r)?(a=r,s=!0):(o=r.create(e).injector,a=o.get(na,[],{optional:!0,self:!0}).flat()),{routes:a.map(gv),injector:o}}))}function wV(t){return t&&typeof t=="object"&&"default"in t}function SE(t){return wV(t)?t.default:t}var Bm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>p(CV),providedIn:"root"})}return t})(),CV=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vv=new T(""),bv=new T("");function ME(t,n,e){let i=t.get(bv),r=t.get(oe);return t.get(K).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(g=>setTimeout(g));let o,a=new Promise(g=>{o=g}),s=r.startViewTransition(()=>(o(),xV(t))),{onViewTransitionCreated:c}=i;return c&&vn(t,()=>c({transition:s,from:n,to:e})),a})}function xV(t){return new Promise(n=>{cn({read:()=>setTimeout(n)},{injector:t})})}var yv=new T(""),jm=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new V;transitionAbortSubject=new V;configLoader=p(Vm);environmentInjector=p(st);destroyRef=p(Ho);urlSerializer=p(Jo);rootContexts=p(ea);location=p(ji);inputBindingEnabled=p(lc,{optional:!0})!==null;titleStrategy=p(_v);options=p(ta,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Bm);createViewTransition=p(vv,{optional:!0});navigationErrorHandler=p(yv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>G(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new Em(r)),i=r=>this.events.next(new Im(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ce(R({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i}))}setupNavigations(e){return this.transitions=new xt(null),this.transitions.pipe(ve(i=>i!==null),Xe(i=>{let r=!1,o=!1;return G(i).pipe(Xe(a=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",yn.SupersededByNewNavigation),Ft;this.currentTransition=i,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?ce(R({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&c!=="reload"){let g="";return this.events.next(new Gi(a.id,this.urlSerializer.serialize(a.rawUrl),g,gs.IgnoredSameUrlNavigation)),a.resolve(!1),Ft}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return G(a).pipe(Xe(g=>(this.events.next(new Wi(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),g.id!==this.navigationId?Ft:Promise.resolve(g))),gV(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),qe(g=>{i.targetSnapshot=g.targetSnapshot,i.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=ce(R({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let b=new Xl(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(b)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:g,extractedUrl:b,source:_,restoredState:D,extras:C}=a,S=new Wi(g,this.urlSerializer.serialize(b),_,D);this.events.next(S);let N=pE(this.rootComponentType).snapshot;return this.currentTransition=i=ce(R({},a),{targetSnapshot:N,urlAfterRedirects:b,extras:ce(R({},C),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,G(i)}else{let g="";return this.events.next(new Gi(a.id,this.urlSerializer.serialize(a.extractedUrl),g,gs.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Ft}}),qe(a=>{let s=new wm(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),re(a=>(this.currentTransition=i=ce(R({},a),{guards:FL(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),qL(this.environmentInjector,a=>this.events.next(a)),qe(a=>{if(i.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Nm(this.urlSerializer,a.guardsResult);let s=new Cm(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s)}),ve(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",yn.GuardRejected),!1)),X_(a=>{if(a.guards.canActivateChecks.length!==0)return G(a).pipe(qe(s=>{let c=new xm(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}),Xe(s=>{let c=!1;return G(s).pipe(_V(this.paramsInheritanceStrategy,this.environmentInjector),qe({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(s,"",yn.NoDataFromResolver)}}))}),qe(s=>{let c=new Dm(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}))}),X_(a=>{let s=c=>{let g=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(c.routeConfig).pipe(qe(b=>{c.component=b}),re(()=>{})));for(let b of c.children)g.push(...s(b));return g};return xo(s(a.targetSnapshot.root)).pipe(Vr(null),Lt(1))}),X_(()=>this.afterPreactivation()),Xe(()=>{let{currentSnapshot:a,targetSnapshot:s}=i,c=this.createViewTransition?.(this.environmentInjector,a.root,s.root);return c?ze(c).pipe(re(()=>i)):G(i)}),re(a=>{let s=AL(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=i=ce(R({},a),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,i}),qe(()=>{this.events.next(new Jl)}),PL(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),Lt(1),qe({next:a=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Bt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{r=!0}}),Ie(this.transitionAbortSubject.pipe(qe(a=>{throw a}))),Un(()=>{!r&&!o&&this.cancelNavigationTransition(i,"",yn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Zt(a=>{if(this.destroyed)return i.resolve(!1),Ft;if(o=!0,bE(a))this.events.next(new Qn(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode)),NL(a)?this.events.next(new vs(a.url,a.navigationBehaviorOptions)):i.resolve(!1);else{let s=new eo(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);try{let c=vn(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(c instanceof bs){let{message:g,cancellationCode:b}=Nm(this.urlSerializer,c);this.events.next(new Qn(i.id,this.urlSerializer.serialize(i.extractedUrl),g,b)),this.events.next(new vs(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(s),a}catch(c){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(c)}}return Ft}))}))}cancelNavigationTransition(e,i,r){let o=new Qn(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function DV(t){return t!==vm}var Hm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>p(EV),providedIn:"root"})}return t})(),Fm=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},EV=(()=>{class t extends Fm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kE=(()=>{class t{urlSerializer=p(Jo);options=p(ta,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(ji);urlHandlingStrategy=p(Bm);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new $i;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,a=r??o;return a instanceof $i?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=pE(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:()=>p(IV),providedIn:"root"})}return t})(),IV=(()=>{class t extends kE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof Wi?this.updateStateMemento():e instanceof Gi?this.commitTransition(i):e instanceof Xl?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Jl?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Qn&&(e.code===yn.GuardRejected||e.code===yn.NoDataFromResolver)?this.restoreHistory(i):e instanceof eo?this.restoreHistory(i,!0):e instanceof Bt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||o){let s=this.browserPageId,c=R(R({},a),this.generateNgRouterState(r,s));this.location.replaceState(e,"",c)}else{let s=R(R({},a),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zm(t,n){t.events.pipe(ve(e=>e instanceof Bt||e instanceof Qn||e instanceof eo||e instanceof Gi),re(e=>e instanceof Bt||e instanceof Gi?0:(e instanceof Qn?e.code===yn.Redirect||e.code===yn.SupersededByNewNavigation:!1)?2:1),ve(e=>e!==2),Lt(1)).subscribe(()=>{n()})}var SV={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},MV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Me=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(__);stateManager=p(kE);options=p(ta,{optional:!0})||{};pendingTasks=p(Gr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(jm);urlSerializer=p(Jo);location=p(ji);urlHandlingStrategy=p(Bm);_events=new V;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(Hm);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(na,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(lc,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new de;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Qn&&i.code!==yn.Redirect&&i.code!==yn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Bt)this.navigated=!0;else if(i instanceof vs){let a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),c=R({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||DV(r.source)},a);this.scheduleNavigation(s,vm,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}TV(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),vm,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){let c=R({},r);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let s=this.parseUrl(e);this.scheduleNavigation(s,i,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(gv),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:c}=i,g=c?this.currentUrlTree.fragment:a,b=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":b=R(R({},this.currentUrlTree.queryParams),o);break;case"preserve":b=this.currentUrlTree.queryParams;break;default:b=o||null}b!==null&&(b=this.removeEmptyProps(b));let _;try{let D=r?r.snapshot:this.routerState.snapshot.root;_=cE(D)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),_=this.currentUrlTree.root}return dE(_,e,b,g??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Jr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,vm,null,i)}navigate(e,i={skipLocationChange:!1}){return kV(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=R({},SV):i===!1?r=R({},MV):r=i,Jr(e))return $D(this.currentUrlTree,e,r);let o=this.parseUrl(e);return $D(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,c,g;a?(s=a.resolve,c=a.reject,g=a.promise):g=new Promise((_,D)=>{s=_,c=D});let b=this.pendingTasks.add();return zm(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(b))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:c,promise:g,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),g.catch(_=>Promise.reject(_))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function kV(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new H(4008,!1)}function TV(t){return!(t instanceof Jl)&&!(t instanceof vs)}var Cs=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new V;constructor(e,i,r,o,a,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(g=>{g instanceof Bt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Jr(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||i||r||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:HC(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Jr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||t)(ee(Me),ee(wn),Nu("tabindex"),ee(He),ee(X),ee(mi))};static \u0275dir=j({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&O("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Z("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",J],skipLocationChange:[2,"skipLocationChange","skipLocationChange",J],replaceUrl:[2,"replaceUrl","replaceUrl",J],routerLink:"routerLink"},features:[je]})}return t})();var dc=class{},Cv=(()=>{class t{preload(e,i){return i().pipe(Zt(()=>G(null)))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var TE=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ve(e=>e instanceof Bt),Si(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Ol(o.providers,e,`Route: ${o.path}`));let a=o._injector??e,s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return ze(r).pipe(Pr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=G(null);let o=r.pipe(pt(a=>a===null?G(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ze([o,a]).pipe(Pr())}else return o})}static \u0275fac=function(i){return new(i||t)(Q(Me),Q(st),Q(dc),Q(Vm))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AE=new T(""),AV=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,i,r,o,a={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Wi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Bt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Gi&&e.code===gs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _s&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _s(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){Wu()};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function xv(t,...n){return Bo([{provide:na,multi:!0,useValue:t},[],{provide:wn,useFactory:RE,deps:[Me]},{provide:Gu,multi:!0,useFactory:OE},n.map(e=>e.\u0275providers)])}function RE(t){return t.routerState.root}function uc(t,n){return{\u0275kind:t,\u0275providers:n}}function OE(){let t=p(Se);return n=>{let e=t.get(Pn);if(n!==e.components[0])return;let i=t.get(Me),r=t.get(NE);t.get(Dv)===1&&i.initialNavigation(),t.get(LE,null,Ce.Optional)?.setUpPreloading(),t.get(AE,null,Ce.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var NE=new T("",{factory:()=>new V}),Dv=new T("",{providedIn:"root",factory:()=>1});function PE(){let t=[{provide:Dv,useValue:0},v_(()=>{let n=p(Se);return n.get(D_,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Me),o=n.get(NE);zm(r,()=>{i(!0)}),n.get(jm).afterPreactivation=()=>(i(!0),o.closed?G(void 0):o),r.initialNavigation()}))})];return uc(2,t)}function FE(){let t=[v_(()=>{p(Me).setUpLocationChangeListener()}),{provide:Dv,useValue:2}];return uc(3,t)}var LE=new T("");function Um(t){return uc(0,[{provide:LE,useExisting:TE},{provide:dc,useExisting:t}])}function VE(){return uc(8,[fv,{provide:lc,useExisting:fv}])}function BE(t){hr("NgRouterViewTransitions");let n=[{provide:vv,useValue:ME},{provide:bv,useValue:R({skipNextTransition:!!t?.skipInitialTransition},t)}];return uc(9,n)}var jE=[ji,{provide:Jo,useClass:Xr},Me,ea,{provide:wn,useFactory:RE,deps:[Me]},Vm,[]],ia=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[jE,[],{provide:na,multi:!0,useValue:e},[],i?.errorHandler?{provide:yv,useValue:i.errorHandler}:[],{provide:ta,useValue:i||{}},i?.useHash?OV():NV(),RV(),i?.preloadingStrategy?Um(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?PV(i):[],i?.bindToComponentInputs?VE().\u0275providers:[],i?.enableViewTransitions?BE().\u0275providers:[],FV()]}}static forChild(e){return{ngModule:t,providers:[{provide:na,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({})}return t})();function RV(){return{provide:AE,useFactory:()=>{let t=p(yD),n=p(K),e=p(ta),i=p(jm),r=p(Jo);return e.scrollOffset&&t.setOffset(e.scrollOffset),new AV(r,i,t,n,e)}}}function OV(){return{provide:mi,useClass:k_}}function NV(){return{provide:mi,useClass:Xu}}function PV(t){return[t.initialNavigation==="disabled"?FE().\u0275providers:[],t.initialNavigation==="enabledBlocking"?PE().\u0275providers:[]]}var wv=new T("");function FV(){return[{provide:wv,useFactory:OE},{provide:Gu,multi:!0,useExisting:wv}]}var ZE=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(ee(He),ee(X))};static \u0275dir=j({type:t})}return t})(),vc=(()=>{class t extends ZE{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,features:[Re]})}return t})(),vr=new T(""),LV={provide:vr,useExisting:Gt(()=>bc),multi:!0},bc=(()=>{class t extends vc{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){i&1&&O("change",function(a){return r.onChange(a.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Fe([LV]),Re]})}return t})(),VV={provide:vr,useExisting:Gt(()=>jt),multi:!0};function BV(){let t=Kn()?Kn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var jV=new T(""),jt=(()=>{class t extends ZE{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!BV())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(ee(He),ee(X),ee(jV,8))};static \u0275dir=j({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&O("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[Fe([VV]),Re]})}return t})();function Mv(t){return t==null||kv(t)===0}function kv(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ra=new T(""),np=new T(""),HV=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Rt=class{static min(n){return zV(n)}static max(n){return UV(n)}static required(n){return QE(n)}static requiredTrue(n){return $V(n)}static email(n){return WV(n)}static minLength(n){return GV(n)}static maxLength(n){return qV(n)}static pattern(n){return YV(n)}static nullValidator(n){return Gm()}static compose(n){return iI(n)}static composeAsync(n){return rI(n)}};function zV(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function UV(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function QE(t){return Mv(t.value)?{required:!0}:null}function $V(t){return t.value===!0?null:{required:!0}}function WV(t){return Mv(t.value)||HV.test(t.value)?null:{email:!0}}function GV(t){return n=>{let e=n.value?.length??kv(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function qV(t){return n=>{let e=n.value?.length??kv(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function YV(t){if(!t)return Gm;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Mv(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Gm(t){return null}function XE(t){return t!=null}function JE(t){return Uo(t)?ze(t):t}function eI(t){let n={};return t.forEach(e=>{n=e!=null?R(R({},n),e):n}),Object.keys(n).length===0?null:n}function tI(t,n){return n.map(e=>e(t))}function KV(t){return!t.validate}function nI(t){return t.map(n=>KV(n)?n:e=>n.validate(e))}function iI(t){if(!t)return null;let n=t.filter(XE);return n.length==0?null:function(e){return eI(tI(e,n))}}function Tv(t){return t!=null?iI(nI(t)):null}function rI(t){if(!t)return null;let n=t.filter(XE);return n.length==0?null:function(e){let i=tI(e,n).map(JE);return ml(i).pipe(re(eI))}}function Av(t){return t!=null?rI(nI(t)):null}function HE(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function oI(t){return t._rawValidators}function aI(t){return t._rawAsyncValidators}function Ev(t){return t?Array.isArray(t)?t:[t]:[]}function qm(t,n){return Array.isArray(t)?t.includes(n):t===n}function zE(t,n){let e=Ev(n);return Ev(t).forEach(r=>{qm(e,r)||e.push(r)}),e}function UE(t,n){return Ev(n).filter(e=>!qm(t,e))}var Ym=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Tv(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Av(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},gi=class extends Ym{name;get formDirective(){return null}get path(){return null}},_i=class extends Ym{_parent=null;name=null;valueAccessor=null},Km=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},ZV={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},DZ=ce(R({},ZV),{"[class.ng-submitted]":"isSubmitted"}),tn=(()=>{class t extends Km{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(ee(_i,2))};static \u0275dir=j({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&F("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Re]})}return t})(),Cn=(()=>{class t extends Km{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(ee(gi,10))};static \u0275dir=j({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&F("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Re]})}return t})();var mc="VALID",Wm="INVALID",xs="PENDING",pc="DISABLED",no=class{},Zm=class extends no{value;source;constructor(n,e){super(),this.value=n,this.source=e}},hc=class extends no{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},gc=class extends no{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Ds=class extends no{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Qm=class extends no{source;constructor(n){super(),this.source=n}},Xm=class extends no{source;constructor(n){super(),this.source=n}};function Rv(t){return(ip(t)?t.validators:t)||null}function QV(t){return Array.isArray(t)?Tv(t):t||null}function Ov(t,n){return(ip(n)?n.asyncValidators:t)||null}function XV(t){return Array.isArray(t)?Av(t):t||null}function ip(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function sI(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new H(1e3,"");if(!i[e])throw new H(1001,"")}function lI(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new H(1002,"")})}var Es=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return qn(this.statusReactive)}set status(n){qn(()=>this.statusReactive.set(n))}_status=Yn(()=>this.statusReactive());statusReactive=ht(void 0);get valid(){return this.status===mc}get invalid(){return this.status===Wm}get pending(){return this.status==xs}get disabled(){return this.status===pc}get enabled(){return this.status!==pc}errors;get pristine(){return qn(this.pristineReactive)}set pristine(n){qn(()=>this.pristineReactive.set(n))}_pristine=Yn(()=>this.pristineReactive());pristineReactive=ht(!0);get dirty(){return!this.pristine}get touched(){return qn(this.touchedReactive)}set touched(n){qn(()=>this.touchedReactive.set(n))}_touched=Yn(()=>this.touchedReactive());touchedReactive=ht(!1);get untouched(){return!this.touched}_events=new V;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(zE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(zE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(UE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(UE(n,this._rawAsyncValidators))}hasValidator(n){return qm(this._rawValidators,n)}hasAsyncValidator(n){return qm(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ce(R({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new gc(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new gc(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ce(R({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new hc(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new hc(!0,i))}markAsPending(n={}){this.status=xs;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Ds(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ce(R({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=pc,this.errors=null,this._forEachChild(r=>{r.disable(ce(R({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Zm(this.value,i)),this._events.next(new Ds(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ce(R({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=mc,this._forEachChild(i=>{i.enable(ce(R({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ce(R({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mc||this.status===xs)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Zm(this.value,e)),this._events.next(new Ds(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ce(R({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pc:mc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=xs,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=JE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Ds(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new B,this.statusChanges=new B}_calculateStatus(){return this._allControlsDisabled()?pc:this.errors?Wm:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(xs)?xs:this._anyControlsHaveStatus(Wm)?Wm:mc}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new hc(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new gc(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ip(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=QV(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=XV(this._rawAsyncValidators)}},Is=class extends Es{constructor(n,e,i){super(Rv(e),Ov(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){lI(this,!0,n),Object.keys(n).forEach(i=>{sI(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var Iv=class extends Is{};var yc=new T("",{providedIn:"root",factory:()=>rp}),rp="always";function cI(t,n){return[...n.path,t]}function Jm(t,n,e=rp){Nv(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),eB(t,n),nB(t,n),tB(t,n),JV(t,n)}function $E(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),tp(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function ep(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function JV(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Nv(t,n){let e=oI(t);n.validator!==null?t.setValidators(HE(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=aI(t);n.asyncValidator!==null?t.setAsyncValidators(HE(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();ep(n._rawValidators,r),ep(n._rawAsyncValidators,r)}function tp(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=oI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=aI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return ep(n._rawValidators,i),ep(n._rawAsyncValidators,i),e}function eB(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&dI(t,n)})}function tB(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&dI(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function dI(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function nB(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function uI(t,n){t==null,Nv(t,n)}function iB(t,n){return tp(t,n)}function mI(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function rB(t){return Object.getPrototypeOf(t.constructor)===vc}function pI(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function fI(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===jt?e=o:rB(o)?i=o:r=o}),r||i||e||null}function oB(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var aB={provide:gi,useExisting:Gt(()=>br)},fc=Promise.resolve(),br=(()=>{class t extends gi{callSetDisabledState;get submitted(){return qn(this.submittedReactive)}_submitted=Yn(()=>this.submittedReactive());submittedReactive=ht(!1);_directives=new Set;form;ngSubmit=new B;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Is({},Tv(e),Av(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){fc.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Jm(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){fc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){fc.then(()=>{let i=this._findContainer(e.path),r=new Is({});uI(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){fc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){fc.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),pI(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Qm(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new Xm(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(ee(ra,10),ee(np,10),ee(yc,8))};static \u0275dir=j({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([aB]),Re]})}return t})();function WE(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function GE(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var _c=class extends Es{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(Rv(e),Ov(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ip(e)&&(e.nonNullable||e.initialValueIsDefault)&&(GE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){WE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){WE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){GE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var sB=t=>t instanceof _c;var lB={provide:_i,useExisting:Gt(()=>Bn)},qE=Promise.resolve(),Bn=(()=>{class t extends _i{_changeDetectorRef;callSetDisabledState;control=new _c;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new B;constructor(e,i,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=fI(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),mI(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Jm(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){qE.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&J(i);qE.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?cI(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(ee(gi,9),ee(ra,10),ee(np,10),ee(vr,10),ee(ke,8),ee(yc,8))};static \u0275dir=j({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Fe([lB]),Re,je]})}return t})();var xn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),cB={provide:vr,useExisting:Gt(()=>vi),multi:!0},vi=(()=>{class t extends vc{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&O("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Fe([cB]),Re]})}return t})();var hI=new T("");var dB={provide:gi,useExisting:Gt(()=>un)},un=(()=>{class t extends gi{callSetDisabledState;get submitted(){return qn(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Yn(()=>this._submittedReactive());_submittedReactive=ht(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new B;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tp(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Jm(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){$E(e.control||null,e,!1),oB(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),pI(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Qm(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Xm(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&($E(i||null,e),sB(r)&&(Jm(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);uI(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&iB(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Nv(this.form,this),this._oldForm&&tp(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(ee(ra,10),ee(np,10),ee(yc,8))};static \u0275dir=j({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&O("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([dB]),Re,je]})}return t})();var uB={provide:_i,useExisting:Gt(()=>bi)},bi=(()=>{class t extends _i{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new B;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=fI(this,o)}ngOnChanges(e){this._added||this._setUpControl(),mI(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return cI(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||t)(ee(gi,13),ee(ra,10),ee(np,10),ee(vr,10),ee(hI,8))};static \u0275dir=j({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Fe([uB]),Re,je]})}return t})();var mB={provide:vr,useExisting:Gt(()=>Xn),multi:!0};function gI(t,n){return t==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function pB(t){return t.split(":")[0]}var Xn=(()=>{class t extends vc{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let i=this._getOptionId(e),r=gI(i,e);this.setProperty("value",r)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){let i=pB(e);return this._optionMap.has(i)?this._optionMap.get(i):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){i&1&&O("change",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Fe([mB]),Re]})}return t})(),qi=(()=>{class t{_element;_renderer;_select;id;constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(gI(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||t)(ee(X),ee(He),ee(Xn,9))};static \u0275dir=j({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),fB={provide:vr,useExisting:Gt(()=>_I),multi:!0};function YE(t,n){return t==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function hB(t){return t.split(":")[0]}var _I=(()=>{class t extends vc{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let i;if(Array.isArray(e)){let r=e.map(o=>this._getOptionId(o));i=(o,a)=>{o._setSelected(r.indexOf(a.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{let r=[],o=i.selectedOptions;if(o!==void 0){let a=o;for(let s=0;s<a.length;s++){let c=a[s],g=this._getOptionValue(c.value);r.push(g)}}else{let a=i.options;for(let s=0;s<a.length;s++){let c=a[s];if(c.selected){let g=this._getOptionValue(c.value);r.push(g)}}}this.value=r,e(r)}}_registerOption(e){let i=(this._idCounter++).toString();return this._optionMap.set(i,e),i}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,e))return i;return null}_getOptionValue(e){let i=hB(e);return this._optionMap.has(i)?this._optionMap.get(i)._value:e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){i&1&&O("change",function(a){return r.onChange(a.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Fe([fB]),Re]})}return t})(),Yi=(()=>{class t{_element;_renderer;_select;id;_value;constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(YE(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(YE(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||t)(ee(X),ee(He),ee(_I,9))};static \u0275dir=j({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();var gB=(()=>{class t{_validator=Gm;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Gm,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,features:[je]})}return t})();var _B={provide:ra,useExisting:Gt(()=>wc),multi:!0};var wc=(()=>{class t extends gB{required;inputName="required";normalizeInput=J;createValidator=e=>QE;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&Z("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Fe([_B]),Re]})}return t})();var vI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({})}return t})(),Sv=class extends Es{constructor(n,e,i){super(Rv(e),Ov(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){lI(this,!1,n),n.forEach((i,r)=>{sI(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};function KE(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var Ki=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,i=null){let r=this._reduceControls(e),o={};return KE(i)?o=i:i!==null&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new Is(r,o)}record(e,i=null){let r=this._reduceControls(e);return new Iv(r,i)}control(e,i,r){let o={};return this.useNonNullable?(KE(i)?o=i:(o.validators=i,o.asyncValidators=r),new _c(e,ce(R({},o),{nonNullable:!0}))):new _c(e,i,r)}array(e,i,r){let o=e.map(a=>this._createControl(a));return new Sv(o,i,r)}_reduceControls(e){let i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){if(e instanceof _c)return e;if(e instanceof Es)return e;if(Array.isArray(e)){let i=e[0],r=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(i,r,o)}else return this.control(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dn=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:yc,useValue:e.callSetDisabledState??rp}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[vI]})}return t})(),Zi=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:hI,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:yc,useValue:e.callSetDisabledState??rp}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[vI]})}return t})();var vB=new T("cdk-dir-doc",{providedIn:"root",factory:bB});function bB(){return p(oe)}var yB=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function bI(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?yB.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ht=(()=>{class t{value="ltr";change=new B;constructor(){let e=p(vB,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=bI(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({})}return t})();function Xi(t){return t!=null&&`${t}`!="false"}function Ss(t,n=0){return yI(t)?Number(t):arguments.length===2?n:0}function yI(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function jn(t){return t instanceof X?t.nativeElement:t}function Ms(t){return Array.isArray(t)?t:[t]}function bt(t){return t==null?"":typeof t=="string"?t:`${t}px`}var Pv;try{Pv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Pv=!1}var Ae=(()=>{class t{_platformId=p(Yr);isBrowser=this._platformId?R_(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Pv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Cc;function wI(){if(Cc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Cc=!0}))}finally{Cc=Cc||!1}return Cc}function ro(t){return wI()?t:!!t.capture}var oa;function CI(){if(oa==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return oa=!1,oa;if("scrollBehavior"in document.documentElement.style)oa=!0;else{let t=Element.prototype.scrollTo;t?oa=!/\{\s*\[native code\]\s*\}/.test(t.toString()):oa=!1}}return oa}var Fv;function xI(){if(Fv==null){let t=typeof document<"u"?document.head:null;Fv=!!(t&&(t.createShadowRoot||t.attachShadow))}return Fv}function Lv(t){if(xI()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function aa(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function mn(t){return t.composedPath?t.composedPath()[0]:t.target}function Vv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function nt(t,n,e,i,r){let o=parseInt(C_.major),a=parseInt(C_.minor);return o>19||o===19&&a>0||o===0&&a===0?t.listen(n,e,i,r):(n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)})}var ks,DI=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Bv(){if(ks)return ks;if(typeof document!="object"||!document)return ks=new Set(DI),ks;let t=document.createElement("input");return ks=new Set(DI.filter(n=>(t.setAttribute("type",n),t.type===n))),ks}function sa(t){return t.buttons===0||t.detail===0}function la(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var EI=new T("cdk-input-modality-detector-options"),II={ignoreKeys:[18,17,224,91,16]},SI=650,jv={passive:!0,capture:!0},MI=(()=>{class t{_platform=p(Ae);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new xt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=mn(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<SI||(this._modality.next(sa(e)?"keyboard":"mouse"),this._mostRecentTarget=mn(e))};_onTouchstart=e=>{if(la(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mn(e)};constructor(){let e=p(K),i=p(oe),r=p(EI,{optional:!0});if(this._options=R(R({},II),r),this.modalityDetected=this._modality.pipe(fl(1)),this.modalityChanged=this.modalityDetected.pipe(Ra()),this._platform.isBrowser){let o=p(It).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[nt(o,i,"keydown",this._onKeydown,jv),nt(o,i,"mousedown",this._onMousedown,jv),nt(o,i,"touchstart",this._onTouchstart,jv)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xc=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(xc||{}),kI=new T("cdk-focus-monitor-default-options"),op=ro({passive:!0,capture:!0}),yi=(()=>{class t{_ngZone=p(K);_platform=p(Ae);_inputModalityDetector=p(MI);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=p(oe,{optional:!0});_stopInputModalityDetector=new V;constructor(){let e=p(kI,{optional:!0});this._detectionMode=e?.detectionMode||xc.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=mn(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=jn(e);if(!this._platform.isBrowser||r.nodeType!==1)return G();let o=Lv(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new V,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=jn(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=jn(e),a=this._getDocument().activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,i,c)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===xc.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===xc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?SI:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=mn(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,op),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,op)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ie(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,op),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,op),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hv=(()=>{class t{_elementRef=p(X);_focusMonitor=p(yi);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new B;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var ap=new WeakMap,Ke=(()=>{class t{_appRef;_injector=p(Se);_environmentInjector=p(st);load(e){let i=this._appRef=this._appRef||this._injector.get(Pn),r=ap.get(i);r||(r={loaders:new Set,refs:[]},ap.set(i,r),i.onDestroy(()=>{ap.get(i)?.refs.forEach(o=>o.destroy()),ap.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Ku(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Jn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
`],encapsulation:2,changeDetection:0})}return t})();var TI=new Set,ca,wB=(()=>{class t{_platform=p(Ae);_nonce=p(Ml,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xB}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&CB(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CB(t,n){if(!TI.has(t))try{ca||(ca=document.createElement("style"),n&&ca.setAttribute("nonce",n),ca.setAttribute("type","text/css"),document.head.appendChild(ca)),ca.sheet&&(ca.sheet.insertRule(`@media ${t} {body{ }}`,0),TI.add(t))}catch(e){console.error(e)}}function xB(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var RI=(()=>{class t{_mediaMatcher=p(wB);_zone=p(K);_queries=new Map;_destroySubject=new V;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return AI(Ms(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=AI(Ms(e)).map(a=>this._registerQuery(a).observable),o=xo(r);return o=Fr(o.pipe(Lt(1)),o.pipe(fl(1),Lr(0))),o.pipe(re(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:g})=>{s.matches=s.matches||c,s.breakpoints[g]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new we(a=>{let s=c=>this._zone.run(()=>a.next(c));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Qe(i),re(({matches:a})=>({query:e,matches:a})),Ie(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function AI(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var DB=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var sp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[DB]})}return t})();var EB=(()=>{class t{_platform=p(Ae);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return SB(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=IB(PB(e));if(i&&(OI(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=OI(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!OB(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return NB(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function IB(t){try{return t.frameElement}catch{return null}}function SB(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function MB(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function kB(t){return AB(t)&&t.type=="hidden"}function TB(t){return RB(t)&&t.hasAttribute("href")}function AB(t){return t.nodeName.toLowerCase()=="input"}function RB(t){return t.nodeName.toLowerCase()=="a"}function FI(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function OI(t){if(!FI(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function OB(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function NB(t){return kB(t)?!1:MB(t)||TB(t)||t.hasAttribute("contenteditable")||FI(t)}function PB(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Uv=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?cn(n,{injector:this._injector}):setTimeout(n)}},LI=(()=>{class t{_checker=p(EB);_ngZone=p(K);_document=p(oe);_injector=p(Se);constructor(){p(Ke).load(Jn)}create(e,i=!1){return new Uv(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$v=(()=>{class t{_elementRef=p(X);_focusTrapFactory=p(LI);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){p(Ae).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=aa(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",J],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",J]},exportAs:["cdkTrapFocus"],features:[je]})}return t})(),VI=new T("liveAnnouncerElement",{providedIn:"root",factory:BI});function BI(){return null}var jI=new T("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),FB=0,Wv=(()=>{class t{_ngZone=p(K);_defaultOptions=p(jI,{optional:!0});_liveElement;_document=p(oe);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=p(VI,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${FB++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oo=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(oo||{}),NI="cdk-high-contrast-black-on-white",PI="cdk-high-contrast-white-on-black",zv="cdk-high-contrast-active",lp=(()=>{class t{_platform=p(Ae);_hasCheckedHighContrastMode;_document=p(oe);_breakpointSubscription;constructor(){this._breakpointSubscription=p(RI).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return oo.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return oo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return oo.BLACK_ON_WHITE}return oo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(zv,NI,PI),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===oo.BLACK_ON_WHITE?e.add(zv,NI):i===oo.WHITE_ON_BLACK&&e.add(zv,PI)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dc=(()=>{class t{constructor(){p(lp)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[sp]})}return t})();var Gv={},it=(()=>{class t{_appId=p(zo);getId(e){return this._appId!=="ng"&&(e+=this._appId),Gv.hasOwnProperty(e)||(Gv[e]=0),`${e}${Gv[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var LB=200,cp=class{_letterKeyStream=new V;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new V;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:LB;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(qe(e=>this._pressedLetters.push(e)),Lr(n),ve(()=>this._pressedLetters.length>0),re(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function zt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ts=class{_items;_activeItemIndex=-1;_activeItem=ht(null);_wrap=!1;_typeaheadSubscription=de.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Nn?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):qr(n)&&(this._effectRef=Nl(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new V;change=new V;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new cp(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(r||zt(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return qr(this._items)?this._items():this._items instanceof Nn?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Ec=class extends Ts{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var da=class extends Ts{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var UI=" ";function Kv(t,n,e){let i=hp(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(UI)))}function gp(t,n,e){let i=hp(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(UI)):t.removeAttribute(n)}function hp(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var $I="cdk-describedby-message",fp="cdk-describedby-host",Yv=0,WI=(()=>{class t{_platform=p(Ae);_document=p(oe);_messageRegistry=new Map;_messagesContainer=null;_id=`${Yv++}`;constructor(){p(Ke).load(Jn),this._id=p(zo)+"-"+Yv++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=qv(i,r);typeof i!="string"?(zI(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=qv(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${fp}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(fp);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");zI(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(qv(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=hp(e,"aria-describedby").filter(r=>r.indexOf($I)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Kv(e,"aria-describedby",r.messageElement.id),e.setAttribute(fp,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,gp(e,"aria-describedby",r.messageElement.id),e.removeAttribute(fp)}_isElementDescribedByMessage(e,i){let r=hp(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function qv(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function zI(t,n){t.id||(t.id=`${$I}-${n}-${Yv++}`)}var Zv=class{_box;_destroyed=new V;_resizeSubject=new V;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new we(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ve(e=>e.some(i=>i.target===n)),Br({bufferSize:1,refCount:!0}),Ie(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},GI=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=p(K);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Zv(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var VB=["notch"],BB=["matFormFieldNotchedOutline",""],jB=["*"],HB=["textField"],zB=["iconPrefixContainer"],UB=["textPrefixContainer"],$B=["iconSuffixContainer"],WB=["textSuffixContainer"],GB=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],qB=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function YB(t,n){t&1&&E(0,"span",20)}function KB(t,n){if(t&1&&(m(0,"label",19),le(1,1),k(2,YB,1,0,"span",20),u()),t&2){let e=x(2);y("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Z("for",e._control.disableAutomaticLabeling?null:e._control.id),f(2),he(!e.hideRequiredMarker&&e._control.required?2:-1)}}function ZB(t,n){if(t&1&&k(0,KB,3,5,"label",19),t&2){let e=x();he(e._hasFloatingLabel()?0:-1)}}function QB(t,n){t&1&&E(0,"div",7)}function XB(t,n){}function JB(t,n){if(t&1&&k(0,XB,0,0,"ng-template",13),t&2){x(2);let e=yt(1);y("ngTemplateOutlet",e)}}function ej(t,n){if(t&1&&(m(0,"div",9),k(1,JB,1,1,null,13),u()),t&2){let e=x();y("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),f(),he(e._forceDisplayInfixLabel()?-1:1)}}function tj(t,n){t&1&&(m(0,"div",10,2),le(2,2),u())}function nj(t,n){t&1&&(m(0,"div",11,3),le(2,3),u())}function ij(t,n){}function rj(t,n){if(t&1&&k(0,ij,0,0,"ng-template",13),t&2){x();let e=yt(1);y("ngTemplateOutlet",e)}}function oj(t,n){t&1&&(m(0,"div",14,4),le(2,4),u())}function aj(t,n){t&1&&(m(0,"div",15,5),le(2,5),u())}function sj(t,n){t&1&&E(0,"div",16)}function lj(t,n){t&1&&le(0,6)}function cj(t,n){if(t&1&&(m(0,"mat-hint",21),v(1),u()),t&2){let e=x(2);y("id",e._hintLabelId),f(),I(e.hintLabel)}}function dj(t,n){if(t&1&&(k(0,cj,2,2,"mat-hint",21),le(1,7),E(2,"div",22),le(3,8)),t&2){let e=x();he(e.hintLabel?0:-1)}}var Dr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["mat-label"]]})}return t})(),Xv=new T("MatError"),Jv=(()=>{class t{id=p(it).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,r){i&2&&qt("id",r.id)},inputs:{id:"id"},features:[Fe([{provide:Xv,useExisting:t}])]})}return t})(),Qv=(()=>{class t{align="start";id=p(it).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(qt("id",r.id),Z("align",null),F("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),JI=new T("MatPrefix");var eS=new T("MatSuffix");var tS=new T("FloatingLabelParent"),qI=(()=>{class t{_elementRef=p(X);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=p(GI);_ngZone=p(K);_parent=p(tS);_resizeSubscription=new de;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return uj(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&F("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function uj(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var YI="mdc-line-ripple--active",_p="mdc-line-ripple--deactivating",KI=(()=>{class t{_elementRef=p(X);_cleanupTransitionEnd;constructor(){let e=p(K),i=p(He);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(_p),e.add(YI)}deactivate(){this._elementRef.nativeElement.classList.add(_p)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(_p);e.propertyName==="opacity"&&r&&i.remove(YI,_p)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),ZI=(()=>{class t{_elementRef=p(X);_ngZone=p(K);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Ee(VB,5),i&2){let o;te(o=ne())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&F("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:BB,ngContentSelectors:jB,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Oe(),E(0,"div",1),m(1,"div",2,0),le(3),u(),E(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),As=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t})}return t})();var Rs=new T("MatFormField"),nS=new T("MAT_FORM_FIELD_DEFAULT_OPTIONS"),QI="fill",mj="auto",XI="fixed",pj="translateY(-50%)",Er=(()=>{class t{_elementRef=p(X);_changeDetectorRef=p(ke);_dir=p(Ht);_platform=p(Ae);_idGenerator=p(it);_ngZone=p(K);_injector=p(Se);_defaults=p(nS,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Mx(Dr);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Xi(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||mj}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||QI;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=QI;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||XI}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||XI}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new V;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),this._animationsDisabled=p(et,{optional:!0})==="NoopAnimations"}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Yn(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Qe([void 0,void 0]),re(()=>[i.errorState,i.userAriaDescribedBy]),Vd(),ve(([[o,a],[s,c]])=>o!==s||a!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ie(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Kt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),kl(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Ie(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Yn(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,g=o?.getBoundingClientRect().width??0,b=a?.getBoundingClientRect().width??0,_=this._dir.value==="rtl"?"-1":"1",D=`${s+c}px`,S=`calc(${_} * (${D} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
        --mat-mdc-form-field-label-transform,
        ${pj} translateX(${S})
    )`;let N=s+c+g+b;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${N}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(Zx(o,r._labelChild,Dr,5),$e(o,As,5),$e(o,JI,5),$e(o,eS,5),$e(o,Xv,5),$e(o,Qv,5)),i&2){Qx();let a;te(a=ne())&&(r._formFieldControl=a.first),te(a=ne())&&(r._prefixChildren=a),te(a=ne())&&(r._suffixChildren=a),te(a=ne())&&(r._errorChildren=a),te(a=ne())&&(r._hintChildren=a)}},viewQuery:function(i,r){if(i&1&&(Ee(HB,5),Ee(zB,5),Ee(UB,5),Ee($B,5),Ee(WB,5),Ee(qI,5),Ee(ZI,5),Ee(KI,5)),i&2){let o;te(o=ne())&&(r._textField=o.first),te(o=ne())&&(r._iconPrefixContainer=o.first),te(o=ne())&&(r._textPrefixContainer=o.first),te(o=ne())&&(r._iconSuffixContainer=o.first),te(o=ne())&&(r._textSuffixContainer=o.first),te(o=ne())&&(r._floatingLabel=o.first),te(o=ne())&&(r._notchedOutline=o.first),te(o=ne())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(i,r){i&2&&F("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Fe([{provide:Rs,useExisting:t},{provide:tS,useExisting:t}])],ngContentSelectors:qB,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=xe();Oe(GB),k(0,ZB,1,1,"ng-template",null,0,Bi),m(2,"div",6,1),O("click",function(s){return U(o),$(r._control.onContainerClick(s))}),k(4,QB,1,0,"div",7),m(5,"div",8),k(6,ej,2,2,"div",9)(7,tj,3,0,"div",10)(8,nj,3,0,"div",11),m(9,"div",12),k(10,rj,1,1,null,13),le(11),u(),k(12,oj,3,0,"div",14)(13,aj,3,0,"div",15),u(),k(14,sj,1,0,"div",16),u(),m(15,"div",17),y_(16),m(17,"div",18),k(18,lj,1,0)(19,dj,4,1),u()()}if(i&2){let o;f(2),F("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),f(2),he(!r._hasOutline()&&!r._control.disabled?4:-1),f(2),he(r._hasOutline()?6:-1),f(),he(r._hasIconPrefix?7:-1),f(),he(r._hasTextPrefix?8:-1),f(2),he(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),f(2),he(r._hasTextSuffix?12:-1),f(),he(r._hasIconSuffix?13:-1),f(),he(r._hasOutline()?-1:14),f(),F("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();f(2),F("mat-mdc-form-field-error-wrapper",a==="error")("mat-mdc-form-field-hint-wrapper",a==="hint"),f(),he((o=a)==="error"?18:o==="hint"?19:-1)}},dependencies:[qI,ZI,Zr,KI,Qv],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
`],encapsulation:2,changeDetection:0})}return t})();var se=(()=>{class t{constructor(){p(lp)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[Qi,Qi]})}return t})();var ei=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,sp,se]})}return t})();var fj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
`],encapsulation:2,changeDetection:0})}return t})(),hj={passive:!0},iS=(()=>{class t{_platform=p(Ae);_ngZone=p(K);_renderer=p(It).createRenderer(null,null);_styleLoader=p(Ke);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Ft;this._styleLoader.load(fj);let i=jn(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new V,a="cdk-text-field-autofilled",s=g=>{g.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>o.next({target:g.target,isAutofilled:!0}))):g.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:g.target,isAutofilled:!1})))},c=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),nt(this._renderer,i,"animationstart",s,hj)));return this._monitoredElements.set(i,{subject:o,unlisten:c}),o}stopMonitoring(e){let i=jn(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var rS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({})}return t})();var oS=new T("MAT_INPUT_VALUE_ACCESSOR");var ao=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Os=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var gj=["button","checkbox","file","hidden","image","radio","range","reset","submit"],_j=new T("MAT_INPUT_CONFIG"),Ns=(()=>{class t{_elementRef=p(X);_platform=p(Ae);ngControl=p(_i,{optional:!0,self:!0});_autofillMonitor=p(iS);_ngZone=p(K);_formField=p(Rs,{optional:!0});_renderer=p(He);_uid=p(it).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=p(_j,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new V;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Xi(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Rt.required)??!1}set required(e){this._required=Xi(e)}_required;get type(){return this._type}set type(e){let i=this._type;this._type=e||"text",this._validateType(),!this._isTextarea&&Bv().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==i&&this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Xi(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Bv().has(e));constructor(){let e=p(br,{optional:!0}),i=p(un,{optional:!0}),r=p(ao),o=p(oS,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?qr(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Os(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Nl(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){gj.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let i=this._elementRef.nativeElement,r=i.getAttribute("aria-describedby"),o;if(r){let a=this._formFieldDescribedBy||e;o=e.concat(r.split(" ").filter(s=>s&&!a.includes(s)))}else o=e;this._formFieldDescribedBy=e,o.length?i.setAttribute("aria-describedby",o.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){this._cleanupWebkitWheel?.(),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&O("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(qt("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),Z("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),F("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",J]},exportAs:["matInput"],features:[Fe([{provide:As,useExisting:t}]),je]})}return t})(),Ps=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,ei,ei,rS,se]})}return t})();var vj=["*"];var bj=new T("MAT_CARD_CONFIG"),vp=(()=>{class t{appearance;constructor(){let e=p(bj,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){i&2&&F("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:vj,decls:1,vars:0,template:function(i,r){i&1&&(Oe(),le(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
`],encapsulation:2,changeDetection:0})}return t})();var Fs=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,se]})}return t})();var ti=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(ti||{}),nb=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ti.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},sS=ro({passive:!0,capture:!0}),ib=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,sS)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,sS)))}_delegateEventHandler=n=>{let e=mn(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},Ic={enterDuration:225,exitDuration:150},yj=800,lS=ro({passive:!0,capture:!0}),cS=["mousedown","touchstart"],dS=["mouseup","mouseleave","touchend","touchcancel"],wj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
`],encapsulation:2,changeDetection:0})}return t})(),Sc=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new ib;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=jn(i)),o&&o.get(Ke).load(wj)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=R(R({},Ic),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||Cj(n,e,r),s=n-r.left,c=e-r.top,g=o.enterDuration,b=document.createElement("div");b.classList.add("mat-ripple-element"),b.style.left=`${s-a}px`,b.style.top=`${c-a}px`,b.style.height=`${a*2}px`,b.style.width=`${a*2}px`,i.color!=null&&(b.style.backgroundColor=i.color),b.style.transitionDuration=`${g}ms`,this._containerElement.appendChild(b);let _=window.getComputedStyle(b),D=_.transitionProperty,C=_.transitionDuration,S=D==="none"||C==="0s"||C==="0s, 0s"||r.width===0&&r.height===0,N=new nb(this,b,i,S);b.style.transform="scale3d(1, 1, 1)",N.state=ti.FADING_IN,i.persistent||(this._mostRecentTransientRipple=N);let L=null;return!S&&(g||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let ie=()=>{L&&(L.fallbackTimer=null),clearTimeout(We),this._finishRippleTransition(N)},Ve=()=>this._destroyRipple(N),We=setTimeout(Ve,g+100);b.addEventListener("transitionend",ie),b.addEventListener("transitioncancel",Ve),L={onTransitionEnd:ie,onTransitionCancel:Ve,fallbackTimer:We}}),this._activeRipples.set(N,L),(S||!g)&&this._finishRippleTransition(N),N}fadeOutRipple(n){if(n.state===ti.FADING_OUT||n.state===ti.HIDDEN)return;let e=n.element,i=R(R({},Ic),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=ti.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=jn(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,cS.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{dS.forEach(e=>{this._triggerElement.addEventListener(e,this,lS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ti.FADING_IN?this._startFadeOutTransition(n):n.state===ti.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=ti.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ti.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=sa(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+yj;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!la(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===ti.VISIBLE||n.config.terminateOnPointerUp&&n.state===ti.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(cS.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(dS.forEach(e=>n.removeEventListener(e,this,lS)),this._pointerUpEventsRegistered=!1))}};function Cj(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var rb=new T("mat-ripple-global-options"),so=(()=>{class t{_elementRef=p(X);_animationMode=p(et,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=p(K),i=p(Ae),r=p(rb,{optional:!0}),o=p(Se);this._globalOptions=r||{},this._rippleRenderer=new Sc(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:R(R(R({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,R(R({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,R(R({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&F("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var xj={capture:!0},Dj=["focus","mousedown","mouseenter","touchstart"],ob="mat-ripple-loader-uninitialized",ab="mat-ripple-loader-class-name",uS="mat-ripple-loader-centered",bp="mat-ripple-loader-disabled",mS=(()=>{class t{_document=p(oe);_animationMode=p(et,{optional:!0});_globalRippleOptions=p(rb,{optional:!0});_platform=p(Ae);_ngZone=p(K);_injector=p(Se);_eventCleanups;_hosts=new Map;constructor(){let e=p(It).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Dj.map(i=>nt(e,this._document,i,this._onInteraction,xj)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(ob,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(ab))&&e.setAttribute(ab,i.className||""),i.centered&&e.setAttribute(uS,""),i.disabled&&e.setAttribute(bp,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(bp,""):e.removeAttribute(bp)}_onInteraction=e=>{let i=mn(e);if(i instanceof HTMLElement){let r=i.closest(`[${ob}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(ab)),e.append(i);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,a=r?0:o?.animation?.enterDuration??Ic.enterDuration,s=r?0:o?.animation?.exitDuration??Ic.exitDuration,c={rippleDisabled:r||o?.disabled||e.hasAttribute(bp),rippleConfig:{centered:e.hasAttribute(uS),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:s}}},g=new Sc(c,this._ngZone,i,this._platform,this._injector),b=!c.rippleDisabled;b&&g.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:g,hasSetUpEvents:b}),e.removeAttribute(ob)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ni=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
`],encapsulation:2,changeDetection:0})}return t})();var Ej=["mat-icon-button",""],Ij=["*"];var Sj=new T("MAT_BUTTON_CONFIG");var Mj=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],yp=(()=>{class t{_elementRef=p(X);_ngZone=p(K);_animationMode=p(et,{optional:!0});_focusMonitor=p(yi);_rippleLoader=p(mS);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){p(Ke).load(ni);let e=p(Sj,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:o,mdcClasses:a}of Mj)i.hasAttribute(o)&&r.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",J],disabled:[2,"disabled","disabled",J],ariaDisabled:[2,"aria-disabled","ariaDisabled",J],disabledInteractive:[2,"disabledInteractive","disabledInteractive",J]}})}return t})();var pS=(()=>{class t extends yp{_renderer=p(He);_cleanupClick;tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._cleanupClick?.()}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Tt(e)]},features:[Re]})}return t})(),Ls=(()=>{class t extends yp{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Z("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),at(r.color?"mat-"+r.color:""),F("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Re],attrs:Ej,ngContentSelectors:Ij,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Oe(),E(0,"span",0),le(1),E(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0})}return t})();var lo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,se]})}return t})();var fS=["mat-button",""],hS=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],gS=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],kj=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
`,Tj=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`;var Ir=(()=>{class t extends yp{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275cmp=P({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Z("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),at(r.color?"mat-"+r.color:""),F("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Re],attrs:fS,ngContentSelectors:gS,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Oe(hS),E(0,"span",0),le(1),m(2,"span",1),le(3,1),u(),le(4,2),E(5,"span",2)(6,"span",3)),i&2&&F("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0})}return t})(),_S=(()=>{class t extends pS{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275cmp=P({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,r){i&2&&(Z("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),at(r.color?"mat-"+r.color:""),F("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Re],attrs:fS,ngContentSelectors:gS,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Oe(hS),E(0,"span",0),le(1),m(2,"span",1),le(3,1),u(),le(4,2),E(5,"span",2)(6,"span",3)),i&2&&F("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[kj,Tj],encapsulation:2,changeDetection:0})}return t})();var En=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,lo,se]})}return t})();var Aj=["determinateSpinner"];function Rj(t,n){if(t&1&&(St(),m(0,"svg",11),E(1,"circle",12),u()),t&2){let e=x();Z("viewBox",e._viewBox()),f(),dn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Z("r",e._circleRadius())}}var Oj=new T("mat-progress-spinner-default-options",{providedIn:"root",factory:Nj});function Nj(){return{diameter:vS}}var vS=100,Pj=10,Cp=(()=>{class t{_elementRef=p(X);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=p(et,{optional:!0}),i=p(Oj);this._noopAnimations=e==="NoopAnimations"&&!!i&&!i._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",i&&(i.color&&(this.color=this._defaultColor=i.color),i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=vS;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-Pj)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Ee(Aj,5),i&2){let o;te(o=ne())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(Z("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),at("mat-"+r.color),dn("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),F("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Tt],diameter:[2,"diameter","diameter",Tt],strokeWidth:[2,"strokeWidth","strokeWidth",Tt]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(k(0,Rj,2,8,"ng-template",null,0,Bi),m(2,"div",2,1),St(),m(4,"svg",3),E(5,"circle",4),u()(),fr(),m(6,"div",5)(7,"div",6)(8,"div",7),Gn(9,8),u(),m(10,"div",9),Gn(11,8),u(),m(12,"div",10),Gn(13,8),u()()()),i&2){let o=yt(1);f(4),Z("viewBox",r._viewBox()),f(),dn("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),Z("r",r._circleRadius()),f(4),y("ngTemplateOutlet",o),f(2),y("ngTemplateOutlet",o),f(2),y("ngTemplateOutlet",o)}},dependencies:[Zr],styles:[`.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
`],encapsulation:2,changeDetection:0})}return t})();var xp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se]})}return t})();var yS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se]})}return t})();var Dp=ed(Mc());function Fj(t,n){t&1&&(m(0,"div",1),E(1,"div",2),m(2,"p",3),v(3,"Memuat..."),u()())}var Ep=class t{httpLoading=ht(!1);routerLoading=ht(!1);loading=Yn(()=>this.httpLoading()||this.routerLoading());showHttp(){this.httpLoading.set(!0)}hideHttp(){this.httpLoading.set(!1)}showRouter(){this.routerLoading.set(!0)}hideRouter(){this.routerLoading.set(!1)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})},wS=(t,n)=>{let e=p(Ep);return e.showHttp(),n(t).pipe(Un(()=>e.hideHttp()))},Ot=class t{sub=new V;response$=this.sub.asObservable();constructor(){this.response$.subscribe(n=>this.display(n))}notify(n){this.sub.next(n)}display(n){if(!n.success&&!n.error)return;let e=n.success??n.error+(n.details?" ("+Object.entries(n.details).map(([i,r])=>`[${i}: ${r}]`).join(" ")+")":"");Dp.default.fire({toast:!0,icon:n.success?"success":"error",title:e,position:"top-end",showConfirmButton:!1,timer:3e3})}static \u0275fac=function(e){return new(e||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})};var Sr=class t{token=ht(localStorage.getItem("token"));refreshTokenSig=ht(localStorage.getItem("refresh_token"));isAuthenticated=Yn(()=>!!this.token());setTokens(n,e=""){this.token.set(n),localStorage.setItem("token",n),e&&(this.refreshTokenSig.set(e),localStorage.setItem("refresh_token",e))}getToken(){return this.token()}getRefreshToken(){return this.refreshTokenSig()}clear(){this.token.set(null),this.refreshTokenSig.set(null),localStorage.removeItem("token"),localStorage.removeItem("refresh_token")}static \u0275fac=function(e){return new(e||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})},Mr=class t{constructor(n){this.http=n}baseUrl="https://tour.proyekkk.com/api";login(n){return this.http.post(`${this.baseUrl}/login`,n)}register(n){return this.http.post(`${this.baseUrl}/register`,n)}logout(){return this.http.post(`${this.baseUrl}/logout`,{})}refreshToken(){return this.http.post(`${this.baseUrl}/refresh`,{refresh_token:localStorage.getItem("refresh_token")})}static \u0275fac=function(e){return new(e||t)(Q(Ko))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})},CS=(t,n)=>{let e=p(Sr),i=p(Mr),r=p(Me),o=e.getToken(),s=["/login","/register","/refresh"].some(c=>t.url.includes(c))?t:o?t.clone({setHeaders:{Authorization:`Bearer ${o}`}}):t;return n(s).pipe(Zt(c=>c.status===401&&e.getRefreshToken()?i.refreshToken().pipe(Xe(g=>(e.setTokens(g.token,g.refresh_token),n(t.clone({setHeaders:{Authorization:`Bearer ${g.token}`}})))),Zt(()=>(e.clear(),r.navigate(["/login"]),ai(()=>c)))):(c.status===401&&(e.clear(),r.navigate(["/login"])),ai(()=>c))))},lb=class t{normalize(n){return JSON.stringify(n,Object.keys(n).sort())}hash(n){return btoa(this.normalize(n))}set(n,e){let i={t:Date.now(),d:e,h:this.hash(e)};localStorage.setItem(n,JSON.stringify(i))}get(n,e){let i=localStorage.getItem(n);if(!i)return null;try{let r=JSON.parse(i);return(Date.now()-r.t)/6e4>e?(localStorage.removeItem(n),null):r.d}catch{return localStorage.removeItem(n),null}}getRaw(n){let e=localStorage.getItem(n);if(!e)return null;try{return JSON.parse(e).d}catch{return null}}getHash(n){let e=localStorage.getItem(n);if(!e)return null;try{return JSON.parse(e).h??null}catch{return null}}clear(n){localStorage.removeItem(n)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})},ii=class t{constructor(n,e){this.http=n;this.cache=e}base="https://webservice.sinargalesong.net/HOSPITALITY/api";API_KEY_VALUE="rifqymuskar";API_KEY_HEADER="authentication";getAuthOptions(){return{headers:new zi({"Content-Type":"application/json",[this.API_KEY_HEADER]:this.API_KEY_VALUE})}}withId(n,e){return`${n}?id=${e}`}get(n,e,i=30){let r=this.cache.get(e,i);return r?G(r):this.http.get(`${this.base}/${n}`,this.getAuthOptions()).pipe(qe(o=>this.cache.set(e,o)),Br({bufferSize:1,refCount:!0}))}write(n,e,i=null,r=[]){let o=this.getAuthOptions(),a;switch(n){case"post":a=this.http.post(`${this.base}/${e}`,i,o);break;case"put":a=this.http.put(`${this.base}/${e}`,i,o);break;case"delete":a=this.http.delete(`${this.base}/${e}`,o);break}return a.pipe(qe(s=>{r.forEach(c=>{let g=this.cache.getHash(c),b=s?btoa(JSON.stringify(s)):null;(!b||g!==b)&&this.cache.clear(c)})}),Br({bufferSize:1,refCount:!0}))}mastergender(){return this.get("master_gender","MASTER_GENDER",300)}mastercountry(){return this.get("master_country","MASTER_COUNTRY",300)}masterprovince(){return this.get("master_province","MASTER_PROVINCE",300)}mastercity(){return this.get("master_city","MASTER_CITY",300)}masterdistrict(){return this.get("master_district","MASTER_DISTRICT",300)}mastervillage(){return this.get("master_village","MASTER_VILLAGE",300)}mastercustomersall(){return this.get("customers","MASTER_CUSTOMER_ALL",30)}mastercustomerpost(n){return this.write("post","customers",n,["MASTER_CUSTOMER_ALL"])}mastercustomerID(n){return this.get(`customers?id=${n}`,`MASTER_CUSTOMER_ID_${n}`,30)}mastercustomerput(n,e){return this.write("put",`customers?id=${n}`,e,["MASTER_CUSTOMER_ALL",`MASTER_CUSTOMER_ID_${n}`])}mastercustomerdelete(n,e){return this.write("delete",`customers/${n}`,e,["MASTER_CUSTOMER_ALL",`MASTER_CUSTOMER_ID_${n}`])}masterroom(){return this.get("reservation_room","MASTERROOM_ALL",30)}masterroomclass(){return this.get("reservation_room_class","MASTERROOM_CLASS",300)}masterroomfloor(){return this.get("reservation_room_floor","MASTERROOM_FLOOR",300)}masterroomtype(){return this.get("reservation_room_type","MASTERROOM_TYPE",300)}masterroomstatus(){return this.get("reservation_room_status","MASTERROOM_STATUS",300)}masterroompost(n){return this.write("post","reservation_room",n,["MASTERROOM_ALL"])}masterroomput(n,e){return this.write("put",`reservation_room?id=${n}`,e,["MASTERROOM_ALL"])}masterroomdelete(n){return this.write("delete",`reservation_room?id=${n}`,null,["MASTERROOM_ALL"])}masterroomID(n){return this.get(`reservation_room?id=${n}`,`MASTERROOM_ID_${n}`,30)}masterreservationsall(){return this.get("reservations","MASTER_RESERVATION_ALL",30)}masterreservationpost(n){return this.write("post","reservations",n,["MASTER_RESERVATION_ALL"])}masterreservationput(n,e){return this.write("put",`reservations?id=${n}`,e,["MASTER_RESERVATION_ALL"])}masterreservationdelete(n){return this.write("delete",`reservations/${n}`,null,["MASTER_RESERVATION_ALL"])}masterreservationID(n){return this.get(`reservations?id=${n}`,`MASTER_RESERVATION_ID_${n}`,30)}masterreservationdetail(){return this.get("reservation_detail","MASTER_RESERVATION_DETAIL",30)}masterreservationdetailpost(n){return this.write("post","reservation_detail",n,["MASTER_RESERVATION_DETAIL"])}masterreservationdetailput(n,e){return this.write("put",`reservation_detail?id=${n}`,e,["MASTER_RESERVATION_DETAIL"])}masterreservationdetaildelete(n){return this.write("delete",`reservation_detail?id=${n}`,null,["MASTER_RESERVATION_DETAIL"])}static \u0275fac=function(e){return new(e||t)(Q(Ko),Q(lb))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})},Ip=class t{router=p(Me);rs=p(Ot);loading=p(Ep);slowTimer;ngOnInit(){this.router.events.pipe(ve(n=>n instanceof Wi)).subscribe(()=>{this.loading.showRouter(),this.slowTimer=setTimeout(()=>{Dp.default.fire({icon:"warning",title:"Jaringan Lambat",text:"Mohon bersabar...",heightAuto:!1})},3e3)}),this.router.events.pipe(ve(n=>n instanceof Bt||n instanceof Qn)).subscribe(()=>{this.loading.hideRouter(),clearTimeout(this.slowTimer),setTimeout(()=>{this.loading.hideRouter(),Dp.default.close()},0)}),this.router.events.pipe(ve(n=>n instanceof eo)).subscribe(n=>{if(this.loading.hideRouter(),clearTimeout(this.slowTimer),n.error?.message?.includes("NG04002")){this.rs.notify({error:"Halaman tidak ditemukan",details:{url:n.url,message:"Rute tidak cocok (404). Periksa kembali URL."}}),this.router.navigate(["/user"]);return}this.rs.notify({error:"Terjadi kesalahan saat berpindah halaman",details:{message:n.error?.message??"Unknown navigation error"}})})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-root"]],decls:2,vars:1,consts:[["class","loading-overlay",4,"ngIf"],[1,"loading-overlay"],[1,"spinner"],[1,"loading-text"]],template:function(e,i){e&1&&(k(0,Fj,4,0,"div",0),E(1,"router-outlet")),e&2&&y("ngIf",i.loading.loading())},dependencies:[sc,yS,vt],styles:[".loading-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000073;backdrop-filter:blur(3px);display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:500}.spinner[_ngcontent-%COMP%]{width:60px;height:60px;border:6px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:_ngcontent-%COMP%_spin .9s linear infinite}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}.loading-text[_ngcontent-%COMP%]{color:#fff;margin-top:15px;font-size:18px;font-weight:500;letter-spacing:1px}"],changeDetection:0})};function Lj(t,n){t&1&&(m(0,"div",9),E(1,"mat-progress-spinner",10),u())}var Sp=class t{constructor(n,e,i,r){this.api=n;this.auth=e;this.response=i;this.router=r}email="";password="";loading=!1;extractTokens(n){return{token:n?.token||n?.data?.token||n?.access_token||n?.data?.access_token||null,refreshToken:n?.refresh_token||n?.data?.refresh_token||n?.refreshToken||n?.data?.refreshToken||null}}submit(){this.loading=!0,this.api.login({email:this.email,password:this.password}).subscribe({next:n=>{this.loading=!1;let{token:e,refreshToken:i}=this.extractTokens(n);if(!e){this.response.notify({error:"Token tidak ditemukan dari server."});return}this.auth.setTokens(e,i||""),this.response.notify({success:"Login berhasil!"}),this.router.navigate(["/user"],{replaceUrl:!0})},error:n=>{this.loading=!1,this.response.notify({error:n?.error?.message||"Terjadi kesalahan saat login.",details:n?.error?.errors||null})}})}static \u0275fac=function(e){return new(e||t)(ee(Mr),ee(Sr),ee(Ot),ee(Me))};static \u0275cmp=P({type:t,selectors:[["app-login"]],decls:16,vars:4,consts:[[1,"login-container"],[1,"mb-3"],[3,"ngSubmit"],["appearance","outline",1,"full-width"],["matInput","","type","email","name","email","required","",3,"ngModelChange","ngModel"],["appearance","outline",1,"full-width","mt-3"],["matInput","","type","password","name","password","required","",3,"ngModelChange","ngModel"],["mat-raised-button","","color","primary",1,"full-width","mt-4",3,"disabled"],["class","spinner-center",4,"ngIf"],[1,"spinner-center"],["mode","indeterminate","diameter","40"]],template:function(e,i){e&1&&(m(0,"div",0)(1,"h2",1),v(2,"Login"),u(),m(3,"mat-card")(4,"form",2),O("ngSubmit",function(){return i.submit()}),m(5,"mat-form-field",3)(6,"mat-label"),v(7,"Email"),u(),m(8,"input",4),_t("ngModelChange",function(o){return wt(i.email,o)||(i.email=o),o}),u()(),m(9,"mat-form-field",5)(10,"mat-label"),v(11,"Password"),u(),m(12,"input",6),_t("ngModelChange",function(o){return wt(i.password,o)||(i.password=o),o}),u()(),m(13,"button",7),v(14," Login "),u(),k(15,Lj,2,0,"div",8),u()()()),e&2&&(f(8),gt("ngModel",i.email),f(4),gt("ngModel",i.password),f(),y("disabled",i.loading),f(2),y("ngIf",i.loading))},dependencies:[Dn,xn,jt,tn,Cn,wc,Bn,br,ct,vt,ei,Er,Dr,Ps,Ns,Fs,vp,En,Ir,xp,Cp],styles:[".login-container[_ngcontent-%COMP%]{max-width:420px;margin:60px auto;text-align:center}mat-card[_ngcontent-%COMP%]{padding:32px;border-radius:18px;box-shadow:0 8px 25px #00000026}.full-width[_ngcontent-%COMP%]{width:100%}.spinner-center[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:15px}"]})};function Vj(t,n){t&1&&(m(0,"div",11),E(1,"mat-progress-spinner",12),u())}var Mp=class t{constructor(n,e,i){this.api=n;this.response=e;this.router=i}name="";email="";password="";confirm="";loading=!1;submit(){this.loading=!0,this.api.register({name:this.name,email:this.email,password:this.password,password_confirmation:this.confirm}).subscribe({next:()=>{this.loading=!1,this.response.notify({success:"Register berhasil!"}),this.name="",this.email="",this.password="",this.confirm="",setTimeout(()=>{this.router.navigate(["/login"])},1e3)},error:n=>{this.loading=!1,this.response.notify({error:n?.error?.message||"Terjadi kesalahan saat register.",details:n?.errors||null})}})}static \u0275fac=function(e){return new(e||t)(ee(Mr),ee(Ot),ee(Me))};static \u0275cmp=P({type:t,selectors:[["app-register"]],decls:23,vars:6,consts:[[1,"container","mt-5",2,"max-width","450px"],[1,"mb-3","text-center"],[1,"card","p-4","shadow-sm",3,"ngSubmit"],["appearance","outline",1,"full-width"],["matInput","","type","text","name","name","required","",3,"ngModelChange","ngModel"],["matInput","","type","email","name","email","required","",3,"ngModelChange","ngModel"],["appearance","outline",1,"full-width","mt-3"],["matInput","","type","password","name","password","required","",3,"ngModelChange","ngModel"],["matInput","","type","password","name","confirm","required","",3,"ngModelChange","ngModel"],["mat-raised-button","","color","primary",1,"full-width","mt-4",3,"disabled"],["class","spinner-center",4,"ngIf"],[1,"spinner-center"],["mode","indeterminate","diameter","40"]],template:function(e,i){e&1&&(m(0,"div",0)(1,"h2",1),v(2,"Register"),u(),m(3,"form",2),O("ngSubmit",function(){return i.submit()}),m(4,"mat-form-field",3)(5,"mat-label"),v(6,"Name"),u(),m(7,"input",4),_t("ngModelChange",function(o){return wt(i.name,o)||(i.name=o),o}),u()(),m(8,"mat-form-field",3)(9,"mat-label"),v(10,"Email"),u(),m(11,"input",5),_t("ngModelChange",function(o){return wt(i.email,o)||(i.email=o),o}),u()(),m(12,"mat-form-field",6)(13,"mat-label"),v(14,"Password"),u(),m(15,"input",7),_t("ngModelChange",function(o){return wt(i.password,o)||(i.password=o),o}),u()(),m(16,"mat-form-field",6)(17,"mat-label"),v(18,"Password Confirm"),u(),m(19,"input",8),_t("ngModelChange",function(o){return wt(i.confirm,o)||(i.confirm=o),o}),u()(),m(20,"button",9),v(21," Register "),u(),k(22,Vj,2,0,"div",10),u()()),e&2&&(f(7),gt("ngModel",i.name),f(4),gt("ngModel",i.email),f(4),gt("ngModel",i.password),f(4),gt("ngModel",i.confirm),f(),y("disabled",i.loading),f(2),y("ngIf",i.loading))},dependencies:[Dn,xn,jt,tn,Cn,wc,Bn,br,ct,vt,ei,Er,Dr,Ps,Ns,Fs,En,Ir,xp,Cp],styles:[".login-container[_ngcontent-%COMP%]{max-width:420px;margin:60px auto;text-align:center}mat-card[_ngcontent-%COMP%]{padding:32px;border-radius:18px;box-shadow:0 8px 25px #00000026}.full-width[_ngcontent-%COMP%]{width:100%}.spinner-center[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:15px}"]})};var dt=class t{sidebarOpen=ht(window.innerWidth>=992);set(n){this.sidebarOpen.set(n)}toggle(){this.sidebarOpen.update(n=>!n)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})};function Bj(t,n){t&1&&(m(0,"span",21),v(1," Coming Soon "),u())}function jj(t,n){if(t&1){let e=xe();m(0,"li",18)(1,"a",19),O("click",function(r){let o=U(e).$implicit,a=x(3);return $(o.comingSoon?r.preventDefault():a.closeSidebar())}),m(2,"span"),v(3),u(),k(4,Bj,2,0,"span",20),u()()}if(t&2){let e=n.$implicit;f(),F("disabled",e.comingSoon),y("routerLink",e.comingSoon?null:e.link),f(2),I(e.label),f(),y("ngIf",e.comingSoon)}}function Hj(t,n){if(t&1&&(m(0,"ul",16),k(1,jj,5,5,"li",17),u()),t&2){let e=x(),i=e.$implicit,r=e.index,o=x();dn("display",o.openedIndex===r?"block":"none"),f(),y("ngForOf",i.children)}}function zj(t,n){if(t&1){let e=xe();m(0,"li",9)(1,"a",10),O("click",function(){let r=U(e).index,o=x();return $(o.toggleMenu(r))}),m(2,"span",11),E(3,"i"),u(),m(4,"span",12),v(5),u(),m(6,"span",13),E(7,"i",14),u()(),k(8,Hj,2,3,"ul",15),u()}if(t&2){let e=n.$implicit,i=n.index,r=x();F("active",r.openedIndex===i),f(3),at(e.icon),f(2),I(e.label),f(2),F("rotate",r.openedIndex===i),f(),y("ngIf",e.children==null?null:e.children.length)}}var Ut=class t{router=p(Me);renderer=p(He);layout=p(dt);sidebarEl=null;routerSub;openedIndex=null;currentUrl=this.router.url;ngOnInit(){this.initOffcanvas(),this.listenRouteChange(),this.syncActiveMenu()}ngOnDestroy(){this.routerSub?.unsubscribe(),this.removeOffcanvasListeners()}initOffcanvas(){if(this.sidebarEl=document.getElementById("sidebarOffcanvas"),!this.sidebarEl)return;let n=bootstrap.Offcanvas.getInstance(this.sidebarEl);n||(n=new bootstrap.Offcanvas(this.sidebarEl,{scroll:!0,backdrop:!1})),this.layout.sidebarOpen()?setTimeout(()=>n.show(),100):this.cleanBodyStyles(),this.sidebarEl.addEventListener("shown.bs.offcanvas",this.onShown),this.sidebarEl.addEventListener("hidden.bs.offcanvas",this.onHidden)}removeOffcanvasListeners(){this.sidebarEl&&(this.sidebarEl.removeEventListener("shown.bs.offcanvas",this.onShown),this.sidebarEl.removeEventListener("hidden.bs.offcanvas",this.onHidden))}listenRouteChange(){this.routerSub=this.router.events.pipe(ve(n=>n instanceof Bt)).subscribe(n=>{this.currentUrl=n.urlAfterRedirects,this.syncActiveMenu()})}onShown=()=>{this.layout.set(!0),this.cleanBodyStyles()};onHidden=()=>{this.layout.set(!1),this.cleanBodyStyles()};cleanBodyStyles(){let n=document.body;this.renderer.removeStyle(n,"overflow"),this.renderer.removeStyle(n,"padding-right"),this.renderer.removeClass(n,"modal-open"),this.renderer.removeClass(n,"offcanvas-open")}closeSidebar(){let n=document.getElementById("sidebarOffcanvas");bootstrap.Offcanvas.getInstance(n)?.hide()}isActive(n,e){return!n||e?!1:this.currentUrl===n||this.currentUrl.startsWith(n+"/")}isChildActive(n){return!!n?.some(e=>!e.comingSoon&&this.isActive(e.link))}syncActiveMenu(){this.openedIndex=null,this.menuItems.forEach((n,e)=>{this.isChildActive(n.children)&&(this.openedIndex=e)})}toggleMenu(n){this.openedIndex=this.openedIndex===n?null:n}menuItems=[{label:"Dashboard",icon:"ph ph-house-line",children:[{label:"Billboard",link:"/user"},{label:"Current Status",link:"/currentstatus"},{label:"Competitors",comingSoon:!0},{label:"Achievement",comingSoon:!0},{label:"E-mail",comingSoon:!0},{label:"Agenda",comingSoon:!0}]},{label:"Reservation",icon:"ph ph-user",children:[{label:"Reservation",link:"/reservation"},{label:"Custommers",link:"/customer"},{label:"In House",comingSoon:!0},{label:"Checked Out",comingSoon:!0},{label:"Canceled",comingSoon:!0},{label:"Find Folio",comingSoon:!0},{label:"Messange",comingSoon:!0},{label:"New",link:"/reservation/add"}]},{label:"Room Inventory",icon:"ph ph-calendar-dots",children:[{label:"Available",link:"/roominventory"},{label:"On Hand",comingSoon:!0},{label:"Detail",comingSoon:!0},{label:"Block",comingSoon:!0},{label:"MICE",comingSoon:!0},{label:"Today",comingSoon:!0}]},{label:"Host Keeping",icon:"ph ph-house",children:[{label:"Show All",link:"/housekeeping"},{label:"Status Log",comingSoon:!0},{label:"History",comingSoon:!0}]}];static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-sidebar"]],decls:11,vars:1,consts:[["data-bs-scroll","true","data-bs-backdrop","false","tabindex","-1","id","sidebarOffcanvas","aria-labelledby","sidebarOffcanvasLabel",1,"offcanvas","offcanvas-start"],[1,"offcanvas-header"],[1,"offcanvas-title"],["src","assets/images/galesong.png","width","150","height","40"],["type","button",1,"btn","btn-close",3,"click"],[1,"offcanvas-body","navbar-content"],[1,"pc-navbar"],[1,"pc-item","pc-caption"],["class","pc-item pc-hasmenu",3,"active",4,"ngFor","ngForOf"],[1,"pc-item","pc-hasmenu"],[1,"pc-link",3,"click"],[1,"pc-micon"],[1,"pc-mtext"],[1,"pc-arrow"],[1,"ti","ti-chevron-right"],["class","pc-submenu",3,"display",4,"ngIf"],[1,"pc-submenu"],["class","pc-item",4,"ngFor","ngForOf"],[1,"pc-item"],[1,"pc-link","d-flex","justify-content-between","align-items-center",3,"click","routerLink"],["class","badge coming-soon-badge",4,"ngIf"],[1,"badge","coming-soon-badge"]],template:function(e,i){e&1&&(m(0,"nav",0)(1,"div",1)(2,"h5",2),E(3,"img",3),u(),m(4,"button",4),O("click",function(){return i.closeSidebar()}),u()(),m(5,"div",5)(6,"ul",6)(7,"li",7)(8,"label"),v(9,"Navigation"),u()(),k(10,zj,9,8,"li",8),u()()()),e&2&&(f(10),y("ngForOf",i.menuItems))},dependencies:[ia,Cs,ct,Vt,vt],styles:['#sidebarOffcanvas[_ngcontent-%COMP%]{width:260px;background:#263544;color:#fff;padding:0;border-right:none}#sidebarOffcanvas[_ngcontent-%COMP%]   .offcanvas-header[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15)}.offcanvas.offcanvas-start[_ngcontent-%COMP%]{box-shadow:none!important}.pc-navbar[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.pc-caption[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;padding:15px 20px 5px;font-size:11px;text-transform:uppercase;letter-spacing:1px;opacity:.7}.pc-item[_ngcontent-%COMP%]{width:100%}.pc-link[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px 18px;cursor:pointer;text-decoration:none;color:#e9eef7;font-size:14px;transition:.2s ease;border-radius:4px}.pc-link[_ngcontent-%COMP%]:hover{background:#ffffff1f}.pc-link.disabled[_ngcontent-%COMP%]{pointer-events:none;color:#6c757d!important;opacity:.5}.pc-micon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:18px;width:20px;display:inline-block}.pc-arrow[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-left:auto;transition:transform .25s ease}.pc-arrow[_ngcontent-%COMP%]   i.rotate[_ngcontent-%COMP%]{transform:rotate(90deg)}.pc-submenu[_ngcontent-%COMP%]{list-style:none;padding-left:10px;margin:0;background:#ffffff0f;border-left:2px solid rgba(255,255,255,.15)}.pc-submenu[_ngcontent-%COMP%]   .pc-link[_ngcontent-%COMP%]{padding:10px 25px;font-size:13px}.coming-soon-badge[_ngcontent-%COMP%]{background:#ffffff1a;border:1px solid rgba(255,255,255,.25);color:#f1f1f1;font-size:9px;padding:2px 7px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;position:relative;overflow:hidden}.coming-soon-badge[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:-150%;width:200%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.4),transparent);animation:_ngcontent-%COMP%_shimmer 2.5s infinite}@keyframes _ngcontent-%COMP%_shimmer{0%{left:-150%}70%{left:120%}to{left:120%}}.pc-item.active[_ngcontent-%COMP%] > .pc-link[_ngcontent-%COMP%]{background:#ffffff38}.pc-submenu[_ngcontent-%COMP%]   .pc-item.active[_ngcontent-%COMP%] > .pc-link[_ngcontent-%COMP%]{background:#ffffff4d;font-weight:600}']})};var Vs=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},co=class extends Vs{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=o}},wi=class extends Vs{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},kp=class extends Vs{element;constructor(n){super(),this.element=n instanceof X?n.nativeElement:n}},kc=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof co)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof wi)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof kp)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Bs=class extends kc{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(dr,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||Se.NULL,o=r.get(st,i.injector);e=Ku(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var js=(()=>{class t extends kc{_moduleRef=p(dr,{optional:!0});_document=p(oe);_viewContainerRef=p(lt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new B;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Re]})}return t})();var ua=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({})}return t})();var Uj=20,Tc=(()=>{class t{_ngZone=p(K);_platform=p(Ae);_renderer=p(It).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new V;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Uj){return this._platform.isBrowser?new we(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Fd(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):G()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(ve(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=jn(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $j=20,Hs=(()=>{class t{_platform=p(Ae);_listeners;_viewportSize;_change=new V;_document=p(oe,{optional:!0});constructor(){let e=p(K),i=p(It).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,s=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=$j){return e>0?this._change.pipe(Fd(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ci=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({})}return t})(),cb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[Qi,Ci,Qi,Ci]})}return t})();var DS=CI(),Tp=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=bt(-this._previousScrollPosition.left),n.style.top=bt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),DS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),DS&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};var Ap=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ve(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Ac=class{enable(){}disable(){}attach(){}};function db(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return i||r||o||a})}function ES(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return i||r||o||a})}var Rp=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();db(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},AS=(()=>{class t{_scrollDispatcher=p(Tc);_viewportRuler=p(Hs);_ngZone=p(K);_document=p(oe);constructor(){}noop=()=>new Ac;close=e=>new Ap(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Tp(this._viewportRuler,this._document);reposition=e=>new Rp(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uo=class{positionStrategy;scrollStrategy=new Ac;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var Op=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var RS=(()=>{class t{_attachedOverlays=[];_document=p(oe);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OS=(()=>{class t extends RS{_ngZone=p(K);_renderer=p(It).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),NS=(()=>{class t extends RS{_platform=p(Ae);_ngZone=p(K);_renderer=p(It).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[nt(this._renderer,i,"pointerdown",this._pointerDownListener,r),nt(this._renderer,i,"click",this._clickListener,r),nt(this._renderer,i,"auxclick",this._clickListener,r),nt(this._renderer,i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=mn(e)};_clickListener=e=>{let i=mn(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(IS(s.overlayElement,i)||IS(s.overlayElement,r))break;let c=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function IS(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var PS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
`],encapsulation:2,changeDetection:0})}return t})(),FS=(()=>{class t{_platform=p(Ae);_containerElement;_document=p(oe);_styleLoader=p(Ke);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Vv()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Vv()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(PS)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ub=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},Np=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new V;_attachments=new V;_detachments=new V;_positionStrategy;_scrollStrategy;_locationChanges=de.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new V;_outsidePointerEvents=new V;_renders=new V;_afterRenderRef;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,c,g,b=!1,_,D){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=g,this._animationsDisabled=b,this._injector=_,this._renderer=D,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=qn(()=>kl(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=cn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=R(R({},this._config),n),this._updateElementSize()}setDirection(n){this._config=ce(R({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=bt(this._config.width),n.height=bt(this._config.height),n.minWidth=bt(this._config.minWidth),n.minHeight=bt(this._config.minHeight),n.maxWidth=bt(this._config.maxWidth),n.maxHeight=bt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ub(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=Ms(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(Ie(Kt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},SS="cdk-overlay-connected-position-bounding-box",Wj=/([A-Za-z%]+)$/,Rc=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new V;_resizeSubscription=de.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(SS),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,r,s),g=this._getOverlayPoint(c,e,s),b=this._getOverlayFit(g,e,i,s);if(b.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(b,g,i)){o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleArea<b.visibleArea)&&(a={overlayFit:b,overlayPoint:g,originPoint:c,position:s,overlayRect:e})}if(o.length){let s=null,c=-1;for(let g of o){let b=g.boundingBoxRect.width*g.boundingBoxRect.height*(g.position.weight||1);b>c&&(c=b,s=g)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ma(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(SS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=kS(e),{x:a,y:s}=n,c=this._getOffset(r,"x"),g=this._getOffset(r,"y");c&&(a+=c),g&&(s+=g);let b=0-a,_=a+o.width-i.width,D=0-s,C=s+o.height-i.height,S=this._subtractOverflows(o.width,b,_),N=this._subtractOverflows(o.height,D,C),L=S*N;return{visibleArea:L,isCompletelyWithinViewport:o.width*o.height===L,fitsInViewportVertically:N===o.height,fitsInViewportHorizontally:S==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,a=MS(this._overlayRef.getConfig().minHeight),s=MS(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=r,g=n.fitsInViewportHorizontally||s!=null&&s<=o;return c&&g}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=kS(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),c=Math.max(o.top-i.top-n.y,0),g=Math.max(o.left-i.left-n.x,0),b=0,_=0;return r.width<=o.width?b=g||-a:b=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?_=c||-s:_=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:b,y:_},{x:n.x+b,y:n.y+_}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!Gj(this._lastScrollVisibility,i)){let r=new Op(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=n.y,o=i.height-a+this._viewportMargin;else if(e.overlayY==="bottom")s=i.height-n.y+this._viewportMargin*2,o=i.height-s+this._viewportMargin;else{let C=Math.min(i.bottom-n.y+i.top,n.y),S=this._lastBoundingBoxSize.height;o=C*2,a=n.y-C,o>S&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-S/2)}let c=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,g=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,b,_,D;if(g)D=i.width-n.x+this._viewportMargin*2,b=n.x-this._viewportMargin;else if(c)_=n.x,b=i.right-n.x;else{let C=Math.min(i.right-n.x+i.left,n.x),S=this._lastBoundingBoxSize.width;b=C*2,_=n.x-C,b>S&&!this._isInitialRender&&!this._growAfterOpen&&(_=n.x-S/2)}return{top:a,left:_,bottom:s,right:D,width:b,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=bt(i.height),r.top=bt(i.top),r.bottom=bt(i.bottom),r.width=bt(i.width),r.left=bt(i.left),r.right=bt(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=bt(o)),a&&(r.maxWidth=bt(a))}this._lastBoundingBoxSize=i,ma(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ma(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ma(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let b=this._viewportRuler.getViewportScrollPosition();ma(i,this._getExactOverlayY(e,n,b)),ma(i,this._getExactOverlayX(e,n,b))}else i.position="static";let s="",c=this._getOffset(e,"x"),g=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),g&&(s+=`translateY(${g}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=bt(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=bt(a.maxWidth):o&&(i.maxWidth="")),ma(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=bt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=bt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ES(n,i),isOriginOutsideView:db(n,i),isOverlayClipped:ES(e,i),isOverlayOutsideView:db(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ms(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof X)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};function ma(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function MS(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Wj);return!e||e==="px"?parseFloat(n):null}return t||null}function kS(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function Gj(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var TS="cdk-global-overlay-wrapper",Pp=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(TS),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,c=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),g=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),b=this._xPosition,_=this._xOffset,D=this._overlayRef.getConfig().direction==="rtl",C="",S="",N="";c?N="flex-start":b==="center"?(N="center",D?S=_:C=_):D?b==="left"||b==="end"?(N="flex-end",C=_):(b==="right"||b==="start")&&(N="flex-start",S=_):b==="left"||b==="start"?(N="flex-start",C=_):(b==="right"||b==="end")&&(N="flex-end",S=_),n.position=this._cssPosition,n.marginLeft=c?"0":C,n.marginTop=g?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":S,e.justifyContent=N,e.alignItems=g?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(TS),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},LS=(()=>{class t{_viewportRuler=p(Hs);_document=p(oe);_platform=p(Ae);_overlayContainer=p(FS);constructor(){}global(){return new Pp}flexibleConnectedTo(e){return new Rc(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nt=(()=>{class t{scrollStrategies=p(AS);_overlayContainer=p(FS);_positionBuilder=p(LS);_keyboardDispatcher=p(OS);_injector=p(Se);_ngZone=p(K);_document=p(oe);_directionality=p(Ht);_location=p(ji);_outsideClickDispatcher=p(NS);_animationsModuleType=p(et,{optional:!0});_idGenerator=p(it);_renderer=p(It).createRenderer(null,null);_appRef;_styleLoader=p(Ke);constructor(){}create(e){this._styleLoader.load(PS);let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new uo(e);return a.direction=a.direction||this._directionality.value,new Np(o,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(st),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Pn)),new Bs(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qj=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],VS=new T("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Nt);return()=>t.scrollStrategies.reposition()}}),zs=(()=>{class t{elementRef=p(X);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Fp=(()=>{class t{_overlay=p(Nt);_dir=p(Ht,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=de.EMPTY;_attachSubscription=de.EMPTY;_detachSubscription=de.EMPTY;_positionSubscription=de.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=p(VS);_disposeOnNavigation=!1;_ngZone=p(K);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new B;positionChange=new B;attach=new B;detach=new B;overlayKeydown=new B;overlayOutsideClick=new B;constructor(){let e=p(ft),i=p(lt);this._templatePortal=new wi(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qj);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!zt(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=mn(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new uo({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof zs?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof zs?this.origin.elementRef.nativeElement:this.origin instanceof X?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(nh(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",J],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",J],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",J],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",J],push:[2,"cdkConnectedOverlayPush","push",J],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",J]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[je]})}return t})();function Yj(t){return()=>t.scrollStrategies.reposition()}var Kj={provide:VS,deps:[Nt],useFactory:Yj},kr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[Nt,Kj],imports:[Qi,ua,cb,cb]})}return t})();var Zj=["mat-menu-item",""],Qj=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Xj=["mat-icon, [matMenuItemIcon]","*"];function Jj(t,n){t&1&&(St(),m(0,"svg",2),E(1,"polygon",3),u())}var e3=["*"];function t3(t,n){if(t&1){let e=xe();m(0,"div",0),O("click",function(){U(e);let r=x();return $(r.closed.emit("click"))})("animationstart",function(r){U(e);let o=x();return $(o._onAnimationStart(r.animationName))})("animationend",function(r){U(e);let o=x();return $(o._onAnimationDone(r.animationName))})("animationcancel",function(r){U(e);let o=x();return $(o._onAnimationDone(r.animationName))}),m(1,"div",1),le(2),u()()}if(t&2){let e=x();at(e._classList),F("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating),y("id",e.panelId),Z("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var pb=new T("MAT_MENU_PANEL"),Nc=(()=>{class t{_elementRef=p(X);_document=p(oe);_focusMonitor=p(yi);_parentMenu=p(pb,{optional:!0});_changeDetectorRef=p(ke);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new V;_focused=new V;_highlighted=!1;_triggersSubmenu=!1;constructor(){p(Ke).load(ni),this._parentMenu?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<i.length;r++)i[r].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(i,r){i&1&&O("click",function(a){return r._checkDisabled(a)})("mouseenter",function(){return r._handleMouseEnter()}),i&2&&(Z("role",r.role)("tabindex",r._getTabIndex())("aria-disabled",r.disabled)("disabled",r.disabled||null),F("mat-mdc-menu-item-highlighted",r._highlighted)("mat-mdc-menu-item-submenu-trigger",r._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",J],disableRipple:[2,"disableRipple","disableRipple",J]},exportAs:["matMenuItem"],attrs:Zj,ngContentSelectors:Xj,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(i,r){i&1&&(Oe(Qj),le(0),m(1,"span",0),le(2,1),u(),E(3,"div",1),k(4,Jj,2,0,":svg:svg",2)),i&2&&(f(3),y("matRippleDisabled",r.disableRipple||r.disabled)("matRippleTrigger",r._getHostElement()),f(),he(r._triggersSubmenu?4:-1))},dependencies:[so],encapsulation:2,changeDetection:0})}return t})();var n3=new T("MatMenuContent");var i3=new T("mat-menu-default-options",{providedIn:"root",factory:r3});function r3(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var mb="_mat-menu-enter",Lp="_mat-menu-exit",Us=(()=>{class t{_elementRef=p(X);_changeDetectorRef=p(ke);_injector=p(Se);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled;_allItems;_directDescendantItems=new Nn;_classList={};_panelAnimationState="void";_animationDone=new V;_isAnimating=!1;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let i=this._previousPanelClass,r=R({},this._classList);i&&i.length&&i.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new B;close=this.closed;panelId=p(it).getId("mat-menu-panel-");constructor(){let e=p(i3);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop,this._animationsDisabled=p(et,{optional:!0})==="NoopAnimations"}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new da(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Qe(this._directDescendantItems),Xe(e=>Kt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Qe(this._directDescendantItems),Xe(i=>Kt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:zt(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=cn(()=>{let i=this._resolvePanel();if(!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=ce(R({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let i=e===Lp;(i||e===mb)&&(i&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(i?"void":"enter"),this._isAnimating=!1)}_onAnimationStart(e){(e===mb||e===Lp)&&(this._isAnimating=!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let i=this._resolvePanel();i&&(i.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Lp),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?mb:Lp)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Qe(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-menu"]],contentQueries:function(i,r,o){if(i&1&&($e(o,n3,5),$e(o,Nc,5),$e(o,Nc,4)),i&2){let a;te(a=ne())&&(r.lazyContent=a.first),te(a=ne())&&(r._allItems=a),te(a=ne())&&(r.items=a)}},viewQuery:function(i,r){if(i&1&&Ee(ft,5),i&2){let o;te(o=ne())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(i,r){i&2&&Z("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",J],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:J(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Fe([{provide:pb,useExisting:t}])],ngContentSelectors:e3,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(i,r){i&1&&(Oe(),k(0,t3,3,12,"ng-template"))},styles:[`mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}
`],encapsulation:2,changeDetection:0})}return t})(),BS=new T("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Nt);return()=>t.scrollStrategies.reposition()}});function o3(t){return()=>t.scrollStrategies.reposition()}var a3={provide:BS,deps:[Nt],useFactory:o3},s3={passive:!0};var Oc=new WeakMap,jS=(()=>{class t{_overlay=p(Nt);_element=p(X);_viewContainerRef=p(lt);_menuItemInstance=p(Nc,{optional:!0,self:!0});_dir=p(Ht,{optional:!0});_focusMonitor=p(yi);_ngZone=p(K);_scrollStrategy=p(BS);_changeDetectorRef=p(ke);_cleanupTouchstart;_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=de.EMPTY;_hoverSubscription=de.EMPTY;_menuCloseSubscription=de.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new B;onMenuOpen=this.menuOpened;menuClosed=new B;onMenuClose=this.menuClosed;constructor(){let e=p(pb,{optional:!0}),i=p(He);this._parentMaterialMenu=e instanceof Us?e:void 0,this._cleanupTouchstart=nt(i,this._element.nativeElement,"touchstart",r=>{la(r)||(this._openedBy="touch")},s3)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this.menu&&this._ownsMenu(this.menu)&&Oc.delete(this.menu),this._cleanupTouchstart(),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;this._pendingRemoval?.unsubscribe();let i=Oc.get(e);Oc.set(e,this),i&&i!==this&&i.closeMenu();let r=this._createOverlay(e),o=r.getConfig(),a=o.positionStrategy;this._setPosition(e,a),o.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,r.hasAttached()||(r.attach(this._getPortal(e)),e.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),e instanceof Us&&(e._setIsOpen(!0),e._directDescendantItems.changes.pipe(Ie(e.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){let i=this._overlayRef,r=this._menu;!i||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof Us&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(Lt(1)).subscribe(()=>{i.detach(),r.lazyContent?.detach()}),r._setIsOpen(!1)):(i.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&Oc.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe(r=>{this.menu instanceof Us&&this.menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new uo({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a)})})}_setPosition(e,i){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,g]=[a,s],[b,_]=[r,o],D=0;if(this.triggersSubmenu()){if(_=r=e.xPosition==="before"?"start":"end",o=b=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let C=this._parentMaterialMenu.items.first;this._parentInnerPadding=C?C._getHostElement().offsetTop:0}D=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c=a==="top"?"bottom":"top",g=s==="top"?"bottom":"top");i.withPositions([{originX:r,originY:c,overlayX:b,overlayY:a,offsetY:D},{originX:o,originY:c,overlayX:_,overlayY:a,offsetY:D},{originX:r,originY:g,overlayX:b,overlayY:s,offsetY:-D},{originX:o,originY:g,overlayX:_,overlayY:s,offsetY:-D}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:G(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ve(a=>this._menuOpen&&a!==this._menuItemInstance)):G();return Kt(e,r,o,i)}_handleMousedown(e){sa(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&(this._openedBy="mouse",this.openMenu())}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new wi(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return Oc.get(e)===this}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&O("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),i&2&&Z("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return t})(),HS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[a3],imports:[lo,se,kr,Ci,se]})}return t})(),zS={transformMenu:{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null}},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},fadeInItems:{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null}},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}},Vie=zS.fadeInItems,Bie=zS.transformMenu;var Vp;function c3(){if(Vp===void 0&&(Vp=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Vp=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Vp}function Pc(t){return c3()?.createHTML(t)||t}function US(t){return Error(`Unable to find icon with the name "${t}"`)}function d3(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function $S(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function WS(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Tr=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},qS=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Tr(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let a=this._sanitizer.sanitize(en.HTML,r);if(!a)throw WS(r);let s=Pc(a);return this._addSvgIconConfig(e,i,new Tr("",s,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Tr(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(en.HTML,i);if(!o)throw WS(i);let a=Pc(o);return this._addSvgIconSetConfig(e,new Tr("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(en.RESOURCE_URL,e);if(!i)throw $S(e);let r=this._cachedIconsByUrl.get(i);return r?G(Bp(r)):this._loadSvgIconFromConfig(new Tr(e,null)).pipe(qe(o=>this._cachedIconsByUrl.set(i,o)),re(o=>Bp(o)))}getNamedSvgIcon(e,i=""){let r=GS(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):ai(US(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?G(Bp(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(re(i=>Bp(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return G(r);let o=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Zt(s=>{let g=`Loading icon set URL: ${this._sanitizer.sanitize(en.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(g)),G(null)})));return ml(o).pipe(re(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw US(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(qe(i=>e.svgText=i),re(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?G(null):this._fetchIcon(e).pipe(qe(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(Pc("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Pc("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:a,value:s}=r[o];a!=="id"&&i.setAttribute(a,s)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw d3();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(en.RESOURCE_URL,i);if(!a)throw $S(i);let s=this._inProgressUrlFetches.get(a);if(s)return s;let c=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(re(g=>Pc(g)),Un(()=>this._inProgressUrlFetches.delete(a)),pl());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(GS(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return u3(o)?new Tr(o.url,null,o.options):new Tr(o,null)}}static \u0275fac=function(i){return new(i||t)(Q(Ko,8),Q(Y_),Q(oe,8),Q(ln))};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Bp(t){return t.cloneNode(!0)}function GS(t,n){return t+":"+n}function u3(t){return!!(t.url&&t.options)}var m3=["*"],p3=new T("MAT_ICON_DEFAULT_OPTIONS"),f3=new T("mat-icon-location",{providedIn:"root",factory:h3});function h3(){let t=p(oe),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var YS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],g3=YS.map(t=>`[${t}]`).join(", "),_3=/^url\(['"]?#(.*?)['"]?\)$/,jp=(()=>{class t{_elementRef=p(X);_iconRegistry=p(qS);_location=p(f3);_errorHandler=p(ln);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=de.EMPTY;constructor(){let e=p(new Oi("aria-hidden"),{optional:!0}),i=p(p3,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(g3),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)YS.forEach(a=>{let s=i[o],c=s.getAttribute(a),g=c?c.match(_3):null;if(g){let b=r.get(s);b||(b=[],r.set(s,b)),b.push({name:a,value:g[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Lt(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(Z("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),at(r.color?"mat-"+r.color:""),F("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",J],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:m3,decls:1,vars:0,template:function(i,r){i&1&&(Oe(),le(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
`],encapsulation:2,changeDetection:0})}return t})(),$s=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,se]})}return t})();var $t=class t{router=p(Me);layout=p(dt);api=p(Mr);pageTitle=ht("Dashboard");constructor(){this.router.events.pipe(ve(n=>n instanceof Bt)).subscribe(n=>{this.pageTitle.set(this.resolveTitle(n.urlAfterRedirects))})}resolveTitle(n){return n.startsWith("/reservation/add")?"Add Reservation":n.startsWith("/reservation")?"Reservation":n.startsWith("/customer")?"Customers":n.startsWith("/roominventory")?"Room Inventory":n.startsWith("/housekeeping")?"House Keeping":(n.startsWith("/user"),"Dashboard")}logout(){let n=()=>{localStorage.removeItem("token"),localStorage.removeItem("refresh_token"),this.router.navigate(["/login"],{replaceUrl:!0})};this.api.logout().subscribe({next:n,error:n})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-header"]],decls:20,vars:4,consts:[["menu","matMenu"],[1,"pc-header"],[1,"header-wrapper"],[1,"me-auto","d-flex","align-items-center","gap-3"],["data-bs-toggle","offcanvas","data-bs-target","#sidebarOffcanvas",1,"pc-head-link"],[1,"ph","ph-list","icon"],[1,"mb-0","fw-semibold"],[1,"ms-auto"],[1,"list-unstyled"],[1,"pc-h-item"],["mat-button","","aria-label","User Menu Trigger",1,"pc-head-link","custom-menu-trigger",3,"matMenuTriggerFor"],[1,"ph","ph-user","icon","fs-3"],[1,"custom-user-menu"],["mat-menu-item",""],[1,"ph","ph-gear","me-2"],["mat-menu-item","",3,"click"],[1,"ph","ph-sign-out","me-2"]],template:function(e,i){if(e&1){let r=xe();m(0,"header",1)(1,"div",2)(2,"div",3)(3,"a",4),E(4,"i",5),u(),m(5,"h5",6),v(6),u()(),m(7,"div",7)(8,"ul",8)(9,"li",9)(10,"a",10),E(11,"i",11),u(),m(12,"mat-menu",12,0)(14,"a",13),E(15,"i",14),v(16," Settings "),u(),m(17,"a",15),O("click",function(){return U(r),$(i.logout())}),E(18,"i",16),v(19," Logout "),u()()()()()()()}if(e&2){let r=yt(13);F("sidebar-closed",!i.layout.sidebarOpen()),f(6),ae(" ",i.pageTitle()," "),f(4),y("matMenuTriggerFor",r)}},dependencies:[ia,HS,Us,Nc,jS,En,_S,$s],styles:[".icon[_ngcontent-%COMP%], .icon[_ngcontent-%COMP%]:hover{color:#00f}"]})};var Wt=class t{static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-footer"]],decls:19,vars:0,consts:[[1,"pc-footer"],[1,"footer-wrapper","container-fluid"],[1,"row"],[1,"col","my-1"],[1,"m-0"],["href","/","target","_blank"],[1,"col-md-auto","my-1"],[1,"list-inline","footer-link","mb-0"],[1,"list-inline-item"],["routerLink","/"]],template:function(e,i){e&1&&(m(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"p",4),v(5,"Admindek by "),m(6,"a",5),v(7,"DashboardPack"),u()()(),m(8,"div",6)(9,"ul",7)(10,"li",8)(11,"a",9),v(12,"Home"),u()(),m(13,"li",8)(14,"a",5),v(15,"Documentation"),u()(),m(16,"li",8)(17,"a",5),v(18,"Support"),u()()()()()()())},dependencies:[ia,Cs],encapsulation:2})};var KS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,se]})}return t})();var ZS=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se,se]})}return t})();var Hp=class t{layout=p(dt);api=p(ii);router=p(Me);ngOnInit(){}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-home"]],decls:21,vars:2,consts:[[1,"pc-container"],[1,"pc-content"],[1,"row"],[1,"col-sm-12"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"flex","items-center","gap-4"],["color","primary",2,"font-size","40px"],[1,"card-title"]],template:function(e,i){e&1&&(E(0,"app-sidebar")(1,"app-header"),m(2,"div",0)(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"h5"),v(9,"Hello Everyone"),u()(),E(10,"div",6),u()()(),m(11,"mat-card")(12,"div",7)(13,"mat-icon",8),v(14,"home"),u(),m(15,"div")(16,"div",9),v(17,"Selamat Datang!"),u(),m(18,"p"),v(19,"Anda berhasil login ke dashboard Anda."),u()()()()()(),E(20,"app-footer")),e&2&&(f(2),F("sidebar-closed",!i.layout.sidebarOpen()))},dependencies:[KS,Fs,vp,En,$s,jp,ZS,Ut,$t,Wt],styles:[".layout-container[_ngcontent-%COMP%]{height:100vh}.sidebar-drawer[_ngcontent-%COMP%]{width:240px;background:#1c4ea5;color:#fff}.pc-container[_ngcontent-%COMP%]{padding:20px}.pc-content[_ngcontent-%COMP%]{padding-bottom:40px}"]})};var Fc=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new V;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var QS=(()=>{class t{_animationMode=p(et,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&F("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
`],encapsulation:2,changeDetection:0})}return t})();var b3=["text"],y3=[[["mat-icon"]],"*"],w3=["mat-icon","*"];function C3(t,n){if(t&1&&E(0,"mat-pseudo-checkbox",1),t&2){let e=x();y("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function x3(t,n){if(t&1&&E(0,"mat-pseudo-checkbox",3),t&2){let e=x();y("disabled",e.disabled)}}function D3(t,n){if(t&1&&(m(0,"span",4),v(1),u()),t&2){let e=x();f(),ae("(",e.group.label,")")}}var hb=new T("MAT_OPTION_PARENT_COMPONENT"),gb=new T("MatOptgroup");var fb=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},zp=(()=>{class t{_element=p(X);_changeDetectorRef=p(ke);_parent=p(hb,{optional:!0});group=p(gb,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=p(it).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new B;_text;_stateChanges=new V;constructor(){let e=p(Ke);e.load(ni),e.load(Jn),this._signalDisableRipple=!!this._parent&&qr(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!zt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new fb(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Ee(b3,7),i&2){let o;te(o=ne())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&O("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),i&2&&(qt("id",r.id),Z("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),F("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",J]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:w3,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Oe(y3),k(0,C3,1,2,"mat-pseudo-checkbox",1),le(1),m(2,"span",2,0),le(4,1),u(),k(5,x3,1,1,"mat-pseudo-checkbox",3)(6,D3,2,1,"span",4),E(7,"div",5)),i&2&&(he(r.multiple?0:-1),f(5),he(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),f(),he(r.group&&r.group._inert?6:-1),f(),y("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[QS,so],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0})}return t})();function XS(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let a=0;a<t+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}function JS(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var eM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[se]})}return t})();var _b=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[lo,se,eM]})}return t})();var E3=["trigger"],I3=["panel"],S3=[[["mat-select-trigger"]],"*"],M3=["mat-select-trigger","*"];function k3(t,n){if(t&1&&(m(0,"span",4),v(1),u()),t&2){let e=x();f(),I(e.placeholder)}}function T3(t,n){t&1&&le(0)}function A3(t,n){if(t&1&&(m(0,"span",11),v(1),u()),t&2){let e=x(2);f(),I(e.triggerValue)}}function R3(t,n){if(t&1&&(m(0,"span",5),k(1,T3,1,0)(2,A3,2,1,"span",11),u()),t&2){let e=x();f(),he(e.customTrigger?1:2)}}function O3(t,n){if(t&1){let e=xe();m(0,"div",12,1),O("keydown",function(r){U(e);let o=x();return $(o._handleKeydown(r))}),le(2,1),u()}if(t&2){let e=x();qu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),F("mat-select-panel-animations-enabled",!e._animationsDisabled),y("ngClass",e.panelClass),Z("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var tM=new T("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Nt);return()=>t.scrollStrategies.reposition()}});function N3(t){return()=>t.scrollStrategies.reposition()}var P3=new T("MAT_SELECT_CONFIG"),F3={provide:tM,deps:[Nt],useFactory:N3},L3=new T("MatSelectTrigger"),vb=class{source;value;constructor(n,e){this.source=n,this.value=e}},nM=(()=>{class t{_viewportRuler=p(Hs);_changeDetectorRef=p(ke);_elementRef=p(X);_dir=p(Ht,{optional:!0});_idGenerator=p(it);_renderer=p(He);_parentFormField=p(Rs,{optional:!0});ngControl=p(_i,{self:!0,optional:!0});_liveAnnouncer=p(Wv);_defaultOptions=p(P3,{optional:!0});_animationsDisabled=p(et,{optional:!0})==="NoopAnimations";_initialized=new V;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=XS(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=JS(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new vb(this,e)}_scrollStrategyFactory=p(tM);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new V;_errorStateTracker;stateChanges=new V;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Rt.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Aa(()=>{let e=this.options;return e?e.changes.pipe(Qe(e),Xe(()=>Kt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Xe(()=>this.optionSelectionChanges))});openedChange=new B;_openedStream=this.openedChange.pipe(ve(e=>e),re(()=>{}));_closedStream=this.openedChange.pipe(ve(e=>!e),re(()=>{}));selectionChange=new B;valueChange=new B;constructor(){let e=p(ao),i=p(br,{optional:!0}),r=p(un,{optional:!0}),o=p(new Oi("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Os(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Fc(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ie(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ie(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Qe(null),Ie(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Lt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&gp(this._trackedModal,"aria-owns",i),Kv(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;gp(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!zt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!zt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!zt(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof zs?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ec(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Kt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ie(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Kt(...this.options.map(i=>i._stateChanges)).pipe(Ie(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&($e(o,L3,5),$e(o,zp,5),$e(o,gb,5)),i&2){let a;te(a=ne())&&(r.customTrigger=a.first),te(a=ne())&&(r.options=a),te(a=ne())&&(r.optionGroups=a)}},viewQuery:function(i,r){if(i&1&&(Ee(E3,5),Ee(I3,5),Ee(Fp,5)),i&2){let o;te(o=ne())&&(r.trigger=o.first),te(o=ne())&&(r.panel=o.first),te(o=ne())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&O("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(Z("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),F("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",J],disableRipple:[2,"disableRipple","disableRipple",J],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Tt(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",J],placeholder:"placeholder",required:[2,"required","required",J],multiple:[2,"multiple","multiple",J],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",J],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Tt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",J]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Fe([{provide:As,useExisting:t},{provide:hb,useExisting:t}]),je],ngContentSelectors:M3,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=xe();Oe(S3),m(0,"div",2,0),O("click",function(){return U(o),$(r.open())}),m(3,"div",3),k(4,k3,2,1,"span",4)(5,R3,3,1,"span",5),u(),m(6,"div",6)(7,"div",7),St(),m(8,"svg",8),E(9,"path",9),u()()()(),k(10,O3,3,10,"ng-template",10),O("detach",function(){return U(o),$(r.close())})("backdropClick",function(){return U(o),$(r.close())})("overlayKeydown",function(s){return U(o),$(r._handleOverlayKeydown(s))})}if(i&2){let o=yt(1);f(3),Z("id",r._valueId),f(),he(r.empty?4:5),f(6),y("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[zs,Fp,Go],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
`],encapsulation:2,changeDetection:0})}return t})();var iM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[F3],imports:[kr,_b,se,Ci,ei,_b,se]})}return t})();var V3=["tooltip"],aM=20;var sM=new T("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Nt);return()=>t.scrollStrategies.reposition({scrollThrottle:aM})}});function B3(t){return()=>t.scrollStrategies.reposition({scrollThrottle:aM})}var j3={provide:sM,deps:[Nt],useFactory:B3};function H3(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var z3=new T("mat-tooltip-default-options",{providedIn:"root",factory:H3});var rM="tooltip-panel",oM=ro({passive:!0}),U3=8,$3=8,W3=24,G3=200,lM=(()=>{class t{_elementRef=p(X);_ngZone=p(K);_platform=p(Ae);_ariaDescriber=p(WI);_focusMonitor=p(yi);_dir=p(Ht);_injector=p(Se);_viewContainerRef=p(lt);_defaultOptions=p(z3,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=q3;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Xi(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Xi(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ss(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ss(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new V;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=U3}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ie(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,oM)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new co(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Ie(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof X)return this._overlayRef;this._detach()}let i=this._injector.get(Tc).getAncestorScrollContainers(this._elementRef),r=this._injector.get(Nt),o=r.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ie(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=r.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${rM}`,scrollStrategy:this._injector.get(sM)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ie(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ie(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ie(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!zt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ie(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(R(R({},r.main),o.main)),this._addOffset(R(R({},r.fallback),o.fallback))])}_addOffset(e){let i=$3,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),cn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=i==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${rM}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,oM)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(oe).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||cn({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&F("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),q3=(()=>{class t{_changeDetectorRef=p(ke);_elementRef=p(X);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new V;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=p(et,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>W3&&e.width>=G3}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Ee(V3,7),i&2){let o;te(o=ne())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&O("mouseleave",function(a){return r._handleMouseLeave(a)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=xe();m(0,"div",1,0),O("animationend",function(s){return U(o),$(r._handleAnimationEnd(s))}),m(2,"div",2),v(3),u()()}i&2&&(F("mdc-tooltip--multiline",r._isMultiline),y("ngClass",r.tooltipClass),f(3),I(r.message))},dependencies:[Go],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
`],encapsulation:2,changeDetection:0})}return t})(),cM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[j3],imports:[Dc,kr,se,se,Ci]})}return t})();function Y3(t,n){if(t&1&&(m(0,"mat-option",17),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),ae(" ",e," ")}}function K3(t,n){if(t&1){let e=xe();m(0,"mat-form-field",14)(1,"mat-select",16,0),O("selectionChange",function(r){U(e);let o=x(2);return $(o._changePageSize(r.value))}),Li(3,Y3,2,2,"mat-option",17,rs),u(),m(5,"div",18),O("click",function(){U(e);let r=yt(2);return $(r.open())}),u()()}if(t&2){let e=x(2);y("appearance",e._formFieldAppearance)("color",e.color),f(),y("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),f(2),Vi(e._displayedPageSizeOptions)}}function Z3(t,n){if(t&1&&(m(0,"div",15),v(1),u()),t&2){let e=x(2);f(),I(e.pageSize)}}function Q3(t,n){if(t&1&&(m(0,"div",3)(1,"div",13),v(2),u(),k(3,K3,6,7,"mat-form-field",14)(4,Z3,2,1,"div",15),u()),t&2){let e=x();f(),Z("id",e._pageSizeLabelId),f(),ae(" ",e._intl.itemsPerPageLabel," "),f(),he(e._displayedPageSizeOptions.length>1?3:-1),f(),he(e._displayedPageSizeOptions.length<=1?4:-1)}}function X3(t,n){if(t&1){let e=xe();m(0,"button",19),O("click",function(){U(e);let r=x();return $(r._buttonClicked(0,r._previousButtonsDisabled()))}),St(),m(1,"svg",8),E(2,"path",20),u()()}if(t&2){let e=x();y("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),Z("aria-label",e._intl.firstPageLabel)}}function J3(t,n){if(t&1){let e=xe();m(0,"button",21),O("click",function(){U(e);let r=x();return $(r._buttonClicked(r.getNumberOfPages()-1,r._nextButtonsDisabled()))}),St(),m(1,"svg",8),E(2,"path",22),u()()}if(t&2){let e=x();y("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),Z("aria-label",e._intl.lastPageLabel)}}var Up=(()=>{class t{changes=new V;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,i,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let o=e*i,a=o<r?Math.min(o+i,r):o+i;return`${o+1} \u2013 ${a} of ${r}`};static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function eH(t){return t||new Up}var tH={provide:Up,deps:[[new Pi,new $r,Up]],useFactory:eH},nH=50;var iH=new T("MAT_PAGINATOR_DEFAULT_OPTIONS"),Ar=(()=>{class t{_intl=p(Up);_changeDetectorRef=p(ke);_formFieldAppearance;_pageSizeLabelId=p(it).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new wo(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Tt(i,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new B;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,i=p(iH,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){let{pageSize:r,pageSizeOptions:o,hidePageSize:a,showFirstLastButtons:s}=i;r!=null&&(this._pageSize=r),o!=null&&(this._pageSizeOptions=o),a!=null&&(this.hidePageSize=a),s!=null&&(this.showFirstLastButtons=s)}this._formFieldAppearance=i?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndex<e&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){let i=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(i/e)||0,this.pageSize=e,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:nH),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,i)=>e-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let i=this.pageIndex;e!==i&&(this.pageIndex=e,this._emitPageEvent(i))}_buttonClicked(e,i){i||this._navigate(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Tt],length:[2,"length","length",Tt],pageSize:[2,"pageSize","pageSize",Tt],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",J],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",J],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",J]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,r){i&1&&(m(0,"div",1)(1,"div",2),k(2,Q3,5,4,"div",3),m(3,"div",4)(4,"div",5),v(5),u(),k(6,X3,3,5,"button",6),m(7,"button",7),O("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),St(),m(8,"svg",8),E(9,"path",9),u()(),fr(),m(10,"button",10),O("click",function(){return r._buttonClicked(r.pageIndex+1,r._nextButtonsDisabled())}),St(),m(11,"svg",8),E(12,"path",11),u()(),k(13,J3,3,5,"button",12),u()()()),i&2&&(f(2),he(r.hidePageSize?-1:2),f(3),ae(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),f(),he(r.showFirstLastButtons?6:-1),f(),y("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("disabled",r._previousButtonsDisabled())("tabindex",r._previousButtonsDisabled()?-1:null),Z("aria-label",r._intl.previousPageLabel),f(3),y("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("disabled",r._nextButtonsDisabled())("tabindex",r._nextButtonsDisabled()?-1:null),Z("aria-label",r._intl.nextPageLabel),f(3),he(r.showFirstLastButtons?13:-1))},dependencies:[Er,nM,zp,Ls,lM],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}
`],encapsulation:2,changeDetection:0})}return t})(),po=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[tH],imports:[En,iM,cM,Ar]})}return t})();var Kp=ed(Mc());var rH=["*"];function oH(t,n){t&1&&le(0)}var bb=(()=>{class t{_elementRef=p(X);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return t})(),yb=(()=>{class t{template=p(ft);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdkStepLabel",""]]})}return t})();var Rr={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},aH=new T("STEPPER_GLOBAL_OPTIONS"),Wp=(()=>{class t{_stepperOptions;_stepper=p(Ws);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;interacted=!1;interactedStream=new B;label;errorMessage;ariaLabel;ariaLabelledby;state;editable=!0;optional=!1;get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_completedOverride=null;_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_customError=null;_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(){let e=p(aH,{optional:!0});this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["cdk-step"]],contentQueries:function(i,r,o){if(i&1&&($e(o,yb,5),$e(o,gi,5)),i&2){let a;te(a=ne())&&(r.stepLabel=a.first),te(a=ne())&&(r._childForms=a)}},viewQuery:function(i,r){if(i&1&&Ee(ft,7),i&2){let o;te(o=ne())&&(r.content=o.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",J],optional:[2,"optional","optional",J],completed:[2,"completed","completed",J],hasError:[2,"hasError","hasError",J]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[je],ngContentSelectors:rH,decls:1,vars:0,template:function(i,r){i&1&&(Oe(),k(0,oH,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return t})(),Ws=(()=>{class t{_dir=p(Ht,{optional:!0});_changeDetectorRef=p(ke);_elementRef=p(X);_destroyed=new V;_keyManager;_steps;steps=new Nn;_stepHeader;_sortedHeaders=new Nn;linear=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._steps?(this._isValidIndex(e),this._selectedIndex!==e&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e))):this._selectedIndex=e}_selectedIndex=0;get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}selectionChange=new B;selectedIndexChange=new B;_groupId=p(it).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(Qe(this._steps),Ie(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe(Qe(this._stepHeader),Ie(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,r)=>i._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new da(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:G()).pipe(Qe(this._layoutDirection()),Ie(this._destroyed)).subscribe(e=>this._keyManager?.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0),this.linear&&this._selectedIndex>0){let e=this.steps.toArray().slice(0,this._selectedIndex);for(let i of e)i._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`${this._groupId}-label-${e}`}_getStepContentId(e){return`${this._groupId}-content-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let i=e-this._selectedIndex;return i<0?this._layoutDirection()==="rtl"?"next":"previous":i>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,i=Rr.NUMBER){let r=this.steps.toArray()[e],o=this._isCurrentStep(e);return r._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(r,o):this._getGuidelineLogic(r,o,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?Rr.ERROR:!e.completed||i?Rr.NUMBER:e.editable?Rr.EDIT:Rr.DONE}_getGuidelineLogic(e,i,r=Rr.NUMBER){return e._showError()&&e.hasError&&!i?Rr.ERROR:e.completed&&!i?Rr.DONE:e.completed&&i?r:e.editable&&i?Rr.EDIT:r}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e)),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let i=zt(e),r=e.keyCode,o=this._keyManager;o?.activeItemIndex!=null&&!i&&(r===32||r===13)?(this.selectedIndex=o.activeItemIndex,e.preventDefault()):o?.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(i=>{let r=i.stepControl;return(r?r.invalid||r.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,i=aa();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(i,r,o){if(i&1&&($e(o,Wp,5),$e(o,bb,5)),i&2){let a;te(a=ne())&&(r._steps=a),te(a=ne())&&(r._stepHeader=a)}},inputs:{linear:[2,"linear","linear",J],selectedIndex:[2,"selectedIndex","selectedIndex",Tt],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return t})(),dM=(()=>{class t{_stepper=p(Ws);type="submit";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(i,r){i&1&&O("click",function(){return r._stepper.next()}),i&2&&qt("type",r.type)},inputs:{type:"type"}})}return t})(),uM=(()=>{class t{_stepper=p(Ws);type="button";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(i,r){i&1&&O("click",function(){return r._stepper.previous()}),i&2&&qt("type",r.type)},inputs:{type:"type"}})}return t})(),mM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[Qi]})}return t})();function sH(t,n){if(t&1&&Gn(0,2),t&2){let e=x();y("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function lH(t,n){if(t&1&&(m(0,"span",7),v(1),u()),t&2){let e=x(2);f(),I(e._getDefaultTextForState(e.state))}}function cH(t,n){if(t&1&&(m(0,"span",8),v(1),u()),t&2){let e=x(3);f(),I(e._intl.completedLabel)}}function dH(t,n){if(t&1&&(m(0,"span",8),v(1),u()),t&2){let e=x(3);f(),I(e._intl.editableLabel)}}function uH(t,n){if(t&1&&(k(0,cH,2,1,"span",8)(1,dH,2,1,"span",8),m(2,"mat-icon",7),v(3),u()),t&2){let e=x(2);he(e.state==="done"?0:e.state==="edit"?1:-1),f(3),I(e._getDefaultTextForState(e.state))}}function mH(t,n){if(t&1&&k(0,lH,2,1,"span",7)(1,uH,4,2),t&2){let e,i=x();he((e=i.state)==="number"?0:1)}}function pH(t,n){t&1&&(m(0,"div",4),Gn(1,9),u()),t&2&&(f(),y("ngTemplateOutlet",n.template))}function fH(t,n){if(t&1&&(m(0,"div",4),v(1),u()),t&2){let e=x();f(),I(e.label)}}function hH(t,n){if(t&1&&(m(0,"div",5),v(1),u()),t&2){let e=x();f(),I(e._intl.optionalLabel)}}function gH(t,n){if(t&1&&(m(0,"div",6),v(1),u()),t&2){let e=x();f(),I(e.errorMessage)}}var pM=["*"];function _H(t,n){}function vH(t,n){if(t&1&&(le(0),k(1,_H,0,0,"ng-template",0)),t&2){let e=x();f(),y("cdkPortalOutlet",e._portal)}}var bH=["animatedContainer"],fM=(t,n)=>({step:t,i:n});function yH(t,n){t&1&&le(0)}function wH(t,n){t&1&&E(0,"div",7)}function CH(t,n){if(t&1&&(Gn(0,6),k(1,wH,1,0,"div",7)),t&2){let e=n.$implicit,i=n.$index,r=n.$index,o=n.$count;x(2);let a=yt(4);y("ngTemplateOutlet",a)("ngTemplateOutletContext",w_(3,fM,e,i)),f(),he(r!==o-1?1:-1)}}function xH(t,n){if(t&1&&(m(0,"div",8,1),Gn(2,9),u()),t&2){let e=n.$implicit,i=n.$index,r=x(2);at("mat-horizontal-stepper-content-"+r._getAnimationDirection(i)),y("id",r._getStepContentId(i)),Z("aria-labelledby",r._getStepLabelId(i))("inert",r.selectedIndex===i?null:""),f(2),y("ngTemplateOutlet",e.content)}}function DH(t,n){if(t&1&&(m(0,"div",2)(1,"div",3),Li(2,CH,2,6,null,null,rs),u(),m(4,"div",4),Li(5,xH,3,6,"div",5,rs),u()()),t&2){let e=x();f(2),Vi(e.steps),f(3),Vi(e.steps)}}function EH(t,n){if(t&1&&(m(0,"div",10),Gn(1,6),m(2,"div",11,1)(4,"div",12)(5,"div",13),Gn(6,9),u()()()()),t&2){let e=n.$implicit,i=n.$index,r=n.$index,o=n.$count,a=x(2),s=yt(4);f(),y("ngTemplateOutlet",s)("ngTemplateOutletContext",w_(10,fM,e,i)),f(),F("mat-stepper-vertical-line",r!==o-1)("mat-vertical-content-container-active",a.selectedIndex===i),Z("inert",a.selectedIndex===i?null:""),f(2),y("id",a._getStepContentId(i)),Z("aria-labelledby",a._getStepLabelId(i)),f(2),y("ngTemplateOutlet",e.content)}}function IH(t,n){if(t&1&&Li(0,EH,7,13,"div",10,rs),t&2){let e=x();Vi(e.steps)}}function SH(t,n){if(t&1){let e=xe();m(0,"mat-step-header",14),O("click",function(){let r=U(e).step;return $(r.select())})("keydown",function(r){U(e);let o=x();return $(o._onKeydown(r))}),u()}if(t&2){let e=n.step,i=n.i,r=x();F("mat-horizontal-stepper-header",r.orientation==="horizontal")("mat-vertical-stepper-header",r.orientation==="vertical"),y("tabIndex",r._getFocusIndex()===i?0:-1)("id",r._getStepLabelId(i))("index",i)("state",r._getIndicatorType(i,e.state))("label",e.stepLabel||e.label)("selected",r.selectedIndex===i)("active",r._stepIsNavigable(i,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(i,e))("color",e.color||r.color),Z("aria-posinset",i+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",r._stepIsNavigable(i,e)?null:!0)}}var Lc=(()=>{class t extends yb{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["","matStepLabel",""]],features:[Re]})}return t})(),Gp=(()=>{class t{changes=new V;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MH(t){return t||new Gp}var kH={provide:Gp,deps:[[new Pi,new $r,Gp]],useFactory:MH},wb=(()=>{class t extends bb{_intl=p(Gp);_focusMonitor=p(yi);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();let e=p(Ke);e.load(ni),e.load(Jn);let i=p(ke);this._intlSubscription=this._intl.changes.subscribe(()=>i.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof Lc?null:this.label}_templateLabel(){return this.label instanceof Lc?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(i,r){i&2&&at("mat-"+(r.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[Re],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(i,r){if(i&1&&(E(0,"div",0),m(1,"div")(2,"div",1),k(3,sH,1,2,"ng-container",2)(4,mH,2,1),u()(),m(5,"div",3),k(6,pH,2,1,"div",4)(7,fH,2,1,"div",4)(8,hH,2,1,"div",5)(9,gH,2,1,"div",6),u()),i&2){let o;y("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),f(),qu("mat-step-icon-state-",r.state," mat-step-icon"),F("mat-step-icon-selected",r.selected),f(2),he(r.iconOverrides&&r.iconOverrides[r.state]?3:4),f(2),F("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),f(),he((o=r._templateLabel())?6:r._stringLabel()?7:-1,o),f(2),he(r.optional&&r.state!="error"?8:-1),f(),he(r.state==="error"?9:-1)}},dependencies:[so,Zr,jp],styles:[`.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}
`],encapsulation:2,changeDetection:0})}return t})(),TH=(()=>{class t{templateRef=p(ft);name;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return t})(),AH=(()=>{class t{_template=p(ft);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["ng-template","matStepContent",""]]})}return t})(),Cb=(()=>{class t extends Wp{_errorStateMatcher=p(ao,{skipSelf:!0});_viewContainerRef=p(lt);_isSelected=de.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Xe(()=>this._stepper.selectionChange.pipe(re(e=>e.selectedStep===this),Qe(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new wi(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){let r=this._errorStateMatcher.isErrorState(e,i),o=!!(e&&e.invalid&&this.interacted);return r||o}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275cmp=P({type:t,selectors:[["mat-step"]],contentQueries:function(i,r,o){if(i&1&&($e(o,Lc,5),$e(o,AH,5)),i&2){let a;te(a=ne())&&(r.stepLabel=a.first),te(a=ne())&&(r._lazyContent=a.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[Fe([{provide:ao,useExisting:t},{provide:Wp,useExisting:t}]),Re],ngContentSelectors:pM,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Oe(),k(0,vH,2,1,"ng-template"))},dependencies:[js],encapsulation:2,changeDetection:0})}return t})(),xb=(()=>{class t extends Ws{_ngZone=p(K);_renderer=p(He);_animationsModule=p(et,{optional:!0});_cleanupTransition;_isAnimating=ht(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new Nn;_icons;animationDone=new B;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}_animationDuration="";_isServer=!p(Ae).isBrowser;constructor(){super();let i=p(X).nativeElement.nodeName.toLowerCase();this.orientation=i==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(Ie(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe(Ie(this._destroyed)).subscribe(()=>{let e=this._getAnimationDuration();e==="0ms"||e==="0s"?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsModule!=="NoopAnimations"&&setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),typeof queueMicrotask=="function"){let e=!1;this._animatedContainers.changes.pipe(Qe(null),Ie(this._destroyed)).subscribe(()=>queueMicrotask(()=>{e||(e=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this._animationsModule==="NoopAnimations"?"0ms":this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"}_handleTransitionend=e=>{let i=e.target;if(!i)return;let r=this.orientation==="horizontal"&&e.propertyName==="transform"&&i.classList.contains("mat-horizontal-stepper-content-current"),o=this.orientation==="vertical"&&e.propertyName==="grid-template-rows"&&i.classList.contains("mat-vertical-content-container-active");(r||o)&&this._animatedContainers.find(s=>s.nativeElement===i)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,r,o){if(i&1&&($e(o,Cb,5),$e(o,TH,5)),i&2){let a;te(a=ne())&&(r._steps=a),te(a=ne())&&(r._icons=a)}},viewQuery:function(i,r){if(i&1&&(Ee(wb,5),Ee(bH,5)),i&2){let o;te(o=ne())&&(r._stepHeader=o),te(o=ne())&&(r._animatedContainers=o)}},hostAttrs:["role","tablist"],hostVars:15,hostBindings:function(i,r){i&2&&(Z("aria-orientation",r.orientation),dn("--mat-stepper-animation-duration",r._getAnimationDuration()),F("mat-stepper-horizontal",r.orientation==="horizontal")("mat-stepper-vertical",r.orientation==="vertical")("mat-stepper-label-position-end",r.orientation==="horizontal"&&r.labelPosition=="end")("mat-stepper-label-position-bottom",r.orientation==="horizontal"&&r.labelPosition=="bottom")("mat-stepper-header-position-bottom",r.headerPosition==="bottom")("mat-stepper-animating",r._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Fe([{provide:Ws,useExisting:t}]),Re],ngContentSelectors:pM,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(i,r){if(i&1&&(Oe(),k(0,yH,1,0)(1,DH,7,0,"div",2)(2,IH,2,0)(3,SH,1,23,"ng-template",null,0,Bi)),i&2){let o;he(r._isServer?0:-1),f(),he((o=r.orientation)==="horizontal"?1:o==="vertical"?2:-1)}},dependencies:[Zr,wb],styles:[`.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}
`],encapsulation:2,changeDetection:0})}return t})(),hM=(()=>{class t extends dM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(i,r){i&2&&qt("type",r.type)},features:[Re]})}return t})(),gM=(()=>{class t extends uM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275dir=j({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(i,r){i&2&&qt("type",r.type)},features:[Re]})}return t})(),_M=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[kH,ao],imports:[se,ua,mM,$s,lo,xb,wb,se]})}return t})();var OH=["mat-internal-form-field",""],NH=["*"],vM=(()=>{class t{labelPosition;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&F("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:OH,ngContentSelectors:NH,decls:1,vars:0,template:function(i,r){i&1&&(Oe(),le(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}
`],encapsulation:2,changeDetection:0})}return t})();var PH=["input"],FH=["label"],LH=["*"],VH=new T("mat-checkbox-default-options",{providedIn:"root",factory:yM});function yM(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var nn=function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t}(nn||{}),BH={provide:vr,useExisting:Gt(()=>wM),multi:!0},Db=class{source;checked},bM=yM(),wM=(()=>{class t{_elementRef=p(X);_changeDetectorRef=p(ke);_ngZone=p(K);_animationMode=p(et,{optional:!0});_options=p(VH,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Db;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new B;indeterminateChange=new B;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=nn.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){p(Ke).load(ni);let e=p(new Oi("tabindex"),{optional:!0});this._options=this._options||bM,this.color=this._options.color||bM.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=p(it).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(nn.Indeterminate):this._transitionCheckState(this.checked?nn.Checked:nn.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?nn.Checked:nn.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case nn.Init:if(i===nn.Checked)return this._animationClasses.uncheckedToChecked;if(i==nn.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case nn.Unchecked:return i===nn.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case nn.Checked:return i===nn.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case nn.Indeterminate:return i===nn.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(Ee(PH,5),Ee(FH,5)),i&2){let o;te(o=ne())&&(r._inputElement=o.first),te(o=ne())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(qt("id",r.id),Z("tabindex",null)("aria-label",null)("aria-labelledby",null),at(r.color?"mat-"+r.color:"mat-accent"),F("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",J],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",J],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",J],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Tt(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",J],checked:[2,"checked","checked",J],disabled:[2,"disabled","disabled",J],indeterminate:[2,"indeterminate","indeterminate",J]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Fe([BH,{provide:ra,useExisting:t,multi:!0}]),je],ngContentSelectors:LH,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let o=xe();Oe(),m(0,"div",3),O("click",function(s){return U(o),$(r._preventBubblingFromLabel(s))}),m(1,"div",4,0)(3,"div",5),O("click",function(){return U(o),$(r._onTouchTargetClick())}),u(),m(4,"input",6,1),O("blur",function(){return U(o),$(r._onBlur())})("click",function(){return U(o),$(r._onInputClick())})("change",function(s){return U(o),$(r._onInteractionEvent(s))}),u(),E(6,"div",7),m(7,"div",8),St(),m(8,"svg",9),E(9,"path",10),u(),fr(),E(10,"div",11),u(),E(11,"div",12),u(),m(12,"label",13,2),le(14),u()()}if(i&2){let o=yt(2);y("labelPosition",r.labelPosition),f(4),F("mdc-checkbox--selected",r.checked),y("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),Z("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControls)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),f(7),y("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),f(),y("for",r.inputId)}},dependencies:[so,vM],styles:[`.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0})}return t})();var CM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({imports:[wM,se,se]})}return t})();var Eb=new T("MAT_DATE_LOCALE",{providedIn:"root",factory:jH});function jH(){return p(ss)}var Gs="Method not implemented",kn=class{locale;_localeChanges=new V;localeChanges=this._localeChanges;setTime(n,e,i,r){throw new Error(Gs)}getHours(n){throw new Error(Gs)}getMinutes(n){throw new Error(Gs)}getSeconds(n){throw new Error(Gs)}parseTime(n,e){throw new Error(Gs)}addSeconds(n,e){throw new Error(Gs)}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return n==null||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}compareTime(n,e){return this.getHours(n)-this.getHours(e)||this.getMinutes(n)-this.getMinutes(e)||this.getSeconds(n)-this.getSeconds(e)}sameDate(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareDate(n,e):i==r}return n==e}sameTime(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareTime(n,e):i==r}return n==e}clampDate(n,e,i){return e&&this.compareDate(n,e)<0?e:i&&this.compareDate(n,i)>0?i:n}},pa=new T("mat-date-formats");var HH=["mat-calendar-body",""];function zH(t,n){return this._trackRow(n)}var MM=(t,n)=>n.id;function UH(t,n){if(t&1&&(m(0,"tr",0)(1,"td",3),v(2),u()()),t&2){let e=x();f(),dn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Z("colspan",e.numCols),f(),ae(" ",e.label," ")}}function $H(t,n){if(t&1&&(m(0,"td",3),v(1),u()),t&2){let e=x(2);dn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Z("colspan",e._firstRowOffset),f(),ae(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function WH(t,n){if(t&1){let e=xe();m(0,"td",6)(1,"button",7),O("click",function(r){let o=U(e).$implicit,a=x(2);return $(a._cellClicked(o,r))})("focus",function(r){let o=U(e).$implicit,a=x(2);return $(a._emitActiveDateChange(o,r))}),m(2,"span",8),v(3),u(),E(4,"span",9),u()()}if(t&2){let e=n.$implicit,i=n.$index,r=x().$index,o=x();dn("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),Z("data-mat-row",r)("data-mat-col",i),f(),F("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(r,i))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,r,i))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,r,i))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),y("ngClass",e.cssClasses)("tabindex",o._isActiveCell(r,i)?0:-1),Z("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),f(),F("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),f(),ae(" ",e.displayValue," ")}}function GH(t,n){if(t&1&&(m(0,"tr",1),k(1,$H,2,6,"td",4),Li(2,WH,5,48,"td",5,MM),u()),t&2){let e=n.$implicit,i=n.$index,r=x();f(),he(i===0&&r._firstRowOffset?1:-1),f(),Vi(e)}}function qH(t,n){if(t&1&&(m(0,"th",2)(1,"span",6),v(2),u(),m(3,"span",3),v(4),u()()),t&2){let e=n.$implicit;f(2),I(e.long),f(2),I(e.narrow)}}var YH=["*"];function KH(t,n){}function ZH(t,n){if(t&1){let e=xe();m(0,"mat-month-view",4),_t("activeDateChange",function(r){U(e);let o=x();return wt(o.activeDate,r)||(o.activeDate=r),$(r)}),O("_userSelection",function(r){U(e);let o=x();return $(o._dateSelected(r))})("dragStarted",function(r){U(e);let o=x();return $(o._dragStarted(r))})("dragEnded",function(r){U(e);let o=x();return $(o._dragEnded(r))}),u()}if(t&2){let e=x();gt("activeDate",e.activeDate),y("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function QH(t,n){if(t&1){let e=xe();m(0,"mat-year-view",5),_t("activeDateChange",function(r){U(e);let o=x();return wt(o.activeDate,r)||(o.activeDate=r),$(r)}),O("monthSelected",function(r){U(e);let o=x();return $(o._monthSelectedInYearView(r))})("selectedChange",function(r){U(e);let o=x();return $(o._goToDateInView(r,"month"))}),u()}if(t&2){let e=x();gt("activeDate",e.activeDate),y("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function XH(t,n){if(t&1){let e=xe();m(0,"mat-multi-year-view",6),_t("activeDateChange",function(r){U(e);let o=x();return wt(o.activeDate,r)||(o.activeDate=r),$(r)}),O("yearSelected",function(r){U(e);let o=x();return $(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){U(e);let o=x();return $(o._goToDateInView(r,"year"))}),u()}if(t&2){let e=x();gt("activeDate",e.activeDate),y("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function JH(t,n){}var e4=["button"],t4=[[["","matDatepickerToggleIcon",""]]],n4=["[matDatepickerToggleIcon]"];function i4(t,n){t&1&&(St(),m(0,"svg",2),E(1,"path",3),u())}var Ys=(()=>{class t{changes=new V;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,i){return`${e} \u2013 ${i}`}formatYearRangeLabel(e,i){return`${e} to ${i}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),r4=0,Bc=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=r4++;constructor(n,e,i,r,o={},a=n,s){this.value=n,this.displayValue=e,this.ariaLabel=i,this.enabled=r,this.cssClasses=o,this.compareValue=a,this.rawValue=s}},o4={passive:!1,capture:!0},qp={passive:!0,capture:!0},xM={passive:!0},qs=(()=>{class t{_elementRef=p(X);_ngZone=p(K);_platform=p(Ae);_intl=p(Ys);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new B;previewChange=new B;activeDateChange=new B;dragStarted=new B;dragEnded=new B;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=p(Se);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=p(He),i=p(it);this._startDateLabelId=i.getId("mat-calendar-body-start-"),this._endDateLabelId=i.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=i.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=i.getId("mat-calendar-body-comparison-end-"),p(Ke).load(ni),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[nt(e,r,"touchmove",this._touchmoveHandler,o4),nt(e,r,"mouseenter",this._enterHandler,qp),nt(e,r,"focus",this._enterHandler,qp),nt(e,r,"mouseleave",this._leaveHandler,qp),nt(e,r,"blur",this._leaveHandler,qp),nt(e,r,"mousedown",this._mousedownHandler,xM),nt(e,r,"touchstart",this._mousedownHandler,xM)];this._platform.isBrowser&&o.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=o})}_cellClicked(e,i){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:i})}_emitActiveDateChange(e,i){e.enabled&&this.activeDateChange.emit({value:e.value,event:i})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let i=e.numCols,{rows:r,numCols:o}=this;(e.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(i||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,i){let r=e*this.numCols+i;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){cn(()=>{setTimeout(()=>{let i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return Mb(e,this.startValue,this.endValue)}_isRangeEnd(e){return kb(e,this.startValue,this.endValue)}_isInRange(e){return Tb(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Mb(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[i][r-1];if(!o){let a=this.rows[i-1];o=a&&a[a.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,i,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[i][r+1];if(!o){let a=this.rows[i+1];o=a&&a[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return kb(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Tb(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Mb(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return kb(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Tb(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let i=this._getCellFromElement(e.target);i&&this._ngZone.run(()=>this.previewChange.emit({value:i.enabled?i:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let i=DM(e),r=i?this._getCellFromElement(i):null;i!==e.target&&(this._didDragSinceMouseDown=!0),Sb(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r?.enabled?r:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let i=e.target&&this._getCellFromElement(e.target);!i||!this._isInRange(i.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:i.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let i=Sb(e.target);if(!i){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}i.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(i);this.dragEnded.emit({value:r?.rawValue??null,event:e})})};_touchendHandler=e=>{let i=DM(e);i&&this._mouseupHandler({target:i})};_getCellFromElement(e){let i=Sb(e);if(i){let r=i.getAttribute("data-mat-row"),o=i.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)][parseInt(o)]}return null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[je],attrs:HH,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,r){i&1&&(k(0,UH,3,6,"tr",0),Li(1,GH,4,1,"tr",1,zH,!0),m(3,"span",2),v(4),u(),m(5,"span",2),v(6),u(),m(7,"span",2),v(8),u(),m(9,"span",2),v(10),u()),i&2&&(he(r._firstRowOffset<r.labelMinRequiredCells?0:-1),f(),Vi(r.rows),f(2),y("id",r._startDateLabelId),f(),ae(" ",r.startDateAccessibleName,`
`),f(),y("id",r._endDateLabelId),f(),ae(" ",r.endDateAccessibleName,`
`),f(),y("id",r._comparisonStartDateLabelId),f(),as(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,`
`),f(),y("id",r._comparisonEndDateLabelId),f(),as(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,`
`))},dependencies:[Go],styles:[`.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}
`],encapsulation:2,changeDetection:0})}return t})();function Ib(t){return t?.nodeName==="TD"}function Sb(t){let n;return Ib(t)?n=t:Ib(t.parentNode)?n=t.parentNode:Ib(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),n?.getAttribute("data-mat-row")!=null?n:null}function Mb(t,n,e){return e!==null&&n!==e&&t<e&&t===n}function kb(t,n,e){return n!==null&&n!==e&&t>=n&&t===e}function Tb(t,n,e,i){return i&&n!==null&&e!==null&&n!==e&&t>=n&&t<=e}function DM(t){let n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}var ri=class{start;end;_disableStructuralEquivalency;constructor(n,e){this.start=n,this.end=e}},Yp=(()=>{class t{selection;_adapter;_selectionChanged=new V;selectionChanged=this._selectionChanged;constructor(e,i){this.selection=e,this._adapter=i,this.selection=e}updateSelection(e,i){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:i,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(i){Wu()};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})(),a4=(()=>{class t extends Yp{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(i){return new(i||t)(Q(kn))};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function s4(t,n){return t||new a4(n)}var l4={provide:Yp,deps:[[new Pi,new $r,Yp],kn],useFactory:s4};var kM=new T("MAT_DATE_RANGE_SELECTION_STRATEGY");var Ab=7,c4=0,EM=(()=>{class t{_changeDetectorRef=p(ke);_dateFormats=p(pa,{optional:!0});_dateAdapter=p(kn,{optional:!0});_dir=p(Ht,{optional:!0});_rangeStrategy=p(kM,{optional:!0});_rerenderSubscription=de.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof ri?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new B;_userSelection=new B;dragStarted=new B;dragEnded=new B;activeDateChange=new B;_matCalendarBody;_monthLabel;_weeks;_firstWeekOffset;_rangeStart;_rangeEnd;_comparisonRangeStart;_comparisonRangeEnd;_previewStart;_previewEnd;_isRange;_todayDate;_weekdays;constructor(){p(Ke).load(Jn),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qe(null)).subscribe(()=>this._init())}ngOnChanges(e){let i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let i=e.value,r=this._getDateFromDayOfMonth(i),o,a;this._selected instanceof ri?(o=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):o=a=this._getDateInCurrentMonth(this._selected),(o!==i||a!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd!=null&&!zt(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(Ab+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%Ab,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:i}){if(this._rangeStrategy){let r=i?i.rawValue:null,o=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart=this._getCellCompareValue(o.start),this._previewEnd=this._getCellCompareValue(o.end),this.activeDrag&&r){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);a&&(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){let i=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:i??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow"),o=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:i[s],id:c4++}));this._weekdays=o.slice(e).concat(o.slice(0,e))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,o=this._firstWeekOffset;r<e;r++,o++){o==Ab&&(this._weeks.push([]),o=0);let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),r+1),s=this._shouldEnableDate(a),c=this._dateAdapter.format(a,this._dateFormats.display.dateA11yLabel),g=this.dateClass?this.dateClass(a,"month"):void 0;this._weeks[this._weeks.length-1].push(new Bc(r+1,i[r],c,s,g,this._getCellCompareValue(a),a))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,i){return!!(e&&i&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i))}_getCellCompareValue(e){if(e){let i=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(i,r,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof ri?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,r){if(i&1&&Ee(qs,5),i&2){let o;te(o=ne())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[je],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,r){i&1&&(m(0,"table",0)(1,"thead",1)(2,"tr"),Li(3,qH,5,2,"th",2,MM),u(),m(5,"tr",3),E(6,"th",4),u()(),m(7,"tbody",5),O("selectedValueChange",function(a){return r._dateSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("previewChange",function(a){return r._previewChanged(a)})("dragStarted",function(a){return r.dragStarted.emit(a)})("dragEnded",function(a){return r._dragEnded(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),u()()),i&2&&(f(3),Vi(r._weekdays),f(4),y("label",r._monthLabel)("rows",r._weeks)("todayValue",r._todayDate)("startValue",r._rangeStart)("endValue",r._rangeEnd)("comparisonStart",r._comparisonRangeStart)("comparisonEnd",r._comparisonRangeEnd)("previewStart",r._previewStart)("previewEnd",r._previewEnd)("isRange",r._isRange)("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[qs],encapsulation:2,changeDetection:0})}return t})(),Hn=24,Rb=4,IM=(()=>{class t{_changeDetectorRef=p(ke);_dateAdapter=p(kn,{optional:!0});_dir=p(Ht,{optional:!0});_rerenderSubscription=de.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),TM(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof ri?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new B;yearSelected=new B;activeDateChange=new B;_matCalendarBody;_years;_todayYear;_selectedYear;constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qe(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-Vc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let r=0,o=[];r<Hn;r++)o.push(i+r),o.length==Rb&&(this._years.push(o.map(a=>this._createCellForYear(a))),o=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){let i=e.value,r=this._dateAdapter.createDate(i,0,1),o=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Rb);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Rb);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Vc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Hn-Vc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-Hn*10:-Hn);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?Hn*10:Hn);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return Vc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));return this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(e){let i=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(i),o=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new Bc(e,r,r,this._shouldEnableYear(e),o)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let i=this._dateAdapter.createDate(e,0,1);for(let r=i;this._dateAdapter.getYear(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(e){if(this._selectedYear=null,e instanceof ri){let i=e.start||e.end;i&&(this._selectedYear=this._dateAdapter.getYear(i))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,r){if(i&1&&Ee(qs,5),i&2){let o;te(o=ne())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(m(0,"table",0)(1,"thead",1)(2,"tr"),E(3,"th",2),u()(),m(4,"tbody",3),O("selectedValueChange",function(a){return r._yearSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),u()()),i&2&&(f(4),y("rows",r._years)("todayValue",r._todayYear)("startValue",r._selectedYear)("endValue",r._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[qs],encapsulation:2,changeDetection:0})}return t})();function TM(t,n,e,i,r){let o=t.getYear(n),a=t.getYear(e),s=AM(t,i,r);return Math.floor((o-s)/Hn)===Math.floor((a-s)/Hn)}function Vc(t,n,e,i){let r=t.getYear(n);return d4(r-AM(t,e,i),Hn)}function AM(t,n,e){let i=0;return e?i=t.getYear(e)-Hn+1:n&&(i=t.getYear(n)),i}function d4(t,n){return(t%n+n)%n}var SM=(()=>{class t{_changeDetectorRef=p(ke);_dateFormats=p(pa,{optional:!0});_dateAdapter=p(kn,{optional:!0});_dir=p(Ht,{optional:!0});_rerenderSubscription=de.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof ri?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new B;monthSelected=new B;activeDateChange=new B;_matCalendarBody;_months;_yearLabel;_todayMonth;_selectedMonth;constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qe(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let i=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);let o=this._getDateFromMonth(i);this.selectedChange.emit(o)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(r=>this._createCellForMonth(r,e[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,i){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(r,"year"):void 0;return new Bc(e,i.toLocaleUpperCase(),o,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let i=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(i,e,1);for(let o=r;this._dateAdapter.getMonth(o)==e;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&i>o}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e<r||e===r&&i<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(e){e instanceof ri?this._selectedMonth=this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._selectedMonth=this._getMonthInCurrentYear(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,r){if(i&1&&Ee(qs,5),i&2){let o;te(o=ne())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(m(0,"table",0)(1,"thead",1)(2,"tr"),E(3,"th",2),u()(),m(4,"tbody",3),O("selectedValueChange",function(a){return r._monthSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),u()()),i&2&&(f(4),y("label",r._yearLabel)("rows",r._months)("todayValue",r._todayMonth)("startValue",r._selectedMonth)("endValue",r._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))},dependencies:[qs],encapsulation:2,changeDetection:0})}return t})(),RM=(()=>{class t{_intl=p(Ys);calendar=p(Ob);_dateAdapter=p(kn,{optional:!0});_dateFormats=p(pa,{optional:!0});constructor(){p(Ke).load(Jn);let e=p(ke);this.calendar.stateChanges.subscribe(()=>e.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Hn)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Hn)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,i){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):TM(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-Vc(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+Hn-1,o=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[o,a]}_periodButtonLabelId=p(it).getId("mat-calendar-period-label-");static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:YH,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,r){i&1&&(Oe(),m(0,"div",0)(1,"div",1)(2,"span",2),v(3),u(),m(4,"button",3),O("click",function(){return r.currentPeriodClicked()}),m(5,"span",4),v(6),u(),St(),m(7,"svg",5),E(8,"polygon",6),u()(),fr(),E(9,"div",7),le(10),m(11,"button",8),O("click",function(){return r.previousClicked()}),St(),m(12,"svg",9),E(13,"path",10),u()(),fr(),m(14,"button",11),O("click",function(){return r.nextClicked()}),St(),m(15,"svg",9),E(16,"path",12),u()()()()),i&2&&(f(2),y("id",r._periodButtonLabelId),f(),I(r.periodButtonDescription),f(),Z("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),f(2),I(r.periodButtonText),f(),F("mat-calendar-invert",r.calendar.currentView!=="month"),f(4),y("disabled",!r.previousEnabled()),Z("aria-label",r.prevButtonLabel),f(3),y("disabled",!r.nextEnabled()),Z("aria-label",r.nextButtonLabel))},dependencies:[Ir,Ls],encapsulation:2,changeDetection:0})}return t})(),Ob=(()=>{class t{_dateAdapter=p(kn,{optional:!0});_dateFormats=p(pa,{optional:!0});_changeDetectorRef=p(ke);_elementRef=p(X);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get selected(){return this._selected}set selected(e){e instanceof ri?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new B;yearSelected=new B;monthSelected=new B;viewChanged=new B(!0);_userSelection=new B;_userDragDrop=new B;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}_currentView;_activeDrag=null;stateChanges=new V;constructor(){this._intlChanges=p(Ys).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new co(this.headerComponent||RM),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let i=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,o=i||r||e.dateFilter;if(o&&!o.firstChange){let a=this._getCurrentViewComponent();a&&(this._elementRef.nativeElement.contains(aa())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let i=e.value;(this.selected instanceof ri||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,i){this.activeDate=e,this.currentView=i}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,r){if(i&1&&(Ee(EM,5),Ee(SM,5),Ee(IM,5)),i&2){let o;te(o=ne())&&(r.monthView=o.first),te(o=ne())&&(r.yearView=o.first),te(o=ne())&&(r.multiYearView=o.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Fe([l4]),je],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,r){if(i&1&&(k(0,KH,0,0,"ng-template",0),m(1,"div",1),k(2,ZH,1,11,"mat-month-view",2)(3,QH,1,6,"mat-year-view",3)(4,XH,1,6,"mat-multi-year-view",3),u()),i&2){let o;y("cdkPortalOutlet",r._calendarHeaderPortal),f(2),he((o=r.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[js,Hv,EM,SM,IM],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0})}return t})(),u4=new T("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Nt);return()=>t.scrollStrategies.reposition()}});function m4(t){return()=>t.scrollStrategies.reposition()}var p4={provide:u4,deps:[Nt],useFactory:m4},f4=(()=>{class t{_elementRef=p(X);_animationsDisabled=p(et,{optional:!0})==="NoopAnimations";_changeDetectorRef=p(ke);_globalModel=p(Yp);_dateAdapter=p(kn);_ngZone=p(K);_rangeSelectionStrategy=p(kM,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new V;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if(p(Ke).load(Jn),this._closeButtonText=p(Ys).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,i=p(He);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"animationstart",this._handleAnimationEvent),i.listen(e,"animationend",this._handleAnimationEvent),i.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let i=this._model.selection,r=e.value,o=i instanceof ri;if(o&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(r,i,e.event);this._model.updateSelection(a,this)}else r&&(o||!this._dateAdapter.sameDate(r,i))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let i=this._elementRef.nativeElement;e.target!==i||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",i.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,i){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,i&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,r){if(i&1&&Ee(Ob,5),i&2){let o;te(o=ne())&&(r._calendar=o.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,r){i&2&&(at(r.color?"mat-"+r.color:""),F("mat-datepicker-content-touch",r.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!r._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,r){if(i&1&&(m(0,"div",0)(1,"mat-calendar",1),O("yearSelected",function(a){return r.datepicker._selectYear(a)})("monthSelected",function(a){return r.datepicker._selectMonth(a)})("viewChanged",function(a){return r.datepicker._viewChanged(a)})("_userSelection",function(a){return r._handleUserSelection(a)})("_userDragDrop",function(a){return r._handleUserDragDrop(a)}),u(),k(2,JH,0,0,"ng-template",2),m(3,"button",3),O("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),v(4),u()()),i&2){let o;F("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),Z("aria-modal",!0)("aria-labelledby",(o=r._dialogLabelId)!==null&&o!==void 0?o:void 0),f(),at(r.datepicker.panelClass),y("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),f(),y("cdkPortalOutlet",r._actionsPortal),f(),F("cdk-visually-hidden",!r._closeButtonFocused),y("color",r.color||"primary"),f(),I(r._closeButtonText)}},dependencies:[$v,Ob,js,Ir],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}
`],encapsulation:2,changeDetection:0})}return t})();var h4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=j({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),g4=(()=>{class t{_intl=p(Ys);_changeDetectorRef=p(ke);_stateChanges=de.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple;_customIcon;_button;constructor(){let e=p(new Oi("tabindex"),{optional:!0}),i=Number(e);this.tabIndex=i||i===0?i:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:G(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:G(),r=this.datepicker?Kt(this.datepicker.openedStream,this.datepicker.closedStream):G();this._stateChanges.unsubscribe(),this._stateChanges=Kt(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=P({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,r,o){if(i&1&&$e(o,h4,5),i&2){let a;te(a=ne())&&(r._customIcon=a.first)}},viewQuery:function(i,r){if(i&1&&Ee(e4,5),i&2){let o;te(o=ne())&&(r._button=o.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,r){i&1&&O("click",function(a){return r._open(a)}),i&2&&(Z("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),F("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",J],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[je],ngContentSelectors:n4,decls:4,vars:7,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,r){i&1&&(Oe(t4),m(0,"button",1,0),k(2,i4,2,0,":svg:svg",2),le(3),u()),i&2&&(y("disabled",r.disabled)("disableRipple",r.disableRipple),Z("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("tabindex",r.disabled?-1:r.tabIndex)("aria-expanded",r.datepicker?r.datepicker.opened:null),f(2),he(r._customIcon?-1:2))},dependencies:[Ls],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
`],encapsulation:2,changeDetection:0})}return t})();var OM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[Ys,p4],imports:[En,kr,Dc,ua,se,f4,g4,RM,Ci]})}return t})();var _4=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,v4=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Nb(t,n){let e=Array(t);for(let i=0;i<t;i++)e[i]=n(i);return e}var b4=(()=>{class t extends kn{useUtcForDisplay=!1;_matDateLocale=p(Eb,{optional:!0});constructor(){super();let e=p(Eb,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Nb(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Nb(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){let i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Nb(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),i=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return i===7?0:i}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let o=this._createDateWithOverflow(e,i,r);return o.getMonth()!=i,o}today(){return new Date}parse(e,i){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,ce(R({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,i*12)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(_4.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,i,r,o){let a=this.clone(e);return a.setHours(i,r,o,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,i){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let r=e.trim();if(r.length===0)return null;let o=this._parseTimeString(r);if(o===null){let a=r.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(o=this._parseTimeString(a))}return o||this.invalid()}addSeconds(e,i){return new Date(e.getTime()+i*1e3)}_createDateWithOverflow(e,i,r){let o=new Date;return o.setFullYear(e,i,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,i){let r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}_parseTimeString(e){let i=e.toUpperCase().match(v4);if(i){let r=parseInt(i[1]),o=parseInt(i[2]),a=i[3]==null?void 0:parseInt(i[3]),s=i[4];if(r===12?r=s==="AM"?0:r:s==="PM"&&(r+=12),Pb(r,0,23)&&Pb(o,0,59)&&(a==null||Pb(a,0,59)))return this.setTime(this.today(),r,o,a||0)}return null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=A({token:t,factory:t.\u0275fac})}return t})();function Pb(t,n,e){return!isNaN(t)&&t>=n&&t<=e}var y4={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var NM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Y({type:t});static \u0275inj=q({providers:[w4()]})}return t})();function w4(t=y4){return[{provide:kn,useClass:b4},{provide:pa,useValue:t}]}function C4(t,n){if(t&1){let e=xe();m(0,"tr")(1,"td",69),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadReservationDetail(r))}),v(2),u(),m(3,"td")(4,"button",70),O("click",function(){let r=U(e).$implicit,o=x();return $(o.viewReservation(r.id))}),v(5," Detail "),u()(),m(6,"td",69),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadReservationDetail(r))}),m(7,"span",71),v(8),u()(),m(9,"td",69),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadReservationDetail(r))}),v(10),u(),m(11,"td",69),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadReservationDetail(r))}),v(12),u(),m(13,"td",69),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadReservationDetail(r))}),v(14),u(),m(15,"td",69),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadReservationDetail(r))}),v(16),u(),m(17,"td",69),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadReservationDetail(r))}),v(18),u()()}if(t&2){let e=n.$implicit,i=n.index,r=x();f(2),I(i+r.currentPage*r.pageSize+1),f(6),I(e.number),f(2),I(e.number_public),f(2),I(e.reservation_date||"N/A"),f(2),I(e.check_in_planned_date||"N/A"),f(2),I(e.check_in_date||"N/A"),f(2),I(e.check_out_date||"N/A")}}function x4(t,n){if(t&1&&(m(0,"tr")(1,"td",72),v(2),u()()),t&2){let e=x();f(2),ae(" ",e.totalreservations===0&&e.searchQuery?"Tidak ada data yang cocok dengan pencarian.":e.allreservationsData.length===0?"Data pelaxnggan kosong.":"Sedang memuat data..."," ")}}function D4(t,n){t&1&&v(0,"Personal Information")}function E4(t,n){t&1&&(m(0,"mat-error"),v(1," Customer wajib dipilih "),u())}function I4(t,n){if(t&1){let e=xe();m(0,"li",75),O("click",function(){let r=U(e).$implicit,o=x(2);return $(o.selectCustomer(r))}),m(1,"strong"),v(2),u(),E(3,"br"),m(4,"small",76),v(5),u()()}if(t&2){let e=n.$implicit;f(2),ae(" ",e.full_name||e.first_name+" "+(e.last_name||"")," "),f(3),ae("NIK: ",e.identity_number,"")}}function S4(t,n){if(t&1&&(m(0,"ul",73),k(1,I4,6,2,"li",74),u()),t&2){let e=x();f(),y("ngForOf",e.filteredCustomers)("ngForTrackBy",e.trackByCustomerId)}}function M4(t,n){t&1&&(m(0,"div",77),v(1," Customer tidak ditemukan "),u())}function k4(t,n){if(t&1&&(m(0,"div",78)(1,"div",79)(2,"h6",80),v(3,"Biodata Information"),u(),m(4,"p",81),v(5," Pastikan informasi identitas tidak perlu lengkap minimal 5 karakter, karena akan digunakan sebagai acuan siapa yang booking. "),u(),m(6,"div",82)(7,"div",31)(8,"mat-form-field",32)(9,"mat-label"),v(10,"Country ID"),u(),E(11,"input",83),u()(),m(12,"div",31)(13,"mat-form-field",32)(14,"mat-label"),v(15,"Identity Type ID"),u(),E(16,"input",83),u()(),m(17,"div",31)(18,"mat-form-field",32)(19,"mat-label"),v(20,"Identity Number"),u(),E(21,"input",83),u()(),m(22,"div",31)(23,"mat-form-field",32)(24,"mat-label"),v(25,"Full Name"),u(),E(26,"input",83),u()(),m(27,"div",31)(28,"mat-form-field",32)(29,"mat-label"),v(30,"Gender"),u(),E(31,"input",83),u()(),m(32,"div",31)(33,"mat-form-field",32)(34,"mat-label"),v(35,"Email"),u(),E(36,"input",83),u()(),m(37,"div",31)(38,"mat-form-field",32)(39,"mat-label"),v(40,"Phone"),u(),E(41,"input",83),u()()()()()),t&2){let e=x();f(11),y("value",e.selectedCustomer.country_id||"-"),f(5),y("value",e.selectedCustomer.identity_type_id||"-"),f(5),y("value",e.selectedCustomer.identity_number||"-"),f(5),y("value",e.selectedCustomer.full_name||"-"),f(5),y("value",e.selectedCustomer.gender_id==="1"?"LAKI-LAKI":e.selectedCustomer.gender_id==="2"?"PEREMPUAN":"-"),f(5),y("value",e.selectedCustomer.email||"-"),f(5),y("value",e.selectedCustomer.phone||"-")}}function T4(t,n){if(t&1){let e=xe();m(0,"button",84),O("click",function(){U(e);let r=x();return $(r.openDeleteConfirm())}),v(1," \u{1F5D1} Hapus Data "),u()}}function A4(t,n){t&1&&v(0,"Reservation Information")}function R4(t,n){if(t&1&&(Mt(0),m(1,"label",86),v(2),u(),E(3,"input",87),kt()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("type",e.type)("formControlName",e.key)}}function O4(t,n){if(t&1&&E(0,"input",94),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function N4(t,n){if(t&1&&E(0,"input",95),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function P4(t,n){if(t&1&&E(0,"input",96),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function F4(t,n){if(t&1&&E(0,"textarea",97),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function L4(t,n){if(t&1&&(m(0,"option",101),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),ae(" ",e," ")}}function V4(t,n){if(t&1&&(m(0,"select",98)(1,"option",99),v(2,"-- Pilih --"),u(),k(3,L4,2,2,"option",100),u()),t&2){let e=x(2).$implicit;y("formControlName",e.key),f(3),y("ngForOf",e.options)}}function B4(t,n){if(t&1&&(m(0,"mat-form-field",32)(1,"mat-label"),v(2),u(),Mt(3,88),k(4,O4,1,1,"input",89)(5,N4,1,1,"input",90)(6,P4,1,1,"input",91)(7,F4,1,1,"textarea",92)(8,V4,4,2,"select",93),kt(),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("ngSwitch",e.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select")}}function j4(t,n){if(t&1&&(m(0,"div",31),k(1,R4,4,3,"ng-container",85)(2,B4,9,7,"ng-template",null,1,Bi),u()),t&2){let e=n.$implicit,i=yt(3);f(),y("ngIf",e.type==="date"||e.type==="time")("ngIfElse",i)}}function H4(t,n){t&1&&v(0,"Room Information")}function z4(t,n){if(t&1&&(Mt(0),m(1,"label",86),v(2),u(),E(3,"input",87),kt()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("type",e.type)("formControlName",e.key)}}function U4(t,n){if(t&1&&E(0,"input",94),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function $4(t,n){if(t&1&&E(0,"input",95),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function W4(t,n){if(t&1&&E(0,"input",96),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function G4(t,n){if(t&1&&E(0,"textarea",97),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function q4(t,n){if(t&1&&(m(0,"option",101),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),ae(" ",e," ")}}function Y4(t,n){if(t&1&&(m(0,"select",98)(1,"option",99),v(2,"-- Pilih --"),u(),k(3,q4,2,2,"option",100),u()),t&2){let e=x(2).$implicit;y("formControlName",e.key),f(3),y("ngForOf",e.options)}}function K4(t,n){if(t&1&&(m(0,"mat-form-field",32)(1,"mat-label"),v(2),u(),Mt(3,88),k(4,U4,1,1,"input",89)(5,$4,1,1,"input",90)(6,W4,1,1,"input",91)(7,G4,1,1,"textarea",92)(8,Y4,4,2,"select",93),kt(),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("ngSwitch",e.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select")}}function Z4(t,n){if(t&1&&(m(0,"div",31),k(1,z4,4,3,"ng-container",85)(2,K4,9,7,"ng-template",null,1,Bi),u()),t&2){let e=n.$implicit,i=yt(3);f(),y("ngIf",e.type==="date"||e.type==="time")("ngIfElse",i)}}function Q4(t,n){if(t&1&&v(0),t&2){let e=x();ae("Room Details (",e.roomDetailsArray.length,")")}}function X4(t,n){t&1&&(m(0,"div",102),v(1,' Please enter "Total Room" in Room Information step to add room details. '),u())}function J4(t,n){if(t&1&&(m(0,"option",101),v(1),u()),t&2){let e=n.$implicit;y("value",e.id),f(),as(" ",e.number," - Rp ",e.price," ")}}function e5(t,n){t&1&&(m(0,"mat-error"),v(1," Room is required "),u())}function t5(t,n){if(t&1){let e=xe();m(0,"div",103)(1,"h6",104),v(2),u(),m(3,"div",82)(4,"div",31)(5,"mat-form-field",32)(6,"mat-label"),v(7,"Select Room"),u(),m(8,"select",105),O("change",function(r){let o=U(e).index,a=x();return $(a.onRoomSelect(r,o))}),m(9,"option",99),v(10,"-- Select Room --"),u(),k(11,J4,2,3,"option",100),u(),k(12,e5,2,0,"mat-error",17),u()(),m(13,"div",31)(14,"mat-form-field",32)(15,"mat-label"),v(16,"Room Class ID"),u(),E(17,"input",106),u()(),m(18,"div",31)(19,"mat-form-field",32)(20,"mat-label"),v(21,"Room Type ID"),u(),E(22,"input",107),u()(),m(23,"div",31)(24,"mat-form-field",32)(25,"mat-label"),v(26,"Room Floor ID"),u(),E(27,"input",108),u()(),m(28,"div",31)(29,"label",109),v(30,"Check In Date"),u(),E(31,"input",110),u(),m(32,"div",31)(33,"label",109),v(34,"Check Out Date"),u(),E(35,"input",111),u(),m(36,"div",31)(37,"mat-form-field",32)(38,"mat-label"),v(39,"Price"),u(),E(40,"input",112),u()(),m(41,"div",31)(42,"mat-form-field",32)(43,"mat-label"),v(44,"Discount"),u(),E(45,"input",113),u()(),m(46,"div",31)(47,"mat-form-field",32)(48,"mat-label"),v(49,"PPN"),u(),E(50,"input",114),u()(),m(51,"div",31)(52,"mat-form-field",32)(53,"mat-label"),v(54,"PPH"),u(),E(55,"input",115),u()(),m(56,"div",31)(57,"mat-form-field",32)(58,"mat-label"),v(59,"Total"),u(),E(60,"input",116),u()()()()}if(t&2){let e,i=n.$implicit,r=n.index,o=x();y("formGroup",i),f(2),ae("Room ",r+1,""),f(9),y("ngForOf",o.rooms),f(),y("ngIf",(e=i.get("room_id"))==null?null:e.hasError("required"))}}function n5(t,n){t&1&&v(0,"Payment Information")}function i5(t,n){if(t&1&&(Mt(0),m(1,"label",86),v(2),u(),E(3,"input",87),kt()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("type",e.type)("formControlName",e.key)}}function r5(t,n){if(t&1&&E(0,"input",94),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function o5(t,n){if(t&1&&E(0,"input",95),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function a5(t,n){if(t&1&&E(0,"input",96),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function s5(t,n){if(t&1&&E(0,"textarea",97),t&2){let e=x(2).$implicit;y("formControlName",e.key)}}function l5(t,n){if(t&1&&(m(0,"option",101),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),ae(" ",e," ")}}function c5(t,n){if(t&1&&(m(0,"select",98)(1,"option",99),v(2,"-- Pilih --"),u(),k(3,l5,2,2,"option",100),u()),t&2){let e=x(2).$implicit;y("formControlName",e.key),f(3),y("ngForOf",e.options)}}function d5(t,n){if(t&1&&(m(0,"mat-form-field",32)(1,"mat-label"),v(2),u(),Mt(3,88),k(4,r5,1,1,"input",89)(5,o5,1,1,"input",90)(6,a5,1,1,"input",91)(7,s5,1,1,"textarea",92)(8,c5,4,2,"select",93),kt(),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("ngSwitch",e.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select")}}function u5(t,n){if(t&1&&(m(0,"div",31),k(1,i5,4,3,"ng-container",85)(2,d5,9,7,"ng-template",null,2,Bi),u()),t&2){let e=n.$implicit,i=yt(3);f(),y("ngIf",e.type==="date"||e.type==="time")("ngIfElse",i)}}function m5(t,n){if(t&1&&(m(0,"tr")(1,"td"),v(2),u(),m(3,"td"),v(4),u(),m(5,"td"),v(6),u(),m(7,"td"),v(8),u(),m(9,"td"),v(10),u(),m(11,"td"),v(12),u(),m(13,"td"),v(14),u(),m(15,"td",59),v(16),$o(17,"number"),u()()),t&2){let e=n.$implicit,i=n.index;f(2),I(i+1),f(2),I(e.room_id),f(2),I(e.room_class_id),f(2),I(e.room_type_id),f(2),I(e.room_floor_id),f(2),I(e.check_in_date),f(2),I(e.check_out_date),f(2),I(Wo(17,8,e.price))}}function p5(t,n){t&1&&(m(0,"tr")(1,"td",117),v(2,"No room details found."),u()())}var Zp=class t{fb=p(Ki);router=p(Me);response=p(Ot);layout=p(dt);apiService=p(ii);reservations=[];allreservationsData=[];searchQuery="";isEditMode=!1;editingReservationId=null;totalreservations=0;pageSize=15;currentPage=0;pageSizeOptions=[15,45,75,100];customers=[];filteredCustomers=[];customerNotFound=!1;customerDisplay="";selectedCustomer=null;rooms=[];selectedRoom=null;InputPersonal;CACHE_KEY="CACHE_INPUT_RESERVASI";array1=[{key:"customer_id",label:"customer ID",type:"input",required:!0}];roomInformation=[{key:"total_room",label:"total_room",type:"number"},{key:"total_adult",label:"total_adult",type:"number"},{key:"total_children",label:"total_children",type:"number"}];reservationInformation=[{key:"number",label:"number",type:"input"},{key:"number_public",label:"number public",type:"input"},{key:"reservation_date",label:"reservation date",type:"date"},{key:"check_in_planned_date",label:"check_in_planned_date",type:"date"},{key:"check_in_date",label:"check_in_date",type:"date"},{key:"check_out_date",label:"check_out_date",type:"date"},{key:"booking_source_id",label:"booking_source_id",type:"number"},{key:"ota_id",label:"ota id",type:"number"},{key:"category_id",label:"category_id",type:"select",options:["test 1 ","test 2"]},{key:"segment_id",label:"segment id",type:"number"}];paymentInformation=[{key:"total",label:"total",type:"number"},{key:"discount_id",label:"discount",type:"number"},{key:"ppn",label:"ppn",type:"number"},{key:"pph",label:"pph",type:"number"},{key:"grand_total",label:"grand_total",type:"number"},{key:"status",label:"status",type:"select",options:["test 1 ","test 2"]}];roomDetailInformation=[{key:"room_id",label:"Room",type:"select",options:[],required:!0},{key:"room_class_id",label:"Room Class ID",type:"number"},{key:"room_type_id",label:"Room Type ID",type:"number"},{key:"room_floor_id",label:"Room Floor ID",type:"number"},{key:"detail_check_in_date",label:"Check In Date",type:"date",required:!0},{key:"detail_check_out_date",label:"Check Out Date",type:"date",required:!0},{key:"detail_price",label:"Price",type:"number"},{key:"detail_discount",label:"Discount",type:"number"},{key:"detail_ppn",label:"PPN",type:"number"},{key:"detail_pph",label:"PPH",type:"number"},{key:"detail_total",label:"Total",type:"number"}];ngOnInit(){let n=[...this.array1,...this.roomInformation,...this.reservationInformation,...this.paymentInformation];this.InputPersonal=this.createFormGroup(n),this.InputPersonal.addControl("roomDetails",this.fb.array([])),this.loadCustomersFromStorage(),this.setupCustomerSearch(),this.loadCache(),this.setupAutoSave(),this.fetchreservationsData(),this.setupModalScroll(),this.loadRooms(),this.setupRoomDetailsArray()}isStepValid(n){return n.every(e=>{let i=this.InputPersonal.get(e.key);return!e.required||i&&i.valid})}setupModalScroll(){}resetManualScroll(){}applyManualScroll(){}loadCustomersFromStorage(){try{let n=localStorage.getItem("MASTER_CUSTOMER_ALL"),e=n?JSON.parse(n):null;this.customers=Array.isArray(e?.d?.data)?e.d.data:[]}catch{this.customers=[]}}filterCustomers(n){let e=n.toLowerCase();return this.customers.filter(i=>(i.full_name||[i.first_name,i.last_name].filter(Boolean).join(" "))?.toLowerCase().includes(e)||i.email?.toLowerCase().includes(e)||i.identity_number?.toString().includes(e))}setupCustomerSearch(){let n=this.InputPersonal.get("customer_id");n&&n.valueChanges.pipe(Lr(300),Ra()).subscribe(e=>{typeof e!="number"&&(this.filteredCustomers=[],this.customerNotFound=!1)})}onCustomerSearch(n){let e=n.target.value;if(e.length<2){this.filteredCustomers=[],this.customerNotFound=!1,this.selectedCustomer=null;return}let i=this.filterCustomers(e);this.filteredCustomers=i,this.customerNotFound=i.length===0,this.selectedCustomer=null}selectCustomer(n){this.InputPersonal.patchValue({customer_id:Number(n.id)}),this.customerDisplay=n.full_name||`${n.first_name} ${n.last_name??""}`,this.selectedCustomer=n,this.autofillFromCustomer(n),this.filteredCustomers=[],this.customerNotFound=!1}autofillFromCustomer(n){let e={};n.phone&&(e.phone=n.phone),n.email&&(e.email=n.email),n.gender_id&&(e.gender_id=n.gender_id),n.address&&(e.address=n.address),n.city_id&&(e.city_id=n.city_id),n.province_id&&(e.province_id=n.province_id),this.InputPersonal.patchValue(e,{emitEvent:!1})}trackByCustomerId(n,e){return e.id}loadRooms(){this.apiService.masterroom().subscribe({next:n=>{this.rooms=n.data??[]},error:()=>{this.response.notify({error:"Gagal memuat data kamar"})}})}get roomDetailsArray(){return this.InputPersonal.get("roomDetails")}setupRoomDetailsArray(){let n=this.InputPersonal.get("total_room");n&&n.valueChanges.pipe(Lr(300)).subscribe(e=>{this.updateRoomDetailsArray(Number(e)||0)})}updateRoomDetailsArray(n){let e=this.roomDetailsArray,i=e.length;if(n>i)for(let r=i;r<n;r++)e.push(this.createRoomDetailGroup());else if(n<i)for(let r=i-1;r>=n;r--)e.removeAt(r)}createRoomDetailGroup(){let n=this.fb.group({room_id:["",Rt.required],room_class_id:[""],room_type_id:[""],room_floor_id:[""],check_in_date:["",Rt.required],check_out_date:["",Rt.required],price:[0],discount:[0],ppn:[0],pph:[0],total:[0]}),e=this.InputPersonal.get("check_in_date")?.value,i=this.InputPersonal.get("check_out_date")?.value;return e&&n.patchValue({check_in_date:e},{emitEvent:!1}),i&&n.patchValue({check_out_date:i},{emitEvent:!1}),this.setupRoomDetailCalculation(n),n}onRoomSelect(n,e){let i=n.target.value;if(!i)return;let r=this.rooms.find(a=>a.id===i);if(!r)return;this.roomDetailsArray.at(e).patchValue({room_class_id:Number(r.class_id),room_type_id:Number(r.type_id),room_floor_id:Number(r.floor_id),price:Number(r.price)},{emitEvent:!0})}setupRoomDetailCalculation(n){let e=n.get("price"),i=n.get("discount"),r=n.get("ppn"),o=n.get("pph"),a=n.get("check_in_date"),s=n.get("check_out_date");!e||!i||!r||!o||!a||!s||[e,i,r,o,a,s].forEach(c=>{c.valueChanges.subscribe(()=>{this.calculateRoomDetailTotal(n),this.calculateGrandTotal()})})}calculateRoomDetailTotal(n){let e=Number(n.get("price")?.value)||0,i=Number(n.get("discount")?.value)||0,r=Number(n.get("ppn")?.value)||0,o=Number(n.get("pph")?.value)||0,a=n.get("check_in_date")?.value,s=n.get("check_out_date")?.value,c=1;if(a&&s){let _=new Date(a),C=new Date(s).getTime()-_.getTime(),S=Math.ceil(C/(1e3*60*60*24));c=S>0?S:1}let b=e*c-i+r+o;n.patchValue({total:b},{emitEvent:!1})}calculateGrandTotal(){let n=this.roomDetailsArray,e=0,i=0,r=0,o=0;n.controls.forEach(a=>{let s=Number(a.get("total")?.value)||0,c=Number(a.get("discount")?.value)||0,g=Number(a.get("ppn")?.value)||0,b=Number(a.get("pph")?.value)||0;e+=s,i+=c,r+=g,o+=b}),this.InputPersonal.patchValue({total:e,discount_id:i,ppn:r,pph:o,grand_total:e},{emitEvent:!1})}trackByIndex(n){return n}createFormGroup(n){let e={};return n.forEach(i=>{let r=[];i.required&&r.push(Rt.required),e[i.key]=["",r]}),this.fb.group(e)}startNewReservation(){this.clearCache(),this.InputPersonal.reset(),this.customerDisplay="",this.selectedCustomer=null,this.isEditMode=!1,this.editingReservationId=null}loadReservationDetail(n){this.InputPersonal.patchValue(n),this.isEditMode=!0,this.editingReservationId=n.id}submit(){if(this.InputPersonal.invalid){this.response.notify({error:"Form belum lengkap atau tidak valid"});return}let n=this.InputPersonal.value,e={};if(Object.entries(n).forEach(([o,a])=>{o!=="roomDetails"&&a!==null&&a!==""&&(e[o]=a)}),e.customer_id=Number(e.customer_id),Number.isNaN(e.customer_id))return;this.isEditMode&&this.editingReservationId&&(e.id=this.editingReservationId);let i=e.number;(this.isEditMode?this.apiService.masterreservationput(this.editingReservationId,e):this.apiService.masterreservationpost(e)).subscribe({next:o=>{this.isEditMode?this.handleRoomDetailsSave(this.editingReservationId):setTimeout(()=>{this.fetchIdAndSaveDetails(i)},1e3)},error:o=>{this.response.notify({error:"Gagal menyimpan data reservasi"})}})}fetchIdAndSaveDetails(n){this.apiService.masterreservationsall().subscribe({next:e=>{let r=(e.data||[]).find(o=>o.number==n);r&&r.id?this.handleRoomDetailsSave(r.id):(this.response.notify({error:"Gagal mengambil ID reservasi"}),this.afterSubmitSuccess())},error:e=>{this.afterSubmitSuccess()}})}handleRoomDetailsSave(n){let e=this.roomDetailsArray;e.length>0?this.saveRoomDetails(n,e):this.afterSubmitSuccess()}saveRoomDetails(n,e){let i=e.controls.map((r,o)=>{let a=R({reservation_id:n},r.value);return["room_id","room_class_id","room_type_id","room_floor_id"].forEach(s=>{a[s]&&(a[s]=Number(a[s]))}),["price","discount","ppn","pph","total"].forEach(s=>{a[s]&&(a[s]=Number(a[s]))}),this.apiService.masterreservationdetailpost(a).toPromise()});Promise.all(i).then(r=>{this.afterSubmitSuccess()}).catch(r=>{this.response.notify({error:"Gagal menyimpan detail kamar"})})}afterSubmitSuccess(){this.response.notify({success:"Data berhasil disimpan"}),this.clearCache(),this.InputPersonal.reset(),this.customerDisplay="",this.isEditMode=!1,this.editingReservationId=null,this.fetchreservationsData()}fetchreservationsData(){this.apiService.masterreservationsall().subscribe({next:n=>{let e=n;this.allreservationsData=e.data??[],this.applyPaginationAndFilter()},error:()=>{this.response.notify({error:"Gagal memuat data"})}})}applyPaginationAndFilter(){let n=this.allreservationsData,e=this.searchQuery.toLowerCase();e&&(n=n.filter(r=>r.full_name?.toLowerCase().includes(e)||r.email?.toLowerCase().includes(e))),this.totalreservations=n.length;let i=this.currentPage*this.pageSize;this.reservations=n.slice(i,i+this.pageSize)}onSearchChange(){this.currentPage=0,this.applyPaginationAndFilter()}onPageChange(n){this.currentPage=n.pageIndex,this.pageSize=n.pageSize,this.applyPaginationAndFilter()}setupAutoSave(){this.InputPersonal.valueChanges.subscribe(()=>{localStorage.setItem(this.CACHE_KEY,JSON.stringify(this.InputPersonal.value))})}loadCache(){let n=localStorage.getItem(this.CACHE_KEY);n&&this.InputPersonal.patchValue(JSON.parse(n))}clearCache(){localStorage.removeItem(this.CACHE_KEY)}openDeleteConfirm(){this.editingReservationId&&Kp.default.fire({title:"Konfirmasi Hapus",text:"Data ini akan dihapus permanen",icon:"warning",showCancelButton:!0,confirmButtonColor:"#d33"}).then(n=>n.isConfirmed&&this.deleteReservationConfirmed())}deleteReservationConfirmed(){this.editingReservationId&&this.apiService.masterreservationdelete(this.editingReservationId).subscribe({next:()=>{Kp.default.fire("Berhasil","Data dihapus","success"),this.afterSubmitSuccess()},error:()=>Kp.default.fire("Gagal","Tidak bisa menghapus data","error")})}viewReservationData=null;viewReservationDetails=[];viewCustomerData=null;viewReservation(n){let e=this.allreservationsData.find(i=>i.id===n);if(!e){this.response.notify({error:"Data reservasi tidak ditemukan di local list"});return}this.viewReservationData=e,this.viewReservationDetails=[],this.viewCustomerData=null,this.viewCustomerData=null;try{let i=localStorage.getItem("MASTER_CUSTOMER_ALL");if(i){let r=JSON.parse(i),o=[];r?.d?.data&&Array.isArray(r.d.data)?o=r.d.data:r?.d&&Array.isArray(r.d)&&(o=r.d),o.length>0&&(this.viewCustomerData=o.find(a=>a.id==e.customer_id))}}catch(i){console.error("Failed to load customer from storage",i)}!this.viewCustomerData&&this.customers&&this.customers.length>0&&(this.viewCustomerData=this.customers.find(i=>i.id==e.customer_id)),this.apiService.masterreservationdetail().subscribe({next:i=>{let r=i.data||[];this.viewReservationDetails=r.filter(a=>Number(a.reservation_id)===Number(n));let o=document.getElementById("viewModal");if(o){let a=window.bootstrap;a?new a.Modal(o).show():console.error("Bootstrap JS not found")}},error:i=>{this.response.notify({error:"Gagal mengambil detail reservasi"})}})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-reservasi"]],decls:254,vars:62,consts:[["viewStepper",""],["materialField2",""],["materialField3",""],[1,"pc-container","p-5"],[1,"row","g-4"],["type","button","data-bs-toggle","modal","data-bs-target","#detailModal",1,"btn","btn-primary","mb-3",2,"cursor","pointer",3,"click"],[1,"col-12"],[1,"card","shadow","p-4"],[1,"mb-3"],[1,"row","mb-3","align-items-center"],[1,"col-md-4","ms-auto"],["type","text","placeholder","Cari (Nama/Email/ID/KTP)...",1,"form-control",3,"ngModelChange","input","ngModel"],[1,"table-responsive"],[1,"table","table-striped","table-hover","align-middle"],[2,"width","10%"],[2,"width","15%"],[4,"ngFor","ngForOf"],[4,"ngIf"],["aria-label","Select page",3,"page","length","pageSize","pageSizeOptions","pageIndex"],["id","detailModal","tabindex","-1","aria-labelledby","detailModalLabel","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog","modal-xl","modal-dialog-scrollable"],[1,"modal-content"],[1,"modal-header","bg-primary","text-white","d-flex","align-items-center","justify-content-between"],["id","detailModalLabel",1,"modal-title","text-light"],["type","button","data-bs-dismiss","modal",1,"btn","btn-light","btn-sm"],[3,"ngSubmit","formGroup"],[1,"modal-body"],["linear",""],[3,"completed"],["matStepLabel",""],[1,"row","g-3","mt-3"],[1,"col-md-6"],["appearance","outline",1,"w-100"],["matInput","","type","text","placeholder","Cari nama / email / NIK...",3,"input","value"],["class","list-group mt-2",4,"ngIf"],["class","alert alert-warning mt-2",4,"ngIf"],["class","mt-4",4,"ngIf"],[1,"text-end","mt-4"],["mat-raised-button","","color","warn","type","button","data-bs-dismiss","modal",3,"click",4,"ngIf"],["mat-raised-button","","color","primary","matStepperNext","","type","button",3,"disabled"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-between","mt-4"],["mat-button","","matStepperPrevious","","type","button"],["mat-raised-button","","color","primary","matStepperNext","","type","button"],["class","alert alert-info mt-3",4,"ngIf"],["class","border rounded p-3 mb-3 mt-3",3,"formGroup",4,"ngFor","ngForOf","ngForTrackBy"],["mat-raised-button","","color","success","data-bs-dismiss","modal","type","submit"],["id","viewModal","tabindex","-1",1,"modal","fade"],[1,"modal-header","bg-info","text-white"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close"],["label","Reservation Information"],[1,"row","mb-4"],[1,"col-md-6","mb-2"],[1,"text-muted","d-block"],[1,"col-md-3","mb-2","mt-2"],[1,"col-md-2","mb-2","mt-2"],[1,"col-md-4","mb-2","mt-2"],[1,"table","table-bordered","table-striped","table-sm"],[1,"text-end"],["label","Payment Information"],[1,"row"],[1,"table","table-borderless"],[1,"fw-bold","fs-5","border-top"],["label","Reservation Notes"],[1,"p-3","border","rounded","bg-light"],[1,"mb-0"],[1,"modal-footer"],["type","button","data-bs-dismiss","modal",1,"btn","btn-secondary"],["data-bs-toggle","modal","data-bs-target","#detailModal",2,"cursor","pointer",3,"click"],["title","View Detail",1,"btn","btn-sm","btn-info","me-1",3,"click"],[1,"badge","bg-secondary"],["colspan","6",1,"text-center","text-muted","py-3"],[1,"list-group","mt-2"],["class","list-group-item list-group-item-action","style","cursor: pointer",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"list-group-item","list-group-item-action",2,"cursor","pointer",3,"click"],[1,"text-muted"],[1,"alert","alert-warning","mt-2"],[1,"mt-4"],[1,"border-top","pt-3"],[1,"text-primary","fw-semibold","mb-2"],[1,"text-muted","small","mb-3"],[1,"row","g-3"],["matInput","","type","text","readonly","",3,"value"],["mat-raised-button","","color","warn","type","button","data-bs-dismiss","modal",3,"click"],[4,"ngIf","ngIfElse"],[1,"form-label","text-capitalize"],[1,"form-control",3,"type","formControlName"],[3,"ngSwitch"],["matInput","","type","text",3,"formControlName",4,"ngSwitchCase"],["matInput","","type","email",3,"formControlName",4,"ngSwitchCase"],["matInput","","type","number",3,"formControlName",4,"ngSwitchCase"],["matInput","","rows","3",3,"formControlName",4,"ngSwitchCase"],["matNativeControl","",3,"formControlName",4,"ngSwitchCase"],["matInput","","type","text",3,"formControlName"],["matInput","","type","email",3,"formControlName"],["matInput","","type","number",3,"formControlName"],["matInput","","rows","3",3,"formControlName"],["matNativeControl","",3,"formControlName"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"alert","alert-info","mt-3"],[1,"border","rounded","p-3","mb-3","mt-3",3,"formGroup"],[1,"text-primary","mb-3"],["matNativeControl","","formControlName","room_id",3,"change"],["matInput","","type","number","formControlName","room_class_id","readonly",""],["matInput","","type","number","formControlName","room_type_id","readonly",""],["matInput","","type","number","formControlName","room_floor_id","readonly",""],[1,"form-label"],["type","date","formControlName","check_in_date",1,"form-control"],["type","date","formControlName","check_out_date",1,"form-control"],["matInput","","type","number","formControlName","price","readonly",""],["matInput","","type","number","formControlName","discount"],["matInput","","type","number","formControlName","ppn"],["matInput","","type","number","formControlName","pph"],["matInput","","type","number","formControlName","total","readonly",""],["colspan","8",1,"text-center","text-muted"]],template:function(e,i){if(e&1){let r=xe();E(0,"app-sidebar")(1,"app-header"),m(2,"div",3)(3,"div",4)(4,"button",5),O("click",function(){return U(r),$(i.startNewReservation())}),v(5," \u2795 Add new Reservation "),u(),m(6,"div",6)(7,"div",7)(8,"h4",8),v(9,"Reservation List"),u(),m(10,"div",9)(11,"div",10)(12,"input",11),_t("ngModelChange",function(a){return U(r),wt(i.searchQuery,a)||(i.searchQuery=a),$(a)}),O("input",function(){return U(r),$(i.onSearchChange())}),u()()(),m(13,"div",12)(14,"table",13)(15,"thead")(16,"tr")(17,"th",14),v(18,"#"),u(),m(19,"th",14),v(20,"Action"),u(),m(21,"th",15),v(22,"Number"),u(),m(23,"th",15),v(24,"Number Public"),u(),m(25,"th",15),v(26,"Reservation Date"),u(),m(27,"th",15),v(28,"Check in plane"),u(),m(29,"th",15),v(30,"Check in date"),u(),m(31,"th",15),v(32,"Check out date"),u()()(),m(33,"tbody"),k(34,C4,19,7,"tr",16)(35,x4,3,1,"tr",17),u()()(),m(36,"mat-paginator",18),O("page",function(a){return U(r),$(i.onPageChange(a))}),u()()()()(),m(37,"div",19)(38,"div",20)(39,"div",21)(40,"div",22)(41,"h5",23),v(42," Reservation Information "),u(),m(43,"button",24),v(44," Close "),u()(),m(45,"form",25),O("ngSubmit",function(){return U(r),$(i.submit())}),m(46,"div",26)(47,"mat-stepper",27)(48,"mat-step",28),k(49,D4,1,0,"ng-template",29),m(50,"div",30)(51,"div",31)(52,"mat-form-field",32)(53,"mat-label"),v(54,"Customer"),u(),m(55,"input",33),O("input",function(a){return U(r),$(i.onCustomerSearch(a))}),u(),k(56,E4,2,0,"mat-error",17),u(),k(57,S4,2,2,"ul",34)(58,M4,2,0,"div",35),u()(),k(59,k4,42,7,"div",36),m(60,"div",37),k(61,T4,2,0,"button",38),m(62,"button",39),v(63," Next "),u()()(),m(64,"mat-step",28),k(65,A4,1,0,"ng-template",29),m(66,"div",30),k(67,j4,4,2,"div",40),u(),m(68,"div",41)(69,"button",42),v(70," Back "),u(),m(71,"button",43),v(72," Next "),u()()(),m(73,"mat-step",28),k(74,H4,1,0,"ng-template",29),m(75,"div",30),k(76,Z4,4,2,"div",40),u(),m(77,"div",41)(78,"button",42),v(79," Back "),u(),m(80,"button",43),v(81," Next "),u()()(),m(82,"mat-step",28),k(83,Q4,1,1,"ng-template",29)(84,X4,2,0,"div",44)(85,t5,61,4,"div",45),m(86,"div",41)(87,"button",42),v(88," Back "),u(),m(89,"button",39),v(90," Next "),u()()(),m(91,"mat-step",28),k(92,n5,1,0,"ng-template",29),m(93,"div",30),k(94,u5,4,2,"div",40),u(),m(95,"div",41)(96,"button",42),v(97," Back "),u(),m(98,"button",46),v(99),u()()()()()()()()(),E(100,"app-footer"),m(101,"div",47)(102,"div",20)(103,"div",21)(104,"div",48)(105,"h5",49),v(106,"Reservation Detail View"),u(),E(107,"button",50),u(),m(108,"div",26)(109,"mat-stepper",null,0)(111,"mat-step",51)(112,"div",52)(113,"div",53)(114,"small",54),v(115,"Reservation Public ID"),u(),m(116,"strong"),v(117),u()(),m(118,"div",53)(119,"small",54),v(120,"Reservation Internal ID"),u(),m(121,"strong"),v(122),u()(),m(123,"div",55)(124,"small",54),v(125,"Reservation Date"),u(),m(126,"strong"),v(127),u()(),m(128,"div",55)(129,"small",54),v(130,"Check In Planned"),u(),m(131,"strong"),v(132),u()(),m(133,"div",55)(134,"small",54),v(135,"Check In Date"),u(),m(136,"strong"),v(137),u()(),m(138,"div",55)(139,"small",54),v(140,"Check Out Date"),u(),m(141,"strong"),v(142),u()(),m(143,"div",55)(144,"small",54),v(145,"Full Name"),u(),m(146,"strong"),v(147),u()(),m(148,"div",56)(149,"small",54),v(150,"Country"),u(),m(151,"strong"),v(152),u()(),m(153,"div",56)(154,"small",54),v(155,"Gender"),u(),m(156,"strong"),v(157),u()(),m(158,"div",56)(159,"small",54),v(160,"Identity Type"),u(),m(161,"strong"),v(162),u()(),m(163,"div",55)(164,"small",54),v(165,"Identity Number"),u(),m(166,"strong"),v(167),u()(),m(168,"div",57)(169,"small",54),v(170,"Total Room"),u(),m(171,"strong"),v(172),u()(),m(173,"div",57)(174,"small",54),v(175,"Total Adult"),u(),m(176,"strong"),v(177),u()(),m(178,"div",57)(179,"small",54),v(180,"Total Children"),u(),m(181,"strong"),v(182),u()()(),E(183,"hr"),m(184,"h6",8),v(185,"Room Details"),u(),m(186,"div",12)(187,"table",58)(188,"thead")(189,"tr")(190,"th"),v(191,"No"),u(),m(192,"th"),v(193,"Room ID"),u(),m(194,"th"),v(195,"Class"),u(),m(196,"th"),v(197,"Type"),u(),m(198,"th"),v(199,"Floor"),u(),m(200,"th"),v(201,"Check In"),u(),m(202,"th"),v(203,"Check Out"),u(),m(204,"th",59),v(205,"Price"),u()()(),m(206,"tbody"),k(207,m5,18,10,"tr",16)(208,p5,3,0,"tr",17),u()()()(),m(209,"mat-step",60)(210,"div",61)(211,"div",31)(212,"table",62)(213,"tr")(214,"td")(215,"strong"),v(216,"Total:"),u()(),m(217,"td",59),v(218),$o(219,"number"),u()(),m(220,"tr")(221,"td")(222,"strong"),v(223,"Discount:"),u()(),m(224,"td",59),v(225),$o(226,"number"),u()(),m(227,"tr")(228,"td")(229,"strong"),v(230,"PPN:"),u()(),m(231,"td",59),v(232),$o(233,"number"),u()(),m(234,"tr")(235,"td")(236,"strong"),v(237,"PPh:"),u()(),m(238,"td",59),v(239),$o(240,"number"),u()(),m(241,"tr",63)(242,"td"),v(243,"Grand Total:"),u(),m(244,"td",59),v(245),$o(246,"number"),u()()()()()(),m(247,"mat-step",64)(248,"div",65)(249,"p",66),v(250),u()()()()(),m(251,"div",67)(252,"button",68),v(253,"Close"),u()()()()()}if(e&2){let r,o,a;f(2),F("sidebar-closed",!i.layout.sidebarOpen()),f(10),gt("ngModel",i.searchQuery),f(22),y("ngForOf",i.reservations),f(),y("ngIf",!i.reservations||i.reservations.length===0),f(),y("length",i.totalreservations)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions)("pageIndex",i.currentPage),f(9),y("formGroup",i.InputPersonal),f(3),y("completed",(r=i.InputPersonal.get("customer_id"))==null?null:r.valid),f(7),y("value",i.customerDisplay),f(),y("ngIf",(o=i.InputPersonal.get("customer_id"))==null?null:o.hasError("required")),f(),y("ngIf",i.filteredCustomers.length>0),f(),y("ngIf",i.customerNotFound),f(),y("ngIf",i.selectedCustomer),f(2),y("ngIf",i.isEditMode&&i.editingReservationId),f(),y("disabled",!((a=i.InputPersonal.get("customer_id"))!=null&&a.valid)),f(2),y("completed",i.isStepValid(i.reservationInformation)),f(3),y("ngForOf",i.reservationInformation),f(6),y("completed",i.isStepValid(i.roomInformation)),f(3),y("ngForOf",i.roomInformation),f(6),y("completed",i.roomDetailsArray.valid),f(2),y("ngIf",i.roomDetailsArray.length===0),f(),y("ngForOf",i.roomDetailsArray.controls)("ngForTrackBy",i.trackByIndex),f(4),y("disabled",i.roomDetailsArray.invalid),f(2),y("completed",i.isStepValid(i.paymentInformation)),f(3),y("ngForOf",i.paymentInformation),f(5),ae(" ",i.isEditMode?"Simpan Perubahan":"Simpan Data Baru"," "),f(18),I((i.viewReservationData==null?null:i.viewReservationData.number_public)||"-"),f(5),I((i.viewReservationData==null?null:i.viewReservationData.number)||"-"),f(5),I((i.viewReservationData==null?null:i.viewReservationData.reservation_date)||"-"),f(5),I((i.viewReservationData==null?null:i.viewReservationData.check_in_planned_date)||"-"),f(5),I((i.viewReservationData==null?null:i.viewReservationData.check_in_date)||"-"),f(5),I((i.viewReservationData==null?null:i.viewReservationData.check_out_date)||"-"),f(5),I((i.viewCustomerData==null?null:i.viewCustomerData.full_name)||"-"),f(5),I((i.viewCustomerData==null?null:i.viewCustomerData.country_id)||"-"),f(5),I((i.viewCustomerData==null?null:i.viewCustomerData.gender_id)||"-"),f(5),I((i.viewCustomerData==null?null:i.viewCustomerData.identity_type_id)||"-"),f(5),I((i.viewCustomerData==null?null:i.viewCustomerData.identity_number)||"-"),f(5),ae("",(i.viewReservationData==null?null:i.viewReservationData.total_room)||"0"," ROOM"),f(5),ae("",(i.viewReservationData==null?null:i.viewReservationData.total_adult)||"0"," PEOPLE"),f(5),ae("",(i.viewReservationData==null?null:i.viewReservationData.total_children)||"0"," PEOPLE"),f(25),y("ngForOf",i.viewReservationDetails),f(),y("ngIf",i.viewReservationDetails.length===0),f(10),I(Wo(219,52,i.viewReservationData==null?null:i.viewReservationData.total)),f(7),I(Wo(226,54,(i.viewReservationData==null?null:i.viewReservationData.discount_id)||0)),f(7),I(Wo(233,56,i.viewReservationData==null?null:i.viewReservationData.ppn)),f(7),I(Wo(240,58,i.viewReservationData==null?null:i.viewReservationData.pph)),f(6),I(Wo(246,60,i.viewReservationData==null?null:i.viewReservationData.grand_total)),f(5),I((i.viewReservationData==null?null:i.viewReservationData.notes)||"No notes available.")}},dependencies:[Ut,$t,Wt,Dn,xn,qi,Yi,jt,vi,Xn,tn,Cn,Bn,Zi,un,bi,ct,Vt,vt,Zn,pi,A_,po,Ar,_M,Cb,Lc,xb,hM,gM,ei,Er,Dr,Jv,Ps,Ns,En,Ir,CM,OM,NM],styles:[".info-box[_ngcontent-%COMP%]{background:#f8f9fc;transition:.2s ease}.info-box[_ngcontent-%COMP%]:hover{background:#eef1ff;transform:translateY(-3px)}.card-header[_ngcontent-%COMP%]{background-color:#1c4ea5}.text-color[_ngcontent-%COMP%]{color:#0d6efd}.table-responsive[_ngcontent-%COMP%]{border-radius:8px;overflow-x:auto;overflow-y:hidden;background:#fff;max-width:100%;white-space:nowrap}.custom-table[_ngcontent-%COMP%]{background:#f7fbff;border-color:#cfe4ff}.custom-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background:#d6eaff;color:#003b73;font-weight:600;border:1px solid #bddcff!important;text-align:center}.custom-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:first-child   th[colspan][_ngcontent-%COMP%], .custom-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:first-child   th[rowspan][_ngcontent-%COMP%]{background:#c2e0ff!important;font-size:14px}.custom-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border:1px solid #d4e8ff!important;color:#003b73;vertical-align:middle}.custom-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background:#eef6ff}.custom-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background:#e0f0ff}.custom-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{white-space:nowrap}@media (max-width: 992px){.custom-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{white-space:normal}}.btn[_ngcontent-%COMP%]{background-color:#2d63c2;color:#fff}.modal-dialog-scrollable[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{overflow-y:auto!important;overflow-x:hidden!important;max-height:calc(100vh - 200px)!important}.modal-content[_ngcontent-%COMP%]{max-height:90vh}input[type=date][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%]{position:relative;z-index:1056}"]})};var f5=()=>["In house expected arrival","Current available","Available tonight"];function h5(t,n){if(t&1&&(m(0,"tr")(1,"td"),v(2),u(),m(3,"td"),v(4),u(),m(5,"td"),v(6),u(),m(7,"td"),v(8),u(),m(9,"td"),v(10),u(),m(11,"td"),v(12),u()()),t&2){let e=n.$implicit;F("fw-bold",eD(18,f5).includes(e.description))("text-primary",e.description==="In house expected arrival")("text-success",e.description==="Current available")("text-danger",e.description==="Available tonight")("bg-danger",e.description==="On Hand")("text-light",e.description==="On Hand"),f(2),I(e.description),f(2),I(e.individual),f(2),I(e.mice),f(2),I(e.block),f(2),I(e.total),f(2),I(e.pax)}}function g5(t,n){if(t&1&&(m(0,"tr")(1,"td"),v(2),u(),m(3,"td"),v(4),u(),m(5,"td"),v(6),u(),m(7,"td"),v(8),u(),m(9,"td"),v(10),u(),m(11,"td"),v(12),u(),m(13,"td"),v(14),u(),m(15,"td"),v(16),u()()),t&2){let e=n.$implicit;f(2),I(e.type),f(2),I(e.vr),f(2),I(e.vc),f(2),I(e.vd),f(2),I(e.oc),f(2),I(e.od),f(2),I(e.ooo),f(2),I(e.vr+e.vc+e.vd+e.oc+e.od+e.ooo)}}function _5(t,n){if(t&1&&(m(0,"tr")(1,"td"),v(2),u(),m(3,"td"),v(4),u()()),t&2){let e=n.$implicit;f(2),I(e.groupName),f(2),I(e.pax)}}function v5(t,n){if(t&1&&(m(0,"tr")(1,"td"),v(2),u(),m(3,"td"),v(4),u()()),t&2){let e=n.$implicit;f(2),I(e.name),f(2),I(e.room)}}var Qp=class t{layout=p(dt);MASTER_KEY_RESERVATION="MASTER_KEY_RESERVATION";roomInventory=[];housekeepingStatus=[];guestInfo={};summary={};rawData=null;ngOnInit(){let n=localStorage.getItem(this.MASTER_KEY_RESERVATION);this.rawData=n?JSON.parse(n)[0]:null,this.loadNormalizedData()}loadNormalizedData(){if(!this.rawData){console.warn("MASTER_KEY_RESERVATION tidak ditemukan.");return}let n=this.rawData,e=Number(n.room_rate_base??1),i=Number(n.rate_after_discount??1),r=e?i/e*100:0;this.summary={occupancyPercent:r.toFixed(2),tonightOccupied:Number(n.pax_adult??0)+Number(n.pax_child??0),tonightAvailable:0},this.roomInventory=[{description:"Current in house",individual:Number(n.pax_adult??0),mice:Number(n.pax_child??0),block:0,total:Number(n.pax_adult??0)+Number(n.pax_child??0),pax:Number(n.pax_adult??0)+Number(n.pax_child??0)},{description:"Expected arrival confirmed",individual:Number(n.night_stay??0),mice:0,block:0,total:Number(n.night_stay??0),pax:Number(n.night_stay??0)},{description:"Expected departure",individual:Number(n.deposit_no??0),mice:0,block:0,total:Number(n.deposit_no??0),pax:Number(n.deposit_no??0)},{description:"Paying room",individual:Number(n.room_rate_base??0),mice:Number(n.rate_after_discount??0),block:0,total:Number(n.room_rate_base??0)+Number(n.rate_after_discount??0),pax:Number(n.room_rate_base??0)+Number(n.rate_after_discount??0)}],this.housekeepingStatus=[{type:"VR",vr:Number(n.pax_adult??0),vc:Number(n.pax_child??0),vd:Number(n.extrabed??0),oc:Number(n.mobile_phone??0),od:Number(n.deposit_no??0),ooo:Number(n.room_rate_base??0)}],this.guestInfo={inHouseMice:[{groupName:n.company_name_1??"Unknown Group",pax:Number(n.pax_child??0)}],inHouseVip:[{name:n.guest_name??"Unknown Guest",room:n.room_number??"-"}]}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-current-status"]],decls:107,vars:9,consts:[[1,"pc-container"],[1,"container"],[1,"title-page","mb-4"],[1,"row","g-3","mb-4"],[1,"col-md-4"],[1,"info-box","shadow-sm","p-3","rounded","text-center"],[1,"fw-bold","text-success"],[1,"display-6","fw-bold"],[1,"text-muted"],[1,"fw-bold","text-primary"],[1,"fw-bold","text-danger"],[1,"row"],[1,"col-lg-8","mb-4"],[1,"table-responsive","shadow-sm"],[1,"table","custom-table"],["colspan","6",1,"text-center"],[3,"fw-bold","text-primary","text-success","text-danger","bg-danger","text-light",4,"ngFor","ngForOf"],[1,"col-lg-4"],[1,"table-responsive","shadow-sm","mb-4"],["colspan","8",1,"text-center"],[4,"ngFor","ngForOf"],["colspan","3",1,"text-center"]],template:function(e,i){e&1&&(E(0,"app-sidebar")(1,"app-header"),m(2,"div",0)(3,"div",1)(4,"h3",2),v(5," Current Status"),u(),m(6,"div",3)(7,"div",4)(8,"div",5)(9,"h5",6),v(10,"Tonight % of Occupancy"),u(),m(11,"div",7),v(12),u(),m(13,"small",8),v(14,"Current % in House"),u()()(),m(15,"div",4)(16,"div",5)(17,"h5",9),v(18,"Tonight Occupied"),u(),m(19,"div",7),v(20),u(),m(21,"small",8),v(22,"Current in House"),u()()(),m(23,"div",4)(24,"div",5)(25,"h5",10),v(26,"Tonight Available"),u(),m(27,"div",7),v(28),u(),m(29,"small",8),v(30,"Current Available"),u()()()(),m(31,"div",11)(32,"div",12)(33,"div",13)(34,"table",14)(35,"thead")(36,"tr")(37,"th",15),v(38,"Room Inventory"),u()(),m(39,"tr")(40,"th"),v(41,"Description"),u(),m(42,"th"),v(43,"Individual"),u(),m(44,"th"),v(45,"MICE"),u(),m(46,"th"),v(47,"BLOCK"),u(),m(48,"th"),v(49,"Total"),u(),m(50,"th"),v(51,"PAX"),u()()(),m(52,"tbody"),k(53,h5,13,19,"tr",16),u()()()(),m(54,"div",17)(55,"div",18)(56,"table",14)(57,"thead")(58,"tr")(59,"th",19),v(60,"Housekeeping Status"),u()(),m(61,"tr")(62,"th"),v(63,"Type"),u(),m(64,"th"),v(65,"VR"),u(),m(66,"th"),v(67,"VC"),u(),m(68,"th"),v(69,"VD"),u(),m(70,"th"),v(71,"OC"),u(),m(72,"th"),v(73,"OD"),u(),m(74,"th"),v(75,"OOO"),u(),m(76,"th"),v(77,"Total"),u()()(),m(78,"tbody"),k(79,g5,17,8,"tr",20),u()()(),m(80,"div",18)(81,"table",14)(82,"thead")(83,"tr")(84,"th",21),v(85,"In House MICE"),u()(),m(86,"tr")(87,"th"),v(88,"Group"),u(),m(89,"th"),v(90,"Pax"),u()()(),m(91,"tbody"),k(92,_5,5,2,"tr",20),u()()(),m(93,"div",13)(94,"table",14)(95,"thead")(96,"tr")(97,"th",21),v(98,"VIP Guests"),u()(),m(99,"tr")(100,"th"),v(101,"Name"),u(),m(102,"th"),v(103,"Room"),u()()(),m(104,"tbody"),k(105,v5,5,2,"tr",20),u()()()()()()(),E(106,"app-footer")),e&2&&(f(2),F("sidebar-closed",!i.layout.sidebarOpen()),f(10),ae("",i.summary==null?null:i.summary.occupancyPercent,"%"),f(8),I(i.summary==null?null:i.summary.tonightOccupied),f(8),I(i.summary==null?null:i.summary.tonightAvailable),f(25),y("ngForOf",i.roomInventory),f(26),y("ngForOf",i.housekeepingStatus),f(13),y("ngForOf",i.guestInfo==null?null:i.guestInfo.inHouseMice),f(13),y("ngForOf",i.guestInfo==null?null:i.guestInfo.inHouseVip))},dependencies:[Ut,$t,Wt,ct,Vt],styles:[".pc-container[_ngcontent-%COMP%]{padding-top:30px}.title-page[_ngcontent-%COMP%]{font-weight:700;color:#333}.info-box[_ngcontent-%COMP%]{background:#fff;border-radius:12px;transition:transform .2s,box-shadow .2s}.info-box[_ngcontent-%COMP%]:hover{transform:translateY(-3px);box-shadow:0 6px 18px #00000014}.custom-table[_ngcontent-%COMP%]{background:#fff;border-radius:8px;overflow:hidden}.custom-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:first-child   th[_ngcontent-%COMP%]{background:#0d6efd;color:#fff;font-size:1.05rem;font-weight:600}.custom-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2)   th[_ngcontent-%COMP%]{background:#f0f4ff;font-weight:600;color:#333}.custom-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background:#f9f9f9}.custom-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background:#eef4ff}.custom-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.fw-bold[_ngcontent-%COMP%]{background:#eef5ff!important}.table-responsive[_ngcontent-%COMP%]{border-radius:10px}@media (max-width: 768px){.title-page[_ngcontent-%COMP%]{font-size:1.4rem}}"]})};var Xp=ed(Mc());function b5(t,n){if(t&1){let e=xe();m(0,"tr",30),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadroomDetail(r))}),m(1,"td"),v(2),u(),m(3,"td")(4,"span",31),v(5),u()(),m(6,"td"),v(7),u(),m(8,"td"),v(9),u(),m(10,"td"),v(11),u(),m(12,"td"),v(13),u(),m(14,"td")(15,"span",32),v(16),u()()()}if(t&2){let e=n.$implicit,i=n.index,r=x();f(2),I(i+r.currentPage*r.pageSize+1),f(3),I(e.number),f(2),I(r.getClassName(e.class_id)),f(2),I(r.getTypeName(e.type_id)),f(2),I(r.getFloorName(e.floor_id)),f(2),I(e.price),f(2),Z("data-status",r.normalizeStatus(e.status)),f(),ae(" ",r.getStatusName(e.status)," ")}}function y5(t,n){if(t&1&&(m(0,"tr")(1,"td",33),v(2),u()()),t&2){let e=x();f(2),ae(" ",e.totalrooms===0&&e.searchQuery?"Tidak ada data yang cocok dengan pencarian.":e.allroomsData.length===0?"Data pelanggan kosong.":"Sedang memuat data..."," ")}}function w5(t,n){t&1&&(m(0,"span",47),v(1,"*"),u())}function C5(t,n){if(t&1&&E(0,"input",48),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function x5(t,n){if(t&1&&E(0,"input",49),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function D5(t,n){if(t&1&&E(0,"input",50),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function E5(t,n){if(t&1&&E(0,"textarea",51),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function I5(t,n){if(t&1&&(m(0,"option",55),v(1),u()),t&2){let e=n.$implicit;y("value",e.id),f(),ae(" ",e.name," ")}}function S5(t,n){if(t&1&&(m(0,"select",52)(1,"option",53),v(2),u(),k(3,I5,2,2,"option",54),u()),t&2){let e=x().$implicit;y("formControlName",e.key),f(2),ae("-- Pilih ",e.label," --"),f(),y("ngForOf",e.options)}}function M5(t,n){if(t&1&&E(0,"input",56),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)}}function k5(t,n){if(t&1&&E(0,"input",57),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)}}function T5(t,n){if(t&1&&(m(0,"div",58),E(1,"input",59),m(2,"label",60),v(3),u()()),t&2){let e=x().$implicit;f(),y("id",e.key)("formControlName",e.key),f(),y("for",e.key),f(),ae(" ",e.label," ")}}function A5(t,n){if(t&1&&(m(0,"span"),v(1),u()),t&2){let e=x(2).$implicit;f(),ae("",e.label," wajib diisi.")}}function R5(t,n){if(t&1&&(m(0,"div",61),k(1,A5,2,1,"span",15),u()),t&2){let e,i=x().$implicit,r=x();f(),y("ngIf",(e=r.InputPersonal.get(i.key))==null||e.errors==null?null:e.errors.required)}}function O5(t,n){if(t&1&&(m(0,"div",34)(1,"div",5)(2,"label",35),v(3),k(4,w5,2,0,"span",36),u(),Mt(5,37),k(6,C5,1,3,"input",38)(7,x5,1,3,"input",39)(8,D5,1,3,"input",40)(9,E5,1,3,"textarea",41)(10,S5,4,3,"select",42)(11,M5,1,2,"input",43)(12,k5,1,2,"input",44)(13,T5,4,4,"div",45),kt(),k(14,R5,2,1,"div",46),u()()),t&2){let e,i=n.$implicit,r=x();f(2),y("for",i.key),f(),ae(" ",i.label," "),f(),y("ngIf",i.required),f(),y("ngSwitch",i.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select"),f(),y("ngSwitchCase","date"),f(),y("ngSwitchCase","time"),f(),y("ngSwitchCase","checkbox"),f(),y("ngIf",((e=r.InputPersonal.get(i.key))==null?null:e.invalid)&&(((e=r.InputPersonal.get(i.key))==null?null:e.dirty)||((e=r.InputPersonal.get(i.key))==null?null:e.touched)))}}function N5(t,n){if(t&1){let e=xe();m(0,"button",62),O("click",function(){U(e);let r=x();return $(r.openDeleteConfirm())}),E(1,"i",63),v(2," Hapus room "),u()}}var Jp=class t{fb=p(Ki);router=p(Me);response=p(Ot);layout=p(dt);apiService=p(ii);rooms=[];allroomsData=[];searchQuery="";isEditMode=!1;editingroomId=null;totalrooms=0;pageSize=15;currentPage=0;pageSizeOptions=[15,45,75,100];getClassName(n){return this.classMap.get(n)||"-"}getTypeName(n){return this.typeMap.get(n)||"-"}getFloorName(n){return this.floorMap.get(n)||"-"}getStatusName(n){return this.statusMap.get(n)||"-"}normalizeStatus(n){let e=(this.getStatusName(n)||"").toLowerCase();return e.includes("out")?"out-of-order":e.includes("dirty")?"dirty":e.includes("clean ready")?"clean-ready":e.includes("clean")?"clean":e.includes("occupied")?"occupied":e.includes("vacant")?"vacant":""}InputPersonal;CACHE_KEY="CACHE_INPUT_room";Room=[{key:"number",label:"room ID",type:"input",required:!0},{key:"class_id",label:"class",type:"select",options:[]},{key:"type_id",label:"type",type:"select",options:[]},{key:"floor_id",label:"floor",type:"select",options:[]},{key:"status",label:"status",type:"select",options:[]},{key:"price",label:"price",type:"number",required:!0}];classMap=new Map;typeMap=new Map;floorMap=new Map;statusMap=new Map;ngOnInit(){this.initForm(),this.restoreFormCache(),this.enableFormAutoSave(),this.loadRooms(),this.loadSelectOptions(),this.initModalScroll()}initForm(){this.InputPersonal=this.fb.group(this.Room.reduce((n,e)=>(n[e.key]=e.required?["",Rt.required]:[""],n),{}))}enableFormAutoSave(){this.InputPersonal.valueChanges.subscribe(n=>{localStorage.setItem(this.CACHE_KEY,JSON.stringify(n))})}restoreFormCache(){let n=localStorage.getItem(this.CACHE_KEY);n&&this.InputPersonal.patchValue(JSON.parse(n))}clearFormCache(){localStorage.removeItem(this.CACHE_KEY)}initModalScroll(){setTimeout(()=>{let n=document.getElementById("detailModal");n&&(n.addEventListener("shown.bs.modal",()=>this.applyModalScroll()),n.addEventListener("hidden.bs.modal",()=>this.resetModalScroll()))})}applyModalScroll(){let n=document.querySelector("#detailModal .modal-body"),e=document.querySelector("#detailModal .modal-header"),i=document.querySelector("#detailModal .modal-footer"),r=document.querySelector("#detailModal .modal-dialog");!n||!e||!i||!r||(n.style.overflowY="auto",n.style.maxHeight=r.offsetHeight-e.offsetHeight-i.offsetHeight-32+"px")}resetModalScroll(){let n=document.querySelector("#detailModal .modal-body");n&&(n.style.overflowY="",n.style.maxHeight="")}setOptions(n,e){let i=this.Room.find(r=>r.key===n);i&&(i.options=e??[])}loadSelectOptions(){this.loadMaster("class_id",this.apiService.masterroomclass(),this.classMap),this.loadMaster("type_id",this.apiService.masterroomtype(),this.typeMap),this.loadMaster("floor_id",this.apiService.masterroomfloor(),this.floorMap),this.loadMaster("status",this.apiService.masterroomstatus(),this.statusMap)}loadMaster(n,e,i){e.subscribe(r=>{let o=r?.data??[];this.setOptions(n,o),o.forEach(a=>i.set(a.id,a.name))})}loadRooms(){this.apiService.masterroom().subscribe({next:n=>{this.allroomsData=n?.data??[],this.applyFilterAndPagination()},error:()=>this.response.notify({error:"Gagal memuat data room"})})}applyFilterAndPagination(){let n=this.allroomsData,e=this.searchQuery.toLowerCase();e&&(n=n.filter(r=>r.number?.toLowerCase().includes(e)||this.getClassName(r.class_id)?.toLowerCase().includes(e)||this.getStatusName(r.status)?.toLowerCase().includes(e))),this.totalrooms=n.length;let i=this.currentPage*this.pageSize;this.rooms=n.slice(i,i+this.pageSize)}onSearchChange(){this.currentPage=0,this.applyFilterAndPagination()}onPageChange(n){this.currentPage=n.pageIndex,this.pageSize=n.pageSize,this.applyFilterAndPagination()}startNewroom(){this.clearFormCache(),this.InputPersonal.reset(),this.isEditMode=!1,this.editingroomId=null}loadroomDetail(n){this.InputPersonal.patchValue(n),this.isEditMode=!0,this.editingroomId=n.id}submit(){if(this.InputPersonal.invalid){this.response.notify({error:"Form belum lengkap"});return}let n=this.InputPersonal.value,e={id:this.isEditMode?this.editingroomId:void 0,number:String(n.number),class_id:Number(n.class_id),type_id:Number(n.type_id),floor_id:Number(n.floor_id),status:Number(n.status),price:Number(n.price)};(this.isEditMode?this.apiService.masterroomput(this.editingroomId,e):this.apiService.masterroompost(e)).subscribe({next:()=>this.afterSuccess(),error:()=>this.response.notify({error:"Gagal menyimpan data"})})}afterSuccess(){this.response.notify({success:"Data berhasil disimpan"}),this.clearFormCache(),this.InputPersonal.reset(),this.isEditMode=!1,this.editingroomId=null,this.loadRooms()}openDeleteConfirm(){this.editingroomId&&Xp.default.fire({title:"Konfirmasi Hapus",text:"Room ini akan dihapus permanen",icon:"warning",showCancelButton:!0,confirmButtonColor:"#d33"}).then(n=>n.isConfirmed&&this.deleteRoom())}deleteRoom(){this.editingroomId&&this.apiService.masterroomdelete(this.editingroomId).subscribe({next:()=>{Xp.default.fire("Berhasil","Room berhasil dihapus","success"),this.afterSuccess()},error:()=>Xp.default.fire("Gagal","Room gagal dihapus","error")})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-rooms"]],decls:52,vars:13,consts:[[1,"pc-container","p-5"],[1,"row","g-4"],["type","button","data-bs-toggle","modal","data-bs-target","#detailModal",1,"btn","btn-primary","mb-3",2,"cursor","pointer",3,"click"],[1,"col-12"],[1,"card","shadow","p-4"],[1,"mb-3"],[1,"row","mb-3","align-items-center"],[1,"col-md-4","ms-auto"],["type","text","placeholder","Cari ...",1,"form-control",3,"ngModelChange","input","ngModel"],[1,"table-responsive"],[1,"table","table-striped","table-hover","align-middle"],[2,"width","5%"],[2,"width","20%"],[2,"width","15%"],["data-bs-toggle","modal","data-bs-target","#detailModal","title","Edit room Details","style","cursor: pointer;",3,"click",4,"ngFor","ngForOf"],[4,"ngIf"],["aria-label","Select page",3,"page","length","pageSize","pageSizeOptions","pageIndex"],["id","detailModal","tabindex","-1","aria-labelledby","detailModalLabel","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog","modal-xl","modal-dialog-scrollable"],[1,"modal-content"],[1,"modal-header","bg-primary","text-white","d-flex","align-items-center","justify-content-between"],["id","detailModalLabel",1,"modal-title","text-light"],["type","button","data-bs-dismiss","modal",1,"btn","btn-light","btn-sm"],[3,"ngSubmit","formGroup"],[1,"modal-body"],[1,"row","g-3"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"modal-footer","d-flex","justify-content-between"],["type","button","class","btn btn-danger","data-bs-target","#deleteConfirmModal","data-bs-dismiss","modal",3,"click",4,"ngIf"],["type","submit","data-bs-dismiss","modal",1,"btn","btn-success"],["data-bs-toggle","modal","data-bs-target","#detailModal","title","Edit room Details",2,"cursor","pointer",3,"click"],[1,"badge","bg-secondary"],[1,"status-badge"],["colspan","6",1,"text-center","text-muted","py-3"],[1,"col-md-6"],[1,"form-label","text-capitalize",3,"for"],["class","text-danger",4,"ngIf"],[3,"ngSwitch"],["type","text","class","form-control",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["type","email","class","form-control",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["type","number","class","form-control",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["class","form-control","rows","3",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["class","form-select",3,"formControlName",4,"ngSwitchCase"],["type","date","class","form-control",3,"id","formControlName",4,"ngSwitchCase"],["type","time","class","form-control",3,"id","formControlName",4,"ngSwitchCase"],["class","form-check",4,"ngSwitchCase"],["class","text-danger small mt-1",4,"ngIf"],[1,"text-danger"],["type","text",1,"form-control",3,"id","formControlName","placeholder"],["type","email",1,"form-control",3,"id","formControlName","placeholder"],["type","number",1,"form-control",3,"id","formControlName","placeholder"],["rows","3",1,"form-control",3,"id","formControlName","placeholder"],[1,"form-select",3,"formControlName"],["value","","disabled",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["type","date",1,"form-control",3,"id","formControlName"],["type","time",1,"form-control",3,"id","formControlName"],[1,"form-check"],["type","checkbox",1,"form-check-input",3,"id","formControlName"],[1,"form-check-label",3,"for"],[1,"text-danger","small","mt-1"],["type","button","data-bs-target","#deleteConfirmModal","data-bs-dismiss","modal",1,"btn","btn-danger",3,"click"],[1,"fas","fa-trash"]],template:function(e,i){e&1&&(E(0,"app-sidebar")(1,"app-header"),m(2,"div",0)(3,"div",1)(4,"button",2),O("click",function(){return i.startNewroom()}),v(5," \u2795 Add new Room "),u(),m(6,"div",3)(7,"div",4)(8,"h4",5),v(9,"Room List"),u(),m(10,"div",6)(11,"div",7)(12,"input",8),_t("ngModelChange",function(o){return wt(i.searchQuery,o)||(i.searchQuery=o),o}),O("input",function(){return i.onSearchChange()}),u()()(),m(13,"div",9)(14,"table",10)(15,"thead")(16,"tr")(17,"th",11),v(18,"#"),u(),m(19,"th",12),v(20,"Room ID"),u(),m(21,"th",12),v(22,"Class"),u(),m(23,"th",12),v(24,"Type"),u(),m(25,"th",12),v(26,"Floor"),u(),m(27,"th",13),v(28,"Price"),u(),m(29,"th",13),v(30,"Status"),u()()(),m(31,"tbody"),k(32,b5,17,8,"tr",14)(33,y5,3,1,"tr",15),u()()(),m(34,"mat-paginator",16),O("page",function(o){return i.onPageChange(o)}),u()()()()(),m(35,"div",17)(36,"div",18)(37,"div",19)(38,"div",20)(39,"h5",21),v(40,"Room Information"),u(),m(41,"button",22),v(42,"Close"),u()(),m(43,"form",23),O("ngSubmit",function(){return i.submit()}),m(44,"div",24)(45,"div",25),k(46,O5,15,13,"div",26),u()(),m(47,"div",27),k(48,N5,3,0,"button",28),m(49,"button",29),v(50),u()()()()()(),E(51,"app-footer")),e&2&&(f(2),F("sidebar-closed",!i.layout.sidebarOpen()),f(10),gt("ngModel",i.searchQuery),f(20),y("ngForOf",i.rooms),f(),y("ngIf",!i.rooms||i.rooms.length===0),f(),y("length",i.totalrooms)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions)("pageIndex",i.currentPage),f(9),y("formGroup",i.InputPersonal),f(3),y("ngForOf",i.Room),f(2),y("ngIf",i.isEditMode),f(2),ae(" ",i.isEditMode?"Simpan Perubahan":"Simpan Data Baru"," "))},dependencies:[Ut,$t,Wt,Dn,xn,qi,Yi,jt,vi,bc,Xn,tn,Cn,Bn,Zi,un,bi,ct,Vt,vt,Zn,pi,po,Ar],styles:[".custom-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:first-child   th[_ngcontent-%COMP%]{background:#0d6efd;color:#fff;font-size:.85rem;font-weight:600;border:none}.table-responsive[_ngcontent-%COMP%]{border-radius:8px;overflow-x:auto;background:#fff;white-space:nowrap}.custom-table[_ngcontent-%COMP%]{background:#f7fbff;border-color:#cfe4ff}.custom-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background:#d6eaff;color:#003b73;font-weight:600;border:1px solid #bddcff!important;text-align:center}.custom-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border:1px solid #d4e8ff!important;color:#003b73}.custom-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background:#eef6ff}.custom-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background:#e0f0ff}.card-header[_ngcontent-%COMP%]{background-color:#1c4ea5}.title-page[_ngcontent-%COMP%]{color:#1c4ea5;font-weight:700}.btn[_ngcontent-%COMP%]{background:#1c4ea5;color:#fff}.status-badge[_ngcontent-%COMP%]{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;color:#fff;display:inline-block;min-width:90px;text-align:center}.status-badge[data-status=dirty][_ngcontent-%COMP%]{background-color:#dc3545}.status-badge[data-status=clean][_ngcontent-%COMP%]{background-color:#28a745}.status-badge[data-status=clean-ready][_ngcontent-%COMP%]{background-color:#0d6efd}.status-badge[data-status=occupied][_ngcontent-%COMP%]{background-color:#ffc107;color:#212529}.status-badge[data-status=vacant][_ngcontent-%COMP%]{background-color:#17a2b8}.status-badge[data-status=out-of-order][_ngcontent-%COMP%]{background-color:#6c757d}"]})};function P5(t,n){if(t&1){let e=xe();m(0,"div",5)(1,"div",6),O("click",function(){let r=U(e).$implicit,o=x();return $(o.selectStatus(r.id))}),m(2,"div",7)(3,"small",8),v(4),u(),m(5,"h3",9),v(6),u()()()()}if(t&2){let e=n.$implicit,i=x();f(),F("border-primary",i.activeStatusId===e.id),f(3),I(e.name),f(2),I(e.count)}}function F5(t,n){if(t&1&&(m(0,"tr")(1,"td"),v(2),u(),m(3,"td")(4,"span",18),v(5),u()(),m(6,"td"),v(7),u(),m(8,"td"),v(9),u(),m(10,"td"),v(11),u(),m(12,"td"),v(13),u(),m(14,"td")(15,"span",19),v(16),u()()()),t&2){let e=n.$implicit,i=n.index,r=x();f(2),I(i+r.currentPage*r.pageSize+1),f(3),I(e.number),f(2),I(r.getClassName(e.class_id)),f(2),I(r.getTypeName(e.type_id)),f(2),I(e.price),f(2),I(r.getFloorName(e.floor_id)),f(2),Z("data-status",r.normalizeStatus(e.status)),f(),ae(" ",r.getStatusName(e.status)," ")}}function L5(t,n){t&1&&(m(0,"tr")(1,"td",20),v(2," Tidak ada data "),u()())}var ef=class t{layout=p(dt);response=p(Ot);apiService=p(ii);allroomsData=[];rooms=[];searchQuery="";totalrooms=0;pageSize=15;currentPage=0;pageSizeOptions=[15,45,75,100];classMap=new Map;typeMap=new Map;floorMap=new Map;statusMap=new Map;statusSummary=[];activeStatusId=null;ngOnInit(){this.loadMasterData(),this.fetchroomsData()}loadMasterData(){this.apiService.masterroomclass().subscribe(n=>(n?.data||[]).forEach(e=>this.classMap.set(e.id,e.name))),this.apiService.masterroomtype().subscribe(n=>(n?.data||[]).forEach(e=>this.typeMap.set(e.id,e.name))),this.apiService.masterroomfloor().subscribe(n=>(n?.data||[]).forEach(e=>this.floorMap.set(e.id,e.name))),this.apiService.masterroomstatus().subscribe(n=>(n?.data||[]).forEach(e=>this.statusMap.set(e.id,e.name)))}fetchroomsData(){this.apiService.masterroom().subscribe({next:n=>{this.allroomsData=n?.data||[],this.buildStatusSummary(),this.applyPaginationAndFilter()},error:()=>{this.response.notify({error:"Gagal memuat data housekeeping"})}})}buildStatusSummary(){let n=new Map;this.allroomsData.forEach(e=>{n.set(e.status,(n.get(e.status)||0)+1)}),this.statusSummary=Array.from(n.entries()).map(([e,i])=>({id:e,name:this.getStatusName(e),count:i}))}selectStatus(n){this.activeStatusId=n,this.currentPage=0,this.applyPaginationAndFilter()}applyPaginationAndFilter(){let n=[...this.allroomsData];this.activeStatusId!==null&&(n=n.filter(r=>r.status===this.activeStatusId));let e=this.searchQuery.toLowerCase();e&&(n=n.filter(r=>r.number?.toString().includes(e)||this.getClassName(r.class_id).toLowerCase().includes(e))),this.totalrooms=n.length;let i=this.currentPage*this.pageSize;this.rooms=n.slice(i,i+this.pageSize)}onSearchChange(){this.currentPage=0,this.applyPaginationAndFilter()}onPageChange(n){this.currentPage=n.pageIndex,this.pageSize=n.pageSize,this.applyPaginationAndFilter()}getClassName(n){return this.classMap.get(n)||"-"}getTypeName(n){return this.typeMap.get(n)||"-"}getFloorName(n){return this.floorMap.get(n)||"-"}getStatusName(n){return this.statusMap.get(n)||"-"}normalizeStatus(n){let e=(this.getStatusName(n)||"").toLowerCase();return e.includes("out")?"out-of-order":e.includes("dirty")?"dirty":e.includes("clean ready")?"clean-ready":e.includes("clean")?"clean":e.includes("occupied")?"occupied":e.includes("vacant")?"vacant":""}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-housekeeping"]],decls:39,vars:13,consts:[[1,"pc-container","p-5"],[1,"card","shadow","p-4"],[1,"mb-4"],[1,"row","g-3","mb-4"],["class","col-md-2",4,"ngFor","ngForOf"],[1,"col-md-2"],[1,"card","text-center","shadow-sm","status-card",3,"click"],[1,"card-body"],[1,"text-muted"],[1,"fw-bold"],[1,"row","mb-3"],[1,"col-md-4","ms-auto"],["type","text","placeholder","Search room...",1,"form-control",3,"ngModelChange","input","ngModel"],[1,"table-responsive"],[1,"table","table-striped","table-hover","align-middle"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"page","length","pageSize","pageSizeOptions","pageIndex"],[1,"badge","bg-secondary"],[1,"status-badge"],["colspan","6",1,"text-center","text-muted","py-3"]],template:function(e,i){e&1&&(E(0,"app-sidebar")(1,"app-header"),m(2,"div",0)(3,"div",1)(4,"h4",2),v(5,"Housekeeping Status"),u(),m(6,"div",3),k(7,P5,7,4,"div",4),m(8,"div",5)(9,"div",6),O("click",function(){return i.selectStatus(null)}),m(10,"div",7)(11,"small",8),v(12,"All"),u(),m(13,"h3",9),v(14),u()()()()(),m(15,"div",10)(16,"div",11)(17,"input",12),_t("ngModelChange",function(o){return wt(i.searchQuery,o)||(i.searchQuery=o),o}),O("input",function(){return i.onSearchChange()}),u()()(),m(18,"div",13)(19,"table",14)(20,"thead")(21,"tr")(22,"th"),v(23,"#"),u(),m(24,"th"),v(25,"Room"),u(),m(26,"th"),v(27,"Class"),u(),m(28,"th"),v(29,"Type"),u(),m(30,"th"),v(31,"Floor"),u(),m(32,"th"),v(33,"Status"),u()()(),m(34,"tbody"),k(35,F5,17,8,"tr",15)(36,L5,3,0,"tr",16),u()()(),m(37,"mat-paginator",17),O("page",function(o){return i.onPageChange(o)}),u()()(),E(38,"app-footer")),e&2&&(f(2),F("sidebar-closed",!i.layout.sidebarOpen()),f(5),y("ngForOf",i.statusSummary),f(2),F("border-primary",i.activeStatusId===null),f(5),I(i.allroomsData.length),f(3),gt("ngModel",i.searchQuery),f(18),y("ngForOf",i.rooms),f(),y("ngIf",i.rooms.length===0),f(),y("length",i.totalrooms)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions)("pageIndex",i.currentPage))},dependencies:[Ut,$t,Wt,ct,Vt,vt,Dn,jt,tn,Bn,po,Ar],styles:[".card-header[_ngcontent-%COMP%]{background-color:#1c4ea5}.title-page[_ngcontent-%COMP%]{color:#1c4ea5;font-weight:700}.btn[_ngcontent-%COMP%]{background:#1c4ea5;color:#fff}.status-card[_ngcontent-%COMP%]{cursor:pointer;transition:all .2s ease}.status-card[_ngcontent-%COMP%]:hover{transform:translateY(-3px);box-shadow:0 4px 12px #00000026}.status-badge[_ngcontent-%COMP%]{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;color:#fff;display:inline-block;min-width:90px;text-align:center}.status-badge[data-status=dirty][_ngcontent-%COMP%]{background-color:#dc3545}.status-badge[data-status=clean][_ngcontent-%COMP%]{background-color:#28a745}.status-badge[data-status=clean-ready][_ngcontent-%COMP%]{background-color:#0d6efd}.status-badge[data-status=occupied][_ngcontent-%COMP%]{background-color:#ffc107;color:#212529}.status-badge[data-status=vacant][_ngcontent-%COMP%]{background-color:#17a2b8}.status-badge[data-status=out-of-order][_ngcontent-%COMP%]{background-color:#6c757d}"]})};function V5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",12),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function B5(t,n){t&1&&(m(0,"small",15),v(1," Format email tidak valid. "),u())}function j5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",13),k(4,B5,2,0,"small",14),u()),t&2){let e,i=x().$implicit,r=x();f(2),I(i.label),f(),y("formControlName",i.key),f(),y("ngIf",((e=r.InputForm.get(i.key))==null?null:e.hasError("email"))&&((e=r.InputForm.get(i.key))==null?null:e.touched))}}function H5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",16),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function z5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"textarea",17),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function U5(t,n){if(t&1&&(m(0,"option",20),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),I(e)}}function $5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),m(3,"select",18),k(4,U5,2,2,"option",19),u()()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key),f(),y("ngForOf",e.options)}}function W5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",21),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function G5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",22),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function q5(t,n){if(t&1&&(m(0,"div",8),Mt(1,9),k(2,V5,4,2,"div",10)(3,j5,5,3,"div",10)(4,H5,4,2,"div",10)(5,z5,4,2,"div",10)(6,$5,5,3,"div",10)(7,W5,4,2,"div",10)(8,G5,4,2,"div",10),kt(),u()),t&2){let e=n.$implicit;f(),y("ngSwitch",e.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select"),f(),y("ngSwitchCase","date"),f(),y("ngSwitchCase","time")}}function Y5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",12),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function K5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",13),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function Z5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",16),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function Q5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"textarea",17),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function X5(t,n){if(t&1&&(m(0,"option",20),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),I(e)}}function J5(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),m(3,"select",18),k(4,X5,2,2,"option",19),u()()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key),f(),y("ngForOf",e.options)}}function ez(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",23),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function tz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",24),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function nz(t,n){if(t&1&&(m(0,"div",8),Mt(1,9),k(2,Y5,4,2,"div",10)(3,K5,4,2,"div",10)(4,Z5,4,2,"div",10)(5,Q5,4,2,"div",10)(6,J5,5,3,"div",10)(7,ez,4,2,"div",10)(8,tz,4,2,"div",10),kt(),u()),t&2){let e=n.$implicit;f(),y("ngSwitch",e.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select"),f(),y("ngSwitchCase","date"),f(),y("ngSwitchCase","time")}}var tf=class t{layout=p(dt);fb=p(Ki);router=p(Me);route=p(wn);response=p(Ot);Input=[{key:"reservasi_id",label:"Reservasi ID",type:"number",read_only:!0},{key:"status",label:"Status",type:"select",options:["CHECKED-IN"]},{key:"guest_name",label:"Guest name",type:"input",read_only:!0},{key:"arrival_date",label:"arival date",type:"date",read_only:!0},{key:"room_number",label:"room number",type:"number",required:!0},{key:"upgrade_promo",label:"Upgrade promo",type:"input"},{key:"check_in_remark_1",label:"Check-In remark 1",type:"textarea"},{key:"passport_id_expiry_date",label:"Expiry Passport",type:"date"}];get column1(){let n=Math.ceil(this.Input.length/2);return this.Input.slice(0,n)}get column2(){let n=Math.ceil(this.Input.length/2);return this.Input.slice(n)}InputForm=this.fb.group({reservasi_id:[{value:null,disabled:!0}],status:[{value:"CHECKED-IN",disabled:!0}],guest_name:[{value:"",disabled:!0}],arrival_date:[{value:"",disabled:!0}],room_number:["",Rt.required],upgrade_promo:[""],check_in_remark_1:[""],passport_id_expiry_date:[""],last_modified_date:[null]});LOCAL_KEY="form_add_cache";MASTER_KEY_RESERVATION="MASTER_KEY_RESERVATION";ngOnInit(){this.route.params.subscribe(({id:n})=>{let e=Number(n);if(!e){this.response.notify({error:"ID Reservasi tidak valid."}),this.router.navigate(["/reservation"]);return}this.loadReservationData(e)}),this.loadCachedData(),this.InputForm.valueChanges.subscribe(()=>this.saveCache())}loadReservationData(n){let i=JSON.parse(localStorage.getItem(this.MASTER_KEY_RESERVATION)||"[]").find(r=>r.reservasi_id===n);if(!i){this.response.notify({error:`Reservasi ID ${n} tidak ditemukan.`}),this.router.navigate(["/reservation"]);return}this.InputForm.patchValue({reservasi_id:n,guest_name:i.guest_name,arrival_date:i.arrival_date})}saveCache(){localStorage.setItem(this.LOCAL_KEY,JSON.stringify(this.InputForm.value))}loadCachedData(){let n=localStorage.getItem(this.LOCAL_KEY);n&&this.InputForm.patchValue(JSON.parse(n))}clearCache(){localStorage.removeItem(this.LOCAL_KEY)}getMissingFields(){return this.Input.filter(n=>{let e=this.InputForm.get(n.key);return e&&e.invalid&&e.touched}).map(n=>n.label)}submit(){if(this.InputForm.invalid){this.InputForm.markAllAsTouched();let o=this.getMissingFields();return this.response.notify({error:o.length?"Wajib diisi: "+o.join(", "):"Masih ada inputan kosong"})}let n=this.InputForm.getRawValue(),e=n.reservasi_id,i=JSON.parse(localStorage.getItem(this.MASTER_KEY_RESERVATION)||"[]"),r=i.findIndex(o=>o.reservasi_id===e);if(r===-1)return this.response.notify({error:`Reservasi ID ${e} tidak ditemukan.`});Object.assign(i[r],{status:"CHECKED-IN",room_number:n.room_number,upgrade_promo:n.upgrade_promo,check_in_remark_1:n.check_in_remark_1,passport_id_expiry_date:n.passport_id_expiry_date,last_modified_date:new Date().toISOString().slice(0,10)}),localStorage.setItem(this.MASTER_KEY_RESERVATION,JSON.stringify(i)),this.clearCache(),this.response.notify({success:`Check-In berhasil ke kamar ${n.room_number}`}),this.router.navigate(["/reservation"])}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-checkin"]],decls:15,vars:5,consts:[[1,"pc-container","p-5"],[1,"d-flex","justify-content-between","align-items-center","mb-4"],[1,"title-page","m-0"],[3,"formGroup"],[1,"row","g-4"],[1,"col-12","col-md-6"],["class","mb-3",4,"ngFor","ngForOf"],[1,"btn","btn-primary","mt-4",3,"click"],[1,"mb-3"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"form-label"],["type","text",1,"form-control",3,"formControlName"],["type","email",1,"form-control",3,"formControlName"],["class","text-danger",4,"ngIf"],[1,"text-danger"],["type","number",1,"form-control",3,"formControlName"],["rows","4",1,"form-control",3,"formControlName"],[1,"form-select",3,"formControlName"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["type","date",1,"form-control",3,"formControlName"],["type","time",1,"form-control",3,"formControlName"],["type","date",1,"form-control","custom-date",3,"formControlName"],["type","time",1,"form-control","custom-date",3,"formControlName"]],template:function(e,i){e&1&&(E(0,"app-sidebar")(1,"app-header"),m(2,"div",0)(3,"div",1)(4,"h3",2),v(5,"\u{1F4C4} Check in verified"),u()(),m(6,"form",3)(7,"div",4)(8,"div",5),k(9,q5,9,8,"div",6),u(),m(10,"div",5),k(11,nz,9,8,"div",6),u()(),m(12,"button",7),O("click",function(){return i.submit()}),v(13,"Simpan"),u()()(),E(14,"app-footer")),e&2&&(f(2),F("sidebar-closed",!i.layout.sidebarOpen()),f(4),y("formGroup",i.InputForm),f(3),y("ngForOf",i.column1),f(2),y("ngForOf",i.column2))},dependencies:[Ut,$t,Wt,Dn,xn,qi,Yi,jt,vi,Xn,tn,Cn,Zi,un,bi,ct,Vt,vt,Zn,pi],encapsulation:2})};function iz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",12),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function rz(t,n){t&1&&(m(0,"small",15),v(1," Format email tidak valid. "),u())}function oz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",13),k(4,rz,2,0,"small",14),u()),t&2){let e,i=x().$implicit,r=x();f(2),I(i.label),f(),y("formControlName",i.key),f(),y("ngIf",((e=r.InputForm.get(i.key))==null?null:e.hasError("email"))&&((e=r.InputForm.get(i.key))==null?null:e.touched))}}function az(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",16),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function sz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"textarea",17),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function lz(t,n){if(t&1&&(m(0,"option",20),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),I(e)}}function cz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),m(3,"select",18),k(4,lz,2,2,"option",19),u()()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key),f(),y("ngForOf",e.options)}}function dz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",21),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function uz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",22),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function mz(t,n){if(t&1&&(m(0,"div",8),Mt(1,9),k(2,iz,4,2,"div",10)(3,oz,5,3,"div",10)(4,az,4,2,"div",10)(5,sz,4,2,"div",10)(6,cz,5,3,"div",10)(7,dz,4,2,"div",10)(8,uz,4,2,"div",10),kt(),u()),t&2){let e=n.$implicit;f(),y("ngSwitch",e.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select"),f(),y("ngSwitchCase","date"),f(),y("ngSwitchCase","time")}}function pz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",12),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function fz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",13),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function hz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",16),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function gz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"textarea",17),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function _z(t,n){if(t&1&&(m(0,"option",20),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),I(e)}}function vz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),m(3,"select",18),k(4,_z,2,2,"option",19),u()()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key),f(),y("ngForOf",e.options)}}function bz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",23),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function yz(t,n){if(t&1&&(m(0,"div")(1,"label",11),v(2),u(),E(3,"input",24),u()),t&2){let e=x().$implicit;f(2),I(e.label),f(),y("formControlName",e.key)}}function wz(t,n){if(t&1&&(m(0,"div",8),Mt(1,9),k(2,pz,4,2,"div",10)(3,fz,4,2,"div",10)(4,hz,4,2,"div",10)(5,gz,4,2,"div",10)(6,vz,5,3,"div",10)(7,bz,4,2,"div",10)(8,yz,4,2,"div",10),kt(),u()),t&2){let e=n.$implicit;f(),y("ngSwitch",e.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select"),f(),y("ngSwitchCase","date"),f(),y("ngSwitchCase","time")}}var nf=class t{fb=p(Ki);router=p(Me);route=p(wn);response=p(Ot);layout=p(dt);LOCAL_KEY="form_add_cache";MASTER_KEY_RESERVATION="MASTER_KEY_RESERVATION";Input=[{key:"reservasi_id",label:"Reservasi ID",type:"number",read_only:!0},{key:"status",label:"Status",type:"select",options:["CHECKED-OUT"]},{key:"guest_name",label:"guest_name",type:"input",read_only:!0},{key:"arrival_date",label:"arrival_date",type:"date",read_only:!0},{key:"room_number",label:"room_number",type:"input",read_only:!0},{key:"departure_date",label:"departure_date",type:"date",read_only:!0},{key:"folio_no_history",label:"folio_no_history",type:"input",required:!0},{key:"late_check_out_charge",label:"late_check_out_charge",type:"number"},{key:"tax_type",label:"tax_type",type:"input"},{key:"payment_method",label:"payment_method",type:"input",read_only:!0},{key:"authorization_code_cc",label:"authorization_code_cc",type:"input"}];column1=[];column2=[];InputForm=this.fb.group({reservasi_id:[{value:null,disabled:!0}],status:[{value:"CHECKED-OUT",disabled:!0}],guest_name:[{value:"",disabled:!0}],arrival_date:[{value:"",disabled:!0}],room_number:[{value:"",disabled:!0}],departure_date:[{value:"",disabled:!0}],payment_method:[{value:"",disabled:!0}],folio_no_history:["",Rt.required],late_check_out_charge:[0],tax_type:[""],authorization_code_cc:[""],last_modified_date:[null]});ngOnInit(){this.splitColumns(),this.loadCachedData(),this.InputForm.valueChanges.subscribe(()=>this.saveCache()),this.route.params.subscribe(n=>{let e=Number(n.id);if(!e){this.response.notify({error:"ID Reservasi tidak ditemukan."}),this.router.navigate(["/reservation"]);return}this.loadReservationData(e)})}splitColumns(){let n=Math.ceil(this.Input.length/2);this.column1=this.Input.slice(0,n),this.column2=this.Input.slice(n)}getMissingFields(){return this.Input.filter(n=>{let e=this.InputForm.get(n.key);return e&&e.invalid&&e.touched}).map(n=>n.label)}loadReservationData(n){let i=JSON.parse(localStorage.getItem(this.MASTER_KEY_RESERVATION)||"[]").find(r=>r.reservasi_id===n);if(!i){this.response.notify({error:`Reservasi ID ${n} tidak ditemukan.`}),this.router.navigate(["/reservation"]);return}this.InputForm.patchValue({reservasi_id:n,guest_name:i.guest_name,arrival_date:i.arrival_date,room_number:i.room_number,departure_date:i.departure_date,payment_method:i.payment_method})}saveCache(){localStorage.setItem(this.LOCAL_KEY,JSON.stringify(this.InputForm.getRawValue()))}loadCachedData(){let n=localStorage.getItem(this.LOCAL_KEY);n&&this.InputForm.patchValue(JSON.parse(n))}clearCache(){localStorage.removeItem(this.LOCAL_KEY)}submit(){if(this.InputForm.invalid){this.InputForm.markAllAsTouched();let o=this.getMissingFields();this.response.notify({error:o.length?"Input wajib: "+o.join(", "):"Masih ada inputan yang belum diisi."});return}let n=this.InputForm.getRawValue(),e=n.reservasi_id;if(!e){this.response.notify({error:"ID Reservasi tidak ditemukan."});return}let i=JSON.parse(localStorage.getItem(this.MASTER_KEY_RESERVATION)||"[]"),r=i.findIndex(o=>o.reservasi_id===e);if(r===-1){this.response.notify({error:`Reservasi ID ${e} tidak ditemukan.`});return}i[r]=ce(R({},i[r]),{status:"CHECKED-OUT",room_number:n.room_number,last_modified_date:new Date().toISOString().slice(0,10)}),localStorage.setItem(this.MASTER_KEY_RESERVATION,JSON.stringify(i)),this.clearCache(),this.InputForm.reset(),this.response.notify({success:`Reservasi ID ${e} berhasil Check-Out dari kamar ${n.room_number}`}),this.router.navigate(["/reservation"])}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-checkout"]],decls:15,vars:5,consts:[[1,"pc-container","p-5"],[1,"d-flex","justify-content-between","align-items-center","mb-4"],[1,"title-page","m-0"],[3,"formGroup"],[1,"row","g-4"],[1,"col-12","col-md-6"],["class","mb-3",4,"ngFor","ngForOf"],[1,"btn","btn-primary","mt-4",3,"click"],[1,"mb-3"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"form-label"],["type","text",1,"form-control",3,"formControlName"],["type","email",1,"form-control",3,"formControlName"],["class","text-danger",4,"ngIf"],[1,"text-danger"],["type","number",1,"form-control",3,"formControlName"],["rows","4",1,"form-control",3,"formControlName"],[1,"form-select",3,"formControlName"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["type","date",1,"form-control",3,"formControlName"],["type","time",1,"form-control",3,"formControlName"],["type","date",1,"form-control","custom-date",3,"formControlName"],["type","time",1,"form-control","custom-date",3,"formControlName"]],template:function(e,i){e&1&&(E(0,"app-sidebar")(1,"app-header"),m(2,"div",0)(3,"div",1)(4,"h3",2),v(5,"\u{1F4C4} Check Out verified"),u()(),m(6,"form",3)(7,"div",4)(8,"div",5),k(9,mz,9,8,"div",6),u(),m(10,"div",5),k(11,wz,9,8,"div",6),u()(),m(12,"button",7),O("click",function(){return i.submit()}),v(13,"Simpan"),u()()(),E(14,"app-footer")),e&2&&(f(2),F("sidebar-closed",!i.layout.sidebarOpen()),f(4),y("formGroup",i.InputForm),f(3),y("ngForOf",i.column1),f(2),y("ngForOf",i.column2))},dependencies:[Ut,$t,Wt,ct,Vt,vt,Zn,pi,Zi,xn,qi,Yi,jt,vi,Xn,tn,Cn,un,bi],encapsulation:2})};var rf=ed(Mc());function Cz(t,n){if(t&1){let e=xe();m(0,"tr",31),O("click",function(){let r=U(e).$implicit,o=x();return $(o.loadCustomerDetail(r))}),m(1,"td"),v(2),u(),m(3,"td")(4,"span",32),v(5),u()(),m(6,"td"),v(7),u(),m(8,"td"),v(9),u(),m(10,"td"),v(11),u(),m(12,"td"),v(13),u()()}if(t&2){let e=n.$implicit,i=n.index,r=x();f(2),I(i+r.currentPage*r.pageSize+1),f(3),I(e.number),f(2),I(e.full_name),f(2),I(e.email||"N/A"),f(2),I(e.phone||"N/A"),f(2),ae(" ",e.identity_number," ")}}function xz(t,n){if(t&1&&(m(0,"tr")(1,"td",33),v(2),u()()),t&2){let e=x();f(2),ae(" ",e.totalCustomers===0&&e.searchQuery?"Tidak ada data yang cocok dengan pencarian.":e.allCustomersData.length===0?"Data pelanggan kosong.":"Sedang memuat data..."," ")}}function Dz(t,n){t&1&&(m(0,"span",47),v(1,"*"),u())}function Ez(t,n){if(t&1&&E(0,"input",48),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function Iz(t,n){if(t&1&&E(0,"input",49),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function Sz(t,n){if(t&1&&E(0,"input",50),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function Mz(t,n){if(t&1&&E(0,"textarea",51),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)("placeholder",e.label)}}function kz(t,n){if(t&1&&(m(0,"option",55),v(1),u()),t&2){let e=n.$implicit;y("value",e),f(),I(e)}}function Tz(t,n){if(t&1&&(m(0,"select",52)(1,"option",53),v(2),u(),k(3,kz,2,2,"option",54),u()),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key),f(2),ae("-- Pilih ",e.label," --"),f(),y("ngForOf",e.options)}}function Az(t,n){if(t&1&&E(0,"input",56),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)}}function Rz(t,n){if(t&1&&E(0,"input",57),t&2){let e=x().$implicit;y("id",e.key)("formControlName",e.key)}}function Oz(t,n){if(t&1&&(m(0,"div",58),E(1,"input",59),m(2,"label",60),v(3),u()()),t&2){let e=x().$implicit;f(),y("id",e.key)("formControlName",e.key),f(),y("for",e.key),f(),ae(" ",e.label," ")}}function Nz(t,n){if(t&1&&(m(0,"span"),v(1),u()),t&2){let e=x(2).$implicit;f(),ae("",e.label," wajib diisi.")}}function Pz(t,n){if(t&1&&(m(0,"div",61),k(1,Nz,2,1,"span",16),u()),t&2){let e,i=x().$implicit,r=x();f(),y("ngIf",(e=r.InputPersonal.get(i.key))==null||e.errors==null?null:e.errors.required)}}function Fz(t,n){if(t&1&&(m(0,"div",34)(1,"div",5)(2,"label",35),v(3),k(4,Dz,2,0,"span",36),u(),Mt(5,37),k(6,Ez,1,3,"input",38)(7,Iz,1,3,"input",39)(8,Sz,1,3,"input",40)(9,Mz,1,3,"textarea",41)(10,Tz,4,4,"select",42)(11,Az,1,2,"input",43)(12,Rz,1,2,"input",44)(13,Oz,4,4,"div",45),kt(),k(14,Pz,2,1,"div",46),u()()),t&2){let e,i=n.$implicit,r=x();f(2),y("for",i.key),f(),ae(" ",i.label," "),f(),y("ngIf",i.required),f(),y("ngSwitch",i.type),f(),y("ngSwitchCase","input"),f(),y("ngSwitchCase","email"),f(),y("ngSwitchCase","number"),f(),y("ngSwitchCase","textarea"),f(),y("ngSwitchCase","select"),f(),y("ngSwitchCase","date"),f(),y("ngSwitchCase","time"),f(),y("ngSwitchCase","checkbox"),f(),y("ngIf",((e=r.InputPersonal.get(i.key))==null?null:e.invalid)&&(((e=r.InputPersonal.get(i.key))==null?null:e.dirty)||((e=r.InputPersonal.get(i.key))==null?null:e.touched)))}}function Lz(t,n){if(t&1){let e=xe();m(0,"button",62),O("click",function(){U(e);let r=x();return $(r.openDeleteConfirm())}),E(1,"i",63),v(2," Hapus Customer "),u()}}var of=class t{fb=p(Ki);router=p(Me);response=p(Ot);layout=p(dt);apiService=p(ii);customers=[];allCustomersData=[];searchQuery="";isEditMode=!1;editingCustomerId=null;totalCustomers=0;pageSize=15;currentPage=0;pageSizeOptions=[15,45,75,100];InputPersonal;CACHE_KEY="CACHE_INPUT_CUSTOMER";PersonalInfo=[{key:"number",label:"Customer ID",type:"input"},{key:"full_name",label:"full_name",type:"input",required:!0},{key:"first_name",label:"first_name",type:"input"},{key:"last_name",label:"last_name",type:"input"},{key:"email",label:"email",type:"email"},{key:"phone",label:"phone",type:"number"},{key:"gender_id",label:"gender",type:"select",options:["MALE","FEMALE","OTHER"]},{key:"address",label:"address",type:"textarea"},{key:"country_id",label:"country",type:"select",options:["test 1 ","test 2"]},{key:"province_id",label:"province",type:"select",options:["test 1 ","test 2"]},{key:"city_id",label:"city",type:"select",options:["test 1 ","test 2"]},{key:"district_id",label:"district",type:"select",options:["test 1 ","test 2"]},{key:"village_id",label:"village",type:"select",options:["test 1 ","test 2"]},{key:"identity_type_id",label:"identity_type",type:"select",options:["test 1 ","test 2"]},{key:"postal_code",label:"postal_code",type:"input"},{key:"identity_number",label:"identity_number",type:"input"},{key:"tax_number",label:"tax_number",type:"input"},{key:"company_name",label:"company_name",type:"input"},{key:"company_address",label:"company_address",type:"textarea"}];ngOnInit(){this.initForm(),this.restoreFormCache(),this.enableFormAutoSave(),this.loadCustomers(),this.initModalScroll()}initForm(){this.InputPersonal=this.fb.group(this.PersonalInfo.reduce((n,e)=>(n[e.key]=e.required?["",Rt.required]:[""],n),{}))}enableFormAutoSave(){this.InputPersonal.valueChanges.subscribe(n=>{localStorage.setItem(this.CACHE_KEY,JSON.stringify(n))})}restoreFormCache(){let n=localStorage.getItem(this.CACHE_KEY);n&&this.InputPersonal.patchValue(JSON.parse(n))}clearFormCache(){localStorage.removeItem(this.CACHE_KEY)}initModalScroll(){setTimeout(()=>{let n=document.getElementById("detailModal");n&&(n.addEventListener("shown.bs.modal",()=>this.applyModalScroll()),n.addEventListener("hidden.bs.modal",()=>this.resetModalScroll()))})}applyModalScroll(){let n=document.querySelector("#detailModal .modal-body"),e=document.querySelector("#detailModal .modal-header"),i=document.querySelector("#detailModal .modal-footer"),r=document.querySelector("#detailModal .modal-dialog");!n||!e||!i||!r||(n.style.overflowY="auto",n.style.maxHeight=r.offsetHeight-e.offsetHeight-i.offsetHeight-32+"px")}resetModalScroll(){let n=document.querySelector("#detailModal .modal-body");n&&(n.style.overflowY="",n.style.maxHeight="")}loadCustomers(){this.apiService.mastercustomersall().subscribe({next:n=>{let e=n;this.allCustomersData=e.data??[],this.applyFilterAndPagination()},error:()=>{this.response.notify({error:"Gagal memuat data customer"})}})}applyFilterAndPagination(){let n=this.allCustomersData,e=this.searchQuery.toLowerCase();e&&(n=n.filter(r=>r.full_name?.toLowerCase().includes(e)||r.email?.toLowerCase().includes(e)||r.identity_number?.toString().includes(e))),this.totalCustomers=n.length;let i=this.currentPage*this.pageSize;this.customers=n.slice(i,i+this.pageSize)}onSearchChange(){this.currentPage=0,this.applyFilterAndPagination()}onPageChange(n){this.currentPage=n.pageIndex,this.pageSize=n.pageSize,this.applyFilterAndPagination()}startNewCustomer(){this.clearFormCache(),this.InputPersonal.reset(),this.isEditMode=!1,this.editingCustomerId=null}loadCustomerDetail(n){this.InputPersonal.patchValue(n),this.isEditMode=!0,this.editingCustomerId=n.id}submit(){if(this.InputPersonal.invalid){this.response.notify({error:"Form belum lengkap"});return}let n=R({},this.InputPersonal.value);this.isEditMode&&this.editingCustomerId&&(n.id=this.editingCustomerId),(this.isEditMode?this.apiService.mastercustomerput(this.editingCustomerId,n):this.apiService.mastercustomerpost(n)).subscribe({next:()=>this.afterSuccess(),error:()=>this.response.notify({error:"Gagal menyimpan data"})})}afterSuccess(){this.response.notify({success:"Data berhasil disimpan"}),this.clearFormCache(),this.InputPersonal.reset(),this.isEditMode=!1,this.editingCustomerId=null,this.loadCustomers()}openDeleteConfirm(){this.editingCustomerId&&rf.default.fire({title:"Konfirmasi Hapus",text:"Customer ini akan dihapus secara permanen!",icon:"warning",showCancelButton:!0,confirmButtonColor:"#d33"}).then(n=>n.isConfirmed&&this.deleteCustomer())}deleteCustomer(){this.editingCustomerId&&this.apiService.mastercustomerdelete(this.editingCustomerId,{}).subscribe({next:()=>{rf.default.fire("Berhasil","Customer berhasil dihapus","success"),this.afterSuccess()},error:()=>rf.default.fire("Gagal","Customer gagal dihapus","error")})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-customers"]],decls:50,vars:13,consts:[[1,"pc-container","p-5"],[1,"row","g-4"],["type","button","data-bs-toggle","modal","data-bs-target","#detailModal",1,"btn","btn-primary","mb-3",2,"cursor","pointer",3,"click"],[1,"col-12"],[1,"card","shadow","p-4"],[1,"mb-3"],[1,"row","mb-3","align-items-center"],[1,"col-md-4","ms-auto"],["type","text","placeholder","Cari (Nama/Email/ID/KTP)...",1,"form-control",3,"ngModelChange","input","ngModel"],[1,"table-responsive"],[1,"table","table-striped","table-hover","align-middle"],[2,"width","5%"],[2,"width","15%"],[2,"width","25%"],[2,"width","20%"],["data-bs-toggle","modal","data-bs-target","#detailModal","title","Edit Customer Details","style","cursor: pointer;",3,"click",4,"ngFor","ngForOf"],[4,"ngIf"],["aria-label","Select page",3,"page","length","pageSize","pageSizeOptions","pageIndex"],["id","detailModal","tabindex","-1","aria-labelledby","detailModalLabel","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog","modal-xl","modal-dialog-scrollable"],[1,"modal-content"],[1,"modal-header","bg-primary","text-white","d-flex","align-items-center","justify-content-between"],["id","detailModalLabel",1,"modal-title","text-light"],["type","button","data-bs-dismiss","modal",1,"btn","btn-light","btn-sm"],[3,"ngSubmit","formGroup"],[1,"modal-body"],[1,"row","g-3"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"modal-footer","d-flex","justify-content-between"],["type","button","class","btn btn-danger","data-bs-target","#deleteConfirmModal","data-bs-dismiss","modal",3,"click",4,"ngIf"],["type","submit","data-bs-dismiss","modal",1,"btn","btn-success"],["data-bs-toggle","modal","data-bs-target","#detailModal","title","Edit Customer Details",2,"cursor","pointer",3,"click"],[1,"badge","bg-secondary"],["colspan","6",1,"text-center","text-muted","py-3"],[1,"col-md-6"],[1,"form-label","text-capitalize",3,"for"],["class","text-danger",4,"ngIf"],[3,"ngSwitch"],["type","text","class","form-control",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["type","email","class","form-control",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["type","number","class","form-control",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["class","form-control","rows","3",3,"id","formControlName","placeholder",4,"ngSwitchCase"],["class","form-select",3,"id","formControlName",4,"ngSwitchCase"],["type","date","class","form-control",3,"id","formControlName",4,"ngSwitchCase"],["type","time","class","form-control",3,"id","formControlName",4,"ngSwitchCase"],["class","form-check",4,"ngSwitchCase"],["class","text-danger small mt-1",4,"ngIf"],[1,"text-danger"],["type","text",1,"form-control",3,"id","formControlName","placeholder"],["type","email",1,"form-control",3,"id","formControlName","placeholder"],["type","number",1,"form-control",3,"id","formControlName","placeholder"],["rows","3",1,"form-control",3,"id","formControlName","placeholder"],[1,"form-select",3,"id","formControlName"],["value","","disabled","","selected",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["type","date",1,"form-control",3,"id","formControlName"],["type","time",1,"form-control",3,"id","formControlName"],[1,"form-check"],["type","checkbox",1,"form-check-input",3,"id","formControlName"],[1,"form-check-label",3,"for"],[1,"text-danger","small","mt-1"],["type","button","data-bs-target","#deleteConfirmModal","data-bs-dismiss","modal",1,"btn","btn-danger",3,"click"],[1,"fas","fa-trash"]],template:function(e,i){e&1&&(E(0,"app-sidebar")(1,"app-header"),m(2,"div",0)(3,"div",1)(4,"button",2),O("click",function(){return i.startNewCustomer()}),v(5," \u2795 Add new customer "),u(),m(6,"div",3)(7,"div",4)(8,"h4",5),v(9,"Customer List"),u(),m(10,"div",6)(11,"div",7)(12,"input",8),_t("ngModelChange",function(o){return wt(i.searchQuery,o)||(i.searchQuery=o),o}),O("input",function(){return i.onSearchChange()}),u()()(),m(13,"div",9)(14,"table",10)(15,"thead")(16,"tr")(17,"th",11),v(18,"#"),u(),m(19,"th",12),v(20,"Customer ID"),u(),m(21,"th",13),v(22,"Full Name"),u(),m(23,"th",14),v(24,"Email"),u(),m(25,"th",12),v(26,"Phone"),u(),m(27,"th",14),v(28,"Identify Number"),u()()(),m(29,"tbody"),k(30,Cz,14,6,"tr",15)(31,xz,3,1,"tr",16),u()()(),m(32,"mat-paginator",17),O("page",function(o){return i.onPageChange(o)}),u()()()()(),m(33,"div",18)(34,"div",19)(35,"div",20)(36,"div",21)(37,"h5",22),v(38,"Customer Information"),u(),m(39,"button",23),v(40,"Close"),u()(),m(41,"form",24),O("ngSubmit",function(){return i.submit()}),m(42,"div",25)(43,"div",26),k(44,Fz,15,13,"div",27),u()(),m(45,"div",28),k(46,Lz,3,0,"button",29),m(47,"button",30),v(48),u()()()()()(),E(49,"app-footer")),e&2&&(f(2),F("sidebar-closed",!i.layout.sidebarOpen()),f(10),gt("ngModel",i.searchQuery),f(18),y("ngForOf",i.customers),f(),y("ngIf",!i.customers||i.customers.length===0),f(),y("length",i.totalCustomers)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions)("pageIndex",i.currentPage),f(9),y("formGroup",i.InputPersonal),f(3),y("ngForOf",i.PersonalInfo),f(2),y("ngIf",i.isEditMode),f(2),ae(" ",i.isEditMode?"Simpan Perubahan":"Simpan Data Baru"," "))},dependencies:[Ut,$t,Wt,Dn,xn,qi,Yi,jt,vi,bc,Xn,tn,Cn,Bn,Zi,un,bi,ct,Vt,vt,Zn,pi,po,Ar],encapsulation:2})};var af=class t{title="test5";static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-root"]],decls:6,vars:0,consts:[[1,"welcome-box"],["href","/login",1,"btn","btn-custom"]],template:function(e,i){e&1&&(m(0,"main")(1,"div",0)(2,"h1"),v(3,"Welcome \u{1F44B}"),u(),m(4,"a",1),v(5,"Mulai Sekarang"),u()()())},styles:["body[_ngcontent-%COMP%]{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top left,#ff8cfb,#7b2ff7 60%,#3d0099);color:#fff;font-family:Poppins,sans-serif;overflow:hidden;animation:_ngcontent-%COMP%_gradientMove 10s infinite alternate ease-in-out}@keyframes _ngcontent-%COMP%_gradientMove{0%{background-position:0% 0%}to{background-position:100% 100%}}.welcome-box[_ngcontent-%COMP%]{text-align:center;padding:70px 50px;border-radius:25px;background:#ffffff1f;backdrop-filter:blur(12px);box-shadow:0 8px 25px #00000040;animation:_ngcontent-%COMP%_fadeIn 1.2s ease-in-out}h1[_ngcontent-%COMP%]{font-size:3.2rem;font-weight:800;letter-spacing:1px;animation:_ngcontent-%COMP%_popIn 1s ease}@keyframes _ngcontent-%COMP%_popIn{0%{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}.btn-custom[_ngcontent-%COMP%]{margin-top:35px;padding:14px 35px;border-radius:40px;background-color:#fff;color:#7b2ff7;font-weight:700;font-size:1.1rem;transition:.3s ease;box-shadow:0 5px 18px #ffffff40}.btn-custom[_ngcontent-%COMP%]:hover{background-color:#f1f1f1;transform:translateY(-5px);box-shadow:0 10px 25px #ffffff59}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}"]})};var PM=()=>{let t=p(Sr),n=p(Me);return t.getToken()?!0:(n.navigate(["/login"]),!1)};var Fb=()=>{let t=p(Sr),n=p(Me);return t.getToken()?(n.navigate(["/user"]),!1):!0};var FM=[{path:"",component:af},{path:"login",component:Sp,canActivate:[Fb]},{path:"register",component:Mp,canActivate:[Fb]},{path:"user",component:Hp,canActivate:[PM]},{path:"reservation",component:Zp},{path:"currentstatus",component:Qp},{path:"roominventory",component:Jp},{path:"housekeeping",component:ef},{path:"checkin/:id",component:tf},{path:"checkout/:id",component:nf},{path:"customer",component:of}];var sf=class{handlers={};CACHE_KEYS=["/user","/reservation","/currentstatus"];shouldDetach(n){if(!n.routeConfig||!n.routeConfig.path)return!1;let e="/"+n.routeConfig.path,i=this.CACHE_KEYS.includes(e);return i&&console.log(`[Reuse] Detaching (Caching) route: ${e}`),i}store(n,e){if(this.shouldDetach(n)){let i="/"+n.routeConfig.path;this.handlers[i]={snapshot:n,handle:e}}}shouldAttach(n){if(!n.routeConfig||!n.routeConfig.path)return!1;let e="/"+n.routeConfig.path,i=!!this.handlers[e];return i&&console.log(`[Reuse] Attaching (Using Cached) route: ${e}`),i}retrieve(n){if(!n.routeConfig||!n.routeConfig.path)return null;let e="/"+n.routeConfig.path;return this.handlers[e]?.handle||null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}};var LM={providers:[rD({eventCoalescing:!0}),xv(FM,Um(Cv)),{provide:Hm,useClass:sf},G_(q_([CS,wS]))]};H_(Ip,LM).catch(t=>console.error(t));
