dealpos 12.35.0 → 12.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/POS/{chunk-JLWT7WV4.js → chunk-22EJGXTT.js} +1 -1
- package/POS/{chunk-E4NXP6QE.js → chunk-2WESJOY2.js} +1 -1
- package/POS/{chunk-Z2KGSB2E.js → chunk-4ALKZMDE.js} +1 -1
- package/POS/{chunk-TF623E5I.js → chunk-4JAQL4WJ.js} +1 -1
- package/POS/{chunk-4PLR4RXK.js → chunk-4JKDM2GE.js} +1 -1
- package/POS/{chunk-S5RJBWYH.js → chunk-4NUEC3BJ.js} +1 -1
- package/POS/chunk-4QL42VKC.js +1 -0
- package/POS/{chunk-RCAGWOTX.js → chunk-4SFO3QTB.js} +1 -1
- package/POS/{chunk-BREGGFW2.js → chunk-53BIOU4R.js} +1 -1
- package/POS/{chunk-US2GUE26.js → chunk-54JYZWCK.js} +1 -1
- package/POS/{chunk-GGXPCKA6.js → chunk-5AF4SDLX.js} +1 -1
- package/POS/{chunk-52QJ32MG.js → chunk-5DPUEBWS.js} +1 -1
- package/POS/{chunk-BKX2INGP.js → chunk-5JJ7CYRR.js} +1 -1
- package/POS/{chunk-YMWULFT6.js → chunk-5TOELLQR.js} +1 -1
- package/POS/{chunk-E2QWMDEI.js → chunk-5WUFY7YV.js} +1 -1
- package/POS/{chunk-X4726WQ2.js → chunk-67LB2O66.js} +1 -1
- package/POS/{chunk-JJXX4HCN.js → chunk-6PFR6LMI.js} +1 -1
- package/POS/{chunk-LOSEM7VZ.js → chunk-6QMET2K3.js} +1 -1
- package/POS/{chunk-4DRCZB5I.js → chunk-6TC6EW6N.js} +1 -1
- package/POS/{chunk-VNKDKTMY.js → chunk-6U3OEWCE.js} +1 -1
- package/POS/{chunk-53CATR7Z.js → chunk-6VRTNUAS.js} +1 -1
- package/POS/{chunk-ERLXHN2P.js → chunk-6Y3R5HHP.js} +1 -1
- package/POS/{chunk-GDYKELFM.js → chunk-7MUJTHFJ.js} +1 -1
- package/POS/{chunk-6TNJGMAE.js → chunk-7NMQZICB.js} +1 -1
- package/POS/{chunk-CPRQ726N.js → chunk-7UYB3R44.js} +1 -1
- package/POS/chunk-AVXNQR5Z.js +1 -0
- package/POS/{chunk-QP6H3LOZ.js → chunk-AX4UDFAY.js} +1 -1
- package/POS/{chunk-ZD37ALDK.js → chunk-AYKA2ZDF.js} +1 -1
- package/POS/{chunk-ZXTN4KQV.js → chunk-C2LGAXDS.js} +1 -1
- package/POS/{chunk-NZKCSVZV.js → chunk-C4E6I2RN.js} +1 -1
- package/POS/{chunk-BGZBILNF.js → chunk-CDGC2JL7.js} +1 -1
- package/POS/{chunk-CLSNWYZW.js → chunk-CFVII4LA.js} +1 -1
- package/POS/{chunk-SD24THX6.js → chunk-CVSROVAZ.js} +1 -1
- package/POS/{chunk-GEEAHREB.js → chunk-D5ZMHICN.js} +1 -1
- package/POS/{chunk-Z4UYJQVY.js → chunk-DCEN3SFW.js} +1 -1
- package/POS/{chunk-CWLN3ULS.js → chunk-DMTTEPCP.js} +1 -1
- package/POS/{chunk-D4HC2UBB.js → chunk-DUHZPWNM.js} +1 -1
- package/POS/{chunk-2KDIKATC.js → chunk-DWH2EOAL.js} +1 -1
- package/POS/{chunk-4UBYRHII.js → chunk-E3A4XTJU.js} +1 -1
- package/POS/{chunk-DGQAM5BP.js → chunk-EZOIAGEP.js} +1 -1
- package/POS/{chunk-HYVKRHSN.js → chunk-F2SKPIGK.js} +1 -1
- package/POS/{chunk-GKGW3L52.js → chunk-F4KBHONR.js} +1 -1
- package/POS/{chunk-2WBVNB62.js → chunk-F724XOUE.js} +1 -1
- package/POS/{chunk-YBYKI5DF.js → chunk-FNTLX26F.js} +1 -1
- package/POS/{chunk-RJTFCB7T.js → chunk-FXMYFOD3.js} +1 -1
- package/POS/{chunk-BT7OANYW.js → chunk-G2NQV4I6.js} +1 -1
- package/POS/{chunk-AQKTQREY.js → chunk-G6RLN5QU.js} +1 -1
- package/POS/{chunk-F6TWCAFH.js → chunk-GB6FFAEX.js} +1 -1
- package/POS/{chunk-TTIJYKBM.js → chunk-GCYFPFNW.js} +1 -1
- package/POS/{chunk-SDI6GBPJ.js → chunk-GDN72IOQ.js} +2 -2
- package/POS/{chunk-NBHAZ5F4.js → chunk-GLUXC3WD.js} +1 -1
- package/POS/{chunk-T3ID5R4H.js → chunk-GSMXACXW.js} +1 -1
- package/POS/{chunk-OLNHGUXI.js → chunk-GTPHFGCG.js} +1 -1
- package/POS/{chunk-4VWIAI4K.js → chunk-GYLL7FC6.js} +1 -1
- package/POS/{chunk-MF6L5FGH.js → chunk-H5AN6W3S.js} +1 -1
- package/POS/{chunk-3PQ347QU.js → chunk-H6FDSF3R.js} +1 -1
- package/POS/{chunk-ZC4WTLTC.js → chunk-HGBA2YZN.js} +1 -1
- package/POS/{chunk-QMPXSFDB.js → chunk-HZGCULNU.js} +1 -1
- package/POS/{chunk-LQ2OMRCG.js → chunk-I5C54J4N.js} +1 -1
- package/POS/{chunk-CYI7DH7V.js → chunk-IB5VZWIN.js} +1 -1
- package/POS/{chunk-JFFTOZBR.js → chunk-II5QN4JR.js} +1 -1
- package/POS/{chunk-OP7DXBXZ.js → chunk-IKDVDSY4.js} +1 -1
- package/POS/{chunk-NKO4ZWSI.js → chunk-ITE3XC6I.js} +1 -1
- package/POS/{chunk-2HQFSKW7.js → chunk-IYXNOSA2.js} +1 -1
- package/POS/{chunk-F5XPAO3M.js → chunk-JHX33X6J.js} +1 -1
- package/POS/{chunk-4NAIOOUT.js → chunk-JIQRWWYS.js} +1 -1
- package/POS/{chunk-QNUG3GZU.js → chunk-JIZOACLB.js} +1 -1
- package/POS/{chunk-KEM4VFI5.js → chunk-JOHCNDX5.js} +1 -1
- package/POS/{chunk-FFUN4IXC.js → chunk-KP42T7ZH.js} +1 -1
- package/POS/{chunk-NKR5ETHR.js → chunk-KS5VT54B.js} +1 -1
- package/POS/{chunk-JSL4AVGC.js → chunk-KUHV2GEE.js} +1 -1
- package/POS/{chunk-4L3XGUBX.js → chunk-KUP7VZK4.js} +1 -1
- package/POS/{chunk-WPDGKCBE.js → chunk-KVLPD73N.js} +1 -1
- package/POS/{chunk-25KPOUG2.js → chunk-KW2D4IYP.js} +1 -1
- package/POS/{chunk-FB2TVY2U.js → chunk-LSAJWSHW.js} +1 -1
- package/POS/{chunk-ABZDF2MJ.js → chunk-LSK2EUEG.js} +1 -1
- package/POS/{chunk-2STOCIWY.js → chunk-LSRHPO3F.js} +1 -1
- package/POS/{chunk-B7JRDKPG.js → chunk-LVEFRCTQ.js} +1 -1
- package/POS/{chunk-XIFXQ3O6.js → chunk-LYIGWNGC.js} +1 -1
- package/POS/{chunk-B6VYBARE.js → chunk-M2B7CEO2.js} +1 -1
- package/POS/{chunk-WWAYINZM.js → chunk-M5FAMRLW.js} +1 -1
- package/POS/{chunk-UVINWYZU.js → chunk-NIPU5WGG.js} +1 -1
- package/POS/{chunk-VYK5EGB3.js → chunk-NMSXEFRV.js} +1 -1
- package/POS/{chunk-6ZIWJZSS.js → chunk-ONX5H5X7.js} +1 -1
- package/POS/{chunk-VMXF73KF.js → chunk-PCG6HDCW.js} +1 -1
- package/POS/{chunk-JGYBS2UE.js → chunk-PEYQAX73.js} +1 -1
- package/POS/chunk-PR4ZKEC5.js +1 -0
- package/POS/{chunk-HTZEDRIV.js → chunk-Q62E5GZB.js} +1 -1
- package/POS/{chunk-VQBDMXXR.js → chunk-Q6OIVKIC.js} +1 -1
- package/POS/{chunk-KV6FVKGD.js → chunk-QKCV6NUW.js} +1 -1
- package/POS/{chunk-4AZH6G5W.js → chunk-QOP6C36Z.js} +1 -1
- package/POS/{chunk-Q7XLCUJ3.js → chunk-QSSRXPLX.js} +1 -1
- package/POS/{chunk-KVRRZLZL.js → chunk-R6MZNG4J.js} +1 -1
- package/POS/{chunk-262T56VN.js → chunk-RLKBV5YM.js} +1 -1
- package/POS/{chunk-YDYNCTXM.js → chunk-RNQM3JX6.js} +1 -1
- package/POS/{chunk-EY5O47M7.js → chunk-RVRRFMVR.js} +1 -1
- package/POS/{chunk-7WIDUQZH.js → chunk-RXLN7HFP.js} +1 -1
- package/POS/{chunk-B523AY3Q.js → chunk-RXYFU2ST.js} +1 -1
- package/POS/{chunk-UG7PUCBA.js → chunk-SC3GIK7W.js} +1 -1
- package/POS/{chunk-2C23FT3G.js → chunk-SIL4V5FN.js} +1 -1
- package/POS/{chunk-MY643YHI.js → chunk-SKIMEMYU.js} +1 -1
- package/POS/{chunk-ED5RMWH5.js → chunk-SLKAX3DZ.js} +1 -1
- package/POS/{chunk-5DICBWO5.js → chunk-SZ2LMIAL.js} +1 -1
- package/POS/{chunk-M7ZSWUAR.js → chunk-T2GIMB34.js} +1 -1
- package/POS/{chunk-A5HEI7FB.js → chunk-T77BU763.js} +1 -1
- package/POS/{chunk-74R3FU6G.js → chunk-TD3FMQQG.js} +1 -1
- package/POS/{chunk-ROJZ3KP3.js → chunk-THGVEGR2.js} +1 -1
- package/POS/{chunk-6JGZCAVR.js → chunk-TONPDZO4.js} +1 -1
- package/POS/{chunk-TGW4UJNZ.js → chunk-UBU2OSEK.js} +1 -1
- package/POS/{chunk-OY4TC77S.js → chunk-UDPZM5D4.js} +1 -1
- package/POS/{chunk-AARZO5YQ.js → chunk-UFXGPLTF.js} +1 -1
- package/POS/{chunk-XHMEDXCD.js → chunk-UR6OIV3K.js} +1 -1
- package/POS/{chunk-JQYBLQIH.js → chunk-URGF5D74.js} +1 -1
- package/POS/{chunk-YPVZDHDE.js → chunk-UUPLBLI6.js} +1 -1
- package/POS/{chunk-BAGGTTL4.js → chunk-UVQRMS4A.js} +1 -1
- package/POS/{chunk-Z4FBH6SY.js → chunk-VAYOZDC7.js} +1 -1
- package/POS/{chunk-UPRVFVIK.js → chunk-VBBOJTVK.js} +1 -1
- package/POS/{chunk-CSUOL6JR.js → chunk-VBTINM72.js} +1 -1
- package/POS/{chunk-WZF2BOWG.js → chunk-VEZ6M3PZ.js} +1 -1
- package/POS/{chunk-XFJ2OLPH.js → chunk-VHSM5YHT.js} +1 -1
- package/POS/{chunk-WQHZQ6XO.js → chunk-VK7AKEO5.js} +1 -1
- package/POS/{chunk-G2AIVJZY.js → chunk-VPHFIQ3C.js} +1 -1
- package/POS/{chunk-EGMIJPBS.js → chunk-VRGXWW2R.js} +1 -1
- package/POS/{chunk-UQU7GY7N.js → chunk-VWZFBT62.js} +1 -1
- package/POS/{chunk-I7Z4PYM6.js → chunk-WEDDCC3F.js} +1 -1
- package/POS/{chunk-RO47UGNJ.js → chunk-WI42NDUL.js} +1 -1
- package/POS/{chunk-DPNMHVUZ.js → chunk-WQH2XXWI.js} +1 -1
- package/POS/{chunk-XP63SAL4.js → chunk-WTDKCR72.js} +1 -1
- package/POS/{chunk-AMHQLEGU.js → chunk-WUS4AIIN.js} +1 -1
- package/POS/{chunk-XBP2ENQG.js → chunk-X26OLCSA.js} +1 -1
- package/POS/{chunk-LAAXV7YY.js → chunk-X2UIYFRI.js} +2 -2
- package/POS/{chunk-F7U2YH63.js → chunk-XCNROPA4.js} +1 -1
- package/POS/{chunk-AYSKI5SY.js → chunk-XE4EK6AB.js} +1 -1
- package/POS/{chunk-CWDJAG54.js → chunk-XHD3KGXC.js} +1 -1
- package/POS/{chunk-4WHFA7G3.js → chunk-XOTMDIJB.js} +1 -1
- package/POS/{chunk-TZZCI4ES.js → chunk-XUCBAZSB.js} +1 -1
- package/POS/{chunk-IRFNB6KS.js → chunk-Y3EZSFBL.js} +1 -1
- package/POS/{chunk-XU7NGPVH.js → chunk-YJPGSMC2.js} +1 -1
- package/POS/{chunk-NNXDPHF3.js → chunk-YLTLLVZN.js} +1 -1
- package/POS/{chunk-GVZRLM5T.js → chunk-YQFGXBKV.js} +1 -1
- package/POS/{chunk-4ISED6AI.js → chunk-YQYCHPFL.js} +1 -1
- package/POS/{chunk-GLAXVA5M.js → chunk-YS3TOLT3.js} +1 -1
- package/POS/{chunk-KUJ3XCJN.js → chunk-YTN6Q5FC.js} +1 -1
- package/POS/{chunk-5BKSRPAS.js → chunk-YYDY5O34.js} +1 -1
- package/POS/{chunk-IT24HTLU.js → chunk-ZBM262HU.js} +1 -1
- package/POS/{chunk-ZMY3EGSY.js → chunk-ZLAG3P7T.js} +1 -1
- package/POS/{chunk-RXYRXNX7.js → chunk-ZN33NAPK.js} +1 -1
- package/POS/{chunk-DKXFYNWN.js → chunk-ZTTSA34N.js} +1 -1
- package/POS/index.html +2 -2
- package/POS/{main-BEXKTKRY.js → main-TBVQ4R3T.js} +2 -2
- package/package.json +1 -1
- package/POS/chunk-26EQD76U.js +0 -1
- package/POS/chunk-QI76DK6J.js +0 -1
- package/POS/chunk-UF4V6WWT.js +0 -1
|
@@ -5,4 +5,4 @@ ${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
|
5
5
|
`+t.message,o,r,n),t[nI]=o,t[_s]=null,t}function uI(t,e,r,n=null){t=t&&t.charAt(0)===`
|
|
6
6
|
`&&t.charAt(1)==oI?t.slice(2):t;let o=Pe(e);if(Array.isArray(e))o=e.map(Pe).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(rI,`
|
|
7
7
|
`)}`}var oV=wl(yl("Inject",t=>({token:t})),-1),Vo=wl(yl("Optional"),8);var ia=wl(yl("SkipSelf"),4);function qn(t,e){let r=t.hasOwnProperty(xs);return r?t[xs]:null}function lI(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],i=e[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function dI(t){return t.flat(Number.POSITIVE_INFINITY)}function Il(t,e){t.forEach(r=>Array.isArray(r)?Il(r,e):e(r))}function Kp(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function As(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function fI(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function hI(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function Ur(t,e,r){let n=Bo(t,e);return n>=0?t[n|1]=r:(n=~n,hI(t,n,e,r)),n}function Yc(t,e){let r=Bo(t,e);if(r>=0)return t[r|1]}function Bo(t,e){return pI(t,e,1)}function pI(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<<r];if(e===s)return i<<r;s>e?o=i:n=i+1}return~(o<<r)}var Mr={},Oe=[],Sr=new E(""),Jp=new E("",-1),Xp=new E(""),Ns=class{get(e,r=_o){if(r===_o){let n=new Error(`NullInjectorError: No provider for ${Pe(e)}!`);throw n.name="NullInjectorError",n}return r}},eg=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(eg||{}),Ot=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ot||{}),xr=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(xr||{});function gI(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function hu(t,e,r){let n=0;for(;n<r.length;){let o=r[n];if(typeof o=="number"){if(o!==0)break;n++;let i=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,i)}else{let i=o,s=r[++n];mI(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function tg(t){return t===3||t===4||t===6}function mI(t){return t.charCodeAt(0)===64}function Ao(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?Xh(t,r,o,null,e[++n]):Xh(t,r,o,null,null))}}return t}function Xh(t,e,r,n,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===r){if(n===null){o!==null&&(t[i+1]=o);return}else if(n===t[i+1]){t[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,r),n!==null&&t.splice(i++,0,n),o!==null&&t.splice(i++,0,o)}var ng="ng-template";function vI(t,e,r,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&gI(e[o+1].toLowerCase(),r,0)!==-1)return!0}else if(El(t))return!1;if(o=e.indexOf(1,o),o>-1){let i;for(;++o<e.length&&typeof(i=e[o])=="string";)if(i.toLowerCase()===r)return!0}return!1}function El(t){return t.type===4&&t.value!==ng}function yI(t,e,r){let n=t.type===4&&!r?ng:t.value;return e===n}function DI(t,e,r){let n=4,o=t.attrs,i=o!==null?EI(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!pt(n)&&!pt(c))return!1;if(s&&pt(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!yI(t,c,r)||c===""&&e.length===1){if(pt(n))return!1;s=!0}}else if(n&8){if(o===null||!vI(t,o,c,r)){if(pt(n))return!1;s=!0}}else{let u=e[++a],l=wI(c,o,El(t),r);if(l===-1){if(pt(n))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(pt(n))return!1;s=!0}}}}return pt(n)||s}function pt(t){return(t&1)===0}function wI(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return CI(e,t)}function rg(t,e,r=!1){for(let n=0;n<e.length;n++)if(DI(t,e[n],r))return!0;return!1}function II(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function EI(t){for(let e=0;e<t.length;e++){let r=t[e];if(tg(r))return e}return t.length}function CI(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function bI(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function ep(t,e){return t?":not("+e.trim()+")":e}function TI(t){let e=t[0],r=1,n=2,o="",i=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!pt(s)&&(e+=ep(i,o),o=""),n=s,i=i||!pt(n);r++}return o!==""&&(e+=ep(i,o)),e}function MI(t){return t.map(TI).join(",")}function SI(t){let e=[],r=[],n=1,o=2;for(;n<t.length;){let i=t[n];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++n]):o===8&&r.push(i);else{if(!pt(o))break;o=i}n++}return{attrs:e,classes:r}}function Uo(t){return jo(()=>{let e=cg(t),r=z(y({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===eg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ot.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});ug(r);let n=t.dependencies;return r.directiveDefs=np(n,!1),r.pipeDefs=np(n,!0),r.id=AI(r),r})}function xI(t){return Gt(t)||og(t)}function _I(t){return t!==null}function jt(t){return jo(()=>({type:t.type,bootstrap:t.bootstrap||Oe,declarations:t.declarations||Oe,imports:t.imports||Oe,exports:t.exports||Oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function tp(t,e){if(t==null)return Mr;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=xr.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==xr.None?[n,a]:n,e[i]=s):r[i]=n}return r}function Fe(t){return jo(()=>{let e=cg(t);return ug(e),e})}function Cn(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Gt(t){return t[Yw]||null}function og(t){return t[Qw]||null}function ig(t){return t[Kw]||null}function sg(t){let e=Gt(t)||og(t)||ig(t);return e!==null?e.standalone:!1}function ag(t,e){let r=t[Jw]||null;if(!r&&e===!0)throw new Error(`Type ${Pe(t)} does not have '\u0275mod' property.`);return r}function cg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Mr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:tp(t.inputs,e),outputs:tp(t.outputs),debugInfo:null}}function ug(t){t.features?.forEach(e=>e(t))}function np(t,e){if(!t)return null;let r=e?ig:xI;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(_I)}function AI(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function $r(t){return{\u0275providers:t}}function NI(...t){return{\u0275providers:lg(!0,t),\u0275fromNgModule:!0}}function lg(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Il(e,s=>{let a=s;pu(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&dg(o,i),r}function dg(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];Cl(o,i=>{e(i,n)})}}function pu(t,e,r,n){if(t=Re(t),!t)return!1;let o=null,i=Yh(t),s=!i&&Gt(t);if(!i&&!s){let c=t.ngModule;if(i=Yh(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)pu(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{Il(i.imports,l=>{pu(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&dg(u,e)}if(!a){let u=qn(o)||(()=>new o);e({provide:o,useFactory:u,deps:Oe},o),e({provide:Xp,useValue:o,multi:!0},o),e({provide:Sr,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;Cl(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function Cl(t,e){for(let r of t)Zp(r)&&(r=r.\u0275providers),Array.isArray(r)?Cl(r,e):e(r)}var RI=Y({provide:String,useValue:Y});function fg(t){return t!==null&&typeof t=="object"&&RI in t}function OI(t){return!!(t&&t.useExisting)}function PI(t){return!!(t&&t.useFactory)}function _r(t){return typeof t=="function"}function FI(t){return!!t.useClass}var sa=new E(""),Is={},kI={},Qc;function aa(){return Qc===void 0&&(Qc=new Ns),Qc}var Te=class{},No=class extends Te{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,mu(e,s=>this.processProvider(s)),this.records.set(Jp,Ir(void 0,this)),o.has("environment")&&this.records.set(Te,Ir(void 0,this));let i=this.records.get(sa);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Xp,Oe,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=V(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),V(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=mn(this),n=Le(void 0),o;try{return e()}finally{mn(r),Le(n)}}get(e,r=_o,n=j.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Kh))return e[Kh](this);n=oa(n);let o,i=mn(this),s=Le(void 0);try{if(!(n&j.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=UI(e)&&ra(e);u&&this.injectableDefInScope(u)?c=Ir(gu(e),Is):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&j.Self?aa():this.parent;return r=n&j.Optional&&r===_o?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[_s]=a[_s]||[]).unshift(Pe(e)),i)throw a;return cI(a,e,"R3InjectorError",this.source)}else throw a}finally{Le(s),mn(i)}}resolveInjectorInitializers(){let e=V(null),r=mn(this),n=Le(void 0),o;try{let i=this.get(Sr,Oe,j.Self);for(let s of i)s()}finally{mn(r),Le(n),V(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Pe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(e){e=Re(e);let r=_r(e)?e:Re(e&&e.provide),n=jI(e);if(!_r(e)&&e.multi===!0){let o=this.records.get(r);o||(o=Ir(void 0,Is,!0),o.factory=()=>fu(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=V(null);try{return r.value===Is&&(r.value=kI,r.value=r.factory()),typeof r.value=="object"&&r.value&&BI(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{V(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Re(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function gu(t){let e=ra(t),r=e!==null?e.factory:qn(t);if(r!==null)return r;if(t instanceof E)throw new C(204,!1);if(t instanceof Function)return LI(t);throw new C(204,!1)}function LI(t){if(t.length>0)throw new C(204,!1);let r=Ww(t);return r!==null?()=>r.factory(t):()=>new t}function jI(t){if(fg(t))return Ir(void 0,t.useValue);{let e=hg(t);return Ir(e,Is)}}function hg(t,e,r){let n;if(_r(t)){let o=Re(t);return qn(o)||gu(o)}else if(fg(t))n=()=>Re(t.useValue);else if(PI(t))n=()=>t.useFactory(...fu(t.deps||[]));else if(OI(t))n=()=>w(Re(t.useExisting));else{let o=Re(t&&(t.useClass||t.provide));if(VI(t))n=()=>new o(...fu(t.deps));else return qn(o)||gu(o)}return n}function Ir(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function VI(t){return!!t.deps}function BI(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function UI(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function mu(t,e){for(let r of t)Array.isArray(r)?mu(r,e):r&&Zp(r)?mu(r.\u0275providers,e):e(r)}function Be(t,e){t instanceof No&&t.assertNotDestroyed();let r,n=mn(t),o=Le(void 0);try{return e()}finally{mn(n),Le(o)}}function pg(){return Yp()!==void 0||iI()!=null}function bl(t){if(!pg())throw new C(-203,!1)}function $I(t){let e=he.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function HI(t){return typeof t=="function"}var Vt=0,R=1,A=2,Me=3,gt=4,Ue=5,Ar=6,Rs=7,Ee=8,Nr=9,Pt=10,Q=11,Ro=12,rp=13,Hr=14,Ve=15,Wn=16,Er=17,qt=18,ca=19,gg=20,vn=21,Es=22,rt=23,re=25,Tl=1;var Zn=7,Os=8,Rr=9,be=10,Ps=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ps||{});function yn(t){return Array.isArray(t)&&typeof t[Tl]=="object"}function Qt(t){return Array.isArray(t)&&t[Tl]===!0}function Ml(t){return(t.flags&4)!==0}function ua(t){return t.componentOffset>-1}function la(t){return(t.flags&1)===1}function Wt(t){return!!t.template}function vu(t){return(t[A]&512)!==0}var yu=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function mg(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Kt(){return vg}function vg(t){return t.type.prototype.ngOnChanges&&(t.setInput=GI),zI}Kt.ngInherit=!0;function zI(){let t=Dg(this),e=t?.current;if(e){let r=t.previous;if(r===Mr)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function GI(t,e,r,n,o){let i=this.declaredInputs[n],s=Dg(t)||qI(t,{previous:Mr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new yu(u&&u.currentValue,r,c===Mr),mg(t,e,o,r)}var yg="__ngSimpleChanges__";function Dg(t){return t[yg]||null}function qI(t,e){return t[yg]=e}var op=null;var Nt=function(t,e,r){op?.(t,e,r)},wg="svg",WI="math";function Ft(t){for(;Array.isArray(t);)t=t[Vt];return t}function ZI(t){for(;Array.isArray(t);){if(typeof t[Tl]=="object")return t;t=t[Vt]}return null}function Ig(t,e){return Ft(e[t])}function ot(t,e){return Ft(e[t.index])}function Sl(t,e){return t.data[e]}function zr(t,e){return t[e]}function bn(t,e){let r=e[t];return yn(r)?r:r[Vt]}function YI(t){return(t[A]&4)===4}function xl(t){return(t[A]&128)===128}function QI(t){return Qt(t[Me])}function Dn(t,e){return e==null?null:t[e]}function Eg(t){t[Er]=0}function Cg(t){t[A]&1024||(t[A]|=1024,xl(t)&&da(t))}function KI(t,e){for(;t>0;)e=e[Hr],t--;return e}function Oo(t){return!!(t[A]&9216||t[rt]?.dirty)}function Du(t){t[Pt].changeDetectionScheduler?.notify(7),t[A]&64&&(t[A]|=1024),Oo(t)&&da(t)}function da(t){t[Pt].changeDetectionScheduler?.notify(0);let e=Yn(t);for(;e!==null&&!(e[A]&8192||(e[A]|=8192,!xl(e)));)e=Yn(e)}function bg(t,e){if((t[A]&256)===256)throw new C(911,!1);t[vn]===null&&(t[vn]=[]),t[vn].push(e)}function JI(t,e){if(t[vn]===null)return;let r=t[vn].indexOf(e);r!==-1&&t[vn].splice(r,1)}function Yn(t){let e=t[Me];return Qt(e)?e[Me]:e}var k={lFrame:Rg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Tg=!1;function XI(){return k.lFrame.elementDepthCount}function eE(){k.lFrame.elementDepthCount++}function tE(){k.lFrame.elementDepthCount--}function Mg(){return k.bindingsEnabled}function Sg(){return k.skipHydrationRootTNode!==null}function nE(t){return k.skipHydrationRootTNode===t}function rE(){k.skipHydrationRootTNode=null}function b(){return k.lFrame.lView}function Z(){return k.lFrame.tView}function _l(t){return k.lFrame.contextLView=t,t[Ee]}function Al(t){return k.lFrame.contextLView=null,t}function ve(){let t=xg();for(;t!==null&&t.type===64;)t=t.parent;return t}function xg(){return k.lFrame.currentTNode}function oE(){let t=k.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function nr(t,e){let r=k.lFrame;r.currentTNode=t,r.isParent=e}function Nl(){return k.lFrame.isParent}function Rl(){k.lFrame.isParent=!1}function iE(){return k.lFrame.contextLView}function _g(){return Tg}function ip(t){Tg=t}function Ge(){let t=k.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ol(){return k.lFrame.bindingIndex}function sE(t){return k.lFrame.bindingIndex=t}function Tn(){return k.lFrame.bindingIndex++}function $o(t){let e=k.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function aE(){return k.lFrame.inI18n}function cE(t,e){let r=k.lFrame;r.bindingIndex=r.bindingRootIndex=t,wu(e)}function uE(){return k.lFrame.currentDirectiveIndex}function wu(t){k.lFrame.currentDirectiveIndex=t}function Pl(t){let e=k.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Fl(){return k.lFrame.currentQueryIndex}function fa(t){k.lFrame.currentQueryIndex=t}function lE(t){let e=t[R];return e.type===2?e.declTNode:e.type===1?t[Ue]:null}function Ag(t,e,r){if(r&j.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&j.Host);)if(o=lE(i),o===null||(i=i[Hr],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=k.lFrame=Ng();return n.currentTNode=e,n.lView=t,!0}function kl(t){let e=Ng(),r=t[R];k.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Ng(){let t=k.lFrame,e=t===null?null:t.child;return e===null?Rg(t):e}function Rg(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Og(){let t=k.lFrame;return k.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Pg=Og;function Ll(){let t=Og();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function dE(t){return(k.lFrame.contextLView=KI(t,k.lFrame.contextLView))[Ee]}function vt(){return k.lFrame.selectedIndex}function Qn(t){k.lFrame.selectedIndex=t}function Mn(){let t=k.lFrame;return Sl(t.tView,t.selectedIndex)}function iV(){k.lFrame.currentNamespace=wg}function sV(){fE()}function fE(){k.lFrame.currentNamespace=null}function hE(){return k.lFrame.currentNamespace}var Fg=!0;function ha(){return Fg}function pa(t){Fg=t}function pE(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=vg(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function ga(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let i=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),c&&(t.viewHooks??=[]).push(-r,c),u&&((t.viewHooks??=[]).push(r,u),(t.viewCheckHooks??=[]).push(r,u)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function Cs(t,e,r){kg(t,e,3,r)}function bs(t,e,r,n){(t[A]&3)===r&&kg(t,e,r,n)}function Kc(t,e){let r=t[A];(r&3)===e&&(r&=16383,r+=1,t[A]=r)}function kg(t,e,r,n){let o=n!==void 0?t[Er]&65535:0,i=n??-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[Er]+=65536),(a<i||i==-1)&&(gE(t,r,e,c),t[Er]=(t[Er]&4294901760)+c+2),c++}function sp(t,e){Nt(4,t,e);let r=V(null);try{e.call(t)}finally{V(r),Nt(5,t,e)}}function gE(t,e,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=t[s];o?t[A]>>14<t[Er]>>16&&(t[A]&3)===e&&(t[A]+=16384,sp(a,i)):sp(a,i)}var Tr=-1,Kn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function mE(t){return t instanceof Kn}function vE(t){return(t.flags&8)!==0}function yE(t){return(t.flags&16)!==0}function Lg(t){return t!==Tr}function Fs(t){return t&32767}function DE(t){return t>>16}function ks(t,e){let r=DE(t),n=e;for(;r>0;)n=n[Hr],r--;return n}var Iu=!0;function Ls(t){let e=Iu;return Iu=t,e}var wE=256,jg=wE-1,Vg=5,IE=0,Rt={};function EE(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(So)&&(n=r[So]),n==null&&(n=r[So]=IE++);let o=n&jg,i=1<<o;e.data[t+(o>>Vg)]|=i}function js(t,e){let r=Bg(t,e);if(r!==-1)return r;let n=e[R];n.firstCreatePass&&(t.injectorIndex=e.length,Jc(n.data,t),Jc(e,null),Jc(n.blueprint,null));let o=jl(t,e),i=t.injectorIndex;if(Lg(o)){let s=Fs(o),a=ks(o,e),c=a[R].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function Jc(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Bg(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function jl(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=Gg(o),n===null)return Tr;if(r++,o=o[Hr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Tr}function Eu(t,e,r){EE(t,e,r)}function CE(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(tg(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<n&&typeof r[o]=="string";)o++;else{if(i===e)return r[o+1];o=o+2}}}return null}function Ug(t,e,r){if(r&j.Optional||t!==void 0)return t;Dl(e,"NodeInjector")}function $g(t,e,r,n){if(r&j.Optional&&n===void 0&&(n=null),!(r&(j.Self|j.Host))){let o=t[Nr],i=Le(void 0);try{return o?o.get(e,n,r&j.Optional):Qp(e,n,r&j.Optional)}finally{Le(i)}}return Ug(n,e,r)}function Hg(t,e,r,n=j.Default,o){if(t!==null){if(e[A]&2048&&!(n&j.Self)){let s=SE(t,e,r,n,Rt);if(s!==Rt)return s}let i=zg(t,e,r,n,Rt);if(i!==Rt)return i}return $g(e,r,n,o)}function zg(t,e,r,n,o){let i=TE(r);if(typeof i=="function"){if(!Ag(e,t,n))return n&j.Host?Ug(o,r,n):$g(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&j.Optional))Dl(r);else return s}finally{Pg()}}else if(typeof i=="number"){let s=null,a=Bg(t,e),c=Tr,u=n&j.Host?e[Ve][Ue]:null;for((a===-1||n&j.SkipSelf)&&(c=a===-1?jl(t,e):e[a+8],c===Tr||!cp(n,!1)?a=-1:(s=e[R],a=Fs(c),e=ks(c,e)));a!==-1;){let l=e[R];if(ap(i,a,l.data)){let d=bE(a,e,r,s,n,u);if(d!==Rt)return d}c=e[a+8],c!==Tr&&cp(n,e[R].data[a+8]===u)&&ap(i,a,e)?(s=l,a=Fs(c),e=ks(c,e)):a=-1}}return o}function bE(t,e,r,n,o,i){let s=e[R],a=s.data[t+8],c=n==null?ua(a)&&Iu:n!=s&&(a.type&3)!==0,u=o&j.Host&&i===a,l=Ts(a,s,r,c,u);return l!==null?Jn(e,s,l,a):Rt}function Ts(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let p=s[h];if(h<c&&r===p||h>=c&&p.type===r)return h}if(o){let h=s[c];if(h&&Wt(h)&&h.type===r)return c}return null}function Jn(t,e,r,n){let o=t[r],i=e.data;if(mE(o)){let s=o;s.resolving&&eI(Xw(i[r]));let a=Ls(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Le(s.injectImpl):null,l=Ag(t,n,j.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&pE(r,i[r],e)}finally{u!==null&&Le(u),Ls(a),s.resolving=!1,Pg()}}return o}function TE(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(So)?t[So]:void 0;return typeof e=="number"?e>=0?e&jg:ME:e}function ap(t,e,r){let n=1<<t;return!!(r[e+(t>>Vg)]&n)}function cp(t,e){return!(t&j.Self)&&!(t&j.Host&&e)}var Gn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Hg(this._tNode,this._lView,e,oa(n),r)}};function ME(){return new Gn(ve(),b())}function Vl(t){return jo(()=>{let e=t.prototype.constructor,r=e[xs]||Cu(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[xs]||Cu(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cu(t){return zp(t)?()=>{let e=Cu(Re(t));return e&&e()}:qn(t)}function SE(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[A]&2048&&!(s[A]&512);){let a=zg(i,s,r,n|j.Self,Rt);if(a!==Rt)return a;let c=i.parent;if(!c){let u=s[gg];if(u){let l=u.get(r,Rt,n);if(l!==Rt)return l}c=Gg(s),s=s[Hr]}i=c}return o}function Gg(t){let e=t[R],r=e.type;return r===2?e.declTNode:r===1?t[Ue]:null}function Bl(t){return CE(ve(),t)}function up(t,e=null,r=null,n){let o=qg(t,e,r,n);return o.resolveInjectorInitializers(),o}function qg(t,e=null,r=null,n,o=new Set){let i=[r||Oe,NI(t)];return n=n||(typeof t=="object"?void 0:Pe(t)),new No(i,e||aa(),n||null,o)}var Hn=class Hn{static create(e,r){if(Array.isArray(e))return up({name:""},r,e,"");{let n=e.name??"";return up({name:n},e.parent,e.providers,n)}}};Hn.THROW_IF_NOT_FOUND=_o,Hn.NULL=new Ns,Hn.\u0275prov=I({token:Hn,providedIn:"any",factory:()=>w(Jp)}),Hn.__NG_ELEMENT_ID__=-1;var pe=Hn;var xE=new E("");xE.__NG_ELEMENT_ID__=t=>{let e=ve();if(e===null)throw new C(204,!1);if(e.type&2)return e.value;if(t&j.Optional)return null;throw new C(204,!1)};var _E="ngOriginalError";function Xc(t){return t[_E]}var mt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Xc(e);for(;r&&Xc(r);)r=Xc(r);return r||null}},Wg=new E("",{providedIn:"root",factory:()=>g(mt).handleError.bind(void 0)}),Ho=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=AE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),bu=class extends Ho{constructor(e){super(),this._lView=e}onDestroy(e){return bg(this._lView,e),()=>JI(this._lView,e)}};function AE(){return new bu(b())}function NE(){return Gr(ve(),b())}function Gr(t,e){return new qe(ot(t,e))}var qe=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=NE;let t=e;return t})();function Zg(t){return t instanceof qe?t.nativeElement:t}var Bt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new we(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Tu=class extends G{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,pg()&&(this.destroyRef=g(Ho,{optional:!0})??void 0,this.pendingTasks=g(Bt,{optional:!0})??void 0)}emit(e){let r=V(null);try{super.next(e)}finally{V(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof te&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},Ie=Tu;function RE(){return this._results[Symbol.iterator]()}var Mu=class t{get changes(){return this._changes??=new Ie}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=RE)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=dI(e);(this._changesDetected=!lI(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Yg(t){return(t.flags&128)===128}var Qg=new Map,OE=0;function PE(){return OE++}function FE(t){Qg.set(t[ca],t)}function kE(t){Qg.delete(t[ca])}var lp="__ngContext__";function wn(t,e){yn(e)?(t[lp]=e[ca],FE(e)):t[lp]=e}function Kg(t){return Xg(t[Ro])}function Jg(t){return Xg(t[gt])}function Xg(t){for(;t!==null&&!Qt(t);)t=t[gt];return t}var Su;function em(t){Su=t}function tm(){if(Su!==void 0)return Su;if(typeof document<"u")return document;throw new C(210,!1)}var ma=new E("",{providedIn:"root",factory:()=>LE}),LE="ng",Ul=new E(""),yt=new E("",{providedIn:"platform",factory:()=>"unknown"});var aV=new E(""),$l=new E("",{providedIn:"root",factory:()=>tm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Hl={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},nm=new E("",{providedIn:"root",factory:()=>Hl});var jE="h",VE="b";var BE=()=>null;function zl(t,e,r=!1){return BE(t,e,r)}var rm=!1,UE=new E("",{providedIn:"root",factory:()=>rm});var gs;function om(){if(gs===void 0&&(gs=null,he.trustedTypes))try{gs=he.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return gs}function va(t){return om()?.createHTML(t)||t}function $E(t){return om()?.createScriptURL(t)||t}var ms;function im(){if(ms===void 0&&(ms=null,he.trustedTypes))try{ms=he.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ms}function dp(t){return im()?.createHTML(t)||t}function fp(t){return im()?.createScriptURL(t)||t}var Zt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$p})`}},xu=class extends Zt{getTypeName(){return"HTML"}},_u=class extends Zt{getTypeName(){return"Style"}},Au=class extends Zt{getTypeName(){return"Script"}},Nu=class extends Zt{getTypeName(){return"URL"}},Ru=class extends Zt{getTypeName(){return"ResourceURL"}};function $e(t){return t instanceof Zt?t.changingThisBreaksApplicationSecurity:t}function Jt(t,e){let r=HE(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${$p})`)}return r===e}function HE(t){return t instanceof Zt&&t.getTypeName()||null}function sm(t){return new xu(t)}function am(t){return new _u(t)}function cm(t){return new Au(t)}function um(t){return new Nu(t)}function lm(t){return new Ru(t)}function zE(t){let e=new Pu(t);return GE()?new Ou(e):e}var Ou=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(va(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Pu=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=va(e),r}};function GE(){try{return!!new window.DOMParser().parseFromString(va(""),"text/html")}catch{return!1}}var qE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ya(t){return t=String(t),t.match(qE)?t:"unsafe:"+t}function Xt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function zo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var dm=Xt("area,br,col,hr,img,wbr"),fm=Xt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hm=Xt("rp,rt"),WE=zo(hm,fm),ZE=zo(fm,Xt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),YE=zo(hm,Xt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),hp=zo(dm,ZE,YE,WE),pm=Xt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),QE=Xt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),KE=Xt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),JE=zo(pm,QE,KE),XE=Xt("script,style,template"),Fu=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,o=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){o.push(r),r=nC(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=tC(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=pp(e).toLowerCase();if(!hp.hasOwnProperty(r))return this.sanitizedSomething=!0,!XE.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o<n.length;o++){let i=n.item(o),s=i.name,a=s.toLowerCase();if(!JE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;pm[a]&&(c=ya(c)),this.buf.push(" ",s,'="',gp(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=pp(e).toLowerCase();hp.hasOwnProperty(r)&&!dm.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(gp(e))}};function eC(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function tC(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw gm(e);return e}function nC(t){let e=t.firstChild;if(e&&eC(t,e))throw gm(e);return e}function pp(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function gm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var rC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oC=/([^\#-~ |!])/g;function gp(t){return t.replace(/&/g,"&").replace(rC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(oC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var vs;function Gl(t,e){let r=null;try{vs=vs||zE(t);let n=e?String(e):"";r=vs.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=vs.getInertBodyElement(n)}while(n!==i);let a=new Fu().sanitizeChildren(mp(r)||r);return va(a)}finally{if(r){let n=mp(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function mp(t){return"content"in t&&iC(t)?t.content:null}function iC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var We=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(We||{});function ql(t){let e=Wl();return e?dp(e.sanitize(We.HTML,t)||""):Jt(t,"HTML")?dp($e(t)):Gl(tm(),je(t))}function sC(t){let e=Wl();return e?e.sanitize(We.URL,t)||"":Jt(t,"URL")?$e(t):ya(je(t))}function aC(t){let e=Wl();if(e)return fp(e.sanitize(We.RESOURCE_URL,t)||"");if(Jt(t,"ResourceURL"))return fp($e(t));throw new C(904,!1)}function cV(t){return $E(t[0])}function cC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?aC:sC}function mm(t,e,r){return cC(e,r)(t)}function Wl(){let t=b();return t&&t[Pt].sanitizer}var uC=/^>|^->|<!--|-->|--!>|<!-$/g,lC=/(<|>)/g,dC="\u200B$1\u200B";function fC(t){return t.replace(uC,e=>e.replace(lC,dC))}function uV(t){return t.ownerDocument.defaultView}function lV(t){return t.ownerDocument}function vm(t){return t instanceof Function?t():t}function ym(t){return(t??g(pe)).get(yt)==="browser"}var kt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(kt||{}),hC;function Zl(t,e){return hC(t,e)}function Cr(t,e,r,n,o){if(n!=null){let i,s=!1;Qt(n)?i=n:yn(n)&&(s=!0,n=n[Vt]);let a=Ft(n);t===0&&r!==null?o==null?Cm(e,r,a):Vs(e,r,a,o||null,!0):t===1&&r!==null?Vs(e,r,a,o||null,!0):t===2?xC(e,a,s):t===3&&e.destroyNode(a),i!=null&&AC(e,t,i,r,o)}}function pC(t,e){return t.createText(e)}function gC(t,e,r){t.setValue(e,r)}function mC(t,e){return t.createComment(fC(e))}function Dm(t,e,r){return t.createElement(e,r)}function vC(t,e){wm(t,e),e[Vt]=null,e[Ue]=null}function yC(t,e,r,n,o,i){n[Vt]=o,n[Ue]=e,Ia(t,n,r,1,o,i)}function wm(t,e){e[Pt].changeDetectionScheduler?.notify(8),Ia(t,e,e[Q],2,null,null)}function DC(t){let e=t[Ro];if(!e)return eu(t[R],t);for(;e;){let r=null;if(yn(e))r=e[Ro];else{let n=e[be];n&&(r=n)}if(!r){for(;e&&!e[gt]&&e!==t;)yn(e)&&eu(e[R],e),e=e[Me];e===null&&(e=t),yn(e)&&eu(e[R],e),r=e&&e[gt]}e=r}}function wC(t,e,r,n){let o=be+n,i=r.length;n>0&&(r[o-1][gt]=e),n<i-be?(e[gt]=r[o],Kp(r,be+n,e)):(r.push(e),e[gt]=null),e[Me]=r;let s=e[Wn];s!==null&&r!==s&&Im(s,e);let a=e[qt];a!==null&&a.insertView(t),Du(e),e[A]|=128}function Im(t,e){let r=t[Rr],n=e[Me];if(yn(n))t[A]|=Ps.HasTransplantedViews;else{let o=n[Me][Ve];e[Ve]!==o&&(t[A]|=Ps.HasTransplantedViews)}r===null?t[Rr]=[e]:r.push(e)}function Yl(t,e){let r=t[Rr],n=r.indexOf(e);r.splice(n,1)}function Po(t,e){if(t.length<=be)return;let r=be+e,n=t[r];if(n){let o=n[Wn];o!==null&&o!==t&&Yl(o,n),e>0&&(t[r-1][gt]=n[gt]);let i=As(t,be+e);vC(n[R],n);let s=i[qt];s!==null&&s.detachView(i[R]),n[Me]=null,n[gt]=null,n[A]&=-129}return n}function Da(t,e){if(!(e[A]&256)){let r=e[Q];r.destroyNode&&Ia(t,e,r,3,null,null),DC(e)}}function eu(t,e){if(e[A]&256)return;let r=V(null);try{e[A]&=-129,e[A]|=256,e[rt]&&ds(e[rt]),EC(t,e),IC(t,e),e[R].type===1&&e[Q].destroy();let n=e[Wn];if(n!==null&&Qt(e[Me])){n!==e[Me]&&Yl(n,e);let o=e[qt];o!==null&&o.detachView(t)}kE(e)}finally{V(r)}}function IC(t,e){let r=t.cleanup,n=e[Rs];if(r!==null)for(let i=0;i<r.length-1;i+=2)if(typeof r[i]=="string"){let s=r[i+3];s>=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[Rs]=null);let o=e[vn];if(o!==null){e[vn]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function EC(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=e[r[n]];if(!(o instanceof Kn)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Nt(4,a,c);try{c.call(a)}finally{Nt(5,a,c)}}else{Nt(4,o,i);try{i.call(o)}finally{Nt(5,o,i)}}}}}function Em(t,e,r){return CC(t,e.parent,r)}function CC(t,e,r){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return r[Vt];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Ot.None||i===Ot.Emulated)return null}return ot(n,r)}}function Vs(t,e,r,n,o){t.insertBefore(e,r,n,o)}function Cm(t,e,r){t.appendChild(e,r)}function vp(t,e,r,n,o){n!==null?Vs(t,e,r,n,o):Cm(t,e,r)}function bC(t,e,r,n){t.removeChild(e,r,n)}function Ql(t,e){return t.parentNode(e)}function TC(t,e){return t.nextSibling(e)}function bm(t,e,r){return SC(t,e,r)}function MC(t,e,r){return t.type&40?ot(t,r):null}var SC=MC,yp;function wa(t,e,r,n){let o=Em(t,n,e),i=e[Q],s=n.parent||e[Ue],a=bm(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)vp(i,o,r[c],a,!1);else vp(i,o,r,a,!1);yp!==void 0&&yp(i,n,e,r,o)}function Ms(t,e){if(e!==null){let r=e.type;if(r&3)return ot(e,t);if(r&4)return ku(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Ms(t,n);{let o=t[e.index];return Qt(o)?ku(-1,o):Ft(o)}}else{if(r&32)return Zl(e,t)()||Ft(t[e.index]);{let n=Tm(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=Yn(t[Ve]);return Ms(o,n)}else return Ms(t,e.next)}}}return null}function Tm(t,e){if(e!==null){let n=t[Ve][Ue],o=e.projection;return n.projection[o]}return null}function ku(t,e){let r=be+t+1;if(r<e.length){let n=e[r],o=n[R].firstChild;if(o!==null)return Ms(n,o)}return e[Zn]}function xC(t,e,r){let n=Ql(t,e);n&&bC(t,n,e,r)}function Kl(t,e,r,n,o,i,s){for(;r!=null;){let a=n[r.index],c=r.type;if(s&&e===0&&(a&&wn(Ft(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)Kl(t,e,r.child,n,o,i,!1),Cr(e,t,o,a,i);else if(c&32){let u=Zl(r,n),l;for(;l=u();)Cr(e,t,o,l,i);Cr(e,t,o,a,i)}else c&16?Mm(t,e,n,r,o,i):Cr(e,t,o,a,i);r=s?r.projectionNext:r.next}}function Ia(t,e,r,n,o,i){Kl(r,n,t.firstChild,e,o,i,!1)}function _C(t,e,r){let n=e[Q],o=Em(t,r,e),i=r.parent||e[Ue],s=bm(i,r,e);Mm(n,0,e,r,o,s)}function Mm(t,e,r,n,o,i){let s=r[Ve],c=s[Ue].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Cr(e,t,o,l,i)}else{let u=c,l=s[Me];Yg(n)&&(u.flags|=128),Kl(t,e,u,l,o,i,!0)}}function AC(t,e,r,n,o){let i=r[Zn],s=Ft(r);i!==s&&Cr(e,t,n,i,o);for(let a=be;a<r.length;a++){let c=r[a];Ia(c[R],c,t,e,n,i)}}function NC(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:kt.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=kt.Important),t.setStyle(r,n,o,i))}}function RC(t,e,r){t.setAttribute(e,"style",r)}function Sm(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function xm(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&hu(t,e,n),o!==null&&Sm(t,e,o),i!==null&&RC(t,e,i)}var ae={};function ge(t=1){_m(Z(),b(),vt()+t,!1)}function _m(t,e,r,n){if(!n)if((e[A]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Cs(e,i,r)}else{let i=t.preOrderHooks;i!==null&&bs(e,i,0,r)}Qn(r)}function O(t,e=j.Default){let r=b();if(r===null)return w(t,e);let n=ve();return Hg(n,r,Re(t),e)}function Am(){let t="invalid";throw new Error(t)}function Nm(t,e,r,n,o,i){let s=V(null);try{let a=null;o&xr.SignalBased&&(a=e[n][nt]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&xr.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):mg(e,a,n,i)}finally{V(s)}}function OC(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)Qn(~o);else{let i=o,s=r[++n],a=r[++n];cE(s,i);let c=e[i];a(2,c)}}}finally{Qn(-1)}}function Ea(t,e,r,n,o,i,s,a,c,u,l){let d=e.blueprint.slice();return d[Vt]=o,d[A]=n|4|128|8|64,(u!==null||t&&t[A]&2048)&&(d[A]|=2048),Eg(d),d[Me]=d[Hr]=t,d[Ee]=r,d[Pt]=s||t&&t[Pt],d[Q]=a||t&&t[Q],d[Nr]=c||t&&t[Nr]||null,d[Ue]=i,d[ca]=PE(),d[Ar]=l,d[gg]=u,d[Ve]=e.type==2?t[Ve]:d,d}function qr(t,e,r,n,o){let i=t.data[e];if(i===null)i=PC(t,e,r,n,o),aE()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=oE();i.injectorIndex=s===null?-1:s.injectorIndex}return nr(i,!0),i}function PC(t,e,r,n,o){let i=xg(),s=Nl(),a=s?i:i&&i.parent,c=t.data[e]=BC(t,a,r,e,n,o);return t.firstChild===null&&(t.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Rm(t,e,r,n){if(r===0)return-1;let o=e.length;for(let i=0;i<r;i++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Om(t,e,r,n,o){let i=vt(),s=n&2;try{Qn(-1),s&&e.length>re&&_m(t,e,re,!1),Nt(s?2:0,o),r(n,o)}finally{Qn(i),Nt(s?3:1,o)}}function Jl(t,e,r){if(Ml(e)){let n=V(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=r[s];a.contentQueries(1,c,s)}}}finally{V(n)}}}function Xl(t,e,r){Mg()&&(qC(t,e,r,ot(r,e)),(r.flags&64)===64&&km(t,e,r))}function ed(t,e,r=ot){let n=e.localNames;if(n!==null){let o=e.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(e,t):t[s];t[o++]=a}}}function Pm(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=td(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function td(t,e,r,n,o,i,s,a,c,u,l){let d=re+n,f=d+o,h=FC(d,f),p=typeof u=="function"?u():u;return h[R]={type:t,blueprint:h,template:r,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function FC(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:ae);return r}function kC(t,e,r,n){let i=n.get(UE,rm)||r===Ot.ShadowDom,s=t.selectRootElement(e,i);return LC(s),s}function LC(t){jC(t)}var jC=()=>null;function VC(t,e,r,n){let o=Vm(e);o.push(r),t.firstCreatePass&&Bm(t).push(n,o.length-1)}function BC(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Sg()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Dp(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=xr.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?wp(n,r,u,a,c):wp(n,r,u,a)}return n}function wp(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function UC(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l<o;l++){let d=i[l],f=r?r.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;c=Dp(0,d.inputs,l,c,h),u=Dp(1,d.outputs,l,u,p);let v=c!==null&&s!==null&&!El(e)?rb(c,l,s):null;a.push(v)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function $C(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function rr(t,e,r,n,o,i,s,a){let c=ot(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(rd(t,r,l,n,o),ua(e)&&HC(r,e.index)):e.type&3?(n=$C(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(c,n,o)):e.type&12}function HC(t,e){let r=bn(e,t);r[A]&16||(r[A]|=64)}function nd(t,e,r,n){if(Mg()){let o=n===null?null:{"":-1},i=ZC(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Fm(t,e,r,s,o,a),o&&YC(r,n,o)}r.mergedAttrs=Ao(r.mergedAttrs,r.attrs)}function Fm(t,e,r,n,o,i){for(let u=0;u<n.length;u++)Eu(js(r,e),t,n[u].type);KC(r,t.data.length,n.length);for(let u=0;u<n.length;u++){let l=n[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=Rm(t,e,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=Ao(r.mergedAttrs,l.hostAttrs),JC(t,r,e,c,l),QC(c,l,o),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}UC(t,r,i)}function zC(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;GC(s)!=a&&s.push(a),s.push(r,n,i)}}function GC(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function qC(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;ua(r)&&XC(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||js(r,e),wn(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let c=t.data[a],u=Jn(e,t,a,r);if(wn(u,e),s!==null&&nb(e,a-o,u,c,r,s),Wt(c)){let l=bn(r.index,e);l[Ee]=Jn(e,t,a,r)}}}function km(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=uE();try{Qn(i);for(let a=n;a<o;a++){let c=t.data[a],u=e[a];wu(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&WC(c,u)}}finally{Qn(-1),wu(s)}}function WC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function ZC(t,e){let r=t.directiveRegistry,n=null,o=null;if(r)for(let i=0;i<r.length;i++){let s=r[i];if(rg(e,s.selectors,!1))if(n||(n=[]),Wt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;Lu(t,e,c)}else n.unshift(s),Lu(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Lu(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function YC(t,e,r){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=r[e[o+1]];if(i==null)throw new C(-301,!1);n.push(e[o],i)}}}function QC(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Wt(e)&&(r[""]=t)}}function KC(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function JC(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=qn(o.type,!0)),s=new Kn(i,Wt(o),O);t.blueprint[n]=s,r[n]=s,zC(t,e,n,Rm(t,r,o.hostVars,ae),o)}function XC(t,e,r){let n=ot(e,t),o=Pm(r),i=t[Pt].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Ca(t,Ea(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function eb(t,e,r,n,o,i){let s=ot(t,e);tb(e[Q],s,i,t.value,r,n,o)}function tb(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?je(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function nb(t,e,r,n,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Nm(n,r,c,u,l,d)}}function rb(t,e,r){let n=null,o=0;for(;o<r.length;){let i=r[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){n===null&&(n=[]);let s=t[i];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(i,s[a+1],s[a+2],r[o+1]);break}}o+=2}return n}function Lm(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function jm(t,e){let r=t.contentQueries;if(r!==null){let n=V(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=t.data[s];fa(i),a.contentQueries(2,e[s],s)}}}finally{V(n)}}}function Ca(t,e){return t[Ro]?t[rp][gt]=e:t[Ro]=e,t[rp]=e,e}function ju(t,e,r){fa(0);let n=V(null);try{e(t,r)}finally{V(n)}}function Vm(t){return t[Rs]??=[]}function Bm(t){return t.cleanup??=[]}function Um(t,e,r){return(t===null||Wt(t))&&(r=ZI(r[e.index])),r[Q]}function $m(t,e){let r=t[Nr],n=r?r.get(mt,null):null;n&&n.handleError(e)}function rd(t,e,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],c=r[i++],u=e[s],l=t.data[s];Nm(l,u,n,a,c,o)}}function ba(t,e,r){let n=Ig(e,t);gC(t[Q],n,r)}function ob(t,e){let r=bn(e,t),n=r[R];ib(n,r);let o=r[Vt];o!==null&&r[Ar]===null&&(r[Ar]=zl(o,r[Nr])),od(n,r,r[Ee])}function ib(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function od(t,e,r){kl(e);try{let n=t.viewQuery;n!==null&&ju(1,n,r);let o=t.template;o!==null&&Om(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),e[qt]?.finishViewCreation(t),t.staticContentQueries&&jm(t,e),t.staticViewQueries&&ju(2,t.viewQuery,r);let i=t.components;i!==null&&sb(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[A]&=-5,Ll()}}function sb(t,e){for(let r=0;r<e.length;r++)ob(t,e[r])}function Go(t,e,r,n){let o=V(null);try{let i=e.tView,a=t[A]&4096?4096:16,c=Ea(t,i,r,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),u=t[e.index];c[Wn]=u;let l=t[qt];return l!==null&&(c[qt]=l.createEmbeddedView(i)),od(i,c,r),c}finally{V(o)}}function Hm(t,e){let r=be+e;if(r<t.length)return t[r]}function Or(t,e){return!e||e.firstChild===null||Yg(t)}function qo(t,e,r,n=!0){let o=e[R];if(wC(o,e,t,r),n){let s=ku(r,t),a=e[Q],c=Ql(a,t[Zn]);c!==null&&yC(o,t[Ue],a,e,c,s)}let i=e[Ar];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function zm(t,e){let r=Po(t,e);return r!==void 0&&Da(r[R],r),r}function Bs(t,e,r,n,o=!1){for(;r!==null;){let i=e[r.index];i!==null&&n.push(Ft(i)),Qt(i)&&ab(i,n);let s=r.type;if(s&8)Bs(t,e,r.child,n);else if(s&32){let a=Zl(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Tm(e,r);if(Array.isArray(a))n.push(...a);else{let c=Yn(e[Ve]);Bs(c[R],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function ab(t,e){for(let r=be;r<t.length;r++){let n=t[r],o=n[R].firstChild;o!==null&&Bs(n[R],n,o,e)}t[Zn]!==t[Vt]&&e.push(t[Zn])}var Gm=[];function cb(t){return t[rt]??ub(t)}function ub(t){let e=Gm.pop()??Object.create(db);return e.lView=t,e}function lb(t){t.lView[rt]!==t&&(t.lView=null,Gm.push(t))}var db=z(y({},wr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{da(t.lView)},consumerOnSignalRead(){this.lView[rt]=this}});function fb(t){let e=t[rt]??Object.create(hb);return e.lView=t,e}var hb=z(y({},wr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Yn(t.lView);for(;e&&!qm(e[R]);)e=Yn(e);e&&Cg(e)},consumerOnSignalRead(){this.lView[rt]=this}});function qm(t){return t.type!==2}var pb=100;function Wm(t,e=!0,r=0){let n=t[Pt],o=n.rendererFactory,i=!1;i||o.begin?.();try{gb(t,r)}catch(s){throw e&&$m(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function gb(t,e){let r=_g();try{ip(!0),Vu(t,e);let n=0;for(;Oo(t);){if(n===pb)throw new C(103,!1);n++,Vu(t,1)}}finally{ip(r)}}function mb(t,e,r,n){let o=e[A];if((o&256)===256)return;let i=!1,s=!1;!i&&e[Pt].inlineEffectRunner?.flush(),kl(e);let a=!0,c=null,u=null;i||(qm(t)?(u=cb(e),c=Mo(u)):Oh()===null?(a=!1,u=fb(e),c=Mo(u)):e[rt]&&(ds(e[rt]),e[rt]=null));try{Eg(e),sE(t.bindingStartIndex),r!==null&&Om(t,e,r,2,n);let l=(o&3)===3;if(!i)if(l){let h=t.preOrderCheckHooks;h!==null&&Cs(e,h,null)}else{let h=t.preOrderHooks;h!==null&&bs(e,h,0,null),Kc(e,0)}if(s||vb(e),Zm(e,0),t.contentQueries!==null&&jm(t,e),!i)if(l){let h=t.contentCheckHooks;h!==null&&Cs(e,h)}else{let h=t.contentHooks;h!==null&&bs(e,h,1),Kc(e,1)}OC(t,e);let d=t.components;d!==null&&Qm(e,d,0);let f=t.viewQuery;if(f!==null&&ju(2,f,n),!i)if(l){let h=t.viewCheckHooks;h!==null&&Cs(e,h)}else{let h=t.viewHooks;h!==null&&bs(e,h,2),Kc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Es]){for(let h of e[Es])h();e[Es]=null}i||(e[A]&=-73)}catch(l){throw i||da(e),l}finally{u!==null&&(us(u,c),a&&lb(u)),Ll()}}function Zm(t,e){for(let r=Kg(t);r!==null;r=Jg(r))for(let n=be;n<r.length;n++){let o=r[n];Ym(o,e)}}function vb(t){for(let e=Kg(t);e!==null;e=Jg(e)){if(!(e[A]&Ps.HasTransplantedViews))continue;let r=e[Rr];for(let n=0;n<r.length;n++){let o=r[n];Cg(o)}}}function yb(t,e,r){let n=bn(e,t);Ym(n,r)}function Ym(t,e){xl(t)&&Vu(t,e)}function Vu(t,e){let n=t[R],o=t[A],i=t[rt],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&ls(i)),s||=!1,i&&(i.dirty=!1),t[A]&=-9217,s)mb(n,t,n.template,t[Ee]);else if(o&8192){Zm(t,1);let a=n.components;a!==null&&Qm(t,a,1)}}function Qm(t,e,r){for(let n=0;n<e.length;n++)yb(t,e[n],r)}function id(t,e){let r=_g()?64:1088;for(t[Pt].changeDetectionScheduler?.notify(e);t;){t[A]|=r;let n=Yn(t);if(vu(t)&&!n)return t;t=n}return null}var Xn=class{get rootNodes(){let e=this._lView,r=e[R];return Bs(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ee]}set context(e){this._lView[Ee]=e}get destroyed(){return(this._lView[A]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Me];if(Qt(e)){let r=e[Os],n=r?r.indexOf(this):-1;n>-1&&(Po(e,n),As(r,n))}this._attachedToViewContainer=!1}Da(this._lView[R],this._lView)}onDestroy(e){bg(this._lView,e)}markForCheck(){id(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[A]&=-129}reattach(){Du(this._lView),this._lView[A]|=128}detectChanges(){this._lView[A]|=1024,Wm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=vu(this._lView),r=this._lView[Wn];r!==null&&!e&&Yl(r,this._lView),wm(this._lView[R],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=e;let r=vu(this._lView),n=this._lView[Wn];n!==null&&!r&&Im(n,this._lView),Du(this._lView)}},In=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ib;let t=e;return t})(),Db=In,wb=class extends Db{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=Go(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Xn(o)}};function Ib(){return Ta(ve(),b())}function Ta(t,e){return t.type&4?new wb(e,t,Gr(t,e)):null}var fV=new RegExp(`^(\\d+)*(${VE}|${jE})*(.*)`);var Eb=()=>null;function Pr(t,e){return Eb(t,e)}var Fr=class{},Km=new E("",{providedIn:"root",factory:()=>!1});var Jm=new E(""),Bu=class{},Us=class{};function Cb(t){let e=Error(`No component factory found for ${Pe(t)}.`);return e[bb]=t,e}var bb="ngComponent";var Uu=class{resolveComponentFactory(e){throw Cb(e)}},Td=class Td{};Td.NULL=new Uu;var En=Td,kr=class{},Sn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Tb();let t=e;return t})();function Tb(){let t=b(),e=ve(),r=bn(e.index,t);return(yn(r)?r:t)[Q]}var Mb=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),tu={};var Ip=new Set;function Dt(t){Ip.has(t)||(Ip.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Xm(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof he.requestAnimationFrame=="function"&&he.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function Ep(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function Cp(...t){}var B=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,_b(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new C(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Sb,Cp,Cp);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},Sb={};function sd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function xb(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Xm(()=>{t.callbackScheduled=!1,$u(t),t.isCheckStableRunning=!0,sd(t),t.isCheckStableRunning=!1})}),$u(t))}function _b(t){let e=()=>{xb(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(Ab(a))return r.invokeTask(o,i,s,a);try{return bp(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Tp(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return bp(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Nb(a)&&e(),Tp(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,$u(t),sd(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function $u(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function bp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Tp(t){t._nesting--,sd(t)}var $s=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function Ab(t){return ev(t,"__ignore_ng_zone__")}function Nb(t){return ev(t,"__scheduler_tick__")}function ev(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function Rb(t="zone.js",e){return t==="noop"?new $s:t==="zone.js"?new B(e):t}var zn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(zn||{}),tv={destroy(){}};function Ob(t,e){!e&&bl(Ob);let r=e?.injector??g(pe);if(!ym(r))return tv;Dt("NgAfterRender");let n=r.get(Sa),o=n.handler??=new zs,i=e?.phase??zn.MixedReadWrite,s=()=>{o.unregister(c),a()},a=r.get(Ho).onDestroy(s),c=Be(r,()=>new Hs(i,t));return o.register(c),{destroy:s}}function Ma(t,e){!e&&bl(Ma);let r=e?.injector??g(pe);if(!ym(r))return tv;Dt("NgAfterNextRender");let n=r.get(Sa),o=n.handler??=new zs,i=e?.phase??zn.MixedReadWrite,s=()=>{o.unregister(c),a()},a=r.get(Ho).onDestroy(s),c=Be(r,()=>new Hs(i,()=>{s(),t()}));return o.register(c),{destroy:s}}var Hs=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=g(B),this.errorHandler=g(mt,{optional:!0}),g(Fr,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},zs=class{constructor(){this.executingCallbacks=!1,this.buckets={[zn.EarlyRead]:new Set,[zn.Write]:new Set,[zn.MixedReadWrite]:new Set,[zn.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Sa=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Gs(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=uu(o,a);else if(i==2){let c=a,u=e[++s];n=uu(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var qs=class extends En{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Gt(e);return new er(r,this.ngModule)}};function Mp(t){let e=[];for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:r})}return e}function Pb(t){let e=t.toLowerCase();return e==="svg"?wg:e==="math"?WI:null}var Hu=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=oa(n);let o=this.injector.get(e,tu,n);return o!==tu||r===tu?o:this.parentInjector.get(e,r,n)}},er=class extends Us{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Mp(e.inputs);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Mp(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=MI(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){let i=V(null);try{o=o||this.ngModule;let s=o instanceof Te?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Hu(e,s):e,c=a.get(kr,null);if(c===null)throw new C(407,!1);let u=a.get(Mb,null),l=a.get(Sa,null),d=a.get(Fr,null),f={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",v=n?kC(h,n,this.componentDef.encapsulation,a):Dm(h,p,Pb(p)),m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let D=null;v!==null&&(D=zl(v,a,!0));let N=td(0,null,null,1,0,null,null,null,null,null,null),W=Ea(null,N,null,m,null,null,f,h,a,null,D);kl(W);let U,Ae;try{let ue=this.componentDef,et,cr=null;ue.findHostDirectiveDefs?(et=[],cr=new Map,ue.findHostDirectiveDefs(ue,et,cr),et.push(ue)):et=[ue];let jD=Fb(W,v),VD=kb(jD,v,ue,et,W,f,h);Ae=Sl(N,re),v&&Vb(h,ue,v,n),r!==void 0&&Bb(Ae,this.ngContentSelectors,r),U=jb(VD,ue,et,cr,W,[Ub]),od(N,W,null)}finally{Ll()}return new zu(this.componentType,U,Gr(Ae,W),W,Ae)}finally{V(i)}}},zu=class extends Bu{constructor(e,r,n,o,i){super(),this.location=n,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Xn(o,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let i=this._rootLView;rd(i[R],i,o,e,r),this.previousInputValues.set(e,r);let s=bn(this._tNode.index,i);id(s,1)}}get injector(){return new Gn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Fb(t,e){let r=t[R],n=re;return t[n]=e,qr(r,n,2,"#host",null)}function kb(t,e,r,n,o,i,s){let a=o[R];Lb(n,t,e,s);let c=null;e!==null&&(c=zl(e,o[Nr]));let u=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=Ea(o,Pm(r),null,l,o[t.index],t,i,u,null,null,c);return a.firstCreatePass&&Lu(a,t,n.length-1),Ca(o,d),o[t.index]=d}function Lb(t,e,r,n){for(let o of t)e.mergedAttrs=Ao(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(Gs(e,e.mergedAttrs,!0),r!==null&&xm(n,r,e))}function jb(t,e,r,n,o,i){let s=ve(),a=o[R],c=ot(s,o);Fm(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=Jn(o,a,d,s);wn(f,o)}km(a,o,s),c&&wn(c,o);let u=Jn(o,a,s.directiveStart+s.componentOffset,s);if(t[Ee]=o[Ee]=u,i!==null)for(let l of i)l(u,e);return Jl(a,s,o),u}function Vb(t,e,r,n){if(n)hu(t,r,["ng-version","18.0.3"]);else{let{attrs:o,classes:i}=SI(e.selectors[0]);o&&hu(t,r,o),i&&i.length>0&&Sm(t,r,i.join(" "))}}function Bb(t,e,r){let n=t.projection=[];for(let o=0;o<e.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function Ub(){let t=ve();ga(b()[R],t)}var wt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=$b;let t=e;return t})();function $b(){let t=ve();return rv(t,b())}var Hb=wt,nv=class extends Hb{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new Gn(this._hostTNode,this._hostLView)}get parentInjector(){let e=jl(this._hostTNode,this._hostLView);if(Lg(e)){let r=ks(e,this._hostLView),n=Fs(e),o=r[R].data[n+8];return new Gn(o,r)}else return new Gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Sp(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-be}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Pr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Or(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!HI(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?e:new er(Gt(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let v=(s?u:this.parentInjector).get(Te,null);v&&(i=v)}let l=Gt(c.componentType??{}),d=Pr(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,Or(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(QI(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[Me],u=new nv(c,c[Ue],c[Me]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return qo(s,o,i,n),e.attachToViewContainerRef(),Kp(nu(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Sp(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Po(this._lContainer,r);n&&(As(nu(this._lContainer),r),Da(n[R],n))}detach(e){let r=this._adjustIndex(e,-1),n=Po(this._lContainer,r);return n&&As(nu(this._lContainer),r)!=null?new Xn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Sp(t){return t[Os]}function nu(t){return t[Os]||(t[Os]=[])}function rv(t,e){let r,n=e[t.index];return Qt(n)?r=n:(r=Lm(n,e,null,t),e[t.index]=r,Ca(e,r)),Gb(r,e,t,n),new nv(r,t,e)}function zb(t,e){let r=t[Q],n=r.createComment(""),o=ot(e,t),i=Ql(r,o);return Vs(r,i,n,TC(r,o),!1),n}var Gb=Zb,qb=()=>!1;function Wb(t,e,r){return qb(t,e,r)}function Zb(t,e,r,n){if(t[Zn])return;let o;r.type&8?o=Ft(n):o=zb(e,r),t[Zn]=o}var Gu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},qu=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i<n;i++){let s=r.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)cd(e,r).matches!==null&&this.queries[r].setDirty()}},Ws=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=e0(e):this.predicate=e}},Wu=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(e,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Zu=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(e,r,Yb(r,i)),this.matchTNodeWithReadOption(e,r,Ts(r,e,i,!1,!1))}else n===In?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Ts(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===qe||o===wt||o===In&&r.type&4)this.addMatch(r.index,-2);else{let i=Ts(r,e,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function Yb(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function Qb(t,e){return t.type&11?Gr(t,e):t.type&4?Ta(t,e):null}function Kb(t,e,r,n){return r===-1?Qb(e,t):r===-2?Jb(t,e,n):Jn(t,t[R],r,e)}function Jb(t,e,r){if(r===qe)return Gr(e,t);if(r===In)return Ta(e,t);if(r===wt)return rv(e,t)}function ov(t,e,r,n){let o=e[qt].queries[n];if(o.matches===null){let i=t.data,s=r.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Kb(e,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function Yu(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=ov(t,e,o,r);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)n.push(s[a/2]);else{let u=i[a+1],l=e[-c];for(let d=be;d<l.length;d++){let f=l[d];f[Wn]===f[Me]&&Yu(f[R],f,u,n)}if(l[Rr]!==null){let d=l[Rr];for(let f=0;f<d.length;f++){let h=d[f];Yu(h[R],h,u,n)}}}}}return n}function ad(t,e){return t[qt].queries[e].queryList}function iv(t,e,r){let n=new Mu((r&4)===4);return VC(t,e,n,n.destroy),(e[qt]??=new qu).queries.push(new Gu(n))-1}function sv(t,e,r){let n=Z();return n.firstCreatePass&&(av(n,new Ws(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),iv(n,b(),e)}function Xb(t,e,r,n){let o=Z();if(o.firstCreatePass){let i=ve();av(o,new Ws(e,r,n),i.index),t0(o,t),(r&2)===2&&(o.staticContentQueries=!0)}return iv(o,b(),r)}function e0(t){return t.split(",").map(e=>e.trim())}function av(t,e,r){t.queries===null&&(t.queries=new Wu),t.queries.track(new Zu(e,r))}function t0(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function cd(t,e){return t.queries.getByIndex(e)}function cv(t,e){let r=t[R],n=cd(r,e);return n.crossesNgTemplate?Yu(r,t,e,[]):ov(r,t,n,e)}function n0(t){return typeof t=="function"&&t[nt]!==void 0}function Wr(t,e){Dt("NgSignals");let r=zh(t),n=r[nt];return e?.equal&&(n.equal=e.equal),r.set=o=>Zc(n,o),r.update=o=>Gh(n,o),r.asReadonly=r0.bind(r),r}function r0(){let t=this[nt];if(t.readonlyFn===void 0){let e=()=>this();e[nt]=t,t.readonlyFn=e}return t.readonlyFn}function uv(t){return n0(t)&&typeof t.set=="function"}function lv(t,e){let r,n=Wc(()=>{r._dirtyCounter();let o=a0(r,t);if(e&&o===void 0)throw new C(-951,!1);return o});return r=n[nt],r._dirtyCounter=Wr(0),r._flatValue=void 0,n}function o0(){return lv(!0,!1)}function i0(){return lv(!0,!0)}function s0(t,e){let r=t[nt];r._lView=b(),r._queryIndex=e,r._queryList=ad(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(n=>n+1))}function a0(t,e){let r=t._lView,n=t._queryIndex;if(r===void 0||n===void 0||r[A]&4)return e?void 0:Oe;let o=ad(r,n),i=cv(r,n);return o.reset(i,Zg),e?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function xp(t,e){return o0()}function c0(t,e){return i0()}var pV=(xp.required=c0,xp);function u0(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(h0))}return i}return Zs.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[u+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>p0(i));e.push(c)}),d0(),Promise.all(e).then(()=>{})}var Zs=new Map,l0=new Set;function d0(){let t=Zs;return Zs=new Map,t}function f0(){return Zs.size===0}function h0(t){return typeof t=="string"?t:t.text()}function p0(t){l0.delete(t)}function g0(t){return Object.getPrototypeOf(t.prototype).constructor}function m0(t){let e=g0(t.type),r=!0,n=[t];for(;e;){let o;if(Wt(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new C(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=ys(t.inputs),s.inputTransforms=ys(t.inputTransforms),s.declaredInputs=ys(t.declaredInputs),s.outputs=ys(t.outputs);let a=o.hostBindings;a&&I0(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&D0(t,c),u&&w0(t,u),v0(t,o),Gw(t.outputs,o.outputs),Wt(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(t),a===m0&&(r=!1)}}e=Object.getPrototypeOf(e)}y0(n)}function v0(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function y0(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=Ao(o.hostAttrs,r=Ao(r,o.hostAttrs))}}function ys(t){return t===Mr?{}:t===Oe?[]:t}function D0(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function w0(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function I0(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function xa(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}t.inputTransforms=r}var Yt=class{},Fo=class{};function dv(t,e){return new ko(t,e??null,[])}var ko=class extends Yt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qs(this);let o=ag(e);this._bootstrapComponents=vm(o.bootstrap),this._r3Injector=qg(e,r,[{provide:Yt,useValue:this},{provide:En,useValue:this.componentFactoryResolver},...n],Pe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Ys=class extends Fo{constructor(e){super(),this.moduleType=e}create(e){return new ko(this.moduleType,e,[])}};function E0(t,e,r){return new ko(t,e,r)}var Qu=class extends Yt{constructor(e){super(),this.componentFactoryResolver=new qs(this),this.instance=null;let r=new No([...e.providers,{provide:Yt,useValue:this},{provide:En,useValue:this.componentFactoryResolver}],e.parent||aa(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function _a(t,e,r=null){return new Qu({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function fv(t){return ud(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function C0(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function ud(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function xn(t,e,r){return t[e]=r}function ld(t,e){return t[e]}function Se(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Lr(t,e,r,n){let o=Se(t,e,r);return Se(t,e+1,n)||o}function hv(t,e,r,n,o){let i=Lr(t,e,r,n);return Se(t,e+2,o)||i}function Aa(t,e,r,n,o,i){let s=Lr(t,e,r,n);return Lr(t,e+2,o,i)||s}function b0(t){return(t.flags&32)===32}function T0(t,e,r,n,o,i,s,a,c){let u=e.consts,l=qr(e,t,4,s||null,a||null);nd(e,r,l,Dn(u,c)),ga(e,l);let d=l.tView=td(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Qs(t,e,r,n,o,i,s,a,c,u){let l=r+re,d=e.firstCreatePass?T0(l,e,t,n,o,i,s,a,c):e.data[l];nr(d,!1);let f=M0(e,t,d,r);ha()&&wa(e,t,f,d),wn(f,t);let h=Lm(f,t,f,d);return t[l]=h,Ca(t,h),Wb(h,d,t),la(d)&&Xl(e,t,d),c!=null&&ed(t,d,u),d}function Zr(t,e,r,n,o,i,s,a){let c=b(),u=Z(),l=Dn(u.consts,i);return Qs(c,u,t,e,r,n,o,l,s,a),Zr}var M0=S0;function S0(t,e,r,n){return pa(!0),e[Q].createComment("")}function _n(t,e,r,n){let o=b(),i=Tn();if(Se(o,i,e)){let s=Z(),a=Mn();eb(a,o,t,e,r,n)}return _n}function dd(t,e,r,n){return Se(t,Tn(),r)?e+je(r)+n:ae}function fd(t,e,r,n,o,i){let s=Ol(),a=Lr(t,s,r,o);return $o(2),a?e+je(r)+n+je(o)+i:ae}function pv(t,e,r,n,o,i,s,a){let c=Ol(),u=hv(t,c,r,o,s);return $o(3),u?e+je(r)+n+je(o)+i+je(s)+a:ae}function x0(t,e,r,n,o,i,s,a,c,u){let l=Ol(),d=Aa(t,l,r,o,s,c);return $o(4),d?e+je(r)+n+je(o)+i+je(s)+a+je(c)+u:ae}function Ds(t,e){return t<<17|e<<2}function tr(t){return t>>17&32767}function _0(t){return(t&2)==2}function A0(t,e){return t&131071|e<<17}function Ku(t){return t|2}function jr(t){return(t&131068)>>2}function ru(t,e){return t&-131069|e<<2}function N0(t){return(t&1)===1}function Ju(t){return t|1}function R0(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=tr(s),c=jr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Bo(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=tr(t[a+1]);t[n+1]=Ds(f,a),f!==0&&(t[f+1]=ru(t[f+1],n)),t[a+1]=A0(t[a+1],n)}else t[n+1]=Ds(a,0),a!==0&&(t[a+1]=ru(t[a+1],n)),a=n;else t[n+1]=Ds(c,0),a===0?a=n:t[c+1]=ru(t[c+1],n),c=n;u&&(t[n+1]=Ku(t[n+1])),_p(t,l,n,!0),_p(t,l,n,!1),O0(e,l,t,n,i),s=Ds(a,c),i?e.classBindings=s:e.styleBindings=s}function O0(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&Bo(i,e)>=0&&(r[n+1]=Ju(r[n+1]))}function _p(t,e,r,n){let o=t[r+1],i=e===null,s=n?tr(o):jr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];P0(c,e)&&(a=!0,t[s+1]=n?Ju(u):Ku(u)),s=n?tr(u):jr(u)}a&&(t[r+1]=n?Ku(o):Ju(o))}function P0(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Bo(t,e)>=0:!1}var fe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gv(t){return t.substring(fe.key,fe.keyEnd)}function F0(t){return t.substring(fe.value,fe.valueEnd)}function k0(t){return yv(t),mv(t,Vr(t,0,fe.textEnd))}function mv(t,e){let r=fe.textEnd;return r===e?-1:(e=fe.keyEnd=j0(t,fe.key=e,r),Vr(t,e,r))}function L0(t){return yv(t),vv(t,Vr(t,0,fe.textEnd))}function vv(t,e){let r=fe.textEnd,n=fe.key=Vr(t,e,r);return r===n?-1:(n=fe.keyEnd=V0(t,n,r),n=Ap(t,n,r,58),n=fe.value=Vr(t,n,r),n=fe.valueEnd=B0(t,n,r),Ap(t,n,r,59))}function yv(t){fe.key=0,fe.keyEnd=0,fe.value=0,fe.valueEnd=0,fe.textEnd=t.length}function Vr(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function j0(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function V0(t,e,r){let n;for(;e<r&&((n=t.charCodeAt(e))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function Ap(t,e,r,n){return e=Vr(t,e,r),e<r&&e++,e}function B0(t,e,r){let n=-1,o=-1,i=-1,s=e,a=s;for(;s<r;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Np(t,c,s,r):e===s-4&&i===85&&o===82&&n===76&&c===40?a=s=Np(t,41,s,r):c>32&&(a=s),i=o,o=n,n=c&-33}return a}function Np(t,e,r,n){let o=-1,i=r;for(;i<n;){let s=t.charCodeAt(i++);if(s==e&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function xe(t,e,r){let n=b(),o=Tn();if(Se(n,o,e)){let i=Z(),s=Mn();rr(i,s,n,t,e,n[Q],r,!1)}return xe}function Xu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";rd(t,r,i[s],s,n)}function An(t,e,r){return Dv(t,e,r,!1),An}function U0(t,e){return Dv(t,e,null,!0),U0}function gV(t){Na(Ev,$0,t,!1)}function $0(t,e){for(let r=L0(e);r>=0;r=vv(e,r))Ev(t,gv(e),F0(e))}function en(t){Na(Z0,hd,t,!0)}function hd(t,e){for(let r=k0(e);r>=0;r=mv(e,r))Ur(t,gv(e),!0)}function Dv(t,e,r,n){let o=b(),i=Z(),s=$o(2);if(i.firstUpdatePass&&Iv(i,t,s,n),e!==ae&&Se(o,s,e)){let a=i.data[vt()];Cv(i,a,o,o[Q],t,o[s+1]=Q0(e,r),n,s)}}function Na(t,e,r,n){let o=Z(),i=$o(2);o.firstUpdatePass&&Iv(o,null,i,n);let s=b();if(r!==ae&&Se(s,i,r)){let a=o.data[vt()];if(bv(a,n)&&!wv(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=uu(c,r||"")),Xu(o,a,s,r,n)}else Y0(o,a,s,s[Q],s[i+1],s[i+1]=W0(t,e,r),n,i)}}function wv(t,e){return e>=t.expandoStartIndex}function Iv(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[vt()],s=wv(t,r);bv(i,n)&&e===null&&!s&&(e=!1),e=H0(o,i,e,n),R0(o,i,e,r,s,n)}}function H0(t,e,r,n){let o=Pl(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=ou(null,t,e,r,n),r=Lo(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=ou(o,t,e,r,n),i===null){let c=z0(t,e,n);c!==void 0&&Array.isArray(c)&&(c=ou(null,t,e,c[1],n),c=Lo(c,e.attrs,n),G0(t,e,n,c))}else i=q0(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function z0(t,e,r){let n=r?e.classBindings:e.styleBindings;if(jr(n)!==0)return t[tr(n)]}function G0(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[tr(o)]=n}function q0(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=Lo(n,s,r)}return Lo(n,e.attrs,r)}function ou(t,e,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=e[a],n=Lo(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function Lo(t,e,r){let n=r?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Ur(t,s,r?!0:e[++i]))}return t===void 0?null:t}function W0(t,e,r){if(r==null||r==="")return Oe;let n=[],o=$e(r);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(n,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(n,i,o[i]);else typeof o=="string"&&e(n,o);return n}function Ev(t,e,r){Ur(t,e,$e(r))}function Z0(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&Ur(t,n,r)}function Y0(t,e,r,n,o,i,s,a){o===ae&&(o=Oe);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,h=u<i.length?i[u+1]:void 0,p=null,v;l===d?(c+=2,u+=2,f!==h&&(p=d,v=h)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,v=h),p!==null&&Cv(t,e,r,n,p,v,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Cv(t,e,r,n,o,i,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=N0(u)?Rp(c,e,r,o,jr(u),s):void 0;if(!Ks(l)){Ks(i)||_0(u)&&(i=Rp(c,null,r,o,a,s));let d=Ig(vt(),r);NC(n,s,d,o,i)}}function Rp(t,e,r,n,o,i){let s=e===null,a;for(;o>0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===ae&&(f=d?Oe:void 0);let h=d?Yc(f,n):l===n?f:void 0;if(u&&!Ks(h)&&(h=Yc(c,n)),Ks(h)&&(a=h,s))return a;let p=t[o+1];o=s?tr(p):jr(p)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=Yc(c,n))}return a}function Ks(t){return t!==void 0}function Q0(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Pe($e(t)))),t}function bv(t,e){return(t.flags&(e?8:16))!==0}function mV(t,e,r){let n=b(),o=dd(n,t,e,r);Na(Ur,hd,o,!0)}function vV(t,e,r,n,o){let i=b(),s=fd(i,t,e,r,n,o);Na(Ur,hd,s,!0)}function yV(){return b()[Ve][Ee]}var el=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),o=Math.max(e,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(e,r){this.attach(r,this.detach(e))}};function iu(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function K0(t,e,r){let n,o,i=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;i<=s&&i<=c;){let u=t.at(i),l=e[i],d=iu(i,u,i,l,r);if(d!==0){d<0&&t.updateValue(i,l),i++;continue}let f=t.at(s),h=e[c],p=iu(s,f,c,h,r);if(p!==0){p<0&&t.updateValue(s,h),s--,c--;continue}let v=r(i,u),m=r(s,f),D=r(i,l);if(Object.is(D,m)){let N=r(c,h);Object.is(N,v)?(t.swap(i,s),t.updateValue(s,h),c--,s--):t.move(s,i),t.updateValue(i,l),i++;continue}if(n??=new Js,o??=Pp(t,i,s,r),tl(t,n,i,D))t.updateValue(i,l),i++,s++;else if(o.has(D))n.set(v,t.detach(i)),s--;else{let N=t.create(i,e[i]);t.attach(i,N),i++,s++}}for(;i<=c;)Op(t,n,r,i,e[i]),i++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=t.at(i),d=u.value,f=iu(i,l,i,d,r);if(f!==0)f<0&&t.updateValue(i,d),i++,u=c.next();else{n??=new Js,o??=Pp(t,i,s,r);let h=r(i,d);if(tl(t,n,i,h))t.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(h))t.attach(i,t.create(i,d)),i++,s++,u=c.next();else{let p=r(i,l);n.set(p,t.detach(i)),s--}}}for(;!u.done;)Op(t,n,r,t.length,u.value),u=c.next()}for(;i<=s;)t.destroy(t.detach(s--));n?.forEach(c=>{t.destroy(c)})}function tl(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Op(t,e,r,n,o){if(tl(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function Pp(t,e,r,n){let o=new Set;for(let i=e;i<=r;i++)o.add(n(i,t.at(i)));return o}var Js=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,r)}}};function DV(t,e){Dt("NgControlFlow");let r=b(),n=Tn(),o=r[n]!==ae?r[n]:-1,i=o!==-1?Xs(r,re+o):void 0,s=0;if(Se(r,n,t)){let a=V(null);try{if(i!==void 0&&zm(i,s),t!==-1){let c=re+t,u=Xs(r,c),l=il(r[R],c),d=Pr(u,l.tView.ssrId),f=Go(r,l,e,{dehydratedView:d});qo(u,f,s,Or(l,d))}}finally{V(a)}}else if(i!==void 0){let a=Hm(i,s);a!==void 0&&(a[Ee]=e)}}var nl=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-be}};function wV(t,e){return e}var rl=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function IV(t,e,r,n,o,i,s,a,c,u,l,d,f){Dt("NgControlFlow");let h=b(),p=Z(),v=c!==void 0,m=b(),D=a?s.bind(m[Ve][Ee]):s,N=new rl(v,D);m[re+t]=N,Qs(h,p,t+1,e,r,n,o,Dn(p.consts,i)),v&&Qs(h,p,t+2,c,u,l,d,Dn(p.consts,f))}var ol=class extends el{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-be}at(e){return this.getLView(e)[Ee].$implicit}attach(e,r){let n=r[Ar];this.needsIndexUpdate||=e!==this.length,qo(this.lContainer,r,e,Or(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,J0(this.lContainer,e)}create(e,r){let n=Pr(this.lContainer,this.templateTNode.tView.ssrId),o=Go(this.hostLView,this.templateTNode,new nl(this.lContainer,r,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),o}destroy(e){Da(e[R],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[Ee].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[Ee].$index=e}getLView(e){return X0(this.lContainer,e)}};function EV(t){let e=V(null),r=vt();try{let n=b(),o=n[R],i=n[r],s=r+1,a=Xs(n,s);if(i.liveCollection===void 0){let u=il(o,s);i.liveCollection=new ol(a,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(K0(c,t,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Tn(),l=c.length===0;if(Se(n,u,l)){let d=r+2,f=Xs(n,d);if(l){let h=il(o,d),p=Pr(f,h.tView.ssrId),v=Go(n,h,void 0,{dehydratedView:p});qo(f,v,0,Or(h,p))}else zm(f,0)}}}finally{V(e)}}function Xs(t,e){return t[e]}function J0(t,e){return Po(t,e)}function X0(t,e){return Hm(t,e)}function il(t,e){return Sl(t,e)}function eT(t,e,r,n,o,i){let s=e.consts,a=Dn(s,o),c=qr(e,t,2,n,a);return nd(e,r,c,Dn(s,i)),c.attrs!==null&&Gs(c,c.attrs,!1),c.mergedAttrs!==null&&Gs(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Ze(t,e,r,n){let o=b(),i=Z(),s=re+t,a=o[Q],c=i.firstCreatePass?eT(s,i,o,e,r,n):i.data[s],u=tT(i,o,c,a,e,t);o[s]=u;let l=la(c);return nr(c,!0),xm(a,u,c),!b0(c)&&ha()&&wa(i,o,u,c),XI()===0&&wn(u,o),eE(),l&&(Xl(i,o,c),Jl(i,c,o)),n!==null&&ed(o,c),Ze}function It(){let t=ve();Nl()?Rl():(t=t.parent,nr(t,!1));let e=t;nE(e)&&rE(),tE();let r=Z();return r.firstCreatePass&&(ga(r,t),Ml(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&vE(e)&&Xu(r,e,b(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&yE(e)&&Xu(r,e,b(),e.stylesWithoutHost,!1),It}function Nn(t,e,r,n){return Ze(t,e,r,n),It(),Nn}var tT=(t,e,r,n,o,i)=>(pa(!0),Dm(n,o,hE()));function nT(t,e,r,n,o){let i=e.consts,s=Dn(i,n),a=qr(e,t,8,"ng-container",s);s!==null&&Gs(a,s,!0);let c=Dn(i,o);return nd(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Wo(t,e,r){let n=b(),o=Z(),i=t+re,s=o.firstCreatePass?nT(i,o,n,e,r):o.data[i];nr(s,!0);let a=oT(o,n,s,t);return n[i]=a,ha()&&wa(o,n,a,s),wn(a,n),la(s)&&(Xl(o,n,s),Jl(o,s,n)),r!=null&&ed(n,s),Wo}function Zo(){let t=ve(),e=Z();return Nl()?Rl():(t=t.parent,nr(t,!1)),e.firstCreatePass&&(ga(e,t),Ml(t)&&e.queries.elementEnd(t)),Zo}function rT(t,e,r){return Wo(t,e,r),Zo(),rT}var oT=(t,e,r,n)=>(pa(!0),mC(e[Q],""));function pd(){return b()}function iT(t,e,r){let n=b(),o=Tn();if(Se(n,o,e)){let i=Z(),s=Mn();rr(i,s,n,t,e,n[Q],r,!0)}return iT}function gd(t,e,r){let n=b(),o=Tn();if(Se(n,o,e)){let i=Z(),s=Mn(),a=Pl(i.data),c=Um(a,s,n);rr(i,s,n,t,e,c,r,!0)}return gd}var $n=void 0;function sT(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var aT=["en",[["a","p"],["AM","PM"],$n],[["AM","PM"],$n,$n],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],$n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],$n,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",$n,"{1} 'at' {0}",$n],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",sT],su={};function He(t){let e=cT(t),r=Fp(e);if(r)return r;let n=e.split("-")[0];if(r=Fp(n),r)return r;if(n==="en")return aT;throw new C(701,!1)}function Fp(t){return t in su||(su[t]=he.ng&&he.ng.common&&he.ng.common.locales&&he.ng.common.locales[t]),su[t]}var ne=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(ne||{});function cT(t){return t.toLowerCase().replace(/_/g,"-")}var ea="en-US",uT="USD";var lT=ea;function dT(t){typeof t=="string"&&(lT=t.toLowerCase().replace(/_/g,"-"))}var fT=(t,e,r)=>{};function Rn(t,e,r,n){let o=b(),i=Z(),s=ve();return md(i,o,o[Q],s,t,e,n),Rn}function hT(t,e){let r=ve(),n=b(),o=Z(),i=Pl(o.data),s=Um(i,r,n);return md(o,n,s,r,t,e),hT}function pT(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===r&&o[i+1]===n){let a=e[Rs],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function md(t,e,r,n,o,i,s){let a=la(n),u=t.firstCreatePass&&Bm(t),l=e[Ee],d=Vm(e),f=!0;if(n.type&3||s){let v=ot(n,e),m=s?s(v):v,D=d.length,N=s?U=>s(Ft(U[n.index])):n.index,W=null;if(!s&&a&&(W=pT(t,e,o,n.index)),W!==null){let U=W.__ngLastListenerFn__||W;U.__ngNextListenerFn__=i,W.__ngLastListenerFn__=i,f=!1}else{i=Lp(n,e,l,i),fT(v,o,i);let U=r.listen(m,o,i);d.push(i,U),u&&u.push(o,N,D,D+1)}}else i=Lp(n,e,l,i);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let v=p.length;if(v)for(let m=0;m<v;m+=2){let D=p[m],N=p[m+1],Ae=e[D][N].subscribe(i),ue=d.length;d.push(i,Ae),u&&u.push(o,n.index,ue,-(ue+1))}}}function kp(t,e,r,n){let o=V(null);try{return Nt(6,e,r),r(n)!==!1}catch(i){return $m(t,i),!1}finally{Nt(7,e,r),V(o)}}function Lp(t,e,r,n){return function o(i){if(i===Function)return n;let s=t.componentOffset>-1?bn(t.index,e):e;id(s,5);let a=kp(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=kp(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Ye(t=1){return dE(t)}function gT(t,e){let r=null,n=II(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?rg(t,i,!0):bI(n,i))return o}return r}function CV(t){let e=b()[Ve][Ue];if(!e.projection){let r=t?t.length:1,n=e.projection=fI(r,null),o=n.slice(),i=e.child;for(;i!==null;){let s=t?gT(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i),i=i.next}}}function bV(t,e=0,r,n,o,i){let s=b(),a=Z(),c=n?t+1:null;c!==null&&Qs(s,a,c,n,o,i,null,r);let u=qr(a,re+t,16,null,r||null);u.projection===null&&(u.projection=e),Rl();let d=!s[Ar]||Sg();s[Ve][Ue].projection[u.projection]===null&&c!==null?mT(s,a,c):d&&(u.flags&32)!==32&&_C(a,s,u)}function mT(t,e,r){let n=re+r,o=e.data[n],i=t[n],s=Pr(i,o.tView.ssrId),a=Go(t,o,void 0,{dehydratedView:s});qo(i,a,0,Or(o,s))}function vT(t,e,r){return Tv(t,"",e,"",r),vT}function Tv(t,e,r,n,o){let i=b(),s=dd(i,e,r,n);if(s!==ae){let a=Z(),c=Mn();rr(a,c,i,t,s,i[Q],o,!1)}return Tv}function yT(t,e,r,n,o,i,s){let a=b(),c=fd(a,e,r,n,o,i);if(c!==ae){let u=Z(),l=Mn();rr(u,l,a,t,c,a[Q],s,!1)}return yT}function DT(t,e,r,n,o,i,s,a,c){let u=b(),l=pv(u,e,r,n,o,i,s,a);if(l!==ae){let d=Z(),f=Mn();rr(d,f,u,t,l,u[Q],c,!1)}return DT}function Mv(t,e,r,n){Xb(t,e,r,n)}function TV(t,e,r){sv(t,e,r)}function Sv(t){let e=b(),r=Z(),n=Fl();fa(n+1);let o=cd(r,n);if(t.dirty&&YI(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=cv(e,n);t.reset(i,Zg),t.notifyOnChanges()}return!0}return!1}function xv(){return ad(b(),Fl())}function MV(t,e,r,n){s0(t,sv(e,r,n))}function SV(t=1){fa(Fl()+t)}function wT(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function xV(t){let e=iE();return zr(e,re+t)}function tn(t,e=""){let r=b(),n=Z(),o=t+re,i=n.firstCreatePass?qr(n,o,1,e,null):n.data[o],s=IT(n,r,i,e,t);r[o]=s,ha()&&wa(n,r,s,i),nr(i,!1)}var IT=(t,e,r,n,o)=>(pa(!0),pC(e[Q],n));function ET(t){return nn("",t,""),ET}function nn(t,e,r){let n=b(),o=dd(n,t,e,r);return o!==ae&&ba(n,vt(),o),nn}function CT(t,e,r,n,o){let i=b(),s=fd(i,t,e,r,n,o);return s!==ae&&ba(i,vt(),s),CT}function bT(t,e,r,n,o,i,s){let a=b(),c=pv(a,t,e,r,n,o,i,s);return c!==ae&&ba(a,vt(),c),bT}function TT(t,e,r,n,o,i,s,a,c){let u=b(),l=x0(u,t,e,r,n,o,i,s,a,c);return l!==ae&&ba(u,vt(),l),TT}function MT(t,e,r){uv(e)&&(e=e());let n=b(),o=Tn();if(Se(n,o,e)){let i=Z(),s=Mn();rr(i,s,n,t,e,n[Q],r,!1)}return MT}function _V(t,e){let r=uv(t);return r&&t.set(e),r}function ST(t,e){let r=b(),n=Z(),o=ve();return md(n,r,r[Q],o,t,e),ST}function xT(t,e,r){let n=Z();if(n.firstCreatePass){let o=Wt(t);sl(r,n.data,n.blueprint,o,!0),sl(e,n.data,n.blueprint,o,!1)}}function sl(t,e,r,n,o){if(t=Re(t),Array.isArray(t))for(let i=0;i<t.length;i++)sl(t[i],e,r,n,o);else{let i=Z(),s=b(),a=ve(),c=_r(t)?t:Re(t.provide),u=hg(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(_r(t)||!t.multi){let h=new Kn(u,o,O),p=cu(c,e,o?l:l+f,d);p===-1?(Eu(js(a,s),i,c),au(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{let h=cu(c,e,l+f,d),p=cu(c,e,l,l+f),v=h>=0&&r[h],m=p>=0&&r[p];if(o&&!m||!o&&!v){Eu(js(a,s),i,c);let D=NT(o?AT:_T,r.length,o,n,u);!o&&m&&(r[p].providerFactory=D),au(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(D),s.push(D)}else{let D=_v(r[o?p:h],u,!o&&n);au(i,t,h>-1?h:p,D)}!o&&n&&m&&r[p].componentProviders++}}}function au(t,e,r,n){let o=_r(e),i=FI(e);if(o||i){let c=(i?Re(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function _v(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function cu(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function _T(t,e,r,n){return al(this.multi,[])}function AT(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Jn(r,r[R],this.providerFactory.index,n);i=a.slice(0,s),al(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],al(o,i);return i}function al(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function NT(t,e,r,n,o){let i=new Kn(t,r,O);return i.multi=[],i.index=e,i.componentProviders=0,_v(i,o,n&&!r),i}function AV(t,e=[]){return r=>{r.providersResolver=(n,o)=>xT(n,o?o(t):t,e)}}var RT=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=lg(!1,n.type),i=o.length>0?_a([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(w(Te))});let t=e;return t})();function Yo(t){Dt("NgStandalone"),t.getStandaloneInjector=e=>e.get(RT).getOrCreateStandaloneInjector(t)}function NV(t,e,r){let n=Ge()+t,o=b();return o[n]===ae?xn(o,n,r?e.call(r):e()):ld(o,n)}function RV(t,e,r,n){return Av(b(),Ge(),t,e,r,n)}function OV(t,e,r,n,o){return Nv(b(),Ge(),t,e,r,n,o)}function PV(t,e,r,n,o,i){return Rv(b(),Ge(),t,e,r,n,o,i)}function FV(t,e,r,n,o,i,s){return Ov(b(),Ge(),t,e,r,n,o,i,s)}function kV(t,e,r,n,o,i,s,a){let c=Ge()+t,u=b(),l=Aa(u,c,r,n,o,i);return Se(u,c+4,s)||l?xn(u,c+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):ld(u,c+5)}function LV(t,e,r,n,o,i,s,a,c){let u=Ge()+t,l=b(),d=Aa(l,u,r,n,o,i);return Lr(l,u+4,s,a)||d?xn(l,u+6,c?e.call(c,r,n,o,i,s,a):e(r,n,o,i,s,a)):ld(l,u+6)}function jV(t,e,r,n){return Pv(b(),Ge(),t,e,r,n)}function Qo(t,e){let r=t[e];return r===ae?void 0:r}function Av(t,e,r,n,o,i){let s=e+r;return Se(t,s,o)?xn(t,s+1,i?n.call(i,o):n(o)):Qo(t,s+1)}function Nv(t,e,r,n,o,i,s){let a=e+r;return Lr(t,a,o,i)?xn(t,a+2,s?n.call(s,o,i):n(o,i)):Qo(t,a+2)}function Rv(t,e,r,n,o,i,s,a){let c=e+r;return hv(t,c,o,i,s)?xn(t,c+3,a?n.call(a,o,i,s):n(o,i,s)):Qo(t,c+3)}function Ov(t,e,r,n,o,i,s,a,c){let u=e+r;return Aa(t,u,o,i,s,a)?xn(t,u+4,c?n.call(c,o,i,s,a):n(o,i,s,a)):Qo(t,u+4)}function Pv(t,e,r,n,o,i){let s=e+r,a=!1;for(let c=0;c<o.length;c++)Se(t,s++,o[c])&&(a=!0);return a?xn(t,s,n.apply(i,o)):Qo(t,s)}function VV(t,e){let r=Z(),n,o=t+re;r.firstCreatePass?(n=OT(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=qn(n.type,!0)),s,a=Le(O);try{let c=Ls(!1),u=i();return Ls(c),wT(r,b(),o,u),u}finally{Le(a)}}function OT(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function BV(t,e,r){let n=t+re,o=b(),i=zr(o,n);return Ko(o,n)?Av(o,Ge(),e,i.transform,r,i):i.transform(r)}function UV(t,e,r,n){let o=t+re,i=b(),s=zr(i,o);return Ko(i,o)?Nv(i,Ge(),e,s.transform,r,n,s):s.transform(r,n)}function $V(t,e,r,n,o){let i=t+re,s=b(),a=zr(s,i);return Ko(s,i)?Rv(s,Ge(),e,a.transform,r,n,o,a):a.transform(r,n,o)}function HV(t,e,r,n,o,i){let s=t+re,a=b(),c=zr(a,s);return Ko(a,s)?Ov(a,Ge(),e,c.transform,r,n,o,i,c):c.transform(r,n,o,i)}function zV(t,e,r){let n=t+re,o=b(),i=zr(o,n);return Ko(o,n)?Pv(o,Ge(),e,i.transform,r,i):i.transform.apply(i,r)}function Ko(t,e){return t[R].data[e].pure}function GV(t,e){return Ta(t,e)}var ws=null;function PT(t){ws!==null&&(t.defaultEncapsulation!==ws.defaultEncapsulation||t.preserveWhitespaces!==ws.preserveWhitespaces)||(ws=t)}var Br=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}},qV=new Br("18.0.3");var Ra=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var vd=new E(""),Jo=new E(""),Oa=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,yd||(FT(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(w(B),w(Pa),w(Jo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Pa=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return yd?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function FT(t){yd=t}var yd;function Yr(t){return!!t&&typeof t.then=="function"}function Dd(t){return!!t&&typeof t.subscribe=="function"}var Fa=new E(""),Fv=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=g(Fa,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Yr(s))n.push(s);else if(Dd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ka=new E("");function kT(){Hh(()=>{throw new C(600,!1)})}function LT(t){return t.isBoundToModule}var jT=10;function VT(t,e,r){try{let n=r();return Yr(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function kv(t,e){return Array.isArray(e)?e.reduce(kv,t):y(y({},t),e)}var it=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Wg),this.afterRenderEffectManager=g(Sa),this.zonelessEnabled=g(Km),this.externalTestViews=new Set,this.beforeRender=new G,this.afterTick=new G,this.componentTypes=[],this.components=[],this.isStable=g(Bt).hasPendingTasks.pipe(P(n=>!n)),this._injector=g(Te)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Us;if(!this._injector.get(Fv).done){let h=!i&&sg(n),p=!1;throw new C(405,p)}let a;i?a=n:a=this._injector.get(En).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=LT(a)?void 0:this._injector.get(Yt),u=o||a.selector,l=a.create(pe.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(vd,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ss(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new C(101,!1);let o=V(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,V(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(kr,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<jT;){let a=i===0;if(n||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:u}of this._views)BT(c,u,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>Oo(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Oo(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Ss(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(ka,[]);[...this._bootstrapListeners,...o].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ss(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ss(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function BT(t,e,r,n){if(!r&&!Oo(t))return;Wm(t,e,r&&!n?0:1)}var cl=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},La=(()=>{let e=class e{compileModuleSync(n){return new Ys(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=ag(n),s=vm(i.declarations).reduce((a,c)=>{let u=Gt(c);return u&&a.push(new er(u)),a},[]);return new cl(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),UT=new E("");function $T(t,e,r){let n=new Ys(r);return Promise.resolve(n)}function jp(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var HT=(()=>{let e=class e{constructor(){this.zone=g(B),this.changeDetectionScheduler=g(Fr),this.applicationRef=g(it)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function zT({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new B(Lv()),[{provide:B,useFactory:t},{provide:Sr,multi:!0,useFactory:()=>{let r=g(HT,{optional:!0});return()=>r.initialize()}},{provide:Sr,multi:!0,useFactory:()=>{let r=g(qT);return()=>{r.initialize()}}},{provide:Wg,useFactory:GT},e===!0?{provide:Jm,useValue:!0}:[]]}function GT(){let t=g(B),e=g(mt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Lv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var qT=(()=>{let e=class e{constructor(){this.subscription=new te,this.initialized=!1,this.zone=g(B),this.pendingTasks=g(Bt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{B.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var WT=(()=>{let e=class e{constructor(){this.appRef=g(it),this.taskService=g(Bt),this.ngZone=g(B),this.zonelessEnabled=g(Km),this.disableScheduling=g(Jm,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new te,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof $s||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Ep:Xm;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&B.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ep(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ZT(){return typeof $localize<"u"&&$localize.locale||ea}var Qr=new E("",{providedIn:"root",factory:()=>g(Qr,j.Optional|j.SkipSelf)||ZT()}),jv=new E("",{providedIn:"root",factory:()=>uT});var Vv=new E(""),Bv=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=Rb(o?.ngZone,Lv({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=E0(n.moduleType,this.injector,[...zT({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:Fr,useExisting:WT}]),c=a.injector.get(mt,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{Ss(this._modules,a),u.unsubscribe()})}),VT(c,i,()=>{let u=a.injector.get(Fv);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(Qr,ea);return dT(l||ea),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=kv({},o);return $T(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(it);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new C(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(Vv,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(w(pe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),xo=null,Uv=new E("");function YT(t){if(xo&&!xo.get(Uv,!1))throw new C(400,!1);kT(),xo=t;let e=t.get(Bv);return JT(t),e}function wd(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=$v();if(!s||s.injector.get(Uv,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):YT(QT(a,n))}return KT(o)}}function QT(t=[],e){return pe.create({name:e,providers:[{provide:sa,useValue:"platform"},{provide:Vv,useValue:new Set([()=>xo=null])},...t]})}function KT(t){let e=$v();if(!e)throw new C(401,!1);return e}function $v(){return xo?.get(Bv)??null}function JT(t){t.get(Ul,null)?.forEach(r=>r())}function WV(){return!1}var rn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=XT;let t=e;return t})();function XT(t){return eM(ve(),b(),(t&16)===16)}function eM(t,e,r){if(ua(t)&&!r){let n=bn(t.index,e);return new Xn(n,n)}else if(t.type&47){let n=e[Ve];return new Xn(n,e)}return null}var ul=class{constructor(){}supports(e){return fv(e)}create(e){return new ll(e)}},tM=(t,e)=>e,ll=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||tM}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex<Vp(n,o,i)?r:n,a=Vp(s,o,i),c=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let f=0;f<u;f++){let h=f<i.length?i[f]:i[f]=0,p=h+f;l<=p&&p<u&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!fv(e))throw new C(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,i,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,i,s,a)),Object.is(r.item,i)||this._addIdentityChange(r,i)),r=r._next}else o=0,C0(e,a=>{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new dl(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new ta),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ta),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},dl=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},fl=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},ta=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new fl,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Vp(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n<r.length&&(o=r[n]),n+e+o}var hl=class{constructor(){}supports(e){return e instanceof Map||ud(e)}create(){return new pl}},pl=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||ud(e)))throw new C(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,r);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let n=new gl(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},gl=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Bp(){return new Id([new ul])}var Id=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Bp()),deps:[[e,new ia,new Vo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new C(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:Bp});let t=e;return t})();function Up(){return new Ed([new hl])}var Ed=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Up()),deps:[[e,new ia,new Vo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new C(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:Up});let t=e;return t})();var Hv=wd(null,"core",[]),zv=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(w(it))},e.\u0275mod=jt({type:e}),e.\u0275inj=Lt({});let t=e;return t})();function on(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Cd(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function ZV(t,e){Dt("NgSignals");let r=Wc(t);return e?.equal&&(r[nt].equal=e.equal),r}function bd(t){let e=V(null);try{return t()}finally{V(e)}}var nM=new E("",{providedIn:"root",factory:()=>g(rM)}),rM=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new ml});let t=e;return t})(),ml=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(Bt),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},vl=class{constructor(e,r,n,o,i,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=i,this.watcher=Wh(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(mt,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function oM(t,e){Dt("NgSignals"),!e?.injector&&bl(oM);let r=e?.injector??g(pe),n=e?.manualCleanup!==!0?r.get(Ho):null,o=new vl(r.get(nM),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),i=r.get(rn,null,{optional:!0});return!i||!(i._lView[A]&8)?o.watcher.notify():(i._lView[Es]??=[]).push(o.watcher.notify),o}function YV(t,e){let r=Gt(t),n=e.elementInjector||aa();return new er(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function Gv(t){let e=Gt(t);if(!e)return null;let r=new er(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var ty=null;function or(){return ty}function ny(t){ty??=t}var qa=class{};var oe=new E(""),Vd=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(iM),providedIn:"platform"});let t=e;return t})(),ry=new E(""),iM=(()=>{let e=class e extends Vd{constructor(){super(),this._doc=g(oe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return or().getBaseHref(this._doc)}onPopState(n){let o=or().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=or().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Bd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function qv(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function an(t){return t&&t[0]!=="?"?"?"+t:t}var un=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Ud),providedIn:"root"});let t=e;return t})(),oy=new E(""),Ud=(()=>{let e=class e extends un{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Bd(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+an(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+an(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+an(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(w(Vd),w(oy,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),iy=(()=>{let e=class e extends un{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Bd(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+an(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+an(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(w(Vd),w(oy,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Xr=(()=>{let e=class e{constructor(n){this._subject=new Ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=cM(qv(Wv(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+an(o))}normalize(n){return e.stripTrailingSlash(aM(this._basePath,Wv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+an(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+an(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=an,e.joinWithSlash=Bd,e.stripTrailingSlash=qv,e.\u0275fac=function(o){return new(o||e)(w(un))},e.\u0275prov=I({token:e,factory:()=>sM(),providedIn:"root"});let t=e;return t})();function sM(){return new Xr(w(un))}function aM(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Wv(t){return t.replace(/\/index.html$/,"")}function cM(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var sy={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]},$d=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}($d||{});var ke=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(ke||{}),K=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(K||{}),Qe=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Qe||{}),_e={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 uM(t){return He(t)[ne.LocaleId]}function lM(t,e,r){let n=He(t),o=[n[ne.DayPeriodsFormat],n[ne.DayPeriodsStandalone]],i=st(o,e);return st(i,r)}function dM(t,e,r){let n=He(t),o=[n[ne.DaysFormat],n[ne.DaysStandalone]],i=st(o,e);return st(i,r)}function fM(t,e,r){let n=He(t),o=[n[ne.MonthsFormat],n[ne.MonthsStandalone]],i=st(o,e);return st(i,r)}function hM(t,e){let n=He(t)[ne.Eras];return st(n,e)}function ja(t,e){let r=He(t);return st(r[ne.DateFormat],e)}function Va(t,e){let r=He(t);return st(r[ne.TimeFormat],e)}function Ba(t,e){let n=He(t)[ne.DateTimeFormat];return st(n,e)}function Ut(t,e){let r=He(t),n=r[ne.NumberSymbols][e];if(typeof n>"u"){if(e===_e.CurrencyDecimal)return r[ne.NumberSymbols][_e.Decimal];if(e===_e.CurrencyGroup)return r[ne.NumberSymbols][_e.Group]}return n}function ay(t,e){return He(t)[ne.NumberFormats][e]}function pM(t){return He(t)[ne.Currencies]}function cy(t){if(!t[ne.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ne.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function gM(t){let e=He(t);return cy(e),(e[ne.ExtraData][2]||[]).map(n=>typeof n=="string"?Md(n):[Md(n[0]),Md(n[1])])}function mM(t,e,r){let n=He(t);cy(n);let o=[n[ne.ExtraData][0],n[ne.ExtraData][1]],i=st(o,e)||[];return st(i,r)||[]}function st(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Md(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}function vM(t,e,r="en"){let n=pM(r)[t]||sy[t]||[],o=n[1];return e==="narrow"&&typeof o=="string"?o:n[0]||t}var yM=2;function DM(t){let e,r=sy[t];return r&&(e=r[2]),typeof e=="number"?e:yM}var wM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ua={},IM=/((?:[^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]*)/,cn=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(cn||{}),H=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(H||{}),$=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}($||{});function EM(t,e,r,n){let o=NM(t);e=sn(r,e)||e;let s=[],a;for(;e;)if(a=IM.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=o.getTimezoneOffset();n&&(c=ly(n,c),o=AM(o,n,!0));let u="";return s.forEach(l=>{let d=xM(l);u+=d?d(o,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Wa(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function sn(t,e){let r=uM(t);if(Ua[r]??={},Ua[r][e])return Ua[r][e];let n="";switch(e){case"shortDate":n=ja(t,Qe.Short);break;case"mediumDate":n=ja(t,Qe.Medium);break;case"longDate":n=ja(t,Qe.Long);break;case"fullDate":n=ja(t,Qe.Full);break;case"shortTime":n=Va(t,Qe.Short);break;case"mediumTime":n=Va(t,Qe.Medium);break;case"longTime":n=Va(t,Qe.Long);break;case"fullTime":n=Va(t,Qe.Full);break;case"short":let o=sn(t,"shortTime"),i=sn(t,"shortDate");n=$a(Ba(t,Qe.Short),[o,i]);break;case"medium":let s=sn(t,"mediumTime"),a=sn(t,"mediumDate");n=$a(Ba(t,Qe.Medium),[s,a]);break;case"long":let c=sn(t,"longTime"),u=sn(t,"longDate");n=$a(Ba(t,Qe.Long),[c,u]);break;case"full":let l=sn(t,"fullTime"),d=sn(t,"fullDate");n=$a(Ba(t,Qe.Full),[l,d]);break}return n&&(Ua[r][e]=n),n}function $a(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Et(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),i+s}function CM(t,e){return Et(t,3).substring(0,e)}function ce(t,e,r=0,n=!1,o=!1){return function(i,s){let a=bM(t,i);if((r>0||a>-r)&&(a+=r),t===H.Hours)a===0&&r===-12&&(a=12);else if(t===H.FractionalSeconds)return CM(a,e);let c=Ut(s,_e.MinusSign);return Et(a,e,c,n,o)}}function bM(t,e){switch(t){case H.FullYear:return e.getFullYear();case H.Month:return e.getMonth();case H.Date:return e.getDate();case H.Hours:return e.getHours();case H.Minutes:return e.getMinutes();case H.Seconds:return e.getSeconds();case H.FractionalSeconds:return e.getMilliseconds();case H.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function X(t,e,r=ke.Format,n=!1){return function(o,i){return TM(o,i,t,e,r,n)}}function TM(t,e,r,n,o,i){switch(r){case $.Months:return fM(e,o,n)[t.getMonth()];case $.Days:return dM(e,o,n)[t.getDay()];case $.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let u=gM(e),l=mM(e,o,n),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,v=s>=h.hours&&a>=h.minutes,m=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(v&&m)return!0}else if(v||m)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return lM(e,o,n)[s<12?0:1];case $.Eras:return hM(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function Ha(t){return function(e,r,n){let o=-1*n,i=Ut(r,_e.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case cn.Short:return(o>=0?"+":"")+Et(s,2,i)+Et(Math.abs(o%60),2,i);case cn.ShortGMT:return"GMT"+(o>=0?"+":"")+Et(s,1,i);case cn.Long:return"GMT"+(o>=0?"+":"")+Et(s,2,i)+":"+Et(Math.abs(o%60),2,i);case cn.Extended:return n===0?"Z":(o>=0?"+":"")+Et(s,2,i)+":"+Et(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var MM=0,Ga=4;function SM(t){let e=Wa(t,MM,1).getDay();return Wa(t,0,1+(e<=Ga?Ga:Ga+7)-e)}function uy(t){let e=t.getDay(),r=e===0?-3:Ga-e;return Wa(t.getFullYear(),t.getMonth(),t.getDate()+r)}function Sd(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=uy(r),s=SM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Et(o,t,Ut(n,_e.MinusSign))}}function za(t,e=!1){return function(r,n){let i=uy(r).getFullYear();return Et(i,t,Ut(n,_e.MinusSign),e)}}var xd={};function xM(t){if(xd[t])return xd[t];let e;switch(t){case"G":case"GG":case"GGG":e=X($.Eras,K.Abbreviated);break;case"GGGG":e=X($.Eras,K.Wide);break;case"GGGGG":e=X($.Eras,K.Narrow);break;case"y":e=ce(H.FullYear,1,0,!1,!0);break;case"yy":e=ce(H.FullYear,2,0,!0,!0);break;case"yyy":e=ce(H.FullYear,3,0,!1,!0);break;case"yyyy":e=ce(H.FullYear,4,0,!1,!0);break;case"Y":e=za(1);break;case"YY":e=za(2,!0);break;case"YYY":e=za(3);break;case"YYYY":e=za(4);break;case"M":case"L":e=ce(H.Month,1,1);break;case"MM":case"LL":e=ce(H.Month,2,1);break;case"MMM":e=X($.Months,K.Abbreviated);break;case"MMMM":e=X($.Months,K.Wide);break;case"MMMMM":e=X($.Months,K.Narrow);break;case"LLL":e=X($.Months,K.Abbreviated,ke.Standalone);break;case"LLLL":e=X($.Months,K.Wide,ke.Standalone);break;case"LLLLL":e=X($.Months,K.Narrow,ke.Standalone);break;case"w":e=Sd(1);break;case"ww":e=Sd(2);break;case"W":e=Sd(1,!0);break;case"d":e=ce(H.Date,1);break;case"dd":e=ce(H.Date,2);break;case"c":case"cc":e=ce(H.Day,1);break;case"ccc":e=X($.Days,K.Abbreviated,ke.Standalone);break;case"cccc":e=X($.Days,K.Wide,ke.Standalone);break;case"ccccc":e=X($.Days,K.Narrow,ke.Standalone);break;case"cccccc":e=X($.Days,K.Short,ke.Standalone);break;case"E":case"EE":case"EEE":e=X($.Days,K.Abbreviated);break;case"EEEE":e=X($.Days,K.Wide);break;case"EEEEE":e=X($.Days,K.Narrow);break;case"EEEEEE":e=X($.Days,K.Short);break;case"a":case"aa":case"aaa":e=X($.DayPeriods,K.Abbreviated);break;case"aaaa":e=X($.DayPeriods,K.Wide);break;case"aaaaa":e=X($.DayPeriods,K.Narrow);break;case"b":case"bb":case"bbb":e=X($.DayPeriods,K.Abbreviated,ke.Standalone,!0);break;case"bbbb":e=X($.DayPeriods,K.Wide,ke.Standalone,!0);break;case"bbbbb":e=X($.DayPeriods,K.Narrow,ke.Standalone,!0);break;case"B":case"BB":case"BBB":e=X($.DayPeriods,K.Abbreviated,ke.Format,!0);break;case"BBBB":e=X($.DayPeriods,K.Wide,ke.Format,!0);break;case"BBBBB":e=X($.DayPeriods,K.Narrow,ke.Format,!0);break;case"h":e=ce(H.Hours,1,-12);break;case"hh":e=ce(H.Hours,2,-12);break;case"H":e=ce(H.Hours,1);break;case"HH":e=ce(H.Hours,2);break;case"m":e=ce(H.Minutes,1);break;case"mm":e=ce(H.Minutes,2);break;case"s":e=ce(H.Seconds,1);break;case"ss":e=ce(H.Seconds,2);break;case"S":e=ce(H.FractionalSeconds,1);break;case"SS":e=ce(H.FractionalSeconds,2);break;case"SSS":e=ce(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Ha(cn.Short);break;case"ZZZZZ":e=Ha(cn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Ha(cn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Ha(cn.Long);break;default:return null}return xd[t]=e,e}function ly(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function _M(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function AM(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=ly(e,o);return _M(t,n*(i-o))}function NM(t){if(Zv(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return Wa(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(wM))return RM(n)}let e=new Date(t);if(!Zv(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function RM(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,c,u),e}function Zv(t){return t instanceof Date&&!isNaN(t.valueOf())}var OM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Yv=22,Za=".",Xo="0",PM=";",FM=",",_d="#",Qv="\xA4";function dy(t,e,r,n,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=Ut(r,_e.Infinity);else{let u=VM(t);s&&(u=jM(u));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let N=i.match(OM);if(N===null)throw new Error(`${i} is not a valid digit info`);let W=N[1],U=N[3],Ae=N[5];W!=null&&(l=Ad(W)),U!=null&&(d=Ad(U)),Ae!=null?f=Ad(Ae):U!=null&&d>f&&(f=d)}BM(u,d,f);let h=u.digits,p=u.integerLen,v=u.exponent,m=[];for(c=h.every(N=>!N);p<l;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?m=h.splice(p,h.length):(m=h,h=[0]);let D=[];for(h.length>=e.lgSize&&D.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)D.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&D.unshift(h.join("")),a=D.join(Ut(r,n)),m.length&&(a+=Ut(r,o)+m.join("")),v&&(a+=Ut(r,_e.Exponential)+"+"+v)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function kM(t,e,r,n,o){let i=ay(e,$d.Currency),s=fy(i,Ut(e,_e.MinusSign));return s.minFrac=DM(n),s.maxFrac=s.minFrac,dy(t,s,e,_e.CurrencyGroup,_e.CurrencyDecimal,o).replace(Qv,r).replace(Qv,"").trim()}function LM(t,e,r){let n=ay(e,$d.Decimal),o=fy(n,Ut(e,_e.MinusSign));return dy(t,o,e,_e.Group,_e.Decimal,r)}function fy(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(PM),o=n[0],i=n[1],s=o.indexOf(Za)!==-1?o.split(Za):[o.substring(0,o.lastIndexOf(Xo)+1),o.substring(o.lastIndexOf(Xo)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf(_d));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Xo?r.minFrac=r.maxFrac=l+1:d===_d?r.maxFrac=l+1:r.posSuf+=d}let u=a.split(FM);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-r.posPre.length-r.posSuf.length,d=i.indexOf(_d);r.negPre=i.substring(0,d).replace(/'/g,""),r.negSuf=i.slice(d+l).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function jM(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function VM(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(Za))>-1&&(e=e.replace(Za,"")),(i=e.search(/e/i))>0?(o<0&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):o<0&&(o=e.length),i=0;e.charAt(i)===Xo;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===Xo;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>Yv&&(n=n.splice(0,Yv-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function BM(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,o=n.length-t.integerLen,i=Math.min(Math.max(e,o),r),s=i+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{o=Math.max(0,o),t.integerLen=1,n.length=Math.max(1,s=i+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o<Math.max(0,i);o++)n.push(0);let c=i!==0,u=e+t.integerLen,l=n.reduceRight(function(d,f,h,p){return f=f+d,p[h]=f<10?f:f-10,c&&(p[h]===0&&h>=u?p.pop():c=!1),f>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Ad(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function Ya(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Nd=/\s+/,Kv=[],lB=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Kv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Nd):Kv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Nd):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Nd).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(O(qe),O(Sn))},e.\u0275dir=Fe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),dB=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let o=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=dv(this.ngComponentOutletNgModule,Jv(o)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Jv(o)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[o,i]of this._inputsUsed)i?(n.setInput(o,this.ngComponentOutletInputs[o]),this._inputsUsed.set(o,!1)):(n.setInput(o,void 0),this._inputsUsed.delete(o))}};e.\u0275fac=function(o){return new(o||e)(O(wt))},e.\u0275dir=Fe({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Kt]});let t=e;return t})();function Jv(t){return t.get(Yt).injector}var Rd=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}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}},fB=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Rd(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),Xv(c,i)}});for(let i=0,s=o.length;i<s;i++){let c=o.get(i).context;c.index=i,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);Xv(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(O(wt),O(In),O(Id))},e.\u0275dir=Fe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Xv(t,e){t.context.$implicit=e.item}var Hd=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new Od,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){ey("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ey("ngIfElse",n),this._elseTemplateRef=n,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(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(O(wt),O(In))},e.\u0275dir=Fe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Od=class{constructor(){this.$implicit=null,this.ngIf=null}};function ey(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Pe(e)}'.`)}var UM=!0,Pd=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,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()}},$M=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let o=UM?n===this._ngSwitch:n==this._ngSwitch;return this._lastCasesMatched||=o,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let o of this._defaultViews)o.enforceState(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Fe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),hB=(()=>{let e=class e{constructor(n,o,i){this.ngSwitch=i,i._addCase(),this._view=new Pd(n,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(o){return new(o||e)(O(wt),O(In),O($M,9))},e.\u0275dir=Fe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})();var pB=(()=>{let e=class e{constructor(n,o,i){this._ngEl=n,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[i,s]=n.split("."),a=i.indexOf("-")===-1?void 0:kt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(O(qe),O(Ed),O(Sn))},e.\u0275dir=Fe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),gB=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(O(wt))},e.\u0275dir=Fe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Kt]});let t=e;return t})();function eo(t,e){return new C(2100,!1)}var Fd=class{createSubscription(e,r){return bd(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){bd(()=>e.unsubscribe())}},kd=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},HM=new kd,zM=new Fd,mB=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(Yr(n))return HM;if(Dd(n))return zM;throw eo(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(O(rn,16))},e.\u0275pipe=Cn({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var vB=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw eo(e,n);return n.toUpperCase()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Cn({name:"uppercase",type:e,pure:!0,standalone:!0});let t=e;return t})(),GM="mediumDate",qM=new E(""),WM=new E(""),yB=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){if(n==null||n===""||n!==n)return null;try{let a=o??this.defaultOptions?.dateFormat??GM,c=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return EM(n,a,s||this.locale,c)}catch(a){throw eo(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(O(Qr,16),O(qM,24),O(WM,24))},e.\u0275pipe=Cn({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var DB=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Cn({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var wB=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!hy(n))return null;i||=this._locale;try{let s=py(n);return LM(s,i,o)}catch(s){throw eo(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(O(Qr,16))},e.\u0275pipe=Cn({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();var IB=(()=>{let e=class e{constructor(n,o="USD"){this._locale=n,this._defaultCurrencyCode=o}transform(n,o=this._defaultCurrencyCode,i="symbol",s,a){if(!hy(n))return null;a||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let c=o||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?c=vM(c,i==="symbol"?"wide":"narrow",a):c=i);try{let u=py(n);return kM(u,a,c,o,s)}catch(u){throw eo(e,u.message)}}};e.\u0275fac=function(o){return new(o||e)(O(Qr,16),O(jv,16))},e.\u0275pipe=Cn({name:"currency",type:e,pure:!0,standalone:!0});let t=e;return t})();function hy(t){return!(t==null||t===""||t!==t)}function py(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var EB=(()=>{let e=class e{transform(n,o,i){if(n==null)return null;if(!this.supports(n))throw eo(e,n);return n.slice(o,i)}supports(n){return typeof n=="string"||Array.isArray(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Cn({name:"slice",type:e,pure:!1,standalone:!0});let t=e;return t})();var gy=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=jt({type:e}),e.\u0275inj=Lt({});let t=e;return t})(),zd="browser",ZM="server";function YM(t){return t===zd}function ei(t){return t===ZM}var my=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>YM(g(yt))?new Ld(g(oe),window):new jd});let t=e;return t})(),Ld=class{constructor(e,r){this.document=e,this.window=r,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 r=QM(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function QM(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var jd=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Jr=class{};var vy=t=>t.src,KM=new E("",{providedIn:"root",factory:()=>vy});var JM=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),XM=(()=>{let e=class e{constructor(){this.preloadedImages=g(JM),this.document=g(oe)}createPreloadLinkTag(n,o,i,s){if(this.preloadedImages.has(o))return;this.preloadedImages.add(o);let a=n.createElement("link");n.setAttribute(a,"as","image"),n.setAttribute(a,"href",o),n.setAttribute(a,"rel","preload"),n.setAttribute(a,"fetchpriority","high"),s&&n.setAttribute(a,"imageSizes",s),i&&n.setAttribute(a,"imageSrcset",i),n.appendChild(this.document.head,a)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var eS=/^((\s*\d+w\s*(,|$)){1,})$/;var tS=[1,2],nS=640;var rS=1920,oS=1080;var CB=(()=>{let e=class e{constructor(){this.imageLoader=g(KM),this.config=iS(g(nm)),this.renderer=g(Sn),this.imgElement=g(qe).nativeElement,this.injector=g(pe),this.isServer=ei(g(yt)),this.preloadLinkCreator=g(XM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Dt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let o=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&o&&i&&o!==i&&this.injector.get(B).runOutsideAngular(()=>{this.lcpObserver?.updateImage(o,i)})}}callImageLoader(n){let o=n;return this.loaderParams&&(o.loaderParams=this.loaderParams),this.imageLoader(o)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=eS.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let s=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,o=n;return this.sizes?.trim()==="100vw"&&(o=n.filter(s=>s>=nS)),o.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let o=this.getRewrittenSrc();this.setHostAttribute("src",o);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return tS.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>rS||this.height>oS),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==vy&&!n}generatePlaceholder(n){let{placeholderResolution:o}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:o,isPlaceholder:!0})})`:typeof n=="string"&&n.startsWith("data:")?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let o=()=>{let a=this.injector.get(rn);i(),s(),this.placeholder=!1,a.markForCheck()},i=this.renderer.listen(n,"load",o),s=this.renderer.listen(n,"error",o)}ngOnDestroy(){}setHostAttribute(n,o){this.renderer.setAttribute(this.imgElement,n,o)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Fe({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(o,i){o&2&&An("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",sS],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Cd],height:[2,"height","height",Cd],loading:"loading",priority:[2,"priority","priority",on],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",on],fill:[2,"fill","fill",on],placeholder:[2,"placeholder","placeholder",aS],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[xa,Kt]});let t=e;return t})();function iS(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},Hl,t,e)}function sS(t){return typeof t=="string"?t:$e(t)}function aS(t){return typeof t=="string"&&t.startsWith("data:")?t:on(t)}var ni=class{},Ka=class{},me=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
|
|
8
|
-
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?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(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var qd=class{encodeKey(e){return Dy(e)}encodeValue(e){return Dy(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function cS(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var uS=/%(\d[a-f0-9])/gi,lS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dy(t){return encodeURIComponent(t).replace(uS,(e,r)=>lS[r]??e)}function Qa(t){return`${t}`}var $t=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new qd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=cS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(Qa):[Qa(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}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 r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Qa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(Qa(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Wd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),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 dS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function wy(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Iy(t){return typeof Blob<"u"&&t instanceof Blob}function Ey(t){return typeof FormData<"u"&&t instanceof FormData}function fS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ti=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(dS(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new me,this.context??=new Wd,!this.params)this.params=new $t,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||wy(this.body)||Iy(this.body)||Ey(this.body)||fS(this.body)?this.body:this.body instanceof $t?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||Ey(this.body)?null:Iy(this.body)?this.body.type||null:wy(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof $t?"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={}){let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Pn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Pn||{}),ri=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new me,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ja=class t extends ri{constructor(e={}){super(e),this.type=Pn.ResponseHeader}clone(e={}){return new t({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})}},oi=class t extends ri{constructor(e={}){super(e),this.type=Pn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({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})}},On=class extends ri{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 ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Sy=200,hS=204;function Gd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Qd=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof ti)s=n;else{let u;i.headers instanceof me?u=i.headers:u=new me(i.headers);let l;i.params&&(i.params instanceof $t?l=i.params:l=new $t({fromObject:i.params})),s=new ti(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=x(s).pipe(At(u=>this.handler.handle(u)));if(n instanceof ti||i.observe==="events")return a;let c=a.pipe(ie(u=>u instanceof oi));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(P(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(P(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(P(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(P(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new $t().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Gd(i,o))}post(n,o,i={}){return this.request("POST",n,Gd(i,o))}put(n,o,i={}){return this.request("PUT",n,Gd(i,o))}};e.\u0275fac=function(o){return new(o||e)(w(ni))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),pS=/^\)\]\}',?\n/,gS="X-Request-URL";function Cy(t){if(t.url)return t.url;let e=gS.toLocaleLowerCase();return t.headers.get(e)}var mS=(()=>{let e=class e{constructor(){this.fetchImpl=g(Zd,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(B)}handle(n){return new _(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(Yd,s=>o.error(new On({error:s}))),()=>i.abort()})}doRequest(n,o,i){return po(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.fetchImpl(n.urlWithParams,y({signal:o},s));vS(p),i.next({type:Pn.Sent}),a=yield p}catch(p){i.error(new On({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let c=new me(a.headers),u=a.statusText,l=Cy(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&i.next(new Ja({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),v=[],m=a.body.getReader(),D=0,N,W,U=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>po(this,null,function*(){for(;;){let{done:ue,value:et}=yield m.read();if(ue)break;if(v.push(et),D+=et.length,n.reportProgress){W=n.responseType==="text"?(W??"")+(N??=new TextDecoder).decode(et,{stream:!0}):void 0;let cr=()=>i.next({type:Pn.DownloadProgress,total:p?+p:void 0,loaded:D,partialText:W});U?U.run(cr):cr()}}}));let Ae=this.concatChunks(v,D);try{let ue=a.headers.get("Content-Type")??"";f=this.parseBody(n,Ae,ue)}catch(ue){i.error(new On({error:ue,headers:new me(a.headers),status:a.status,statusText:a.statusText,url:Cy(a)??n.urlWithParams}));return}}d===0&&(d=f?Sy:0),d>=200&&d<300?(i.next(new oi({body:f,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new On({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(pS,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),o.Accept??="application/json, text/plain, */*",!o["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Zd=class{};function Yd(){}function vS(t){t.then(Yd,Yd)}function xy(t,e){return e(t)}function yS(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function DS(t,e,r){return(n,o)=>Be(r,()=>e(n,i=>t(i,o)))}var wS=new E(""),Kd=new E(""),IS=new E(""),_y=new E("",{providedIn:"root",factory:()=>!0});function ES(){let t=null;return(e,r)=>{t===null&&(t=(g(wS,{optional:!0})??[]).reduceRight(yS,xy));let n=g(Bt);if(g(_y)){let i=n.add();return t(e,r).pipe(gn(()=>n.remove(i)))}else return t(e,r)}}var by=(()=>{let e=class e extends ni{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(Bt),this.contributeToStability=g(_y)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Kd),...this.injector.get(IS,[])]));this.chain=o.reduceRight((i,s)=>DS(i,s,this.injector),xy)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(gn(()=>this.pendingTasks.remove(o)))}else return this.chain(n,o=>this.backend.handle(o))}};e.\u0275fac=function(o){return new(o||e)(w(Ka),w(Te))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var CS=/^\)\]\}',?\n/;function bS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Ty=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new C(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?J(o.\u0275loadImpl()):x(null)).pipe(se(()=>new _(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((m,D)=>a.setRequestHeader(m,D.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let m=n.detectContentTypeHeader();m!==null&&a.setRequestHeader("Content-Type",m)}if(n.responseType){let m=n.responseType.toLowerCase();a.responseType=m!=="json"?m:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let m=a.statusText||"OK",D=new me(a.getAllResponseHeaders()),N=bS(a)||n.url;return u=new Ja({headers:D,status:a.status,statusText:m,url:N}),u},d=()=>{let{headers:m,status:D,statusText:N,url:W}=l(),U=null;D!==hS&&(U=typeof a.response>"u"?a.responseText:a.response),D===0&&(D=U?Sy:0);let Ae=D>=200&&D<300;if(n.responseType==="json"&&typeof U=="string"){let ue=U;U=U.replace(CS,"");try{U=U!==""?JSON.parse(U):null}catch(et){U=ue,Ae&&(Ae=!1,U={error:et,text:U})}}Ae?(s.next(new oi({body:U,headers:m,status:D,statusText:N,url:W||void 0})),s.complete()):s.error(new On({error:U,headers:m,status:D,statusText:N,url:W||void 0}))},f=m=>{let{url:D}=l(),N=new On({error:m,status:a.status||0,statusText:a.statusText||"Unknown Error",url:D||void 0});s.error(N)},h=!1,p=m=>{h||(s.next(l()),h=!0);let D={type:Pn.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(D.total=m.total),n.responseType==="text"&&a.responseText&&(D.partialText=a.responseText),s.next(D)},v=m=>{let D={type:Pn.UploadProgress,loaded:m.loaded};m.lengthComputable&&(D.total=m.total),s.next(D)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",v)),a.send(c),s.next({type:Pn.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(w(Jr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ay=new E(""),TS="XSRF-TOKEN",MS=new E("",{providedIn:"root",factory:()=>TS}),SS="X-XSRF-TOKEN",xS=new E("",{providedIn:"root",factory:()=>SS}),Xa=class{},_S=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ya(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(w(oe),w(yt),w(MS))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function AS(t,e){let r=t.url.toLowerCase();if(!g(Ay)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(Xa).getToken(),o=g(xS);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var Ny=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Ny||{});function NS(t,e){return{\u0275kind:t,\u0275providers:e}}function jB(...t){let e=[Qd,Ty,by,{provide:ni,useExisting:by},{provide:Ka,useFactory:()=>g(mS,{optional:!0})??g(Ty)},{provide:Kd,useValue:AS,multi:!0},{provide:Ay,useValue:!0},{provide:Xa,useClass:_S}];for(let r of t)e.push(...r.\u0275providers);return $r(e)}var My=new E("");function VB(){return NS(Ny.LegacyInterceptors,[{provide:My,useFactory:ES},{provide:Kd,useExisting:My,multi:!0}])}var ef=class extends qa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},tf=class t extends ef{static makeCurrent(){ny(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=OS();return r==null?null:PS(r)}resetBaseElement(){ii=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ya(document.cookie,e)}},ii=null;function OS(){return ii=ii||document.querySelector("base"),ii?ii.getAttribute("href"):null}function PS(t){return new URL(t,document.baseURI).pathname}var nf=class{addToWindow(e){he.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new C(5103,!1);return i},he.getAllAngularTestabilities=()=>e.getAllTestabilities(),he.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=he.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?or().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},FS=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),rf=new E(""),Fy=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new C(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(w(rf),w(B))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),ec=class{constructor(e){this._doc=e}},Jd="ng-app-id",ky=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ei(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Jd}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Jd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Jd,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(w(oe),w(ma),w($l,8),w(yt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Xd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},sf=/%COMP%/g,Ly="%COMP%",kS=`_nghost-${Ly}`,LS=`_ngcontent-${Ly}`,jS=!0,VS=new E("",{providedIn:"root",factory:()=>jS});function BS(t){return LS.replace(sf,t)}function US(t){return kS.replace(sf,t)}function jy(t,e){return e.map(r=>r.replace(sf,t))}var Ry=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ei(c),this.defaultRenderer=new si(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ot.ShadowDom&&(o=z(y({},o),{encapsulation:Ot.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof tc?i.applyToHost(n):i instanceof ai&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ot.Emulated:s=new tc(u,l,o,this.appId,d,a,c,f);break;case Ot.ShadowDom:return new of(u,l,n,o,a,c,this.nonce,f);default:s=new ai(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(w(Fy),w(ky),w(ma),w(VS),w(oe),w(yt),w(B),w($l))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),si=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Xd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Oy(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Oy(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new C(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Xd[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Xd[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,o&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=or().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Oy(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var of=class extends si{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=jy(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ai=class extends si{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?jy(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},tc=class extends ai{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=BS(u),this.hostAttr=US(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},$S=(()=>{let e=class e extends ec{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Py=["alt","control","meta","shift"],HS={"\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"},zS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},GS=(()=>{let e=class e extends ec{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>or().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Py.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=HS[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Py.forEach(a=>{if(a!==i){let c=zS[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function qS(){tf.makeCurrent()}function WS(){return new mt}function ZS(){return em(document),document}var YS=[{provide:yt,useValue:zd},{provide:Ul,useValue:qS,multi:!0},{provide:oe,useFactory:ZS,deps:[]}],XB=wd(Hv,"browser",YS),QS=new E(""),KS=[{provide:Jo,useClass:nf,deps:[]},{provide:vd,useClass:Oa,deps:[B,Pa,Jo]},{provide:Oa,useClass:Oa,deps:[B,Pa,Jo]}],JS=[{provide:sa,useValue:"root"},{provide:mt,useFactory:WS,deps:[]},{provide:rf,useClass:$S,multi:!0,deps:[oe,B,yt]},{provide:rf,useClass:GS,multi:!0,deps:[oe]},Ry,ky,Fy,{provide:kr,useExisting:Ry},{provide:Jr,useClass:FS,deps:[]},[]],eU=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ma,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(w(QS,12))},e.\u0275mod=jt({type:e}),e.\u0275inj=Lt({providers:[...JS,...KS],imports:[gy,zv]});let t=e;return t})();var Vy=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var af=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=w(XS),i},providedIn:"root"});let t=e;return t})(),XS=(()=>{let e=class e extends af{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case We.NONE:return o;case We.HTML:return Jt(o,"HTML")?$e(o):Gl(this._doc,String(o)).toString();case We.STYLE:return Jt(o,"Style")?$e(o):o;case We.SCRIPT:if(Jt(o,"Script"))return $e(o);throw new C(5200,!1);case We.URL:return Jt(o,"URL")?$e(o):ya(String(o));case We.RESOURCE_URL:if(Jt(o,"ResourceURL"))return $e(o);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(n){return sm(n)}bypassSecurityTrustStyle(n){return am(n)}bypassSecurityTrustScript(n){return cm(n)}bypassSecurityTrustUrl(n){return um(n)}bypassSecurityTrustResourceUrl(n){return lm(n)}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var L="primary",Ei=Symbol("RouteTitle"),ff=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function so(t){return new ff(t)}function ex(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=t[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function tx(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Ht(t[r],e[r]))return!1;return!0}function Ht(t,e){let r=t?hf(t):void 0,n=e?hf(e):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!Jy(t[o],e[o]))return!1;return!0}function hf(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Jy(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((o,i)=>n[i]===o)}else return t===e}function Xy(t){return t.length>0?t[t.length-1]:null}function Ln(t){return Vc(t)?t:Yr(t)?J(Promise.resolve(t)):x(t)}var nx={exact:tD,subset:nD},eD={exact:rx,subset:ox,ignored:()=>!0};function Uy(t,e,r){return nx[r.paths](t.root,e.root,r.matrixParams)&&eD[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function rx(t,e){return Ht(t,e)}function tD(t,e,r){if(!sr(t.segments,e.segments)||!oc(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!tD(t.children[n],e.children[n],r))return!1;return!0}function ox(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Jy(t[r],e[r]))}function nD(t,e,r){return rD(t,e,e.segments,r)}function rD(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!sr(o,r)||e.hasChildren()||!oc(o,r,n))}else if(t.segments.length===r.length){if(!sr(t.segments,r)||!oc(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!nD(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!sr(t.segments,o)||!oc(t.segments,o,n)||!t.children[L]?!1:rD(t.children[L],e,i,n)}}function oc(t,e,r){return e.every((n,o)=>eD[r](t[o].parameters,n.parameters))}var Fn=class{constructor(e=new q([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=so(this.queryParams),this._queryParamMap}toString(){return ax.serialize(this)}},q=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ic(this)}},ir=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=so(this.parameters),this._parameterMap}toString(){return iD(this)}};function ix(t,e){return sr(t,e)&&t.every((r,n)=>Ht(r.parameters,e[n].parameters))}function sr(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function sx(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===L&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==L&&(r=r.concat(e(o,n)))}),r}var Ci=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new ao,providedIn:"root"});let t=e;return t})(),ao=class{parse(e){let r=new gf(e);return new Fn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${ci(e.root,!0)}`,n=lx(e.queryParams),o=typeof e.fragment=="string"?`#${cx(e.fragment)}`:"";return`${r}${n}${o}`}},ax=new ao;function ic(t){return t.segments.map(e=>iD(e)).join("/")}function ci(t,e){if(!t.hasChildren())return ic(t);if(e){let r=t.children[L]?ci(t.children[L],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==L&&n.push(`${o}:${ci(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=sx(t,(n,o)=>o===L?[ci(t.children[L],!1)]:[`${o}:${ci(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[L]!=null?`${ic(t)}/${r[0]}`:`${ic(t)}/(${r.join("//")})`}}function oD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nc(t){return oD(t).replace(/%3B/gi,";")}function cx(t){return encodeURI(t)}function pf(t){return oD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function sc(t){return decodeURIComponent(t)}function $y(t){return sc(t.replace(/\+/g,"%20"))}function iD(t){return`${pf(t.path)}${ux(t.parameters)}`}function ux(t){return Object.entries(t).map(([e,r])=>`;${pf(e)}=${pf(r)}`).join("")}function lx(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${nc(r)}=${nc(o)}`).join("&"):`${nc(r)}=${nc(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var dx=/^[^\/()?;#]+/;function cf(t){let e=t.match(dx);return e?e[0]:""}var fx=/^[^\/()?;=#]+/;function hx(t){let e=t.match(fx);return e?e[0]:""}var px=/^[^=?&#]+/;function gx(t){let e=t.match(px);return e?e[0]:""}var mx=/^[^&#]+/;function vx(t){let e=t.match(mx);return e?e[0]:""}var gf=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new q([],{}):new q([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[L]=new q(e,r)),n}parseSegment(){let e=cf(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(e),new ir(sc(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=hx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=cf(this.remaining);o&&(n=o,this.capture(n))}e[sc(r)]=sc(n)}parseQueryParam(e){let r=gx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=vx(this.remaining);s&&(n=s,this.capture(n))}let o=$y(r),i=$y(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=cf(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new C(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=L);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[L]:new q([],s),this.consumeOptional("//")}return r}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 C(4011,!1)}};function sD(t){return t.segments.length>0?new q([],{[L]:t}):t}function aD(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=aD(o);if(n===L&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new q(t.segments,e);return yx(r)}function yx(t){if(t.numberOfChildren===1&&t.children[L]){let e=t.children[L];return new q(t.segments.concat(e.segments),e.children)}return t}function pi(t){return t instanceof Fn}function Dx(t,e,r=null,n=null){let o=cD(t);return uD(o,e,r,n)}function cD(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new q(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=sD(n);return e??o}function uD(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return uf(o,o,o,r,n);let i=wx(e);if(i.toRoot())return uf(o,o,new q([],{}),r,n);let s=Ix(i,o,t),a=s.processChildren?di(s.segmentGroup,s.index,i.commands):dD(s.segmentGroup,s.index,i.commands);return uf(o,s.segmentGroup,a,r,n)}function ac(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function gi(t){return typeof t=="object"&&t!=null&&t.outlets}function uf(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=lD(t,e,r);let a=sD(aD(s));return new Fn(a,i,o)}function lD(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=lD(i,e,r)}),new q(t.segments,n)}var cc=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ac(n[0]))throw new C(4003,!1);let o=n.find(gi);if(o&&o!==Xy(n))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function wx(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new cc(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new cc(r,e,n)}var ro=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function Ix(t,e,r){if(t.isAbsolute)return new ro(e,!0,0);if(!r)return new ro(e,!1,NaN);if(r.parent===null)return new ro(r,!0,0);let n=ac(t.commands[0])?0:1,o=r.segments.length-1+n;return Ex(r,o,t.numberOfDoubleDots)}function Ex(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new C(4005,!1);o=n.segments.length}return new ro(n,!1,o-i)}function Cx(t){return gi(t[0])?t[0].outlets:{[L]:t}}function dD(t,e,r){if(t??=new q([],{}),t.segments.length===0&&t.hasChildren())return di(t,e,r);let n=bx(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new q(t.segments.slice(0,n.pathIndex),{});return i.children[L]=new q(t.segments.slice(n.pathIndex),t.children),di(i,0,o)}else return n.match&&o.length===0?new q(t.segments,{}):n.match&&!t.hasChildren()?mf(t,e,r):n.match?di(t,0,o):mf(t,e,r)}function di(t,e,r){if(r.length===0)return new q(t.segments,{});{let n=Cx(r),o={};if(Object.keys(n).some(i=>i!==L)&&t.children[L]&&t.numberOfChildren===1&&t.children[L].segments.length===0){let i=di(t.children[L],e,r);return new q(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=dD(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new q(t.segments,o)}}function bx(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(n>=r.length)return i;let s=t.segments[o],a=r[n];if(gi(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!zy(c,u,s))return i;n+=2}else{if(!zy(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function mf(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(gi(i)){let c=Tx(i.outlets);return new q(n,c)}if(o===0&&ac(r[0])){let c=t.segments[e];n.push(new ir(c.path,Hy(r[0]))),o++;continue}let s=gi(i)?i.outlets[L]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&ac(a)?(n.push(new ir(s,Hy(a))),o+=2):(n.push(new ir(s,{})),o++)}return new q(n,{})}function Tx(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=mf(new q([],{}),0,n))}),e}function Hy(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function zy(t,e,r){return t==r.path&&Ht(e,r.parameters)}var fi="imperative",ye=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ye||{}),at=class{constructor(e,r){this.id=e,this.url=r}},co=class extends at{constructor(e,r,n="imperative",o=null){super(e,r),this.type=ye.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},bt=class extends at{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=ye.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Je=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Je||{}),uc=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(uc||{}),ln=class extends at{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=ye.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},kn=class extends at{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=ye.NavigationSkipped}},mi=class extends at{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=ye.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},lc=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vf=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yf=class extends at{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=ye.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Df=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wf=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},If=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ef=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cf=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bf=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tf=class{constructor(e){this.snapshot=e,this.type=ye.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mf=class{constructor(e){this.snapshot=e,this.type=ye.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dc=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=ye.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},vi=class{},uo=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Sf=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new bi(this.injector),this.attachRef=null}},bi=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Sf(this.parentInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(w(Te))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=xf(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=xf(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=_f(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return _f(e,this._root).map(r=>r.value)}};function xf(t,e){if(t===e.value)return e;for(let r of e.children){let n=xf(t,r);if(n)return n}return null}function _f(t,e){if(t===e.value)return[e];for(let r of e.children){let n=_f(t,r);if(n.length)return n.unshift(e),n}return[]}var Ke=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function no(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var hc=class extends fc{constructor(e,r){super(e),this.snapshot=r,jf(this,e)}toString(){return this.snapshot.toString()}};function fD(t){let e=Mx(t),r=new we([new ir("",{})]),n=new we({}),o=new we({}),i=new we({}),s=new we(""),a=new ar(r,n,i,s,o,L,t,e.root);return a.snapshot=e.root,new hc(new Ke(a,[]),e)}function Mx(t){let e={},r={},n={},o="",i=new oo([],e,n,o,r,L,t,null,{});return new gc("",new Ke(i,[]))}var ar=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(P(u=>u[Ei]))??x(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(P(e=>so(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(P(e=>so(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function pc(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:y(y({},e.params),t.params),data:y(y({},e.data),t.data),resolve:y(y(y(y({},t.data),e.data),o?.data),t._resolvedData)}:n={params:y({},t.params),data:y({},t.data),resolve:y(y({},t.data),t._resolvedData??{})},o&&pD(o)&&(n.resolve[Ei]=o.title),n}var oo=class{get title(){return this.data?.[Ei]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=so(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=so(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},gc=class extends fc{constructor(e,r){super(r),this.url=e,jf(this,r)}toString(){return hD(this._root)}};function jf(t,e){e.value._routerState=t,e.children.forEach(r=>jf(t,r))}function hD(t){let e=t.children.length>0?` { ${t.children.map(hD).join(", ")} } `:"";return`${t.value}${e}`}function lf(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Ht(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Ht(e.params,r.params)||t.paramsSubject.next(r.params),tx(e.url,r.url)||t.urlSubject.next(r.url),Ht(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Af(t,e){let r=Ht(t.params,e.params)&&ix(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Af(t.parent,e.parent))}function pD(t){return typeof t.title=="string"||t.title===null}var Sx=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=L,this.activateEvents=new Ie,this.deactivateEvents=new Ie,this.attachEvents=new Ie,this.detachEvents=new Ie,this.parentContexts=g(bi),this.location=g(wt),this.changeDetector=g(rn),this.inputBinder=g(wc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Nf(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Fe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Kt]});let t=e;return t})(),Nf=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===ar?this.route:e===bi?this.childContexts:this.parent.get(e,r)}},wc=new E(""),Gy=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Eo([o.queryParams,o.params,o.data]).pipe(se(([s,a,c],u)=>(c=y(y(y({},s),a),c),u===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Gv(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function xx(t,e,r){let n=yi(t,e._root,r?r._root:void 0);return new hc(n,e)}function yi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=_x(t,e,r);return new Ke(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>yi(t,a)),s}}let n=Ax(e.value),o=e.children.map(i=>yi(t,i));return new Ke(n,o)}}function _x(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return yi(t,n,o);return yi(t,n)})}function Ax(t){return new ar(new we(t.url),new we(t.params),new we(t.queryParams),new we(t.fragment),new we(t.data),t.outlet,t.component,t)}var Di=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},gD="ngNavigationCancelingError";function mc(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=pi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=mD(!1,Je.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function mD(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[gD]=!0,r.cancellationCode=e,r}function Nx(t){return vD(t)&&pi(t.url)}function vD(t){return!!t&&t[gD]}var Rx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Uo({type:e,selectors:[["ng-component"]],standalone:!0,features:[Yo],decls:1,vars:0,template:function(o,i){o&1&&Nn(0,"router-outlet")},dependencies:[Sx],encapsulation:2});let t=e;return t})();function Ox(t,e){return t.providers&&!t._injector&&(t._injector=_a(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Vf(t){let e=t.children&&t.children.map(Vf),r=e?z(y({},t),{children:e}):y({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==L&&(r.component=Rx),r}function Ct(t){return t.outlet||L}function Px(t,e){let r=t.filter(n=>Ct(n)===e);return r.push(...t.filter(n=>Ct(n)!==e)),r}function Ti(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Fx=(t,e,r,n)=>P(o=>(new Rf(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Rf=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),lf(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=no(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=no(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=no(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=no(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Mf(i.value.snapshot))}),e.children.length&&this.forwardEvent(new bf(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(lf(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),lf(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Ti(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},vc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},io=class{constructor(e,r){this.component=e,this.route=r}};function kx(t,e,r){let n=t._root,o=e?e._root:null;return ui(n,o,r,[n.value])}function Lx(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function fo(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Gp(t)?t:e.get(t):n}function ui(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=no(e);return t.children.forEach(s=>{jx(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>hi(a,r.getContext(s),o)),o}function jx(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Vx(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new vc(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ui(t,e,a?a.children:null,n,o):ui(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new io(a.outlet.component,s))}else s&&hi(e,a,o),o.canActivateChecks.push(new vc(n)),i.component?ui(t,null,a?a.children:null,n,o):ui(t,null,r,n,o);return o}function Vx(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!sr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!sr(t.url,e.url)||!Ht(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Af(t,e)||!Ht(t.queryParams,e.queryParams);case"paramsChange":default:return!Af(t,e)}}function hi(t,e,r){let n=no(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?hi(s,e.children.getContext(i),r):hi(s,null,r):hi(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new io(e.outlet.component,o)):r.canDeactivateChecks.push(new io(null,o)):r.canDeactivateChecks.push(new io(null,o))}function Mi(t){return typeof t=="function"}function Bx(t){return typeof t=="boolean"}function Ux(t){return t&&Mi(t.canLoad)}function $x(t){return t&&Mi(t.canActivate)}function Hx(t){return t&&Mi(t.canActivateChild)}function zx(t){return t&&Mi(t.canDeactivate)}function Gx(t){return t&&Mi(t.canMatch)}function yD(t){return t instanceof lt||t?.name==="EmptyError"}var rc=Symbol("INITIAL_VALUE");function lo(){return se(t=>Eo(t.map(e=>e.pipe(ze(1),Gi(rc)))).pipe(P(e=>{for(let r of e)if(r!==!0){if(r===rc)return rc;if(r===!1||qx(r))return r}return!0}),ie(e=>e!==rc),ze(1)))}function qx(t){return pi(t)||t instanceof Di}function Wx(t,e){return ee(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?x(z(y({},r),{guardsResult:!0})):Zx(s,n,o,t).pipe(ee(a=>a&&Bx(a)?Yx(n,i,t,e):x(a)),P(a=>z(y({},r),{guardsResult:a})))})}function Zx(t,e,r,n){return J(t).pipe(ee(o=>e_(o.component,o.route,r,e,n)),ht(o=>o!==!0,!0))}function Yx(t,e,r,n){return J(e).pipe(At(o=>fn(Kx(o.route.parent,n),Qx(o.route,n),Xx(t,o.path,r),Jx(t,o.route,r))),ht(o=>o!==!0,!0))}function Qx(t,e){return t!==null&&e&&e(new Tf(t)),x(!0)}function Kx(t,e){return t!==null&&e&&e(new Cf(t)),x(!0)}function Jx(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let o=n.map(i=>rs(()=>{let s=Ti(e)??r,a=fo(i,s),c=$x(a)?a.canActivate(e,t):Be(s,()=>a(e,t));return Ln(c).pipe(ht())}));return x(o).pipe(lo())}function Xx(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>Lx(s)).filter(s=>s!==null).map(s=>rs(()=>{let a=s.guards.map(c=>{let u=Ti(s.node)??r,l=fo(c,u),d=Hx(l)?l.canActivateChild(n,t):Be(u,()=>l(n,t));return Ln(d).pipe(ht())});return x(a).pipe(lo())}));return x(i).pipe(lo())}function e_(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return x(!0);let s=i.map(a=>{let c=Ti(e)??o,u=fo(a,c),l=zx(u)?u.canDeactivate(t,e,r,n):Be(c,()=>u(t,e,r,n));return Ln(l).pipe(ht())});return x(s).pipe(lo())}function t_(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return x(!0);let i=o.map(s=>{let a=fo(s,t),c=Ux(a)?a.canLoad(e,r):Be(t,()=>a(e,r));return Ln(c)});return x(i).pipe(lo(),DD(n))}function DD(t){return Ac(le(e=>{if(typeof e!="boolean")throw mc(t,e)}),P(e=>e===!0))}function n_(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=fo(s,t),c=Gx(a)?a.canMatch(e,r):Be(t,()=>a(e,r));return Ln(c)});return x(i).pipe(lo(),DD(n))}var wi=class{constructor(e){this.segmentGroup=e||null}},Ii=class extends Error{constructor(e){super(),this.urlTree=e}};function to(t){return hn(new wi(t))}function r_(t){return hn(new C(4e3,!1))}function o_(t){return hn(mD(!1,Je.GuardRejected))}var Of=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return x(n);if(o.numberOfChildren>1||!o.children[L])return r_(`${e.redirectTo}`);o=o.children[L]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:p,title:v}=o,m=Be(i,()=>a({params:h,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:v}));if(m instanceof Fn)throw new Ii(m);r=m}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Ii(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Fn(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new q(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new C(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},Pf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function i_(t,e,r,n,o){let i=Bf(t,e,r);return i.matched?(n=Ox(e,n),n_(n,e,r,o).pipe(P(s=>s===!0?i:y({},Pf)))):x(i)}function Bf(t,e,r){if(e.path==="**")return s_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?y({},Pf):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||ex)(r,t,e);if(!o)return y({},Pf);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function s_(t){return{matched:!0,parameters:t.length>0?Xy(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function qy(t,e,r,n){return r.length>0&&u_(t,r,n)?{segmentGroup:new q(e,c_(n,new q(r,t.children))),slicedSegments:[]}:r.length===0&&l_(t,r,n)?{segmentGroup:new q(t.segments,a_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new q(t.segments,t.children),slicedSegments:r}}function a_(t,e,r,n){let o={};for(let i of r)if(Ic(t,e,i)&&!n[Ct(i)]){let s=new q([],{});o[Ct(i)]=s}return y(y({},n),o)}function c_(t,e){let r={};r[L]=e;for(let n of t)if(n.path===""&&Ct(n)!==L){let o=new q([],{});r[Ct(n)]=o}return r}function u_(t,e,r){return r.some(n=>Ic(t,e,n)&&Ct(n)!==L)}function l_(t,e,r){return r.some(n=>Ic(t,e,n))}function Ic(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function d_(t,e,r,n){return Ct(t)!==n&&(n===L||!Ic(e,r,t))?!1:Bf(e,t,r).matched}function f_(t,e,r){return e.length===0&&!t.children[r]}var Ff=class{};function h_(t,e,r,n,o,i,s="emptyOnly"){return new kf(t,e,r,n,o,s,i).recognize()}var p_=31,kf=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Of(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new C(4002,`'${e.segmentGroup}'`)}recognize(){let e=qy(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(P(({children:r,rootSnapshot:n})=>{let o=new Ke(n,r),i=new gc("",o),s=Dx(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new oo([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),L,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,L,r).pipe(P(n=>({children:n,rootSnapshot:r})),ft(n=>{if(n instanceof Ii)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof wi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(P(s=>s instanceof Ke?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return J(i).pipe(At(s=>{let a=n.children[s],c=Px(r,s);return this.processSegmentGroup(e,c,a,s,o)}),ss((s,a)=>(s.push(...a),s)),pn(null),$c(),ee(s=>{if(s===null)return to(n);let a=wD(s);return g_(a),x(a)}))}processSegment(e,r,n,o,i,s,a){return J(r).pipe(At(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe(ft(u=>{if(u instanceof wi)return x(null);throw u}))),ht(c=>!!c),ft(c=>{if(yD(c))return f_(n,o,i)?x(new Ff):to(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return d_(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):to(o):to(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Bf(r,o,i);if(!c)return to(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>p_&&(this.allowRedirects=!1));let h=new oo(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Wy(o),Ct(o),o.component??o._loadedComponent??null,o,Zy(o)),p=pc(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);let v=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(o,v).pipe(ee(m=>this.processSegment(e,n,r,m.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=i_(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(se(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(se(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,p=new oo(f,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Wy(n),Ct(n),n.component??n._loadedComponent??null,n,Zy(n)),v=pc(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(v.params),p.data=Object.freeze(v.data);let{segmentGroup:m,slicedSegments:D}=qy(r,f,h,u);if(D.length===0&&m.hasChildren())return this.processChildren(l,u,m,p).pipe(P(W=>new Ke(p,W)));if(u.length===0&&D.length===0)return x(new Ke(p,[]));let N=Ct(n)===i;return this.processSegment(l,u,m,D,N?L:i,!0,p).pipe(P(W=>new Ke(p,W instanceof Ke?[W]:[])))}))):to(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):t_(e,r,n,this.urlSerializer).pipe(ee(o=>o?this.configLoader.loadChildren(e,r).pipe(le(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):o_(r))):x({routes:[],injector:e})}};function g_(t){t.sort((e,r)=>e.value.outlet===L?-1:r.value.outlet===L?1:e.value.outlet.localeCompare(r.value.outlet))}function m_(t){let e=t.value.routeConfig;return e&&e.path===""}function wD(t){let e=[],r=new Set;for(let n of t){if(!m_(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=wD(n.children);e.push(new Ke(n.value,o))}return e.filter(n=>!r.has(n))}function Wy(t){return t.data||{}}function Zy(t){return t.resolve||{}}function v_(t,e,r,n,o,i){return ee(s=>h_(t,e,r,n,s.extractedUrl,o,i).pipe(P(({state:a,tree:c})=>z(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function y_(t,e){return ee(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return x(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of ID(c))s.add(u);let a=0;return J(s).pipe(At(c=>i.has(c)?D_(c,n,t,e):(c.data=pc(c,c.parent,t).resolve,x(void 0))),le(()=>a++),Dr(1),ee(c=>a===s.size?x(r):Ne))})}function ID(t){let e=t.children.map(r=>ID(r)).flat();return[t,...e]}function D_(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!pD(o)&&(i[Ei]=o.title),w_(i,t,e,n).pipe(P(s=>(t._resolvedData=s,t.data=pc(t,t.parent,r).resolve,null)))}function w_(t,e,r,n){let o=hf(t);if(o.length===0)return x({});let i={};return J(o).pipe(ee(s=>I_(t[s],e,r,n).pipe(ht(),le(a=>{if(a instanceof Di)throw mc(new ao,a);i[s]=a}))),Dr(1),Co(i),ft(s=>yD(s)?Ne:hn(s)))}function I_(t,e,r,n){let o=Ti(e)??n,i=fo(t,o),s=i.resolve?i.resolve(e,r):Be(o,()=>i(e,r));return Ln(s)}function df(t){return se(e=>{let r=t(e);return r?J(r).pipe(P(()=>e)):x(e)})}var ED=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===L);return o}getResolvedTitleForRoute(n){return n.data[Ei]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(E_),providedIn:"root"});let t=e;return t})(),E_=(()=>{let e=class e extends ED{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(w(Vy))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Si=new E("",{providedIn:"root",factory:()=>({})}),yc=new E(""),Uf=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(La)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Ln(n.loadComponent()).pipe(P(CD),le(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),gn(()=>{this.componentLoaders.delete(n)})),i=new gr(o,()=>new G).pipe(pr());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return x({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=C_(o,this.compiler,n,this.onLoadEndListener).pipe(gn(()=>{this.childrenLoaders.delete(o)})),a=new gr(s,()=>new G).pipe(pr());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function C_(t,e,r,n){return Ln(t.loadChildren()).pipe(P(CD),ee(o=>o instanceof Fo||Array.isArray(o)?x(o):J(e.compileModuleAsync(o))),P(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(yc,[],{optional:!0,self:!0}).flat()),{routes:s.map(Vf),injector:i}}))}function b_(t){return t&&typeof t=="object"&&"default"in t}function CD(t){return b_(t)?t.default:t}var $f=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(T_),providedIn:"root"});let t=e;return t})(),T_=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bD=new E(""),TD=new E("");function M_(t,e,r){let n=t.get(TD),o=t.get(oe);return t.get(B).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),S_(t))),{onViewTransitionCreated:c}=n;return c&&Be(t,()=>c({transition:a,from:e,to:r})),s})}function S_(t){return new Promise(e=>{Ma(e,{injector:t})})}var x_=new E(""),Hf=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G,this.transitionAbortSubject=new G,this.configLoader=g(Uf),this.environmentInjector=g(Te),this.urlSerializer=g(Ci),this.rootContexts=g(bi),this.location=g(Xr),this.inputBindingEnabled=g(wc,{optional:!0})!==null,this.titleStrategy=g(ED),this.options=g(Si,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g($f),this.createViewTransition=g(bD,{optional:!0}),this.navigationErrorHandler=g(x_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=i=>this.events.next(new If(i)),o=i=>this.events.next(new Ef(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(z(y(y({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new we({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:fi,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ie(s=>s.id!==0),P(s=>z(y({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),se(s=>{let a=!1,c=!1;return x(s).pipe(se(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Je.SupersededByNewNavigation),Ne;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?z(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new kn(u.id,this.urlSerializer.serialize(u.rawUrl),f,uc.IgnoredSameUrlNavigation)),u.resolve(!1),Ne}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return x(u).pipe(se(f=>{let h=this.transitions?.getValue();return this.events.next(new co(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ne:Promise.resolve(f)}),v_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),le(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=z(y({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new lc(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:v,extras:m}=u,D=new co(f,this.urlSerializer.serialize(h),p,v);this.events.next(D);let N=fD(this.rootComponentType).snapshot;return this.currentTransition=s=z(y({},u),{targetSnapshot:N,urlAfterRedirects:h,extras:z(y({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(s)}else{let f="";return this.events.next(new kn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,uc.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Ne}}),le(u=>{let l=new vf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),P(u=>(this.currentTransition=s=z(y({},u),{guards:kx(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),Wx(this.environmentInjector,u=>this.events.next(u)),le(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw mc(this.urlSerializer,u.guardsResult);let l=new yf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ie(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Je.GuardRejected),!1)),df(u=>{if(u.guards.canActivateChecks.length)return x(u).pipe(le(l=>{let d=new Df(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),se(l=>{let d=!1;return x(l).pipe(y_(this.paramsInheritanceStrategy,this.environmentInjector),le({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Je.NoDataFromResolver)}}))}),le(l=>{let d=new wf(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),df(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(le(h=>{d.component=h}),P(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Eo(l(u.targetSnapshot.root)).pipe(pn(null),ze(1))}),df(()=>this.afterPreactivation()),se(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?J(d).pipe(P(()=>s)):x(s)}),P(u=>{let l=xx(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=z(y({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),le(()=>{this.events.next(new vi)}),Fx(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),ze(1),le({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new bt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),qi(this.transitionAbortSubject.pipe(le(u=>{throw u}))),gn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Je.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),ft(u=>{if(c=!0,vD(u))this.events.next(new ln(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),Nx(u)?this.events.next(new uo(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new mi(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Be(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Di){let{message:f,cancellationCode:h}=mc(this.urlSerializer,d);this.events.next(new ln(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new uo(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Ne}))}))}cancelNavigationTransition(n,o,i){let s=new ln(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function __(t){return t!==fi}var A_=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(N_),providedIn:"root"});let t=e;return t})(),Lf=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},N_=(()=>{let e=class e extends Lf{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Vl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),MD=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(R_),providedIn:"root"});let t=e;return t})(),R_=(()=>{let e=class e extends MD{constructor(){super(...arguments),this.location=g(Xr),this.urlSerializer=g(Ci),this.options=g(Si,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g($f),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Fn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=fD(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof co)this.stateMemento=this.createStateMemento();else if(n instanceof kn)this.rawUrlTree=o.initialUrl;else if(n instanceof lc){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof vi?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof ln&&(n.code===Je.GuardRejected||n.code===Je.NoDataFromResolver)?this.restoreHistory(o):n instanceof mi?this.restoreHistory(o,!0):n instanceof bt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=y(y({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=y(y({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Vl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),li=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(li||{});function SD(t,e){t.events.pipe(ie(r=>r instanceof bt||r instanceof ln||r instanceof mi||r instanceof kn),P(r=>r instanceof bt||r instanceof kn?li.COMPLETE:(r instanceof ln?r.code===Je.Redirect||r.code===Je.SupersededByNewNavigation:!1)?li.REDIRECTING:li.FAILED),ie(r=>r!==li.REDIRECTING),ze(1)).subscribe(()=>{e()})}function O_(t){throw t}var P_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},F_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Tt=(()=>{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(){this.disposed=!1,this.console=g(Ra),this.stateManager=g(MD),this.options=g(Si,{optional:!0})||{},this.pendingTasks=g(Bt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Hf),this.urlSerializer=g(Ci),this.location=g(Xr),this.urlHandlingStrategy=g($f),this._events=new G,this.errorHandler=this.options.errorHandler||O_,this.navigated=!1,this.routeReuseStrategy=g(A_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(yc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(wc,{optional:!0}),this.eventsSubscription=new te,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof ln&&o.code!==Je.Redirect&&o.code!==Je.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof bt)this.navigated=!0;else if(o instanceof uo){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=y({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||__(i.source)},a);this.scheduleNavigation(c,fi,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}L_(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=y({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Vf),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(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=y(y({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=cD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return uD(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=pi(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,fi,null,o)}navigate(n,o={skipLocationChange:!1}){return k_(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=y({},P_):o===!1?i=y({},F_):i=o,pi(n))return Uy(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Uy(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return SD(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function k_(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new C(4008,!1)}function L_(t){return!(t instanceof vi)&&!(t instanceof uo)}var Yy=(()=>{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new G,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof bt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:mm(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}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(o){return new(o||e)(O(Tt),O(ar),Bl("tabindex"),O(Sn),O(qe),O(un))},e.\u0275dir=Fe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Rn("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&_n("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",on],skipLocationChange:[2,"skipLocationChange","skipLocationChange",on],replaceUrl:[2,"replaceUrl","replaceUrl",on],routerLink:"routerLink"},standalone:!0,features:[xa,Kt]});let t=e;return t})(),yU=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ie,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof bt&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(St()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=J(n).pipe(St()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let o=j_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?n.isActive(s,o):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(O(Tt),O(qe),O(Sn),O(rn),O(Yy,8))},e.\u0275dir=Fe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Mv(s,Yy,5),o&2){let a;Sv(a=xv())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Kt]});let t=e;return t})();function j_(t){return!!t.paths}var Dc=class{};var V_=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ie(n=>n instanceof bt),At(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=_a(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return J(i).pipe(St())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=x(null);let s=i.pipe(ee(a=>a===null?x(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return J([s,a]).pipe(St())}else return s})}};e.\u0275fac=function(o){return new(o||e)(w(Tt),w(La),w(Te),w(Dc),w(Uf))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xD=new E(""),B_=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=g(Te),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof co?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof bt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof kn&&n.code===uc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof dc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>po(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Ma(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new dc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Am()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function U_(t){return t.routerState.root}function xi(t,e){return{\u0275kind:t,\u0275providers:e}}function $_(){let t=g(pe);return e=>{let r=t.get(it);if(e!==r.components[0])return;let n=t.get(Tt),o=t.get(_D);t.get(zf)===1&&n.initialNavigation(),t.get(AD,null,j.Optional)?.setUpPreloading(),t.get(xD,null,j.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var _D=new E("",{factory:()=>new G}),zf=new E("",{providedIn:"root",factory:()=>1});function H_(){return xi(2,[{provide:zf,useValue:0},{provide:Fa,multi:!0,deps:[pe],useFactory:e=>{let r=e.get(ry,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Tt),i=e.get(_D);SD(o,()=>{n(!0)}),e.get(Hf).afterPreactivation=()=>(n(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}])}function z_(){return xi(3,[{provide:Fa,multi:!0,useFactory:()=>{let e=g(Tt);return()=>{e.setUpLocationChangeListener()}}},{provide:zf,useValue:2}])}var AD=new E("");function G_(t){return xi(0,[{provide:AD,useExisting:V_},{provide:Dc,useExisting:t}])}function q_(){return xi(8,[Gy,{provide:wc,useExisting:Gy}])}function W_(t){let e=[{provide:bD,useValue:M_},{provide:TD,useValue:y({skipNextTransition:!!t?.skipInitialTransition},t)}];return xi(9,e)}var Qy=new E("ROUTER_FORROOT_GUARD"),Z_=[Xr,{provide:Ci,useClass:ao},Tt,bi,{provide:ar,useFactory:U_,deps:[Tt]},Uf,[]],DU=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[Z_,[],{provide:yc,multi:!0,useValue:n},{provide:Qy,useFactory:J_,deps:[[Tt,new Vo,new ia]]},{provide:Si,useValue:o||{}},o?.useHash?Q_():K_(),Y_(),o?.preloadingStrategy?G_(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?X_(o):[],o?.bindToComponentInputs?q_().\u0275providers:[],o?.enableViewTransitions?W_().\u0275providers:[],eA()]}}static forChild(n){return{ngModule:e,providers:[{provide:yc,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(w(Qy,8))},e.\u0275mod=jt({type:e}),e.\u0275inj=Lt({});let t=e;return t})();function Y_(){return{provide:xD,useFactory:()=>{let t=g(my),e=g(B),r=g(Si),n=g(Hf),o=g(Ci);return r.scrollOffset&&t.setOffset(r.scrollOffset),new B_(o,n,t,e,r)}}}function Q_(){return{provide:un,useClass:iy}}function K_(){return{provide:un,useClass:Ud}}function J_(t){return"guarded"}function X_(t){return[t.initialNavigation==="disabled"?z_().\u0275providers:[],t.initialNavigation==="enabledBlocking"?H_().\u0275providers:[]]}var Ky=new E("");function eA(){return[{provide:Ky,useFactory:$_},{provide:ka,multi:!0,useExisting:Ky}]}var ND={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},pos:{indexedDBVersion:2,submitOrderTimeout:2e4,fileSizeLimit:9e5},version:"12350",outletMaximumSubscription:10,midtransClientKey:"Mid-client-rdi5ridKhHfeIvTj",ngHttpLoaderDebounceDelay:175,news:"https://changelog.dealpos.app/umbraco/delivery/api/v2/content?fetch=children:web&sort=sortOrder:asc",changelog:[]};var Xe=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Xe||{}),EU="*";function PD(t,e){return{type:Xe.Trigger,name:t,definitions:e,options:{}}}function Gf(t,e=null){return{type:Xe.Animate,styles:e,timings:t}}function CU(t,e=null){return{type:Xe.Group,steps:t,options:e}}function bU(t,e=null){return{type:Xe.Sequence,steps:t,options:e}}function Ec(t){return{type:Xe.Style,styles:t,offset:null}}function Cc(t,e,r){return{type:Xe.State,name:t,styles:e,options:r}}function TU(t){return{type:Xe.Keyframes,steps:t}}function qf(t,e,r=null){return{type:Xe.Transition,expr:t,animation:e,options:r}}function MU(t,e=null){return{type:Xe.Reference,animation:t,options:e}}function SU(t=null){return{type:Xe.AnimateChild,options:t}}function xU(t,e=null){return{type:Xe.AnimateRef,animation:t,options:e}}function _U(t,e,r=null){return{type:Xe.Query,selector:t,animation:e,options:r}}var RD=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},OD=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==i&&this._onFinish()}),s.onDestroy(()=>{++n==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(o)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},AU="!";var FD=["toast-component",""];function nA(t,e){if(t&1){let r=pd();Ze(0,"button",5),Rn("click",function(){_l(r);let o=Ye();return Al(o.remove())}),Ze(1,"span",6),tn(2,"\xD7"),It()()}}function rA(t,e){if(t&1&&(Wo(0),tn(1),Zo()),t&2){let r=Ye(2);ge(),nn("[",r.duplicatesCount+1,"]")}}function oA(t,e){if(t&1&&(Ze(0,"div"),tn(1),Zr(2,rA,2,1,"ng-container",4),It()),t&2){let r=Ye();en(r.options.titleClass),_n("aria-label",r.title),ge(),nn(" ",r.title," "),ge(),xe("ngIf",r.duplicatesCount)}}function iA(t,e){if(t&1&&Nn(0,"div",7),t&2){let r=Ye();en(r.options.messageClass),xe("innerHTML",r.message,ql)}}function sA(t,e){if(t&1&&(Ze(0,"div",8),tn(1),It()),t&2){let r=Ye();en(r.options.messageClass),_n("aria-label",r.message),ge(),nn(" ",r.message," ")}}function aA(t,e){if(t&1&&(Ze(0,"div"),Nn(1,"div",9),It()),t&2){let r=Ye();ge(),An("width",r.width()+"%")}}function cA(t,e){if(t&1){let r=pd();Ze(0,"button",5),Rn("click",function(){_l(r);let o=Ye();return Al(o.remove())}),Ze(1,"span",6),tn(2,"\xD7"),It()()}}function uA(t,e){if(t&1&&(Wo(0),tn(1),Zo()),t&2){let r=Ye(2);ge(),nn("[",r.duplicatesCount+1,"]")}}function lA(t,e){if(t&1&&(Ze(0,"div"),tn(1),Zr(2,uA,2,1,"ng-container",4),It()),t&2){let r=Ye();en(r.options.titleClass),_n("aria-label",r.title),ge(),nn(" ",r.title," "),ge(),xe("ngIf",r.duplicatesCount)}}function dA(t,e){if(t&1&&Nn(0,"div",7),t&2){let r=Ye();en(r.options.messageClass),xe("innerHTML",r.message,ql)}}function fA(t,e){if(t&1&&(Ze(0,"div",8),tn(1),It()),t&2){let r=Ye();en(r.options.messageClass),_n("aria-label",r.message),ge(),nn(" ",r.message," ")}}function hA(t,e){if(t&1&&(Ze(0,"div"),Nn(1,"div",9),It()),t&2){let r=Ye();ge(),An("width",r.width()+"%")}}var Wf=class{_attachedHost;component;viewContainerRef;injector;constructor(e,r){this.component=e,this.injector=r}attach(e,r){return this._attachedHost=e,e.attach(this,r)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Zf=class{_attachedPortal;_disposeFn;attach(e,r){return this._attachedPortal=e,this.attachComponentPortal(e,r)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},Yf=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new G;_activate=new G;_manualClose=new G;_resetTimeout=new G;_countDuplicate=new G;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,r){e&&this._resetTimeout.next(),r&&this._countDuplicate.next(++this.duplicatesCount)}},ho=class{toastId;config;message;title;toastType;toastRef;_onTap=new G;_onAction=new G;constructor(e,r,n,o,i,s){this.toastId=e,this.config=r,this.message=n,this.title=o,this.toastType=i,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},kD={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},LD=new E("ToastConfig"),Qf=class extends Zf{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,r,n){super(),this._hostDomElement=e,this._componentFactoryResolver=r,this._appRef=n}attachComponentPortal(e,r){let n=this._componentFactoryResolver.resolveComponentFactory(e.component),o;return o=n.create(e.injector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()}),r?this._hostDomElement.insertBefore(this._getComponentRootNode(o),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(o)),o}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},pA=(()=>{class t{_document=g(oe);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r=this._document.createElement("div");r.classList.add("overlay-container"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),this._containerElement=r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kf=class{_portalHost;constructor(e){this._portalHost=e}attach(e,r=!0){return this._portalHost.attach(e,r)}detach(){return this._portalHost.detach()}},gA=(()=>{class t{_overlayContainer=g(pA);_componentFactoryResolver=g(En);_appRef=g(it);_document=g(oe);_paneElements=new Map;create(r,n){return this._createOverlayRef(this.getPaneElement(r,n))}getPaneElement(r="",n){return this._paneElements.get(n)||this._paneElements.set(n,{}),this._paneElements.get(n)[r]||(this._paneElements.get(n)[r]=this._createPaneElement(r,n)),this._paneElements.get(n)[r]}_createPaneElement(r,n){let o=this._document.createElement("div");return o.id="toast-container",o.classList.add(r),o.classList.add("toast-container"),n?n.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(r){return new Qf(r,this._componentFactoryResolver,this._appRef)}_createOverlayRef(r){return new Kf(this._createPortalHost(r))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bc=(()=>{class t{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(r,n,o,i,s){this.overlay=n,this._injector=o,this.sanitizer=i,this.ngZone=s,this.toastrConfig=y(y({},r.default),r.config),r.config.iconClasses&&(this.toastrConfig.iconClasses=y(y({},r.default.iconClasses),r.config.iconClasses))}show(r,n,o={},i=""){return this._preBuildNotification(i,r,n,this.applyConfig(o))}success(r,n,o={}){let i=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}error(r,n,o={}){let i=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}info(r,n,o={}){let i=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}warning(r,n,o={}){let i=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}clear(r){for(let n of this.toasts)if(r!==void 0){if(n.toastId===r){n.toastRef.manualClose();return}}else n.toastRef.manualClose()}remove(r){let n=this._findToast(r);if(!n||(n.activeToast.toastRef.close(),this.toasts.splice(n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let o=this.toasts[this.currentlyActive].toastRef;o.isInactive()||(this.currentlyActive=this.currentlyActive+1,o.activate())}return!0}findDuplicate(r="",n="",o,i){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let c=s&&a.title===r;if((!s||c)&&a.message===n)return a.toastRef.onDuplicate(o,i),a}return null}applyConfig(r={}){return y(y({},this.toastrConfig),r)}_findToast(r){for(let n=0;n<this.toasts.length;n++)if(this.toasts[n].toastId===r)return{index:n,activeToast:this.toasts[n]};return null}_preBuildNotification(r,n,o,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(r,n,o,i)):this._buildNotification(r,n,o,i)}_buildNotification(r,n,o,i){if(!i.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(o,n,this.toastrConfig.resetTimeoutOnDuplicate&&i.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||n)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=n;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let c=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;let u=n;n&&i.enableHtml&&(u=this.sanitizer.sanitize(We.HTML,n));let l=new Yf(c),d=new ho(this.index,i,u,o,r,l),f=[{provide:ho,useValue:d}],h=pe.create({providers:f,parent:this._injector}),p=new Wf(i.toastComponent,h),v=c.attach(p,i.newestOnTop);l.componentInstance=v.instance;let m={toastId:this.index,title:o||"",message:n||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:v};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{m.toastRef.activate()})),this.toasts.push(m),m}static \u0275fac=function(n){return new(n||t)(w(LD),w(gA),w(pe),w(af),w(B))};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mA=(()=>{class t{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Wr(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,n,o){this.toastrService=r,this.toastPackage=n,this.ngZone=o,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i}),this.state=Wr({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(r=>z(y({},r),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),n=this.hideTime-r;this.width.set(n/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(r=>z(y({},r),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(r=>z(y({},r),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(r,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(r),n)):this.timeout=setTimeout(()=>r(),n)}outsideInterval(r,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(r),n)):this.intervalId=setInterval(()=>r(),n)}runInsideAngular(r){this.ngZone?this.ngZone.run(()=>r()):r()}static \u0275fac=function(n){return new(n||t)(O(bc),O(ho),O(B))};static \u0275cmp=Uo({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(n,o){n&1&&Rn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),n&2&&(gd("@flyInOut",o._state),en(o.toastClasses),An("display",o.displayStyle))},standalone:!0,features:[Yo],attrs:FD,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,o){n&1&&Zr(0,nA,3,0,"button",0)(1,oA,3,5,"div",1)(2,iA,1,3,"div",2)(3,sA,2,4,"div",3)(4,aA,2,2,"div",4),n&2&&(xe("ngIf",o.options.closeButton),ge(),xe("ngIf",o.title),ge(),xe("ngIf",o.message&&o.options.enableHtml),ge(),xe("ngIf",o.message&&!o.options.enableHtml),ge(),xe("ngIf",o.options.progressBar))},dependencies:[Hd],encapsulation:2,data:{animation:[PD("flyInOut",[Cc("inactive",Ec({opacity:0})),Cc("active",Ec({opacity:1})),Cc("removed",Ec({opacity:0})),qf("inactive => active",Gf("{{ easeTime }}ms {{ easing }}")),qf("active => removed",Gf("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return t})(),vA=z(y({},kD),{toastComponent:mA}),yA=(t={})=>$r([{provide:LD,useValue:{default:vA,config:t}}]),zU=(()=>{class t{static forRoot(r={}){return{ngModule:t,providers:[yA(r)]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=jt({type:t});static \u0275inj=Lt({})}return t})();var DA=(()=>{class t{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=Wr(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=Wr("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,n,o){this.toastrService=r,this.toastPackage=n,this.appRef=o,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),n=this.hideTime-r;this.width.set(n/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(n){return new(n||t)(O(bc),O(ho),O(it))};static \u0275cmp=Uo({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(n,o){n&1&&Rn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),n&2&&(en(o.toastClasses),An("display",o.displayStyle))},standalone:!0,features:[Yo],attrs:FD,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,o){n&1&&Zr(0,cA,3,0,"button",0)(1,lA,3,5,"div",1)(2,dA,1,3,"div",2)(3,fA,2,4,"div",3)(4,hA,2,2,"div",4),n&2&&(xe("ngIf",o.options.closeButton),ge(),xe("ngIf",o.title),ge(),xe("ngIf",o.message&&o.options.enableHtml),ge(),xe("ngIf",o.message&&!o.options.enableHtml),ge(),xe("ngIf",o.options.progressBar))},dependencies:[Hd],encapsulation:2,changeDetection:0})}return t})(),GU=z(y({},kD),{toastComponent:DA});var KU=(()=>{class t{http;toastr;router;port=window.location.href.split("localhost:")[1]?.split("/")[0];hostURL=r=>ND.production?r:`https://localhost:${this.port}${r}`;constructor(r,n,o){this.http=r,this.toastr=n,this.router=o}PostToUrlEncode(r,n,o=1e5){let i=new me;return i=i.set("Content-Type","application/x-www-form-urlencoded"),new _(s=>{this.http.post(this.hostURL(r),n,{headers:i}).pipe(dt(o)).subscribe(a=>{s.next(a),s.complete()})})}GetText(r=1e5){let n=localStorage.getItem("Token"),i={responseType:"text",headers:new me({Authorization:"Bearer "+n})};return new _(s=>{this.http.get(this.hostURL("/API/Token/GetZendeskJWT"),i).pipe(dt(r)).subscribe(a=>{s.next(a),s.complete()})})}POSText(r,n,o=1e5){let i=localStorage.getItem("Token"),a={responseType:"text",headers:new me({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+i})};return new _(c=>{this.http.post(this.hostURL(r),n,a).pipe(dt(o)).subscribe(u=>{c.next(u),c.complete()})})}get(r,n=[]){let o=localStorage.getItem("Token"),i=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});o&&(i=i.append("Authorization","Bearer "+o));let s={headers:i,params:this.generateQueryParams(n)};return this.http.get(this.hostURL(r),s).pipe(ft(a=>{if(!this.unauthorizedErrorHandling(a)){let u=this.errorMessageHandling(a);this.toastr.error(u.Message!=""?u.Message:"An unknown error has occured!",u.header),this.paymentErrorHandling(a)}return hn(()=>a)}))}getNews(r){return this.http.get(r)}paymentErrorHandling(r){r.status==402&&this.router.navigate(["/menu/Profile/Main/My_Subscription"])}post(r,n,o=1e5){return new _(i=>{let s=localStorage.getItem("Token"),a=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});s&&(a=a.append("Authorization","Bearer "+s));let c={headers:a};Date.prototype.toJSON=function(){return this.getFullYear()+"-"+u(this.getMonth()+1)+"-"+u(this.getDate())+"T"+u(this.getHours())+":"+u(this.getMinutes())+":"+u(this.getSeconds())+".000"};function u(l){return l<10?"0"+l:l}this.http.post(this.hostURL(r),n,c).pipe(dt(o)).subscribe({next:l=>{i.next(l),i.complete()},error:l=>{if(l.status==200)i.next(l.error.text),i.complete();else{if(!this.unauthorizedErrorHandling(l)){let f=this.errorMessageHandling(l);this.toastr.error(f.Message!=""?f.Message:"An unknown error has occured!",f.header,{enableHtml:!0})}i.error(l)}}})})}postFile(r,n,o=1e5){return new _(i=>{let s=localStorage.getItem("Token"),a=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});s&&(a=a.append("Authorization","Bearer "+s)),this.http.post(this.hostURL(r),n,{headers:a,observe:"response",responseType:"blob"}).pipe(dt(o)).subscribe({next:c=>{i.next({title:c.headers.get("Content-Disposition"),file:c.body}),i.complete()},error:c=>{if(c.headers.get("Content-Type")==="application/json; charset=utf-8"){let u=new FileReader;u.addEventListener("loadend",l=>{let d=JSON.parse(l.srcElement.result)?.Message;if(!this.unauthorizedErrorHandling(c)){let h=this.errorMessageHandling(c);this.toastr.error(d??"An unknown error has occured!",h.header,{enableHtml:!0})}}),u.readAsText(c.error)}i.error(c)}})})}put(r,n,o={},i=1e5){return new _(s=>{let a=localStorage.getItem("Token"),c=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});a&&(c=c.append("Authorization","Bearer "+a));let u=y({headers:c},o.params?{params:this.generateQueryParams(o.params)}:{});this.http.put(this.hostURL(r),n,u).pipe(dt(i)).subscribe({next:l=>{s.next(l),s.complete()},error:l=>{if(l.status==200)s.next(l.error.text),s.complete();else{if(!this.unauthorizedErrorHandling(l)){let f=this.errorMessageHandling(l);this.toastr.error(f.Message!=""?f.Message:"An unknown error has occured!",f.header)}s.error(l)}}})})}delete(r,n={},o=1e5){return new _(i=>{let s=localStorage.getItem("Token"),a=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});s&&(a=a.append("Authorization","Bearer "+s));let c=y(y({headers:a},n.body?{body:n.body}:{}),n.params?{params:this.generateQueryParams(n.params)}:{});this.http.delete(this.hostURL(r),c).pipe(dt(o)).subscribe({next:u=>{i.next(u),i.complete()},error:u=>{if(u.status==200)i.next(u.error.text),i.complete();else{if(!this.unauthorizedErrorHandling(u)){let d=this.errorMessageHandling(u);this.toastr.error(d.Message!=""?d.Message:"An unknown error has occured!",d.header)}i.error(u)}}})})}generateQueryParams(r=[]){let n=new $t;return r.forEach(o=>{n=n.append(o.key,o.value)}),n}unauthorizedErrorHandling(r){let n=!1;return(r.status==401||r.status==403)&&(localStorage.getItem("Token")?this.router.navigate(["/menu/Unauthorized/Main/Unauthorized"]):window.location.href="/",n=!0),n}errorMessageHandling(r){let n="API Error",o="Exception Message";return r.error?(n="API Error - "+r.status,r.status==451&&(n="Error"),r.error&&(o=r.error.Message)):r.Message&&(n="API Error - "+r.name,o=r.Message),{header:n,Message:o}}postFormDataWithoutBearer(r,n){return new _(o=>{this.http.post(this.hostURL(r),n).pipe(dt(1e5)).subscribe({next:i=>{o.next(i),o.complete()},error:i=>{i.status==200&&(o.next(i.error.text),o.complete()),o.error(i)}})})}postFormData(r,n,o=!0){return new _(i=>{let s=localStorage.getItem("Token"),c={headers:new me({Authorization:"Bearer "+s})};this.http.post(this.hostURL(r),n,c).pipe(dt(1e5)).subscribe({next:u=>{i.next(u),i.complete()},error:u=>{if(u.status==200)i.next(u.error.text),i.complete();else{if(!this.unauthorizedErrorHandling(u)&&o){let d=this.errorMessageHandling(u);this.toastr.error(d.Message!=""?d.Message:"An unknown error has occured!",d.header)}i.error(u)}}})})}static \u0275fac=function(n){return new(n||t)(w(Qd),w(bc),w(Tt))};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{te as a,_ as b,G as c,we as d,Do as e,tw as f,tt as g,nw as h,rw as i,Ne as j,mo as k,vo as l,J as m,x as n,hn as o,ow as p,P as q,Eo as r,ee as s,St as t,fn as u,rs as v,gw as w,Bc as x,Un as y,Ew as z,Cw as A,ie as B,bw as C,Tw as D,ft as E,Sw as F,At as G,xw as H,Mh as I,ze as J,Co as K,_w as L,xh as M,gn as N,ht as O,Rw as P,Ow as Q,ss as R,Fc as S,mh as T,Pw as U,Fw as V,Gi as W,se as X,kw as Y,_h as Z,qi as _,Ah as $,le as aa,Nh as ba,C as ca,Hp as da,I as ea,Lt as fa,E as ga,w as ha,g as ia,oV as ja,Vo as ka,ia as la,Uo as ma,jt as na,Fe as oa,Cn as pa,Te as qa,bl as ra,Kt as sa,_l as ta,Al as ua,iV as va,sV as wa,Vl as xa,Bl as ya,pe as za,mt as Aa,Ho as Ba,qe as Ca,Ie as Da,Mu as Ea,ma as Fa,yt as Ga,aV as Ha,$l as Ia,We as Ja,ql as Ka,sC as La,cV as Ma,uV as Na,lV as Oa,ge as Pa,O as Qa,Am as Ra,In as Sa,En as Ta,kr as Ua,Sn as Va,B as Wa,Ob as Xa,Ma as Ya,wt as Za,n0 as _a,Wr as $a,pV as ab,m0 as bb,xa as cb,Zr as db,_n as eb,xe as fb,An as gb,U0 as hb,gV as ib,en as jb,mV as kb,vV as lb,yV as mb,DV as nb,wV as ob,IV as pb,EV as qb,Ze as rb,It as sb,Nn as tb,Wo as ub,Zo as vb,rT as wb,pd as xb,iT as yb,gd as zb,Rn as Ab,hT as Bb,Ye as Cb,CV as Db,bV as Eb,vT as Fb,Tv as Gb,yT as Hb,DT as Ib,Mv as Jb,TV as Kb,Sv as Lb,xv as Mb,MV as Nb,SV as Ob,xV as Pb,tn as Qb,ET as Rb,nn as Sb,CT as Tb,bT as Ub,TT as Vb,MT as Wb,_V as Xb,ST as Yb,AV as Zb,Yo as _b,NV as $b,RV as ac,OV as bc,PV as cc,FV as dc,kV as ec,LV as fc,jV as gc,VV as hc,BV as ic,UV as jc,$V as kc,HV as lc,zV as mc,GV as nc,Br as oc,qV as pc,Yr as qc,it as rc,Qr as sc,WV as tc,rn as uc,on as vc,Cd as wc,ZV as xc,bd as yc,oM as zc,YV as Ac,or as Bc,oe as Cc,Xr as Dc,EM as Ec,lB as Fc,dB as Gc,fB as Hc,Hd as Ic,$M as Jc,hB as Kc,pB as Lc,gB as Mc,mB as Nc,vB as Oc,yB as Pc,DB as Qc,wB as Rc,IB as Sc,EB as Tc,gy as Uc,YM as Vc,ei as Wc,CB as Xc,me as Yc,Qd as Zc,wS as _c,jB as $c,VB as ad,Ry as bd,XB as cd,eU as dd,Vy as ed,af as fd,Xe as gd,EU as hd,PD as id,Gf as jd,CU as kd,bU as ld,Ec as md,Cc as nd,TU as od,qf as pd,MU as qd,SU as rd,xU as sd,_U as td,RD as ud,OD as vd,AU as wd,co as xd,bt as yd,ar as zd,Sx as Ad,Tt as Bd,Yy as Cd,yU as Dd,DU as Ed,ND as Fd,ho as Gd,bc as Hd,mA as Id,zU as Jd,KU as Kd};
|
|
8
|
+
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?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(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var qd=class{encodeKey(e){return Dy(e)}encodeValue(e){return Dy(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function cS(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var uS=/%(\d[a-f0-9])/gi,lS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dy(t){return encodeURIComponent(t).replace(uS,(e,r)=>lS[r]??e)}function Qa(t){return`${t}`}var $t=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new qd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=cS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(Qa):[Qa(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}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 r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Qa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(Qa(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Wd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),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 dS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function wy(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Iy(t){return typeof Blob<"u"&&t instanceof Blob}function Ey(t){return typeof FormData<"u"&&t instanceof FormData}function fS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ti=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(dS(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new me,this.context??=new Wd,!this.params)this.params=new $t,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||wy(this.body)||Iy(this.body)||Ey(this.body)||fS(this.body)?this.body:this.body instanceof $t?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||Ey(this.body)?null:Iy(this.body)?this.body.type||null:wy(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof $t?"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={}){let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Pn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Pn||{}),ri=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new me,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ja=class t extends ri{constructor(e={}){super(e),this.type=Pn.ResponseHeader}clone(e={}){return new t({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})}},oi=class t extends ri{constructor(e={}){super(e),this.type=Pn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({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})}},On=class extends ri{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 ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Sy=200,hS=204;function Gd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Qd=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof ti)s=n;else{let u;i.headers instanceof me?u=i.headers:u=new me(i.headers);let l;i.params&&(i.params instanceof $t?l=i.params:l=new $t({fromObject:i.params})),s=new ti(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=x(s).pipe(At(u=>this.handler.handle(u)));if(n instanceof ti||i.observe==="events")return a;let c=a.pipe(ie(u=>u instanceof oi));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(P(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(P(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(P(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(P(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new $t().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Gd(i,o))}post(n,o,i={}){return this.request("POST",n,Gd(i,o))}put(n,o,i={}){return this.request("PUT",n,Gd(i,o))}};e.\u0275fac=function(o){return new(o||e)(w(ni))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),pS=/^\)\]\}',?\n/,gS="X-Request-URL";function Cy(t){if(t.url)return t.url;let e=gS.toLocaleLowerCase();return t.headers.get(e)}var mS=(()=>{let e=class e{constructor(){this.fetchImpl=g(Zd,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(B)}handle(n){return new _(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(Yd,s=>o.error(new On({error:s}))),()=>i.abort()})}doRequest(n,o,i){return po(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.fetchImpl(n.urlWithParams,y({signal:o},s));vS(p),i.next({type:Pn.Sent}),a=yield p}catch(p){i.error(new On({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let c=new me(a.headers),u=a.statusText,l=Cy(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&i.next(new Ja({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),v=[],m=a.body.getReader(),D=0,N,W,U=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>po(this,null,function*(){for(;;){let{done:ue,value:et}=yield m.read();if(ue)break;if(v.push(et),D+=et.length,n.reportProgress){W=n.responseType==="text"?(W??"")+(N??=new TextDecoder).decode(et,{stream:!0}):void 0;let cr=()=>i.next({type:Pn.DownloadProgress,total:p?+p:void 0,loaded:D,partialText:W});U?U.run(cr):cr()}}}));let Ae=this.concatChunks(v,D);try{let ue=a.headers.get("Content-Type")??"";f=this.parseBody(n,Ae,ue)}catch(ue){i.error(new On({error:ue,headers:new me(a.headers),status:a.status,statusText:a.statusText,url:Cy(a)??n.urlWithParams}));return}}d===0&&(d=f?Sy:0),d>=200&&d<300?(i.next(new oi({body:f,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new On({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(pS,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),o.Accept??="application/json, text/plain, */*",!o["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Zd=class{};function Yd(){}function vS(t){t.then(Yd,Yd)}function xy(t,e){return e(t)}function yS(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function DS(t,e,r){return(n,o)=>Be(r,()=>e(n,i=>t(i,o)))}var wS=new E(""),Kd=new E(""),IS=new E(""),_y=new E("",{providedIn:"root",factory:()=>!0});function ES(){let t=null;return(e,r)=>{t===null&&(t=(g(wS,{optional:!0})??[]).reduceRight(yS,xy));let n=g(Bt);if(g(_y)){let i=n.add();return t(e,r).pipe(gn(()=>n.remove(i)))}else return t(e,r)}}var by=(()=>{let e=class e extends ni{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(Bt),this.contributeToStability=g(_y)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Kd),...this.injector.get(IS,[])]));this.chain=o.reduceRight((i,s)=>DS(i,s,this.injector),xy)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(gn(()=>this.pendingTasks.remove(o)))}else return this.chain(n,o=>this.backend.handle(o))}};e.\u0275fac=function(o){return new(o||e)(w(Ka),w(Te))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var CS=/^\)\]\}',?\n/;function bS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Ty=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new C(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?J(o.\u0275loadImpl()):x(null)).pipe(se(()=>new _(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((m,D)=>a.setRequestHeader(m,D.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let m=n.detectContentTypeHeader();m!==null&&a.setRequestHeader("Content-Type",m)}if(n.responseType){let m=n.responseType.toLowerCase();a.responseType=m!=="json"?m:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let m=a.statusText||"OK",D=new me(a.getAllResponseHeaders()),N=bS(a)||n.url;return u=new Ja({headers:D,status:a.status,statusText:m,url:N}),u},d=()=>{let{headers:m,status:D,statusText:N,url:W}=l(),U=null;D!==hS&&(U=typeof a.response>"u"?a.responseText:a.response),D===0&&(D=U?Sy:0);let Ae=D>=200&&D<300;if(n.responseType==="json"&&typeof U=="string"){let ue=U;U=U.replace(CS,"");try{U=U!==""?JSON.parse(U):null}catch(et){U=ue,Ae&&(Ae=!1,U={error:et,text:U})}}Ae?(s.next(new oi({body:U,headers:m,status:D,statusText:N,url:W||void 0})),s.complete()):s.error(new On({error:U,headers:m,status:D,statusText:N,url:W||void 0}))},f=m=>{let{url:D}=l(),N=new On({error:m,status:a.status||0,statusText:a.statusText||"Unknown Error",url:D||void 0});s.error(N)},h=!1,p=m=>{h||(s.next(l()),h=!0);let D={type:Pn.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(D.total=m.total),n.responseType==="text"&&a.responseText&&(D.partialText=a.responseText),s.next(D)},v=m=>{let D={type:Pn.UploadProgress,loaded:m.loaded};m.lengthComputable&&(D.total=m.total),s.next(D)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",v)),a.send(c),s.next({type:Pn.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(w(Jr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ay=new E(""),TS="XSRF-TOKEN",MS=new E("",{providedIn:"root",factory:()=>TS}),SS="X-XSRF-TOKEN",xS=new E("",{providedIn:"root",factory:()=>SS}),Xa=class{},_S=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ya(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(w(oe),w(yt),w(MS))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function AS(t,e){let r=t.url.toLowerCase();if(!g(Ay)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(Xa).getToken(),o=g(xS);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var Ny=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Ny||{});function NS(t,e){return{\u0275kind:t,\u0275providers:e}}function jB(...t){let e=[Qd,Ty,by,{provide:ni,useExisting:by},{provide:Ka,useFactory:()=>g(mS,{optional:!0})??g(Ty)},{provide:Kd,useValue:AS,multi:!0},{provide:Ay,useValue:!0},{provide:Xa,useClass:_S}];for(let r of t)e.push(...r.\u0275providers);return $r(e)}var My=new E("");function VB(){return NS(Ny.LegacyInterceptors,[{provide:My,useFactory:ES},{provide:Kd,useExisting:My,multi:!0}])}var ef=class extends qa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},tf=class t extends ef{static makeCurrent(){ny(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=OS();return r==null?null:PS(r)}resetBaseElement(){ii=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ya(document.cookie,e)}},ii=null;function OS(){return ii=ii||document.querySelector("base"),ii?ii.getAttribute("href"):null}function PS(t){return new URL(t,document.baseURI).pathname}var nf=class{addToWindow(e){he.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new C(5103,!1);return i},he.getAllAngularTestabilities=()=>e.getAllTestabilities(),he.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=he.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?or().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},FS=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),rf=new E(""),Fy=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new C(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(w(rf),w(B))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),ec=class{constructor(e){this._doc=e}},Jd="ng-app-id",ky=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ei(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Jd}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Jd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Jd,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(w(oe),w(ma),w($l,8),w(yt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Xd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},sf=/%COMP%/g,Ly="%COMP%",kS=`_nghost-${Ly}`,LS=`_ngcontent-${Ly}`,jS=!0,VS=new E("",{providedIn:"root",factory:()=>jS});function BS(t){return LS.replace(sf,t)}function US(t){return kS.replace(sf,t)}function jy(t,e){return e.map(r=>r.replace(sf,t))}var Ry=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ei(c),this.defaultRenderer=new si(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ot.ShadowDom&&(o=z(y({},o),{encapsulation:Ot.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof tc?i.applyToHost(n):i instanceof ai&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ot.Emulated:s=new tc(u,l,o,this.appId,d,a,c,f);break;case Ot.ShadowDom:return new of(u,l,n,o,a,c,this.nonce,f);default:s=new ai(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(w(Fy),w(ky),w(ma),w(VS),w(oe),w(yt),w(B),w($l))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),si=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Xd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Oy(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Oy(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new C(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Xd[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Xd[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,o&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=or().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Oy(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var of=class extends si{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=jy(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ai=class extends si{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?jy(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},tc=class extends ai{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=BS(u),this.hostAttr=US(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},$S=(()=>{let e=class e extends ec{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Py=["alt","control","meta","shift"],HS={"\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"},zS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},GS=(()=>{let e=class e extends ec{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>or().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Py.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=HS[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Py.forEach(a=>{if(a!==i){let c=zS[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function qS(){tf.makeCurrent()}function WS(){return new mt}function ZS(){return em(document),document}var YS=[{provide:yt,useValue:zd},{provide:Ul,useValue:qS,multi:!0},{provide:oe,useFactory:ZS,deps:[]}],XB=wd(Hv,"browser",YS),QS=new E(""),KS=[{provide:Jo,useClass:nf,deps:[]},{provide:vd,useClass:Oa,deps:[B,Pa,Jo]},{provide:Oa,useClass:Oa,deps:[B,Pa,Jo]}],JS=[{provide:sa,useValue:"root"},{provide:mt,useFactory:WS,deps:[]},{provide:rf,useClass:$S,multi:!0,deps:[oe,B,yt]},{provide:rf,useClass:GS,multi:!0,deps:[oe]},Ry,ky,Fy,{provide:kr,useExisting:Ry},{provide:Jr,useClass:FS,deps:[]},[]],eU=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ma,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(w(QS,12))},e.\u0275mod=jt({type:e}),e.\u0275inj=Lt({providers:[...JS,...KS],imports:[gy,zv]});let t=e;return t})();var Vy=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var af=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=w(XS),i},providedIn:"root"});let t=e;return t})(),XS=(()=>{let e=class e extends af{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case We.NONE:return o;case We.HTML:return Jt(o,"HTML")?$e(o):Gl(this._doc,String(o)).toString();case We.STYLE:return Jt(o,"Style")?$e(o):o;case We.SCRIPT:if(Jt(o,"Script"))return $e(o);throw new C(5200,!1);case We.URL:return Jt(o,"URL")?$e(o):ya(String(o));case We.RESOURCE_URL:if(Jt(o,"ResourceURL"))return $e(o);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(n){return sm(n)}bypassSecurityTrustStyle(n){return am(n)}bypassSecurityTrustScript(n){return cm(n)}bypassSecurityTrustUrl(n){return um(n)}bypassSecurityTrustResourceUrl(n){return lm(n)}};e.\u0275fac=function(o){return new(o||e)(w(oe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var L="primary",Ei=Symbol("RouteTitle"),ff=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function so(t){return new ff(t)}function ex(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=t[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function tx(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Ht(t[r],e[r]))return!1;return!0}function Ht(t,e){let r=t?hf(t):void 0,n=e?hf(e):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!Jy(t[o],e[o]))return!1;return!0}function hf(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Jy(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((o,i)=>n[i]===o)}else return t===e}function Xy(t){return t.length>0?t[t.length-1]:null}function Ln(t){return Vc(t)?t:Yr(t)?J(Promise.resolve(t)):x(t)}var nx={exact:tD,subset:nD},eD={exact:rx,subset:ox,ignored:()=>!0};function Uy(t,e,r){return nx[r.paths](t.root,e.root,r.matrixParams)&&eD[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function rx(t,e){return Ht(t,e)}function tD(t,e,r){if(!sr(t.segments,e.segments)||!oc(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!tD(t.children[n],e.children[n],r))return!1;return!0}function ox(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Jy(t[r],e[r]))}function nD(t,e,r){return rD(t,e,e.segments,r)}function rD(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!sr(o,r)||e.hasChildren()||!oc(o,r,n))}else if(t.segments.length===r.length){if(!sr(t.segments,r)||!oc(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!nD(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!sr(t.segments,o)||!oc(t.segments,o,n)||!t.children[L]?!1:rD(t.children[L],e,i,n)}}function oc(t,e,r){return e.every((n,o)=>eD[r](t[o].parameters,n.parameters))}var Fn=class{constructor(e=new q([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=so(this.queryParams),this._queryParamMap}toString(){return ax.serialize(this)}},q=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ic(this)}},ir=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=so(this.parameters),this._parameterMap}toString(){return iD(this)}};function ix(t,e){return sr(t,e)&&t.every((r,n)=>Ht(r.parameters,e[n].parameters))}function sr(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function sx(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===L&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==L&&(r=r.concat(e(o,n)))}),r}var Ci=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new ao,providedIn:"root"});let t=e;return t})(),ao=class{parse(e){let r=new gf(e);return new Fn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${ci(e.root,!0)}`,n=lx(e.queryParams),o=typeof e.fragment=="string"?`#${cx(e.fragment)}`:"";return`${r}${n}${o}`}},ax=new ao;function ic(t){return t.segments.map(e=>iD(e)).join("/")}function ci(t,e){if(!t.hasChildren())return ic(t);if(e){let r=t.children[L]?ci(t.children[L],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==L&&n.push(`${o}:${ci(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=sx(t,(n,o)=>o===L?[ci(t.children[L],!1)]:[`${o}:${ci(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[L]!=null?`${ic(t)}/${r[0]}`:`${ic(t)}/(${r.join("//")})`}}function oD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nc(t){return oD(t).replace(/%3B/gi,";")}function cx(t){return encodeURI(t)}function pf(t){return oD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function sc(t){return decodeURIComponent(t)}function $y(t){return sc(t.replace(/\+/g,"%20"))}function iD(t){return`${pf(t.path)}${ux(t.parameters)}`}function ux(t){return Object.entries(t).map(([e,r])=>`;${pf(e)}=${pf(r)}`).join("")}function lx(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${nc(r)}=${nc(o)}`).join("&"):`${nc(r)}=${nc(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var dx=/^[^\/()?;#]+/;function cf(t){let e=t.match(dx);return e?e[0]:""}var fx=/^[^\/()?;=#]+/;function hx(t){let e=t.match(fx);return e?e[0]:""}var px=/^[^=?&#]+/;function gx(t){let e=t.match(px);return e?e[0]:""}var mx=/^[^&#]+/;function vx(t){let e=t.match(mx);return e?e[0]:""}var gf=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new q([],{}):new q([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[L]=new q(e,r)),n}parseSegment(){let e=cf(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(e),new ir(sc(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=hx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=cf(this.remaining);o&&(n=o,this.capture(n))}e[sc(r)]=sc(n)}parseQueryParam(e){let r=gx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=vx(this.remaining);s&&(n=s,this.capture(n))}let o=$y(r),i=$y(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=cf(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new C(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=L);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[L]:new q([],s),this.consumeOptional("//")}return r}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 C(4011,!1)}};function sD(t){return t.segments.length>0?new q([],{[L]:t}):t}function aD(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=aD(o);if(n===L&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new q(t.segments,e);return yx(r)}function yx(t){if(t.numberOfChildren===1&&t.children[L]){let e=t.children[L];return new q(t.segments.concat(e.segments),e.children)}return t}function pi(t){return t instanceof Fn}function Dx(t,e,r=null,n=null){let o=cD(t);return uD(o,e,r,n)}function cD(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new q(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=sD(n);return e??o}function uD(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return uf(o,o,o,r,n);let i=wx(e);if(i.toRoot())return uf(o,o,new q([],{}),r,n);let s=Ix(i,o,t),a=s.processChildren?di(s.segmentGroup,s.index,i.commands):dD(s.segmentGroup,s.index,i.commands);return uf(o,s.segmentGroup,a,r,n)}function ac(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function gi(t){return typeof t=="object"&&t!=null&&t.outlets}function uf(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=lD(t,e,r);let a=sD(aD(s));return new Fn(a,i,o)}function lD(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=lD(i,e,r)}),new q(t.segments,n)}var cc=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ac(n[0]))throw new C(4003,!1);let o=n.find(gi);if(o&&o!==Xy(n))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function wx(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new cc(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new cc(r,e,n)}var ro=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function Ix(t,e,r){if(t.isAbsolute)return new ro(e,!0,0);if(!r)return new ro(e,!1,NaN);if(r.parent===null)return new ro(r,!0,0);let n=ac(t.commands[0])?0:1,o=r.segments.length-1+n;return Ex(r,o,t.numberOfDoubleDots)}function Ex(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new C(4005,!1);o=n.segments.length}return new ro(n,!1,o-i)}function Cx(t){return gi(t[0])?t[0].outlets:{[L]:t}}function dD(t,e,r){if(t??=new q([],{}),t.segments.length===0&&t.hasChildren())return di(t,e,r);let n=bx(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new q(t.segments.slice(0,n.pathIndex),{});return i.children[L]=new q(t.segments.slice(n.pathIndex),t.children),di(i,0,o)}else return n.match&&o.length===0?new q(t.segments,{}):n.match&&!t.hasChildren()?mf(t,e,r):n.match?di(t,0,o):mf(t,e,r)}function di(t,e,r){if(r.length===0)return new q(t.segments,{});{let n=Cx(r),o={};if(Object.keys(n).some(i=>i!==L)&&t.children[L]&&t.numberOfChildren===1&&t.children[L].segments.length===0){let i=di(t.children[L],e,r);return new q(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=dD(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new q(t.segments,o)}}function bx(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(n>=r.length)return i;let s=t.segments[o],a=r[n];if(gi(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!zy(c,u,s))return i;n+=2}else{if(!zy(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function mf(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(gi(i)){let c=Tx(i.outlets);return new q(n,c)}if(o===0&&ac(r[0])){let c=t.segments[e];n.push(new ir(c.path,Hy(r[0]))),o++;continue}let s=gi(i)?i.outlets[L]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&ac(a)?(n.push(new ir(s,Hy(a))),o+=2):(n.push(new ir(s,{})),o++)}return new q(n,{})}function Tx(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=mf(new q([],{}),0,n))}),e}function Hy(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function zy(t,e,r){return t==r.path&&Ht(e,r.parameters)}var fi="imperative",ye=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ye||{}),at=class{constructor(e,r){this.id=e,this.url=r}},co=class extends at{constructor(e,r,n="imperative",o=null){super(e,r),this.type=ye.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},bt=class extends at{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=ye.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Je=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Je||{}),uc=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(uc||{}),ln=class extends at{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=ye.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},kn=class extends at{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=ye.NavigationSkipped}},mi=class extends at{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=ye.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},lc=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vf=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yf=class extends at{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=ye.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Df=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wf=class extends at{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=ye.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},If=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ef=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cf=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bf=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tf=class{constructor(e){this.snapshot=e,this.type=ye.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mf=class{constructor(e){this.snapshot=e,this.type=ye.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dc=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=ye.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},vi=class{},uo=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Sf=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new bi(this.injector),this.attachRef=null}},bi=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Sf(this.parentInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(w(Te))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=xf(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=xf(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=_f(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return _f(e,this._root).map(r=>r.value)}};function xf(t,e){if(t===e.value)return e;for(let r of e.children){let n=xf(t,r);if(n)return n}return null}function _f(t,e){if(t===e.value)return[e];for(let r of e.children){let n=_f(t,r);if(n.length)return n.unshift(e),n}return[]}var Ke=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function no(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var hc=class extends fc{constructor(e,r){super(e),this.snapshot=r,jf(this,e)}toString(){return this.snapshot.toString()}};function fD(t){let e=Mx(t),r=new we([new ir("",{})]),n=new we({}),o=new we({}),i=new we({}),s=new we(""),a=new ar(r,n,i,s,o,L,t,e.root);return a.snapshot=e.root,new hc(new Ke(a,[]),e)}function Mx(t){let e={},r={},n={},o="",i=new oo([],e,n,o,r,L,t,null,{});return new gc("",new Ke(i,[]))}var ar=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(P(u=>u[Ei]))??x(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(P(e=>so(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(P(e=>so(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function pc(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:y(y({},e.params),t.params),data:y(y({},e.data),t.data),resolve:y(y(y(y({},t.data),e.data),o?.data),t._resolvedData)}:n={params:y({},t.params),data:y({},t.data),resolve:y(y({},t.data),t._resolvedData??{})},o&&pD(o)&&(n.resolve[Ei]=o.title),n}var oo=class{get title(){return this.data?.[Ei]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=so(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=so(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},gc=class extends fc{constructor(e,r){super(r),this.url=e,jf(this,r)}toString(){return hD(this._root)}};function jf(t,e){e.value._routerState=t,e.children.forEach(r=>jf(t,r))}function hD(t){let e=t.children.length>0?` { ${t.children.map(hD).join(", ")} } `:"";return`${t.value}${e}`}function lf(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Ht(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Ht(e.params,r.params)||t.paramsSubject.next(r.params),tx(e.url,r.url)||t.urlSubject.next(r.url),Ht(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Af(t,e){let r=Ht(t.params,e.params)&&ix(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Af(t.parent,e.parent))}function pD(t){return typeof t.title=="string"||t.title===null}var Sx=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=L,this.activateEvents=new Ie,this.deactivateEvents=new Ie,this.attachEvents=new Ie,this.detachEvents=new Ie,this.parentContexts=g(bi),this.location=g(wt),this.changeDetector=g(rn),this.inputBinder=g(wc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Nf(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Fe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Kt]});let t=e;return t})(),Nf=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===ar?this.route:e===bi?this.childContexts:this.parent.get(e,r)}},wc=new E(""),Gy=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Eo([o.queryParams,o.params,o.data]).pipe(se(([s,a,c],u)=>(c=y(y(y({},s),a),c),u===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Gv(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function xx(t,e,r){let n=yi(t,e._root,r?r._root:void 0);return new hc(n,e)}function yi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=_x(t,e,r);return new Ke(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>yi(t,a)),s}}let n=Ax(e.value),o=e.children.map(i=>yi(t,i));return new Ke(n,o)}}function _x(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return yi(t,n,o);return yi(t,n)})}function Ax(t){return new ar(new we(t.url),new we(t.params),new we(t.queryParams),new we(t.fragment),new we(t.data),t.outlet,t.component,t)}var Di=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},gD="ngNavigationCancelingError";function mc(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=pi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=mD(!1,Je.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function mD(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[gD]=!0,r.cancellationCode=e,r}function Nx(t){return vD(t)&&pi(t.url)}function vD(t){return!!t&&t[gD]}var Rx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Uo({type:e,selectors:[["ng-component"]],standalone:!0,features:[Yo],decls:1,vars:0,template:function(o,i){o&1&&Nn(0,"router-outlet")},dependencies:[Sx],encapsulation:2});let t=e;return t})();function Ox(t,e){return t.providers&&!t._injector&&(t._injector=_a(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Vf(t){let e=t.children&&t.children.map(Vf),r=e?z(y({},t),{children:e}):y({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==L&&(r.component=Rx),r}function Ct(t){return t.outlet||L}function Px(t,e){let r=t.filter(n=>Ct(n)===e);return r.push(...t.filter(n=>Ct(n)!==e)),r}function Ti(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Fx=(t,e,r,n)=>P(o=>(new Rf(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Rf=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),lf(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=no(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=no(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=no(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=no(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Mf(i.value.snapshot))}),e.children.length&&this.forwardEvent(new bf(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(lf(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),lf(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Ti(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},vc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},io=class{constructor(e,r){this.component=e,this.route=r}};function kx(t,e,r){let n=t._root,o=e?e._root:null;return ui(n,o,r,[n.value])}function Lx(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function fo(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Gp(t)?t:e.get(t):n}function ui(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=no(e);return t.children.forEach(s=>{jx(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>hi(a,r.getContext(s),o)),o}function jx(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Vx(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new vc(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ui(t,e,a?a.children:null,n,o):ui(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new io(a.outlet.component,s))}else s&&hi(e,a,o),o.canActivateChecks.push(new vc(n)),i.component?ui(t,null,a?a.children:null,n,o):ui(t,null,r,n,o);return o}function Vx(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!sr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!sr(t.url,e.url)||!Ht(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Af(t,e)||!Ht(t.queryParams,e.queryParams);case"paramsChange":default:return!Af(t,e)}}function hi(t,e,r){let n=no(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?hi(s,e.children.getContext(i),r):hi(s,null,r):hi(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new io(e.outlet.component,o)):r.canDeactivateChecks.push(new io(null,o)):r.canDeactivateChecks.push(new io(null,o))}function Mi(t){return typeof t=="function"}function Bx(t){return typeof t=="boolean"}function Ux(t){return t&&Mi(t.canLoad)}function $x(t){return t&&Mi(t.canActivate)}function Hx(t){return t&&Mi(t.canActivateChild)}function zx(t){return t&&Mi(t.canDeactivate)}function Gx(t){return t&&Mi(t.canMatch)}function yD(t){return t instanceof lt||t?.name==="EmptyError"}var rc=Symbol("INITIAL_VALUE");function lo(){return se(t=>Eo(t.map(e=>e.pipe(ze(1),Gi(rc)))).pipe(P(e=>{for(let r of e)if(r!==!0){if(r===rc)return rc;if(r===!1||qx(r))return r}return!0}),ie(e=>e!==rc),ze(1)))}function qx(t){return pi(t)||t instanceof Di}function Wx(t,e){return ee(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?x(z(y({},r),{guardsResult:!0})):Zx(s,n,o,t).pipe(ee(a=>a&&Bx(a)?Yx(n,i,t,e):x(a)),P(a=>z(y({},r),{guardsResult:a})))})}function Zx(t,e,r,n){return J(t).pipe(ee(o=>e_(o.component,o.route,r,e,n)),ht(o=>o!==!0,!0))}function Yx(t,e,r,n){return J(e).pipe(At(o=>fn(Kx(o.route.parent,n),Qx(o.route,n),Xx(t,o.path,r),Jx(t,o.route,r))),ht(o=>o!==!0,!0))}function Qx(t,e){return t!==null&&e&&e(new Tf(t)),x(!0)}function Kx(t,e){return t!==null&&e&&e(new Cf(t)),x(!0)}function Jx(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let o=n.map(i=>rs(()=>{let s=Ti(e)??r,a=fo(i,s),c=$x(a)?a.canActivate(e,t):Be(s,()=>a(e,t));return Ln(c).pipe(ht())}));return x(o).pipe(lo())}function Xx(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>Lx(s)).filter(s=>s!==null).map(s=>rs(()=>{let a=s.guards.map(c=>{let u=Ti(s.node)??r,l=fo(c,u),d=Hx(l)?l.canActivateChild(n,t):Be(u,()=>l(n,t));return Ln(d).pipe(ht())});return x(a).pipe(lo())}));return x(i).pipe(lo())}function e_(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return x(!0);let s=i.map(a=>{let c=Ti(e)??o,u=fo(a,c),l=zx(u)?u.canDeactivate(t,e,r,n):Be(c,()=>u(t,e,r,n));return Ln(l).pipe(ht())});return x(s).pipe(lo())}function t_(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return x(!0);let i=o.map(s=>{let a=fo(s,t),c=Ux(a)?a.canLoad(e,r):Be(t,()=>a(e,r));return Ln(c)});return x(i).pipe(lo(),DD(n))}function DD(t){return Ac(le(e=>{if(typeof e!="boolean")throw mc(t,e)}),P(e=>e===!0))}function n_(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=fo(s,t),c=Gx(a)?a.canMatch(e,r):Be(t,()=>a(e,r));return Ln(c)});return x(i).pipe(lo(),DD(n))}var wi=class{constructor(e){this.segmentGroup=e||null}},Ii=class extends Error{constructor(e){super(),this.urlTree=e}};function to(t){return hn(new wi(t))}function r_(t){return hn(new C(4e3,!1))}function o_(t){return hn(mD(!1,Je.GuardRejected))}var Of=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return x(n);if(o.numberOfChildren>1||!o.children[L])return r_(`${e.redirectTo}`);o=o.children[L]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:p,title:v}=o,m=Be(i,()=>a({params:h,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:v}));if(m instanceof Fn)throw new Ii(m);r=m}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Ii(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Fn(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new q(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new C(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},Pf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function i_(t,e,r,n,o){let i=Bf(t,e,r);return i.matched?(n=Ox(e,n),n_(n,e,r,o).pipe(P(s=>s===!0?i:y({},Pf)))):x(i)}function Bf(t,e,r){if(e.path==="**")return s_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?y({},Pf):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||ex)(r,t,e);if(!o)return y({},Pf);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function s_(t){return{matched:!0,parameters:t.length>0?Xy(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function qy(t,e,r,n){return r.length>0&&u_(t,r,n)?{segmentGroup:new q(e,c_(n,new q(r,t.children))),slicedSegments:[]}:r.length===0&&l_(t,r,n)?{segmentGroup:new q(t.segments,a_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new q(t.segments,t.children),slicedSegments:r}}function a_(t,e,r,n){let o={};for(let i of r)if(Ic(t,e,i)&&!n[Ct(i)]){let s=new q([],{});o[Ct(i)]=s}return y(y({},n),o)}function c_(t,e){let r={};r[L]=e;for(let n of t)if(n.path===""&&Ct(n)!==L){let o=new q([],{});r[Ct(n)]=o}return r}function u_(t,e,r){return r.some(n=>Ic(t,e,n)&&Ct(n)!==L)}function l_(t,e,r){return r.some(n=>Ic(t,e,n))}function Ic(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function d_(t,e,r,n){return Ct(t)!==n&&(n===L||!Ic(e,r,t))?!1:Bf(e,t,r).matched}function f_(t,e,r){return e.length===0&&!t.children[r]}var Ff=class{};function h_(t,e,r,n,o,i,s="emptyOnly"){return new kf(t,e,r,n,o,s,i).recognize()}var p_=31,kf=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Of(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new C(4002,`'${e.segmentGroup}'`)}recognize(){let e=qy(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(P(({children:r,rootSnapshot:n})=>{let o=new Ke(n,r),i=new gc("",o),s=Dx(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new oo([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),L,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,L,r).pipe(P(n=>({children:n,rootSnapshot:r})),ft(n=>{if(n instanceof Ii)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof wi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(P(s=>s instanceof Ke?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return J(i).pipe(At(s=>{let a=n.children[s],c=Px(r,s);return this.processSegmentGroup(e,c,a,s,o)}),ss((s,a)=>(s.push(...a),s)),pn(null),$c(),ee(s=>{if(s===null)return to(n);let a=wD(s);return g_(a),x(a)}))}processSegment(e,r,n,o,i,s,a){return J(r).pipe(At(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe(ft(u=>{if(u instanceof wi)return x(null);throw u}))),ht(c=>!!c),ft(c=>{if(yD(c))return f_(n,o,i)?x(new Ff):to(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return d_(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):to(o):to(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Bf(r,o,i);if(!c)return to(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>p_&&(this.allowRedirects=!1));let h=new oo(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Wy(o),Ct(o),o.component??o._loadedComponent??null,o,Zy(o)),p=pc(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);let v=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(o,v).pipe(ee(m=>this.processSegment(e,n,r,m.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=i_(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(se(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(se(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,p=new oo(f,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Wy(n),Ct(n),n.component??n._loadedComponent??null,n,Zy(n)),v=pc(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(v.params),p.data=Object.freeze(v.data);let{segmentGroup:m,slicedSegments:D}=qy(r,f,h,u);if(D.length===0&&m.hasChildren())return this.processChildren(l,u,m,p).pipe(P(W=>new Ke(p,W)));if(u.length===0&&D.length===0)return x(new Ke(p,[]));let N=Ct(n)===i;return this.processSegment(l,u,m,D,N?L:i,!0,p).pipe(P(W=>new Ke(p,W instanceof Ke?[W]:[])))}))):to(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):t_(e,r,n,this.urlSerializer).pipe(ee(o=>o?this.configLoader.loadChildren(e,r).pipe(le(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):o_(r))):x({routes:[],injector:e})}};function g_(t){t.sort((e,r)=>e.value.outlet===L?-1:r.value.outlet===L?1:e.value.outlet.localeCompare(r.value.outlet))}function m_(t){let e=t.value.routeConfig;return e&&e.path===""}function wD(t){let e=[],r=new Set;for(let n of t){if(!m_(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=wD(n.children);e.push(new Ke(n.value,o))}return e.filter(n=>!r.has(n))}function Wy(t){return t.data||{}}function Zy(t){return t.resolve||{}}function v_(t,e,r,n,o,i){return ee(s=>h_(t,e,r,n,s.extractedUrl,o,i).pipe(P(({state:a,tree:c})=>z(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function y_(t,e){return ee(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return x(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of ID(c))s.add(u);let a=0;return J(s).pipe(At(c=>i.has(c)?D_(c,n,t,e):(c.data=pc(c,c.parent,t).resolve,x(void 0))),le(()=>a++),Dr(1),ee(c=>a===s.size?x(r):Ne))})}function ID(t){let e=t.children.map(r=>ID(r)).flat();return[t,...e]}function D_(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!pD(o)&&(i[Ei]=o.title),w_(i,t,e,n).pipe(P(s=>(t._resolvedData=s,t.data=pc(t,t.parent,r).resolve,null)))}function w_(t,e,r,n){let o=hf(t);if(o.length===0)return x({});let i={};return J(o).pipe(ee(s=>I_(t[s],e,r,n).pipe(ht(),le(a=>{if(a instanceof Di)throw mc(new ao,a);i[s]=a}))),Dr(1),Co(i),ft(s=>yD(s)?Ne:hn(s)))}function I_(t,e,r,n){let o=Ti(e)??n,i=fo(t,o),s=i.resolve?i.resolve(e,r):Be(o,()=>i(e,r));return Ln(s)}function df(t){return se(e=>{let r=t(e);return r?J(r).pipe(P(()=>e)):x(e)})}var ED=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===L);return o}getResolvedTitleForRoute(n){return n.data[Ei]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(E_),providedIn:"root"});let t=e;return t})(),E_=(()=>{let e=class e extends ED{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(w(Vy))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Si=new E("",{providedIn:"root",factory:()=>({})}),yc=new E(""),Uf=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(La)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Ln(n.loadComponent()).pipe(P(CD),le(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),gn(()=>{this.componentLoaders.delete(n)})),i=new gr(o,()=>new G).pipe(pr());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return x({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=C_(o,this.compiler,n,this.onLoadEndListener).pipe(gn(()=>{this.childrenLoaders.delete(o)})),a=new gr(s,()=>new G).pipe(pr());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function C_(t,e,r,n){return Ln(t.loadChildren()).pipe(P(CD),ee(o=>o instanceof Fo||Array.isArray(o)?x(o):J(e.compileModuleAsync(o))),P(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(yc,[],{optional:!0,self:!0}).flat()),{routes:s.map(Vf),injector:i}}))}function b_(t){return t&&typeof t=="object"&&"default"in t}function CD(t){return b_(t)?t.default:t}var $f=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(T_),providedIn:"root"});let t=e;return t})(),T_=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bD=new E(""),TD=new E("");function M_(t,e,r){let n=t.get(TD),o=t.get(oe);return t.get(B).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),S_(t))),{onViewTransitionCreated:c}=n;return c&&Be(t,()=>c({transition:a,from:e,to:r})),s})}function S_(t){return new Promise(e=>{Ma(e,{injector:t})})}var x_=new E(""),Hf=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G,this.transitionAbortSubject=new G,this.configLoader=g(Uf),this.environmentInjector=g(Te),this.urlSerializer=g(Ci),this.rootContexts=g(bi),this.location=g(Xr),this.inputBindingEnabled=g(wc,{optional:!0})!==null,this.titleStrategy=g(ED),this.options=g(Si,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g($f),this.createViewTransition=g(bD,{optional:!0}),this.navigationErrorHandler=g(x_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=i=>this.events.next(new If(i)),o=i=>this.events.next(new Ef(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(z(y(y({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new we({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:fi,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ie(s=>s.id!==0),P(s=>z(y({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),se(s=>{let a=!1,c=!1;return x(s).pipe(se(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Je.SupersededByNewNavigation),Ne;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?z(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new kn(u.id,this.urlSerializer.serialize(u.rawUrl),f,uc.IgnoredSameUrlNavigation)),u.resolve(!1),Ne}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return x(u).pipe(se(f=>{let h=this.transitions?.getValue();return this.events.next(new co(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ne:Promise.resolve(f)}),v_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),le(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=z(y({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new lc(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:v,extras:m}=u,D=new co(f,this.urlSerializer.serialize(h),p,v);this.events.next(D);let N=fD(this.rootComponentType).snapshot;return this.currentTransition=s=z(y({},u),{targetSnapshot:N,urlAfterRedirects:h,extras:z(y({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(s)}else{let f="";return this.events.next(new kn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,uc.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Ne}}),le(u=>{let l=new vf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),P(u=>(this.currentTransition=s=z(y({},u),{guards:kx(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),Wx(this.environmentInjector,u=>this.events.next(u)),le(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw mc(this.urlSerializer,u.guardsResult);let l=new yf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ie(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Je.GuardRejected),!1)),df(u=>{if(u.guards.canActivateChecks.length)return x(u).pipe(le(l=>{let d=new Df(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),se(l=>{let d=!1;return x(l).pipe(y_(this.paramsInheritanceStrategy,this.environmentInjector),le({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Je.NoDataFromResolver)}}))}),le(l=>{let d=new wf(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),df(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(le(h=>{d.component=h}),P(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Eo(l(u.targetSnapshot.root)).pipe(pn(null),ze(1))}),df(()=>this.afterPreactivation()),se(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?J(d).pipe(P(()=>s)):x(s)}),P(u=>{let l=xx(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=z(y({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),le(()=>{this.events.next(new vi)}),Fx(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),ze(1),le({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new bt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),qi(this.transitionAbortSubject.pipe(le(u=>{throw u}))),gn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Je.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),ft(u=>{if(c=!0,vD(u))this.events.next(new ln(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),Nx(u)?this.events.next(new uo(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new mi(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Be(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Di){let{message:f,cancellationCode:h}=mc(this.urlSerializer,d);this.events.next(new ln(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new uo(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Ne}))}))}cancelNavigationTransition(n,o,i){let s=new ln(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function __(t){return t!==fi}var A_=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(N_),providedIn:"root"});let t=e;return t})(),Lf=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},N_=(()=>{let e=class e extends Lf{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Vl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),MD=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(R_),providedIn:"root"});let t=e;return t})(),R_=(()=>{let e=class e extends MD{constructor(){super(...arguments),this.location=g(Xr),this.urlSerializer=g(Ci),this.options=g(Si,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g($f),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Fn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=fD(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof co)this.stateMemento=this.createStateMemento();else if(n instanceof kn)this.rawUrlTree=o.initialUrl;else if(n instanceof lc){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof vi?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof ln&&(n.code===Je.GuardRejected||n.code===Je.NoDataFromResolver)?this.restoreHistory(o):n instanceof mi?this.restoreHistory(o,!0):n instanceof bt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=y(y({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=y(y({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Vl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),li=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(li||{});function SD(t,e){t.events.pipe(ie(r=>r instanceof bt||r instanceof ln||r instanceof mi||r instanceof kn),P(r=>r instanceof bt||r instanceof kn?li.COMPLETE:(r instanceof ln?r.code===Je.Redirect||r.code===Je.SupersededByNewNavigation:!1)?li.REDIRECTING:li.FAILED),ie(r=>r!==li.REDIRECTING),ze(1)).subscribe(()=>{e()})}function O_(t){throw t}var P_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},F_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Tt=(()=>{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(){this.disposed=!1,this.console=g(Ra),this.stateManager=g(MD),this.options=g(Si,{optional:!0})||{},this.pendingTasks=g(Bt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Hf),this.urlSerializer=g(Ci),this.location=g(Xr),this.urlHandlingStrategy=g($f),this._events=new G,this.errorHandler=this.options.errorHandler||O_,this.navigated=!1,this.routeReuseStrategy=g(A_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(yc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(wc,{optional:!0}),this.eventsSubscription=new te,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof ln&&o.code!==Je.Redirect&&o.code!==Je.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof bt)this.navigated=!0;else if(o instanceof uo){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=y({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||__(i.source)},a);this.scheduleNavigation(c,fi,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}L_(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=y({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Vf),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(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=y(y({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=cD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return uD(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=pi(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,fi,null,o)}navigate(n,o={skipLocationChange:!1}){return k_(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=y({},P_):o===!1?i=y({},F_):i=o,pi(n))return Uy(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Uy(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return SD(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function k_(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new C(4008,!1)}function L_(t){return!(t instanceof vi)&&!(t instanceof uo)}var Yy=(()=>{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new G,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof bt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:mm(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}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(o){return new(o||e)(O(Tt),O(ar),Bl("tabindex"),O(Sn),O(qe),O(un))},e.\u0275dir=Fe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Rn("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&_n("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",on],skipLocationChange:[2,"skipLocationChange","skipLocationChange",on],replaceUrl:[2,"replaceUrl","replaceUrl",on],routerLink:"routerLink"},standalone:!0,features:[xa,Kt]});let t=e;return t})(),yU=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ie,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof bt&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(St()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=J(n).pipe(St()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let o=j_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?n.isActive(s,o):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(O(Tt),O(qe),O(Sn),O(rn),O(Yy,8))},e.\u0275dir=Fe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Mv(s,Yy,5),o&2){let a;Sv(a=xv())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Kt]});let t=e;return t})();function j_(t){return!!t.paths}var Dc=class{};var V_=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ie(n=>n instanceof bt),At(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=_a(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return J(i).pipe(St())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=x(null);let s=i.pipe(ee(a=>a===null?x(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return J([s,a]).pipe(St())}else return s})}};e.\u0275fac=function(o){return new(o||e)(w(Tt),w(La),w(Te),w(Dc),w(Uf))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xD=new E(""),B_=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=g(Te),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof co?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof bt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof kn&&n.code===uc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof dc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>po(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Ma(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new dc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Am()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function U_(t){return t.routerState.root}function xi(t,e){return{\u0275kind:t,\u0275providers:e}}function $_(){let t=g(pe);return e=>{let r=t.get(it);if(e!==r.components[0])return;let n=t.get(Tt),o=t.get(_D);t.get(zf)===1&&n.initialNavigation(),t.get(AD,null,j.Optional)?.setUpPreloading(),t.get(xD,null,j.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var _D=new E("",{factory:()=>new G}),zf=new E("",{providedIn:"root",factory:()=>1});function H_(){return xi(2,[{provide:zf,useValue:0},{provide:Fa,multi:!0,deps:[pe],useFactory:e=>{let r=e.get(ry,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Tt),i=e.get(_D);SD(o,()=>{n(!0)}),e.get(Hf).afterPreactivation=()=>(n(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}])}function z_(){return xi(3,[{provide:Fa,multi:!0,useFactory:()=>{let e=g(Tt);return()=>{e.setUpLocationChangeListener()}}},{provide:zf,useValue:2}])}var AD=new E("");function G_(t){return xi(0,[{provide:AD,useExisting:V_},{provide:Dc,useExisting:t}])}function q_(){return xi(8,[Gy,{provide:wc,useExisting:Gy}])}function W_(t){let e=[{provide:bD,useValue:M_},{provide:TD,useValue:y({skipNextTransition:!!t?.skipInitialTransition},t)}];return xi(9,e)}var Qy=new E("ROUTER_FORROOT_GUARD"),Z_=[Xr,{provide:Ci,useClass:ao},Tt,bi,{provide:ar,useFactory:U_,deps:[Tt]},Uf,[]],DU=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[Z_,[],{provide:yc,multi:!0,useValue:n},{provide:Qy,useFactory:J_,deps:[[Tt,new Vo,new ia]]},{provide:Si,useValue:o||{}},o?.useHash?Q_():K_(),Y_(),o?.preloadingStrategy?G_(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?X_(o):[],o?.bindToComponentInputs?q_().\u0275providers:[],o?.enableViewTransitions?W_().\u0275providers:[],eA()]}}static forChild(n){return{ngModule:e,providers:[{provide:yc,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(w(Qy,8))},e.\u0275mod=jt({type:e}),e.\u0275inj=Lt({});let t=e;return t})();function Y_(){return{provide:xD,useFactory:()=>{let t=g(my),e=g(B),r=g(Si),n=g(Hf),o=g(Ci);return r.scrollOffset&&t.setOffset(r.scrollOffset),new B_(o,n,t,e,r)}}}function Q_(){return{provide:un,useClass:iy}}function K_(){return{provide:un,useClass:Ud}}function J_(t){return"guarded"}function X_(t){return[t.initialNavigation==="disabled"?z_().\u0275providers:[],t.initialNavigation==="enabledBlocking"?H_().\u0275providers:[]]}var Ky=new E("");function eA(){return[{provide:Ky,useFactory:$_},{provide:ka,multi:!0,useExisting:Ky}]}var ND={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},pos:{indexedDBVersion:2,submitOrderTimeout:2e4,fileSizeLimit:9e5},version:"12351",outletMaximumSubscription:10,midtransClientKey:"Mid-client-rdi5ridKhHfeIvTj",ngHttpLoaderDebounceDelay:175,news:"https://changelog.dealpos.app/umbraco/delivery/api/v2/content?fetch=children:web&sort=sortOrder:asc",changelog:[]};var Xe=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Xe||{}),EU="*";function PD(t,e){return{type:Xe.Trigger,name:t,definitions:e,options:{}}}function Gf(t,e=null){return{type:Xe.Animate,styles:e,timings:t}}function CU(t,e=null){return{type:Xe.Group,steps:t,options:e}}function bU(t,e=null){return{type:Xe.Sequence,steps:t,options:e}}function Ec(t){return{type:Xe.Style,styles:t,offset:null}}function Cc(t,e,r){return{type:Xe.State,name:t,styles:e,options:r}}function TU(t){return{type:Xe.Keyframes,steps:t}}function qf(t,e,r=null){return{type:Xe.Transition,expr:t,animation:e,options:r}}function MU(t,e=null){return{type:Xe.Reference,animation:t,options:e}}function SU(t=null){return{type:Xe.AnimateChild,options:t}}function xU(t,e=null){return{type:Xe.AnimateRef,animation:t,options:e}}function _U(t,e,r=null){return{type:Xe.Query,selector:t,animation:e,options:r}}var RD=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},OD=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==i&&this._onFinish()}),s.onDestroy(()=>{++n==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(o)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},AU="!";var FD=["toast-component",""];function nA(t,e){if(t&1){let r=pd();Ze(0,"button",5),Rn("click",function(){_l(r);let o=Ye();return Al(o.remove())}),Ze(1,"span",6),tn(2,"\xD7"),It()()}}function rA(t,e){if(t&1&&(Wo(0),tn(1),Zo()),t&2){let r=Ye(2);ge(),nn("[",r.duplicatesCount+1,"]")}}function oA(t,e){if(t&1&&(Ze(0,"div"),tn(1),Zr(2,rA,2,1,"ng-container",4),It()),t&2){let r=Ye();en(r.options.titleClass),_n("aria-label",r.title),ge(),nn(" ",r.title," "),ge(),xe("ngIf",r.duplicatesCount)}}function iA(t,e){if(t&1&&Nn(0,"div",7),t&2){let r=Ye();en(r.options.messageClass),xe("innerHTML",r.message,ql)}}function sA(t,e){if(t&1&&(Ze(0,"div",8),tn(1),It()),t&2){let r=Ye();en(r.options.messageClass),_n("aria-label",r.message),ge(),nn(" ",r.message," ")}}function aA(t,e){if(t&1&&(Ze(0,"div"),Nn(1,"div",9),It()),t&2){let r=Ye();ge(),An("width",r.width()+"%")}}function cA(t,e){if(t&1){let r=pd();Ze(0,"button",5),Rn("click",function(){_l(r);let o=Ye();return Al(o.remove())}),Ze(1,"span",6),tn(2,"\xD7"),It()()}}function uA(t,e){if(t&1&&(Wo(0),tn(1),Zo()),t&2){let r=Ye(2);ge(),nn("[",r.duplicatesCount+1,"]")}}function lA(t,e){if(t&1&&(Ze(0,"div"),tn(1),Zr(2,uA,2,1,"ng-container",4),It()),t&2){let r=Ye();en(r.options.titleClass),_n("aria-label",r.title),ge(),nn(" ",r.title," "),ge(),xe("ngIf",r.duplicatesCount)}}function dA(t,e){if(t&1&&Nn(0,"div",7),t&2){let r=Ye();en(r.options.messageClass),xe("innerHTML",r.message,ql)}}function fA(t,e){if(t&1&&(Ze(0,"div",8),tn(1),It()),t&2){let r=Ye();en(r.options.messageClass),_n("aria-label",r.message),ge(),nn(" ",r.message," ")}}function hA(t,e){if(t&1&&(Ze(0,"div"),Nn(1,"div",9),It()),t&2){let r=Ye();ge(),An("width",r.width()+"%")}}var Wf=class{_attachedHost;component;viewContainerRef;injector;constructor(e,r){this.component=e,this.injector=r}attach(e,r){return this._attachedHost=e,e.attach(this,r)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Zf=class{_attachedPortal;_disposeFn;attach(e,r){return this._attachedPortal=e,this.attachComponentPortal(e,r)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},Yf=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new G;_activate=new G;_manualClose=new G;_resetTimeout=new G;_countDuplicate=new G;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,r){e&&this._resetTimeout.next(),r&&this._countDuplicate.next(++this.duplicatesCount)}},ho=class{toastId;config;message;title;toastType;toastRef;_onTap=new G;_onAction=new G;constructor(e,r,n,o,i,s){this.toastId=e,this.config=r,this.message=n,this.title=o,this.toastType=i,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},kD={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},LD=new E("ToastConfig"),Qf=class extends Zf{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,r,n){super(),this._hostDomElement=e,this._componentFactoryResolver=r,this._appRef=n}attachComponentPortal(e,r){let n=this._componentFactoryResolver.resolveComponentFactory(e.component),o;return o=n.create(e.injector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()}),r?this._hostDomElement.insertBefore(this._getComponentRootNode(o),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(o)),o}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},pA=(()=>{class t{_document=g(oe);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r=this._document.createElement("div");r.classList.add("overlay-container"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),this._containerElement=r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kf=class{_portalHost;constructor(e){this._portalHost=e}attach(e,r=!0){return this._portalHost.attach(e,r)}detach(){return this._portalHost.detach()}},gA=(()=>{class t{_overlayContainer=g(pA);_componentFactoryResolver=g(En);_appRef=g(it);_document=g(oe);_paneElements=new Map;create(r,n){return this._createOverlayRef(this.getPaneElement(r,n))}getPaneElement(r="",n){return this._paneElements.get(n)||this._paneElements.set(n,{}),this._paneElements.get(n)[r]||(this._paneElements.get(n)[r]=this._createPaneElement(r,n)),this._paneElements.get(n)[r]}_createPaneElement(r,n){let o=this._document.createElement("div");return o.id="toast-container",o.classList.add(r),o.classList.add("toast-container"),n?n.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(r){return new Qf(r,this._componentFactoryResolver,this._appRef)}_createOverlayRef(r){return new Kf(this._createPortalHost(r))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bc=(()=>{class t{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(r,n,o,i,s){this.overlay=n,this._injector=o,this.sanitizer=i,this.ngZone=s,this.toastrConfig=y(y({},r.default),r.config),r.config.iconClasses&&(this.toastrConfig.iconClasses=y(y({},r.default.iconClasses),r.config.iconClasses))}show(r,n,o={},i=""){return this._preBuildNotification(i,r,n,this.applyConfig(o))}success(r,n,o={}){let i=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}error(r,n,o={}){let i=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}info(r,n,o={}){let i=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}warning(r,n,o={}){let i=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(i,r,n,this.applyConfig(o))}clear(r){for(let n of this.toasts)if(r!==void 0){if(n.toastId===r){n.toastRef.manualClose();return}}else n.toastRef.manualClose()}remove(r){let n=this._findToast(r);if(!n||(n.activeToast.toastRef.close(),this.toasts.splice(n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let o=this.toasts[this.currentlyActive].toastRef;o.isInactive()||(this.currentlyActive=this.currentlyActive+1,o.activate())}return!0}findDuplicate(r="",n="",o,i){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let c=s&&a.title===r;if((!s||c)&&a.message===n)return a.toastRef.onDuplicate(o,i),a}return null}applyConfig(r={}){return y(y({},this.toastrConfig),r)}_findToast(r){for(let n=0;n<this.toasts.length;n++)if(this.toasts[n].toastId===r)return{index:n,activeToast:this.toasts[n]};return null}_preBuildNotification(r,n,o,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(r,n,o,i)):this._buildNotification(r,n,o,i)}_buildNotification(r,n,o,i){if(!i.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(o,n,this.toastrConfig.resetTimeoutOnDuplicate&&i.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||n)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=n;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let c=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;let u=n;n&&i.enableHtml&&(u=this.sanitizer.sanitize(We.HTML,n));let l=new Yf(c),d=new ho(this.index,i,u,o,r,l),f=[{provide:ho,useValue:d}],h=pe.create({providers:f,parent:this._injector}),p=new Wf(i.toastComponent,h),v=c.attach(p,i.newestOnTop);l.componentInstance=v.instance;let m={toastId:this.index,title:o||"",message:n||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:v};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{m.toastRef.activate()})),this.toasts.push(m),m}static \u0275fac=function(n){return new(n||t)(w(LD),w(gA),w(pe),w(af),w(B))};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mA=(()=>{class t{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Wr(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,n,o){this.toastrService=r,this.toastPackage=n,this.ngZone=o,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i}),this.state=Wr({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(r=>z(y({},r),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),n=this.hideTime-r;this.width.set(n/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(r=>z(y({},r),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(r=>z(y({},r),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(r,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(r),n)):this.timeout=setTimeout(()=>r(),n)}outsideInterval(r,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(r),n)):this.intervalId=setInterval(()=>r(),n)}runInsideAngular(r){this.ngZone?this.ngZone.run(()=>r()):r()}static \u0275fac=function(n){return new(n||t)(O(bc),O(ho),O(B))};static \u0275cmp=Uo({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(n,o){n&1&&Rn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),n&2&&(gd("@flyInOut",o._state),en(o.toastClasses),An("display",o.displayStyle))},standalone:!0,features:[Yo],attrs:FD,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,o){n&1&&Zr(0,nA,3,0,"button",0)(1,oA,3,5,"div",1)(2,iA,1,3,"div",2)(3,sA,2,4,"div",3)(4,aA,2,2,"div",4),n&2&&(xe("ngIf",o.options.closeButton),ge(),xe("ngIf",o.title),ge(),xe("ngIf",o.message&&o.options.enableHtml),ge(),xe("ngIf",o.message&&!o.options.enableHtml),ge(),xe("ngIf",o.options.progressBar))},dependencies:[Hd],encapsulation:2,data:{animation:[PD("flyInOut",[Cc("inactive",Ec({opacity:0})),Cc("active",Ec({opacity:1})),Cc("removed",Ec({opacity:0})),qf("inactive => active",Gf("{{ easeTime }}ms {{ easing }}")),qf("active => removed",Gf("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return t})(),vA=z(y({},kD),{toastComponent:mA}),yA=(t={})=>$r([{provide:LD,useValue:{default:vA,config:t}}]),zU=(()=>{class t{static forRoot(r={}){return{ngModule:t,providers:[yA(r)]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=jt({type:t});static \u0275inj=Lt({})}return t})();var DA=(()=>{class t{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=Wr(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=Wr("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,n,o){this.toastrService=r,this.toastPackage=n,this.appRef=o,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),n=this.hideTime-r;this.width.set(n/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(n){return new(n||t)(O(bc),O(ho),O(it))};static \u0275cmp=Uo({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(n,o){n&1&&Rn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),n&2&&(en(o.toastClasses),An("display",o.displayStyle))},standalone:!0,features:[Yo],attrs:FD,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,o){n&1&&Zr(0,cA,3,0,"button",0)(1,lA,3,5,"div",1)(2,dA,1,3,"div",2)(3,fA,2,4,"div",3)(4,hA,2,2,"div",4),n&2&&(xe("ngIf",o.options.closeButton),ge(),xe("ngIf",o.title),ge(),xe("ngIf",o.message&&o.options.enableHtml),ge(),xe("ngIf",o.message&&!o.options.enableHtml),ge(),xe("ngIf",o.options.progressBar))},dependencies:[Hd],encapsulation:2,changeDetection:0})}return t})(),GU=z(y({},kD),{toastComponent:DA});var KU=(()=>{class t{http;toastr;router;port=window.location.href.split("localhost:")[1]?.split("/")[0];hostURL=r=>ND.production?r:`https://localhost:${this.port}${r}`;constructor(r,n,o){this.http=r,this.toastr=n,this.router=o}PostToUrlEncode(r,n,o=1e5){let i=new me;return i=i.set("Content-Type","application/x-www-form-urlencoded"),new _(s=>{this.http.post(this.hostURL(r),n,{headers:i}).pipe(dt(o)).subscribe(a=>{s.next(a),s.complete()})})}GetText(r=1e5){let n=localStorage.getItem("Token"),i={responseType:"text",headers:new me({Authorization:"Bearer "+n})};return new _(s=>{this.http.get(this.hostURL("/API/Token/GetZendeskJWT"),i).pipe(dt(r)).subscribe(a=>{s.next(a),s.complete()})})}POSText(r,n,o=1e5){let i=localStorage.getItem("Token"),a={responseType:"text",headers:new me({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+i})};return new _(c=>{this.http.post(this.hostURL(r),n,a).pipe(dt(o)).subscribe(u=>{c.next(u),c.complete()})})}get(r,n=[]){let o=localStorage.getItem("Token"),i=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});o&&(i=i.append("Authorization","Bearer "+o));let s={headers:i,params:this.generateQueryParams(n)};return this.http.get(this.hostURL(r),s).pipe(ft(a=>{if(!this.unauthorizedErrorHandling(a)){let u=this.errorMessageHandling(a);this.toastr.error(u.Message!=""?u.Message:"An unknown error has occured!",u.header),this.paymentErrorHandling(a)}return hn(()=>a)}))}getNews(r){return this.http.get(r)}paymentErrorHandling(r){r.status==402&&this.router.navigate(["/menu/Profile/Main/My_Subscription"])}post(r,n,o=1e5){return new _(i=>{let s=localStorage.getItem("Token"),a=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});s&&(a=a.append("Authorization","Bearer "+s));let c={headers:a};Date.prototype.toJSON=function(){return this.getFullYear()+"-"+u(this.getMonth()+1)+"-"+u(this.getDate())+"T"+u(this.getHours())+":"+u(this.getMinutes())+":"+u(this.getSeconds())+".000"};function u(l){return l<10?"0"+l:l}this.http.post(this.hostURL(r),n,c).pipe(dt(o)).subscribe({next:l=>{i.next(l),i.complete()},error:l=>{if(l.status==200)i.next(l.error.text),i.complete();else{if(!this.unauthorizedErrorHandling(l)){let f=this.errorMessageHandling(l);this.toastr.error(f.Message!=""?f.Message:"An unknown error has occured!",f.header,{enableHtml:!0})}i.error(l)}}})})}postFile(r,n,o=1e5){return new _(i=>{let s=localStorage.getItem("Token"),a=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});s&&(a=a.append("Authorization","Bearer "+s)),this.http.post(this.hostURL(r),n,{headers:a,observe:"response",responseType:"blob"}).pipe(dt(o)).subscribe({next:c=>{i.next({title:c.headers.get("Content-Disposition"),file:c.body}),i.complete()},error:c=>{if(c.headers.get("Content-Type")==="application/json; charset=utf-8"){let u=new FileReader;u.addEventListener("loadend",l=>{let d=JSON.parse(l.srcElement.result)?.Message;if(!this.unauthorizedErrorHandling(c)){let h=this.errorMessageHandling(c);this.toastr.error(d??"An unknown error has occured!",h.header,{enableHtml:!0})}}),u.readAsText(c.error)}i.error(c)}})})}put(r,n,o={},i=1e5){return new _(s=>{let a=localStorage.getItem("Token"),c=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});a&&(c=c.append("Authorization","Bearer "+a));let u=y({headers:c},o.params?{params:this.generateQueryParams(o.params)}:{});this.http.put(this.hostURL(r),n,u).pipe(dt(i)).subscribe({next:l=>{s.next(l),s.complete()},error:l=>{if(l.status==200)s.next(l.error.text),s.complete();else{if(!this.unauthorizedErrorHandling(l)){let f=this.errorMessageHandling(l);this.toastr.error(f.Message!=""?f.Message:"An unknown error has occured!",f.header)}s.error(l)}}})})}delete(r,n={},o=1e5){return new _(i=>{let s=localStorage.getItem("Token"),a=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});s&&(a=a.append("Authorization","Bearer "+s));let c=y(y({headers:a},n.body?{body:n.body}:{}),n.params?{params:this.generateQueryParams(n.params)}:{});this.http.delete(this.hostURL(r),c).pipe(dt(o)).subscribe({next:u=>{i.next(u),i.complete()},error:u=>{if(u.status==200)i.next(u.error.text),i.complete();else{if(!this.unauthorizedErrorHandling(u)){let d=this.errorMessageHandling(u);this.toastr.error(d.Message!=""?d.Message:"An unknown error has occured!",d.header)}i.error(u)}}})})}generateQueryParams(r=[]){let n=new $t;return r.forEach(o=>{n=n.append(o.key,o.value)}),n}unauthorizedErrorHandling(r){let n=!1;return(r.status==401||r.status==403)&&(localStorage.getItem("Token")?this.router.navigate(["/menu/Unauthorized/Main/Unauthorized"]):window.location.href="/",n=!0),n}errorMessageHandling(r){let n="API Error",o="Exception Message";return r.error?(n="API Error - "+r.status,r.status==451&&(n="Error"),r.error&&(o=r.error.Message)):r.Message&&(n="API Error - "+r.name,o=r.Message),{header:n,Message:o}}postFormDataWithoutBearer(r,n){return new _(o=>{this.http.post(this.hostURL(r),n).pipe(dt(1e5)).subscribe({next:i=>{o.next(i),o.complete()},error:i=>{i.status==200&&(o.next(i.error.text),o.complete()),o.error(i)}})})}postFormData(r,n,o=!0){return new _(i=>{let s=localStorage.getItem("Token"),c={headers:new me({Authorization:"Bearer "+s})};this.http.post(this.hostURL(r),n,c).pipe(dt(1e5)).subscribe({next:u=>{i.next(u),i.complete()},error:u=>{if(u.status==200)i.next(u.error.text),i.complete();else{if(!this.unauthorizedErrorHandling(u)&&o){let d=this.errorMessageHandling(u);this.toastr.error(d.Message!=""?d.Message:"An unknown error has occured!",d.header)}i.error(u)}}})})}static \u0275fac=function(n){return new(n||t)(w(Qd),w(bc),w(Tt))};static \u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{te as a,_ as b,G as c,we as d,Do as e,tw as f,tt as g,nw as h,rw as i,Ne as j,mo as k,vo as l,J as m,x as n,hn as o,ow as p,P as q,Eo as r,ee as s,St as t,fn as u,rs as v,gw as w,Bc as x,Un as y,Ew as z,Cw as A,ie as B,bw as C,Tw as D,ft as E,Sw as F,At as G,xw as H,Mh as I,ze as J,Co as K,_w as L,xh as M,gn as N,ht as O,Rw as P,Ow as Q,ss as R,Fc as S,mh as T,Pw as U,Fw as V,Gi as W,se as X,kw as Y,_h as Z,qi as _,Ah as $,le as aa,Nh as ba,C as ca,Hp as da,I as ea,Lt as fa,E as ga,w as ha,g as ia,oV as ja,Vo as ka,ia as la,Uo as ma,jt as na,Fe as oa,Cn as pa,Te as qa,bl as ra,Kt as sa,_l as ta,Al as ua,iV as va,sV as wa,Vl as xa,Bl as ya,pe as za,mt as Aa,Ho as Ba,qe as Ca,Ie as Da,Mu as Ea,ma as Fa,yt as Ga,aV as Ha,$l as Ia,We as Ja,ql as Ka,sC as La,cV as Ma,uV as Na,lV as Oa,ge as Pa,O as Qa,Am as Ra,In as Sa,En as Ta,kr as Ua,Sn as Va,B as Wa,Ob as Xa,Ma as Ya,wt as Za,n0 as _a,Wr as $a,pV as ab,m0 as bb,xa as cb,Zr as db,_n as eb,xe as fb,An as gb,U0 as hb,gV as ib,en as jb,mV as kb,vV as lb,yV as mb,DV as nb,wV as ob,IV as pb,EV as qb,Ze as rb,It as sb,Nn as tb,Wo as ub,Zo as vb,rT as wb,pd as xb,iT as yb,gd as zb,Rn as Ab,hT as Bb,Ye as Cb,CV as Db,bV as Eb,vT as Fb,Tv as Gb,yT as Hb,DT as Ib,Mv as Jb,TV as Kb,Sv as Lb,xv as Mb,MV as Nb,SV as Ob,xV as Pb,tn as Qb,ET as Rb,nn as Sb,CT as Tb,bT as Ub,TT as Vb,MT as Wb,_V as Xb,ST as Yb,AV as Zb,Yo as _b,NV as $b,RV as ac,OV as bc,PV as cc,FV as dc,kV as ec,LV as fc,jV as gc,VV as hc,BV as ic,UV as jc,$V as kc,HV as lc,zV as mc,GV as nc,Br as oc,qV as pc,Yr as qc,it as rc,Qr as sc,WV as tc,rn as uc,on as vc,Cd as wc,ZV as xc,bd as yc,oM as zc,YV as Ac,or as Bc,oe as Cc,Xr as Dc,EM as Ec,lB as Fc,dB as Gc,fB as Hc,Hd as Ic,$M as Jc,hB as Kc,pB as Lc,gB as Mc,mB as Nc,vB as Oc,yB as Pc,DB as Qc,wB as Rc,IB as Sc,EB as Tc,gy as Uc,YM as Vc,ei as Wc,CB as Xc,me as Yc,Qd as Zc,wS as _c,jB as $c,VB as ad,Ry as bd,XB as cd,eU as dd,Vy as ed,af as fd,Xe as gd,EU as hd,PD as id,Gf as jd,CU as kd,bU as ld,Ec as md,Cc as nd,TU as od,qf as pd,MU as qd,SU as rd,xU as sd,_U as td,RD as ud,OD as vd,AU as wd,co as xd,bt as yd,ar as zd,Sx as Ad,Tt as Bd,Yy as Cd,yU as Dd,DU as Ed,ND as Fd,ho as Gd,bc as Hd,mA as Id,zU as Jd,KU as Kd};
|