dealpos 25.48.2 → 25.48.3
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/browser/{chunk-IFOBYW26.js → chunk-25H27N7N.js} +1 -1
- package/browser/{chunk-BA3BDB5Y.js → chunk-26YFRPR2.js} +1 -1
- package/browser/{chunk-JEL3OND6.js → chunk-2CL5FM3P.js} +1 -1
- package/browser/chunk-2MPRVJXH.js +1 -0
- package/browser/chunk-2RLL7E46.js +1 -0
- package/browser/{chunk-CA6YBQT3.js → chunk-2VE2WNSA.js} +1 -1
- package/browser/chunk-2YNPPAZH.js +1 -0
- package/browser/{chunk-MVUVDYGQ.js → chunk-32QBWLTN.js} +1 -1
- package/browser/{chunk-HL3ONSX6.js → chunk-363IDTE3.js} +1 -1
- package/browser/chunk-36GWLMZX.js +1 -0
- package/browser/chunk-3ALPLNFL.js +1 -0
- package/browser/chunk-3BIA7JJK.js +1 -0
- package/browser/chunk-3CSCTT6I.js +1 -0
- package/browser/chunk-3HZIDGPN.js +1 -0
- package/browser/{chunk-534MIVWD.js → chunk-45E6XCHN.js} +1 -1
- package/browser/{chunk-UTAQ3FRE.js → chunk-4BXCIT62.js} +1 -1
- package/browser/{chunk-VP2ZEIJA.js → chunk-4CPRMZL6.js} +1 -1
- package/browser/chunk-4HEJOI53.js +1 -0
- package/browser/{chunk-3OHHXDTW.js → chunk-4KGHH5FV.js} +1 -1
- package/browser/chunk-4LPKNH7W.js +1 -0
- package/browser/{chunk-QIJEAKQK.js → chunk-4OEDK7YE.js} +1 -1
- package/browser/{chunk-K6CUAFH7.js → chunk-4PJRRPIJ.js} +3 -3
- package/browser/{chunk-R4OHTTCT.js → chunk-4SRWAPD4.js} +1 -1
- package/browser/chunk-4VZ44DFH.js +1 -0
- package/browser/chunk-4W3WYXI2.js +1 -0
- package/browser/chunk-4XJWQAS6.js +1 -0
- package/browser/{chunk-SWPKQM2X.js → chunk-4ZITX27A.js} +1 -1
- package/browser/chunk-53VS5DA7.js +1 -0
- package/browser/chunk-57GKJ4WM.js +1 -0
- package/browser/chunk-57LTUNGL.js +1 -0
- package/browser/chunk-5ATOLSOU.js +1 -0
- package/browser/{chunk-IVJVUXLS.js → chunk-5BE4626O.js} +1 -1
- package/browser/{chunk-XACC6EMJ.js → chunk-5USF4MRW.js} +1 -1
- package/browser/{chunk-4ISL77CE.js → chunk-5WC44KI7.js} +1 -1
- package/browser/{chunk-GN3HVOCN.js → chunk-5ZD6KTDH.js} +1 -1
- package/browser/{chunk-7NOKG3UC.js → chunk-6C2HPRJZ.js} +1 -1
- package/browser/{chunk-M43HNBJQ.js → chunk-6P2ASCNY.js} +1 -1
- package/browser/{chunk-LOD3JYZW.js → chunk-6WATOQG3.js} +1 -1
- package/browser/{chunk-CSFFF2YO.js → chunk-72RZBOHX.js} +1 -1
- package/browser/{chunk-CFU6YCXT.js → chunk-76HEQQHO.js} +1 -1
- package/browser/chunk-7BQKGIZM.js +1 -0
- package/browser/chunk-7DAPNQYU.js +1 -0
- package/browser/{chunk-ZRYRGDGM.js → chunk-7F4QLFQQ.js} +1 -1
- package/browser/{chunk-5IAWFOXD.js → chunk-7JULWG2B.js} +1 -1
- package/browser/chunk-7NB2JM2Z.js +1 -0
- package/browser/{chunk-NWSIPELM.js → chunk-7P3L3ODB.js} +1 -1
- package/browser/{chunk-I7FZGSZZ.js → chunk-7PWZYJQP.js} +1 -1
- package/browser/{chunk-X57HWGVJ.js → chunk-7YUPYNWQ.js} +1 -1
- package/browser/chunk-A2EVMYAR.js +1 -0
- package/browser/{chunk-JCTDWAYQ.js → chunk-A565EUMD.js} +1 -1
- package/browser/chunk-AOWEKBY6.js +1 -0
- package/browser/{chunk-AEXXXOEQ.js → chunk-AQW4VS3Y.js} +1 -1
- package/browser/{chunk-4HPBSK4V.js → chunk-ARYZHNFV.js} +1 -1
- package/browser/chunk-AY2G4OD6.js +1 -0
- package/browser/{chunk-HVJHE6PQ.js → chunk-B36P4U32.js} +1 -1
- package/browser/{chunk-4HCSE44G.js → chunk-B5IABJO5.js} +1 -1
- package/browser/chunk-B7AC4RMR.js +1 -0
- package/browser/chunk-BD6OKJBW.js +1 -0
- package/browser/chunk-BDINGIQV.js +1 -0
- package/browser/{chunk-R36QPCUA.js → chunk-BFH7QECY.js} +1 -1
- package/browser/chunk-BNNKSBQ6.js +1 -0
- package/browser/{chunk-IWUWV3MS.js → chunk-BQUL7SGN.js} +1 -1
- package/browser/{chunk-RMB6IO7X.js → chunk-BRNU2JXC.js} +1 -1
- package/browser/{chunk-JUS6LLVX.js → chunk-BT7NN7PT.js} +1 -1
- package/browser/{chunk-JR5LAUIS.js → chunk-BYTV42NJ.js} +1 -1
- package/browser/{chunk-66MCBKC7.js → chunk-C2NCV7VC.js} +1 -1
- package/browser/{chunk-RNXOIUIO.js → chunk-C3STDN73.js} +1 -1
- package/browser/{chunk-BJF3WGIP.js → chunk-C5DGBRES.js} +1 -1
- package/browser/{chunk-O2LFJOK7.js → chunk-C5N3GKEC.js} +1 -1
- package/browser/{chunk-WQMNK3UX.js → chunk-C7XESRQV.js} +1 -1
- package/browser/{chunk-IDOZYC3I.js → chunk-CAYYUGXV.js} +1 -1
- package/browser/{chunk-BILYIP7J.js → chunk-CCD6EYWH.js} +1 -1
- package/browser/{chunk-C5AIOCPM.js → chunk-CFWHBIM3.js} +1 -1
- package/browser/chunk-CJCEJIDM.js +1 -0
- package/browser/{chunk-LLHBXZ6B.js → chunk-CJJZ3NN6.js} +1 -1
- package/browser/{chunk-I5W4NCFM.js → chunk-COA4UL2V.js} +1 -1
- package/browser/{chunk-ZJDY54VM.js → chunk-COGKLKKE.js} +1 -1
- package/browser/{chunk-NVCUDJUL.js → chunk-CQLZHUT4.js} +1 -1
- package/browser/{chunk-E7AQSX2U.js → chunk-CTYPZCCF.js} +1 -1
- package/browser/{chunk-LS5TMLIT.js → chunk-CVNF5DNI.js} +1 -1
- package/browser/{chunk-KKLNFVVN.js → chunk-D4FCXEV4.js} +1 -1
- package/browser/{chunk-YQUQYWX3.js → chunk-D7DUI5NF.js} +1 -1
- package/browser/{chunk-KYAKLZR7.js → chunk-DC3TCY6D.js} +1 -1
- package/browser/chunk-DOCQN2VL.js +1 -0
- package/browser/chunk-DTOZS4FK.js +1 -0
- package/browser/{chunk-H7XFYY6V.js → chunk-DTVCBHPA.js} +1 -1
- package/browser/{chunk-RNLSEEMX.js → chunk-DWZ5JTI2.js} +1 -1
- package/browser/chunk-DZPZK3FC.js +1 -0
- package/browser/{chunk-XEATJM6B.js → chunk-EHXF34TI.js} +1 -1
- package/browser/{chunk-7PN2DG6D.js → chunk-EN2Y56CS.js} +1 -1
- package/browser/{chunk-3GPGJFQV.js → chunk-ESDXMFGP.js} +1 -1
- package/browser/{chunk-Q2A4MYK3.js → chunk-FAED643P.js} +1 -1
- package/browser/{chunk-ZW5E2GIN.js → chunk-FHB5KLDR.js} +1 -1
- package/browser/{chunk-LAZZHDUO.js → chunk-FPRM3L6U.js} +1 -1
- package/browser/{chunk-DEGB7PBB.js → chunk-FQZELIHB.js} +1 -1
- package/browser/{chunk-YV4LSCS5.js → chunk-FR45A6EK.js} +1 -1
- package/browser/{chunk-L76WVZW6.js → chunk-FU2ZGMX4.js} +1 -1
- package/browser/{chunk-J7YNB6YX.js → chunk-FW4OCSXV.js} +1 -1
- package/browser/chunk-G6XFCO2C.js +2 -0
- package/browser/{chunk-WXH4A4T7.js → chunk-GFZBO5RW.js} +1 -1
- package/browser/{chunk-3PC6CTVP.js → chunk-GTPQNPNO.js} +1 -1
- package/browser/{chunk-QEOGHVXA.js → chunk-GWKBJZYT.js} +1 -1
- package/browser/chunk-HE7N7GWE.js +1 -0
- package/browser/{chunk-23PKMU5D.js → chunk-HGSF7LOB.js} +1 -1
- package/browser/{chunk-J76F72FK.js → chunk-HQ574TNK.js} +1 -1
- package/browser/{chunk-VAPCHGLS.js → chunk-HSIXOQO7.js} +1 -1
- package/browser/{chunk-MJ2YN4R7.js → chunk-HWPSC7RE.js} +1 -1
- package/browser/chunk-I2VTAB36.js +1 -0
- package/browser/chunk-IEVGW2RT.js +5 -0
- package/browser/{chunk-46GHEHUK.js → chunk-IFIH2CE2.js} +1 -1
- package/browser/chunk-IISHJIET.js +1 -0
- package/browser/{chunk-VX5HH3BW.js → chunk-IKKPP4JS.js} +1 -1
- package/browser/{chunk-OTUYSGSK.js → chunk-ISNO6K5N.js} +1 -1
- package/browser/chunk-IYXZ6DM6.js +1 -0
- package/browser/{chunk-GODXDKX5.js → chunk-IZLEZJ6U.js} +1 -1
- package/browser/{chunk-4QM23MMO.js → chunk-J6M7UWVR.js} +1 -1
- package/browser/{chunk-C4WJKF7R.js → chunk-JBS5UYZC.js} +1 -1
- package/browser/chunk-JDXKVQWT.js +1 -0
- package/browser/chunk-JLJ6CCD3.js +1 -0
- package/browser/chunk-JNZBO6JV.js +1 -0
- package/browser/{chunk-RONQFUCZ.js → chunk-JTZHHVPI.js} +1 -1
- package/browser/{chunk-BCUIYEEN.js → chunk-JXXYVM7W.js} +1 -1
- package/browser/{chunk-7NEKXENA.js → chunk-KTPBLT2O.js} +1 -1
- package/browser/chunk-KU2O2EHB.js +1 -0
- package/browser/{chunk-4Y2FYXDF.js → chunk-KUG5VVV4.js} +1 -1
- package/browser/{chunk-UFBRV4CF.js → chunk-KVMBRL53.js} +1 -1
- package/browser/chunk-KYXB2UQI.js +1 -0
- package/browser/{chunk-VYQEM4T2.js → chunk-KZFNI67M.js} +1 -1
- package/browser/{chunk-7MD5PKPB.js → chunk-KZXFGU4G.js} +2 -2
- package/browser/chunk-L5VX4XJU.js +1 -0
- package/browser/{chunk-QFON23YX.js → chunk-L6PKNRWO.js} +1 -1
- package/browser/{chunk-IDQUQBKL.js → chunk-LGINK7BD.js} +1 -1
- package/browser/chunk-LGOSIAUC.js +1 -0
- package/browser/{chunk-2RYEXHZV.js → chunk-LLYADZXM.js} +1 -1
- package/browser/{chunk-CBSYYTXQ.js → chunk-LNDHYAFW.js} +1 -1
- package/browser/chunk-M2WWQMGM.js +1 -0
- package/browser/chunk-M3DKYPGC.js +1 -0
- package/browser/{chunk-LDTRYGRE.js → chunk-M4EQZHIE.js} +1 -1
- package/browser/{chunk-2MQDNPCG.js → chunk-MLBTUOHX.js} +1 -1
- package/browser/chunk-MNEZCILO.js +1 -0
- package/browser/{chunk-SVUUS5JD.js → chunk-MNJSQKLX.js} +1 -1
- package/browser/{chunk-G4G5P6ZQ.js → chunk-MVISUVLB.js} +1 -1
- package/browser/chunk-MWJTE5VJ.js +1 -0
- package/browser/chunk-N6QOUUEK.js +1 -0
- package/browser/{chunk-3VQBBLWE.js → chunk-NCSIYRDC.js} +1 -1
- package/browser/chunk-NL4ASITV.js +1 -0
- package/browser/{chunk-2KPICU7I.js → chunk-NM3IQUNN.js} +1 -1
- package/browser/{chunk-ZHPBIWMH.js → chunk-NOYC5PIT.js} +1 -1
- package/browser/{chunk-GCP2MGQL.js → chunk-NTC7KH7U.js} +1 -1
- package/browser/{chunk-DHY5NYN2.js → chunk-NXNTQNWD.js} +1 -1
- package/browser/chunk-O2SKATLU.js +1 -0
- package/browser/{chunk-AUBQH6JY.js → chunk-O2VVATBW.js} +1 -1
- package/browser/chunk-O3R6FNX7.js +1 -0
- package/browser/chunk-O5A5DNRB.js +1 -0
- package/browser/chunk-OUYWPXOM.js +1 -0
- package/browser/{chunk-76RLGANX.js → chunk-OXWQ7ZZS.js} +1 -1
- package/browser/{chunk-5BH2H4V6.js → chunk-OYGBAHVX.js} +1 -1
- package/browser/{chunk-KHR4NBM3.js → chunk-PHH2AA3W.js} +1 -1
- package/browser/{chunk-RAQ5KDLF.js → chunk-PJ3DTEH2.js} +1 -1
- package/browser/{chunk-6EJSHQWL.js → chunk-PMVUKT2P.js} +1 -1
- package/browser/{chunk-C6YPXBIP.js → chunk-PPVORSJQ.js} +1 -1
- package/browser/chunk-PQ6W7KXC.js +1 -0
- package/browser/{chunk-5DQ4MJJT.js → chunk-PRVQ3NAP.js} +1 -1
- package/browser/chunk-PS7477UG.js +2 -0
- package/browser/{chunk-7ZUYXNKP.js → chunk-PVW5CNDF.js} +2 -2
- package/browser/{chunk-Z6RY34PQ.js → chunk-PXDS3HXW.js} +1 -1
- package/browser/{chunk-6PR53KNR.js → chunk-QGKX2IE5.js} +1 -1
- package/browser/{chunk-KI4BAWII.js → chunk-QI7I46MV.js} +1 -1
- package/browser/{chunk-64RUCACD.js → chunk-QJUU75N6.js} +1 -1
- package/browser/{chunk-BOLUBS5R.js → chunk-QKNGNLDI.js} +2 -2
- package/browser/{chunk-5SFUSWFY.js → chunk-QPAUI5EG.js} +1 -1
- package/browser/chunk-QVUZMITO.js +1 -0
- package/browser/{chunk-XA4TVPAS.js → chunk-QZZ2NRA3.js} +1 -1
- package/browser/{chunk-CS6HBROS.js → chunk-R2GUMKAU.js} +1 -1
- package/browser/{chunk-DXBQR3VL.js → chunk-RACYAEOL.js} +1 -1
- package/browser/{chunk-W4W2KCYV.js → chunk-RESN2GAB.js} +1 -1
- package/browser/{chunk-X3UFVTIQ.js → chunk-RFRD7Y7N.js} +1 -1
- package/browser/chunk-RO6RY4AJ.js +5 -0
- package/browser/{chunk-AQQHMGYE.js → chunk-RSNEHVIM.js} +1 -1
- package/browser/chunk-S27D5MBU.js +1 -0
- package/browser/chunk-S43AJQWQ.js +1 -0
- package/browser/{chunk-FO5ZTXDH.js → chunk-S6FFSXPE.js} +1 -1
- package/browser/{chunk-6SGN7MNX.js → chunk-S7FOJJP2.js} +1 -1
- package/browser/{chunk-TGEQUV6Z.js → chunk-SIDUUVNA.js} +1 -1
- package/browser/{chunk-FIUZN6JU.js → chunk-SIQZO2WM.js} +1 -1
- package/browser/{chunk-O5SLP4JK.js → chunk-SLX34TWD.js} +1 -1
- package/browser/{chunk-DWNXML7N.js → chunk-SNEK2BS2.js} +1 -1
- package/browser/chunk-SRC3HH3O.js +1 -0
- package/browser/chunk-T4MU3R7Y.js +1 -0
- package/browser/{chunk-AFBBEIKR.js → chunk-T7XU5W5A.js} +1 -1
- package/browser/{chunk-KCOMWYKA.js → chunk-TCUCRGQD.js} +1 -1
- package/browser/{chunk-T25N3EEG.js → chunk-TEGIL5RZ.js} +1 -1
- package/browser/{chunk-7TBS7SPQ.js → chunk-THT6CY5E.js} +1 -1
- package/browser/{chunk-HD2QU6GJ.js → chunk-TSH564VU.js} +1 -1
- package/browser/{chunk-B3STLAM7.js → chunk-TXJJUZ26.js} +1 -1
- package/browser/{chunk-2B5OZGVM.js → chunk-TYE7PH3R.js} +1 -1
- package/browser/{chunk-OWGJVIYJ.js → chunk-TYV6AS5A.js} +1 -1
- package/browser/chunk-UGA6CKWS.js +1 -0
- package/browser/chunk-UIIVXERD.js +1 -0
- package/browser/{chunk-5I5IONRY.js → chunk-USD2ALDX.js} +1 -1
- package/browser/{chunk-BYFPLENU.js → chunk-VG3PJFDU.js} +2 -2
- package/browser/chunk-VJJIUPEN.js +1 -0
- package/browser/{chunk-DV63TLIP.js → chunk-VKFZNKM5.js} +1 -1
- package/browser/chunk-VKWSK452.js +1 -0
- package/browser/chunk-VM4K4MNV.js +1 -0
- package/browser/{chunk-ZEKZLSGA.js → chunk-VVWAYTKN.js} +1 -1
- package/browser/{chunk-PJCGIZLH.js → chunk-VVYRPW2Y.js} +1 -1
- package/browser/{chunk-RJMVCGIG.js → chunk-VXOS2AWO.js} +1 -1
- package/browser/chunk-VXPORXGI.js +1 -0
- package/browser/{chunk-P3LNLMNH.js → chunk-VZBXT2TV.js} +1 -1
- package/browser/{chunk-36NP63VM.js → chunk-W2BNI7QT.js} +2 -2
- package/browser/chunk-WFN42V6H.js +1 -0
- package/browser/chunk-WGOJUNBF.js +1 -0
- package/browser/{chunk-6H5P35AP.js → chunk-WKM2QOAU.js} +1 -1
- package/browser/chunk-WM2DGNWH.js +1 -0
- package/browser/{chunk-QPOOLLKY.js → chunk-WMZLH4YK.js} +1 -1
- package/browser/{chunk-356KM5DR.js → chunk-WNAYJWEQ.js} +1 -1
- package/browser/chunk-WTAIDRV6.js +1 -0
- package/browser/chunk-WUV22SZ4.js +1 -0
- package/browser/chunk-X44CHNHS.js +1 -0
- package/browser/{chunk-AAXXZ3RZ.js → chunk-XMZLK7EB.js} +1 -1
- package/browser/chunk-XNRJ3UHI.js +1 -0
- package/browser/chunk-XQEJUVQP.js +1 -0
- package/browser/{chunk-6GLKD66N.js → chunk-XTCEZONP.js} +1 -1
- package/browser/chunk-XY3FCZN2.js +1 -0
- package/browser/{chunk-F7KTXCW4.js → chunk-Y3KLG6WD.js} +2 -2
- package/browser/{chunk-P7BRWWWC.js → chunk-Y6BFENML.js} +1 -1
- package/browser/chunk-Y6GA2S36.js +1 -0
- package/browser/chunk-YPG7NXW6.js +1 -0
- package/browser/chunk-YSM3FPZM.js +1 -0
- package/browser/chunk-YTQA4ZQ5.js +1 -0
- package/browser/chunk-YVBGB3JF.js +1 -0
- package/browser/chunk-Z6X5UYRZ.js +1 -0
- package/browser/{chunk-SANNYTK4.js → chunk-ZCQDZKFQ.js} +1 -1
- package/browser/{chunk-UGCO74DQ.js → chunk-ZKOARDC2.js} +1 -1
- package/browser/{chunk-DLNZDHGS.js → chunk-ZMJLTU5O.js} +1 -1
- package/browser/{chunk-A45GTZVV.js → chunk-ZTD4APMR.js} +1 -1
- package/browser/chunk-ZTU3TIGR.js +1 -0
- package/browser/{chunk-MFLQHYOR.js → chunk-ZX2PZLXX.js} +1 -1
- package/browser/{chunk-G4IW5GPY.js → chunk-ZZBF7AOW.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-BTMX7TBF.js → main-OHTLAVEH.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-2LOWEWI4.js +0 -1
- package/browser/chunk-2MCEIRJY.js +0 -1
- package/browser/chunk-3DAJFE6H.js +0 -1
- package/browser/chunk-3ESMPFFS.js +0 -1
- package/browser/chunk-3G264AW4.js +0 -1
- package/browser/chunk-3KSZCJ6T.js +0 -1
- package/browser/chunk-3YHMSAWW.js +0 -1
- package/browser/chunk-4NNOZ2BP.js +0 -2
- package/browser/chunk-4VSJH5SL.js +0 -1
- package/browser/chunk-5K7KFVM3.js +0 -1
- package/browser/chunk-5TKXFIDJ.js +0 -1
- package/browser/chunk-6ONTAEOO.js +0 -1
- package/browser/chunk-6YHYVBRQ.js +0 -1
- package/browser/chunk-7HRIPBOK.js +0 -1
- package/browser/chunk-7V3SLYOQ.js +0 -1
- package/browser/chunk-ABNUBGXO.js +0 -1
- package/browser/chunk-AMONIKLC.js +0 -1
- package/browser/chunk-ANPUR4EP.js +0 -1
- package/browser/chunk-AVTYR2I6.js +0 -1
- package/browser/chunk-CLX7PIH6.js +0 -1
- package/browser/chunk-DJTAYVZN.js +0 -1
- package/browser/chunk-DPGY5YXC.js +0 -1
- package/browser/chunk-E55DAXRW.js +0 -1
- package/browser/chunk-E5IXDLDT.js +0 -1
- package/browser/chunk-E5XIALIA.js +0 -1
- package/browser/chunk-EIHC54J5.js +0 -1
- package/browser/chunk-EQR3RN5K.js +0 -1
- package/browser/chunk-FNH6K4S4.js +0 -1
- package/browser/chunk-G2VAG4V3.js +0 -1
- package/browser/chunk-HCCADOVL.js +0 -1
- package/browser/chunk-I3ABVEQL.js +0 -1
- package/browser/chunk-IVVSNJJ3.js +0 -1
- package/browser/chunk-JYZTRN6N.js +0 -5
- package/browser/chunk-KD24MXAU.js +0 -1
- package/browser/chunk-KPHOGUDM.js +0 -1
- package/browser/chunk-KRPYY55C.js +0 -1
- package/browser/chunk-KZBNUY2K.js +0 -1
- package/browser/chunk-LBQRCFLJ.js +0 -1
- package/browser/chunk-LELZTT7A.js +0 -2
- package/browser/chunk-MEG3XVPI.js +0 -5
- package/browser/chunk-N3L2CE6S.js +0 -1
- package/browser/chunk-NJD4GKTM.js +0 -1
- package/browser/chunk-NZ4SK6LY.js +0 -1
- package/browser/chunk-PIZRVCBM.js +0 -1
- package/browser/chunk-PSJRHKCL.js +0 -1
- package/browser/chunk-RJJYGGF6.js +0 -1
- package/browser/chunk-RLQLFW36.js +0 -1
- package/browser/chunk-S7X7547X.js +0 -1
- package/browser/chunk-SEOZWGYI.js +0 -1
- package/browser/chunk-SLDKONZE.js +0 -1
- package/browser/chunk-T2H2XAEJ.js +0 -1
- package/browser/chunk-TARA6KGA.js +0 -1
- package/browser/chunk-TON7E347.js +0 -1
- package/browser/chunk-TT2F5I7H.js +0 -1
- package/browser/chunk-U4N5AZIO.js +0 -1
- package/browser/chunk-U5LNORQV.js +0 -1
- package/browser/chunk-UAQU4IQS.js +0 -1
- package/browser/chunk-UCOXEQFM.js +0 -1
- package/browser/chunk-UQ5F3YKZ.js +0 -1
- package/browser/chunk-USJ6ILEE.js +0 -1
- package/browser/chunk-USMW7JHL.js +0 -1
- package/browser/chunk-UTTKPBED.js +0 -1
- package/browser/chunk-UZKEO2IO.js +0 -1
- package/browser/chunk-VNBCF2XF.js +0 -1
- package/browser/chunk-VVYOMXKJ.js +0 -1
- package/browser/chunk-WBFJWUUR.js +0 -1
- package/browser/chunk-WKXWWL55.js +0 -1
- package/browser/chunk-WNZKCNMC.js +0 -1
- package/browser/chunk-XL7XI3DY.js +0 -1
- package/browser/chunk-XSHCTIUH.js +0 -1
- package/browser/chunk-YBIA6E5J.js +0 -1
- package/browser/chunk-YBVDBTTE.js +0 -1
- package/browser/chunk-YQOU4WGG.js +0 -1
- package/browser/chunk-YRDGEYIV.js +0 -1
- package/browser/chunk-YV6MAUKK.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-USJ6ILEE.js";import{Fd as A,db as u,ib as I,kb as s,ma as y,md as l,od as p}from"./chunk-JYZTRN6N.js";var g=class a{transform(e){return e.map(t=>t.UnitPrice).reduce((t,r)=>Math.max(t,r),0)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"highestPrice",type:a,pure:!0,standalone:!1})},S=class a{transform(e){return e.map(t=>t.UnitPrice).reduce((t,r)=>Math.min(t,r),0)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"lowestPrice",type:a,pure:!0,standalone:!1})},G=class a{transform(e,t){let r=e.filter(i=>i.Key==t);return r.length==0?0:r[0].Value}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"groupStock",type:a,pure:!0,standalone:!1})},C=class a{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"images",type:a,pure:!0,standalone:!1})};var D=class a{transform(e){var t=new Date(e),r=new Date,i=r.valueOf()-t.valueOf(),n=Math.floor(i%864e5/36e5),o=Math.round(i%864e5%36e5/6e4);return n>0?o+n*60:o}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"durationTime",type:a,pure:!0,standalone:!1})},v=class a{transform(e){let r="",i=e<1440?null:(e-e%1440)/1440;i&&(r=`${i} Day`,i>1&&(r=r+"s"));let n=(e%1440-e%1440%60)/60;n&&(r=r+` ${n} Hour`,n>1&&(r=r+"s"));let o=e%60;return o&&(r=r+` ${o} Minute`,o>1&&(r=r+"s")),r.trim()}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"durationDaysHour",type:a,pure:!0,standalone:!1})},f=class a{transform(e,t,r,i){let n=0;return e&&!r&&!i&&e.forEach(o=>n+=o[t]-0),r&&i&&e.forEach(o=>{o[r]==i&&(n+=o[t]-0)}),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sum",type:a,pure:!1,standalone:!1})},O=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t][r]),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumArray",type:a,pure:!1,standalone:!1})},b=class a{transform(e,t,r,i){let n=0;return e&&e.forEach(o=>{m.IsNotEmpty(o[t][r])&&(n+=o[t][r][i])}),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumNestedArray",type:a,pure:!1,standalone:!1})},T=class a{transform(e,t,r,i,n){let o=0;return e&&e.forEach(c=>{let d=c[t].find(it=>it[i]===r);d!==void 0&&(o+=d[n])}),o}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumWithID",type:a,pure:!1,standalone:!1})},B=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t]*n[r]),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumMultiply",type:a,pure:!1,standalone:!1})},h=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t][r]-0),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"SumWithIndex",type:a,pure:!1,standalone:!1})},P=class a{transform(e=[],t){let r=JSON.parse(JSON.stringify(e));if(r.length>0){r=r.sort((n,o)=>n[t]-o[t]);let i=r[0][t];if(r.length>1){let n=r[r.length-1][t];return i===n?i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"):i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")+" - "+n.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return"-"}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"MinToMax",type:a,pure:!0,standalone:!1})},L=class a{transform(e,t,r=0){if(!e)return e;let i=t?parseInt(t,10):10;return e.length>i?e.substring(r,i)+"...":e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"limitTo",type:a,pure:!0,standalone:!1})};var w=class a{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"newlines",type:a,pure:!0,standalone:!1})};var F=class a{transform(e,t,r){t=t??2;let i=Math.pow(10,t);return r&&(e=e-e*i%5/i),Math.round(e*i)/i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"DecimalRound",type:a,pure:!0,standalone:!1})},k=class a{constructor(e){this.decimalPipe=e}transform(e,t){if(t=m.IsNotEmpty(t)?t:0,e=m.IsNotEmpty(e)?e:0,!e)return;typeof e=="string"&&(e=e.split(",").join(""),e=parseFloat(e));let r=e?.toFixed(4);for(r=r.substr(r.length-4);r.substr(r.length-1,1)=="0";)r=r.substr(0,r.length-1);let i=r.length>t?r.length:t,n="1."+i.toString()+"-"+i.toString();return this.decimalPipe.transform(e,n)}static \u0275fac=function(t){return new(t||a)(u(p,16))};static \u0275pipe=s({name:"TrailingZero",type:a,pure:!0,standalone:!1})};var R=class a{transform(e,t,r){let i=e.find(n=>n[t]==r);return i??{}}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"find",type:a,pure:!0,standalone:!1})},V=class a{transform(e,t){return e==""||e==null?"":(t==""||t==null||(t=t.replace("{0}",e)),t)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"showIfNotNullOrEmptyString",type:a,pure:!0,standalone:!1})};var x=class a{transform(e,t){return t===void 0||t===""?e:e.filter(r=>r.Name.toLowerCase().indexOf(t.toLowerCase())!==-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterByName",type:a,pure:!0,standalone:!1})};var M=class a{transform(e,t,r="Name"){return t===void 0?e:typeof t=="number"?e.filter(i=>i[r]==t):e.filter(i=>i[r].toString().toLowerCase().indexOf(t.toLowerCase())!==-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"Filter",type:a,pure:!0,standalone:!1})},N=class a{transform(e,t,r){let i=[];return i=e.filter(n=>n[t]<r),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetArrayWithSmallerCondition",type:a,pure:!0,standalone:!1})},E=class a{transform(e,t,r){let i=[];return i=e.filter(n=>n[t]>r),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetArrayWithGreaterCondition",type:a,pure:!0,standalone:!1})},U=class a{transform(e,t,r){if(e){if(r==""||r==null||r==null)return e;{let i=[];for(let n=0;n<t.length;n++){let o=e.filter(c=>c[t[n]]!=null);o=o.filter(c=>c[t[n]].toLowerCase().indexOf(r.toLowerCase())>-1),i=i.concat(o)}return i}}else return[]}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterByArray",type:a,pure:!0,standalone:!1})},j=class a{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}static \u0275fac=function(t){return new(t||a)(u(A,16))};static \u0275pipe=s({name:"SafeHtml",type:a,pure:!0,standalone:!1})},H=class a{transform(e){return Math.ceil(e)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"RoundUp",type:a,pure:!0,standalone:!1})},W=class a{transform(e){let t;switch(e){case 1:t="January";break;case 2:t="February";break;case 3:t="March";break;case 4:t="April";break;case 5:t="May";break;case 6:t="June";break;case 7:t="July";break;case 8:t="August";break;case 9:t="September";break;case 10:t="October";break;case 11:t="November";break;case 12:t="December";break;default:t="-"}return t}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"Month",type:a,pure:!0,standalone:!1})},J=class a{transform(e,t){let r=[];return e.forEach(i=>{i[t].forEach(n=>{r.push(n)})}),r}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetChildrenArray",type:a,pure:!0,standalone:!1})},$=class a{transform(e,t){let r=0;return e.forEach(i=>{i!=0&&(r+=i[t]?i[t]:0)}),r>0}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"HideSumZero",type:a,pure:!0,standalone:!1})},Q=class a{transform(e,t){var r=new Date(e),i=new Date(t),n=i.getTime()-r.getTime();return Math.round(n/6e4)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"DateDiffInMinute",type:a,pure:!0,standalone:!1})},z=class a{transform(e){return new Date(e)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"ToDateString",type:a,pure:!0,standalone:!1})},K=class a{transform(e,t="",r=""){return!e||t===""||!t||e.length<=1?e:!r||r===""?t==="asc"?e.sort():e.sort().reverse():(e=e.sort((i,n)=>{let o=t==="asc";switch(typeof i[r]){case"string":return this.compare(i[r]?.toLocaleLowerCase(),n[r]?.toLocaleLowerCase(),o);case"number":return this.compare(i[r],n[r],o);case"boolean":return this.compare(Number(i[r]),Number(n[r]),o);default:return 0}}),e)}compare(e,t,r){return(e<t?-1:1)*(r?1:-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sortBy",type:a,pure:!0,standalone:!1})},Y=class a{constructor(e){this.datePipe=e}transform(e,t){return t=t||"dd/MM/yyyy",e&&e!="0001-01-01T00:00:00"?this.datePipe.transform(e,t):"-"}static \u0275fac=function(t){return new(t||a)(u(l,16))};static \u0275pipe=s({name:"IsMinDate",type:a,pure:!0,standalone:!1})};var Z=class a{transform(e,t){let r=!0;try{let i="";return t=t||"Name",e.forEach((n,o)=>{o==0?i=n[t]:i!=n[t]&&(r=!1)}),r}catch{return!0}}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"checkPropValueIsSame",type:a,pure:!0,standalone:!1})},q=class a{transform(e,t,r,i){let n=e.filter(o=>o[t]==r);return n.length>0?n[0][i]:0}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterGetAmount",type:a,pure:!0,standalone:!1})},X=class a{transform(e){return e?"Yes":"No"}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"YesNo",type:a,pure:!0,standalone:!1})};var _=class a{transform(e,t,r){let i=t.Sales/100*e[0].Rate;return r==1&&(i=t.Tax-i),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"TaxDefault",type:a,pure:!0,standalone:!1})},tt=class a{transform(e,t,r){let i=e.toLowerCase(),n;return n=i.replace(t,`<b class="${r}">${t}</b>`),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"SearchNote",type:a,pure:!0,standalone:!1})},et=class a{transform(e,t=30){return e.length>t?e.substring(0,t)+"...":e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"TruncateText",type:a,pure:!0,standalone:!1})},at=class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=I({type:a});static \u0275inj=y({providers:[p,f,l,P]})};var rt=class{static GetPOSStorage="/API/POS/LoadPOS";static GetPOSDataByID="/API/POS/GetPOSDataBySalesOrderID";static GetRegisterInfo="/API/POS/GetRegisterInfoByID";static GenerateNumber="/API/POS/GenerateNumber";static RefreshToken="/API/Authentication/RefreshToken";static RemovePark="/API/POS/RemovePark";static VoidPark="/API/POS/VoidPark";static ReturInvoice="/API/POS/ReturInvoiceByEntityIDAndNumber";static MergePark="/API/POS/MergePark";static ParkOrder="/API/POS/SubmitParkOrder";static GetPark="/API/POS/GetParkByEntityID";static GetOutStanding="/API/POS/GetOutStandingByEntityID";static GetVacant="/API/POS/GetParkInfoByEntityID";static RecordOpeningCash="/API/POS/RecordOpeningCash";static OpenRegister="/API/POS/LoadRegister";static SplitOrder="/API/POS/split_parkedorder";static GetPackageID="/API/POS/GetPackageID";static SubmitOrder="/API/POS/SubmitInvoice";static SyncProducts="/API/POSSync/Products";static SyncCustomer="/API/POSSync/Customers";static SynOutletPrice="/API/POSSync/OutletPrices";static SynOutlet="/API/POSSync/Outlets";static SyncPark="/API/POSSync/Parks";static GetRewardByPromotionID="/API/POS/GetRewardByPromotionID";static GetListPromotion="/API/POS/Promotion";static EnabledPromotion="/API/Promotion/UpdateEnabled";static PromotionPushToPOS="/API/promotion/PushToPOS";static GetCustomerSuggestionCode="/API/POS/GetSuggestionCustomerCode";static GetCustomerPrivilegeByID="/API/Contact/GetPrivilegeByCustomerID";static GetCustomerSalesHistory="/API/Contact/GetCustomerSalesHistory";static GetSalesPersonByOutletId="/API/Contact/salesperson/GetSalesPersonByEntityID";static GetVariantByID="/API/catalog/variant/GetVariantByID";static GetVariantByCode="/API/catalog/variant/GetVariantByCode";static GetVariantSuggestionsByEntityID="/API/AC/GetVariantSuggestionByCodeNNameWithEntityID";static GetVariantSuggestions="/API/AC/GetVariantSuggestionByCodeNName";static GetCustomerSuggestions="/API/AC/GetCustomerSuggestion";static BuyReturInvoice="/API/Buy/GetSupplierInvoiceRetur";static GetVariantFormModelByID="/API/catalog/variant/GetVariantFormModelById";static GetVariantWithSameProductID="/API/catalog/variant/GetVariantWithSameProductID";static GetVariantInfoModelById="/API/catalog/variant/GetVariantInfoModelById";static GetTransactionHistoryByVariantId="/API/catalog/variant/GetHistoryByVariantID";static GetStockLogConsistency="/API/Inventory/GetStockLogConsistency";static GetStockLogConsistencyByDate="/API/Inventory/GetStockLogConsistencyByDate";static RefreshAllocatedInventoryCache="/API/Catalog/Variant/RefreshAllocatedByListID";static EraseOutletPrice="/api/catalog/product/DeleteAllOutletPrice";static GetOutletPriceCount="/API/catalog/product/OutletPriceCount";static UpdateROP="/API/Inventory/UpdateROP";static UpdateProductImage="/API/catalog/product/UpdateProductImageUrl";static GetSalesHistory="/Api/catalog/product/GetSalesHistory";static GetPurchaseHistory="/API/catalog/product/GetPurchaseHistory";static GetParkedHistory="/API/catalog/product/GetParkOrder";static ImportProduct="/api/catalog/product/ConfirmImport";static PreviewImportProduct="/api/catalog/product/PreviewUpload";static importOutlet="/API/Outlet/ConfirmImport";static previewImportOutlet="/API/Outlet/PreviewUpload";static MergeProduct="/API/catalog/product/MergeProduct";static CreateVariant="/API/catalog/variant/CreateVariant";static SendInvoiceEmail="/API/Transaction/SendEmail";static SendInvoiceWhatsapp="/API/receipt/Whatsapp";static GetCustomerByCode="/API/Contact/GetByCode";static GetCustomerCode="/API/Contact/GetCode";static GetCustomerEmailByID="/API/Contact/GetEmailByID";static MergeCustomer="/API/Contact/MergeCustomer";static CreateCustomer="/API/Contact/Customer/Create";static CreateCustomerInvoice="/API/POS/AddCustomerByInvoice";static MergeCurrency="/api/Setup/Payment/MergeCurrency";static GetPriceBookByVariantID="/API/catalog/variant/GetPriceBookByVariantID";static ValidateInternalCoupon="/API/PromotionCoupon/ValidateCouponInternal";static validateExternalCoupon="/API/PromotionCoupon/ValidateCouponExternal";static GetCouponData="/API/PromotionCoupon/GetCouponDataAsync";static Invoice="/api/Invoice/InvoiceInfo";static OrdersLoader="/API/OrdersLoader/CustomerInvoice";static Orders="/api/Invoice/CustomerInvoice";static PaymentReceivedLoader="/API/PaymentLoader/DailyPaymentLoader";static PaymentReceived="/API/Payment/DailyPaymentReceived";static CheckOutUrlBuy="/API/Buy/SubmitOrder";static Scanner="/API/AdjustmentLoader/StockTakeByCSV";static AdjustmentLoader="/API/AdjustmentLoader/GetInventoryAdjustmentList";static Adjustment="/API/Adjustment/GetInventoryAdjustmentList";static AdjustmentStorage="/API/Adjustment/GetStorage";static AdjusmentSubmitReview="/API/Adjustment/UpdateToReview";static GetNumberAdjustment="/API/Adjustment/GenerateNumber";static MergeAdjustment="/api/Adjustment/Merge";static GetAccountReceivableLoader="/API/DebtLoader/AccountsReceiveableSummary";static GetAccountReceivableDetailLoader="/API/DebtLoader/AccountsReceiveableDetails";static GetAccountReceivableSummary="/API/Debt/AccountsReceiveableSummary";static getAccountreceivableDetail="/API/Debt/AccountsReceiveableDetails";static BatchCollectionDelete="/API/Debt/InvoiceBatchCollectionDelete";static VoidInvoiceLoader="/API/OrdersLoader/VoidInvoiceLoader";static VoidInvoiceList="/api/RecycleBin/VoidListInvoice";static WaitingPatientList="/API/Treatment/WaitingPatientList";static CheckOutTreatmentByListID="/API/Treatment/CheckOutByListID";static TreatmentRegisterLoader="/API/TreatmentLoader/Registration";static TreatmentRegisterOutletInfo="/API/Treatment/RegistrationGetOutletInfoByEntityID";static TreatmentCustomerInfo="/API/Treatment/RegistrationGetCustomerInfoByCustomerID";static DeleteTreatmentPackageHistory="/API/Treatment/DeleteTreatmentPackageHistoryByID";static DeleteTreatmentArchive="/API/Treatment/DeleteTreatmentArchive";static SubmitTreatementRegistration="/API/Treatment/RegistrationSubmit";static SalesOrderMini="/API/Print/SalesOrderMini";static GetBulkPrint="/API/Tool/getBulkPrint";static GetBulkPrintA4="/API/tool/GetBulkPrintA4";static ProductLoader="/API/catalog/ProductLoader/ProductList";static ProductList="/API/catalog/product/GetProductList";static GetProductByID="/API/catalog/product/GetProductByID";static GetProductByCode="/API/v3/product/Code";static GetAllProductByCategory="/API/catalog/category/GetAllProductByCategory";static DeleteProductList="/API/catalog/product/DeleteProductList";static DeleteVariantInfo="/API/catalog/variant/DeleteVariantInfo";static ProductForm="/API/catalog/ProductLoader/ProductForm";static SubmitProduct="/API/catalog/product/SubmitProduct";static ProductInfo="/API/catalog/ProductLoader/ProductInfoInitial";static ProductCodeByCategory="/api/catalog/product/GetSuggestionProductCodeByCategoryID";static CreateCategory="/API/catalog/category/CreateProductCategory";static CreateBrand="/API/catalog/product/CreateBrand";static CreateTag="/API/catalog/product/CreateTags";static CreateUOM="/API/catalog/product/CreateProductUOM";static VariantInfo="/API/catalog/variant/GetVariantInfoModelById";static VariantFormData="/API/catalog/variant/GetVariantFormInitialData";static VariantForm="/API/catalog/variant/GetVariantFormModelById";static SubmitVariant="/API/catalog/variant/SubmitVariant";static GetVariantOnSelectedIDByID="/API/ProductSetup/GetVariantOnSelectedIDByID";static CreateContact="/API/Contact/Create";static Closure="/API/POS/Closure";static UploadCsv="/API/POS/UploadCsvV2";static GenerateGopayQrCode="/API/Gopay/GenerateQR";static GopayVerifyPayment="/API/Gopay/VerifyQR";static GenerateBcaQrCode="/API/BCA/GenerateQR";static BcaVerifyPayment="/API/BCA/VerifyQR";static InvoiceA4="/API/Print/Invoice";static InvoiceMini="/API/Print/InvoiceMini";static BulkInvoice="/API/Print/BulkInvoice";static BulkSupplierInvoice="/API/Print/BulkSupplierInvoice";static UpdateLastPrintDateTime="/API/Invoice/AddPrintHistory";static UpdateLastPrintByListID="/API/Invoice/AddPrintHistoryByListID";"/API/Print/UpdateLastPrintJoinInvoice";static CustomerPoInvoice="/API/Print/CustomerPOInvoice";static InDeliveryInvoice="/API/Print/InDelivery";static InvoiceAndDelivery="/API/Print/InvoiceAndDelivery";static EstimateInvoice="/API/Print/EstimateInvoice";static JobOrderInvoice="/API/Print/JobOrders";static JobOrderMiniInvoice="/API/Print/JobOrderMini";static InvoiceJournal="/Api/Print/Journal";static ClouserReceipt="/API/Print/RegisterClosure";static OutDeliveryInvoice="/Api/Print/OutDelivery";static PackingSlipInvoice="/Api/Print/PrintPackingSlip";static PaymentReceipt="/API/Print/Payment";static AdjustmentInvoice="/API/Print/Adjustment";static SalesOrderReceiptMini="/Api/Print/SalesOrderMini";static WorkOrderReceipt="/Api/Print/WorkOrder";static TransferOrderReceipt="/API/Print/Transfer";static TreatmentInvoice="/API/Print/TreatmentInvoice";static SupplierInvoiceReceipt="/API/Print/SupplierInvoice";static SupplierPoReceipt="/API/Print/SupplierPONG";static UploadCsvBuy="/API/Buy/UploadCsv";static InvoiceInfo="/API/Invoice/InvoiceInfo";static InvoicePrintHistory="api/invoice/GetPrintHistory";static GenerateLink="/API/PayNow/GenerateLink";static LoadFormBuy="/API/Buy2/Load";static BuyGetOutletInfo="/API/Buy2/GetOutletInfo";static BuyGenerateNumber="/API/Buy/GenerateNumber";static BuyGetDataByID="/API/Buy2/GetDataByID";static GetQuickKeyByEntityID="/API/catalog/product/GetQuickKeyByEntityID";static GetVariantStockByID="/API/catalog/variant/GetInventoryByVariantID";static GetSupplierInvoice="/API/Buy/GetSupplierInvoiceRetur";static GetSupplierDTO="/API/Contact/GetSupplierDTO";static UpdateSalesSupplierByID="/API/Buy/UpdateSalesSupplierById";static MergeSupplier="/API/Contact/MergeSupplier";static LoadFormDelivery="/API/TransferOrderLoader/LoadForm";static DeliveryGenerateNumber="/API/TransferOrder/GenerateNumber";static UpdateCourierList="/API/TransferOrder/UpdateCourierList";static SubmitOutletDelivery="/API/TransferOrder/SubmitOrder";static getAllOutletInventory="/API/TransferOrder/ClearOutlet";static GetCourierByOutletDestination="/API/TransferOrder/GetCourierByOutletDestination";static GetCourierInfo="/API/TransferOrderLoader/Info";static UpdateCourier="/API/TransferOrder/UpdateCourierList";static PaymentListSorting="/API/Setup/Payment/SortPaymentMethod";static TaxListSorting="/API/Setup/Payment/SortTax";static SaveTaxSetup="/api/Setup/Payment/SubmitTaxForm";static LoadFormEstimate="/API/Estimate/LoadForm";static EstimateGenerateNumber="/API/Estimate/GenerateNumber";static SubmitEstimate="/API/Estimate/SubmitOrder";static LoadFormAdjustment="/API/Adjustment/LoadForm";static AdjustmentGenerateNumber="/API/Adjustment/GenerateNumber";static SubmitAdjustment="/API/Adjustment/SubmitOrder";static ForecastData="Inventory/Daystozero";static ForecastLoader="InventoryLoader/Daystozero";static ValidateInventory="/api/inventory/GetByListGuidFromCart";static UsageActivities="Developer/DeveloperSpace/API/Activity";static WebhookCouponProviderLoader="Developer/DeveloperSpace/WebhookLoader/WebhookCouponProvider";static WebhookCouponProviderSave="/api/Developer/DeveloperSpace/Webhook/SaveWebhookCouponProvider";static GetVariantSerialPagedLoader="Catalog/SerialLoader/GetVariantSerialPagedLoader";static GetVariantSerialPagination="Catalog/Serial/GetVariantSerialPagination";static SerialInfo="Catalog/Serial/SerialInfo";static GetVariantSerialFormLoader="/api/Catalog/SerialLoader/GetVariantSerialFormLoader";static GetCountVariantSerial="/api/Catalog/Serial/GetCountVariantSerial";static AddVariantSerial="/api/Catalog/Serial/AddVariantSerial";static EditSerial="/api/Catalog/Serial/EditSerial";static GetVariantSerialByListVariantID="/api/Catalog/Serial/GetVariantSerialByListVariantID";static StockAvailableSerial="/api/Catalog/Serial/StockAvailableSerial";static GetVariantSerialByVariantID="/api/Catalog/Serial/GetVariantSerialByVariantID";static GetVariantSerial="/api/Catalog/Serial/GetVariantSerial";static GetVariantBySerial="/api/catalog/serial/GetVariantbySerial";static GetSerialHistory="/api/catalog/serial/History";static GetDashboardSales="/API/Dashboard/Sales";static GetDashboardPayment="/API/Payment/DailyPaymentRecevedHighChart";static GetDashboardPurchase="/API/Dashboard/Purchase";static GetDashboardDebt="/API/Dashboard/Debt";static GetDashboardProduct="/API/Dashboard/Product";static GetDashboardInventory="/API/Dashboard/Inventory";static DeleteListPayment="/api/Payment/DeleteListPayment";static RevokeAccess="/api/user/user/RevokeAccess";static RevokeAccessGroup="/api/user/group/RevokedUsers";static GroupHistoryLoader="/api/user/GroupLoader/UpdateHistory";static GroupHistoryData="/api/user/Group/UpdateHistory";static GetUnfulfilledOrderByNumberOrReferenceNumber="/api/OutboundLogisticsLoader/GetOutboundInfo";static GetUnfulfilledNumberByNumber="/API/AC/SearchUnfulfilledOrderByNumber";static SendTransferOrder="/api/TransferOrder/SendTransferOrder";static ReceiveTransferOrder="/api/TransferOrder/ReceiveTransferOrder";static ApproveDelivery="/api/TransferOrder/ApproveTransferOrder";static GetUUID="/api/setup/getuuidv7";static GetProductTags="/api/ProductSetup/GetProductTags";static GetTagInfo="/api/ProductSetup/GetTagInfo";static UpdateProductTagsReleased="/api/ProductSetup/UpdateProductTagsReleased";static GetReportDetailSummary="/api/Report/ReportDetailFooter";static GetComplementaryReport="/api/Report/ReportDetailComplementaryQuantity"};export{g as a,S as b,G as c,C as d,D as e,v as f,f as g,O as h,b as i,T as j,B as k,h as l,P as m,L as n,w as o,F as p,k as q,R as r,V as s,x as t,M as u,N as v,E as w,U as x,j as y,H as z,W as A,J as B,$ as C,Q as D,z as E,K as F,Y as G,Z as H,q as I,X as J,_ as K,tt as L,et as M,at as N,rt as O};
|
|
1
|
+
import{a as m}from"./chunk-WUV22SZ4.js";import{Kd as A,eb as u,jb as I,lb as s,ma as y,qd as l,sd as p}from"./chunk-IEVGW2RT.js";var g=class a{transform(e){return e.map(t=>t.UnitPrice).reduce((t,r)=>Math.max(t,r),0)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"highestPrice",type:a,pure:!0,standalone:!1})},S=class a{transform(e){return e.map(t=>t.UnitPrice).reduce((t,r)=>Math.min(t,r),0)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"lowestPrice",type:a,pure:!0,standalone:!1})},G=class a{transform(e,t){let r=e.filter(i=>i.Key==t);return r.length==0?0:r[0].Value}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"groupStock",type:a,pure:!0,standalone:!1})},C=class a{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"images",type:a,pure:!0,standalone:!1})};var D=class a{transform(e){var t=new Date(e),r=new Date,i=r.valueOf()-t.valueOf(),n=Math.floor(i%864e5/36e5),o=Math.round(i%864e5%36e5/6e4);return n>0?o+n*60:o}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"durationTime",type:a,pure:!0,standalone:!1})},v=class a{transform(e){let r="",i=e<1440?null:(e-e%1440)/1440;i&&(r=`${i} Day`,i>1&&(r=r+"s"));let n=(e%1440-e%1440%60)/60;n&&(r=r+` ${n} Hour`,n>1&&(r=r+"s"));let o=e%60;return o&&(r=r+` ${o} Minute`,o>1&&(r=r+"s")),r.trim()}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"durationDaysHour",type:a,pure:!0,standalone:!1})},f=class a{transform(e,t,r,i){let n=0;return e&&!r&&!i&&e.forEach(o=>n+=o[t]-0),r&&i&&e.forEach(o=>{o[r]==i&&(n+=o[t]-0)}),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sum",type:a,pure:!1,standalone:!1})},O=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t][r]),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumArray",type:a,pure:!1,standalone:!1})},b=class a{transform(e,t,r,i){let n=0;return e&&e.forEach(o=>{m.IsNotEmpty(o[t][r])&&(n+=o[t][r][i])}),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumNestedArray",type:a,pure:!1,standalone:!1})},T=class a{transform(e,t,r,i,n){let o=0;return e&&e.forEach(c=>{let d=c[t].find(it=>it[i]===r);d!==void 0&&(o+=d[n])}),o}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumWithID",type:a,pure:!1,standalone:!1})},B=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t]*n[r]),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumMultiply",type:a,pure:!1,standalone:!1})},h=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t][r]-0),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"SumWithIndex",type:a,pure:!1,standalone:!1})},P=class a{transform(e=[],t){let r=JSON.parse(JSON.stringify(e));if(r.length>0){r=r.sort((n,o)=>n[t]-o[t]);let i=r[0][t];if(r.length>1){let n=r[r.length-1][t];return i===n?i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"):i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")+" - "+n.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return"-"}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"MinToMax",type:a,pure:!0,standalone:!1})},L=class a{transform(e,t,r=0){if(!e)return e;let i=t?parseInt(t,10):10;return e.length>i?e.substring(r,i)+"...":e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"limitTo",type:a,pure:!0,standalone:!1})};var w=class a{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"newlines",type:a,pure:!0,standalone:!1})};var F=class a{transform(e,t,r){t=t??2;let i=Math.pow(10,t);return r&&(e=e-e*i%5/i),Math.round(e*i)/i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"DecimalRound",type:a,pure:!0,standalone:!1})},k=class a{constructor(e){this.decimalPipe=e}transform(e,t){if(t=m.IsNotEmpty(t)?t:0,e=m.IsNotEmpty(e)?e:0,!e)return;typeof e=="string"&&(e=e.split(",").join(""),e=parseFloat(e));let r=e?.toFixed(4);for(r=r.substr(r.length-4);r.substr(r.length-1,1)=="0";)r=r.substr(0,r.length-1);let i=r.length>t?r.length:t,n="1."+i.toString()+"-"+i.toString();return this.decimalPipe.transform(e,n)}static \u0275fac=function(t){return new(t||a)(u(p,16))};static \u0275pipe=s({name:"TrailingZero",type:a,pure:!0,standalone:!1})};var R=class a{transform(e,t,r){let i=e.find(n=>n[t]==r);return i??{}}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"find",type:a,pure:!0,standalone:!1})},V=class a{transform(e,t){return e==""||e==null?"":(t==""||t==null||(t=t.replace("{0}",e)),t)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"showIfNotNullOrEmptyString",type:a,pure:!0,standalone:!1})};var x=class a{transform(e,t){return t===void 0||t===""?e:e.filter(r=>r.Name.toLowerCase().indexOf(t.toLowerCase())!==-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterByName",type:a,pure:!0,standalone:!1})};var M=class a{transform(e,t,r="Name"){return t===void 0?e:typeof t=="number"?e.filter(i=>i[r]==t):e.filter(i=>i[r].toString().toLowerCase().indexOf(t.toLowerCase())!==-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"Filter",type:a,pure:!0,standalone:!1})},N=class a{transform(e,t,r){let i=[];return i=e.filter(n=>n[t]<r),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetArrayWithSmallerCondition",type:a,pure:!0,standalone:!1})},E=class a{transform(e,t,r){let i=[];return i=e.filter(n=>n[t]>r),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetArrayWithGreaterCondition",type:a,pure:!0,standalone:!1})},U=class a{transform(e,t,r){if(e){if(r==""||r==null||r==null)return e;{let i=[];for(let n=0;n<t.length;n++){let o=e.filter(c=>c[t[n]]!=null);o=o.filter(c=>c[t[n]].toLowerCase().indexOf(r.toLowerCase())>-1),i=i.concat(o)}return i}}else return[]}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterByArray",type:a,pure:!0,standalone:!1})},j=class a{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}static \u0275fac=function(t){return new(t||a)(u(A,16))};static \u0275pipe=s({name:"SafeHtml",type:a,pure:!0,standalone:!1})},H=class a{transform(e){return Math.ceil(e)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"RoundUp",type:a,pure:!0,standalone:!1})},W=class a{transform(e){let t;switch(e){case 1:t="January";break;case 2:t="February";break;case 3:t="March";break;case 4:t="April";break;case 5:t="May";break;case 6:t="June";break;case 7:t="July";break;case 8:t="August";break;case 9:t="September";break;case 10:t="October";break;case 11:t="November";break;case 12:t="December";break;default:t="-"}return t}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"Month",type:a,pure:!0,standalone:!1})},J=class a{transform(e,t){let r=[];return e.forEach(i=>{i[t].forEach(n=>{r.push(n)})}),r}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetChildrenArray",type:a,pure:!0,standalone:!1})},$=class a{transform(e,t){let r=0;return e.forEach(i=>{i!=0&&(r+=i[t]?i[t]:0)}),r>0}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"HideSumZero",type:a,pure:!0,standalone:!1})},Q=class a{transform(e,t){var r=new Date(e),i=new Date(t),n=i.getTime()-r.getTime();return Math.round(n/6e4)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"DateDiffInMinute",type:a,pure:!0,standalone:!1})},z=class a{transform(e){return new Date(e)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"ToDateString",type:a,pure:!0,standalone:!1})},K=class a{transform(e,t="",r=""){return!e||t===""||!t||e.length<=1?e:!r||r===""?t==="asc"?e.sort():e.sort().reverse():(e=e.sort((i,n)=>{let o=t==="asc";switch(typeof i[r]){case"string":return this.compare(i[r]?.toLocaleLowerCase(),n[r]?.toLocaleLowerCase(),o);case"number":return this.compare(i[r],n[r],o);case"boolean":return this.compare(Number(i[r]),Number(n[r]),o);default:return 0}}),e)}compare(e,t,r){return(e<t?-1:1)*(r?1:-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sortBy",type:a,pure:!0,standalone:!1})},Y=class a{constructor(e){this.datePipe=e}transform(e,t){return t=t||"dd/MM/yyyy",e&&e!="0001-01-01T00:00:00"?this.datePipe.transform(e,t):"-"}static \u0275fac=function(t){return new(t||a)(u(l,16))};static \u0275pipe=s({name:"IsMinDate",type:a,pure:!0,standalone:!1})};var Z=class a{transform(e,t){let r=!0;try{let i="";return t=t||"Name",e.forEach((n,o)=>{o==0?i=n[t]:i!=n[t]&&(r=!1)}),r}catch{return!0}}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"checkPropValueIsSame",type:a,pure:!0,standalone:!1})},q=class a{transform(e,t,r,i){let n=e.filter(o=>o[t]==r);return n.length>0?n[0][i]:0}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterGetAmount",type:a,pure:!0,standalone:!1})},X=class a{transform(e){return e?"Yes":"No"}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"YesNo",type:a,pure:!0,standalone:!1})};var _=class a{transform(e,t,r){let i=t.Sales/100*e[0].Rate;return r==1&&(i=t.Tax-i),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"TaxDefault",type:a,pure:!0,standalone:!1})},tt=class a{transform(e,t,r){let i=e.toLowerCase(),n;return n=i.replace(t,`<b class="${r}">${t}</b>`),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"SearchNote",type:a,pure:!0,standalone:!1})},et=class a{transform(e,t=30){return e.length>t?e.substring(0,t)+"...":e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"TruncateText",type:a,pure:!0,standalone:!1})},at=class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=I({type:a});static \u0275inj=y({providers:[p,f,l,P]})};var rt=class{static GetPOSStorage="/API/POS/LoadPOS";static GetPOSDataByID="/API/POS/GetPOSDataBySalesOrderID";static GetRegisterInfo="/API/POS/GetRegisterInfoByID";static GenerateNumber="/API/POS/GenerateNumber";static RefreshToken="/API/Authentication/RefreshToken";static RemovePark="/API/POS/RemovePark";static VoidPark="/API/POS/VoidPark";static ReturInvoice="/API/POS/ReturInvoiceByEntityIDAndNumber";static MergePark="/API/POS/MergePark";static ParkOrder="/API/POS/SubmitParkOrder";static GetPark="/API/POS/GetParkByEntityID";static GetOutStanding="/API/POS/GetOutStandingByEntityID";static GetVacant="/API/POS/GetParkInfoByEntityID";static RecordOpeningCash="/API/POS/RecordOpeningCash";static OpenRegister="/API/POS/LoadRegister";static SplitOrder="/API/POS/split_parkedorder";static GetPackageID="/API/POS/GetPackageID";static SubmitOrder="/API/POS/SubmitInvoice";static SyncProducts="/API/POSSync/Products";static SyncCustomer="/API/POSSync/Customers";static SynOutletPrice="/API/POSSync/OutletPrices";static SynOutlet="/API/POSSync/Outlets";static SyncPark="/API/POSSync/Parks";static GetRewardByPromotionID="/API/POS/GetRewardByPromotionID";static GetListPromotion="/API/POS/Promotion";static EnabledPromotion="/API/Promotion/UpdateEnabled";static PromotionPushToPOS="/API/promotion/PushToPOS";static GetCustomerSuggestionCode="/API/POS/GetSuggestionCustomerCode";static GetCustomerPrivilegeByID="/API/Contact/GetPrivilegeByCustomerID";static GetCustomerSalesHistory="/API/Contact/GetCustomerSalesHistory";static GetSalesPersonByOutletId="/API/Contact/salesperson/GetSalesPersonByEntityID";static GetVariantByID="/API/catalog/variant/GetVariantByID";static GetVariantByCode="/API/catalog/variant/GetVariantByCode";static GetVariantSuggestionsByEntityID="/API/AC/GetVariantSuggestionByCodeNNameWithEntityID";static GetVariantSuggestions="/API/AC/GetVariantSuggestionByCodeNName";static GetCustomerSuggestions="/API/AC/GetCustomerSuggestion";static BuyReturInvoice="/API/Buy/GetSupplierInvoiceRetur";static GetVariantFormModelByID="/API/catalog/variant/GetVariantFormModelById";static GetVariantWithSameProductID="/API/catalog/variant/GetVariantWithSameProductID";static GetVariantInfoModelById="/API/catalog/variant/GetVariantInfoModelById";static GetTransactionHistoryByVariantId="/API/catalog/variant/GetHistoryByVariantID";static GetStockLogConsistency="/API/Inventory/GetStockLogConsistency";static GetStockLogConsistencyByDate="/API/Inventory/GetStockLogConsistencyByDate";static RefreshAllocatedInventoryCache="/API/Catalog/Variant/RefreshAllocatedByListID";static EraseOutletPrice="/api/catalog/product/DeleteAllOutletPrice";static GetOutletPriceCount="/API/catalog/product/OutletPriceCount";static UpdateROP="/API/Inventory/UpdateROP";static UpdateProductImage="/API/catalog/product/UpdateProductImageUrl";static GetSalesHistory="/Api/catalog/product/GetSalesHistory";static GetPurchaseHistory="/API/catalog/product/GetPurchaseHistory";static GetParkedHistory="/API/catalog/product/GetParkOrder";static ImportProduct="/api/catalog/product/ConfirmImport";static PreviewImportProduct="/api/catalog/product/PreviewUpload";static importOutlet="/API/Outlet/ConfirmImport";static previewImportOutlet="/API/Outlet/PreviewUpload";static MergeProduct="/API/catalog/product/MergeProduct";static CreateVariant="/API/catalog/variant/CreateVariant";static SendInvoiceEmail="/API/Transaction/SendEmail";static SendInvoiceWhatsapp="/API/receipt/Whatsapp";static GetCustomerByCode="/API/Contact/GetByCode";static GetCustomerCode="/API/Contact/GetCode";static GetCustomerEmailByID="/API/Contact/GetEmailByID";static MergeCustomer="/API/Contact/MergeCustomer";static CreateCustomer="/API/Contact/Customer/Create";static CreateCustomerInvoice="/API/POS/AddCustomerByInvoice";static MergeCurrency="/api/Setup/Payment/MergeCurrency";static GetPriceBookByVariantID="/API/catalog/variant/GetPriceBookByVariantID";static ValidateInternalCoupon="/API/PromotionCoupon/ValidateCouponInternal";static validateExternalCoupon="/API/PromotionCoupon/ValidateCouponExternal";static GetCouponData="/API/PromotionCoupon/GetCouponDataAsync";static Invoice="/api/Invoice/InvoiceInfo";static OrdersLoader="/API/OrdersLoader/CustomerInvoice";static Orders="/api/Invoice/CustomerInvoice";static PaymentReceivedLoader="/API/PaymentLoader/DailyPaymentLoader";static PaymentReceived="/API/Payment/DailyPaymentReceived";static CheckOutUrlBuy="/API/Buy/SubmitOrder";static Scanner="/API/AdjustmentLoader/StockTakeByCSV";static AdjustmentLoader="/API/AdjustmentLoader/GetInventoryAdjustmentList";static Adjustment="/API/Adjustment/GetInventoryAdjustmentList";static AdjustmentStorage="/API/Adjustment/GetStorage";static AdjusmentSubmitReview="/API/Adjustment/UpdateToReview";static GetNumberAdjustment="/API/Adjustment/GenerateNumber";static MergeAdjustment="/api/Adjustment/Merge";static GetAccountReceivableLoader="/API/DebtLoader/AccountsReceiveableSummary";static GetAccountReceivableDetailLoader="/API/DebtLoader/AccountsReceiveableDetails";static GetAccountReceivableSummary="/API/Debt/AccountsReceiveableSummary";static getAccountreceivableDetail="/API/Debt/AccountsReceiveableDetails";static BatchCollectionDelete="/API/Debt/InvoiceBatchCollectionDelete";static VoidInvoiceLoader="/API/OrdersLoader/VoidInvoiceLoader";static VoidInvoiceList="/api/RecycleBin/VoidListInvoice";static WaitingPatientList="/API/Treatment/WaitingPatientList";static CheckOutTreatmentByListID="/API/Treatment/CheckOutByListID";static TreatmentRegisterLoader="/API/TreatmentLoader/Registration";static TreatmentRegisterOutletInfo="/API/Treatment/RegistrationGetOutletInfoByEntityID";static TreatmentCustomerInfo="/API/Treatment/RegistrationGetCustomerInfoByCustomerID";static DeleteTreatmentPackageHistory="/API/Treatment/DeleteTreatmentPackageHistoryByID";static DeleteTreatmentArchive="/API/Treatment/DeleteTreatmentArchive";static SubmitTreatementRegistration="/API/Treatment/RegistrationSubmit";static SalesOrderMini="/API/Print/SalesOrderMini";static GetBulkPrint="/API/Tool/getBulkPrint";static GetBulkPrintA4="/API/tool/GetBulkPrintA4";static ProductLoader="/API/catalog/ProductLoader/ProductList";static ProductList="/API/catalog/product/GetProductList";static GetProductByID="/API/catalog/product/GetProductByID";static GetProductByCode="/API/v3/product/Code";static GetAllProductByCategory="/API/catalog/category/GetAllProductByCategory";static DeleteProductList="/API/catalog/product/DeleteProductList";static DeleteVariantInfo="/API/catalog/variant/DeleteVariantInfo";static ProductForm="/API/catalog/ProductLoader/ProductForm";static SubmitProduct="/API/catalog/product/SubmitProduct";static ProductInfo="/API/catalog/ProductLoader/ProductInfoInitial";static ProductCodeByCategory="/api/catalog/product/GetSuggestionProductCodeByCategoryID";static CreateCategory="/API/catalog/category/CreateProductCategory";static CreateBrand="/API/catalog/product/CreateBrand";static CreateTag="/API/catalog/product/CreateTags";static CreateUOM="/API/catalog/product/CreateProductUOM";static VariantInfo="/API/catalog/variant/GetVariantInfoModelById";static VariantFormData="/API/catalog/variant/GetVariantFormInitialData";static VariantForm="/API/catalog/variant/GetVariantFormModelById";static SubmitVariant="/API/catalog/variant/SubmitVariant";static GetVariantOnSelectedIDByID="/API/ProductSetup/GetVariantOnSelectedIDByID";static CreateContact="/API/Contact/Create";static Closure="/API/POS/Closure";static UploadCsv="/API/POS/UploadCsvV2";static GenerateGopayQrCode="/API/Gopay/GenerateQR";static GopayVerifyPayment="/API/Gopay/VerifyQR";static GenerateBcaQrCode="/API/BCA/GenerateQR";static BcaVerifyPayment="/API/BCA/VerifyQR";static InvoiceA4="/API/Print/Invoice";static InvoiceMini="/API/Print/InvoiceMini";static BulkInvoice="/API/Print/BulkInvoice";static BulkSupplierInvoice="/API/Print/BulkSupplierInvoice";static UpdateLastPrintDateTime="/API/Invoice/AddPrintHistory";static UpdateLastPrintByListID="/API/Invoice/AddPrintHistoryByListID";"/API/Print/UpdateLastPrintJoinInvoice";static CustomerPoInvoice="/API/Print/CustomerPOInvoice";static InDeliveryInvoice="/API/Print/InDelivery";static InvoiceAndDelivery="/API/Print/InvoiceAndDelivery";static EstimateInvoice="/API/Print/EstimateInvoice";static JobOrderInvoice="/API/Print/JobOrders";static JobOrderMiniInvoice="/API/Print/JobOrderMini";static InvoiceJournal="/Api/Print/Journal";static ClouserReceipt="/API/Print/RegisterClosure";static OutDeliveryInvoice="/Api/Print/OutDelivery";static PackingSlipInvoice="/Api/Print/PrintPackingSlip";static PaymentReceipt="/API/Print/Payment";static AdjustmentInvoice="/API/Print/Adjustment";static SalesOrderReceiptMini="/Api/Print/SalesOrderMini";static WorkOrderReceipt="/Api/Print/WorkOrder";static TransferOrderReceipt="/API/Print/Transfer";static TreatmentInvoice="/API/Print/TreatmentInvoice";static SupplierInvoiceReceipt="/API/Print/SupplierInvoice";static SupplierPoReceipt="/API/Print/SupplierPONG";static UploadCsvBuy="/API/Buy/UploadCsv";static InvoiceInfo="/API/Invoice/InvoiceInfo";static InvoicePrintHistory="api/invoice/GetPrintHistory";static GenerateLink="/API/PayNow/GenerateLink";static LoadFormBuy="/API/Buy2/Load";static BuyGetOutletInfo="/API/Buy2/GetOutletInfo";static BuyGenerateNumber="/API/Buy/GenerateNumber";static BuyGetDataByID="/API/Buy2/GetDataByID";static GetQuickKeyByEntityID="/API/catalog/product/GetQuickKeyByEntityID";static GetVariantStockByID="/API/catalog/variant/GetInventoryByVariantID";static GetSupplierInvoice="/API/Buy/GetSupplierInvoiceRetur";static GetSupplierDTO="/API/Contact/GetSupplierDTO";static UpdateSalesSupplierByID="/API/Buy/UpdateSalesSupplierById";static MergeSupplier="/API/Contact/MergeSupplier";static LoadFormDelivery="/API/TransferOrderLoader/LoadForm";static DeliveryGenerateNumber="/API/TransferOrder/GenerateNumber";static UpdateCourierList="/API/TransferOrder/UpdateCourierList";static SubmitOutletDelivery="/API/TransferOrder/SubmitOrder";static getAllOutletInventory="/API/TransferOrder/ClearOutlet";static GetCourierByOutletDestination="/API/TransferOrder/GetCourierByOutletDestination";static GetCourierInfo="/API/TransferOrderLoader/Info";static UpdateCourier="/API/TransferOrder/UpdateCourierList";static PaymentListSorting="/API/Setup/Payment/SortPaymentMethod";static TaxListSorting="/API/Setup/Payment/SortTax";static SaveTaxSetup="/api/Setup/Payment/SubmitTaxForm";static LoadFormEstimate="/API/Estimate/LoadForm";static EstimateGenerateNumber="/API/Estimate/GenerateNumber";static SubmitEstimate="/API/Estimate/SubmitOrder";static LoadFormAdjustment="/API/Adjustment/LoadForm";static AdjustmentGenerateNumber="/API/Adjustment/GenerateNumber";static SubmitAdjustment="/API/Adjustment/SubmitOrder";static ForecastData="Inventory/Daystozero";static ForecastLoader="InventoryLoader/Daystozero";static ValidateInventory="/api/inventory/GetByListGuidFromCart";static UsageActivities="Developer/DeveloperSpace/API/Activity";static WebhookCouponProviderLoader="Developer/DeveloperSpace/WebhookLoader/WebhookCouponProvider";static WebhookCouponProviderSave="/api/Developer/DeveloperSpace/Webhook/SaveWebhookCouponProvider";static GetVariantSerialPagedLoader="Catalog/SerialLoader/GetVariantSerialPagedLoader";static GetVariantSerialPagination="Catalog/Serial/GetVariantSerialPagination";static SerialInfo="Catalog/Serial/SerialInfo";static GetVariantSerialFormLoader="/api/Catalog/SerialLoader/GetVariantSerialFormLoader";static GetCountVariantSerial="/api/Catalog/Serial/GetCountVariantSerial";static AddVariantSerial="/api/Catalog/Serial/AddVariantSerial";static EditSerial="/api/Catalog/Serial/EditSerial";static GetVariantSerialByListVariantID="/api/Catalog/Serial/GetVariantSerialByListVariantID";static StockAvailableSerial="/api/Catalog/Serial/StockAvailableSerial";static GetVariantSerialByVariantID="/api/Catalog/Serial/GetVariantSerialByVariantID";static GetVariantSerial="/api/Catalog/Serial/GetVariantSerial";static GetVariantBySerial="/api/catalog/serial/GetVariantbySerial";static GetSerialHistory="/api/catalog/serial/History";static GetDashboardSales="/API/Dashboard/Sales";static GetDashboardPayment="/API/Payment/DailyPaymentRecevedHighChart";static GetDashboardPurchase="/API/Dashboard/Purchase";static GetDashboardDebt="/API/Dashboard/Debt";static GetDashboardProduct="/API/Dashboard/Product";static GetDashboardInventory="/API/Dashboard/Inventory";static DeleteListPayment="/api/Payment/DeleteListPayment";static RevokeAccess="/api/user/user/RevokeAccess";static RevokeAccessGroup="/api/user/group/RevokedUsers";static GroupHistoryLoader="/api/user/GroupLoader/UpdateHistory";static GroupHistoryData="/api/user/Group/UpdateHistory";static GetUnfulfilledOrderByNumberOrReferenceNumber="/api/OutboundLogisticsLoader/GetOutboundInfo";static GetUnfulfilledNumberByNumber="/API/AC/SearchUnfulfilledOrderByNumber";static SendTransferOrder="/api/TransferOrder/SendTransferOrder";static ReceiveTransferOrder="/api/TransferOrder/ReceiveTransferOrder";static ApproveDelivery="/api/TransferOrder/ApproveTransferOrder";static GetUUID="/api/setup/getuuidv7";static GetProductTags="/api/ProductSetup/GetProductTags";static GetTagInfo="/api/ProductSetup/GetTagInfo";static UpdateProductTagsReleased="/api/ProductSetup/UpdateProductTagsReleased";static GetReportDetailSummary="/api/Report/ReportDetailFooter";static GetComplementaryReport="/api/Report/ReportDetailComplementaryQuantity"};export{g as a,S as b,G as c,C as d,D as e,v as f,f as g,O as h,b as i,T as j,B as k,h as l,P as m,L as n,w as o,F as p,k as q,R as r,V as s,x as t,M as u,N as v,E as w,U as x,j as y,H as z,W as A,J as B,$ as C,Q as D,z as E,K as F,Y as G,Z as H,q as I,X as J,_ as K,tt as L,et as M,at as N,rt as O};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as J}from"./chunk-A45GTZVV.js";import{a as qe}from"./chunk-RNLSEEMX.js";import{$a as Ve,A as te,Ab as he,Bb as pe,Ca as Y,Cb as C,Db as m,E as xe,Eb as _,Fb as W,G as ye,Ha as de,Hc as P,Ja as y,Jb as He,Kb as ze,Kc as R,Lb as se,Lc as _e,M as Ie,Mb as H,Mc as be,Ob as B,Oc as v,Pc as a,Qb as d,Qc as U,Rb as me,Rc as D,Sb as ge,Sc as Ye,Tc as K,Vc as Ze,Xa as c,Xb as A,Xc as f,Yb as z,Yc as q,Za as Be,Zb as oe,_b as I,ab as u,ac as V,cb as Pe,cc as Ue,d as we,dc as k,ec as Q,fa as Oe,fc as fe,g as Ae,hb as ie,ib as Re,j as De,jb as T,jd as Ee,ka as re,la as ne,ma as ke,na as Me,nb as O,oc as je,pa as p,sc as We,t as Fe,ta as b,tb as Z,ua as E,ub as ce,uc as G,vb as S,vc as Qe,wc as Ge,xa as Le,xb as w,xc as Ke,ya as Ne,za as ue}from"./chunk-JYZTRN6N.js";import{a as Se}from"./chunk-SNAKHGZS.js";var bt=["content"],Et=["scroll"],Ct=["padding"],ht=["*"],X=s=>({searchTerm:s});function vt(s,t){if(s&1&&(m(0,"div",3),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.headerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}function Tt(s,t){if(s&1&&(m(0,"div",5),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.footerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}var St=["searchInput"],wt=["clearButton"],At=(s,t,i)=>({item:s,clear:t,label:i}),Dt=(s,t)=>({items:s,clear:t}),Ft=(s,t,i,e)=>({item:s,item$:t,index:i,searchTerm:e});function xt(s,t){if(s&1&&(m(0,"div",20),k(1),_()),s&2){let i=d(2);c(),Q(i.placeholder()??i.config.placeholder)}}function yt(s,t){}function It(s,t){if(s&1&&O(0,xt,2,1,"ng-template",null,1,P)(2,yt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.placeholderTemplate()||i)}}function Ot(s,t){if(s&1){let i=H();m(0,"span",23),B("click",function(){b(i);let n=d().$implicit,o=d(2);return E(o.unselect(n))}),k(1,"\xD7"),_(),W(2,"span",24)}if(s&2){let i=d().$implicit,e=d(2);c(2),C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function kt(s,t){}function Mt(s,t){if(s&1&&(m(0,"div",22),O(1,Ot,3,2,"ng-template",null,2,P)(3,kt,0,0,"ng-template",12),_()),s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-value-disabled",i.disabled),c(3),C("ngTemplateOutlet",n.labelTemplate()||e)("ngTemplateOutletContext",Ge(4,At,i.value,n.clearItem,i.label))}}function Lt(s,t){if(s&1&&he(0,Mt,4,8,"div",21,ce().trackByOption,!0),s&2){let i=d();pe(i.selectedItems)}}function Nt(s,t){}function Bt(s,t){if(s&1&&O(0,Nt,0,0,"ng-template",12),s&2){let i=d();C("ngTemplateOutlet",i.multiLabelTemplate())("ngTemplateOutletContext",Qe(2,Dt,i.selectedValues,i.clearItem))}}function Vt(s,t){s&1&&W(0,"div",25)}function Pt(s,t){}function Rt(s,t){if(s&1&&O(0,Vt,1,0,"ng-template",null,3,P)(2,Pt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.loadingSpinnerTemplate()||i)}}function Ht(s,t){if(s&1&&se(0,19),s&2){let i=d(2);C("ngTemplateOutlet",i.clearButtonTemplate())}}function zt(s,t){if(s&1){let i=H();m(0,"span",27,4),B("click",function(n){b(i);let o=d(2);return E(o.handleClearClick(n))}),m(2,"span",28),k(3,"\xD7"),_()()}if(s&2){let i=d(2);C("title",je(i.clearAllText()||i.config.clearAllText)),Z("tabindex",i.tabFocusOnClear()?0:-1)}}function Ut(s,t){if(s&1&&S(0,Ht,1,1,"ng-container",19)(1,zt,4,3,"span",26),s&2){let i=d();w(i.clearButtonTemplate()?0:1)}}function jt(s,t){if(s&1&&W(0,"span",33),s&2){let i=d().$implicit,e=d(2);C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function Wt(s,t){}function Qt(s,t){if(s&1){let i=H();m(0,"div",32),B("click",function(){let n=b(i).$implicit,o=d(2);return E(o.toggleItem(n))})("mouseover",function(){let n=b(i).$implicit,o=d(2);return E(o.onItemHover(n))}),O(1,jt,1,2,"ng-template",null,5,P)(3,Wt,0,0,"ng-template",12),_()}if(s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===n.itemsList.markedItem),Z("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId)("aria-setsize",n.itemsList.filteredItems.length)("aria-posinset",i.index+1),c(3),C("ngTemplateOutlet",i.children?n.optgroupTemplate()||e:n.optionTemplate()||e)("ngTemplateOutletContext",Ke(19,Ft,i.value,i,i.index,n.searchTerm))}}function Gt(s,t){if(s&1&&(m(0,"span")(1,"span",35),k(2),_(),k(3),_()),s&2){let i=d(3);c(2),Q(i.addTagText()||i.config.addTagText),c(),fe('"',i.searchTerm,'"')}}function Kt(s,t){}function Yt(s,t){if(s&1){let i=H();m(0,"div",34),B("mouseover",function(){b(i);let n=d(2);return E(n.itemsList.unmarkItem())})("click",function(){b(i);let n=d(2);return E(n.selectTag())}),O(1,Gt,4,2,"ng-template",null,6,P)(3,Kt,0,0,"ng-template",12),_()}if(s&2){let i=I(2),e=d(2);V("ng-option-marked",!e.itemsList.markedItem),c(3),C("ngTemplateOutlet",e.tagTemplate()||i)("ngTemplateOutletContext",G(4,X,e.searchTerm))}}function Zt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.notFoundText()??i.config.notFoundText)}}function qt(s,t){}function Jt(s,t){if(s&1&&O(0,Zt,2,1,"ng-template",null,7,P)(2,qt,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.notFoundTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function Xt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.typeToSearchText()||i.config.typeToSearchText)}}function $t(s,t){}function en(s,t){if(s&1&&O(0,Xt,2,1,"ng-template",null,8,P)(2,$t,0,0,"ng-template",19),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.typeToSearchTemplate()||i)}}function tn(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.loadingText()||i.config.loadingText)}}function nn(s,t){}function sn(s,t){if(s&1&&O(0,tn,2,1,"ng-template",null,9,P)(2,nn,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.loadingTextTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function on(s,t){if(s&1){let i=H();m(0,"ng-dropdown-panel",29),B("update",function(n){b(i);let o=d();return E(o.viewPortItems=n)})("scroll",function(n){b(i);let o=d();return E(o.scroll.emit(n))})("scrollToEnd",function(n){b(i);let o=d();return E(o.scrollToEnd.emit(n))})("outsideClick",function(){b(i);let n=d();return E(n.close())}),He(1),he(2,Qt,4,24,"div",30,ce().trackByOption,!0),S(4,Yt,4,6,"div",31),ze(),S(5,Jt,3,4),S(6,en,3,1),S(7,sn,3,4),_()}if(s&2){let i=d(),e=i.appendTo()||i.config.appendTo;Ue(e?i.ngClass()?i.ngClass():i.classes:null),V("ng-select-multiple",i.multiple()),C("virtualScroll",i.virtualScroll()??!i.config.disableVirtualScroll??!1)("bufferAmount",i.bufferAmount())("appendTo",e)("position",i.dropdownPosition())("outsideClickEvent",i.outsideClickEvent())("headerTemplate",i.headerTemplate())("footerTemplate",i.footerTemplate())("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("showAddTag",i.showAddTag)("markedItem",i.itemsList.markedItem)("id",i.dropdownId)("ariaLabelDropdown",i.ariaLabelDropdown()),c(2),pe(i.viewPortItems),c(2),w(i.showAddTag?4:-1),c(),w(i.showNoItemsFound()?5:-1),c(),w(i.showTypeToSearch()?6:-1),c(),w(i.loading()&&i.itemsList.filteredItems.length===0?7:-1)}}function ln(s,t){if(s&1&&k(0),s&2){let i=d();fe(" ",i.notFoundText()??i.config.notFoundText," ")}}var pt=/[&<>"']/g,an=RegExp(pt.source),rn={"&":"&","<":"<",">":">",'"':""","'":"'"};function un(s){return s&&an.test(s)?s.replace(pt,t=>rn[t]):s}function g(s){return s!=null}function j(s){return typeof s=="object"&&g(s)}function dn(s){return s instanceof Promise}function ae(s){return s instanceof Function}var cn=(()=>{let t=class t{constructor(){this.element=p(y),this.ngItemLabel=a(),this.escape=a(!0),_e(()=>{this.element.nativeElement.innerHTML=this.escape()?un(this.ngItemLabel()):this.ngItemLabel()})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:[1,"ngItemLabel"],escape:[1,"escape"]}});let s=t;return s})(),Je=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-option-tmp",""]]});let s=t;return s})(),Xe=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-optgroup-tmp",""]]});let s=t;return s})(),$e=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-label-tmp",""]]});let s=t;return s})(),et=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-multi-label-tmp",""]]});let s=t;return s})(),tt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-header-tmp",""]]});let s=t;return s})(),nt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-footer-tmp",""]]});let s=t;return s})(),it=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-notfound-tmp",""]]});let s=t;return s})(),st=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-placeholder-tmp",""]]});let s=t;return s})(),ot=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-typetosearch-tmp",""]]});let s=t;return s})(),lt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingtext-tmp",""]]});let s=t;return s})(),at=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-tag-tmp",""]]});let s=t;return s})(),rt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingspinner-tmp",""]]});let s=t;return s})(),ut=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-clearbutton-tmp",""]]});let s=t;return s})(),hn=(()=>{let t=class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline",this.tabFocusOnClear=!0,this.outsideClickEvent="click"}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),pn=(()=>{let t=class t{warn(e){console.warn(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();function mt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var mn={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function le(s){let t=i=>mn[i]||i;return s.replace(/[^\u0000-\u007E]/g,t)}var ve=class{constructor(t,i){this._ngSelect=t,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected()&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple()&&this._ngSelect.maxSelectedItems()<=this.selectedItems.length}get lastSelectedItem(){let t=this.selectedItems.length-1;for(;t>=0;t--){let i=this.selectedItems[t];if(!i.disabled)return i}return null}setItems(t){this._items=t.map((e,n)=>this.mapItem(e,n));let i=this._ngSelect.groupBy();i?(this._groups=this._groupBy(this._items,i),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(t){if(t.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple();i||this.clearSelected(),this._selectionModel.select(t,i,this._ngSelect.selectableGroupAsModel()),this._ngSelect.hideSelected()&&this._hideSelected(t)}unselect(t){if(!t.selected)return;let i=this._ngSelect.multiple();this._selectionModel.unselect(t,i),this._ngSelect.hideSelected()&&g(t.index)&&i&&this._showSelected(t)}findItem(t){let i;return this._ngSelect.compareWith()?i=e=>this._ngSelect.compareWith()(e.value,t):this._ngSelect.bindValue()?i=e=>!e.children&&this.resolveNested(e.value,this._ngSelect.bindValue())===t:i=e=>e.value===t||!e.children&&e.label&&e.label===this.resolveNested(t,this._ngSelect.bindLabel()),this._items.find(e=>i(e))}addItem(t){let i=this.mapItem(t,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(t=!1){this._selectionModel.clear(t),this._items.forEach(i=>{i.selected=t&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected()&&this.resetFilteredItems()}findByLabel(t){return t=le(t).toLocaleLowerCase(),this.filteredItems.find(i=>le(i.label).toLocaleLowerCase().substr(0,t.length)===t)}filter(t){if(!t){this.resetFilteredItems();return}this._filteredItems=[],t=this._ngSelect.searchFn()?t:le(t).toLocaleLowerCase();let i=this._ngSelect.searchFn()||this._defaultSearchFn,e=this._ngSelect.hideSelected();for(let n of Array.from(this._groups.keys())){let o=[];for(let l of this._groups.get(n)){if(e&&(l.parent&&l.parent.selected||l.selected))continue;let r=this._ngSelect.searchFn()?l.value:l;i(t,r)&&o.push(l)}if(o.length>0){let[l]=o.slice(-1);if(l.parent){let r=this._items.find(h=>h===l.parent);this._filteredItems.push(r)}this._filteredItems.push(...o)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected()&&this.selectedItems.length>0?this._filteredItems=this._items.filter(t=>!t.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(t){this._markedIndex=this._filteredItems.indexOf(t)}markSelectedOrDefault(t){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=t?this.filteredItems.findIndex(e=>!e.disabled):-1}resolveNested(t,i){if(!j(t))return t;if(i.indexOf(".")===-1)return t[i];{let e=i.split("."),n=t;for(let o=0,l=e.length;o<l;++o){if(n==null)return null;n=n[e[o]]}return n}}mapItem(t,i){let e=j(t)&&"$ngOptionLabel"in t,n=j(t)&&"$ngOptionValue"in t,o=e?t.$ngOptionLabel:this.resolveNested(t,this._ngSelect.bindLabel()),l=n?t.$ngOptionValue:t;return{index:i,label:g(o)?o.toString():"",value:l,disabled:t&&t.disabled?t.disabled:!1,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let t=this._ngSelect.multiple();for(let i of this.selectedItems){let e=this._ngSelect.bindValue(),n=null;if(this._ngSelect.compareWith())n=this._items.find(o=>this._ngSelect.compareWith()(o.value,i.value));else{let o=e?this.resolveNested(i.value,e):i.value;n=g(o)?this.findItem(o):null}this._selectionModel.unselect(i,t),this._selectionModel.select(n||i,t,this._ngSelect.selectableGroupAsModel())}this._ngSelect.hideSelected()&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(t){if(this._filteredItems.push(t),t.parent){let i=t.parent;this._filteredItems.find(n=>n===i)||this._filteredItems.push(i)}else if(t.children)for(let i of t.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,e)=>i.index-e.index)]}_hideSelected(t){this._filteredItems=this._filteredItems.filter(i=>i!==t),t.parent?t.parent.children.every(e=>e.selected)&&(this._filteredItems=this._filteredItems.filter(e=>e!==t.parent)):t.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==t))}_defaultSearchFn(t,i){return le(i.label).toLocaleLowerCase().indexOf(t)>-1}_getNextItemIndex(t){return t>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(t){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected()||this._markedIndex>-1&&this.markedItem===void 0)return-1;let t=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&t<0?-1:Math.max(this.markedIndex,t)}_groupBy(t,i){let e=new Map;if(t.length===0)return e;if(Array.isArray(t[0].value[i])){for(let l of t){let r=(l.value[i]||[]).map((h,x)=>this.mapItem(h,x));e.set(l,r)}return e}let n=ae(this._ngSelect.groupBy()),o=l=>{let r=n?i(l.value):l.value[i];return g(r)?r:void 0};for(let l of t){let r=o(l),h=e.get(r);h?h.push(l):e.set(r,[l])}return e}_flatten(t){let i=ae(this._ngSelect.groupBy()),e=[];for(let n of Array.from(t.keys())){let o=e.length;if(n===void 0){let L=t.get(void 0)||[];e.push(...L.map($=>($.index=o++,$)));continue}let l=j(n),r={label:l?"":String(n),children:void 0,parent:null,index:o++,disabled:!this._ngSelect.selectableGroup(),htmlId:mt()},h=i?this._ngSelect.bindLabel():this._ngSelect.groupBy(),x=this._ngSelect.groupValue()||(()=>l?n.value:{[h]:n}),F=t.get(n).map(L=>(L.parent=r,L.children=void 0,L.index=o++,L));r.children=F,r.value=x(n,F.map(L=>L.value)),e.push(r),e.push(...F)}return e}},gt=(()=>{let t=class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,n,o){let l=this._dimensions,r=l.itemHeight*n,x=Math.max(0,e)/r*n,F=Math.min(n,Math.ceil(x)+(l.itemsPerViewport+1)),$=Math.max(0,F-l.itemsPerViewport),N=Math.min($,Math.floor(x)),ee=l.itemHeight*Math.ceil(N)-l.itemHeight*Math.min(N,o);return ee=isNaN(ee)?0:ee,N=isNaN(N)?-1:N,F=isNaN(F)?-1:F,N-=o,N=Math.max(0,N),F+=o,F=Math.min(n,F),{topPadding:ee,scrollHeight:r,start:N,end:F}}setDimensions(e,n){let o=Math.max(1,Math.floor(n/e));this._dimensions={itemHeight:e,panelHeight:n,itemsPerViewport:o}}getScrollTo(e,n,o){let{panelHeight:l}=this.dimensions,r=e+n,h=o,x=h+l;return l>=r&&o===e?null:r>x?h+r-x:e<=h?e:null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac});let s=t;return s})(),dt=["top","right","bottom","left"],gn=typeof requestAnimationFrame<"u"?De:Ae,Ce=(()=>{let t=class t{get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem()){let{itemHeight:e,panelHeight:n}=this._panelService.dimensions,o=this.markedItem().index*e;return n>o?0:o}return 0}constructor(){this._renderer=p(Pe),this._zone=p(Be),this._panelService=p(gt),this._document=p(Ne,{optional:!0}),this._destroyRef=p(ue),this._dropdown=p(y).nativeElement,this.items=a([]),this.showAddTag=a(!1,{transform:f}),this.markedItem=a(void 0),this.position=a("auto"),this.appendTo=a(void 0),this.bufferAmount=a(void 0),this.virtualScroll=a(!1,{transform:f}),this.headerTemplate=a(void 0),this.footerTemplate=a(void 0),this.filterValue=a(null),this.ariaLabelDropdown=a(null),this.outsideClickEvent=a("click"),this.update=v(),this.scroll=v(),this.scrollToEnd=v(),this.outsideClick=v(),this.contentElementRef=U("content",{read:y}),this.scrollElementRef=U("scroll",{read:y}),this.paddingElementRef=U("padding",{read:y}),this._virtualPadding=R(()=>this.paddingElementRef()?.nativeElement),this._scrollablePanel=R(()=>this.scrollElementRef()?.nativeElement),this._contentPanel=R(()=>this.contentElementRef()?.nativeElement),this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._destroyRef.onDestroy(()=>{this.appendTo()&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)})}ngOnInit(){this._select=this._dropdown.parentElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let n=e.items;this._onItemsOrShowAddTagChange(n.currentValue,this.showAddTag(),n.firstChange)}if(e.showAddTag){let n=e.showAddTag;this._onItemsOrShowAddTagChange(this.items(),n.currentValue,n.firstChange)}}scrollTo(e,n=!1){if(!e)return;let o=this.items().indexOf(e);if(o<0||o>=this.itemsLength)return;let l;if(this.virtualScroll()){let r=this._panelService.dimensions.itemHeight;l=this._panelService.getScrollTo(o*r,r,this._lastScrollPosition)}else{let r=this._dropdown.querySelector(`#${e.htmlId}`),h=n?r.offsetTop:this._lastScrollPosition;l=this._panelService.getScrollTo(r.offsetTop,r.clientHeight,h)}g(l)&&(this._scrollablePanel().scrollTop=l)}scrollToTag(){let e=this._scrollablePanel();e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),dt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo()&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){dt.forEach(o=>{let l=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,l),this._renderer.removeClass(this._select,l)});let n=`ng-select-${e}`;this._renderer.addClass(this._dropdown,n),this._renderer.addClass(this._select,n)}_handleScroll(){this._zone.runOutsideAngular(()=>{this._scrollablePanel()&&te(this._scrollablePanel(),"scroll").pipe(J(this._destroyRef),ye(0,gn)).subscribe(e=>{let n=e.target;n&&"scrollTop"in n&&this._onContentScrolled(n.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{te(this._document,this.outsideClickEvent(),{capture:!0}).pipe(J(this._destroyRef)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsOrShowAddTagChange(e=[],n,o){this._scrollToEndFired=!1,this.itemsLength=e.length,n&&e.length&&this.itemsLength++,this.virtualScroll()?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(e){this.update.emit(this.items()),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let n=this._scrollablePanel().clientHeight;this._panelService.setDimensions(0,n),this._handleDropdownPosition(),this.scrollTo(this.markedItem(),e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll()&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding().style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding()&&(this._virtualPadding().style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel().scrollTop;let n=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount());this._updateVirtualHeight(n.scrollHeight),this._contentPanel().style.transform=`translateY(${n.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items().slice(n.start,n.end)),this.scroll.emit({start:n.start,end:n.end})}),g(e)&&this._lastScrollPosition===0&&(this._scrollablePanel().scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items();return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding().style.height=`${o*this.itemsLength}px`;let l=this._scrollablePanel().clientHeight;return this._panelService.setDimensions(o,l),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let n=this.virtualScroll()?this._virtualPadding():this._contentPanel();e+this._dropdown.clientHeight>=n.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){let n=this.position();if(n!=="auto")return n;let o=this._select.getBoundingClientRect(),l=document.documentElement.scrollTop||document.body.scrollTop,r=o.top+window.pageYOffset,h=o.height,x=e.getBoundingClientRect().height;return r+h+x>l+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo()){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo()):document.querySelector(this.appendTo()),!this._parent)throw new Error(`appendTo selector ${this.appendTo()} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=document.documentElement.dir==="rtl",l=e.left-n.left;if(o){let r=n.right-e.right;this._dropdown.style.right=r+"px",this._dropdown.style.left="auto"}else this._dropdown.style.left=l+"px",this._dropdown.style.right="auto";this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let l=n.bottom-e.bottom;this._dropdown.style.bottom=l+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let l=e.top-n.top;this._dropdown.style.top=l+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{te(this._dropdown,"mousedown").pipe(J(this._destroyRef)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(n,o){n&1&&(z(o.contentElementRef,bt,5,y),z(o.scrollElementRef,Et,5,y),z(o.paddingElementRef,Ct,5,y)),n&2&&oe(3)},inputs:{items:[1,"items"],showAddTag:[1,"showAddTag"],markedItem:[1,"markedItem"],position:[1,"position"],appendTo:[1,"appendTo"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],headerTemplate:[1,"headerTemplate"],footerTemplate:[1,"footerTemplate"],filterValue:[1,"filterValue"],ariaLabelDropdown:[1,"ariaLabelDropdown"],outsideClickEvent:[1,"outsideClickEvent"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[de],ngContentSelectors:ht,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(me(),S(0,vt,2,4,"div",3),m(1,"div",4,0),W(3,"div",null,1),m(5,"div",null,2),ge(7),_()(),S(8,Tt,2,4,"div",5)),n&2&&(w(o.headerTemplate()?0:-1),c(),Z("aria-label",o.ariaLabelDropdown()),c(2),V("total-padding",o.virtualScroll()),c(2),V("scrollable-content",o.virtualScroll()&&o.items().length),c(3),w(o.footerTemplate()?8:-1))},dependencies:[Ee],encapsulation:2,changeDetection:0});let s=t;return s})(),ct=(()=>{let t=class t{constructor(){this.value=a(),this.disabled=a(!1,{transform:f}),this.elementRef=p(y),this.label=Y(""),Ve(()=>{let e=(this.elementRef.nativeElement.innerHTML||"").trim();e!==this.label()&&this.label.set(e)})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-option"]],inputs:{value:[1,"value"],disabled:[1,"disabled"]},ngContentSelectors:ht,decls:1,vars:0,template:function(n,o){n&1&&(me(),ge(0))},encapsulation:2,changeDetection:0});let s=t;return s})(),M=(function(s){return s.Tab="Tab",s.Enter="Enter",s.Esc="Escape",s.Space=" ",s.ArrowUp="ArrowUp",s.ArrowDown="ArrowDown",s.Backspace="Backspace",s})(M||{});function ft(){return new Te}var Te=class{constructor(){this._selected=[]}get value(){return this._selected}select(t,i,e){if(t.selected=!0,(!t.children||!i&&e)&&this._selected.push(t),i)if(t.parent){let n=t.parent.children.length,o=t.parent.children.filter(l=>l.selected).length;t.parent.selected=n===o}else t.children&&(this._setChildrenSelectedState(t.children,!0),this._removeChildren(t),e&&this._activeChildren(t)?this._selected=[...this._selected.filter(n=>n.parent!==t),t]:this._selected=[...this._selected,...t.children.filter(n=>!n.disabled)])}unselect(t,i){if(this._selected=this._selected.filter(e=>e!==t),t.selected=!1,i)if(t.parent&&t.parent.selected){let e=t.parent.children;this._removeParent(t.parent),this._removeChildren(t.parent),this._selected.push(...e.filter(n=>n!==t&&!n.disabled)),t.parent.selected=!1}else t.children&&(this._setChildrenSelectedState(t.children,!1),this._removeChildren(t))}clear(t){this._selected=t?this._selected.filter(i=>i.disabled):[]}_setChildrenSelectedState(t,i){for(let e of t)e.disabled||(e.selected=i)}_removeChildren(t){this._selected=[...this._selected.filter(i=>i.parent!==t),...t.children.filter(i=>i.parent===t&&i.disabled&&i.selected)]}_removeParent(t){this._selected=this._selected.filter(i=>i!==t)}_activeChildren(t){return t.children.every(i=>!i.disabled||i.selected)}},_t=new Me("ng-select-selection-model"),On=(()=>{let t=class t{constructor(){this.classes=p(new be("class"),{optional:!0}),this.config=p(hn),this._cd=p(Ze),this._console=p(pn),this._destroyRef=p(ue),this._disabled=Y(!1),this.ariaLabelDropdown=a("Options List"),this.ariaLabel=a(void 0),this.markFirst=a(!0,{transform:f}),this.placeholder=a(this.config.placeholder),this.fixedPlaceholder=a(!0),this.notFoundText=a(void 0),this.typeToSearchText=a(void 0),this.preventToggleOnRightClick=a(!1),this.addTagText=a(void 0),this.loadingText=a(void 0),this.clearAllText=a(void 0),this.dropdownPosition=a("auto"),this.appendTo=a(void 0),this.outsideClickEvent=a(this.config.outsideClickEvent),this.loading=a(!1,{transform:f}),this.closeOnSelect=a(!0,{transform:f}),this.hideSelected=a(!1,{transform:f}),this.selectOnTab=a(!1,{transform:f}),this.openOnEnter=a(void 0,{transform:f}),this.maxSelectedItems=a(void 0,{transform:q}),this.groupBy=a(void 0),this.groupValue=a(void 0),this.bufferAmount=a(4,{transform:q}),this.virtualScroll=a(void 0,{transform:f}),this.selectableGroup=a(!1,{transform:f}),this.tabFocusOnClearButton=a(),this.selectableGroupAsModel=a(!0,{transform:f}),this.searchFn=a(null),this.trackByFn=a(null),this.clearOnBackspace=a(!0,{transform:f}),this.labelForId=a(null),this.inputAttrs=a({}),this.tabIndex=a(void 0,{transform:q}),this.readonly=a(!1,{transform:f}),this.searchWhileComposing=a(!0,{transform:f}),this.minTermLength=a(0,{transform:q}),this.editableSearchTerm=a(!1,{transform:f}),this.ngClass=a(null),this.typeahead=a(void 0),this.multiple=a(!1,{transform:f}),this.addTag=a(!1),this.searchable=a(!0,{transform:f}),this.clearable=a(!0,{transform:f}),this.deselectOnClick=a(),this.clearSearchOnAdd=a(void 0),this.compareWith=a(void 0,{transform:l=>{if(l!=null&&!ae(l))throw Error("`compareWith` must be a function.");return l}}),this.keyDownFn=a(l=>!0),this.bindLabel=K(void 0),this.bindValue=K(void 0),this.appearance=K(void 0),this.isOpen=K(!1),this.items=K([]),this.blurEvent=v({alias:"blur"}),this.focusEvent=v({alias:"focus"}),this.changeEvent=v({alias:"change"}),this.openEvent=v({alias:"open"}),this.closeEvent=v({alias:"close"}),this.searchEvent=v({alias:"search"}),this.clearEvent=v({alias:"clear"}),this.addEvent=v({alias:"add"}),this.removeEvent=v({alias:"remove"}),this.scroll=v({alias:"scroll"}),this.scrollToEnd=v({alias:"scrollToEnd"}),this.disabled=R(()=>this.readonly()||this._disabled()),this.clearSearchOnAddValue=R(()=>g(this.clearSearchOnAdd())?this.clearSearchOnAdd():g(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect()),this.deselectOnClickValue=R(()=>g(this.deselectOnClick())?this.deselectOnClick():g(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple()),this.optionTemplate=D(Je,{read:u}),this.optgroupTemplate=D(Xe,{read:u}),this.labelTemplate=D($e,{read:u}),this.multiLabelTemplate=D(et,{read:u}),this.headerTemplate=D(tt,{read:u}),this.footerTemplate=D(nt,{read:u}),this.notFoundTemplate=D(it,{read:u}),this.placeholderTemplate=D(st,{read:u}),this.typeToSearchTemplate=D(ot,{read:u}),this.loadingTextTemplate=D(lt,{read:u}),this.tagTemplate=D(at,{read:u}),this.loadingSpinnerTemplate=D(rt,{read:u}),this.clearButtonTemplate=D(ut,{read:u}),this.ngOptions=Ye(ct,{descendants:!0}),this.dropdownPanel=U(re(()=>Ce)),this.searchInput=U("searchInput"),this.clearButton=U("clearButton"),this.dropdownId=mt(),this.escapeHTML=!0,this.viewPortItems=[],this.tabFocusOnClear=Y(!0),this.autoFocus=p(new be("autofocus"),{optional:!0}),this._defaultLabel="label",this._editableSearchTerm=R(()=>this.editableSearchTerm()&&!this.multiple()),this._injector=p(Le),this._isComposing=!1,this._keyPress$=new we,this._pressedKeys=[],this._searchTerm=Y(null),this._validTerm=R(()=>{let l=this._searchTerm()?.trim();return l&&l.length>=this.minTermLength()}),this.clearItem=l=>{let r=this.selectedItems.find(h=>h.value===l);this.unselect(r)},this.trackByOption=(l,r)=>this.trackByFn()?this.trackByFn()(r.value):r,this._onChange=l=>{},this._onTouched=()=>{};let e=this.config,n=p(_t,{optional:!0}),o=p(y);this._mergeGlobalConfig(e),this.itemsList=new ve(this,n?n():ft()),this.element=o.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable()||this._isComposing}get focused(){return this._focused}get searchTerm(){return this._searchTerm()}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel())return this.dropdownPanel().currentPosition}get showAddTag(){if(!this._validTerm())return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag()&&!this.itemsList.filteredItems.some(n=>n.label.toLowerCase()===e)&&(!this.hideSelected()&&this.isOpen()||!this.selectedItems.some(n=>n.label.toLowerCase()===e))&&!this.loading()}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&(this._itemsAreUsed=!0,this._setItems(e.items.currentValue||[])),e.isOpen&&(this._manualOpen=g(e.isOpen.currentValue)),e.groupBy&&(e.items||this._setItems([...this.items()])),e.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),g(this.autoFocus)&&this.focus()}handleKeyDown(e){let n=e.key;if(Object.values(M).includes(n)){if(this.keyDownFn()(e)===!1)return;this.handleKeyCode(e)}else n&&n.length===1&&this._keyPress$.next(n.toLocaleLowerCase())}handleKeyCode(e){let n=e.target;this.clearButton()&&this.clearButton().nativeElement===n?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.key){case M.ArrowDown:this._handleArrowDown(e);break;case M.ArrowUp:this._handleArrowUp(e);break;case M.Space:this._handleSpace(e);break;case M.Enter:this._handleEnter(e);break;case M.Tab:this._handleTab(e);break;case M.Esc:this.close(),e.preventDefault();break;case M.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.key){case M.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.disabled())return;if(this.preventToggleOnRightClick()&&e.button===2)return!1;let n=e.target;if(n.tagName!=="INPUT"&&e.preventDefault(),!n.classList.contains("ng-clear-wrapper")){if(n.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}n.classList.contains("ng-value-icon")||(this._focused||this.focus(),this.searchable()?this.open():this.toggle())}}handleArrowClick(){this.isOpen()?this.close():this.open()}handleClearClick(e){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable()&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled.set(e),this._cd.markForCheck()}toggle(){this.isOpen()?this.close():this.open()}open(){this.disabled()||this.isOpen()||this._manualOpen||!this.typeahead()?.observed&&!this.addTag()&&this.itemsList.noItemsToSelect||(this.isOpen.set(!0),this.itemsList.markSelectedOrDefault(this.markFirst()),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen()||this._manualOpen||(this.isOpen.set(!1),this._isComposing=!1,this._editableSearchTerm()?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled()||(this.deselectOnClickValue()&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm()&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAddValue()&&!this._editableSearchTerm()&&this._clearSearch(),this._updateNgModel(),this.multiple()&&this.addEvent.emit(e.value)),(this.closeOnSelect()||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput().nativeElement.focus()}blur(){this.searchInput().nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;ae(this.addTag())?e=this.addTag()(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel()]:this.searchTerm};let n=o=>this.typeahead()?.observed||!this.isOpen()?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);dn(e)?e.then(o=>this.select(n(o))).catch(()=>{}):e&&this.select(n(e))}showClear(){return this.clearable()&&(this.hasValue||this.searchTerm)&&!this.disabled()}focusOnClear(){this.blur(),this.clearButton()&&this.clearButton().nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this.typeahead()?.observed&&!this.loading()||e&&this.typeahead()?.observed&&this._validTerm()&&!this.loading())&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this.typeahead()?.observed&&!this._validTerm()&&!this.loading()}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing()&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing()||(this._searchTerm.set(e),this.typeahead()?.observed&&(this._validTerm()||this.minTermLength()===0)&&this.typeahead().next(e),this.typeahead()?.observed||(this.itemsList.filter(e),this.isOpen()&&this.itemsList.markSelectedOrDefault(this.markFirst())),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(n=>n.value)}),this.open())}onInputFocus(e){this._focused||(this._editableSearchTerm()&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this._focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen()&&!this.disabled()&&this._onTouched(),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems?.[0];this._searchTerm.set(e?.label??null)}_setItems(e){let n=e[0];this.bindLabel.set(this.bindLabel()||this._defaultLabel),this._primitive=g(n)?!j(n):this._primitive||this.bindLabel()===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen()&&g(this.searchTerm)&&!this.typeahead()?.observed&&this.itemsList.filter(this.searchTerm),(this.typeahead()?.observed||this.isOpen())&&this.itemsList.markSelectedOrDefault(this.markFirst())}_setItemsFromNgOptions(){_e(()=>{let e=this.ngOptions();this.bindLabel.set(this._defaultLabel);let n=e.map(o=>({$ngOptionValue:o.value(),$ngOptionLabel:o.elementRef.nativeElement.innerHTML,disabled:o.disabled()}))??[];this.items.set(n),this.itemsList.setItems(n),this.hasValue&&this.itemsList.mapSelectedItems(),this._cd.detectChanges(),e.map(o=>({option:o,item:this.itemsList.findItem(o.value())})).filter(({item:o})=>g(o)).forEach(({option:o,item:l})=>{l.disabled=o.disabled(),l.label=o.label()||l.label})},{injector:this._injector})}_isValidWriteValue(e){if(!g(e)||this.multiple()&&e===""||Array.isArray(e)&&e.length===0)return!1;let n=o=>!g(this.compareWith())&&j(o)&&this.bindValue()?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple()?Array.isArray(e)?e.every(o=>n(o)):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let n=o=>{let l=this.itemsList.findItem(o);if(l)this.itemsList.select(l);else{let r=j(o),h=!r&&!this.bindValue();r||h?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue()&&(l={[this.bindLabel()]:null,[this.bindValue()]:o},this.itemsList.select(this.itemsList.mapItem(l,null)))}};this.multiple()?e.forEach(o=>n(o)):n(e)}_handleKeyPresses(){this.searchable()||this._keyPress$.pipe(J(this._destroyRef),Oe(e=>this._pressedKeys.push(e)),Ie(200),xe(()=>this._pressedKeys.length>0),Fe(()=>this._pressedKeys.join(""))).subscribe(e=>{let n=this.itemsList.findByLabel(e);n&&(this.isOpen()?(this.itemsList.markItem(n),this._scrollToMarked(),this._cd.markForCheck()):this.select(n)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput().nativeElement,n=Se({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId},this.inputAttrs());for(let o of Object.keys(n))e.setAttribute(o,n[o])}_setTabFocusOnClear(){this.tabFocusOnClear.set(g(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue()){let l=null;if(o.children){let r=this.groupValue()?this.bindValue():this.groupBy();l=o.value[r||this.groupBy()]}else l=this.itemsList.resolveNested(o.value,this.bindValue());e.push(l)}else e.push(o.value);let n=this.selectedItems.map(o=>o.value);this.multiple()?(this._onChange(e),this.changeEvent.emit(n)):(this._onChange(g(e[0])?e[0]:null),this.changeEvent.emit(n[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this._searchTerm.set(e),this.typeahead()?.observed&&this.typeahead().next(e)}_scrollToMarked(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollToTag()}_onSelectionChanged(){let e=this.appendTo()??this.config.appendTo;this.isOpen()&&this.deselectOnClickValue()&&e&&(this._cd.detectChanges(),this.dropdownPanel().adjustPosition())}_handleTab(e){if(this.isOpen()===!1){if(this.showClear()&&!e.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),e.preventDefault();else if(!this.addTag())return}this.selectOnTab()?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){let n=this.openOnEnter()??this.config.openOnEnter;if(this.isOpen()||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(n)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen()||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen()&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let n=this.itemsList.markedIndex+e;return this.addTag()&&this.searchTerm&&this.itemsList.markedItem&&(n<0||n===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable()||!this.clearOnBackspace()||!this.hasValue||(this.multiple()?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.bindValue.set(this.bindValue()||e.bindValue),this.bindLabel.set(this.bindLabel()||e.bindLabel),this.appearance.set(this.appearance()||e.appearance),this._setTabFocusOnClear()}getVirtualScroll(e){return g(this.virtualScroll)?this.virtualScroll():this.isVirtualScrollDisabled(e)}isVirtualScrollDisabled(e){return g(e.disableVirtualScroll)?!e.disableVirtualScroll:!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-select"]],contentQueries:function(n,o,l){n&1&&(A(l,o.optionTemplate,Je,5,u),A(l,o.optgroupTemplate,Xe,5,u),A(l,o.labelTemplate,$e,5,u),A(l,o.multiLabelTemplate,et,5,u),A(l,o.headerTemplate,tt,5,u),A(l,o.footerTemplate,nt,5,u),A(l,o.notFoundTemplate,it,5,u),A(l,o.placeholderTemplate,st,5,u),A(l,o.typeToSearchTemplate,ot,5,u),A(l,o.loadingTextTemplate,lt,5,u),A(l,o.tagTemplate,at,5,u),A(l,o.loadingSpinnerTemplate,rt,5,u),A(l,o.clearButtonTemplate,ut,5,u),A(l,o.ngOptions,ct,5)),n&2&&oe(14)},viewQuery:function(n,o){n&1&&(z(o.dropdownPanel,Ce,5),z(o.searchInput,St,5),z(o.clearButton,wt,5)),n&2&&oe(3)},hostVars:20,hostBindings:function(n,o){n&1&&B("keydown",function(r){return o.handleKeyDown(r)}),n&2&&V("ng-select",!0)("ng-select-single",!o.multiple())("ng-select-typeahead",o.typeahead())("ng-select-multiple",o.multiple())("ng-select-taggable",o.addTag())("ng-select-searchable",o.searchable())("ng-select-clearable",o.clearable())("ng-select-opened",o.isOpen())("ng-select-filtered",o.filtered)("ng-select-disabled",o.disabled())},inputs:{ariaLabelDropdown:[1,"ariaLabelDropdown"],ariaLabel:[1,"ariaLabel"],markFirst:[1,"markFirst"],placeholder:[1,"placeholder"],fixedPlaceholder:[1,"fixedPlaceholder"],notFoundText:[1,"notFoundText"],typeToSearchText:[1,"typeToSearchText"],preventToggleOnRightClick:[1,"preventToggleOnRightClick"],addTagText:[1,"addTagText"],loadingText:[1,"loadingText"],clearAllText:[1,"clearAllText"],dropdownPosition:[1,"dropdownPosition"],appendTo:[1,"appendTo"],outsideClickEvent:[1,"outsideClickEvent"],loading:[1,"loading"],closeOnSelect:[1,"closeOnSelect"],hideSelected:[1,"hideSelected"],selectOnTab:[1,"selectOnTab"],openOnEnter:[1,"openOnEnter"],maxSelectedItems:[1,"maxSelectedItems"],groupBy:[1,"groupBy"],groupValue:[1,"groupValue"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],selectableGroup:[1,"selectableGroup"],tabFocusOnClearButton:[1,"tabFocusOnClearButton"],selectableGroupAsModel:[1,"selectableGroupAsModel"],searchFn:[1,"searchFn"],trackByFn:[1,"trackByFn"],clearOnBackspace:[1,"clearOnBackspace"],labelForId:[1,"labelForId"],inputAttrs:[1,"inputAttrs"],tabIndex:[1,"tabIndex"],readonly:[1,"readonly"],searchWhileComposing:[1,"searchWhileComposing"],minTermLength:[1,"minTermLength"],editableSearchTerm:[1,"editableSearchTerm"],ngClass:[1,"ngClass"],typeahead:[1,"typeahead"],multiple:[1,"multiple"],addTag:[1,"addTag"],searchable:[1,"searchable"],clearable:[1,"clearable"],deselectOnClick:[1,"deselectOnClick"],clearSearchOnAdd:[1,"clearSearchOnAdd"],compareWith:[1,"compareWith"],keyDownFn:[1,"keyDownFn"],bindLabel:[1,"bindLabel"],bindValue:[1,"bindValue"],appearance:[1,"appearance"],isOpen:[1,"isOpen"],items:[1,"items"]},outputs:{bindLabel:"bindLabelChange",bindValue:"bindValueChange",appearance:"appearanceChange",isOpen:"isOpenChange",items:"itemsChange",blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["ngSelect"],features:[We([{provide:qe,useExisting:re(()=>t),multi:!0},gt]),de],decls:15,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","ng-select-multiple","class","id","ariaLabelDropdown"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"click","title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","id","ariaLabelDropdown"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(n,o){if(n&1){let l=H();m(0,"div",10),B("mousedown",function(h){return b(l),E(o.handleMousedown(h))}),m(1,"div",11),S(2,It,3,1),S(3,Lt,2,0),S(4,Bt,1,5,null,12),m(5,"div",13)(6,"input",14,0),B("blur",function(h){return b(l),E(o.onInputBlur(h))})("change",function(h){return b(l),E(h.stopPropagation())})("compositionend",function(){b(l);let h=I(7);return E(o.onCompositionEnd(h.value))})("compositionstart",function(){return b(l),E(o.onCompositionStart())})("focus",function(h){return b(l),E(o.onInputFocus(h))})("input",function(){b(l);let h=I(7);return E(o.filter(h.value))}),_()()(),S(8,Rt,3,1),S(9,Ut,2,1),m(10,"span",15),W(11,"span",16),_()(),S(12,on,8,21,"ng-dropdown-panel",17),m(13,"div",18),S(14,ln,1,1),_()}n&2&&(V("ng-appearance-outline",o.appearance()==="outline")("ng-has-value",o.hasValue),c(2),w(o.selectedItems.length===0&&!o.searchTerm||(o.fixedPlaceholder()??o.config.fixedPlaceholder)?2:-1),c(),w((!o.multiLabelTemplate()||!o.multiple())&&o.selectedItems.length>0?3:-1),c(),w(o.multiple()&&o.multiLabelTemplate()&&o.selectedValues.length>0?4:-1),c(2),C("disabled",o.disabled())("readOnly",!o.searchable()||o.itemsList.maxItemsSelected)("value",o.searchTerm??""),Z("aria-activedescendant",o.isOpen()?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen()?o.dropdownId:null)("aria-expanded",o.isOpen())("aria-label",o.ariaLabel())("id",o.labelForId())("tabindex",o.tabIndex()),c(2),w(o.loading()?8:-1),c(),w(o.showClear()?9:-1),c(3),w(o.isOpen()?12:-1),c(2),w(o.isOpen()&&o.showNoItemsFound()?14:-1))},dependencies:[Ee,cn,Ce],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
|
|
1
|
+
import{a as J}from"./chunk-ZTD4APMR.js";import{a as qe}from"./chunk-DWZ5JTI2.js";import{$a as Ve,$b as A,$c as f,A as te,Ab as w,Ac as Ge,Bc as Ke,Ca as Y,Db as he,E as xe,Eb as pe,Fb as C,G as ye,Gb as m,Ha as de,Hb as _,Ib as W,Ja as y,Lc as P,M as Ie,Mb as He,Nb as ze,Ob as se,Oc as R,Pb as H,Pc as _e,Qc as be,Sb as B,Sc as v,Tc as a,Ub as d,Uc as U,Vb as me,Vc as D,Wb as ge,Wc as Ye,Xa as c,Xc as K,Za as Be,Zc as Ze,ab as u,ac as z,ad as q,bc as oe,cc as I,d as we,db as Pe,ec as V,fa as Oe,g as Ae,gc as Ue,hc as k,ib as ie,ic as Q,j as De,jb as Re,jc as fe,ka as re,kb as T,la as ne,ma as ke,na as Me,nd as Ee,ob as O,pa as p,sc as je,t as Fe,ta as b,ua as E,wb as Z,wc as We,xa as Le,xb as ce,ya as Ne,yb as S,yc as G,za as ue,zc as Qe}from"./chunk-IEVGW2RT.js";import{a as Se}from"./chunk-SNAKHGZS.js";var bt=["content"],Et=["scroll"],Ct=["padding"],ht=["*"],X=s=>({searchTerm:s});function vt(s,t){if(s&1&&(m(0,"div",3),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.headerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}function Tt(s,t){if(s&1&&(m(0,"div",5),se(1,6),_()),s&2){let i=d();c(),C("ngTemplateOutlet",i.footerTemplate())("ngTemplateOutletContext",G(2,X,i.filterValue()))}}var St=["searchInput"],wt=["clearButton"],At=(s,t,i)=>({item:s,clear:t,label:i}),Dt=(s,t)=>({items:s,clear:t}),Ft=(s,t,i,e)=>({item:s,item$:t,index:i,searchTerm:e});function xt(s,t){if(s&1&&(m(0,"div",20),k(1),_()),s&2){let i=d(2);c(),Q(i.placeholder()??i.config.placeholder)}}function yt(s,t){}function It(s,t){if(s&1&&O(0,xt,2,1,"ng-template",null,1,P)(2,yt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.placeholderTemplate()||i)}}function Ot(s,t){if(s&1){let i=H();m(0,"span",23),B("click",function(){b(i);let n=d().$implicit,o=d(2);return E(o.unselect(n))}),k(1,"\xD7"),_(),W(2,"span",24)}if(s&2){let i=d().$implicit,e=d(2);c(2),C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function kt(s,t){}function Mt(s,t){if(s&1&&(m(0,"div",22),O(1,Ot,3,2,"ng-template",null,2,P)(3,kt,0,0,"ng-template",12),_()),s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-value-disabled",i.disabled),c(3),C("ngTemplateOutlet",n.labelTemplate()||e)("ngTemplateOutletContext",Ge(4,At,i.value,n.clearItem,i.label))}}function Lt(s,t){if(s&1&&he(0,Mt,4,8,"div",21,ce().trackByOption,!0),s&2){let i=d();pe(i.selectedItems)}}function Nt(s,t){}function Bt(s,t){if(s&1&&O(0,Nt,0,0,"ng-template",12),s&2){let i=d();C("ngTemplateOutlet",i.multiLabelTemplate())("ngTemplateOutletContext",Qe(2,Dt,i.selectedValues,i.clearItem))}}function Vt(s,t){s&1&&W(0,"div",25)}function Pt(s,t){}function Rt(s,t){if(s&1&&O(0,Vt,1,0,"ng-template",null,3,P)(2,Pt,0,0,"ng-template",19),s&2){let i=I(1),e=d();c(2),C("ngTemplateOutlet",e.loadingSpinnerTemplate()||i)}}function Ht(s,t){if(s&1&&se(0,19),s&2){let i=d(2);C("ngTemplateOutlet",i.clearButtonTemplate())}}function zt(s,t){if(s&1){let i=H();m(0,"span",27,4),B("click",function(n){b(i);let o=d(2);return E(o.handleClearClick(n))}),m(2,"span",28),k(3,"\xD7"),_()()}if(s&2){let i=d(2);C("title",je(i.clearAllText()||i.config.clearAllText)),Z("tabindex",i.tabFocusOnClear()?0:-1)}}function Ut(s,t){if(s&1&&S(0,Ht,1,1,"ng-container",19)(1,zt,4,3,"span",26),s&2){let i=d();w(i.clearButtonTemplate()?0:1)}}function jt(s,t){if(s&1&&W(0,"span",33),s&2){let i=d().$implicit,e=d(2);C("ngItemLabel",i.label)("escape",e.escapeHTML)}}function Wt(s,t){}function Qt(s,t){if(s&1){let i=H();m(0,"div",32),B("click",function(){let n=b(i).$implicit,o=d(2);return E(o.toggleItem(n))})("mouseover",function(){let n=b(i).$implicit,o=d(2);return E(o.onItemHover(n))}),O(1,jt,1,2,"ng-template",null,5,P)(3,Wt,0,0,"ng-template",12),_()}if(s&2){let i=t.$implicit,e=I(2),n=d(2);V("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===n.itemsList.markedItem),Z("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId)("aria-setsize",n.itemsList.filteredItems.length)("aria-posinset",i.index+1),c(3),C("ngTemplateOutlet",i.children?n.optgroupTemplate()||e:n.optionTemplate()||e)("ngTemplateOutletContext",Ke(19,Ft,i.value,i,i.index,n.searchTerm))}}function Gt(s,t){if(s&1&&(m(0,"span")(1,"span",35),k(2),_(),k(3),_()),s&2){let i=d(3);c(2),Q(i.addTagText()||i.config.addTagText),c(),fe('"',i.searchTerm,'"')}}function Kt(s,t){}function Yt(s,t){if(s&1){let i=H();m(0,"div",34),B("mouseover",function(){b(i);let n=d(2);return E(n.itemsList.unmarkItem())})("click",function(){b(i);let n=d(2);return E(n.selectTag())}),O(1,Gt,4,2,"ng-template",null,6,P)(3,Kt,0,0,"ng-template",12),_()}if(s&2){let i=I(2),e=d(2);V("ng-option-marked",!e.itemsList.markedItem),c(3),C("ngTemplateOutlet",e.tagTemplate()||i)("ngTemplateOutletContext",G(4,X,e.searchTerm))}}function Zt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.notFoundText()??i.config.notFoundText)}}function qt(s,t){}function Jt(s,t){if(s&1&&O(0,Zt,2,1,"ng-template",null,7,P)(2,qt,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.notFoundTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function Xt(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.typeToSearchText()||i.config.typeToSearchText)}}function $t(s,t){}function en(s,t){if(s&1&&O(0,Xt,2,1,"ng-template",null,8,P)(2,$t,0,0,"ng-template",19),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.typeToSearchTemplate()||i)}}function tn(s,t){if(s&1&&(m(0,"div",36),k(1),_()),s&2){let i=d(3);c(),Q(i.loadingText()||i.config.loadingText)}}function nn(s,t){}function sn(s,t){if(s&1&&O(0,tn,2,1,"ng-template",null,9,P)(2,nn,0,0,"ng-template",12),s&2){let i=I(1),e=d(2);c(2),C("ngTemplateOutlet",e.loadingTextTemplate()||i)("ngTemplateOutletContext",G(2,X,e.searchTerm))}}function on(s,t){if(s&1){let i=H();m(0,"ng-dropdown-panel",29),B("update",function(n){b(i);let o=d();return E(o.viewPortItems=n)})("scroll",function(n){b(i);let o=d();return E(o.scroll.emit(n))})("scrollToEnd",function(n){b(i);let o=d();return E(o.scrollToEnd.emit(n))})("outsideClick",function(){b(i);let n=d();return E(n.close())}),He(1),he(2,Qt,4,24,"div",30,ce().trackByOption,!0),S(4,Yt,4,6,"div",31),ze(),S(5,Jt,3,4),S(6,en,3,1),S(7,sn,3,4),_()}if(s&2){let i=d(),e=i.appendTo()||i.config.appendTo;Ue(e?i.ngClass()?i.ngClass():i.classes:null),V("ng-select-multiple",i.multiple()),C("virtualScroll",i.virtualScroll()??!i.config.disableVirtualScroll??!1)("bufferAmount",i.bufferAmount())("appendTo",e)("position",i.dropdownPosition())("outsideClickEvent",i.outsideClickEvent())("headerTemplate",i.headerTemplate())("footerTemplate",i.footerTemplate())("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("showAddTag",i.showAddTag)("markedItem",i.itemsList.markedItem)("id",i.dropdownId)("ariaLabelDropdown",i.ariaLabelDropdown()),c(2),pe(i.viewPortItems),c(2),w(i.showAddTag?4:-1),c(),w(i.showNoItemsFound()?5:-1),c(),w(i.showTypeToSearch()?6:-1),c(),w(i.loading()&&i.itemsList.filteredItems.length===0?7:-1)}}function ln(s,t){if(s&1&&k(0),s&2){let i=d();fe(" ",i.notFoundText()??i.config.notFoundText," ")}}var pt=/[&<>"']/g,an=RegExp(pt.source),rn={"&":"&","<":"<",">":">",'"':""","'":"'"};function un(s){return s&&an.test(s)?s.replace(pt,t=>rn[t]):s}function g(s){return s!=null}function j(s){return typeof s=="object"&&g(s)}function dn(s){return s instanceof Promise}function ae(s){return s instanceof Function}var cn=(()=>{let t=class t{constructor(){this.element=p(y),this.ngItemLabel=a(),this.escape=a(!0),_e(()=>{this.element.nativeElement.innerHTML=this.escape()?un(this.ngItemLabel()):this.ngItemLabel()})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:[1,"ngItemLabel"],escape:[1,"escape"]}});let s=t;return s})(),Je=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-option-tmp",""]]});let s=t;return s})(),Xe=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-optgroup-tmp",""]]});let s=t;return s})(),$e=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-label-tmp",""]]});let s=t;return s})(),et=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-multi-label-tmp",""]]});let s=t;return s})(),tt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-header-tmp",""]]});let s=t;return s})(),nt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-footer-tmp",""]]});let s=t;return s})(),it=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-notfound-tmp",""]]});let s=t;return s})(),st=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-placeholder-tmp",""]]});let s=t;return s})(),ot=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-typetosearch-tmp",""]]});let s=t;return s})(),lt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingtext-tmp",""]]});let s=t;return s})(),at=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-tag-tmp",""]]});let s=t;return s})(),rt=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-loadingspinner-tmp",""]]});let s=t;return s})(),ut=(()=>{let t=class t{constructor(){this.template=p(u)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=T({type:t,selectors:[["","ng-clearbutton-tmp",""]]});let s=t;return s})(),hn=(()=>{let t=class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline",this.tabFocusOnClear=!0,this.outsideClickEvent="click"}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),pn=(()=>{let t=class t{warn(e){console.warn(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();function mt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var mn={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function le(s){let t=i=>mn[i]||i;return s.replace(/[^\u0000-\u007E]/g,t)}var ve=class{constructor(t,i){this._ngSelect=t,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected()&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple()&&this._ngSelect.maxSelectedItems()<=this.selectedItems.length}get lastSelectedItem(){let t=this.selectedItems.length-1;for(;t>=0;t--){let i=this.selectedItems[t];if(!i.disabled)return i}return null}setItems(t){this._items=t.map((e,n)=>this.mapItem(e,n));let i=this._ngSelect.groupBy();i?(this._groups=this._groupBy(this._items,i),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(t){if(t.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple();i||this.clearSelected(),this._selectionModel.select(t,i,this._ngSelect.selectableGroupAsModel()),this._ngSelect.hideSelected()&&this._hideSelected(t)}unselect(t){if(!t.selected)return;let i=this._ngSelect.multiple();this._selectionModel.unselect(t,i),this._ngSelect.hideSelected()&&g(t.index)&&i&&this._showSelected(t)}findItem(t){let i;return this._ngSelect.compareWith()?i=e=>this._ngSelect.compareWith()(e.value,t):this._ngSelect.bindValue()?i=e=>!e.children&&this.resolveNested(e.value,this._ngSelect.bindValue())===t:i=e=>e.value===t||!e.children&&e.label&&e.label===this.resolveNested(t,this._ngSelect.bindLabel()),this._items.find(e=>i(e))}addItem(t){let i=this.mapItem(t,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(t=!1){this._selectionModel.clear(t),this._items.forEach(i=>{i.selected=t&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected()&&this.resetFilteredItems()}findByLabel(t){return t=le(t).toLocaleLowerCase(),this.filteredItems.find(i=>le(i.label).toLocaleLowerCase().substr(0,t.length)===t)}filter(t){if(!t){this.resetFilteredItems();return}this._filteredItems=[],t=this._ngSelect.searchFn()?t:le(t).toLocaleLowerCase();let i=this._ngSelect.searchFn()||this._defaultSearchFn,e=this._ngSelect.hideSelected();for(let n of Array.from(this._groups.keys())){let o=[];for(let l of this._groups.get(n)){if(e&&(l.parent&&l.parent.selected||l.selected))continue;let r=this._ngSelect.searchFn()?l.value:l;i(t,r)&&o.push(l)}if(o.length>0){let[l]=o.slice(-1);if(l.parent){let r=this._items.find(h=>h===l.parent);this._filteredItems.push(r)}this._filteredItems.push(...o)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected()&&this.selectedItems.length>0?this._filteredItems=this._items.filter(t=>!t.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(t){this._markedIndex=this._filteredItems.indexOf(t)}markSelectedOrDefault(t){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=t?this.filteredItems.findIndex(e=>!e.disabled):-1}resolveNested(t,i){if(!j(t))return t;if(i.indexOf(".")===-1)return t[i];{let e=i.split("."),n=t;for(let o=0,l=e.length;o<l;++o){if(n==null)return null;n=n[e[o]]}return n}}mapItem(t,i){let e=j(t)&&"$ngOptionLabel"in t,n=j(t)&&"$ngOptionValue"in t,o=e?t.$ngOptionLabel:this.resolveNested(t,this._ngSelect.bindLabel()),l=n?t.$ngOptionValue:t;return{index:i,label:g(o)?o.toString():"",value:l,disabled:t&&t.disabled?t.disabled:!1,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let t=this._ngSelect.multiple();for(let i of this.selectedItems){let e=this._ngSelect.bindValue(),n=null;if(this._ngSelect.compareWith())n=this._items.find(o=>this._ngSelect.compareWith()(o.value,i.value));else{let o=e?this.resolveNested(i.value,e):i.value;n=g(o)?this.findItem(o):null}this._selectionModel.unselect(i,t),this._selectionModel.select(n||i,t,this._ngSelect.selectableGroupAsModel())}this._ngSelect.hideSelected()&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(t){if(this._filteredItems.push(t),t.parent){let i=t.parent;this._filteredItems.find(n=>n===i)||this._filteredItems.push(i)}else if(t.children)for(let i of t.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,e)=>i.index-e.index)]}_hideSelected(t){this._filteredItems=this._filteredItems.filter(i=>i!==t),t.parent?t.parent.children.every(e=>e.selected)&&(this._filteredItems=this._filteredItems.filter(e=>e!==t.parent)):t.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==t))}_defaultSearchFn(t,i){return le(i.label).toLocaleLowerCase().indexOf(t)>-1}_getNextItemIndex(t){return t>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(t){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected()||this._markedIndex>-1&&this.markedItem===void 0)return-1;let t=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&t<0?-1:Math.max(this.markedIndex,t)}_groupBy(t,i){let e=new Map;if(t.length===0)return e;if(Array.isArray(t[0].value[i])){for(let l of t){let r=(l.value[i]||[]).map((h,x)=>this.mapItem(h,x));e.set(l,r)}return e}let n=ae(this._ngSelect.groupBy()),o=l=>{let r=n?i(l.value):l.value[i];return g(r)?r:void 0};for(let l of t){let r=o(l),h=e.get(r);h?h.push(l):e.set(r,[l])}return e}_flatten(t){let i=ae(this._ngSelect.groupBy()),e=[];for(let n of Array.from(t.keys())){let o=e.length;if(n===void 0){let L=t.get(void 0)||[];e.push(...L.map($=>($.index=o++,$)));continue}let l=j(n),r={label:l?"":String(n),children:void 0,parent:null,index:o++,disabled:!this._ngSelect.selectableGroup(),htmlId:mt()},h=i?this._ngSelect.bindLabel():this._ngSelect.groupBy(),x=this._ngSelect.groupValue()||(()=>l?n.value:{[h]:n}),F=t.get(n).map(L=>(L.parent=r,L.children=void 0,L.index=o++,L));r.children=F,r.value=x(n,F.map(L=>L.value)),e.push(r),e.push(...F)}return e}},gt=(()=>{let t=class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,n,o){let l=this._dimensions,r=l.itemHeight*n,x=Math.max(0,e)/r*n,F=Math.min(n,Math.ceil(x)+(l.itemsPerViewport+1)),$=Math.max(0,F-l.itemsPerViewport),N=Math.min($,Math.floor(x)),ee=l.itemHeight*Math.ceil(N)-l.itemHeight*Math.min(N,o);return ee=isNaN(ee)?0:ee,N=isNaN(N)?-1:N,F=isNaN(F)?-1:F,N-=o,N=Math.max(0,N),F+=o,F=Math.min(n,F),{topPadding:ee,scrollHeight:r,start:N,end:F}}setDimensions(e,n){let o=Math.max(1,Math.floor(n/e));this._dimensions={itemHeight:e,panelHeight:n,itemsPerViewport:o}}getScrollTo(e,n,o){let{panelHeight:l}=this.dimensions,r=e+n,h=o,x=h+l;return l>=r&&o===e?null:r>x?h+r-x:e<=h?e:null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac});let s=t;return s})(),dt=["top","right","bottom","left"],gn=typeof requestAnimationFrame<"u"?De:Ae,Ce=(()=>{let t=class t{get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem()){let{itemHeight:e,panelHeight:n}=this._panelService.dimensions,o=this.markedItem().index*e;return n>o?0:o}return 0}constructor(){this._renderer=p(Pe),this._zone=p(Be),this._panelService=p(gt),this._document=p(Ne,{optional:!0}),this._destroyRef=p(ue),this._dropdown=p(y).nativeElement,this.items=a([]),this.showAddTag=a(!1,{transform:f}),this.markedItem=a(void 0),this.position=a("auto"),this.appendTo=a(void 0),this.bufferAmount=a(void 0),this.virtualScroll=a(!1,{transform:f}),this.headerTemplate=a(void 0),this.footerTemplate=a(void 0),this.filterValue=a(null),this.ariaLabelDropdown=a(null),this.outsideClickEvent=a("click"),this.update=v(),this.scroll=v(),this.scrollToEnd=v(),this.outsideClick=v(),this.contentElementRef=U("content",{read:y}),this.scrollElementRef=U("scroll",{read:y}),this.paddingElementRef=U("padding",{read:y}),this._virtualPadding=R(()=>this.paddingElementRef()?.nativeElement),this._scrollablePanel=R(()=>this.scrollElementRef()?.nativeElement),this._contentPanel=R(()=>this.contentElementRef()?.nativeElement),this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._destroyRef.onDestroy(()=>{this.appendTo()&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)})}ngOnInit(){this._select=this._dropdown.parentElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let n=e.items;this._onItemsOrShowAddTagChange(n.currentValue,this.showAddTag(),n.firstChange)}if(e.showAddTag){let n=e.showAddTag;this._onItemsOrShowAddTagChange(this.items(),n.currentValue,n.firstChange)}}scrollTo(e,n=!1){if(!e)return;let o=this.items().indexOf(e);if(o<0||o>=this.itemsLength)return;let l;if(this.virtualScroll()){let r=this._panelService.dimensions.itemHeight;l=this._panelService.getScrollTo(o*r,r,this._lastScrollPosition)}else{let r=this._dropdown.querySelector(`#${e.htmlId}`),h=n?r.offsetTop:this._lastScrollPosition;l=this._panelService.getScrollTo(r.offsetTop,r.clientHeight,h)}g(l)&&(this._scrollablePanel().scrollTop=l)}scrollToTag(){let e=this._scrollablePanel();e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),dt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo()&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){dt.forEach(o=>{let l=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,l),this._renderer.removeClass(this._select,l)});let n=`ng-select-${e}`;this._renderer.addClass(this._dropdown,n),this._renderer.addClass(this._select,n)}_handleScroll(){this._zone.runOutsideAngular(()=>{this._scrollablePanel()&&te(this._scrollablePanel(),"scroll").pipe(J(this._destroyRef),ye(0,gn)).subscribe(e=>{let n=e.target;n&&"scrollTop"in n&&this._onContentScrolled(n.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{te(this._document,this.outsideClickEvent(),{capture:!0}).pipe(J(this._destroyRef)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsOrShowAddTagChange(e=[],n,o){this._scrollToEndFired=!1,this.itemsLength=e.length,n&&e.length&&this.itemsLength++,this.virtualScroll()?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(e){this.update.emit(this.items()),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let n=this._scrollablePanel().clientHeight;this._panelService.setDimensions(0,n),this._handleDropdownPosition(),this.scrollTo(this.markedItem(),e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll()&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding().style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding()&&(this._virtualPadding().style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel().scrollTop;let n=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount());this._updateVirtualHeight(n.scrollHeight),this._contentPanel().style.transform=`translateY(${n.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items().slice(n.start,n.end)),this.scroll.emit({start:n.start,end:n.end})}),g(e)&&this._lastScrollPosition===0&&(this._scrollablePanel().scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items();return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding().style.height=`${o*this.itemsLength}px`;let l=this._scrollablePanel().clientHeight;return this._panelService.setDimensions(o,l),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let n=this.virtualScroll()?this._virtualPadding():this._contentPanel();e+this._dropdown.clientHeight>=n.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){let n=this.position();if(n!=="auto")return n;let o=this._select.getBoundingClientRect(),l=document.documentElement.scrollTop||document.body.scrollTop,r=o.top+window.pageYOffset,h=o.height,x=e.getBoundingClientRect().height;return r+h+x>l+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo()){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo()):document.querySelector(this.appendTo()),!this._parent)throw new Error(`appendTo selector ${this.appendTo()} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=document.documentElement.dir==="rtl",l=e.left-n.left;if(o){let r=n.right-e.right;this._dropdown.style.right=r+"px",this._dropdown.style.left="auto"}else this._dropdown.style.left=l+"px",this._dropdown.style.right="auto";this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let l=n.bottom-e.bottom;this._dropdown.style.bottom=l+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let l=e.top-n.top;this._dropdown.style.top=l+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{te(this._dropdown,"mousedown").pipe(J(this._destroyRef)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(n,o){n&1&&(z(o.contentElementRef,bt,5,y),z(o.scrollElementRef,Et,5,y),z(o.paddingElementRef,Ct,5,y)),n&2&&oe(3)},inputs:{items:[1,"items"],showAddTag:[1,"showAddTag"],markedItem:[1,"markedItem"],position:[1,"position"],appendTo:[1,"appendTo"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],headerTemplate:[1,"headerTemplate"],footerTemplate:[1,"footerTemplate"],filterValue:[1,"filterValue"],ariaLabelDropdown:[1,"ariaLabelDropdown"],outsideClickEvent:[1,"outsideClickEvent"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[de],ngContentSelectors:ht,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(me(),S(0,vt,2,4,"div",3),m(1,"div",4,0),W(3,"div",null,1),m(5,"div",null,2),ge(7),_()(),S(8,Tt,2,4,"div",5)),n&2&&(w(o.headerTemplate()?0:-1),c(),Z("aria-label",o.ariaLabelDropdown()),c(2),V("total-padding",o.virtualScroll()),c(2),V("scrollable-content",o.virtualScroll()&&o.items().length),c(3),w(o.footerTemplate()?8:-1))},dependencies:[Ee],encapsulation:2,changeDetection:0});let s=t;return s})(),ct=(()=>{let t=class t{constructor(){this.value=a(),this.disabled=a(!1,{transform:f}),this.elementRef=p(y),this.label=Y(""),Ve(()=>{let e=(this.elementRef.nativeElement.innerHTML||"").trim();e!==this.label()&&this.label.set(e)})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-option"]],inputs:{value:[1,"value"],disabled:[1,"disabled"]},ngContentSelectors:ht,decls:1,vars:0,template:function(n,o){n&1&&(me(),ge(0))},encapsulation:2,changeDetection:0});let s=t;return s})(),M=(function(s){return s.Tab="Tab",s.Enter="Enter",s.Esc="Escape",s.Space=" ",s.ArrowUp="ArrowUp",s.ArrowDown="ArrowDown",s.Backspace="Backspace",s})(M||{});function ft(){return new Te}var Te=class{constructor(){this._selected=[]}get value(){return this._selected}select(t,i,e){if(t.selected=!0,(!t.children||!i&&e)&&this._selected.push(t),i)if(t.parent){let n=t.parent.children.length,o=t.parent.children.filter(l=>l.selected).length;t.parent.selected=n===o}else t.children&&(this._setChildrenSelectedState(t.children,!0),this._removeChildren(t),e&&this._activeChildren(t)?this._selected=[...this._selected.filter(n=>n.parent!==t),t]:this._selected=[...this._selected,...t.children.filter(n=>!n.disabled)])}unselect(t,i){if(this._selected=this._selected.filter(e=>e!==t),t.selected=!1,i)if(t.parent&&t.parent.selected){let e=t.parent.children;this._removeParent(t.parent),this._removeChildren(t.parent),this._selected.push(...e.filter(n=>n!==t&&!n.disabled)),t.parent.selected=!1}else t.children&&(this._setChildrenSelectedState(t.children,!1),this._removeChildren(t))}clear(t){this._selected=t?this._selected.filter(i=>i.disabled):[]}_setChildrenSelectedState(t,i){for(let e of t)e.disabled||(e.selected=i)}_removeChildren(t){this._selected=[...this._selected.filter(i=>i.parent!==t),...t.children.filter(i=>i.parent===t&&i.disabled&&i.selected)]}_removeParent(t){this._selected=this._selected.filter(i=>i!==t)}_activeChildren(t){return t.children.every(i=>!i.disabled||i.selected)}},_t=new Me("ng-select-selection-model"),On=(()=>{let t=class t{constructor(){this.classes=p(new be("class"),{optional:!0}),this.config=p(hn),this._cd=p(Ze),this._console=p(pn),this._destroyRef=p(ue),this._disabled=Y(!1),this.ariaLabelDropdown=a("Options List"),this.ariaLabel=a(void 0),this.markFirst=a(!0,{transform:f}),this.placeholder=a(this.config.placeholder),this.fixedPlaceholder=a(!0),this.notFoundText=a(void 0),this.typeToSearchText=a(void 0),this.preventToggleOnRightClick=a(!1),this.addTagText=a(void 0),this.loadingText=a(void 0),this.clearAllText=a(void 0),this.dropdownPosition=a("auto"),this.appendTo=a(void 0),this.outsideClickEvent=a(this.config.outsideClickEvent),this.loading=a(!1,{transform:f}),this.closeOnSelect=a(!0,{transform:f}),this.hideSelected=a(!1,{transform:f}),this.selectOnTab=a(!1,{transform:f}),this.openOnEnter=a(void 0,{transform:f}),this.maxSelectedItems=a(void 0,{transform:q}),this.groupBy=a(void 0),this.groupValue=a(void 0),this.bufferAmount=a(4,{transform:q}),this.virtualScroll=a(void 0,{transform:f}),this.selectableGroup=a(!1,{transform:f}),this.tabFocusOnClearButton=a(),this.selectableGroupAsModel=a(!0,{transform:f}),this.searchFn=a(null),this.trackByFn=a(null),this.clearOnBackspace=a(!0,{transform:f}),this.labelForId=a(null),this.inputAttrs=a({}),this.tabIndex=a(void 0,{transform:q}),this.readonly=a(!1,{transform:f}),this.searchWhileComposing=a(!0,{transform:f}),this.minTermLength=a(0,{transform:q}),this.editableSearchTerm=a(!1,{transform:f}),this.ngClass=a(null),this.typeahead=a(void 0),this.multiple=a(!1,{transform:f}),this.addTag=a(!1),this.searchable=a(!0,{transform:f}),this.clearable=a(!0,{transform:f}),this.deselectOnClick=a(),this.clearSearchOnAdd=a(void 0),this.compareWith=a(void 0,{transform:l=>{if(l!=null&&!ae(l))throw Error("`compareWith` must be a function.");return l}}),this.keyDownFn=a(l=>!0),this.bindLabel=K(void 0),this.bindValue=K(void 0),this.appearance=K(void 0),this.isOpen=K(!1),this.items=K([]),this.blurEvent=v({alias:"blur"}),this.focusEvent=v({alias:"focus"}),this.changeEvent=v({alias:"change"}),this.openEvent=v({alias:"open"}),this.closeEvent=v({alias:"close"}),this.searchEvent=v({alias:"search"}),this.clearEvent=v({alias:"clear"}),this.addEvent=v({alias:"add"}),this.removeEvent=v({alias:"remove"}),this.scroll=v({alias:"scroll"}),this.scrollToEnd=v({alias:"scrollToEnd"}),this.disabled=R(()=>this.readonly()||this._disabled()),this.clearSearchOnAddValue=R(()=>g(this.clearSearchOnAdd())?this.clearSearchOnAdd():g(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect()),this.deselectOnClickValue=R(()=>g(this.deselectOnClick())?this.deselectOnClick():g(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple()),this.optionTemplate=D(Je,{read:u}),this.optgroupTemplate=D(Xe,{read:u}),this.labelTemplate=D($e,{read:u}),this.multiLabelTemplate=D(et,{read:u}),this.headerTemplate=D(tt,{read:u}),this.footerTemplate=D(nt,{read:u}),this.notFoundTemplate=D(it,{read:u}),this.placeholderTemplate=D(st,{read:u}),this.typeToSearchTemplate=D(ot,{read:u}),this.loadingTextTemplate=D(lt,{read:u}),this.tagTemplate=D(at,{read:u}),this.loadingSpinnerTemplate=D(rt,{read:u}),this.clearButtonTemplate=D(ut,{read:u}),this.ngOptions=Ye(ct,{descendants:!0}),this.dropdownPanel=U(re(()=>Ce)),this.searchInput=U("searchInput"),this.clearButton=U("clearButton"),this.dropdownId=mt(),this.escapeHTML=!0,this.viewPortItems=[],this.tabFocusOnClear=Y(!0),this.autoFocus=p(new be("autofocus"),{optional:!0}),this._defaultLabel="label",this._editableSearchTerm=R(()=>this.editableSearchTerm()&&!this.multiple()),this._injector=p(Le),this._isComposing=!1,this._keyPress$=new we,this._pressedKeys=[],this._searchTerm=Y(null),this._validTerm=R(()=>{let l=this._searchTerm()?.trim();return l&&l.length>=this.minTermLength()}),this.clearItem=l=>{let r=this.selectedItems.find(h=>h.value===l);this.unselect(r)},this.trackByOption=(l,r)=>this.trackByFn()?this.trackByFn()(r.value):r,this._onChange=l=>{},this._onTouched=()=>{};let e=this.config,n=p(_t,{optional:!0}),o=p(y);this._mergeGlobalConfig(e),this.itemsList=new ve(this,n?n():ft()),this.element=o.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable()||this._isComposing}get focused(){return this._focused}get searchTerm(){return this._searchTerm()}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel())return this.dropdownPanel().currentPosition}get showAddTag(){if(!this._validTerm())return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag()&&!this.itemsList.filteredItems.some(n=>n.label.toLowerCase()===e)&&(!this.hideSelected()&&this.isOpen()||!this.selectedItems.some(n=>n.label.toLowerCase()===e))&&!this.loading()}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&(this._itemsAreUsed=!0,this._setItems(e.items.currentValue||[])),e.isOpen&&(this._manualOpen=g(e.isOpen.currentValue)),e.groupBy&&(e.items||this._setItems([...this.items()])),e.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),g(this.autoFocus)&&this.focus()}handleKeyDown(e){let n=e.key;if(Object.values(M).includes(n)){if(this.keyDownFn()(e)===!1)return;this.handleKeyCode(e)}else n&&n.length===1&&this._keyPress$.next(n.toLocaleLowerCase())}handleKeyCode(e){let n=e.target;this.clearButton()&&this.clearButton().nativeElement===n?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.key){case M.ArrowDown:this._handleArrowDown(e);break;case M.ArrowUp:this._handleArrowUp(e);break;case M.Space:this._handleSpace(e);break;case M.Enter:this._handleEnter(e);break;case M.Tab:this._handleTab(e);break;case M.Esc:this.close(),e.preventDefault();break;case M.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.key){case M.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.disabled())return;if(this.preventToggleOnRightClick()&&e.button===2)return!1;let n=e.target;if(n.tagName!=="INPUT"&&e.preventDefault(),!n.classList.contains("ng-clear-wrapper")){if(n.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}n.classList.contains("ng-value-icon")||(this._focused||this.focus(),this.searchable()?this.open():this.toggle())}}handleArrowClick(){this.isOpen()?this.close():this.open()}handleClearClick(e){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable()&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled.set(e),this._cd.markForCheck()}toggle(){this.isOpen()?this.close():this.open()}open(){this.disabled()||this.isOpen()||this._manualOpen||!this.typeahead()?.observed&&!this.addTag()&&this.itemsList.noItemsToSelect||(this.isOpen.set(!0),this.itemsList.markSelectedOrDefault(this.markFirst()),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen()||this._manualOpen||(this.isOpen.set(!1),this._isComposing=!1,this._editableSearchTerm()?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled()||(this.deselectOnClickValue()&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm()&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAddValue()&&!this._editableSearchTerm()&&this._clearSearch(),this._updateNgModel(),this.multiple()&&this.addEvent.emit(e.value)),(this.closeOnSelect()||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput().nativeElement.focus()}blur(){this.searchInput().nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;ae(this.addTag())?e=this.addTag()(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel()]:this.searchTerm};let n=o=>this.typeahead()?.observed||!this.isOpen()?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);dn(e)?e.then(o=>this.select(n(o))).catch(()=>{}):e&&this.select(n(e))}showClear(){return this.clearable()&&(this.hasValue||this.searchTerm)&&!this.disabled()}focusOnClear(){this.blur(),this.clearButton()&&this.clearButton().nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this.typeahead()?.observed&&!this.loading()||e&&this.typeahead()?.observed&&this._validTerm()&&!this.loading())&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this.typeahead()?.observed&&!this._validTerm()&&!this.loading()}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing()&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing()||(this._searchTerm.set(e),this.typeahead()?.observed&&(this._validTerm()||this.minTermLength()===0)&&this.typeahead().next(e),this.typeahead()?.observed||(this.itemsList.filter(e),this.isOpen()&&this.itemsList.markSelectedOrDefault(this.markFirst())),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(n=>n.value)}),this.open())}onInputFocus(e){this._focused||(this._editableSearchTerm()&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this._focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen()&&!this.disabled()&&this._onTouched(),this._editableSearchTerm()&&this._setSearchTermFromItems(),this._focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems?.[0];this._searchTerm.set(e?.label??null)}_setItems(e){let n=e[0];this.bindLabel.set(this.bindLabel()||this._defaultLabel),this._primitive=g(n)?!j(n):this._primitive||this.bindLabel()===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen()&&g(this.searchTerm)&&!this.typeahead()?.observed&&this.itemsList.filter(this.searchTerm),(this.typeahead()?.observed||this.isOpen())&&this.itemsList.markSelectedOrDefault(this.markFirst())}_setItemsFromNgOptions(){_e(()=>{let e=this.ngOptions();this.bindLabel.set(this._defaultLabel);let n=e.map(o=>({$ngOptionValue:o.value(),$ngOptionLabel:o.elementRef.nativeElement.innerHTML,disabled:o.disabled()}))??[];this.items.set(n),this.itemsList.setItems(n),this.hasValue&&this.itemsList.mapSelectedItems(),this._cd.detectChanges(),e.map(o=>({option:o,item:this.itemsList.findItem(o.value())})).filter(({item:o})=>g(o)).forEach(({option:o,item:l})=>{l.disabled=o.disabled(),l.label=o.label()||l.label})},{injector:this._injector})}_isValidWriteValue(e){if(!g(e)||this.multiple()&&e===""||Array.isArray(e)&&e.length===0)return!1;let n=o=>!g(this.compareWith())&&j(o)&&this.bindValue()?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple()?Array.isArray(e)?e.every(o=>n(o)):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let n=o=>{let l=this.itemsList.findItem(o);if(l)this.itemsList.select(l);else{let r=j(o),h=!r&&!this.bindValue();r||h?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue()&&(l={[this.bindLabel()]:null,[this.bindValue()]:o},this.itemsList.select(this.itemsList.mapItem(l,null)))}};this.multiple()?e.forEach(o=>n(o)):n(e)}_handleKeyPresses(){this.searchable()||this._keyPress$.pipe(J(this._destroyRef),Oe(e=>this._pressedKeys.push(e)),Ie(200),xe(()=>this._pressedKeys.length>0),Fe(()=>this._pressedKeys.join(""))).subscribe(e=>{let n=this.itemsList.findByLabel(e);n&&(this.isOpen()?(this.itemsList.markItem(n),this._scrollToMarked(),this._cd.markForCheck()):this.select(n)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput().nativeElement,n=Se({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId},this.inputAttrs());for(let o of Object.keys(n))e.setAttribute(o,n[o])}_setTabFocusOnClear(){this.tabFocusOnClear.set(g(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue()){let l=null;if(o.children){let r=this.groupValue()?this.bindValue():this.groupBy();l=o.value[r||this.groupBy()]}else l=this.itemsList.resolveNested(o.value,this.bindValue());e.push(l)}else e.push(o.value);let n=this.selectedItems.map(o=>o.value);this.multiple()?(this._onChange(e),this.changeEvent.emit(n)):(this._onChange(g(e[0])?e[0]:null),this.changeEvent.emit(n[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this._searchTerm.set(e),this.typeahead()?.observed&&this.typeahead().next(e)}_scrollToMarked(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollToTag()}_onSelectionChanged(){let e=this.appendTo()??this.config.appendTo;this.isOpen()&&this.deselectOnClickValue()&&e&&(this._cd.detectChanges(),this.dropdownPanel().adjustPosition())}_handleTab(e){if(this.isOpen()===!1){if(this.showClear()&&!e.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),e.preventDefault();else if(!this.addTag())return}this.selectOnTab()?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){let n=this.openOnEnter()??this.config.openOnEnter;if(this.isOpen()||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(n)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen()||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen()&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let n=this.itemsList.markedIndex+e;return this.addTag()&&this.searchTerm&&this.itemsList.markedItem&&(n<0||n===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable()||!this.clearOnBackspace()||!this.hasValue||(this.multiple()?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.bindValue.set(this.bindValue()||e.bindValue),this.bindLabel.set(this.bindLabel()||e.bindLabel),this.appearance.set(this.appearance()||e.appearance),this._setTabFocusOnClear()}getVirtualScroll(e){return g(this.virtualScroll)?this.virtualScroll():this.isVirtualScrollDisabled(e)}isVirtualScrollDisabled(e){return g(e.disableVirtualScroll)?!e.disableVirtualScroll:!1}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-select"]],contentQueries:function(n,o,l){n&1&&(A(l,o.optionTemplate,Je,5,u),A(l,o.optgroupTemplate,Xe,5,u),A(l,o.labelTemplate,$e,5,u),A(l,o.multiLabelTemplate,et,5,u),A(l,o.headerTemplate,tt,5,u),A(l,o.footerTemplate,nt,5,u),A(l,o.notFoundTemplate,it,5,u),A(l,o.placeholderTemplate,st,5,u),A(l,o.typeToSearchTemplate,ot,5,u),A(l,o.loadingTextTemplate,lt,5,u),A(l,o.tagTemplate,at,5,u),A(l,o.loadingSpinnerTemplate,rt,5,u),A(l,o.clearButtonTemplate,ut,5,u),A(l,o.ngOptions,ct,5)),n&2&&oe(14)},viewQuery:function(n,o){n&1&&(z(o.dropdownPanel,Ce,5),z(o.searchInput,St,5),z(o.clearButton,wt,5)),n&2&&oe(3)},hostVars:20,hostBindings:function(n,o){n&1&&B("keydown",function(r){return o.handleKeyDown(r)}),n&2&&V("ng-select",!0)("ng-select-single",!o.multiple())("ng-select-typeahead",o.typeahead())("ng-select-multiple",o.multiple())("ng-select-taggable",o.addTag())("ng-select-searchable",o.searchable())("ng-select-clearable",o.clearable())("ng-select-opened",o.isOpen())("ng-select-filtered",o.filtered)("ng-select-disabled",o.disabled())},inputs:{ariaLabelDropdown:[1,"ariaLabelDropdown"],ariaLabel:[1,"ariaLabel"],markFirst:[1,"markFirst"],placeholder:[1,"placeholder"],fixedPlaceholder:[1,"fixedPlaceholder"],notFoundText:[1,"notFoundText"],typeToSearchText:[1,"typeToSearchText"],preventToggleOnRightClick:[1,"preventToggleOnRightClick"],addTagText:[1,"addTagText"],loadingText:[1,"loadingText"],clearAllText:[1,"clearAllText"],dropdownPosition:[1,"dropdownPosition"],appendTo:[1,"appendTo"],outsideClickEvent:[1,"outsideClickEvent"],loading:[1,"loading"],closeOnSelect:[1,"closeOnSelect"],hideSelected:[1,"hideSelected"],selectOnTab:[1,"selectOnTab"],openOnEnter:[1,"openOnEnter"],maxSelectedItems:[1,"maxSelectedItems"],groupBy:[1,"groupBy"],groupValue:[1,"groupValue"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],selectableGroup:[1,"selectableGroup"],tabFocusOnClearButton:[1,"tabFocusOnClearButton"],selectableGroupAsModel:[1,"selectableGroupAsModel"],searchFn:[1,"searchFn"],trackByFn:[1,"trackByFn"],clearOnBackspace:[1,"clearOnBackspace"],labelForId:[1,"labelForId"],inputAttrs:[1,"inputAttrs"],tabIndex:[1,"tabIndex"],readonly:[1,"readonly"],searchWhileComposing:[1,"searchWhileComposing"],minTermLength:[1,"minTermLength"],editableSearchTerm:[1,"editableSearchTerm"],ngClass:[1,"ngClass"],typeahead:[1,"typeahead"],multiple:[1,"multiple"],addTag:[1,"addTag"],searchable:[1,"searchable"],clearable:[1,"clearable"],deselectOnClick:[1,"deselectOnClick"],clearSearchOnAdd:[1,"clearSearchOnAdd"],compareWith:[1,"compareWith"],keyDownFn:[1,"keyDownFn"],bindLabel:[1,"bindLabel"],bindValue:[1,"bindValue"],appearance:[1,"appearance"],isOpen:[1,"isOpen"],items:[1,"items"]},outputs:{bindLabel:"bindLabelChange",bindValue:"bindValueChange",appearance:"appearanceChange",isOpen:"isOpenChange",items:"itemsChange",blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["ngSelect"],features:[We([{provide:qe,useExisting:re(()=>t),multi:!0},gt]),de],decls:15,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","ng-select-multiple","class","id","ariaLabelDropdown"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"click","title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","id","ariaLabelDropdown"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(n,o){if(n&1){let l=H();m(0,"div",10),B("mousedown",function(h){return b(l),E(o.handleMousedown(h))}),m(1,"div",11),S(2,It,3,1),S(3,Lt,2,0),S(4,Bt,1,5,null,12),m(5,"div",13)(6,"input",14,0),B("blur",function(h){return b(l),E(o.onInputBlur(h))})("change",function(h){return b(l),E(h.stopPropagation())})("compositionend",function(){b(l);let h=I(7);return E(o.onCompositionEnd(h.value))})("compositionstart",function(){return b(l),E(o.onCompositionStart())})("focus",function(h){return b(l),E(o.onInputFocus(h))})("input",function(){b(l);let h=I(7);return E(o.filter(h.value))}),_()()(),S(8,Rt,3,1),S(9,Ut,2,1),m(10,"span",15),W(11,"span",16),_()(),S(12,on,8,21,"ng-dropdown-panel",17),m(13,"div",18),S(14,ln,1,1),_()}n&2&&(V("ng-appearance-outline",o.appearance()==="outline")("ng-has-value",o.hasValue),c(2),w(o.selectedItems.length===0&&!o.searchTerm||(o.fixedPlaceholder()??o.config.fixedPlaceholder)?2:-1),c(),w((!o.multiLabelTemplate()||!o.multiple())&&o.selectedItems.length>0?3:-1),c(),w(o.multiple()&&o.multiLabelTemplate()&&o.selectedValues.length>0?4:-1),c(2),C("disabled",o.disabled())("readOnly",!o.searchable()||o.itemsList.maxItemsSelected)("value",o.searchTerm??""),Z("aria-activedescendant",o.isOpen()?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen()?o.dropdownId:null)("aria-expanded",o.isOpen())("aria-label",o.ariaLabel())("id",o.labelForId())("tabindex",o.tabIndex()),c(2),w(o.loading()?8:-1),c(),w(o.showClear()?9:-1),c(3),w(o.isOpen()?12:-1),c(2),w(o.isOpen()&&o.showNoItemsFound()?14:-1))},dependencies:[Ee,cn,Ce],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
|
|
2
2
|
`],encapsulation:2,changeDetection:0});let s=t;return s})(),kn=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Re({type:t}),t.\u0275inj=ke({providers:fn()});let s=t;return s})();function fn(){return[{provide:_t,useValue:ft}]}export{Je as a,$e as b,tt as c,On as d,kn as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as E,c as k}from"./chunk-
|
|
1
|
+
import{b as E,c as k}from"./chunk-JBS5UYZC.js";import{N as O,o as F}from"./chunk-TEGIL5RZ.js";import{a as N}from"./chunk-WUV22SZ4.js";import{Ab as l,Fb as r,Fc as c,Gb as s,Gc as f,Hb as u,Ib as y,Qa as C,Sa as _,Ub as a,Xa as o,gc as b,gd as P,hc as m,ib as x,jb as I,jc as d,ma as g,sd as M,vd as v,yb as p,yc as V,zc as T}from"./chunk-IEVGW2RT.js";var z=t=>({disabled:t}),S=(t,n)=>({labelFilledInput:t,labelEmptyInput:n});function w(t,n){if(t&1&&(s(0,"a",3),m(1),c(2,"number"),u()),t&2){let e=a(2);r("href",e.inputValue,_),o(),d(" ",e.inputValueType()==="number"?f(2,2,e.inputValue):e.inputValue," ")}}function D(t,n){if(t&1&&(m(0),c(1,"number")),t&2){let e=a(2);d(" ",e.inputValueType()==="number"?f(1,1,e.inputValue):e.inputValue," ")}}function B(t,n){if(t&1&&(s(0,"p",1),p(1,w,3,4,"a",3)(2,D,2,3),u()),t&2){let e=a();o(),l(e.isLink?1:2)}}function H(t,n){if(t&1&&(y(0,"p",2),c(1,"newlines")),t&2){let e=a();r("innerHTML",f(1,1,e.inputValue),C)}}function j(t,n){if(t&1&&m(0),t&2){let e=a();d(" ",e.labelValue," ")}}var h=class t{inputValue;labelValue;inputType="input";labelVisible=!0;disabled=!1;class="mb-8 ";tooltip;isLink=!1;isInputFilled;isNotEmpty=N.IsNotEmpty;inputValueType(){return typeof this.inputValue}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=x({type:t,selectors:[["POS-info-page-input"]],inputs:{inputValue:"inputValue",labelValue:"labelValue",inputType:"inputType",labelVisible:"labelVisible",disabled:"disabled",class:"class",tooltip:"tooltip",isLink:"isLink"},standalone:!1,decls:5,vars:14,consts:[["matTooltipPosition","above",3,"ngClass","matTooltip"],[1,"text-truncate"],[3,"innerHTML"],["target","_blank",3,"href"]],template:function(e,i){e&1&&(s(0,"div",0),p(1,B,3,1,"p",1),p(2,H,2,3,"p",2),s(3,"label"),p(4,j,1,1),u()()),e&2&&(b(i.class),r("ngClass",V(9,z,i.disabled))("matTooltip",i.tooltip),o(),l(i.isNotEmpty(i.inputValue)&&i.inputType=="input"?1:-1),o(),l(i.isNotEmpty(i.inputValue)&&i.inputType=="textarea"?2:-1),o(),b(T(11,S,i.isNotEmpty(i.inputValue),!i.isNotEmpty(i.inputValue))),o(),l(i.labelVisible?4:-1))},dependencies:[P,E,M,F],styles:["div[_ngcontent-%COMP%]{border:1px solid #ced4da;position:relative;border-radius:.25rem!important}p[_ngcontent-%COMP%]{margin-top:18px;margin-bottom:18px;padding-left:.75rem!important;font-size:.875rem}a[_ngcontent-%COMP%]{color:#007bff;text-decoration:none}.labelFilledInput[_ngcontent-%COMP%]{position:absolute;top:-10px;left:10px;background:#fff;padding-left:4px;padding-right:4px;font-size:.75rem!important;color:#9da2a6}.labelEmptyInput[_ngcontent-%COMP%]{margin-top:18px;margin-bottom:18px;padding-left:.75rem!important;font-size:.875rem;color:#ccc}.disabled[_ngcontent-%COMP%]{background-color:#e9ecef;opacity:1}"]})},L=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=I({type:t});static \u0275inj=g({imports:[v,O,k]})};export{h as a,L as b};
|