1import{b as El}from"./chunk-IXSVJUWF.js";import{Ab as Sr,Bb as Ar,Ca as dl,Cb as rs,Db as Tr,E as Ze,Eb as ml,F as Xi,Fb as is,G as Dr,Gb as Ir,H as Ji,Hb as Rr,Ib as Mr,J as Pt,Jb as Fn,K as ge,Ka as hl,Kb as wl,L as Ja,Lb as ft,M as Cr,Mb as vl,N as Qa,Nb as yl,O as Xe,Ob as bl,Pa as me,Pb as Dl,Q as Qi,Qa as Y,Qb as Pn,R as kt,Ra as fl,Rb as ss,S as Zt,T as el,U as tl,Ub as Cl,V as nl,W as rl,X as il,Y as sl,Z as ol,_ as xt,a as W,b as ut,c as Ga,ca as al,e as S,f as ze,fa as Lt,g as Ka,h as P,ha as k,i as Yi,ia as ll,j as y,ja as Rn,k as C,l as Zi,la as cl,m as Ya,ma as Xt,n as An,nb as pl,o as Yt,oa as ae,p as Za,pa as es,q as Ve,qa as ht,r as Ce,s as ke,t as Tn,ta as ts,ua as ul,v as Xa,va as ns,w as dt,wa as Mn,x as He,yb as Er,z as In,zb as gl}from"./chunk-LZGEQQYD.js";import{$ as be,$b as re,C as lt,E as Na,Ea as Kt,F as Ba,J as ce,K as A,Ka as je,L as En,Lb as Ha,O as Ue,Ob as Ki,P as $a,Q as _a,Ra as qi,Sa as De,Ua as za,Ub as Wa,Vb as oe,X as L,Zb as qa,_ as br,aa as Wi,b as La,ca as Sn,da as Gt,fa as Ua,ga as ja,h as Oa,hb as Ft,i as Mt,j as Vi,k as Hi,kb as ct,n as at,nb as Gi,o as pe,ob as Va,ra as Pe}from"./chunk-BW2TMJN6.js";import{a as T,b as se,e as Jh,g as Qh,j as _e}from"./chunk-RNQ7BUHW.js";var wu=Jh((Ke,Oo)=>{(function(n,e){typeof Ke=="object"&&typeof Oo<"u"?Oo.exports=e():typeof define=="function"&&define.amd?define(e):(n=typeof globalThis<"u"?globalThis:n||self,n.Sweetalert2=e())})(Ke,function(){"use strict";function n(o,a,c){if(typeof o=="function"?o===a:o.has(a))return arguments.length<3?a:c;throw new TypeError("Private element is not present on this object")}function e(o,a){if(a.has(o))throw new TypeError("Cannot initialize the same private elements twice on an object")}function i(o,a){return o.get(n(o,a))}function t(o,a,c){e(o,a),a.set(o,c)}function r(o,a,c){return o.set(n(o,a),c),c}let s=100,l={},u=()=>{l.previousActiveElement instanceof HTMLElement?(l.previousActiveElement.focus(),l.previousActiveElement=null):document.body&&document.body.focus()},f=o=>new Promise(a=>{if(!o)return a();let c=window.scrollX,h=window.scrollY;l.restoreFocusTimeout=setTimeout(()=>{u(),a()},s),window.scrollTo(c,h)}),d="swal2-",p=["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((o,a)=>(o[a]=d+a,o),{}),b=["success","warning","info","question","error"].reduce((o,a)=>(o[a]=d+a,o),{}),R="SweetAlert2:",z=o=>o.charAt(0).toUpperCase()+o.slice(1),E=o=>{console.warn("".concat(R," ").concat(typeof o=="object"?o.join(" "):o))},D=o=>{console.error("".concat(R," ").concat(o))},x=[],G=o=>{x.includes(o)||(x.push(o),E(o))},U=(o,a=null)=>{G('"'.concat(o,'" is deprecated and will be removed in the next major release.').concat(a?' Use "'.concat(a,'" instead.'):""))},K=o=>typeof o=="function"?o():o,he=o=>o&&typeof o.toPromise=="function",Oe=o=>he(o)?o.toPromise():Promise.resolve(o),Ne=o=>o&&Promise.resolve(o)===o,yu=()=>navigator.userAgent.includes("Firefox"),le=()=>document.body.querySelector(".".concat(p.container)),vn=o=>{let a=le();return a?a.querySelector(o):null},we=o=>vn(".".concat(o)),O=()=>we(p.popup),_t=()=>we(p.icon),bu=()=>we(p["icon-content"]),No=()=>we(p.title),Ei=()=>we(p["html-container"]),Bo=()=>we(p.image),Si=()=>we(p["progress-steps"]),ar=()=>we(p["validation-message"]),Be=()=>vn(".".concat(p.actions," .").concat(p.confirm)),Ut=()=>vn(".".concat(p.actions," .").concat(p.cancel)),At=()=>vn(".".concat(p.actions," .").concat(p.deny)),Du=()=>we(p["input-label"]),jt=()=>vn(".".concat(p.loader)),yn=()=>we(p.actions),$o=()=>we(p.footer),lr=()=>we(p["timer-progress-bar"]),Ai=()=>we(p.close),Cu='\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n',Ti=()=>{let o=O();if(!o)return[];
1let a=o.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),c=Array.from(a).sort((w,I)=>{let F=parseInt(w.getAttribute("tabindex")||"0"),V=parseInt(I.getAttribute("tabindex")||"0");return F>V?1:F<V?-1:0}),h=o.querySelectorAll(Cu),m=Array.from(h).filter(w=>w.getAttribute("tabindex")!=="-1");return[...new Set(c.concat(m))].filter(w=>fe(w))},Ii=()=>Ye(document.body,p.shown)&&!Ye(document.body,p["toast-shown"])&&!Ye(document.body,p["no-backdrop"]),cr=()=>{let o=O();return o?Ye(o,p.toast):!1},Eu=()=>{let o=O();return o?o.hasAttribute("data-loading"):!1},ve=(o,a)=>{if(o.textContent="",a){let h=new DOMParser().parseFromString(a,"text/html"),m=h.querySelector("head");m&&Array.from(m.childNodes).forEach(I=>{o.appendChild(I)});let w=h.querySelector("body");w&&Array.from(w.childNodes).forEach(I=>{I instanceof HTMLVideoElement||I instanceof HTMLAudioElement?o.appendChild(I.cloneNode(!0)):o.appendChild(I)})}},Ye=(o,a)=>a?a.split(/\s+/).every(c=>o.classList.contains(c)):!1,Su=(o,a)=>{Array.from(o.classList).forEach(c=>{!Object.values(p).includes(c)&&!Object.values(b).includes(c)&&!Object.values(a.showClass||{}).includes(c)&&o.classList.remove(c)})},ye=(o,a,c)=>{if(Su(o,a),!a.customClass)return;let h=a.customClass[c];if(h){if(typeof h!="string"&&!h.forEach){E("Invalid type of customClass.".concat(c,'! Expected string or iterable object, got "').concat(typeof h,'"'));return}N(o,h)}},ur=(o,a)=>{if(!a)return null;switch(a){case"select":case"textarea":case"file":return o.querySelector(".".concat(p.popup," > .").concat(p[a]));case"checkbox":return o.querySelector(".".concat(p.popup," > .").concat(p.checkbox," input"));case"radio":return o.querySelector(".".concat(p.popup," > .").concat(p.radio," input:checked"))||o.querySelector(".".concat(p.popup," > .").concat(p.radio," input:first-child"));case"range":return o.querySelector(".".concat(p.popup," > .").concat(p.range," input"));default:return o.querySelector(".".concat(p.popup," > .").concat(p.input))}},_o=o=>{if(o.focus(),o.type!=="file"){let a=o.value;o.value="",o.value=a}},Uo=(o,a,c)=>{if(!o||!a)return;let h=typeof a=="string"?a.split(/\s+/).filter(Boolean):a;(Array.isArray(o)?o:[o]).forEach(w=>{h.forEach(I=>{c?w.classList.add(I):w.classList.remove(I)})})},N=(o,a)=>{Uo(o,a,!0)},Te=(o,a)=>{Uo(o,a,!1)},it=(o,a)=>Array.from(o.children).find(c=>c instanceof HTMLElement&&Ye(c,a)),Tt=(o,a,c)=>{c==="".concat(parseInt("".concat(c)))&&(c=parseInt(c)),c||c===0?o.style.setProperty(a,typeof c=="number"?"".concat(c,"px"):c):o.style.removeProperty(a)},ee=(o,a="flex")=>{o&&(o.style.display=a)},ie=o=>{o&&(o.style.display="none")},Ri=(o,a="block")=>{o&&new MutationObserver(()=>{bn(o,o.innerHTML,a)}).observe(o,{childList:!0,subtree:!0})},jo=(o,a,c,h)=>{let m=o.querySelector(a);m&&m.style.setProperty(c,h)},bn=(o,a,c="flex")=>{a?ee(o,c):ie(o)},fe=o=>!!(o&&(o.offsetWidth||o.offsetHeight||o.getClientRects().length)),Au=()=>!fe(Be())&&!fe(At())&&!fe(Ut()),Mi=o=>o.scrollHeight>o.clientHeight,Tu=(o,a)=>{let c=o;for(;c&&c!==a;){if(Mi(c))return!0;c=c.parentElement}return!1},zo=o=>{let a=window.getComputedStyle(o),c=parseFloat(a.getPropertyValue("animation-duration")||"0"),h=parseFloat(a.getPropertyValue("transition-duration")||"0");return c>0||h>0},Fi=(o,a=!1)=>{let c=lr();c&&fe(c)&&(a&&(c.style.transition="none",c.style.width="100%"),setTimeout(()=>{c.style.transition="width ".concat(o/1e3,"s linear"),c.style.width="0%"},10))},Iu=()=>{let o=lr();if(!o)return;let a=parseInt(window.getComputedStyle(o).width);o.style.removeProperty("transition"),o.style.width="100%";let c=parseInt(window.getComputedStyle(o).width),h=a/c*100;o.style.width="".concat(h,"%")},Ru=()=>typeof window>"u"||typeof document>"u",Mu='\n <div aria-labelledby="'.concat(p.title,'" aria-describedby="').concat(p["html-container"],'" class="').concat(p.popup,'" tabindex="-1">\n <button type="button" class="').concat(p.close,'"></button>\n <ul class="').concat(p["progress-steps"],'"></ul>\n <div class="').concat(p.icon,'"></div>\n <img class="').concat(p.image,'" />\n <h2 class="').concat(p.title,'" id="').concat(p.title,'"></h2>\n <div class="').concat(p["html-container"],'" id="').concat(p["html-container"],'"></div>\n <input class="').concat(p.input,'" id="').concat(p.input,'" />\n <input type="file" class="').concat(p.file,'" />\n <div class="').concat(p.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(p.select,'" id="').concat(p.select,'"></select>\n <div class="').concat(p.radio,'"></div>\n <label class="').concat(p.checkbox,'">\n <input type="checkbox" id="').concat(p.checkbox,'" />\n <span class="').concat(p.label,'"></span>\n </label>\n <textarea class="').concat(p.textarea,'" id="').concat(p.textarea,'"></textarea>\n <div class="').concat(p["validation-message"],'" id="').concat(p["validation-message"],'"></div>\n <div class="').concat(p.actions,'">\n <div class="').concat(p.loader,'"></div>\n <button type="button" class="').concat(p.confirm,'"></button>\n <button type="button" class="').concat(p.deny,'"></button>\n <button type="button" class="').concat(p.cancel,'"></button>\n </div>\n <div class="').concat(p.footer,'"></div>\n <div class="').concat(p["timer-progress-bar-container"],'">\n <div class="').concat(p["timer-progress-bar"],'"></div>\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Fu=()=>{let o=le();return o?(o.remove(),Te([document.documentElement,document.body],[p["no-backdrop"],p["toast-shown"],p["has-column"]]),!0):!1},It=()=>{l.currentInstance&&l.currentInstance.resetValidationMessage()},Pu=()=>{let o=O();if(!o)return;let a=it(o,p.input),c=it(o,p.file),h=o.querySelector(".".concat(p.range," input")),m=o.querySelector(".".concat(p.range," output")),w=it(o,p.select),I=o.querySelector(".".concat(p.checkbox," input")),F=it(o,p.textarea);
1a&&(a.oninput=It),c&&(c.onchange=It),w&&(w.onchange=It),I&&(I.onchange=It),F&&(F.oninput=It),h&&m&&(h.oninput=()=>{It(),m.value=h.value},h.onchange=()=>{It(),m.value=h.value})},ku=o=>{if(typeof o=="string"){let a=document.querySelector(o);if(!a)throw new Error('Target element "'.concat(o,'" not found'));return a}return o},xu=o=>{let a=O();a&&(a.setAttribute("role",o.toast?"alert":"dialog"),a.setAttribute("aria-live",o.toast?"polite":"assertive"),o.toast||a.setAttribute("aria-modal","true"))},Lu=o=>{window.getComputedStyle(o).direction==="rtl"&&(N(le(),p.rtl),l.isRTL=!0)},Ou=o=>{let a=Fu();if(Ru()){D("SweetAlert2 requires document to initialize");return}let c=document.createElement("div");c.className=p.container,a&&N(c,p["no-transition"]),ve(c,Mu),c.dataset.swal2Theme=o.theme;let h=ku(o.target||"body");h.appendChild(c),o.topLayer&&(c.setAttribute("popover",""),c.showPopover()),xu(o),Lu(h),Pu()},Pi=(o,a)=>{o instanceof HTMLElement?a.appendChild(o):typeof o=="object"?Nu(o,a):o&&ve(a,o)},Nu=(o,a)=>{"jquery"in o?Bu(a,o):ve(a,o.toString())},Bu=(o,a)=>{if(o.textContent="",0 in a)for(let c=0;c in a;c++)o.appendChild(a[c].cloneNode(!0));else o.appendChild(a.cloneNode(!0))},$u=(o,a)=>{let c=yn(),h=jt();!c||!h||(!a.showConfirmButton&&!a.showDenyButton&&!a.showCancelButton?ie(c):ee(c),ye(c,a,"actions"),_u(c,h,a),ve(h,a.loaderHtml||""),ye(h,a,"loader"))};function _u(o,a,c){let h=Be(),m=At(),w=Ut();!h||!m||!w||(ki(h,"confirm",c),ki(m,"deny",c),ki(w,"cancel",c),Uu(h,m,w,c),c.reverseButtons&&(c.toast?(o.insertBefore(w,h),o.insertBefore(m,h)):(o.insertBefore(w,a),o.insertBefore(m,a),o.insertBefore(h,a))))}function Uu(o,a,c,h){if(!h.buttonsStyling){Te([o,a,c],p.styled);return}N([o,a,c],p.styled),[[o,"confirm",h.confirmButtonColor],[a,"deny",h.denyButtonColor],[c,"cancel",h.cancelButtonColor]].forEach(([w,I,F])=>{F&&w.style.setProperty("--swal2-".concat(I,"-button-background-color"),F),ju(w)})}function ju(o){let a=window.getComputedStyle(o);if(a.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;let c=a.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");o.style.setProperty("--swal2-action-button-focus-box-shadow",a.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/," ".concat(c)))}function ki(o,a,c){let h=z(a);bn(o,c["show".concat(h,"Button")],"inline-block"),ve(o,c["".concat(a,"ButtonText")]||""),o.setAttribute("aria-label",c["".concat(a,"ButtonAriaLabel")]||""),o.className=p[a],ye(o,c,"".concat(a,"Button"))}let zu=(o,a)=>{let c=Ai();c&&(ve(c,a.closeButtonHtml||""),ye(c,a,"closeButton"),bn(c,a.showCloseButton),c.setAttribute("aria-label",a.closeButtonAriaLabel||""))},Vu=(o,a)=>{let c=le();c&&(Hu(c,a.backdrop),Wu(c,a.position),qu(c,a.grow),ye(c,a,"container"))};function Hu(o,a){typeof a=="string"?o.style.background=a:a||N([document.documentElement,document.body],p["no-backdrop"])}function Wu(o,a){a&&(a in p?N(o,p[a]):(E('The "position" parameter is not valid, defaulting to "center"'),N(o,p.center)))}function qu(o,a){a&&N(o,p["grow-".concat(a)])}var j={innerParams:new WeakMap,domCache:new WeakMap,focusedElement:new WeakMap};let Gu=["input","file","range","select","radio","checkbox","textarea"],Ku=(o,a)=>{let c=O();if(!c)return;let h=j.innerParams.get(o),m=!h||a.input!==h.input;Gu.forEach(w=>{let I=it(c,p[w]);I&&(Xu(w,a.inputAttributes),I.className=p[w],m&&ie(I))}),a.input&&(m&&Yu(a),Ju(a))},Yu=o=>{if(!o.input)return;if(!Z[o.input]){D("Unexpected type of input! Expected ".concat(Object.keys(Z).join(" | "),', got "').concat(o.input,'"'));return}let a=Vo(o.input);if(!a)return;let c=Z[o.input](a,o);ee(a),o.inputAutoFocus&&setTimeout(()=>{_o(c)})},Zu=o=>{for(let{name:a}of Array.from(o.attributes))["id","type","value","style"].includes(a)||o.removeAttribute(a)},Xu=(o,a)=>{let c=O();if(!c)return;let h=ur(c,o);if(h){Zu(h);for(let m in a)h.setAttribute(m,a[m])}},Ju=o=>{if(!o.input)return;let a=Vo(o.input);a&&ye(a,o,"input")},xi=(o,a)=>{!o.placeholder&&a.inputPlaceholder&&(o.placeholder=a.inputPlaceholder)},Dn=(o,a,c)=>{if(c.inputLabel){let h=document.createElement("label"),m=p["input-label"];h.setAttribute("for",o.id),h.className=m,typeof c.customClass=="object"&&N(h,c.customClass.inputLabel),h.innerText=c.inputLabel,a.insertAdjacentElement("beforebegin",h)}},Vo=o=>{let a=O();if(a)return it(a,p[o]||p.input)},dr=(o,a)=>{["string","number"].includes(typeof a)?o.value="".concat(a):Ne(a)||E('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof a,'"'))},Z={};Z.text=Z.email=Z.password=Z.number=Z.tel=Z.url=Z.search=Z.date=Z["datetime-local"]=Z.time=Z.week=Z.month=(o,a)=>{let c=o;return dr(c,a.inputValue),Dn(c,c,a),xi(c,a),c.type=a.input,c},Z.file=(o,a)=>{let c=o;return Dn(c,c,a),xi(c,a),c},Z.range=(o,a)=>{let c=o,h=c.querySelector("input"),m=c.querySelector("output");
1return h&&(dr(h,a.inputValue),h.type=a.input,Dn(h,o,a)),m&&dr(m,a.inputValue),o},Z.select=(o,a)=>{let c=o;if(c.textContent="",a.inputPlaceholder){let h=document.createElement("option");ve(h,a.inputPlaceholder),h.value="",h.disabled=!0,h.selected=!0,c.appendChild(h)}return Dn(c,c,a),c},Z.radio=o=>{let a=o;return a.textContent="",o},Z.checkbox=(o,a)=>{let c=O();if(!c)throw new Error("Popup not found");let h=ur(c,"checkbox");if(!h)throw new Error("Checkbox input not found");h.value="1",h.checked=!!a.inputValue;let w=o.querySelector("span");if(w){let I=a.inputPlaceholder||a.inputLabel;I&&ve(w,I)}return h},Z.textarea=(o,a)=>{let c=o;dr(c,a.inputValue),xi(c,a),Dn(c,c,a);let h=m=>parseInt(window.getComputedStyle(m).marginLeft)+parseInt(window.getComputedStyle(m).marginRight);return setTimeout(()=>{if("MutationObserver"in window){let m=O();if(!m)return;let w=parseInt(window.getComputedStyle(m).width),I=()=>{if(!document.body.contains(c))return;let F=c.offsetWidth+h(c),V=O();V&&(F>w?V.style.width="".concat(F,"px"):Tt(V,"width",a.width))};new MutationObserver(I).observe(c,{attributes:!0,attributeFilter:["style"]})}}),c};let Qu=(o,a)=>{let c=Ei();c&&(Ri(c),ye(c,a,"htmlContainer"),a.html?(Pi(a.html,c),ee(c,"block")):a.text?(c.textContent=a.text,ee(c,"block")):ie(c),Ku(o,a))},ed=(o,a)=>{let c=$o();c&&(Ri(c),bn(c,!!a.footer,"block"),a.footer&&Pi(a.footer,c),ye(c,a,"footer"))},td=(o,a)=>{let c=j.innerParams.get(o),h=_t();if(!h)return;if(c&&a.icon===c.icon){qo(h,a),Ho(h,a);return}if(!a.icon&&!a.iconHtml){ie(h);return}if(a.icon&&Object.keys(b).indexOf(a.icon)===-1){D('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(a.icon,'"')),ie(h);return}ee(h),qo(h,a),Ho(h,a),N(h,a.showClass&&a.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",Wo)},Ho=(o,a)=>{for(let[c,h]of Object.entries(b))a.icon!==c&&Te(o,h);N(o,a.icon&&b[a.icon]),id(o,a),Wo(),ye(o,a,"icon")},Wo=()=>{let o=O();if(!o)return;let a=window.getComputedStyle(o).getPropertyValue("background-color");o.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix").forEach(h=>{h.style.backgroundColor=a})},nd=o=>"\n ".concat(o.animation?'<div class="swal2-success-circular-line-left"></div>':"",'\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div>\n ').concat(o.animation?'<div class="swal2-success-fix"></div>':"","\n ").concat(o.animation?'<div class="swal2-success-circular-line-right"></div>':"","\n"),rd='\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n',qo=(o,a)=>{if(!a.icon&&!a.iconHtml)return;let c=o.innerHTML,h="";a.iconHtml?h=Go(a.iconHtml):a.icon==="success"?(h=nd(a),c=c.replace(/ style=".*?"/g,"")):a.icon==="error"?h=rd:a.icon&&(h=Go({question:"?",warning:"!",info:"i"}[a.icon])),c.trim()!==h.trim()&&ve(o,h)},id=(o,a)=>{if(a.iconColor){o.style.color=a.iconColor,o.style.borderColor=a.iconColor;for(let c of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])jo(o,c,"background-color",a.iconColor);jo(o,".swal2-success-ring","border-color",a.iconColor)}},Go=o=>'<div class="'.concat(p["icon-content"],'">').concat(o,"</div>"),sd=(o,a)=>{let c=Bo();if(c){if(!a.imageUrl){ie(c);return}ee(c,""),c.setAttribute("src",a.imageUrl),c.setAttribute("alt",a.imageAlt||""),Tt(c,"width",a.imageWidth),Tt(c,"height",a.imageHeight),c.className=p.image,ye(c,a,"image")}},Li=!1,Ko=0,Yo=0,Zo=0,Xo=0,od=o=>{o.addEventListener("mousedown",hr),document.body.addEventListener("mousemove",fr),o.addEventListener("mouseup",pr),o.addEventListener("touchstart",hr),document.body.addEventListener("touchmove",fr),o.addEventListener("touchend",pr)},ad=o=>{o.removeEventListener("mousedown",hr),document.body.removeEventListener("mousemove",fr),o.removeEventListener("mouseup",pr),o.removeEventListener("touchstart",hr),document.body.removeEventListener("touchmove",fr),o.removeEventListener("touchend",pr)},hr=o=>{let a=O();if(!a)return;let c=_t();if(o.target===a||c&&c.contains(o.target)){Li=!0;let h=Jo(o);Ko=h.clientX,Yo=h.clientY,Zo=parseInt(a.style.insetInlineStart)||0,Xo=parseInt(a.style.insetBlockStart)||0,N(a,"swal2-dragging")}},fr=o=>{let a=O();if(a&&Li){let{clientX:c,clientY:h}=Jo(o),m=c-Ko;a.style.insetInlineStart="".concat(Zo+(l.isRTL?-m:m),"px"),a.style.insetBlockStart="".concat(Xo+(h-Yo),"px")}},pr=()=>{let o=O();Li=!1,Te(o,"swal2-dragging")},Jo=o=>{let a=o.type.startsWith("touch")?o.touches[0]:o;return{clientX:a.clientX,clientY:a.clientY}},ld=(o,a)=>{let c=le(),h=O();if(!(!c||!h)){if(a.toast){Tt(c,"width",a.width),h.style.width="100%";let m=jt();m&&h.insertBefore(m,_t())}else Tt(h,"width",a.width);Tt(h,"padding",a.padding),a.color&&(h.style.color=a.color),a.background&&(h.style.background=a.background),ie(ar()),cd(h,a),a.draggable&&!a.toast?(N(h,p.draggable),od(h)):(Te(h,p.draggable),ad(h))}},cd=(o,a)=>{let c=a.showClass||{};o.className="".concat(p.popup," ").concat(fe(o)?c.popup:""),a.toast?(N([document.documentElement,document.body],p["toast-shown"]),N(o,p.toast)):N(o,p.modal),ye(o,a,"popup"),typeof a.customClass=="string"&&N(o,a.customClass),a.icon&&N(o,p["icon-".concat(a.icon)])},ud=(o,a)=>{let c=Si();if(!c)return;let{progressSteps:h,currentProgressStep:m}=a;if(!h||h.length===0||m===void 0){ie(c);return}ee(c),c.textContent="",m>=h.length&&E("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),h.forEach((w,I)=>{let F=dd(w);if(c.appendChild(F),I===m&&N(F,p["active-progress-step"]),I!==h.length-1){let V=hd(a);c.appendChild(V)}})},dd=o=>{let a=document.createElement("li");return N(a,p["progress-step"]),ve(a,o),a},hd=o=>{let a=document.createElement("li");return N(a,p["progress-step-line"]),o.progressStepsDistance&&Tt(a,"width",o.progressStepsDistance),a},fd=(o,a)=>{let c=No();c&&(Ri(c),bn(c,!!(a.title||a.titleText),"block"),a.title&&Pi(a.title,c),a.titleText&&(c.innerText=a.titleText),ye(c,a,"title"))},Qo=(o,a)=>{var c;ld(o,a),Vu(o,a),ud(o,a),td(o,a),sd(o,a),fd(o,a),zu(o,a),Qu(o,a),$u(o,a),ed(o,a);let h=O();typeof a.didRender=="function"&&h&&a.didRender(h),(c=l.eventEmitter)===null||c===void 0||c.emit("didRender",h)},pd=()=>fe(O()),ea=()=>{var o;return(o=Be())===null||o===void 0?void 0:o.click()},gd=()=>{var o;return(o=At())===null||o===void 0?void 0:o.click()},md=()=>{var o;return(o=Ut())===null||o===void 0?void 0:o.click()},zt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),ta=o=>{if(o.keydownTarget&&o.keydownHandlerAdded&&o.keydownHandler){let a=o.keydownHandler;
1o.keydownTarget.removeEventListener("keydown",a,{capture:o.keydownListenerCapture}),o.keydownHandlerAdded=!1}},wd=(o,a,c)=>{if(ta(o),!a.toast){let h=w=>yd(a,w,c);o.keydownHandler=h;let m=a.keydownListenerCapture?window:O();if(m){o.keydownTarget=m,o.keydownListenerCapture=a.keydownListenerCapture;let w=h;o.keydownTarget.addEventListener("keydown",w,{capture:o.keydownListenerCapture}),o.keydownHandlerAdded=!0}}},Oi=(o,a)=>{var c;let h=Ti();return h.length?(o=o+a,o===-2&&(o=h.length-1),o===h.length?o=0:o===-1&&(o=h.length-1),h[o].focus(),!(yu()&&h[o]instanceof HTMLIFrameElement)):((c=O())===null||c===void 0||c.focus(),!0)},na=["ArrowRight","ArrowDown"],vd=["ArrowLeft","ArrowUp"],yd=(o,a,c)=>{o&&(a.isComposing||a.keyCode===229||(o.stopKeydownPropagation&&a.stopPropagation(),a.key==="Enter"?bd(a,o):a.key==="Tab"?Dd(a):[...na,...vd].includes(a.key)?Cd(a.key):a.key==="Escape"&&Ed(a,o,c)))},bd=(o,a)=>{if(!K(a.allowEnterKey))return;let c=O();if(!c||!a.input)return;let h=ur(c,a.input);if(o.target&&h&&o.target instanceof HTMLElement&&o.target.outerHTML===h.outerHTML){if(["textarea","file"].includes(a.input))return;ea(),o.preventDefault()}},Dd=o=>{let a=o.target,h=Ti().findIndex(w=>w===a),m=!0;o.shiftKey?m=Oi(h,-1):m=Oi(h,1),o.stopPropagation(),m&&o.preventDefault()},Cd=o=>{let a=yn(),c=Be(),h=At(),m=Ut();if(!a||!c||!h||!m)return;let w=[c,h,m];if(document.activeElement instanceof HTMLElement&&!w.includes(document.activeElement))return;let I=na.includes(o)?"nextElementSibling":"previousElementSibling",F=document.activeElement;if(F){for(let V=0;V<a.children.length;V++){if(F=F[I],!F)return;if(F instanceof HTMLButtonElement&&fe(F))break}F instanceof HTMLButtonElement&&F.focus()}},Ed=(o,a,c)=>{o.preventDefault(),K(a.allowEscapeKey)&&c(zt.esc)};var Vt={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};let Sd=()=>{let o=le();Array.from(document.body.children).forEach(c=>{c.contains(o)||(c.hasAttribute("aria-hidden")&&c.setAttribute("data-previous-aria-hidden",c.getAttribute("aria-hidden")||""),c.setAttribute("aria-hidden","true"))})},ra=()=>{Array.from(document.body.children).forEach(a=>{a.hasAttribute("data-previous-aria-hidden")?(a.setAttribute("aria-hidden",a.getAttribute("data-previous-aria-hidden")||""),a.removeAttribute("data-previous-aria-hidden")):a.removeAttribute("aria-hidden")})},Ni=typeof window<"u"&&!!window.GestureEvent,Ad=Ni&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Td=()=>{if(Ni&&!Ye(document.body,p.iosfix)){let o=document.body.scrollTop;document.body.style.top="".concat(o*-1,"px"),N(document.body,p.iosfix),Id()}},Id=()=>{let o=le();if(!o)return;let a;o.ontouchstart=c=>{a=Rd(c)},o.ontouchmove=c=>{a&&(c.preventDefault(),c.stopPropagation())}},Rd=o=>{let a=o.target,c=le(),h=Ei();return!c||!h||Md(o)||Fd(o)?!1:a===c||!Mi(c)&&a instanceof HTMLElement&&!Tu(a,h)&&a.tagName!=="INPUT"&&a.tagName!=="TEXTAREA"&&!(Mi(h)&&h.contains(a))},Md=o=>!!(o.touches&&o.touches.length&&o.touches[0].touchType==="stylus"),Fd=o=>o.touches&&o.touches.length>1,Pd=()=>{if(Ye(document.body,p.iosfix)){let o=parseInt(document.body.style.top,10);Te(document.body,p.iosfix),document.body.style.top="",document.body.scrollTop=o*-1}},kd=()=>{let o=document.createElement("div");o.className=p["scrollbar-measure"],document.body.appendChild(o);let a=o.getBoundingClientRect().width-o.clientWidth;return document.body.removeChild(o),a},Ht=null,xd=o=>{Ht===null&&(document.body.scrollHeight>window.innerHeight||o==="scroll")&&(Ht=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(Ht+kd(),"px"))},Ld=()=>{Ht!==null&&(document.body.style.paddingRight="".concat(Ht,"px"),Ht=null)};function ia(o,a,c,h){cr()?oa(o,h):(f(c).then(()=>oa(o,h)),ta(l)),Ni?(a.setAttribute("style","display:none !important"),a.removeAttribute("class"),a.innerHTML=""):a.remove(),Ii()&&(Ld(),Pd(),ra()),Od()}function Od(){Te([document.documentElement,document.body],[p.shown,p["height-auto"],p["no-backdrop"],p["toast-shown"]])}function st(o){o=Bd(o);let a=Vt.swalPromiseResolve.get(this),c=Nd(this);this.isAwaitingPromise?o.isDismissed||(Cn(this),a(o)):c&&a(o)}let Nd=o=>{let a=O();if(!a)return!1;let c=j.innerParams.get(o);if(!c||Ye(a,c.hideClass.popup))return!1;Te(a,c.showClass.popup),N(a,c.hideClass.popup);let h=le();return Te(h,c.showClass.backdrop),N(h,c.hideClass.backdrop),$d(o,a,c),!0};function sa(o){let a=Vt.swalPromiseReject.get(this);Cn(this),a&&a(o)}let Cn=o=>{o.isAwaitingPromise&&(delete o.isAwaitingPromise,j.innerParams.get(o)||o._destroy())},Bd=o=>typeof o>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},o),$d=(o,a,c)=>{var h;let m=le(),w=zo(a);typeof c.willClose=="function"&&c.willClose(a),(h=l.eventEmitter)===null||h===void 0||h.emit("willClose",a),w&&m?_d(o,a,m,!!c.returnFocus,c.didClose):m&&ia(o,m,!!c.returnFocus,c.didClose)},_d=(o,a,c,h,m)=>{l.swalCloseEventFinishedCallback=ia.bind(null,o,c,h,m);let w=function(I){if(I.target===a){var F;(F=l.swalCloseEventFinishedCallback)===null||F===void 0||F.call(l),delete l.swalCloseEventFinishedCallback,a.removeEventListener("animationend",w),a.removeEventListener("transitionend",w)}};a.addEventListener("animationend",w),a.addEventListener("transitionend",w)},oa=(o,a)=>{setTimeout(()=>{var c;typeof a=="function"&&a.bind(o.params)(),(c=l.eventEmitter)===null||c===void 0||c.emit("didClose"),o._destroy&&o._destroy()})},Wt=o=>{let a=O();if(a||new yr,a=O(),!a)return;let c=jt();cr()?ie(_t()):Ud(a,o),ee(c),a.setAttribute("data-loading","true"),a.setAttribute("aria-busy","true"),a.focus()},Ud=(o,a)=>{let c=yn(),h=jt();!c||!h||(!a&&fe(Be())&&(a=Be()),ee(c),a&&(ie(a),h.setAttribute("data-button-to-replace",a.className),c.insertBefore(h,a)),N([o,c],p.loading))},jd=(o,a)=>{a.input==="select"||a.input==="radio"?qd(o,a):["text","email","number","tel","textarea"].some(c=>c===a.input)&&(he(a.inputValue)||Ne(a.inputValue))&&(Wt(Be()),Gd(o,a))},zd=(o,a)=>{let c=o.getInput();if(!c)return null;switch(a.input){case"checkbox":return Vd(c);case"radio":return Hd(c);case"file":return Wd(c);default:return a.inputAutoTrim?c.value.trim():c.value}},Vd=o=>o.checked?1:0,Hd=o=>o.checked?o.value:null,Wd=o=>o.files&&o.files.length?o.getAttribute("multiple")!==null?o.files:o.files[0]:null,qd=(o,a)=>{let c=O();if(!c)return;let h=m=>{a.input==="select"?Kd(c,Bi(m),a):a.input==="radio"&&Yd(c,Bi(m),a)};he(a.inputOptions)||Ne(a.inputOptions)?(Wt(Be()),Oe(a.inputOptions).then(m=>{o.hideLoading(),h(m)})):typeof a.inputOptions=="object"?h(a.inputOptions):D("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof a.inputOptions))},Gd=(o,a)=>{let c=o.getInput();
1c&&(ie(c),Oe(a.inputValue).then(h=>{c.value=a.input==="number"?"".concat(parseFloat(h)||0):"".concat(h),ee(c),c.focus(),o.hideLoading()}).catch(h=>{D("Error in inputValue promise: ".concat(h)),c.value="",ee(c),c.focus(),o.hideLoading()}))};function Kd(o,a,c){let h=it(o,p.select);if(!h)return;let m=(w,I,F)=>{let V=document.createElement("option");V.value=F,ve(V,I),V.selected=aa(F,c.inputValue),w.appendChild(V)};a.forEach(w=>{let I=w[0],F=w[1];if(Array.isArray(F)){let V=document.createElement("optgroup");V.label=I,V.disabled=!1,h.appendChild(V),F.forEach(qt=>m(V,qt[1],qt[0]))}else m(h,F,I)}),h.focus()}function Yd(o,a,c){let h=it(o,p.radio);if(!h)return;a.forEach(w=>{let I=w[0],F=w[1],V=document.createElement("input"),qt=document.createElement("label");V.type="radio",V.name=p.radio,V.value=I,aa(I,c.inputValue)&&(V.checked=!0);let zi=document.createElement("span");ve(zi,F),zi.className=p.label,qt.appendChild(V),qt.appendChild(zi),h.appendChild(qt)});let m=h.querySelectorAll("input");m.length&&m[0].focus()}let Bi=o=>(o instanceof Map?Array.from(o):Object.entries(o)).map(([c,h])=>[c,typeof h=="object"?Bi(h):h]),aa=(o,a)=>!!a&&a!=null&&a.toString()===o.toString(),Zd=o=>{let a=j.innerParams.get(o);o.disableButtons(),a.input?la(o,"confirm"):_i(o,!0)},Xd=o=>{let a=j.innerParams.get(o);o.disableButtons(),a.returnInputValueOnDeny?la(o,"deny"):$i(o,!1)},Jd=(o,a)=>{o.disableButtons(),a(zt.cancel)},la=(o,a)=>{let c=j.innerParams.get(o);if(!c.input){D('The "input" parameter is needed to be set when using returnInputValueOn'.concat(z(a)));return}let h=o.getInput(),m=zd(o,c);c.inputValidator?Qd(o,m,a):h&&!h.checkValidity()?(o.enableButtons(),o.showValidationMessage(c.validationMessage||h.validationMessage)):a==="deny"?$i(o,m):_i(o,m)},Qd=(o,a,c)=>{let h=j.innerParams.get(o);o.disableInput(),Promise.resolve().then(()=>Oe(h.inputValidator(a,h.validationMessage))).then(w=>{o.enableButtons(),o.enableInput(),w?o.showValidationMessage(w):c==="deny"?$i(o,a):_i(o,a)})},$i=(o,a)=>{let c=j.innerParams.get(o);c.showLoaderOnDeny&&Wt(At()),c.preDeny?(o.isAwaitingPromise=!0,Promise.resolve().then(()=>Oe(c.preDeny(a,c.validationMessage))).then(m=>{m===!1?(o.hideLoading(),Cn(o)):o.close({isDenied:!0,value:typeof m>"u"?a:m})}).catch(m=>ua(o,m))):o.close({isDenied:!0,value:a})},ca=(o,a)=>{o.close({isConfirmed:!0,value:a})},ua=(o,a)=>{o.rejectPromise(a)},_i=(o,a)=>{let c=j.innerParams.get(o);c.showLoaderOnConfirm&&Wt(),c.preConfirm?(o.resetValidationMessage(),o.isAwaitingPromise=!0,Promise.resolve().then(()=>Oe(c.preConfirm(a,c.validationMessage))).then(m=>{fe(ar())||m===!1?(o.hideLoading(),Cn(o)):ca(o,typeof m>"u"?a:m)}).catch(m=>ua(o,m))):ca(o,a)};function gr(){let o=j.innerParams.get(this);if(!o)return;let a=j.domCache.get(this);ie(a.loader),cr()?o.icon&&ee(_t()):eh(a),Te([a.popup,a.actions],p.loading),a.popup.removeAttribute("aria-busy"),a.popup.removeAttribute("data-loading"),this.enableButtons()}let eh=o=>{let a=o.loader.getAttribute("data-button-to-replace"),c=a?o.popup.getElementsByClassName(a):[];c.length?ee(c[0],"inline-block"):Au()&&ie(o.actions)};function da(){let o=j.innerParams.get(this),a=j.domCache.get(this);return a?ur(a.popup,o.input):null}function ha(o,a,c){let h=j.domCache.get(o);a.forEach(m=>{h[m].disabled=c})}function fa(o,a){let c=O();!c||!o||(o.type==="radio"?c.querySelectorAll('[name="'.concat(p.radio,'"]')).forEach(m=>{m.disabled=a}):o.disabled=a)}function pa(){ha(this,["confirmButton","denyButton","cancelButton"],!1);let o=j.focusedElement.get(this);o instanceof HTMLElement&&document.activeElement===document.body&&o.focus(),j.focusedElement.delete(this)}function ga(){j.focusedElement.set(this,document.activeElement),ha(this,["confirmButton","denyButton","cancelButton"],!0)}function ma(){fa(this.getInput(),!1)}function wa(){fa(this.getInput(),!0)}function va(o){let a=j.domCache.get(this),c=j.innerParams.get(this);ve(a.validationMessage,o),a.validationMessage.className=p["validation-message"],c.customClass&&c.customClass.validationMessage&&N(a.validationMessage,c.customClass.validationMessage),ee(a.validationMessage);let h=this.getInput();h&&(h.setAttribute("aria-invalid","true"),h.setAttribute("aria-describedby",p["validation-message"]),_o(h),N(h,p.inputerror))}function ya(){let o=j.domCache.get(this);o.validationMessage&&ie(o.validationMessage);let a=this.getInput();a&&(a.removeAttribute("aria-invalid"),a.removeAttribute("aria-describedby"),Te(a,p.inputerror))}let ot={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:"×",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
1:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},th=["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"],nh={allowEnterKey:void 0},rh=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],ba=o=>Object.prototype.hasOwnProperty.call(ot,o),Da=o=>th.indexOf(o)!==-1,Ca=o=>nh[o],ih=o=>{ba(o)||E('Unknown parameter "'.concat(o,'"'))},sh=o=>{rh.includes(o)&&E('The parameter "'.concat(o,'" is incompatible with toasts'))},oh=o=>{let a=Ca(o);a&&U(o,a)},Ea=o=>{o.backdrop===!1&&o.allowOutsideClick&&E('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),o.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(o.theme)&&E('Invalid theme "'.concat(o.theme,'"'));for(let a in o)ih(a),o.toast&&sh(a),oh(a)};function Sa(o){let a=le(),c=O(),h=j.innerParams.get(this);if(!c||Ye(c,h.hideClass.popup)){E("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=ah(o),w=Object.assign({},h,m);Ea(w),a&&(a.dataset.swal2Theme=w.theme),Qo(this,w),j.innerParams.set(this,w),Object.defineProperties(this,{params:{value:Object.assign({},this.params,o),writable:!1,enumerable:!0}})}let ah=o=>{let a={};return Object.keys(o).forEach(c=>{if(Da(c)){let h=o;a[c]=h[c]}else E("Invalid parameter to update: ".concat(c))}),a};function Aa(){var o;let a=j.domCache.get(this),c=j.innerParams.get(this);if(!c){Ta(this);return}a.popup&&l.swalCloseEventFinishedCallback&&(l.swalCloseEventFinishedCallback(),delete l.swalCloseEventFinishedCallback),typeof c.didDestroy=="function"&&c.didDestroy(),(o=l.eventEmitter)===null||o===void 0||o.emit("didDestroy"),lh(this)}let lh=o=>{Ta(o),delete o.params,delete l.keydownHandler,delete l.keydownTarget,delete l.currentInstance},Ta=o=>{o.isAwaitingPromise?(Ui(j,o),o.isAwaitingPromise=!0):(Ui(Vt,o),Ui(j,o),delete o.isAwaitingPromise,delete o.disableButtons,delete o.enableButtons,delete o.getInput,delete o.disableInput,delete o.enableInput,delete o.hideLoading,delete o.disableLoading,delete o.showValidationMessage,delete o.resetValidationMessage,delete o.close,delete o.closePopup,delete o.closeModal,delete o.closeToast,delete o.rejectPromise,delete o.update,delete o._destroy)},Ui=(o,a)=>{for(let c in o)o[c].delete(a)};var ch=Object.freeze({__proto__:null,_destroy:Aa,close:st,closeModal:st,closePopup:st,closeToast:st,disableButtons:ga,disableInput:wa,disableLoading:gr,enableButtons:pa,enableInput:ma,getInput:da,handleAwaitingPromise:Cn,hideLoading:gr,rejectPromise:sa,resetValidationMessage:ya,showValidationMessage:va,update:Sa});let uh=(o,a,c)=>{o.toast?dh(o,a,c):(fh(a),ph(a),gh(o,a,c))},dh=(o,a,c)=>{a.popup.onclick=()=>{o&&(hh(o)||o.timer||o.input)||c(zt.close)}},hh=o=>!!(o.showConfirmButton||o.showDenyButton||o.showCancelButton||o.showCloseButton),mr=!1,fh=o=>{o.popup.onmousedown=()=>{o.container.onmouseup=function(a){o.container.onmouseup=()=>{},a.target===o.container&&(mr=!0)}}},ph=o=>{o.container.onmousedown=a=>{a.target===o.container&&a.preventDefault(),o.popup.onmouseup=function(c){o.popup.onmouseup=()=>{},(c.target===o.popup||c.target instanceof HTMLElement&&o.popup.contains(c.target))&&(mr=!0)}}},gh=(o,a,c)=>{a.container.onclick=h=>{if(mr){mr=!1;return}h.target===a.container&&K(o.allowOutsideClick)&&c(zt.backdrop)}},mh=o=>typeof o=="object"&&o!==null&&"jquery"in o,Ia=o=>o instanceof Element||mh(o),wh=o=>{let a={};return typeof o[0]=="object"&&!Ia(o[0])?Object.assign(a,o[0]):["title","html","icon"].forEach((c,h)=>{let m=o[h];typeof m=="string"||Ia(m)?a[c]=m:m!==void 0&&D("Unexpected type of ".concat(c,'! Expected "string" or "Element", got ').concat(typeof m))}),a};function vh(...o){return new this(...o)}function yh(o){class a extends this{_main(h,m){return super._main(h,Object.assign({},o,m))}}return a}let bh=()=>l.timeout&&l.timeout.getTimerLeft(),Ra=()=>
1{if(l.timeout)return Iu(),l.timeout.stop()},Ma=()=>{if(l.timeout){let o=l.timeout.start();return Fi(o),o}},Dh=()=>{let o=l.timeout;return o&&(o.running?Ra():Ma())},Ch=o=>{if(l.timeout){let a=l.timeout.increase(o);return Fi(a,!0),a}},Eh=()=>!!(l.timeout&&l.timeout.isRunning()),Fa=!1,ji={};function Sh(o="data-swal-template"){ji[o]=this,Fa||(document.body.addEventListener("click",Ah),Fa=!0)}let Ah=o=>{for(let a=o.target;a&&a!==document;a=a.parentNode)for(let c in ji){let h=a.getAttribute&&a.getAttribute(c);if(h){ji[c].fire({template:h});return}}};class Th{constructor(){this.events={}}_getHandlersByEventName(a){return typeof this.events[a]>"u"&&(this.events[a]=[]),this.events[a]}on(a,c){let h=this._getHandlersByEventName(a);h.includes(c)||h.push(c)}once(a,c){let h=(...m)=>{this.removeListener(a,h),c.apply(this,m)};this.on(a,h)}emit(a,...c){this._getHandlersByEventName(a).forEach(h=>{try{h.apply(this,c)}catch(m){console.error(m)}})}removeListener(a,c){let h=this._getHandlersByEventName(a),m=h.indexOf(c);m>-1&&h.splice(m,1)}removeAllListeners(a){this.events[a]!==void 0&&(this.events[a].length=0)}reset(){this.events={}}}l.eventEmitter=new Th;var Ih=Object.freeze({__proto__:null,argsToParams:wh,bindClickHandler:Sh,clickCancel:md,clickConfirm:ea,clickDeny:gd,enableLoading:Wt,fire:vh,getActions:yn,getCancelButton:Ut,getCloseButton:Ai,getConfirmButton:Be,getContainer:le,getDenyButton:At,getFocusableElements:Ti,getFooter:$o,getHtmlContainer:Ei,getIcon:_t,getIconContent:bu,getImage:Bo,getInputLabel:Du,getLoader:jt,getPopup:O,getProgressSteps:Si,getTimerLeft:bh,getTimerProgressBar:lr,getTitle:No,getValidationMessage:ar,increaseTimer:Ch,isDeprecatedParameter:Ca,isLoading:Eu,isTimerRunning:Eh,isUpdatableParameter:Da,isValidParameter:ba,isVisible:pd,mixin:yh,off:(o,a)=>{if(l.eventEmitter){if(!o){l.eventEmitter.reset();return}a?l.eventEmitter.removeListener(o,a):l.eventEmitter.removeAllListeners(o)}},on:(o,a)=>{l.eventEmitter&&l.eventEmitter.on(o,a)},once:(o,a)=>{l.eventEmitter&&l.eventEmitter.once(o,a)},resumeTimer:Ma,showLoading:Wt,stopTimer:Ra,toggleTimer:Dh});class Rh{constructor(a,c){this.callback=a,this.remaining=c,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(a){let c=this.running;return c&&this.stop(),this.remaining+=a,c&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}let Pa=["swal-title","swal-html","swal-footer"],Mh=o=>{let a=typeof o.template=="string"?document.querySelector(o.template):o.template;if(!a)return{};let c=a.content;return Bh(c),Object.assign(Fh(c),Ph(c),kh(c),xh(c),Lh(c),Oh(c),Nh(c,Pa))},Fh=o=>{let a={};return Array.from(o.querySelectorAll("swal-param")).forEach(h=>{Rt(h,["name","value"]);let m=h.getAttribute("name"),w=h.getAttribute("value");!m||!w||(m in ot&&typeof ot[m]=="boolean"?a[m]=w!=="false":m in ot&&typeof ot[m]=="object"?a[m]=JSON.parse(w):a[m]=w)}),a},Ph=o=>{let a={};return Array.from(o.querySelectorAll("swal-function-param")).forEach(h=>{let m=h.getAttribute("name"),w=h.getAttribute("value");!m||!w||(a[m]=new Function("return ".concat(w))())}),a},kh=o=>{let a={};return Array.from(o.querySelectorAll("swal-button")).forEach(h=>{Rt(h,["type","color","aria-label"]);let m=h.getAttribute("type");if(!m||!["confirm","cancel","deny"].includes(m))return;a["".concat(m,"ButtonText")]=h.innerHTML,a["show".concat(z(m),"Button")]=!0;let w=h.getAttribute("color");w!==null&&(a["".concat(m,"ButtonColor")]=w);let I=h.getAttribute("aria-label");I!==null&&(a["".concat(m,"ButtonAriaLabel")]=I)}),a},xh=o=>{let a={},c=o.querySelector("swal-image");if(c){Rt(c,["src","width","height","alt"]);let h=c.getAttribute("src");h!==null&&(a.imageUrl=h||void 0);let m=c.getAttribute("width");m!==null&&(a.imageWidth=m||void 0);let w=c.getAttribute("height");w!==null&&(a.imageHeight=w||void 0);let I=c.getAttribute("alt");I!==null&&(a.imageAlt=I||void 0)}return a},Lh=o=>{let a={},c=o.querySelector("swal-icon");return c&&(Rt(c,["type","color"]),c.hasAttribute("type")&&(a.icon=c.getAttribute("type")),c.hasAttribute("color")&&(a.iconColor=c.getAttribute("color")),a.iconHtml=c.innerHTML),a},Oh=o=>{let a={},c=o.querySelector("swal-input");c&&(Rt(c,["type","label","placeholder","value"]),a.input=c.getAttribute("type")||"text",c.hasAttribute("label")&&(a.inputLabel=c.getAttribute("label")),c.hasAttribute("placeholder")&&(a.inputPlaceholder=c.getAttribute("placeholder")),c.hasAttribute("value")&&(a.inputValue=c.getAttribute("value")));let h=Array.from(o.querySelectorAll("swal-input-option"));return h.length&&(a.inputOptions={},h.forEach(m=>{Rt(m,["value"]);let w=m.getAttribute("value");if(!w)return;let I=m.innerHTML;a.inputOptions[w]=I})),a},Nh=(o,a)=>{let c={};for(let h in a){let m=a[h],w=o.querySelector(m);
1w&&(Rt(w,[]),c[m.replace(/^swal-/,"")]=w.innerHTML.trim())}return c},Bh=o=>{let a=Pa.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(o.children).forEach(c=>{let h=c.tagName.toLowerCase();a.includes(h)||E("Unrecognized element <".concat(h,">"))})},Rt=(o,a)=>{Array.from(o.attributes).forEach(c=>{a.indexOf(c.name)===-1&&E(['Unrecognized attribute "'.concat(c.name,'" on <').concat(o.tagName.toLowerCase(),">."),"".concat(a.length?"Allowed attributes are: ".concat(a.join(", ")):"To set the value, use HTML within the element.")])})},ka=10,$h=o=>{var a,c;let h=le(),m=O();if(!h||!m)return;typeof o.willOpen=="function"&&o.willOpen(m),(a=l.eventEmitter)===null||a===void 0||a.emit("willOpen",m);let I=window.getComputedStyle(document.body).overflowY;if(jh(h,m,o),setTimeout(()=>{_h(h,m)},ka),Ii()&&(Uh(h,o.scrollbarPadding!==void 0?o.scrollbarPadding:!1,I),Sd()),Ad&&o.backdrop===!1&&m.scrollHeight>h.clientHeight&&(h.style.pointerEvents="auto"),!cr()&&!l.previousActiveElement&&(l.previousActiveElement=document.activeElement),typeof o.didOpen=="function"){let F=o.didOpen;setTimeout(()=>F(m))}(c=l.eventEmitter)===null||c===void 0||c.emit("didOpen",m)},wr=o=>{let a=O();if(!a||o.target!==a)return;let c=le();c&&(a.removeEventListener("animationend",wr),a.removeEventListener("transitionend",wr),c.style.overflowY="auto",Te(c,p["no-transition"]))},_h=(o,a)=>{zo(a)?(o.style.overflowY="hidden",a.addEventListener("animationend",wr),a.addEventListener("transitionend",wr)):o.style.overflowY="auto"},Uh=(o,a,c)=>{Td(),a&&c!=="hidden"&&xd(c),setTimeout(()=>{o.scrollTop=0})},jh=(o,a,c)=>{var h;(h=c.showClass)!==null&&h!==void 0&&h.backdrop&&N(o,c.showClass.backdrop),c.animation?(a.style.setProperty("opacity","0","important"),ee(a,"grid"),setTimeout(()=>{var m;(m=c.showClass)!==null&&m!==void 0&&m.popup&&N(a,c.showClass.popup),a.style.removeProperty("opacity")},ka)):ee(a,"grid"),N([document.documentElement,document.body],p.shown),c.heightAuto&&c.backdrop&&!c.toast&&N([document.documentElement,document.body],p["height-auto"])};var xa={email:(o,a)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(o)?Promise.resolve():Promise.resolve(a||"Invalid email address"),url:(o,a)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(o)?Promise.resolve():Promise.resolve(a||"Invalid URL")};function zh(o){o.inputValidator||(o.input==="email"&&(o.inputValidator=xa.email),o.input==="url"&&(o.inputValidator=xa.url))}function Vh(o){(!o.target||typeof o.target=="string"&&!document.querySelector(o.target)||typeof o.target!="string"&&!o.target.appendChild)&&(E('Target parameter is not valid, defaulting to "body"'),o.target="body")}function Hh(o){zh(o),o.showLoaderOnConfirm&&!o.preConfirm&&E("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),Vh(o),typeof o.title=="string"&&(o.title=o.title.split("\n").join("<br />")),Ou(o)}let $e;var vr=new WeakMap;class X{constructor(...a){if(t(this,vr,Promise.resolve({isConfirmed:!1,isDenied:!1,isDismissed:!0})),typeof window>"u")return;$e=this;let c=Object.freeze(this.constructor.argsToParams(a));this.params=c,this.isAwaitingPromise=!1,r(vr,this,this._main($e.params))}_main(a,c={}){if(Ea(Object.assign({},c,a)),l.currentInstance){let w=Vt.swalPromiseResolve.get(l.currentInstance),{isAwaitingPromise:I}=l.currentInstance;l.currentInstance._destroy(),I||w({isDismissed:!0}),Ii()&&ra()}l.currentInstance=$e;let h=qh(a,c);Hh(h),Object.freeze(h),l.timeout&&(l.timeout.stop(),delete l.timeout),clearTimeout(l.restoreFocusTimeout);let m=Gh($e);return Qo($e,h),j.innerParams.set($e,h),Wh($e,m,h)}then(a){return i(vr,this).then(a)}finally(a){return i(vr,this).finally(a)}}let Wh=(o,a,c)=>new Promise((h,m)=>{let w=I=>{o.close({isDismissed:!0,dismiss:I,isConfirmed:!1,isDenied:!1})};Vt.swalPromiseResolve.set(o,h),Vt.swalPromiseReject.set(o,m),a.confirmButton.onclick=()=>{Zd(o)},a.denyButton.onclick=()=>{Xd(o)},a.cancelButton.onclick=()=>{Jd(o,w)},a.closeButton.onclick=()=>{w(zt.close)},uh(c,a,w),wd(l,c,w),jd(o,c),$h(c),Kh(l,c,w),Yh(a,c),setTimeout(()=>{a.container.scrollTop=0})}),qh=(o,a)=>{let c=Mh(o),h=Object.assign({},ot,a,c,o);return h.showClass=Object.assign({},ot.showClass,h.showClass),h.hideClass=Object.assign({},ot.hideClass,h.hideClass),h.animation===!1&&(h.showClass={backdrop:"swal2-noanimation"},h.hideClass={}),h},Gh=o=>{let a={popup:O(),container:le(),actions:yn(),confirmButton:Be(),denyButton:At(),cancelButton:Ut(),loader:jt(),closeButton:Ai(),validationMessage:ar(),progressSteps:Si()};return j.domCache.set(o,a),a},Kh=(o,a,c)=>{let h=lr();ie(h),a.timer&&(o.timeout=new Rh(()=>{c("timer"),delete o.timeout},a.timer),a.timerProgressBar&&h&&(ee(h),ye(h,a,"timerProgressBar"),setTimeout(()=>{o.timeout&&o.timeout.running&&Fi(a.timer)})))},Yh=(o,a)=>
1{if(!a.toast){if(!K(a.allowEnterKey)){U("allowEnterKey","preConfirm: () => false"),o.popup.focus();return}Zh(o)||Xh(o,a)||Oi(-1,1)}},Zh=o=>{let a=Array.from(o.popup.querySelectorAll("[autofocus]"));for(let c of a)if(c instanceof HTMLElement&&fe(c))return c.focus(),!0;return!1},Xh=(o,a)=>a.focusDeny&&fe(o.denyButton)?(o.denyButton.focus(),!0):a.focusCancel&&fe(o.cancelButton)?(o.cancelButton.focus(),!0):a.focusConfirm&&fe(o.confirmButton)?(o.confirmButton.focus(),!0):!1;X.prototype.disableButtons=ga,X.prototype.enableButtons=pa,X.prototype.getInput=da,X.prototype.disableInput=wa,X.prototype.enableInput=ma,X.prototype.hideLoading=gr,X.prototype.disableLoading=gr,X.prototype.showValidationMessage=va,X.prototype.resetValidationMessage=ya,X.prototype.close=st,X.prototype.closePopup=st,X.prototype.closeModal=st,X.prototype.closeToast=st,X.prototype.rejectPromise=sa,X.prototype.update=Sa,X.prototype._destroy=Aa,Object.assign(X,Ih),Object.keys(ch).forEach(o=>{X[o]=function(...a){if($e&&$e[o])return $e[o](...a)}}),X.DismissReason=zt,X.version="11.26.25";let yr=X;return yr.default=yr,yr});typeof Ke<"u"&&Ke.Sweetalert2&&(Ke.swal=Ke.sweetAlert=Ke.Swal=Ke.SweetAlert=Ke.Sweetalert2);typeof document<"u"&&function(n,e){var i=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(i),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=e);else try{i.innerHTML=e}catch(t){i.innerText=e}}(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-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:auto}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
vendor: 12,791 bytes, line 1
1";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}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:
1"!
vendor: 11,078 bytes, line 1
1";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)}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}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}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}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)}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:auto}.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}.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}}
1')});var ef={"en-US":"USD","id-ID":"IDR","zh-CN":"CNY","vi-VN":"VND","th-TH":"THB","en-MY":"MYR","ko-KR":"KRW"},Sl=Object.keys(ef).map(n=>({culture:n,cultureName:n}));var Al={defaultLanguage:"zh-CN",languageCulture:Sl};var Fr=(()=>{let e=class e{constructor(){this.browser={chrome:!1,safari:!1,firefox:!1,ie:!1,edge:!1,opera:!1,qq:!1,360:!1},this.mobile={device:!1,ios:!1,andriod:!1,tablet:!1,macos:!1,win:!1},this.detectDevice()}detectDevice(){this.isApp=/IC.Mobile$/.test(navigator.userAgent),this.mobile=this.initMobileData(),this.browser=this.initBrowserData()}initMobileData(){let t=navigator.userAgent,r=t.indexOf("Android")>-1||t.indexOf("Adr")>-1,s=!!/macintosh/.test(t.toLowerCase())&&"ontouchend"in document,l=!!/iphone|ipad|ipod/.test(t.toLowerCase())||s,u=/(?:iPad|PlayBook)/.test(t)||r&&!/(?:Mobile)/.test(t)||/(?:Firefox)/.test(t)&&/(?:Tablet)/.test(t)||s,f=r||l||u,d=/(macintosh|macintel|macppc|mac68k|macos)/i.test(t.toLowerCase()),g=/(win32|win64|windows|wince)/i.test(t.toLowerCase());return{ios:l,andriod:r,tablet:u,device:f,macos:d,win:g}}initBrowserData(){let t=navigator.userAgent,r={chrome:t.indexOf("Chrome")>-1&&t.indexOf("Safari")>-1,safari:t.indexOf("Safari")>-1&&t.indexOf("Chrome")==-1,firefox:t.indexOf("Firefox")>-1,ie:"ActiveXObject"in window,edge:t.indexOf("Edge")>-1,opera:t.indexOf("Opera")>-1,qq:t.indexOf("qqbrowse")>-1,360:((s,l)=>{let u=navigator.mimeTypes;for(let f in u)if(u[f][s]==l)return!0;return!1})("type","application/vnd.chromium.remoting-viewer")};return this.mobile.ios&&(r.chrome=/C\w+OS\//.test(t),r.firefox=/F\w+OS\//.test(t),r.safari=!r.chrome&&!r.chrome),r}osName(){let t="Unknow",r="",s=[],l=navigator.userAgent,u=navigator.appVersion,f=navigator.platform;return this.mobile.andriod&&(s=/android (\d+(?:\.\d+)+)/i.exec(l)||/android (\d+(?:\.\d+)+)/i.exec(f),r=s?s[1]:""),this.mobile.ios&&(s=/(iPad|iPhone|iPod).*OS ((\d+_?){2,3})/i.exec(l),r=s?s[2]:""),this.getWinOSName()?t=this.getWinOSName():this.mobile.ios?t="iOS_"+r:u.indexOf("Mac")!==-1?t="OS X_":u.indexOf("X11")!==-1&&u.indexOf("Linux")===-1?t="OS X":this.mobile.andriod?t="Android_"+r:u.indexOf("Linux")!==-1&&(t="Linux"),t}getWinOSName(){if(navigator.appVersion.indexOf("Win")!=-1&&/Win(?:dows )?([^do]{2})\s?(\d+\.\d+)?/.test(navigator.userAgent)&&RegExp.$1=="NT")switch(RegExp.$2){case"5.1":return"WindowsXP";case"6.0":return"WindowsVista";case"6.1":return"Windows7";case"6.2":return"Windows8";case"10.0":return"Windows10";default:return"NT"}return""}deviceInfo(){let t=navigator.userAgent.toLowerCase(),r="";return this.browser.ie?r="IE-"+parseFloat(RegExp.$1):this.browser.firefox?r="Firefox-"+(t.match(/firefox\/([\d.]+)/)?t.match(/firefox\/([\d.]+)/)[1]:""):this.browser.opera?r="Opera-"+(t.match(/opera.([\d.]+)/)?t.match(/opera.([\d.]+)/)[1]:""):this.browser.chrome?r="Chrome-"+(t.match(/chrome\/([\d.]+)/)?t.match(/chrome\/([\d.]+)/)[1]:""):this.browser.edge?r="Edge":this.browser.safari&&(this.mobile.device?r="Safari":r="Safari"+(t.match(/version\/([\d.]+)/)?t.match(/version\/([\d.]+)/)[1]:"")),this.osName()+" "+r}getChannel(){return this.isApp?"A":this.mobile.device?"M":"W"}getIsIOSChannel(){return!!this.mobile.ios}getSiteMode(){let t="Others";return this.mobile.ios?t="IPHONE":this.mobile.andriod?t="Android":this.mobile.macos?t="Mac":this.mobile.win&&(t="Windows"),t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Pr=(()=>{let e=class e{constructor(t){this.userDetectService=t,this.httpOnlyTokenCookieKey="useHttpOnlyTokenCookie",this.isApp=!1,this.isApp=this.userDetectService.isApp||!1,this.serverTime=Number(Date.now())+Number(this.getStorage("mistiming"))}getUseHttpOnlyTokenCookie(){return localStorage.getItem(this.httpOnlyTokenCookieKey)==="true"}setUseHttpOnlyTokenCookie(t){localStorage.setItem(this.httpOnlyTokenCookieKey,t?"true":"false")}getLocalStorage(t){let r=localStorage.getItem(t);try{r&&r.substring(0,1)==="{"&&(r=JSON.parse(r))}catch(s){}return r}getSessionStorage(t){let r=sessionStorage.getItem(t);try{r&&r.substring(0,1)==="{"&&(r=JSON.parse(r))}catch(s){}return r}setCookie(t,r,s=1){let l=new Date;l.setTime(l.getTime()+s*24*60*60*1e3);let u="expires="+l.toUTCString(),f=t+"="+r+"; "+u+"; path=/; SameSite=Lax";window.location.protocol==="https:"&&(f+="; Secure"),document.cookie=f}getCookie(t){let r=t+"=",s=document.cookie.split(";");for(let l=0;l<s.length;l++){let u=s[l];for(;u.charAt(0)==" ";)u=u.substring(1);if(u.indexOf(r)!=-1){let f=u.substring(r.length,u.length);try{f.substring(0,1)==="{"?f=JSON.parse(f):f=f}catch(d){}return f}}return null}delCookie(t){this.expireCookie(t)}deletAllCookies(){var s;let t=new Set(["isShowProviderMaintenancePop","isShowMaintenanceInGame","aff-Id","aff-CurrId","aff-LandingId","RememberUsername"]),r=document.cookie.split(";");for(let l=0;l<r.length;l++){let u=(s=r[l].split("=")[0])==null?void 0:s.trim();!u||t.has(u)||this.expireCookie(u)}}setStorage(t,r,s){try{s||this.isApp?localStorage.setItem(t,r):sessionStorage.setItem(t,r)}catch(l){this.setCookie(t,r,1)}}getStorage(t,r){try{return r?this.getLocalStorage(t):this.isApp?this.getLocalStorage(t):this.getSessionStorage(t)}
1catch(s){return this.getCookie(t)}}removeStorage(t,r){try{r||this.isApp?localStorage.removeItem(t):sessionStorage.removeItem(t)}catch(s){this.delCookie(t)}}setLangStorage(t){try{localStorage.setItem("language",t)}catch(r){}this.delCookie("language")}getLangStorage(){return this.getLocalStorage("language")}getMemberInfoFromCookie(){let t=this.getStorage("memInfo",!0);if(!t)return null;if(typeof t!="string")return t;try{return JSON.parse(t)}catch(r){return null}}setMemberInCookie(t){this.setStorage("memInfo",JSON.stringify(t),!0)}expireCookie(t){let r=this.getExpiredCookieDate();document.cookie="".concat(t,"=; expires=").concat(r,"; path=/");let s=this.getCookieDomains();for(let l=0;l<s.length;l++)document.cookie="".concat(t,"=; expires=").concat(r,"; path=/; domain=").concat(s[l])}getExpiredCookieDate(){let t=new Date(this.serverTime-864e5);return t.setTime(t.getTime()-1e4),t.toGMTString()}getCookieDomains(){let t=window.location.hostname,r=/^[\d.]+$/.test(t);if(!t||t==="localhost"||r)return[];let s=t.split("."),l=new Set;for(let u=0;u<s.length-1;u++){let f=s.slice(u).join(".");l.add(f),l.add(".".concat(f))}return Array.from(l)}};e.\u0275fac=function(r){return new(r||e)(y(Fr))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Jt=class{},Rl=(()=>{class n extends Jt{getTranslation(i){return A({})}}return n.\u0275fac=(()=>{let e;return function(t){return(e||(e=Ze(n)))(t||n)}})(),n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),kn=class{},Ml=(()=>{class n{handle(i){return i.key}}return n.\u0275fac=function(i){return new(i||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function kr(n,e){if(n===e)return!0;if(n===null||e===null)return!1;if(n!==n&&e!==e)return!0;let i=typeof n,t=typeof e,r,s,l;if(i==t&&i=="object")if(Array.isArray(n)){if(!Array.isArray(e))return!1;if((r=n.length)==e.length){for(s=0;s<r;s++)if(!kr(n[s],e[s]))return!1;return!0}}else{if(Array.isArray(e))return!1;l=Object.create(null);for(s in n){if(!kr(n[s],e[s]))return!1;l[s]=!0}for(s in e)if(!(s in l)&&typeof e[s]<"u")return!1;return!0}return!1}function pt(n){return typeof n<"u"&&n!==null}function os(n){return n&&typeof n=="object"&&!Array.isArray(n)}function kl(n,e){let i=Object.assign({},n);return os(n)&&os(e)&&Object.keys(e).forEach(t=>{os(e[t])?t in n?i[t]=kl(n[t],e[t]):Object.assign(i,{[t]:e[t]}):Object.assign(i,{[t]:e[t]})}),i}var Qt=class{},Fl=(()=>{class n extends Qt{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(i,t){let r;return typeof i=="string"?r=this.interpolateString(i,t):typeof i=="function"?r=this.interpolateFunction(i,t):r=i,r}getValue(i,t){let r=typeof t=="string"?t.split("."):[t];t="";do t+=r.shift(),pt(i)&&pt(i[t])&&(typeof i[t]=="object"||!r.length)?(i=i[t],t=""):r.length?t+=".":i=void 0;while(r.length);return i}interpolateFunction(i,t){return i(t)}interpolateString(i,t){return t?i.replace(this.templateMatcher,(r,s)=>{let l=this.getValue(t,s);return pt(l)?l:r}):i}}return n.\u0275fac=(()=>{let e;return function(t){return(e||(e=Ze(n)))(t||n)}})(),n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),en=class{},Pl=(()=>{class n extends en{compile(i,t){return i}compileTranslations(i,t){return i}}return n.\u0275fac=(()=>{let e;return function(t){return(e||(e=Ze(n)))(t||n)}})(),n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),xr=class{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new ge,this.onLangChange=new ge,this.onDefaultLangChange=new ge}},as=new P("USE_STORE"),ls=new P("USE_DEFAULT_LANG"),cs=new P("DEFAULT_LANGUAGE"),us=new P("USE_EXTEND"),Je=(()=>{class n{constructor(i,t,r,s,l,u=!0,f=!1,d=!1,g){this.store=i,this.currentLoader=t,this.compiler=r,this.parser=s,this.missingTranslationHandler=l,this.useDefaultLang=u,this.isolate=f,this.extend=d,this.pending=!1,this._onTranslationChange=new ge,this._onLangChange=new ge,this._onDefaultLangChange=new ge,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}setDefaultLang(i){if(i===this.defaultLang)return;let t=this.retrieveTranslations(i);typeof t<"u"?(this.defaultLang==null&&(this.defaultLang=i),t.pipe(De(1)).subscribe(r=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return A(this.translations[i]);let t=this.retrieveTranslations(i);return typeof t<"u"?(this.currentLang||(this.currentLang=i),t.pipe(De(1)).subscribe(r=>{this.changeLang(i)}),t):(this.changeLang(i),A(this.translations[i]))}retrieveTranslations(i){let t;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),t=this._translationRequests[i]),t}getTranslation(i){this.pending=!0;let t=this.currentLoader.getTranslation(i).pipe(Ki(1),De(1));return this.loadingTranslations=t.pipe(L(r=>this.compiler.compileTranslations(r,i)),Ki(1),De(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?T(T({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),t}setTranslation(i,t,r=!1){t=this.compiler.compileTranslations(t,i),(r||this.extend)&&this.translations[i]?this.translations[i]=kl(this.translations[i],t):this.translations[i]=t,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}
vendor: 4,202 bytes, line 1
1addLangs(i){i.forEach(t=>{this.langs.indexOf(t)===-1&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,t,r){let s;if(t instanceof Array){let l={},u=!1;for(let f of t)l[f]=this.getParsedResult(i,f,r),Ue(l[f])&&(u=!0);if(u){let f=t.map(d=>Ue(l[d])?l[d]:A(l[d]));return Ua(f).pipe(L(d=>{let g={};return d.forEach((p,v)=>{g[t[v]]=p}),g}))}return l}if(i&&(s=this.parser.interpolate(this.parser.getValue(i,t),r)),typeof s>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),r)),typeof s>"u"){let l={key:t,translateService:this};typeof r<"u"&&(l.interpolateParams=r),s=this.missingTranslationHandler.handle(l)}return typeof s<"u"?s:t}get(i,t){if(!pt(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(je(r=>(r=this.getParsedResult(r,i,t),Ue(r)?r:A(r))));{let r=this.getParsedResult(this.translations[this.currentLang],i,t);return Ue(r)?r:A(r)}}getStreamOnTranslationChange(i,t){if(!pt(i)||!i.length)throw new Error('Parameter "key" required');return Sn(Gt(()=>this.get(i,t)),this.onTranslationChange.pipe(oe(r=>{let s=this.getParsedResult(r.translations,i,t);return typeof s.subscribe=="function"?s:A(s)})))}stream(i,t){if(!pt(i)||!i.length)throw new Error('Parameter "key" required');return Sn(Gt(()=>this.get(i,t)),this.onLangChange.pipe(oe(r=>{let s=this.getParsedResult(r.translations,i,t);return Ue(s)?s:A(s)})))}instant(i,t){if(!pt(i)||!i.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],i,t);if(Ue(r)){if(i instanceof Array){let s={};return i.forEach((l,u)=>{s[i[u]]=i[u]}),s}return i}else return r}set(i,t,r=this.currentLang){this.translations[r][i]=this.compiler.compile(t,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}}return n.\u0275fac=function(i){return new(i||n)(y(xr),y(Jt),y(en),y(Qt),y(kn),y(ls),y(as),y(us),y(cs))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();var mw=(()=>{class n{constructor(i,t){this.translate=i,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(i,t,r){let s=l=>{this.value=l!==void 0?l:i,this.lastKey=i,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,i,t);Ue(l.subscribe)?l.subscribe(s):s(l)}this.translate.get(i,t).subscribe(s)}transform(i,...t){if(!i||!i.length)return i;if(kr(i,this.lastKey)&&kr(t,this.lastParams))return this.value;let r;if(pt(t[0])&&t.length)if(typeof t[0]=="string"&&t[0].length){let s=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(s)}catch(l){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: ".concat(t[0]))}}else typeof t[0]=="object"&&!Array.isArray(t[0])&&(r=t[0]);return this.lastKey=i,this.lastParams=t,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateV
1alue(i,r,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(i){return new(i||n)(k(Je,16),k(ft,16))},n.\u0275pipe=ke({name:"translate",type:n,pure:!1}),n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),ww=(()=>{class n{static forRoot(i={}){return{ngModule:n,providers:[i.loader||{provide:Jt,useClass:Rl},i.compiler||{provide:en,useClass:Pl},i.parser||{provide:Qt,useClass:Fl},i.missingTranslationHandler||{provide:kn,useClass:Ml},xr,{provide:as,useValue:i.isolate},{provide:ls,useValue:i.useDefaultLang},{provide:us,useValue:i.extend},{provide:cs,useValue:i.defaultLanguage},Je]}}static forChild(i={}){return{ngModule:n,providers:[i.loader||{provide:Jt,useClass:Rl},i.compiler||{provide:en,useClass:Pl},i.parser||{provide:Qt,useClass:Fl},i.missingTranslationHandler||{provide:kn,useClass:Ml},{provide:as,useValue:i.isolate},{provide:ls,useValue:i.useDefaultLang},{provide:us,useValue:i.extend},{provide:cs,useValue:i.defaultLanguage},Je]}}}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=Ve({type:n}),n.\u0275inj=ze({}),n})();var xl=(()=>{let e=class e{constructor(t,r){this.storage=t,this.translate=r,this.newBaseHref="",this.language="",this.history=[],this.isLanguageListOpen=!1}setLanguage(t){return _e(this,null,function*(){try{yield _a(this.translate.use(t))}catch(r){console.log(r)}})}getSettings(){return JSON.parse(localStorage.getItem("lang"))}load(t){return _e(this,null,function*(){let r="".concat(t,"/api/v1/Common/GetLanguageList"),s={"Access-Control-Allow-Origin":"*","Content-Type":"application/json","X-HostUrl":t};try{let u=yield(yield fetch(r,{headers:s,method:"POST",mode:"cors"})).json();return u.code===0&&u.data!==null?(localStorage.setItem("lang",JSON.stringify(u.data)),u.data):new Error("fetch error")}catch(l){localStorage.setItem("lang",JSON.stringify(Al)),console.log(l)}})}changeLanguage(t,r){if(t!==this.language)this.language=t,this.storage.setLangStorage(this.language),this.setLanguage(this.language),sessionStorage.setItem("isReload","true"),r&&window.location.reload();else{this.isLanguageListOpen=!1;return}}initLanguage(){return new Promise(t=>{let r=this.storage.getLangStorage(),s=this.getSettings(),l=s.languageCulture.find(u=>u.culture==r);!r||!l?(this.language=s.defaultLanguage,this.storage.setLangStorage(this.language)):this.language=r,this.setLanguage(this.language),this.storage.delCookie("language"),t("ok")})}getRedirectUrl(t){return window.location.origin+"/"+t}};e.\u0275fac=function(r){return new(r||e)(y(Pr),y(Je))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Ur=null;function gt(){return Ur}function Hl(n){Ur!=null||(Ur=n)}var zr=class{};var te=new P(""),Ss=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>C(rf),providedIn:"platform"});let n=e;return n})(),Wl=new P(""),rf=(()=>{let e=class e extends Ss{constructor(){super(),this._doc=C(te),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return gt().getBaseHref(this._doc)}onPopState(t){let r=gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,s){this._history.pushState(t,r,s)}replaceState(t,r,s){this._history.replaceState(t,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"});let n=e;return n})();function As(n,e){if(n.length==0)return e;if(e.length==0)return n;let i=0;return n.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?n+e.substring(1):i==1?n+e:n+"/"+e}function Ll(n){let e=n.match(/#|\?|$/),i=e&&e.index||n.length,t=i-(n[i-1]==="/"?1:0);return n.slice(0,t)+n.slice(i)}function et(n){return n&&n[0]!=="?"?"?"+n:n}var nt=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>C(Ts),providedIn:"root"});let n=e;return n})(),ql=new P(""),Ts=(()=>{let e=class e extends nt{constructor(t,r){var s,l,u;super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=(u=(l=r!=null?r:this._platformLocation.getBaseHrefFromDOM())!=null?l:(s=C(te).location)==null?void 0:s.origin)!=null?u:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
1HashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return As(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+et(this._platformLocation.search),s=this._platformLocation.hash;return s&&t?"".concat(r).concat(s):r}pushState(t,r,s,l){let u=this.prepareExternalUrl(s+et(l));this._platformLocation.pushState(t,r,u)}replaceState(t,r,s,l){let u=this.prepareExternalUrl(s+et(l));this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,t)}};e.\u0275fac=function(r){return new(r||e)(y(Ss),y(ql,8))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Gl=(()=>{let e=class e extends nt{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){var s;let r=(s=this._platformLocation.hash)!=null?s:"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=As(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,s,l){let u=this.prepareExternalUrl(s+et(l));u.length==0&&(u=this._platformLocation.pathname),this._platformLocation.pushState(t,r,u)}replaceState(t,r,s,l){let u=this.prepareExternalUrl(s+et(l));u.length==0&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,t)}};e.\u0275fac=function(r){return new(r||e)(y(Ss),y(ql,8))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),rn=(()=>{let e=class e{constructor(t){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=af(Ll(Ol(r))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){var t;(t=this._urlChangeSubscription)==null||t.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+et(r))}normalize(t){return e.stripTrailingSlash(of(this._basePath,Ol(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",s=null){this._locationStrategy.pushState(s,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+et(r)),s)}replaceState(t,r="",s=null){this._locationStrategy.replaceState(s,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+et(r)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){var r,s;(s=(r=this._locationStrategy).historyGo)==null||s.call(r,t)}onUrlChange(t){var r;return this._urlChangeListeners.push(t),(r=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(s=>{this._notifyUrlChangeListeners(s.url,s.state)})),()=>{var l;let s=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(s,1),this._urlChangeListeners.length===0&&((l=this._urlChangeSubscription)==null||l.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(s=>s(t,r))}subscribe(t,r,s){return this._subject.subscribe({next:t,error:r,complete:s})}};e.normalizeQueryParams=et,e.joinWithSlash=As,e.stripTrailingSlash=Ll,e.\u0275fac=function(r){return new(r||e)(y(nt))},e.\u0275prov=S({token:e,factory:()=>sf(),providedIn:"root"});let n=e;return n})();function sf(){return new rn(y(nt))}function of(n,e){if(!n||!e.startsWith(n))return e;let i=e.substring(n.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function Ol(n){return n.replace(/\/index.html$/,"")}function af(n){if(new RegExp("^(https?:)?//").test(n)){let[,i]=n.split(/\/\/[^\/]+/);return i}return n}var Kl={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},qr=function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n}(qr||{});var ue=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}(ue||{}),H=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}(H||{}),Ee=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}(Ee||{}),Q={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 lf(n){return me(n)[Y.LocaleId]}function cf(n,e,i){let t=me(n),r=[t[Y.DayPeriodsFormat],t[Y.DayPeriodsStandalone]],s=Re(r,e);return Re(s,i)}function uf(n,e,i){let t=me(n),r=[t[Y.DaysFormat],t[Y.DaysStandalone]],s=Re(r,e);return Re(s,i)}function df(n,e,i){let t=me(n),r=[t[Y.MonthsFormat],t[Y.MonthsStandalone]],s=Re(r,e);return Re(s,i)}function hf(n,e){let t=me(n)[Y.Eras];return Re(t,e)}function Lr(n,e){let i=me(n);return Re(i[Y.DateFormat],e)}function Or(n,e){let i=me(n);return Re(i[Y.TimeFormat],e)}function Nr(n,e){let t=me(n)[Y.DateTimeFormat];return Re(t,e)}function Ie(n,e){let i=me(n),t=i[Y.NumberSymbols][e];if(typeof t>"u"){if(e===Q.CurrencyDecimal)return i[Y.NumberSymbols][Q.Decimal];if(e===Q.CurrencyGroup)return i[Y.NumberSymbols][Q.Group]}return t}function Is(n,e){return me(n)[Y.NumberFormats][e]}function ff(n){return me(n)[Y.Currencies]}function Yl(n){if(!n[Y.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(n[Y.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function pf(n){let e=me(n);return Yl(e),(e[Y.ExtraData][2]||[]).map(t=>typeof t=="string"?hs(t):[hs(t[0]),hs(t[1])])}function gf(n,e,i){let t=me(n);Yl(t);let r=[t[Y.ExtraData][0],t[Y.ExtraData][1]],s=Re(r,e)||[];return Re(s,i)||[]}function Re(n,e){for(let i=e;i>-1;i--)if(typeof n[i]<"u")return n[i];throw new Error("Locale data API: locale data undefined")}function hs(n){let[e,i]=n.split(":");return{hours:+e,minutes:+i}}function mf(n,e,i="en"){let t=ff(i)[n]||Kl[n]||[],r=t[1];return e==="narrow"&&typeof r=="string"?r:t[0]||n}var wf=2;function vf(n){let e,i=Kl[n];return i&&(e=i[2]),typeof e=="number"?e:wf}var yf=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,tn={},bf=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,tt=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}(tt||{}),$=function(n){return n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day",n}($||{}),B=function(n){return n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras",n}(B||{});function Df(n,e,i,t){let r=Ff(n);e=Qe(i,e)||e;let l=[],u;
1for(;e;)if(u=bf.exec(e),u){l=l.concat(u.slice(1));let g=l.pop();if(!g)break;e=g}else{l.push(e);break}let f=r.getTimezoneOffset();t&&(f=Xl(t,f),r=Mf(r,t,!0));let d="";return l.forEach(g=>{let p=If(g);d+=p?p(r,i,f):g==="''"?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function Vr(n,e,i){let t=new Date(0);return t.setFullYear(n,e,i),t.setHours(0,0,0),t}function Qe(n,e){var r;let i=lf(n);if((r=tn[i])!=null||(tn[i]={}),tn[i][e])return tn[i][e];let t="";switch(e){case"shortDate":t=Lr(n,Ee.Short);break;case"mediumDate":t=Lr(n,Ee.Medium);break;case"longDate":t=Lr(n,Ee.Long);break;case"fullDate":t=Lr(n,Ee.Full);break;case"shortTime":t=Or(n,Ee.Short);break;case"mediumTime":t=Or(n,Ee.Medium);break;case"longTime":t=Or(n,Ee.Long);break;case"fullTime":t=Or(n,Ee.Full);break;case"short":let s=Qe(n,"shortTime"),l=Qe(n,"shortDate");t=Br(Nr(n,Ee.Short),[s,l]);break;case"medium":let u=Qe(n,"mediumTime"),f=Qe(n,"mediumDate");t=Br(Nr(n,Ee.Medium),[u,f]);break;case"long":let d=Qe(n,"longTime"),g=Qe(n,"longDate");t=Br(Nr(n,Ee.Long),[d,g]);break;case"full":let p=Qe(n,"fullTime"),v=Qe(n,"fullDate");t=Br(Nr(n,Ee.Full),[p,v]);break}return t&&(tn[i][e]=t),t}function Br(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,function(i,t){return e!=null&&t in e?e[t]:i})),n}function xe(n,e,i="-",t,r){let s="";(n<0||r&&n<=0)&&(r?n=-n+1:(n=-n,s=i));let l=String(n);for(;l.length<e;)l="0"+l;return t&&(l=l.slice(l.length-e)),s+l}function Cf(n,e){return xe(n,3).substring(0,e)}function J(n,e,i=0,t=!1,r=!1){return function(s,l){let u=Ef(n,s);if((i>0||u>-i)&&(u+=i),n===$.Hours)u===0&&i===-12&&(u=12);else if(n===$.FractionalSeconds)return Cf(u,e);let f=Ie(l,Q.MinusSign);return xe(u,e,f,t,r)}}function Ef(n,e){switch(n){case $.FullYear:return e.getFullYear();case $.Month:return e.getMonth();case $.Date:return e.getDate();case $.Hours:return e.getHours();case $.Minutes:return e.getMinutes();case $.Seconds:return e.getSeconds();case $.FractionalSeconds:return e.getMilliseconds();case $.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(n,'".'))}}function q(n,e,i=ue.Format,t=!1){return function(r,s){return Sf(r,s,n,e,i,t)}}function Sf(n,e,i,t,r,s){switch(i){case B.Months:return df(e,r,t)[n.getMonth()];case B.Days:return uf(e,r,t)[n.getDay()];case B.DayPeriods:let l=n.getHours(),u=n.getMinutes();if(s){let d=pf(e),g=gf(e,r,t),p=d.findIndex(v=>{if(Array.isArray(v)){let[b,R]=v,z=l>=b.hours&&u>=b.minutes,E=l<R.hours||l===R.hours&&u<R.minutes;if(b.hours<R.hours){if(z&&E)return!0}else if(z||E)return!0}else if(v.hours===l&&v.minutes===u)return!0;return!1});if(p!==-1)return g[p]}return cf(e,r,t)[l<12?0:1];case B.Eras:return hf(e,t)[n.getFullYear()<=0?0:1];default:let f=i;throw new Error("unexpected translation type ".concat(f))}}function $r(n){return function(e,i,t){let r=-1*t,s=Ie(i,Q.MinusSign),l=r>0?Math.floor(r/60):Math.ceil(r/60);switch(n){case tt.Short:return(r>=0?"+":"")+xe(l,2,s)+xe(Math.abs(r%60),2,s);case tt.ShortGMT:return"GMT"+(r>=0?"+":"")+xe(l,1,s);case tt.Long:return"GMT"+(r>=0?"+":"")+xe(l,2,s)+":"+xe(Math.abs(r%60),2,s);case tt.Extended:return t===0?"Z":(r>=0?"+":"")+xe(l,2,s)+":"+xe(Math.abs(r%60),2,s);default:throw new Error('Unknown zone width "'.concat(n,'"'))}}}var Af=0,jr=4;function Tf(n){let e=Vr(n,Af,1).getDay();return Vr(n,0,1+(e<=jr?jr:jr+7)-e)}function Zl(n){let e=n.getDay(),i=e===0?-3:jr-e;return Vr(n.getFullYear(),n.getMonth(),n.getDate()+i)}function fs(n,e=!1){return function(i,t){let r;if(e){let s=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,l=i.getDate();r=1+Math.floor((l+s)/7)}else{let s=Zl(i),l=Tf(s.getFullYear()),u=s.getTime()-l.getTime();r=1+Math.round(u/6048e5)}return xe(r,n,Ie(t,Q.MinusSign))}}function _r(n,e=!1){return function(i,t){let s=Zl(i).getFullYear();return xe(s,n,Ie(t,Q.MinusSign),e)}}var ps={};function If(n){if(ps[n])return ps[n];let e;switch(n){case"G":case"GG":case"GGG":e=q(B.Eras,H.Abbreviated);break;case"GGGG":e=q(B.Eras,H.Wide);break;case"GGGGG":e=q(B.Eras,H.Narrow);break;case"y":e=J($.FullYear,1,0,!1,!0);break;case"yy":e=J($.FullYear,2,0,!0,!0);break;case"yyy":e=J($.FullYear,3,0,!1,!0);break;case"yyyy":e=J($.FullYear,4,0,!1,!0);break;case"Y":e=_r(1);break;case"YY":e=_r(2,!0);break;case"YYY":e=_r(3);break;case"YYYY":e=_r(4);break;case"M":case"L":e=J($.Month,1,1);break;case"MM":case"LL":e=J($.Month,2,1);break;case"MMM":e=q(B.Months,H.Abbreviated);break;case"MMMM":e=q(B.Months,H.Wide);break;case"MMMMM":e=q(B.Months,H.Narrow);break;case"LLL":e=q(B.Months,H.Abbreviated,ue.Standalone);break;case"LLLL":e=q(B.Months,H.Wide,ue.Standalone);break;case"LLLLL":e=q(B.Months,H.Narrow,ue.Standalone);break;case"w":e=fs(1);break;case"ww":e=fs(2);break;case"W":e=fs(1,!0);break;case"d":e=J($.Date,1);break;case"dd":e=J($.Date,2);break;case"c":case"cc":e=J($.Day,1);break;case"ccc":e=q(B.Days,H.Abbreviated,ue.Standalone);break;case"cccc":e=q(B.Days,H.Wide,ue.Standalone);break;case"ccccc":e=q(B.Days,H.Narrow,ue.Standalone);break;case"cccccc":e=q(B.Days,H.Short,ue.Standalone);break;case"E":case"EE":case"EEE":e=q(B.Days,H.Abbreviated);break;case"EEEE":e=q(B.Days,H.Wide);break;case"EEEEE":e=q(B.Days,H.Narrow);break;case"EEEEEE":e=q(B.Days,H.Short);break;case"a":case"aa":case"aaa":e=q(B.DayPeriods,H.Abbreviated);break;case"aaaa":e=q(B.DayPeriods,H.Wide);break;case"aaaaa":e=q(B.DayPeriods,H.Narrow);break;
vendor: 6,776 bytes, line 1
1case"b":case"bb":case"bbb":e=q(B.DayPeriods,H.Abbreviated,ue.Standalone,!0);break;case"bbbb":e=q(B.DayPeriods,H.Wide,ue.Standalone,!0);break;case"bbbbb":e=q(B.DayPeriods,H.Narrow,ue.Standalone,!0);break;case"B":case"BB":case"BBB":e=q(B.DayPeriods,H.Abbreviated,ue.Format,!0);break;case"BBBB":e=q(B.DayPeriods,H.Wide,ue.Format,!0);break;case"BBBBB":e=q(B.DayPeriods,H.Narrow,ue.Format,!0);break;case"h":e=J($.Hours,1,-12);break;case"hh":e=J($.Hours,2,-12);break;case"H":e=J($.Hours,1);break;case"HH":e=J($.Hours,2);break;case"m":e=J($.Minutes,1);break;case"mm":e=J($.Minutes,2);break;case"s":e=J($.Seconds,1);break;case"ss":e=J($.Seconds,2);break;case"S":e=J($.FractionalSeconds,1);break;case"SS":e=J($.FractionalSeconds,2);break;case"SSS":e=J($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=$r(tt.Short);break;case"ZZZZZ":e=$r(tt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=$r(tt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=$r(tt.Long);break;default:return null}return ps[n]=e,e}function Xl(n,e){n=n.replace(/:/g,"");let i=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(i)?e:i}function Rf(n,e){return n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+e),n}function Mf(n,e,i){let t=i?-1:1,r=n.getTimezoneOffset(),s=Xl(e,r);return Rf(n,t*(s-r))}function Ff(n){if(Nl(n))return n;if(typeof n=="number"&&!isNaN(n))return new Date(n);if(typeof n=="string"){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){let[r,s=1,l=1]=n.split("-").map(u=>+u);return Vr(r,s-1,l)}let i=parseFloat(n);if(!isNaN(n-i))return new Date(i);let t;if(t=n.match(yf))return Pf(t)}let e=new Date(n);if(!Nl(e))throw new Error('Unable to convert "'.concat(n,'" into a date'));return e}function Pf(n){let e=new Date(0),i=0,t=0,r=n[8]?e.setUTCFullYear:e.setFullYear,s=n[8]?e.setUTCHours:e.setHours;n[9]&&(i=Number(n[9]+n[10]),t=Number(n[9]+n[11])),r.call(e,Number(n[1]),Number(n[2])-1,Number(n[3]));let l=Number(n[4]||0)-i,u=Number(n[5]||0)-t,f=Number(n[6]||0),d=Math.floor(parseFloat("0."+(n[7]||0))*1e3);return s.call(e,l,u,f,d),e}function Nl(n){return n instanceof Date&&!isNaN(n.valueOf())}var kf=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Bl=22,Hr=".",xn="0",xf=";",Lf=",",gs="#",$l="\xA4",Of="%";function Rs(n,e,i,t,r,s,l=!1){let u="",f=!1;if(!isFinite(n))u=Ie(i,Q.Infinity);else{let d=Uf(n);l&&(d=_f(d));let g=e.minInt,p=e.minFrac,v=e.maxFrac;if(s){let x=s.match(kf);if(x===null)throw new Error("".concat(s," is not a valid digit info"));let G=x[1],U=x[3],K=x[5];G!=null&&(g=ms(G)),U!=null&&(p=ms(U)),K!=null?v=ms(K):U!=null&&p>v&&(v=p)}jf(d,p,v);let b=d.digits,R=d.integerLen,z=d.exponent,E=[];for(f=b.every(x=>!x);R<g;R++)b.unshift(0);for(;R<0;R++)b.unshift(0);R>0?E=b.splice(R,b.length):(E=b,b=[0]);let D=[];for(b.length>=e.lgSize&&D.unshift(b.splice(-e.lgSize,b.length).join(""));b.length>e.gSize;)D.unshift(b.splice(-e.gSize,b.length).join(""));b.length&&D.unshift(b.join("")),u=D.join(Ie(i,t)),E.length&&(u+=Ie(i,r)+E.join("")),z&&(u+=Ie(i,Q.Exponential)+"+"+z)}return n<0&&!f?u=e.negPre+u+e.negSuf:u=e.posPre+u+e.posSuf,u}function Nf(n,e,i,t,r){let s=Is(e,qr.Currency),l=Ms(s,Ie(e,Q.MinusSign));return l.minFrac=vf(t),l.maxFrac=l.minFrac,Rs(n,l,e,Q.CurrencyGroup,Q.CurrencyDecimal,r).replace($l,i).replace($l,"").trim()}function Bf(n,e,i){let t=Is(e,qr.Percent),r=Ms(t,Ie(e,Q.MinusSign));return Rs(n,r,e,Q.Group,Q.Decimal,i,!0).replace(new RegExp(Of,"g"),Ie(e,Q.PercentSign))}function $f(n,e,i){let t=Is(e,qr.Decimal),r=Ms(t,Ie(e,Q.MinusSign));return Rs(n,r,e,Q.Group,Q.Decimal,i)}function Ms(n,e="-"){let i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},t=n.split(xf),r=t[0],s=t[1],l=r.indexOf(Hr)!==-1?r.split(Hr):[r.substring(0,r.lastIndexOf(xn)+1),r.substring(r.lastIndexOf(xn)+1)],u=l[0],f=l[1]||"";i.posPre=u.substring(0,u.indexOf(gs));for(let g=0;g<f.length;g++){let p=f.charAt(g);p===xn?i.minFrac=i.maxFrac=g+1:p===gs?i.maxFrac=g+1:i.posSuf+=p}let d=u.split(Lf);if(i.gSize=d[1]?d[1].length:0,i.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,s){let g=r.length-i.posPre.length-i.posSuf.length,p=s.indexOf(gs);i.negPre=s.substring(0,p).replace(/'/g,""),i.negSuf=s.slice(p+g).replace(/'/g,"")}else i.negPre=e+i.posPre,i.negSuf=i.posSuf;return i}function _f(n){if(n.digits[0]===0)return n;let e=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(e===0?n.digits.push(0,0):e===1&&n.digits.push(0),n.integerLen+=2),n}function Uf(n){let e=Math.abs(n)+"",i=0,t,r,s,l,u;for((r=e.indexOf(Hr))>-1&&(e=e.replace(Hr,"")),(s=e.search(/e/i))>0?(r<0&&(r=s),r+=+e.slice(s+1),e=e.substring(0,s)):r<0&&(r=e.length),s=0;e.charAt(s)===xn;s++);if(s===(u=e.length))t=[0],r=1;else{for(u--;e.charAt(u)===xn;)u--;for(r-=s,t=[],l=0;s<=u;s++,l++)t[l]=Number(e.charAt(s))}return r>Bl&&(t=t.splice(0,Bl-1),i=r-1,r=1),{digits:t,exponent:i,integerLen:r}}function jf(n,e,i){if(e>i)throw new Error("The minimum number of digits after fraction (".concat(e,") is higher than the maximum (").concat(i,")."));let t=n.digits,r=t.length-n.integerLen,s=Math.min(Math.max(e,r),i),l=s+n.integerLen,u=t[l];if(l>0){t.splice(Math.max(n.integerLen,l));for(let p=l;p<t.length;p++)t[p]=0}else{r=Math.max(0,r),n.integerLen=1,t.length=Math.max(1,l=s+1),t[0]=0;for(let p=1;p<l;p++)t[p]=0}if(u>=5)if(l-1<0){for(let p=0;p>l;p--)t.unshift(0),n.integerLen++;t.unshift(1),n.integerLen++}else t[l-1]++;for(;r<Math.max(0,s);r++)t.push(0);let f=s!==0,d=e+n.integerLen,g=t.reduceRight(function(p,v,b,R){return v=v+p,R[b]=v<10?v:v-10,f&&(R[b]===0&&b>=d?R.pop():f=!1),v>=10?1:0},0);g&&(t.unshift(g),n.integerLen++)}function ms(n){let e=parseInt(n);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+n);return e}function Gr(n,e){e=encodeURIComponent(e);for(let i of n.split(";")){let t=i.indexOf("="),[r,s]=t==-1?[i,""]:[i.slice(0,t),i.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}var ws=/\s+/,_l=[],jw=(()=>{let e=class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=_l,this.stateMap=new Map}set klass(t){this.initialClasses=t!=null?t.trim().split(ws):_l}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(ws):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let s=this.stateMap.get(t);s!==void 0?(s.enabled!==r&&(s.changed=!0,s.enabled=r),s.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],s=t[1];s.changed?(this._toggleClass(r,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),s.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>
10&&t.split(ws).forEach(s=>{r?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}};e.\u0275fac=function(r){return new(r||e)(k(Pt),k(Xt))},e.\u0275dir=Ce({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Yt.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let n=e;return n})();var vs=class{constructor(e,i,t,r){this.$implicit=e,this.ngForOf=i,this.index=t,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}},zw=(()=>{let e=class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,s){this._viewContainer=t,this._template=r,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch(r){}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((s,l,u)=>{if(s.previousIndex==null)r.createEmbeddedView(this._template,new vs(s.item,this._ngForOf,-1,-1),u===null?void 0:u);else if(u==null)r.remove(l===null?void 0:l);else if(l!==null){let f=r.get(l);r.move(f,u),Ul(f,s)}});for(let s=0,l=r.length;s<l;s++){let f=r.get(s).context;f.index=s,f.count=l,f.ngForOf=this._ngForOf}t.forEachIdentityChange(s=>{let l=r.get(s.currentIndex);Ul(l,s)})}static ngTemplateContextGuard(t,r){return!0}};e.\u0275fac=function(r){return new(r||e)(k(ht),k(Rn),k(vl))},e.\u0275dir=Ce({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let n=e;return n})();function Ul(n,e){n.context.$implicit=e.item}var Vw=(()=>{let e=class e{constructor(t,r){this._viewContainer=t,this._context=new ys,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){jl("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){jl("ngIfElse",t),this._elseTemplateRef=t,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 ngTemplateContextGuard(t,r){return!0}};e.\u0275fac=function(r){return new(r||e)(k(ht),k(Rn))},e.\u0275dir=Ce({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let n=e;return n})(),ys=class{constructor(){this.$implicit=null,this.ngIf=null}};function jl(n,e){if(!!!(!e||e.createEmbeddedView))throw new Error("".concat(n," must be a TemplateRef, but received '").concat(Ga(e),"'."))}var zf=!0,Wr=class{constructor(e,i){this._viewContainerRef=e,this._templateRef=i,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},Jl=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let r=zf?t===this._ngSwitch:t==this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=r),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let r of this._defaultViews)r.enforceState(t)}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ce({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let n=e;return n})(),Hw=(()=>{let e=class e{constructor(t,r,s){this.ngSwitch=s,s._addCase(),this._view=new Wr(t,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(r){return new(r||e)(k(ht),k(Rn),k(Jl,9))},e.\u0275dir=Ce({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let n=e;return n})(),Ww=(()=>{let e=class e{constructor(t,r,s){s._addDefault(new Wr(t,r))}};e.\u0275fac=function(r){return new(r||e)(k(ht),k(Rn),k(Jl,9))},e.\u0275dir=Ce({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let n=e;return n})();var qw=(()=>{let e=class e{constructor(t,r,s){this._ngEl=t,this._differs=r,this._renderer=s,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[s,l]=t.split("."),u=s.indexOf("-")===-1?void 0:Lt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,s,l?"".concat(r).concat(l):r,u):this._renderer.removeStyle(this._ngEl.nativeElement,s,u)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};e.\u0275fac=function(r){return new(r||e)(k(Pt),k(yl),k(Xt))},e.\u0275dir=Ce({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let n=e;return n})(),Gw=(()=>
1{let e=class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){var r;if(this._shouldRecreateView(t)){let s=this._viewContainerRef;if(this._viewRef&&s.remove(s.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let l=this._createContextForwardProxy();this._viewRef=s.createEmbeddedView(this.ngTemplateOutlet,l,{injector:(r=this.ngTemplateOutletInjector)!=null?r:void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,s)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,s):!1,get:(t,r,s)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,s)}})}};e.\u0275fac=function(r){return new(r||e)(k(ht))},e.\u0275dir=Ce({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[In]});let n=e;return n})();function mt(n,e){return new W(2100,!1)}var bs=class{createSubscription(e,i){return ss(()=>e.subscribe({next:i,error:t=>{throw t}}))}dispose(e){ss(()=>e.unsubscribe())}},Ds=class{createSubscription(e,i){return e.then(i,t=>{throw t})}dispose(e){}},Vf=new Ds,Hf=new bs,Kw=(()=>{let e=class e{constructor(t){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(Tr(t))return Vf;if(ml(t))return Hf;throw mt(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){var s;t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&((s=this._ref)==null||s.markForCheck()))}};e.\u0275fac=function(r){return new(r||e)(k(ft,16))},e.\u0275pipe=ke({name:"async",type:e,pure:!1,standalone:!0});let n=e;return n})(),Yw=(()=>{let e=class e{transform(t){if(t==null)return null;if(typeof t!="string")throw mt(e,t);return t.toLowerCase()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=ke({name:"lowercase",type:e,pure:!0,standalone:!0});let n=e;return n})(),Wf=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Zw=(()=>{let e=class e{transform(t){if(t==null)return null;if(typeof t!="string")throw mt(e,t);return t.replace(Wf,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=ke({name:"titlecase",type:e,pure:!0,standalone:!0});let n=e;return n})(),Xw=(()=>{let e=class e{transform(t){if(t==null)return null;if(typeof t!="string")throw mt(e,t);return t.toUpperCase()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=ke({name:"uppercase",type:e,pure:!0,standalone:!0});let n=e;return n})(),qf="mediumDate",Gf=new P(""),Kf=new P(""),Jw=(()=>{let e=class e{constructor(t,r,s){this.locale=t,this.defaultTimezone=r,this.defaultOptions=s}transform(t,r,s,l){var u,f,d,g,p;if(t==null||t===""||t!==t)return null;try{let v=(f=r!=null?r:(u=this.defaultOptions)==null?void 0:u.dateFormat)!=null?f:qf,b=(p=(g=s!=null?s:(d=this.defaultOptions)==null?void 0:d.timezone)!=null?g:this.defaultTimezone)!=null?p:void 0;return Df(t,v,l||this.locale,b)}catch(v){throw mt(e,v.message)}}};e.\u0275fac=function(r){return new(r||e)(k(Fn,16),k(Gf,24),k(Kf,24))},e.\u0275pipe=ke({name:"date",type:e,pure:!0,standalone:!0});let n=e;return n})();var Qw=(()=>{let e=class e{constructor(t){this._locale=t}transform(t,r,s){if(!Fs(t))return null;s||(s=this._locale);try{let l=Ps(t);return $f(l,s,r)}catch(l){throw mt(e,l.message)}}};e.\u0275fac=function(r){return new(r||e)(k(Fn,16))},e.\u0275pipe=ke({name:"number",type:e,pure:!0,standalone:!0});let n=e;return n})(),ev=(()=>{let e=class e{constructor(t){this._locale=t}transform(t,r,s){if(!Fs(t))return null;s||(s=this._locale);try{let l=Ps(t);return Bf(l,s,r)}catch(l){throw mt(e,l.message)}}};e.\u0275fac=function(r){return new(r||e)(k(Fn,16))},e.\u0275pipe=ke({name:"percent",type:e,pure:!0,standalone:!0});let n=e;return n})(),tv=(()=>{let e=class e{constructor(t,r="USD"){this._locale=t,this._defaultCurrencyCode=r}transform(t,r=this._defaultCurrencyCode,s="symbol",l,u){if(!Fs(t))return null;u||(u=this._locale),typeof s=="boolean"&&(s=s?"symbol":"code");let f=r||this._defaultCurrencyCode;s!=="code"&&(s==="symbol"||s==="symbol-narrow"?f=mf(f,s==="symbol"?"wide":"narrow",u):f=s);try{let d=Ps(t);return Nf(d,u,f,r,l)}catch(d){throw mt(e,d.message)}}};e.\u0275fac=function(r){return new(r||e)(k(Fn,16),k(wl,16))},e.\u0275pipe=ke({name:"currency",type:e,pure:!0,standalone:!0});let n=e;return n})();function Fs(n){return!(n==null||n===""||n!==n)}
1function Ps(n){if(typeof n=="string"&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if(typeof n!="number")throw new Error("".concat(n," is not a number"));return n}var Ql=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Ve({type:e}),e.\u0275inj=ze({});let n=e;return n})(),ks="browser",Yf="server";function Zf(n){return n===ks}function Kr(n){return n===Yf}var xs=(()=>{let e=class e{};e.\u0275prov=S({token:e,providedIn:"root",factory:()=>Zf(C(Xe))?new Cs(C(te),window):new Es});let n=e;return n})(),Cs=class{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let i=Xf(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let i=e.getBoundingClientRect(),t=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(t-s[0],r-s[1])}};function Xf(n,e){let i=n.getElementById(e)||n.getElementsByName(e)[0];if(i)return i;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),r=t.currentNode;for(;r;){let s=r.shadowRoot;if(s){let l=s.getElementById(e)||s.querySelector('[name="'.concat(e,'"]'));if(l)return l}r=t.nextNode()}}return null}var Es=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},nn=class{};var On=class{},Zr=class{},Ot=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(i=>{let t=i.indexOf(":");if(t>0){let r=i.slice(0,t),s=r.toLowerCase(),l=i.slice(t+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(l):this.headers.set(s,[l])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,t)=>{this.setHeaderEntries(t,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,t])=>{this.setHeaderEntries(i,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new n;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...t),this.headers.set(i,r);break;case"d":let s=e.value;if(!s)this.headers.delete(i),this.normalizedNames.delete(i);else{let l=this.headers.get(i);if(!l)return;l=l.filter(u=>s.indexOf(u)===-1),l.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,l)}break}}setHeaderEntries(e,i){let t=(Array.isArray(i)?i:[i]).map(s=>s.toString()),r=e.toLowerCase();this.headers.set(r,t),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}};var Os=class{encodeKey(e){return tc(e)}encodeValue(e){return tc(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function ep(n,e){let i=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{let s=r.indexOf("="),[l,u]=s==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,s)),e.decodeValue(r.slice(s+1))],f=i.get(l)||[];f.push(u),i.set(l,f)}),i}var tp=/%(\d[a-f0-9])/gi,np={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function tc(n){return encodeURIComponent(n).replace(tp,(e,i)=>{var t;return(t=np[i])!=null?t:e})}function Yr(n){return"".concat(n)}var wt=class n{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Os,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=ep(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>
vendor: 2,353 bytes, line 1
1{let t=e.fromObject[i],r=Array.isArray(t)?t.map(Yr):[Yr(t)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(t=>{let r=e[t];Array.isArray(r)?r.forEach(s=>{i.push({param:t,value:s,op:"a"})}):i.push({param:t,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(t=>i+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new n({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(Yr(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],r=t.indexOf(Yr(e.value));r!==-1&&t.splice(r,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ns=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function rp(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function nc(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function rc(n){return typeof Blob<"u"&&n instanceof Blob}function ic(n){return typeof FormData<"u"&&n instanceof FormData}function ip(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Ln=class n{constructor(e,i,t,r){var l,u;this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let s;
1if(rp(this.method)||r?(this.body=t!==void 0?t:null,s=r):s=t,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),(l=this.headers)!=null||(this.headers=new Ot),(u=this.context)!=null||(this.context=new Ns),!this.params)this.params=new wt,this.urlWithParams=i;else{let f=this.params.toString();if(f.length===0)this.urlWithParams=i;else{let d=i.indexOf("?"),g=d===-1?"?":d<i.length-1?"&":"";this.urlWithParams=i+g+f}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||nc(this.body)||rc(this.body)||ic(this.body)||ip(this.body)?this.body:this.body instanceof wt?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||ic(this.body)?null:rc(this.body)?this.body.type||null:nc(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof wt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){var v,b,R,z;let i=e.method||this.method,t=e.url||this.url,r=e.responseType||this.responseType,s=(v=e.transferCache)!=null?v:this.transferCache,l=e.body!==void 0?e.body:this.body,u=(b=e.withCredentials)!=null?b:this.withCredentials,f=(R=e.reportProgress)!=null?R:this.reportProgress,d=e.headers||this.headers,g=e.params||this.params,p=(z=e.context)!=null?z:this.context;return e.setHeaders!==void 0&&(d=Object.keys(e.setHeaders).reduce((E,D)=>E.set(D,e.setHeaders[D]),d)),e.setParams&&(g=Object.keys(e.setParams).reduce((E,D)=>E.set(D,e.setParams[D]),g)),new n(i,t,l,{params:g,headers:d,context:p,reportProgress:f,responseType:r,withCredentials:u,transferCache:s})}},sn=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(sn||{}),Nn=class{constructor(e,i=Qr.Ok,t="OK"){this.headers=e.headers||new Ot,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Bs=class n extends Nn{constructor(e={}){super(e),this.type=sn.ResponseHeader}clone(e={}){return new n({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Xr=class n extends Nn{constructor(e={}){super(e),this.type=sn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new n({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Jr=class extends Nn{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message="Http failure during parsing for ".concat(e.url||"(unknown url)"):this.message="Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),this.error=e.error||null}},Qr=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(Qr||{});function Ls(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var sp=(()=>{let e=class e{constructor(t){this.handler=t}request(t,r,s={}){let l;if(t instanceof Ln)l=t;else{let d;s.headers instanceof Ot?d=s.headers:d=new Ot(s.headers);let g;s.params&&(s.params instanceof wt?g=s.params:g=new wt({fromObject:s.params})),l=new Ln(t,r,s.body!==void 0?s.body:null,{headers:d,context:s.context,params:g,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}let u=A(l).pipe(je(d=>this.handler.handle(d)));if(t instanceof Ln||s.observe==="events")return u;let f=u.pipe(Pe(d=>d instanceof Xr));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return f.pipe(L(d=>
1{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return f.pipe(L(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return f.pipe(L(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return f.pipe(L(d=>d.body))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new wt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,s={}){return this.request("PATCH",t,Ls(s,r))}post(t,r,s={}){return this.request("POST",t,Ls(s,r))}put(t,r,s={}){return this.request("PUT",t,Ls(s,r))}};e.\u0275fac=function(r){return new(r||e)(y(On))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function lc(n,e){return e(n)}function op(n,e){return(i,t)=>e.intercept(i,{handle:r=>n(r,t)})}function ap(n,e,i){return(t,r)=>He(i,()=>e(t,s=>n(s,r)))}var lp=new P(""),$s=new P(""),cp=new P(""),up=new P("");function dp(){let n=null;return(e,i)=>{var s;n===null&&(n=((s=C(lp,{optional:!0}))!=null?s:[]).reduceRight(op,lc));let t=C(Mn),r=t.add();return n(e,i).pipe(Ft(()=>t.remove(r)))}}var sc=(()=>{let e=class e extends On{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=C(Mn);let s=C(up,{optional:!0});this.backend=s!=null?s:t}handle(t){if(this.chain===null){let s=Array.from(new Set([...this.injector.get($s),...this.injector.get(cp,[])]));this.chain=s.reduceRight((l,u)=>ap(l,u,this.injector),lc)}let r=this.pendingTasks.add();return this.chain(t,s=>this.backend.handle(s)).pipe(Ft(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(y(Zr),y(dt))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();var hp=/^\)\]\}',?\n/;function fp(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var oc=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new W(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?ce(r.\u0275loadImpl()):A(null)).pipe(oe(()=>new Mt(l=>{let u=r.build();if(u.open(t.method,t.urlWithParams),t.withCredentials&&(u.withCredentials=!0),t.headers.forEach((E,D)=>u.setRequestHeader(E,D.join(","))),t.headers.has("Accept")||u.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let E=t.detectContentTypeHeader();E!==null&&u.setRequestHeader("Content-Type",E)}if(t.responseType){let E=t.responseType.toLowerCase();u.responseType=E!=="json"?E:"text"}let f=t.serializeBody(),d=null,g=()=>{if(d!==null)return d;let E=u.statusText||"OK",D=new Ot(u.getAllResponseHeaders()),x=fp(u)||t.url;return d=new Bs({headers:D,status:u.status,statusText:E,url:x}),d},p=()=>{let{headers:E,status:D,statusText:x,url:G}=g(),U=null;D!==Qr.NoContent&&(U=typeof u.response>"u"?u.responseText:u.response),D===0&&(D=U?Qr.Ok:0);let K=D>=200&&D<300;if(t.responseType==="json"&&typeof U=="string"){let he=U;U=U.replace(hp,"");try{U=U!==""?JSON.parse(U):null}catch(Oe){U=he,K&&(K=!1,U={error:Oe,text:U})}}K?(l.next(new Xr({body:U,headers:E,status:D,statusText:x,url:G||void 0})),l.complete()):l.error(new Jr({error:U,headers:E,status:D,statusText:x,url:G||void 0}))},v=E=>{let{url:D}=g(),x=new Jr({error:E,status:u.status||0,statusText:u.statusText||"Unknown Error",url:D||void 0});l.error(x)},b=!1,R=E=>{b||(l.next(g()),b=!0);let D={type:sn.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),t.responseType==="text"&&u.responseText&&(D.partialText=u.responseText),l.next(D)},z=E=>{let D={type:sn.UploadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),l.next(D)};return u.addEventListener("load",p),u.addEventListener("error",v),u.addEventListener("timeout",v),u.addEventListener("abort",v),t.reportProgress&&(u.addEventListener("progress",R),f!==null&&u.upload&&u.upload.addEventListener("progress",z)),u.send(f),l.next({type:sn.Sent}),()=>{u.removeEventListener("error",v),u.removeEventListener("abort",v),u.removeEventListener("load",p),u.removeEventListener("timeout",v),t.reportProgress&&(u.removeEventListener("progress",R),f!==null&&u.upload&&u.upload.removeEventListener("progress",z)),u.readyState!==u.DONE&&u.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(y(nn))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),cc=new P(""),pp="XSRF-TOKEN",gp=new P("",{providedIn:"root",factory:()=>pp}),mp="X-XSRF-TOKEN",wp=new P("",{providedIn:"root",factory:()=>mp}),ei=class{},vp=(()=>{let e=class e{constructor(t,r,s){this.doc=t,this.platform=r,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Gr(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(y(te),y(Xe),y(gp))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function yp(n,e){let i=n.url.toLowerCase();if(!C(cc)||n.method==="GET"||n.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(n);let t=C(ei).getToken(),r=C(wp);return t!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,t)})),e(n)}var uc=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(uc||{});function bp(n,e){return{\u0275kind:n,\u0275providers:e}}function Dp(...n){let e=[sp,oc,sc,{provide:On,useExisting:sc},{provide:Zr,useExisting:oc},{provide:$s,useValue:yp,multi:!0},{provide:cc,useValue:!0},{provide:ei,useClass:vp}];for(let i of n)e.push(...i.\u0275providers);return Tn(e)}var ac=new P("");function Cp(){return bp(uc.LegacyInterceptors,[{provide:ac,useFactory:dp},{provide:$s,useExisting:ac,multi:!0}])}var pv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Ve({type:e}),e.\u0275inj=ze({providers:[Dp(Cp())]});let n=e;return n})();var js=class extends zr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},zs=class n extends js{static makeCurrent(){Hl(new n)}
1onAndCancel(e,i,t){return e.addEventListener(i,t),()=>{e.removeEventListener(i,t)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=Sp();return i==null?null:Ap(i)}resetBaseElement(){Bn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Gr(document.cookie,e)}},Bn=null;function Sp(){return Bn=Bn||document.querySelector("base"),Bn?Bn.getAttribute("href"):null}function Ap(n){return new URL(n,document.baseURI).pathname}var Vs=class{addToWindow(e){ut.getAngularTestability=(t,r=!0)=>{let s=e.findTestabilityInTree(t,r);if(s==null)throw new W(5103,!1);return s},ut.getAllAngularTestabilities=()=>e.getAllTestabilities(),ut.getAllAngularRootElements=()=>e.getAllRootElements();let i=t=>{let r=ut.getAllAngularTestabilities(),s=r.length,l=function(){s--,s==0&&t()};r.forEach(u=>{u.whenStable(l)})};ut.frameworkStabilizers||(ut.frameworkStabilizers=[]),ut.frameworkStabilizers.push(i)}findTestabilityInTree(e,i,t){if(i==null)return null;let r=e.getTestability(i);return r!=null?r:t?gt().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null}},Tp=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),Hs=new P(""),pc=(()=>{let e=class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(l=>l.supports(t)),!r)throw new W(5101,!1);return this._eventNameToPlugin.set(t,r),r}};e.\u0275fac=function(r){return new(r||e)(y(Hs),y(ae))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),ti=class{constructor(e){this._doc=e}},_s="ng-app-id",gc=(()=>{let e=class e{constructor(t,r,s,l={}){this.doc=t,this.appId=r,this.nonce=s,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Kr(l),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){var s,l;let r=this.styleRef;(l=(s=r.get(t))==null?void 0:s.elements)==null||l.forEach(u=>u.remove()),r.delete(t)}collectServerRenderedStyles(){var r;let t=(r=this.doc.head)==null?void 0:r.querySelectorAll("style[".concat(_s,'="').concat(this.appId,'"]'));if(t!=null&&t.length){let s=new Map;return t.forEach(l=>{l.textContent!=null&&s.set(l.textContent,l)}),s}return null}changeUsageCount(t,r){let s=this.styleRef;if(s.has(t)){let l=s.get(t);return l.usage+=r,l.usage}return s.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let s=this.styleNodesInDOM,l=s==null?void 0:s.get(r);if((l==null?void 0:l.parentNode)===t)return s.delete(r),l.removeAttribute(_s),l;{let u=this.doc.createElement("style");return this.nonce&&u.setAttribute("nonce",this.nonce),u.textContent=r,this.platformIsServer&&u.setAttribute(_s,this.appId),t.appendChild(u),u}}addStyleToHost(t,r){var f;let s=this.getStyleElement(t,r),l=this.styleRef,u=(f=l.get(r))==null?void 0:f.elements;u?u.push(s):l.set(r,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(y(te),y(Cr),y(Qi,8),y(Xe))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),Us={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/MathML/"},qs=/%COMP%/g,mc="%COMP%",Ip="_nghost-".concat(mc),Rp="_ngcontent-".concat(mc),Mp=!0,Fp=new P("",{providedIn:"root",factory:()=>Mp});function Pp(n){return Rp.replace(qs,n)}function kp(n){return Ip.replace(qs,n)}function wc(n,e){return e.map(i=>i.replace(qs,n))}var dc=(()=>{let e=class e{constructor(t,r,s,l,u,f,d,g=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.removeStylesOnCompDestroy=l,this.doc=u,this.platformId=f,this.ngZone=d,this.nonce=g,this.rendererByCompId=new Map,this.platformIsServer=Kr(f),this.defaultRenderer=new $n(t,u,d,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===An.ShadowDom&&(r=se(T({},r),{encapsulation:An.Emulated}));let s=this.getOrCreateRenderer(t,r);
1return s instanceof ni?s.applyToHost(t):s instanceof _n&&s.applyStyles(),s}getOrCreateRenderer(t,r){let s=this.rendererByCompId,l=s.get(r.id);if(!l){let u=this.doc,f=this.ngZone,d=this.eventManager,g=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(r.encapsulation){case An.Emulated:l=new ni(d,g,r,this.appId,p,u,f,v);break;case An.ShadowDom:return new Ws(d,g,t,r,u,f,this.nonce,v);default:l=new _n(d,g,r,p,u,f,v);break}s.set(r.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(y(pc),y(gc),y(Cr),y(Fp),y(te),y(Xe),y(ae),y(Qi))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),$n=class{constructor(e,i,t,r){this.eventManager=e,this.doc=i,this.ngZone=t,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Us[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(hc(e)?e.content:e).appendChild(i)}insertBefore(e,i,t){e&&(hc(e)?e.content:e).insertBefore(i,t)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new W(-5104,!1);return i||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,t,r){if(r){i=r+":"+i;let s=Us[r];s?e.setAttributeNS(s,i,t):e.setAttribute(i,t)}else e.setAttribute(i,t)}removeAttribute(e,i,t){if(t){let r=Us[t];r?e.removeAttributeNS(r,i):e.removeAttribute("".concat(t,":").concat(i))}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}
1setStyle(e,i,t,r){r&(Lt.DashCase|Lt.Important)?e.style.setProperty(i,t,r&Lt.Important?"important":""):e.style[i]=t}removeStyle(e,i,t){t&Lt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,t){e!=null&&(e[i]=t)}setValue(e,i){e.nodeValue=i}listen(e,i,t){if(typeof e=="string"&&(e=gt().getGlobalEventTarget(this.doc,e),!e))throw new Error("Unsupported event target ".concat(e," for event ").concat(i));return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(t))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function hc(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Ws=class extends $n{constructor(e,i,t,r,s,l,u,f){super(e,s,l,f),this.sharedStylesHost=i,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=wc(r.id,r.styles);for(let g of d){let p=document.createElement("style");u&&p.setAttribute("nonce",u),p.textContent=g,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,t){return super.insertBefore(this.nodeOrShadowRoot(e),i,t)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_n=class extends $n{constructor(e,i,t,r,s,l,u,f){super(e,s,l,u),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=f?wc(f,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ni=class extends _n{constructor(e,i,t,r,s,l,u,f){let d=r+"-"+t.id;super(e,i,t,s,l,u,f,d),this.contentAttr=Pp(d),this.hostAttr=kp(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let t=super.createElement(e,i);return super.setAttribute(t,this.contentAttr,""),t}},xp=(()=>{let e=class e extends ti{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}};e.\u0275fac=function(r){return new(r||e)(y(te))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),fc=["alt","control","meta","shift"],Lp={"\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"},Op={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Np=(()=>{let e=class e extends ti{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,s){let l=e.parseEventName(r),u=e.eventCallback(l.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gt().onAndCancel(t,l.domEventName,u))}static parseEventName(t){let r=t.toLowerCase().split("."),s=r.shift();if(r.length===0||!(s==="keydown"||s==="keyup"))return null;let l=e._normalizeKey(r.pop()),u="",f=r.indexOf("code");if(f>-1&&(r.splice(f,1),u="code."),fc.forEach(g=>{let p=r.indexOf(g);p>-1&&(r.splice(p,1),u+=g+".")}),u+=l,r.length!=0||l.length===0)return null;let d={};return d.domEventName=s,d.fullKey=u,d}static matchEventFullKeyCode(t,r){let s=Lp[t.key]||t.key,l="";return r.indexOf("code.")>-1&&(s=t.code,l="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),fc.forEach(u=>{if(u!==s){let f=Op[u];f(t)&&(l+=u+".")}}),l+=s,l===r)}static eventCallback(t,r,s){return l=>{e.matchEventFullKeyCode(l,t)&&s.runGuarded(()=>r(l))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(r){return new(r||e)(y(te))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function Rv(n,e){return Dl(T({rootComponent:n},Bp(e)))}function Bp(n){var e;return{appProviders:[...vc,...(e=n==null?void 0:n.providers)!=null?e:[]],platformProviders:jp}}function $p(){zs.makeCurrent()}function _p(){return new Ji}function Up(){return Ja(document),document}var jp=[{provide:Xe,useValue:ks},{provide:Qa,useValue:$p,multi:!0},{provide:te,useFactory:Up,deps:[]}];var zp=new P(""),Vp=[{provide:Sr,useClass:Vs,deps:[]},{provide:gl,useClass:Ar,deps:[ae,rs,Sr]},{provide:Ar,useClass:Ar,deps:[ae,rs,Sr]}],vc=[{provide:Xa,useValue:"root"},{provide:Ji,useFactory:_p,deps:[]},{provide:Hs,useClass:xp,multi:!0,deps:[te,ae,Xe]},{provide:Hs,useClass:Np,multi:!0,deps:[te]},dc,gc,pc,{provide:cl,useExisting:dc},{provide:nn,useClass:Tp,deps:[]},[]],Mv=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Cr,useValue:t.appId}]}}};e.\u0275fac=function(r){return new(r||e)(y(zp,12))},e.\u0275mod=Ve({type:e}),e.\u0275inj=ze({providers:[...vc,...Vp],imports:[Ql,bl]});let n=e;return n})(),Fv=(()=>{let e=class e{constructor(t){this._doc=t,this._dom=gt()}addTag(t,r=!1){return t?this._getOrCreateElement(t,r):null}addTags(t,r=!1){return t?t.reduce((s,l)=>(l&&s.push(this._getOrCreateElement(l,r)),s),[]):[]}getTag(t){return t&&this._doc.querySelector("meta[".concat(t,"]"))||null}getTags(t){if(!t)return[];let r=this._doc.querySelectorAll("meta[".concat(t,"]"));return r?[].slice.call(r):[]}updateTag(t,r){if(!t)return null;r=r||this._parseSelector(t);let s=this.getTag(r);return s?this._setMetaElementAttributes(t,s):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,r=!1){if(!r){let u=this._parseSelector(t),f=this.getTags(u).filter(d=>this._containsAttributes(t,d))[0];if(f!==void 0)return f}let s=this._dom.createElement("meta");return this._setMetaElementAttributes(t,s),this._doc.getElementsByTagName("head")[0].appendChild(s),s}_setMetaElementAttributes(t,r){return Object.keys(t).forEach(s=>
1r.setAttribute(this._getMetaKeyMap(s),t[s])),r}_parseSelector(t){let r=t.name?"name":"property";return"".concat(r,'="').concat(t[r],'"')}_containsAttributes(t,r){return Object.keys(t).every(s=>r.getAttribute(this._getMetaKeyMap(s))===t[s])}_getMetaKeyMap(t){return Hp[t]||t}};e.\u0275fac=function(r){return new(r||e)(y(te))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Hp={httpEquiv:"http-equiv"},yc=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(r){return new(r||e)(y(te))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Gs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:function(r){let s=null;return r?s=new(r||e):s=y(Wp),s},providedIn:"root"});let n=e;return n})(),Wp=(()=>{let e=class e extends Gs{constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case xt.NONE:return r;case xt.HTML:return Zt(r,"HTML")?kt(r):ol(this._doc,String(r)).toString();case xt.STYLE:return Zt(r,"Style")?kt(r):r;case xt.SCRIPT:if(Zt(r,"Script"))return kt(r);throw new W(5200,!1);case xt.URL:return Zt(r,"URL")?kt(r):sl(String(r));case xt.RESOURCE_URL:if(Zt(r,"ResourceURL"))return kt(r);throw new W(5201,!1);default:throw new W(5202,!1)}}bypassSecurityTrustHtml(t){return el(t)}bypassSecurityTrustStyle(t){return tl(t)}bypassSecurityTrustScript(t){return nl(t)}bypassSecurityTrustUrl(t){return rl(t)}bypassSecurityTrustResourceUrl(t){return il(t)}};e.\u0275fac=function(r){return new(r||e)(y(te))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var M="primary",tr=Symbol("RouteTitle"),Js=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function un(n){return new Js(n)}function qp(n,e,i){let t=i.path.split("/");if(t.length>n.length||i.pathMatch==="full"&&(e.hasChildren()||t.length<n.length))return null;let r={};for(let s=0;s<t.length;s++){let l=t[s],u=n[s];if(l.startsWith(":"))r[l.substring(1)]=u;else if(l!==u.path)return null}return{consumed:n.slice(0,t.length),posParams:r}}function Gp(n,e){if(n.length!==e.length)return!1;for(let i=0;i<n.length;++i)if(!qe(n[i],e[i]))return!1;return!0}function qe(n,e){let i=n?Qs(n):void 0,t=e?Qs(e):void 0;if(!i||!t||i.length!=t.length)return!1;let r;for(let s=0;s<i.length;s++)if(r=i[s],!Mc(n[r],e[r]))return!1;return!0}function Qs(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function Mc(n,e){if(Array.isArray(n)&&Array.isArray(e)){if(n.length!==e.length)return!1;let i=[...n].sort(),t=[...e].sort();return i.every((r,s)=>t[s]===r)}else return n===e}function Fc(n){return n.length>0?n[n.length-1]:null}function Ct(n){return Ue(n)?n:Tr(n)?ce(Promise.resolve(n)):A(n)}var Kp={exact:kc,subset:xc},Pc={exact:Yp,subset:Zp,ignored:()=>!0};function Dc(n,e,i){return Kp[i.paths](n.root,e.root,i.matrixParams)&&Pc[i.queryParams](n.queryParams,e.queryParams)&&!(i.fragment==="exact"&&n.fragment!==e.fragment)}function Yp(n,e){return qe(n,e)}function kc(n,e,i){if(!Bt(n.segments,e.segments)||!si(n.segments,e.segments,i)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!kc(n.children[t],e.children[t],i))return!1;return!0}function Zp(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(i=>Mc(n[i],e[i]))}function xc(n,e,i){return Lc(n,e,e.segments,i)}function Lc(n,e,i,t){if(n.segments.length>i.length){let r=n.segments.slice(0,i.length);return!(!Bt(r,i)||e.hasChildren()||!si(r,i,t))}else if(n.segments.length===i.length){if(!Bt(n.segments,i)||!si(n.segments,i,t))return!1;for(let r in e.children)if(!n.children[r]||!xc(n.children[r],e.children[r],t))return!1;return!0}else{let r=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!Bt(n.segments,r)||!si(n.segments,r,t)||!n.children[M]?!1:Lc(n.children[M],e,s,t)}}function si(n,e,i){return e.every((t,r)=>Pc[i](n[r].parameters,t.parameters))}var vt=class{constructor(e=new _([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=un(this.queryParams)),this._queryParamMap}toString(){return Qp.serialize(this)}},_=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEac
1h(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return oi(this)}},Nt=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){var e;return(e=this._parameterMap)!=null||(this._parameterMap=un(this.parameters)),this._parameterMap}toString(){return Nc(this)}};function Xp(n,e){return Bt(n,e)&&n.every((i,t)=>qe(i.parameters,e[t].parameters))}function Bt(n,e){return n.length!==e.length?!1:n.every((i,t)=>i.path===e[t].path)}function Jp(n,e){let i=[];return Object.entries(n.children).forEach(([t,r])=>{t===M&&(i=i.concat(e(r,t)))}),Object.entries(n.children).forEach(([t,r])=>{t!==M&&(i=i.concat(e(r,t)))}),i}var pn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>new qn,providedIn:"root"});let n=e;return n})(),qn=class{parse(e){let i=new to(e);return new vt(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i="/".concat(Un(e.root,!0)),t=ng(e.queryParams),r=typeof e.fragment=="string"?"#".concat(eg(e.fragment)):"";return"".concat(i).concat(t).concat(r)}},Qp=new qn;function oi(n){return n.segments.map(e=>Nc(e)).join("/")}function Un(n,e){if(!n.hasChildren())return oi(n);if(e){let i=n.children[M]?Un(n.children[M],!1):"",t=[];return Object.entries(n.children).forEach(([r,s])=>{r!==M&&t.push("".concat(r,":").concat(Un(s,!1)))}),t.length>0?"".concat(i,"(").concat(t.join("//"),")"):i}else{let i=Jp(n,(t,r)=>r===M?[Un(n.children[M],!1)]:["".concat(r,":").concat(Un(t,!1))]);return Object.keys(n.children).length===1&&n.children[M]!=null?"".concat(oi(n),"/").concat(i[0]):"".concat(oi(n),"/(").concat(i.join("//"),")")}}function Oc(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ri(n){return Oc(n).replace(/%3B/gi,";")}function eg(n){return encodeURI(n)}function eo(n){return Oc(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ai(n){return decodeURIComponent(n)}function Cc(n){return ai(n.replace(/\+/g,"%20"))}function Nc(n){return"".concat(eo(n.path)).concat(tg(n.parameters))}function tg(n){return Object.entries(n).map(([e,i])=>";".concat(eo(e),"=").concat(eo(i))).join("")}function ng(n){let e=Object.entries(n).map(([i,t])=>Array.isArray(t)?t.map(r=>"".concat(ri(i),"=").concat(ri(r))).join("&"):"".concat(ri(i),"=").concat(ri(t))).filter(i=>i);return e.length?"?".concat(e.join("&")):""}var rg=/^[^\/()?;#]+/;function Ks(n){let e=n.match(rg);return e?e[0]:""}var ig=/^[^\/()?;=#]+/;function sg(n){let e=n.match(ig);return e?e[0]:""}var og=/^[^=?&#]+/;function ag(n){let e=n.match(og);return e?e[0]:""}var lg=/^[^&#]+/;function cg(n){let e=n.match(lg);return e?e[0]:""}var to=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new _([],{}):new _([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[M]=new _(e,i)),t}parseSegment(){let e=Ks(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new W(4009,!1);return this.capture(e),new Nt(ai(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=sg(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let r=Ks(this.remaining);r&&(t=r,this.capture(t))}e[ai(i)]=ai(t)}parseQueryParam(e){let i=ag(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let l=cg(this.remaining);l&&(t=l,this.capture(t))}let r=Cc(i),s=Cc(t);if(e.hasOwnProperty(r)){let l=e[r];Array.isArray(l)||(l=[l],e[r]=l),l.push(s)}else e[r]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Ks(this.remaining),r=this.remaining[t.length];if(r!=="/"&&r!==")"&&r!==";")throw new W(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=M);let l=this.parseChildren();i[s]=Object.keys(l).length===1?l[M]:new _([],l),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new W(4011,!1)}};function Bc(n){return n.segments.length>0?new _([],{[M]:n}):n}function $c(n){let e={};for(let[t,r]of Object.entries(n.children)){let s=$c(r);if(t===M&&s.segments.length===0&&s.hasChildren())for(let[l,u]of Object.entries(s.children))e[l]=u;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new _(n.segments,e);return ug(i)}function ug(n){if(n.numberOfChildren===1&&n.children[M]){let e=n.children[M];return new _(n.segments.concat(e.segments),e.children)}return n}function dn(n){return n instanceof vt}function dg(n,e,i=null,t=null){let r=_c(n);return Uc(r,e,i,t)}function _c(n){let e;function i(s){let l={};for(let f of s.children){let d=i(f);l[f.outlet]=d}let u=new _(s.url,l);return s===n&&(e=u),u}let t=i(n.root),r=Bc(t);return e!=null?e:r}function Uc(n,e,i,t){let r=n;for(;r.parent;)r=r.parent;if(e.length===0)return Ys(r,r,r,i,t);let s=hg(e);
vendor: 5,279 bytes, line 1
1if(s.toRoot())return Ys(r,r,new _([],{}),i,t);let l=fg(s,r,n),u=l.processChildren?Vn(l.segmentGroup,l.index,s.commands):zc(l.segmentGroup,l.index,s.commands);return Ys(r,l.segmentGroup,u,i,t)}function li(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Gn(n){return typeof n=="object"&&n!=null&&n.outlets}function Ys(n,e,i,t,r){let s={};t&&Object.entries(t).forEach(([f,d])=>{s[f]=Array.isArray(d)?d.map(g=>"".concat(g)):"".concat(d)});let l;n===e?l=i:l=jc(n,e,i);let u=Bc($c(l));return new vt(u,s,r)}function jc(n,e,i){let t={};return Object.entries(n.children).forEach(([r,s])=>{s===e?t[r]=i:t[r]=jc(s,e,i)}),new _(n.segments,t)}var ci=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&li(t[0]))throw new W(4003,!1);let r=t.find(Gn);if(r&&r!==Fc(t))throw new W(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function hg(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new ci(!0,0,n);let e=0,i=!1,t=n.reduce((r,s,l)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let u={};return Object.entries(s.outlets).forEach(([f,d])=>{u[f]=typeof d=="string"?d.split("/"):d}),[...r,{outlets:u}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:l===0?(s.split("/").forEach((u,f)=>{f==0&&u==="."||(f==0&&u===""?i=!0:u===".."?e++:u!=""&&r.push(u))}),r):[...r,s]},[]);return new ci(i,e,t)}var ln=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function fg(n,e,i){if(n.isAbsolute)return new ln(e,!0,0);if(!i)return new ln(e,!1,NaN);if(i.parent===null)return new ln(i,!0,0);let t=li(n.commands[0])?0:1,r=i.segments.length-1+t;return pg(i,r,n.numberOfDoubleDots)}function pg(n,e,i){let t=n,r=e,s=i;for(;s>r;){if(s-=r,t=t.parent,!t)throw new W(4005,!1);r=t.segments.length}return new ln(t,!1,r-s)}function gg(n){return Gn(n[0])?n[0].outlets:{[M]:n}}function zc(n,e,i){if(n!=null||(n=new _([],{})),n.segments.length===0&&n.hasChildren())return Vn(n,e,i);let t=mg(n,e,i),r=i.slice(t.commandIndex);if(t.match&&t.pathIndex<n.segments.length){let s=new _(n.segments.slice(0,t.pathIndex),{});return s.children[M]=new _(n.segments.slice(t.pathIndex),n.children),Vn(s,0,r)}else return t.match&&r.length===0?new _(n.segments,{}):t.match&&!n.hasChildren()?no(n,e,i):t.match?Vn(n,0,r):no(n,e,i)}function Vn(n,e,i){if(i.length===0)return new _(n.segments,{});{let t=gg(i),r={};if(Object.keys(t).some(s=>s!==M)&&n.children[M]&&n.numberOfChildren===1&&n.children[M].segments.length===0){let s=Vn(n.children[M],e,i);return new _(n.segments,s.children)}return Object.entries(t).forEach(([s,l])=>{typeof l=="string"&&(l=[l]),l!==null&&(r[s]=zc(n.children[s],e,l))}),Object.entries(n.children).forEach(([s,l])=>{t[s]===void 0&&(r[s]=l)}),new _(n.segments,r)}}function mg(n,e,i){let t=0,r=e,s={match:!1,pathIndex:0,commandIndex:0};for(;r<n.segments.length;){if(t>=i.length)return s;let l=n.segments[r],u=i[t];if(Gn(u))break;let f="".concat(u),d=t<i.length-1?i[t+1]:null;if(r>0&&f===void 0)break;if(f&&d&&typeof d=="object"&&d.outlets===void 0){if(!Sc(f,d,l))return s;t+=2}else{if(!Sc(f,{},l))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}function no(n,e,i){let t=n.segments.slice(0,e),r=0;for(;r<i.length;){let s=i[r];if(Gn(s)){let f=wg(s.outlets);return new _(t,f)}if(r===0&&li(i[0])){let f=n.segments[e];t.push(new Nt(f.path,Ec(i[0]))),r++;continue}let l=Gn(s)?s.outlets[M]:"".concat(s),u=r<i.length-1?i[r+1]:null;l&&u&&li(u)?(t.push(new Nt(l,Ec(u))),r+=2):(t.push(new Nt(l,{})),r++)}return new _(t,{})}function wg(n){let e={};return Object.entries(n).forEach(([i,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=no(new _([],{}),0,t))}),e}function Ec(n){let e={};return Object.entries(n).forEach(([i,t])=>e[i]="".concat(t)),e}function Sc(n,e,i){return n==i.path&&qe(e,i.parameters)}var Hn="imperative",ne=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(ne||{}),Me=class{constructor(e,i){this.id=e,this.url=i}},hn=class extends Me{constructor(e,i,t="imperative",r=null){super(e,i),this.type=ne.NavigationStart,this.navigationTrigger=t,this.restoredState=r}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}},Fe=class extends Me{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=ne.NavigationEnd}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}},Ae=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromRe
1solver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(Ae||{}),ui=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(ui||{}),yt=class extends Me{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=ne.NavigationCancel}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}},bt=class extends Me{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=ne.NavigationSkipped}},Kn=class extends Me{constructor(e,i,t,r){super(e,i),this.error=t,this.target=r,this.type=ne.NavigationError}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}},di=class extends Me{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=ne.RoutesRecognized}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},ro=class extends Me{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=ne.GuardsCheckStart}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},io=class extends Me{constructor(e,i,t,r,s){super(e,i),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=s,this.type=ne.GuardsCheckEnd}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}},so=class extends Me{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=ne.ResolveStart}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},oo=class extends Me{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=ne.ResolveEnd}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},ao=class{constructor(e){this.route=e,this.type=ne.RouteConfigLoadStart}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}},lo=class{constructor(e){this.route=e,this.type=ne.RouteConfigLoadEnd}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}},co=class{constructor(e){this.snapshot=e,this.type=ne.ChildActivationStart}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ChildActivationStart(path: '".concat(e,"')")}},uo=class{constructor(e){this.snapshot=e,this.type=ne.ChildActivationEnd}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ChildActivationEnd(path: '".concat(e,"')")}},ho=class{constructor(e){this.snapshot=e,this.type=ne.ActivationStart}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ActivationStart(path: '".concat(e,"')")}},fo=class{constructor(e){this.snapshot=e,this.type=ne.ActivationEnd}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ActivationEnd(path: '".concat(e,"')")}},hi=class{constructor(e,i,t){this.routerEvent=e,this.position=i,this.anchor=t,this.type=ne.Scroll}toString(){let e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}},Yn=class{},Zn=class{constructor(e){this.url=e}};var po=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new nr,this.attachRef=null}},nr=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){let s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new po,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),fi=class{constructor(e){this._root=e}get root(){return this._root.value}
1parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=go(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=go(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=mo(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return mo(e,this._root).map(i=>i.value)}};function go(n,e){if(n===e.value)return e;for(let i of e.children){let t=go(n,i);if(t)return t}return null}function mo(n,e){if(n===e.value)return[e];for(let i of e.children){let t=mo(n,i);if(t.length)return t.unshift(e),t}return[]}var Se=class{constructor(e,i){this.value=e,this.children=i}toString(){return"TreeNode(".concat(this.value,")")}};function an(n){let e={};return n&&n.children.forEach(i=>e[i.value.outlet]=i),e}var pi=class extends fi{constructor(e,i){super(e),this.snapshot=i,To(this,e)}toString(){return this.snapshot.toString()}};function Vc(n){let e=vg(n),i=new pe([new Nt("",{})]),t=new pe({}),r=new pe({}),s=new pe({}),l=new pe(""),u=new Dt(i,t,s,l,r,M,n,e.root);return u.snapshot=e.root,new pi(new Se(u,[]),e)}function vg(n){let e={},i={},t={},r="",s=new Xn([],e,t,r,i,M,n,null,{});return new gi("",new Se(s,[]))}var Dt=class{constructor(e,i,t,r,s,l,u,f){var d,g;this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=r,this.dataSubject=s,this.outlet=l,this.component=u,this._futureSnapshot=f,this.title=(g=(d=this.dataSubject)==null?void 0:d.pipe(L(p=>p[tr])))!=null?g:A(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s}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(){var e;return(e=this._paramMap)!=null||(this._paramMap=this.params.pipe(L(i=>un(i)))),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe(L(i=>un(i)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}};function Ao(n,e,i="emptyOnly"){var s,l;let t,{routeConfig:r}=n;return e!==null&&(i==="always"||(r==null?void 0:r.path)===""||!e.component&&!((s=e.routeConfig)!=null&&s.loadComponent))?t={params:T(T({},e.params),n.params),data:T(T({},e.data),n.data),resolve:T(T(T(T({},n.data),e.data),r==null?void 0:r.data),n._resolvedData)}:t={params:T({},n.params),data:T({},n.data),resolve:T(T({},n.data),(l=n._resolvedData)!=null?l:{})},r&&Wc(r)&&(t.resolve[tr]=r.title),t}var Xn=class{get title(){var e;return(e=this.data)==null?void 0:e[tr]}constructor(e,i,t,r,s,l,u,f,d){this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=l,this.component=u,this.routeConfig=f,this._resolve=d}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(){var e;return(e=this._paramMap)!=null||(this._paramMap=un(this.params)),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=un(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(i,"')")}},gi=class extends fi{constructor(e,i){super(i),this.url=e,To(this,i)}toString(){return Hc(this._root)}};function To(n,e){e.value._routerState=n,e.children.forEach(i=>To(n,i))}function Hc(n){let e=n.children.length>0?" { ".concat(n.children.map(Hc).join(", ")," } "):"";return"".concat(n.value).concat(e)}function Zs(n){if(n.snapshot){let e=n.snapshot,i=n._futureSnapshot;n.snapshot=i,qe(e.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),qe(e.params,i.params)||n.paramsSubject.next(i.params),Gp(e.url,i.url)||n.urlSubject.next(i.url),qe(e.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function wo(n,e){let i=qe(n.params,e.params)&&Xp(n.url,e.url),t=!n.parent!=!e.parent;return i&&!t&&(!n.parent||wo(n.parent,e.parent))}function Wc(n){return typeof n.title=="string"||n.title===null}var yg=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=C(nr),this.location=C(ht),this.changeDetector=C(ft),this.environmentInjector=C(dt),this.inputBinder=C(yi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){var t;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(t=this.inputBinder)==null||t.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){var r;return((r=this.parentContexts.getContext(t))==null?void 0:r.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t!=null&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new W(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new W(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new W(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){var s;this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),(s=this.inputBinder)==null||s.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){var g;if(this.isActivated)throw new W(4013,!1);this._activatedRoute=t;let s=this.location,u=t.snapshot.component,f=this.parentContexts.getOrCreateContext(this.name).children,d=new vo(t,f,s.injector);this.activated=s.createComponent(u,{index:s.length,injector:d,environmentInjector:r!=null?r:this.environmentInjector}),this.changeDetector.markForCheck(),(g=this.inputBinder)==null||g.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ce({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[In]});let n=e;return n})(),vo=class n{__ngOutletInjector(e){return new n(this.route,this.childContexts,e)}constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===Dt?this.route:e===nr?this.childContexts:this.parent.get(e,i)}},yi=new P(""),Ac=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){var r;(r=this.outletDataSubscriptions.get(t))==null||r.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,s=br([r.queryParams,r.params,r.data]).pipe(oe(([l,u,f],d)=>(f=T(T(T({}
1,l),u),f),d===0?A(f):Promise.resolve(f)))).subscribe(l=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let u=Cl(r.component);if(!u){this.unsubscribeFromRouteData(t);return}for(let{templateName:f}of u.inputs)t.activatedComponentRef.setInput(f,l[f])});this.outletDataSubscriptions.set(t,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function bg(n,e,i){let t=Jn(n,e._root,i?i._root:void 0);return new pi(t,e)}function Jn(n,e,i){if(i&&n.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let r=Dg(n,e,i);return new Se(t,r)}else{if(n.shouldAttach(e.value)){let s=n.retrieve(e.value);if(s!==null){let l=s.route;return l.value._futureSnapshot=e.value,l.children=e.children.map(u=>Jn(n,u)),l}}let t=Cg(e.value),r=e.children.map(s=>Jn(n,s));return new Se(t,r)}}function Dg(n,e,i){return e.children.map(t=>{for(let r of i.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return Jn(n,t,r);return Jn(n,t)})}function Cg(n){return new Dt(new pe(n.url),new pe(n.params),new pe(n.queryParams),new pe(n.fragment),new pe(n.data),n.outlet,n.component,n)}var qc="ngNavigationCancelingError";function Gc(n,e){let{redirectTo:i,navigationBehaviorOptions:t}=dn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Kc(!1,Ae.Redirect);return r.url=i,r.navigationBehaviorOptions=t,r}function Kc(n,e){let i=new Error("NavigationCancelingError: ".concat(n||""));return i[qc]=!0,i.cancellationCode=e,i}function Eg(n){return Yc(n)&&dn(n.url)}function Yc(n){return!!n&&n[qc]}var Sg=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Za({type:e,selectors:[["ng-component"]],standalone:!0,features:[pl],decls:1,vars:0,template:function(r,s){r&1&&hl(0,"router-outlet")},dependencies:[yg],encapsulation:2});let n=e;return n})();function Ag(n,e){var i;return n.providers&&!n._injector&&(n._injector=ns(n.providers,e,"Route: ".concat(n.path))),(i=n._injector)!=null?i:e}function Io(n){let e=n.children&&n.children.map(Io),i=e?se(T({},n),{children:e}):T({},n);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==M&&(i.component=Sg),i}function Ge(n){return n.outlet||M}function Tg(n,e){let i=n.filter(t=>Ge(t)===e);return i.push(...n.filter(t=>Ge(t)!==e)),i}function rr(n){var e;if(!n)return null;if((e=n.routeConfig)!=null&&e._injector)return n.routeConfig._injector;for(let i=n.parent;i;i=i.parent){let t=i.routeConfig;if(t!=null&&t._loadedInjector)return t._loadedInjector;if(t!=null&&t._injector)return t._injector}return null}var Ig=(n,e,i,t)=>L(r=>(new yo(e,r.targetRouterState,r.currentRouterState,i,t).activate(n),r)),yo=class{constructor(e,i,t,r,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=r,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),Zs(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let r=an(i);e.children.forEach(s=>{let l=s.value.outlet;this.deactivateRoutes(s,r[l],t),delete r[l]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(r===s)if(r.component){let l=t.getContext(r.outlet);l&&this.deactivateChildRoutes(e,i,l.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=an(e);for(let l of Object.values(s))this.deactivateRouteAndItsChildren(l,r);if(t&&t.outlet){let l=t.outlet.detach(),u=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:l,route:e,contexts:u})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=an(e);for(let l of Object.values(s))this.deactivateRouteAndItsChildren(l,r);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let r=an(i);
vendor: 5,518 bytes, line 1
1e.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new fo(s.value.snapshot))}),e.children.length&&this.forwardEvent(new uo(e.value.snapshot))}activateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(Zs(r),r===s)if(r.component){let l=t.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,l.children)}else this.activateChildRoutes(e,i,t);else if(r.component){let l=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let u=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),l.children.onOutletReAttached(u.contexts),l.attachRef=u.componentRef,l.route=u.route.value,l.outlet&&l.outlet.attach(u.componentRef,u.route.value),Zs(u.route.value),this.activateChildRoutes(e,null,l.children)}else{let u=rr(r.snapshot);l.attachRef=null,l.route=r,l.injector=u,l.outlet&&l.outlet.activateWith(r,l.injector),this.activateChildRoutes(e,null,l.children)}}else this.activateChildRoutes(e,null,t)}},mi=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},cn=class{constructor(e,i){this.component=e,this.route=i}};function Rg(n,e,i){let t=n._root,r=e?e._root:null;return jn(t,r,i,[t.value])}function Mg(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function gn(n,e){let i=Symbol(),t=e.get(n,i);return t===i?typeof n=="function"&&!Ka(n)?n:e.get(n):t}function jn(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=an(e);return n.children.forEach(l=>{Fg(l,s[l.value.outlet],i,t.concat([l.value]),r),delete s[l.value.outlet]}),Object.entries(s).forEach(([l,u])=>Wn(u,i.getContext(l),r)),r}function Fg(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=n.value,l=e?e.value:null,u=i?i.getContext(n.value.outlet):null;if(l&&s.routeConfig===l.routeConfig){let f=Pg(l,s,s.routeConfig.runGuardsAndResolvers);f?r.canActivateChecks.push(new mi(t)):(s.data=l.data,s._resolvedData=l._resolvedData),s.component?jn(n,e,u?u.children:null,t,r):jn(n,e,i,t,r),f&&u&&u.outlet&&u.outlet.isActivated&&r.canDeactivateChecks.push(new cn(u.outlet.component,l))}else l&&Wn(e,u,r),r.canActivateChecks.push(new mi(t)),s.component?jn(n,null,u?u.children:null,t,r):jn(n,null,i,t,r);return r}function Pg(n,e,i){if(typeof i=="function")return i(n,e);switch(i){case"pathParamsChange":return!Bt(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Bt(n.url,e.url)||!qe(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wo(n,e)||!qe(n.queryParams,e.queryParams);case"paramsChange":default:return!wo(n,e)}}function Wn(n,e,i){let t=an(n),r=n.value;Object.entries(t).forEach(([s,l])=>{r.component?e?Wn(l,e.children.getContext(s),i):Wn(l,null,i):Wn(l,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new cn(e.outlet.component,r)):i.canDeactivateChecks.push(new cn(null,r)):i.canDeactivateChecks.push(new cn(null,r))}function ir(n){return typeof n=="function"}function kg(n){return typeof n=="boolean"}function xg(n){return n&&ir(n.canLoad)}function Lg(n){return n&&ir(n.canActivate)}function Og(n){return n&&ir(n.canActivateChild)}function Ng(n){return n&&ir(n.canDeactivate)}function Bg(n){return n&&ir(n.canMatch)}function Zc(n){return n instanceof $a||(n==null?void 0:n.name)==="EmptyError"}var ii=Symbol("INITIAL_VALUE");function fn(){return oe(n=>br(n.map(e=>e.pipe(De(1),Wa(ii)))).pipe(L(e=>{for(let i of e)if(i!==!0){if(i===ii)return ii;if(i===!1||i instanceof vt)return i}return!0}),Pe(e=>e!==ii),De(1)))}function $g(n,e){return be(i=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:l}}=i;return l.length===0&&s.length===0?A(se(T({},i),{guardsResult:!0})):_g(l,t,r,n).pipe(be(u=>u&&kg(u)?Ug(t,s,n,e):A(u)),L(u=>se(T({},i),{guardsResult:u})))})}function _g(n,e,i,t){return ce(n).pipe(be(r=>Wg(r.component,r.route,i,e,t)),ct(r=>r!==!0,!0))}function Ug(n,e,i,t){return ce(e).pipe(je(r=>Sn(zg(r.route.parent,t),jg(r.route,t),Hg(n,r.path,i),Vg(n,r.route,i))),ct(r=>r!==!0,!0))}function jg(n,e){return n!==null&&e&&e(new ho(n)),A(!0)}function zg(n,e){return n!==null&&e&&e(new co(n)),A(!0)}function Vg(n,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return A(!0);let r=t.map(s=>Gt(()=>{var d;let l=(d=rr(e))!=null?d:i,u=gn(s,l),f=Lg(u)?u.canActivate(e,n):He(l,()=>u(e,n));return Ct(f).pipe(ct())}));return A(r).pipe(fn())}function Hg(n,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(l=>Mg(l)).filter(l=>l!==null).map(l=>Gt(()=>{let u=l.guards.map(f=>{var v;let d=(v=rr(l.node))!=null?v:i,g=gn(f,d),p=Og(g)?g.canActivateChild(t,n):He(d,()=>g(t,n));return Ct(p).pipe(ct())});return A(u).pipe(fn())}));return A(s).pipe(fn())}function Wg(n,e,i,t,r){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return A(!0);let l=s.map(u=>{var p;let f=(p=rr(e))!=null?p:r,d=gn(u,f),g=Ng(d)?d.canDeactivate(n,e,i,t):He(f,()=>d(n,e,i,t));return Ct(g).pipe(ct())});return A(l).pipe(fn())}function qg(n,e,i,t){let r=e.canLoad;if(r===void 0||r.length===0)return A(!0);let s=r.map(l=>{let u=gn(l,n),f=xg(u)?u.canLoad(e,i):He(n,()=>u(e,i));return Ct(f)});return A(s).pipe(fn(),Xc(t))}function Xc(n){return Oa(re(e=>{if(dn(e))throw Gc(n,e)}),L(e=>e===!0))}function Gg(n,e,i,t){let r=e.canMatch;if(!r||r.length===0)return A(!0);let s=r.map(l=>{let u=gn(l,n),f=Bg(u)?u.canMatch(e,i):He(n,()=>u(e,i));return Ct(f)});return A(s).pipe(fn(),Xc(t))}var Qn=class{constructor(e){this.segmentGroup=e||null}}
1,wi=class extends Error{constructor(e){super(),this.urlTree=e}};function on(n){return En(new Qn(n))}function Kg(n){return En(new W(4e3,!1))}function Yg(n){return En(Kc(!1,Ae.GuardRejected))}var bo=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let t=[],r=i.root;for(;;){if(t=t.concat(r.segments),r.numberOfChildren===0)return A(t);if(r.numberOfChildren>1||!r.children[M])return Kg(e.redirectTo);r=r.children[M]}}applyRedirectCommands(e,i,t){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i.startsWith("/"))throw new wi(r);return r}applyRedirectCreateUrlTree(e,i,t,r){let s=this.createSegmentGroup(e,i.root,t,r);return new vt(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([r,s])=>{if(typeof s=="string"&&s.startsWith(":")){let u=s.substring(1);t[r]=i[u]}else t[r]=s}),t}createSegmentGroup(e,i,t,r){let s=this.createSegments(e,i.segments,t,r),l={};return Object.entries(i.children).forEach(([u,f])=>{l[u]=this.createSegmentGroup(e,f,t,r)}),new _(s,l)}createSegments(e,i,t,r){return i.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,r):this.findOrReturn(s,t))}findPosParam(e,i,t){let r=t[i.path.substring(1)];if(!r)throw new W(4001,!1);return r}findOrReturn(e,i){let t=0;for(let r of i){if(r.path===e.path)return i.splice(t),r;t++}return e}},Do={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zg(n,e,i,t,r){let s=Ro(n,e,i);return s.matched?(t=Ag(e,t),Gg(t,e,i,r).pipe(L(l=>l===!0?s:T({},Do)))):A(s)}function Ro(n,e,i){var u,f;if(e.path==="**")return Xg(i);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||i.length>0)?T({},Do):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||qp)(i,n,e);if(!r)return T({},Do);let s={};Object.entries((u=r.posParams)!=null?u:{}).forEach(([d,g])=>{s[d]=g.path});let l=r.consumed.length>0?T(T({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:l,positionalParamSegments:(f=r.posParams)!=null?f:{}}}function Xg(n){return{matched:!0,parameters:n.length>0?Fc(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Tc(n,e,i,t){return i.length>0&&em(n,i,t)?{segmentGroup:new _(e,Qg(t,new _(i,n.children))),slicedSegments:[]}:i.length===0&&tm(n,i,t)?{segmentGroup:new _(n.segments,Jg(n,i,t,n.children)),slicedSegments:i}:{segmentGroup:new _(n.segments,n.children),slicedSegments:i}}function Jg(n,e,i,t){let r={};for(let s of i)if(bi(n,e,s)&&!t[Ge(s)]){let l=new _([],{});r[Ge(s)]=l}return T(T({},t),r)}function Qg(n,e){let i={};i[M]=e;for(let t of n)if(t.path===""&&Ge(t)!==M){let r=new _([],{});i[Ge(t)]=r}return i}function em(n,e,i){return i.some(t=>bi(n,e,t)&&Ge(t)!==M)}function tm(n,e,i){return i.some(t=>bi(n,e,t))}function bi(n,e,i){return(n.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function nm(n,e,i,t){return Ge(n)!==t&&(t===M||!bi(e,i,n))?!1:Ro(e,n,i).matched}function rm(n,e,i){return e.length===0&&!n.children[i]}var Co=class{};function im(n,e,i,t,r,s,l="emptyOnly"){return new Eo(n,e,i,t,r,l,s).recognize()}var sm=31,Eo=class{constructor(e,i,t,r,s,l,u){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=l,this.urlSerializer=u,this.applyRedirects=new bo(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new W(4002,"'".concat(e.segmentGroup,"'"))}recognize(){let e=Tc(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(L(i=>{let t=new Xn([],Object.freeze({}),Object.freeze(T({},this.urlTree.queryParams)),this.urlTree.fragment,{},M,this.rootComponentType,null,{}),r=new Se(t,i),s=new gi("",r),l=dg(t,[],this.urlTree.queryParams,this.urlTree.fragment);return l.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(l),this.inheritParamsAndData(s._root,null),{state:s,tree:l}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,M).pipe(Kt(t=>{if(t instanceof wi)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Qn?this.noMatchError(t):t}))}inheritParamsAndData(e,i){let t=e.value,r=Ao(t,i,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEac
1h(s=>this.inheritParamsAndData(s,t))}processSegmentGroup(e,i,t,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t):this.processSegment(e,i,t,t.segments,r,!0).pipe(L(s=>s instanceof Se?[s]:[]))}processChildren(e,i,t){let r=[];for(let s of Object.keys(t.children))s==="primary"?r.unshift(s):r.push(s);return ce(r).pipe(je(s=>{let l=t.children[s],u=Tg(i,s);return this.processSegmentGroup(e,u,l,s)}),Ha((s,l)=>(s.push(...l),s)),qi(null),Va(),be(s=>{if(s===null)return on(t);let l=Jc(s);return om(l),A(l)}))}processSegment(e,i,t,r,s,l){return ce(i).pipe(je(u=>{var f;return this.processSegmentAgainstRoute((f=u._injector)!=null?f:e,i,u,t,r,s,l).pipe(Kt(d=>{if(d instanceof Qn)return A(null);throw d}))}),ct(u=>!!u),Kt(u=>{if(Zc(u))return rm(t,r,s)?A(new Co):on(t);throw u}))}processSegmentAgainstRoute(e,i,t,r,s,l,u){return nm(t,r,s,l)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,t,s,l):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,t,s,l):on(r):on(r)}expandSegmentAgainstRouteUsingRedirect(e,i,t,r,s,l){let{matched:u,consumedSegments:f,positionalParamSegments:d,remainingSegments:g}=Ro(i,r,s);if(!u)return on(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>sm&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(f,r.redirectTo,d);return this.applyRedirects.lineralizeSegments(r,p).pipe(be(v=>this.processSegment(e,t,i,v.concat(g),l,!1)))}matchSegmentAgainstRoute(e,i,t,r,s){let l=Zg(i,t,r,e,this.urlSerializer);return t.path==="**"&&(i.children={}),l.pipe(oe(u=>{var f;return u.matched?(e=(f=t._injector)!=null?f:e,this.getChildConfig(e,t,r).pipe(oe(({routes:d})=>{var x,G,U;let g=(x=t._loadedInjector)!=null?x:e,{consumedSegments:p,remainingSegments:v,parameters:b}=u,R=new Xn(p,b,Object.freeze(T({},this.urlTree.queryParams)),this.urlTree.fragment,lm(t),Ge(t),(U=(G=t.component)!=null?G:t._loadedComponent)!=null?U:null,t,cm(t)),{segmentGroup:z,slicedSegments:E}=Tc(i,p,v,d);if(E.length===0&&z.hasChildren())return this.processChildren(g,d,z).pipe(L(K=>K===null?null:new Se(R,K)));if(d.length===0&&E.length===0)return A(new Se(R,[]));let D=Ge(t)===s;return this.processSegment(g,d,z,E,D?M:s,!0).pipe(L(K=>new Se(R,K instanceof Se?[K]:[])))}))):on(i)}))}getChildConfig(e,i,t){return i.children?A({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?A({routes:i._loadedRoutes,injector:i._loadedInjector}):qg(e,i,t,this.urlSerializer).pipe(be(r=>r?this.configLoader.loadChildren(e,i).pipe(re(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):Yg(i))):A({routes:[],injector:e})}};function om(n){n.sort((e,i)=>e.value.outlet===M?-1:i.value.outlet===M?1:e.value.outlet.localeCompare(i.value.outlet))}function am(n){let e=n.value.routeConfig;return e&&e.path===""}function Jc(n){let e=[],i=new Set;for(let t of n){if(!am(t)){e.push(t);continue}let r=e.find(s=>t.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...t.children),i.add(r)):e.push(t)}for(let t of i){let r=Jc(t.children);e.push(new Se(t.value,r))}return e.filter(t=>!i.has(t))}function lm(n){return n.data||{}}function cm(n){return n.resolve||{}}function um(n,e,i,t,r,s){return be(l=>im(n,e,i,t,l.extractedUrl,r,s).pipe(L(({state:u,tree:f})=>se(T({},l),{targetSnapshot:u,urlAfterRedirects:f}))))}function dm(n,e){return be(i=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=i;if(!r.length)return A(i);let s=new Set(r.map(f=>f.route)),l=new Set;for(let f of s)if(!l.has(f))for(let d of Qc(f))l.add(d);let u=0;return ce(l).pipe(je(f=>s.has(f)?hm(f,t,n,e):(f.data=Ao(f,f.parent,n).resolve,A(void 0))),re(()=>u++),Gi(1),be(f=>u===l.size?A(i):lt))})}function Qc(n){let e=n.children.map(i=>Qc(i)).flat();return[n,...e]}function hm(n,e,i,t){let r=n.routeConfig,s=n._resolve;return(r==null?void 0:r.title)!==void 0&&!Wc(r)&&(s[tr]=r.title),fm(s,n,e,t).pipe(L(l=>(n._resolvedData=l,n.data=Ao(n,n.parent,i).resolve,null)))}function fm(n,e,i,t){let r=Qs(n);if(r.length===0)return A({});let s={};return ce(r).pipe(be(l=>pm(n[l],e,i,t).pipe(ct(),re(u=>{s[l]=u}))),Gi(1),za(s),Kt(l=>Zc(l)?lt:En(l)))}function pm(n,e,i,t){var u;let r=(u=rr(e))!=null?u:t,s=gn(n,r),l=s.resolve?s.resolve(e,i):He(r,()=>s(e,i));return Ct(l)}function Xs(n){return oe(e=>{let i=n(e);return i?ce(i).pipe(L(()=>e)):A(e)})}var eu=(()=>{let e=class e{buildTitle(t){var l;let r,s=t.root;for(;s!==void 0;)r=(l=this.getResolvedTitleForRoute(s))!=null?l:r,s=s.children.find(u=>u.outlet===M);return r}getResolvedTitleForRoute(t){return t.data[tr]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>C(gm),providedIn:"root"});let n=e;return n})(),gm=(()=>{let e=class e extends eu{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(y(yc))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),sr=new P("",{providedIn:"root",factory:()=>({})}),er=new P(""),Mo=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Mr)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return A(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Ct(t.loadComponent()).pipe(L(tu),re(l=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=l}),Ft(()=>{this.componentLoaders.delete(t)})),s=new Hi(r,()=>new at).pipe(Vi());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return A({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let l=mm(r,this.compiler,t,this.onLoadEndListener).pipe(Ft(()=>{this.childrenLoaders.delete(r)})),u=new Hi(l,()=>new at).pipe(Vi());return this.childrenLoaders.set(r,u),u}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function mm(n,e,i,t){return Ct(n.loadChildren()).pipe(L(tu),be(r=>r instanceof ul||Array.isArray(r)?A(r):ce(e.compileModuleAsync(r))),L(r=>{t&&t(n);let s,l,u=!1;return Array.isArray(r)?(l=r,u=!0):(s=r.create(i).injector,l=s.get(er,[],{optional:!0,self:!0}).flat()),{routes:l.map(Io),injector:s}}
1))}function wm(n){return n&&typeof n=="object"&&"default"in n}function tu(n){return wm(n)?n.default:n}var Fo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>C(vm),providedIn:"root"});let n=e;return n})(),vm=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),nu=new P(""),ru=new P("");function ym(n,e,i){let t=n.get(ru),r=n.get(te);return n.get(ae).runOutsideAngular(()=>{if(!r.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(d=>setTimeout(d));let s,l=new Promise(d=>{s=d}),u=r.startViewTransition(()=>(s(),bm(n))),{onViewTransitionCreated:f}=t;return f&&He(n,()=>f({transition:u,from:e,to:i})),l})}function bm(n){return new Promise(e=>{es(e,{injector:n})})}var Di=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new at,this.transitionAbortSubject=new at,this.configLoader=C(Mo),this.environmentInjector=C(dt),this.urlSerializer=C(pn),this.rootContexts=C(nr),this.location=C(rn),this.inputBindingEnabled=C(yi,{optional:!0})!==null,this.titleStrategy=C(eu),this.options=C(sr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(Fo),this.createViewTransition=C(nu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>A(void 0),this.rootComponentType=null;let t=s=>this.events.next(new ao(s)),r=s=>this.events.next(new lo(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){var t;(t=this.transitions)==null||t.complete()}handleNavigationRequest(t){var s;let r=++this.navigationId;(s=this.transitions)==null||s.next(se(T(T({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,s){return this.transitions=new pe({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Hn,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Pe(l=>l.id!==0),L(l=>se(T({},l),{extractedUrl:this.urlHandlingStrategy.extract(l.rawUrl)})),oe(l=>{let u=!1,f=!1;return A(l).pipe(oe(d=>{var v;if(this.navigationId>l.id)return this.cancelNavigationTransition(l,"",Ae.SupersededByNewNavigation),lt;this.currentTransition=l,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?se(T({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let g=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=(v=d.extras.onSameUrlNavigation)!=null?v:t.onSameUrlNavigation;if(!g&&p!=="reload"){let b="";return this.events.next(new bt(d.id,this.urlSerializer.serialize(d.rawUrl),b,ui.IgnoredSameUrlNavigation)),d.resolve(null),lt}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return A(d).pipe(oe(b=>{var z,E;let R=(z=this.transitions)==null?void 0:z.getValue();return this.events.next(new hn(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),R!==((E=this.transitions)==null?void 0:E.getValue())?lt:Promise.resolve(b)}),um(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),re(b=>{l.targetSnapshot=b.targetSnapshot,l.urlAfterRedirects=b.urlAfterRedirects,this.currentNavigation=se(T({},this.currentNavigation),{finalUrl:b.urlAfterRedirects});let R=new di(b.id,this.urlSerializer.serialize(b.extractedUrl),this.urlSerializer.serialize(b.urlAfterRedirects),b.targetSnapshot);this.events.next(R)}));if(g&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:b,extractedUrl:R,source:z,restoredState:E,extras:D}=d,x=new hn(b,this.urlSerializer.serialize(R),z,E);this.events.next(x);let G=Vc(this.rootComponentType).snapshot;return this.currentTransition=l=se(T({},d),{targetSnapshot:G,urlAfterRedirects:R,extras:se(T({},D),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=R,A(l)}else{let b="";return this.events.next(new bt(d.id,this.urlSerializer.serialize(d.extractedUrl),b,ui.IgnoredByUrlHandlingStrategy)),d.resolve(null),lt}}
1),re(d=>{let g=new ro(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(g)}),L(d=>(this.currentTransition=l=se(T({},d),{guards:Rg(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),l)),$g(this.environmentInjector,d=>this.events.next(d)),re(d=>{if(l.guardsResult=d.guardsResult,dn(d.guardsResult))throw Gc(this.urlSerializer,d.guardsResult);let g=new io(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(g)}),Pe(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",Ae.GuardRejected),!1)),Xs(d=>{if(d.guards.canActivateChecks.length)return A(d).pipe(re(g=>{let p=new so(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(p)}),oe(g=>{let p=!1;return A(g).pipe(dm(this.paramsInheritanceStrategy,this.environmentInjector),re({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(g,"",Ae.NoDataFromResolver)}}))}),re(g=>{let p=new oo(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(p)}))}),Xs(d=>{let g=p=>{var b;let v=[];(b=p.routeConfig)!=null&&b.loadComponent&&!p.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(p.routeConfig).pipe(re(R=>{p.component=R}),L(()=>{})));for(let R of p.children)v.push(...g(R));return v};return br(g(d.targetSnapshot.root)).pipe(qi(null),De(1))}),Xs(()=>this.afterPreactivation()),oe(()=>{var v;let{currentSnapshot:d,targetSnapshot:g}=l,p=(v=this.createViewTransition)==null?void 0:v.call(this,this.environmentInjector,d.root,g.root);return p?ce(p).pipe(L(()=>l)):A(l)}),L(d=>{let g=bg(t.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=l=se(T({},d),{targetRouterState:g}),this.currentNavigation.targetRouterState=g,l}),re(()=>{this.events.next(new Yn)}),Ig(this.rootContexts,t.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),De(1),re({next:d=>{var g;u=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Fe(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),(g=this.titleStrategy)==null||g.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{u=!0}}),qa(this.transitionAbortSubject.pipe(re(d=>{throw d}))),Ft(()=>{var d;!u&&!f&&this.cancelNavigationTransition(l,"",Ae.SupersededByNewNavigation),((d=this.currentTransition)==null?void 0:d.id)===l.id&&(this.currentNavigation=null,this.currentTransition=null)}),Kt(d=>{var g;if(f=!0,Yc(d))this.events.next(new yt(l.id,this.urlSerializer.serialize(l.extractedUrl),d.message,d.cancellationCode)),Eg(d)?this.events.next(new Zn(d.url)):l.resolve(!1);else{this.events.next(new Kn(l.id,this.urlSerializer.serialize(l.extractedUrl),d,(g=l.targetSnapshot)!=null?g:void 0));try{l.resolve(t.errorHandler(d))}catch(p){this.options.resolveNavigationPromiseOnError?l.resolve(!1):l.reject(p)}}return lt}))}))}cancelNavigationTransition(t,r,s){let l=new yt(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(l),t.resolve(!1)}isUpdatingInternalState(){var t,r;return((t=this.currentTransition)==null?void 0:t.extractedUrl.toString())!==((r=this.currentTransition)==null?void 0:r.currentUrlTree.toString())}isUpdatedBrowserUrl(){var r,s;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==((r=this.currentTransition)==null?void 0:r.extractedUrl.toString())&&!((s=this.currentTransition)!=null&&s.extras.skipLocationChange)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Dm(n){return n!==Hn}var Cm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>C(Em),providedIn:"root"});let n=e;return n})(),So=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},Em=(()=>{let e=class e extends So{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=Ze(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),iu=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>C(Sm),providedIn:"root"});let n=e;return n})(),Sm=(()=>{let e=class e extends iu{constructor(){super(...arguments),this.location=C(rn),this.urlSerializer
1=C(pn),this.options=C(sr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(Fo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Vc(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var t,r;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(r=(t=this.restoredState())==null?void 0:t.\u0275routerPageId)!=null?r:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof hn)this.stateMemento=this.createStateMemento();else if(t instanceof bt)this.rawUrlTree=r.initialUrl;else if(t instanceof di){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else t instanceof Yn?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof yt&&(t.code===Ae.GuardRejected||t.code===Ae.NoDataFromResolver)?this.restoreHistory(r):t instanceof Kn?this.restoreHistory(r,!0):t instanceof Fe&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let s=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let l=this.browserPageId,u=T(T({},r.extras.state),this.generateNgRouterState(r.id,l));this.location.replaceState(s,"",u)}else{let l=T(T({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",l)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,l=this.currentPageId-s;l!==0?this.location.historyGo(l):this.currentUrlTree===t.finalUrl&&l===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){var r;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(r=t.finalUrl)!=null?r:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=Ze(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),zn=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(zn||{});function su(n,e){n.events.pipe(Pe(i=>i instanceof Fe||i instanceof yt||i instanceof Kn||i instanceof bt),L(i=>i instanceof Fe||i instanceof bt?zn.COMPLETE:(i instanceof yt?i.code===Ae.Redirect||i.code===Ae.SupersededByNewNavigation:!1)?zn.REDIRECTING:zn.FAILED),Pe(i=>i!==zn.REDIRECTING),De(1)).subscribe(()=>{e()})}function Am(n){throw n}var Tm={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Im={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Le=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var t,r;this.disposed=!1,this.isNgZoneEnabled=!1,this.console=C(Er),this.stateManager=C(iu),this.options=C(sr,{optional:!0})||{},this.pendingTasks=C(Mn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(Di),this.urlSerializer
1=C(pn),this.location=C(rn),this.urlHandlingStrategy=C(Fo),this._events=new at,this.errorHandler=this.options.errorHandler||Am,this.navigated=!1,this.routeReuseStrategy=C(Cm),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(r=(t=C(er,{optional:!0}))==null?void 0:t.flat())!=null?r:[],this.componentInputBindingEnabled=!!C(yi,{optional:!0}),this.eventsSubscription=new La,this.isNgZoneEnabled=C(ae)instanceof ae&&ae.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:s=>{this.console.warn(s)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,l=this.navigationTransitions.currentNavigation;if(s!==null&&l!==null){if(this.stateManager.handleRouterEvent(r,l),r instanceof yt&&r.code!==Ae.Redirect&&r.code!==Ae.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Fe)this.navigated=!0;else if(r instanceof Zn){let u=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),f={info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Dm(s.source)};this.scheduleNavigation(u,Hn,null,f,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}Mm(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Hn,this.stateManager.restoredState())}setUpLocationChangeListener(){var t;(t=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,s)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",s)},0)}))}navigateToSyncWithBrowser(t,r,s){let l={replaceUrl:!0},u=s!=null&&s.navigationId?s:null;if(s){let d=T({},s);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(l.state=d)}let f=this.parseUrl(t);this.scheduleNavigation(f,r,u,l)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Io),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:s,queryParams:l,fragment:u,queryParamsHandling:f,preserveFragment:d}=r,g=d?this.currentUrlTree.fragment:u,p=null;switch(f){case"merge":p=T(T({},this.currentUrlTree.queryParams),l);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=l||null}p!==null&&(p=this.removeEmptyProps(p));let v;try{let b=s?s.snapshot:this.routerState.snapshot.root;v=_c(b)}catch(b){(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),v=this.currentUrlTree.root}return Uc(v,t,p,g!=null?g:null)}navigateByUrl(t,r={skipLocationChange:!1}){let s=dn(t)?t:this.parseUrl(t),l=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(l,Hn,null,r)}navigate(t,r={skipLocationChange:!1}){return Rm(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch(r){return this.urlSerializer.parse("/")}}isActive(t,r){let s;if(r===!0?s=T({},Tm):r===!1?s=T({},Im):s=r,dn(t))return Dc(this.currentUrlTree,t,s);let l=this.parseUrl(t);return Dc(this.currentUrlTree,l,s)}removeEmptyProps(t){return Object.entries(t).reduce((r,[s,l])=>(l!=null&&(r[s]=l),r),{})}scheduleNavigation(t,r,s,l,u){if(this.disposed)return Promise.resolve(!1);let f,d,g;u?(f=u.resolve,d=u.reject,g=u.promise):g=new Promise((v,b)=>{f=v,d=b});let p=this.pendingTasks.add();return su(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:l,resolve:f,reject:d,promise:g,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),g.catch(v=>Promise.reject(v))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Rm(n){for(let e=0;e<n.length;e++)if(n[e]==null)throw new W(4008,!1)}function Mm(n){return!(n instanceof Yn)&&!(n instanceof Zn)}var Jv=(()=>{let e=class e{constructor(t,r,s,l,u,f){var g;this.router=t,this.route=r,this.tabIndexAttribute=s,this.renderer=l,this.el=u,this.locationStrategy=f,this.href=null,this.commands=null,this.onChanges=new at,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=(g=u.nativeElement.tagName)==null?void 0:g.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=t.events.subscribe(p=>{p instanceof Fe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,s,l,u){let f=this.urlTree;if(f===null||this.isAnchorElement&&(t!==0||r||s||l||u||typeof this.target=="string"&&this.target!="_self"))return!0;
1let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(f,d),!this.isAnchorElement}ngOnDestroy(){var t;(t=this.subscription)==null||t.unsubscribe()}updateHref(){var s;let t=this.urlTree;this.href=t!==null&&this.locationStrategy?(s=this.locationStrategy)==null?void 0:s.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:al(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let s=this.renderer,l=this.el.nativeElement;r!==null?s.setAttribute(l,t,r):s.removeAttribute(l,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(k(Le),k(Dt),Xi("tabindex"),k(Xt),k(Pt),k(nt))},e.\u0275dir=Ce({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&fl("click",function(u){return s.onClick(u.button,u.ctrlKey,u.shiftKey,u.altKey,u.metaKey)}),r&2&&dl("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Yt.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Pn],skipLocationChange:[Yt.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Pn],replaceUrl:[Yt.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Pn],routerLink:"routerLink"},standalone:!0,features:[ts,In]});let n=e;return n})();var vi=class{};var Qv=(()=>{let e=class e{preload(t,r){return A(null)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Fm=(()=>{let e=class e{constructor(t,r,s,l,u){this.router=t,this.injector=s,this.preloadingStrategy=l,this.loader=u}setUpPreloading(){this.subscription=this.router.events.pipe(Pe(t=>t instanceof Fe),je(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){var l,u,f;let s=[];for(let d of r){d.providers&&!d._injector&&(d._injector=ns(d.providers,t,"Route: ".concat(d.path)));let g=(l=d._injector)!=null?l:t,p=(u=d._loadedInjector)!=null?u:g;(d.loadChildren&&!d._loadedRoutes&&d.canLoad===void 0||d.loadComponent&&!d._loadedComponent)&&s.push(this.preloadConfig(g,d)),(d.children||d._loadedRoutes)&&s.push(this.processRoutes(p,(f=d.children)!=null?f:d._loadedRoutes))}return ce(s).pipe(Wi())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let s;r.loadChildren&&r.canLoad===void 0?s=this.loader.loadChildren(t,r):s=A(null);let l=s.pipe(be(u=>{var f;return u===null?A(void 0):(r._loadedRoutes=u.routes,r._loadedInjector=u.injector,this.processRoutes((f=u.injector)!=null?f:t,u.routes))}));if(r.loadComponent&&!r._loadedComponent){let u=this.loader.loadComponent(r);return ce([l,u]).pipe(Wi())}else return l})}};e.\u0275fac=function(r){return new(r||e)(y(Le),y(Mr),y(dt),y(vi),y(Mo))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Po=new P(""),ou=(()=>{let e=class e{constructor(t,r,s,l,u={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=s,this.zone=l,this.options=u,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=C(dt),u.scrollPositionRestoration||(u.scrollPositionRestoration="disabled"),u.anchorScrolling||(u.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(t=>{t instanceof hn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Fe?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof bt&&t.code===ui.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof hi&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>_e(this,null,function*(){yield new Promise(s=>{setTimeout(()=>{s()}),es(()=>{s()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new hi(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){var t,r;(t=this.routerEventsSubscription)==null||t.unsubscribe(),(r=this.scrollEventsSubscription)==null||r.unsubscribe()}};e.\u0275fac=function(r){ll()},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function ey(n,...e){return Tn([{provide:er,multi:!0,useValue:n},[],{provide:Dt,useFactory:au,deps:[Le]},{provide:Ir,multi:!0,useFactory:lu},e.map(i=>i.\u0275providers)])}function au(n){return n.routerState.root}function mn(n,e){return{\u0275kind:n,\u0275providers:e}}function ty(n={}){return mn(4,[{provide:Po,useFactory:()=>{let i=C(xs),t=C(ae),r=C(Di),s=C(pn);return new ou(s,r,i,t,n)}}])}function lu(){let n=C(Dr);return e=>{var s,l;let i=n.get(Rr);if(e!==i.components[0])return;let t=n.get(Le),r=n.get(cu);n.get(ko)===1&&t.initialNavigation(),(s=n.get(uu,null,Yi.Optional))==null||s.setUpPreloading(),(l=n.get(Po,null,Yi.Optional))==null||l.init(
1),t.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var cu=new P("",{factory:()=>new at}),ko=new P("",{providedIn:"root",factory:()=>1});function Pm(){return mn(2,[{provide:ko,useValue:0},{provide:is,multi:!0,deps:[Dr],useFactory:e=>{let i=e.get(Wl,Promise.resolve());return()=>i.then(()=>new Promise(t=>{let r=e.get(Le),s=e.get(cu);su(r,()=>{t(!0)}),e.get(Di).afterPreactivation=()=>(t(!0),s.closed?A(void 0):s),r.initialNavigation()}))}}])}function km(){return mn(3,[{provide:is,multi:!0,useFactory:()=>{let e=C(Le);return()=>{e.setUpLocationChangeListener()}}},{provide:ko,useValue:2}])}var uu=new P("");function xm(n){return mn(0,[{provide:uu,useExisting:Fm},{provide:vi,useExisting:n}])}function Lm(){return mn(8,[Ac,{provide:yi,useExisting:Ac}])}function Om(n){let e=[{provide:nu,useValue:ym},{provide:ru,useValue:T({skipNextTransition:!!(n!=null&&n.skipInitialTransition)},n)}];return mn(9,e)}var Ic=new P("ROUTER_FORROOT_GUARD"),Nm=[rn,{provide:pn,useClass:qn},Le,nr,{provide:Dt,useFactory:au,deps:[Le]},Mo,[]],ny=(()=>{let e=class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[Nm,[],{provide:er,multi:!0,useValue:t},{provide:Ic,useFactory:Um,deps:[[Le,new Zi,new Ya]]},{provide:sr,useValue:r||{}},r!=null&&r.useHash?$m():_m(),Bm(),r!=null&&r.preloadingStrategy?xm(r.preloadingStrategy).\u0275providers:[],r!=null&&r.initialNavigation?jm(r):[],r!=null&&r.bindToComponentInputs?Lm().\u0275providers:[],r!=null&&r.enableViewTransitions?Om().\u0275providers:[],zm()]}}static forChild(t){return{ngModule:e,providers:[{provide:er,multi:!0,useValue:t}]}}};e.\u0275fac=function(r){return new(r||e)(y(Ic,8))},e.\u0275mod=Ve({type:e}),e.\u0275inj=ze({});let n=e;return n})();function Bm(){return{provide:Po,useFactory:()=>{let n=C(xs),e=C(ae),i=C(sr),t=C(Di),r=C(pn);return i.scrollOffset&&n.setOffset(i.scrollOffset),new ou(r,t,n,e,i)}}}function $m(){return{provide:nt,useClass:Gl}}function _m(){return{provide:nt,useClass:Ts}}function Um(n){return"guarded"}function jm(n){return[n.initialNavigation==="disabled"?km().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Pm().\u0275providers:[]]}var Rc=new P("");function zm(){return[{provide:Rc,useFactory:lu},{provide:Ir,multi:!0,useExisting:Rc}]}function du(){if(typeof process>"u"){var n=typeof window<"u"?window:{},e=5e3,i=Date.now(),t=!1;n.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-i)+" ms"),t=!0}),setTimeout(function(){!t&&n.cordova&&console.warn("Ionic Native: deviceready did not fire within "+e+"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},e)}}var Hm={error:"cordova_not_available"},Wm={error:"plugin_not_installed"};function or(n){var e=function(){if(Promise)return new Promise(function(s,l){n(s,l)});console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")};if(typeof window<"u"&&window.angular){var i=window.document,t=window.angular.element(i.querySelector("[ng-app]")||i.body).injector();if(t){var r=t.get("$q");return r(function(s,l){n(s,l)})}console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return e()}function qm(n,e,i,t){t===void 0&&(t={});var r,s,l=or(function(u,f){t.destruct?r=Et(n,e,i,t,function(){for(var d=[],g=0;g<arguments.length;g++)d[g]=arguments[g];return u(d)},function(){for(var d=[],g=0;g<arguments.length;g++)d[g]=arguments[g];return f(d)}):r=Et(n,e,i,t,u,f),s=f});return r&&r.error&&(l.catch(function(){}),typeof s=="function"&&s(r.error)),l}function Gm(n,e,i,t){return t===void 0&&(t={}),or(function(r,s){var l=Et(n,e,i,t);l?l.error?s(l.error):l.then&&l.then(r).catch(s):s({error:"unexpected_error"})})}function Km(n,e,i,t){return t===void 0&&(t={}),new Mt(function(r){var s;return t.destruct?s=Et(n,e,i,t,function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return r.next(l)},function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return r.error(l)}):s=Et(n,e,i,t,r.next.bind(r),r.error.bind(r)),s&&s.error&&(r.error(s.error),r.complete()),function(){try{if(t.clearFunction)return t.clearWithArgs?Et(n,t.clearFunction,i,t,r.next.bind(r),r.error.bind(r)):Et(n,t.clearFunction,[])}catch(l){console.warn("Unable to clear the previous observable watch for",n.constructor.getPluginName(),e),console.warn(l)}}})}function Ym(n,e){return e=typeof window<"u"&&e?fu(window,e):e||(typeof window<"u"?window:{}),ja(e,n)}function St(n,e,i){var t,r;typeof n=="string"?t=n:(t=n.constructor.getPluginRef(),i=n.constructor.getPluginName(),r=n.constructor.getPluginInstallName());var s=wn(t);return!s||e&&typeof s[e]>"u"?typeof window>"u"||!window.cordova?(Xm(i,e),Hm):(Zm(i,r,e),Wm):!0}
1function Ci(n,e){return n._objectInstance&&(!e||typeof n._objectInstance[e]<"u")}function hu(n,e,i,t){if(e===void 0&&(e={}),e.sync)return n;if(e.callbackOrder==="reverse")n.unshift(t),n.unshift(i);else if(e.callbackStyle==="node")n.push(function(u,f){u?t(u):i(f)});else if(e.callbackStyle==="object"&&e.successName&&e.errorName){var r={};r[e.successName]=i,r[e.errorName]=t,n.push(r)}else if(typeof e.successIndex<"u"||typeof e.errorIndex<"u"){var s=function(){e.successIndex>n.length?n[e.successIndex]=i:n.splice(e.successIndex,0,i)},l=function(){e.errorIndex>n.length?n[e.errorIndex]=t:n.splice(e.errorIndex,0,t)};e.successIndex>e.errorIndex?(l(),s()):(s(),l())}else n.push(i),n.push(t);return n}function Et(n,e,i,t,r,s){t===void 0&&(t={}),i=hu(i,t,r,s);var l=St(n,e);if(l===!0){var u=wn(n.constructor.getPluginRef());return u[e].apply(u,i)}else return l}function rt(n,e,i,t,r,s){if(t===void 0&&(t={}),i=hu(i,t,r,s),Ci(n,e))return n._objectInstance[e].apply(n._objectInstance,i)}function wn(n){return typeof window<"u"?fu(window,n):null}function fu(n,e){for(var i=e.split("."),t=n,r=0;r<i.length;r++){if(!t)return null;t=t[i[r]]}return t}function Zm(n,e,i){console.warn(i?"Native: tried calling "+n+"."+i+", but the "+n+" plugin is not installed.":"Native: tried accessing the "+n+" plugin but it's not installed."),e&&console.warn("Install the "+n+" plugin: 'ionic cordova plugin add "+e+"'")}function Xm(n,e){typeof process>"u"&&console.warn(e?"Native: tried calling "+n+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+n+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}var xo=function(n,e,i){return i===void 0&&(i={}),function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return i.sync?Et(n,e,t,i):i.observable?Km(n,e,t,i):i.eventObservable&&i.event?Ym(i.event,i.element):i.otherPromise?Gm(n,e,t,i):qm(n,e,t,i)}};function pu(n,e,i){return i===void 0&&(i={}),function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(i.sync)return rt(n,e,t,i);if(i.observable)return new Mt(function(f){var d;return i.destruct?d=rt(n,e,t,i,function(){for(var g=[],p=0;p<arguments.length;p++)g[p]=arguments[p];return f.next(g)},function(){for(var g=[],p=0;p<arguments.length;p++)g[p]=arguments[p];return f.error(g)}):d=rt(n,e,t,i,f.next.bind(f),f.error.bind(f)),d&&d.error&&f.error(d.error),function(){try{return i.clearWithArgs?rt(n,i.clearFunction,t,i,f.next.bind(f),f.error.bind(f)):rt(n,i.clearFunction,[])}catch(g){console.warn("Unable to clear the previous observable watch for",n.constructor.getPluginName(),e),console.warn(g)}}});if(i.otherPromise)return or(function(f,d){var g;i.destruct?g=rt(n,e,t,i,function(){for(var p=[],v=0;v<arguments.length;v++)p[v]=arguments[v];return f(p)},function(){for(var p=[],v=0;v<arguments.length;v++)p[v]=arguments[v];return d(p)}):g=rt(n,e,t,i,f,d),g&&g.then?g.then(f,d):d()});var s,l,u=or(function(f,d){i.destruct?s=rt(n,e,t,i,function(){for(var g=[],p=0;p<arguments.length;p++)g[p]=arguments[p];return f(g)},function(){for(var g=[],p=0;p<arguments.length;p++)g[p]=arguments[p];return d(g)}):s=rt(n,e,t,i,f,d),l=d});return s&&s.error&&(u.catch(function(){}),typeof l=="function"&&l(s.error)),u}}function gu(n,e){for(var i=e.split("."),t=n,r=0;r<i.length;r++){if(!t)return null;t=t[i[r]]}return t}var Lo=function(){function n(){}return n.installed=function(){var e=St(this.pluginRef)===!0;return e},n.getPlugin=function(){return typeof window<"u"?gu(window,this.pluginRef):null},n.getPluginName=function(){var e=this.pluginName;return e},n.getPluginRef=function(){var e=this.pluginRef;return e},n.getPluginInstallName=function(){var e=this.plugin;return e},n.getSupportedPlatforms=function(){var e=this.platforms;return e},n.pluginName="",n.pluginRef="",n.plugin="",n.repo="",n.platforms=[],n.install="",n}();function hy(n,e,i,t){return xo(n,e,i).apply(this,t)}function $t(n,e,i,t){return t=Array.from(t),pu(n,e,i).apply(this,t)}function yy(n,e){return St(n,e)===!0?wn(n.constructor.getPluginRef())[e]:null}function by(n,e,i){St(n,e)===!0&&(wn(n.constructor.getPluginRef())[e]=i)}du();var Jm=function(){function n(e,i,t){try{t&&typeof t!="string"&&(t=Object.keys(t).map(function(r){return r+"="+t[r]}).join(",")),this._objectInstance=cordova.InAppBrowser.open(e,i,t)}catch(r){typeof window<"u"&&window.open(e,i),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open.")}}return n.prototype._loadAfterBeforeload=function(e){return $t(this,"_loadAfterBeforeload",{sync:!0},arguments)},n.prototype.show=function(){return $t(this,"show",{sync:!0},arguments)},n.prototype.close=function(){return $t(this,"close",{sync:!0},arguments)},n.prototype.hide=function(){return $t(this,"hide",{sync:!0},arguments)},n.prototype.executeScript=function(e){return $t(this,"executeScript",{},arguments)},n.prototype.insertCSS=function(e){return $t(this,"insertCSS",{},arguments)},n.prototype.on=function(e){var i=this;return function(){if(Ci(i)===!0)return new Mt(function(t){return i._objectInstance.addEventListener(e,t.next.bind(t)),function(){return i._objectInstance.removeEventListener(e,t.next.bind(t))}})}()},n}();var mu=function(n){Na(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.create=function(i,t,r){return new Jm(i,t,r)},e.\u0275fac=(()=>{let i;return function(r){return(i||(i=Ze(e)))(r||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac}),e.pluginName="InAppBrowser",e.plugin="cordova-plugin-inappbrowser",e.pluginRef="cordova.InAppBrowser",e.repo="https://github.com/apache/cordova-plugin-inappbrowser",e.platforms=["AmazonFire OS","Android","Browser","iOS","macOS","Windows"],e=Ba([],e),e}(Lo);var de=Qh(wu());var vu=(()=>{let e=class e{constructor(t){this.translate=t}popConfirm(t,r){let s={icon:"question",html:t,width:"400px",target:document.getElementById("swal2-container"),heightAuto:!1,customClass:{popup:"swal2-popup-custom",htmlContainer:"swal2-content-custom",confirmButton:"swal2-confirm-custom",cancelButton:"swal2-cancel-custom"},scrollbarPadding:!1,showCancelButton:!0,confirmButtonText:this.translate.instant("confirm"),cancelButtonText:this.translate.instant("cancel"),allowEnterKey:!1};de.default.fire(s).then(function(l){r(l.isConfirmed)})}popConfirmNoCancel(t,r){let s={html:t,width:"400px",target:document.getElementById("swal2-container"),heightAuto:!1,customClass:{popup:"swal2-popup-custom",htmlContainer:"swal2-content-custom",confirmButton:"swal2-confirm-custom",closeButton:"swal2-close-custom2"},scrollbarPadding:!1,showCancelButton:!1,confirmButtonText:" "+this.translate.instant("confirm")+" ",allowEnterKey:!1,showCloseButton:!0};de.default.fire(s).then(function(l){r(l.isConfirmed)})}popMessage(t,r,s){let l="info";if(r)switch(r){case 1:l="success";break;case 2:l="error";break;default:l="info";break}let u={html:t,icon:l,width:"400px",target:document.getElementById("swal2-container"),heightAuto:!1,customClass:{popup:"swal2-popup-custom",htmlContainer:"swal2-content-custom",closeButton:"swal2-close-custom"},scrollbarPadding:!1,showConfirmButton:!1,showCloseButton:!0};s?de.default.fire(u).then(function(){s()}):de.default.fire(u)}popMessageOption(t,r,s,l){let u="info";if(r)switch(r){case 1:u="success";break;case 2:u="error";break;default:u="info";break}let f={html:t,icon:u,width:"400px",target:document.getElementById("swal2-container"),timer:s,heightAuto:!1,customClass:{popup:"swal2-popup-custom",htmlContainer:"swal2-content-custom",closeButton:"swal2-close-custom"},scrollbarPadding:!1,showConfirmButton:!1,showCloseButton:!0};l?de.default.fire(f).then(function(){l()}):de.default.fire(f)}popImage(t,r,s="info",l){let u={icon:s,html:'<div style="height:300px;line-height:300px"><span class="loading"></span></div>',width:"400px",imageUrl:t,imageWidth:300,target:document.getElementById("swal2-container"),heightAuto:!1,customClass:{popup:"swal2-popup-custom",htmlContainer:"swal2-content-custom",closeButton:"swal2-close-custom"},scrollbarPadding:!1,showConfirmButton:!1,showCloseButton:!0,showClass:{icon:["swal2-icon-show","swal2-icon-hidden"]},didOpen:()=>{let f=de.default.getIcon(),d=de.default.getHtmlContainer().querySelector("div"),g=de.default.getImage();g.src="",g.onload=p=>{d.style.display="none",f.classList.remove("swal2-icon-hidden");
1let v=document.createTextNode(r);de.default.getHtmlContainer().appendChild(v)},g.src=t}};de.default.fire(u).then(function(){l()})}popBank(t,r="info",s){let l=D=>D.charAt(0).toLowerCase()+D.slice(1),u=this.translate.instant("depositPage.accountNoCopied"),f;try{f=JSON.parse(t)}catch(D){f=JSON.parse("{".concat(t,"}"))}let d=Object.keys(f),g=d.includes("bankName"),p=d.find(D=>D==="accountNo"||D==="AccountNo"),v=d.includes("walletAddress"),b=d.filter(D=>D!=="bankName"&&D!=="walletAddress"&&D!=="accountNo"&&D!=="AccountNo"),z=[...g?["bankName"]:[],...b,...p?[p]:[],...v?["walletAddress"]:[]].map(D=>{var he;let x=(he=f[D])!=null?he:"",G=Oe=>Oe.trim().toLowerCase(),U=l(D),K=["accountno","walletaddress","wallet address"].includes(G(U));return G(D)==="accountname"&&G(x)===""&&(x="No data provided"),'\n <p>\n <strong class="title" style="color:#000">'.concat(this.translate.instant(D),'</strong>\n <strong class="user-content">').concat(x,"</strong>\n ").concat(K?'\n <button class="copy-btn" type="button" data-copy="'.concat(x,'">\n <i class="icon-Copy"></i>\n </button>\n '):"","\n </p>\n ")}).join(""),E={icon:r,html:'\n <div class="acc-info-box swalBank swal2-popup-custom">\n <div style="text-align: left;">\n '.concat(z,'\n <p style="display:none;top:54%" class="success-msg" aria-live="polite">').concat(u,"</p>\n </div>\n </div>\n "),width:"400px",imageWidth:300,target:document.getElementById("swal2-container"),heightAuto:!1,customClass:{popup:"swal2-popup-custom",htmlContainer:"swal2-content-custom",closeButton:"swal2-close-custom"},scrollbarPadding:!1,showConfirmButton:!1,showCloseButton:!0,showClass:{icon:["swal2-icon-show","swal2-icon-hidden"]},didOpen:()=>{var K;(K=de.default.getIcon())==null||K.classList.remove("swal2-icon-hidden");let D=de.default.getHtmlContainer(),x=D==null?void 0:D.querySelector(".copy-btn"),G=D==null?void 0:D.querySelector(".success-msg"),U=()=>
1{if(!G)return;G.style.display="block",G.classList.add("fade-out");let he=()=>{G.style.display="none",G.classList.remove("fade-out"),G.removeEventListener("animationend",he)};G.addEventListener("animationend",he)};x==null||x.addEventListener("click",()=>_e(this,null,function*(){let he=x.getAttribute("data-copy")||"";try{yield navigator.clipboard.writeText(he),x.disabled=!0,U(),setTimeout(()=>{x.disabled=!1},1e3)}catch(Oe){let Ne=document.createElement("textarea");Ne.value=he,Ne.style.position="fixed",Ne.style.opacity="0",document.body.appendChild(Ne),Ne.select(),document.execCommand("copy"),document.body.removeChild(Ne),U()}}))}};de.default.fire(E).then(function(){s()})}};e.\u0275fac=function(r){return new(r||e)(y(Je))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var jy=(()=>{let e=class e{constructor(t,r,s,l,u,f,d,g,p){this.userDetectService=t,this.translate=r,this.iab=s,this.storageService=l,this.langService=u,this.router=f,this.swalDialog=d,this.appConfigService=g,this.sanitizer=p,this.name="IC.Mobile",this.checkingDevice=!0,this.loginId="",this.loading=!1,this.walletLoading=!1,this.acctInfo={loginId:"",currency:"",balance:0,bonus:0,isReferralAccount:!1,isAffiliateAccount:!1,expiryUtcDate:""},this.isLogin=!1,this.isPrivate=!1,this.isMobileStyle=!1,this.routeAniDisabled=!1,this.isSignUpSuccess=!1,this.history=[],this.buddhistYearExtra=543,this.isForgetPwdOpen=!1,this.isRebateOpen=!1,this.isPromptOpen=!1,this.isAnnouncementOpen=!1,this.isSideMenuOpen=!1,this.isRealMoney=!0,this.isSetSeo=!1,this.isShowProviderMaintenancePop=!1,this.isShowedHomepagePopup=!1,this.goRegisterBank=!1,this.isShowTwoFactorAuth=!1,this.twoFaPostData=null,this.twoFaCallback=null,this.unReadCount=0,this.env=this.appConfigService.getConfig("env");let b=localStorage.getItem("isLogin")==="true";this.loginSub$=new pe(b),this.isLogin=b,this.loginSub$.subscribe(D=>{this.isLogin=D,localStorage.setItem("isLogin",String(D))}),this.isIncognitoMode(),this.serverTime=Number(Date.now())+Number(this.storageService.getStorage("mistiming")),this.userDetectService.detectDevice(),this.browserLang=navigator.language,this.isApp=this.userDetectService.isApp,this.isHttps=window.location.protocol==="https:",this.device=this.userDetectService.getChannel(),this.acctInfo=this.parseJsonSafely(this.storageService.getCookie("acctInfo"))||{loginId:"",currency:"",balance:0,bonus:0,isReferralAccount:!1,isAffiliateAccount:!1,expiryUtcDate:""};let R=this.storageService.getCookie("sessionId")||"",z=this.storageService.getCookie("token")||"",E=this.storageService.getCookie("refreshToken")||"";this.sessionId=R,this.token=z,this.refreshToken=E,this.isLogin=this.loginSub$.value,this.getDomain(),this.saveHistory(),this.loginSub$.value!==this.isLogin&&this.loginSub$.next(this.isLogin)}saveHistory(){this.router.events.subscribe(t=>{if(t instanceof Fe){if(this.history[0]==t.urlAfterRedirects&&this.history.length===1||this.history[1]==t.urlAfterRedirects&&this.history.length>1)return;{let r=t.urlAfterRedirects.split("/");if(t.urlAfterRedirects.indexOf("/Account/AutoTransfer")>-1)return;this.history.length==0&&r.length>2?(this.history.push("/"+r[1]),this.history.push(t.urlAfterRedirects)):this.history.push(t.urlAfterRedirects),this.history.length>2&&this.history.splice(0,1)}this.printLog(this.history)}})}goBack(){this.history.length>1?(this.history.splice(-1),this.router.navigate([this.history[0]])):(this.history.splice(-1),this.router.navigate(["/"]))}navigateHomePage(){this.router.navigate(["/"])}getDomain(){let t=window.location.host;this.hostDomain=t||""}isIframe(){try{return window.self!==window.top}catch(t){return!0}}isIncognitoMode(){return _e(this,null,function*(){if("storage"in navigator&&"estimate"in navigator.storage){let{usage:t,quota:r}=yield navigator.storage.estimate();(r!=null?r:0)<12e7?this.isPrivate=!0:this.isPrivate=!1}else this.isPrivate=!1})}openWindows(t,r,s,l){let u=s?"".concat(s).concat(t):t;if(this.isApp)this.iab.create(u);else{let f=l||"_blank",d=window.open("url",f);if(!d)return;d.opener=null,d.location.href=u,d.document.title=r}}openWindowOnPC(t,r){let s=window.screenLeft!==void 0?window.screenLeft:window.screenX,l=window.screenTop!==void 0?window.screenTop:window.screenY,u=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,f=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,d=u/window.screen.availWi
1dth,g=(u-1200)/2/d+s,p=(f-850)/2/d+l,v=window.open(t,r,"\n width=".concat(1200/d,",\n height=").concat(900/d,",\n top=").concat(p,",\n left=").concat(g,"\n "));return window.focus&&v&&v.focus(),v}openWindowWithBaseHref(t){let r=this.langService.getRedirectUrl(t);return this.openWindowOnPC(r,t)}openGameMethod(t,r,s,l){let u=["PGS","PGO"],f=["MPS"],d=u.concat([]),g="Games";d.indexOf(l)>-1&&(t=""),u.indexOf(l)>-1&&(g="pggame"),f.indexOf(l)>-1&&(this.storageService.setStorage("gameUrl",t),t=""),this.isApp?this.router.navigate(["/Games"],{queryParams:{device:this.getSupportDevice(l),id:l,gurl:t,gameCode:s,realmoney:"true"}}):window.location.replace(this.langService.getRedirectUrl(g+"?id="+l+"&gurl="+encodeURIComponent(t)+"&gameCode="+s+"&device="+this.getSupportDevice(l)+"&RealMoney="+r))}openPayPage(t){if(!t)return null;let r=encodeURIComponent(t);return window.open("/PayPage?file=".concat(r),"payPage")}openThirdPartyPage(t,r,s,l,u){if(s=="1451055"||s=="1451056"||s=="1450026")return;let f=open("","thirdPartyPage");if(!f)return null;if(t||s){let d=new URLSearchParams,g={redirectUrl:t||"",code:s||"",message:l||""};for(let v in g)d.set(v,g[v]);let p=this.langService.getRedirectUrl("ThirdPartyPage?"+d.toString());u=="PBzp"?this.openUrlInIframeWindow(f,p,"thirdPartyPage"):f.location.href=p,f.focus()}else if(r)f.document.write(r),f.focus();else{let d=this.langService.getRedirectUrl("ThirdPartyPage");u=="PBzp"?this.openUrlInIframeWindow(f,d,"thirdPartyPage"):f.location.href=d}return f}openUrlInIframeWindow(t,r,s){let l=(s||"").replace(/</g,"<").replace(/>/g,">"),u=r.replace(/&/g,"&").replace(/\"/g,""");
1t.document.open(),t.document.write('<!doctype html>\n<html>\n<head>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n <title>'.concat(l,'</title>\n <style>\n html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }\n iframe { width: 100%; height: 100%; border: 0; }\n </style>\n</head>\n<body>\n <iframe src="').concat(u,'" allow="fullscreen"></iframe>\n</body>\n</html>')),t.document.close()}openLineLoginPage(t,r){let s=r!=null?r:open("","lineLogin");if(!s)return null;let l=new URLSearchParams,u={redirectUrl:t};for(let d in u)l.set(d,u[d]);let f=this.langService.getRedirectUrl("ThirdLineLoginPage?"+l.toString());return s.location.href=f,s.focus(),s}openQQEventPage(t){let r=open("","qqevent"),s=new URLSearchParams,l={redirectUrl:t};for(let u in l)s.set(u,l[u]);r.location.href=this.langService.getRedirectUrl("QQEventPage?"+s.toString()),r.focus()}updateQqtimeLoginState(){if(!this.isApp)return!1;let t=this.storageService.getCookie("sessionId"),r=this.storageService.getCookie("token"),s=this.storageService.getCookie("refreshToken"),l=this.storageService.getCookie("acctInfo"),u=this.loginSub$.value;return this.sessionId!==t||this.token!==r||this.refreshToken!==s||this.isLogin!==u?(this.sessionId=t,this.token=r,this.refreshToken=s,this.isLogin=u,this.isLogin?this.acctInfo=this.parseJsonSafely(l)||{loginId:"",currency:"",balance:0,bonus:0,isReferralAccount:!1,isAffiliateAccount:!1,expiryUtcDate:""}:this.acctInfo={loginId:"",currency:"",balance:0,bonus:0,isReferralAccount:!1,isAffiliateAccount:!1,expiryUtcDate:""},this.loginSub$.next(this.isLogin),!0):!1}getSupportDevice(t){switch(t){case"QNN":return"M";case"CDL":return"";default:return this.isMobileStyle?"M":"W"}}printLog(t){this.env==="prod"||console.log(t)}convertLang(){let t=this.langService.language.toUpperCase();return t.charAt(0).toLowerCase()+t.slice(1)}convertCharacterRefference(t){let r=/&#(\d+);/g;return t.replace(r,(s,l)=>String.fromCharCode(l))}handlePlatformIsShow(t){let r=t.split(",");return this.isMobileStyle?r.includes("M"):r.includes("W")}parseJsonSafely(t){if(t==null)return null;if(typeof t!="string")return t;try{return JSON.parse(t)}catch(r){return null}}handleCurrencyIsShow(t){let r=t.split(",");return this.isLogin?r.includes(this.getAcctCurrency()):!0}showAlert(t,r,s){this.loading=!1;let l=String(t).slice(2);if(l=="800020"){window.opener&&(window.opener.parent.postMessage("toHome","*"),window.close()),this.router.navigate(["/"]);return}this.showDirectAlert("codeMessage.".concat(l),r,s,t)}showDirectAlert(t,r,s,l){this.translate.stream(t).pipe(Pe(u=>u!==t),De(1)).subscribe(u=>{let f=u;l!==void 0&&(f+="<br>Code : ".concat(l)),this.swalDialog.popMessage(f,r,s)})}showMessageAlert(t,r,s){this.swalDialog.popMessage(t,r,s)}translateString(t){return this.translate.instant(t)}isUSDT(){return this.getAcctCurrency()==="USDT"}isCNY(){return this.getAcctCurrency()==="CNY"}getAcctCurrency(){var t;return((t=this.acctInfo)==null?void 0:t.currency)||""}tranNoDirectAlert(t,r,s){let l={0:"Success!"},u=t.split(".")[1],f=l[u],d=t.replace("codeMessage."+u,f);this.swalDialog.popMessage(this.translateString(d),r,s)}getOneMinuteCache(){let t=new Date,r=t.getFullYear(),s=t.getMonth()+1,l=t.getDate(),u=t.getHours(),f=t.getMinutes();return r+s+l+u+f}replaceUrlVersionParam(t){if(!t)return"";let r=this.getOneMinuteCache(),s=/([?&])v=[^&]*/;if(s.test(t))return t.replace(s,"$1v=".concat(r));let l=t.includes("?")?"&":"?";return"".concat(t).concat(l,"v=").concat(r)}};e.\u0275fac=function(r){return new(r||e)(y(Fr),y(Je),y(mu,8),y(Pr),y(xl),y(Le),y(vu),y(El),y(Gs))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();export{ef as a,Sl as b,Al as c,Fr as d,Pr as e,Jt as f,kn as g,Je as h,mw as i,ww as j,xl as k,gt as l,te as m,nt as n,rn as o,jw as p,zw as q,Vw as r,Jl as s,Hw as t,Ww as u,qw as v,Gw as w,Kw as x,Yw as y,Zw as z,Xw as A,Jw as B,Qw as C,ev as D,tv as E,Ql as F,Zf as G,Kr as H,Zr as I,Ot as J,wt as K,Xr as L,Jr as M,sp as N,lp as O,oc as P,Dp as Q,Cp as R,pv as S,dc as T,Rv as U,Mv as V,Fv as W,yc as X,Gs as Y,M as Z,pn as _,hn as $,Fe as aa,nr as ba,Dt as ca,yg as da,Le as ea,Jv as fa,Qv as ga,ey as ha,ty as ia,xm as ja,ny as ka,St as la,Lo as ma,hy as na,yy as oa,by as pa,mu as qa,vu as ra,jy as sa}; 2/*! Bundled license information: 3 4sweetalert2/dist/sweetalert2.all.js: 5 (*! 6 * sweetalert2 v11.26.25 7 * Released under the MIT License. 8 *) 9 10@angular/common/fesm2022/common.mjs: 11 (** 12 * @license Angular v17.3.12 13 * (c) 2010-2024 Google LLC. https://angular.io/ 14 * License: MIT 15 *) 16 17@angular/common/fesm2022/http.mjs: 18 (** 19 * @license Angular v17.3.12 20 * (c) 2010-2024 Google LLC. https://angular.io/ 21 * License: MIT 22 *) 23 24@angular/platform-browser/fesm2022/platform-browser.mjs: 25 (** 26 * @license Angular v17.3.12 27 * (c) 2010-2024 Google LLC. https://angular.io/ 28 * License: MIT 29 *) 30 31@angular/router/fesm2022/router.mjs: 32 (** 33 * @license Angular v17.3.12 34 * (c) 2010-2024 Google LLC. https://angular.io/ 35 * License: MIT 36 *) 37*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.