From 29850115353991aad5e0069ee686ff7d0fbedaad Mon Sep 17 00:00:00 2001 From: xidedix Date: Fri, 21 Jun 2024 22:31:58 +0200 Subject: [PATCH] docs(angular): update to v5.2.2 Angular 18 --- angular/docs/charts/index.html | 8 +++---- .../{chunk-NSF73OQT.js => chunk-26KAVVQL.js} | 2 +- .../{chunk-FZ7UQHE3.js => chunk-2AVMBETS.js} | 2 +- .../{chunk-TVRAGCHV.js => chunk-2CL7LP6W.js} | 2 +- .../{chunk-N3HRZF7B.js => chunk-2GRMDU4I.js} | 2 +- .../{chunk-TUX4GOME.js => chunk-2NTR63DE.js} | 2 +- .../{chunk-KHEJVAJA.js => chunk-2RE6QDUT.js} | 2 +- .../{chunk-XWMMBTWU.js => chunk-2VLVXBYH.js} | 2 +- .../{chunk-PSZHWT7N.js => chunk-32OODQEU.js} | 2 +- .../{chunk-IOURQETH.js => chunk-3GUKBTAZ.js} | 2 +- .../{chunk-TZEEDLL4.js => chunk-3RPAIOEE.js} | 2 +- .../{chunk-75SR53ZB.js => chunk-3UU7CHCP.js} | 2 +- .../{chunk-6OXRDEX7.js => chunk-4AIX6Z6D.js} | 2 +- .../{chunk-7XKRTNVZ.js => chunk-4NGMK3CL.js} | 2 +- .../{chunk-XMD25JUN.js => chunk-4NOU2AZ3.js} | 2 +- .../{chunk-USD67VAW.js => chunk-4SIY6GUH.js} | 2 +- .../{chunk-MSC7WIKV.js => chunk-4X6IOLFU.js} | 2 +- .../{chunk-FX553NHW.js => chunk-54DQ6PNU.js} | 2 +- .../{chunk-MBLK4XH6.js => chunk-55XIW3KQ.js} | 2 +- .../{chunk-QT4PRSSN.js => chunk-57PGWH7C.js} | 2 +- .../{chunk-GEDH2VQL.js => chunk-5IIQSMOZ.js} | 2 +- .../{chunk-KCYAHR4C.js => chunk-5TFAQITA.js} | 2 +- .../{chunk-YDBFBQQC.js => chunk-5WZW3COL.js} | 2 +- .../{chunk-JIBW4UCM.js => chunk-5YT6LIJX.js} | 2 +- .../{chunk-ZRYKY3MP.js => chunk-637KEXIK.js} | 2 +- .../{chunk-43AYKN2K.js => chunk-67N6BHTF.js} | 2 +- .../{chunk-RDJHB37T.js => chunk-6KFT7OBF.js} | 2 +- angular/docs/chunk-6U7QZ4SV.js | 7 ++++++ .../{chunk-MTVNGV5V.js => chunk-6V4ODEFP.js} | 2 +- .../{chunk-Q4CO3HND.js => chunk-6YMP4KPL.js} | 2 +- .../{chunk-TZ7TQCJR.js => chunk-742PP7K6.js} | 2 +- .../{chunk-RQ6PCMUV.js => chunk-7AXQ2ST3.js} | 2 +- .../{chunk-FPQGXMEQ.js => chunk-7GF3S5CV.js} | 2 +- .../{chunk-6HXQWXUN.js => chunk-A7SE7UTL.js} | 2 +- .../{chunk-T7EHJSLU.js => chunk-AKN7XNYI.js} | 2 +- .../{chunk-4NNQVPEV.js => chunk-ANRJTFRC.js} | 2 +- .../{chunk-WL5HBOO5.js => chunk-AVCY7THN.js} | 2 +- .../{chunk-XDBSPVMW.js => chunk-B7SZGDG4.js} | 4 ++-- .../{chunk-5LYXIB6J.js => chunk-C5U3MXIG.js} | 2 +- .../{chunk-2TZWKA5L.js => chunk-CS7VAAKR.js} | 2 +- angular/docs/chunk-CWGLLGP2.js | 1 - .../{chunk-2IKSDGSZ.js => chunk-D272JSA3.js} | 2 +- .../{chunk-ATBE6YUJ.js => chunk-D6CLLZIZ.js} | 2 +- .../{chunk-T5CNCUEW.js => chunk-DADCTN7Z.js} | 2 +- .../{chunk-6TCBKNND.js => chunk-DEQY3XY7.js} | 2 +- .../{chunk-KASAEZY4.js => chunk-DSAGLKP4.js} | 2 +- .../{chunk-NNMKHZUS.js => chunk-DTADTSJV.js} | 2 +- .../{chunk-35W7OU42.js => chunk-DZ5HT6G4.js} | 2 +- .../{chunk-L24MZQ47.js => chunk-EBKHKKNH.js} | 2 +- .../{chunk-635XQOGQ.js => chunk-EFGOJAMD.js} | 2 +- .../{chunk-C4G7K3RW.js => chunk-EZC3DPOO.js} | 2 +- .../{chunk-C434TJEI.js => chunk-F3XLZSRJ.js} | 2 +- .../{chunk-BKKRFA2R.js => chunk-F6VXKCAY.js} | 2 +- .../{chunk-KQYWJLIW.js => chunk-FDIAV3SM.js} | 2 +- .../{chunk-7HIIKNCS.js => chunk-FQRJROYL.js} | 2 +- .../{chunk-TLGXSKMA.js => chunk-FTMIXK42.js} | 2 +- angular/docs/chunk-FULSUUPP.js | 1 + .../{chunk-PERFRTVS.js => chunk-FUXYYFQ6.js} | 2 +- .../{chunk-GHTCDR3O.js => chunk-FW3F3TZD.js} | 2 +- angular/docs/chunk-GFUBTXX2.js | 1 + angular/docs/chunk-GK4OZ4RE.js | 1 + .../{chunk-DJZIKNDB.js => chunk-GPCZCGBN.js} | 2 +- .../{chunk-IWFTLHTS.js => chunk-H7U6MGBM.js} | 2 +- .../{chunk-J4FX3WSX.js => chunk-I7ZDH35V.js} | 2 +- .../{chunk-3WH63G7J.js => chunk-IH2HSX2J.js} | 2 +- .../{chunk-VFZJZ6TQ.js => chunk-IOGNNEEH.js} | 2 +- .../{chunk-UOPZPZQW.js => chunk-IP4ISBZD.js} | 2 +- .../{chunk-YDIXRUSA.js => chunk-IV3JRMWS.js} | 2 +- .../{chunk-6ZZ3DAQX.js => chunk-J3TSKIFE.js} | 2 +- .../{chunk-ZGWVHLBF.js => chunk-J7HUYUND.js} | 2 +- .../{chunk-HAZXEF27.js => chunk-JNNTPHQT.js} | 2 +- .../{chunk-OC4L7NU7.js => chunk-KSJ3YIIK.js} | 2 +- .../{chunk-FEBNR4N6.js => chunk-KTSMVTUS.js} | 2 +- .../{chunk-P6SKLEO5.js => chunk-LD6EGWNL.js} | 2 +- .../{chunk-CXFKW4WM.js => chunk-LEGXD32B.js} | 2 +- .../{chunk-R62ALK5P.js => chunk-LIKYSHTJ.js} | 2 +- .../{chunk-SQZNSUR4.js => chunk-LWLPMGSV.js} | 2 +- .../{chunk-QNSTT6ST.js => chunk-LZN2HRQX.js} | 2 +- .../{chunk-AB5TQEUM.js => chunk-M567KFRF.js} | 2 +- .../{chunk-B2RD3PSG.js => chunk-M5SF5JWP.js} | 2 +- .../{chunk-B6ZWLJIL.js => chunk-MD5QD7EN.js} | 2 +- .../{chunk-OSJFZPWR.js => chunk-MDXBAPWT.js} | 2 +- .../{chunk-SWYVARVN.js => chunk-MH6VOBXJ.js} | 2 +- .../{chunk-CLW57OZ7.js => chunk-MRJZFMZE.js} | 2 +- .../{chunk-FLQSRUE5.js => chunk-MTFJ5AR2.js} | 2 +- .../{chunk-2OMOXFT4.js => chunk-N4ROVJSW.js} | 2 +- .../{chunk-FGE5YXHA.js => chunk-NPO6U5HQ.js} | 2 +- angular/docs/chunk-O6V6MKDU.js | 7 ------ .../{chunk-43KK3SLA.js => chunk-OCK7LDGD.js} | 2 +- .../{chunk-3ROO5ANF.js => chunk-ODVRTR4F.js} | 2 +- .../{chunk-P6W6ST24.js => chunk-OL4HIJQF.js} | 2 +- .../{chunk-J37AVTJX.js => chunk-OLTS3WRU.js} | 2 +- .../{chunk-CI3QMYTK.js => chunk-OSTLPEBO.js} | 2 +- .../{chunk-HUWB23IO.js => chunk-PX3V2ECT.js} | 2 +- .../{chunk-RIELJY7H.js => chunk-PXJBODPY.js} | 2 +- .../{chunk-EBCID5MY.js => chunk-PZ32EFID.js} | 2 +- .../{chunk-JJFVMVK7.js => chunk-Q5WIR6QR.js} | 2 +- .../{chunk-LAZC4L5P.js => chunk-Q654COFM.js} | 2 +- angular/docs/chunk-QWXOJRTG.js | 1 - angular/docs/chunk-QZ6GNV4W.js | 1 - .../{chunk-HB22SVXB.js => chunk-R5MWEJKJ.js} | 4 ++-- .../{chunk-WDRYTTD7.js => chunk-RGDULBMA.js} | 2 +- .../{chunk-2RIOGVKI.js => chunk-RN27QSRB.js} | 2 +- .../{chunk-4EHRG2WJ.js => chunk-S3TRUWXX.js} | 2 +- .../{chunk-EK3ZRZHR.js => chunk-SADLC64C.js} | 2 +- .../{chunk-EYLLMN6C.js => chunk-SKBKKNHC.js} | 2 +- angular/docs/chunk-SPMMWGWV.js | 1 - .../{chunk-E67TCANI.js => chunk-SXC6Y67G.js} | 2 +- .../{chunk-3ZOCGJ4B.js => chunk-TGKW7PGX.js} | 2 +- .../{chunk-ABULJYFK.js => chunk-UDLAPR3G.js} | 2 +- .../{chunk-4Z7JYQH5.js => chunk-UMPUJRDC.js} | 2 +- .../{chunk-6LVDLBAV.js => chunk-UTYOX56O.js} | 2 +- .../{chunk-6UB4B4QL.js => chunk-UU6GLZL4.js} | 2 +- .../{chunk-R2HXWLDR.js => chunk-UYIAOCXU.js} | 2 +- .../{chunk-SDVQTHFU.js => chunk-UZ4XHRO5.js} | 2 +- .../{chunk-R5QBJ3ND.js => chunk-V4QLMYX5.js} | 2 +- .../{chunk-SCSRRCK3.js => chunk-V7AGZRFC.js} | 2 +- .../{chunk-WS76WYYX.js => chunk-W6R2HVCP.js} | 2 +- .../{chunk-JZLZFTWK.js => chunk-WFHPAILT.js} | 2 +- .../{chunk-6VQYNMHT.js => chunk-WFOV5FNG.js} | 2 +- .../{chunk-Y6WUDGUL.js => chunk-WGVE5UEZ.js} | 2 +- .../{chunk-FD6TS4SY.js => chunk-WNBGUXF6.js} | 2 +- .../{chunk-JTYAMBBT.js => chunk-WYQS275H.js} | 2 +- .../{chunk-XQG32QJB.js => chunk-WZMOPKFN.js} | 2 +- .../{chunk-R5VILIZ4.js => chunk-WZSJYS2F.js} | 2 +- .../{chunk-IMFIUNMP.js => chunk-XEGE2RHV.js} | 2 +- .../{chunk-4GB7KXWL.js => chunk-XEJ46ETR.js} | 2 +- .../{chunk-FIXU3TFH.js => chunk-XHR4TYVD.js} | 2 +- .../{chunk-BBXB6IKX.js => chunk-XIKXT37U.js} | 2 +- angular/docs/chunk-XPMARKUH.js | 1 + .../{chunk-NEQOHQJO.js => chunk-XU4RTE5H.js} | 2 +- .../{chunk-DOUQMV72.js => chunk-Y4VP6P5I.js} | 2 +- .../{chunk-Y6X7IJBC.js => chunk-YBCST65W.js} | 2 +- .../{chunk-32VAZHQT.js => chunk-YDRGUCUS.js} | 2 +- .../{chunk-FHDSBCC2.js => chunk-YN74WUSE.js} | 2 +- .../{chunk-OITPDOPG.js => chunk-YZGUR6JB.js} | 2 +- .../{chunk-C5JPXVV5.js => chunk-ZGGOM75Q.js} | 2 +- .../{chunk-CM2T5DOI.js => chunk-ZP76RTW2.js} | 2 +- .../{chunk-FSIX3GLT.js => chunk-ZWH3KDDA.js} | 2 +- angular/docs/components/accordion/index.html | 8 +++---- angular/docs/components/alert/index.html | 6 ++--- angular/docs/components/avatar/index.html | 6 ++--- angular/docs/components/badge/index.html | 8 +++---- angular/docs/components/breadcrumb/index.html | 8 +++---- .../docs/components/button-group/index.html | 6 ++--- angular/docs/components/button/index.html | 6 ++--- angular/docs/components/callout/index.html | 6 ++--- angular/docs/components/card/index.html | 6 ++--- angular/docs/components/carousel/index.html | 6 ++--- .../docs/components/close-button/index.html | 6 ++--- angular/docs/components/collapse/index.html | 6 ++--- angular/docs/components/dropdown/index.html | 8 +++---- angular/docs/components/footer/index.html | 6 ++--- angular/docs/components/header/index.html | 8 +++---- angular/docs/components/image/index.html | 6 ++--- angular/docs/components/index.html | 6 ++--- angular/docs/components/list-group/index.html | 6 ++--- .../docs/components/loading-button/index.html | 8 +++---- angular/docs/components/modal/index.html | 6 ++--- angular/docs/components/nav/index.html | 8 +++---- angular/docs/components/navbar/index.html | 8 +++---- angular/docs/components/offcanvas/index.html | 4 ++-- angular/docs/components/pagination/index.html | 6 ++--- .../docs/components/placeholder/index.html | 6 ++--- angular/docs/components/popover/index.html | 8 +++---- angular/docs/components/progress/index.html | 6 ++--- angular/docs/components/sidebar/index.html | 6 ++--- .../components/smart-pagination/index.html | 8 +++---- .../docs/components/smart-table/index.html | 8 +++---- angular/docs/components/spinner/index.html | 8 +++---- angular/docs/components/table/index.html | 6 ++--- angular/docs/components/tabs/index.html | 8 +++---- angular/docs/components/toast/index.html | 22 +++++++++---------- angular/docs/components/tooltip/index.html | 8 +++---- angular/docs/components/widgets/index.html | 6 ++--- .../docs/customize/css-variables/index.html | 8 +++---- angular/docs/customize/index.html | 6 ++--- angular/docs/customize/options/index.html | 8 +++---- angular/docs/customize/sass/index.html | 6 ++--- angular/docs/forms/checks-radios/index.html | 8 +++---- angular/docs/forms/date-picker/index.html | 6 ++--- .../docs/forms/date-range-picker/index.html | 8 +++---- angular/docs/forms/floating-labels/index.html | 6 ++--- angular/docs/forms/form-control/index.html | 6 ++--- angular/docs/forms/index.html | 6 ++--- angular/docs/forms/input-group/index.html | 8 +++---- angular/docs/forms/layout/index.html | 8 +++---- angular/docs/forms/multi-select/index.html | 6 ++--- angular/docs/forms/overview/index.html | 6 ++--- angular/docs/forms/range/index.html | 6 ++--- angular/docs/forms/rating/index.html | 8 +++---- angular/docs/forms/select/index.html | 8 +++---- angular/docs/forms/time-picker/index.html | 8 +++---- angular/docs/forms/validation/index.html | 6 ++--- angular/docs/getting-started/index.html | 4 ++-- .../getting-started/introduction/index.html | 4 ++-- .../getting-started/support-coreui/index.html | 4 ++-- angular/docs/icons/index.html | 8 +++---- angular/docs/index.csr.html | 2 +- angular/docs/index.html | 4 ++-- angular/docs/layout/breakpoints/index.html | 6 ++--- angular/docs/layout/columns/index.html | 6 ++--- angular/docs/layout/containers/index.html | 6 ++--- angular/docs/layout/grid/index.html | 6 ++--- angular/docs/layout/gutters/index.html | 6 ++--- angular/docs/layout/index.html | 6 ++--- .../{main-YG5DFUNC.js => main-INGCW7CY.js} | 4 ++-- .../docs/migration/angular-version/index.html | 10 ++++----- angular/docs/migration/index.html | 8 +++---- angular/docs/migration/v3-v4/index.html | 6 ++--- angular/docs/migration/v4-v5/index.html | 8 +++---- angular/docs/polyfills-N6LQB2YD.js | 2 -- angular/docs/polyfills-OGAK7ZCH.js | 2 ++ .../docs/templates/admin-dashboard/index.html | 8 +++---- angular/docs/templates/content/index.html | 6 ++--- angular/docs/templates/customize/index.html | 6 ++--- angular/docs/templates/download/index.html | 6 ++--- angular/docs/templates/index.html | 8 +++---- .../docs/templates/installation/index.html | 6 ++--- 219 files changed, 411 insertions(+), 411 deletions(-) rename angular/docs/{chunk-NSF73OQT.js => chunk-26KAVVQL.js} (98%) rename angular/docs/{chunk-FZ7UQHE3.js => chunk-2AVMBETS.js} (95%) rename angular/docs/{chunk-TVRAGCHV.js => chunk-2CL7LP6W.js} (89%) rename angular/docs/{chunk-N3HRZF7B.js => chunk-2GRMDU4I.js} (86%) rename angular/docs/{chunk-TUX4GOME.js => chunk-2NTR63DE.js} (77%) rename angular/docs/{chunk-KHEJVAJA.js => chunk-2RE6QDUT.js} (95%) rename angular/docs/{chunk-XWMMBTWU.js => chunk-2VLVXBYH.js} (96%) rename angular/docs/{chunk-PSZHWT7N.js => chunk-32OODQEU.js} (92%) rename angular/docs/{chunk-IOURQETH.js => chunk-3GUKBTAZ.js} (91%) rename angular/docs/{chunk-TZEEDLL4.js => chunk-3RPAIOEE.js} (95%) rename angular/docs/{chunk-75SR53ZB.js => chunk-3UU7CHCP.js} (99%) rename angular/docs/{chunk-6OXRDEX7.js => chunk-4AIX6Z6D.js} (97%) rename angular/docs/{chunk-7XKRTNVZ.js => chunk-4NGMK3CL.js} (99%) rename angular/docs/{chunk-XMD25JUN.js => chunk-4NOU2AZ3.js} (67%) rename angular/docs/{chunk-USD67VAW.js => chunk-4SIY6GUH.js} (92%) rename angular/docs/{chunk-MSC7WIKV.js => chunk-4X6IOLFU.js} (96%) rename angular/docs/{chunk-FX553NHW.js => chunk-54DQ6PNU.js} (97%) rename angular/docs/{chunk-MBLK4XH6.js => chunk-55XIW3KQ.js} (93%) rename angular/docs/{chunk-QT4PRSSN.js => chunk-57PGWH7C.js} (94%) rename angular/docs/{chunk-GEDH2VQL.js => chunk-5IIQSMOZ.js} (76%) rename angular/docs/{chunk-KCYAHR4C.js => chunk-5TFAQITA.js} (93%) rename angular/docs/{chunk-YDBFBQQC.js => chunk-5WZW3COL.js} (94%) rename angular/docs/{chunk-JIBW4UCM.js => chunk-5YT6LIJX.js} (98%) rename angular/docs/{chunk-ZRYKY3MP.js => chunk-637KEXIK.js} (94%) rename angular/docs/{chunk-43AYKN2K.js => chunk-67N6BHTF.js} (94%) rename angular/docs/{chunk-RDJHB37T.js => chunk-6KFT7OBF.js} (93%) create mode 100644 angular/docs/chunk-6U7QZ4SV.js rename angular/docs/{chunk-MTVNGV5V.js => chunk-6V4ODEFP.js} (97%) rename angular/docs/{chunk-Q4CO3HND.js => chunk-6YMP4KPL.js} (97%) rename angular/docs/{chunk-TZ7TQCJR.js => chunk-742PP7K6.js} (97%) rename angular/docs/{chunk-RQ6PCMUV.js => chunk-7AXQ2ST3.js} (91%) rename angular/docs/{chunk-FPQGXMEQ.js => chunk-7GF3S5CV.js} (84%) rename angular/docs/{chunk-6HXQWXUN.js => chunk-A7SE7UTL.js} (92%) rename angular/docs/{chunk-T7EHJSLU.js => chunk-AKN7XNYI.js} (85%) rename angular/docs/{chunk-4NNQVPEV.js => chunk-ANRJTFRC.js} (95%) rename angular/docs/{chunk-WL5HBOO5.js => chunk-AVCY7THN.js} (98%) rename angular/docs/{chunk-XDBSPVMW.js => chunk-B7SZGDG4.js} (90%) rename angular/docs/{chunk-5LYXIB6J.js => chunk-C5U3MXIG.js} (94%) rename angular/docs/{chunk-2TZWKA5L.js => chunk-CS7VAAKR.js} (93%) delete mode 100644 angular/docs/chunk-CWGLLGP2.js rename angular/docs/{chunk-2IKSDGSZ.js => chunk-D272JSA3.js} (91%) rename angular/docs/{chunk-ATBE6YUJ.js => chunk-D6CLLZIZ.js} (99%) rename angular/docs/{chunk-T5CNCUEW.js => chunk-DADCTN7Z.js} (80%) rename angular/docs/{chunk-6TCBKNND.js => chunk-DEQY3XY7.js} (97%) rename angular/docs/{chunk-KASAEZY4.js => chunk-DSAGLKP4.js} (98%) rename angular/docs/{chunk-NNMKHZUS.js => chunk-DTADTSJV.js} (98%) rename angular/docs/{chunk-35W7OU42.js => chunk-DZ5HT6G4.js} (97%) rename angular/docs/{chunk-L24MZQ47.js => chunk-EBKHKKNH.js} (82%) rename angular/docs/{chunk-635XQOGQ.js => chunk-EFGOJAMD.js} (95%) rename angular/docs/{chunk-C4G7K3RW.js => chunk-EZC3DPOO.js} (96%) rename angular/docs/{chunk-C434TJEI.js => chunk-F3XLZSRJ.js} (83%) rename angular/docs/{chunk-BKKRFA2R.js => chunk-F6VXKCAY.js} (91%) rename angular/docs/{chunk-KQYWJLIW.js => chunk-FDIAV3SM.js} (95%) rename angular/docs/{chunk-7HIIKNCS.js => chunk-FQRJROYL.js} (92%) rename angular/docs/{chunk-TLGXSKMA.js => chunk-FTMIXK42.js} (96%) create mode 100644 angular/docs/chunk-FULSUUPP.js rename angular/docs/{chunk-PERFRTVS.js => chunk-FUXYYFQ6.js} (96%) rename angular/docs/{chunk-GHTCDR3O.js => chunk-FW3F3TZD.js} (96%) create mode 100644 angular/docs/chunk-GFUBTXX2.js create mode 100644 angular/docs/chunk-GK4OZ4RE.js rename angular/docs/{chunk-DJZIKNDB.js => chunk-GPCZCGBN.js} (95%) rename angular/docs/{chunk-IWFTLHTS.js => chunk-H7U6MGBM.js} (97%) rename angular/docs/{chunk-J4FX3WSX.js => chunk-I7ZDH35V.js} (92%) rename angular/docs/{chunk-3WH63G7J.js => chunk-IH2HSX2J.js} (85%) rename angular/docs/{chunk-VFZJZ6TQ.js => chunk-IOGNNEEH.js} (89%) rename angular/docs/{chunk-UOPZPZQW.js => chunk-IP4ISBZD.js} (96%) rename angular/docs/{chunk-YDIXRUSA.js => chunk-IV3JRMWS.js} (92%) rename angular/docs/{chunk-6ZZ3DAQX.js => chunk-J3TSKIFE.js} (97%) rename angular/docs/{chunk-ZGWVHLBF.js => chunk-J7HUYUND.js} (97%) rename angular/docs/{chunk-HAZXEF27.js => chunk-JNNTPHQT.js} (96%) rename angular/docs/{chunk-OC4L7NU7.js => chunk-KSJ3YIIK.js} (96%) rename angular/docs/{chunk-FEBNR4N6.js => chunk-KTSMVTUS.js} (57%) rename angular/docs/{chunk-P6SKLEO5.js => chunk-LD6EGWNL.js} (94%) rename angular/docs/{chunk-CXFKW4WM.js => chunk-LEGXD32B.js} (96%) rename angular/docs/{chunk-R62ALK5P.js => chunk-LIKYSHTJ.js} (61%) rename angular/docs/{chunk-SQZNSUR4.js => chunk-LWLPMGSV.js} (96%) rename angular/docs/{chunk-QNSTT6ST.js => chunk-LZN2HRQX.js} (99%) rename angular/docs/{chunk-AB5TQEUM.js => chunk-M567KFRF.js} (95%) rename angular/docs/{chunk-B2RD3PSG.js => chunk-M5SF5JWP.js} (56%) rename angular/docs/{chunk-B6ZWLJIL.js => chunk-MD5QD7EN.js} (96%) rename angular/docs/{chunk-OSJFZPWR.js => chunk-MDXBAPWT.js} (93%) rename angular/docs/{chunk-SWYVARVN.js => chunk-MH6VOBXJ.js} (81%) rename angular/docs/{chunk-CLW57OZ7.js => chunk-MRJZFMZE.js} (95%) rename angular/docs/{chunk-FLQSRUE5.js => chunk-MTFJ5AR2.js} (89%) rename angular/docs/{chunk-2OMOXFT4.js => chunk-N4ROVJSW.js} (79%) rename angular/docs/{chunk-FGE5YXHA.js => chunk-NPO6U5HQ.js} (90%) delete mode 100644 angular/docs/chunk-O6V6MKDU.js rename angular/docs/{chunk-43KK3SLA.js => chunk-OCK7LDGD.js} (75%) rename angular/docs/{chunk-3ROO5ANF.js => chunk-ODVRTR4F.js} (89%) rename angular/docs/{chunk-P6W6ST24.js => chunk-OL4HIJQF.js} (94%) rename angular/docs/{chunk-J37AVTJX.js => chunk-OLTS3WRU.js} (96%) rename angular/docs/{chunk-CI3QMYTK.js => chunk-OSTLPEBO.js} (97%) rename angular/docs/{chunk-HUWB23IO.js => chunk-PX3V2ECT.js} (97%) rename angular/docs/{chunk-RIELJY7H.js => chunk-PXJBODPY.js} (96%) rename angular/docs/{chunk-EBCID5MY.js => chunk-PZ32EFID.js} (97%) rename angular/docs/{chunk-JJFVMVK7.js => chunk-Q5WIR6QR.js} (99%) rename angular/docs/{chunk-LAZC4L5P.js => chunk-Q654COFM.js} (90%) delete mode 100644 angular/docs/chunk-QWXOJRTG.js delete mode 100644 angular/docs/chunk-QZ6GNV4W.js rename angular/docs/{chunk-HB22SVXB.js => chunk-R5MWEJKJ.js} (98%) rename angular/docs/{chunk-WDRYTTD7.js => chunk-RGDULBMA.js} (85%) rename angular/docs/{chunk-2RIOGVKI.js => chunk-RN27QSRB.js} (89%) rename angular/docs/{chunk-4EHRG2WJ.js => chunk-S3TRUWXX.js} (98%) rename angular/docs/{chunk-EK3ZRZHR.js => chunk-SADLC64C.js} (96%) rename angular/docs/{chunk-EYLLMN6C.js => chunk-SKBKKNHC.js} (97%) delete mode 100644 angular/docs/chunk-SPMMWGWV.js rename angular/docs/{chunk-E67TCANI.js => chunk-SXC6Y67G.js} (94%) rename angular/docs/{chunk-3ZOCGJ4B.js => chunk-TGKW7PGX.js} (95%) rename angular/docs/{chunk-ABULJYFK.js => chunk-UDLAPR3G.js} (97%) rename angular/docs/{chunk-4Z7JYQH5.js => chunk-UMPUJRDC.js} (93%) rename angular/docs/{chunk-6LVDLBAV.js => chunk-UTYOX56O.js} (53%) rename angular/docs/{chunk-6UB4B4QL.js => chunk-UU6GLZL4.js} (94%) rename angular/docs/{chunk-R2HXWLDR.js => chunk-UYIAOCXU.js} (95%) rename angular/docs/{chunk-SDVQTHFU.js => chunk-UZ4XHRO5.js} (95%) rename angular/docs/{chunk-R5QBJ3ND.js => chunk-V4QLMYX5.js} (93%) rename angular/docs/{chunk-SCSRRCK3.js => chunk-V7AGZRFC.js} (95%) rename angular/docs/{chunk-WS76WYYX.js => chunk-W6R2HVCP.js} (95%) rename angular/docs/{chunk-JZLZFTWK.js => chunk-WFHPAILT.js} (99%) rename angular/docs/{chunk-6VQYNMHT.js => chunk-WFOV5FNG.js} (99%) rename angular/docs/{chunk-Y6WUDGUL.js => chunk-WGVE5UEZ.js} (96%) rename angular/docs/{chunk-FD6TS4SY.js => chunk-WNBGUXF6.js} (91%) rename angular/docs/{chunk-JTYAMBBT.js => chunk-WYQS275H.js} (99%) rename angular/docs/{chunk-XQG32QJB.js => chunk-WZMOPKFN.js} (97%) rename angular/docs/{chunk-R5VILIZ4.js => chunk-WZSJYS2F.js} (92%) rename angular/docs/{chunk-IMFIUNMP.js => chunk-XEGE2RHV.js} (91%) rename angular/docs/{chunk-4GB7KXWL.js => chunk-XEJ46ETR.js} (96%) rename angular/docs/{chunk-FIXU3TFH.js => chunk-XHR4TYVD.js} (99%) rename angular/docs/{chunk-BBXB6IKX.js => chunk-XIKXT37U.js} (92%) create mode 100644 angular/docs/chunk-XPMARKUH.js rename angular/docs/{chunk-NEQOHQJO.js => chunk-XU4RTE5H.js} (93%) rename angular/docs/{chunk-DOUQMV72.js => chunk-Y4VP6P5I.js} (96%) rename angular/docs/{chunk-Y6X7IJBC.js => chunk-YBCST65W.js} (92%) rename angular/docs/{chunk-32VAZHQT.js => chunk-YDRGUCUS.js} (98%) rename angular/docs/{chunk-FHDSBCC2.js => chunk-YN74WUSE.js} (93%) rename angular/docs/{chunk-OITPDOPG.js => chunk-YZGUR6JB.js} (95%) rename angular/docs/{chunk-C5JPXVV5.js => chunk-ZGGOM75Q.js} (99%) rename angular/docs/{chunk-CM2T5DOI.js => chunk-ZP76RTW2.js} (82%) rename angular/docs/{chunk-FSIX3GLT.js => chunk-ZWH3KDDA.js} (96%) rename angular/docs/{main-YG5DFUNC.js => main-INGCW7CY.js} (98%) delete mode 100644 angular/docs/polyfills-N6LQB2YD.js create mode 100644 angular/docs/polyfills-OGAK7ZCH.js diff --git a/angular/docs/charts/index.html b/angular/docs/charts/index.html index 709cc47deed..c1dac2575c9 100644 --- a/angular/docs/charts/index.html +++ b/angular/docs/charts/index.html @@ -12,7 +12,7 @@ - + - \ No newline at end of file + \ No newline at end of file diff --git a/angular/docs/chunk-NSF73OQT.js b/angular/docs/chunk-26KAVVQL.js similarity index 98% rename from angular/docs/chunk-NSF73OQT.js rename to angular/docs/chunk-26KAVVQL.js index 41f09c40285..b0d05ed896d 100644 --- a/angular/docs/chunk-NSF73OQT.js +++ b/angular/docs/chunk-26KAVVQL.js @@ -1 +1 @@ -import{$b as t,Bc as e,Oc as m,ac as i,bc as n,na as l}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var p=(()=>{let r=class r{};r.\u0275fac=function(a){return new(a||r)},r.\u0275cmp=l({type:r,selectors:[["docs-support-coreui"]],standalone:!0,features:[m],decls:57,vars:0,consts:[[1,"bg-info","bg-opacity-10","border-start","border-start-5","border-start-info","p-4","pb-3","mb-5"],[1,"support","mb-4"],["href","https://coreui.io/angular/","target","_blank",1,"support-logo"],["alt","CoreUI logo","src","https://coreui.io/images/brand/coreui-signet.svg","height","50","width","50"],["id","support-coreui",1,"ms-1"],["href","https://coreui.io/pricing/?support=angular","target","_blank",1,""],["href","https://opencollective.com/coreui","target","_blank",1,""],["href","https://github.com/coreui","target","_blank"],["href","https://github.com/coreui/coreui-angular","target","_blank",1,""],["href","https://github.com/coreui/coreui","target","_blank",1,""],["href","https://github.com/coreui/coreui-react","target","_blank",1,""],["href","https://github.com/coreui/coreui-vue","target","_blank",1,""],["href","https://github.com/coreui/coreui-icons","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-angular-admin-template","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-bootstrap-admin-template","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-react-admin-template","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-vue-admin-template","target","_blank",1,""]],template:function(a,u){a&1&&(t(0,"div",0)(1,"div",1)(2,"a",2),n(3,"img",3),i(),t(4,"h3",4),e(5,"Support CoreUI Development"),i()(),t(6,"p"),e(7,"CoreUI is an MIT-licensed open-source project and is utterly free to use. However, the effort needed to maintain and develop new features for the project is not sustainable without proper financial backing."),i(),t(8,"p"),e(9,"You can support our Open Source software development in the following ways:"),i(),t(10,"ul")(11,"li"),e(12,"Buy the "),t(13,"a",5),e(14,"CoreUI PRO"),i(),e(15," and get access to PRO components and dedicated support. "),i(),t(16,"li")(17,"a",6),e(18,"Become a sponsor"),i(),e(19," and get your logo on BACKERS.md/README.md files or each page of this documentation. "),i(),t(20,"li"),e(21,"You can also star \u2B50 our repositories on "),t(22,"a",7),e(23,"CoreUI GitHub"),i(),e(24,": "),n(25,"br")(26,"br"),t(27,"ul")(28,"li")(29,"a",8),e(30,"CoreUI Angular"),i()(),t(31,"li")(32,"a",9),e(33,"CoreUI Bootstrap"),i()(),t(34,"li")(35,"a",10),e(36,"CoreUI React"),i()(),t(37,"li")(38,"a",11),e(39,"CoreUI Vue"),i()(),t(40,"li")(41,"a",12),e(42,"CoreUI Icons"),i()()(),n(43,"br"),t(44,"ul")(45,"li")(46,"a",13),e(47,"CoreUI Angular Admin Dashboard Template"),i()(),t(48,"li")(49,"a",14),e(50,"CoreUI Bootstrap Admin Dashboard Template"),i()(),t(51,"li")(52,"a",15),e(53,"CoreUI React Admin Dashboard Template"),i()(),t(54,"li")(55,"a",16),e(56,"CoreUI Vue Admin Dashboard Template"),i()()()()()())},styles:[".support[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start}.support-logo[_ngcontent-%COMP%]{flex-basis:auto;align-self:center}"]});let o=r;return o})();export{p as SupportCoreuiComponent}; +import{$b as t,Bc as e,Oc as m,ac as i,bc as n,na as l}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var p=(()=>{let r=class r{};r.\u0275fac=function(a){return new(a||r)},r.\u0275cmp=l({type:r,selectors:[["docs-support-coreui"]],standalone:!0,features:[m],decls:57,vars:0,consts:[[1,"bg-info","bg-opacity-10","border-start","border-start-5","border-start-info","p-4","pb-3","mb-5"],[1,"support","mb-4"],["href","https://coreui.io/angular/","target","_blank",1,"support-logo"],["alt","CoreUI logo","src","https://coreui.io/images/brand/coreui-signet.svg","height","50","width","50"],["id","support-coreui",1,"ms-1"],["href","https://coreui.io/pricing/?support=angular","target","_blank",1,""],["href","https://opencollective.com/coreui","target","_blank",1,""],["href","https://github.com/coreui","target","_blank"],["href","https://github.com/coreui/coreui-angular","target","_blank",1,""],["href","https://github.com/coreui/coreui","target","_blank",1,""],["href","https://github.com/coreui/coreui-react","target","_blank",1,""],["href","https://github.com/coreui/coreui-vue","target","_blank",1,""],["href","https://github.com/coreui/coreui-icons","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-angular-admin-template","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-bootstrap-admin-template","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-react-admin-template","target","_blank",1,""],["href","https://github.com/coreui/coreui-free-vue-admin-template","target","_blank",1,""]],template:function(a,u){a&1&&(t(0,"div",0)(1,"div",1)(2,"a",2),n(3,"img",3),i(),t(4,"h3",4),e(5,"Support CoreUI Development"),i()(),t(6,"p"),e(7,"CoreUI is an MIT-licensed open-source project and is utterly free to use. However, the effort needed to maintain and develop new features for the project is not sustainable without proper financial backing."),i(),t(8,"p"),e(9,"You can support our Open Source software development in the following ways:"),i(),t(10,"ul")(11,"li"),e(12,"Buy the "),t(13,"a",5),e(14,"CoreUI PRO"),i(),e(15," and get access to PRO components and dedicated support. "),i(),t(16,"li")(17,"a",6),e(18,"Become a sponsor"),i(),e(19," and get your logo on BACKERS.md/README.md files or each page of this documentation. "),i(),t(20,"li"),e(21,"You can also star \u2B50 our repositories on "),t(22,"a",7),e(23,"CoreUI GitHub"),i(),e(24,": "),n(25,"br")(26,"br"),t(27,"ul")(28,"li")(29,"a",8),e(30,"CoreUI Angular"),i()(),t(31,"li")(32,"a",9),e(33,"CoreUI Bootstrap"),i()(),t(34,"li")(35,"a",10),e(36,"CoreUI React"),i()(),t(37,"li")(38,"a",11),e(39,"CoreUI Vue"),i()(),t(40,"li")(41,"a",12),e(42,"CoreUI Icons"),i()()(),n(43,"br"),t(44,"ul")(45,"li")(46,"a",13),e(47,"CoreUI Angular Admin Dashboard Template"),i()(),t(48,"li")(49,"a",14),e(50,"CoreUI Bootstrap Admin Dashboard Template"),i()(),t(51,"li")(52,"a",15),e(53,"CoreUI React Admin Dashboard Template"),i()(),t(54,"li")(55,"a",16),e(56,"CoreUI Vue Admin Dashboard Template"),i()()()()()())},styles:[".support[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start}.support-logo[_ngcontent-%COMP%]{flex-basis:auto;align-self:center}"]});let o=r;return o})();export{p as SupportCoreuiComponent}; diff --git a/angular/docs/chunk-FZ7UQHE3.js b/angular/docs/chunk-2AVMBETS.js similarity index 95% rename from angular/docs/chunk-FZ7UQHE3.js rename to angular/docs/chunk-2AVMBETS.js index 269ddec8d30..d879ef13839 100644 --- a/angular/docs/chunk-FZ7UQHE3.js +++ b/angular/docs/chunk-2AVMBETS.js @@ -1 +1 @@ -import{a as m,b as v}from"./chunk-GHTCDR3O.js";import{a as G}from"./chunk-QUYVWFHK.js";import{a as z}from"./chunk-QNSTT6ST.js";import{d as q}from"./chunk-FIXU3TFH.js";import{$b as B,A as C,Db as k,F as I,Ia as S,Ka as p,L as w,La as V,Nc as _,Oc as A,Pb as f,Ub as x,ac as N,bc as F,cc as L,dc as M,ec as U,ia as E,id as $,mb as s,na as y,ob as j,pa as O,pd as u,rb as h,rd as d,uc as H,vc as P,wc as Q,xa as D,xb as a}from"./chunk-O6V6MKDU.js";import{a as c,b as g,e as R,f as T,g as b}from"./chunk-MGAX33HK.js";var ee=["tooltipTemplate"],J=(()=>{let i=class i{constructor(o){this.renderer=o,this.content="",this.visible=!1,this.role="tooltip"}get hostClasses(){return{tooltip:!0,fade:!0,show:this.visible,"bs-tooltip-auto":!0}}ngAfterViewInit(){setTimeout(()=>{this.updateView(this.content)})}ngOnChanges(o){o.content&&setTimeout(()=>{this.updateView(this.content)})}ngOnDestroy(){this.clear()}clear(){this.viewContainerRef?.clear(),this.textNode&&this.renderer.removeChild(this.textNode.parentNode,this.textNode)}updateView(o){if(this.clear(),!!o)if(o instanceof j)this.viewContainerRef.createEmbeddedView(o);else{this.textNode=this.renderer.createText(o);let e=this.viewContainerRef.element.nativeElement;this.renderer.appendChild(e.parentNode,this.textNode)}}};i.\u0275fac=function(e){return new(e||i)(s(h))},i.\u0275cmp=y({type:i,selectors:[["c-tooltip"]],viewQuery:function(e,t){if(e&1&&H(ee,5,a),e&2){let l;P(l=Q())&&(t.viewContainerRef=l.first)}},hostVars:4,hostBindings:function(e,t){e&2&&(f("id",t.id)("role",t.role),x(t.hostClasses))},inputs:{content:"content",visible:"visible",id:"id",role:"role"},standalone:!0,features:[D,A],decls:5,vars:0,consts:[["tooltipTemplate",""],["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(e,t){e&1&&(L(0),F(1,"div",1),B(2,"div",2),U(3,null,0),N(),M())},encapsulation:2});let n=i;return n})();var te=(()=>{var i;let r=class r{constructor(e,t,l,K,W,X,Y){T(this,i);this.document=e,this.renderer=t,this.hostElement=l,this.viewContainerRef=K,this.listenersService=W,this.changeDetectorRef=X,this.intersectionService=Y,this.content=p(void 0,{alias:"cTooltip"}),this.contentEffect=d(()=>{this.content()&&this.destroyTooltipElement()}),this.popperOptions=p({},{alias:"cTooltipOptions"}),this.popperOptionsEffect=d(()=>{this._popperOptions=c(g(c({},this._popperOptions),{placement:this.placement()}),this.popperOptions())}),this.popperOptionsComputed=u(()=>c({placement:this.placement()},this._popperOptions)),this.placement=p("top",{alias:"cTooltipPlacement"}),this.reference=p(void 0,{alias:"cTooltipRef"}),this.referenceRef=u(()=>this.reference()?.elementRef??this.hostElement),this.trigger=p("hover",{alias:"cTooltipTrigger"}),this.visible=k(!1,{alias:"cTooltipVisible"}),this.visibleEffect=d(()=>{this.visible()?this.addTooltipElement():this.removeTooltipElement()}),this._popperOptions={modifiers:[{name:"offset",options:{offset:[0,5]}}]},b(this,i,E(S))}get ariaDescribedBy(){return this.tooltipId?this.tooltipId:null}ngAfterViewInit(){this.intersectionServiceSubscribe()}ngOnDestroy(){this.clearListeners(),this.destroyTooltipElement()}ngOnInit(){this.setListeners()}setListeners(){let e={hostElement:this.hostElement,trigger:this.trigger(),callbackToggle:()=>{this.visible.set(!this.visible())},callbackOff:()=>{this.visible.set(!1)},callbackOn:()=>{this.visible.set(!0)}};this.listenersService.setListeners(e)}clearListeners(){this.listenersService.clearListeners()}intersectionServiceSubscribe(){this.intersectionService.createIntersectionObserver(this.referenceRef()),this.intersectionService.intersecting$.pipe(C(e=>e.hostElement===this.referenceRef()),I(100),w(()=>{this.intersectionService.unobserve(this.referenceRef())}),z(R(this,i))).subscribe(e=>{this.visible.set(e.isIntersecting?this.visible():!1)})}getUID(e){let t=e??"random-id";do t=`${e}-${Math.floor(Math.random()*1e6).toString(10)}`;while(this.document.getElementById(t));return t}createTooltipElement(){this.tooltipRef||(this.tooltipRef=this.viewContainerRef.createComponent(J))}destroyTooltipElement(){this.tooltip?.remove(),this.tooltipRef?.destroy(),this.tooltipRef=void 0,this.popperInstance?.destroy(),this.viewContainerRef?.detach(),this.viewContainerRef?.clear()}addTooltipElement(){if(!this.content()){this.destroyTooltipElement();return}if(this.tooltipRef||this.createTooltipElement(),this.tooltipId=this.getUID("tooltip"),this.tooltipRef.instance.id=this.tooltipId,this.tooltipRef.instance.content=this.content()??"",this.tooltip=this.tooltipRef.location.nativeElement,this.renderer.addClass(this.tooltip,"d-none"),this.renderer.addClass(this.tooltip,"fade"),this.popperInstance?.destroy(),this.viewContainerRef.insert(this.tooltipRef.hostView),this.renderer.appendChild(this.document.body,this.tooltip),this.popperInstance=G(this.referenceRef().nativeElement,this.tooltip,c({},this.popperOptionsComputed())),!this.visible()){this.removeTooltipElement();return}this.renderer.removeClass(this.tooltip,"d-none"),this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.tooltipRef&&(this.tooltipRef.instance.visible=this.visible()),this.popperInstance?.forceUpdate(),this.changeDetectorRef?.markForCheck()},100)}removeTooltipElement(){this.tooltipId="",this.tooltipRef&&(this.tooltipRef.instance.visible=!1,this.tooltipRef.instance.id=void 0,this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.viewContainerRef?.detach()},300))}};i=new WeakMap,r.\u0275fac=function(t){return new(t||r)(s(q),s(h),s(V),s(a),s(v),s($),s(m))},r.\u0275dir=O({type:r,selectors:[["","cTooltip",""]],hostVars:1,hostBindings:function(t,l){t&2&&f("aria-describedby",l.ariaDescribedBy)},inputs:{content:[1,"cTooltip","content"],popperOptions:[1,"cTooltipOptions","popperOptions"],placement:[1,"cTooltipPlacement","placement"],reference:[1,"cTooltipRef","reference"],trigger:[1,"cTooltipTrigger","trigger"],visible:[1,"cTooltipVisible","visible"]},outputs:{visible:"cTooltipVisibleChange"},exportAs:["cTooltip"],standalone:!0,features:[_([v,m])]});let n=r;return n})();export{te as a}; +import{a as m,b as v}from"./chunk-FW3F3TZD.js";import{a as G}from"./chunk-QUYVWFHK.js";import{a as z}from"./chunk-LZN2HRQX.js";import{d as q}from"./chunk-XHR4TYVD.js";import{$b as B,A as C,Db as k,F as I,Ia as S,Ka as p,L as w,La as V,Nc as _,Oc as A,Pb as f,Ub as x,ac as N,bc as F,cc as L,dc as M,ec as U,ia as E,id as $,mb as s,na as y,ob as j,pa as O,pd as u,rb as h,rd as d,uc as H,vc as P,wc as Q,xa as D,xb as a}from"./chunk-6U7QZ4SV.js";import{a as c,b as g,e as R,f as T,g as b}from"./chunk-MGAX33HK.js";var ee=["tooltipTemplate"],J=(()=>{let i=class i{constructor(o){this.renderer=o,this.content="",this.visible=!1,this.role="tooltip"}get hostClasses(){return{tooltip:!0,fade:!0,show:this.visible,"bs-tooltip-auto":!0}}ngAfterViewInit(){setTimeout(()=>{this.updateView(this.content)})}ngOnChanges(o){o.content&&setTimeout(()=>{this.updateView(this.content)})}ngOnDestroy(){this.clear()}clear(){this.viewContainerRef?.clear(),this.textNode&&this.renderer.removeChild(this.textNode.parentNode,this.textNode)}updateView(o){if(this.clear(),!!o)if(o instanceof j)this.viewContainerRef.createEmbeddedView(o);else{this.textNode=this.renderer.createText(o);let e=this.viewContainerRef.element.nativeElement;this.renderer.appendChild(e.parentNode,this.textNode)}}};i.\u0275fac=function(e){return new(e||i)(s(h))},i.\u0275cmp=y({type:i,selectors:[["c-tooltip"]],viewQuery:function(e,t){if(e&1&&H(ee,5,a),e&2){let l;P(l=Q())&&(t.viewContainerRef=l.first)}},hostVars:4,hostBindings:function(e,t){e&2&&(f("id",t.id)("role",t.role),x(t.hostClasses))},inputs:{content:"content",visible:"visible",id:"id",role:"role"},standalone:!0,features:[D,A],decls:5,vars:0,consts:[["tooltipTemplate",""],["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(e,t){e&1&&(L(0),F(1,"div",1),B(2,"div",2),U(3,null,0),N(),M())},encapsulation:2});let n=i;return n})();var te=(()=>{var i;let r=class r{constructor(e,t,l,K,W,X,Y){T(this,i);this.document=e,this.renderer=t,this.hostElement=l,this.viewContainerRef=K,this.listenersService=W,this.changeDetectorRef=X,this.intersectionService=Y,this.content=p(void 0,{alias:"cTooltip"}),this.contentEffect=d(()=>{this.content()&&this.destroyTooltipElement()}),this.popperOptions=p({},{alias:"cTooltipOptions"}),this.popperOptionsEffect=d(()=>{this._popperOptions=c(g(c({},this._popperOptions),{placement:this.placement()}),this.popperOptions())}),this.popperOptionsComputed=u(()=>c({placement:this.placement()},this._popperOptions)),this.placement=p("top",{alias:"cTooltipPlacement"}),this.reference=p(void 0,{alias:"cTooltipRef"}),this.referenceRef=u(()=>this.reference()?.elementRef??this.hostElement),this.trigger=p("hover",{alias:"cTooltipTrigger"}),this.visible=k(!1,{alias:"cTooltipVisible"}),this.visibleEffect=d(()=>{this.visible()?this.addTooltipElement():this.removeTooltipElement()}),this._popperOptions={modifiers:[{name:"offset",options:{offset:[0,5]}}]},b(this,i,E(S))}get ariaDescribedBy(){return this.tooltipId?this.tooltipId:null}ngAfterViewInit(){this.intersectionServiceSubscribe()}ngOnDestroy(){this.clearListeners(),this.destroyTooltipElement()}ngOnInit(){this.setListeners()}setListeners(){let e={hostElement:this.hostElement,trigger:this.trigger(),callbackToggle:()=>{this.visible.set(!this.visible())},callbackOff:()=>{this.visible.set(!1)},callbackOn:()=>{this.visible.set(!0)}};this.listenersService.setListeners(e)}clearListeners(){this.listenersService.clearListeners()}intersectionServiceSubscribe(){this.intersectionService.createIntersectionObserver(this.referenceRef()),this.intersectionService.intersecting$.pipe(C(e=>e.hostElement===this.referenceRef()),I(100),w(()=>{this.intersectionService.unobserve(this.referenceRef())}),z(R(this,i))).subscribe(e=>{this.visible.set(e.isIntersecting?this.visible():!1)})}getUID(e){let t=e??"random-id";do t=`${e}-${Math.floor(Math.random()*1e6).toString(10)}`;while(this.document.getElementById(t));return t}createTooltipElement(){this.tooltipRef||(this.tooltipRef=this.viewContainerRef.createComponent(J))}destroyTooltipElement(){this.tooltip?.remove(),this.tooltipRef?.destroy(),this.tooltipRef=void 0,this.popperInstance?.destroy(),this.viewContainerRef?.detach(),this.viewContainerRef?.clear()}addTooltipElement(){if(!this.content()){this.destroyTooltipElement();return}if(this.tooltipRef||this.createTooltipElement(),this.tooltipId=this.getUID("tooltip"),this.tooltipRef.instance.id=this.tooltipId,this.tooltipRef.instance.content=this.content()??"",this.tooltip=this.tooltipRef.location.nativeElement,this.renderer.addClass(this.tooltip,"d-none"),this.renderer.addClass(this.tooltip,"fade"),this.popperInstance?.destroy(),this.viewContainerRef.insert(this.tooltipRef.hostView),this.renderer.appendChild(this.document.body,this.tooltip),this.popperInstance=G(this.referenceRef().nativeElement,this.tooltip,c({},this.popperOptionsComputed())),!this.visible()){this.removeTooltipElement();return}this.renderer.removeClass(this.tooltip,"d-none"),this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.tooltipRef&&(this.tooltipRef.instance.visible=this.visible()),this.popperInstance?.forceUpdate(),this.changeDetectorRef?.markForCheck()},100)}removeTooltipElement(){this.tooltipId="",this.tooltipRef&&(this.tooltipRef.instance.visible=!1,this.tooltipRef.instance.id=void 0,this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.viewContainerRef?.detach()},300))}};i=new WeakMap,r.\u0275fac=function(t){return new(t||r)(s(q),s(h),s(V),s(a),s(v),s($),s(m))},r.\u0275dir=O({type:r,selectors:[["","cTooltip",""]],hostVars:1,hostBindings:function(t,l){t&2&&f("aria-describedby",l.ariaDescribedBy)},inputs:{content:[1,"cTooltip","content"],popperOptions:[1,"cTooltipOptions","popperOptions"],placement:[1,"cTooltipPlacement","placement"],reference:[1,"cTooltipRef","reference"],trigger:[1,"cTooltipTrigger","trigger"],visible:[1,"cTooltipVisible","visible"]},outputs:{visible:"cTooltipVisibleChange"},exportAs:["cTooltip"],standalone:!0,features:[_([v,m])]});let n=r;return n})();export{te as a}; diff --git a/angular/docs/chunk-TVRAGCHV.js b/angular/docs/chunk-2CL7LP6W.js similarity index 89% rename from angular/docs/chunk-TVRAGCHV.js rename to angular/docs/chunk-2CL7LP6W.js index 238956c17ea..e2701694653 100644 --- a/angular/docs/chunk-TVRAGCHV.js +++ b/angular/docs/chunk-2CL7LP6W.js @@ -1 +1 @@ -import{a as b}from"./chunk-2IKSDGSZ.js";import{Ea as c,Eb as u,Fb as d,Gb as n,Pb as p,Ub as l,nd as a,pa as o}from"./chunk-O6V6MKDU.js";var h=(()=>{let t=class t{constructor(){this.active=!1,this.color="primary",this.disabled=!1,this.size="",this.type="button"}get hostClasses(){return{btn:!0,[`btn-${this.color}`]:!!this.color&&!this.variant,[`btn-${this.variant}`]:!!this.variant&&!this.color,[`btn-${this.variant}-${this.color}`]:!!this.variant&&!!this.color,[`btn-${this.size}`]:!!this.size,[`${this.shape}`]:!!this.shape,disabled:this.disabled,active:this.active}}get ariaDisabled(){return this.disabled||null}get isActive(){return this.active||null}get attrDisabled(){return this.disabled?"":null}get tabIndex(){return this.disabled?"-1":null}};t.\u0275fac=function(s){return new(s||t)},t.\u0275dir=o({type:t,selectors:[["","cButton",""]],hostVars:7,hostBindings:function(s,i){s&2&&(p("type",i.type)("aria-disabled",i.ariaDisabled)("aria-pressed",i.isActive)("disabled",i.attrDisabled)("tabindex",i.tabIndex),l(i.hostClasses))},inputs:{active:[2,"active","active",a],color:"color",disabled:[2,"disabled","disabled",a],shape:"shape",size:"size",type:"type",variant:"variant"},exportAs:["cButton"],standalone:!0,features:[n]});let e=t;return e})();var f=(()=>{let t=class t extends h{constructor(){super(...arguments),this.white=!1}get hostClasses(){return{btn:!0,"btn-close":!0,"btn-close-white":this.white,[`btn-${this.size}`]:!!this.size,disabled:this.disabled,active:this.active}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=c(t)))(i||t)}})(),t.\u0275dir=o({type:t,selectors:[["","cButtonClose",""]],hostVars:2,hostBindings:function(s,i){s&2&&l(i.hostClasses)},inputs:{white:[2,"white","white",a]},standalone:!0,features:[n,d([{directive:b,inputs:["dark","dark"]}]),u]});let e=t;return e})();export{h as a,f as b}; +import{a as b}from"./chunk-D272JSA3.js";import{Ea as c,Eb as u,Fb as d,Gb as n,Pb as p,Ub as l,nd as a,pa as o}from"./chunk-6U7QZ4SV.js";var h=(()=>{let t=class t{constructor(){this.active=!1,this.color="primary",this.disabled=!1,this.size="",this.type="button"}get hostClasses(){return{btn:!0,[`btn-${this.color}`]:!!this.color&&!this.variant,[`btn-${this.variant}`]:!!this.variant&&!this.color,[`btn-${this.variant}-${this.color}`]:!!this.variant&&!!this.color,[`btn-${this.size}`]:!!this.size,[`${this.shape}`]:!!this.shape,disabled:this.disabled,active:this.active}}get ariaDisabled(){return this.disabled||null}get isActive(){return this.active||null}get attrDisabled(){return this.disabled?"":null}get tabIndex(){return this.disabled?"-1":null}};t.\u0275fac=function(s){return new(s||t)},t.\u0275dir=o({type:t,selectors:[["","cButton",""]],hostVars:7,hostBindings:function(s,i){s&2&&(p("type",i.type)("aria-disabled",i.ariaDisabled)("aria-pressed",i.isActive)("disabled",i.attrDisabled)("tabindex",i.tabIndex),l(i.hostClasses))},inputs:{active:[2,"active","active",a],color:"color",disabled:[2,"disabled","disabled",a],shape:"shape",size:"size",type:"type",variant:"variant"},exportAs:["cButton"],standalone:!0,features:[n]});let e=t;return e})();var f=(()=>{let t=class t extends h{constructor(){super(...arguments),this.white=!1}get hostClasses(){return{btn:!0,"btn-close":!0,"btn-close-white":this.white,[`btn-${this.size}`]:!!this.size,disabled:this.disabled,active:this.active}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=c(t)))(i||t)}})(),t.\u0275dir=o({type:t,selectors:[["","cButtonClose",""]],hostVars:2,hostBindings:function(s,i){s&2&&l(i.hostClasses)},inputs:{white:[2,"white","white",a]},standalone:!0,features:[n,d([{directive:b,inputs:["dark","dark"]}]),u]});let e=t;return e})();export{h as a,f as b}; diff --git a/angular/docs/chunk-N3HRZF7B.js b/angular/docs/chunk-2GRMDU4I.js similarity index 86% rename from angular/docs/chunk-N3HRZF7B.js rename to angular/docs/chunk-2GRMDU4I.js index 91444d28ca1..6148bac46a8 100644 --- a/angular/docs/chunk-N3HRZF7B.js +++ b/angular/docs/chunk-2GRMDU4I.js @@ -1,4 +1,4 @@ -import{a as k,b as E,c as L,d as I,e as T}from"./chunk-EK3ZRZHR.js";import{a as M,b as F}from"./chunk-B6ZWLJIL.js";import{i as S}from"./chunk-SPMMWGWV.js";import{a as w,c as y,d as C,e as _,f as b}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import"./chunk-2IKSDGSZ.js";import{a as H}from"./chunk-EBCID5MY.js";import{g as P}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as A}from"./chunk-SWYVARVN.js";import{r as N}from"./chunk-JJFVMVK7.js";import{c as x,d as D}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as e,Cc as v,Dc as h,Oc as u,Pc as c,Qb as d,ac as n,bc as l,lb as r,mb as f,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var g=()=>[],j=(()=>{let i=class i{constructor(){this.visible=!0}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-header01"]],standalone:!0,features:[u],decls:33,vars:7,consts:[["fluid",""],[3,"routerLink"],[1,"ms-auto"],["cNavLink","",3,"active","routerLink"],["cNavLink","","routerLink","/components/alert"],["cNavLink","","disabled","","routerLink","/components/alert"],["alignment","end"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""]],template:function(o,s){o&1&&(t(0,"c-header")(1,"c-container",0)(2,"c-header-brand",1),e(3,"Brand"),n(),t(4,"c-header-nav",2)(5,"c-nav-item")(6,"a",3),e(7,"Home"),n()(),t(8,"c-nav-item")(9,"a",4),e(10,"Link"),n()(),t(11,"c-nav-item")(12,"a",5),e(13,"Disabled"),n()(),t(14,"c-dropdown",6)(15,"a",7),e(16,"Dropdown"),n(),t(17,"ul",8)(18,"li")(19,"a",9),e(20,"Action"),n()(),t(21,"li")(22,"a",9),e(23,"Another action"),n()(),t(24,"li"),l(25,"hr",10),n(),t(26,"li")(27,"a",9),e(28,"Something else"),n()()()()()(),l(29,"c-header-divider"),t(30,"c-container",0)(31,"c-header-text"),e(32,"Additional text"),n()()()),o&2&&(r(6),d("active",!0),r(13),d("routerLink",c(4,g)),r(3),d("routerLink",c(5,g)),r(5),d("routerLink",c(6,g)))},dependencies:[S,H,_,w,b,y,C,E,k,L,I,T,F,M],styles:[".header-toggler-icon[_ngcontent-%COMP%]{min-width:25px}"]});let a=i;return a})();var B=`\`\`\`typescript +import{a as k,b as E,c as L,d as I,e as T}from"./chunk-SADLC64C.js";import{a as M,b as F}from"./chunk-MD5QD7EN.js";import{i as S}from"./chunk-FULSUUPP.js";import{a as w,c as y,d as C,e as _,f as b}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import"./chunk-D272JSA3.js";import{a as H}from"./chunk-PZ32EFID.js";import{g as P}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as A}from"./chunk-MH6VOBXJ.js";import{r as N}from"./chunk-Q5WIR6QR.js";import{c as x,d as D}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as e,Cc as v,Dc as h,Oc as u,Pc as c,Qb as d,ac as n,bc as l,lb as r,mb as f,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var g=()=>[],j=(()=>{let i=class i{constructor(){this.visible=!0}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-header01"]],standalone:!0,features:[u],decls:33,vars:7,consts:[["fluid",""],[3,"routerLink"],[1,"ms-auto"],["cNavLink","",3,"active","routerLink"],["cNavLink","","routerLink","/components/alert"],["cNavLink","","disabled","","routerLink","/components/alert"],["alignment","end"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""]],template:function(o,s){o&1&&(t(0,"c-header")(1,"c-container",0)(2,"c-header-brand",1),e(3,"Brand"),n(),t(4,"c-header-nav",2)(5,"c-nav-item")(6,"a",3),e(7,"Home"),n()(),t(8,"c-nav-item")(9,"a",4),e(10,"Link"),n()(),t(11,"c-nav-item")(12,"a",5),e(13,"Disabled"),n()(),t(14,"c-dropdown",6)(15,"a",7),e(16,"Dropdown"),n(),t(17,"ul",8)(18,"li")(19,"a",9),e(20,"Action"),n()(),t(21,"li")(22,"a",9),e(23,"Another action"),n()(),t(24,"li"),l(25,"hr",10),n(),t(26,"li")(27,"a",9),e(28,"Something else"),n()()()()()(),l(29,"c-header-divider"),t(30,"c-container",0)(31,"c-header-text"),e(32,"Additional text"),n()()()),o&2&&(r(6),d("active",!0),r(13),d("routerLink",c(4,g)),r(3),d("routerLink",c(5,g)),r(5),d("routerLink",c(6,g)))},dependencies:[S,H,_,w,b,y,C,E,k,L,I,T,F,M],styles:[".header-toggler-icon[_ngcontent-%COMP%]{min-width:25px}"]});let a=i;return a})();var B=`\`\`\`typescript import { HeaderModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-TUX4GOME.js b/angular/docs/chunk-2NTR63DE.js similarity index 77% rename from angular/docs/chunk-TUX4GOME.js rename to angular/docs/chunk-2NTR63DE.js index 749d951e456..4ccb2f2c513 100644 --- a/angular/docs/chunk-TUX4GOME.js +++ b/angular/docs/chunk-2NTR63DE.js @@ -1 +1 @@ -import{Oc as c,Ub as i,na as l,pc as r,qc as a}from"./chunk-O6V6MKDU.js";var u=["*"],p=(()=>{let t=class t{get hostClasses(){return{callout:!0,[`callout-${this.color}`]:!!this.color}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=l({type:t,selectors:[["c-callout"],["","cCallout",""]],hostVars:2,hostBindings:function(o,s){o&2&&i(s.hostClasses)},inputs:{color:"color"},standalone:!0,features:[c],ngContentSelectors:u,decls:1,vars:0,template:function(o,s){o&1&&(r(),a(0))},styles:["[_nghost-%COMP%]{display:block}"]});let e=t;return e})();export{p as a}; +import{Oc as c,Ub as i,na as l,pc as r,qc as a}from"./chunk-6U7QZ4SV.js";var u=["*"],p=(()=>{let t=class t{get hostClasses(){return{callout:!0,[`callout-${this.color}`]:!!this.color}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=l({type:t,selectors:[["c-callout"],["","cCallout",""]],hostVars:2,hostBindings:function(o,s){o&2&&i(s.hostClasses)},inputs:{color:"color"},standalone:!0,features:[c],ngContentSelectors:u,decls:1,vars:0,template:function(o,s){o&1&&(r(),a(0))},styles:["[_nghost-%COMP%]{display:block}"]});let e=t;return e})();export{p as a}; diff --git a/angular/docs/chunk-KHEJVAJA.js b/angular/docs/chunk-2RE6QDUT.js similarity index 95% rename from angular/docs/chunk-KHEJVAJA.js rename to angular/docs/chunk-2RE6QDUT.js index 1139bbd9f3c..c3180e5a08a 100644 --- a/angular/docs/chunk-KHEJVAJA.js +++ b/angular/docs/chunk-2RE6QDUT.js @@ -1 +1 @@ -import{d as a,g as p,j as r,k as v,m as C}from"./chunk-NNMKHZUS.js";import{Gb as f,La as m,Na as g,Ub as y,mb as l,nd as n,pa as c,rb as u,xa as d}from"./chunk-O6V6MKDU.js";var b=r([a("{{ time }} {{ easing }}")]),x=r([p({height:"*",minHeight:"*"}),a("{{ time }} {{ easing }}",p({height:0,minHeight:0}))]),z=r([a("{{ time }} {{ easing }}")]),A=r([a("{{ time }} {{ easing }}")]);var w=(()=>{let s=class s{set visible(t){this._visible=t}get visible(){return this._visible}constructor(t,i,o){this.hostElement=t,this.renderer=i,this.animationBuilder=o,this.animate=!0,this.horizontal=!1,this._visible=!1,this.navbar=!1,this.duration="350ms",this.transition="ease",this.collapseChange=new g,this.collapsing=!1,this.host=this.hostElement.nativeElement,this.renderer.setStyle(this.host,"display","none")}get hostClasses(){return{"navbar-collapse":this.navbar,"collapse-horizontal":this.horizontal}}ngAfterViewInit(){this.visible&&this.toggle()}ngOnDestroy(){this.destroyPlayer()}ngOnChanges(t){t.visible&&(!t.visible.firstChange||!t.visible.currentValue)&&this.toggle(t.visible.currentValue)}ngDoCheck(){this._visible!==this.visible&&this.toggle()}toggle(t=this.visible){this.createPlayer(t),this.player?.play()}destroyPlayer(){this.player?.destroy()}createPlayer(t=this.visible){this.player?.hasStarted()&&this.destroyPlayer(),t&&this.renderer.removeStyle(this.host,"display");let i=this.animate?this.duration:"0ms",o=this.horizontal?z:b,S=this.horizontal?A:x,e=this.horizontal?"width":"height",H=`scroll${e[0].toUpperCase()+e.slice(1)}`,D=this.animationBuilder.build(v(t?o:S,{params:{time:i,easing:this.transition}}));this.player=D.create(this.host),this.renderer.setStyle(this.host,e,t?0:`${this.host.getBoundingClientRect()[e]}px`),!t&&this.host.offsetHeight,this.player.onStart(()=>{this.setMaxSize(),this.renderer.removeClass(this.host,"collapse"),this.renderer.addClass(this.host,"collapsing"),this.renderer.removeClass(this.host,"show"),this.collapsing=!0,t?this.renderer.setStyle(this.host,e,`${this.host[H]}px`):this.renderer.setStyle(this.host,e,""),this.collapseChange.emit(t?"opening":"collapsing")}),this.player.onDone(()=>{this.visible=t,this.collapsing=!1,this.renderer.removeClass(this.host,"collapsing"),this.renderer.addClass(this.host,"collapse"),t?(this.renderer.addClass(this.host,"show"),this.renderer.setStyle(this.host,e,"")):this.renderer.removeClass(this.host,"show"),this.collapseChange.emit(t?"open":"collapsed")})}setMaxSize(){this.horizontal&&(this.scrollWidth=this.host.scrollWidth,this.scrollWidth>0&&this.renderer.setStyle(this.host,"maxWidth",`${this.scrollWidth}px`))}};s.\u0275fac=function(i){return new(i||s)(l(m),l(u),l(C))},s.\u0275dir=c({type:s,selectors:[["","cCollapse",""]],hostVars:2,hostBindings:function(i,o){i&2&&y(o.hostClasses)},inputs:{animate:[2,"animate","animate",n],horizontal:[2,"horizontal","horizontal",n],visible:[2,"visible","visible",n],navbar:[2,"navbar","navbar",n],duration:"duration",transition:"transition"},outputs:{collapseChange:"collapseChange"},exportAs:["cCollapse"],standalone:!0,features:[f,d]});let h=s;return h})();export{w as a}; +import{d as a,g as p,j as r,k as v,m as C}from"./chunk-DTADTSJV.js";import{Gb as f,La as m,Na as g,Ub as y,mb as l,nd as n,pa as c,rb as u,xa as d}from"./chunk-6U7QZ4SV.js";var b=r([a("{{ time }} {{ easing }}")]),x=r([p({height:"*",minHeight:"*"}),a("{{ time }} {{ easing }}",p({height:0,minHeight:0}))]),z=r([a("{{ time }} {{ easing }}")]),A=r([a("{{ time }} {{ easing }}")]);var w=(()=>{let s=class s{set visible(t){this._visible=t}get visible(){return this._visible}constructor(t,i,o){this.hostElement=t,this.renderer=i,this.animationBuilder=o,this.animate=!0,this.horizontal=!1,this._visible=!1,this.navbar=!1,this.duration="350ms",this.transition="ease",this.collapseChange=new g,this.collapsing=!1,this.host=this.hostElement.nativeElement,this.renderer.setStyle(this.host,"display","none")}get hostClasses(){return{"navbar-collapse":this.navbar,"collapse-horizontal":this.horizontal}}ngAfterViewInit(){this.visible&&this.toggle()}ngOnDestroy(){this.destroyPlayer()}ngOnChanges(t){t.visible&&(!t.visible.firstChange||!t.visible.currentValue)&&this.toggle(t.visible.currentValue)}ngDoCheck(){this._visible!==this.visible&&this.toggle()}toggle(t=this.visible){this.createPlayer(t),this.player?.play()}destroyPlayer(){this.player?.destroy()}createPlayer(t=this.visible){this.player?.hasStarted()&&this.destroyPlayer(),t&&this.renderer.removeStyle(this.host,"display");let i=this.animate?this.duration:"0ms",o=this.horizontal?z:b,S=this.horizontal?A:x,e=this.horizontal?"width":"height",H=`scroll${e[0].toUpperCase()+e.slice(1)}`,D=this.animationBuilder.build(v(t?o:S,{params:{time:i,easing:this.transition}}));this.player=D.create(this.host),this.renderer.setStyle(this.host,e,t?0:`${this.host.getBoundingClientRect()[e]}px`),!t&&this.host.offsetHeight,this.player.onStart(()=>{this.setMaxSize(),this.renderer.removeClass(this.host,"collapse"),this.renderer.addClass(this.host,"collapsing"),this.renderer.removeClass(this.host,"show"),this.collapsing=!0,t?this.renderer.setStyle(this.host,e,`${this.host[H]}px`):this.renderer.setStyle(this.host,e,""),this.collapseChange.emit(t?"opening":"collapsing")}),this.player.onDone(()=>{this.visible=t,this.collapsing=!1,this.renderer.removeClass(this.host,"collapsing"),this.renderer.addClass(this.host,"collapse"),t?(this.renderer.addClass(this.host,"show"),this.renderer.setStyle(this.host,e,"")):this.renderer.removeClass(this.host,"show"),this.collapseChange.emit(t?"open":"collapsed")})}setMaxSize(){this.horizontal&&(this.scrollWidth=this.host.scrollWidth,this.scrollWidth>0&&this.renderer.setStyle(this.host,"maxWidth",`${this.scrollWidth}px`))}};s.\u0275fac=function(i){return new(i||s)(l(m),l(u),l(C))},s.\u0275dir=c({type:s,selectors:[["","cCollapse",""]],hostVars:2,hostBindings:function(i,o){i&2&&y(o.hostClasses)},inputs:{animate:[2,"animate","animate",n],horizontal:[2,"horizontal","horizontal",n],visible:[2,"visible","visible",n],navbar:[2,"navbar","navbar",n],duration:"duration",transition:"transition"},outputs:{collapseChange:"collapseChange"},exportAs:["cCollapse"],standalone:!0,features:[f,d]});let h=s;return h})();export{w as a}; diff --git a/angular/docs/chunk-XWMMBTWU.js b/angular/docs/chunk-2VLVXBYH.js similarity index 96% rename from angular/docs/chunk-XWMMBTWU.js rename to angular/docs/chunk-2VLVXBYH.js index 99c117febf7..58e67c8bbd9 100644 --- a/angular/docs/chunk-XWMMBTWU.js +++ b/angular/docs/chunk-2VLVXBYH.js @@ -1,4 +1,4 @@ -import{c as u,d as A,e as R,g as z,h as O,i as d,l as f}from"./chunk-C5JPXVV5.js";import{B,t as _,u as M}from"./chunk-JZLZFTWK.js";import{i as b}from"./chunk-SPMMWGWV.js";import{a as C,c as D,d as w,e as y,f as F}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as h}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as W}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as U}from"./chunk-SWYVARVN.js";import{r as L}from"./chunk-JJFVMVK7.js";import{c as T,d as k}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as n,Cc as I,Jb as g,Oc as m,Pc as S,Qb as s,_c as E,ac as e,bc as r,lb as c,mb as G,na as l}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var P=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group11"]],standalone:!0,features:[m],decls:16,vars:0,consts:[[1,"mb-3"],["cInputGroupText","","for","inputGroupFile01"],["cFormControl","","id","inputGroupFile01","type","file"],["cFormControl","","id","inputGroupFile02","type","file"],["cInputGroupText","","for","inputGroupFile02"],["cButton","","color","secondary","id","inputGroupFileAddon03","type","button","variant","outline"],["aria-describedby","inputGroupFileAddon03","aria-label","Upload","cFormControl","","id","inputGroupFile03","type","file"],["aria-describedby","inputGroupFileAddon04","aria-label","Upload","cFormControl","","id","inputGroupFile04","type","file"],["cButton","","color","secondary","id","inputGroupFileAddon04","type","button","variant","outline"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"label",1),n(2," Upload "),e(),r(3,"input",2),e(),t(4,"c-input-group",0),r(5,"input",3),t(6,"label",4),n(7," Upload "),e()(),t(8,"c-input-group",0)(9,"button",5),n(10," Button "),e(),r(11,"input",6),e(),t(12,"c-input-group"),r(13,"input",7),t(14,"button",8),n(15," Button "),e()())},dependencies:[u,f,d,h],encapsulation:2});let o=i;return o})();var Y=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group10"]],standalone:!0,features:[m],decls:48,vars:0,consts:[[1,"mb-3"],["cInputGroupText","","for","inputGroupSelect01"],["cSelect","","id","inputGroupSelect01"],["value","1"],["value","2"],["value","3"],["cSelect","","id","inputGroupSelect02"],["cInputGroupText","","for","inputGroupSelect02"],["cButton","","color","secondary","type","button","variant","outline"],["aria-label","Example select with button addon","cSelect","","id","inputGroupSelect03"],["aria-label","Example select with button addon","cSelect","","id","inputGroupSelect04"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"label",1),n(2," Options "),e(),t(3,"select",2)(4,"option"),n(5,"Choose..."),e(),t(6,"option",3),n(7,"One"),e(),t(8,"option",4),n(9,"Two"),e(),t(10,"option",5),n(11,"Three"),e()()(),t(12,"c-input-group",0)(13,"select",6)(14,"option"),n(15,"Choose..."),e(),t(16,"option",3),n(17,"One"),e(),t(18,"option",4),n(19,"Two"),e(),t(20,"option",5),n(21,"Three"),e()(),t(22,"label",7),n(23," Options "),e()(),t(24,"c-input-group",0)(25,"button",8),n(26," Button "),e(),t(27,"select",9)(28,"option"),n(29,"Choose..."),e(),t(30,"option",3),n(31,"One"),e(),t(32,"option",4),n(33,"Two"),e(),t(34,"option",5),n(35,"Three"),e()()(),t(36,"c-input-group")(37,"select",10)(38,"option"),n(39,"Choose..."),e(),t(40,"option",3),n(41,"One"),e(),t(42,"option",4),n(43,"Two"),e(),t(44,"option",5),n(45,"Three"),e()(),t(46,"button",8),n(47," Button "),e()())},dependencies:[u,f,A,B,_,M,h],encapsulation:2});let o=i;return o})();var $=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group09"]],standalone:!0,features:[m],decls:70,vars:3,consts:[[1,"mb-3"],["cButton","","color","secondary","variant","outline"],["split","","cButton","","cDropdownToggle","","color","secondary","variant","outline"],[1,"visually-hidden"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""],["aria-label","Text input with segmented dropdown button","cFormControl",""],["alignment","end"],["cButton","","cDropdownToggle","","color","secondary","variant","outline",3,"split"],["cButton","","color","secondary","type","button","variant","outline"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"c-dropdown")(2,"button",1),n(3," Action "),e(),t(4,"button",2)(5,"span",3),n(6,"Toggle Dropdown"),e()(),t(7,"div",4)(8,"a",5),n(9,"Action"),e(),t(10,"a",5),n(11,"Another action"),e(),t(12,"a",5),n(13,"Something else here"),e(),r(14,"hr",6),t(15,"a",5),n(16,"Separated link"),e()()(),r(17,"input",7),e(),t(18,"c-input-group",0),r(19,"input",7),t(20,"c-dropdown",8)(21,"button",1),n(22," Action "),e(),t(23,"button",9)(24,"span",3),n(25,"Toggle Dropdown"),e()(),t(26,"div",4)(27,"a",5),n(28,"Action"),e(),t(29,"a",5),n(30,"Another action"),e(),t(31,"a",5),n(32,"Something else here"),e(),r(33,"hr",6),t(34,"a",5),n(35,"Separated link"),e()()()(),t(36,"c-input-group")(37,"c-dropdown")(38,"button",10),n(39," Action "),e(),t(40,"button",9)(41,"span",3),n(42,"Toggle Dropdown"),e()(),t(43,"div",4)(44,"a",5),n(45,"Action"),e(),t(46,"a",5),n(47,"Another action"),e(),t(48,"a",5),n(49,"Something else here"),e(),r(50,"hr",6),t(51,"a",5),n(52,"Separated link"),e()()(),r(53,"input",7),t(54,"c-dropdown",8)(55,"button",1),n(56," Action "),e(),t(57,"button",9)(58,"span",3),n(59,"Toggle Dropdown"),e()(),t(60,"div",4)(61,"a",5),n(62,"Action"),e(),t(63,"a",5),n(64,"Another action"),e(),t(65,"a",5),n(66,"Something else here"),e(),r(67,"hr",6),t(68,"a",5),n(69,"Separated link"),e()()()()),p&2&&(c(23),s("split",!0),c(17),s("split",!0),c(17),s("split",!0))},dependencies:[u,y,h,w,D,F,b,C,d],encapsulation:2});let o=i;return o})();var j=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group08"]],standalone:!0,features:[m],decls:58,vars:0,consts:[[1,"mb-3"],["cButton","","cDropdownToggle","","color","secondary","variant","outline"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""],["aria-label","Text input with dropdown button","cFormControl",""],["alignment","end"],["aria-label","Text input with 2 dropdown buttons","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"c-dropdown")(2,"button",1),n(3," Dropdown "),e(),t(4,"div",2)(5,"a",3),n(6,"Action"),e(),t(7,"a",3),n(8,"Another action"),e(),t(9,"a",3),n(10,"Something else here"),e(),r(11,"hr",4),t(12,"a",3),n(13,"Separated link"),e()()(),r(14,"input",5),e(),t(15,"c-input-group",0),r(16,"input",5),t(17,"c-dropdown",6)(18,"button",1),n(19," Dropdown "),e(),t(20,"div",2)(21,"a",3),n(22,"Action"),e(),t(23,"a",3),n(24,"Another action"),e(),t(25,"a",3),n(26,"Something else here"),e(),r(27,"hr",4),t(28,"a",3),n(29,"Separated link"),e()()()(),t(30,"c-input-group")(31,"c-dropdown")(32,"button",1),n(33," Dropdown "),e(),t(34,"div",2)(35,"a",3),n(36,"Action"),e(),t(37,"a",3),n(38,"Another action"),e(),t(39,"a",3),n(40,"Something else here"),e(),r(41,"hr",4),t(42,"a",3),n(43,"Separated link"),e()()(),r(44,"input",7),t(45,"c-dropdown",6)(46,"button",1),n(47," Dropdown "),e(),t(48,"div",2)(49,"a",3),n(50,"Other Action"),e(),t(51,"a",3),n(52,"Another action"),e(),t(53,"a",3),n(54,"Something else here"),e(),r(55,"hr",4),t(56,"a",3),n(57,"Separated link"),e()()()())},dependencies:[u,y,h,w,D,F,b,C,d],encapsulation:2});let o=i;return o})();var N=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group07"]],standalone:!0,features:[m],decls:20,vars:0,consts:[[1,"mb-3"],["cButton","","color","secondary","id","button-addon1","type","button","variant","outline"],["aria-describedby","button-addon1","aria-label","Example text with button addon","cFormControl","","placeholder",""],["aria-describedby","button-addon2","aria-label","Recipient's username","cFormControl","","placeholder","Recipient's username"],["cButton","","color","secondary","id","button-addon2","type","button","variant","outline"],["cButton","","color","secondary","type","button","variant","outline"],["aria-label","Example text with two button addons","cFormControl","","placeholder",""],["aria-label","Recipient's username with two button addons","cFormControl","","placeholder","Recipient's username"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"button",1),n(2," Button "),e(),r(3,"input",2),e(),t(4,"c-input-group",0),r(5,"input",3),t(6,"button",4),n(7," Button "),e()(),t(8,"c-input-group",0)(9,"button",5),n(10," Button "),e(),t(11,"button",5),n(12," Button "),e(),r(13,"input",6),e(),t(14,"c-input-group"),r(15,"input",7),t(16,"button",5),n(17," Button "),e(),t(18,"button",5),n(19," Button "),e()())},dependencies:[u,h,d],encapsulation:2});let o=i;return o})();var q=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group06"]],standalone:!0,features:[m],decls:12,vars:0,consts:[[1,"mb-3"],["cInputGroupText",""],["aria-label","Dollar amount (with dot and two decimal places)","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"$"),e(),t(3,"span",1),n(4,"0.00"),e(),r(5,"input",2),e(),t(6,"c-input-group"),r(7,"input",2),t(8,"span",1),n(9,"$"),e(),t(10,"span",1),n(11,"0.00"),e()())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var H=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group05"]],standalone:!0,features:[m],decls:5,vars:0,consts:[["cInputGroupText",""],["aria-label","First name","cFormControl",""],["aria-label","Last name","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group")(1,"span",0),n(2,"First and last name"),e(),r(3,"input",1)(4,"input",2),e())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var J=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group04"]],standalone:!0,features:[m],decls:10,vars:0,consts:[[1,"mb-3"],["cInputGroupText",""],["cFormCheckInput","","id","checkOne","type","checkbox"],["aria-label","Text input with checkbox","cFormControl",""],["cFormCheckInput","","id","radioOne","type","radio"],["aria-label","Text input with radio button","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1)(2,"c-form-check"),r(3,"input",2),e()(),r(4,"input",3),e(),t(5,"c-input-group")(6,"span",1)(7,"div"),r(8,"input",4),e()(),r(9,"input",5),e())},dependencies:[u,f,z,O,d],encapsulation:2});let o=i;return o})();var K=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group03"]],standalone:!0,features:[m],decls:12,vars:0,consts:[["sizing","sm",1,"mb-3"],["cInputGroupText","","id","inputGroup-sizing-sm"],["aria-describedby","inputGroup-sizing-sm","aria-label","Sizing example input","cFormControl",""],[1,"mb-3"],["cInputGroupText","","id","inputGroup-sizing-default"],["aria-describedby","inputGroup-sizing-default","aria-label","Sizing example input","cFormControl",""],["sizing","lg"],["cInputGroupText","","id","inputGroup-sizing-lg"],["aria-describedby","inputGroup-sizing-lg","aria-label","Sizing example input","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"Small"),e(),r(3,"input",2),e(),t(4,"c-input-group",3)(5,"span",4),n(6,"Default"),e(),r(7,"input",5),e(),t(8,"c-input-group",6)(9,"span",7),n(10,"Large"),e(),r(11,"input",8),e())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var Q=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group02"]],standalone:!0,features:[m],decls:4,vars:0,consts:[[1,"flex-nowrap"],["cInputGroupText","","id","addon-wrapping"],["aria-describedby","addon-wrapping","aria-label","Username","cFormControl","","placeholder","Username"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"@"),e(),r(3,"input",2),e())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var V=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group01"]],standalone:!0,features:[m],decls:29,vars:0,consts:[[1,"mb-3"],["cInputGroupText","","id","basic-addon1"],["aria-describedby","basic-addon1","aria-label","Username","cFormControl","","placeholder","Username"],["aria-describedby","basic-addon2","aria-label","Recipient's username","cFormControl","","placeholder","Recipient's username"],["cInputGroupText","","id","basic-addon2"],["cLabel","","for","basic-url"],["cInputGroupText","","id","basic-addon3"],["aria-describedby","basic-addon3","cFormControl","","id","basic-url"],["cInputGroupText",""],["aria-label","Amount (to the nearest dollar)","cFormControl",""],["aria-label","Username","cFormControl","","placeholder","Username"],["aria-label","Server","cFormControl","","placeholder","Server"],["aria-label","With textarea","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"@"),e(),r(3,"input",2),e(),t(4,"c-input-group",0),r(5,"input",3),t(6,"span",4),n(7,"@example.com"),e()(),t(8,"label",5),n(9,"Your vanity URL"),e(),t(10,"c-input-group",0)(11,"span",6),n(12,"https://example.com/users/"),e(),r(13,"input",7),e(),t(14,"c-input-group",0)(15,"span",8),n(16,"$"),e(),r(17,"input",9),t(18,"span",8),n(19,".00"),e()(),t(20,"c-input-group",0),r(21,"input",10),t(22,"span",8),n(23,"@"),e(),r(24,"input",11),e(),t(25,"c-input-group")(26,"span",8),n(27,"With textarea"),e(),r(28,"textarea",12),e())},dependencies:[u,f,d,R],encapsulation:2});let o=i;return o})();var X=()=>["forms/input-group/examples/input-group01.component.html"],Z=()=>["forms/input-group/examples/input-group02.component.html"],ee=()=>["forms/input-group/examples/input-group03.component.html"],te=()=>["forms/input-group/examples/input-group04.component.html"],ne=()=>["forms/input-group/examples/input-group05.component.html"],ie=()=>["forms/input-group/examples/input-group06.component.html"],oe=()=>["forms/input-group/examples/input-group07.component.html"],re=()=>["forms/input-group/examples/input-group08.component.html"],pe=()=>["forms/input-group/examples/input-group09.component.html"],ae=()=>["forms/input-group/examples/input-group10.component.html"],le=()=>["forms/input-group/examples/input-group11.component.html"];function me(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group01"),e())}function ue(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group02"),e())}function de(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group03"),e())}function ce(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group04"),e())}function se(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group05"),e())}function fe(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group06"),e())}function xe(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group07"),e())}function ge(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group08"),e())}function Se(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group09"),e())}function Ee(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group10"),e())}function ve(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group11"),e())}var mt=(()=>{let i=class i{constructor(a,p){this.metaService=a,this.titleService=p,this.title="Angular Input Group Component",this.description="Easily extend form controls by adding text, buttons, or button groups on either side of textual inputs, custom selects, and custom file inputs."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(p){return new(p||i)(G(T),G(k))},i.\u0275cmp=l({type:i,selectors:[["docs-input-group-docs"]],standalone:!0,features:[m],decls:65,vars:24,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(p,x){p&1&&(t(0,"h1",1),n(1),e(),t(2,"p",2),n(3),e(),r(4,"docs-ads-carbon-loader"),t(5,"markdown"),n(6,` +import{c as u,d as A,e as R,g as z,h as O,i as d,l as f}from"./chunk-ZGGOM75Q.js";import{B,t as _,u as M}from"./chunk-WFHPAILT.js";import{i as b}from"./chunk-FULSUUPP.js";import{a as C,c as D,d as w,e as y,f as F}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as h}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as W}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as U}from"./chunk-MH6VOBXJ.js";import{r as L}from"./chunk-Q5WIR6QR.js";import{c as T,d as k}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as n,Cc as I,Jb as g,Oc as m,Pc as S,Qb as s,_c as E,ac as e,bc as r,lb as c,mb as G,na as l}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var P=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group11"]],standalone:!0,features:[m],decls:16,vars:0,consts:[[1,"mb-3"],["cInputGroupText","","for","inputGroupFile01"],["cFormControl","","id","inputGroupFile01","type","file"],["cFormControl","","id","inputGroupFile02","type","file"],["cInputGroupText","","for","inputGroupFile02"],["cButton","","color","secondary","id","inputGroupFileAddon03","type","button","variant","outline"],["aria-describedby","inputGroupFileAddon03","aria-label","Upload","cFormControl","","id","inputGroupFile03","type","file"],["aria-describedby","inputGroupFileAddon04","aria-label","Upload","cFormControl","","id","inputGroupFile04","type","file"],["cButton","","color","secondary","id","inputGroupFileAddon04","type","button","variant","outline"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"label",1),n(2," Upload "),e(),r(3,"input",2),e(),t(4,"c-input-group",0),r(5,"input",3),t(6,"label",4),n(7," Upload "),e()(),t(8,"c-input-group",0)(9,"button",5),n(10," Button "),e(),r(11,"input",6),e(),t(12,"c-input-group"),r(13,"input",7),t(14,"button",8),n(15," Button "),e()())},dependencies:[u,f,d,h],encapsulation:2});let o=i;return o})();var Y=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group10"]],standalone:!0,features:[m],decls:48,vars:0,consts:[[1,"mb-3"],["cInputGroupText","","for","inputGroupSelect01"],["cSelect","","id","inputGroupSelect01"],["value","1"],["value","2"],["value","3"],["cSelect","","id","inputGroupSelect02"],["cInputGroupText","","for","inputGroupSelect02"],["cButton","","color","secondary","type","button","variant","outline"],["aria-label","Example select with button addon","cSelect","","id","inputGroupSelect03"],["aria-label","Example select with button addon","cSelect","","id","inputGroupSelect04"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"label",1),n(2," Options "),e(),t(3,"select",2)(4,"option"),n(5,"Choose..."),e(),t(6,"option",3),n(7,"One"),e(),t(8,"option",4),n(9,"Two"),e(),t(10,"option",5),n(11,"Three"),e()()(),t(12,"c-input-group",0)(13,"select",6)(14,"option"),n(15,"Choose..."),e(),t(16,"option",3),n(17,"One"),e(),t(18,"option",4),n(19,"Two"),e(),t(20,"option",5),n(21,"Three"),e()(),t(22,"label",7),n(23," Options "),e()(),t(24,"c-input-group",0)(25,"button",8),n(26," Button "),e(),t(27,"select",9)(28,"option"),n(29,"Choose..."),e(),t(30,"option",3),n(31,"One"),e(),t(32,"option",4),n(33,"Two"),e(),t(34,"option",5),n(35,"Three"),e()()(),t(36,"c-input-group")(37,"select",10)(38,"option"),n(39,"Choose..."),e(),t(40,"option",3),n(41,"One"),e(),t(42,"option",4),n(43,"Two"),e(),t(44,"option",5),n(45,"Three"),e()(),t(46,"button",8),n(47," Button "),e()())},dependencies:[u,f,A,B,_,M,h],encapsulation:2});let o=i;return o})();var $=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group09"]],standalone:!0,features:[m],decls:70,vars:3,consts:[[1,"mb-3"],["cButton","","color","secondary","variant","outline"],["split","","cButton","","cDropdownToggle","","color","secondary","variant","outline"],[1,"visually-hidden"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""],["aria-label","Text input with segmented dropdown button","cFormControl",""],["alignment","end"],["cButton","","cDropdownToggle","","color","secondary","variant","outline",3,"split"],["cButton","","color","secondary","type","button","variant","outline"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"c-dropdown")(2,"button",1),n(3," Action "),e(),t(4,"button",2)(5,"span",3),n(6,"Toggle Dropdown"),e()(),t(7,"div",4)(8,"a",5),n(9,"Action"),e(),t(10,"a",5),n(11,"Another action"),e(),t(12,"a",5),n(13,"Something else here"),e(),r(14,"hr",6),t(15,"a",5),n(16,"Separated link"),e()()(),r(17,"input",7),e(),t(18,"c-input-group",0),r(19,"input",7),t(20,"c-dropdown",8)(21,"button",1),n(22," Action "),e(),t(23,"button",9)(24,"span",3),n(25,"Toggle Dropdown"),e()(),t(26,"div",4)(27,"a",5),n(28,"Action"),e(),t(29,"a",5),n(30,"Another action"),e(),t(31,"a",5),n(32,"Something else here"),e(),r(33,"hr",6),t(34,"a",5),n(35,"Separated link"),e()()()(),t(36,"c-input-group")(37,"c-dropdown")(38,"button",10),n(39," Action "),e(),t(40,"button",9)(41,"span",3),n(42,"Toggle Dropdown"),e()(),t(43,"div",4)(44,"a",5),n(45,"Action"),e(),t(46,"a",5),n(47,"Another action"),e(),t(48,"a",5),n(49,"Something else here"),e(),r(50,"hr",6),t(51,"a",5),n(52,"Separated link"),e()()(),r(53,"input",7),t(54,"c-dropdown",8)(55,"button",1),n(56," Action "),e(),t(57,"button",9)(58,"span",3),n(59,"Toggle Dropdown"),e()(),t(60,"div",4)(61,"a",5),n(62,"Action"),e(),t(63,"a",5),n(64,"Another action"),e(),t(65,"a",5),n(66,"Something else here"),e(),r(67,"hr",6),t(68,"a",5),n(69,"Separated link"),e()()()()),p&2&&(c(23),s("split",!0),c(17),s("split",!0),c(17),s("split",!0))},dependencies:[u,y,h,w,D,F,b,C,d],encapsulation:2});let o=i;return o})();var j=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group08"]],standalone:!0,features:[m],decls:58,vars:0,consts:[[1,"mb-3"],["cButton","","cDropdownToggle","","color","secondary","variant","outline"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""],["aria-label","Text input with dropdown button","cFormControl",""],["alignment","end"],["aria-label","Text input with 2 dropdown buttons","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"c-dropdown")(2,"button",1),n(3," Dropdown "),e(),t(4,"div",2)(5,"a",3),n(6,"Action"),e(),t(7,"a",3),n(8,"Another action"),e(),t(9,"a",3),n(10,"Something else here"),e(),r(11,"hr",4),t(12,"a",3),n(13,"Separated link"),e()()(),r(14,"input",5),e(),t(15,"c-input-group",0),r(16,"input",5),t(17,"c-dropdown",6)(18,"button",1),n(19," Dropdown "),e(),t(20,"div",2)(21,"a",3),n(22,"Action"),e(),t(23,"a",3),n(24,"Another action"),e(),t(25,"a",3),n(26,"Something else here"),e(),r(27,"hr",4),t(28,"a",3),n(29,"Separated link"),e()()()(),t(30,"c-input-group")(31,"c-dropdown")(32,"button",1),n(33," Dropdown "),e(),t(34,"div",2)(35,"a",3),n(36,"Action"),e(),t(37,"a",3),n(38,"Another action"),e(),t(39,"a",3),n(40,"Something else here"),e(),r(41,"hr",4),t(42,"a",3),n(43,"Separated link"),e()()(),r(44,"input",7),t(45,"c-dropdown",6)(46,"button",1),n(47," Dropdown "),e(),t(48,"div",2)(49,"a",3),n(50,"Other Action"),e(),t(51,"a",3),n(52,"Another action"),e(),t(53,"a",3),n(54,"Something else here"),e(),r(55,"hr",4),t(56,"a",3),n(57,"Separated link"),e()()()())},dependencies:[u,y,h,w,D,F,b,C,d],encapsulation:2});let o=i;return o})();var N=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group07"]],standalone:!0,features:[m],decls:20,vars:0,consts:[[1,"mb-3"],["cButton","","color","secondary","id","button-addon1","type","button","variant","outline"],["aria-describedby","button-addon1","aria-label","Example text with button addon","cFormControl","","placeholder",""],["aria-describedby","button-addon2","aria-label","Recipient's username","cFormControl","","placeholder","Recipient's username"],["cButton","","color","secondary","id","button-addon2","type","button","variant","outline"],["cButton","","color","secondary","type","button","variant","outline"],["aria-label","Example text with two button addons","cFormControl","","placeholder",""],["aria-label","Recipient's username with two button addons","cFormControl","","placeholder","Recipient's username"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"button",1),n(2," Button "),e(),r(3,"input",2),e(),t(4,"c-input-group",0),r(5,"input",3),t(6,"button",4),n(7," Button "),e()(),t(8,"c-input-group",0)(9,"button",5),n(10," Button "),e(),t(11,"button",5),n(12," Button "),e(),r(13,"input",6),e(),t(14,"c-input-group"),r(15,"input",7),t(16,"button",5),n(17," Button "),e(),t(18,"button",5),n(19," Button "),e()())},dependencies:[u,h,d],encapsulation:2});let o=i;return o})();var q=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group06"]],standalone:!0,features:[m],decls:12,vars:0,consts:[[1,"mb-3"],["cInputGroupText",""],["aria-label","Dollar amount (with dot and two decimal places)","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"$"),e(),t(3,"span",1),n(4,"0.00"),e(),r(5,"input",2),e(),t(6,"c-input-group"),r(7,"input",2),t(8,"span",1),n(9,"$"),e(),t(10,"span",1),n(11,"0.00"),e()())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var H=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group05"]],standalone:!0,features:[m],decls:5,vars:0,consts:[["cInputGroupText",""],["aria-label","First name","cFormControl",""],["aria-label","Last name","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group")(1,"span",0),n(2,"First and last name"),e(),r(3,"input",1)(4,"input",2),e())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var J=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group04"]],standalone:!0,features:[m],decls:10,vars:0,consts:[[1,"mb-3"],["cInputGroupText",""],["cFormCheckInput","","id","checkOne","type","checkbox"],["aria-label","Text input with checkbox","cFormControl",""],["cFormCheckInput","","id","radioOne","type","radio"],["aria-label","Text input with radio button","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1)(2,"c-form-check"),r(3,"input",2),e()(),r(4,"input",3),e(),t(5,"c-input-group")(6,"span",1)(7,"div"),r(8,"input",4),e()(),r(9,"input",5),e())},dependencies:[u,f,z,O,d],encapsulation:2});let o=i;return o})();var K=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group03"]],standalone:!0,features:[m],decls:12,vars:0,consts:[["sizing","sm",1,"mb-3"],["cInputGroupText","","id","inputGroup-sizing-sm"],["aria-describedby","inputGroup-sizing-sm","aria-label","Sizing example input","cFormControl",""],[1,"mb-3"],["cInputGroupText","","id","inputGroup-sizing-default"],["aria-describedby","inputGroup-sizing-default","aria-label","Sizing example input","cFormControl",""],["sizing","lg"],["cInputGroupText","","id","inputGroup-sizing-lg"],["aria-describedby","inputGroup-sizing-lg","aria-label","Sizing example input","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"Small"),e(),r(3,"input",2),e(),t(4,"c-input-group",3)(5,"span",4),n(6,"Default"),e(),r(7,"input",5),e(),t(8,"c-input-group",6)(9,"span",7),n(10,"Large"),e(),r(11,"input",8),e())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var Q=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group02"]],standalone:!0,features:[m],decls:4,vars:0,consts:[[1,"flex-nowrap"],["cInputGroupText","","id","addon-wrapping"],["aria-describedby","addon-wrapping","aria-label","Username","cFormControl","","placeholder","Username"]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"@"),e(),r(3,"input",2),e())},dependencies:[u,f,d],encapsulation:2});let o=i;return o})();var V=(()=>{let i=class i{};i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=l({type:i,selectors:[["docs-input-group01"]],standalone:!0,features:[m],decls:29,vars:0,consts:[[1,"mb-3"],["cInputGroupText","","id","basic-addon1"],["aria-describedby","basic-addon1","aria-label","Username","cFormControl","","placeholder","Username"],["aria-describedby","basic-addon2","aria-label","Recipient's username","cFormControl","","placeholder","Recipient's username"],["cInputGroupText","","id","basic-addon2"],["cLabel","","for","basic-url"],["cInputGroupText","","id","basic-addon3"],["aria-describedby","basic-addon3","cFormControl","","id","basic-url"],["cInputGroupText",""],["aria-label","Amount (to the nearest dollar)","cFormControl",""],["aria-label","Username","cFormControl","","placeholder","Username"],["aria-label","Server","cFormControl","","placeholder","Server"],["aria-label","With textarea","cFormControl",""]],template:function(p,x){p&1&&(t(0,"c-input-group",0)(1,"span",1),n(2,"@"),e(),r(3,"input",2),e(),t(4,"c-input-group",0),r(5,"input",3),t(6,"span",4),n(7,"@example.com"),e()(),t(8,"label",5),n(9,"Your vanity URL"),e(),t(10,"c-input-group",0)(11,"span",6),n(12,"https://example.com/users/"),e(),r(13,"input",7),e(),t(14,"c-input-group",0)(15,"span",8),n(16,"$"),e(),r(17,"input",9),t(18,"span",8),n(19,".00"),e()(),t(20,"c-input-group",0),r(21,"input",10),t(22,"span",8),n(23,"@"),e(),r(24,"input",11),e(),t(25,"c-input-group")(26,"span",8),n(27,"With textarea"),e(),r(28,"textarea",12),e())},dependencies:[u,f,d,R],encapsulation:2});let o=i;return o})();var X=()=>["forms/input-group/examples/input-group01.component.html"],Z=()=>["forms/input-group/examples/input-group02.component.html"],ee=()=>["forms/input-group/examples/input-group03.component.html"],te=()=>["forms/input-group/examples/input-group04.component.html"],ne=()=>["forms/input-group/examples/input-group05.component.html"],ie=()=>["forms/input-group/examples/input-group06.component.html"],oe=()=>["forms/input-group/examples/input-group07.component.html"],re=()=>["forms/input-group/examples/input-group08.component.html"],pe=()=>["forms/input-group/examples/input-group09.component.html"],ae=()=>["forms/input-group/examples/input-group10.component.html"],le=()=>["forms/input-group/examples/input-group11.component.html"];function me(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group01"),e())}function ue(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group02"),e())}function de(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group03"),e())}function ce(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group04"),e())}function se(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group05"),e())}function fe(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group06"),e())}function xe(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group07"),e())}function ge(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group08"),e())}function Se(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group09"),e())}function Ee(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group10"),e())}function ve(o,i){o&1&&(t(0,"div",5),r(1,"docs-input-group11"),e())}var mt=(()=>{let i=class i{constructor(a,p){this.metaService=a,this.titleService=p,this.title="Angular Input Group Component",this.description="Easily extend form controls by adding text, buttons, or button groups on either side of textual inputs, custom selects, and custom file inputs."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(p){return new(p||i)(G(T),G(k))},i.\u0275cmp=l({type:i,selectors:[["docs-input-group-docs"]],standalone:!0,features:[m],decls:65,vars:24,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(p,x){p&1&&(t(0,"h1",1),n(1),e(),t(2,"p",2),n(3),e(),r(4,"docs-ads-carbon-loader"),t(5,"markdown"),n(6,` ## Basic example Place one add-on or button on either side of an input. You may also place one on both sides of an input. Remember to diff --git a/angular/docs/chunk-PSZHWT7N.js b/angular/docs/chunk-32OODQEU.js similarity index 92% rename from angular/docs/chunk-PSZHWT7N.js rename to angular/docs/chunk-32OODQEU.js index ca9f9e444e3..9f4cf970c55 100644 --- a/angular/docs/chunk-PSZHWT7N.js +++ b/angular/docs/chunk-32OODQEU.js @@ -1 +1 @@ -import{a as $,b as oe,c as le}from"./chunk-6VQYNMHT.js";import{y as re}from"./chunk-4EHRG2WJ.js";import{i as ae}from"./chunk-C5JPXVV5.js";import{B as ee,a as q,c as J,e as Q,p as X,x as Z}from"./chunk-JZLZFTWK.js";import{c as te,d as ne,e as ie}from"./chunk-KASAEZY4.js";import{a as K}from"./chunk-TVRAGCHV.js";import{h as U}from"./chunk-QNSTT6ST.js";import{m as G,t as Y}from"./chunk-FIXU3TFH.js";import{$b as m,Aa as c,Ac as v,Ba as p,Bc as j,Dc as A,Eb as F,Jb as g,Kc as B,Lc as N,Mc as W,Na as P,Nc as M,Oc as H,Pb as w,Qb as u,Qc as k,Wb as C,Wc as L,Xc as z,Yb as E,Zb as S,_b as O,ac as d,ba as y,bc as b,ec as R,fc as h,lb as o,mb as V,mc as f,na as T,oc as s,pc as x,qc as I}from"./chunk-O6V6MKDU.js";var ce=["*"],de=t=>({hover:t}),pe=t=>({$implicit:t});function me(t,r){t&1&&b(0,"div",6)}function ue(t,r){if(t&1){let i=h();m(0,"input",5,2),f("change",function(a){c(i);let e=s();return p(e.handleEndDateInputChange(a))}),d()}if(t&2){let i,n,a=s();u("formControl",a.endDateInput)("ngClass",k(6,de,!!a.inputEndHoverValue))("placeholder",a.endDatePlaceholder)("readonly",(i=a.inputReadOnly)!==null&&i!==void 0?i:null)("valid",(n=a.valid)!==null&&n!==void 0?n:void 0),w("tabindex",a.disabled?-1:0)}}function _e(t,r){t&1&&b(0,"div",8)}function Ce(t,r){if(t&1){let i=h();m(0,"div",15),f("click",function(a){c(i);let e=s();return p(!e.disabled&&e.handleClear(a))}),d()}}function De(t,r){if(t&1){let i=h();m(0,"button",18),f("click",function(){let a=c(i).$implicit,e=s(3);return p(e.setCustomRange(a))}),j(1),L(2,"customRangeKey"),d()}if(t&2){let i=r.$implicit,n=s(3);u("color",n.rangesButtonsColor)("size",n.rangesButtonsSize)("variant",n.rangesButtonsVariant),o(),A(" ",z(2,4,i)," ")}}function ge(t,r){if(t&1&&(m(0,"div",16),S(1,De,3,6,"button",17,E),d()),t&2){let i=s(2);o(),O(i.customRanges)}}function fe(t,r){if(t&1&&g(0,ge,3,0,"div",16),t&2){let i=s();C(i.ranges&&i.customRanges.length>0?0:-1)}}function he(t,r){if(t&1){let i=h();m(0,"c-time-picker",19),f("timeChange",function(a){c(i);let e=s(2);return p(e.handleEndTimeChange(a))}),d()}if(t&2){let i,n=s(2);u("locale",n.locale)("disabled",!n.endDate)("time",(i=n.endDate)!==null&&i!==void 0?i:void 0)}}function ve(t,r){if(t&1){let i=h();m(0,"div",13)(1,"c-time-picker",19),f("timeChange",function(a){c(i);let e=s();return p(e.handleStartTimeChange(a))}),d(),g(2,he,1,3,"c-time-picker",20),d()}if(t&2){let i,n=s();o(),u("locale",n.locale)("disabled",!n.startDate)("time",(i=n.startDate)!==null&&i!==void 0?i:void 0),o(),C(n.range?2:-1)}}function ke(t,r){t&1&&R(0)}function we(t,r){if(t&1&&(m(0,"div",14),g(1,ke,1,0,"ng-container",21),d()),t&2){let i=s(),n=v(1);o(),u("ngTemplateOutlet",i.templates==null?null:i.templates.datePickerFooter)("ngTemplateOutletContext",k(2,pe,n))}}var be=(()=>{let r=class r extends le{constructor(n){super(n),this.placeholder="Select date",this.startDateChange=new P,this.range=!1,this.calendars=1}get endDate(){return null}get date(){return this.startDate}set date(n){this.startDate=n}writeValue(n){this.date=n,this.startDateValue=this.date?this.date.toLocaleDateString(this.locale):""}subscribeDateChange(n=!0){if(n){this.dateChangeSubscriptions.push(this.startDateChange.subscribe(a=>{this.date=a,this.onChange(a)}));return}this.dateChangeSubscriptions.forEach(a=>{a?.unsubscribe()})}};r.\u0275fac=function(a){return new(a||r)(V(U))},r.\u0275cmp=T({type:r,selectors:[["c-date-picker"]],inputs:{placeholder:"placeholder",date:"date"},outputs:{startDateChange:"dateChange"},exportAs:["cDatePicker"],standalone:!0,features:[M([{provide:q,useExisting:y(()=>r),multi:!0}]),F,H],ngContentSelectors:ce,decls:16,vars:41,consts:[["dropdown","cDropdown"],["startDateElementRef",""],["endDateElementRef",""],[1,"date-picker","picker",3,"visibleChange","autoClose","ngClass","visible","popperOptions"],["cDropdownToggle","",1,"date-picker-input-group",3,"caret","disabled"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"change","formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-separator"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-indicator"],["role","button",1,"date-picker-cleaner"],["cDropdownMenu","",1,"date-picker-dropdown","py-0"],[1,"date-picker-body"],[1,"date-picker-calendars",3,"calendarCellHover","calendarDateChange","endDateChange","startDateChange","calendarDate","calendars","dateFilter","disabledDates","endDate","firstDayOfWeek","locale","maxDate","minDate","navigation","range","startDate","navYearFirst","dayFormat","weekdayFormat","selectAdjacentDays","showAdjacentDays","showWeekNumber","selectionType","weekNumbersLabel"],[1,"date-picker-timepickers"],[1,"date-picker-footer"],["role","button",1,"date-picker-cleaner",3,"click"],[1,"date-picker-ranges"],["cButton","",3,"color","size","variant"],["cButton","",3,"click","color","size","variant"],["variant","select",3,"timeChange","locale","disabled","time"],["variant","select",3,"locale","disabled","time"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(a,e){if(a&1){let _=h();x(),m(0,"c-dropdown",3,0),W("visibleChange",function(l){return c(_),N(e.visible,l)||(e.visible=l),p(l)}),m(2,"div",4)(3,"input",5,1),f("change",function(l){return c(_),p(e.handleStartDateInputChange(l))}),d(),g(5,me,1,0,"div",6)(6,ue,2,8,"input",7)(7,_e,1,0,"div",8)(8,Ce,1,0,"div",9),d(),m(9,"div",10)(10,"div",11),g(11,fe,1,1),m(12,"c-calendar",12),f("calendarCellHover",function(l){return c(_),p(e.handleCalendarCellHover(l))})("calendarDateChange",function(l){return c(_),p(e.handleCalendarDateChange(l))})("endDateChange",function(l){return c(_),p(e.handleEndDateChange(l))})("startDateChange",function(l){return c(_),p(e.handleStartDateChange(l))}),d(),g(13,ve,3,4,"div",13),d(),g(14,we,2,4,"div",14),d(),I(15),d()}if(a&2){let _,D,l=v(1),se=v(4);u("autoClose","outside")("ngClass",e.datePickerClasses),B("visible",e.visible),u("popperOptions",e.popperjsOptions),o(2),u("caret",!1)("disabled",(_=e.disabled)!==null&&_!==void 0?_:l.visible),o(),u("formControl",e.startDateInput)("ngClass",k(39,de,!!e.inputStartHoverValue))("placeholder",e.startDatePlaceholder)("readonly",(D=e.inputReadOnly)!==null&&D!==void 0?D:null)("valid",e.range?void 0:e.valid),w("tabindex",e.disabled?-1:0),o(2),C(e.range&&e.separator!==!1?5:-1),o(),C(e.range?6:-1),o(),C(e.indicator?7:-1),o(),C(e.cleaner&&se.value&&!e.disabled?8:-1),o(3),C(e.showRanges?-1:11),o(),u("calendarDate",e.calendarDate)("calendars",e.isMobile?1:e.calendars)("dateFilter",e.dateFilter)("disabledDates",e.disabledDates)("endDate",e.endDate)("firstDayOfWeek",e.firstDayOfWeek)("locale",e.locale)("maxDate",e.maxDate)("minDate",e.minDate)("navigation",e.navigation)("range",e.range)("startDate",e.startDate)("navYearFirst",e.navYearFirst)("dayFormat",e.dayFormat)("weekdayFormat",e.weekdayFormat)("selectAdjacentDays",e.selectAdjacentDays)("showAdjacentDays",e.showAdjacentDays)("showWeekNumber",e.showWeekNumber)("selectionType",e.selectionType)("weekNumbersLabel",e.weekNumbersLabel),o(),C(-1),o(),C(e.templates!=null&&e.templates.datePickerFooter?14:-1)}},dependencies:[G,Y,ee,J,Q,Z,X,$,re,K,ie,ne,te,ae,oe],styles:[".form-control.date-picker-input[_ngcontent-%COMP%]:focus{box-shadow:0 0}"]});let t=r;return t})();export{be as a}; +import{a as $,b as oe,c as le}from"./chunk-WFOV5FNG.js";import{y as re}from"./chunk-S3TRUWXX.js";import{i as ae}from"./chunk-ZGGOM75Q.js";import{B as ee,a as q,c as J,e as Q,p as X,x as Z}from"./chunk-WFHPAILT.js";import{c as te,d as ne,e as ie}from"./chunk-DSAGLKP4.js";import{a as K}from"./chunk-2CL7LP6W.js";import{h as U}from"./chunk-LZN2HRQX.js";import{m as G,t as Y}from"./chunk-XHR4TYVD.js";import{$b as m,Aa as c,Ac as v,Ba as p,Bc as j,Dc as A,Eb as F,Jb as g,Kc as B,Lc as N,Mc as W,Na as P,Nc as M,Oc as H,Pb as w,Qb as u,Qc as k,Wb as C,Wc as L,Xc as z,Yb as E,Zb as S,_b as O,ac as d,ba as y,bc as b,ec as R,fc as h,lb as o,mb as V,mc as f,na as T,oc as s,pc as x,qc as I}from"./chunk-6U7QZ4SV.js";var ce=["*"],de=t=>({hover:t}),pe=t=>({$implicit:t});function me(t,r){t&1&&b(0,"div",6)}function ue(t,r){if(t&1){let i=h();m(0,"input",5,2),f("change",function(a){c(i);let e=s();return p(e.handleEndDateInputChange(a))}),d()}if(t&2){let i,n,a=s();u("formControl",a.endDateInput)("ngClass",k(6,de,!!a.inputEndHoverValue))("placeholder",a.endDatePlaceholder)("readonly",(i=a.inputReadOnly)!==null&&i!==void 0?i:null)("valid",(n=a.valid)!==null&&n!==void 0?n:void 0),w("tabindex",a.disabled?-1:0)}}function _e(t,r){t&1&&b(0,"div",8)}function Ce(t,r){if(t&1){let i=h();m(0,"div",15),f("click",function(a){c(i);let e=s();return p(!e.disabled&&e.handleClear(a))}),d()}}function De(t,r){if(t&1){let i=h();m(0,"button",18),f("click",function(){let a=c(i).$implicit,e=s(3);return p(e.setCustomRange(a))}),j(1),L(2,"customRangeKey"),d()}if(t&2){let i=r.$implicit,n=s(3);u("color",n.rangesButtonsColor)("size",n.rangesButtonsSize)("variant",n.rangesButtonsVariant),o(),A(" ",z(2,4,i)," ")}}function ge(t,r){if(t&1&&(m(0,"div",16),S(1,De,3,6,"button",17,E),d()),t&2){let i=s(2);o(),O(i.customRanges)}}function fe(t,r){if(t&1&&g(0,ge,3,0,"div",16),t&2){let i=s();C(i.ranges&&i.customRanges.length>0?0:-1)}}function he(t,r){if(t&1){let i=h();m(0,"c-time-picker",19),f("timeChange",function(a){c(i);let e=s(2);return p(e.handleEndTimeChange(a))}),d()}if(t&2){let i,n=s(2);u("locale",n.locale)("disabled",!n.endDate)("time",(i=n.endDate)!==null&&i!==void 0?i:void 0)}}function ve(t,r){if(t&1){let i=h();m(0,"div",13)(1,"c-time-picker",19),f("timeChange",function(a){c(i);let e=s();return p(e.handleStartTimeChange(a))}),d(),g(2,he,1,3,"c-time-picker",20),d()}if(t&2){let i,n=s();o(),u("locale",n.locale)("disabled",!n.startDate)("time",(i=n.startDate)!==null&&i!==void 0?i:void 0),o(),C(n.range?2:-1)}}function ke(t,r){t&1&&R(0)}function we(t,r){if(t&1&&(m(0,"div",14),g(1,ke,1,0,"ng-container",21),d()),t&2){let i=s(),n=v(1);o(),u("ngTemplateOutlet",i.templates==null?null:i.templates.datePickerFooter)("ngTemplateOutletContext",k(2,pe,n))}}var be=(()=>{let r=class r extends le{constructor(n){super(n),this.placeholder="Select date",this.startDateChange=new P,this.range=!1,this.calendars=1}get endDate(){return null}get date(){return this.startDate}set date(n){this.startDate=n}writeValue(n){this.date=n,this.startDateValue=this.date?this.date.toLocaleDateString(this.locale):""}subscribeDateChange(n=!0){if(n){this.dateChangeSubscriptions.push(this.startDateChange.subscribe(a=>{this.date=a,this.onChange(a)}));return}this.dateChangeSubscriptions.forEach(a=>{a?.unsubscribe()})}};r.\u0275fac=function(a){return new(a||r)(V(U))},r.\u0275cmp=T({type:r,selectors:[["c-date-picker"]],inputs:{placeholder:"placeholder",date:"date"},outputs:{startDateChange:"dateChange"},exportAs:["cDatePicker"],standalone:!0,features:[M([{provide:q,useExisting:y(()=>r),multi:!0}]),F,H],ngContentSelectors:ce,decls:16,vars:41,consts:[["dropdown","cDropdown"],["startDateElementRef",""],["endDateElementRef",""],[1,"date-picker","picker",3,"visibleChange","autoClose","ngClass","visible","popperOptions"],["cDropdownToggle","",1,"date-picker-input-group",3,"caret","disabled"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"change","formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-separator"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-indicator"],["role","button",1,"date-picker-cleaner"],["cDropdownMenu","",1,"date-picker-dropdown","py-0"],[1,"date-picker-body"],[1,"date-picker-calendars",3,"calendarCellHover","calendarDateChange","endDateChange","startDateChange","calendarDate","calendars","dateFilter","disabledDates","endDate","firstDayOfWeek","locale","maxDate","minDate","navigation","range","startDate","navYearFirst","dayFormat","weekdayFormat","selectAdjacentDays","showAdjacentDays","showWeekNumber","selectionType","weekNumbersLabel"],[1,"date-picker-timepickers"],[1,"date-picker-footer"],["role","button",1,"date-picker-cleaner",3,"click"],[1,"date-picker-ranges"],["cButton","",3,"color","size","variant"],["cButton","",3,"click","color","size","variant"],["variant","select",3,"timeChange","locale","disabled","time"],["variant","select",3,"locale","disabled","time"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(a,e){if(a&1){let _=h();x(),m(0,"c-dropdown",3,0),W("visibleChange",function(l){return c(_),N(e.visible,l)||(e.visible=l),p(l)}),m(2,"div",4)(3,"input",5,1),f("change",function(l){return c(_),p(e.handleStartDateInputChange(l))}),d(),g(5,me,1,0,"div",6)(6,ue,2,8,"input",7)(7,_e,1,0,"div",8)(8,Ce,1,0,"div",9),d(),m(9,"div",10)(10,"div",11),g(11,fe,1,1),m(12,"c-calendar",12),f("calendarCellHover",function(l){return c(_),p(e.handleCalendarCellHover(l))})("calendarDateChange",function(l){return c(_),p(e.handleCalendarDateChange(l))})("endDateChange",function(l){return c(_),p(e.handleEndDateChange(l))})("startDateChange",function(l){return c(_),p(e.handleStartDateChange(l))}),d(),g(13,ve,3,4,"div",13),d(),g(14,we,2,4,"div",14),d(),I(15),d()}if(a&2){let _,D,l=v(1),se=v(4);u("autoClose","outside")("ngClass",e.datePickerClasses),B("visible",e.visible),u("popperOptions",e.popperjsOptions),o(2),u("caret",!1)("disabled",(_=e.disabled)!==null&&_!==void 0?_:l.visible),o(),u("formControl",e.startDateInput)("ngClass",k(39,de,!!e.inputStartHoverValue))("placeholder",e.startDatePlaceholder)("readonly",(D=e.inputReadOnly)!==null&&D!==void 0?D:null)("valid",e.range?void 0:e.valid),w("tabindex",e.disabled?-1:0),o(2),C(e.range&&e.separator!==!1?5:-1),o(),C(e.range?6:-1),o(),C(e.indicator?7:-1),o(),C(e.cleaner&&se.value&&!e.disabled?8:-1),o(3),C(e.showRanges?-1:11),o(),u("calendarDate",e.calendarDate)("calendars",e.isMobile?1:e.calendars)("dateFilter",e.dateFilter)("disabledDates",e.disabledDates)("endDate",e.endDate)("firstDayOfWeek",e.firstDayOfWeek)("locale",e.locale)("maxDate",e.maxDate)("minDate",e.minDate)("navigation",e.navigation)("range",e.range)("startDate",e.startDate)("navYearFirst",e.navYearFirst)("dayFormat",e.dayFormat)("weekdayFormat",e.weekdayFormat)("selectAdjacentDays",e.selectAdjacentDays)("showAdjacentDays",e.showAdjacentDays)("showWeekNumber",e.showWeekNumber)("selectionType",e.selectionType)("weekNumbersLabel",e.weekNumbersLabel),o(),C(-1),o(),C(e.templates!=null&&e.templates.datePickerFooter?14:-1)}},dependencies:[G,Y,ee,J,Q,Z,X,$,re,K,ie,ne,te,ae,oe],styles:[".form-control.date-picker-input[_ngcontent-%COMP%]:focus{box-shadow:0 0}"]});let t=r;return t})();export{be as a}; diff --git a/angular/docs/chunk-IOURQETH.js b/angular/docs/chunk-3GUKBTAZ.js similarity index 91% rename from angular/docs/chunk-IOURQETH.js rename to angular/docs/chunk-3GUKBTAZ.js index a83910f281f..96a1d6eedfa 100644 --- a/angular/docs/chunk-IOURQETH.js +++ b/angular/docs/chunk-3GUKBTAZ.js @@ -1 +1 @@ -import{La as p,Oc as u,ia as l,na as m,rb as v}from"./chunk-O6V6MKDU.js";import{e,f as c,g as o}from"./chunk-MGAX33HK.js";var y=(()=>{var n,r,i,t;let a=class a{constructor(){c(this,n);c(this,r);c(this,i);c(this,t);this.code="CEAICKJY",this.placement="coreuiio",o(this,i,l(v)),o(this,t,l(p)),o(this,n,e(this,i).createElement("script")),e(this,i).setAttribute(e(this,n),"type","text/javascript"),e(this,i).setAttribute(e(this,n),"src",`//cdn.carbonads.com/carbon.js?serve=${this.code}&placement=${this.placement}`),e(this,i).setAttribute(e(this,n),"id","_carbonads_js"),e(this,t).nativeElement.innerHTML="",o(this,r,new MutationObserver(h=>{e(this,t)?.nativeElement?.childNodes?.forEach((s,f)=>{s.tagName==="DIV"&&s.id.startsWith("carbonads_")&&s.id!=="carbonads"&&e(this,t)?.nativeElement&&e(this,i).removeChild(e(this,t)?.nativeElement,s)})}))}ngAfterViewInit(){e(this,i).appendChild(e(this,t).nativeElement,e(this,n)),e(this,r).observe(e(this,t).nativeElement,{childList:!0})}ngOnDestroy(){e(this,r).disconnect(),e(this,t)?.nativeElement?.childNodes?.forEach((h,s)=>{e(this,t)?.nativeElement&&e(this,i).removeChild(e(this,t)?.nativeElement,h)}),e(this,t).nativeElement.innerHTML=""}};n=new WeakMap,r=new WeakMap,i=new WeakMap,t=new WeakMap,a.\u0275fac=function(s){return new(s||a)},a.\u0275cmp=m({type:a,selectors:[["docs-ads-carbon"]],inputs:{code:"code",placement:"placement"},standalone:!0,features:[u],decls:0,vars:0,template:function(s,f){},styles:["[_nghost-%COMP%]{display:block;min-height:130px;margin:2rem 0}"]});let d=a;return d})();export{y as a}; +import{La as p,Oc as u,ia as l,na as m,rb as v}from"./chunk-6U7QZ4SV.js";import{e,f as c,g as o}from"./chunk-MGAX33HK.js";var y=(()=>{var n,r,i,t;let a=class a{constructor(){c(this,n);c(this,r);c(this,i);c(this,t);this.code="CEAICKJY",this.placement="coreuiio",o(this,i,l(v)),o(this,t,l(p)),o(this,n,e(this,i).createElement("script")),e(this,i).setAttribute(e(this,n),"type","text/javascript"),e(this,i).setAttribute(e(this,n),"src",`//cdn.carbonads.com/carbon.js?serve=${this.code}&placement=${this.placement}`),e(this,i).setAttribute(e(this,n),"id","_carbonads_js"),e(this,t).nativeElement.innerHTML="",o(this,r,new MutationObserver(h=>{e(this,t)?.nativeElement?.childNodes?.forEach((s,f)=>{s.tagName==="DIV"&&s.id.startsWith("carbonads_")&&s.id!=="carbonads"&&e(this,t)?.nativeElement&&e(this,i).removeChild(e(this,t)?.nativeElement,s)})}))}ngAfterViewInit(){e(this,i).appendChild(e(this,t).nativeElement,e(this,n)),e(this,r).observe(e(this,t).nativeElement,{childList:!0})}ngOnDestroy(){e(this,r).disconnect(),e(this,t)?.nativeElement?.childNodes?.forEach((h,s)=>{e(this,t)?.nativeElement&&e(this,i).removeChild(e(this,t)?.nativeElement,h)}),e(this,t).nativeElement.innerHTML=""}};n=new WeakMap,r=new WeakMap,i=new WeakMap,t=new WeakMap,a.\u0275fac=function(s){return new(s||a)},a.\u0275cmp=m({type:a,selectors:[["docs-ads-carbon"]],inputs:{code:"code",placement:"placement"},standalone:!0,features:[u],decls:0,vars:0,template:function(s,f){},styles:["[_nghost-%COMP%]{display:block;min-height:130px;margin:2rem 0}"]});let d=a;return d})();export{y as a}; diff --git a/angular/docs/chunk-TZEEDLL4.js b/angular/docs/chunk-3RPAIOEE.js similarity index 95% rename from angular/docs/chunk-TZEEDLL4.js rename to angular/docs/chunk-3RPAIOEE.js index dede56d8c25..69b0aea2ecc 100644 --- a/angular/docs/chunk-TZEEDLL4.js +++ b/angular/docs/chunk-3RPAIOEE.js @@ -1,4 +1,4 @@ -import{a as g,c as u,e as p,f}from"./chunk-EBCID5MY.js";import{g as T}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-SWYVARVN.js";import{r as _}from"./chunk-JJFVMVK7.js";import{c as S,d as E}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as o,Cc as C,Dc as b,Oc as m,Pc as l,Qb as s,Qc as y,ac as t,bc as x,lb as a,mb as w,na as c}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var D=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters06"]],standalone:!0,features:[m],decls:5,vars:1,consts:[[3,"gutter"],["sm","6","md","8"],["xs","6","md","4"]],template:function(i,v){i&1&&(e(0,"c-row",0)(1,"c-col",1),o(2,".col-sm-6 .col-md-8"),t(),e(3,"c-col",2),o(4,".col-6 .col-md-4"),t()()),i&2&&s("gutter",0)},dependencies:[p,f,u],encapsulation:2});let r=n;return r})();var A=()=>({g:3}),j=r=>({g:2,lg:r}),G=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters05"]],standalone:!0,features:[m],decls:32,vars:6,consts:[[3,"xs","lg","gutter"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col")(3,"div",1),o(4,"Row column"),t()(),e(5,"c-col")(6,"div",1),o(7,"Row column"),t()(),e(8,"c-col")(9,"div",1),o(10,"Row column"),t()(),e(11,"c-col")(12,"div",1),o(13,"Row column"),t()(),e(14,"c-col")(15,"div",1),o(16,"Row column"),t()(),e(17,"c-col")(18,"div",1),o(19,"Row column"),t()(),e(20,"c-col")(21,"div",1),o(22,"Row column"),t()(),e(23,"c-col")(24,"div",1),o(25,"Row column"),t()(),e(26,"c-col")(27,"div",1),o(28,"Row column"),t()(),e(29,"c-col")(30,"div",1),o(31,"Row column"),t()()()()),i&2&&(a(),s("xs",2)("lg",5)("gutter",y(4,j,l(3,A))))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var M=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters04"]],standalone:!0,features:[m],decls:14,vars:1,consts:[[1,"overflow-hidden"],[3,"gutter"],["xs","6"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col",2)(3,"div",3),o(4,"Custom column padding"),t()(),e(5,"c-col",2)(6,"div",3),o(7,"Custom column padding"),t()(),e(8,"c-col",2)(9,"div",3),o(10,"Custom column padding"),t()(),e(11,"c-col",2)(12,"div",3),o(13,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",2))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var N=()=>({gy:5}),R=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters03"]],standalone:!0,features:[m],decls:14,vars:2,consts:[[1,"overflow-hidden"],[3,"gutter"],["xs","6"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col",2)(3,"div",3),o(4,"Custom column padding"),t()(),e(5,"c-col",2)(6,"div",3),o(7,"Custom column padding"),t()(),e(8,"c-col",2)(9,"div",3),o(10,"Custom column padding"),t()(),e(11,"c-col",2)(12,"div",3),o(13,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",l(1,N)))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var H=()=>({gx:5}),I=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters02"]],standalone:!0,features:[m],decls:8,vars:2,consts:[[1,"overflow-hidden"],[3,"gutter"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col")(3,"div",2),o(4,"Custom column padding"),t()(),e(5,"c-col")(6,"div",2),o(7,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",l(1,H)))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var O=()=>({gx:5}),k=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters01"]],standalone:!0,features:[m],decls:8,vars:2,consts:[[1,"px-4"],[3,"gutter"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col")(3,"div",2),o(4,"Custom column padding"),t()(),e(5,"c-col")(6,"div",2),o(7,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",l(1,O)))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var z=`\`\`\`typescript +import{a as g,c as u,e as p,f}from"./chunk-PZ32EFID.js";import{g as T}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-MH6VOBXJ.js";import{r as _}from"./chunk-Q5WIR6QR.js";import{c as S,d as E}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as o,Cc as C,Dc as b,Oc as m,Pc as l,Qb as s,Qc as y,ac as t,bc as x,lb as a,mb as w,na as c}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var D=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters06"]],standalone:!0,features:[m],decls:5,vars:1,consts:[[3,"gutter"],["sm","6","md","8"],["xs","6","md","4"]],template:function(i,v){i&1&&(e(0,"c-row",0)(1,"c-col",1),o(2,".col-sm-6 .col-md-8"),t(),e(3,"c-col",2),o(4,".col-6 .col-md-4"),t()()),i&2&&s("gutter",0)},dependencies:[p,f,u],encapsulation:2});let r=n;return r})();var A=()=>({g:3}),j=r=>({g:2,lg:r}),G=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters05"]],standalone:!0,features:[m],decls:32,vars:6,consts:[[3,"xs","lg","gutter"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col")(3,"div",1),o(4,"Row column"),t()(),e(5,"c-col")(6,"div",1),o(7,"Row column"),t()(),e(8,"c-col")(9,"div",1),o(10,"Row column"),t()(),e(11,"c-col")(12,"div",1),o(13,"Row column"),t()(),e(14,"c-col")(15,"div",1),o(16,"Row column"),t()(),e(17,"c-col")(18,"div",1),o(19,"Row column"),t()(),e(20,"c-col")(21,"div",1),o(22,"Row column"),t()(),e(23,"c-col")(24,"div",1),o(25,"Row column"),t()(),e(26,"c-col")(27,"div",1),o(28,"Row column"),t()(),e(29,"c-col")(30,"div",1),o(31,"Row column"),t()()()()),i&2&&(a(),s("xs",2)("lg",5)("gutter",y(4,j,l(3,A))))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var M=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters04"]],standalone:!0,features:[m],decls:14,vars:1,consts:[[1,"overflow-hidden"],[3,"gutter"],["xs","6"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col",2)(3,"div",3),o(4,"Custom column padding"),t()(),e(5,"c-col",2)(6,"div",3),o(7,"Custom column padding"),t()(),e(8,"c-col",2)(9,"div",3),o(10,"Custom column padding"),t()(),e(11,"c-col",2)(12,"div",3),o(13,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",2))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var N=()=>({gy:5}),R=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters03"]],standalone:!0,features:[m],decls:14,vars:2,consts:[[1,"overflow-hidden"],[3,"gutter"],["xs","6"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col",2)(3,"div",3),o(4,"Custom column padding"),t()(),e(5,"c-col",2)(6,"div",3),o(7,"Custom column padding"),t()(),e(8,"c-col",2)(9,"div",3),o(10,"Custom column padding"),t()(),e(11,"c-col",2)(12,"div",3),o(13,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",l(1,N)))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var H=()=>({gx:5}),I=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters02"]],standalone:!0,features:[m],decls:8,vars:2,consts:[[1,"overflow-hidden"],[3,"gutter"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col")(3,"div",2),o(4,"Custom column padding"),t()(),e(5,"c-col")(6,"div",2),o(7,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",l(1,H)))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var O=()=>({gx:5}),k=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=c({type:n,selectors:[["docs-gutters01"]],standalone:!0,features:[m],decls:8,vars:2,consts:[[1,"px-4"],[3,"gutter"],[1,"p-3","border","bg-light"]],template:function(i,v){i&1&&(e(0,"c-container",0)(1,"c-row",1)(2,"c-col")(3,"div",2),o(4,"Custom column padding"),t()(),e(5,"c-col")(6,"div",2),o(7,"Custom column padding"),t()()()()),i&2&&(a(),s("gutter",l(1,O)))},dependencies:[g,p,f,u],encapsulation:2});let r=n;return r})();var z=`\`\`\`typescript import { GridModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-75SR53ZB.js b/angular/docs/chunk-3UU7CHCP.js similarity index 99% rename from angular/docs/chunk-75SR53ZB.js rename to angular/docs/chunk-3UU7CHCP.js index 1126113c3da..c124925dddd 100644 --- a/angular/docs/chunk-75SR53ZB.js +++ b/angular/docs/chunk-3UU7CHCP.js @@ -1 +1 @@ -import{a as E,b as B,f as yt,g as Me,n as x,o as Ce,p as ue}from"./chunk-NNMKHZUS.js";import"./chunk-FIXU3TFH.js";import{$ as S,ca as gt}from"./chunk-O6V6MKDU.js";import{a as he,c as pt}from"./chunk-MGAX33HK.js";function _t(n){return new S(3e3,!1)}function Ht(){return new S(3100,!1)}function Yt(){return new S(3101,!1)}function Xt(n){return new S(3001,!1)}function Zt(n){return new S(3003,!1)}function Jt(n){return new S(3004,!1)}function xt(n,e){return new S(3005,!1)}function es(){return new S(3006,!1)}function ts(){return new S(3007,!1)}function ss(n,e){return new S(3008,!1)}function is(n){return new S(3002,!1)}function ns(n,e,t,s,i){return new S(3010,!1)}function rs(){return new S(3011,!1)}function as(){return new S(3012,!1)}function os(){return new S(3200,!1)}function ls(){return new S(3202,!1)}function hs(){return new S(3013,!1)}function us(n){return new S(3014,!1)}function cs(n){return new S(3015,!1)}function fs(n){return new S(3016,!1)}function ds(n){return new S(3500,!1)}function ms(n){return new S(3501,!1)}function ps(n,e){return new S(3404,!1)}function gs(n){return new S(3502,!1)}function ys(n){return new S(3503,!1)}function _s(){return new S(3300,!1)}function Ss(n){return new S(3504,!1)}function Es(n){return new S(3301,!1)}function Ts(n,e){return new S(3302,!1)}function vs(n){return new S(3303,!1)}function ws(n,e){return new S(3400,!1)}function bs(n){return new S(3401,!1)}function As(n){return new S(3402,!1)}function Ps(n,e){return new S(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function St(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,Et=!1;function ks(n){H||(H=Ds()||{},Et=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&Et&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case E.Trigger:return n.visitTrigger(e,t);case E.State:return n.visitState(e,t);case E.Transition:return n.visitTransition(e,t);case E.Sequence:return n.visitSequence(e,t);case E.Group:return n.visitGroup(e,t);case E.Animate:return n.visitAnimate(e,t);case E.Keyframes:return n.visitKeyframes(e,t);case E.Style:return n.visitStyle(e,t);case E.Reference:return n.visitReference(e,t);case E.AnimateChild:return n.visitAnimateChild(e,t);case E.AnimateRef:return n.visitAnimateRef(e,t);case E.Query:return n.visitQuery(e,t);case E.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Se="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Se&&a==Se;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Se||n==i,o=e==Se||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:E.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==E.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==E.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ee);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ee);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Ee={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ee,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ee,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Ss(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Es(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new Ze(e.body,t,s),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=St(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=St(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e){return n==="noop"?new we(e,new qt,new ze):new we(e,new xe,new Qe)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Si(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Ei(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Si(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ei(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; +import{a as E,b as B,f as yt,g as Me,n as x,o as Ce,p as ue}from"./chunk-DTADTSJV.js";import"./chunk-XHR4TYVD.js";import{$ as S,ca as gt}from"./chunk-6U7QZ4SV.js";import{a as he,c as pt}from"./chunk-MGAX33HK.js";function _t(n){return new S(3e3,!1)}function Ht(){return new S(3100,!1)}function Yt(){return new S(3101,!1)}function Xt(n){return new S(3001,!1)}function Zt(n){return new S(3003,!1)}function Jt(n){return new S(3004,!1)}function xt(n,e){return new S(3005,!1)}function es(){return new S(3006,!1)}function ts(){return new S(3007,!1)}function ss(n,e){return new S(3008,!1)}function is(n){return new S(3002,!1)}function ns(n,e,t,s,i){return new S(3010,!1)}function rs(){return new S(3011,!1)}function as(){return new S(3012,!1)}function os(){return new S(3200,!1)}function ls(){return new S(3202,!1)}function hs(){return new S(3013,!1)}function us(n){return new S(3014,!1)}function cs(n){return new S(3015,!1)}function fs(n){return new S(3016,!1)}function ds(n){return new S(3500,!1)}function ms(n){return new S(3501,!1)}function ps(n,e){return new S(3404,!1)}function gs(n){return new S(3502,!1)}function ys(n){return new S(3503,!1)}function _s(){return new S(3300,!1)}function Ss(n){return new S(3504,!1)}function Es(n){return new S(3301,!1)}function Ts(n,e){return new S(3302,!1)}function vs(n){return new S(3303,!1)}function ws(n,e){return new S(3400,!1)}function bs(n){return new S(3401,!1)}function As(n){return new S(3402,!1)}function Ps(n,e){return new S(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function St(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,Et=!1;function ks(n){H||(H=Ds()||{},Et=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&Et&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case E.Trigger:return n.visitTrigger(e,t);case E.State:return n.visitState(e,t);case E.Transition:return n.visitTransition(e,t);case E.Sequence:return n.visitSequence(e,t);case E.Group:return n.visitGroup(e,t);case E.Animate:return n.visitAnimate(e,t);case E.Keyframes:return n.visitKeyframes(e,t);case E.Style:return n.visitStyle(e,t);case E.Reference:return n.visitReference(e,t);case E.AnimateChild:return n.visitAnimateChild(e,t);case E.AnimateRef:return n.visitAnimateRef(e,t);case E.Query:return n.visitQuery(e,t);case E.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Se="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Se&&a==Se;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Se||n==i,o=e==Se||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:E.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==E.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==E.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ee);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ee);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Ee={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ee,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ee,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Ss(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Es(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new Ze(e.body,t,s),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=St(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=St(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e){return n==="noop"?new we(e,new qt,new ze):new we(e,new xe,new Qe)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Si(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Ei(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Si(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ei(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; diff --git a/angular/docs/chunk-6OXRDEX7.js b/angular/docs/chunk-4AIX6Z6D.js similarity index 97% rename from angular/docs/chunk-6OXRDEX7.js rename to angular/docs/chunk-4AIX6Z6D.js index efbe73cd380..f458e453708 100644 --- a/angular/docs/chunk-6OXRDEX7.js +++ b/angular/docs/chunk-4AIX6Z6D.js @@ -1,4 +1,4 @@ -import{c as G}from"./chunk-PERFRTVS.js";import{a as I,b as B}from"./chunk-DOUQMV72.js";import{a as p,b as u,c as F,d as q,e as w,f as y,g as X,h as j,i as Z,j as C,k as f}from"./chunk-KQYWJLIW.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{a as N,b as P,c as H}from"./chunk-B6ZWLJIL.js";import{i as M}from"./chunk-SPMMWGWV.js";import{a as v}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{b as ee,c as b,e as T,f as _}from"./chunk-EBCID5MY.js";import{g as ie}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as ne}from"./chunk-SWYVARVN.js";import{r as te}from"./chunk-JJFVMVK7.js";import{c as K,d as Q}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{n as k,s as Y,t as J}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Ac as $,Bc as i,Ca as R,Cc as V,Da as z,Dc as D,Jb as S,Oc as s,Pc as h,Qb as c,Qc as U,_c as W,ac as t,bc as m,ec as L,lb as a,mb as A,na as l}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";function Ge(o,n){if(o&1&&(e(0,"c-col")(1,"c-card",2),m(2,"img",3),e(3,"c-card-body")(4,"h5",4),i(5,"Card title"),t(),e(6,"p",5),i(7),t()(),e(8,"c-card-footer")(9,"small",6),i(10),t()()()()),o&2){let E=n.$implicit,d=n.index;a(7),D(" ",E.body," "),a(3),D("Last updated ",d+10," mins ago")}}var oe=(()=>{let n=class n{constructor(){this.cards=new Array(4).fill({body:""})}ngOnInit(){this.cards[0]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."},this.cards[1]={body:"This card has supporting text below as a natural lead-in to additional content."},this.cards[2]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action."},this.cards[3]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."}}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card30"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],[1,"h-100"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,Ge,11,2,"c-col",1),t()),r&2&&(c("gutter",4)("md",3)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C,F],encapsulation:2});let o=n;return o})();function qe(o,n){if(o&1&&(e(0,"c-col")(1,"c-card",2),m(2,"img",3),e(3,"c-card-body")(4,"h5",4),i(5,"Card title"),t(),e(6,"p",5),i(7),t()()()()),o&2){let E=n.$implicit;a(7),D(" ",E.body," ")}}var re=(()=>{let n=class n{constructor(){this.cards=new Array(4).fill({body:""})}ngOnInit(){this.cards[0]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."},this.cards[1]={body:"This card has supporting text below as a natural lead-in to additional content."},this.cards[2]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action."},this.cards[3]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."}}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card29"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],[1,"h-100"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,qe,8,1,"c-col",1),t()),r&2&&(c("gutter",4)("md",3)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C],encapsulation:2});let o=n;return o})();function je(o,n){o&1&&(e(0,"c-col")(1,"c-card"),m(2,"img",2),e(3,"c-card-body")(4,"h5",3),i(5,"Card title"),t(),e(6,"p",4),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t()(),e(8,"c-card-footer")(9,"small",5),i(10,"Last updated 3 mins ago"),t()()()())}var ae=(()=>{let n=class n{constructor(){this.cards=new Array(4).fill({body:""})}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card28"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,je,11,0,"c-col",1),t()),r&2&&(c("gutter",4)("md",3)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C,F],encapsulation:2});let o=n;return o})();function Ne(o,n){o&1&&(e(0,"c-col")(1,"c-card"),m(2,"img",2),e(3,"c-card-body")(4,"h5",3),i(5,"Card title"),t(),e(6,"p",4),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t()(),e(8,"c-card-footer")(9,"small",5),i(10,"Last updated 3 mins ago"),t()()()())}var ce=(()=>{let n=class n{constructor(){this.cards=new Array(4)}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card27"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,Ne,11,0,"c-col",1),t()),r&2&&(c("gutter",4)("md",2)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C,F]});let o=n;return o})();var de=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card26"]],standalone:!0,features:[s],decls:31,vars:0,consts:[[1,"mb-4"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card-group",0)(1,"c-card"),m(2,"img",1),e(3,"c-card-body")(4,"h5",2),i(5,"Card title"),t(),e(6,"p",3),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t()(),e(8,"c-card-footer")(9,"small",4),i(10,"Last updated 3 mins ago"),t()()(),e(11,"c-card"),m(12,"img",1),e(13,"c-card-body")(14,"h5",2),i(15,"Card title"),t(),e(16,"p",3),i(17," This card has supporting text below as a natural lead-in to additional content. "),t()(),e(18,"c-card-footer")(19,"small",4),i(20,"Last updated 3 mins ago"),t()()(),e(21,"c-card"),m(22,"img",1),e(23,"c-card-body")(24,"h5",2),i(25,"Card title"),t(),e(26,"p",3),i(27," This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action. "),t()(),e(28,"c-card-footer")(29,"small",4),i(30,"Last updated 3 mins ago"),t()()()())},dependencies:[q,p,y,u,f,C,F]});let o=n;return o})();var le=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card25"]],standalone:!0,features:[s],decls:31,vars:0,consts:[[1,"mb-4"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card-group",0)(1,"c-card"),m(2,"img",1),e(3,"c-card-body")(4,"h5",2),i(5,"Card title"),t(),e(6,"p",3),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(8,"p",3)(9,"small",4),i(10,"Last updated 3 mins ago"),t()()()(),e(11,"c-card"),m(12,"img",1),e(13,"c-card-body")(14,"h5",2),i(15,"Card title"),t(),e(16,"p",3),i(17," This card has supporting text below as a natural lead-in to additional content. "),t(),e(18,"p",3)(19,"small",4),i(20,"Last updated 3 mins ago"),t()()()(),e(21,"c-card"),m(22,"img",1),e(23,"c-card-body")(24,"h5",2),i(25,"Card title"),t(),e(26,"p",3),i(27," This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action. "),t(),e(28,"p",3)(29,"small",4),i(30,"Last updated 3 mins ago"),t()()()()())},dependencies:[q,p,y,u,f,C]});let o=n;return o})();var Pe=o=>({color:o,width:3}),He=o=>({top:o});function Ae(o,n){if(o&1&&(e(0,"c-col",1)(1,"c-card",2)(2,"c-card-header"),i(3,"Header"),t(),e(4,"c-card-body")(5,"h5",3),i(6),t(),e(7,"p",4),i(8," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(9,"button",5),i(10,"Go somewhere"),t()()()()),o&2){let E=n.$implicit;c("lg",4),a(),c("cBorder",U(7,He,U(5,Pe,E.color)))("textColor",E.textColor),a(5),D("",E.color," card title"),a(3),c("color",E.color)}}var me=(()=>{let n=class n{constructor(){this.colors=[{color:"primary",textColor:"primary"},{color:"secondary",textColor:"secondary"},{color:"success",textColor:"success"},{color:"danger",textColor:"danger"},{color:"warning",textColor:"warning"},{color:"info",textColor:"info"},{color:"light"},{color:"dark"}]}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card24"]],standalone:!0,features:[s],decls:2,vars:1,consts:[[3,"lg",4,"ngFor","ngForOf"],[3,"lg"],[1,"mb-3",3,"cBorder","textColor"],["cCardTitle",""],["cCardText",""],["cButton","",3,"color"]],template:function(r,x){r&1&&(e(0,"c-row"),S(1,Ae,11,9,"c-col",0),t()),r&2&&(a(),c("ngForOf",x.colors))},dependencies:[T,k,b,p,G,w,u,f,C,v]});let o=n;return o})();function Ue(o,n){if(o&1&&(e(0,"c-col",1)(1,"c-card",2)(2,"c-card-header"),i(3,"Header"),t(),e(4,"c-card-body")(5,"h5",3),i(6),t(),e(7,"p",4),i(8," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(9,"button",5),i(10,"Go somewhere"),t()()()()),o&2){let E=n.$implicit;c("lg",4),a(),c("cBorder",E.color)("textColor",E.textColor),a(5),D("",E.color," card title"),a(3),c("color",E.color)}}var se=(()=>{let n=class n{constructor(){this.colors=[{color:"primary",textColor:"primary"},{color:"secondary",textColor:"secondary"},{color:"success",textColor:"success"},{color:"danger",textColor:"danger"},{color:"warning",textColor:"warning"},{color:"info",textColor:"info"},{color:"light"},{color:"dark"}]}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card23"]],standalone:!0,features:[s],decls:2,vars:1,consts:[[3,"lg",4,"ngFor","ngForOf"],[3,"lg"],[1,"mb-3",3,"cBorder","textColor"],["cCardTitle",""],["cCardText",""],["cButton","",3,"color"]],template:function(r,x){r&1&&(e(0,"c-row"),S(1,Ue,11,5,"c-col",0),t()),r&2&&(a(),c("ngForOf",x.colors))},dependencies:[T,k,b,p,G,w,u,f,C,v],encapsulation:2});let o=n;return o})();function Re(o,n){if(o&1&&(e(0,"c-col",1)(1,"c-card",2)(2,"c-card-header"),i(3,"Header"),t(),e(4,"c-card-body",3)(5,"h5",4),i(6),t(),e(7,"p",5),i(8," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(9,"button",6),i(10,"Go somewhere"),t()()()()),o&2){let E=n.$implicit;c("lg",4),a(),c("color",E.color)("textColor",E.color==="warning"||E.color==="light"?"":"white"),a(5),D("",E.color," card title"),a(3),c("color",E.color)}}var pe=(()=>{let n=class n{constructor(){this.colors=[{color:"primary",textColor:"primary"},{color:"secondary",textColor:"secondary"},{color:"success",textColor:"success"},{color:"danger",textColor:"danger"},{color:"warning",textColor:"warning"},{color:"info",textColor:"info"},{color:"light"},{color:"dark"}]}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card22"]],standalone:!0,features:[s],decls:2,vars:1,consts:[[3,"lg",4,"ngFor","ngForOf"],[3,"lg"],[1,"mb-3",3,"color","textColor"],[1,"bg-gradient"],["cCardTitle",""],["cCardText",""],["cButton","",1,"shadow",3,"color"]],template:function(r,x){r&1&&(e(0,"c-row"),S(1,Re,11,5,"c-col",0),t()),r&2&&(a(),c("ngForOf",x.colors))},dependencies:[T,k,b,p,w,u,f,C,v],encapsulation:2});let o=n;return o})();var ze=()=>({"max-width.px":540}),ue=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card21"]],standalone:!0,features:[s],decls:12,vars:4,consts:[[1,"mb-3",3,"ngStyle"],[1,"g-0"],[3,"md"],["src","./assets/img/angular400.jpg",3,"cCardImg"],["cCol","",3,"md"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-row",1)(2,"c-col",2),m(3,"img",3),t(),e(4,"c-card-body",4)(5,"h5",5),i(6,"Card title"),t(),e(7,"p",6),i(8," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(9,"p",6)(10,"small",7),i(11,"Last updated 3 mins ago"),t()()()()()),r&2&&(c("ngStyle",h(3,ze)),a(2),c("md",4),a(2),c("md",8))},dependencies:[p,Y,T,b,y,u,ee,f,C]});let o=n;return o})();var Ce=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card20"]],standalone:!0,features:[s],decls:10,vars:0,consts:[[1,"mb-3"],["src","./assets/img/angular.jpg",3,"cCardImg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card",0),m(1,"img",1),e(2,"c-card-img-overlay")(3,"h5",2),i(4,"Card title"),t(),e(5,"p",3),i(6," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(7,"p",3)(8,"small",4),i(9,"Last updated 3 mins ago"),t()()()())},dependencies:[p,y,X,f,C]});let o=n;return o})();var fe=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card19"]],standalone:!0,features:[s],decls:23,vars:0,consts:[[1,"mb-3"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"],["cCardImg","bottom","src","./assets/img/angular.jpg"]],template:function(r,x){r&1&&(e(0,"c-row")(1,"c-col")(2,"c-card",0),m(3,"img",1),e(4,"c-card-body")(5,"h5",2),i(6,"Card title"),t(),e(7,"p",3),i(8," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(9,"p",3)(10,"small",4),i(11,"Last updated 3 mins ago"),t()()()()(),e(12,"c-col")(13,"c-card",0)(14,"c-card-body")(15,"h5",2),i(16,"Card title"),t(),e(17,"p",3),i(18," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(19,"p",3)(20,"small",4),i(21,"Last updated 3 mins ago"),t()()(),m(22,"img",5),t()()())},dependencies:[T,b,p,y,u,f,C]});let o=n;return o})();var xe=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card18"]],standalone:!0,features:[s],decls:20,vars:1,consts:[[1,"text-center"],["variant","pills",1,"card-header-pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-header")(2,"c-nav",1)(3,"c-nav-item")(4,"a",2),i(5," Active "),t()(),e(6,"c-nav-item")(7,"a",3),i(8,"Link"),t()(),e(9,"c-nav-item")(10,"a",4),i(11," Disabled "),t()()()(),e(12,"c-card-body")(13,"c-card-body")(14,"h5",5),i(15,"Card title"),t(),e(16,"p",6),i(17," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(18,"button",7),i(19,"Go somewhere"),t()()()()),r&2&&(a(4),c("active",!0))},dependencies:[p,w,H,P,N,M,u,f,C,v]});let o=n;return o})();var he=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card17"]],standalone:!0,features:[s],decls:20,vars:1,consts:[[1,"text-center"],["variant","tabs",1,"card-header-tabs"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-header")(2,"c-nav",1)(3,"c-nav-item")(4,"a",2),i(5," Active "),t()(),e(6,"c-nav-item")(7,"a",3),i(8,"Link"),t()(),e(9,"c-nav-item")(10,"a",4),i(11," Disabled "),t()()()(),e(12,"c-card-body")(13,"c-card-body")(14,"h5",5),i(15,"Card title"),t(),e(16,"p",6),i(17," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(18,"button",7),i(19,"Go somewhere"),t()()()()),r&2&&(a(4),c("active",!0))},dependencies:[p,w,H,P,N,M,u,f,C,v]});let o=n;return o})();var ge=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card16"]],standalone:!0,features:[s],decls:24,vars:0,consts:[[1,"mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"],[1,"text-center","mb-4"],[1,"text-end","mb-4"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-body")(2,"h5",1),i(3,"Card title"),t(),e(4,"p",2),i(5," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(6,"button",3),i(7,"Go somewhere"),t()()(),e(8,"c-card",4)(9,"c-card-body")(10,"h5",1),i(11,"Card title"),t(),e(12,"p",2),i(13," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(14,"button",3),i(15,"Go somewhere"),t()()(),e(16,"c-card",5)(17,"c-card-body")(18,"h5",1),i(19,"Card title"),t(),e(20,"p",2),i(21," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(22,"button",3),i(23,"Go somewhere"),t()()())},dependencies:[p,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var ve=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card15"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-body")(2,"h5",0),i(3,"Card title"),t(),e(4,"p",1),i(5," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(6,"button",2),i(7,"Go somewhere"),t()()())},dependencies:[p,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var ye=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card14"]],standalone:!0,features:[s],decls:16,vars:0,consts:[[1,"w-75","mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"],[1,"w-50","mb-4"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-body")(2,"h5",1),i(3,"Card title"),t(),e(4,"p",2),i(5," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(6,"button",3),i(7,"Go somewhere"),t()()(),e(8,"c-card",4)(9,"c-card-body")(10,"h5",1),i(11,"Card title"),t(),e(12,"p",2),i(13," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(14,"button",3),i(15,"Go somewhere"),t()()())},dependencies:[p,u,f,C,v]});let o=n;return o})();var Se=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card13"]],standalone:!0,features:[s],decls:19,vars:2,consts:[[3,"sm"],[1,"mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-row")(1,"c-col",0)(2,"c-card",1)(3,"c-card-body")(4,"h5",2),i(5,"Card title"),t(),e(6,"p",3),i(7," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(8,"button",4),i(9,"Go somewhere"),t()()()(),e(10,"c-col",0)(11,"c-card",1)(12,"c-card-body")(13,"h5",2),i(14,"Card title"),t(),e(15,"p",3),i(16," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(17,"button",4),i(18,"Go somewhere"),t()()()()()),r&2&&(a(),c("sm",6),a(9),c("sm",6))},dependencies:[T,b,p,u,f,C,v]});let o=n;return o})();var we=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card12"]],standalone:!0,features:[s],decls:12,vars:0,consts:[[1,"text-center","mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-header"),i(2,"Header"),t(),e(3,"c-card-body")(4,"h5",1),i(5,"Card title"),t(),e(6,"p",2),i(7," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(8,"button",3),i(9,"Go somewhere"),t()(),e(10,"c-card-footer",4),i(11," 2 days ago "),t()())},dependencies:[p,w,u,f,C,v,F]});let o=n;return o})();var be=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card11"]],standalone:!0,features:[s],decls:11,vars:0,consts:[[1,"blockquote","mb-0"],[1,"blockquote-footer"],["title","Source Title"]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header"),i(2,"Quote"),t(),e(3,"c-card-body")(4,"blockquote",0)(5,"p"),i(6," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. "),t(),e(7,"footer",1),i(8," Someone famous in "),e(9,"cite",2),i(10,"Source Title"),t()()()()())},dependencies:[p,w,u]});let o=n;return o})();var Te=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card10"]],standalone:!0,features:[s],decls:11,vars:0,consts:[["cCardTitle",""],["cCardText",""],["cButton",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header")(2,"h5"),i(3,"Header"),t()(),e(4,"c-card-body")(5,"h5",0),i(6,"Special title treatment"),t(),e(7,"p",1),i(8,"With supporting text below as a natural lead-in to additional content."),t(),e(9,"button",2),i(10,"Go somewhere"),t()()())},dependencies:[p,w,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Ee=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card09"]],standalone:!0,features:[s],decls:10,vars:0,consts:[["cCardTitle",""],["cCardText",""],["cButton",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header"),i(2,"Header"),t(),e(3,"c-card-body")(4,"h5",0),i(5,"Special title treatment"),t(),e(6,"p",1),i(7,"With supporting text below as a natural lead-in to additional content."),t(),e(8,"button",2),i(9,"Go somewhere"),t()()())},dependencies:[p,w,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var De=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card08"]],standalone:!0,features:[s],decls:19,vars:1,consts:[["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],["cListGroup","",3,"flush"],["cListGroupItem",""],["cCardLink","",3,"routerLink"]],template:function(r,x){r&1&&(e(0,"c-card"),m(1,"img",0),e(2,"c-card-body")(3,"h5",1),i(4,"Card title"),t(),e(5,"p",2),i(6," Some quick example text to build on the card title and make up the bulk of the card content. "),t()(),e(7,"ul",3)(8,"li",4),i(9,"Cras justo odio"),t(),e(10,"li",4),i(11,"Dapibus ac facilisis in"),t(),e(12,"li",4),i(13,"Vestibulum at eros"),t()(),e(14,"c-card-body")(15,"a",5),i(16,"Card link"),t(),e(17,"a",5),i(18,"Another link"),t()()()),r&2&&(a(7),c("flush",!0))},dependencies:[p,y,u,f,C,I,B,j,M],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var ke=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card07"]],standalone:!0,features:[s],decls:10,vars:1,consts:[["cListGroup","",3,"flush"],["cListGroupItem",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"ul",0)(2,"li",1),i(3,"Cras justo odio"),t(),e(4,"li",1),i(5,"Dapibus ac facilisis in"),t(),e(6,"li",1),i(7,"Vestibulum at eros"),t()(),e(8,"c-card-footer"),i(9,"Footer"),t()()),r&2&&(a(),c("flush",!0))},dependencies:[p,I,B,F],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Fe=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card06"]],standalone:!0,features:[s],decls:10,vars:1,consts:[["cListGroup","",3,"flush"],["cListGroupItem",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header"),i(2,"Header"),t(),e(3,"ul",0)(4,"li",1),i(5,"Cras justo odio"),t(),e(6,"li",1),i(7,"Dapibus ac facilisis in"),t(),e(8,"li",1),i(9,"Vestibulum at eros"),t()()()),r&2&&(a(3),c("flush",!0))},dependencies:[p,w,I,B],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Me=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card05"]],standalone:!0,features:[s],decls:8,vars:1,consts:[["cListGroup","",3,"flush"],["cListGroupItem",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"ul",0)(2,"li",1),i(3,"Cras justo odio"),t(),e(4,"li",1),i(5,"Dapibus ac facilisis in"),t(),e(6,"li",1),i(7,"Vestibulum at eros"),t()()()),r&2&&(a(),c("flush",!0))},dependencies:[p,I,B],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var _e=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card04"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cCardImg","top","src","./assets/img/angular.jpg"],["cCardText",""]],template:function(r,x){r&1&&(e(0,"c-card"),m(1,"img",0),e(2,"c-card-body")(3,"p",1),i(4," Some quick example "),e(5,"strong"),i(6,"text"),t(),i(7," to build on the card title and make up the bulk of the card's content. "),t()()())},dependencies:[p,y,u,C],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Ie=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card03"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cCardTitle",""],["cCardSubtitle","",1,"mb-2","text-medium-emphasis"],["cCardText",""],["cCardLink","",3,"routerLink"]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-body")(2,"h5",0),i(3,"Card title"),t(),e(4,"h6",1),i(5," Card subtitle "),t(),e(6,"p",2),i(7," Some quick example text to build on the card title and make up the bulk of the card content. "),t(),e(8,"a",3),i(9,"Card link"),t(),e(10,"a",3),i(11,"Another link"),t()()())},dependencies:[p,u,f,Z,C,j,M],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Be=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card02"]],standalone:!0,features:[s],decls:3,vars:0,template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-body"),i(2,"This is some text within a card body."),t()())},dependencies:[p,u]});let o=n;return o})();var Le=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card01"]],standalone:!0,features:[s],decls:9,vars:0,consts:[["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],["cButton","","color","light"]],template:function(r,x){r&1&&(e(0,"c-card"),m(1,"img",0),e(2,"c-card-body")(3,"h5",1),i(4,"Card title"),t(),e(5,"p",2),i(6," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(7,"button",3),i(8,"Go somewhere"),t()()())},dependencies:[p,y,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Oe=`\`\`\`typescript +import{c as G}from"./chunk-FUXYYFQ6.js";import{a as I,b as B}from"./chunk-Y4VP6P5I.js";import{a as p,b as u,c as F,d as q,e as w,f as y,g as X,h as j,i as Z,j as C,k as f}from"./chunk-FDIAV3SM.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{a as N,b as P,c as H}from"./chunk-MD5QD7EN.js";import{i as M}from"./chunk-FULSUUPP.js";import{a as v}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{b as ee,c as b,e as T,f as _}from"./chunk-PZ32EFID.js";import{g as ie}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as ne}from"./chunk-MH6VOBXJ.js";import{r as te}from"./chunk-Q5WIR6QR.js";import{c as K,d as Q}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{n as k,s as Y,t as J}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Ac as $,Bc as i,Ca as R,Cc as V,Da as z,Dc as D,Jb as S,Oc as s,Pc as h,Qb as c,Qc as U,_c as W,ac as t,bc as m,ec as L,lb as a,mb as A,na as l}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";function Ge(o,n){if(o&1&&(e(0,"c-col")(1,"c-card",2),m(2,"img",3),e(3,"c-card-body")(4,"h5",4),i(5,"Card title"),t(),e(6,"p",5),i(7),t()(),e(8,"c-card-footer")(9,"small",6),i(10),t()()()()),o&2){let E=n.$implicit,d=n.index;a(7),D(" ",E.body," "),a(3),D("Last updated ",d+10," mins ago")}}var oe=(()=>{let n=class n{constructor(){this.cards=new Array(4).fill({body:""})}ngOnInit(){this.cards[0]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."},this.cards[1]={body:"This card has supporting text below as a natural lead-in to additional content."},this.cards[2]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action."},this.cards[3]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."}}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card30"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],[1,"h-100"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,Ge,11,2,"c-col",1),t()),r&2&&(c("gutter",4)("md",3)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C,F],encapsulation:2});let o=n;return o})();function qe(o,n){if(o&1&&(e(0,"c-col")(1,"c-card",2),m(2,"img",3),e(3,"c-card-body")(4,"h5",4),i(5,"Card title"),t(),e(6,"p",5),i(7),t()()()()),o&2){let E=n.$implicit;a(7),D(" ",E.body," ")}}var re=(()=>{let n=class n{constructor(){this.cards=new Array(4).fill({body:""})}ngOnInit(){this.cards[0]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."},this.cards[1]={body:"This card has supporting text below as a natural lead-in to additional content."},this.cards[2]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action."},this.cards[3]={body:"This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer."}}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card29"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],[1,"h-100"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,qe,8,1,"c-col",1),t()),r&2&&(c("gutter",4)("md",3)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C],encapsulation:2});let o=n;return o})();function je(o,n){o&1&&(e(0,"c-col")(1,"c-card"),m(2,"img",2),e(3,"c-card-body")(4,"h5",3),i(5,"Card title"),t(),e(6,"p",4),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t()(),e(8,"c-card-footer")(9,"small",5),i(10,"Last updated 3 mins ago"),t()()()())}var ae=(()=>{let n=class n{constructor(){this.cards=new Array(4).fill({body:""})}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card28"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,je,11,0,"c-col",1),t()),r&2&&(c("gutter",4)("md",3)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C,F],encapsulation:2});let o=n;return o})();function Ne(o,n){o&1&&(e(0,"c-col")(1,"c-card"),m(2,"img",2),e(3,"c-card-body")(4,"h5",3),i(5,"Card title"),t(),e(6,"p",4),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t()(),e(8,"c-card-footer")(9,"small",5),i(10,"Last updated 3 mins ago"),t()()()())}var ce=(()=>{let n=class n{constructor(){this.cards=new Array(4)}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card27"]],standalone:!0,features:[s],decls:2,vars:4,consts:[[1,"mb-3",3,"gutter","md","xs"],[4,"ngFor","ngForOf"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-row",0),S(1,Ne,11,0,"c-col",1),t()),r&2&&(c("gutter",4)("md",2)("xs",1),a(),c("ngForOf",x.cards))},dependencies:[T,_,k,b,p,y,u,f,C,F]});let o=n;return o})();var de=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card26"]],standalone:!0,features:[s],decls:31,vars:0,consts:[[1,"mb-4"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card-group",0)(1,"c-card"),m(2,"img",1),e(3,"c-card-body")(4,"h5",2),i(5,"Card title"),t(),e(6,"p",3),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t()(),e(8,"c-card-footer")(9,"small",4),i(10,"Last updated 3 mins ago"),t()()(),e(11,"c-card"),m(12,"img",1),e(13,"c-card-body")(14,"h5",2),i(15,"Card title"),t(),e(16,"p",3),i(17," This card has supporting text below as a natural lead-in to additional content. "),t()(),e(18,"c-card-footer")(19,"small",4),i(20,"Last updated 3 mins ago"),t()()(),e(21,"c-card"),m(22,"img",1),e(23,"c-card-body")(24,"h5",2),i(25,"Card title"),t(),e(26,"p",3),i(27," This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action. "),t()(),e(28,"c-card-footer")(29,"small",4),i(30,"Last updated 3 mins ago"),t()()()())},dependencies:[q,p,y,u,f,C,F]});let o=n;return o})();var le=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card25"]],standalone:!0,features:[s],decls:31,vars:0,consts:[[1,"mb-4"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card-group",0)(1,"c-card"),m(2,"img",1),e(3,"c-card-body")(4,"h5",2),i(5,"Card title"),t(),e(6,"p",3),i(7," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(8,"p",3)(9,"small",4),i(10,"Last updated 3 mins ago"),t()()()(),e(11,"c-card"),m(12,"img",1),e(13,"c-card-body")(14,"h5",2),i(15,"Card title"),t(),e(16,"p",3),i(17," This card has supporting text below as a natural lead-in to additional content. "),t(),e(18,"p",3)(19,"small",4),i(20,"Last updated 3 mins ago"),t()()()(),e(21,"c-card"),m(22,"img",1),e(23,"c-card-body")(24,"h5",2),i(25,"Card title"),t(),e(26,"p",3),i(27," This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action. "),t(),e(28,"p",3)(29,"small",4),i(30,"Last updated 3 mins ago"),t()()()()())},dependencies:[q,p,y,u,f,C]});let o=n;return o})();var Pe=o=>({color:o,width:3}),He=o=>({top:o});function Ae(o,n){if(o&1&&(e(0,"c-col",1)(1,"c-card",2)(2,"c-card-header"),i(3,"Header"),t(),e(4,"c-card-body")(5,"h5",3),i(6),t(),e(7,"p",4),i(8," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(9,"button",5),i(10,"Go somewhere"),t()()()()),o&2){let E=n.$implicit;c("lg",4),a(),c("cBorder",U(7,He,U(5,Pe,E.color)))("textColor",E.textColor),a(5),D("",E.color," card title"),a(3),c("color",E.color)}}var me=(()=>{let n=class n{constructor(){this.colors=[{color:"primary",textColor:"primary"},{color:"secondary",textColor:"secondary"},{color:"success",textColor:"success"},{color:"danger",textColor:"danger"},{color:"warning",textColor:"warning"},{color:"info",textColor:"info"},{color:"light"},{color:"dark"}]}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card24"]],standalone:!0,features:[s],decls:2,vars:1,consts:[[3,"lg",4,"ngFor","ngForOf"],[3,"lg"],[1,"mb-3",3,"cBorder","textColor"],["cCardTitle",""],["cCardText",""],["cButton","",3,"color"]],template:function(r,x){r&1&&(e(0,"c-row"),S(1,Ae,11,9,"c-col",0),t()),r&2&&(a(),c("ngForOf",x.colors))},dependencies:[T,k,b,p,G,w,u,f,C,v]});let o=n;return o})();function Ue(o,n){if(o&1&&(e(0,"c-col",1)(1,"c-card",2)(2,"c-card-header"),i(3,"Header"),t(),e(4,"c-card-body")(5,"h5",3),i(6),t(),e(7,"p",4),i(8," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(9,"button",5),i(10,"Go somewhere"),t()()()()),o&2){let E=n.$implicit;c("lg",4),a(),c("cBorder",E.color)("textColor",E.textColor),a(5),D("",E.color," card title"),a(3),c("color",E.color)}}var se=(()=>{let n=class n{constructor(){this.colors=[{color:"primary",textColor:"primary"},{color:"secondary",textColor:"secondary"},{color:"success",textColor:"success"},{color:"danger",textColor:"danger"},{color:"warning",textColor:"warning"},{color:"info",textColor:"info"},{color:"light"},{color:"dark"}]}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card23"]],standalone:!0,features:[s],decls:2,vars:1,consts:[[3,"lg",4,"ngFor","ngForOf"],[3,"lg"],[1,"mb-3",3,"cBorder","textColor"],["cCardTitle",""],["cCardText",""],["cButton","",3,"color"]],template:function(r,x){r&1&&(e(0,"c-row"),S(1,Ue,11,5,"c-col",0),t()),r&2&&(a(),c("ngForOf",x.colors))},dependencies:[T,k,b,p,G,w,u,f,C,v],encapsulation:2});let o=n;return o})();function Re(o,n){if(o&1&&(e(0,"c-col",1)(1,"c-card",2)(2,"c-card-header"),i(3,"Header"),t(),e(4,"c-card-body",3)(5,"h5",4),i(6),t(),e(7,"p",5),i(8," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(9,"button",6),i(10,"Go somewhere"),t()()()()),o&2){let E=n.$implicit;c("lg",4),a(),c("color",E.color)("textColor",E.color==="warning"||E.color==="light"?"":"white"),a(5),D("",E.color," card title"),a(3),c("color",E.color)}}var pe=(()=>{let n=class n{constructor(){this.colors=[{color:"primary",textColor:"primary"},{color:"secondary",textColor:"secondary"},{color:"success",textColor:"success"},{color:"danger",textColor:"danger"},{color:"warning",textColor:"warning"},{color:"info",textColor:"info"},{color:"light"},{color:"dark"}]}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card22"]],standalone:!0,features:[s],decls:2,vars:1,consts:[[3,"lg",4,"ngFor","ngForOf"],[3,"lg"],[1,"mb-3",3,"color","textColor"],[1,"bg-gradient"],["cCardTitle",""],["cCardText",""],["cButton","",1,"shadow",3,"color"]],template:function(r,x){r&1&&(e(0,"c-row"),S(1,Re,11,5,"c-col",0),t()),r&2&&(a(),c("ngForOf",x.colors))},dependencies:[T,k,b,p,w,u,f,C,v],encapsulation:2});let o=n;return o})();var ze=()=>({"max-width.px":540}),ue=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card21"]],standalone:!0,features:[s],decls:12,vars:4,consts:[[1,"mb-3",3,"ngStyle"],[1,"g-0"],[3,"md"],["src","./assets/img/angular400.jpg",3,"cCardImg"],["cCol","",3,"md"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-row",1)(2,"c-col",2),m(3,"img",3),t(),e(4,"c-card-body",4)(5,"h5",5),i(6,"Card title"),t(),e(7,"p",6),i(8," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(9,"p",6)(10,"small",7),i(11,"Last updated 3 mins ago"),t()()()()()),r&2&&(c("ngStyle",h(3,ze)),a(2),c("md",4),a(2),c("md",8))},dependencies:[p,Y,T,b,y,u,ee,f,C]});let o=n;return o})();var Ce=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card20"]],standalone:!0,features:[s],decls:10,vars:0,consts:[[1,"mb-3"],["src","./assets/img/angular.jpg",3,"cCardImg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card",0),m(1,"img",1),e(2,"c-card-img-overlay")(3,"h5",2),i(4,"Card title"),t(),e(5,"p",3),i(6," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(7,"p",3)(8,"small",4),i(9,"Last updated 3 mins ago"),t()()()())},dependencies:[p,y,X,f,C]});let o=n;return o})();var fe=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card19"]],standalone:!0,features:[s],decls:23,vars:0,consts:[[1,"mb-3"],["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],[1,"text-medium-emphasis"],["cCardImg","bottom","src","./assets/img/angular.jpg"]],template:function(r,x){r&1&&(e(0,"c-row")(1,"c-col")(2,"c-card",0),m(3,"img",1),e(4,"c-card-body")(5,"h5",2),i(6,"Card title"),t(),e(7,"p",3),i(8," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(9,"p",3)(10,"small",4),i(11,"Last updated 3 mins ago"),t()()()()(),e(12,"c-col")(13,"c-card",0)(14,"c-card-body")(15,"h5",2),i(16,"Card title"),t(),e(17,"p",3),i(18," This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. "),t(),e(19,"p",3)(20,"small",4),i(21,"Last updated 3 mins ago"),t()()(),m(22,"img",5),t()()())},dependencies:[T,b,p,y,u,f,C]});let o=n;return o})();var xe=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card18"]],standalone:!0,features:[s],decls:20,vars:1,consts:[[1,"text-center"],["variant","pills",1,"card-header-pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-header")(2,"c-nav",1)(3,"c-nav-item")(4,"a",2),i(5," Active "),t()(),e(6,"c-nav-item")(7,"a",3),i(8,"Link"),t()(),e(9,"c-nav-item")(10,"a",4),i(11," Disabled "),t()()()(),e(12,"c-card-body")(13,"c-card-body")(14,"h5",5),i(15,"Card title"),t(),e(16,"p",6),i(17," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(18,"button",7),i(19,"Go somewhere"),t()()()()),r&2&&(a(4),c("active",!0))},dependencies:[p,w,H,P,N,M,u,f,C,v]});let o=n;return o})();var he=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card17"]],standalone:!0,features:[s],decls:20,vars:1,consts:[[1,"text-center"],["variant","tabs",1,"card-header-tabs"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-header")(2,"c-nav",1)(3,"c-nav-item")(4,"a",2),i(5," Active "),t()(),e(6,"c-nav-item")(7,"a",3),i(8,"Link"),t()(),e(9,"c-nav-item")(10,"a",4),i(11," Disabled "),t()()()(),e(12,"c-card-body")(13,"c-card-body")(14,"h5",5),i(15,"Card title"),t(),e(16,"p",6),i(17," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(18,"button",7),i(19,"Go somewhere"),t()()()()),r&2&&(a(4),c("active",!0))},dependencies:[p,w,H,P,N,M,u,f,C,v]});let o=n;return o})();var ge=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card16"]],standalone:!0,features:[s],decls:24,vars:0,consts:[[1,"mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"],[1,"text-center","mb-4"],[1,"text-end","mb-4"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-body")(2,"h5",1),i(3,"Card title"),t(),e(4,"p",2),i(5," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(6,"button",3),i(7,"Go somewhere"),t()()(),e(8,"c-card",4)(9,"c-card-body")(10,"h5",1),i(11,"Card title"),t(),e(12,"p",2),i(13," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(14,"button",3),i(15,"Go somewhere"),t()()(),e(16,"c-card",5)(17,"c-card-body")(18,"h5",1),i(19,"Card title"),t(),e(20,"p",2),i(21," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(22,"button",3),i(23,"Go somewhere"),t()()())},dependencies:[p,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var ve=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card15"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-body")(2,"h5",0),i(3,"Card title"),t(),e(4,"p",1),i(5," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(6,"button",2),i(7,"Go somewhere"),t()()())},dependencies:[p,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var ye=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card14"]],standalone:!0,features:[s],decls:16,vars:0,consts:[[1,"w-75","mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"],[1,"w-50","mb-4"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-body")(2,"h5",1),i(3,"Card title"),t(),e(4,"p",2),i(5," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(6,"button",3),i(7,"Go somewhere"),t()()(),e(8,"c-card",4)(9,"c-card-body")(10,"h5",1),i(11,"Card title"),t(),e(12,"p",2),i(13," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(14,"button",3),i(15,"Go somewhere"),t()()())},dependencies:[p,u,f,C,v]});let o=n;return o})();var Se=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card13"]],standalone:!0,features:[s],decls:19,vars:2,consts:[[3,"sm"],[1,"mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"]],template:function(r,x){r&1&&(e(0,"c-row")(1,"c-col",0)(2,"c-card",1)(3,"c-card-body")(4,"h5",2),i(5,"Card title"),t(),e(6,"p",3),i(7," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(8,"button",4),i(9,"Go somewhere"),t()()()(),e(10,"c-col",0)(11,"c-card",1)(12,"c-card-body")(13,"h5",2),i(14,"Card title"),t(),e(15,"p",3),i(16," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(17,"button",4),i(18,"Go somewhere"),t()()()()()),r&2&&(a(),c("sm",6),a(9),c("sm",6))},dependencies:[T,b,p,u,f,C,v]});let o=n;return o})();var we=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card12"]],standalone:!0,features:[s],decls:12,vars:0,consts:[[1,"text-center","mb-4"],["cCardTitle",""],["cCardText",""],["cButton","","color","primary"],[1,"text-medium-emphasis"]],template:function(r,x){r&1&&(e(0,"c-card",0)(1,"c-card-header"),i(2,"Header"),t(),e(3,"c-card-body")(4,"h5",1),i(5,"Card title"),t(),e(6,"p",2),i(7," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(8,"button",3),i(9,"Go somewhere"),t()(),e(10,"c-card-footer",4),i(11," 2 days ago "),t()())},dependencies:[p,w,u,f,C,v,F]});let o=n;return o})();var be=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card11"]],standalone:!0,features:[s],decls:11,vars:0,consts:[[1,"blockquote","mb-0"],[1,"blockquote-footer"],["title","Source Title"]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header"),i(2,"Quote"),t(),e(3,"c-card-body")(4,"blockquote",0)(5,"p"),i(6," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. "),t(),e(7,"footer",1),i(8," Someone famous in "),e(9,"cite",2),i(10,"Source Title"),t()()()()())},dependencies:[p,w,u]});let o=n;return o})();var Te=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card10"]],standalone:!0,features:[s],decls:11,vars:0,consts:[["cCardTitle",""],["cCardText",""],["cButton",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header")(2,"h5"),i(3,"Header"),t()(),e(4,"c-card-body")(5,"h5",0),i(6,"Special title treatment"),t(),e(7,"p",1),i(8,"With supporting text below as a natural lead-in to additional content."),t(),e(9,"button",2),i(10,"Go somewhere"),t()()())},dependencies:[p,w,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Ee=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card09"]],standalone:!0,features:[s],decls:10,vars:0,consts:[["cCardTitle",""],["cCardText",""],["cButton",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header"),i(2,"Header"),t(),e(3,"c-card-body")(4,"h5",0),i(5,"Special title treatment"),t(),e(6,"p",1),i(7,"With supporting text below as a natural lead-in to additional content."),t(),e(8,"button",2),i(9,"Go somewhere"),t()()())},dependencies:[p,w,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var De=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card08"]],standalone:!0,features:[s],decls:19,vars:1,consts:[["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],["cListGroup","",3,"flush"],["cListGroupItem",""],["cCardLink","",3,"routerLink"]],template:function(r,x){r&1&&(e(0,"c-card"),m(1,"img",0),e(2,"c-card-body")(3,"h5",1),i(4,"Card title"),t(),e(5,"p",2),i(6," Some quick example text to build on the card title and make up the bulk of the card content. "),t()(),e(7,"ul",3)(8,"li",4),i(9,"Cras justo odio"),t(),e(10,"li",4),i(11,"Dapibus ac facilisis in"),t(),e(12,"li",4),i(13,"Vestibulum at eros"),t()(),e(14,"c-card-body")(15,"a",5),i(16,"Card link"),t(),e(17,"a",5),i(18,"Another link"),t()()()),r&2&&(a(7),c("flush",!0))},dependencies:[p,y,u,f,C,I,B,j,M],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var ke=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card07"]],standalone:!0,features:[s],decls:10,vars:1,consts:[["cListGroup","",3,"flush"],["cListGroupItem",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"ul",0)(2,"li",1),i(3,"Cras justo odio"),t(),e(4,"li",1),i(5,"Dapibus ac facilisis in"),t(),e(6,"li",1),i(7,"Vestibulum at eros"),t()(),e(8,"c-card-footer"),i(9,"Footer"),t()()),r&2&&(a(),c("flush",!0))},dependencies:[p,I,B,F],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Fe=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card06"]],standalone:!0,features:[s],decls:10,vars:1,consts:[["cListGroup","",3,"flush"],["cListGroupItem",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-header"),i(2,"Header"),t(),e(3,"ul",0)(4,"li",1),i(5,"Cras justo odio"),t(),e(6,"li",1),i(7,"Dapibus ac facilisis in"),t(),e(8,"li",1),i(9,"Vestibulum at eros"),t()()()),r&2&&(a(3),c("flush",!0))},dependencies:[p,w,I,B],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Me=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card05"]],standalone:!0,features:[s],decls:8,vars:1,consts:[["cListGroup","",3,"flush"],["cListGroupItem",""]],template:function(r,x){r&1&&(e(0,"c-card")(1,"ul",0)(2,"li",1),i(3,"Cras justo odio"),t(),e(4,"li",1),i(5,"Dapibus ac facilisis in"),t(),e(6,"li",1),i(7,"Vestibulum at eros"),t()()()),r&2&&(a(),c("flush",!0))},dependencies:[p,I,B],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var _e=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card04"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cCardImg","top","src","./assets/img/angular.jpg"],["cCardText",""]],template:function(r,x){r&1&&(e(0,"c-card"),m(1,"img",0),e(2,"c-card-body")(3,"p",1),i(4," Some quick example "),e(5,"strong"),i(6,"text"),t(),i(7," to build on the card title and make up the bulk of the card's content. "),t()()())},dependencies:[p,y,u,C],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Ie=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card03"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cCardTitle",""],["cCardSubtitle","",1,"mb-2","text-medium-emphasis"],["cCardText",""],["cCardLink","",3,"routerLink"]],template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-body")(2,"h5",0),i(3,"Card title"),t(),e(4,"h6",1),i(5," Card subtitle "),t(),e(6,"p",2),i(7," Some quick example text to build on the card title and make up the bulk of the card content. "),t(),e(8,"a",3),i(9,"Card link"),t(),e(10,"a",3),i(11,"Another link"),t()()())},dependencies:[p,u,f,Z,C,j,M],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Be=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card02"]],standalone:!0,features:[s],decls:3,vars:0,template:function(r,x){r&1&&(e(0,"c-card")(1,"c-card-body"),i(2,"This is some text within a card body."),t()())},dependencies:[p,u]});let o=n;return o})();var Le=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=l({type:n,selectors:[["docs-card01"]],standalone:!0,features:[s],decls:9,vars:0,consts:[["cCardImg","top","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],["cButton","","color","light"]],template:function(r,x){r&1&&(e(0,"c-card"),m(1,"img",0),e(2,"c-card-body")(3,"h5",1),i(4,"Card title"),t(),e(5,"p",2),i(6," Some quick example text to build on the card title and make up the bulk of the card's content. "),t(),e(7,"button",3),i(8,"Go somewhere"),t()()())},dependencies:[p,y,u,f,C,v],styles:["[_nghost-%COMP%] c-card[_ngcontent-%COMP%]{min-width:9rem}"]});let o=n;return o})();var Oe=`\`\`\`typescript import { CardModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-7XKRTNVZ.js b/angular/docs/chunk-4NGMK3CL.js similarity index 99% rename from angular/docs/chunk-7XKRTNVZ.js rename to angular/docs/chunk-4NGMK3CL.js index 7b1dc8feffc..13ef7947d51 100644 --- a/angular/docs/chunk-7XKRTNVZ.js +++ b/angular/docs/chunk-4NGMK3CL.js @@ -1 +1 @@ -import{a as li}from"./chunk-J4FX3WSX.js";import{A as oi,a as ii,c as ni,e as si,l as ri}from"./chunk-JZLZFTWK.js";import{c as Yt}from"./chunk-R2HXWLDR.js";import{c as ht,d as dt,e as ut}from"./chunk-KASAEZY4.js";import{a as O,c as Xt,d as ze,e as Oe,f as Jt,g as xe,i as ti,k as Ye}from"./chunk-QNSTT6ST.js";import{b as Pe,d as ei}from"./chunk-T5CNCUEW.js";import{d as Fe,m as Gt,s as Ae,t as lt,u as at,w as ct}from"./chunk-FIXU3TFH.js";import{$b as C,A as Y,Aa as $,Ac as de,B as We,Ba as Z,Bc as Q,Cc as be,D as it,Dc as ye,Eb as rt,Ec as Kt,F as ve,Ga as Ft,Gb as X,H as nt,Ia as ae,J as He,Jb as T,K as se,Kc as Ut,La as A,Lb as Bt,Lc as Qt,Mc as $t,Na as W,Nb as jt,Nc as fe,Oc as B,P as Tt,Pb as ce,Pc as Ie,Qb as E,Qc as we,Rb as Lt,S as Rt,Sb as Nt,Sc as Zt,T as Dt,Tb as Wt,U as st,Ub as J,V as It,Vc as ot,W as Te,Wb as R,Wc as Ze,Xc as qe,Y as I,Yb as Qe,Zb as Se,_b as Ce,_c as Ve,a as Ot,ac as y,ba as Ke,bc as he,c as Le,ca as ue,e as xt,ec as Re,f as F,fa as pe,fc as oe,g as ne,gc as Ht,ha as re,i as Mt,ia as j,id as ee,j as Et,ja as Vt,jd as Ge,ka as kt,lb as _,m as Me,mb as g,mc as H,na as z,nd as D,o as Ne,ob as At,oc as S,od as qt,pa as le,pc as K,pd as ke,q as ge,qc as U,rb as zt,rc as $e,tb as q,tc as De,uc as L,vc as V,wb as Pt,wc as k,x as Ee,xa as _e,xb as Ue,zb as P}from"./chunk-O6V6MKDU.js";import{a as G,b as je,e as h,f as b,g as v}from"./chunk-MGAX33HK.js";var pt=class{};function ai(s){return s&&typeof s.connect=="function"&&!(s instanceof xt)}var Xe=class extends pt{constructor(t){super(),this._data=t}connect(){return Ne(this._data)?this._data:Me(this._data)}disconnect(){}},Be=function(s){return s[s.REPLACED=0]="REPLACED",s[s.INSERTED=1]="INSERTED",s[s.MOVED=2]="MOVED",s[s.REMOVED=3]="REMOVED",s}(Be||{}),ft=new pe("_ViewRepeater");var Je=class{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,n,e,i,r){t.forEachOperation((l,u,m)=>{let f,x;if(l.previousIndex==null){let o=()=>e(l,u,m);f=this._insertView(o,m,n,i(l)),x=f?Be.INSERTED:Be.REPLACED}else m==null?(this._detachAndCacheView(u,n),x=Be.REMOVED):(f=this._moveView(u,m,n,i(l)),x=Be.MOVED);r&&r({context:f?.context,operation:x,record:l})})}detach(){for(let t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,n,e,i){let r=this._insertViewFromCache(n,e);if(r){r.context.$implicit=i;return}let l=t();return e.createEmbeddedView(l.templateRef,l.context,l.index)}_detachAndCacheView(t,n){let e=n.detach(t);this._maybeCacheView(e,n)}_moveView(t,n,e,i){let r=e.get(t);return e.move(r,n),r.context.$implicit=i,r}_maybeCacheView(t,n){if(this._viewCache.lengththis._markSelected(r)):this._markSelected(n[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}setSelection(...t){this._verifyValueAssignment(t);let n=this.selected,e=new Set(t);t.forEach(r=>this._markSelected(r)),n.filter(r=>!e.has(this._getConcreteValue(r,e))).forEach(r=>this._unmarkSelected(r));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let n=this._hasQueuedChanges();return t&&this._emitChangeEvent(),n}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,n){if(this.compareWith){n=n??this._selection;for(let e of n)if(this.compareWith(t,e))return e;return t}else return t}};var ie=(()=>{let t=class t{constructor(){this.optionsStyle="checkbox",this.multiSelectVisible=new ne(!1),this.multiSelectVisible$=this.multiSelectVisible.asObservable(),this.multiSelectFocus=new F,this.multiSelectFocus$=this.multiSelectFocus.asObservable(),this.userOptionsSignal=P([]),this.optionsArray=new ne([]),this.optionsArray$=this.optionsArray.asObservable()}setSelectionModel(e=!0,i=[]){this.selectionModel=new et(e)}toggleVisible(e){this.multiSelectVisible.next(e)}focusChange(e){this.multiSelectFocus.next(e)}getUserOptions(){return ke(this.userOptionsSignal)}addUserOption(e){this.userOptionsSignal.update(i=>[...i,e])}removeUserOption(e){let i=this.userOptionsSignal().filter(r=>r.value!==e);this.userOptionsSignal.set(i)}removeAllUserOptions(){this.userOptionsSignal.set([])}getOptionsArray(){return this.optionsArray$}updateOptionsArray(e){this.optionsArray.next(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=ue({token:t,factory:t.\u0275fac});let s=t;return s})();var yi=["contentDiv"],wi=["*"];function Oi(s,t){if(s&1&&(C(0,"div"),Q(1),y()),s&2){let n,e=S();_(),ye(" ",(n=(n=e.text)!==null&&n!==void 0?n:e.label)!==null&&n!==void 0?n:e.value==null?null:e.value.toString()," ")}}var me=(()=>{var t,n,e,i,r,l,u,m,f,x;let o=class o{constructor(a,d,p,w){b(this,t);b(this,n);b(this,e);b(this,i);b(this,r);b(this,l);b(this,u);b(this,m);b(this,f);b(this,x);this.elementRef=a,this.changeDetectorRef=d,this.focusMonitor=p,this.multiSelectService=w,v(this,t,j(ae)),v(this,n,j(q)),this.optionsStyle=this.multiSelectService?.optionsStyle??"checkbox",v(this,e,P(!0)),this.disabled=!1,v(this,i,P(void 0)),this.selectedChange=new W,v(this,r,P(void 0)),this.hasContent=P(!0),v(this,l,P(!1)),v(this,u,P(!1)),v(this,m,!1),this.focusChange=new W,v(this,f,ke(()=>h(this,u).call(this)&&h(this,e).call(this)?0:-1)),v(this,x,ke(()=>{let M=h(this,r).call(this),N=h(this,i).call(this);return M!==void 0&&N!==void 0&&(N?this.multiSelectService.selectionModel?.select(M):this.multiSelectService.selectionModel?.deselect(M),this.selectedChange.emit(N),this.changeDetectorRef.markForCheck()),N}))}set visible(a){h(this,e).set(a)}get visible(){return h(this,e).call(this)}set selected(a){if(a!==void 0){let d=D(a);h(this,i).call(this)!==d&&(h(this,i).set(d),this.value!==void 0&&(d?this.multiSelectService.selectionModel?.select(this.value):this.multiSelectService.selectionModel?.deselect(this.value)))}}get selected(){return h(this,i).call(this)}set value(a){h(this,r).call(this)!==a&&h(this,r).set(a)}get value(){return h(this,r).call(this)}set active(a){let d=a&&h(this,e).call(this)&&!this.disabled;h(this,u).call(this)!==d&&h(this,u).set(d)}get active(){return h(this,u).call(this)&&h(this,e).call(this)}get role(){return"option"}get hostClasses(){return{"form-multi-select-option":!0,"form-multi-selected":h(this,i).call(this),[`form-multi-select-option-with-${this.optionsStyle}`]:!!this.optionsStyle,disabled:this.disabled,"d-none":!h(this,e).call(this),active:h(this,u).call(this),focused:h(this,m)}}get tabIndex(){return this.disabled||!h(this,e).call(this)?-1:h(this,f).call(this)}get ariaDisabled(){return this.disabled||null}get ariaSelected(){return h(this,x).call(this)??!1}onKeyDown(a){["Space"].includes(a.code)&&a.preventDefault(),["Tab"].includes(a.code)&&a.preventDefault()}onBlur(){v(this,m,!1)}onFocus(){v(this,m,!0)}onKeyUp(a){h(this,l).call(this)&&["Enter","Space"].includes(a.code)&&(a.stopImmediatePropagation(),a.preventDefault(),this.selected=this.disabled?h(this,i).call(this):!h(this,i).call(this),this.focus("keyboard"))}onClick(a){a.stopPropagation(),this.selected=this.disabled?h(this,i).call(this):!h(this,i).call(this),this.focus("mouse")}ngAfterViewInit(){this.setSubscriptions();let a=!!this.contentDiv?.nativeElement.childNodes.length;if(a||h(this,n).runOutsideAngular(()=>{setTimeout(()=>{this.hasContent.set(a)})}),this.text===void 0){let d=this.elementRef.nativeElement.textContent.trim()||this.elementRef.nativeElement.innerText.trim();this.text=d||this.value?.toString().trim()}this.label===void 0&&(this.label=this.text?.trim()),this.value===void 0&&(this.value=this.label?.trim()||"..."),this.changeDetectorRef.destroyed||(this.selected=this.isSelected(this.value),this.changeDetectorRef.markForCheck())}getLabel(){return this.label??this.value}focus(a="program"){h(this,l).call(this)&&!this.disabled&&(this.focusMonitor.focusVia(this.elementRef.nativeElement,a,{preventScroll:!1}),this.multiSelectService.focusChange(this),this.changeDetectorRef.markForCheck(),this.focusChange.emit(this))}setSubscriptions(){this.multiSelectService.multiSelectVisible$.pipe(I(a=>{h(this,l).set(a)}),O(h(this,t))).subscribe(),this.multiSelectService.multiSelectFocus$.pipe(se(),Y(a=>this.active!==(this.value===a.value)),I(a=>{this.active=this.value===a.value,this.changeDetectorRef.markForCheck()}),O(h(this,t))).subscribe(),this.changeDetectorRef.destroyed||this.multiSelectService.selectionModel.changed.pipe(Y(a=>a.added.includes(this.value)||a.removed.includes(this.value)),I(a=>{this.selected=a.added.includes(this.value),this.changeDetectorRef.markForCheck()}),O(h(this,t))).subscribe()}isSelected(a=this.value){return(h(this,i).call(this)||this.multiSelectService.selectionModel?.isSelected(a))??!1}};t=new WeakMap,n=new WeakMap,e=new WeakMap,i=new WeakMap,r=new WeakMap,l=new WeakMap,u=new WeakMap,m=new WeakMap,f=new WeakMap,x=new WeakMap,o.\u0275fac=function(d){return new(d||o)(g(A),g(ee),g(Ye),g(ie))},o.\u0275cmp=z({type:o,selectors:[["c-multi-select-option"]],viewQuery:function(d,p){if(d&1&&L(yi,5),d&2){let w;V(w=k())&&(p.contentDiv=w.first)}},hostVars:7,hostBindings:function(d,p){d&1&&H("keydown",function(M){return p.onKeyDown(M)})("blur",function(){return p.onBlur()})("focus",function(){return p.onFocus()})("keyup",function(M){return p.onKeyUp(M)})("click",function(M){return p.onClick(M)}),d&2&&(Ht("role",p.role),ce("tabindex",p.tabIndex)("disabled",p.ariaDisabled)("aria-disabled",p.ariaDisabled)("aria-selected",p.ariaSelected),J(p.hostClasses))},inputs:{optionsStyle:"optionsStyle",label:"label",text:"text",visible:[2,"visible","visible",D],disabled:[2,"disabled","disabled",D],selected:"selected",value:"value",active:[2,"active","active",D],role:"role"},outputs:{selectedChange:"selectedChange",focusChange:"focusChange"},exportAs:["cMultiSelectOption"],standalone:!0,features:[X,B],ngContentSelectors:wi,decls:4,vars:1,consts:[["contentDiv",""]],template:function(d,p){d&1&&(K(),C(0,"div",null,0),U(2),y(),T(3,Oi,2,1,"div")),d&2&&(_(3),R(p.hasContent()?-1:3))},styles:["[_nghost-%COMP%]{display:block;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden}.active[_nghost-%COMP%]{border-radius:var(--cui-form-multi-select-option-indicator-border-radius, .375rem);box-shadow:0 0 .125rem 0 var(--cui-gray-400)}.focused[_nghost-%COMP%], [_nghost-%COMP%] [_ngcontent-%COMP%]:focus-visible{box-shadow:0 0 0 .125rem #321fdb40;outline:none}"],changeDetection:0});let s=o;return s})();var Ei=new pe("cdk-dir-doc",{providedIn:"root",factory:Ti});function Ti(){return j(Fe)}var Ri=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Di(s){let t=s?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?Ri.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var tt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new W,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=Di(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(re(Ei,8))},t.\u0275prov=ue({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();var Vi=["contentWrapper"],ki=["*"],di=new pe("VIRTUAL_SCROLL_STRATEGY"),gt=class{constructor(t,n,e){this._scrolledIndexChange=new F,this.scrolledIndexChange=this._scrolledIndexChange.pipe(se()),this._viewport=null,this._itemSize=t,this._minBufferPx=n,this._maxBufferPx=e}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,n,e){e0?r/this._itemSize:0;if(n.end>i){let m=Math.ceil(e/this._itemSize),f=Math.max(0,Math.min(l,i-m));l!=f&&(l=f,r=f*this._itemSize,n.start=Math.floor(l)),n.end=Math.max(0,Math.min(i,n.start+m))}let u=r-n.start*this._itemSize;if(u0&&(n.end=Math.min(i,n.end+f),n.start=Math.max(0,Math.floor(l-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(n),this._viewport.setRenderedContentOffset(this._itemSize*n.start),this._scrolledIndexChange.next(Math.floor(l))}};function Fi(s){return s._scrollStrategy}var ui=(()=>{let t=class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new gt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Pe(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Pe(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Pe(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=le({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[fe([{provide:di,useFactory:Fi,deps:[Ke(()=>t)]}]),_e]});let s=t;return s})(),Ai=20,vt=(()=>{let t=class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new F,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Ai){return this._platform.isBrowser?new Le(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(We(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Me()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Y(l=>!l||r.indexOf(l)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,l)=>{this._scrollableContainsElement(l,e)&&i.push(l)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=ei(i),l=e.getElementRef().nativeElement;do if(r==l)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Ee(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(re(q),re(ze),re(Fe,8))},t.\u0275prov=ue({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),pi=(()=>{let t=class t{constructor(e,i,r,l){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=l,this._destroyed=new F,this._elementScrolled=new Le(u=>this.ngZone.runOutsideAngular(()=>Ee(this.elementRef.nativeElement,"scroll").pipe(Te(this._destroyed)).subscribe(u)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&xe()!=Oe.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),xe()==Oe.INVERTED?e.left=e.right:xe()==Oe.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Jt()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",l=this.elementRef.nativeElement;if(e=="top")return l.scrollTop;if(e=="bottom")return l.scrollHeight-l.clientHeight-l.scrollTop;let u=this.dir&&this.dir.value=="rtl";return e=="start"?e=u?r:i:e=="end"&&(e=u?i:r),u&&xe()==Oe.INVERTED?e==i?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:u&&xe()==Oe.NEGATED?e==i?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:e==i?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(g(A),g(vt),g(q),g(tt,8))},t.\u0275dir=le({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let s=t;return s})(),zi=20,Pi=(()=>{let t=class t{constructor(e,i,r){this._platform=e,this._change=new F,this._changeListener=l=>{this._change.next(l)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let l=this._getWindow();l.addEventListener("resize",this._changeListener),l.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,l=r.getBoundingClientRect(),u=-l.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,m=-l.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:u,left:m}}change(e=zi){return e>0?this._change.pipe(We(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(re(ze),re(q),re(Fe,8))},t.\u0275prov=ue({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),ci=new pe("VIRTUAL_SCROLLABLE"),Bi=(()=>{let t=class t extends pi{constructor(e,i,r,l){super(e,i,r,l)}measureViewportSize(e){let i=this.elementRef.nativeElement;return e==="horizontal"?i.clientWidth:i.clientHeight}};t.\u0275fac=function(i){return new(i||t)(g(A),g(vt),g(q),g(tt,8))},t.\u0275dir=le({type:t,features:[rt]});let s=t;return s})();function ji(s,t){return s.start==t.start&&s.end==t.end}var Li=typeof requestAnimationFrame<"u"?Et:Mt,_t=(()=>{let t=class t extends Bi{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}constructor(e,i,r,l,u,m,f,x){super(e,m,r,u),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=l,this.scrollable=x,this._platform=j(ze),this._detachedSubject=new F,this._renderedRangeSubject=new F,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new Le(o=>this._scrollStrategy.scrolledIndexChange.subscribe(c=>Promise.resolve().then(()=>this.ngZone.run(()=>o.next(c))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Ot.EMPTY,this._injector=j(Ft),this._isDestroyed=!1,this._viewportChanges=f.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(st(null),We(0,Li),Te(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Te(this._detachedSubject)).subscribe(i=>{let r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){ji(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&i==="to-start"?0:e;let r=this.dir&&this.dir.value=="rtl",l=this.orientation=="horizontal",u=l?"X":"Y",f=`translate${u}(${Number((l&&r?-1:1)*e)}px)`;this._renderedContentOffset=e,i==="to-end"&&(f+=` translate${u}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=f&&(this._renderedContentTransform=f,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){let r={behavior:i};this.orientation==="horizontal"?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return this.scrollable==this?i=r=>super.measureScrollOffset(r):i=r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i,r="left",l="right",u=this.dir?.value=="rtl";e=="start"?i=u?l:r:e=="end"?i=u?r:l:e?i=e:i=this.orientation==="horizontal"?"left":"top";let m=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-m}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,Pt(()=>{this._isChangeDetectionPending=!1;let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let i of e)i()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight=this.orientation==="horizontal"?"":`${this._totalContentSize}px`,this._totalContentWidth=this.orientation==="horizontal"?`${this._totalContentSize}px`:""}};t.\u0275fac=function(i){return new(i||t)(g(A),g(ee),g(q),g(di,8),g(tt,8),g(vt),g(Pi),g(ci,8))},t.\u0275cmp=z({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,r){if(i&1&&L(Vi,7),i&2){let l;V(l=k())&&(r._contentWrapper=l.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,r){i&2&&Nt("cdk-virtual-scroll-orientation-horizontal",r.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",r.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",D]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[fe([{provide:pi,useFactory:(e,i)=>e||i,deps:[[new kt,new Vt(ci)],t]}]),X,rt,B],ngContentSelectors:ki,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(i,r){i&1&&(K(),C(0,"div",1,0),U(2),y(),he(3,"div",2)),i&2&&(_(3),Lt("width",r._totalContentWidth)("height",r._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0});let s=t;return s})();function hi(s,t,n){let e=n;if(!e.getBoundingClientRect)return 0;let i=e.getBoundingClientRect();return s==="horizontal"?t==="start"?i.left:i.right:t==="start"?i.top:i.bottom}var fi=(()=>{let t=class t{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,ai(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Xe(Ne(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(i,r)=>e(i+(this._renderedRange?this._renderedRange.start:0),r):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Pe(e)}constructor(e,i,r,l,u,m){this._viewContainerRef=e,this._template=i,this._differs=r,this._viewRepeater=l,this._viewport=u,this.viewChange=new F,this._dataSourceChanges=new F,this.dataStream=this._dataSourceChanges.pipe(st(null),Tt(),It(([f,x])=>this._changeDataSource(f,x)),Rt(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new F,this.dataStream.subscribe(f=>{this._data=f,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Te(this._destroyed)).subscribe(f=>{this._renderedRange=f,this.viewChange.observers.length&&m.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,i){if(e.start>=e.end)return 0;e.startthis._renderedRange.end;let r=e.start-this._renderedRange.start,l=e.end-e.start,u,m;for(let f=0;f-1;f--){let x=this._viewContainerRef.get(f+r);if(x&&x.rootNodes.length){m=x.rootNodes[x.rootNodes.length-1];break}}return u&&m?hi(i,"end",m)-hi(i,"start",u):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,i):i)),this._needsUpdate=!0)}_changeDataSource(e,i){return e&&e.disconnect(this),this._needsUpdate=!0,i?i.connect(this):Me()}_updateContext(){let e=this._data.length,i=this._viewContainerRef.length;for(;i--;){let r=this._viewContainerRef.get(i);r.context.index=this._renderedRange.start+i,r.context.count=e,this._updateComputedContextProperties(r.context),r.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(l,u,m)=>this._getEmbeddedViewArgs(l,m),l=>l.item),e.forEachIdentityChange(l=>{let u=this._viewContainerRef.get(l.currentIndex);u.context.$implicit=l.item});let i=this._data.length,r=this._viewContainerRef.length;for(;r--;){let l=this._viewContainerRef.get(r);l.context.index=this._renderedRange.start+r,l.context.count=i,this._updateComputedContextProperties(l.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,i){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}};t.\u0275fac=function(i){return new(i||t)(g(Ue),g(At),g(Ge),g(ft),g(_t,4),g(q))},t.\u0275dir=le({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[fe([{provide:ft,useClass:Je}])]});let s=t;return s})();var Ni=["content"],Wi=["*"],Hi=()=>({position:"absolute","top.%":"50","left.%":"50",transform:"translateX(-50%) translateY(-50%)"});function Ki(s,t){s&1&&(C(0,"div",null,0),U(2),y())}function Ui(s,t){s&1&&he(0,"c-spinner",2)}var St=(()=>{var t;let n=class n{constructor(i,r){b(this,t);this.elementRef=i,this.changeDetectorRef=r,this.opacity=.4,this.hasContent=!0}get customBoundaries(){if(!this.boundaries||this.elementRef===null)return{};if(!h(this,t))return{};let i=h(this,t)?.getBoundingClientRect(),r={};return this.boundaries.forEach(l=>{let u=h(this,t)?.querySelector(l.query);if(!u||!l.sides)return;let m=u.getBoundingClientRect();l.sides.forEach(f=>{let x=Math.abs(m[f]-i[f]);r[f]=`${x}px`})}),r}get containerCoords(){return G({top:0,left:0,right:0,bottom:0},this.customBoundaries)}get coverStyles(){return je(G({},this.containerCoords),{position:"absolute",backgroundColor:`rgb(255,255,255,${this.opacity})`})}ngAfterViewInit(){v(this,t,this.elementRef.nativeElement.parentElement),this.hasContent=this.content?.nativeElement.childNodes.length??!1,this.changeDetectorRef.detectChanges()}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)(g(A),g(ee))},n.\u0275cmp=z({type:n,selectors:[["c-element-cover"],["","cElementCover",""]],viewQuery:function(r,l){if(r&1&&L(Ni,5),r&2){let u;V(u=k())&&(l.content=u.first)}},hostVars:2,hostBindings:function(r,l){r&2&&Wt(l.coverStyles)},inputs:{boundaries:"boundaries",opacity:"opacity"},standalone:!0,features:[B],ngContentSelectors:Wi,decls:3,vars:3,consts:[["content",""],[3,"ngStyle"],["color","primary","variant","grow"]],template:function(r,l){r&1&&(K(),C(0,"div",1),T(1,Ki,3,0,"div")(2,Ui,1,0,"c-spinner",2),y()),r&2&&(E("ngStyle",Ie(2,Hi)),_(),R(l.hasContent?1:2))},dependencies:[li,Ae],styles:["[_nghost-%COMP%]{display:block}"]});let s=n;return s})();function Qi(s,t){if(s&1&&he(0,"option",1),s&2){let n=t.$implicit,e=S();E("disabled",e.disabled)("label",n.label)("value",n.value),ce("selected",n.selected?"":null)}}var mi=(()=>{let t=class t{constructor(e){this.changeDetectorRef=e,this.form="",this.id=""}};t.\u0275fac=function(i){return new(i||t)(g(ee))},t.\u0275cmp=z({type:t,selectors:[["c-multi-select-native-select"]],inputs:{form:"form",id:"id",multiple:[2,"multiple","multiple",D],name:"name",options:"options",disabled:[2,"disabled","disabled",D]},standalone:!0,features:[X,B],decls:3,vars:4,consts:[["tabindex","-1",2,"display","none",3,"disabled","id","multiple","name"],["tabindex","-1",3,"disabled","label","value"]],template:function(i,r){i&1&&(C(0,"select",0),Se(1,Qi,1,4,"option",1,Qe),y()),i&2&&(E("disabled",r.disabled)("id",r.id)("multiple",r.multiple)("name",r.name),_(),Ce(r.options))},styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0});let s=t;return s})();function $i(s,t){if(s&1){let n=oe();C(0,"button",2),H("click",function(i){$(n);let r=S();return Z(r.handleRemove(i))}),y()}if(s&2){let n,e=S();E("disabled",((n=e.multiselectVisible())!==null&&n!==void 0?n:!0)===!1)}}var gi=(()=>{var t;let n=class n{constructor(){b(this,t);v(this,t,j(ie)),this.multiselectVisible=Xt(h(this,t).multiSelectVisible$),this.disabled=!0,this.remove=new W}get hostClasses(){return{"form-multi-select-tag":!0}}handleRemove(i){i.stopPropagation(),this.value&&this.remove.emit(this.value)}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=z({type:n,selectors:[["c-multi-select-tag"]],hostVars:2,hostBindings:function(r,l){r&2&&J(l.hostClasses)},inputs:{option:"option",disabled:"disabled",label:"label",value:"value"},outputs:{remove:"remove"},standalone:!0,features:[B],decls:3,vars:2,consts:[[1,"text-truncate"],["aria-label","Clear","type","button",1,"form-multi-select-tag-delete",3,"disabled"],["aria-label","Clear","type","button",1,"form-multi-select-tag-delete",3,"click","disabled"]],template:function(r,l){if(r&1&&(C(0,"span",0),Q(1),y(),T(2,$i,1,1,"button",1)),r&2){let u;_(),be((u=(u=l.label)!==null&&u!==void 0?u:l.value==null?null:l.value.toString())!==null&&u!==void 0?u:"???"),_(),R(l.disabled?-1:2)}},styles:["[_nghost-%COMP%] .btn-xs[_ngcontent-%COMP%]{padding-left:.125rem;padding-right:.125rem;font-size:.575rem;border-radius:.2rem}.form-multi-select-tag[_nghost-%COMP%]{-webkit-user-select:none;user-select:none;pointer-events:all;align-items:center;display:flex}"],changeDetection:0});let s=n;return s})();var vi=(()=>{var t,n,e;let i=class i{constructor(l,u){b(this,t);b(this,n);b(this,e);this.elementRef=l,this.destroyRef=u,v(this,t,new ne("")),v(this,e,""),this.delay=300,this.valueChange=new W}set value(l){h(this,t).next(l)}ngAfterViewInit(){this.setSubscription()}setSubscription(){h(this,t).pipe(se(),O(this.destroyRef)).subscribe(l=>{h(this,e)!==l&&(v(this,e,l),this.valueChange.emit(l))}),v(this,n,Ee(this.elementRef.nativeElement,"input").pipe(ve(this.delay),ge(l=>l.target.value),O(this.destroyRef))),h(this,n).pipe(O(this.destroyRef)).subscribe(l=>{l!==h(this,e)&&h(this,t).next(l)})}};t=new WeakMap,n=new WeakMap,e=new WeakMap,i.\u0275fac=function(u){return new(u||i)(g(A),g(ae))},i.\u0275dir=le({type:i,selectors:[["","cMultiSelectSearch",""]],inputs:{delay:"delay",value:"value"},outputs:{valueChange:"valueChange"},exportAs:["cMultiSelectSearch"],standalone:!0});let s=i;return s})();var Zi=["options"],qi=["inputElement"],Gi=["scrollViewport"],Yi=["*"],_i=(s,t)=>t.value,Xi=()=>[at,Ae,lt,ui,_t,fi],Ji=s=>({"form-multi-select-selection":!0,"form-multi-select-selection-tags":s}),en=s=>({"form-multi-select-search":!0,disabled:s,"text-truncate":!0}),tn=()=>({"border-radius":"6px","z-index":2}),nn=(s,t,n)=>({"height.px":s,"maxHeight.px":t,"minWidth.px":n,overflowX:"hidden"}),sn=s=>({"minWidth.px":s,overflowX:"hidden"}),Si=(s,t,n,e,i,r,l)=>({$implicit:s,even:t,odd:n,index:e,count:i,first:r,last:l}),rn=s=>({"form-multi-select-options":s}),on=s=>({"maxHeight.px":s,overflowY:"scroll"}),ln=()=>({});function an(s,t){if(s&1){let n=oe();C(0,"c-multi-select-tag",20),H("remove",function(i){$(n);let r=S(3);return Z(r.handleTagRemove(i))}),y()}if(s&2){let n,e,i=t.$implicit;E("disabled",(n=i.disabled)!==null&&n!==void 0?n:!1)("label",(e=i.label)!==null&&e!==void 0?e:i.value==null?null:i.value.toString())("option",i)("value",i.value)}}function cn(s,t){s&1&&Se(0,an,1,4,"c-multi-select-tag",19,_i),s&2&&Ce(t)}function hn(s,t){if(s&1&&(T(0,cn,2,0),Ze(1,"async")),s&2){let n,e=S();R((n=qe(1,1,e.optionsSelected$))?0:-1,n)}}function dn(s,t){if(s&1&&(C(0,"span",21),Q(1),y()),s&2){let n=t.$implicit,e=t.$index,i=t.$count;_(),Kt("",n.label,"",e===i-1?"\xA0":",\xA0","")}}function un(s,t){if(s&1&&Se(0,dn,2,2,"span",21,_i),s&2){let n=S();Ce(n.selectedOptions)}}function pn(s,t){if(s&1&&(C(0,"span",13),Q(1),y()),s&2){let n=S();_(),ye(" ",n.optionsSelected.size===0?n.placeholder:n.counterPlaceholderText," ")}}function fn(s,t){if(s&1){let n=oe();C(0,"input",22,6),H("keydown",function(i){$(n);let r=S();return Z(r.handleSearchKeyDown(i))})("valueChange",function(i){$(n);let r=S();return Z(r.handleSearchValueChange(i))}),y()}if(s&2){let n=S();$e("tabindex",n.disabled?-1:0),E("disabled",n.disabled||!n.search)("ngClass",we(6,en,n.disabled||!n.search))("ngModel",n.searchValue)("value",n.searchValue),ce("placeholder",n.selectedOptions.length===0?n.placeholder:n.counterPlaceholderText)}}function mn(s,t){if(s&1){let n=oe();C(0,"button",23),H("click",function(i){$(n);let r=S();return Z(r.clearAllOptions(i))}),y()}if(s&2){let n=S();E("disabled",n.disabled||!n.isDropdownVisible&&n.cleaner!=="active")}}function gn(s,t){if(s&1){let n=oe();C(0,"button",27),H("click",function(){$(n);let i=S(3);return Z(i.selectAllOptions())}),Q(1),y()}if(s&2){let n=S(3);_(),ye(" ",n.selectAllLabel," ")}}function vn(s,t){if(s&1&&T(0,gn,2,1,"button",26),s&2){let n=S(2);R(n.selectAll&&n.multiple&&!n.virtualScroller?0:-1)}}function _n(s,t){s&1&&Re(0)}function Sn(s,t){if(s&1&&T(0,_n,1,0,"ng-container",28),s&2){let n=S(2),e=de(14),i=de(16);E("ngTemplateOutlet",n.virtualScroller?e:i)}}function Cn(s,t){if(s&1&&(C(0,"div",24),Q(1),y()),s&2){let n=S(2);_(),be(n.searchNoResultsLabel)}}function bn(s,t){s&1&&he(0,"c-element-cover",25),s&2&&E("ngStyle",Ie(1,tn))}function yn(s,t){if(s&1&&(C(0,"div",18,7),T(2,vn,1,1)(3,Sn,1,1,"ng-container")(4,Cn,2,1,"div",24)(5,bn,1,2,"c-element-cover",25),y()),s&2){let n=S(),e=de(1);E("visible",e.visible),_(2),R(n.visibleOptions()&&n.options.length>0?2:-1),_(),R(n.visibleOptions()&&n.options.length>0||n.isLoading()?3:4),_(2),R(n.isLoading()?5:-1)}}function wn(s,t){if(s&1&&Re(0,32,9),s&2){let n=t.$implicit,e=t.even,i=t.odd,r=t.index,l=t.count,u=t.first,m=t.last,f=S(4),x=de(18);E("ngTemplateOutletContext",ot(2,Si,n,e,i,r,l,u,m))("ngTemplateOutlet",f.templates.multiSelectOptionTemplate||x)}}function On(s,t){if(s&1){let n=oe();C(0,"cdk-virtual-scroll-viewport",30,8),H("scrolledIndexChange",function(i){$(n);let r=de(1),l=S(3);return Z(l.handleScrolledIndexChange(i,r))}),T(2,wn,2,10,"ng-container",31),y()}if(s&2){let n=S(3);$e("maxBufferPx",n.itemSize*n.visibleItems),$e("minBufferPx",n.itemSize*n.visibleItems),E("itemSize",n.itemSize)("ngStyle",n.optionsMaxHeight!=="auto"?Zt(7,nn,n.optionsMaxHeight,n.optionsMaxHeight,n.minWidth()):we(11,sn,n.minWidth())),_(2),E("cdkVirtualForOf",t)("cdkVirtualForTrackBy",n.trackByFn)("cdkVirtualForTemplateCacheSize",0)}}function xn(s,t){if(s&1&&(T(0,On,3,13,"cdk-virtual-scroll-viewport",29),Ze(1,"async")),s&2){let n,e=S(2);R((n=qe(1,1,e.optionsArray$))?0:-1,n)}}function Mn(s,t){s&1&&(T(0,xn,2,3),Bt(1,0,Xi),jt())}function En(s,t){if(s&1&&(C(0,"div",33),U(1),Re(2,34),y()),s&2){let n=S(),e=de(20);E("ngClass",we(3,rn,n.visibleOptions()))("ngStyle",n.optionsMaxHeight!=="auto"?we(5,on,n.optionsMaxHeight):Ie(7,ln)),_(2),E("ngTemplateOutlet",e)}}function Tn(s,t){if(s&1&&(C(0,"c-multi-select-option",35),Q(1),y()),s&2){let n=t.$implicit;E("disabled",n.disabled)("label",n.label)("text",n.text)("value",n.value)("visible",n.visible),_(),ye(" ",n.text," ")}}function Rn(s,t){if(s&1&&Re(0,36),s&2){let n=t.$implicit,e=t.$index,i=t.$count,r=S(2),l=de(18);E("ngTemplateOutlet",r.templates.multiSelectOptionTemplate||l)("ngTemplateOutletContext",ot(2,Si,n,e%2===0,e%2!==0,e,i,e===0,e===i-1))}}function Dn(s,t){if(s&1&&(Se(0,Rn,1,10,"ng-container",36,Qe),Ze(2,"async")),s&2){let n=S();Ce(qe(2,0,n.userOptionsArray$))}}var In={name:"observeReferenceResizeModifier",enabled:!0,phase:"main",fn({state:s}){},effect:({state:s,instance:t})=>{let n="__popperjsRO__",{reference:e}=s.elements,i=new ResizeObserver(r=>{r.find(l=>l.target===e)&&t.update()});return i.observe(e),()=>{i?.disconnect(),i=null}}},Vn={name:"sameAsReferenceWidthModifier",enabled:!0,fn:({state:s})=>{s.styles.popper.minWidth=`${s.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]},kn={strategy:"fixed",modifiers:[In,Vn,{name:"offset",options:{offset:()=>[0,4]}}]},Fn=(()=>{var t,n,e,i,r,l,u,m;let f=class f{constructor(o,c,a,d,p,w,M,N){b(this,t);b(this,n);b(this,e);b(this,i);b(this,r);b(this,l);b(this,u);b(this,m);this.elementRef=o,this.renderer=c,this.ngZone=a,this.changeDetectorRef=d,this.viewContainerRef=p,this.focusMonitor=w,this.multiSelectService=M,this.iterableDiffers=N,v(this,t,j(ae)),v(this,n,j(ct)),v(this,e,new F),v(this,i,new F),this.userOptionsArray$=new ne([]),v(this,r,new Map),this.optionsSelected$=new ne([]),this.optionsSelected=new Map,this.value$=new ne([]),v(this,l,[]),this.onChange=bt=>{},this.onTouched=()=>{},this.allowCreateOptions=!1,this.cleaner=!0,this.clearSearchOnSelect=!1,this._disabled=!1,this.isLoading=P(!1),this._multiple=!1,this.nativeFormId="",this.nativeId="",this.nativeName="",this.optionsMaxHeight="auto",this.placeholder="Select...",this.search=!0,this.searchNoResultsLabel="no items",this._searchValue="",this.searchValueChange=new W,this.selectAll=!0,this.selectAllLabel="Select all options",this.selectionType="tags",this.selectionTypeCounterText="item(s) selected",this.selectionTypeCounterTextPluralMap={"=1":"item selected",other:"items selected"},v(this,u,[]),this.valueChange=new W,this._virtualScroller=!1,this._visibleItems=8,this.itemSize=40,this.itemMinWidth=196,this.minWidth=P(this.itemMinWidth),this._visible=!1,this.visibleChange=new W,v(this,m,P(kn)),this.isDropdownVisible=!1,this.templates={},this._tabIndex=-1,this.visibleOptions=P(!1),this._subtreeFocused=this.focusOrigin(null),this.userOptions=this.multiSelectService.getUserOptions(),this.activeOption=null,this.differ=this.iterableDiffers.find(h(this,u)).create(),this.multiSelectService.setSelectionModel(this.multiple),this.optionsArray$=this.multiSelectService.getOptionsArray()}writeValue(o){o!=null?this.value=Array.isArray(o)?[...o]:[o]:this.value=Array(0)}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.disabled=o}set disabled(o){this._disabled!==o&&(this._disabled=o,this.setFocusMonitor(!o))}get disabled(){return this._disabled}set loading(o){this.isLoading.set(o)}set multiple(o){this._multiple=o,this.multiSelectService.setSelectionModel(this._multiple)}get multiple(){return this._multiple}set options(o){Array.isArray(o)&&(h(this,r).clear(),this.makeOptions(o))}get options(){return[...h(this,r).values()]}set optionsStyle(o){this.multiSelectService.optionsStyle=o??"checkbox"}set searchValue(o){this._searchValue!==o.trimStart()&&(this._searchValue=o.trimStart(),this.visible=this.searchValue.length>0&&this.subtreeFocused?!0:this.visible,this.filterOptions(this.searchValue),this.inputElementSize(),this.searchValueChange.emit(this._searchValue))}get searchValue(){return this._searchValue}set value(o){let c=Array.isArray(o)?[...o]:[o];this.differ&&this.differ.diff(c)&&(v(this,u,[...c]),this.value$.next([...c]),this.onChange(this.value))}get value(){let o=this.multiSelectService.selectionModel?.selected??[...h(this,u)];return this.multiple?[...o]:o[0]}set virtualScroller(o){this._virtualScroller=o}get virtualScroller(){return this._virtualScroller}set visibleItems(o){this._visibleItems=o>0?o:8,this.optionsMaxHeight=(this.itemSize*this._visibleItems+16).toString()}get visibleItems(){return this._visibleItems}set visible(o){o!==this._visible&&(this._visible=o,setTimeout(()=>{this.multiSelectService.toggleVisible(o)}))}get visible(){return this._visible}set popperOptions(o){let c=h(this,m).call(this),{modifiers:a=[]}=c,{modifiers:d=[]}=o,p=je(G({},o),{modifiers:[...a.filter(w=>!d.find(M=>M.name===w.name)),...d]});h(this,m).set(G(G({},c),p))}get popperOptions(){return h(this,m).call(this)}get selectedOptions(){return[...this.optionsSelected.values()]}get selectedOptionsText(){return this.selectedOptions.map(o=>o.label).join(", ")}get counterText(){return`${this.selectedOptions.length} ${this.selectionTypeCounterText}`}get counterTextType(){return typeof(this.selectionTypeCounterTextPluralMap??this.selectionTypeCounterText)}get counterPlaceholderText(){return this.selectedOptions.length===0||this.selectionType!=="counter"?null:this.counterTextType==="string"?this.counterText:`${this.selectedOptions.length} ${h(this,n).transform(this.selectedOptions.length,this.selectionTypeCounterTextPluralMap??{other:this.selectionTypeCounterText??"+"})}`}get hostClasses(){return{disabled:this.disabled}}get multiselectClasses(){return{"form-multi-select":!0,[`form-multi-select-${this.size}`]:!!this.size,show:this.visible,disabled:this.disabled,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}get ariaMultiSelectable(){return this.multiple}get ariaExpanded(){return this.visible}get tabIndex(){return this._tabIndex}set tabIndex(o){setTimeout(()=>{this._tabIndex=this.disabled||this.search?-1:o===null?null:0})}onKeyUp(o){if(this.disabled)return;this.onTouched();let c=o.target.tagName;if(o.key==="Escape"){this.visible=!1,this.searchValue="",this.setFocus("keyboard","onKeyUp");return}if(["Enter","Space","ArrowDown"].includes(o.code)&&[this.inputElement?.nativeElement,this.elementRef.nativeElement].includes(o.target)){o.stopPropagation(),this.visible=!0,this.search||this.setFocus("keyboard","onKeyUp");return}if(["Tab"].includes(o.key)){if(o.target===this.elementRef.nativeElement){this.visible=!0,this.search||this.setFocus("keyboard","onKeyUp"),this.tabTarget=c;return}if(this.visible&&this.subtreeFocused){if(c==="C-MULTI-SELECT-OPTION"){if(this.tabTarget==="C-MULTI-SELECT-OPTION"){if(o.shiftKey&&this.focusKeyManager.activeItem?.value===this.options.filter(a=>a.visible&&!a.disabled).slice(0)[0].value){this.setFocus("keyboard","onKeyUp"),this.tabTarget=c;return}if(!o.shiftKey&&this.focusKeyManager.activeItem?.value===this.options.filter(a=>a.visible&&!a.disabled).slice(-1)[0].value){this.setFocus("keyboard","onKeyUp"),this.tabTarget=c,this.updateActiveItem(0);return}}!this.focusKeyManager.activeItem||this.tabTarget!==c?this.activeOption?this.focusKeyManager.setActiveItem(this.activeOption):this.setFirstItemActive():o.shiftKey?this.focusKeyManager.setPreviousItemActive():this.focusKeyManager.setNextItemActive()}this.tabTarget=c;return}}}onKeyDown(o){let c=o.target.tagName;if(o.key==="Enter"&&c==="INPUT"&&o.preventDefault(),o.key==="Tab"){this.tabTarget=c;return}if(o.key==="ArrowDown"&&c!=="C-MULTI-SELECT-OPTION"){o.preventDefault();return}if(o.key==="Escape"){this.visible=!1,this.searchValue="",this.setFocus("keyboard","onKeyDown");return}this.disabled||o.target!==this.inputElement?.nativeElement&&o.key!=="Tab"&&this.focusKeyManager?.onKeydown(o)}onClick(o){this.disabled||([this.dropdown.nativeElement].includes(o.target)?this.visible=!this.visible:this.visible=!0,this.onTouched(),this.setFocus("mouse","onClick"))}get subtreeFocused(){return this._subtreeFocused}set subtreeFocused(o){this._subtreeFocused=this.disabled?!1:o,o||(this.searchValue=""),this.virtualScroller||(this.visible=o===!1?!1:this.visible)}focusOrigin(o){return this.disabled?!1:!!o}ngOnInit(){this.multiSelectService.selectionModel.changed.pipe(Y(()=>!this.multiple),He(0),I(o=>{o.added.length>0&&(this.visible=!1,this.searchValue="")}),Dt(1),I(o=>{this.setFocus("program","selectionModel.changed (single)")}),O(h(this,t))).subscribe(),h(this,i).pipe(Y(()=>!this.virtualScroller),He(0),I(()=>{this.setFocusKeyManager([...this.multiSelectOptionsContent,...this.multiSelectOptionsView])}),O(h(this,t))).subscribe(),this.multiSelectService.selectionModel.changed.pipe(I(o=>{let{added:c}=G({},o);c.length>0&&this.clearSearchOnSelect&&(this.searchValue="")}),O(h(this,t))).subscribe(),this.multiSelectService.selectionModel.changed.pipe(it(h(this,i)),I(([o,c])=>{let{removed:a}=G({},o);a.forEach(d=>{this.optionsSelected.delete(d)}),this.multiSelectService.selectionModel.selected.forEach(d=>{let p=h(this,r).get(d);p&&this.optionsSelected.set(d,p)}),this.optionsSelected$.next(Array.from(this.optionsSelected.values())),this.value=[...this.multiSelectService.selectionModel.selected],this.inputElementSize(),this.updateNativeSelect()}),O(h(this,t))).subscribe(),this.multiSelectService.selectionModel.select(...h(this,u)),this.value$.pipe(O(h(this,t))).subscribe(o=>{if(!o.length){this.clearAllOptions();return}o.forEach(c=>{this.multiSelectService.selectionModel.select(c)})}),this.value$.pipe(ve(100),I(o=>{this.valueChange.emit(this.value)}),O(h(this,t))).subscribe(),this.multiSelectService.optionsArray$.pipe(it(this.userOptionsArray$),I(([o,c])=>{if(this.visibleOptions.set(o.some(a=>a.visible)||c.some(a=>a.visible)),this.activeOption=null,this.virtualScroller)this.multiSelectOptionsContent?.forEach(a=>{a.active=!1}),this.scrollViewport?.setRenderedRange({start:0,end:this.visibleItems}),this.scrollViewport?.scrollToIndex(0);else{this.multiSelectOptionsContent?.forEach(d=>{let p=o.find(w=>w.value===d.value);d.visible=p?.visible??!1,d.active=!1});let a=this.firstFocusableItem;a&&this.updateActiveItem(a)}this.activeOption||setTimeout(()=>{this.updateActiveItem(0)}),this.multiSelectOptionsContent?.notifyOnChanges()}),O(h(this,t))).subscribe(),this.tabIndex=0}ngOnDestroy(){h(this,e).next(),h(this,e).complete(),this.setFocusMonitor(!1)}ngOnChanges(o){o.value&&(o.value.currentValue.length===0&&this.clearAllOptions(),this.inputElementSize())}makeOptions(o){this.search==="external"&&this.searchValue.length&&h(this,r).forEach((c,a)=>{c.visible=!1}),o.forEach(c=>{let a=c.value,d={value:c.value??c.label,label:c.label??c.value?.toString(),disabled:c.disabled===!0,visible:this.search==="external"?!0:c.custom&&c.selected?c.visible:c.visible!==!1,text:c.text??c.label??c.value?.toString(),selected:c.selected,custom:c.custom};h(this,r).set(a,G({},d))}),this.filterOptions(this.searchValue),this.multiSelectOptionsContent?.notifyOnChanges(),this.multiSelectOptionsView?.notifyOnChanges(),h(this,i).next()}addUserOption(){if(this.allowCreateOptions){if(this.userOptions().some(c=>c.value===this.searchValue)||h(this,r).get(this.searchValue))return;let o={value:this.searchValue,label:this.searchValue,text:this.searchValue,visible:!0,custom:!0,selected:!0};this.searchValue=this.clearSearchOnSelect||this.allowCreateOptions?"":this.searchValue,this.multiSelectService.addUserOption(o),this.multiSelectService.selectionModel.select(o.value),this.optionsSelected.set(o.value,o),this.makeOptions([...this.options,...this.userOptions()])}}removeAllUserOptions(){this.multiSelectService.removeAllUserOptions()}ngAfterViewInit(){this.setVirtualScroller(),this.multiSelectOptionsContent?.changes.pipe(He(0),se((o,c)=>{let a=o.toArray().map(p=>p.value),d=c.toArray().map(p=>p.value);return this.virtualScroller?JSON.stringify(a)===JSON.stringify(d):JSON.stringify(h(this,l))===JSON.stringify(d)}),I(o=>{v(this,l,o.toArray().map(c=>c.value))}),O(h(this,t))).subscribe(o=>{this.visibleOptions.set(this.multiSelectOptionsContent?.some(c=>c.visible)),this.visibleOptions()&&this.makeOptions(this.multiSelectOptionsContent.toArray())}),this.visibleOptions.set(this.multiSelectOptionsContent?.length>0||this.multiSelectOptionsView?.length>0),this.visibleOptions()&&this.multiSelectOptionsContent.notifyOnChanges(),this.multiselectSubscribe(),this.setFocusMonitor(!this.disabled),this.setListKeyManager(),this.inputElementSize(),this.multiSelectOptionsContent.notifyOnChanges(),setTimeout(()=>{this.createNativeSelect()}),this.multiSelectService.multiSelectFocus$.pipe(O(h(this,t))).subscribe(o=>{this.activeOption&&this.activeOption.value!==o.value&&this.focusKeyManager.setActiveItem(o)})}multiselectSubscribe(o=!0){this.multiSelectService.multiSelectVisible$.pipe(ve(100),se(),O(h(this,t))).subscribe(c=>{if(this.isDropdownVisible!==c){if(this.isDropdownVisible=c,this.visibleChange.emit(c),c){if(this.virtualScroller){{let a=parseInt(this.dropdownMenu.nativeElement.style.minWidth,10);this.minWidth.set(this.itemMinWidth>a?this.itemMinWidth:a)}this.scrollViewport?.setRenderedRange({start:0,end:this.visibleItems}),this.scrollViewport?.scrollToIndex(0)}}this.multiSelectOptionsContent.notifyOnChanges()}this.updateActiveItem(0)})}clearAllOptions(o){setTimeout(()=>{let c=Array.from(this.optionsSelected.values()).filter(a=>!a.disabled).map(a=>a.value);this.multiSelectService.selectionModel.deselect(...c),this.removeAllUserOptions(),this.searchValue="",o&&this.setFocus("program","clearAllOptions")})}selectAllOptions(){let o=Array.from(h(this,r).values()).filter(c=>c.visible&&!c.disabled).map(c=>c.value);this.multiSelectService.selectionModel.select(...o),this.inputElementSize()}handleTagRemove(o){this.multiSelectService.selectionModel.deselect(o),this.setFocus("program","handleTagRemove")}setFocus(o="program",c){if(this.disabled)return;let a=this.inputElement?.nativeElement??this.elementRef.nativeElement,d=o==="program";this.focusMonitor?.focusVia(a,o,{preventScroll:d})}filterOptions(o){let c=o.toLowerCase()??"";h(this,r).forEach((a,d)=>{if(c===""){a.visible=!0;return}if(typeof this.search=="function"){a.visible=this.search(a,c);return}this.search==="external"&&!a.custom||!c||(a.visible=a.label?.toLowerCase().includes(c)??!0)}),this.multiSelectService.updateOptionsArray(Array.from(h(this,r).values()).filter(a=>a.visible)),this.userOptionsArray$.next(Array.from(h(this,r).values()).filter(a=>a.custom))}createNativeSelect(){this.nativeId&&(this.viewContainerRef.clear(),this.nativeSelectRef=this.viewContainerRef.createComponent(mi),this.updateNativeSelect())}updateNativeSelect(){if(!this.nativeSelectRef||!this.nativeId)return;let o=Array.from(this.optionsSelected).map(c=>{let{selected:a,value:d,label:p}=c[1];return{selected:a,value:d,label:p}});this.nativeSelectRef.instance.multiple=this.multiple,this.nativeSelectRef.instance.form=this.nativeFormId,this.nativeSelectRef.instance.id=this.nativeId,this.nativeSelectRef.instance.name=this.nativeName,this.nativeSelectRef.instance.options=[...o],this.nativeSelectRef.instance.disabled=this.disabled,this.nativeSelectRef.instance.changeDetectorRef.markForCheck()}inputElementSize(){this.inputElement&&(this.inputElement?.nativeElement?.disabled?this.renderer.setAttribute(this.inputElement?.nativeElement,"size","2"):this.renderer.setAttribute(this.inputElement?.nativeElement,"size",(this.searchValue.length+2).toString()))}handleSearchKeyDown(o){if(["Enter"].includes(o.key)&&this.searchValue.length&&this.allowCreateOptions){o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation(),this.addUserOption(),this.changeDetectorRef.markForCheck();return}if(!(this.searchValue.length||this.optionsSelected.size===0)&&["Backspace","Delete"].includes(o.key)){o.stopPropagation();let c=this.selectedOptions.filter(a=>!a.disabled).pop();c&&this.multiSelectService.selectionModel.deselect(c.value)}}setFocusMonitor(o){o&&!this.disabled?this.focusMonitorSubscription=this.focusMonitor?.monitor(this.elementRef,!0).pipe(ve(100),O(h(this,t))).subscribe(c=>{this.ngZone.run(()=>{this.subtreeFocused=this.focusOrigin(c),this.changeDetectorRef?.markForCheck()})}):(this.focusMonitor?.stopMonitoring(this.elementRef),this.focusMonitorSubscription?.unsubscribe())}handleScrolledIndexChange(o,c){this.scrollViewport||(this.scrollViewport=c);let a=this.options.filter(M=>M.visible),d=a[o],p=a.findIndex(M=>M.value===this.activeOption?.value),w=this.multiSelectOptionsContent.toArray();if(o>p){let M=w.find(N=>N.value===d?.value);M&&o&&this.focusKeyManager.setActiveItem(M);return}if(o+this.visibleItems-2<=p){let M=w.findIndex(N=>N.value===d.value);M>-1&&this.focusKeyManager.setActiveItem(M+this.visibleItems-2);return}}trackByFn(o,c){return c.value}handleSearchValueChange(o){this.searchValue=o,o||(this.scrollViewport?.scrollToIndex(0),this.multiSelectOptionsContent.notifyOnChanges(),this.subtreeFocused&&this.setFocus("program","handleSearchValueChange"))}setVirtualScroller(){if(!this.virtualScroller)return;this.contentTemplates.forEach(d=>{this.templates[d.id]=d.templateRef}),this.templates.multiSelectOptionTemplate||(this.multiSelectOptionsContent=this.multiSelectOptionsView,this.multiSelectOptionsContent.notifyOnChanges());let o=d=>[...d.elementRef.nativeElement.parentElement.children].indexOf(d.elementRef.nativeElement);this.multiSelectOptionsContent.changes.pipe(ge(d=>d.toArray()),Y(d=>d.length>0),ge(d=>d.sort((p,w)=>o(p)-o(w))),O(h(this,t))).pipe(O(h(this,t))).subscribe(d=>this.multiSelectOptionsContent.reset(d)),this.scrollViewportView.changes.pipe(nt(1),ge(d=>d.toArray()[0]),I(d=>{if(!this.scrollViewport){this.scrollViewport=d;let p=this.scrollViewport.getElementRef().nativeElement?.firstElementChild;if(p){let w=getComputedStyle(p,null)??void 0,M=parseInt(w?.getPropertyValue("padding-left")??"12px")*3,N=new MutationObserver(bt=>{bt.forEach(Ci=>{Ci.addedNodes.forEach(yt=>{if(yt.nodeName==="C-MULTI-SELECT-OPTION"){let wt=yt.offsetWidth;wt>this.itemMinWidth&&(this.itemMinWidth=wt+M)}})})});N?.observe(p,{childList:!0}),h(this,e).subscribe(()=>{N?.disconnect()})}}}),O(h(this,t))).subscribe()}setListKeyManager(){this.multiSelectOptionsContent.changes.pipe(Y(o=>this.virtualScroller),nt(1),I(()=>{this.setFocusKeyManager(this.multiSelectOptionsContent)}),O(h(this,t))).subscribe()}setFocusKeyManager(o){this.focusKeyManager=new ti(o).withHomeAndEnd().withPageUpDown().skipPredicate(c=>c.disabled||!c.visible),this._virtualScroller||this.focusKeyManager.withTypeAhead(300),this.focusKeyManager.tabOut.pipe(O(h(this,t)),I(()=>{})).subscribe(),this.focusKeyManager.change.pipe(O(h(this,t))).subscribe(c=>{c<0&&(this.activeOption?this.focusKeyManager.setActiveItem(this.activeOption):this.setFirstItemActive()),this.focusKeyManager.activeItem&&(this.focusKeyManager.activeItem.active=!0),this.activeOption=this.focusKeyManager.activeItem;let a=this.activeOption;this.multiSelectService.focusChange(a),this.multiSelectOptionsContent.notifyOnChanges(),this.multiSelectOptionsView.notifyOnChanges()})}get firstFocusableItem(){return this.multiSelectOptionsContent?.find(o=>o.visible&&!o.disabled)??this.multiSelectOptionsView?.find(o=>o.visible&&!o.disabled)}setFirstItemActive(){let o=this.firstFocusableItem;o?this.focusKeyManager?.setActiveItem(o):this.focusKeyManager?.setFirstItemActive(),this.activeOption=this.focusKeyManager?.activeItem??null}updateActiveItem(o){let c=this.firstFocusableItem??o;c?this.focusKeyManager?.updateActiveItem(c):this.focusKeyManager?.updateActiveItem(0),this.focusKeyManager?.activeItem&&(this.multiSelectOptionsContent?.forEach(a=>{a.active=!1}),this.multiSelectOptionsView?.forEach(a=>{a.active=!1}),this.focusKeyManager.activeItem.active=!0),this.activeOption=this.focusKeyManager?.activeItem??null}handleIndicatorClick(o){o.preventDefault(),o.stopPropagation(),this.visible=!this.visible}};t=new WeakMap,n=new WeakMap,e=new WeakMap,i=new WeakMap,r=new WeakMap,l=new WeakMap,u=new WeakMap,m=new WeakMap,f.\u0275fac=function(c){return new(c||f)(g(A),g(zt),g(q),g(ee),g(Ue),g(Ye),g(ie),g(Ge))},f.\u0275cmp=z({type:f,selectors:[["c-multi-select"]],contentQueries:function(c,a,d){if(c&1&&(De(d,me,5),De(d,Yt,5)),c&2){let p;V(p=k())&&(a.multiSelectOptionsContent=p),V(p=k())&&(a.contentTemplates=p)}},viewQuery:function(c,a){if(c&1&&(L(Zi,5),L(qi,5),L(ht,5,A),L(ut,5,A),L(dt,5,A),L(me,5),L(Gi,5)),c&2){let d;V(d=k())&&(a.optionsElementRef=d.first),V(d=k())&&(a.inputElement=d.first),V(d=k())&&(a.dropdownMenu=d.first),V(d=k())&&(a.dropdown=d.first),V(d=k())&&(a.dropdownToggle=d.first),V(d=k())&&(a.multiSelectOptionsView=d),V(d=k())&&(a.scrollViewportView=d)}},hostVars:5,hostBindings:function(c,a){c&1&&H("keyup",function(p){return a.onKeyUp(p)})("keydown",function(p){return a.onKeyDown(p)})("click",function(p){return a.onClick(p)}),c&2&&(ce("aria-multiselectable",a.ariaMultiSelectable)("aria-expanded",a.ariaExpanded)("tabindex",a.tabIndex),J(a.hostClasses))},inputs:{allowCreateOptions:[2,"allowCreateOptions","allowCreateOptions",D],cleaner:"cleaner",clearSearchOnSelect:[2,"clearSearchOnSelect","clearSearchOnSelect",D],disabled:[2,"disabled","disabled",D],loading:[2,"loading","loading",D],multiple:[2,"multiple","multiple",D],nativeFormId:"nativeFormId",nativeId:"nativeId",nativeName:"nativeName",options:"options",optionsMaxHeight:"optionsMaxHeight",optionsStyle:"optionsStyle",placeholder:"placeholder",search:"search",searchNoResultsLabel:"searchNoResultsLabel",searchValue:"searchValue",selectAll:"selectAll",selectAllLabel:"selectAllLabel",selectionType:"selectionType",selectionTypeCounterText:"selectionTypeCounterText",selectionTypeCounterTextPluralMap:"selectionTypeCounterTextPluralMap",size:"size",value:"value",valid:"valid",virtualScroller:[2,"virtualScroller","virtualScroller",D],visibleItems:[2,"visibleItems","visibleItems",qt],itemSize:"itemSize",itemMinWidth:"itemMinWidth",visible:[2,"visible","visible",D],popperOptions:"popperOptions"},outputs:{searchValueChange:"searchValueChange",valueChange:"valueChange",visibleChange:"visibleChange"},exportAs:["cMultiSelect"],standalone:!0,features:[fe([ct,ie,{provide:ii,useExisting:Ke(()=>f),multi:!0}]),X,_e,B],ngContentSelectors:Yi,decls:21,vars:15,consts:[["dropdown","cDropdown"],["dropdownToggle","cDropdownToggle"],["multiselectVirtualScroller",""],["multiselectOptionsDiv",""],["defaultMultiSelectOptionTemplate",""],["userOptionsTemplate",""],["inputElement",""],["dropdownMenu","cDropdownMenu"],["scrollViewport",""],["cdkVirtualFor",""],[3,"visibleChange","visible","autoClose","ngClass","popperOptions"],["cDropdownToggle","","role","button",1,"form-multi-select-input-group",3,"caret","disabled"],[3,"ngClass"],[1,"text-placeholder","text-truncate"],["autocomplete","off","cMultiSelectSearch","","size","2","type","text",3,"disabled","ngClass","ngModel","value","tabindex"],[1,"form-multi-select-buttons"],["aria-label","Clear all","type","button",1,"form-multi-select-cleaner",3,"disabled"],["type","button",1,"form-multi-select-indicator",3,"click","disabled"],["cDropdownMenu","","role","menu",1,"form-multi-select-dropdown",3,"visible"],["tabindex","-1",1,"form-multi-select-tag","text-truncate",3,"disabled","label","option","value"],["tabindex","-1",1,"form-multi-select-tag","text-truncate",3,"remove","disabled","label","option","value"],[1,"form-multi-select-text","text-truncate"],["autocomplete","off","cMultiSelectSearch","","size","2","type","text",3,"keydown","valueChange","disabled","ngClass","ngModel","value","tabindex"],["aria-label","Clear all","type","button",1,"form-multi-select-cleaner",3,"click","disabled"],[1,"form-multi-select-options-empty"],[3,"ngStyle"],["type","button","tabindex","0",1,"form-multi-select-all"],["type","button","tabindex","0",1,"form-multi-select-all",3,"click"],[4,"ngTemplateOutlet"],["tabindex","-1",1,"form-multi-select-options",3,"itemSize","ngStyle","maxBufferPx","minBufferPx"],["tabindex","-1",1,"form-multi-select-options",3,"scrolledIndexChange","itemSize","ngStyle","maxBufferPx","minBufferPx"],[3,"ngTemplateOutletContext","ngTemplateOutlet",4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngClass","ngStyle"],[3,"ngTemplateOutlet"],[3,"disabled","label","text","value","visible"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,a){if(c&1){let d=oe();K(),C(0,"c-dropdown",10,0),$t("visibleChange",function(w){return $(d),Qt(a.visible,w)||(a.visible=w),Z(w)}),C(2,"div",11,1)(4,"span",12),T(5,hn,2,3)(6,un,2,0)(7,pn,2,1,"span",13)(8,fn,2,8,"input",14),y(),C(9,"div",15),T(10,mn,1,1,"button",16),C(11,"button",17),H("click",function(w){return $(d),Z(a.handleIndicatorClick(w))}),y()()(),T(12,yn,6,4,"div",18),y(),T(13,Mn,3,0,"ng-template",null,2,Ve)(15,En,3,8,"ng-template",null,3,Ve)(17,Tn,2,6,"ng-template",null,4,Ve)(19,Dn,3,2,"ng-template",null,5,Ve)}c&2&&(Ut("visible",a.visible),E("autoClose","outside")("ngClass",a.multiselectClasses)("popperOptions",a.popperOptions),_(2),E("caret",!1)("disabled",a.disabled),_(2),E("ngClass",we(13,Ji,a.selectionType==="tags"&&a.selectedOptions.length)),_(),R(a.selectionType==="tags"?5:a.selectionType==="text"&&a.selectedOptions.length?6:-1),_(2),R(a.search?-1:7),_(),R(a.search?8:-1),_(2),R(a.cleaner&&a.optionsSelected.size>0&&!a.disabled?10:-1),_(),E("disabled",a.disabled),_(),R(a.disabled?-1:12))},dependencies:[at,Gt,Ae,lt,oi,ni,si,ri,gi,me,vi,ut,ht,dt,St],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]:focus-visible{outline:none}.cdk-focused[_nghost-%COMP%]:not(.disabled) .form-multi-select[_ngcontent-%COMP%]{outline:none;box-shadow:0 0 0 var(--cui-focus-ring-width) var(--cui-focus-ring-color);border-radius:var(--cui-border-radius, .375rem)}[_nghost-%COMP%]:not(.cdk-focused) .form-multi-select[_ngcontent-%COMP%]:not(.show) input.form-multi-select-search[_ngcontent-%COMP%]:not([placeholder]){display:none}[_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-selection[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;flex-wrap:wrap}[_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-selection[_ngcontent-%COMP%] .text-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-selection[_ngcontent-%COMP%] .form-multi-select-search[_ngcontent-%COMP%]::placeholder{color:var(--cui-form-multi-select-color);opacity:.8}[_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-search[size][_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .cdk-virtual-scroll-content-wrapper{padding:var(--cui-form-multi-select-options-padding-y) var(--cui-form-multi-select-options-padding-x);font-size:1rem;color:var(--cui-form-multi-select-options-color)}[_nghost-%COMP%] .cdk-virtual-scroll-viewport[_ngcontent-%COMP%]{width:var(--cui-dropdown-min-width)}[_nghost-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{--cui-dropdown-padding-y: 0}"]});let s=f;return s})();var An=["*"],Ct=(()=>{let t=class t{constructor(){}get hostClasses(){return{"form-multi-select-optgroup-label":!0}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=z({type:t,selectors:[["c-multi-select-optgroup-label"]],hostVars:2,hostBindings:function(i,r){i&2&&J(r.hostClasses)},standalone:!0,features:[B],ngContentSelectors:An,decls:1,vars:0,template:function(i,r){i&1&&(K(),U(0))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let s=t;return s})();var zn=["*"];function Pn(s,t){if(s&1&&(C(0,"c-multi-select-optgroup-label"),Q(1),y()),s&2){let n=S();_(),be(n.label)}}var Bn=(()=>{var t;let n=class n{constructor(i){b(this,t);this.multiSelectService=i,v(this,t,j(ae)),this.visible=P(!0),this.disabled=!1}get hostClasses(){return{"form-multi-select-options":!0,"d-none":!this.visible()}}ngAfterContentInit(){this.updateMultiSelectOptions(),this.watchOptGroupContent()}ngOnChanges(i){i.disabled&&this.updateMultiSelectOptions()}updateMultiSelectOptions(){this.multiSelectOptions?.forEach(i=>{i.disabled=this.disabled||i.disabled})}watchOptGroupContent(){this.multiSelectService.optionsArray$.pipe(I(i=>{this.visible.set(this.multiSelectOptions?.some(r=>r.visible))}),O(h(this,t))).subscribe()}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)(g(ie))},n.\u0275cmp=z({type:n,selectors:[["c-multi-select-optgroup"]],contentQueries:function(r,l,u){if(r&1&&De(u,me,5),r&2){let m;V(m=k())&&(l.multiSelectOptions=m)}},hostVars:2,hostBindings:function(r,l){r&2&&J(l.hostClasses)},inputs:{label:"label",disabled:[2,"disabled","disabled",D]},standalone:!0,features:[X,_e,B],ngContentSelectors:zn,decls:2,vars:1,template:function(r,l){r&1&&(K(),T(0,Pn,2,1,"c-multi-select-optgroup-label"),U(1)),r&2&&R(l.label&&l.visible()?0:-1)},dependencies:[Ct],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let s=n;return s})();export{St as a,Ct as b,me as c,Bn as d,Fn as e}; +import{a as li}from"./chunk-I7ZDH35V.js";import{A as oi,a as ii,c as ni,e as si,l as ri}from"./chunk-WFHPAILT.js";import{c as Yt}from"./chunk-UYIAOCXU.js";import{c as ht,d as dt,e as ut}from"./chunk-DSAGLKP4.js";import{a as O,c as Xt,d as ze,e as Oe,f as Jt,g as xe,i as ti,k as Ye}from"./chunk-LZN2HRQX.js";import{b as Pe,d as ei}from"./chunk-DADCTN7Z.js";import{d as Fe,m as Gt,s as Ae,t as lt,u as at,w as ct}from"./chunk-XHR4TYVD.js";import{$b as C,A as Y,Aa as $,Ac as de,B as We,Ba as Z,Bc as Q,Cc as be,D as it,Dc as ye,Eb as rt,Ec as Kt,F as ve,Ga as Ft,Gb as X,H as nt,Ia as ae,J as He,Jb as T,K as se,Kc as Ut,La as A,Lb as Bt,Lc as Qt,Mc as $t,Na as W,Nb as jt,Nc as fe,Oc as B,P as Tt,Pb as ce,Pc as Ie,Qb as E,Qc as we,Rb as Lt,S as Rt,Sb as Nt,Sc as Zt,T as Dt,Tb as Wt,U as st,Ub as J,V as It,Vc as ot,W as Te,Wb as R,Wc as Ze,Xc as qe,Y as I,Yb as Qe,Zb as Se,_b as Ce,_c as Ve,a as Ot,ac as y,ba as Ke,bc as he,c as Le,ca as ue,e as xt,ec as Re,f as F,fa as pe,fc as oe,g as ne,gc as Ht,ha as re,i as Mt,ia as j,id as ee,j as Et,ja as Vt,jd as Ge,ka as kt,lb as _,m as Me,mb as g,mc as H,na as z,nd as D,o as Ne,ob as At,oc as S,od as qt,pa as le,pc as K,pd as ke,q as ge,qc as U,rb as zt,rc as $e,tb as q,tc as De,uc as L,vc as V,wb as Pt,wc as k,x as Ee,xa as _e,xb as Ue,zb as P}from"./chunk-6U7QZ4SV.js";import{a as G,b as je,e as h,f as b,g as v}from"./chunk-MGAX33HK.js";var pt=class{};function ai(s){return s&&typeof s.connect=="function"&&!(s instanceof xt)}var Xe=class extends pt{constructor(t){super(),this._data=t}connect(){return Ne(this._data)?this._data:Me(this._data)}disconnect(){}},Be=function(s){return s[s.REPLACED=0]="REPLACED",s[s.INSERTED=1]="INSERTED",s[s.MOVED=2]="MOVED",s[s.REMOVED=3]="REMOVED",s}(Be||{}),ft=new pe("_ViewRepeater");var Je=class{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,n,e,i,r){t.forEachOperation((l,u,m)=>{let f,x;if(l.previousIndex==null){let o=()=>e(l,u,m);f=this._insertView(o,m,n,i(l)),x=f?Be.INSERTED:Be.REPLACED}else m==null?(this._detachAndCacheView(u,n),x=Be.REMOVED):(f=this._moveView(u,m,n,i(l)),x=Be.MOVED);r&&r({context:f?.context,operation:x,record:l})})}detach(){for(let t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,n,e,i){let r=this._insertViewFromCache(n,e);if(r){r.context.$implicit=i;return}let l=t();return e.createEmbeddedView(l.templateRef,l.context,l.index)}_detachAndCacheView(t,n){let e=n.detach(t);this._maybeCacheView(e,n)}_moveView(t,n,e,i){let r=e.get(t);return e.move(r,n),r.context.$implicit=i,r}_maybeCacheView(t,n){if(this._viewCache.lengththis._markSelected(r)):this._markSelected(n[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}setSelection(...t){this._verifyValueAssignment(t);let n=this.selected,e=new Set(t);t.forEach(r=>this._markSelected(r)),n.filter(r=>!e.has(this._getConcreteValue(r,e))).forEach(r=>this._unmarkSelected(r));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let n=this._hasQueuedChanges();return t&&this._emitChangeEvent(),n}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,n){if(this.compareWith){n=n??this._selection;for(let e of n)if(this.compareWith(t,e))return e;return t}else return t}};var ie=(()=>{let t=class t{constructor(){this.optionsStyle="checkbox",this.multiSelectVisible=new ne(!1),this.multiSelectVisible$=this.multiSelectVisible.asObservable(),this.multiSelectFocus=new F,this.multiSelectFocus$=this.multiSelectFocus.asObservable(),this.userOptionsSignal=P([]),this.optionsArray=new ne([]),this.optionsArray$=this.optionsArray.asObservable()}setSelectionModel(e=!0,i=[]){this.selectionModel=new et(e)}toggleVisible(e){this.multiSelectVisible.next(e)}focusChange(e){this.multiSelectFocus.next(e)}getUserOptions(){return ke(this.userOptionsSignal)}addUserOption(e){this.userOptionsSignal.update(i=>[...i,e])}removeUserOption(e){let i=this.userOptionsSignal().filter(r=>r.value!==e);this.userOptionsSignal.set(i)}removeAllUserOptions(){this.userOptionsSignal.set([])}getOptionsArray(){return this.optionsArray$}updateOptionsArray(e){this.optionsArray.next(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=ue({token:t,factory:t.\u0275fac});let s=t;return s})();var yi=["contentDiv"],wi=["*"];function Oi(s,t){if(s&1&&(C(0,"div"),Q(1),y()),s&2){let n,e=S();_(),ye(" ",(n=(n=e.text)!==null&&n!==void 0?n:e.label)!==null&&n!==void 0?n:e.value==null?null:e.value.toString()," ")}}var me=(()=>{var t,n,e,i,r,l,u,m,f,x;let o=class o{constructor(a,d,p,w){b(this,t);b(this,n);b(this,e);b(this,i);b(this,r);b(this,l);b(this,u);b(this,m);b(this,f);b(this,x);this.elementRef=a,this.changeDetectorRef=d,this.focusMonitor=p,this.multiSelectService=w,v(this,t,j(ae)),v(this,n,j(q)),this.optionsStyle=this.multiSelectService?.optionsStyle??"checkbox",v(this,e,P(!0)),this.disabled=!1,v(this,i,P(void 0)),this.selectedChange=new W,v(this,r,P(void 0)),this.hasContent=P(!0),v(this,l,P(!1)),v(this,u,P(!1)),v(this,m,!1),this.focusChange=new W,v(this,f,ke(()=>h(this,u).call(this)&&h(this,e).call(this)?0:-1)),v(this,x,ke(()=>{let M=h(this,r).call(this),N=h(this,i).call(this);return M!==void 0&&N!==void 0&&(N?this.multiSelectService.selectionModel?.select(M):this.multiSelectService.selectionModel?.deselect(M),this.selectedChange.emit(N),this.changeDetectorRef.markForCheck()),N}))}set visible(a){h(this,e).set(a)}get visible(){return h(this,e).call(this)}set selected(a){if(a!==void 0){let d=D(a);h(this,i).call(this)!==d&&(h(this,i).set(d),this.value!==void 0&&(d?this.multiSelectService.selectionModel?.select(this.value):this.multiSelectService.selectionModel?.deselect(this.value)))}}get selected(){return h(this,i).call(this)}set value(a){h(this,r).call(this)!==a&&h(this,r).set(a)}get value(){return h(this,r).call(this)}set active(a){let d=a&&h(this,e).call(this)&&!this.disabled;h(this,u).call(this)!==d&&h(this,u).set(d)}get active(){return h(this,u).call(this)&&h(this,e).call(this)}get role(){return"option"}get hostClasses(){return{"form-multi-select-option":!0,"form-multi-selected":h(this,i).call(this),[`form-multi-select-option-with-${this.optionsStyle}`]:!!this.optionsStyle,disabled:this.disabled,"d-none":!h(this,e).call(this),active:h(this,u).call(this),focused:h(this,m)}}get tabIndex(){return this.disabled||!h(this,e).call(this)?-1:h(this,f).call(this)}get ariaDisabled(){return this.disabled||null}get ariaSelected(){return h(this,x).call(this)??!1}onKeyDown(a){["Space"].includes(a.code)&&a.preventDefault(),["Tab"].includes(a.code)&&a.preventDefault()}onBlur(){v(this,m,!1)}onFocus(){v(this,m,!0)}onKeyUp(a){h(this,l).call(this)&&["Enter","Space"].includes(a.code)&&(a.stopImmediatePropagation(),a.preventDefault(),this.selected=this.disabled?h(this,i).call(this):!h(this,i).call(this),this.focus("keyboard"))}onClick(a){a.stopPropagation(),this.selected=this.disabled?h(this,i).call(this):!h(this,i).call(this),this.focus("mouse")}ngAfterViewInit(){this.setSubscriptions();let a=!!this.contentDiv?.nativeElement.childNodes.length;if(a||h(this,n).runOutsideAngular(()=>{setTimeout(()=>{this.hasContent.set(a)})}),this.text===void 0){let d=this.elementRef.nativeElement.textContent.trim()||this.elementRef.nativeElement.innerText.trim();this.text=d||this.value?.toString().trim()}this.label===void 0&&(this.label=this.text?.trim()),this.value===void 0&&(this.value=this.label?.trim()||"..."),this.changeDetectorRef.destroyed||(this.selected=this.isSelected(this.value),this.changeDetectorRef.markForCheck())}getLabel(){return this.label??this.value}focus(a="program"){h(this,l).call(this)&&!this.disabled&&(this.focusMonitor.focusVia(this.elementRef.nativeElement,a,{preventScroll:!1}),this.multiSelectService.focusChange(this),this.changeDetectorRef.markForCheck(),this.focusChange.emit(this))}setSubscriptions(){this.multiSelectService.multiSelectVisible$.pipe(I(a=>{h(this,l).set(a)}),O(h(this,t))).subscribe(),this.multiSelectService.multiSelectFocus$.pipe(se(),Y(a=>this.active!==(this.value===a.value)),I(a=>{this.active=this.value===a.value,this.changeDetectorRef.markForCheck()}),O(h(this,t))).subscribe(),this.changeDetectorRef.destroyed||this.multiSelectService.selectionModel.changed.pipe(Y(a=>a.added.includes(this.value)||a.removed.includes(this.value)),I(a=>{this.selected=a.added.includes(this.value),this.changeDetectorRef.markForCheck()}),O(h(this,t))).subscribe()}isSelected(a=this.value){return(h(this,i).call(this)||this.multiSelectService.selectionModel?.isSelected(a))??!1}};t=new WeakMap,n=new WeakMap,e=new WeakMap,i=new WeakMap,r=new WeakMap,l=new WeakMap,u=new WeakMap,m=new WeakMap,f=new WeakMap,x=new WeakMap,o.\u0275fac=function(d){return new(d||o)(g(A),g(ee),g(Ye),g(ie))},o.\u0275cmp=z({type:o,selectors:[["c-multi-select-option"]],viewQuery:function(d,p){if(d&1&&L(yi,5),d&2){let w;V(w=k())&&(p.contentDiv=w.first)}},hostVars:7,hostBindings:function(d,p){d&1&&H("keydown",function(M){return p.onKeyDown(M)})("blur",function(){return p.onBlur()})("focus",function(){return p.onFocus()})("keyup",function(M){return p.onKeyUp(M)})("click",function(M){return p.onClick(M)}),d&2&&(Ht("role",p.role),ce("tabindex",p.tabIndex)("disabled",p.ariaDisabled)("aria-disabled",p.ariaDisabled)("aria-selected",p.ariaSelected),J(p.hostClasses))},inputs:{optionsStyle:"optionsStyle",label:"label",text:"text",visible:[2,"visible","visible",D],disabled:[2,"disabled","disabled",D],selected:"selected",value:"value",active:[2,"active","active",D],role:"role"},outputs:{selectedChange:"selectedChange",focusChange:"focusChange"},exportAs:["cMultiSelectOption"],standalone:!0,features:[X,B],ngContentSelectors:wi,decls:4,vars:1,consts:[["contentDiv",""]],template:function(d,p){d&1&&(K(),C(0,"div",null,0),U(2),y(),T(3,Oi,2,1,"div")),d&2&&(_(3),R(p.hasContent()?-1:3))},styles:["[_nghost-%COMP%]{display:block;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden}.active[_nghost-%COMP%]{border-radius:var(--cui-form-multi-select-option-indicator-border-radius, .375rem);box-shadow:0 0 .125rem 0 var(--cui-gray-400)}.focused[_nghost-%COMP%], [_nghost-%COMP%] [_ngcontent-%COMP%]:focus-visible{box-shadow:0 0 0 .125rem #321fdb40;outline:none}"],changeDetection:0});let s=o;return s})();var Ei=new pe("cdk-dir-doc",{providedIn:"root",factory:Ti});function Ti(){return j(Fe)}var Ri=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Di(s){let t=s?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?Ri.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var tt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new W,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=Di(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(re(Ei,8))},t.\u0275prov=ue({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();var Vi=["contentWrapper"],ki=["*"],di=new pe("VIRTUAL_SCROLL_STRATEGY"),gt=class{constructor(t,n,e){this._scrolledIndexChange=new F,this.scrolledIndexChange=this._scrolledIndexChange.pipe(se()),this._viewport=null,this._itemSize=t,this._minBufferPx=n,this._maxBufferPx=e}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,n,e){e0?r/this._itemSize:0;if(n.end>i){let m=Math.ceil(e/this._itemSize),f=Math.max(0,Math.min(l,i-m));l!=f&&(l=f,r=f*this._itemSize,n.start=Math.floor(l)),n.end=Math.max(0,Math.min(i,n.start+m))}let u=r-n.start*this._itemSize;if(u0&&(n.end=Math.min(i,n.end+f),n.start=Math.max(0,Math.floor(l-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(n),this._viewport.setRenderedContentOffset(this._itemSize*n.start),this._scrolledIndexChange.next(Math.floor(l))}};function Fi(s){return s._scrollStrategy}var ui=(()=>{let t=class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new gt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Pe(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Pe(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Pe(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=le({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[fe([{provide:di,useFactory:Fi,deps:[Ke(()=>t)]}]),_e]});let s=t;return s})(),Ai=20,vt=(()=>{let t=class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new F,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Ai){return this._platform.isBrowser?new Le(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(We(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Me()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Y(l=>!l||r.indexOf(l)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,l)=>{this._scrollableContainsElement(l,e)&&i.push(l)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=ei(i),l=e.getElementRef().nativeElement;do if(r==l)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Ee(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(re(q),re(ze),re(Fe,8))},t.\u0275prov=ue({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),pi=(()=>{let t=class t{constructor(e,i,r,l){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=l,this._destroyed=new F,this._elementScrolled=new Le(u=>this.ngZone.runOutsideAngular(()=>Ee(this.elementRef.nativeElement,"scroll").pipe(Te(this._destroyed)).subscribe(u)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&xe()!=Oe.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),xe()==Oe.INVERTED?e.left=e.right:xe()==Oe.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Jt()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",l=this.elementRef.nativeElement;if(e=="top")return l.scrollTop;if(e=="bottom")return l.scrollHeight-l.clientHeight-l.scrollTop;let u=this.dir&&this.dir.value=="rtl";return e=="start"?e=u?r:i:e=="end"&&(e=u?i:r),u&&xe()==Oe.INVERTED?e==i?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:u&&xe()==Oe.NEGATED?e==i?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:e==i?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(g(A),g(vt),g(q),g(tt,8))},t.\u0275dir=le({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let s=t;return s})(),zi=20,Pi=(()=>{let t=class t{constructor(e,i,r){this._platform=e,this._change=new F,this._changeListener=l=>{this._change.next(l)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let l=this._getWindow();l.addEventListener("resize",this._changeListener),l.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,l=r.getBoundingClientRect(),u=-l.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,m=-l.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:u,left:m}}change(e=zi){return e>0?this._change.pipe(We(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(re(ze),re(q),re(Fe,8))},t.\u0275prov=ue({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),ci=new pe("VIRTUAL_SCROLLABLE"),Bi=(()=>{let t=class t extends pi{constructor(e,i,r,l){super(e,i,r,l)}measureViewportSize(e){let i=this.elementRef.nativeElement;return e==="horizontal"?i.clientWidth:i.clientHeight}};t.\u0275fac=function(i){return new(i||t)(g(A),g(vt),g(q),g(tt,8))},t.\u0275dir=le({type:t,features:[rt]});let s=t;return s})();function ji(s,t){return s.start==t.start&&s.end==t.end}var Li=typeof requestAnimationFrame<"u"?Et:Mt,_t=(()=>{let t=class t extends Bi{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}constructor(e,i,r,l,u,m,f,x){super(e,m,r,u),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=l,this.scrollable=x,this._platform=j(ze),this._detachedSubject=new F,this._renderedRangeSubject=new F,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new Le(o=>this._scrollStrategy.scrolledIndexChange.subscribe(c=>Promise.resolve().then(()=>this.ngZone.run(()=>o.next(c))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Ot.EMPTY,this._injector=j(Ft),this._isDestroyed=!1,this._viewportChanges=f.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(st(null),We(0,Li),Te(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Te(this._detachedSubject)).subscribe(i=>{let r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){ji(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&i==="to-start"?0:e;let r=this.dir&&this.dir.value=="rtl",l=this.orientation=="horizontal",u=l?"X":"Y",f=`translate${u}(${Number((l&&r?-1:1)*e)}px)`;this._renderedContentOffset=e,i==="to-end"&&(f+=` translate${u}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=f&&(this._renderedContentTransform=f,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){let r={behavior:i};this.orientation==="horizontal"?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return this.scrollable==this?i=r=>super.measureScrollOffset(r):i=r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i,r="left",l="right",u=this.dir?.value=="rtl";e=="start"?i=u?l:r:e=="end"?i=u?r:l:e?i=e:i=this.orientation==="horizontal"?"left":"top";let m=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-m}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,Pt(()=>{this._isChangeDetectionPending=!1;let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let i of e)i()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight=this.orientation==="horizontal"?"":`${this._totalContentSize}px`,this._totalContentWidth=this.orientation==="horizontal"?`${this._totalContentSize}px`:""}};t.\u0275fac=function(i){return new(i||t)(g(A),g(ee),g(q),g(di,8),g(tt,8),g(vt),g(Pi),g(ci,8))},t.\u0275cmp=z({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,r){if(i&1&&L(Vi,7),i&2){let l;V(l=k())&&(r._contentWrapper=l.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,r){i&2&&Nt("cdk-virtual-scroll-orientation-horizontal",r.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",r.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",D]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[fe([{provide:pi,useFactory:(e,i)=>e||i,deps:[[new kt,new Vt(ci)],t]}]),X,rt,B],ngContentSelectors:ki,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(i,r){i&1&&(K(),C(0,"div",1,0),U(2),y(),he(3,"div",2)),i&2&&(_(3),Lt("width",r._totalContentWidth)("height",r._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0});let s=t;return s})();function hi(s,t,n){let e=n;if(!e.getBoundingClientRect)return 0;let i=e.getBoundingClientRect();return s==="horizontal"?t==="start"?i.left:i.right:t==="start"?i.top:i.bottom}var fi=(()=>{let t=class t{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,ai(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Xe(Ne(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(i,r)=>e(i+(this._renderedRange?this._renderedRange.start:0),r):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Pe(e)}constructor(e,i,r,l,u,m){this._viewContainerRef=e,this._template=i,this._differs=r,this._viewRepeater=l,this._viewport=u,this.viewChange=new F,this._dataSourceChanges=new F,this.dataStream=this._dataSourceChanges.pipe(st(null),Tt(),It(([f,x])=>this._changeDataSource(f,x)),Rt(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new F,this.dataStream.subscribe(f=>{this._data=f,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Te(this._destroyed)).subscribe(f=>{this._renderedRange=f,this.viewChange.observers.length&&m.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,i){if(e.start>=e.end)return 0;e.startthis._renderedRange.end;let r=e.start-this._renderedRange.start,l=e.end-e.start,u,m;for(let f=0;f-1;f--){let x=this._viewContainerRef.get(f+r);if(x&&x.rootNodes.length){m=x.rootNodes[x.rootNodes.length-1];break}}return u&&m?hi(i,"end",m)-hi(i,"start",u):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,i):i)),this._needsUpdate=!0)}_changeDataSource(e,i){return e&&e.disconnect(this),this._needsUpdate=!0,i?i.connect(this):Me()}_updateContext(){let e=this._data.length,i=this._viewContainerRef.length;for(;i--;){let r=this._viewContainerRef.get(i);r.context.index=this._renderedRange.start+i,r.context.count=e,this._updateComputedContextProperties(r.context),r.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(l,u,m)=>this._getEmbeddedViewArgs(l,m),l=>l.item),e.forEachIdentityChange(l=>{let u=this._viewContainerRef.get(l.currentIndex);u.context.$implicit=l.item});let i=this._data.length,r=this._viewContainerRef.length;for(;r--;){let l=this._viewContainerRef.get(r);l.context.index=this._renderedRange.start+r,l.context.count=i,this._updateComputedContextProperties(l.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,i){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}};t.\u0275fac=function(i){return new(i||t)(g(Ue),g(At),g(Ge),g(ft),g(_t,4),g(q))},t.\u0275dir=le({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[fe([{provide:ft,useClass:Je}])]});let s=t;return s})();var Ni=["content"],Wi=["*"],Hi=()=>({position:"absolute","top.%":"50","left.%":"50",transform:"translateX(-50%) translateY(-50%)"});function Ki(s,t){s&1&&(C(0,"div",null,0),U(2),y())}function Ui(s,t){s&1&&he(0,"c-spinner",2)}var St=(()=>{var t;let n=class n{constructor(i,r){b(this,t);this.elementRef=i,this.changeDetectorRef=r,this.opacity=.4,this.hasContent=!0}get customBoundaries(){if(!this.boundaries||this.elementRef===null)return{};if(!h(this,t))return{};let i=h(this,t)?.getBoundingClientRect(),r={};return this.boundaries.forEach(l=>{let u=h(this,t)?.querySelector(l.query);if(!u||!l.sides)return;let m=u.getBoundingClientRect();l.sides.forEach(f=>{let x=Math.abs(m[f]-i[f]);r[f]=`${x}px`})}),r}get containerCoords(){return G({top:0,left:0,right:0,bottom:0},this.customBoundaries)}get coverStyles(){return je(G({},this.containerCoords),{position:"absolute",backgroundColor:`rgb(255,255,255,${this.opacity})`})}ngAfterViewInit(){v(this,t,this.elementRef.nativeElement.parentElement),this.hasContent=this.content?.nativeElement.childNodes.length??!1,this.changeDetectorRef.detectChanges()}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)(g(A),g(ee))},n.\u0275cmp=z({type:n,selectors:[["c-element-cover"],["","cElementCover",""]],viewQuery:function(r,l){if(r&1&&L(Ni,5),r&2){let u;V(u=k())&&(l.content=u.first)}},hostVars:2,hostBindings:function(r,l){r&2&&Wt(l.coverStyles)},inputs:{boundaries:"boundaries",opacity:"opacity"},standalone:!0,features:[B],ngContentSelectors:Wi,decls:3,vars:3,consts:[["content",""],[3,"ngStyle"],["color","primary","variant","grow"]],template:function(r,l){r&1&&(K(),C(0,"div",1),T(1,Ki,3,0,"div")(2,Ui,1,0,"c-spinner",2),y()),r&2&&(E("ngStyle",Ie(2,Hi)),_(),R(l.hasContent?1:2))},dependencies:[li,Ae],styles:["[_nghost-%COMP%]{display:block}"]});let s=n;return s})();function Qi(s,t){if(s&1&&he(0,"option",1),s&2){let n=t.$implicit,e=S();E("disabled",e.disabled)("label",n.label)("value",n.value),ce("selected",n.selected?"":null)}}var mi=(()=>{let t=class t{constructor(e){this.changeDetectorRef=e,this.form="",this.id=""}};t.\u0275fac=function(i){return new(i||t)(g(ee))},t.\u0275cmp=z({type:t,selectors:[["c-multi-select-native-select"]],inputs:{form:"form",id:"id",multiple:[2,"multiple","multiple",D],name:"name",options:"options",disabled:[2,"disabled","disabled",D]},standalone:!0,features:[X,B],decls:3,vars:4,consts:[["tabindex","-1",2,"display","none",3,"disabled","id","multiple","name"],["tabindex","-1",3,"disabled","label","value"]],template:function(i,r){i&1&&(C(0,"select",0),Se(1,Qi,1,4,"option",1,Qe),y()),i&2&&(E("disabled",r.disabled)("id",r.id)("multiple",r.multiple)("name",r.name),_(),Ce(r.options))},styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0});let s=t;return s})();function $i(s,t){if(s&1){let n=oe();C(0,"button",2),H("click",function(i){$(n);let r=S();return Z(r.handleRemove(i))}),y()}if(s&2){let n,e=S();E("disabled",((n=e.multiselectVisible())!==null&&n!==void 0?n:!0)===!1)}}var gi=(()=>{var t;let n=class n{constructor(){b(this,t);v(this,t,j(ie)),this.multiselectVisible=Xt(h(this,t).multiSelectVisible$),this.disabled=!0,this.remove=new W}get hostClasses(){return{"form-multi-select-tag":!0}}handleRemove(i){i.stopPropagation(),this.value&&this.remove.emit(this.value)}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=z({type:n,selectors:[["c-multi-select-tag"]],hostVars:2,hostBindings:function(r,l){r&2&&J(l.hostClasses)},inputs:{option:"option",disabled:"disabled",label:"label",value:"value"},outputs:{remove:"remove"},standalone:!0,features:[B],decls:3,vars:2,consts:[[1,"text-truncate"],["aria-label","Clear","type","button",1,"form-multi-select-tag-delete",3,"disabled"],["aria-label","Clear","type","button",1,"form-multi-select-tag-delete",3,"click","disabled"]],template:function(r,l){if(r&1&&(C(0,"span",0),Q(1),y(),T(2,$i,1,1,"button",1)),r&2){let u;_(),be((u=(u=l.label)!==null&&u!==void 0?u:l.value==null?null:l.value.toString())!==null&&u!==void 0?u:"???"),_(),R(l.disabled?-1:2)}},styles:["[_nghost-%COMP%] .btn-xs[_ngcontent-%COMP%]{padding-left:.125rem;padding-right:.125rem;font-size:.575rem;border-radius:.2rem}.form-multi-select-tag[_nghost-%COMP%]{-webkit-user-select:none;user-select:none;pointer-events:all;align-items:center;display:flex}"],changeDetection:0});let s=n;return s})();var vi=(()=>{var t,n,e;let i=class i{constructor(l,u){b(this,t);b(this,n);b(this,e);this.elementRef=l,this.destroyRef=u,v(this,t,new ne("")),v(this,e,""),this.delay=300,this.valueChange=new W}set value(l){h(this,t).next(l)}ngAfterViewInit(){this.setSubscription()}setSubscription(){h(this,t).pipe(se(),O(this.destroyRef)).subscribe(l=>{h(this,e)!==l&&(v(this,e,l),this.valueChange.emit(l))}),v(this,n,Ee(this.elementRef.nativeElement,"input").pipe(ve(this.delay),ge(l=>l.target.value),O(this.destroyRef))),h(this,n).pipe(O(this.destroyRef)).subscribe(l=>{l!==h(this,e)&&h(this,t).next(l)})}};t=new WeakMap,n=new WeakMap,e=new WeakMap,i.\u0275fac=function(u){return new(u||i)(g(A),g(ae))},i.\u0275dir=le({type:i,selectors:[["","cMultiSelectSearch",""]],inputs:{delay:"delay",value:"value"},outputs:{valueChange:"valueChange"},exportAs:["cMultiSelectSearch"],standalone:!0});let s=i;return s})();var Zi=["options"],qi=["inputElement"],Gi=["scrollViewport"],Yi=["*"],_i=(s,t)=>t.value,Xi=()=>[at,Ae,lt,ui,_t,fi],Ji=s=>({"form-multi-select-selection":!0,"form-multi-select-selection-tags":s}),en=s=>({"form-multi-select-search":!0,disabled:s,"text-truncate":!0}),tn=()=>({"border-radius":"6px","z-index":2}),nn=(s,t,n)=>({"height.px":s,"maxHeight.px":t,"minWidth.px":n,overflowX:"hidden"}),sn=s=>({"minWidth.px":s,overflowX:"hidden"}),Si=(s,t,n,e,i,r,l)=>({$implicit:s,even:t,odd:n,index:e,count:i,first:r,last:l}),rn=s=>({"form-multi-select-options":s}),on=s=>({"maxHeight.px":s,overflowY:"scroll"}),ln=()=>({});function an(s,t){if(s&1){let n=oe();C(0,"c-multi-select-tag",20),H("remove",function(i){$(n);let r=S(3);return Z(r.handleTagRemove(i))}),y()}if(s&2){let n,e,i=t.$implicit;E("disabled",(n=i.disabled)!==null&&n!==void 0?n:!1)("label",(e=i.label)!==null&&e!==void 0?e:i.value==null?null:i.value.toString())("option",i)("value",i.value)}}function cn(s,t){s&1&&Se(0,an,1,4,"c-multi-select-tag",19,_i),s&2&&Ce(t)}function hn(s,t){if(s&1&&(T(0,cn,2,0),Ze(1,"async")),s&2){let n,e=S();R((n=qe(1,1,e.optionsSelected$))?0:-1,n)}}function dn(s,t){if(s&1&&(C(0,"span",21),Q(1),y()),s&2){let n=t.$implicit,e=t.$index,i=t.$count;_(),Kt("",n.label,"",e===i-1?"\xA0":",\xA0","")}}function un(s,t){if(s&1&&Se(0,dn,2,2,"span",21,_i),s&2){let n=S();Ce(n.selectedOptions)}}function pn(s,t){if(s&1&&(C(0,"span",13),Q(1),y()),s&2){let n=S();_(),ye(" ",n.optionsSelected.size===0?n.placeholder:n.counterPlaceholderText," ")}}function fn(s,t){if(s&1){let n=oe();C(0,"input",22,6),H("keydown",function(i){$(n);let r=S();return Z(r.handleSearchKeyDown(i))})("valueChange",function(i){$(n);let r=S();return Z(r.handleSearchValueChange(i))}),y()}if(s&2){let n=S();$e("tabindex",n.disabled?-1:0),E("disabled",n.disabled||!n.search)("ngClass",we(6,en,n.disabled||!n.search))("ngModel",n.searchValue)("value",n.searchValue),ce("placeholder",n.selectedOptions.length===0?n.placeholder:n.counterPlaceholderText)}}function mn(s,t){if(s&1){let n=oe();C(0,"button",23),H("click",function(i){$(n);let r=S();return Z(r.clearAllOptions(i))}),y()}if(s&2){let n=S();E("disabled",n.disabled||!n.isDropdownVisible&&n.cleaner!=="active")}}function gn(s,t){if(s&1){let n=oe();C(0,"button",27),H("click",function(){$(n);let i=S(3);return Z(i.selectAllOptions())}),Q(1),y()}if(s&2){let n=S(3);_(),ye(" ",n.selectAllLabel," ")}}function vn(s,t){if(s&1&&T(0,gn,2,1,"button",26),s&2){let n=S(2);R(n.selectAll&&n.multiple&&!n.virtualScroller?0:-1)}}function _n(s,t){s&1&&Re(0)}function Sn(s,t){if(s&1&&T(0,_n,1,0,"ng-container",28),s&2){let n=S(2),e=de(14),i=de(16);E("ngTemplateOutlet",n.virtualScroller?e:i)}}function Cn(s,t){if(s&1&&(C(0,"div",24),Q(1),y()),s&2){let n=S(2);_(),be(n.searchNoResultsLabel)}}function bn(s,t){s&1&&he(0,"c-element-cover",25),s&2&&E("ngStyle",Ie(1,tn))}function yn(s,t){if(s&1&&(C(0,"div",18,7),T(2,vn,1,1)(3,Sn,1,1,"ng-container")(4,Cn,2,1,"div",24)(5,bn,1,2,"c-element-cover",25),y()),s&2){let n=S(),e=de(1);E("visible",e.visible),_(2),R(n.visibleOptions()&&n.options.length>0?2:-1),_(),R(n.visibleOptions()&&n.options.length>0||n.isLoading()?3:4),_(2),R(n.isLoading()?5:-1)}}function wn(s,t){if(s&1&&Re(0,32,9),s&2){let n=t.$implicit,e=t.even,i=t.odd,r=t.index,l=t.count,u=t.first,m=t.last,f=S(4),x=de(18);E("ngTemplateOutletContext",ot(2,Si,n,e,i,r,l,u,m))("ngTemplateOutlet",f.templates.multiSelectOptionTemplate||x)}}function On(s,t){if(s&1){let n=oe();C(0,"cdk-virtual-scroll-viewport",30,8),H("scrolledIndexChange",function(i){$(n);let r=de(1),l=S(3);return Z(l.handleScrolledIndexChange(i,r))}),T(2,wn,2,10,"ng-container",31),y()}if(s&2){let n=S(3);$e("maxBufferPx",n.itemSize*n.visibleItems),$e("minBufferPx",n.itemSize*n.visibleItems),E("itemSize",n.itemSize)("ngStyle",n.optionsMaxHeight!=="auto"?Zt(7,nn,n.optionsMaxHeight,n.optionsMaxHeight,n.minWidth()):we(11,sn,n.minWidth())),_(2),E("cdkVirtualForOf",t)("cdkVirtualForTrackBy",n.trackByFn)("cdkVirtualForTemplateCacheSize",0)}}function xn(s,t){if(s&1&&(T(0,On,3,13,"cdk-virtual-scroll-viewport",29),Ze(1,"async")),s&2){let n,e=S(2);R((n=qe(1,1,e.optionsArray$))?0:-1,n)}}function Mn(s,t){s&1&&(T(0,xn,2,3),Bt(1,0,Xi),jt())}function En(s,t){if(s&1&&(C(0,"div",33),U(1),Re(2,34),y()),s&2){let n=S(),e=de(20);E("ngClass",we(3,rn,n.visibleOptions()))("ngStyle",n.optionsMaxHeight!=="auto"?we(5,on,n.optionsMaxHeight):Ie(7,ln)),_(2),E("ngTemplateOutlet",e)}}function Tn(s,t){if(s&1&&(C(0,"c-multi-select-option",35),Q(1),y()),s&2){let n=t.$implicit;E("disabled",n.disabled)("label",n.label)("text",n.text)("value",n.value)("visible",n.visible),_(),ye(" ",n.text," ")}}function Rn(s,t){if(s&1&&Re(0,36),s&2){let n=t.$implicit,e=t.$index,i=t.$count,r=S(2),l=de(18);E("ngTemplateOutlet",r.templates.multiSelectOptionTemplate||l)("ngTemplateOutletContext",ot(2,Si,n,e%2===0,e%2!==0,e,i,e===0,e===i-1))}}function Dn(s,t){if(s&1&&(Se(0,Rn,1,10,"ng-container",36,Qe),Ze(2,"async")),s&2){let n=S();Ce(qe(2,0,n.userOptionsArray$))}}var In={name:"observeReferenceResizeModifier",enabled:!0,phase:"main",fn({state:s}){},effect:({state:s,instance:t})=>{let n="__popperjsRO__",{reference:e}=s.elements,i=new ResizeObserver(r=>{r.find(l=>l.target===e)&&t.update()});return i.observe(e),()=>{i?.disconnect(),i=null}}},Vn={name:"sameAsReferenceWidthModifier",enabled:!0,fn:({state:s})=>{s.styles.popper.minWidth=`${s.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]},kn={strategy:"fixed",modifiers:[In,Vn,{name:"offset",options:{offset:()=>[0,4]}}]},Fn=(()=>{var t,n,e,i,r,l,u,m;let f=class f{constructor(o,c,a,d,p,w,M,N){b(this,t);b(this,n);b(this,e);b(this,i);b(this,r);b(this,l);b(this,u);b(this,m);this.elementRef=o,this.renderer=c,this.ngZone=a,this.changeDetectorRef=d,this.viewContainerRef=p,this.focusMonitor=w,this.multiSelectService=M,this.iterableDiffers=N,v(this,t,j(ae)),v(this,n,j(ct)),v(this,e,new F),v(this,i,new F),this.userOptionsArray$=new ne([]),v(this,r,new Map),this.optionsSelected$=new ne([]),this.optionsSelected=new Map,this.value$=new ne([]),v(this,l,[]),this.onChange=bt=>{},this.onTouched=()=>{},this.allowCreateOptions=!1,this.cleaner=!0,this.clearSearchOnSelect=!1,this._disabled=!1,this.isLoading=P(!1),this._multiple=!1,this.nativeFormId="",this.nativeId="",this.nativeName="",this.optionsMaxHeight="auto",this.placeholder="Select...",this.search=!0,this.searchNoResultsLabel="no items",this._searchValue="",this.searchValueChange=new W,this.selectAll=!0,this.selectAllLabel="Select all options",this.selectionType="tags",this.selectionTypeCounterText="item(s) selected",this.selectionTypeCounterTextPluralMap={"=1":"item selected",other:"items selected"},v(this,u,[]),this.valueChange=new W,this._virtualScroller=!1,this._visibleItems=8,this.itemSize=40,this.itemMinWidth=196,this.minWidth=P(this.itemMinWidth),this._visible=!1,this.visibleChange=new W,v(this,m,P(kn)),this.isDropdownVisible=!1,this.templates={},this._tabIndex=-1,this.visibleOptions=P(!1),this._subtreeFocused=this.focusOrigin(null),this.userOptions=this.multiSelectService.getUserOptions(),this.activeOption=null,this.differ=this.iterableDiffers.find(h(this,u)).create(),this.multiSelectService.setSelectionModel(this.multiple),this.optionsArray$=this.multiSelectService.getOptionsArray()}writeValue(o){o!=null?this.value=Array.isArray(o)?[...o]:[o]:this.value=Array(0)}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.disabled=o}set disabled(o){this._disabled!==o&&(this._disabled=o,this.setFocusMonitor(!o))}get disabled(){return this._disabled}set loading(o){this.isLoading.set(o)}set multiple(o){this._multiple=o,this.multiSelectService.setSelectionModel(this._multiple)}get multiple(){return this._multiple}set options(o){Array.isArray(o)&&(h(this,r).clear(),this.makeOptions(o))}get options(){return[...h(this,r).values()]}set optionsStyle(o){this.multiSelectService.optionsStyle=o??"checkbox"}set searchValue(o){this._searchValue!==o.trimStart()&&(this._searchValue=o.trimStart(),this.visible=this.searchValue.length>0&&this.subtreeFocused?!0:this.visible,this.filterOptions(this.searchValue),this.inputElementSize(),this.searchValueChange.emit(this._searchValue))}get searchValue(){return this._searchValue}set value(o){let c=Array.isArray(o)?[...o]:[o];this.differ&&this.differ.diff(c)&&(v(this,u,[...c]),this.value$.next([...c]),this.onChange(this.value))}get value(){let o=this.multiSelectService.selectionModel?.selected??[...h(this,u)];return this.multiple?[...o]:o[0]}set virtualScroller(o){this._virtualScroller=o}get virtualScroller(){return this._virtualScroller}set visibleItems(o){this._visibleItems=o>0?o:8,this.optionsMaxHeight=(this.itemSize*this._visibleItems+16).toString()}get visibleItems(){return this._visibleItems}set visible(o){o!==this._visible&&(this._visible=o,setTimeout(()=>{this.multiSelectService.toggleVisible(o)}))}get visible(){return this._visible}set popperOptions(o){let c=h(this,m).call(this),{modifiers:a=[]}=c,{modifiers:d=[]}=o,p=je(G({},o),{modifiers:[...a.filter(w=>!d.find(M=>M.name===w.name)),...d]});h(this,m).set(G(G({},c),p))}get popperOptions(){return h(this,m).call(this)}get selectedOptions(){return[...this.optionsSelected.values()]}get selectedOptionsText(){return this.selectedOptions.map(o=>o.label).join(", ")}get counterText(){return`${this.selectedOptions.length} ${this.selectionTypeCounterText}`}get counterTextType(){return typeof(this.selectionTypeCounterTextPluralMap??this.selectionTypeCounterText)}get counterPlaceholderText(){return this.selectedOptions.length===0||this.selectionType!=="counter"?null:this.counterTextType==="string"?this.counterText:`${this.selectedOptions.length} ${h(this,n).transform(this.selectedOptions.length,this.selectionTypeCounterTextPluralMap??{other:this.selectionTypeCounterText??"+"})}`}get hostClasses(){return{disabled:this.disabled}}get multiselectClasses(){return{"form-multi-select":!0,[`form-multi-select-${this.size}`]:!!this.size,show:this.visible,disabled:this.disabled,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}get ariaMultiSelectable(){return this.multiple}get ariaExpanded(){return this.visible}get tabIndex(){return this._tabIndex}set tabIndex(o){setTimeout(()=>{this._tabIndex=this.disabled||this.search?-1:o===null?null:0})}onKeyUp(o){if(this.disabled)return;this.onTouched();let c=o.target.tagName;if(o.key==="Escape"){this.visible=!1,this.searchValue="",this.setFocus("keyboard","onKeyUp");return}if(["Enter","Space","ArrowDown"].includes(o.code)&&[this.inputElement?.nativeElement,this.elementRef.nativeElement].includes(o.target)){o.stopPropagation(),this.visible=!0,this.search||this.setFocus("keyboard","onKeyUp");return}if(["Tab"].includes(o.key)){if(o.target===this.elementRef.nativeElement){this.visible=!0,this.search||this.setFocus("keyboard","onKeyUp"),this.tabTarget=c;return}if(this.visible&&this.subtreeFocused){if(c==="C-MULTI-SELECT-OPTION"){if(this.tabTarget==="C-MULTI-SELECT-OPTION"){if(o.shiftKey&&this.focusKeyManager.activeItem?.value===this.options.filter(a=>a.visible&&!a.disabled).slice(0)[0].value){this.setFocus("keyboard","onKeyUp"),this.tabTarget=c;return}if(!o.shiftKey&&this.focusKeyManager.activeItem?.value===this.options.filter(a=>a.visible&&!a.disabled).slice(-1)[0].value){this.setFocus("keyboard","onKeyUp"),this.tabTarget=c,this.updateActiveItem(0);return}}!this.focusKeyManager.activeItem||this.tabTarget!==c?this.activeOption?this.focusKeyManager.setActiveItem(this.activeOption):this.setFirstItemActive():o.shiftKey?this.focusKeyManager.setPreviousItemActive():this.focusKeyManager.setNextItemActive()}this.tabTarget=c;return}}}onKeyDown(o){let c=o.target.tagName;if(o.key==="Enter"&&c==="INPUT"&&o.preventDefault(),o.key==="Tab"){this.tabTarget=c;return}if(o.key==="ArrowDown"&&c!=="C-MULTI-SELECT-OPTION"){o.preventDefault();return}if(o.key==="Escape"){this.visible=!1,this.searchValue="",this.setFocus("keyboard","onKeyDown");return}this.disabled||o.target!==this.inputElement?.nativeElement&&o.key!=="Tab"&&this.focusKeyManager?.onKeydown(o)}onClick(o){this.disabled||([this.dropdown.nativeElement].includes(o.target)?this.visible=!this.visible:this.visible=!0,this.onTouched(),this.setFocus("mouse","onClick"))}get subtreeFocused(){return this._subtreeFocused}set subtreeFocused(o){this._subtreeFocused=this.disabled?!1:o,o||(this.searchValue=""),this.virtualScroller||(this.visible=o===!1?!1:this.visible)}focusOrigin(o){return this.disabled?!1:!!o}ngOnInit(){this.multiSelectService.selectionModel.changed.pipe(Y(()=>!this.multiple),He(0),I(o=>{o.added.length>0&&(this.visible=!1,this.searchValue="")}),Dt(1),I(o=>{this.setFocus("program","selectionModel.changed (single)")}),O(h(this,t))).subscribe(),h(this,i).pipe(Y(()=>!this.virtualScroller),He(0),I(()=>{this.setFocusKeyManager([...this.multiSelectOptionsContent,...this.multiSelectOptionsView])}),O(h(this,t))).subscribe(),this.multiSelectService.selectionModel.changed.pipe(I(o=>{let{added:c}=G({},o);c.length>0&&this.clearSearchOnSelect&&(this.searchValue="")}),O(h(this,t))).subscribe(),this.multiSelectService.selectionModel.changed.pipe(it(h(this,i)),I(([o,c])=>{let{removed:a}=G({},o);a.forEach(d=>{this.optionsSelected.delete(d)}),this.multiSelectService.selectionModel.selected.forEach(d=>{let p=h(this,r).get(d);p&&this.optionsSelected.set(d,p)}),this.optionsSelected$.next(Array.from(this.optionsSelected.values())),this.value=[...this.multiSelectService.selectionModel.selected],this.inputElementSize(),this.updateNativeSelect()}),O(h(this,t))).subscribe(),this.multiSelectService.selectionModel.select(...h(this,u)),this.value$.pipe(O(h(this,t))).subscribe(o=>{if(!o.length){this.clearAllOptions();return}o.forEach(c=>{this.multiSelectService.selectionModel.select(c)})}),this.value$.pipe(ve(100),I(o=>{this.valueChange.emit(this.value)}),O(h(this,t))).subscribe(),this.multiSelectService.optionsArray$.pipe(it(this.userOptionsArray$),I(([o,c])=>{if(this.visibleOptions.set(o.some(a=>a.visible)||c.some(a=>a.visible)),this.activeOption=null,this.virtualScroller)this.multiSelectOptionsContent?.forEach(a=>{a.active=!1}),this.scrollViewport?.setRenderedRange({start:0,end:this.visibleItems}),this.scrollViewport?.scrollToIndex(0);else{this.multiSelectOptionsContent?.forEach(d=>{let p=o.find(w=>w.value===d.value);d.visible=p?.visible??!1,d.active=!1});let a=this.firstFocusableItem;a&&this.updateActiveItem(a)}this.activeOption||setTimeout(()=>{this.updateActiveItem(0)}),this.multiSelectOptionsContent?.notifyOnChanges()}),O(h(this,t))).subscribe(),this.tabIndex=0}ngOnDestroy(){h(this,e).next(),h(this,e).complete(),this.setFocusMonitor(!1)}ngOnChanges(o){o.value&&(o.value.currentValue.length===0&&this.clearAllOptions(),this.inputElementSize())}makeOptions(o){this.search==="external"&&this.searchValue.length&&h(this,r).forEach((c,a)=>{c.visible=!1}),o.forEach(c=>{let a=c.value,d={value:c.value??c.label,label:c.label??c.value?.toString(),disabled:c.disabled===!0,visible:this.search==="external"?!0:c.custom&&c.selected?c.visible:c.visible!==!1,text:c.text??c.label??c.value?.toString(),selected:c.selected,custom:c.custom};h(this,r).set(a,G({},d))}),this.filterOptions(this.searchValue),this.multiSelectOptionsContent?.notifyOnChanges(),this.multiSelectOptionsView?.notifyOnChanges(),h(this,i).next()}addUserOption(){if(this.allowCreateOptions){if(this.userOptions().some(c=>c.value===this.searchValue)||h(this,r).get(this.searchValue))return;let o={value:this.searchValue,label:this.searchValue,text:this.searchValue,visible:!0,custom:!0,selected:!0};this.searchValue=this.clearSearchOnSelect||this.allowCreateOptions?"":this.searchValue,this.multiSelectService.addUserOption(o),this.multiSelectService.selectionModel.select(o.value),this.optionsSelected.set(o.value,o),this.makeOptions([...this.options,...this.userOptions()])}}removeAllUserOptions(){this.multiSelectService.removeAllUserOptions()}ngAfterViewInit(){this.setVirtualScroller(),this.multiSelectOptionsContent?.changes.pipe(He(0),se((o,c)=>{let a=o.toArray().map(p=>p.value),d=c.toArray().map(p=>p.value);return this.virtualScroller?JSON.stringify(a)===JSON.stringify(d):JSON.stringify(h(this,l))===JSON.stringify(d)}),I(o=>{v(this,l,o.toArray().map(c=>c.value))}),O(h(this,t))).subscribe(o=>{this.visibleOptions.set(this.multiSelectOptionsContent?.some(c=>c.visible)),this.visibleOptions()&&this.makeOptions(this.multiSelectOptionsContent.toArray())}),this.visibleOptions.set(this.multiSelectOptionsContent?.length>0||this.multiSelectOptionsView?.length>0),this.visibleOptions()&&this.multiSelectOptionsContent.notifyOnChanges(),this.multiselectSubscribe(),this.setFocusMonitor(!this.disabled),this.setListKeyManager(),this.inputElementSize(),this.multiSelectOptionsContent.notifyOnChanges(),setTimeout(()=>{this.createNativeSelect()}),this.multiSelectService.multiSelectFocus$.pipe(O(h(this,t))).subscribe(o=>{this.activeOption&&this.activeOption.value!==o.value&&this.focusKeyManager.setActiveItem(o)})}multiselectSubscribe(o=!0){this.multiSelectService.multiSelectVisible$.pipe(ve(100),se(),O(h(this,t))).subscribe(c=>{if(this.isDropdownVisible!==c){if(this.isDropdownVisible=c,this.visibleChange.emit(c),c){if(this.virtualScroller){{let a=parseInt(this.dropdownMenu.nativeElement.style.minWidth,10);this.minWidth.set(this.itemMinWidth>a?this.itemMinWidth:a)}this.scrollViewport?.setRenderedRange({start:0,end:this.visibleItems}),this.scrollViewport?.scrollToIndex(0)}}this.multiSelectOptionsContent.notifyOnChanges()}this.updateActiveItem(0)})}clearAllOptions(o){setTimeout(()=>{let c=Array.from(this.optionsSelected.values()).filter(a=>!a.disabled).map(a=>a.value);this.multiSelectService.selectionModel.deselect(...c),this.removeAllUserOptions(),this.searchValue="",o&&this.setFocus("program","clearAllOptions")})}selectAllOptions(){let o=Array.from(h(this,r).values()).filter(c=>c.visible&&!c.disabled).map(c=>c.value);this.multiSelectService.selectionModel.select(...o),this.inputElementSize()}handleTagRemove(o){this.multiSelectService.selectionModel.deselect(o),this.setFocus("program","handleTagRemove")}setFocus(o="program",c){if(this.disabled)return;let a=this.inputElement?.nativeElement??this.elementRef.nativeElement,d=o==="program";this.focusMonitor?.focusVia(a,o,{preventScroll:d})}filterOptions(o){let c=o.toLowerCase()??"";h(this,r).forEach((a,d)=>{if(c===""){a.visible=!0;return}if(typeof this.search=="function"){a.visible=this.search(a,c);return}this.search==="external"&&!a.custom||!c||(a.visible=a.label?.toLowerCase().includes(c)??!0)}),this.multiSelectService.updateOptionsArray(Array.from(h(this,r).values()).filter(a=>a.visible)),this.userOptionsArray$.next(Array.from(h(this,r).values()).filter(a=>a.custom))}createNativeSelect(){this.nativeId&&(this.viewContainerRef.clear(),this.nativeSelectRef=this.viewContainerRef.createComponent(mi),this.updateNativeSelect())}updateNativeSelect(){if(!this.nativeSelectRef||!this.nativeId)return;let o=Array.from(this.optionsSelected).map(c=>{let{selected:a,value:d,label:p}=c[1];return{selected:a,value:d,label:p}});this.nativeSelectRef.instance.multiple=this.multiple,this.nativeSelectRef.instance.form=this.nativeFormId,this.nativeSelectRef.instance.id=this.nativeId,this.nativeSelectRef.instance.name=this.nativeName,this.nativeSelectRef.instance.options=[...o],this.nativeSelectRef.instance.disabled=this.disabled,this.nativeSelectRef.instance.changeDetectorRef.markForCheck()}inputElementSize(){this.inputElement&&(this.inputElement?.nativeElement?.disabled?this.renderer.setAttribute(this.inputElement?.nativeElement,"size","2"):this.renderer.setAttribute(this.inputElement?.nativeElement,"size",(this.searchValue.length+2).toString()))}handleSearchKeyDown(o){if(["Enter"].includes(o.key)&&this.searchValue.length&&this.allowCreateOptions){o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation(),this.addUserOption(),this.changeDetectorRef.markForCheck();return}if(!(this.searchValue.length||this.optionsSelected.size===0)&&["Backspace","Delete"].includes(o.key)){o.stopPropagation();let c=this.selectedOptions.filter(a=>!a.disabled).pop();c&&this.multiSelectService.selectionModel.deselect(c.value)}}setFocusMonitor(o){o&&!this.disabled?this.focusMonitorSubscription=this.focusMonitor?.monitor(this.elementRef,!0).pipe(ve(100),O(h(this,t))).subscribe(c=>{this.ngZone.run(()=>{this.subtreeFocused=this.focusOrigin(c),this.changeDetectorRef?.markForCheck()})}):(this.focusMonitor?.stopMonitoring(this.elementRef),this.focusMonitorSubscription?.unsubscribe())}handleScrolledIndexChange(o,c){this.scrollViewport||(this.scrollViewport=c);let a=this.options.filter(M=>M.visible),d=a[o],p=a.findIndex(M=>M.value===this.activeOption?.value),w=this.multiSelectOptionsContent.toArray();if(o>p){let M=w.find(N=>N.value===d?.value);M&&o&&this.focusKeyManager.setActiveItem(M);return}if(o+this.visibleItems-2<=p){let M=w.findIndex(N=>N.value===d.value);M>-1&&this.focusKeyManager.setActiveItem(M+this.visibleItems-2);return}}trackByFn(o,c){return c.value}handleSearchValueChange(o){this.searchValue=o,o||(this.scrollViewport?.scrollToIndex(0),this.multiSelectOptionsContent.notifyOnChanges(),this.subtreeFocused&&this.setFocus("program","handleSearchValueChange"))}setVirtualScroller(){if(!this.virtualScroller)return;this.contentTemplates.forEach(d=>{this.templates[d.id]=d.templateRef}),this.templates.multiSelectOptionTemplate||(this.multiSelectOptionsContent=this.multiSelectOptionsView,this.multiSelectOptionsContent.notifyOnChanges());let o=d=>[...d.elementRef.nativeElement.parentElement.children].indexOf(d.elementRef.nativeElement);this.multiSelectOptionsContent.changes.pipe(ge(d=>d.toArray()),Y(d=>d.length>0),ge(d=>d.sort((p,w)=>o(p)-o(w))),O(h(this,t))).pipe(O(h(this,t))).subscribe(d=>this.multiSelectOptionsContent.reset(d)),this.scrollViewportView.changes.pipe(nt(1),ge(d=>d.toArray()[0]),I(d=>{if(!this.scrollViewport){this.scrollViewport=d;let p=this.scrollViewport.getElementRef().nativeElement?.firstElementChild;if(p){let w=getComputedStyle(p,null)??void 0,M=parseInt(w?.getPropertyValue("padding-left")??"12px")*3,N=new MutationObserver(bt=>{bt.forEach(Ci=>{Ci.addedNodes.forEach(yt=>{if(yt.nodeName==="C-MULTI-SELECT-OPTION"){let wt=yt.offsetWidth;wt>this.itemMinWidth&&(this.itemMinWidth=wt+M)}})})});N?.observe(p,{childList:!0}),h(this,e).subscribe(()=>{N?.disconnect()})}}}),O(h(this,t))).subscribe()}setListKeyManager(){this.multiSelectOptionsContent.changes.pipe(Y(o=>this.virtualScroller),nt(1),I(()=>{this.setFocusKeyManager(this.multiSelectOptionsContent)}),O(h(this,t))).subscribe()}setFocusKeyManager(o){this.focusKeyManager=new ti(o).withHomeAndEnd().withPageUpDown().skipPredicate(c=>c.disabled||!c.visible),this._virtualScroller||this.focusKeyManager.withTypeAhead(300),this.focusKeyManager.tabOut.pipe(O(h(this,t)),I(()=>{})).subscribe(),this.focusKeyManager.change.pipe(O(h(this,t))).subscribe(c=>{c<0&&(this.activeOption?this.focusKeyManager.setActiveItem(this.activeOption):this.setFirstItemActive()),this.focusKeyManager.activeItem&&(this.focusKeyManager.activeItem.active=!0),this.activeOption=this.focusKeyManager.activeItem;let a=this.activeOption;this.multiSelectService.focusChange(a),this.multiSelectOptionsContent.notifyOnChanges(),this.multiSelectOptionsView.notifyOnChanges()})}get firstFocusableItem(){return this.multiSelectOptionsContent?.find(o=>o.visible&&!o.disabled)??this.multiSelectOptionsView?.find(o=>o.visible&&!o.disabled)}setFirstItemActive(){let o=this.firstFocusableItem;o?this.focusKeyManager?.setActiveItem(o):this.focusKeyManager?.setFirstItemActive(),this.activeOption=this.focusKeyManager?.activeItem??null}updateActiveItem(o){let c=this.firstFocusableItem??o;c?this.focusKeyManager?.updateActiveItem(c):this.focusKeyManager?.updateActiveItem(0),this.focusKeyManager?.activeItem&&(this.multiSelectOptionsContent?.forEach(a=>{a.active=!1}),this.multiSelectOptionsView?.forEach(a=>{a.active=!1}),this.focusKeyManager.activeItem.active=!0),this.activeOption=this.focusKeyManager?.activeItem??null}handleIndicatorClick(o){o.preventDefault(),o.stopPropagation(),this.visible=!this.visible}};t=new WeakMap,n=new WeakMap,e=new WeakMap,i=new WeakMap,r=new WeakMap,l=new WeakMap,u=new WeakMap,m=new WeakMap,f.\u0275fac=function(c){return new(c||f)(g(A),g(zt),g(q),g(ee),g(Ue),g(Ye),g(ie),g(Ge))},f.\u0275cmp=z({type:f,selectors:[["c-multi-select"]],contentQueries:function(c,a,d){if(c&1&&(De(d,me,5),De(d,Yt,5)),c&2){let p;V(p=k())&&(a.multiSelectOptionsContent=p),V(p=k())&&(a.contentTemplates=p)}},viewQuery:function(c,a){if(c&1&&(L(Zi,5),L(qi,5),L(ht,5,A),L(ut,5,A),L(dt,5,A),L(me,5),L(Gi,5)),c&2){let d;V(d=k())&&(a.optionsElementRef=d.first),V(d=k())&&(a.inputElement=d.first),V(d=k())&&(a.dropdownMenu=d.first),V(d=k())&&(a.dropdown=d.first),V(d=k())&&(a.dropdownToggle=d.first),V(d=k())&&(a.multiSelectOptionsView=d),V(d=k())&&(a.scrollViewportView=d)}},hostVars:5,hostBindings:function(c,a){c&1&&H("keyup",function(p){return a.onKeyUp(p)})("keydown",function(p){return a.onKeyDown(p)})("click",function(p){return a.onClick(p)}),c&2&&(ce("aria-multiselectable",a.ariaMultiSelectable)("aria-expanded",a.ariaExpanded)("tabindex",a.tabIndex),J(a.hostClasses))},inputs:{allowCreateOptions:[2,"allowCreateOptions","allowCreateOptions",D],cleaner:"cleaner",clearSearchOnSelect:[2,"clearSearchOnSelect","clearSearchOnSelect",D],disabled:[2,"disabled","disabled",D],loading:[2,"loading","loading",D],multiple:[2,"multiple","multiple",D],nativeFormId:"nativeFormId",nativeId:"nativeId",nativeName:"nativeName",options:"options",optionsMaxHeight:"optionsMaxHeight",optionsStyle:"optionsStyle",placeholder:"placeholder",search:"search",searchNoResultsLabel:"searchNoResultsLabel",searchValue:"searchValue",selectAll:"selectAll",selectAllLabel:"selectAllLabel",selectionType:"selectionType",selectionTypeCounterText:"selectionTypeCounterText",selectionTypeCounterTextPluralMap:"selectionTypeCounterTextPluralMap",size:"size",value:"value",valid:"valid",virtualScroller:[2,"virtualScroller","virtualScroller",D],visibleItems:[2,"visibleItems","visibleItems",qt],itemSize:"itemSize",itemMinWidth:"itemMinWidth",visible:[2,"visible","visible",D],popperOptions:"popperOptions"},outputs:{searchValueChange:"searchValueChange",valueChange:"valueChange",visibleChange:"visibleChange"},exportAs:["cMultiSelect"],standalone:!0,features:[fe([ct,ie,{provide:ii,useExisting:Ke(()=>f),multi:!0}]),X,_e,B],ngContentSelectors:Yi,decls:21,vars:15,consts:[["dropdown","cDropdown"],["dropdownToggle","cDropdownToggle"],["multiselectVirtualScroller",""],["multiselectOptionsDiv",""],["defaultMultiSelectOptionTemplate",""],["userOptionsTemplate",""],["inputElement",""],["dropdownMenu","cDropdownMenu"],["scrollViewport",""],["cdkVirtualFor",""],[3,"visibleChange","visible","autoClose","ngClass","popperOptions"],["cDropdownToggle","","role","button",1,"form-multi-select-input-group",3,"caret","disabled"],[3,"ngClass"],[1,"text-placeholder","text-truncate"],["autocomplete","off","cMultiSelectSearch","","size","2","type","text",3,"disabled","ngClass","ngModel","value","tabindex"],[1,"form-multi-select-buttons"],["aria-label","Clear all","type","button",1,"form-multi-select-cleaner",3,"disabled"],["type","button",1,"form-multi-select-indicator",3,"click","disabled"],["cDropdownMenu","","role","menu",1,"form-multi-select-dropdown",3,"visible"],["tabindex","-1",1,"form-multi-select-tag","text-truncate",3,"disabled","label","option","value"],["tabindex","-1",1,"form-multi-select-tag","text-truncate",3,"remove","disabled","label","option","value"],[1,"form-multi-select-text","text-truncate"],["autocomplete","off","cMultiSelectSearch","","size","2","type","text",3,"keydown","valueChange","disabled","ngClass","ngModel","value","tabindex"],["aria-label","Clear all","type","button",1,"form-multi-select-cleaner",3,"click","disabled"],[1,"form-multi-select-options-empty"],[3,"ngStyle"],["type","button","tabindex","0",1,"form-multi-select-all"],["type","button","tabindex","0",1,"form-multi-select-all",3,"click"],[4,"ngTemplateOutlet"],["tabindex","-1",1,"form-multi-select-options",3,"itemSize","ngStyle","maxBufferPx","minBufferPx"],["tabindex","-1",1,"form-multi-select-options",3,"scrolledIndexChange","itemSize","ngStyle","maxBufferPx","minBufferPx"],[3,"ngTemplateOutletContext","ngTemplateOutlet",4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngClass","ngStyle"],[3,"ngTemplateOutlet"],[3,"disabled","label","text","value","visible"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,a){if(c&1){let d=oe();K(),C(0,"c-dropdown",10,0),$t("visibleChange",function(w){return $(d),Qt(a.visible,w)||(a.visible=w),Z(w)}),C(2,"div",11,1)(4,"span",12),T(5,hn,2,3)(6,un,2,0)(7,pn,2,1,"span",13)(8,fn,2,8,"input",14),y(),C(9,"div",15),T(10,mn,1,1,"button",16),C(11,"button",17),H("click",function(w){return $(d),Z(a.handleIndicatorClick(w))}),y()()(),T(12,yn,6,4,"div",18),y(),T(13,Mn,3,0,"ng-template",null,2,Ve)(15,En,3,8,"ng-template",null,3,Ve)(17,Tn,2,6,"ng-template",null,4,Ve)(19,Dn,3,2,"ng-template",null,5,Ve)}c&2&&(Ut("visible",a.visible),E("autoClose","outside")("ngClass",a.multiselectClasses)("popperOptions",a.popperOptions),_(2),E("caret",!1)("disabled",a.disabled),_(2),E("ngClass",we(13,Ji,a.selectionType==="tags"&&a.selectedOptions.length)),_(),R(a.selectionType==="tags"?5:a.selectionType==="text"&&a.selectedOptions.length?6:-1),_(2),R(a.search?-1:7),_(),R(a.search?8:-1),_(2),R(a.cleaner&&a.optionsSelected.size>0&&!a.disabled?10:-1),_(),E("disabled",a.disabled),_(),R(a.disabled?-1:12))},dependencies:[at,Gt,Ae,lt,oi,ni,si,ri,gi,me,vi,ut,ht,dt,St],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]:focus-visible{outline:none}.cdk-focused[_nghost-%COMP%]:not(.disabled) .form-multi-select[_ngcontent-%COMP%]{outline:none;box-shadow:0 0 0 var(--cui-focus-ring-width) var(--cui-focus-ring-color);border-radius:var(--cui-border-radius, .375rem)}[_nghost-%COMP%]:not(.cdk-focused) .form-multi-select[_ngcontent-%COMP%]:not(.show) input.form-multi-select-search[_ngcontent-%COMP%]:not([placeholder]){display:none}[_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-selection[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;flex-wrap:wrap}[_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-selection[_ngcontent-%COMP%] .text-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-selection[_ngcontent-%COMP%] .form-multi-select-search[_ngcontent-%COMP%]::placeholder{color:var(--cui-form-multi-select-color);opacity:.8}[_nghost-%COMP%] .form-multi-select[_ngcontent-%COMP%] .form-multi-select-search[size][_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .cdk-virtual-scroll-content-wrapper{padding:var(--cui-form-multi-select-options-padding-y) var(--cui-form-multi-select-options-padding-x);font-size:1rem;color:var(--cui-form-multi-select-options-color)}[_nghost-%COMP%] .cdk-virtual-scroll-viewport[_ngcontent-%COMP%]{width:var(--cui-dropdown-min-width)}[_nghost-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{--cui-dropdown-padding-y: 0}"]});let s=f;return s})();var An=["*"],Ct=(()=>{let t=class t{constructor(){}get hostClasses(){return{"form-multi-select-optgroup-label":!0}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=z({type:t,selectors:[["c-multi-select-optgroup-label"]],hostVars:2,hostBindings:function(i,r){i&2&&J(r.hostClasses)},standalone:!0,features:[B],ngContentSelectors:An,decls:1,vars:0,template:function(i,r){i&1&&(K(),U(0))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let s=t;return s})();var zn=["*"];function Pn(s,t){if(s&1&&(C(0,"c-multi-select-optgroup-label"),Q(1),y()),s&2){let n=S();_(),be(n.label)}}var Bn=(()=>{var t;let n=class n{constructor(i){b(this,t);this.multiSelectService=i,v(this,t,j(ae)),this.visible=P(!0),this.disabled=!1}get hostClasses(){return{"form-multi-select-options":!0,"d-none":!this.visible()}}ngAfterContentInit(){this.updateMultiSelectOptions(),this.watchOptGroupContent()}ngOnChanges(i){i.disabled&&this.updateMultiSelectOptions()}updateMultiSelectOptions(){this.multiSelectOptions?.forEach(i=>{i.disabled=this.disabled||i.disabled})}watchOptGroupContent(){this.multiSelectService.optionsArray$.pipe(I(i=>{this.visible.set(this.multiSelectOptions?.some(r=>r.visible))}),O(h(this,t))).subscribe()}};t=new WeakMap,n.\u0275fac=function(r){return new(r||n)(g(ie))},n.\u0275cmp=z({type:n,selectors:[["c-multi-select-optgroup"]],contentQueries:function(r,l,u){if(r&1&&De(u,me,5),r&2){let m;V(m=k())&&(l.multiSelectOptions=m)}},hostVars:2,hostBindings:function(r,l){r&2&&J(l.hostClasses)},inputs:{label:"label",disabled:[2,"disabled","disabled",D]},standalone:!0,features:[X,_e,B],ngContentSelectors:zn,decls:2,vars:1,template:function(r,l){r&1&&(K(),T(0,Pn,2,1,"c-multi-select-optgroup-label"),U(1)),r&2&&R(l.label&&l.visible()?0:-1)},dependencies:[Ct],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let s=n;return s})();export{St as a,Ct as b,me as c,Bn as d,Fn as e}; diff --git a/angular/docs/chunk-XMD25JUN.js b/angular/docs/chunk-4NOU2AZ3.js similarity index 67% rename from angular/docs/chunk-XMD25JUN.js rename to angular/docs/chunk-4NOU2AZ3.js index edf442fecc7..d08c1b29ee6 100644 --- a/angular/docs/chunk-XMD25JUN.js +++ b/angular/docs/chunk-4NOU2AZ3.js @@ -1 +1 @@ -import"./chunk-MGAX33HK.js";var a=[{path:"",data:{title:"Customize"},children:[{path:"",redirectTo:"sass",pathMatch:"full"},{path:"sass",loadComponent:()=>import("./chunk-IWFTLHTS.js").then(t=>t.CustomizeSassComponent),data:{label:"Sass"},title:"Sass"},{path:"options",loadComponent:()=>import("./chunk-OSJFZPWR.js").then(t=>t.CustomizeOptionsComponent),data:{label:"Options"},title:"Options"},{path:"css-variables",loadComponent:()=>import("./chunk-SDVQTHFU.js").then(t=>t.CustomizeCssVariablesComponent),data:{label:"CSS Variables"},title:"CSS Variables"}]}];export{a as routes}; +import"./chunk-MGAX33HK.js";var a=[{path:"",data:{title:"Customize"},children:[{path:"",redirectTo:"sass",pathMatch:"full"},{path:"sass",loadComponent:()=>import("./chunk-H7U6MGBM.js").then(t=>t.CustomizeSassComponent),data:{label:"Sass"},title:"Sass"},{path:"options",loadComponent:()=>import("./chunk-MDXBAPWT.js").then(t=>t.CustomizeOptionsComponent),data:{label:"Options"},title:"Options"},{path:"css-variables",loadComponent:()=>import("./chunk-UZ4XHRO5.js").then(t=>t.CustomizeCssVariablesComponent),data:{label:"CSS Variables"},title:"CSS Variables"}]}];export{a as routes}; diff --git a/angular/docs/chunk-USD67VAW.js b/angular/docs/chunk-4SIY6GUH.js similarity index 92% rename from angular/docs/chunk-USD67VAW.js rename to angular/docs/chunk-4SIY6GUH.js index fc5ad6b5a5e..aa35429b2ea 100644 --- a/angular/docs/chunk-USD67VAW.js +++ b/angular/docs/chunk-4SIY6GUH.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as y}from"./chunk-SWYVARVN.js";import{r as w}from"./chunk-JJFVMVK7.js";import{c as v,d as b}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as r,Bc as m,Dc as h,La as d,Oc as f,Qb as p,ac as a,bc as u,lb as l,mb as i,mc as g,na as c}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var C=`--- +import"./chunk-DPZ7BZKP.js";import{a as y}from"./chunk-MH6VOBXJ.js";import{r as w}from"./chunk-Q5WIR6QR.js";import{c as v,d as b}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as r,Bc as m,Dc as h,La as d,Oc as f,Qb as p,ac as a,bc as u,lb as l,mb as i,mc as g,na as c}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var C=`--- ## Installation diff --git a/angular/docs/chunk-MSC7WIKV.js b/angular/docs/chunk-4X6IOLFU.js similarity index 96% rename from angular/docs/chunk-MSC7WIKV.js rename to angular/docs/chunk-4X6IOLFU.js index 409428bd6b5..b52ee477569 100644 --- a/angular/docs/chunk-MSC7WIKV.js +++ b/angular/docs/chunk-4X6IOLFU.js @@ -1,4 +1,4 @@ -import{a as ne}from"./chunk-KHEJVAJA.js";import{c as C}from"./chunk-R2HXWLDR.js";import"./chunk-2IKSDGSZ.js";import{g as ae}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as oe}from"./chunk-SWYVARVN.js";import{r as ie}from"./chunk-JJFVMVK7.js";import{c as ee,d as te}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{t as Z}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as a,Aa as h,Ac as d,Ba as f,Bc as o,Cc as R,Dc as W,Gb as F,Jb as u,Nc as X,Oc as v,Pb as E,Pc as L,Qb as l,Ub as A,_c as V,ac as n,bc as M,ca as N,cc as U,dc as z,ec as k,fc as g,ia as $,lb as m,mb as I,mc as _,na as x,nd as B,oc as p,pa as q,pc as j,qc as O,tc as G,vc as J,wc as K}from"./chunk-O6V6MKDU.js";import{e as Y,f as P,g as Q}from"./chunk-MGAX33HK.js";var y=(()=>{let t=class t{constructor(){this.type="button"}get hostClasses(){return{"accordion-button":!0,collapsed:this.collapsed}}get ariaExpanded(){return!this.collapsed}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=q({type:t,selectors:[["","cAccordionButton",""]],hostVars:4,hostBindings:function(i,s){i&2&&(E("type",s.type)("aria-expanded",s.ariaExpanded),A(s.hostClasses))},inputs:{collapsed:"collapsed",type:"type"},standalone:!0});let e=t;return e})();var D=(()=>{let t=class t{constructor(){this.items=[],this.alwaysOpen=!1}addItem(r){this.items.push(r)}removeItem(r){let i=this.items.indexOf(r);i!==-1&&this.items.splice(i,1)}toggleItem(r){r.visible=!r.visible,this.closeOtherItems(r)}closeOtherItems(r){this.alwaysOpen||this.items.forEach(i=>{i!==r&&(i.visible=!1)})}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac});let e=t;return e})();var pe=["*"],w=(()=>{var t;let c=class c{constructor(){P(this,t);Q(this,t,$(D)),this.flush=!1}set alwaysOpen(i){Y(this,t).alwaysOpen=i}get alwaysOpen(){return Y(this,t).alwaysOpen}get hostClasses(){return{accordion:!0,"accordion-flush":this.flush}}};t=new WeakMap,c.\u0275fac=function(s){return new(s||c)},c.\u0275cmp=x({type:c,selectors:[["c-accordion"]],hostVars:2,hostBindings:function(s,S){s&2&&A(S.hostClasses)},inputs:{flush:[2,"flush","flush",B],alwaysOpen:[2,"alwaysOpen","alwaysOpen",B]},exportAs:["cAccordionItem"],standalone:!0,features:[X([D]),F,v],ngContentSelectors:pe,decls:1,vars:0,template:function(s,S){s&1&&(j(),O(0))},styles:["[_nghost-%COMP%]{display:block}"]});let e=c;return e})();var ce=["*","*"];function ue(e,t){e&1&&k(0)}function he(e,t){e&1&&k(0)}function fe(e,t){e&1&&k(0)}function ge(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c);let i=p();return f(i.toggleItem())}),u(1,fe,1,0,"ng-container",5),n()}if(e&2){let c=p(),r=d(8);l("collapsed",!c.visible),E("aria-controls",c.contentId),m(),l("ngTemplateOutlet",c.templates.accordionHeader||r)("ngTemplateOutletContext",c.itemContext)}}function _e(e,t){e&1&&O(0)}function xe(e,t){e&1&&k(0)}function ve(e,t){if(e&1&&(a(0,"div",8),u(1,xe,1,0,"ng-container",5),n()),e&2){let c=p(),r=d(12);m(),l("ngTemplateOutlet",c.templates.accordionBody||r)("ngTemplateOutletContext",c.itemContext)}}function ye(e,t){e&1&&O(0,1)}var Ce=0,T=(()=>{let t=class t{constructor(r){this.accordionService=r,this.visible=!1,this.contentId=`accordion-item-${Ce++}`,this.itemContext={$implicit:this.visible},this.templates={}}set open(r){console.warn('c-accordion-item "open" prop is deprecated, use "visible" prop instead.'),this.visible=r||this.visible}get open(){return this.visible}get hostClasses(){return{"accordion-item":!0}}ngOnInit(){this.accordionService.addItem(this)}ngOnDestroy(){this.accordionService.removeItem(this)}toggleItem(){this.accordionService.toggleItem(this)}ngAfterContentInit(){this.contentTemplates.forEach(r=>{this.templates[r.id]=r.templateRef})}};t.\u0275fac=function(i){return new(i||t)(I(D))},t.\u0275cmp=x({type:t,selectors:[["c-accordion-item"]],contentQueries:function(i,s,S){if(i&1&&G(S,C,5),i&2){let H;J(H=K())&&(s.contentTemplates=H)}},hostVars:2,hostBindings:function(i,s){i&2&&A(s.hostClasses)},inputs:{visible:[2,"visible","visible",B],open:"open"},exportAs:["cAccordionItem"],standalone:!0,features:[F,v],ngContentSelectors:ce,decls:13,vars:7,consts:[["defaultAccordionHeaderTemplate",""],["defaultAccordionHeaderContentTemplate",""],["defaultAccordionBodyTemplate",""],["defaultAccordionBodyContentTemplate",""],[1,"accordion-header"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cCollapse","",1,"accordion-collapse",3,"visible","id"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){if(i&1&&(j(ce),U(0),a(1,"div",4),u(2,ue,1,0,"ng-container",5),n(),a(3,"div",6),u(4,he,1,0,"ng-container",5),n(),z(),u(5,ge,2,4,"ng-template",null,0,V)(7,_e,1,0,"ng-template",null,1,V)(9,ve,2,2,"ng-template",null,2,V)(11,ye,1,0,"ng-template",null,3,V)),i&2){let S=d(6),H=d(10);m(2),l("ngTemplateOutlet",s.templates.accordionHeaderTemplate||S)("ngTemplateOutletContext",s.itemContext),m(),l("visible",s.visible)("id",s.contentId),E("aria-expanded",s.visible),m(),l("ngTemplateOutlet",s.templates.accordionBodyTemplate||H)("ngTemplateOutletContext",s.itemContext)}},dependencies:[y,Z,ne],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"]});let e=t;return e})();function be(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(2);return f(i.toggleItem())}),o(1," Accordion item #0 "),n()}if(e&2){p();let c=d(2);l("collapsed",!c.visible)}}function we(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the first item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Te(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(6);return f(i.toggleItem())}),o(1," Accordion item #1 "),n()}if(e&2){p();let c=d(6);l("collapsed",!c.visible)}}function Se(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the second item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Ae(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(10);return f(i.toggleItem())}),o(1," Accordion item #2 "),n()}if(e&2){p();let c=d(10);l("collapsed",!c.visible)}}function Ie(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the third item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}var re=(()=>{let t=class t{constructor(){this.items=[1,2,3,4]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=x({type:t,selectors:[["docs-accordion03-example"]],standalone:!0,features:[v],decls:13,vars:4,consts:[["item0","cAccordionItem"],["item1","cAccordionItem"],["item2","cAccordionItem"],[3,"alwaysOpen"],[3,"visible"],["cTemplateId","accordionHeaderTemplate"],["cTemplateId","accordionBodyTemplate"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){i&1&&(a(0,"c-accordion",3)(1,"c-accordion-item",4,0),u(3,be,2,1,"ng-template",5)(4,we,7,0,"ng-template",6),n(),a(5,"c-accordion-item",4,1),u(7,Te,2,1,"ng-template",5)(8,Se,7,0,"ng-template",6),n(),a(9,"c-accordion-item",4,2),u(11,Ae,2,1,"ng-template",5)(12,Ie,7,0,"ng-template",6),n()()),i&2&&(l("alwaysOpen",!0),m(),l("visible",!1),m(4),l("visible",!1),m(4),l("visible",!1))},dependencies:[w,T,C,y],encapsulation:2});let e=t;return e})();function Ee(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(2);return f(i.toggleItem())}),o(1," Accordion item #0 "),n()}if(e&2){p();let c=d(2);l("collapsed",!c.visible)}}function Me(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the first item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function ke(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(6);return f(i.toggleItem())}),o(1," Accordion item #1 "),n()}if(e&2){p();let c=d(6);l("collapsed",!c.visible)}}function Oe(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the second item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Ve(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(10);return f(i.toggleItem())}),o(1," Accordion item #2 "),n()}if(e&2){p();let c=d(10);l("collapsed",!c.visible)}}function Be(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the third item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}var le=(()=>{let t=class t{constructor(){this.items=[1,2,3,4]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=x({type:t,selectors:[["docs-accordion02-example"]],standalone:!0,features:[v],decls:13,vars:4,consts:[["item0","cAccordionItem"],["item1","cAccordionItem"],["item2","cAccordionItem"],[3,"flush"],[3,"visible"],["cTemplateId","accordionHeaderTemplate"],["cTemplateId","accordionBodyTemplate"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){i&1&&(a(0,"c-accordion",3)(1,"c-accordion-item",4,0),u(3,Ee,2,1,"ng-template",5)(4,Me,7,0,"ng-template",6),n(),a(5,"c-accordion-item",4,1),u(7,ke,2,1,"ng-template",5)(8,Oe,7,0,"ng-template",6),n(),a(9,"c-accordion-item",4,2),u(11,Ve,2,1,"ng-template",5)(12,Be,7,0,"ng-template",6),n()()),i&2&&(l("flush",!0),m(),l("visible",!1),m(4),l("visible",!1),m(4),l("visible",!1))},dependencies:[w,T,C,y],encapsulation:2});let e=t;return e})();function De(e,t){if(e&1){let c=g();a(0,"button",6),_("click",function(){h(c),p();let i=d(2);return f(i.toggleItem())}),o(1," Accordion item #0 "),n()}if(e&2){p();let c=d(2);l("collapsed",!c.visible)}}function He(e,t){e&1&&(a(0,"div",7)(1,"strong"),o(2,"This is the first item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Fe(e,t){if(e&1){let c=g();a(0,"button",6),_("click",function(){h(c),p();let i=d(6);return f(i.toggleItem())}),o(1," Accordion item #1 "),n()}if(e&2){p();let c=d(6);l("collapsed",!c.visible)}}function je(e,t){e&1&&(a(0,"div",7)(1,"strong"),o(2,"This is the second item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Le(e,t){if(e&1){let c=g();a(0,"button",6),_("click",function(){h(c),p();let i=d(10);return f(i.toggleItem())}),o(1," Accordion item #2 "),n()}if(e&2){p();let c=d(10);l("collapsed",!c.visible)}}function Ye(e,t){e&1&&(a(0,"div",7)(1,"strong"),o(2,"This is the third item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}var se=(()=>{let t=class t{constructor(){this.items=[1,2,3,4]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=x({type:t,selectors:[["docs-accordion01-example"]],standalone:!0,features:[v],decls:13,vars:3,consts:[["item0","cAccordionItem"],["item1","cAccordionItem"],["item2","cAccordionItem"],[3,"visible"],["cTemplateId","accordionHeaderTemplate"],["cTemplateId","accordionBodyTemplate"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){i&1&&(a(0,"c-accordion")(1,"c-accordion-item",3,0),u(3,De,2,1,"ng-template",4)(4,He,7,0,"ng-template",5),n(),a(5,"c-accordion-item",3,1),u(7,Fe,2,1,"ng-template",4)(8,je,7,0,"ng-template",5),n(),a(9,"c-accordion-item",3,2),u(11,Le,2,1,"ng-template",4)(12,Ye,7,0,"ng-template",5),n()()),i&2&&(m(),l("visible",!1),m(4),l("visible",!1),m(4),l("visible",!1))},dependencies:[w,T,C,y],encapsulation:2});let e=t;return e})();var de=`\`\`\`typescript +import{a as ne}from"./chunk-2RE6QDUT.js";import{c as C}from"./chunk-UYIAOCXU.js";import"./chunk-D272JSA3.js";import{g as ae}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as oe}from"./chunk-MH6VOBXJ.js";import{r as ie}from"./chunk-Q5WIR6QR.js";import{c as ee,d as te}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{t as Z}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as a,Aa as h,Ac as d,Ba as f,Bc as o,Cc as R,Dc as W,Gb as F,Jb as u,Nc as X,Oc as v,Pb as E,Pc as L,Qb as l,Ub as A,_c as V,ac as n,bc as M,ca as N,cc as U,dc as z,ec as k,fc as g,ia as $,lb as m,mb as I,mc as _,na as x,nd as B,oc as p,pa as q,pc as j,qc as O,tc as G,vc as J,wc as K}from"./chunk-6U7QZ4SV.js";import{e as Y,f as P,g as Q}from"./chunk-MGAX33HK.js";var y=(()=>{let t=class t{constructor(){this.type="button"}get hostClasses(){return{"accordion-button":!0,collapsed:this.collapsed}}get ariaExpanded(){return!this.collapsed}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=q({type:t,selectors:[["","cAccordionButton",""]],hostVars:4,hostBindings:function(i,s){i&2&&(E("type",s.type)("aria-expanded",s.ariaExpanded),A(s.hostClasses))},inputs:{collapsed:"collapsed",type:"type"},standalone:!0});let e=t;return e})();var D=(()=>{let t=class t{constructor(){this.items=[],this.alwaysOpen=!1}addItem(r){this.items.push(r)}removeItem(r){let i=this.items.indexOf(r);i!==-1&&this.items.splice(i,1)}toggleItem(r){r.visible=!r.visible,this.closeOtherItems(r)}closeOtherItems(r){this.alwaysOpen||this.items.forEach(i=>{i!==r&&(i.visible=!1)})}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac});let e=t;return e})();var pe=["*"],w=(()=>{var t;let c=class c{constructor(){P(this,t);Q(this,t,$(D)),this.flush=!1}set alwaysOpen(i){Y(this,t).alwaysOpen=i}get alwaysOpen(){return Y(this,t).alwaysOpen}get hostClasses(){return{accordion:!0,"accordion-flush":this.flush}}};t=new WeakMap,c.\u0275fac=function(s){return new(s||c)},c.\u0275cmp=x({type:c,selectors:[["c-accordion"]],hostVars:2,hostBindings:function(s,S){s&2&&A(S.hostClasses)},inputs:{flush:[2,"flush","flush",B],alwaysOpen:[2,"alwaysOpen","alwaysOpen",B]},exportAs:["cAccordionItem"],standalone:!0,features:[X([D]),F,v],ngContentSelectors:pe,decls:1,vars:0,template:function(s,S){s&1&&(j(),O(0))},styles:["[_nghost-%COMP%]{display:block}"]});let e=c;return e})();var ce=["*","*"];function ue(e,t){e&1&&k(0)}function he(e,t){e&1&&k(0)}function fe(e,t){e&1&&k(0)}function ge(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c);let i=p();return f(i.toggleItem())}),u(1,fe,1,0,"ng-container",5),n()}if(e&2){let c=p(),r=d(8);l("collapsed",!c.visible),E("aria-controls",c.contentId),m(),l("ngTemplateOutlet",c.templates.accordionHeader||r)("ngTemplateOutletContext",c.itemContext)}}function _e(e,t){e&1&&O(0)}function xe(e,t){e&1&&k(0)}function ve(e,t){if(e&1&&(a(0,"div",8),u(1,xe,1,0,"ng-container",5),n()),e&2){let c=p(),r=d(12);m(),l("ngTemplateOutlet",c.templates.accordionBody||r)("ngTemplateOutletContext",c.itemContext)}}function ye(e,t){e&1&&O(0,1)}var Ce=0,T=(()=>{let t=class t{constructor(r){this.accordionService=r,this.visible=!1,this.contentId=`accordion-item-${Ce++}`,this.itemContext={$implicit:this.visible},this.templates={}}set open(r){console.warn('c-accordion-item "open" prop is deprecated, use "visible" prop instead.'),this.visible=r||this.visible}get open(){return this.visible}get hostClasses(){return{"accordion-item":!0}}ngOnInit(){this.accordionService.addItem(this)}ngOnDestroy(){this.accordionService.removeItem(this)}toggleItem(){this.accordionService.toggleItem(this)}ngAfterContentInit(){this.contentTemplates.forEach(r=>{this.templates[r.id]=r.templateRef})}};t.\u0275fac=function(i){return new(i||t)(I(D))},t.\u0275cmp=x({type:t,selectors:[["c-accordion-item"]],contentQueries:function(i,s,S){if(i&1&&G(S,C,5),i&2){let H;J(H=K())&&(s.contentTemplates=H)}},hostVars:2,hostBindings:function(i,s){i&2&&A(s.hostClasses)},inputs:{visible:[2,"visible","visible",B],open:"open"},exportAs:["cAccordionItem"],standalone:!0,features:[F,v],ngContentSelectors:ce,decls:13,vars:7,consts:[["defaultAccordionHeaderTemplate",""],["defaultAccordionHeaderContentTemplate",""],["defaultAccordionBodyTemplate",""],["defaultAccordionBodyContentTemplate",""],[1,"accordion-header"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cCollapse","",1,"accordion-collapse",3,"visible","id"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){if(i&1&&(j(ce),U(0),a(1,"div",4),u(2,ue,1,0,"ng-container",5),n(),a(3,"div",6),u(4,he,1,0,"ng-container",5),n(),z(),u(5,ge,2,4,"ng-template",null,0,V)(7,_e,1,0,"ng-template",null,1,V)(9,ve,2,2,"ng-template",null,2,V)(11,ye,1,0,"ng-template",null,3,V)),i&2){let S=d(6),H=d(10);m(2),l("ngTemplateOutlet",s.templates.accordionHeaderTemplate||S)("ngTemplateOutletContext",s.itemContext),m(),l("visible",s.visible)("id",s.contentId),E("aria-expanded",s.visible),m(),l("ngTemplateOutlet",s.templates.accordionBodyTemplate||H)("ngTemplateOutletContext",s.itemContext)}},dependencies:[y,Z,ne],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"]});let e=t;return e})();function be(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(2);return f(i.toggleItem())}),o(1," Accordion item #0 "),n()}if(e&2){p();let c=d(2);l("collapsed",!c.visible)}}function we(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the first item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Te(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(6);return f(i.toggleItem())}),o(1," Accordion item #1 "),n()}if(e&2){p();let c=d(6);l("collapsed",!c.visible)}}function Se(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the second item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Ae(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(10);return f(i.toggleItem())}),o(1," Accordion item #2 "),n()}if(e&2){p();let c=d(10);l("collapsed",!c.visible)}}function Ie(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the third item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}var re=(()=>{let t=class t{constructor(){this.items=[1,2,3,4]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=x({type:t,selectors:[["docs-accordion03-example"]],standalone:!0,features:[v],decls:13,vars:4,consts:[["item0","cAccordionItem"],["item1","cAccordionItem"],["item2","cAccordionItem"],[3,"alwaysOpen"],[3,"visible"],["cTemplateId","accordionHeaderTemplate"],["cTemplateId","accordionBodyTemplate"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){i&1&&(a(0,"c-accordion",3)(1,"c-accordion-item",4,0),u(3,be,2,1,"ng-template",5)(4,we,7,0,"ng-template",6),n(),a(5,"c-accordion-item",4,1),u(7,Te,2,1,"ng-template",5)(8,Se,7,0,"ng-template",6),n(),a(9,"c-accordion-item",4,2),u(11,Ae,2,1,"ng-template",5)(12,Ie,7,0,"ng-template",6),n()()),i&2&&(l("alwaysOpen",!0),m(),l("visible",!1),m(4),l("visible",!1),m(4),l("visible",!1))},dependencies:[w,T,C,y],encapsulation:2});let e=t;return e})();function Ee(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(2);return f(i.toggleItem())}),o(1," Accordion item #0 "),n()}if(e&2){p();let c=d(2);l("collapsed",!c.visible)}}function Me(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the first item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function ke(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(6);return f(i.toggleItem())}),o(1," Accordion item #1 "),n()}if(e&2){p();let c=d(6);l("collapsed",!c.visible)}}function Oe(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the second item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Ve(e,t){if(e&1){let c=g();a(0,"button",7),_("click",function(){h(c),p();let i=d(10);return f(i.toggleItem())}),o(1," Accordion item #2 "),n()}if(e&2){p();let c=d(10);l("collapsed",!c.visible)}}function Be(e,t){e&1&&(a(0,"div",8)(1,"strong"),o(2,"This is the third item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}var le=(()=>{let t=class t{constructor(){this.items=[1,2,3,4]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=x({type:t,selectors:[["docs-accordion02-example"]],standalone:!0,features:[v],decls:13,vars:4,consts:[["item0","cAccordionItem"],["item1","cAccordionItem"],["item2","cAccordionItem"],[3,"flush"],[3,"visible"],["cTemplateId","accordionHeaderTemplate"],["cTemplateId","accordionBodyTemplate"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){i&1&&(a(0,"c-accordion",3)(1,"c-accordion-item",4,0),u(3,Ee,2,1,"ng-template",5)(4,Me,7,0,"ng-template",6),n(),a(5,"c-accordion-item",4,1),u(7,ke,2,1,"ng-template",5)(8,Oe,7,0,"ng-template",6),n(),a(9,"c-accordion-item",4,2),u(11,Ve,2,1,"ng-template",5)(12,Be,7,0,"ng-template",6),n()()),i&2&&(l("flush",!0),m(),l("visible",!1),m(4),l("visible",!1),m(4),l("visible",!1))},dependencies:[w,T,C,y],encapsulation:2});let e=t;return e})();function De(e,t){if(e&1){let c=g();a(0,"button",6),_("click",function(){h(c),p();let i=d(2);return f(i.toggleItem())}),o(1," Accordion item #0 "),n()}if(e&2){p();let c=d(2);l("collapsed",!c.visible)}}function He(e,t){e&1&&(a(0,"div",7)(1,"strong"),o(2,"This is the first item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Fe(e,t){if(e&1){let c=g();a(0,"button",6),_("click",function(){h(c),p();let i=d(6);return f(i.toggleItem())}),o(1," Accordion item #1 "),n()}if(e&2){p();let c=d(6);l("collapsed",!c.visible)}}function je(e,t){e&1&&(a(0,"div",7)(1,"strong"),o(2,"This is the second item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}function Le(e,t){if(e&1){let c=g();a(0,"button",6),_("click",function(){h(c),p();let i=d(10);return f(i.toggleItem())}),o(1," Accordion item #2 "),n()}if(e&2){p();let c=d(10);l("collapsed",!c.visible)}}function Ye(e,t){e&1&&(a(0,"div",7)(1,"strong"),o(2,"This is the third item's accordion body."),n(),o(3," It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the "),a(4,"code"),o(5,".accordion-body"),n(),o(6,", though the transition does limit overflow. "),n())}var se=(()=>{let t=class t{constructor(){this.items=[1,2,3,4]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=x({type:t,selectors:[["docs-accordion01-example"]],standalone:!0,features:[v],decls:13,vars:3,consts:[["item0","cAccordionItem"],["item1","cAccordionItem"],["item2","cAccordionItem"],[3,"visible"],["cTemplateId","accordionHeaderTemplate"],["cTemplateId","accordionBodyTemplate"],["cAccordionButton","",3,"click","collapsed"],[1,"accordion-body"]],template:function(i,s){i&1&&(a(0,"c-accordion")(1,"c-accordion-item",3,0),u(3,De,2,1,"ng-template",4)(4,He,7,0,"ng-template",5),n(),a(5,"c-accordion-item",3,1),u(7,Fe,2,1,"ng-template",4)(8,je,7,0,"ng-template",5),n(),a(9,"c-accordion-item",3,2),u(11,Le,2,1,"ng-template",4)(12,Ye,7,0,"ng-template",5),n()()),i&2&&(m(),l("visible",!1),m(4),l("visible",!1),m(4),l("visible",!1))},dependencies:[w,T,C,y],encapsulation:2});let e=t;return e})();var de=`\`\`\`typescript import { AccordionModule, SharedModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-FX553NHW.js b/angular/docs/chunk-54DQ6PNU.js similarity index 97% rename from angular/docs/chunk-FX553NHW.js rename to angular/docs/chunk-54DQ6PNU.js index 0ae69a5d2a8..4916fbd38b8 100644 --- a/angular/docs/chunk-FX553NHW.js +++ b/angular/docs/chunk-54DQ6PNU.js @@ -1 +1 @@ -import{f as de}from"./chunk-ATBE6YUJ.js";import{B as _,D as ue,a as D,b as se,c as ie,d as f,l as ae,z as ce}from"./chunk-FIXU3TFH.js";import{$ as y,$a as W,Ha as P,Pa as Y,Qa as L,Ra as G,Sa as S,Ua as H,Ya as g,Za as v,_a as q,ab as X,bb as J,ca as l,cb as Q,db as ee,eb as te,fa as N,fb as m,ha as u,kb as w,ld as re,ma as E,md as oe,qb as ne,ra as z,ta as K,tb as M}from"./chunk-O6V6MKDU.js";import{a as I,b as Z}from"./chunk-MGAX33HK.js";var x=class extends ie{constructor(){super(...arguments),this.supportsDOMEvents=!0}},U=class o extends x{static makeCurrent(){se(new o)}onAndCancel(e,s,t){return e.addEventListener(s,t),()=>{e.removeEventListener(s,t)}}dispatchEvent(e,s){e.dispatchEvent(s)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,s){return s=s||this.getDefaultDocument(),s.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,s){return s==="window"?window:s==="document"?e:s==="body"?e.body:null}getBaseHref(e){let s=Ee();return s==null?null:Se(s)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ae(document.cookie,e)}},T=null;function Ee(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}function Se(o){return new URL(o,document.baseURI).pathname}var we=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),F=new N(""),pe=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,r){return this._findPluginFor(n).addEventListener(t,n,r)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(i=>i.supports(t)),!n)throw new y(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(u(F),u(M))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),b=class{constructor(e){this._doc=e}},k="ng-app-id",me=(()=>{let e=class e{constructor(t,n,r,i={}){this.doc=t,this.appId=n,this.nonce=r,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=_(i),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(r=>r.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${k}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(r=>{r.textContent!=null&&n.set(r.textContent,r)}),n}return null}changeUsageCount(t,n){let r=this.styleRef;if(r.has(t)){let i=r.get(t);return i.usage+=n,i.usage}return r.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let r=this.styleNodesInDOM,i=r?.get(n);if(i?.parentNode===t)return r.delete(n),i.removeAttribute(k),i;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute(k,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let r=this.getStyleElement(t,n),i=this.styleRef,a=i.get(n)?.elements;a?a.push(r):i.set(n,{elements:[r],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(u(f),u(L),u(H,8),u(S))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$=/%COMP%/g,ye="%COMP%",Me=`_nghost-${ye}`,Te=`_ngcontent-${ye}`,Re=!0,Ce=new N("",{providedIn:"root",factory:()=>Re});function De(o){return Te.replace($,o)}function be(o){return Me.replace($,o)}function ge(o,e){return e.map(s=>s.replace($,o))}var le=(()=>{let e=class e{constructor(t,n,r,i,a,c,d,h=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=i,this.doc=a,this.platformId=c,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=_(c),this.defaultRenderer=new R(t,a,d,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===E.ShadowDom&&(n=Z(I({},n),{encapsulation:E.Emulated}));let r=this.getOrCreateRenderer(t,n);return r instanceof A?r.applyToHost(t):r instanceof C&&r.applyStyles(),r}getOrCreateRenderer(t,n){let r=this.rendererByCompId,i=r.get(n.id);if(!i){let a=this.doc,c=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,O=this.platformIsServer;switch(n.encapsulation){case E.Emulated:i=new A(d,h,n,this.appId,p,a,c,O);break;case E.ShadowDom:return new B(d,h,t,n,a,c,this.nonce,O);default:i=new C(d,h,n,p,a,c,O);break}r.set(n.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(u(pe),u(me),u(L),u(Ce),u(f),u(S),u(M),u(H))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),R=class{constructor(e,s,t,n){this.eventManager=e,this.doc=s,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,s){return s?this.doc.createElementNS(j[s]||s,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,s){(fe(e)?e.content:e).appendChild(s)}insertBefore(e,s,t){e&&(fe(e)?e.content:e).insertBefore(s,t)}removeChild(e,s){e&&e.removeChild(s)}selectRootElement(e,s){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new y(-5104,!1);return s||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,s,t,n){if(n){s=n+":"+s;let r=j[n];r?e.setAttributeNS(r,s,t):e.setAttribute(s,t)}else e.setAttribute(s,t)}removeAttribute(e,s,t){if(t){let n=j[t];n?e.removeAttributeNS(n,s):e.removeAttribute(`${t}:${s}`)}else e.removeAttribute(s)}addClass(e,s){e.classList.add(s)}removeClass(e,s){e.classList.remove(s)}setStyle(e,s,t,n){n&(w.DashCase|w.Important)?e.style.setProperty(s,t,n&w.Important?"important":""):e.style[s]=t}removeStyle(e,s,t){t&w.DashCase?e.style.removeProperty(s):e.style[s]=""}setProperty(e,s,t){e!=null&&(e[s]=t)}setValue(e,s){e.nodeValue=s}listen(e,s,t){if(typeof e=="string"&&(e=D().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${s}`);return this.eventManager.addEventListener(e,s,this.decoratePreventDefault(t))}decoratePreventDefault(e){return s=>{if(s==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(s)):e(s))===!1&&s.preventDefault()}}};function fe(o){return o.tagName==="TEMPLATE"&&o.content!==void 0}var B=class extends R{constructor(e,s,t,n,r,i,a,c){super(e,r,i,c),this.sharedStylesHost=s,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=ge(n.id,n.styles);for(let h of d){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=h,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,s){return super.appendChild(this.nodeOrShadowRoot(e),s)}insertBefore(e,s,t){return super.insertBefore(this.nodeOrShadowRoot(e),s,t)}removeChild(e,s){return super.removeChild(this.nodeOrShadowRoot(e),s)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},C=class extends R{constructor(e,s,t,n,r,i,a,c){super(e,r,i,a),this.sharedStylesHost=s,this.removeStylesOnCompDestroy=n,this.styles=c?ge(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},A=class extends C{constructor(e,s,t,n,r,i,a,c){let d=n+"-"+t.id;super(e,s,t,r,i,a,c,d),this.contentAttr=De(d),this.hostAttr=be(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,s){let t=super.createElement(e,s);return super.setAttribute(t,this.contentAttr,""),t}},Ae=(()=>{let e=class e extends b{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,r){return t.addEventListener(n,r,!1),()=>this.removeEventListener(t,n,r)}removeEventListener(t,n,r){return t.removeEventListener(n,r)}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),he=["alt","control","meta","shift"],Oe={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ie={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey},Ne=(()=>{let e=class e extends b{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,r){let i=e.parseEventName(n),a=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>D().onAndCancel(t,i.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let i=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),he.forEach(h=>{let p=n.indexOf(h);p>-1&&(n.splice(p,1),a+=h+".")}),a+=i,n.length!=0||i.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(t,n){let r=Oe[t.key]||t.key,i="";return n.indexOf("code.")>-1&&(r=t.code,i="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),he.forEach(a=>{if(a!==r){let c=Ie[a];c(t)&&(i+=a+".")}}),i+=r,i===n)}static eventCallback(t,n,r){return i=>{e.matchEventFullKeyCode(i,t)&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})();function yt(o,e){return re(I({rootComponent:o},Pe(e)))}function Pe(o){return{appProviders:[...je,...o?.providers??[]],platformProviders:ke}}function Le(){U.makeCurrent()}function He(){return new P}function _e(){return Y(document),document}var ke=[{provide:S,useValue:ce},{provide:G,useValue:Le,multi:!0},{provide:f,useFactory:_e,deps:[]}];var je=[{provide:K,useValue:"root"},{provide:P,useFactory:He,deps:[]},{provide:F,useClass:Ae,multi:!0,deps:[f,M,S]},{provide:F,useClass:Ne,multi:!0,deps:[f]},le,me,pe,{provide:ne,useExisting:le},{provide:ue,useClass:we,deps:[]},[]];var gt=(()=>{let e=class e{constructor(t){this._doc=t,this._dom=D()}addTag(t,n=!1){return t?this._getOrCreateElement(t,n):null}addTags(t,n=!1){return t?t.reduce((r,i)=>(i&&r.push(this._getOrCreateElement(i,n)),r),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];let n=this._doc.querySelectorAll(`meta[${t}]`);return n?[].slice.call(n):[]}updateTag(t,n){if(!t)return null;n=n||this._parseSelector(t);let r=this.getTag(n);return r?this._setMetaElementAttributes(t,r):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,n=!1){if(!n){let a=this._parseSelector(t),c=this.getTags(a).filter(d=>this._containsAttributes(t,d))[0];if(c!==void 0)return c}let r=this._dom.createElement("meta");return this._setMetaElementAttributes(t,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(t,n){return Object.keys(t).forEach(r=>n.setAttribute(this._getMetaKeyMap(r),t[r])),n}_parseSelector(t){let n=t.name?"name":"property";return`${n}="${t[n]}"`}_containsAttributes(t,n){return Object.keys(t).every(r=>n.getAttribute(this._getMetaKeyMap(r))===t[r])}_getMetaKeyMap(t){return xe[t]||t}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})(),xe={httpEquiv:"http-equiv"},vt=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})();var Ue=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=l({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=u(Fe),r},providedIn:"root"});let o=e;return o})(),Fe=(()=>{let e=class e extends Ue{constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case m.NONE:return n;case m.HTML:return v(n,"HTML")?g(n):te(this._doc,String(n)).toString();case m.STYLE:return v(n,"Style")?g(n):n;case m.SCRIPT:if(v(n,"Script"))return g(n);throw new y(5200,!1);case m.URL:return v(n,"URL")?g(n):ee(String(n));case m.RESOURCE_URL:if(v(n,"ResourceURL"))return g(n);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return q(t)}bypassSecurityTrustStyle(t){return W(t)}bypassSecurityTrustScript(t){return X(t)}bypassSecurityTrustUrl(t){return J(t)}bypassSecurityTrustResourceUrl(t){return Q(t)}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})(),V=function(o){return o[o.NoHttpTransferCache=0]="NoHttpTransferCache",o[o.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",o[o.I18nSupport=2]="I18nSupport",o[o.EventReplay=3]="EventReplay",o}(V||{});function Et(...o){let e=[],s=new Set,t=s.has(V.HttpTransferCacheOptions);for(let{\u0275providers:n,\u0275kind:r}of o)s.add(r),n.length&&e.push(n);return z([[],oe(),s.has(V.NoHttpTransferCache)||t?[]:de({}),e])}export{le as a,yt as b,gt as c,vt as d,Ue as e,Et as f}; +import{f as de}from"./chunk-D6CLLZIZ.js";import{B as _,D as ue,a as D,b as se,c as ie,d as f,l as ae,z as ce}from"./chunk-XHR4TYVD.js";import{$ as y,$a as W,Ha as P,Pa as Y,Qa as L,Ra as G,Sa as S,Ua as H,Ya as g,Za as v,_a as q,ab as X,bb as J,ca as l,cb as Q,db as ee,eb as te,fa as N,fb as m,ha as u,kb as w,ld as re,ma as E,md as oe,qb as ne,ra as z,ta as K,tb as M}from"./chunk-6U7QZ4SV.js";import{a as I,b as Z}from"./chunk-MGAX33HK.js";var x=class extends ie{constructor(){super(...arguments),this.supportsDOMEvents=!0}},U=class o extends x{static makeCurrent(){se(new o)}onAndCancel(e,s,t){return e.addEventListener(s,t),()=>{e.removeEventListener(s,t)}}dispatchEvent(e,s){e.dispatchEvent(s)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,s){return s=s||this.getDefaultDocument(),s.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,s){return s==="window"?window:s==="document"?e:s==="body"?e.body:null}getBaseHref(e){let s=Ee();return s==null?null:Se(s)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ae(document.cookie,e)}},T=null;function Ee(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}function Se(o){return new URL(o,document.baseURI).pathname}var we=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),F=new N(""),pe=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,r){return this._findPluginFor(n).addEventListener(t,n,r)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(i=>i.supports(t)),!n)throw new y(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(u(F),u(M))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),b=class{constructor(e){this._doc=e}},k="ng-app-id",me=(()=>{let e=class e{constructor(t,n,r,i={}){this.doc=t,this.appId=n,this.nonce=r,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=_(i),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(r=>r.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${k}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(r=>{r.textContent!=null&&n.set(r.textContent,r)}),n}return null}changeUsageCount(t,n){let r=this.styleRef;if(r.has(t)){let i=r.get(t);return i.usage+=n,i.usage}return r.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let r=this.styleNodesInDOM,i=r?.get(n);if(i?.parentNode===t)return r.delete(n),i.removeAttribute(k),i;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute(k,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let r=this.getStyleElement(t,n),i=this.styleRef,a=i.get(n)?.elements;a?a.push(r):i.set(n,{elements:[r],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(u(f),u(L),u(H,8),u(S))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$=/%COMP%/g,ye="%COMP%",Me=`_nghost-${ye}`,Te=`_ngcontent-${ye}`,Re=!0,Ce=new N("",{providedIn:"root",factory:()=>Re});function De(o){return Te.replace($,o)}function be(o){return Me.replace($,o)}function ge(o,e){return e.map(s=>s.replace($,o))}var le=(()=>{let e=class e{constructor(t,n,r,i,a,c,d,h=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=i,this.doc=a,this.platformId=c,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=_(c),this.defaultRenderer=new R(t,a,d,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===E.ShadowDom&&(n=Z(I({},n),{encapsulation:E.Emulated}));let r=this.getOrCreateRenderer(t,n);return r instanceof A?r.applyToHost(t):r instanceof C&&r.applyStyles(),r}getOrCreateRenderer(t,n){let r=this.rendererByCompId,i=r.get(n.id);if(!i){let a=this.doc,c=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,O=this.platformIsServer;switch(n.encapsulation){case E.Emulated:i=new A(d,h,n,this.appId,p,a,c,O);break;case E.ShadowDom:return new B(d,h,t,n,a,c,this.nonce,O);default:i=new C(d,h,n,p,a,c,O);break}r.set(n.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(u(pe),u(me),u(L),u(Ce),u(f),u(S),u(M),u(H))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),R=class{constructor(e,s,t,n){this.eventManager=e,this.doc=s,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,s){return s?this.doc.createElementNS(j[s]||s,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,s){(fe(e)?e.content:e).appendChild(s)}insertBefore(e,s,t){e&&(fe(e)?e.content:e).insertBefore(s,t)}removeChild(e,s){e&&e.removeChild(s)}selectRootElement(e,s){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new y(-5104,!1);return s||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,s,t,n){if(n){s=n+":"+s;let r=j[n];r?e.setAttributeNS(r,s,t):e.setAttribute(s,t)}else e.setAttribute(s,t)}removeAttribute(e,s,t){if(t){let n=j[t];n?e.removeAttributeNS(n,s):e.removeAttribute(`${t}:${s}`)}else e.removeAttribute(s)}addClass(e,s){e.classList.add(s)}removeClass(e,s){e.classList.remove(s)}setStyle(e,s,t,n){n&(w.DashCase|w.Important)?e.style.setProperty(s,t,n&w.Important?"important":""):e.style[s]=t}removeStyle(e,s,t){t&w.DashCase?e.style.removeProperty(s):e.style[s]=""}setProperty(e,s,t){e!=null&&(e[s]=t)}setValue(e,s){e.nodeValue=s}listen(e,s,t){if(typeof e=="string"&&(e=D().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${s}`);return this.eventManager.addEventListener(e,s,this.decoratePreventDefault(t))}decoratePreventDefault(e){return s=>{if(s==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(s)):e(s))===!1&&s.preventDefault()}}};function fe(o){return o.tagName==="TEMPLATE"&&o.content!==void 0}var B=class extends R{constructor(e,s,t,n,r,i,a,c){super(e,r,i,c),this.sharedStylesHost=s,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=ge(n.id,n.styles);for(let h of d){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=h,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,s){return super.appendChild(this.nodeOrShadowRoot(e),s)}insertBefore(e,s,t){return super.insertBefore(this.nodeOrShadowRoot(e),s,t)}removeChild(e,s){return super.removeChild(this.nodeOrShadowRoot(e),s)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},C=class extends R{constructor(e,s,t,n,r,i,a,c){super(e,r,i,a),this.sharedStylesHost=s,this.removeStylesOnCompDestroy=n,this.styles=c?ge(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},A=class extends C{constructor(e,s,t,n,r,i,a,c){let d=n+"-"+t.id;super(e,s,t,r,i,a,c,d),this.contentAttr=De(d),this.hostAttr=be(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,s){let t=super.createElement(e,s);return super.setAttribute(t,this.contentAttr,""),t}},Ae=(()=>{let e=class e extends b{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,r){return t.addEventListener(n,r,!1),()=>this.removeEventListener(t,n,r)}removeEventListener(t,n,r){return t.removeEventListener(n,r)}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})(),he=["alt","control","meta","shift"],Oe={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ie={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey},Ne=(()=>{let e=class e extends b{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,r){let i=e.parseEventName(n),a=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>D().onAndCancel(t,i.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let i=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),he.forEach(h=>{let p=n.indexOf(h);p>-1&&(n.splice(p,1),a+=h+".")}),a+=i,n.length!=0||i.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(t,n){let r=Oe[t.key]||t.key,i="";return n.indexOf("code.")>-1&&(r=t.code,i="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),he.forEach(a=>{if(a!==r){let c=Ie[a];c(t)&&(i+=a+".")}}),i+=r,i===n)}static eventCallback(t,n,r){return i=>{e.matchEventFullKeyCode(i,t)&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac});let o=e;return o})();function yt(o,e){return re(I({rootComponent:o},Pe(e)))}function Pe(o){return{appProviders:[...je,...o?.providers??[]],platformProviders:ke}}function Le(){U.makeCurrent()}function He(){return new P}function _e(){return Y(document),document}var ke=[{provide:S,useValue:ce},{provide:G,useValue:Le,multi:!0},{provide:f,useFactory:_e,deps:[]}];var je=[{provide:K,useValue:"root"},{provide:P,useFactory:He,deps:[]},{provide:F,useClass:Ae,multi:!0,deps:[f,M,S]},{provide:F,useClass:Ne,multi:!0,deps:[f]},le,me,pe,{provide:ne,useExisting:le},{provide:ue,useClass:we,deps:[]},[]];var gt=(()=>{let e=class e{constructor(t){this._doc=t,this._dom=D()}addTag(t,n=!1){return t?this._getOrCreateElement(t,n):null}addTags(t,n=!1){return t?t.reduce((r,i)=>(i&&r.push(this._getOrCreateElement(i,n)),r),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];let n=this._doc.querySelectorAll(`meta[${t}]`);return n?[].slice.call(n):[]}updateTag(t,n){if(!t)return null;n=n||this._parseSelector(t);let r=this.getTag(n);return r?this._setMetaElementAttributes(t,r):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,n=!1){if(!n){let a=this._parseSelector(t),c=this.getTags(a).filter(d=>this._containsAttributes(t,d))[0];if(c!==void 0)return c}let r=this._dom.createElement("meta");return this._setMetaElementAttributes(t,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(t,n){return Object.keys(t).forEach(r=>n.setAttribute(this._getMetaKeyMap(r),t[r])),n}_parseSelector(t){let n=t.name?"name":"property";return`${n}="${t[n]}"`}_containsAttributes(t,n){return Object.keys(t).every(r=>n.getAttribute(this._getMetaKeyMap(r))===t[r])}_getMetaKeyMap(t){return xe[t]||t}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})(),xe={httpEquiv:"http-equiv"},vt=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})();var Ue=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=l({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=u(Fe),r},providedIn:"root"});let o=e;return o})(),Fe=(()=>{let e=class e extends Ue{constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case m.NONE:return n;case m.HTML:return v(n,"HTML")?g(n):te(this._doc,String(n)).toString();case m.STYLE:return v(n,"Style")?g(n):n;case m.SCRIPT:if(v(n,"Script"))return g(n);throw new y(5200,!1);case m.URL:return v(n,"URL")?g(n):ee(String(n));case m.RESOURCE_URL:if(v(n,"ResourceURL"))return g(n);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return q(t)}bypassSecurityTrustStyle(t){return W(t)}bypassSecurityTrustScript(t){return X(t)}bypassSecurityTrustUrl(t){return J(t)}bypassSecurityTrustResourceUrl(t){return Q(t)}};e.\u0275fac=function(n){return new(n||e)(u(f))},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})(),V=function(o){return o[o.NoHttpTransferCache=0]="NoHttpTransferCache",o[o.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",o[o.I18nSupport=2]="I18nSupport",o[o.EventReplay=3]="EventReplay",o}(V||{});function Et(...o){let e=[],s=new Set,t=s.has(V.HttpTransferCacheOptions);for(let{\u0275providers:n,\u0275kind:r}of o)s.add(r),n.length&&e.push(n);return z([[],oe(),s.has(V.NoHttpTransferCache)||t?[]:de({}),e])}export{le as a,yt as b,gt as c,vt as d,Ue as e,Et as f}; diff --git a/angular/docs/chunk-MBLK4XH6.js b/angular/docs/chunk-55XIW3KQ.js similarity index 93% rename from angular/docs/chunk-MBLK4XH6.js rename to angular/docs/chunk-55XIW3KQ.js index f0e06cb06b4..b379adfa873 100644 --- a/angular/docs/chunk-MBLK4XH6.js +++ b/angular/docs/chunk-55XIW3KQ.js @@ -1,4 +1,4 @@ -import{a as u,b as g,i as f,k as x}from"./chunk-KQYWJLIW.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{c as w,e as k}from"./chunk-EBCID5MY.js";import"./chunk-T5CNCUEW.js";import"./chunk-DPZ7BZKP.js";import{a as q}from"./chunk-SWYVARVN.js";import{r as z}from"./chunk-JJFVMVK7.js";import{c as b,d as p}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as i,Cc as n,Oc as m,ac as e,bc as a,lb as c,mb as l,na as h}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var D=(()=>{let r=class r{constructor(d,_){this.metaService=d,this.titleService=_,this.title="CoreUI Angular Templates",this.description="Develop modern responsive applications in half the time with high-performing and easy-to-customize CoreUI Angular admin dashboard to cover any requirement."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};r.\u0275fac=function(_){return new(_||r)(l(b),l(p))},r.\u0275cmp=h({type:r,selectors:[["docs-admin-dashboard"]],standalone:!0,features:[m],decls:53,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["md","6"],[1,"mb-4"],["href","https://coreui.io/product/free-angular-admin-template/","target","_blank",1,"text-decoration-none","text-reset"],["cCardTitle",""],["cCardSubtitle","",1,"mb-3","text-muted"],["loading","lazy","alt","Free React Admin Template","srcset","https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_1360x0_resize_q90_h2_box_3.webp",1,"d-block","w-100","rounded-top"],["href","https://coreui.io/product/angular-dashboard-template/?theme=default","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","CoreUI Angular Bootstrap Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"],["href","https://coreui.io/product/angular-dashboard-template/?theme=light","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","CoreUI Angular Bootstrap Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"],["href","https://coreui.io/product/angular-dashboard-template/?theme=modern","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","Angular Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"],["href","https://coreui.io/product/angular-dashboard-template/?theme=bright","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","Angular Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"]],template:function(_,s){_&1&&(t(0,"h1",0),i(1),e(),t(2,"p",1),i(3),e(),a(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` +import{a as u,b as g,i as f,k as x}from"./chunk-FDIAV3SM.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{c as w,e as k}from"./chunk-PZ32EFID.js";import"./chunk-DADCTN7Z.js";import"./chunk-DPZ7BZKP.js";import{a as q}from"./chunk-MH6VOBXJ.js";import{r as z}from"./chunk-Q5WIR6QR.js";import{c as b,d as p}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as i,Cc as n,Oc as m,ac as e,bc as a,lb as c,mb as l,na as h}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var D=(()=>{let r=class r{constructor(d,_){this.metaService=d,this.titleService=_,this.title="CoreUI Angular Templates",this.description="Develop modern responsive applications in half the time with high-performing and easy-to-customize CoreUI Angular admin dashboard to cover any requirement."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};r.\u0275fac=function(_){return new(_||r)(l(b),l(p))},r.\u0275cmp=h({type:r,selectors:[["docs-admin-dashboard"]],standalone:!0,features:[m],decls:53,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["md","6"],[1,"mb-4"],["href","https://coreui.io/product/free-angular-admin-template/","target","_blank",1,"text-decoration-none","text-reset"],["cCardTitle",""],["cCardSubtitle","",1,"mb-3","text-muted"],["loading","lazy","alt","Free React Admin Template","srcset","https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_free_light_dark_hubc05bced0a66f59cba14845b75b88f8c_123315_1360x0_resize_q90_h2_box_3.webp",1,"d-block","w-100","rounded-top"],["href","https://coreui.io/product/angular-dashboard-template/?theme=default","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","CoreUI Angular Bootstrap Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_default_light_dark_hua9987f40d94d59c29f13b98095e94564_454116_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"],["href","https://coreui.io/product/angular-dashboard-template/?theme=light","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","CoreUI Angular Bootstrap Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_light_light_dark_hu2bf342018d6b378c93277fc29a10cbd9_456041_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"],["href","https://coreui.io/product/angular-dashboard-template/?theme=modern","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","Angular Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_modern_light_dark_hu01d357f9e62d5fb83cb0da2da56db3ad_621798_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"],["href","https://coreui.io/product/angular-dashboard-template/?theme=bright","target","_blank",1,"text-decoration-none","text-reset"],["loading","lazy","alt","Angular Admin Template","srcset","https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_480x0_resize_q90_h2_box_3.webp 480w, https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_768x0_resize_q90_h2_box_3.webp 768w, https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_1024x0_resize_q90_h2_box_3.webp 1024w, https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_1366x0_resize_q90_h2_box_3.webp 1366w","src","https://coreui.io/images/templates/coreui_pro_bright_light_dark_hua8600d35da569cdc62d4bf24b03e9a5b_405808_1360x0_resize_q90_h2_box_3.webp",1,"img-fluid","box-shadow","rounded-1"]],template:function(_,s){_&1&&(t(0,"h1",0),i(1),e(),t(2,"p",1),i(3),e(),a(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` ## Angular Admin Dashboard Templates diff --git a/angular/docs/chunk-QT4PRSSN.js b/angular/docs/chunk-57PGWH7C.js similarity index 94% rename from angular/docs/chunk-QT4PRSSN.js rename to angular/docs/chunk-57PGWH7C.js index a16d61710fa..d7d18baf658 100644 --- a/angular/docs/chunk-QT4PRSSN.js +++ b/angular/docs/chunk-57PGWH7C.js @@ -1,4 +1,4 @@ -import{a as W,b as R,c as u}from"./chunk-FHDSBCC2.js";import{k as U}from"./chunk-VP4RI3NG.js";import{b as H}from"./chunk-J37AVTJX.js";import{i as B}from"./chunk-SPMMWGWV.js";import{c as z}from"./chunk-R2HXWLDR.js";import{a as C,b as j}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as P}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as q}from"./chunk-SWYVARVN.js";import{r as O}from"./chunk-JJFVMVK7.js";import{c as G,d as V}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Aa as b,Ba as w,Bc as n,Ca as f,Cc as y,Da as x,Dc as D,Jb as E,Kc as F,Lc as L,Mc as I,Oc as p,Pc as g,Qb as d,Wb as T,ac as t,bc as a,fc as A,lb as c,mb as M,mc as h,na as m,oc as k}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var J=(()=>{let i=class i{constructor(){this.icons={cilCheck:U}}};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-alert06-example"]],standalone:!0,features:[p],decls:37,vars:1,consts:[["color","dark",1,"d-flex","align-items-center"],["size","xl",1,"flex-shrink-0","me-2",3,"cIcon"],["color","secondary",1,"d-flex","align-items-center"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 16 16","role","img","aria-label","Warning:",1,"bi","bi-exclamation-triangle-fill","flex-shrink-0","me-2"],["d","M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"],["xmlns","http://www.w3.org/2000/svg",1,"d-none"],["id","check-circle-fill","fill","currentColor","viewBox","0 0 16 16"],["d","M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"],["id","info-fill","fill","currentColor","viewBox","0 0 16 16"],["d","M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"],["id","exclamation-triangle-fill","fill","currentColor","viewBox","0 0 16 16"],["color","primary",1,"d-flex","align-items-center"],["width","24","height","24","role","img","aria-label","Info:",1,"bi","flex-shrink-0","me-2"],[0,"xlink","href","#info-fill"],["color","success",1,"d-flex","align-items-center"],[0,"xlink","href","#check-circle-fill"],["color","warning",1,"d-flex","align-items-center"],[0,"xlink","href","#exclamation-triangle-fill"],["color","danger",1,"d-flex","align-items-center"]],template:function(l,r){l&1&&(e(0,"c-alert",0),f(),a(1,"svg",1),x(),e(2,"div"),n(3,"An example alert with cIcon"),t()(),e(4,"c-alert",2),f(),e(5,"svg",3),a(6,"path",4),t(),x(),e(7,"div"),n(8,"An example alert with svg icon"),t()(),a(9,"hr"),f(),e(10,"svg",5)(11,"symbol",6),a(12,"path",7),t(),e(13,"symbol",8),a(14,"path",9),t(),e(15,"symbol",10),a(16,"path",4),t()(),x(),e(17,"c-alert",11),f(),e(18,"svg",12),a(19,"use",13),t(),x(),e(20,"div"),n(21,"An example primary alert with an icon"),t()(),e(22,"c-alert",14),f(),e(23,"svg",12),a(24,"use",15),t(),x(),e(25,"div"),n(26,"An example success alert with an icon"),t()(),e(27,"c-alert",16),f(),e(28,"svg",12),a(29,"use",17),t(),x(),e(30,"div"),n(31,"An example warning alert with an icon"),t()(),e(32,"c-alert",18),f(),e(33,"svg",12),a(34,"use",17),t(),x(),e(35,"div"),n(36,"An example danger alert with an icon"),t()()),l&2&&(c(),d("cIcon",r.icons.cilCheck))},dependencies:[u,H],encapsulation:2});let o=i;return o})();function ee(o,i){if(o&1){let v=A();e(0,"button",3),h("click",function(){b(v);let l=k();return w(l.visible=!1)}),t()}}var N=(()=>{let i=class i{constructor(){this.visible=!0}onVisibleChange(s){this.visible=s}onResetDismiss(){this.visible=!0}};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-alert05-example"]],standalone:!0,features:[p],decls:8,vars:1,consts:[["color","dark","dismissible","","fade","","variant","solid",3,"visibleChange","visible"],["cTemplateId","alertButtonCloseTemplate"],["cButton","","color","secondary",3,"click"],["cButtonClose","","dark","",3,"click"]],template:function(l,r){l&1&&(e(0,"c-alert",0),h("visibleChange",function($){return r.onVisibleChange($)}),E(1,ee,1,0,"ng-template",1),e(2,"strong"),n(3,"Go right ahead"),t(),n(4,` and click that dismiss over there on the right. +import{a as W,b as R,c as u}from"./chunk-YN74WUSE.js";import{k as U}from"./chunk-VP4RI3NG.js";import{b as H}from"./chunk-OLTS3WRU.js";import{i as B}from"./chunk-FULSUUPP.js";import{c as z}from"./chunk-UYIAOCXU.js";import{a as C,b as j}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as P}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as q}from"./chunk-MH6VOBXJ.js";import{r as O}from"./chunk-Q5WIR6QR.js";import{c as G,d as V}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Aa as b,Ba as w,Bc as n,Ca as f,Cc as y,Da as x,Dc as D,Jb as E,Kc as F,Lc as L,Mc as I,Oc as p,Pc as g,Qb as d,Wb as T,ac as t,bc as a,fc as A,lb as c,mb as M,mc as h,na as m,oc as k}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var J=(()=>{let i=class i{constructor(){this.icons={cilCheck:U}}};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-alert06-example"]],standalone:!0,features:[p],decls:37,vars:1,consts:[["color","dark",1,"d-flex","align-items-center"],["size","xl",1,"flex-shrink-0","me-2",3,"cIcon"],["color","secondary",1,"d-flex","align-items-center"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 16 16","role","img","aria-label","Warning:",1,"bi","bi-exclamation-triangle-fill","flex-shrink-0","me-2"],["d","M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"],["xmlns","http://www.w3.org/2000/svg",1,"d-none"],["id","check-circle-fill","fill","currentColor","viewBox","0 0 16 16"],["d","M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"],["id","info-fill","fill","currentColor","viewBox","0 0 16 16"],["d","M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"],["id","exclamation-triangle-fill","fill","currentColor","viewBox","0 0 16 16"],["color","primary",1,"d-flex","align-items-center"],["width","24","height","24","role","img","aria-label","Info:",1,"bi","flex-shrink-0","me-2"],[0,"xlink","href","#info-fill"],["color","success",1,"d-flex","align-items-center"],[0,"xlink","href","#check-circle-fill"],["color","warning",1,"d-flex","align-items-center"],[0,"xlink","href","#exclamation-triangle-fill"],["color","danger",1,"d-flex","align-items-center"]],template:function(l,r){l&1&&(e(0,"c-alert",0),f(),a(1,"svg",1),x(),e(2,"div"),n(3,"An example alert with cIcon"),t()(),e(4,"c-alert",2),f(),e(5,"svg",3),a(6,"path",4),t(),x(),e(7,"div"),n(8,"An example alert with svg icon"),t()(),a(9,"hr"),f(),e(10,"svg",5)(11,"symbol",6),a(12,"path",7),t(),e(13,"symbol",8),a(14,"path",9),t(),e(15,"symbol",10),a(16,"path",4),t()(),x(),e(17,"c-alert",11),f(),e(18,"svg",12),a(19,"use",13),t(),x(),e(20,"div"),n(21,"An example primary alert with an icon"),t()(),e(22,"c-alert",14),f(),e(23,"svg",12),a(24,"use",15),t(),x(),e(25,"div"),n(26,"An example success alert with an icon"),t()(),e(27,"c-alert",16),f(),e(28,"svg",12),a(29,"use",17),t(),x(),e(30,"div"),n(31,"An example warning alert with an icon"),t()(),e(32,"c-alert",18),f(),e(33,"svg",12),a(34,"use",17),t(),x(),e(35,"div"),n(36,"An example danger alert with an icon"),t()()),l&2&&(c(),d("cIcon",r.icons.cilCheck))},dependencies:[u,H],encapsulation:2});let o=i;return o})();function ee(o,i){if(o&1){let v=A();e(0,"button",3),h("click",function(){b(v);let l=k();return w(l.visible=!1)}),t()}}var N=(()=>{let i=class i{constructor(){this.visible=!0}onVisibleChange(s){this.visible=s}onResetDismiss(){this.visible=!0}};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-alert05-example"]],standalone:!0,features:[p],decls:8,vars:1,consts:[["color","dark","dismissible","","fade","","variant","solid",3,"visibleChange","visible"],["cTemplateId","alertButtonCloseTemplate"],["cButton","","color","secondary",3,"click"],["cButtonClose","","dark","",3,"click"]],template:function(l,r){l&1&&(e(0,"c-alert",0),h("visibleChange",function($){return r.onVisibleChange($)}),E(1,ee,1,0,"ng-template",1),e(2,"strong"),n(3,"Go right ahead"),t(),n(4,` and click that dismiss over there on the right. `),t(),a(5,"hr"),e(6,"button",2),h("click",function(){return r.onResetDismiss()}),n(7,"Reset"),t()),l&2&&d("visible",r.visible)},dependencies:[u,z,j,C],encapsulation:2});let o=i;return o})();function te(o,i){if(o&1){let v=A();e(0,"c-alert",3),I("visibleChange",function(l){b(v);let r=k();return L(r.visible,l)||(r.visible=l),w(l)}),e(1,"strong"),n(2,"Go right ahead"),t(),n(3," and click that dismiss over there on the right. "),t()}if(o&2){let v=k();F("visible",v.visible),d("dismissible",v.dismissible)}}var Y=(()=>{let i=class i{constructor(){this.visible=!0,this.dismissible=!0}};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-alert04-example"]],standalone:!0,features:[p],decls:6,vars:2,consts:[["color","light","fade","",3,"visible","dismissible"],["cButton","",3,"click"],["cButton","","color","secondary",1,"me-1",3,"click"],["color","light","fade","",3,"visibleChange","visible","dismissible"]],template:function(l,r){l&1&&(E(0,te,4,2,"c-alert",0),a(1,"hr"),e(2,"button",1),h("click",function(){return r.visible=!r.visible}),n(3),t(),e(4,"button",2),h("click",function(){return r.dismissible=!r.dismissible}),n(5,"Toggle"),t()),l&2&&(T(r.visible?0:-1),c(3),y(r.visible?"Hide":"Show"))},dependencies:[u,C],encapsulation:2});let o=i;return o})();var K=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-alert03-example"]],standalone:!0,features:[p],decls:8,vars:0,consts:[["color","success"],["cAlertHeading",""],[1,"mb-0"]],template:function(l,r){l&1&&(e(0,"c-alert",0)(1,"h4",1),n(2,"Well done!"),t(),e(3,"p"),n(4,"Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content."),t(),a(5,"hr"),e(6,"p",2),n(7,"Whenever you need to, be sure to use margin utilities to keep things nice and tidy."),t()())},dependencies:[u,W],encapsulation:2});let o=i;return o})();var Q=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-alert02-example"]],standalone:!0,features:[p],decls:40,vars:0,consts:[["color","primary"],["cAlertLink","",3,"routerLink"],["color","secondary"],["color","success"],["color","danger"],["color","warning"],["color","info"],["color","light"],["color","dark"]],template:function(l,r){l&1&&(e(0,"c-alert",0),n(1," A simple primary alert with "),e(2,"a",1),n(3,"an example link"),t(),n(4,`. Give it a click if you like. `),t(),e(5,"c-alert",2),n(6," A simple secondary alert with "),e(7,"a",1),n(8,"an example link"),t(),n(9,`. Give it a click if you like. `),t(),e(10,"c-alert",3),n(11," A simple success alert with "),e(12,"a",1),n(13,"an example link"),t(),n(14,`. Give it a click if you like. diff --git a/angular/docs/chunk-GEDH2VQL.js b/angular/docs/chunk-5IIQSMOZ.js similarity index 76% rename from angular/docs/chunk-GEDH2VQL.js rename to angular/docs/chunk-5IIQSMOZ.js index ab8adb7ee20..1451e6ab163 100644 --- a/angular/docs/chunk-GEDH2VQL.js +++ b/angular/docs/chunk-5IIQSMOZ.js @@ -1 +1 @@ -import{a as u}from"./chunk-T7EHJSLU.js";import{l as z,s as K}from"./chunk-VP4RI3NG.js";import{c as W,e as q}from"./chunk-7XKRTNVZ.js";import"./chunk-J4FX3WSX.js";import{B as L,e as j,f as B,g as R,j as k,m as A,q as H,r as J}from"./chunk-JZLZFTWK.js";import{b as w}from"./chunk-J37AVTJX.js";import{c as E}from"./chunk-R2HXWLDR.js";import"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import"./chunk-2IKSDGSZ.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{s as O,u as D,x as P}from"./chunk-FIXU3TFH.js";import{$b as c,Bc as s,Ca as b,Da as x,Dc as v,Ec as M,Jb as y,Nc as G,Oc as T,Pc as $,Qb as p,Qc as N,Wc as f,Xc as h,ac as m,bc as d,g as S,lb as r,mb as F,mc as I,na as C,oc as V,q as g}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var U=()=>[],X=n=>({"background-color":n});function Y(n,i){if(n&1&&(c(0,"c-multi-select-option",3),b(),d(1,"svg",4),x(),c(2,"b"),s(3),m(),s(4),m()),n&2){let _=i.even,l=i.index,e=i.$implicit,t=V();p("disabled",e.disabled)("label",e.label)("ngStyle",N(10,X,_?"#ffeeee":"#eeffee"))("text",e.text)("value",e.value)("visible",e.visible),r(),p("cIcon",_?t.icons.cilPaperclip:t.icons.cilFolderOpen),r(2),v("",e.value,"."),r(),M(" ",e.label," [idx: ",l,"] ")}}var me=(()=>{let i=class i{constructor(l){this.optionsService=l,this.icons={cilPaperclip:K,cilFolderOpen:z},this.searchValue$=new S(""),this.formGroup=new R({sampleSelect:new k([200])}),this.options$=this.optionsService.search(this.searchValue$).pipe(g(e=>e.map(t=>{let o=parseInt(t.id),a=t.last_name,Q=`${t.last_name} [${o}]`;return{value:o,label:a,text:Q}})))}handleValueChange(l){console.log("handleValueChange",l)}};i.\u0275fac=function(e){return new(e||i)(F(u))},i.\u0275cmp=C({type:i,selectors:[["docs-multi-select14"]],standalone:!0,features:[G([u]),T],decls:8,vars:11,consts:[[3,"formGroup"],["formControlName","sampleSelect","itemMinWidth","333","virtualScroller","",3,"searchValueChange","valueChange","multiple","options","search","visibleItems"],["cTemplateId","multiSelectOptionTemplate"],[3,"disabled","label","ngStyle","text","value","visible"],[1,"me-1",3,"cIcon"]],template:function(e,t){if(e&1&&(c(0,"form",0)(1,"p"),s(2),f(3,"json"),m(),d(4,"hr"),c(5,"c-multi-select",1),f(6,"async"),I("searchValueChange",function(a){return t.searchValue$.next(a)})("valueChange",function(a){return t.handleValueChange(a)}),y(7,Y,5,12,"ng-template",2),m()()),e&2){let o;p("formGroup",t.formGroup),r(2),v("Form value: ",h(3,6,t.formGroup.value),""),r(3),p("multiple",!0)("options",(o=h(6,8,t.options$))!==null&&o!==void 0?o:$(10,U))("search","external")("visibleItems",8)}},dependencies:[D,w,P,q,W,O,L,A,j,B,H,J,E],encapsulation:2});let n=i;return n})();export{me as MultiSelect14Component}; +import{a as u}from"./chunk-AKN7XNYI.js";import{l as z,s as K}from"./chunk-VP4RI3NG.js";import{c as W,e as q}from"./chunk-4NGMK3CL.js";import"./chunk-I7ZDH35V.js";import{B as L,e as j,f as B,g as R,j as k,m as A,q as H,r as J}from"./chunk-WFHPAILT.js";import{b as w}from"./chunk-OLTS3WRU.js";import{c as E}from"./chunk-UYIAOCXU.js";import"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import"./chunk-D272JSA3.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{s as O,u as D,x as P}from"./chunk-XHR4TYVD.js";import{$b as c,Bc as s,Ca as b,Da as x,Dc as v,Ec as M,Jb as y,Nc as G,Oc as T,Pc as $,Qb as p,Qc as N,Wc as f,Xc as h,ac as m,bc as d,g as S,lb as r,mb as F,mc as I,na as C,oc as V,q as g}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var U=()=>[],X=n=>({"background-color":n});function Y(n,i){if(n&1&&(c(0,"c-multi-select-option",3),b(),d(1,"svg",4),x(),c(2,"b"),s(3),m(),s(4),m()),n&2){let _=i.even,l=i.index,e=i.$implicit,t=V();p("disabled",e.disabled)("label",e.label)("ngStyle",N(10,X,_?"#ffeeee":"#eeffee"))("text",e.text)("value",e.value)("visible",e.visible),r(),p("cIcon",_?t.icons.cilPaperclip:t.icons.cilFolderOpen),r(2),v("",e.value,"."),r(),M(" ",e.label," [idx: ",l,"] ")}}var me=(()=>{let i=class i{constructor(l){this.optionsService=l,this.icons={cilPaperclip:K,cilFolderOpen:z},this.searchValue$=new S(""),this.formGroup=new R({sampleSelect:new k([200])}),this.options$=this.optionsService.search(this.searchValue$).pipe(g(e=>e.map(t=>{let o=parseInt(t.id),a=t.last_name,Q=`${t.last_name} [${o}]`;return{value:o,label:a,text:Q}})))}handleValueChange(l){console.log("handleValueChange",l)}};i.\u0275fac=function(e){return new(e||i)(F(u))},i.\u0275cmp=C({type:i,selectors:[["docs-multi-select14"]],standalone:!0,features:[G([u]),T],decls:8,vars:11,consts:[[3,"formGroup"],["formControlName","sampleSelect","itemMinWidth","333","virtualScroller","",3,"searchValueChange","valueChange","multiple","options","search","visibleItems"],["cTemplateId","multiSelectOptionTemplate"],[3,"disabled","label","ngStyle","text","value","visible"],[1,"me-1",3,"cIcon"]],template:function(e,t){if(e&1&&(c(0,"form",0)(1,"p"),s(2),f(3,"json"),m(),d(4,"hr"),c(5,"c-multi-select",1),f(6,"async"),I("searchValueChange",function(a){return t.searchValue$.next(a)})("valueChange",function(a){return t.handleValueChange(a)}),y(7,Y,5,12,"ng-template",2),m()()),e&2){let o;p("formGroup",t.formGroup),r(2),v("Form value: ",h(3,6,t.formGroup.value),""),r(3),p("multiple",!0)("options",(o=h(6,8,t.options$))!==null&&o!==void 0?o:$(10,U))("search","external")("visibleItems",8)}},dependencies:[D,w,P,q,W,O,L,A,j,B,H,J,E],encapsulation:2});let n=i;return n})();export{me as MultiSelect14Component}; diff --git a/angular/docs/chunk-KCYAHR4C.js b/angular/docs/chunk-5TFAQITA.js similarity index 93% rename from angular/docs/chunk-KCYAHR4C.js rename to angular/docs/chunk-5TFAQITA.js index 97fd9122dd9..cc983d47b08 100644 --- a/angular/docs/chunk-KCYAHR4C.js +++ b/angular/docs/chunk-5TFAQITA.js @@ -1 +1 @@ -import{d as k}from"./chunk-FIXU3TFH.js";import{ca as v,f as y,ia as f,qb as C}from"./chunk-O6V6MKDU.js";import{e as t,f as l,g as h}from"./chunk-MGAX33HK.js";var B=(()=>{var n,e,c,i,u,o,m,p,d;let a=class a{constructor(){l(this,o);l(this,n);l(this,e);l(this,c);l(this,i);l(this,u);l(this,d);h(this,n,new y),this.backdropClick$=t(this,n).asObservable(),h(this,e,f(k)),h(this,c,f(C)),h(this,i,t(this,c).createRenderer(null,null)),this.scrollbarWidth=t(this,o,m),h(this,d,!0)}setBackdrop(s="modal"){let r=t(this,i).createElement("div");return t(this,i).addClass(r,`${s}-backdrop`),t(this,i).addClass(r,"fade"),t(this,i).appendChild(t(this,e).body,r),h(this,u,t(this,i).listen(r,"click",W=>{this.onClickHandler()})),this.scrollbarWidth=t(this,o,m),setTimeout(()=>{t(this,i).addClass(r,"show")}),this.activeBackdrop=r,r}clearBackdrop(s){s&&(t(this,u).call(this),t(this,i).removeClass(s,"show"),setTimeout(()=>{t(this,i).removeChild(t(this,e).body,s),this.activeBackdrop===s&&this.resetScrollbar(),s=void 0},300))}hideScrollbar(){t(this,d)&&(t(this,i).setStyle(t(this,e).body,"overflow","hidden"),t(this,i).setStyle(t(this,e).body,`padding-${t(this,o,p)?"left":"right"}`,this.scrollbarWidth),h(this,d,!1))}resetScrollbar(){t(this,i).removeStyle(t(this,e).body,"overflow"),t(this,i).removeStyle(t(this,e).body,`padding-${t(this,o,p)?"left":"right"}`),h(this,d,!0)}onClickHandler(){t(this,n).next(!0)}};n=new WeakMap,e=new WeakMap,c=new WeakMap,i=new WeakMap,u=new WeakMap,o=new WeakSet,m=function(){let s=t(this,e).documentElement.clientWidth;return`${Math.abs((t(this,e).defaultView?.innerWidth??s)-s)}px`},p=function(){return t(this,e).documentElement.dir==="rtl"||t(this,e).body.dir==="rtl"},d=new WeakMap,a.\u0275fac=function(r){return new(r||a)},a.\u0275prov=v({token:a,factory:a.\u0275fac,providedIn:"root"});let b=a;return b})();export{B as a}; +import{d as k}from"./chunk-XHR4TYVD.js";import{ca as v,f as y,ia as f,qb as C}from"./chunk-6U7QZ4SV.js";import{e as t,f as l,g as h}from"./chunk-MGAX33HK.js";var B=(()=>{var n,e,c,i,u,o,m,p,d;let a=class a{constructor(){l(this,o);l(this,n);l(this,e);l(this,c);l(this,i);l(this,u);l(this,d);h(this,n,new y),this.backdropClick$=t(this,n).asObservable(),h(this,e,f(k)),h(this,c,f(C)),h(this,i,t(this,c).createRenderer(null,null)),this.scrollbarWidth=t(this,o,m),h(this,d,!0)}setBackdrop(s="modal"){let r=t(this,i).createElement("div");return t(this,i).addClass(r,`${s}-backdrop`),t(this,i).addClass(r,"fade"),t(this,i).appendChild(t(this,e).body,r),h(this,u,t(this,i).listen(r,"click",W=>{this.onClickHandler()})),this.scrollbarWidth=t(this,o,m),setTimeout(()=>{t(this,i).addClass(r,"show")}),this.activeBackdrop=r,r}clearBackdrop(s){s&&(t(this,u).call(this),t(this,i).removeClass(s,"show"),setTimeout(()=>{t(this,i).removeChild(t(this,e).body,s),this.activeBackdrop===s&&this.resetScrollbar(),s=void 0},300))}hideScrollbar(){t(this,d)&&(t(this,i).setStyle(t(this,e).body,"overflow","hidden"),t(this,i).setStyle(t(this,e).body,`padding-${t(this,o,p)?"left":"right"}`,this.scrollbarWidth),h(this,d,!1))}resetScrollbar(){t(this,i).removeStyle(t(this,e).body,"overflow"),t(this,i).removeStyle(t(this,e).body,`padding-${t(this,o,p)?"left":"right"}`),h(this,d,!0)}onClickHandler(){t(this,n).next(!0)}};n=new WeakMap,e=new WeakMap,c=new WeakMap,i=new WeakMap,u=new WeakMap,o=new WeakSet,m=function(){let s=t(this,e).documentElement.clientWidth;return`${Math.abs((t(this,e).defaultView?.innerWidth??s)-s)}px`},p=function(){return t(this,e).documentElement.dir==="rtl"||t(this,e).body.dir==="rtl"},d=new WeakMap,a.\u0275fac=function(r){return new(r||a)},a.\u0275prov=v({token:a,factory:a.\u0275fac,providedIn:"root"});let b=a;return b})();export{B as a}; diff --git a/angular/docs/chunk-YDBFBQQC.js b/angular/docs/chunk-5WZW3COL.js similarity index 94% rename from angular/docs/chunk-YDBFBQQC.js rename to angular/docs/chunk-5WZW3COL.js index bf788225d94..41b1288eea8 100644 --- a/angular/docs/chunk-YDBFBQQC.js +++ b/angular/docs/chunk-5WZW3COL.js @@ -1,4 +1,4 @@ -import{a as d,b as g,c as u}from"./chunk-ZRYKY3MP.js";import{i as c}from"./chunk-SPMMWGWV.js";import{g as D}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as C}from"./chunk-SWYVARVN.js";import{r as b}from"./chunk-JJFVMVK7.js";import{c as k,d as E}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as i,Cc as S,Dc as y,Oc as s,Pc as v,Qb as l,ac as t,bc as x,lb as r,mb as h,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var L=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination08-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["align","end","aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var I=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination07-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["align","center","aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var w=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination06-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["aria-label","Page navigation example","size","sm"],["cPageItem","",3,"active"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var F=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination05-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["aria-label","Page navigation example","size","lg"],["cPageItem","",3,"active"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var M=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination04-example"]],standalone:!0,features:[s],decls:16,vars:2,consts:[["aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""],["cPageItem","",3,"active"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",4)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0),r(6),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var T=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination03-example"]],standalone:!0,features:[s],decls:16,vars:2,consts:[["aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""],["cPageItem","",3,"active"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"span",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",4)(8,"span",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0),r(6),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var z=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination02-example"]],standalone:!0,features:[s],decls:18,vars:0,consts:[["aria-label","Page navigation example"],["cPageItem",""],["cPageLink","","aria-label","Previous",3,"routerLink"],["aria-hidden","true"],["cPageLink","",3,"routerLink"],["cPageLink","","aria-label","Next",3,"routerLink"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2)(3,"span",3),i(4,"\xAB"),t()()(),e(5,"li",1)(6,"a",4),i(7,"1"),t()(),e(8,"li",1)(9,"a",4),i(10,"2"),t()(),e(11,"li",1)(12,"a",4),i(13,"3"),t()(),e(14,"li",1)(15,"a",5)(16,"span",3),i(17,"\xBB"),t()()()())},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var A=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination01-example"]],standalone:!0,features:[s],decls:16,vars:0,consts:[["aria-label","Page navigation example"],["cPageItem",""],["cPageLink","",3,"routerLink"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",1)(5,"a",2),i(6,"1"),t()(),e(7,"li",1)(8,"a",2),i(9,"2"),t()(),e(10,"li",1)(11,"a",2),i(12,"3"),t()(),e(13,"li",1)(14,"a",2),i(15,"Next"),t()()())},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var N=`\`\`\`typescript +import{a as d,b as g,c as u}from"./chunk-637KEXIK.js";import{i as c}from"./chunk-FULSUUPP.js";import{g as D}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as C}from"./chunk-MH6VOBXJ.js";import{r as b}from"./chunk-Q5WIR6QR.js";import{c as k,d as E}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as i,Cc as S,Dc as y,Oc as s,Pc as v,Qb as l,ac as t,bc as x,lb as r,mb as h,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var L=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination08-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["align","end","aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var I=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination07-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["align","center","aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var w=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination06-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["aria-label","Page navigation example","size","sm"],["cPageItem","",3,"active"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var F=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination05-example"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["aria-label","Page navigation example","size","lg"],["cPageItem","",3,"active"],["cPageLink","",3,"routerLink"],["cPageItem",""]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",3)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var M=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination04-example"]],standalone:!0,features:[s],decls:16,vars:2,consts:[["aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""],["cPageItem","",3,"active"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",4)(8,"a",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0),r(6),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var T=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination03-example"]],standalone:!0,features:[s],decls:16,vars:2,consts:[["aria-label","Page navigation example"],["cPageItem","",3,"disabled"],["cPageLink","",3,"routerLink"],["cPageItem",""],["cPageItem","",3,"active"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"span",2),i(3,"Previous"),t()(),e(4,"li",3)(5,"a",2),i(6,"1"),t()(),e(7,"li",4)(8,"span",2),i(9,"2"),t()(),e(10,"li",3)(11,"a",2),i(12,"3"),t()(),e(13,"li",3)(14,"a",2),i(15,"Next"),t()()()),a&2&&(r(),l("disabled",!0),r(6),l("active",!0))},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var z=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination02-example"]],standalone:!0,features:[s],decls:18,vars:0,consts:[["aria-label","Page navigation example"],["cPageItem",""],["cPageLink","","aria-label","Previous",3,"routerLink"],["aria-hidden","true"],["cPageLink","",3,"routerLink"],["cPageLink","","aria-label","Next",3,"routerLink"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2)(3,"span",3),i(4,"\xAB"),t()()(),e(5,"li",1)(6,"a",4),i(7,"1"),t()(),e(8,"li",1)(9,"a",4),i(10,"2"),t()(),e(11,"li",1)(12,"a",4),i(13,"3"),t()(),e(14,"li",1)(15,"a",5)(16,"span",3),i(17,"\xBB"),t()()()())},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var A=(()=>{let n=class n{};n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=p({type:n,selectors:[["docs-pagination01-example"]],standalone:!0,features:[s],decls:16,vars:0,consts:[["aria-label","Page navigation example"],["cPageItem",""],["cPageLink","",3,"routerLink"]],template:function(a,f){a&1&&(e(0,"c-pagination",0)(1,"li",1)(2,"a",2),i(3,"Previous"),t()(),e(4,"li",1)(5,"a",2),i(6,"1"),t()(),e(7,"li",1)(8,"a",2),i(9,"2"),t()(),e(10,"li",1)(11,"a",2),i(12,"3"),t()(),e(13,"li",1)(14,"a",2),i(15,"Next"),t()()())},dependencies:[u,g,d,c],encapsulation:2});let o=n;return o})();var N=`\`\`\`typescript import { PaginationModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-JIBW4UCM.js b/angular/docs/chunk-5YT6LIJX.js similarity index 98% rename from angular/docs/chunk-JIBW4UCM.js rename to angular/docs/chunk-5YT6LIJX.js index 82eae488466..7da14d6aa3b 100644 --- a/angular/docs/chunk-JIBW4UCM.js +++ b/angular/docs/chunk-5YT6LIJX.js @@ -1,4 +1,4 @@ -import{a as ie,b as be,c as Kt}from"./chunk-XQG32QJB.js";import{a as Me}from"./chunk-SQZNSUR4.js";import"./chunk-ZRYKY3MP.js";import{a as he}from"./chunk-PERFRTVS.js";import{a as It,b as Et,c as kt}from"./chunk-KQYWJLIW.js";import{a as Wt}from"./chunk-FZ7UQHE3.js";import{a as At}from"./chunk-C434TJEI.js";import"./chunk-3WH63G7J.js";import{a as Dt}from"./chunk-KHEJVAJA.js";import{c as Vt}from"./chunk-FHDSBCC2.js";import"./chunk-FPQGXMEQ.js";import{h as Zt,i as Xt,m as en,u as tn}from"./chunk-VP4RI3NG.js";import{a as Rt,c as zt,e as Ut}from"./chunk-7XKRTNVZ.js";import"./chunk-J4FX3WSX.js";import{c as Nt}from"./chunk-6VQYNMHT.js";import"./chunk-4EHRG2WJ.js";import{a as Yt}from"./chunk-YDIXRUSA.js";import{d as Bt,e as He,h as je,i as Le}from"./chunk-C5JPXVV5.js";import{A as Mt,e as Ot,l as $t,s as Ht,t as jt,u as Lt}from"./chunk-JZLZFTWK.js";import"./chunk-GHTCDR3O.js";import{b as wt}from"./chunk-J37AVTJX.js";import{b as Oe,c as z}from"./chunk-R2HXWLDR.js";import"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as $e}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{b as Gt}from"./chunk-EBCID5MY.js";import{g as Qt}from"./chunk-QWXOJRTG.js";import{a as We}from"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as qt}from"./chunk-SWYVARVN.js";import{r as Jt}from"./chunk-JJFVMVK7.js";import{c as Pt,d as Ft}from"./chunk-FX553NHW.js";import{a as xt,b as vt}from"./chunk-ATBE6YUJ.js";import{m as te,n as Tt,o as Ve,p as Ae,q as Ie,r as Ee,s as ke,t as fe,u as ne}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as s,Aa as S,Ac as D,Ba as y,Bc as g,C as Xe,Ca as re,Cc as L,Dc as O,Ec as _t,F as de,Fc as gt,Gb as Fe,Gc as ft,Hc as ht,Ia as ot,Jb as _,K as se,Kc as ce,La as st,Lc as le,Mc as me,Na as H,Nc as bt,Oc as F,Pb as we,Pc as b,Q as ve,Qb as p,Qc as ee,Rc as ge,Ub as _e,Uc as Ct,V as et,W as ye,Wb as x,Wc as R,Xc as G,Y as tt,Yb as Y,Zb as Z,_b as X,_c as V,ac as o,bc as T,ca as nt,cc as J,dc as q,ec as k,f as xe,fc as I,g as B,ha as it,ia as Pe,jd as St,kd as yt,lb as c,mb as Q,mc as E,n as Qe,na as P,nd as W,oc as m,od as Ue,pa as at,pc as ct,pd as De,q as Se,qa as lt,qc as mt,r as Ye,tc as ut,vc as pt,wc as dt,x as Ze,xa as rt,zb as ae}from"./chunk-O6V6MKDU.js";import{a as f,b as N,c as pe,e as w,f as $,g as A}from"./chunk-MGAX33HK.js";var oe=(()=>{var a,i,n;let t=class t{constructor(r,u){$(this,a);$(this,i);$(this,n);this.elementRef=r,this.destroyRef=u,A(this,a,""),this.value$=new B(""),this.emitObject={value:"",type:"",column:""},this.delay=300,this.onEvent="input",this.valueChange=new H}set value(r){this.value$.next(r)}ngAfterViewInit(){this.setSubscription()}setSubscription(){A(this,i,this.value$.pipe(se(),We(this.destroyRef)).subscribe(u=>{w(this,a)!==u&&(A(this,a,u),this.emitObject=N(f({},this.emitObject),{value:u,type:this.onEvent}),this.valueChange.emit(f({},this.emitObject)))}));let r=this.onEvent==="change"?0:this.delay;A(this,n,Ze(this.elementRef.nativeElement,this.onEvent).pipe(Se(u=>u.target.value),de(r),We(this.destroyRef)).subscribe(u=>{u!==w(this,a)&&this.value$.next(u)}))}};a=new WeakMap,i=new WeakMap,n=new WeakMap,t.\u0275fac=function(u){return new(u||t)(Q(st),Q(ot))},t.\u0275dir=at({type:t,selectors:[["","cFilterInput",""]],inputs:{delay:"delay",onEvent:"onEvent",value:"value"},outputs:{valueChange:"valueChange"},exportAs:["cFilterInput"],standalone:!0});let e=t;return e})();function On(e,a){if(e&1&&(s(0,"label",0),g(1),o()),e&2){let i=m();p("ngClass",i.labelClasses),c(),O(" ",i.filterLabel," ")}}var nn=(()=>{var a;let i=class i{constructor(){$(this,a);A(this,a,Pe(oe)),this.value$=w(this,a).value$,this.filterLabel="Filter:",this.filterPlaceholder="Filter"}get hostClasses(){return{row:!0,"mb-2":!0}}get labelClasses(){return{"col-form-label":!0,[`col-form-label-${this.sizing}`]:!!this.sizing}}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=P({type:i,selectors:[["c-smart-table-filter"]],hostVars:2,hostBindings:function(l,r){l&2&&_e(r.hostClasses)},inputs:{filterLabel:"filterLabel",filterPlaceholder:"filterPlaceholder",sizing:"sizing"},standalone:!0,features:[F],decls:4,vars:6,consts:[["cLabel","col",1,"col-auto",3,"ngClass"],[1,"col-auto"],["autocomplete","off","cFormControl","","size","10",3,"placeholder","sizing","value"]],template:function(l,r){l&1&&(_(0,On,2,2,"label",0),s(1,"div",1),T(2,"input",2),R(3,"async"),o()),l&2&&(x(r.filterLabel?0:-1),c(2),p("placeholder",r.filterPlaceholder)("sizing",r.sizing)("value",G(3,4,r.value$)))},dependencies:[Le,He,te,ne],encapsulation:2,changeDetection:0});let e=i;return e})();var an=(e,a,i)=>{let n=e.closest("tr"),t=n?Array.from(n.children):[],l=t.filter(r=>r.contains(e))[0];return a[t.indexOf(l)-(i?1:0)]},Ke=e=>typeof e=="object"?e.key:e,ln=e=>typeof e=="object"&&e.label!==void 0?e.label:$n(Ke(e));var Je=(e,a)=>{if(e?.length){let i=[];for(let n of e){if(typeof n=="object"&&n.children){i.push(...Je(n.children,[]));continue}typeof n=="object"?i.push(n.key):i.push(n)}return i}return Be(a)},Ce=e=>{let a=[];for(let i of e){if(typeof i=="object"&&i.group&&i.children){a.push(...Ce(i.children));continue}typeof i=="object"&&i.children&&a.push(...Ce(i.children)),a.push(i)}return a},rn=(e,a=0)=>{let i=a;for(let n of e)n.children||i++,n.children&&(i=rn(n.children,i));return i},on=e=>{let a=[],i=(t,l=0,r=0)=>{let u=[];if(t.children)for(let d of t.children)d.group||r++,u.push(...i(d,l+1,r));if(typeof t=="object"&&t.group){let h=t,{children:d,group:C}=h,v=pe(h,["children","group"]);u.push(f(f({deep:l,label:C},d&&{colspan:rn(d)}),v))}return u};if(e){for(let t of e)if(typeof t=="object"&&t.group){let l=i(t);if(l)for(let r of l){let n=r,{deep:u}=n,h=pe(n,["deep"]);if(u!==void 0){for(let d=0;dObject.keys(e[0]||{}).filter(a=>a.charAt(0)!=="_");var Te=e=>{let a=/\s+/,i=typeof e=="string"?e.trim().split(a):e,n={};if(Array.isArray(i)||i instanceof Set){for(let t of i)n[t]=!0;return n}return i??{}},sn=(e,a)=>{let i=Te(e?._colClass??{}),n=Te(a._class??{}),t=Te(a._cellClass?._all??{}),l=Te(a._cellClass?.[e.key]??{});return f(f(f(f({},i),n),t),l)},cn=(e,a)=>{let i={};return typeof e=="object"&&e._colProps&&Object.assign(i,e._colProps),a._cellProps?._all&&Object.assign(i,a._cellProps._all),a._cellProps?.[e.key]&&Object.assign(i,a._cellProps[e.key]),i},mn=(e,a)=>{let i={};return typeof e=="object"&&e._colStyle&&Object.assign(i,e._colStyle),a._cellStyle?._all&&Object.assign(i,a._cellStyle._all),a._cellStyle?.[e.key]&&Object.assign(i,a._cellStyle[e.key]),f({},i)},un=e=>{if(typeof e=="object"&&e._props){let a=f({},e._props),{color:i}=a;return pe(a,["color"])}return{}},pn=e=>{let a=Te(e?._classes??{});return f({},a)},dn=(e,a)=>{let i={verticalAlign:"middle",overflow:"hidden",cursor:a?"pointer":""};return typeof e=="object"&&e._style?f(f({},i),e._style):f({},i)},$n=e=>e.replace(/[-_.]/g," ").replace(/ +/g," ").replace(/([a-z0-9])([A-Z])/g,"$1 $2").split(" ").map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ");var _n=(()=>{var a;let i=class i{constructor(){$(this,a);A(this,a,Pe(oe)),this.value$=w(this,a).value$,this.sizing="sm"}set column(t){w(this,a).emitObject=N(f({},w(this,a).emitObject),{column:t})}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=P({type:i,selectors:[["c-smart-table-column-filter"]],inputs:{column:"column",sizing:"sizing"},standalone:!0,features:[F],decls:2,vars:4,consts:[["autocomplete","off","cFormControl","",3,"sizing","value"]],template:function(l,r){l&1&&(T(0,"input",0),R(1,"async")),l&2&&p("sizing",r.sizing)("value",G(1,2,r.value$))},dependencies:[Le,ne],encapsulation:2,changeDetection:0});let e=i;return e})();var gn=(()=>{let a=class a{transform(n,...t){return ln(n)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275pipe=lt({name:"columnLabel",type:a,pure:!0,standalone:!0});let e=a;return e})();var fn=(e,a)=>({$implicit:e,header:a}),Hn=e=>({$implicit:e});function jn(e,a){e&1&&k(0)}function Ln(e,a){if(e&1&&_(0,jn,1,0,"ng-container",7),e&2){let i=m();p("ngTemplateOutlet",i.summaryRowTemplate)}}function Mn(e,a){e&1&&T(0,"th")}function Bn(e,a){if(e&1&&(s(0,"th",8),g(1),o()),e&2){let i,n=a.$implicit,t=m(3);p("cHtmlAttr",t.getTableHeaderCellProps(n))("cTableColor",t.tableHeaderCellColor(n))("colSpan",(i=n.colspan)!==null&&i!==void 0?i:1)("ngStyle",t.getTableHeaderCellStyles(n,t.columnSorter)),c(),O(" ",n.label," ")}}function Nn(e,a){if(e&1&&(s(0,"tr"),_(1,Mn,1,0,"th"),Z(2,Bn,2,5,"th",8,Y),o()),e&2){let i=a.$implicit,n=m(2);c(),x(n.selectable?1:-1),c(),X(i)}}function Rn(e,a){if(e&1&&Z(0,Nn,4,1,"tr",null,Y),e&2){let i=m();X(i.columnGroups$())}}function Gn(e,a){if(e&1){let i=I();s(0,"th")(1,"input",9),R(2,"async"),E("change",function(t){S(i);let l=m();return y(l.handleSelectAllChecked(t))}),o()()}if(e&2){let i=m();c(),p("checked",i.selectedAll===!0)("disabled",!i.selectAll)("indeterminate",G(2,3,i.indeterminate$))}}function zn(e,a){e&1&&k(0)}function Un(e,a){if(e&1&&_(0,zn,1,0,"ng-container",11),e&2){let i=m().$implicit,n=m(),t=D(12);p("ngTemplateOutlet",t)("ngTemplateOutletContext",ee(2,Hn,n.getColumnSorterState(i)))}}function Wn(e,a){e&1&&k(0)}function Kn(e,a){if(e&1){let i=I();s(0,"th",10),E("click",function(){let t=S(i),l=t.$implicit,r=t.$index,u=m();return y(u.handleSortClick(l,r))})("keydown",function(t){let l=S(i),r=l.$implicit,u=l.$index,h=m();return y(h.handleSortKeyDown(t,r,u))}),_(1,Un,1,4,"ng-container")(2,Wn,1,0,"ng-container",11),o()}if(e&2){let i,n=a.$implicit,t=m(),l=D(8);p("cHtmlAttr",t.getTableHeaderCellProps(n))("cTableColor",t.tableHeaderCellColor(n))("ngClass",t.getTableHeaderCellClass(n))("ngStyle",t.getTableHeaderCellStyles(n,t.columnSorter))("tabindex",t.columnSorter&&t.columnSorterEnabled(n)?0:-1),we("aria-sort",t.getAriaSort(n)),c(),x(t.columnSorter&&t.columnSorterEnabled(n)?1:-1),c(),p("ngTemplateOutlet",(i=t.columnLabelTemplates[t.getColumnLabel(n)])!==null&&i!==void 0?i:l)("ngTemplateOutletContext",ge(9,fn,n,t))}}function Jn(e,a){e&1&&T(0,"th")}function qn(e,a){e&1&&k(0)}function Qn(e,a){if(e&1&&(s(0,"th",12),_(1,qn,1,0,"ng-container",11),o()),e&2){let i,n=a.$implicit,t=m(2),l=D(10);p("cHtmlAttr",t.getTableHeaderCellProps(n))("cTableColor",t.tableHeaderCellColor(n))("ngStyle",t.getTableHeaderCellStyles(n,t.columnSorter)),c(),p("ngTemplateOutlet",(i=t.columnFilterTemplates[t.getColumnFilter(n)])!==null&&i!==void 0?i:l)("ngTemplateOutletContext",ge(5,fn,n,t))}}function Yn(e,a){if(e&1&&(s(0,"tr"),_(1,Jn,1,0,"th"),Z(2,Qn,2,8,"th",12,Y),o()),e&2){let i=m();c(),x(i.selectable?1:-1),c(),X(i.columns)}}function Zn(e,a){if(e&1&&(s(0,"div",13),g(1),R(2,"columnLabel"),o()),e&2){let i=a.$implicit;c(),L(G(2,1,i))}}function Xn(e,a){if(e&1){let i=I();s(0,"c-smart-table-column-filter",15),E("valueChange",function(t){S(i);let l=m(2);return y(l.handleColumnFilterValueChange(t))}),o()}if(e&2){let i,n=m().$implicit,t=m();p("column",n)("delay",300)("onEvent",t.columnFilterEvent)("value",(i=t.columnFilterState[t.columnKey(n)])!==null&&i!==void 0?i:"")}}function ei(e,a){if(e&1&&_(0,Xn,1,4,"c-smart-table-column-filter",14),e&2){let i=a.$implicit,n=m();x(n.columnFilterEnabled(i)?0:-1)}}function ti(e,a){e&1&&k(0)}function ni(e,a){if(e&1&&(s(0,"span",16),_(1,ti,1,0,"ng-container",7),o()),e&2){m(2);let i=D(16);c(),p("ngTemplateOutlet",i)}}function ii(e,a){e&1&&k(0)}function ai(e,a){if(e&1&&(s(0,"span",16),_(1,ii,1,0,"ng-container",7),o()),e&2){m(2);let i=D(18);c(),p("ngTemplateOutlet",i)}}function li(e,a){e&1&&k(0)}function ri(e,a){if(e&1&&(s(0,"span",17),_(1,li,1,0,"ng-container",7),o()),e&2){m(2);let i=D(14);c(),p("ngTemplateOutlet",i)}}function oi(e,a){if(e&1&&_(0,ni,2,1,"span",16)(1,ai,2,1,"span",16)(2,ri,2,1,"span",17),e&2){let i,n=a.$implicit;x((i=n)==="asc"?0:i==="desc"?1:2)}}function si(e,a){e&1&&(re(),s(0,"svg",18),T(1,"polygon",19)(2,"polygon",20),o())}function ci(e,a){e&1&&(re(),s(0,"svg",18),T(1,"polygon",21),o())}function mi(e,a){e&1&&(re(),s(0,"svg",18),T(1,"polygon",22),o())}var hn=(()=>{var a,i,n,t,l,r;let u=class u{constructor(){$(this,a);$(this,i);$(this,n);$(this,t);$(this,l);$(this,r);this.getTableHeaderCellStyles=dn,this.getTableHeaderCellProps=un,this.getTableHeaderCellClass=pn,this.columnFilterState={},this.columnSorter=!0,this.component="thead",A(this,a,ae(void 0)),this.columnGroups$=ae([]),this.selectAll=!0,A(this,n,!1),this.showGroups=!1,A(this,t,{}),A(this,l,{}),A(this,r,null),this.indeterminate$=new B(!1),this.columnFilterStateChange=new H,this.sorterStateChange=new H,this.selectAllChange=new H}set columns(d){let C=d?Ce(d):[];w(this,a).set(C)}get columns(){return w(this,a).call(this)}set columnGroups(d){this.columnGroups$.set(d)}set selectedAll(d){this.indeterminate$.next(d==="indeterminate"),A(this,n,d==="indeterminate"?!1:W(d)),d!=="indeterminate"&&A(this,i,w(this,n))}get selectedAll(){return w(this,n)}set columnFilterTemplates(d){A(this,t,f({},d))}get columnFilterTemplates(){return w(this,t)}set columnLabelTemplates(d){A(this,l,f({},d))}get columnLabelTemplates(){return w(this,l)}set summaryRowTemplate(d){A(this,r,d)}get summaryRowTemplate(){return w(this,r)}get hostClasses(){return{thead:this.component==="thead",tfoot:this.component==="tfoot"}}ngOnInit(){this.columns?.forEach((d,C)=>{let v=this.columnKey(d);this.columnFilterState[v]=this.columnFilterState[v]??""})}tableHeaderCellColor(d){if(typeof d=="object"&&d._props){let{color:C}=f({},d._props);return C}return""}columnKey(d){return typeof d=="object"?d.key:d}getColumnSorterState(d){let C=this.columnKey(d);return this.sorterValue?.column===C&&this.sorterValue.state?this.sorterValue.state:0}handleSortClick(d,C,v){if(this.columnSorterEnabled(d)){let U=this.columnKey(d);this.sorterStateChange.emit({columnKey:U,index:C,order:v})}}handleSortKeyDown(d,C,v){let U=d.code;if(["Enter","Space","ArrowUp","ArrowDown"].includes(U)){d.preventDefault();let ue=U==="ArrowUp"?"asc":U==="ArrowDown"?"desc":void 0;this.handleSortClick(C,v,ue)}}columnFilterEnabled(d){return typeof d!="object"||typeof d.filter>"u"?!0:d.filter}columnSorterEnabled(d){return this.columnSorter?typeof d!="object"||typeof d.sorter>"u"?!0:d.sorter:!1}handleColumnFilterValueChange(d){let{value:C,type:v,column:U}=f({},d),ue=this.columnKey(U),ze=C,qe=typeof this.columnFilter=="object"&&this.columnFilter.lazy===!0;(qe&&v==="input"||!qe&&v==="change")&&ze.length!==0||(this.columnFilterState[this.columnKey(U)]=ze,this.columnFilterStateChange.emit({column:ue,value:ze,type:v}))}handleSelectAllChecked(d){d.preventDefault(),d.target.checked=!w(this,i);let C=d.target.checked;this.selectAllChange.emit(C)}getColumnFilter(d){return`columnFilter_${this.columnKey(d)??"_undefined"}`}getColumnLabel(d){return typeof d=="object"&&d._labelTemplateId?`columnLabel_${d._labelTemplateId??"_undefined"}`:`columnLabel_${this.columnKey(d)??"_undefined"}`}get columnFilterEvent(){return typeof this.columnFilter=="object"&&this.columnFilter.lazy?"change":"input"}getAriaSort(d){let C=this.getColumnSorterState(d);return C==="asc"?"ascending":C==="desc"?"descending":null}};a=new WeakMap,i=new WeakMap,n=new WeakMap,t=new WeakMap,l=new WeakMap,r=new WeakMap,u.\u0275fac=function(C){return new(C||u)},u.\u0275cmp=P({type:u,selectors:[["c-smart-table-head"]],hostVars:2,hostBindings:function(C,v){C&2&&_e(v.hostClasses)},inputs:{columnFilter:"columnFilter",columnFilterState:"columnFilterState",columnSorter:"columnSorter",component:"component",columns:"columns",columnGroups:"columnGroups",selectable:[2,"selectable","selectable",W],selectAll:[2,"selectAll","selectAll",W],selectedAll:"selectedAll",showGroups:[2,"showGroups","showGroups",W],sorterValue:"sorterValue",columnFilterTemplates:"columnFilterTemplates",columnLabelTemplates:"columnLabelTemplates",summaryRowTemplate:"summaryRowTemplate"},outputs:{columnFilterStateChange:"columnFilterStateChange",sorterStateChange:"sorterStateChange",selectAllChange:"selectAllChange"},standalone:!0,features:[Fe,F],decls:19,vars:4,consts:[["defaultColumnLabel",""],["defaultColumnFilter",""],["columnSorterIconTemplate",""],["sortingIconTemplate",""],["sortingIconAscendingTemplate",""],["sortingIconDescendingTemplate",""],[3,"cHtmlAttr","cTableColor","ngClass","ngStyle","tabindex"],[4,"ngTemplateOutlet"],[3,"cHtmlAttr","cTableColor","colSpan","ngStyle"],["autocomplete","off","cFormCheckInput","","type","checkbox",3,"change","checked","disabled","indeterminate"],[3,"click","keydown","cHtmlAttr","cTableColor","ngClass","ngStyle","tabindex"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"cHtmlAttr","cTableColor","ngStyle"],[1,"d-inline"],["cFilterInput","","sizing","sm",3,"column","delay","onEvent","value"],["cFilterInput","","sizing","sm",3,"valueChange","column","delay","onEvent","value"],[1,"float-end","mx-1"],[1,"opacity-25","float-end","mx-1"],["role","img","viewBox","0 0 512 512","width","18","xmlns","http://www.w3.org/2000/svg",1,"icon","icon-custom-size"],["fill","var(--ci-primary-color, currentColor)","points","384 433.373 384 160 352 160 352 434.51 282.177 364.687 259.55 387.313 367.432 495.196 475.313 387.313 452.687 364.687 384 433.373",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","159.432 17.372 51.55 125.255 74.177 147.882 144 78.059 144 352 176 352 176 79.195 244.687 147.882 267.313 125.255 159.432 17.372",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","390.624 150.625 256 16 121.376 150.625 144.004 173.252 240.001 77.254 240.001 495.236 272.001 495.236 272.001 77.257 367.996 173.252 390.624 150.625",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","367.997 338.75 271.999 434.747 271.999 17.503 239.999 17.503 239.999 434.745 144.003 338.75 121.376 361.377 256 496 390.624 361.377 367.997 338.75",1,"ci-primary"]],template:function(C,v){C&1&&(_(0,Ln,1,1,"ng-container")(1,Rn,2,0),s(2,"tr"),_(3,Gn,3,5,"th"),Z(4,Kn,3,12,"th",6,Y),o(),_(6,Yn,4,1,"tr")(7,Zn,3,3,"ng-template",null,0,V)(9,ei,1,1,"ng-template",null,1,V)(11,oi,3,1,"ng-template",null,2,V)(13,si,3,0,"ng-template",null,3,V)(15,ci,2,0,"ng-template",null,4,V)(17,mi,2,0,"ng-template",null,5,V)),C&2&&(x(v.component==="tfoot"?0:-1),c(),x(v.showGroups?1:-1),c(2),x(v.selectable?3:-1),c(),X(v.columns),c(2),x(v.columnFilter?6:-1))},dependencies:[oe,je,Oe,_n,ie,ne,ke,fe,gn,te],styles:["[_nghost-%COMP%]{-webkit-user-select:none;user-select:none}.thead[_nghost-%COMP%]{display:table-header-group;vertical-align:middle;border-color:inherit}.tfoot[_nghost-%COMP%]{display:table-footer-group;vertical-align:middle;border-color:inherit}"],changeDetection:0});let e=u;return e})();function ui(e,a){if(e&1&&(s(0,"option",3),g(1),o()),e&2){let i=a.$implicit;p("ngValue",i),c(),L(i)}}var bn=(()=>{var a;let i=class i{constructor(){$(this,a);A(this,a,5),this.itemsPerPageLabel="Items per page:",this.itemsPerPageOptions=[5,10,20,50],this.itemsPerPageChange=new H}set itemsPerPage(t){w(this,a)!=t&&(A(this,a,t),this.itemsPerPageChange.emit(t))}get itemsPerPage(){return w(this,a)}get hostClasses(){return{row:!0}}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=P({type:i,selectors:[["c-smart-table-items-per-page-selector"]],hostVars:2,hostBindings:function(l,r){l&2&&_e(r.hostClasses)},inputs:{itemsPerPage:"itemsPerPage",itemsPerPageLabel:"itemsPerPageLabel",itemsPerPageOptions:"itemsPerPageOptions"},outputs:{itemsPerPageChange:"itemsPerPageChange"},standalone:!0,features:[F],decls:6,vars:2,consts:[["cLabel","col",1,"col-sm-auto"],[1,"col-auto"],["cSelect","","name","itemsPerPageSelector",3,"ngModelChange","ngModel"],[3,"ngValue"]],template:function(l,r){l&1&&(s(0,"label",0),g(1),o(),s(2,"div",1)(3,"select",2),me("ngModelChange",function(h){return le(r.itemsPerPage,h)||(r.itemsPerPage=h),h}),Z(4,ui,2,2,"option",3,Y),o()()),l&2&&(c(),L(r.itemsPerPageLabel),c(2),ce("ngModel",r.itemsPerPage),c(),X(r.itemsPerPageOptions))},dependencies:[Bt,He,Mt,jt,Lt,Ht,Ot,$t],encapsulation:2});let e=i;return e})();var pi=[[["","customHeader",""]]],di=["[customHeader]"],Ne=()=>({}),_i=e=>({"ms-1":e}),gi=()=>["top"],fi=e=>({sides:e,query:"td"}),hi=()=>["bottom"],bi=e=>({sides:e,query:"tbody"}),Ci=(e,a)=>[e,a],Si=e=>({cursor:e}),yi=(e,a,i,n,t)=>({column:e,item:a,columnName:i,tdContent:n,cellProps:t}),Ti=()=>({borderBottomWidth:0}),xi=()=>({border:0}),vi=(e,a)=>({item:e,index:a});function Pi(e,a){e&1&&k(0)}function Fi(e,a){if(e&1&&(s(0,"div",15),_(1,Pi,1,0,"ng-container",11),o()),e&2){m();let i=D(5);c(),p("ngTemplateOutlet",i)}}function wi(e,a){e&1&&k(0)}function Di(e,a){if(e&1&&(s(0,"div",15),_(1,wi,1,0,"ng-container",11),o()),e&2){m();let i=D(7);c(),p("ngTemplateOutlet",i)}}function Vi(e,a){e&1&&k(0)}function Ai(e,a){if(e&1){let i=I();s(0,"c-smart-table-filter",17),E("valueChange",function(t){S(i);let l=m(3);return y(l.handleTableFilterChange(t))}),o()}if(e&2){let i=m(3);p("delay",300)("filterLabel",i.tableFilterLabel)("filterPlaceholder",i.tableFilterPlaceholder)("onEvent",i.tableFilterEvent)("value",i.tableFilterState)}}function Ii(e,a){if(e&1&&_(0,Ai,1,5,"c-smart-table-filter",16),e&2){let i=m(2);x(i.tableFilter?0:-1)}}function Ei(e,a){e&1&&k(0)}function ki(e,a){if(e&1){let i=I();s(0,"button",19),E("click",function(t){S(i);let l=m(3);return y(l.clean(t))}),_(1,Ei,1,0,"ng-container",11),o()}if(e&2){let i=m(3),n=D(16);p("disabled",!i.isFiltered)("ngClass",ee(3,_i,i.tableFilter)),c(),p("ngTemplateOutlet",n)}}function Oi(e,a){if(e&1&&_(0,ki,2,5,"button",18),e&2){let i=m(2);x(i.cleaner?0:-1)}}function $i(e,a){e&1&&(s(0,"div",20),mt(1),o())}function Hi(e,a){if(e&1&&(s(0,"div",7),_(1,Fi,2,1,"div",15)(2,Di,2,1,"div",15)(3,Vi,1,0,"ng-container",11)(4,Ii,1,1,"ng-template",null,4,V)(6,Oi,1,1,"ng-template",null,5,V)(8,$i,2,0,"ng-template",null,6,V),o()),e&2){let i=D(9),n=m();c(),x(n.tableFilter?1:-1),c(),x(n.cleaner?2:-1),c(),p("ngTemplateOutlet",n.templates.tableCustomHeader||i)}}function ji(e,a){if(e&1){let i=I();s(0,"c-smart-table-head",21),R(1,"async"),E("columnFilterStateChange",function(t){S(i);let l=m();return y(l.handleColumnFilterChange(t))})("selectAllChange",function(t){S(i);let l=m();return y(l.handleSelectAllChange(t))})("sorterStateChange",function(t){S(i);let l=m();return y(l.handleSortChange(t))}),o()}if(e&2){let i,n,t=m();p("cAlign",t.tableHeadProps==null?null:t.tableHeadProps.align)("cHtmlAttr",(i=t.tableHeadProps==null?null:t.tableHeadProps.attributes)!==null&&i!==void 0?i:b(17,Ne))("cTableColor",t.tableHeadProps==null?null:t.tableHeadProps.color)("columnFilterState",t.columnFilterState)("columnFilterTemplates",t.columnFilterTemplates)("columnFilter",t.columnFilter)("columnGroups",t.columnGroups$())("columnLabelTemplates",t.columnLabelTemplates)("columnSorter",t.columnSorter)("columns",t.columns$())("selectAll",t.selectAll)("selectable",t.selectable)("selectedAll",(n=G(1,15,t.selectedAllSubject))!==null&&n!==void 0?n:!1)("showGroups",t.showGroups$())("sorterValue",t.sorterValue)}}function Li(e,a){e&1&&k(0)}function Mi(e,a){e&1&&k(0)}function Bi(e,a){if(e&1&&(s(0,"tfoot"),_(1,Mi,1,0,"ng-container",11),o()),e&2){let i=m();c(),p("ngTemplateOutlet",i.summaryRowTemplate)}}function Ni(e,a){if(e&1){let i=I();s(0,"c-smart-table-head",22),R(1,"async"),E("selectAllChange",function(t){S(i);let l=m();return y(l.handleSelectAllChange(t))})("sorterStateChange",function(t){S(i);let l=m();return y(l.handleSortChange(t))}),o()}if(e&2){let i,n,t=m();p("cAlign",t.tableFootProps==null?null:t.tableFootProps.align)("cHtmlAttr",(i=t.tableFootProps==null?null:t.tableFootProps.attributes)!==null&&i!==void 0?i:b(14,Ne))("cTableColor",t.tableFootProps==null?null:t.tableFootProps.color)("columnFilterTemplates",t.columnFilterTemplates)("columnLabelTemplates",t.columnLabelTemplates)("columnSorter",t.columnSorter)("columns",t.columns$())("selectAll",t.selectAll)("selectable",t.selectable)("selectedAll",(n=G(1,12,t.selectedAllSubject))!==null&&n!==void 0?n:!1)("sorterValue",t.sorterValue)("summaryRowTemplate",t.summaryRowTemplate)}}function Ri(e,a){e&1&&T(0,"c-element-cover",13),e&2&&p("boundaries",ge(7,Ci,ee(2,fi,b(1,gi)),ee(5,bi,b(4,hi))))}function Gi(e,a){if(e&1){let i=I();s(0,"c-smart-pagination",27),E("activePageChange",function(t){S(i);let l=m(2);return y(l.setActivePage(t))}),o()}if(e&2){let i=m(2);p("activePage",i.activePage)("pages",i.numberOfPages)}}function zi(e,a){if(e&1){let i=I();s(0,"c-smart-table-items-per-page-selector",28),E("itemsPerPageChange",function(t){S(i);let l=m(2);return y(l.handleItemsPerPageChange(t))}),o()}if(e&2){let i=m(2);p("itemsPerPageLabel",i.itemsPerPageLabel)("itemsPerPageOptions",i.itemsPerPageOptions)("itemsPerPage",i.itemsPerPage)}}function Ui(e,a){if(e&1&&(s(0,"div",14)(1,"div",23),_(2,Gi,1,2,"c-smart-pagination",24),o(),s(3,"div",25),_(4,zi,1,3,"c-smart-table-items-per-page-selector",26),o()()),e&2){let i=m();c(2),x(i.pagination&&i.numberOfPages>1?2:-1),c(2),x(i.itemsPerPageSelect?4:-1)}}function Wi(e,a){if(e&1){let i=I();s(0,"td",31)(1,"input",32),E("change",function(t){S(i);let l=m().$implicit,r=m(2);return y(r.handleRowChecked(t,l))}),o()()}if(e&2){let i,n,t,l=m().$implicit;p("cAlign",l==null||l._cellProps==null||l._cellProps._all==null?null:l._cellProps._all.align)("cTableActive",(i=l==null||l._cellProps==null||l._cellProps._all==null?null:l._cellProps._all.active)!==null&&i!==void 0?i:void 0)("cTableColor",l==null||l._cellProps==null||l._cellProps._all==null?null:l._cellProps._all.color),c(),p("checked",(n=l._selected)!==null&&n!==void 0?n:!1)("disabled",(t=(l==null?null:l._selectable)===!1)!==null&&t!==void 0?t:!1)}}function Ki(e,a){e&1&&k(0)}function Ji(e,a){if(e&1&&_(0,Ki,1,0,"ng-container",33),e&2){let i=a.$implicit,n=m().$implicit,t=m(2),l=D(12);p("ngTemplateOutlet",t.templates.tableData||l)("ngTemplateOutletContext",Ct(2,yi,i,n,t.getColumnKey(i),n[i.key],t.getTableDataCellProps(i,n)))}}function qi(e,a){e&1&&k(0)}function Qi(e,a){if(e&1&&(s(0,"tr"),T(1,"td",34),o(),s(2,"tr",35)(3,"td",36),_(4,qi,1,0,"ng-container",33),o()()),e&2){let i=m(),n=i.$implicit,t=i.$index,l=m(2);c(),p("colSpan",l.colspan)("ngStyle",b(6,Ti)),c(2),p("colSpan",l.colspan)("ngStyle",b(7,xi)),c(),p("ngTemplateOutlet",l.templates.tableDetails)("ngTemplateOutletContext",ge(8,vi,n,t))}}function Yi(e,a){if(e&1){let i=I();s(0,"tr",30),E("click",function(t){let l=S(i),r=l.$implicit,u=l.$index,h=m(2);return y(h.handleRowClick({$event:t,item:r,i:u}))}),_(1,Wi,2,5,"td",31),Z(2,Ji,1,8,"ng-container",null,Y),o(),_(4,Qi,5,11)}if(e&2){let i,n=a.$implicit,t=m(2);p("cAlign",n._props==null?null:n._props.align)("cTableActive",(i=n._props==null?null:n._props.active)!==null&&i!==void 0?i:void 0)("cTableColor",n._props==null?null:n._props.color)("ngStyle",ee(7,Si,t.clickableRows?"pointer":"auto"))("tabindex",t.clickableRows?0:-1),c(),x(t.selectable?1:-1),c(),X(t.columns$()),c(2),x(t.templates.tableDetails?4:-1)}}function Zi(e,a){e&1&&k(0)}function Xi(e,a){if(e&1&&(s(0,"tbody",29),Z(1,Yi,5,9,null,null,Y),_(3,Zi,1,0,"ng-container",11),o()),e&2){let i,n=m(),t=D(14);p("cAlign",n.tableBodyProps==null?null:n.tableBodyProps.align)("cHtmlAttr",(i=n.tableBodyProps==null?null:n.tableBodyProps.attributes)!==null&&i!==void 0?i:b(4,Ne))("cTableColor",n.tableBodyProps==null?null:n.tableBodyProps.color),c(),X(n.currentItems),c(2),p("ngTemplateOutlet",t)}}function ea(e,a){if(e&1&&(s(0,"td",37),g(1),o()),e&2){let i,n,t=m(),l=t.cellProps,r=t.column,u=t.columnName,h=t.item,d=t.tdContent,C=m();p("cAlign",l==null?null:l.align)("cHtmlAttr",(i=l==null?null:l._attributes)!==null&&i!==void 0?i:void 0)("cTableActive",l==null?null:l.active)("cTableColor",(n=(n=l==null?null:l.color)!==null&&n!==void 0?n:r[u]==null||r[u]._colProps==null?null:r[u]._colProps.color)!==null&&n!==void 0?n:void 0)("ngClass",C.getTableDataCellClass(r,h))("ngStyle",C.getTableDataCellStyles(r,h)),c(),O(" ",d," ")}}function ta(e,a){if(e&1&&_(0,ea,2,7,"td",37),e&2){let i=a.tdContent;x(i!==void 0?0:-1)}}function na(e,a){if(e&1&&(s(0,"tr")(1,"td",38),g(2),o()()),e&2){let i=m(2);c(),p("colSpan",i.colspan),c(),L(i.noItemsLabel)}}function ia(e,a){if(e&1&&_(0,na,3,2,"tr"),e&2){let i=m();x(i.currentItems.length?-1:0)}}function aa(e,a){e&1&&(re(),s(0,"svg",39),T(1,"polygon",40)(2,"polygon",41),o())}var j=(()=>{let a=class a{constructor(n,t){this.iterableDiffers=n,this.keyValueDiffers=t,this.getColumnKey=Ke,this.getTableDataCellClass=sn,this.getTableDataCellProps=cn,this.getTableDataCellStyles=mn,this.selectedAllSubject=new B(!1),this._activePage=1,this.cleaner=!1,this.clickableRows=!1,this.columns$=ae([]),this.columnGroups$=ae([]),this.showGroups$=De(()=>!!this.columnGroups$().length),this._columnFilterValue={},this.footer=!1,this.header=!1,this.items$=ae([]),this._items=[],this._itemsPerPage=10,this.itemsPerPageLabel="Items per page:",this.itemsPerPageOptions=[5,10,20,50],this.noItemsLabel="No items found",this.pagination=!1,this._selectable=!1,this.selectAll=!0,this._sorterValue={},this.tableFilterLabel="Filter:",this.tableFilterPlaceholder="type string...",this._tableFilterValue="",this.tableBodyProps={},this.tableFootProps={},this.tableHeadProps={},this.tableProps={},this.selectedItemsChange=new H,this.sorterValueChange=new H,this.activePageChange=new H,this.itemsPerPageChange=new H,this.rowClick=new H,this.columnFilterValueChange=new H,this.filteredItemsChange=new H,this.tableFilterValueChange=new H,this.templates={tableDetails:null,tableData:null},this.columnFilterTemplates={},this.columnLabelTemplates={},this.summaryRowTemplate=null,this.rawColumnNames$=De(()=>Je(this.columns$(),this.items$())),this.itemsDataColumns$=De(()=>this.rawColumnNames$().filter(l=>Be(this.items$()).includes(l))),this._columnFiltered=[],this.itemsDiffer=this.iterableDiffers.find(this.items).create(),this.itemsFilteredDiffer=this.iterableDiffers.find(this._columnFiltered).create(),this.columFilterValueDiffer=this.keyValueDiffers.find(this.columnFilterValue).create(),this.sorterValueDiffer=this.keyValueDiffers.find(this.sorterValue).create(),setTimeout(()=>{this.selectedAllSubject.next(this.selectedAll)},0)}set activePage(n){this._activePage=n||1,this.activePageChange.emit(this._activePage)}get activePage(){return this._activePage}set columns(n){let t=n.map(u=>typeof u=="string"?{key:u}:f({},u)),l=Ce(t);this.columns$.set(l);let r=on(n??[]);this.columnGroups$.set(r)}get columns(){return this.columns$()}set columnFilterValue(n){this.columFilterValueDiffer&&this.columFilterValueDiffer.diff(n)&&(this._columnFilterValue=f({},n),this.columnFilterValueChange.emit(f({},this._columnFilterValue)),this.tableFiltered)}get columnFilterValue(){return this._columnFilterValue}set items(n){this.itemsDiffer&&this.itemsDiffer.diff(n)&&(this._items=this.setItems(n),this.items$.set(this._items),this.columns.length||(this.columns=Be(this.items$())))}get items(){return this._items}set itemsPerPage(n){this._itemsPerPage=n}get itemsPerPage(){return this._itemsPerPage}set selectable(n){this._selectable=n}get selectable(){return this._selectable}set sorterValue(n){this.sorterValueDiffer&&this.sorterValueDiffer.diff(n)&&(this._sorterValue=n,this.sorterValueChange.emit(f({},n)))}get sorterValue(){return this._sorterValue}set tableFilter(n){this._tableFilter=n,typeof n=="object"&&(this.tableFilterLabel=typeof n.label=="string"?n.label:this.tableFilterLabel,this.tableFilterPlaceholder=typeof n.placeholder=="string"?n.placeholder:this.tableFilterPlaceholder,this.tableFilterValue=typeof n.value=="string"?n.value:this.tableFilterValue)}get tableFilter(){return this._tableFilter}set tableFilterValue(n){this._tableFilterValue!==n&&(this._tableFilterValue=n,this.tableFilterValueChange.emit(n),this.tableFiltered)}get tableFilterValue(){return this._tableFilterValue}ngAfterContentInit(){this.columnTemplates.forEach(n=>{if(n.id.startsWith("columnFilter_")){this.columnFilterTemplates[n.id]=n.templateRef;return}if(n.id.startsWith("columnLabel_")){this.columnLabelTemplates[n.id]=n.templateRef;return}if(n.id==="tableSummaryRow"){this.summaryRowTemplate=n.templateRef;return}this.templates[n.id]=n.templateRef}),this.columnFilterTemplates=f({},this.columnFilterTemplates),this.columnLabelTemplates=f({},this.columnLabelTemplates)}get selectedAll(){let n=this.items.some(l=>l._selected===!0),t=this.items.some(l=>l._selected===!1);return n&&t?"indeterminate":n}get tableFilterState(){return this.tableFilterValue?this.tableFilterValue:""}get columnFilterState(){return this.columnFilterValue?this.columnFilterValue:{}}get numberOfPages(){return this._itemsPerPage?Math.ceil(this.sortedItems.length/this._itemsPerPage):1}get colspan(){return this._selectable?this.rawColumnNames$().length+1:this.rawColumnNames$().length}get firstItemOnActivePageIndex(){return this._activePage?(this._activePage-1)*this._itemsPerPage:0}get itemsOnActivePage(){return this.sortedItems.slice(this.firstItemOnActivePageIndex,this.firstItemOnActivePageIndex+this._itemsPerPage)}get currentItems(){return this._activePage?this.itemsOnActivePage:this.sortedItems??[]}get sortedItems(){let n=this.sorterValue.column;if(!n||!this.itemsDataColumns$().includes(n)||this.columnSorter&&typeof this.columnSorter=="object"&&this.columnSorter.external)return this.tableFiltered;let t=[...this.tableFiltered],l=this.sorterValue.state==="asc"?1:this.sorterValue.state==="desc"?-1:0;if(l===0)return t;let r=this.columns.find(h=>h.key===n);if(typeof r?.sorter=="function"){let h=t.slice().sort(r.sorter);return l<0?h.reverse():h}let u=(h,d)=>{let C=h[n],v=d[n],U=typeof C=="number"?C:String(C).toLowerCase(),ue=typeof v=="number"?v:String(v).toLowerCase();return U>ue?1*l:ue>U?-1*l:0};return t.slice().sort(u)}get tableFilterEvent(){return typeof this.tableFilter=="object"&&this.tableFilter.lazy?"change":"input"}get columnFiltered(){let n=this._items;return this.columnFilter&&typeof this.columnFilter=="object"&&this.columnFilter.external?(this._columnFiltered=n,n):(Object.entries(this.columnFilterState).forEach(([t,l])=>{if(l instanceof Function){n=n.filter(h=>l(h[t]));return}let r=this.columns.find(h=>h.key===t);if(typeof r?.filter=="function"){n=n.filter(h=>(typeof r.filter=="function"&&r.filter(h,l))??!l);return}let u=String(l).toLowerCase();u&&this.itemsDataColumns$().includes(t)&&(n=n.filter(h=>String(h[t]).toLowerCase().includes(u)))}),this._columnFiltered=n,n)}get tableFiltered(){let n=this.columnFiltered;if(!this.tableFilterState||this.tableFilter&&typeof this.tableFilter=="object"&&this.tableFilter.external)return this.itemsFilteredDiffer&&this.itemsFilteredDiffer.diff(n)&&this.filteredItemsChange.emit(n),n;let t=this.tableFilterState.toLowerCase(),l=r=>String(r).toLowerCase().includes(t);return n=n.filter(r=>!!this.itemsDataColumns$().find(u=>l(r[u]))),this.itemsFilteredDiffer&&this.itemsFilteredDiffer.diff(n)&&this.filteredItemsChange.emit(n),n}get isFiltered(){return this.tableFilterState||this.sorterValue?.column||Object.values(this.columnFilterState).join("")}setItems(n){return Array.isArray(n)?n.map((t,l)=>N(f({},t),{___id:t.___id??l})):[]}handleSortChange(n){this.handleSorterChange(n.columnKey,n.index,n.order)}isSortable(n){let t=this.itemsDataColumns$().includes(this.rawColumnNames$()[n]),l;return this.columns.length&&(l=this.columns[n]),this.columnSorter&&(!this.columns.length||typeof l!="object"||typeof l=="object"&&(typeof l.sorter>"u"||l.sorter))&&t}handleSorterChange(n,t,l){if(!this.isSortable(t))return;let r=f({},this.sorterValue);if(r.column===n){let u=this.columnSorter===!0||typeof this.columnSorter=="object"&&this.columnSorter.resetable!==!1&&this.columnSorter.resettable!==!1,h=r.state;l===void 0?r.state=h===0?"asc":h==="asc"?"desc":u?0:"asc":r.state=l===0&&!u?h:l}else r.column=n,r.state="asc";this.sorterValue=f({},r)}setActivePage(n){this.activePage=n}handleColumnFilterChange(n){let{column:t,value:l,type:r}=n;this.setActivePage(1),this.columnFilterValue=N(f({},this.columnFilterValue),{[`${t}`]:l})}handleTableFilterChange(n){let{value:t,type:l}=n,r=typeof this.tableFilter=="object"&&this.tableFilter.lazy===!0;(r&&l==="input"||!r&&l==="change")&&t.length!==0||(this.setActivePage(1),this.tableFilterValue=t)}clean(n){this.columnFilterValue={},this.tableFilterValue="",this.sorterValue={},this.tableFiltered}handleItemsPerPageChange(n){n!==this._itemsPerPage&&(this.setActivePage(1),this._itemsPerPage=n,this.itemsPerPageChange.emit(n))}handleRowChecked(n,t){t._selected=t._selectable!==!1&&n.target.checked,this.selectedItemsChange.emit(this.items.filter(l=>l._selected===!0)),setTimeout(()=>{this.selectedAllSubject.next(this.selectedAll)},0)}handleSelectAllChange(n){this._items=this.items.map(t=>N(f({},t),{_selected:t._selectable!==!1?n:!!t._selected})),this.selectedAllSubject.next(n),setTimeout(()=>{this.selectedItemsChange.emit(this.items.filter(t=>t._selected===!0)),this.selectedAllSubject.next(this.selectedAll)},0)}handleRowClick(n){let{$event:t,item:l,i:r}=f({},n),u=t.target,h=this.rawColumnNames$(),d=this._selectable,C=an(u,h,d);this.rowClick.emit({item:l,index:r+this.firstItemOnActivePageIndex,columnName:C,event:t})}ngOnChanges(n){if(n.columnFilterValue){let l=n.columnFilterValue.currentValue;typeof l=="object"&&Object.keys(l??{}).length&&this.setActivePage(1)}n.tableFilterValue&&n.tableFilterValue.currentValue.length&&this.setActivePage(1)}};a.\u0275fac=function(t){return new(t||a)(Q(St),Q(yt))},a.\u0275cmp=P({type:a,selectors:[["c-smart-table"]],contentQueries:function(t,l,r){if(t&1&&ut(r,z,4),t&2){let u;pt(u=dt())&&(l.columnTemplates=u)}},inputs:{activePage:[2,"activePage","activePage",Ue],cleaner:[2,"cleaner","cleaner",W],clickableRows:[2,"clickableRows","clickableRows",W],columns:"columns",columnFilter:"columnFilter",columnFilterValue:"columnFilterValue",columnSorter:"columnSorter",footer:[2,"footer","footer",W],header:[2,"header","header",W],items:"items",itemsPerPage:[2,"itemsPerPage","itemsPerPage",Ue],itemsPerPageLabel:"itemsPerPageLabel",itemsPerPageOptions:"itemsPerPageOptions",itemsPerPageSelect:"itemsPerPageSelect",loading:"loading",noItemsLabel:"noItemsLabel",pagination:[2,"pagination","pagination",W],selectable:[2,"selectable","selectable",W],selectAll:[2,"selectAll","selectAll",W],sorterValue:"sorterValue",tableFilter:"tableFilter",tableFilterLabel:"tableFilterLabel",tableFilterPlaceholder:"tableFilterPlaceholder",tableFilterValue:"tableFilterValue",tableBodyProps:"tableBodyProps",tableFootProps:"tableFootProps",tableHeadProps:"tableHeadProps",tableProps:"tableProps"},outputs:{selectedItemsChange:"selectedItemsChange",sorterValueChange:"sorterValueChange",activePageChange:"activePageChange",itemsPerPageChange:"itemsPerPageChange",rowClick:"rowClick",columnFilterValueChange:"columnFilterValueChange",filteredItemsChange:"filteredItemsChange",tableFilterValueChange:"tableFilterValueChange"},exportAs:["cSmartTable"],standalone:!0,features:[Fe,rt,F],ngContentSelectors:di,decls:17,vars:20,consts:[["tbodyDefaultTemplate",""],["columnDefaultTemplate",""],["noItemsDefaultTemplate",""],["filterIconTemplate",""],["tableFilterTemplate",""],["tableCleanerTemplate",""],["tableCustomHeaderTemplate",""],[1,"row","my-2","mx-0"],[1,"position-relative"],["cTable","",3,"align","borderColor","bordered","borderless","cHtmlAttr","cTableColor","caption","color","hover","responsive","small","striped"],[3,"cAlign","cHtmlAttr","cTableColor","columnFilterState","columnFilterTemplates","columnFilter","columnGroups","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","showGroups","sorterValue"],[4,"ngTemplateOutlet"],["component","tfoot",3,"cAlign","cHtmlAttr","cTableColor","columnFilterTemplates","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","sorterValue","summaryRowTemplate"],[3,"boundaries"],[1,"row"],[1,"col-auto","p-0"],["cFilterInput","",3,"delay","filterLabel","filterPlaceholder","onEvent","value"],["cFilterInput","",3,"valueChange","delay","filterLabel","filterPlaceholder","onEvent","value"],["cButton","","color","transparent","tabindex","0",3,"disabled","ngClass"],["cButton","","color","transparent","tabindex","0",3,"click","disabled","ngClass"],[1,"col-auto","p-0","ms-auto"],[3,"columnFilterStateChange","selectAllChange","sorterStateChange","cAlign","cHtmlAttr","cTableColor","columnFilterState","columnFilterTemplates","columnFilter","columnGroups","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","showGroups","sorterValue"],["component","tfoot",3,"selectAllChange","sorterStateChange","cAlign","cHtmlAttr","cTableColor","columnFilterTemplates","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","sorterValue","summaryRowTemplate"],[1,"col"],[3,"activePage","pages"],[1,"col-auto","ms-auto"],[3,"itemsPerPageLabel","itemsPerPageOptions","itemsPerPage"],[3,"activePageChange","activePage","pages"],[3,"itemsPerPageChange","itemsPerPageLabel","itemsPerPageOptions","itemsPerPage"],[3,"cAlign","cHtmlAttr","cTableColor"],[3,"click","cAlign","cTableActive","cTableColor","ngStyle","tabindex"],[3,"cAlign","cTableActive","cTableColor"],["autocomplete","off","cFormCheckInput","",3,"change","checked","disabled"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1",1,"p-0",3,"colSpan","ngStyle"],[1,"p-0"],[1,"p-0",3,"colSpan","ngStyle"],[3,"cAlign","cHtmlAttr","cTableActive","cTableColor","ngClass","ngStyle"],[1,"justify-content-center",3,"colSpan"],["pointer-events","none","role","img","viewBox","0 0 512 512","width","18","xmlns","http://www.w3.org/2000/svg",1,"icon","icon-custom-size"],["fill","var(--ci-primary-color, currentColor)","points","40 16 40 53.828 109.024 136 150.815 136 76.896 48 459.51 48 304 242.388 304 401.373 241.373 464 240 464 240 368 208 368 208 496 254.627 496 336 414.627 336 253.612 496 53.612 496 16 40 16",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","166.403 248.225 226.864 187.763 204.237 165.135 143.775 225.597 83.313 165.135 60.687 187.763 121.148 248.225 60.687 308.687 83.313 331.314 143.775 270.852 204.237 331.314 226.864 308.687 166.403 248.225",1,"ci-primary"]],template:function(t,l){if(t&1&&(ct(pi),_(0,Hi,10,3,"div",7),s(1,"div",8)(2,"table",9),_(3,ji,2,18,"c-smart-table-head",10)(4,Li,1,0,"ng-container",11)(5,Bi,2,1,"tfoot")(6,Ni,2,15,"c-smart-table-head",12),o(),_(7,Ri,1,10,"c-element-cover",13),o(),_(8,Ui,5,2,"div",14)(9,Xi,4,5,"ng-template",null,0,V)(11,ta,1,1,"ng-template",null,1,V)(13,ia,1,1,"ng-template",null,2,V)(15,aa,3,0,"ng-template",null,3,V)),t&2){let r,u,h,d,C,v,U=D(10);x(l.itemsPerPageSelect||l.tableFilter||l.cleaner||l.templates.tableCustomHeader?0:-1),c(2),p("align",l.tableProps==null?null:l.tableProps.align)("borderColor",l.tableProps==null?null:l.tableProps.borderColor)("bordered",(r=l.tableProps==null?null:l.tableProps.bordered)!==null&&r!==void 0?r:void 0)("borderless",(u=l.tableProps==null?null:l.tableProps.borderless)!==null&&u!==void 0?u:void 0)("cHtmlAttr",(h=l.tableProps==null?null:l.tableProps.attributes)!==null&&h!==void 0?h:b(19,Ne))("cTableColor",l.tableProps==null?null:l.tableProps.color)("caption",l.tableProps==null?null:l.tableProps.caption)("color",l.tableProps==null?null:l.tableProps.color)("hover",(d=l.tableProps==null?null:l.tableProps.hover)!==null&&d!==void 0?d:void 0)("responsive",l.tableProps==null?null:l.tableProps.responsive)("small",(C=l.tableProps==null?null:l.tableProps.small)!==null&&C!==void 0?C:void 0)("striped",(v=l.tableProps==null?null:l.tableProps.striped)!==null&&v!==void 0?v:void 0),c(),x(l.header?3:-1),c(),p("ngTemplateOutlet",U),c(),x(l.summaryRowTemplate&&!l.footer?5:-1),c(),x(l.footer?6:-1),c(),x(l.loading?7:-1),c(),x(l.pagination||l.itemsPerPageSelect?8:-1)}},dependencies:[ne,fe,te,ke,he,$e,Rt,oe,je,Oe,Me,nn,hn,bn,be,ie,Kt],styles:["[_nghost-%COMP%]{display:block}"]});let e=a;return e})();var Cn={},Re=(()=>{let a=class a{constructor(n){this.httpClient=n,this.usersUrl="https://apitest.coreui.io/demos/users"}getUsers(n){return n.pipe(de(100),se((t,l)=>JSON.stringify(t)===JSON.stringify(l)),et(t=>this.fetchData(t)))}fetchData(n){let t=f({},n),l=new xt({fromObject:t}),r=Object.keys(l).length?f({params:l},Cn):f({params:{}},Cn);return this.httpClient.get(this.usersUrl,r).pipe(ve({count:1,delay:1e3,resetOnSuccess:!0}),Xe(this.handleHttpError))}handleHttpError(n){return Qe(()=>n)}};a.\u0275fac=function(t){return new(t||a)(it(vt))},a.\u0275prov=nt({token:a,factory:a.\u0275fac});let e=a;return e})();var ra=()=>({external:!0,resetable:!0}),oa=()=>({external:!0,lazy:!1}),sa=()=>[],ca=()=>[5,10,20],ma=()=>({hover:!0,striped:!0,responsive:!0});function ua(e,a){if(e&1){let i=I();s(0,"c-smart-pagination",3),E("activePageChange",function(t){S(i);let l=m(2);return y(l.handleActivePageChange(t))}),o()}if(e&2){let i=m().ngIf;p("activePage",i.activePage)("pages",i.totalPages)}}function pa(e,a){if(e&1){let i=I();J(0),s(1,"c-smart-table",1),R(2,"async"),E("itemsPerPageChange",function(t){S(i);let l=m();return y(l.handleItemsPerPageChange(t))})("columnFilterValueChange",function(t){S(i);let l=m();return y(l.handleColumnFilterValueChange(t))})("sorterValueChange",function(t){S(i);let l=m();return y(l.handleSorterValueChange(t))})("filteredItemsChange",function(t){S(i);let l=m();return y(l.handleFilteredItemsChange(t))}),o(),_(3,ua,1,2,"c-smart-pagination",2),q()}if(e&2){let i,n=a.ngIf,t=m();c(),p("columnSorter",b(14,ra))("columns",t.columns)("columnFilter",b(15,oa))("items",(i=G(2,12,t.usersData$))!==null&&i!==void 0?i:b(16,sa))("itemsPerPage",n.itemsPerPage)("itemsPerPageOptions",b(17,ca))("itemsPerPageSelect",!0)("loading",n.loadingData)("tableProps",b(18,ma))("columnFilterValue",n.columnFilterValue)("sorterValue",n.sorterValue),c(2),p("ngIf",n.totalPages)}}function da(e,a){if(e&1&&(J(0),T(1,"hr"),s(2,"c-alert"),g(3),o(),q()),e&2){let i=a.ngIf;c(3),L(i)}}var Sn=(()=>{var a;let i=class i{constructor(t){$(this,a);this.usersService=t,this.title="CoreUI Angular Smart Table Example",this.columns=[{key:"first_name",_style:{width:"15%"}},{key:"last_name",_style:{width:"15%"}},"email",{key:"country",_style:{width:"22%"}},{key:"ip_address",label:"IP",_style:{width:"15%"}}],this.activePage$=new B(0),this.columnFilterValue$=new B({}),this.itemsPerPage$=new B(5),this.loadingData$=new B(!0),this.totalPages$=new B(1),this.sorterValue$=new B({}),this.totalItems$=new B(0),this.apiParams$=new B({limit:this.itemsPerPage$.value,offset:0}),this.errorMessage$=new xe,this.retry$=new xe,this.props$=Ye([this.activePage$,this.columnFilterValue$,this.itemsPerPage$,this.loadingData$,this.sorterValue$,this.totalPages$]).pipe(de(100),Se(([l,r,u,h,d,C])=>({activePage:l,columnFilterValue:r,itemsPerPage:u,loadingData:h,sorterValue:d,totalPages:C}))),A(this,a,new xe),this._apiParams={}}set apiParams(t){let l=f(f({},this._apiParams),t),r=new Map(Object.entries(l));r.forEach((h,d,C)=>{(h===""||h===void 0||h===null)&&C.delete(d)});let u=Object.fromEntries(r);this.loadingData$.next(!0),this._apiParams=f({},u),this.retry$.next(!0),this.apiParams$.next(f({},u))}ngOnDestroy(){w(this,a).next(!0)}ngOnInit(){this.activePage$.pipe(ye(w(this,a))).subscribe(t=>{let l=this.itemsPerPage$.value,r=l*t-l;this.apiParams={offset:r,limit:l}}),this.itemsPerPage$.pipe(se(),ye(w(this,a))).subscribe(t=>{let l=Math.ceil(this.totalItems$.value/t)??1;this.totalPages$.next(l)}),this.totalItems$.pipe(se(),ye(w(this,a))).subscribe(t=>{let l=Math.ceil(t/this.itemsPerPage$.value)??1;this.totalPages$.next(l)}),this.totalPages$.pipe(ye(w(this,a))).subscribe(t=>{let l=this.activePage$.value>t?t:this.activePage$.value;this.setActivePage(l)}),this.usersData$=this.usersService.getUsers(this.apiParams$).pipe(ve({delay:t=>(console.warn("Retry: ",t),this.errorMessage$.next(t.message??`Error: ${JSON.stringify(t)}`),this.loadingData$.next(!1),this.retry$)}),tt(t=>{this.totalItems$.next(t.number_of_matching_records),t.number_of_records&&this.errorMessage$.next(""),this.retry$.next(!1),this.loadingData$.next(!1)}),Se(t=>t.records))}handleColumnFilterValueChange(t){this.setActivePage(1),this.apiParams=f({},t),this.columnFilterValue$.next(t)}handleSorterValueChange(t){this.sorterValue$.next(t.state?t:{});let l=t.state?`${t.column}%${t.state}`:"";this.apiParams={sort:l}}handleFilteredItemsChange(t){}handleActivePageChange(t){this.setActivePage(t)}handleItemsPerPageChange(t){this.itemsPerPage$.next(t)}setActivePage(t){t=t>0&&this.totalPages$.value+1>t?t:1,this.activePage$.next(t)}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)(Q(Re))},i.\u0275cmp=P({type:i,selectors:[["docs-smart-table03"]],standalone:!0,features:[bt([Re]),F],decls:4,vars:6,consts:[[4,"ngIf"],["cleaner","","header","",3,"itemsPerPageChange","columnFilterValueChange","sorterValueChange","filteredItemsChange","columnSorter","columns","columnFilter","items","itemsPerPage","itemsPerPageOptions","itemsPerPageSelect","loading","tableProps","columnFilterValue","sorterValue"],[3,"activePage","pages","activePageChange",4,"ngIf"],[3,"activePageChange","activePage","pages"]],template:function(l,r){l&1&&(_(0,pa,4,19,"ng-container",0),R(1,"async"),_(2,da,4,1,"ng-container",0),R(3,"async")),l&2&&(p("ngIf",G(1,2,r.props$)),c(2),p("ngIf",G(3,4,r.errorMessage$)))},dependencies:[Ve,j,Me,Vt,ne],encapsulation:2});let e=i;return e})();var _a=[{id:0,name:"John Doe",registered:"2022/01/01",role:"Guest",status:"Pending"},{id:1,name:"Samppa Nori",registered:"2022/01/31",role:"Member",status:"Active",_props:{color:"success",align:"middle"}},{id:2,name:"Estavan Lykos",registered:"2022/02/01",role:"Staff",status:"Banned",_cellProps:{name:{color:"info",active:!0}}},{id:3,name:"Chetan Mohamed",registered:"2022/02/01",role:"Admin",status:"Inactive",_cellProps:{_all:{color:"danger"},role:{active:!0}}},{id:4,name:"Derick Maximinus",registered:"2022/03/01",role:"Member",status:"Pending",_selected:!0},{id:5,name:"Friderik D\xE1vid",registered:"2022/01/21",role:"Staff",status:"Active"},{id:6,name:"Yiorgos Avraamu",registered:"2022/01/07",role:"Member",status:"Active"},{id:7,name:"Avram Tarasios",registered:"2022/02/08",role:"Staff",status:"Banned"},{id:8,name:"Quintin Ed",registered:"2022/02/01",role:"Admin",status:"Inactive"},{id:9,name:"En\xE9as Kwadwo",registered:"2022/03/01",role:"Member",status:"Pending"},{id:10,name:"Agapetus Tade\xE1\u0161",registered:"2022/01/21",role:"Staff",status:"Active"},{id:11,name:"Carwyn Fachtna",registered:"2022/01/01",role:"Member",status:"Active"},{id:12,name:"Nehemiah Tatius",registered:"2022/02/11",role:"Staff",status:"Banned"},{id:13,name:"Ebbe Gemariah",registered:"2022/02/08",role:"Admin",status:"Inactive"},{id:14,name:"Eustorgios Amulius",registered:"2022/03/01",role:"Member",status:"Pending"},{id:15,name:"Leopold G\xE1sp\xE1r",registered:"2022/01/21",role:"Staff",status:"Active"},{id:16,name:"Pompeius Ren\xE9",registered:"2022/01/10",role:"Member",status:"Active"},{id:17,name:"Pa\u0109jo Jadon",registered:"2022/02/01",role:"Staff",status:"Banned"},{id:18,name:"Micheal Mercurius",registered:"2022/02/11",role:"Admin",status:"Inactive"},{id:19,name:"Ganesha Dubhghall",registered:"2022/03/01",role:"Member",status:"Pending"},{id:20,name:"Hiroto \u0160imun",registered:"2022/01/21",role:"Staff",status:"Active"},{id:21,name:"Vishnu Serghei",registered:"2022/01/01",role:"Member",status:"Active"},{id:22,name:"Zbyn\u011Bk Phoibos",registered:"2022/02/14",role:"Staff",status:"Banned"},{id:23,name:"Aulus Agmundr",registered:"2022/01/01",role:"Member",status:"Pending"},{id:42,name:"Ford Prefect",registered:"2001/05/25",role:"Alien",status:"Don't panic!",_cellProps:{role:{active:!0}}}],K=_a;var ga=()=>({hover:!0,striped:!0,responsive:!0});function fa(e,a){if(e&1&&(s(0,"tr",3)(1,"th",4),g(2),o(),s(3,"th"),g(4),o()()),e&2){let i,n=m(),t=D(1);c(2),O("Selected: ",n.selectedItemsCount(),"."),c(),we("colspan",t.columns==null?null:t.columns.length),c(),O(" Items count: ",(i=n.usersData==null?null:n.usersData.length)!==null&&i!==void 0?i:0,". ")}}var yn=(()=>{let a=class a{constructor(){this.selectedItemsCount=ae(0),this.usersData=K.map(n=>{let d=n,{name:t,registered:l,role:r,status:u}=d,h=pe(d,["name","registered","role","status"]);return{name:t,registered:l,role:r,status:u}})}onSelectedItemsChange(n){this.selectedItemsCount.set(n.length??0)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table07"]],standalone:!0,features:[F],decls:3,vars:4,consts:[["table","cSmartTable"],["header","","pagination","","selectable","",3,"selectedItemsChange","itemsPerPage","items","tableProps"],["cTemplateId","tableSummaryRow"],["cTableColor","info"],[2,"width","15%"]],template:function(t,l){if(t&1){let r=I();s(0,"c-smart-table",1,0),E("selectedItemsChange",function(h){return S(r),y(l.onSelectedItemsChange(h))}),_(2,fa,5,3,"ng-template",2),o()}t&2&&p("itemsPerPage",5)("items",l.usersData)("tableProps",b(3,ga))},dependencies:[j,z,ie],encapsulation:2,changeDetection:0});let e=a;return e})();var ha=[{id:0,address:{country:"France",city:"Paris"},name:"John Doe",registered:"2022/01/01",role:"Guest",status:"Pending"},{id:1,address:{country:"Chile",city:"Santiago"},name:"Samppa Nori",registered:"2022/01/31",role:"Member",status:"Active",_props:{color:"success",align:"middle"}},{id:2,address:{country:"Germany",city:"Berlin"},name:"Estavan Lykos",registered:"2022/02/01",role:"Staff",status:"Banned",_cellProps:{name:{color:"info",active:!0}}},{id:3,address:{country:"Germany",city:"Berlin"},name:"Chetan Mohamed",registered:"2022/02/01",role:"Admin",status:"Inactive",_cellProps:{_all:{color:"danger"},role:{active:!0}}},{id:4,address:{country:"Chile",city:"Santiago"},name:"Derick Maximinus",registered:"2022/03/01",role:"Member",status:"Pending",_selected:!0},{id:5,address:{country:"France",city:"Paris"},name:"Friderik D\xE1vid",registered:"2022/01/21",role:"Staff",status:"Active"},{id:6,address:{country:"Chile",city:"Concepci\xF3n"},name:"Yiorgos Avraamu",registered:"2022/01/07",role:"Member",status:"Active"},{id:7,address:{country:"Chile",city:"Santiago"},name:"Avram Tarasios",registered:"2022/02/08",role:"Staff",status:"Banned"},{id:8,address:{country:"France",city:"Lyon"},name:"Quintin Ed",registered:"2022/02/01",role:"Admin",status:"Inactive"},{id:9,address:{country:"Chile",city:"Santiago"},name:"En\xE9as Kwadwo",registered:"2022/03/01",role:"Member",status:"Pending"},{id:10,address:{},name:"Agapetus Tade\xE1\u0161",registered:"2022/01/21",role:"Staff",status:"Active"},{id:11,address:{country:"France",city:"Paris"},name:"Carwyn Fachtna",registered:"2022/01/01",role:"Member",status:"Active"},{id:12,address:{country:"Austria",city:"Wien"},name:"Nehemiah Tatius",registered:"2022/02/11",role:"Staff",status:"Banned"},{id:13,address:{country:"Austria",city:"Wien"},name:"Ebbe Gemariah",registered:"2022/02/08",role:"Admin",status:"Inactive"},{id:14,address:{country:"Austria",city:"Salzburg"},name:"Eustorgios Amulius",registered:"2022/03/01",role:"Member",status:"Pending"},{id:15,address:{country:"Austria",city:"Wien"},name:"Leopold G\xE1sp\xE1r",registered:"2022/01/21",role:"Staff",status:"Active"},{id:16,address:{country:"Chile",city:"Valpara\xEDso"},name:"Pompeius Ren\xE9",registered:"2022/01/10",role:"Member",status:"Active"},{id:17,address:{country:"Chile",city:"Santiago"},name:"Pa\u0109jo Jadon",registered:"2022/02/01",role:"Staff",status:"Banned"},{id:18,address:{country:"Australia",city:"Sydney"},name:"Micheal Mercurius",registered:"2022/02/11",role:"Admin",status:"Inactive"},{id:19,address:{country:"Australia",city:"Perth"},name:"Ganesha Dubhghall",registered:"2022/03/01",role:"Member",status:"Pending"},{id:20,address:{country:"Chile",city:"Santiago"},name:"Hiroto \u0160imun",registered:"2022/01/21",role:"Staff",status:"Active"},{id:21,address:{country:"China",city:"Shanghai"},name:"Vishnu Serghei",registered:"2022/01/01",role:"Member",status:"Active"},{id:22,address:{country:"China",city:"Shanghai"},name:"Zbyn\u011Bk Phoibos",registered:"2022/02/14",role:"Staff",status:"Banned"},{id:23,address:{country:"China",city:"Shenzen"},name:"Aulus Agmundr",registered:"2022/01/01",role:"Member",status:"Pending"},{id:42,address:{country:"China",city:"Shanghai"},name:"Ford Prefect",registered:"2001/05/25",role:"Alien",status:"Don't panic!",_cellProps:{role:{active:!0}}}],Tn=ha;var ba=()=>({hover:!0,striped:!0,responsive:!0});function Ca(e,a){if(e&1&&(J(0),g(1),q()),e&2){let i,n=m(),t=n.columnName,l=n.item;c(),O(" ",(i=l[t].country)!==null&&i!==void 0?i:"-"," ")}}function Sa(e,a){if(e&1&&(J(0),g(1),q()),e&2){let i=m().tdContent;c(),O(" ",i," ")}}function ya(e,a){if(e&1&&(s(0,"td",3),J(1,4),_(2,Ca,2,1,"ng-container",5)(3,Sa,2,1,"ng-container",6),q(),o()),e&2){let i,n,t,l=a.columnName,r=a.item;m();let u=D(1);p("cTableActive",(i=u.getTableDataCellProps(r,l))==null?null:i.active)("cTableColor",(n=u.getTableDataCellProps(r,l))==null?null:n.color)("cAlign",(t=u.getTableDataCellProps(r,l))==null?null:t.align)("ngClass",u.getTableDataCellClass(r,l)),c(),p("ngSwitch",l),c(),p("ngSwitchCase","address")}}var xn=(()=>{let a=class a{constructor(){this.usersData=Tn.map(n=>N(f({},n),{city:n.address.city})),this.filteredUsersData=this.usersData,this.columns=[{key:"name",_style:{width:"40%"}},{key:"address",_props:{color:"info",class:"fw-bold"},filter:(n,t)=>n.address?.country?.toLowerCase().startsWith(t.toLowerCase().trim()),sorter:(n,t)=>{let l=(n.address?.country?.toLowerCase().trim()??"")+(n.address?.city?.toLowerCase().trim()??""),r=(t.address?.country?.toLowerCase().trim()??"")+(t.address?.city?.toLowerCase().trim()??"");return l>r?1:r>l?-1:0}},{key:"city"}]}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table06"]],standalone:!0,features:[F],decls:3,vars:7,consts:[["smartTable","cSmartTable"],["header","","itemsPerPage","10","pagination","",3,"columnFilter","columnSorter","columns","itemsPerPageSelect","items","tableProps"],["cTemplateId","tableData"],[3,"cTableActive","cTableColor","cAlign","ngClass"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(t,l){t&1&&(s(0,"c-smart-table",1,0),_(2,ya,4,6,"ng-template",2),o()),t&2&&p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.filteredUsersData)("tableProps",b(6,ba))},dependencies:[j,z,be,ie,he,te,Ae,Ie,Ee],encapsulation:2});let e=a;return e})();function Ge(e){let a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function vn(e){let a=Ge(e);return a.setHours(0,0,0,0),a}function Pn(e){let a=Ge(e);return a.setHours(23,59,59,999),a}var Ta=()=>({column:"registered",state:"asc"}),xa=()=>({hover:!0,striped:!0,responsive:!0}),va=()=>({strategy:"fixed"});function Pa(e,a){if(e&1){let i=I();s(0,"c-date-range-picker",2),me("calendarDateChange",function(t){S(i);let l=m();return le(l.calendarDate,t)||(l.calendarDate=t),y(t)})("endDateChange",function(t){S(i);let l=m();return le(l.endDate,t)||(l.endDate=t),y(t)})("startDateChange",function(t){S(i);let l=m();return le(l.startDate,t)||(l.startDate=t),y(t)}),o()}if(e&2){let i=m();ce("calendarDate",i.calendarDate)("endDate",i.endDate)("startDate",i.startDate),p("popperOptions",b(4,va))}}var Fn=(()=>{let a=class a{constructor(){this.newData=K.map(n=>{let{id:t,name:l,registered:r}=f({},n);return{id:t,name:l,registered:r}}),this.columns=[{key:"name",_style:{width:"50%"}},{key:"registered",_style:{width:"50%"},_props:{color:"info",class:"fw-bold"}}],this.calendarDate=new Date(2022,0,1),this._startDate=new Date(2022,0,1),this._endDate=new Date(2022,0,10),this._columnFilterValue={}}set startDate(n){this._startDate=n,this._endDate&&this.handleDateRangeChange()}get startDate(){return this._startDate}set endDate(n){this._endDate=n,this.handleDateRangeChange()}get endDate(){return this._endDate}set columnFilterValue(n){this._columnFilterValue=f({},n)}get columnFilterValue(){return this._columnFilterValue}handleDateRangeChange(){let n=f({},this.columnFilterValue);if(this._startDate&&this._endDate){let t=vn(this._startDate),l=Pn(this._endDate),r=u=>{let h=new Date(u);return h>=t&&h<=l};this.columnFilterValue=N(f({},n),{registered:r});return}delete n.registered,this.columnFilterValue=f({},n)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table05"]],standalone:!0,features:[F],decls:2,vars:10,consts:[["header","","itemsPerPage","10","pagination","",3,"columnFilterValueChange","columnFilterValue","columnFilter","columnSorter","columns","itemsPerPageSelect","items","sorterValue","tableProps"],["cTemplateId","columnFilter_registered"],["calendars","2","closeOnSelect","","locale","en-CA","size","sm",3,"calendarDateChange","endDateChange","startDateChange","calendarDate","endDate","startDate","popperOptions"]],template:function(t,l){t&1&&(s(0,"c-smart-table",0),me("columnFilterValueChange",function(u){return le(l.columnFilterValue,u)||(l.columnFilterValue=u),u}),_(1,Pa,1,5,"ng-template",1),o()),t&2&&(ce("columnFilterValue",l.columnFilterValue),p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.newData)("sorterValue",b(8,Ta))("tableProps",b(9,xa)))},dependencies:[j,z,Nt],encapsulation:2});let e=a;return e})();var Fa=()=>({hover:!0,striped:!0,responsive:!0});function wa(e,a){if(e&1&&(s(0,"c-multi-select-option",4),g(1),o()),e&2){let i=a.$implicit;p("value",i),c(),L(i)}}function Da(e,a){if(e&1){let i=I();s(0,"c-multi-select",2),E("valueChange",function(t){S(i);let l=m();return y(l.handleValueChange(t))}),_(1,wa,2,2,"c-multi-select-option",3),o()}if(e&2){let i=m();p("value",i.selected),c(),p("ngForOf",i.roles)}}var wn=(()=>{let a=class a{constructor(){this.newData=K.map(n=>{let{id:t,name:l,role:r,status:u}=f({},n);return{id:t,name:l,role:r,status:u}}),this.roles=[...new Set(K.map(n=>n.role))],this.selected=["Staff","Admin"],this.columns=[{key:"name",_style:{width:"50%"}},{key:"role",_style:{width:"50%"},_props:{color:"info",class:"fw-bold"}}],this._columnFilterValue={}}set columnFilterValue(n){this._columnFilterValue=f({},n),Object.entries(n).length||(this.selected=[])}get columnFilterValue(){return this._columnFilterValue}handleValueChange(n){let t=f({},this.columnFilterValue);if(n?.length){let l=[...n];this.selected=l;let r=u=>l.includes(u);this.columnFilterValue=N(f({},t),{role:r});return}delete t.role,this.columnFilterValue=f({},t)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table04"]],standalone:!0,features:[F],decls:2,vars:8,consts:[["header","","itemsPerPage","10","pagination","",3,"columnFilterValueChange","columnFilter","columnFilterValue","columnSorter","columns","itemsPerPageSelect","items","tableProps"],["cTemplateId","columnFilter_role"],["multiple","","size","sm",3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,l){t&1&&(s(0,"c-smart-table",0),me("columnFilterValueChange",function(u){return le(l.columnFilterValue,u)||(l.columnFilterValue=u),u}),_(1,Da,2,2,"ng-template",1),o()),t&2&&(p("columnFilter",!0),ce("columnFilterValue",l.columnFilterValue),p("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.newData)("tableProps",b(7,Fa)))},dependencies:[j,z,Ut,Tt,zt],encapsulation:2});let e=a;return e})();var Va=()=>({hover:!0,striped:!0,responsive:!0}),Dn=e=>({$implicit:e});function Aa(e,a){e&1&&k(0)}function Ia(e,a){if(e&1&&(s(0,"div",4),g(1),_(2,Aa,1,0,"ng-container",5),o()),e&2){let i=a.$implicit;m();let n=D(4);c(),O(" ",i.label," "),c(),p("ngTemplateOutlet",n)("ngTemplateOutletContext",ee(3,Dn,i))}}function Ea(e,a){e&1&&k(0)}function ka(e,a){if(e&1&&_(0,Ea,1,0,"ng-container",5),e&2){let i=a.$implicit;m();let n=D(4);p("ngTemplateOutlet",n)("ngTemplateOutletContext",ee(2,Dn,i))}}function Oa(e,a){if(e&1&&(s(0,"div",7),re(),T(1,"svg",8),o()),e&2){let i=m().$implicit,n=m();p("cTooltipTrigger","hover")("cTooltip",i==null||i._data==null?null:i._data.tooltip),c(),p("cIcon",n.icons[i==null||i._data==null?null:i._data.icon])}}function $a(e,a){if(e&1&&_(0,Oa,2,3,"div",6),e&2){let i=a.$implicit;p("ngIf",i==null||i._data==null?null:i._data.tooltip)}}var Vn=(()=>{let a=class a{constructor(){this.icons={cilBadge:Zt,cilCalendar:Xt,cilGroup:en,cilUser:tn},this.newData=K.map(n=>{let{id:t,name:l,role:r,status:u,registered:h}=f({},n);return{id:t,name:l,role:r,status:u,registered:h}}),this.columns=[{key:"name",label:"Name",_style:{width:"30%"},_labelTemplateId:"all",_data:{tooltip:"User Name",icon:"cilUser"}},{key:"role",label:"Role",_style:{width:"20%"},_labelTemplateId:"all",_data:{tooltip:"User Role",icon:"cilGroup"}},{key:"status",label:"Status",_style:{width:"25%"},_labelTemplateId:"all",_data:{tooltip:"User Status",icon:"cilBadge"}},{key:"registered",label:"Registered",_style:{width:"25%"},_data:{tooltip:"Date Registered",icon:"cilCalendar"}}]}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table08"]],standalone:!0,features:[F],decls:5,vars:7,consts:[["icon",""],["header","","itemsPerPage","10","pagination","",3,"columnFilter","columnSorter","columns","itemsPerPageSelect","items","tableProps"],["cTemplateId","columnLabel_all"],["cTemplateId","columnLabel_registered"],[1,"d-inline"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","d-inline","cTooltipPlacement","top",3,"cTooltipTrigger","cTooltip",4,"ngIf"],["cTooltipPlacement","top",1,"d-inline",3,"cTooltipTrigger","cTooltip"],["size","sm","title","Info Icon",1,"ms-1",3,"cIcon"]],template:function(t,l){t&1&&(s(0,"c-smart-table",1),_(1,Ia,3,5,"ng-template",2)(2,ka,1,4,"ng-template",3),o(),_(3,$a,1,1,"ng-template",null,0,V)),t&2&&p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.newData)("tableProps",b(6,Va))},dependencies:[j,z,fe,Ve,Wt,wt],encapsulation:2});let e=a;return e})();var Ha=()=>({hover:!0,striped:!0,responsive:!0}),An=(()=>{let a=class a{constructor(){this.usersData=K}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table02"]],standalone:!0,features:[F],decls:1,vars:6,consts:[["activePage","2","header","","pagination","",3,"columnFilter","columnSorter","itemsPerPage","items","tableProps"]],template:function(t,l){t&1&&T(0,"c-smart-table",0),t&2&&p("columnFilter",!0)("columnSorter",!0)("itemsPerPage",10)("items",l.usersData)("tableProps",b(5,Ha))},dependencies:[j],encapsulation:2});let e=a;return e})();var ja=()=>({column:"name",state:"asc"}),La=()=>({align:"middle"}),In=()=>({color:"warning"}),Ma=()=>({hover:!0,striped:!0,responsive:!0});function Ba(e,a){if(e&1){let i=I();s(0,"div",5)(1,"button",6),E("click",function(){S(i),m();let t=D(1);return y(t.footer=!t.footer)}),g(2),o()()}if(e&2){m();let i=D(1);p("cCol","auto"),c(2),O(" Footer is ",i.footer?"ON":"OFF"," ")}}function Na(e,a){if(e&1&&(s(0,"div",7)(1,"c-card",8)(2,"c-card-body")(3,"h5"),g(4),o(),s(5,"p",9),g(6),o()(),s(7,"c-card-footer")(8,"button",10),g(9," User Settings "),o(),s(10,"button",11),g(11," Delete "),o()()()()),e&2){let i=a.item,n=m();p("visible",n.details_visible[i.id]===!0),c(4),L(i.name),c(2),O("User since: ",i.registered,"")}}function Ra(e,a){if(e&1&&(J(0),s(1,"c-badge",17),g(2),o(),q()),e&2){let i=m(),n=i.columnName,t=i.item,l=i.tdContent,r=m();c(),p("color",r.getBadge(l)),c(),O(" ",t[n]," ")}}function Ga(e,a){if(e&1){let i=I();J(0,18),s(1,"button",19),E("click",function(){S(i);let t=m().item,l=m();return y(l.toggleDetails(t.id))}),g(2," Show "),o(),q()}}function za(e,a){if(e&1&&(J(0),g(1),q()),e&2){let i=m().tdContent;c(),O(" ",i," ")}}function Ua(e,a){if(e&1&&(s(0,"td",12),J(1,13),_(2,Ra,3,2,"ng-container",14)(3,Ga,3,0,"ng-container",15)(4,za,2,1,"ng-container",16),q(),o()),e&2){let i,n,t,l=a.columnName,r=a.item;m();let u=D(1);p("cTableActive",(i=u.getTableDataCellProps(r,l))==null?null:i.active)("cTableColor",(n=u.getTableDataCellProps(r,l))==null?null:n.color)("cAlign",(t=u.getTableDataCellProps(r,l))==null?null:t.align)("ngClass",u.getTableDataCellClass(r,l)),c(),p("ngSwitch",l),c(),p("ngSwitchCase","status"),c(),p("ngSwitchCase","show")}}var En=(()=>{let a=class a{constructor(){this.usersData=K,this.columns=[{key:"name",_style:{width:"40%"},_props:{color:"danger",class:"fw-bold"}},"registered",{key:"role",filter:!1,sorter:!1,_style:{width:"15%"},_classes:"text-muted small"},{key:"status",_style:{width:"15%"}},{key:"show",label:"",_style:{width:"5%"},filter:!1,sorter:!1}],this.details_visible=Object.create({})}getBadge(n){switch(n){case"Active":return"success";case"Inactive":return"secondary";case"Pending":return"warning";case"Banned":return"danger";default:return"primary"}}getItem(n){return Object.keys(n)}toggleDetails(n){this.details_visible[n]=!this.details_visible[n]}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table01"]],standalone:!0,features:[F],decls:5,vars:17,consts:[["smartTable","cSmartTable"],["activePage","2","cleaner","","clickableRows","","footer","","header","","pagination","","selectable","",3,"columnFilter","columnSorter","columns","itemsPerPageSelect","itemsPerPage","items","sorterValue","tableBodyProps","tableFilter","tableFootProps","tableHeadProps","tableProps"],["cTemplateId","tableCustomHeader"],["cTemplateId","tableDetails"],["cTemplateId","tableData"],[1,"p-0","ms-auto",3,"cCol"],["cButton","","color","success",3,"click"],["cCollapse","",3,"visible"],[1,"rounded-0"],[1,"text-muted"],["cButton","","color","info","size","sm"],["cButton","","color","danger","size","sm",1,"ms-1"],[3,"cTableActive","cTableColor","cAlign","ngClass"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","py-2",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"color"],[1,"py-2"],["cButton","","color","primary","size","sm","variant","outline",3,"click"]],template:function(t,l){t&1&&(s(0,"c-smart-table",1,0),_(2,Ba,3,2,"ng-template",2)(3,Na,12,3,"ng-template",3)(4,Ua,5,7,"ng-template",4),o()),t&2&&p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("itemsPerPage",5)("items",l.usersData)("sorterValue",b(12,ja))("tableBodyProps",b(13,La))("tableFilter",!0)("tableFootProps",b(14,In))("tableHeadProps",b(15,In))("tableProps",b(16,Ma))},dependencies:[j,z,Gt,$e,Dt,It,Et,kt,be,ie,he,te,Ae,Ie,At,Ee],encapsulation:2});let e=a;return e})();var kn=`\`\`\`typescript +import{a as ie,b as be,c as Kt}from"./chunk-WZMOPKFN.js";import{a as Me}from"./chunk-LWLPMGSV.js";import"./chunk-637KEXIK.js";import{a as he}from"./chunk-FUXYYFQ6.js";import{a as It,b as Et,c as kt}from"./chunk-FDIAV3SM.js";import{a as Wt}from"./chunk-2AVMBETS.js";import{a as At}from"./chunk-F3XLZSRJ.js";import"./chunk-IH2HSX2J.js";import{a as Dt}from"./chunk-2RE6QDUT.js";import{c as Vt}from"./chunk-YN74WUSE.js";import"./chunk-7GF3S5CV.js";import{h as Zt,i as Xt,m as en,u as tn}from"./chunk-VP4RI3NG.js";import{a as Rt,c as zt,e as Ut}from"./chunk-4NGMK3CL.js";import"./chunk-I7ZDH35V.js";import{c as Nt}from"./chunk-WFOV5FNG.js";import"./chunk-S3TRUWXX.js";import{a as Yt}from"./chunk-IV3JRMWS.js";import{d as Bt,e as He,h as je,i as Le}from"./chunk-ZGGOM75Q.js";import{A as Mt,e as Ot,l as $t,s as Ht,t as jt,u as Lt}from"./chunk-WFHPAILT.js";import"./chunk-FW3F3TZD.js";import{b as wt}from"./chunk-OLTS3WRU.js";import{b as Oe,c as z}from"./chunk-UYIAOCXU.js";import"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as $e}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{b as Gt}from"./chunk-PZ32EFID.js";import{g as Qt}from"./chunk-XPMARKUH.js";import{a as We}from"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as qt}from"./chunk-MH6VOBXJ.js";import{r as Jt}from"./chunk-Q5WIR6QR.js";import{c as Pt,d as Ft}from"./chunk-54DQ6PNU.js";import{a as xt,b as vt}from"./chunk-D6CLLZIZ.js";import{m as te,n as Tt,o as Ve,p as Ae,q as Ie,r as Ee,s as ke,t as fe,u as ne}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as s,Aa as S,Ac as D,Ba as y,Bc as g,C as Xe,Ca as re,Cc as L,Dc as O,Ec as _t,F as de,Fc as gt,Gb as Fe,Gc as ft,Hc as ht,Ia as ot,Jb as _,K as se,Kc as ce,La as st,Lc as le,Mc as me,Na as H,Nc as bt,Oc as F,Pb as we,Pc as b,Q as ve,Qb as p,Qc as ee,Rc as ge,Ub as _e,Uc as Ct,V as et,W as ye,Wb as x,Wc as R,Xc as G,Y as tt,Yb as Y,Zb as Z,_b as X,_c as V,ac as o,bc as T,ca as nt,cc as J,dc as q,ec as k,f as xe,fc as I,g as B,ha as it,ia as Pe,jd as St,kd as yt,lb as c,mb as Q,mc as E,n as Qe,na as P,nd as W,oc as m,od as Ue,pa as at,pc as ct,pd as De,q as Se,qa as lt,qc as mt,r as Ye,tc as ut,vc as pt,wc as dt,x as Ze,xa as rt,zb as ae}from"./chunk-6U7QZ4SV.js";import{a as f,b as N,c as pe,e as w,f as $,g as A}from"./chunk-MGAX33HK.js";var oe=(()=>{var a,i,n;let t=class t{constructor(r,u){$(this,a);$(this,i);$(this,n);this.elementRef=r,this.destroyRef=u,A(this,a,""),this.value$=new B(""),this.emitObject={value:"",type:"",column:""},this.delay=300,this.onEvent="input",this.valueChange=new H}set value(r){this.value$.next(r)}ngAfterViewInit(){this.setSubscription()}setSubscription(){A(this,i,this.value$.pipe(se(),We(this.destroyRef)).subscribe(u=>{w(this,a)!==u&&(A(this,a,u),this.emitObject=N(f({},this.emitObject),{value:u,type:this.onEvent}),this.valueChange.emit(f({},this.emitObject)))}));let r=this.onEvent==="change"?0:this.delay;A(this,n,Ze(this.elementRef.nativeElement,this.onEvent).pipe(Se(u=>u.target.value),de(r),We(this.destroyRef)).subscribe(u=>{u!==w(this,a)&&this.value$.next(u)}))}};a=new WeakMap,i=new WeakMap,n=new WeakMap,t.\u0275fac=function(u){return new(u||t)(Q(st),Q(ot))},t.\u0275dir=at({type:t,selectors:[["","cFilterInput",""]],inputs:{delay:"delay",onEvent:"onEvent",value:"value"},outputs:{valueChange:"valueChange"},exportAs:["cFilterInput"],standalone:!0});let e=t;return e})();function On(e,a){if(e&1&&(s(0,"label",0),g(1),o()),e&2){let i=m();p("ngClass",i.labelClasses),c(),O(" ",i.filterLabel," ")}}var nn=(()=>{var a;let i=class i{constructor(){$(this,a);A(this,a,Pe(oe)),this.value$=w(this,a).value$,this.filterLabel="Filter:",this.filterPlaceholder="Filter"}get hostClasses(){return{row:!0,"mb-2":!0}}get labelClasses(){return{"col-form-label":!0,[`col-form-label-${this.sizing}`]:!!this.sizing}}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=P({type:i,selectors:[["c-smart-table-filter"]],hostVars:2,hostBindings:function(l,r){l&2&&_e(r.hostClasses)},inputs:{filterLabel:"filterLabel",filterPlaceholder:"filterPlaceholder",sizing:"sizing"},standalone:!0,features:[F],decls:4,vars:6,consts:[["cLabel","col",1,"col-auto",3,"ngClass"],[1,"col-auto"],["autocomplete","off","cFormControl","","size","10",3,"placeholder","sizing","value"]],template:function(l,r){l&1&&(_(0,On,2,2,"label",0),s(1,"div",1),T(2,"input",2),R(3,"async"),o()),l&2&&(x(r.filterLabel?0:-1),c(2),p("placeholder",r.filterPlaceholder)("sizing",r.sizing)("value",G(3,4,r.value$)))},dependencies:[Le,He,te,ne],encapsulation:2,changeDetection:0});let e=i;return e})();var an=(e,a,i)=>{let n=e.closest("tr"),t=n?Array.from(n.children):[],l=t.filter(r=>r.contains(e))[0];return a[t.indexOf(l)-(i?1:0)]},Ke=e=>typeof e=="object"?e.key:e,ln=e=>typeof e=="object"&&e.label!==void 0?e.label:$n(Ke(e));var Je=(e,a)=>{if(e?.length){let i=[];for(let n of e){if(typeof n=="object"&&n.children){i.push(...Je(n.children,[]));continue}typeof n=="object"?i.push(n.key):i.push(n)}return i}return Be(a)},Ce=e=>{let a=[];for(let i of e){if(typeof i=="object"&&i.group&&i.children){a.push(...Ce(i.children));continue}typeof i=="object"&&i.children&&a.push(...Ce(i.children)),a.push(i)}return a},rn=(e,a=0)=>{let i=a;for(let n of e)n.children||i++,n.children&&(i=rn(n.children,i));return i},on=e=>{let a=[],i=(t,l=0,r=0)=>{let u=[];if(t.children)for(let d of t.children)d.group||r++,u.push(...i(d,l+1,r));if(typeof t=="object"&&t.group){let h=t,{children:d,group:C}=h,v=pe(h,["children","group"]);u.push(f(f({deep:l,label:C},d&&{colspan:rn(d)}),v))}return u};if(e){for(let t of e)if(typeof t=="object"&&t.group){let l=i(t);if(l)for(let r of l){let n=r,{deep:u}=n,h=pe(n,["deep"]);if(u!==void 0){for(let d=0;dObject.keys(e[0]||{}).filter(a=>a.charAt(0)!=="_");var Te=e=>{let a=/\s+/,i=typeof e=="string"?e.trim().split(a):e,n={};if(Array.isArray(i)||i instanceof Set){for(let t of i)n[t]=!0;return n}return i??{}},sn=(e,a)=>{let i=Te(e?._colClass??{}),n=Te(a._class??{}),t=Te(a._cellClass?._all??{}),l=Te(a._cellClass?.[e.key]??{});return f(f(f(f({},i),n),t),l)},cn=(e,a)=>{let i={};return typeof e=="object"&&e._colProps&&Object.assign(i,e._colProps),a._cellProps?._all&&Object.assign(i,a._cellProps._all),a._cellProps?.[e.key]&&Object.assign(i,a._cellProps[e.key]),i},mn=(e,a)=>{let i={};return typeof e=="object"&&e._colStyle&&Object.assign(i,e._colStyle),a._cellStyle?._all&&Object.assign(i,a._cellStyle._all),a._cellStyle?.[e.key]&&Object.assign(i,a._cellStyle[e.key]),f({},i)},un=e=>{if(typeof e=="object"&&e._props){let a=f({},e._props),{color:i}=a;return pe(a,["color"])}return{}},pn=e=>{let a=Te(e?._classes??{});return f({},a)},dn=(e,a)=>{let i={verticalAlign:"middle",overflow:"hidden",cursor:a?"pointer":""};return typeof e=="object"&&e._style?f(f({},i),e._style):f({},i)},$n=e=>e.replace(/[-_.]/g," ").replace(/ +/g," ").replace(/([a-z0-9])([A-Z])/g,"$1 $2").split(" ").map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ");var _n=(()=>{var a;let i=class i{constructor(){$(this,a);A(this,a,Pe(oe)),this.value$=w(this,a).value$,this.sizing="sm"}set column(t){w(this,a).emitObject=N(f({},w(this,a).emitObject),{column:t})}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=P({type:i,selectors:[["c-smart-table-column-filter"]],inputs:{column:"column",sizing:"sizing"},standalone:!0,features:[F],decls:2,vars:4,consts:[["autocomplete","off","cFormControl","",3,"sizing","value"]],template:function(l,r){l&1&&(T(0,"input",0),R(1,"async")),l&2&&p("sizing",r.sizing)("value",G(1,2,r.value$))},dependencies:[Le,ne],encapsulation:2,changeDetection:0});let e=i;return e})();var gn=(()=>{let a=class a{transform(n,...t){return ln(n)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275pipe=lt({name:"columnLabel",type:a,pure:!0,standalone:!0});let e=a;return e})();var fn=(e,a)=>({$implicit:e,header:a}),Hn=e=>({$implicit:e});function jn(e,a){e&1&&k(0)}function Ln(e,a){if(e&1&&_(0,jn,1,0,"ng-container",7),e&2){let i=m();p("ngTemplateOutlet",i.summaryRowTemplate)}}function Mn(e,a){e&1&&T(0,"th")}function Bn(e,a){if(e&1&&(s(0,"th",8),g(1),o()),e&2){let i,n=a.$implicit,t=m(3);p("cHtmlAttr",t.getTableHeaderCellProps(n))("cTableColor",t.tableHeaderCellColor(n))("colSpan",(i=n.colspan)!==null&&i!==void 0?i:1)("ngStyle",t.getTableHeaderCellStyles(n,t.columnSorter)),c(),O(" ",n.label," ")}}function Nn(e,a){if(e&1&&(s(0,"tr"),_(1,Mn,1,0,"th"),Z(2,Bn,2,5,"th",8,Y),o()),e&2){let i=a.$implicit,n=m(2);c(),x(n.selectable?1:-1),c(),X(i)}}function Rn(e,a){if(e&1&&Z(0,Nn,4,1,"tr",null,Y),e&2){let i=m();X(i.columnGroups$())}}function Gn(e,a){if(e&1){let i=I();s(0,"th")(1,"input",9),R(2,"async"),E("change",function(t){S(i);let l=m();return y(l.handleSelectAllChecked(t))}),o()()}if(e&2){let i=m();c(),p("checked",i.selectedAll===!0)("disabled",!i.selectAll)("indeterminate",G(2,3,i.indeterminate$))}}function zn(e,a){e&1&&k(0)}function Un(e,a){if(e&1&&_(0,zn,1,0,"ng-container",11),e&2){let i=m().$implicit,n=m(),t=D(12);p("ngTemplateOutlet",t)("ngTemplateOutletContext",ee(2,Hn,n.getColumnSorterState(i)))}}function Wn(e,a){e&1&&k(0)}function Kn(e,a){if(e&1){let i=I();s(0,"th",10),E("click",function(){let t=S(i),l=t.$implicit,r=t.$index,u=m();return y(u.handleSortClick(l,r))})("keydown",function(t){let l=S(i),r=l.$implicit,u=l.$index,h=m();return y(h.handleSortKeyDown(t,r,u))}),_(1,Un,1,4,"ng-container")(2,Wn,1,0,"ng-container",11),o()}if(e&2){let i,n=a.$implicit,t=m(),l=D(8);p("cHtmlAttr",t.getTableHeaderCellProps(n))("cTableColor",t.tableHeaderCellColor(n))("ngClass",t.getTableHeaderCellClass(n))("ngStyle",t.getTableHeaderCellStyles(n,t.columnSorter))("tabindex",t.columnSorter&&t.columnSorterEnabled(n)?0:-1),we("aria-sort",t.getAriaSort(n)),c(),x(t.columnSorter&&t.columnSorterEnabled(n)?1:-1),c(),p("ngTemplateOutlet",(i=t.columnLabelTemplates[t.getColumnLabel(n)])!==null&&i!==void 0?i:l)("ngTemplateOutletContext",ge(9,fn,n,t))}}function Jn(e,a){e&1&&T(0,"th")}function qn(e,a){e&1&&k(0)}function Qn(e,a){if(e&1&&(s(0,"th",12),_(1,qn,1,0,"ng-container",11),o()),e&2){let i,n=a.$implicit,t=m(2),l=D(10);p("cHtmlAttr",t.getTableHeaderCellProps(n))("cTableColor",t.tableHeaderCellColor(n))("ngStyle",t.getTableHeaderCellStyles(n,t.columnSorter)),c(),p("ngTemplateOutlet",(i=t.columnFilterTemplates[t.getColumnFilter(n)])!==null&&i!==void 0?i:l)("ngTemplateOutletContext",ge(5,fn,n,t))}}function Yn(e,a){if(e&1&&(s(0,"tr"),_(1,Jn,1,0,"th"),Z(2,Qn,2,8,"th",12,Y),o()),e&2){let i=m();c(),x(i.selectable?1:-1),c(),X(i.columns)}}function Zn(e,a){if(e&1&&(s(0,"div",13),g(1),R(2,"columnLabel"),o()),e&2){let i=a.$implicit;c(),L(G(2,1,i))}}function Xn(e,a){if(e&1){let i=I();s(0,"c-smart-table-column-filter",15),E("valueChange",function(t){S(i);let l=m(2);return y(l.handleColumnFilterValueChange(t))}),o()}if(e&2){let i,n=m().$implicit,t=m();p("column",n)("delay",300)("onEvent",t.columnFilterEvent)("value",(i=t.columnFilterState[t.columnKey(n)])!==null&&i!==void 0?i:"")}}function ei(e,a){if(e&1&&_(0,Xn,1,4,"c-smart-table-column-filter",14),e&2){let i=a.$implicit,n=m();x(n.columnFilterEnabled(i)?0:-1)}}function ti(e,a){e&1&&k(0)}function ni(e,a){if(e&1&&(s(0,"span",16),_(1,ti,1,0,"ng-container",7),o()),e&2){m(2);let i=D(16);c(),p("ngTemplateOutlet",i)}}function ii(e,a){e&1&&k(0)}function ai(e,a){if(e&1&&(s(0,"span",16),_(1,ii,1,0,"ng-container",7),o()),e&2){m(2);let i=D(18);c(),p("ngTemplateOutlet",i)}}function li(e,a){e&1&&k(0)}function ri(e,a){if(e&1&&(s(0,"span",17),_(1,li,1,0,"ng-container",7),o()),e&2){m(2);let i=D(14);c(),p("ngTemplateOutlet",i)}}function oi(e,a){if(e&1&&_(0,ni,2,1,"span",16)(1,ai,2,1,"span",16)(2,ri,2,1,"span",17),e&2){let i,n=a.$implicit;x((i=n)==="asc"?0:i==="desc"?1:2)}}function si(e,a){e&1&&(re(),s(0,"svg",18),T(1,"polygon",19)(2,"polygon",20),o())}function ci(e,a){e&1&&(re(),s(0,"svg",18),T(1,"polygon",21),o())}function mi(e,a){e&1&&(re(),s(0,"svg",18),T(1,"polygon",22),o())}var hn=(()=>{var a,i,n,t,l,r;let u=class u{constructor(){$(this,a);$(this,i);$(this,n);$(this,t);$(this,l);$(this,r);this.getTableHeaderCellStyles=dn,this.getTableHeaderCellProps=un,this.getTableHeaderCellClass=pn,this.columnFilterState={},this.columnSorter=!0,this.component="thead",A(this,a,ae(void 0)),this.columnGroups$=ae([]),this.selectAll=!0,A(this,n,!1),this.showGroups=!1,A(this,t,{}),A(this,l,{}),A(this,r,null),this.indeterminate$=new B(!1),this.columnFilterStateChange=new H,this.sorterStateChange=new H,this.selectAllChange=new H}set columns(d){let C=d?Ce(d):[];w(this,a).set(C)}get columns(){return w(this,a).call(this)}set columnGroups(d){this.columnGroups$.set(d)}set selectedAll(d){this.indeterminate$.next(d==="indeterminate"),A(this,n,d==="indeterminate"?!1:W(d)),d!=="indeterminate"&&A(this,i,w(this,n))}get selectedAll(){return w(this,n)}set columnFilterTemplates(d){A(this,t,f({},d))}get columnFilterTemplates(){return w(this,t)}set columnLabelTemplates(d){A(this,l,f({},d))}get columnLabelTemplates(){return w(this,l)}set summaryRowTemplate(d){A(this,r,d)}get summaryRowTemplate(){return w(this,r)}get hostClasses(){return{thead:this.component==="thead",tfoot:this.component==="tfoot"}}ngOnInit(){this.columns?.forEach((d,C)=>{let v=this.columnKey(d);this.columnFilterState[v]=this.columnFilterState[v]??""})}tableHeaderCellColor(d){if(typeof d=="object"&&d._props){let{color:C}=f({},d._props);return C}return""}columnKey(d){return typeof d=="object"?d.key:d}getColumnSorterState(d){let C=this.columnKey(d);return this.sorterValue?.column===C&&this.sorterValue.state?this.sorterValue.state:0}handleSortClick(d,C,v){if(this.columnSorterEnabled(d)){let U=this.columnKey(d);this.sorterStateChange.emit({columnKey:U,index:C,order:v})}}handleSortKeyDown(d,C,v){let U=d.code;if(["Enter","Space","ArrowUp","ArrowDown"].includes(U)){d.preventDefault();let ue=U==="ArrowUp"?"asc":U==="ArrowDown"?"desc":void 0;this.handleSortClick(C,v,ue)}}columnFilterEnabled(d){return typeof d!="object"||typeof d.filter>"u"?!0:d.filter}columnSorterEnabled(d){return this.columnSorter?typeof d!="object"||typeof d.sorter>"u"?!0:d.sorter:!1}handleColumnFilterValueChange(d){let{value:C,type:v,column:U}=f({},d),ue=this.columnKey(U),ze=C,qe=typeof this.columnFilter=="object"&&this.columnFilter.lazy===!0;(qe&&v==="input"||!qe&&v==="change")&&ze.length!==0||(this.columnFilterState[this.columnKey(U)]=ze,this.columnFilterStateChange.emit({column:ue,value:ze,type:v}))}handleSelectAllChecked(d){d.preventDefault(),d.target.checked=!w(this,i);let C=d.target.checked;this.selectAllChange.emit(C)}getColumnFilter(d){return`columnFilter_${this.columnKey(d)??"_undefined"}`}getColumnLabel(d){return typeof d=="object"&&d._labelTemplateId?`columnLabel_${d._labelTemplateId??"_undefined"}`:`columnLabel_${this.columnKey(d)??"_undefined"}`}get columnFilterEvent(){return typeof this.columnFilter=="object"&&this.columnFilter.lazy?"change":"input"}getAriaSort(d){let C=this.getColumnSorterState(d);return C==="asc"?"ascending":C==="desc"?"descending":null}};a=new WeakMap,i=new WeakMap,n=new WeakMap,t=new WeakMap,l=new WeakMap,r=new WeakMap,u.\u0275fac=function(C){return new(C||u)},u.\u0275cmp=P({type:u,selectors:[["c-smart-table-head"]],hostVars:2,hostBindings:function(C,v){C&2&&_e(v.hostClasses)},inputs:{columnFilter:"columnFilter",columnFilterState:"columnFilterState",columnSorter:"columnSorter",component:"component",columns:"columns",columnGroups:"columnGroups",selectable:[2,"selectable","selectable",W],selectAll:[2,"selectAll","selectAll",W],selectedAll:"selectedAll",showGroups:[2,"showGroups","showGroups",W],sorterValue:"sorterValue",columnFilterTemplates:"columnFilterTemplates",columnLabelTemplates:"columnLabelTemplates",summaryRowTemplate:"summaryRowTemplate"},outputs:{columnFilterStateChange:"columnFilterStateChange",sorterStateChange:"sorterStateChange",selectAllChange:"selectAllChange"},standalone:!0,features:[Fe,F],decls:19,vars:4,consts:[["defaultColumnLabel",""],["defaultColumnFilter",""],["columnSorterIconTemplate",""],["sortingIconTemplate",""],["sortingIconAscendingTemplate",""],["sortingIconDescendingTemplate",""],[3,"cHtmlAttr","cTableColor","ngClass","ngStyle","tabindex"],[4,"ngTemplateOutlet"],[3,"cHtmlAttr","cTableColor","colSpan","ngStyle"],["autocomplete","off","cFormCheckInput","","type","checkbox",3,"change","checked","disabled","indeterminate"],[3,"click","keydown","cHtmlAttr","cTableColor","ngClass","ngStyle","tabindex"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"cHtmlAttr","cTableColor","ngStyle"],[1,"d-inline"],["cFilterInput","","sizing","sm",3,"column","delay","onEvent","value"],["cFilterInput","","sizing","sm",3,"valueChange","column","delay","onEvent","value"],[1,"float-end","mx-1"],[1,"opacity-25","float-end","mx-1"],["role","img","viewBox","0 0 512 512","width","18","xmlns","http://www.w3.org/2000/svg",1,"icon","icon-custom-size"],["fill","var(--ci-primary-color, currentColor)","points","384 433.373 384 160 352 160 352 434.51 282.177 364.687 259.55 387.313 367.432 495.196 475.313 387.313 452.687 364.687 384 433.373",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","159.432 17.372 51.55 125.255 74.177 147.882 144 78.059 144 352 176 352 176 79.195 244.687 147.882 267.313 125.255 159.432 17.372",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","390.624 150.625 256 16 121.376 150.625 144.004 173.252 240.001 77.254 240.001 495.236 272.001 495.236 272.001 77.257 367.996 173.252 390.624 150.625",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","367.997 338.75 271.999 434.747 271.999 17.503 239.999 17.503 239.999 434.745 144.003 338.75 121.376 361.377 256 496 390.624 361.377 367.997 338.75",1,"ci-primary"]],template:function(C,v){C&1&&(_(0,Ln,1,1,"ng-container")(1,Rn,2,0),s(2,"tr"),_(3,Gn,3,5,"th"),Z(4,Kn,3,12,"th",6,Y),o(),_(6,Yn,4,1,"tr")(7,Zn,3,3,"ng-template",null,0,V)(9,ei,1,1,"ng-template",null,1,V)(11,oi,3,1,"ng-template",null,2,V)(13,si,3,0,"ng-template",null,3,V)(15,ci,2,0,"ng-template",null,4,V)(17,mi,2,0,"ng-template",null,5,V)),C&2&&(x(v.component==="tfoot"?0:-1),c(),x(v.showGroups?1:-1),c(2),x(v.selectable?3:-1),c(),X(v.columns),c(2),x(v.columnFilter?6:-1))},dependencies:[oe,je,Oe,_n,ie,ne,ke,fe,gn,te],styles:["[_nghost-%COMP%]{-webkit-user-select:none;user-select:none}.thead[_nghost-%COMP%]{display:table-header-group;vertical-align:middle;border-color:inherit}.tfoot[_nghost-%COMP%]{display:table-footer-group;vertical-align:middle;border-color:inherit}"],changeDetection:0});let e=u;return e})();function ui(e,a){if(e&1&&(s(0,"option",3),g(1),o()),e&2){let i=a.$implicit;p("ngValue",i),c(),L(i)}}var bn=(()=>{var a;let i=class i{constructor(){$(this,a);A(this,a,5),this.itemsPerPageLabel="Items per page:",this.itemsPerPageOptions=[5,10,20,50],this.itemsPerPageChange=new H}set itemsPerPage(t){w(this,a)!=t&&(A(this,a,t),this.itemsPerPageChange.emit(t))}get itemsPerPage(){return w(this,a)}get hostClasses(){return{row:!0}}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=P({type:i,selectors:[["c-smart-table-items-per-page-selector"]],hostVars:2,hostBindings:function(l,r){l&2&&_e(r.hostClasses)},inputs:{itemsPerPage:"itemsPerPage",itemsPerPageLabel:"itemsPerPageLabel",itemsPerPageOptions:"itemsPerPageOptions"},outputs:{itemsPerPageChange:"itemsPerPageChange"},standalone:!0,features:[F],decls:6,vars:2,consts:[["cLabel","col",1,"col-sm-auto"],[1,"col-auto"],["cSelect","","name","itemsPerPageSelector",3,"ngModelChange","ngModel"],[3,"ngValue"]],template:function(l,r){l&1&&(s(0,"label",0),g(1),o(),s(2,"div",1)(3,"select",2),me("ngModelChange",function(h){return le(r.itemsPerPage,h)||(r.itemsPerPage=h),h}),Z(4,ui,2,2,"option",3,Y),o()()),l&2&&(c(),L(r.itemsPerPageLabel),c(2),ce("ngModel",r.itemsPerPage),c(),X(r.itemsPerPageOptions))},dependencies:[Bt,He,Mt,jt,Lt,Ht,Ot,$t],encapsulation:2});let e=i;return e})();var pi=[[["","customHeader",""]]],di=["[customHeader]"],Ne=()=>({}),_i=e=>({"ms-1":e}),gi=()=>["top"],fi=e=>({sides:e,query:"td"}),hi=()=>["bottom"],bi=e=>({sides:e,query:"tbody"}),Ci=(e,a)=>[e,a],Si=e=>({cursor:e}),yi=(e,a,i,n,t)=>({column:e,item:a,columnName:i,tdContent:n,cellProps:t}),Ti=()=>({borderBottomWidth:0}),xi=()=>({border:0}),vi=(e,a)=>({item:e,index:a});function Pi(e,a){e&1&&k(0)}function Fi(e,a){if(e&1&&(s(0,"div",15),_(1,Pi,1,0,"ng-container",11),o()),e&2){m();let i=D(5);c(),p("ngTemplateOutlet",i)}}function wi(e,a){e&1&&k(0)}function Di(e,a){if(e&1&&(s(0,"div",15),_(1,wi,1,0,"ng-container",11),o()),e&2){m();let i=D(7);c(),p("ngTemplateOutlet",i)}}function Vi(e,a){e&1&&k(0)}function Ai(e,a){if(e&1){let i=I();s(0,"c-smart-table-filter",17),E("valueChange",function(t){S(i);let l=m(3);return y(l.handleTableFilterChange(t))}),o()}if(e&2){let i=m(3);p("delay",300)("filterLabel",i.tableFilterLabel)("filterPlaceholder",i.tableFilterPlaceholder)("onEvent",i.tableFilterEvent)("value",i.tableFilterState)}}function Ii(e,a){if(e&1&&_(0,Ai,1,5,"c-smart-table-filter",16),e&2){let i=m(2);x(i.tableFilter?0:-1)}}function Ei(e,a){e&1&&k(0)}function ki(e,a){if(e&1){let i=I();s(0,"button",19),E("click",function(t){S(i);let l=m(3);return y(l.clean(t))}),_(1,Ei,1,0,"ng-container",11),o()}if(e&2){let i=m(3),n=D(16);p("disabled",!i.isFiltered)("ngClass",ee(3,_i,i.tableFilter)),c(),p("ngTemplateOutlet",n)}}function Oi(e,a){if(e&1&&_(0,ki,2,5,"button",18),e&2){let i=m(2);x(i.cleaner?0:-1)}}function $i(e,a){e&1&&(s(0,"div",20),mt(1),o())}function Hi(e,a){if(e&1&&(s(0,"div",7),_(1,Fi,2,1,"div",15)(2,Di,2,1,"div",15)(3,Vi,1,0,"ng-container",11)(4,Ii,1,1,"ng-template",null,4,V)(6,Oi,1,1,"ng-template",null,5,V)(8,$i,2,0,"ng-template",null,6,V),o()),e&2){let i=D(9),n=m();c(),x(n.tableFilter?1:-1),c(),x(n.cleaner?2:-1),c(),p("ngTemplateOutlet",n.templates.tableCustomHeader||i)}}function ji(e,a){if(e&1){let i=I();s(0,"c-smart-table-head",21),R(1,"async"),E("columnFilterStateChange",function(t){S(i);let l=m();return y(l.handleColumnFilterChange(t))})("selectAllChange",function(t){S(i);let l=m();return y(l.handleSelectAllChange(t))})("sorterStateChange",function(t){S(i);let l=m();return y(l.handleSortChange(t))}),o()}if(e&2){let i,n,t=m();p("cAlign",t.tableHeadProps==null?null:t.tableHeadProps.align)("cHtmlAttr",(i=t.tableHeadProps==null?null:t.tableHeadProps.attributes)!==null&&i!==void 0?i:b(17,Ne))("cTableColor",t.tableHeadProps==null?null:t.tableHeadProps.color)("columnFilterState",t.columnFilterState)("columnFilterTemplates",t.columnFilterTemplates)("columnFilter",t.columnFilter)("columnGroups",t.columnGroups$())("columnLabelTemplates",t.columnLabelTemplates)("columnSorter",t.columnSorter)("columns",t.columns$())("selectAll",t.selectAll)("selectable",t.selectable)("selectedAll",(n=G(1,15,t.selectedAllSubject))!==null&&n!==void 0?n:!1)("showGroups",t.showGroups$())("sorterValue",t.sorterValue)}}function Li(e,a){e&1&&k(0)}function Mi(e,a){e&1&&k(0)}function Bi(e,a){if(e&1&&(s(0,"tfoot"),_(1,Mi,1,0,"ng-container",11),o()),e&2){let i=m();c(),p("ngTemplateOutlet",i.summaryRowTemplate)}}function Ni(e,a){if(e&1){let i=I();s(0,"c-smart-table-head",22),R(1,"async"),E("selectAllChange",function(t){S(i);let l=m();return y(l.handleSelectAllChange(t))})("sorterStateChange",function(t){S(i);let l=m();return y(l.handleSortChange(t))}),o()}if(e&2){let i,n,t=m();p("cAlign",t.tableFootProps==null?null:t.tableFootProps.align)("cHtmlAttr",(i=t.tableFootProps==null?null:t.tableFootProps.attributes)!==null&&i!==void 0?i:b(14,Ne))("cTableColor",t.tableFootProps==null?null:t.tableFootProps.color)("columnFilterTemplates",t.columnFilterTemplates)("columnLabelTemplates",t.columnLabelTemplates)("columnSorter",t.columnSorter)("columns",t.columns$())("selectAll",t.selectAll)("selectable",t.selectable)("selectedAll",(n=G(1,12,t.selectedAllSubject))!==null&&n!==void 0?n:!1)("sorterValue",t.sorterValue)("summaryRowTemplate",t.summaryRowTemplate)}}function Ri(e,a){e&1&&T(0,"c-element-cover",13),e&2&&p("boundaries",ge(7,Ci,ee(2,fi,b(1,gi)),ee(5,bi,b(4,hi))))}function Gi(e,a){if(e&1){let i=I();s(0,"c-smart-pagination",27),E("activePageChange",function(t){S(i);let l=m(2);return y(l.setActivePage(t))}),o()}if(e&2){let i=m(2);p("activePage",i.activePage)("pages",i.numberOfPages)}}function zi(e,a){if(e&1){let i=I();s(0,"c-smart-table-items-per-page-selector",28),E("itemsPerPageChange",function(t){S(i);let l=m(2);return y(l.handleItemsPerPageChange(t))}),o()}if(e&2){let i=m(2);p("itemsPerPageLabel",i.itemsPerPageLabel)("itemsPerPageOptions",i.itemsPerPageOptions)("itemsPerPage",i.itemsPerPage)}}function Ui(e,a){if(e&1&&(s(0,"div",14)(1,"div",23),_(2,Gi,1,2,"c-smart-pagination",24),o(),s(3,"div",25),_(4,zi,1,3,"c-smart-table-items-per-page-selector",26),o()()),e&2){let i=m();c(2),x(i.pagination&&i.numberOfPages>1?2:-1),c(2),x(i.itemsPerPageSelect?4:-1)}}function Wi(e,a){if(e&1){let i=I();s(0,"td",31)(1,"input",32),E("change",function(t){S(i);let l=m().$implicit,r=m(2);return y(r.handleRowChecked(t,l))}),o()()}if(e&2){let i,n,t,l=m().$implicit;p("cAlign",l==null||l._cellProps==null||l._cellProps._all==null?null:l._cellProps._all.align)("cTableActive",(i=l==null||l._cellProps==null||l._cellProps._all==null?null:l._cellProps._all.active)!==null&&i!==void 0?i:void 0)("cTableColor",l==null||l._cellProps==null||l._cellProps._all==null?null:l._cellProps._all.color),c(),p("checked",(n=l._selected)!==null&&n!==void 0?n:!1)("disabled",(t=(l==null?null:l._selectable)===!1)!==null&&t!==void 0?t:!1)}}function Ki(e,a){e&1&&k(0)}function Ji(e,a){if(e&1&&_(0,Ki,1,0,"ng-container",33),e&2){let i=a.$implicit,n=m().$implicit,t=m(2),l=D(12);p("ngTemplateOutlet",t.templates.tableData||l)("ngTemplateOutletContext",Ct(2,yi,i,n,t.getColumnKey(i),n[i.key],t.getTableDataCellProps(i,n)))}}function qi(e,a){e&1&&k(0)}function Qi(e,a){if(e&1&&(s(0,"tr"),T(1,"td",34),o(),s(2,"tr",35)(3,"td",36),_(4,qi,1,0,"ng-container",33),o()()),e&2){let i=m(),n=i.$implicit,t=i.$index,l=m(2);c(),p("colSpan",l.colspan)("ngStyle",b(6,Ti)),c(2),p("colSpan",l.colspan)("ngStyle",b(7,xi)),c(),p("ngTemplateOutlet",l.templates.tableDetails)("ngTemplateOutletContext",ge(8,vi,n,t))}}function Yi(e,a){if(e&1){let i=I();s(0,"tr",30),E("click",function(t){let l=S(i),r=l.$implicit,u=l.$index,h=m(2);return y(h.handleRowClick({$event:t,item:r,i:u}))}),_(1,Wi,2,5,"td",31),Z(2,Ji,1,8,"ng-container",null,Y),o(),_(4,Qi,5,11)}if(e&2){let i,n=a.$implicit,t=m(2);p("cAlign",n._props==null?null:n._props.align)("cTableActive",(i=n._props==null?null:n._props.active)!==null&&i!==void 0?i:void 0)("cTableColor",n._props==null?null:n._props.color)("ngStyle",ee(7,Si,t.clickableRows?"pointer":"auto"))("tabindex",t.clickableRows?0:-1),c(),x(t.selectable?1:-1),c(),X(t.columns$()),c(2),x(t.templates.tableDetails?4:-1)}}function Zi(e,a){e&1&&k(0)}function Xi(e,a){if(e&1&&(s(0,"tbody",29),Z(1,Yi,5,9,null,null,Y),_(3,Zi,1,0,"ng-container",11),o()),e&2){let i,n=m(),t=D(14);p("cAlign",n.tableBodyProps==null?null:n.tableBodyProps.align)("cHtmlAttr",(i=n.tableBodyProps==null?null:n.tableBodyProps.attributes)!==null&&i!==void 0?i:b(4,Ne))("cTableColor",n.tableBodyProps==null?null:n.tableBodyProps.color),c(),X(n.currentItems),c(2),p("ngTemplateOutlet",t)}}function ea(e,a){if(e&1&&(s(0,"td",37),g(1),o()),e&2){let i,n,t=m(),l=t.cellProps,r=t.column,u=t.columnName,h=t.item,d=t.tdContent,C=m();p("cAlign",l==null?null:l.align)("cHtmlAttr",(i=l==null?null:l._attributes)!==null&&i!==void 0?i:void 0)("cTableActive",l==null?null:l.active)("cTableColor",(n=(n=l==null?null:l.color)!==null&&n!==void 0?n:r[u]==null||r[u]._colProps==null?null:r[u]._colProps.color)!==null&&n!==void 0?n:void 0)("ngClass",C.getTableDataCellClass(r,h))("ngStyle",C.getTableDataCellStyles(r,h)),c(),O(" ",d," ")}}function ta(e,a){if(e&1&&_(0,ea,2,7,"td",37),e&2){let i=a.tdContent;x(i!==void 0?0:-1)}}function na(e,a){if(e&1&&(s(0,"tr")(1,"td",38),g(2),o()()),e&2){let i=m(2);c(),p("colSpan",i.colspan),c(),L(i.noItemsLabel)}}function ia(e,a){if(e&1&&_(0,na,3,2,"tr"),e&2){let i=m();x(i.currentItems.length?-1:0)}}function aa(e,a){e&1&&(re(),s(0,"svg",39),T(1,"polygon",40)(2,"polygon",41),o())}var j=(()=>{let a=class a{constructor(n,t){this.iterableDiffers=n,this.keyValueDiffers=t,this.getColumnKey=Ke,this.getTableDataCellClass=sn,this.getTableDataCellProps=cn,this.getTableDataCellStyles=mn,this.selectedAllSubject=new B(!1),this._activePage=1,this.cleaner=!1,this.clickableRows=!1,this.columns$=ae([]),this.columnGroups$=ae([]),this.showGroups$=De(()=>!!this.columnGroups$().length),this._columnFilterValue={},this.footer=!1,this.header=!1,this.items$=ae([]),this._items=[],this._itemsPerPage=10,this.itemsPerPageLabel="Items per page:",this.itemsPerPageOptions=[5,10,20,50],this.noItemsLabel="No items found",this.pagination=!1,this._selectable=!1,this.selectAll=!0,this._sorterValue={},this.tableFilterLabel="Filter:",this.tableFilterPlaceholder="type string...",this._tableFilterValue="",this.tableBodyProps={},this.tableFootProps={},this.tableHeadProps={},this.tableProps={},this.selectedItemsChange=new H,this.sorterValueChange=new H,this.activePageChange=new H,this.itemsPerPageChange=new H,this.rowClick=new H,this.columnFilterValueChange=new H,this.filteredItemsChange=new H,this.tableFilterValueChange=new H,this.templates={tableDetails:null,tableData:null},this.columnFilterTemplates={},this.columnLabelTemplates={},this.summaryRowTemplate=null,this.rawColumnNames$=De(()=>Je(this.columns$(),this.items$())),this.itemsDataColumns$=De(()=>this.rawColumnNames$().filter(l=>Be(this.items$()).includes(l))),this._columnFiltered=[],this.itemsDiffer=this.iterableDiffers.find(this.items).create(),this.itemsFilteredDiffer=this.iterableDiffers.find(this._columnFiltered).create(),this.columFilterValueDiffer=this.keyValueDiffers.find(this.columnFilterValue).create(),this.sorterValueDiffer=this.keyValueDiffers.find(this.sorterValue).create(),setTimeout(()=>{this.selectedAllSubject.next(this.selectedAll)},0)}set activePage(n){this._activePage=n||1,this.activePageChange.emit(this._activePage)}get activePage(){return this._activePage}set columns(n){let t=n.map(u=>typeof u=="string"?{key:u}:f({},u)),l=Ce(t);this.columns$.set(l);let r=on(n??[]);this.columnGroups$.set(r)}get columns(){return this.columns$()}set columnFilterValue(n){this.columFilterValueDiffer&&this.columFilterValueDiffer.diff(n)&&(this._columnFilterValue=f({},n),this.columnFilterValueChange.emit(f({},this._columnFilterValue)),this.tableFiltered)}get columnFilterValue(){return this._columnFilterValue}set items(n){this.itemsDiffer&&this.itemsDiffer.diff(n)&&(this._items=this.setItems(n),this.items$.set(this._items),this.columns.length||(this.columns=Be(this.items$())))}get items(){return this._items}set itemsPerPage(n){this._itemsPerPage=n}get itemsPerPage(){return this._itemsPerPage}set selectable(n){this._selectable=n}get selectable(){return this._selectable}set sorterValue(n){this.sorterValueDiffer&&this.sorterValueDiffer.diff(n)&&(this._sorterValue=n,this.sorterValueChange.emit(f({},n)))}get sorterValue(){return this._sorterValue}set tableFilter(n){this._tableFilter=n,typeof n=="object"&&(this.tableFilterLabel=typeof n.label=="string"?n.label:this.tableFilterLabel,this.tableFilterPlaceholder=typeof n.placeholder=="string"?n.placeholder:this.tableFilterPlaceholder,this.tableFilterValue=typeof n.value=="string"?n.value:this.tableFilterValue)}get tableFilter(){return this._tableFilter}set tableFilterValue(n){this._tableFilterValue!==n&&(this._tableFilterValue=n,this.tableFilterValueChange.emit(n),this.tableFiltered)}get tableFilterValue(){return this._tableFilterValue}ngAfterContentInit(){this.columnTemplates.forEach(n=>{if(n.id.startsWith("columnFilter_")){this.columnFilterTemplates[n.id]=n.templateRef;return}if(n.id.startsWith("columnLabel_")){this.columnLabelTemplates[n.id]=n.templateRef;return}if(n.id==="tableSummaryRow"){this.summaryRowTemplate=n.templateRef;return}this.templates[n.id]=n.templateRef}),this.columnFilterTemplates=f({},this.columnFilterTemplates),this.columnLabelTemplates=f({},this.columnLabelTemplates)}get selectedAll(){let n=this.items.some(l=>l._selected===!0),t=this.items.some(l=>l._selected===!1);return n&&t?"indeterminate":n}get tableFilterState(){return this.tableFilterValue?this.tableFilterValue:""}get columnFilterState(){return this.columnFilterValue?this.columnFilterValue:{}}get numberOfPages(){return this._itemsPerPage?Math.ceil(this.sortedItems.length/this._itemsPerPage):1}get colspan(){return this._selectable?this.rawColumnNames$().length+1:this.rawColumnNames$().length}get firstItemOnActivePageIndex(){return this._activePage?(this._activePage-1)*this._itemsPerPage:0}get itemsOnActivePage(){return this.sortedItems.slice(this.firstItemOnActivePageIndex,this.firstItemOnActivePageIndex+this._itemsPerPage)}get currentItems(){return this._activePage?this.itemsOnActivePage:this.sortedItems??[]}get sortedItems(){let n=this.sorterValue.column;if(!n||!this.itemsDataColumns$().includes(n)||this.columnSorter&&typeof this.columnSorter=="object"&&this.columnSorter.external)return this.tableFiltered;let t=[...this.tableFiltered],l=this.sorterValue.state==="asc"?1:this.sorterValue.state==="desc"?-1:0;if(l===0)return t;let r=this.columns.find(h=>h.key===n);if(typeof r?.sorter=="function"){let h=t.slice().sort(r.sorter);return l<0?h.reverse():h}let u=(h,d)=>{let C=h[n],v=d[n],U=typeof C=="number"?C:String(C).toLowerCase(),ue=typeof v=="number"?v:String(v).toLowerCase();return U>ue?1*l:ue>U?-1*l:0};return t.slice().sort(u)}get tableFilterEvent(){return typeof this.tableFilter=="object"&&this.tableFilter.lazy?"change":"input"}get columnFiltered(){let n=this._items;return this.columnFilter&&typeof this.columnFilter=="object"&&this.columnFilter.external?(this._columnFiltered=n,n):(Object.entries(this.columnFilterState).forEach(([t,l])=>{if(l instanceof Function){n=n.filter(h=>l(h[t]));return}let r=this.columns.find(h=>h.key===t);if(typeof r?.filter=="function"){n=n.filter(h=>(typeof r.filter=="function"&&r.filter(h,l))??!l);return}let u=String(l).toLowerCase();u&&this.itemsDataColumns$().includes(t)&&(n=n.filter(h=>String(h[t]).toLowerCase().includes(u)))}),this._columnFiltered=n,n)}get tableFiltered(){let n=this.columnFiltered;if(!this.tableFilterState||this.tableFilter&&typeof this.tableFilter=="object"&&this.tableFilter.external)return this.itemsFilteredDiffer&&this.itemsFilteredDiffer.diff(n)&&this.filteredItemsChange.emit(n),n;let t=this.tableFilterState.toLowerCase(),l=r=>String(r).toLowerCase().includes(t);return n=n.filter(r=>!!this.itemsDataColumns$().find(u=>l(r[u]))),this.itemsFilteredDiffer&&this.itemsFilteredDiffer.diff(n)&&this.filteredItemsChange.emit(n),n}get isFiltered(){return this.tableFilterState||this.sorterValue?.column||Object.values(this.columnFilterState).join("")}setItems(n){return Array.isArray(n)?n.map((t,l)=>N(f({},t),{___id:t.___id??l})):[]}handleSortChange(n){this.handleSorterChange(n.columnKey,n.index,n.order)}isSortable(n){let t=this.itemsDataColumns$().includes(this.rawColumnNames$()[n]),l;return this.columns.length&&(l=this.columns[n]),this.columnSorter&&(!this.columns.length||typeof l!="object"||typeof l=="object"&&(typeof l.sorter>"u"||l.sorter))&&t}handleSorterChange(n,t,l){if(!this.isSortable(t))return;let r=f({},this.sorterValue);if(r.column===n){let u=this.columnSorter===!0||typeof this.columnSorter=="object"&&this.columnSorter.resetable!==!1&&this.columnSorter.resettable!==!1,h=r.state;l===void 0?r.state=h===0?"asc":h==="asc"?"desc":u?0:"asc":r.state=l===0&&!u?h:l}else r.column=n,r.state="asc";this.sorterValue=f({},r)}setActivePage(n){this.activePage=n}handleColumnFilterChange(n){let{column:t,value:l,type:r}=n;this.setActivePage(1),this.columnFilterValue=N(f({},this.columnFilterValue),{[`${t}`]:l})}handleTableFilterChange(n){let{value:t,type:l}=n,r=typeof this.tableFilter=="object"&&this.tableFilter.lazy===!0;(r&&l==="input"||!r&&l==="change")&&t.length!==0||(this.setActivePage(1),this.tableFilterValue=t)}clean(n){this.columnFilterValue={},this.tableFilterValue="",this.sorterValue={},this.tableFiltered}handleItemsPerPageChange(n){n!==this._itemsPerPage&&(this.setActivePage(1),this._itemsPerPage=n,this.itemsPerPageChange.emit(n))}handleRowChecked(n,t){t._selected=t._selectable!==!1&&n.target.checked,this.selectedItemsChange.emit(this.items.filter(l=>l._selected===!0)),setTimeout(()=>{this.selectedAllSubject.next(this.selectedAll)},0)}handleSelectAllChange(n){this._items=this.items.map(t=>N(f({},t),{_selected:t._selectable!==!1?n:!!t._selected})),this.selectedAllSubject.next(n),setTimeout(()=>{this.selectedItemsChange.emit(this.items.filter(t=>t._selected===!0)),this.selectedAllSubject.next(this.selectedAll)},0)}handleRowClick(n){let{$event:t,item:l,i:r}=f({},n),u=t.target,h=this.rawColumnNames$(),d=this._selectable,C=an(u,h,d);this.rowClick.emit({item:l,index:r+this.firstItemOnActivePageIndex,columnName:C,event:t})}ngOnChanges(n){if(n.columnFilterValue){let l=n.columnFilterValue.currentValue;typeof l=="object"&&Object.keys(l??{}).length&&this.setActivePage(1)}n.tableFilterValue&&n.tableFilterValue.currentValue.length&&this.setActivePage(1)}};a.\u0275fac=function(t){return new(t||a)(Q(St),Q(yt))},a.\u0275cmp=P({type:a,selectors:[["c-smart-table"]],contentQueries:function(t,l,r){if(t&1&&ut(r,z,4),t&2){let u;pt(u=dt())&&(l.columnTemplates=u)}},inputs:{activePage:[2,"activePage","activePage",Ue],cleaner:[2,"cleaner","cleaner",W],clickableRows:[2,"clickableRows","clickableRows",W],columns:"columns",columnFilter:"columnFilter",columnFilterValue:"columnFilterValue",columnSorter:"columnSorter",footer:[2,"footer","footer",W],header:[2,"header","header",W],items:"items",itemsPerPage:[2,"itemsPerPage","itemsPerPage",Ue],itemsPerPageLabel:"itemsPerPageLabel",itemsPerPageOptions:"itemsPerPageOptions",itemsPerPageSelect:"itemsPerPageSelect",loading:"loading",noItemsLabel:"noItemsLabel",pagination:[2,"pagination","pagination",W],selectable:[2,"selectable","selectable",W],selectAll:[2,"selectAll","selectAll",W],sorterValue:"sorterValue",tableFilter:"tableFilter",tableFilterLabel:"tableFilterLabel",tableFilterPlaceholder:"tableFilterPlaceholder",tableFilterValue:"tableFilterValue",tableBodyProps:"tableBodyProps",tableFootProps:"tableFootProps",tableHeadProps:"tableHeadProps",tableProps:"tableProps"},outputs:{selectedItemsChange:"selectedItemsChange",sorterValueChange:"sorterValueChange",activePageChange:"activePageChange",itemsPerPageChange:"itemsPerPageChange",rowClick:"rowClick",columnFilterValueChange:"columnFilterValueChange",filteredItemsChange:"filteredItemsChange",tableFilterValueChange:"tableFilterValueChange"},exportAs:["cSmartTable"],standalone:!0,features:[Fe,rt,F],ngContentSelectors:di,decls:17,vars:20,consts:[["tbodyDefaultTemplate",""],["columnDefaultTemplate",""],["noItemsDefaultTemplate",""],["filterIconTemplate",""],["tableFilterTemplate",""],["tableCleanerTemplate",""],["tableCustomHeaderTemplate",""],[1,"row","my-2","mx-0"],[1,"position-relative"],["cTable","",3,"align","borderColor","bordered","borderless","cHtmlAttr","cTableColor","caption","color","hover","responsive","small","striped"],[3,"cAlign","cHtmlAttr","cTableColor","columnFilterState","columnFilterTemplates","columnFilter","columnGroups","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","showGroups","sorterValue"],[4,"ngTemplateOutlet"],["component","tfoot",3,"cAlign","cHtmlAttr","cTableColor","columnFilterTemplates","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","sorterValue","summaryRowTemplate"],[3,"boundaries"],[1,"row"],[1,"col-auto","p-0"],["cFilterInput","",3,"delay","filterLabel","filterPlaceholder","onEvent","value"],["cFilterInput","",3,"valueChange","delay","filterLabel","filterPlaceholder","onEvent","value"],["cButton","","color","transparent","tabindex","0",3,"disabled","ngClass"],["cButton","","color","transparent","tabindex","0",3,"click","disabled","ngClass"],[1,"col-auto","p-0","ms-auto"],[3,"columnFilterStateChange","selectAllChange","sorterStateChange","cAlign","cHtmlAttr","cTableColor","columnFilterState","columnFilterTemplates","columnFilter","columnGroups","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","showGroups","sorterValue"],["component","tfoot",3,"selectAllChange","sorterStateChange","cAlign","cHtmlAttr","cTableColor","columnFilterTemplates","columnLabelTemplates","columnSorter","columns","selectAll","selectable","selectedAll","sorterValue","summaryRowTemplate"],[1,"col"],[3,"activePage","pages"],[1,"col-auto","ms-auto"],[3,"itemsPerPageLabel","itemsPerPageOptions","itemsPerPage"],[3,"activePageChange","activePage","pages"],[3,"itemsPerPageChange","itemsPerPageLabel","itemsPerPageOptions","itemsPerPage"],[3,"cAlign","cHtmlAttr","cTableColor"],[3,"click","cAlign","cTableActive","cTableColor","ngStyle","tabindex"],[3,"cAlign","cTableActive","cTableColor"],["autocomplete","off","cFormCheckInput","",3,"change","checked","disabled"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1",1,"p-0",3,"colSpan","ngStyle"],[1,"p-0"],[1,"p-0",3,"colSpan","ngStyle"],[3,"cAlign","cHtmlAttr","cTableActive","cTableColor","ngClass","ngStyle"],[1,"justify-content-center",3,"colSpan"],["pointer-events","none","role","img","viewBox","0 0 512 512","width","18","xmlns","http://www.w3.org/2000/svg",1,"icon","icon-custom-size"],["fill","var(--ci-primary-color, currentColor)","points","40 16 40 53.828 109.024 136 150.815 136 76.896 48 459.51 48 304 242.388 304 401.373 241.373 464 240 464 240 368 208 368 208 496 254.627 496 336 414.627 336 253.612 496 53.612 496 16 40 16",1,"ci-primary"],["fill","var(--ci-primary-color, currentColor)","points","166.403 248.225 226.864 187.763 204.237 165.135 143.775 225.597 83.313 165.135 60.687 187.763 121.148 248.225 60.687 308.687 83.313 331.314 143.775 270.852 204.237 331.314 226.864 308.687 166.403 248.225",1,"ci-primary"]],template:function(t,l){if(t&1&&(ct(pi),_(0,Hi,10,3,"div",7),s(1,"div",8)(2,"table",9),_(3,ji,2,18,"c-smart-table-head",10)(4,Li,1,0,"ng-container",11)(5,Bi,2,1,"tfoot")(6,Ni,2,15,"c-smart-table-head",12),o(),_(7,Ri,1,10,"c-element-cover",13),o(),_(8,Ui,5,2,"div",14)(9,Xi,4,5,"ng-template",null,0,V)(11,ta,1,1,"ng-template",null,1,V)(13,ia,1,1,"ng-template",null,2,V)(15,aa,3,0,"ng-template",null,3,V)),t&2){let r,u,h,d,C,v,U=D(10);x(l.itemsPerPageSelect||l.tableFilter||l.cleaner||l.templates.tableCustomHeader?0:-1),c(2),p("align",l.tableProps==null?null:l.tableProps.align)("borderColor",l.tableProps==null?null:l.tableProps.borderColor)("bordered",(r=l.tableProps==null?null:l.tableProps.bordered)!==null&&r!==void 0?r:void 0)("borderless",(u=l.tableProps==null?null:l.tableProps.borderless)!==null&&u!==void 0?u:void 0)("cHtmlAttr",(h=l.tableProps==null?null:l.tableProps.attributes)!==null&&h!==void 0?h:b(19,Ne))("cTableColor",l.tableProps==null?null:l.tableProps.color)("caption",l.tableProps==null?null:l.tableProps.caption)("color",l.tableProps==null?null:l.tableProps.color)("hover",(d=l.tableProps==null?null:l.tableProps.hover)!==null&&d!==void 0?d:void 0)("responsive",l.tableProps==null?null:l.tableProps.responsive)("small",(C=l.tableProps==null?null:l.tableProps.small)!==null&&C!==void 0?C:void 0)("striped",(v=l.tableProps==null?null:l.tableProps.striped)!==null&&v!==void 0?v:void 0),c(),x(l.header?3:-1),c(),p("ngTemplateOutlet",U),c(),x(l.summaryRowTemplate&&!l.footer?5:-1),c(),x(l.footer?6:-1),c(),x(l.loading?7:-1),c(),x(l.pagination||l.itemsPerPageSelect?8:-1)}},dependencies:[ne,fe,te,ke,he,$e,Rt,oe,je,Oe,Me,nn,hn,bn,be,ie,Kt],styles:["[_nghost-%COMP%]{display:block}"]});let e=a;return e})();var Cn={},Re=(()=>{let a=class a{constructor(n){this.httpClient=n,this.usersUrl="https://apitest.coreui.io/demos/users"}getUsers(n){return n.pipe(de(100),se((t,l)=>JSON.stringify(t)===JSON.stringify(l)),et(t=>this.fetchData(t)))}fetchData(n){let t=f({},n),l=new xt({fromObject:t}),r=Object.keys(l).length?f({params:l},Cn):f({params:{}},Cn);return this.httpClient.get(this.usersUrl,r).pipe(ve({count:1,delay:1e3,resetOnSuccess:!0}),Xe(this.handleHttpError))}handleHttpError(n){return Qe(()=>n)}};a.\u0275fac=function(t){return new(t||a)(it(vt))},a.\u0275prov=nt({token:a,factory:a.\u0275fac});let e=a;return e})();var ra=()=>({external:!0,resetable:!0}),oa=()=>({external:!0,lazy:!1}),sa=()=>[],ca=()=>[5,10,20],ma=()=>({hover:!0,striped:!0,responsive:!0});function ua(e,a){if(e&1){let i=I();s(0,"c-smart-pagination",3),E("activePageChange",function(t){S(i);let l=m(2);return y(l.handleActivePageChange(t))}),o()}if(e&2){let i=m().ngIf;p("activePage",i.activePage)("pages",i.totalPages)}}function pa(e,a){if(e&1){let i=I();J(0),s(1,"c-smart-table",1),R(2,"async"),E("itemsPerPageChange",function(t){S(i);let l=m();return y(l.handleItemsPerPageChange(t))})("columnFilterValueChange",function(t){S(i);let l=m();return y(l.handleColumnFilterValueChange(t))})("sorterValueChange",function(t){S(i);let l=m();return y(l.handleSorterValueChange(t))})("filteredItemsChange",function(t){S(i);let l=m();return y(l.handleFilteredItemsChange(t))}),o(),_(3,ua,1,2,"c-smart-pagination",2),q()}if(e&2){let i,n=a.ngIf,t=m();c(),p("columnSorter",b(14,ra))("columns",t.columns)("columnFilter",b(15,oa))("items",(i=G(2,12,t.usersData$))!==null&&i!==void 0?i:b(16,sa))("itemsPerPage",n.itemsPerPage)("itemsPerPageOptions",b(17,ca))("itemsPerPageSelect",!0)("loading",n.loadingData)("tableProps",b(18,ma))("columnFilterValue",n.columnFilterValue)("sorterValue",n.sorterValue),c(2),p("ngIf",n.totalPages)}}function da(e,a){if(e&1&&(J(0),T(1,"hr"),s(2,"c-alert"),g(3),o(),q()),e&2){let i=a.ngIf;c(3),L(i)}}var Sn=(()=>{var a;let i=class i{constructor(t){$(this,a);this.usersService=t,this.title="CoreUI Angular Smart Table Example",this.columns=[{key:"first_name",_style:{width:"15%"}},{key:"last_name",_style:{width:"15%"}},"email",{key:"country",_style:{width:"22%"}},{key:"ip_address",label:"IP",_style:{width:"15%"}}],this.activePage$=new B(0),this.columnFilterValue$=new B({}),this.itemsPerPage$=new B(5),this.loadingData$=new B(!0),this.totalPages$=new B(1),this.sorterValue$=new B({}),this.totalItems$=new B(0),this.apiParams$=new B({limit:this.itemsPerPage$.value,offset:0}),this.errorMessage$=new xe,this.retry$=new xe,this.props$=Ye([this.activePage$,this.columnFilterValue$,this.itemsPerPage$,this.loadingData$,this.sorterValue$,this.totalPages$]).pipe(de(100),Se(([l,r,u,h,d,C])=>({activePage:l,columnFilterValue:r,itemsPerPage:u,loadingData:h,sorterValue:d,totalPages:C}))),A(this,a,new xe),this._apiParams={}}set apiParams(t){let l=f(f({},this._apiParams),t),r=new Map(Object.entries(l));r.forEach((h,d,C)=>{(h===""||h===void 0||h===null)&&C.delete(d)});let u=Object.fromEntries(r);this.loadingData$.next(!0),this._apiParams=f({},u),this.retry$.next(!0),this.apiParams$.next(f({},u))}ngOnDestroy(){w(this,a).next(!0)}ngOnInit(){this.activePage$.pipe(ye(w(this,a))).subscribe(t=>{let l=this.itemsPerPage$.value,r=l*t-l;this.apiParams={offset:r,limit:l}}),this.itemsPerPage$.pipe(se(),ye(w(this,a))).subscribe(t=>{let l=Math.ceil(this.totalItems$.value/t)??1;this.totalPages$.next(l)}),this.totalItems$.pipe(se(),ye(w(this,a))).subscribe(t=>{let l=Math.ceil(t/this.itemsPerPage$.value)??1;this.totalPages$.next(l)}),this.totalPages$.pipe(ye(w(this,a))).subscribe(t=>{let l=this.activePage$.value>t?t:this.activePage$.value;this.setActivePage(l)}),this.usersData$=this.usersService.getUsers(this.apiParams$).pipe(ve({delay:t=>(console.warn("Retry: ",t),this.errorMessage$.next(t.message??`Error: ${JSON.stringify(t)}`),this.loadingData$.next(!1),this.retry$)}),tt(t=>{this.totalItems$.next(t.number_of_matching_records),t.number_of_records&&this.errorMessage$.next(""),this.retry$.next(!1),this.loadingData$.next(!1)}),Se(t=>t.records))}handleColumnFilterValueChange(t){this.setActivePage(1),this.apiParams=f({},t),this.columnFilterValue$.next(t)}handleSorterValueChange(t){this.sorterValue$.next(t.state?t:{});let l=t.state?`${t.column}%${t.state}`:"";this.apiParams={sort:l}}handleFilteredItemsChange(t){}handleActivePageChange(t){this.setActivePage(t)}handleItemsPerPageChange(t){this.itemsPerPage$.next(t)}setActivePage(t){t=t>0&&this.totalPages$.value+1>t?t:1,this.activePage$.next(t)}};a=new WeakMap,i.\u0275fac=function(l){return new(l||i)(Q(Re))},i.\u0275cmp=P({type:i,selectors:[["docs-smart-table03"]],standalone:!0,features:[bt([Re]),F],decls:4,vars:6,consts:[[4,"ngIf"],["cleaner","","header","",3,"itemsPerPageChange","columnFilterValueChange","sorterValueChange","filteredItemsChange","columnSorter","columns","columnFilter","items","itemsPerPage","itemsPerPageOptions","itemsPerPageSelect","loading","tableProps","columnFilterValue","sorterValue"],[3,"activePage","pages","activePageChange",4,"ngIf"],[3,"activePageChange","activePage","pages"]],template:function(l,r){l&1&&(_(0,pa,4,19,"ng-container",0),R(1,"async"),_(2,da,4,1,"ng-container",0),R(3,"async")),l&2&&(p("ngIf",G(1,2,r.props$)),c(2),p("ngIf",G(3,4,r.errorMessage$)))},dependencies:[Ve,j,Me,Vt,ne],encapsulation:2});let e=i;return e})();var _a=[{id:0,name:"John Doe",registered:"2022/01/01",role:"Guest",status:"Pending"},{id:1,name:"Samppa Nori",registered:"2022/01/31",role:"Member",status:"Active",_props:{color:"success",align:"middle"}},{id:2,name:"Estavan Lykos",registered:"2022/02/01",role:"Staff",status:"Banned",_cellProps:{name:{color:"info",active:!0}}},{id:3,name:"Chetan Mohamed",registered:"2022/02/01",role:"Admin",status:"Inactive",_cellProps:{_all:{color:"danger"},role:{active:!0}}},{id:4,name:"Derick Maximinus",registered:"2022/03/01",role:"Member",status:"Pending",_selected:!0},{id:5,name:"Friderik D\xE1vid",registered:"2022/01/21",role:"Staff",status:"Active"},{id:6,name:"Yiorgos Avraamu",registered:"2022/01/07",role:"Member",status:"Active"},{id:7,name:"Avram Tarasios",registered:"2022/02/08",role:"Staff",status:"Banned"},{id:8,name:"Quintin Ed",registered:"2022/02/01",role:"Admin",status:"Inactive"},{id:9,name:"En\xE9as Kwadwo",registered:"2022/03/01",role:"Member",status:"Pending"},{id:10,name:"Agapetus Tade\xE1\u0161",registered:"2022/01/21",role:"Staff",status:"Active"},{id:11,name:"Carwyn Fachtna",registered:"2022/01/01",role:"Member",status:"Active"},{id:12,name:"Nehemiah Tatius",registered:"2022/02/11",role:"Staff",status:"Banned"},{id:13,name:"Ebbe Gemariah",registered:"2022/02/08",role:"Admin",status:"Inactive"},{id:14,name:"Eustorgios Amulius",registered:"2022/03/01",role:"Member",status:"Pending"},{id:15,name:"Leopold G\xE1sp\xE1r",registered:"2022/01/21",role:"Staff",status:"Active"},{id:16,name:"Pompeius Ren\xE9",registered:"2022/01/10",role:"Member",status:"Active"},{id:17,name:"Pa\u0109jo Jadon",registered:"2022/02/01",role:"Staff",status:"Banned"},{id:18,name:"Micheal Mercurius",registered:"2022/02/11",role:"Admin",status:"Inactive"},{id:19,name:"Ganesha Dubhghall",registered:"2022/03/01",role:"Member",status:"Pending"},{id:20,name:"Hiroto \u0160imun",registered:"2022/01/21",role:"Staff",status:"Active"},{id:21,name:"Vishnu Serghei",registered:"2022/01/01",role:"Member",status:"Active"},{id:22,name:"Zbyn\u011Bk Phoibos",registered:"2022/02/14",role:"Staff",status:"Banned"},{id:23,name:"Aulus Agmundr",registered:"2022/01/01",role:"Member",status:"Pending"},{id:42,name:"Ford Prefect",registered:"2001/05/25",role:"Alien",status:"Don't panic!",_cellProps:{role:{active:!0}}}],K=_a;var ga=()=>({hover:!0,striped:!0,responsive:!0});function fa(e,a){if(e&1&&(s(0,"tr",3)(1,"th",4),g(2),o(),s(3,"th"),g(4),o()()),e&2){let i,n=m(),t=D(1);c(2),O("Selected: ",n.selectedItemsCount(),"."),c(),we("colspan",t.columns==null?null:t.columns.length),c(),O(" Items count: ",(i=n.usersData==null?null:n.usersData.length)!==null&&i!==void 0?i:0,". ")}}var yn=(()=>{let a=class a{constructor(){this.selectedItemsCount=ae(0),this.usersData=K.map(n=>{let d=n,{name:t,registered:l,role:r,status:u}=d,h=pe(d,["name","registered","role","status"]);return{name:t,registered:l,role:r,status:u}})}onSelectedItemsChange(n){this.selectedItemsCount.set(n.length??0)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table07"]],standalone:!0,features:[F],decls:3,vars:4,consts:[["table","cSmartTable"],["header","","pagination","","selectable","",3,"selectedItemsChange","itemsPerPage","items","tableProps"],["cTemplateId","tableSummaryRow"],["cTableColor","info"],[2,"width","15%"]],template:function(t,l){if(t&1){let r=I();s(0,"c-smart-table",1,0),E("selectedItemsChange",function(h){return S(r),y(l.onSelectedItemsChange(h))}),_(2,fa,5,3,"ng-template",2),o()}t&2&&p("itemsPerPage",5)("items",l.usersData)("tableProps",b(3,ga))},dependencies:[j,z,ie],encapsulation:2,changeDetection:0});let e=a;return e})();var ha=[{id:0,address:{country:"France",city:"Paris"},name:"John Doe",registered:"2022/01/01",role:"Guest",status:"Pending"},{id:1,address:{country:"Chile",city:"Santiago"},name:"Samppa Nori",registered:"2022/01/31",role:"Member",status:"Active",_props:{color:"success",align:"middle"}},{id:2,address:{country:"Germany",city:"Berlin"},name:"Estavan Lykos",registered:"2022/02/01",role:"Staff",status:"Banned",_cellProps:{name:{color:"info",active:!0}}},{id:3,address:{country:"Germany",city:"Berlin"},name:"Chetan Mohamed",registered:"2022/02/01",role:"Admin",status:"Inactive",_cellProps:{_all:{color:"danger"},role:{active:!0}}},{id:4,address:{country:"Chile",city:"Santiago"},name:"Derick Maximinus",registered:"2022/03/01",role:"Member",status:"Pending",_selected:!0},{id:5,address:{country:"France",city:"Paris"},name:"Friderik D\xE1vid",registered:"2022/01/21",role:"Staff",status:"Active"},{id:6,address:{country:"Chile",city:"Concepci\xF3n"},name:"Yiorgos Avraamu",registered:"2022/01/07",role:"Member",status:"Active"},{id:7,address:{country:"Chile",city:"Santiago"},name:"Avram Tarasios",registered:"2022/02/08",role:"Staff",status:"Banned"},{id:8,address:{country:"France",city:"Lyon"},name:"Quintin Ed",registered:"2022/02/01",role:"Admin",status:"Inactive"},{id:9,address:{country:"Chile",city:"Santiago"},name:"En\xE9as Kwadwo",registered:"2022/03/01",role:"Member",status:"Pending"},{id:10,address:{},name:"Agapetus Tade\xE1\u0161",registered:"2022/01/21",role:"Staff",status:"Active"},{id:11,address:{country:"France",city:"Paris"},name:"Carwyn Fachtna",registered:"2022/01/01",role:"Member",status:"Active"},{id:12,address:{country:"Austria",city:"Wien"},name:"Nehemiah Tatius",registered:"2022/02/11",role:"Staff",status:"Banned"},{id:13,address:{country:"Austria",city:"Wien"},name:"Ebbe Gemariah",registered:"2022/02/08",role:"Admin",status:"Inactive"},{id:14,address:{country:"Austria",city:"Salzburg"},name:"Eustorgios Amulius",registered:"2022/03/01",role:"Member",status:"Pending"},{id:15,address:{country:"Austria",city:"Wien"},name:"Leopold G\xE1sp\xE1r",registered:"2022/01/21",role:"Staff",status:"Active"},{id:16,address:{country:"Chile",city:"Valpara\xEDso"},name:"Pompeius Ren\xE9",registered:"2022/01/10",role:"Member",status:"Active"},{id:17,address:{country:"Chile",city:"Santiago"},name:"Pa\u0109jo Jadon",registered:"2022/02/01",role:"Staff",status:"Banned"},{id:18,address:{country:"Australia",city:"Sydney"},name:"Micheal Mercurius",registered:"2022/02/11",role:"Admin",status:"Inactive"},{id:19,address:{country:"Australia",city:"Perth"},name:"Ganesha Dubhghall",registered:"2022/03/01",role:"Member",status:"Pending"},{id:20,address:{country:"Chile",city:"Santiago"},name:"Hiroto \u0160imun",registered:"2022/01/21",role:"Staff",status:"Active"},{id:21,address:{country:"China",city:"Shanghai"},name:"Vishnu Serghei",registered:"2022/01/01",role:"Member",status:"Active"},{id:22,address:{country:"China",city:"Shanghai"},name:"Zbyn\u011Bk Phoibos",registered:"2022/02/14",role:"Staff",status:"Banned"},{id:23,address:{country:"China",city:"Shenzen"},name:"Aulus Agmundr",registered:"2022/01/01",role:"Member",status:"Pending"},{id:42,address:{country:"China",city:"Shanghai"},name:"Ford Prefect",registered:"2001/05/25",role:"Alien",status:"Don't panic!",_cellProps:{role:{active:!0}}}],Tn=ha;var ba=()=>({hover:!0,striped:!0,responsive:!0});function Ca(e,a){if(e&1&&(J(0),g(1),q()),e&2){let i,n=m(),t=n.columnName,l=n.item;c(),O(" ",(i=l[t].country)!==null&&i!==void 0?i:"-"," ")}}function Sa(e,a){if(e&1&&(J(0),g(1),q()),e&2){let i=m().tdContent;c(),O(" ",i," ")}}function ya(e,a){if(e&1&&(s(0,"td",3),J(1,4),_(2,Ca,2,1,"ng-container",5)(3,Sa,2,1,"ng-container",6),q(),o()),e&2){let i,n,t,l=a.columnName,r=a.item;m();let u=D(1);p("cTableActive",(i=u.getTableDataCellProps(r,l))==null?null:i.active)("cTableColor",(n=u.getTableDataCellProps(r,l))==null?null:n.color)("cAlign",(t=u.getTableDataCellProps(r,l))==null?null:t.align)("ngClass",u.getTableDataCellClass(r,l)),c(),p("ngSwitch",l),c(),p("ngSwitchCase","address")}}var xn=(()=>{let a=class a{constructor(){this.usersData=Tn.map(n=>N(f({},n),{city:n.address.city})),this.filteredUsersData=this.usersData,this.columns=[{key:"name",_style:{width:"40%"}},{key:"address",_props:{color:"info",class:"fw-bold"},filter:(n,t)=>n.address?.country?.toLowerCase().startsWith(t.toLowerCase().trim()),sorter:(n,t)=>{let l=(n.address?.country?.toLowerCase().trim()??"")+(n.address?.city?.toLowerCase().trim()??""),r=(t.address?.country?.toLowerCase().trim()??"")+(t.address?.city?.toLowerCase().trim()??"");return l>r?1:r>l?-1:0}},{key:"city"}]}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table06"]],standalone:!0,features:[F],decls:3,vars:7,consts:[["smartTable","cSmartTable"],["header","","itemsPerPage","10","pagination","",3,"columnFilter","columnSorter","columns","itemsPerPageSelect","items","tableProps"],["cTemplateId","tableData"],[3,"cTableActive","cTableColor","cAlign","ngClass"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(t,l){t&1&&(s(0,"c-smart-table",1,0),_(2,ya,4,6,"ng-template",2),o()),t&2&&p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.filteredUsersData)("tableProps",b(6,ba))},dependencies:[j,z,be,ie,he,te,Ae,Ie,Ee],encapsulation:2});let e=a;return e})();function Ge(e){let a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function vn(e){let a=Ge(e);return a.setHours(0,0,0,0),a}function Pn(e){let a=Ge(e);return a.setHours(23,59,59,999),a}var Ta=()=>({column:"registered",state:"asc"}),xa=()=>({hover:!0,striped:!0,responsive:!0}),va=()=>({strategy:"fixed"});function Pa(e,a){if(e&1){let i=I();s(0,"c-date-range-picker",2),me("calendarDateChange",function(t){S(i);let l=m();return le(l.calendarDate,t)||(l.calendarDate=t),y(t)})("endDateChange",function(t){S(i);let l=m();return le(l.endDate,t)||(l.endDate=t),y(t)})("startDateChange",function(t){S(i);let l=m();return le(l.startDate,t)||(l.startDate=t),y(t)}),o()}if(e&2){let i=m();ce("calendarDate",i.calendarDate)("endDate",i.endDate)("startDate",i.startDate),p("popperOptions",b(4,va))}}var Fn=(()=>{let a=class a{constructor(){this.newData=K.map(n=>{let{id:t,name:l,registered:r}=f({},n);return{id:t,name:l,registered:r}}),this.columns=[{key:"name",_style:{width:"50%"}},{key:"registered",_style:{width:"50%"},_props:{color:"info",class:"fw-bold"}}],this.calendarDate=new Date(2022,0,1),this._startDate=new Date(2022,0,1),this._endDate=new Date(2022,0,10),this._columnFilterValue={}}set startDate(n){this._startDate=n,this._endDate&&this.handleDateRangeChange()}get startDate(){return this._startDate}set endDate(n){this._endDate=n,this.handleDateRangeChange()}get endDate(){return this._endDate}set columnFilterValue(n){this._columnFilterValue=f({},n)}get columnFilterValue(){return this._columnFilterValue}handleDateRangeChange(){let n=f({},this.columnFilterValue);if(this._startDate&&this._endDate){let t=vn(this._startDate),l=Pn(this._endDate),r=u=>{let h=new Date(u);return h>=t&&h<=l};this.columnFilterValue=N(f({},n),{registered:r});return}delete n.registered,this.columnFilterValue=f({},n)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table05"]],standalone:!0,features:[F],decls:2,vars:10,consts:[["header","","itemsPerPage","10","pagination","",3,"columnFilterValueChange","columnFilterValue","columnFilter","columnSorter","columns","itemsPerPageSelect","items","sorterValue","tableProps"],["cTemplateId","columnFilter_registered"],["calendars","2","closeOnSelect","","locale","en-CA","size","sm",3,"calendarDateChange","endDateChange","startDateChange","calendarDate","endDate","startDate","popperOptions"]],template:function(t,l){t&1&&(s(0,"c-smart-table",0),me("columnFilterValueChange",function(u){return le(l.columnFilterValue,u)||(l.columnFilterValue=u),u}),_(1,Pa,1,5,"ng-template",1),o()),t&2&&(ce("columnFilterValue",l.columnFilterValue),p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.newData)("sorterValue",b(8,Ta))("tableProps",b(9,xa)))},dependencies:[j,z,Nt],encapsulation:2});let e=a;return e})();var Fa=()=>({hover:!0,striped:!0,responsive:!0});function wa(e,a){if(e&1&&(s(0,"c-multi-select-option",4),g(1),o()),e&2){let i=a.$implicit;p("value",i),c(),L(i)}}function Da(e,a){if(e&1){let i=I();s(0,"c-multi-select",2),E("valueChange",function(t){S(i);let l=m();return y(l.handleValueChange(t))}),_(1,wa,2,2,"c-multi-select-option",3),o()}if(e&2){let i=m();p("value",i.selected),c(),p("ngForOf",i.roles)}}var wn=(()=>{let a=class a{constructor(){this.newData=K.map(n=>{let{id:t,name:l,role:r,status:u}=f({},n);return{id:t,name:l,role:r,status:u}}),this.roles=[...new Set(K.map(n=>n.role))],this.selected=["Staff","Admin"],this.columns=[{key:"name",_style:{width:"50%"}},{key:"role",_style:{width:"50%"},_props:{color:"info",class:"fw-bold"}}],this._columnFilterValue={}}set columnFilterValue(n){this._columnFilterValue=f({},n),Object.entries(n).length||(this.selected=[])}get columnFilterValue(){return this._columnFilterValue}handleValueChange(n){let t=f({},this.columnFilterValue);if(n?.length){let l=[...n];this.selected=l;let r=u=>l.includes(u);this.columnFilterValue=N(f({},t),{role:r});return}delete t.role,this.columnFilterValue=f({},t)}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table04"]],standalone:!0,features:[F],decls:2,vars:8,consts:[["header","","itemsPerPage","10","pagination","",3,"columnFilterValueChange","columnFilter","columnFilterValue","columnSorter","columns","itemsPerPageSelect","items","tableProps"],["cTemplateId","columnFilter_role"],["multiple","","size","sm",3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,l){t&1&&(s(0,"c-smart-table",0),me("columnFilterValueChange",function(u){return le(l.columnFilterValue,u)||(l.columnFilterValue=u),u}),_(1,Da,2,2,"ng-template",1),o()),t&2&&(p("columnFilter",!0),ce("columnFilterValue",l.columnFilterValue),p("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.newData)("tableProps",b(7,Fa)))},dependencies:[j,z,Ut,Tt,zt],encapsulation:2});let e=a;return e})();var Va=()=>({hover:!0,striped:!0,responsive:!0}),Dn=e=>({$implicit:e});function Aa(e,a){e&1&&k(0)}function Ia(e,a){if(e&1&&(s(0,"div",4),g(1),_(2,Aa,1,0,"ng-container",5),o()),e&2){let i=a.$implicit;m();let n=D(4);c(),O(" ",i.label," "),c(),p("ngTemplateOutlet",n)("ngTemplateOutletContext",ee(3,Dn,i))}}function Ea(e,a){e&1&&k(0)}function ka(e,a){if(e&1&&_(0,Ea,1,0,"ng-container",5),e&2){let i=a.$implicit;m();let n=D(4);p("ngTemplateOutlet",n)("ngTemplateOutletContext",ee(2,Dn,i))}}function Oa(e,a){if(e&1&&(s(0,"div",7),re(),T(1,"svg",8),o()),e&2){let i=m().$implicit,n=m();p("cTooltipTrigger","hover")("cTooltip",i==null||i._data==null?null:i._data.tooltip),c(),p("cIcon",n.icons[i==null||i._data==null?null:i._data.icon])}}function $a(e,a){if(e&1&&_(0,Oa,2,3,"div",6),e&2){let i=a.$implicit;p("ngIf",i==null||i._data==null?null:i._data.tooltip)}}var Vn=(()=>{let a=class a{constructor(){this.icons={cilBadge:Zt,cilCalendar:Xt,cilGroup:en,cilUser:tn},this.newData=K.map(n=>{let{id:t,name:l,role:r,status:u,registered:h}=f({},n);return{id:t,name:l,role:r,status:u,registered:h}}),this.columns=[{key:"name",label:"Name",_style:{width:"30%"},_labelTemplateId:"all",_data:{tooltip:"User Name",icon:"cilUser"}},{key:"role",label:"Role",_style:{width:"20%"},_labelTemplateId:"all",_data:{tooltip:"User Role",icon:"cilGroup"}},{key:"status",label:"Status",_style:{width:"25%"},_labelTemplateId:"all",_data:{tooltip:"User Status",icon:"cilBadge"}},{key:"registered",label:"Registered",_style:{width:"25%"},_data:{tooltip:"Date Registered",icon:"cilCalendar"}}]}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table08"]],standalone:!0,features:[F],decls:5,vars:7,consts:[["icon",""],["header","","itemsPerPage","10","pagination","",3,"columnFilter","columnSorter","columns","itemsPerPageSelect","items","tableProps"],["cTemplateId","columnLabel_all"],["cTemplateId","columnLabel_registered"],[1,"d-inline"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","d-inline","cTooltipPlacement","top",3,"cTooltipTrigger","cTooltip",4,"ngIf"],["cTooltipPlacement","top",1,"d-inline",3,"cTooltipTrigger","cTooltip"],["size","sm","title","Info Icon",1,"ms-1",3,"cIcon"]],template:function(t,l){t&1&&(s(0,"c-smart-table",1),_(1,Ia,3,5,"ng-template",2)(2,ka,1,4,"ng-template",3),o(),_(3,$a,1,1,"ng-template",null,0,V)),t&2&&p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("items",l.newData)("tableProps",b(6,Va))},dependencies:[j,z,fe,Ve,Wt,wt],encapsulation:2});let e=a;return e})();var Ha=()=>({hover:!0,striped:!0,responsive:!0}),An=(()=>{let a=class a{constructor(){this.usersData=K}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table02"]],standalone:!0,features:[F],decls:1,vars:6,consts:[["activePage","2","header","","pagination","",3,"columnFilter","columnSorter","itemsPerPage","items","tableProps"]],template:function(t,l){t&1&&T(0,"c-smart-table",0),t&2&&p("columnFilter",!0)("columnSorter",!0)("itemsPerPage",10)("items",l.usersData)("tableProps",b(5,Ha))},dependencies:[j],encapsulation:2});let e=a;return e})();var ja=()=>({column:"name",state:"asc"}),La=()=>({align:"middle"}),In=()=>({color:"warning"}),Ma=()=>({hover:!0,striped:!0,responsive:!0});function Ba(e,a){if(e&1){let i=I();s(0,"div",5)(1,"button",6),E("click",function(){S(i),m();let t=D(1);return y(t.footer=!t.footer)}),g(2),o()()}if(e&2){m();let i=D(1);p("cCol","auto"),c(2),O(" Footer is ",i.footer?"ON":"OFF"," ")}}function Na(e,a){if(e&1&&(s(0,"div",7)(1,"c-card",8)(2,"c-card-body")(3,"h5"),g(4),o(),s(5,"p",9),g(6),o()(),s(7,"c-card-footer")(8,"button",10),g(9," User Settings "),o(),s(10,"button",11),g(11," Delete "),o()()()()),e&2){let i=a.item,n=m();p("visible",n.details_visible[i.id]===!0),c(4),L(i.name),c(2),O("User since: ",i.registered,"")}}function Ra(e,a){if(e&1&&(J(0),s(1,"c-badge",17),g(2),o(),q()),e&2){let i=m(),n=i.columnName,t=i.item,l=i.tdContent,r=m();c(),p("color",r.getBadge(l)),c(),O(" ",t[n]," ")}}function Ga(e,a){if(e&1){let i=I();J(0,18),s(1,"button",19),E("click",function(){S(i);let t=m().item,l=m();return y(l.toggleDetails(t.id))}),g(2," Show "),o(),q()}}function za(e,a){if(e&1&&(J(0),g(1),q()),e&2){let i=m().tdContent;c(),O(" ",i," ")}}function Ua(e,a){if(e&1&&(s(0,"td",12),J(1,13),_(2,Ra,3,2,"ng-container",14)(3,Ga,3,0,"ng-container",15)(4,za,2,1,"ng-container",16),q(),o()),e&2){let i,n,t,l=a.columnName,r=a.item;m();let u=D(1);p("cTableActive",(i=u.getTableDataCellProps(r,l))==null?null:i.active)("cTableColor",(n=u.getTableDataCellProps(r,l))==null?null:n.color)("cAlign",(t=u.getTableDataCellProps(r,l))==null?null:t.align)("ngClass",u.getTableDataCellClass(r,l)),c(),p("ngSwitch",l),c(),p("ngSwitchCase","status"),c(),p("ngSwitchCase","show")}}var En=(()=>{let a=class a{constructor(){this.usersData=K,this.columns=[{key:"name",_style:{width:"40%"},_props:{color:"danger",class:"fw-bold"}},"registered",{key:"role",filter:!1,sorter:!1,_style:{width:"15%"},_classes:"text-muted small"},{key:"status",_style:{width:"15%"}},{key:"show",label:"",_style:{width:"5%"},filter:!1,sorter:!1}],this.details_visible=Object.create({})}getBadge(n){switch(n){case"Active":return"success";case"Inactive":return"secondary";case"Pending":return"warning";case"Banned":return"danger";default:return"primary"}}getItem(n){return Object.keys(n)}toggleDetails(n){this.details_visible[n]=!this.details_visible[n]}};a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=P({type:a,selectors:[["docs-smart-table01"]],standalone:!0,features:[F],decls:5,vars:17,consts:[["smartTable","cSmartTable"],["activePage","2","cleaner","","clickableRows","","footer","","header","","pagination","","selectable","",3,"columnFilter","columnSorter","columns","itemsPerPageSelect","itemsPerPage","items","sorterValue","tableBodyProps","tableFilter","tableFootProps","tableHeadProps","tableProps"],["cTemplateId","tableCustomHeader"],["cTemplateId","tableDetails"],["cTemplateId","tableData"],[1,"p-0","ms-auto",3,"cCol"],["cButton","","color","success",3,"click"],["cCollapse","",3,"visible"],[1,"rounded-0"],[1,"text-muted"],["cButton","","color","info","size","sm"],["cButton","","color","danger","size","sm",1,"ms-1"],[3,"cTableActive","cTableColor","cAlign","ngClass"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","py-2",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"color"],[1,"py-2"],["cButton","","color","primary","size","sm","variant","outline",3,"click"]],template:function(t,l){t&1&&(s(0,"c-smart-table",1,0),_(2,Ba,3,2,"ng-template",2)(3,Na,12,3,"ng-template",3)(4,Ua,5,7,"ng-template",4),o()),t&2&&p("columnFilter",!0)("columnSorter",!0)("columns",l.columns)("itemsPerPageSelect",!0)("itemsPerPage",5)("items",l.usersData)("sorterValue",b(12,ja))("tableBodyProps",b(13,La))("tableFilter",!0)("tableFootProps",b(14,In))("tableHeadProps",b(15,In))("tableProps",b(16,Ma))},dependencies:[j,z,Gt,$e,Dt,It,Et,kt,be,ie,he,te,Ae,Ie,At,Ee],encapsulation:2});let e=a;return e})();var kn=`\`\`\`typescript import { SmartTableModule, SharedModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-ZRYKY3MP.js b/angular/docs/chunk-637KEXIK.js similarity index 94% rename from angular/docs/chunk-ZRYKY3MP.js rename to angular/docs/chunk-637KEXIK.js index e96ed3f4741..a584c6109e4 100644 --- a/angular/docs/chunk-ZRYKY3MP.js +++ b/angular/docs/chunk-637KEXIK.js @@ -1 +1 @@ -import{m as B}from"./chunk-FIXU3TFH.js";import{$b as h,La as g,Oc as x,Pb as a,Qb as m,Ub as o,ac as C,mb as p,na as u,pa as s,pc as v,qc as b,rb as f,tc as y,vc as D,wc as P,xa as d}from"./chunk-O6V6MKDU.js";var c=(()=>{let e=class e{get hostClasses(){return{"page-link":!0}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s({type:e,selectors:[["","cPageLink",""]],hostVars:2,hostBindings:function(t,r){t&2&&o(r.hostClasses)},standalone:!0});let n=e;return n})();var I=(()=>{let e=class e{get ariaCurrent(){return this.active?"page":null}get hostClasses(){return{"page-item":!0,disabled:this.disabled,active:this.active}}constructor(i){this.renderer=i}ngAfterContentInit(){this.setAttributes()}ngOnChanges(i){i.disabled&&this.setAttributes()}setAttributes(){if(!this.pageLinkElementRef)return;let i=this.pageLinkElementRef.nativeElement;this.disabled?(this.renderer.setAttribute(i,"aria-disabled","true"),this.renderer.setAttribute(i,"tabindex","-1")):(this.renderer.removeAttribute(i,"aria-disabled"),this.renderer.removeAttribute(i,"tabindex"))}};e.\u0275fac=function(t){return new(t||e)(p(f))},e.\u0275dir=s({type:e,selectors:[["","cPageItem",""]],contentQueries:function(t,r,A){if(t&1&&y(A,c,5,g),t&2){let l;D(l=P())&&(r.pageLinkElementRef=l.first)}},hostVars:3,hostBindings:function(t,r){t&2&&(a("aria-current",r.ariaCurrent),o(r.hostClasses))},inputs:{active:"active",disabled:"disabled"},standalone:!0,features:[d]});let n=e;return n})();var E=["*"],L=(()=>{let e=class e{constructor(){this.align="",this.role="navigation"}get paginationClass(){return{pagination:!0,[`pagination-${this.size}`]:!!this.size,[`justify-content-${this.align}`]:!!this.align}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=u({type:e,selectors:[["c-pagination"]],hostVars:1,hostBindings:function(t,r){t&2&&a("role",r.role)},inputs:{align:"align",size:"size",role:"role"},standalone:!0,features:[x],ngContentSelectors:E,decls:2,vars:1,consts:[[3,"ngClass"]],template:function(t,r){t&1&&(v(),h(0,"ul",0),b(1),C()),t&2&&m("ngClass",r.paginationClass)},dependencies:[B],encapsulation:2});let n=e;return n})();export{c as a,I as b,L as c}; +import{m as B}from"./chunk-XHR4TYVD.js";import{$b as h,La as g,Oc as x,Pb as a,Qb as m,Ub as o,ac as C,mb as p,na as u,pa as s,pc as v,qc as b,rb as f,tc as y,vc as D,wc as P,xa as d}from"./chunk-6U7QZ4SV.js";var c=(()=>{let e=class e{get hostClasses(){return{"page-link":!0}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s({type:e,selectors:[["","cPageLink",""]],hostVars:2,hostBindings:function(t,r){t&2&&o(r.hostClasses)},standalone:!0});let n=e;return n})();var I=(()=>{let e=class e{get ariaCurrent(){return this.active?"page":null}get hostClasses(){return{"page-item":!0,disabled:this.disabled,active:this.active}}constructor(i){this.renderer=i}ngAfterContentInit(){this.setAttributes()}ngOnChanges(i){i.disabled&&this.setAttributes()}setAttributes(){if(!this.pageLinkElementRef)return;let i=this.pageLinkElementRef.nativeElement;this.disabled?(this.renderer.setAttribute(i,"aria-disabled","true"),this.renderer.setAttribute(i,"tabindex","-1")):(this.renderer.removeAttribute(i,"aria-disabled"),this.renderer.removeAttribute(i,"tabindex"))}};e.\u0275fac=function(t){return new(t||e)(p(f))},e.\u0275dir=s({type:e,selectors:[["","cPageItem",""]],contentQueries:function(t,r,A){if(t&1&&y(A,c,5,g),t&2){let l;D(l=P())&&(r.pageLinkElementRef=l.first)}},hostVars:3,hostBindings:function(t,r){t&2&&(a("aria-current",r.ariaCurrent),o(r.hostClasses))},inputs:{active:"active",disabled:"disabled"},standalone:!0,features:[d]});let n=e;return n})();var E=["*"],L=(()=>{let e=class e{constructor(){this.align="",this.role="navigation"}get paginationClass(){return{pagination:!0,[`pagination-${this.size}`]:!!this.size,[`justify-content-${this.align}`]:!!this.align}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=u({type:e,selectors:[["c-pagination"]],hostVars:1,hostBindings:function(t,r){t&2&&a("role",r.role)},inputs:{align:"align",size:"size",role:"role"},standalone:!0,features:[x],ngContentSelectors:E,decls:2,vars:1,consts:[[3,"ngClass"]],template:function(t,r){t&1&&(v(),h(0,"ul",0),b(1),C()),t&2&&m("ngClass",r.paginationClass)},dependencies:[B],encapsulation:2});let n=e;return n})();export{c as a,I as b,L as c}; diff --git a/angular/docs/chunk-43AYKN2K.js b/angular/docs/chunk-67N6BHTF.js similarity index 94% rename from angular/docs/chunk-43AYKN2K.js rename to angular/docs/chunk-67N6BHTF.js index c0f0bae69ba..3b7b324325e 100644 --- a/angular/docs/chunk-43AYKN2K.js +++ b/angular/docs/chunk-67N6BHTF.js @@ -1 +1 @@ -import{a as $}from"./chunk-KHEJVAJA.js";import{a as w}from"./chunk-2IKSDGSZ.js";import{h as O}from"./chunk-QNSTT6ST.js";import{m as R,t as M}from"./chunk-FIXU3TFH.js";import{$b as N,Ac as C,Fb as y,Gb as B,Jb as D,La as h,Oc as f,Pb as c,Qb as b,Sb as p,Ub as v,_c as x,ac as _,ec as E,mb as l,mc as H,na as s,nd as F,oc as k,pa as d,pc as m,qc as r,rb as T,tc as I,vc as S,wc as j}from"./chunk-O6V6MKDU.js";var V=["*","*"];function P(n,e){n&1&&E(0)}function Q(n,e){if(n&1&&(N(0,"div",3),r(1),_()),n&2){let L=k();b("ngClass",L.containerClass)}}function A(n,e){n&1&&r(0,1)}var q=(()=>{let e=class e{constructor(i,t){this.hostElement=i,this.breakpointObserver=t,this.role="navigation"}get hostClasses(){return{navbar:!0,[`navbar-expand${this.expand===!0?"":`-${this.expand}`}`]:!!this.expand,[`bg-${this.color}`]:!!this.color,[`${this.placement}`]:!!this.placement}}get containerClass(){return`container${this.container!==!0?"-"+this.container:""}`}get breakpoint(){return typeof this.expand=="string"?getComputedStyle(this.hostElement.nativeElement)?.getPropertyValue(`--cui-breakpoint-${this.expand}`)??!1:!1}ngAfterContentInit(){if(this.breakpoint){let i=`(min-width: ${this.breakpoint})`;this.breakpointObserver.observe([i]).subscribe(t=>{if(this.collapse){let o=this.collapse.animate;this.collapse.toggle(!1),this.collapse.animate=!1,setTimeout(()=>{this.collapse.toggle(t.matches),setTimeout(()=>{this.collapse.animate=o})})}})}}};e.\u0275fac=function(t){return new(t||e)(l(h),l(O))},e.\u0275cmp=s({type:e,selectors:[["c-navbar"]],contentQueries:function(t,o,u){if(t&1&&I(u,$,5),t&2){let a;S(a=j())&&(o.collapse=a.first)}},hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),v(o.hostClasses))},inputs:{color:"color",container:"container",expand:"expand",placement:"placement",role:"role"},standalone:!0,features:[y([{directive:w,inputs:["colorScheme","colorScheme"]}]),f],ngContentSelectors:V,decls:5,vars:1,consts:[["withContainerTemplate",""],["noContainerTemplate",""],[4,"ngTemplateOutlet"],[3,"ngClass"]],template:function(t,o){if(t&1&&(m(V),D(0,P,1,0,"ng-container",2)(1,Q,2,1,"ng-template",null,0,x)(3,A,1,0,"ng-template",null,1,x)),t&2){let u=C(2),a=C(4);b("ngTemplateOutlet",o.container?u:a)}},dependencies:[R,M],encapsulation:2});let n=e;return n})();var z=(()=>{let e=class e{constructor(){this.navbarBrand=!0,this.role="button"}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d({type:e,selectors:[["","cNavbarBrand",""]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),p("navbar-brand",o.navbarBrand))},standalone:!0});let n=e;return n})();var G=["*"],J=(()=>{let e=class e{constructor(){this.scroll=!1}get hostClasses(){return{"navbar-nav":!0,"navbar-nav-scroll":this.scroll}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s({type:e,selectors:[["c-navbar-nav"]],hostVars:2,hostBindings:function(t,o){t&2&&v(o.hostClasses)},inputs:{scroll:[2,"scroll","scroll",F]},standalone:!0,features:[B,f],ngContentSelectors:G,decls:1,vars:0,template:function(t,o){t&1&&(m(),r(0))},encapsulation:2});let n=e;return n})();var K=["*"],U=(()=>{let e=class e{constructor(){this.navbarTextClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s({type:e,selectors:[["c-navbar-text"]],hostVars:2,hostBindings:function(t,o){t&2&&p("navbar-text",o.navbarTextClass)},standalone:!0,features:[f],ngContentSelectors:K,decls:1,vars:0,template:function(t,o){t&1&&(m(),r(0))},encapsulation:2});let n=e;return n})();var W=(()=>{let e=class e{constructor(i,t){this.renderer=i,this.hostElement=t,this.navbarToggler=!0,this.type="button",this.ariaLabel="Toggle navigation"}handleClick(){this.collapseRef?.toggle(!this.collapseRef?.visible)}addDefaultIcon(){let i=this.renderer.createElement("span");this.renderer.addClass(i,"navbar-toggler-icon"),this.renderer.appendChild(this.hostElement.nativeElement,i)}ngAfterContentInit(){this.hasContent=this.hostElement.nativeElement.childNodes.length,this.hasContent||this.addDefaultIcon()}};e.\u0275fac=function(t){return new(t||e)(l(T),l(h))},e.\u0275dir=d({type:e,selectors:[["","cNavbarToggler",""]],hostVars:4,hostBindings:function(t,o){t&1&&H("click",function(a){return o.handleClick(a)}),t&2&&(c("type",o.type)("aria-label",o.ariaLabel),p("navbar-toggler",o.navbarToggler))},inputs:{collapseRef:[0,"cNavbarToggler","collapseRef"],type:"type",ariaLabel:"ariaLabel"},standalone:!0});let n=e;return n})();export{q as a,z as b,J as c,U as d,W as e}; +import{a as $}from"./chunk-2RE6QDUT.js";import{a as w}from"./chunk-D272JSA3.js";import{h as O}from"./chunk-LZN2HRQX.js";import{m as R,t as M}from"./chunk-XHR4TYVD.js";import{$b as N,Ac as C,Fb as y,Gb as B,Jb as D,La as h,Oc as f,Pb as c,Qb as b,Sb as p,Ub as v,_c as x,ac as _,ec as E,mb as l,mc as H,na as s,nd as F,oc as k,pa as d,pc as m,qc as r,rb as T,tc as I,vc as S,wc as j}from"./chunk-6U7QZ4SV.js";var V=["*","*"];function P(n,e){n&1&&E(0)}function Q(n,e){if(n&1&&(N(0,"div",3),r(1),_()),n&2){let L=k();b("ngClass",L.containerClass)}}function A(n,e){n&1&&r(0,1)}var q=(()=>{let e=class e{constructor(i,t){this.hostElement=i,this.breakpointObserver=t,this.role="navigation"}get hostClasses(){return{navbar:!0,[`navbar-expand${this.expand===!0?"":`-${this.expand}`}`]:!!this.expand,[`bg-${this.color}`]:!!this.color,[`${this.placement}`]:!!this.placement}}get containerClass(){return`container${this.container!==!0?"-"+this.container:""}`}get breakpoint(){return typeof this.expand=="string"?getComputedStyle(this.hostElement.nativeElement)?.getPropertyValue(`--cui-breakpoint-${this.expand}`)??!1:!1}ngAfterContentInit(){if(this.breakpoint){let i=`(min-width: ${this.breakpoint})`;this.breakpointObserver.observe([i]).subscribe(t=>{if(this.collapse){let o=this.collapse.animate;this.collapse.toggle(!1),this.collapse.animate=!1,setTimeout(()=>{this.collapse.toggle(t.matches),setTimeout(()=>{this.collapse.animate=o})})}})}}};e.\u0275fac=function(t){return new(t||e)(l(h),l(O))},e.\u0275cmp=s({type:e,selectors:[["c-navbar"]],contentQueries:function(t,o,u){if(t&1&&I(u,$,5),t&2){let a;S(a=j())&&(o.collapse=a.first)}},hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),v(o.hostClasses))},inputs:{color:"color",container:"container",expand:"expand",placement:"placement",role:"role"},standalone:!0,features:[y([{directive:w,inputs:["colorScheme","colorScheme"]}]),f],ngContentSelectors:V,decls:5,vars:1,consts:[["withContainerTemplate",""],["noContainerTemplate",""],[4,"ngTemplateOutlet"],[3,"ngClass"]],template:function(t,o){if(t&1&&(m(V),D(0,P,1,0,"ng-container",2)(1,Q,2,1,"ng-template",null,0,x)(3,A,1,0,"ng-template",null,1,x)),t&2){let u=C(2),a=C(4);b("ngTemplateOutlet",o.container?u:a)}},dependencies:[R,M],encapsulation:2});let n=e;return n})();var z=(()=>{let e=class e{constructor(){this.navbarBrand=!0,this.role="button"}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d({type:e,selectors:[["","cNavbarBrand",""]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),p("navbar-brand",o.navbarBrand))},standalone:!0});let n=e;return n})();var G=["*"],J=(()=>{let e=class e{constructor(){this.scroll=!1}get hostClasses(){return{"navbar-nav":!0,"navbar-nav-scroll":this.scroll}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s({type:e,selectors:[["c-navbar-nav"]],hostVars:2,hostBindings:function(t,o){t&2&&v(o.hostClasses)},inputs:{scroll:[2,"scroll","scroll",F]},standalone:!0,features:[B,f],ngContentSelectors:G,decls:1,vars:0,template:function(t,o){t&1&&(m(),r(0))},encapsulation:2});let n=e;return n})();var K=["*"],U=(()=>{let e=class e{constructor(){this.navbarTextClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s({type:e,selectors:[["c-navbar-text"]],hostVars:2,hostBindings:function(t,o){t&2&&p("navbar-text",o.navbarTextClass)},standalone:!0,features:[f],ngContentSelectors:K,decls:1,vars:0,template:function(t,o){t&1&&(m(),r(0))},encapsulation:2});let n=e;return n})();var W=(()=>{let e=class e{constructor(i,t){this.renderer=i,this.hostElement=t,this.navbarToggler=!0,this.type="button",this.ariaLabel="Toggle navigation"}handleClick(){this.collapseRef?.toggle(!this.collapseRef?.visible)}addDefaultIcon(){let i=this.renderer.createElement("span");this.renderer.addClass(i,"navbar-toggler-icon"),this.renderer.appendChild(this.hostElement.nativeElement,i)}ngAfterContentInit(){this.hasContent=this.hostElement.nativeElement.childNodes.length,this.hasContent||this.addDefaultIcon()}};e.\u0275fac=function(t){return new(t||e)(l(T),l(h))},e.\u0275dir=d({type:e,selectors:[["","cNavbarToggler",""]],hostVars:4,hostBindings:function(t,o){t&1&&H("click",function(a){return o.handleClick(a)}),t&2&&(c("type",o.type)("aria-label",o.ariaLabel),p("navbar-toggler",o.navbarToggler))},inputs:{collapseRef:[0,"cNavbarToggler","collapseRef"],type:"type",ariaLabel:"ariaLabel"},standalone:!0});let n=e;return n})();export{q as a,z as b,J as c,U as d,W as e}; diff --git a/angular/docs/chunk-RDJHB37T.js b/angular/docs/chunk-6KFT7OBF.js similarity index 93% rename from angular/docs/chunk-RDJHB37T.js rename to angular/docs/chunk-6KFT7OBF.js index 1abd68d0dc3..2dfe0ada0b7 100644 --- a/angular/docs/chunk-RDJHB37T.js +++ b/angular/docs/chunk-6KFT7OBF.js @@ -1,4 +1,4 @@ -import{a as g}from"./chunk-SQZNSUR4.js";import"./chunk-ZRYKY3MP.js";import{a as k}from"./chunk-YDIXRUSA.js";import{g as T}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as M}from"./chunk-SWYVARVN.js";import{r as F}from"./chunk-JJFVMVK7.js";import{c as w,d as b}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as i,Bc as o,Cc as y,Dc as S,Jb as u,Kc as C,Lc as _,Mc as E,Oc as l,Pc as f,Qb as r,_c as v,ac as a,bc as m,lb as d,mb as P,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var B=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination06"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["align","end",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var D=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination05"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["align","center",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var A=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination04"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["size","sm",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var I=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination03"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["size","lg",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var z=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination02"]],standalone:!0,features:[l],decls:1,vars:3,consts:[["firstButton","First","lastButton","Last","nextButton","Next","previousButton","Prev",3,"activePage","pages","dots"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)("dots",!1)},dependencies:[g]});let t=e;return t})();var R=(()=>{let e=class e{constructor(){this.activePage=2}setActivePage(s){this.activePage=s}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination01"]],standalone:!0,features:[l],decls:3,vars:3,consts:[[3,"activePageChange","activePage","pages"]],template:function(n,c){n&1&&(i(0,"c-smart-pagination",0),E("activePageChange",function(h){return _(c.activePage,h)||(c.activePage=h),h}),a(),i(1,"p"),o(2),a()),n&2&&(C("activePage",c.activePage),r("pages",9),d(2),S("Selected: ",c.activePage,""))},dependencies:[g],encapsulation:2});let t=e;return t})();var L=`\`\`\`typescript +import{a as g}from"./chunk-LWLPMGSV.js";import"./chunk-637KEXIK.js";import{a as k}from"./chunk-IV3JRMWS.js";import{g as T}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as M}from"./chunk-MH6VOBXJ.js";import{r as F}from"./chunk-Q5WIR6QR.js";import{c as w,d as b}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as i,Bc as o,Cc as y,Dc as S,Jb as u,Kc as C,Lc as _,Mc as E,Oc as l,Pc as f,Qb as r,_c as v,ac as a,bc as m,lb as d,mb as P,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var B=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination06"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["align","end",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var D=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination05"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["align","center",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var A=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination04"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["size","sm",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var I=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination03"]],standalone:!0,features:[l],decls:1,vars:2,consts:[["size","lg",3,"activePage","pages"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)},dependencies:[g]});let t=e;return t})();var z=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination02"]],standalone:!0,features:[l],decls:1,vars:3,consts:[["firstButton","First","lastButton","Last","nextButton","Next","previousButton","Prev",3,"activePage","pages","dots"]],template:function(n,c){n&1&&m(0,"c-smart-pagination",0),n&2&&r("activePage",2)("pages",9)("dots",!1)},dependencies:[g]});let t=e;return t})();var R=(()=>{let e=class e{constructor(){this.activePage=2}setActivePage(s){this.activePage=s}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-smart-pagination01"]],standalone:!0,features:[l],decls:3,vars:3,consts:[[3,"activePageChange","activePage","pages"]],template:function(n,c){n&1&&(i(0,"c-smart-pagination",0),E("activePageChange",function(h){return _(c.activePage,h)||(c.activePage=h),h}),a(),i(1,"p"),o(2),a()),n&2&&(C("activePage",c.activePage),r("pages",9),d(2),S("Selected: ",c.activePage,""))},dependencies:[g],encapsulation:2});let t=e;return t})();var L=`\`\`\`typescript import { SmartPaginationModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-6U7QZ4SV.js b/angular/docs/chunk-6U7QZ4SV.js new file mode 100644 index 00000000000..dd667b9b96f --- /dev/null +++ b/angular/docs/chunk-6U7QZ4SV.js @@ -0,0 +1,7 @@ +import{a as Fe,b as je}from"./chunk-MGAX33HK.js";function w(e){return typeof e=="function"}function jt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ar=jt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ct(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof ar?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Sc(i)}catch(s){t=t??[],s instanceof ar?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ar(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Sc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ct(n,t)}remove(t){let{_finalizers:n}=this;n&&ct(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var mi=j.EMPTY;function cr(e){return e instanceof j||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Sc(e){w(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Vt={setTimeout(e,t,...n){let{delegate:r}=Vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function lr(e){Vt.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function Ve(){}var Oc=gi("C",void 0,void 0);function Ac(e){return gi("E",void 0,e)}function kc(e){return gi("N",e,void 0)}function gi(e,t,n){return{kind:e,value:t,error:n}}var lt=null;function Ht(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!lt;if(t&&(lt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=lt;if(lt=null,n)throw r}}else e()}function Rc(e){me.useDeprecatedSynchronousErrorHandling&<&&(lt.errorThrown=!0,lt.error=e)}var ut=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,cr(t)&&t.add(this)):this.destination=dh}static create(t,n,r){return new He(t,n,r)}next(t){this.isStopped?yi(kc(t),this):this._next(t)}error(t){this.isStopped?yi(Ac(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?yi(Oc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},lh=Function.prototype.bind;function vi(e,t){return lh.call(e,t)}var Ii=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ur(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ur(r)}else ur(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ur(n)}}},He=class extends ut{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&vi(t.next,i),error:t.error&&vi(t.error,i),complete:t.complete&&vi(t.complete,i)}):o=t}this.destination=new Ii(o)}};function ur(e){me.useDeprecatedSynchronousErrorHandling?Rc(e):lr(e)}function uh(e){throw e}function yi(e,t){let{onStoppedNotification:n}=me;n&&Vt.setTimeout(()=>n(e,t))}var dh={closed:!0,next:Ve,error:uh,complete:Ve};var $t=typeof Symbol=="function"&&Symbol.observable||"@@observable";function B(e){return e}function wi(...e){return Ei(e)}function Ei(e){return e.length===0?B:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=ph(n)?n:new He(n,r,o);return Ht(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Pc(r),new r((o,i)=>{let s=new He({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[$t](){return this}pipe(...n){return Ei(n)(this)}toPromise(n){return n=Pc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Pc(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function fh(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function ph(e){return e&&e instanceof ut||fh(e)&&cr(e)}var Lc=jt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new dr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Lc}next(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?mi:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,ct(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new dr(t,n),e})(),dr=class extends de{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:mi}};var Cn=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function fr(e){return e&&w(e.schedule)}function Di(e){return e[e.length-1]}function we(e){return w(Di(e))?e.pop():void 0}function Ee(e){return fr(Di(e))?e.pop():void 0}function Fc(e,t){return typeof Di(e)=="number"?e.pop():t}function Vc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function jc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function Hc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(M,x){i.push([f,m,M,x])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof dt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function $c(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof jc=="function"?jc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Bt=e=>e&&typeof e.length=="number"&&typeof e!="function";function pr(e){return w(e?.then)}function hr(e){return w(e[$t])}function mr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function gr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function hh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var vr=hh();function yr(e){return w(e?.[vr])}function Ir(e){return Hc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function wr(e){return w(e?.getReader)}function N(e){if(e instanceof T)return e;if(e!=null){if(hr(e))return mh(e);if(Bt(e))return gh(e);if(pr(e))return vh(e);if(mr(e))return Bc(e);if(yr(e))return yh(e);if(wr(e))return Ih(e)}throw gr(e)}function mh(e){return new T(t=>{let n=e[$t]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gh(e){return new T(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,lr)})}function yh(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Bc(e){return new T(t=>{wh(e,t).catch(n=>t.error(n))})}function Ih(e){return Bc(Ir(e))}function wh(e,t){var n,r,o,i;return Vc(this,void 0,void 0,function*(){try{for(n=$c(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function bi(e){return w(e?.lift)}function y(e){return t=>{if(bi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new xi(e,t,n,r,o)}var xi=class extends ut{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Er(e,t=0){return y((n,r)=>{n.subscribe(v(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Dr(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Uc(e,t){return N(e).pipe(Dr(t),Er(t))}function qc(e,t){return N(e).pipe(Dr(t),Er(t))}function Wc(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Gc(e,t){return new T(n=>{let r;return ne(n,t,()=>{r=e[vr](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function br(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function zc(e,t){return br(Ir(e),t)}function Qc(e,t){if(e!=null){if(hr(e))return Uc(e,t);if(Bt(e))return Wc(e,t);if(pr(e))return qc(e,t);if(mr(e))return br(e,t);if(yr(e))return Gc(e,t);if(wr(e))return zc(e,t)}throw gr(e)}function De(e,t){return t?Qc(e,t):N(e)}function Eh(...e){let t=Ee(e);return De(e,t)}function be(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var xr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var Mn={setInterval(e,t,...n){let{delegate:r}=Mn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Mn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Je=class extends xr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Mn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Mn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ct(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var _n={now(){return(_n.delegate||Date).now()},delegate:void 0};var Ut=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ut.now=_n.now;var Ke=class extends Ut{constructor(t,n=Ut.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ft=new Ke(Je),Zc=ft;function Yc(e){return e instanceof Date&&!isNaN(e)}function pt(e=0,t,n=Zc){let r=-1;return t!=null&&(fr(t)?n=t:r=t),new T(o=>{let i=Yc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Jc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l{i&&t.next(m),l++;let M=!1;N(n(m,u++)).subscribe(v(t,x=>{o?.(x),i?f(x):t.next(x)},()=>{M=!0},void 0,()=>{if(M)try{for(l--;c.length&&lh(x)):h(x)}p()}catch(x){t.error(x)}}))};return e.subscribe(v(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ge(e,t,n=1/0){return w(t)?ge((r,o)=>be((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>Jc(r,o,e,n)))}function Tn(e=1/0){return ge(B,e)}var $e=new T(e=>e.complete());function Dh(...e){let t=Ee(e),n=Fc(e,1/0),r=e;return r.length?r.length===1?N(r[0]):Tn(n)(De(r,t)):$e}function qt(e){return e<=0?()=>$e:y((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ci(e){return be(()=>e)}function Kc(e,t=B){return e=e??bh,y((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function bh(e,t){return e===t}var ht=jt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function mt(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Nn(e){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Cr(e=xh){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function xh(){return new ht}function Mi(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):B,qt(1),n?Nn(t):Cr(()=>new ht))}var Sn=class extends de{constructor(t=1/0,n=1/0,r=_n){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;snew de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return y((m,M)=>{l++,!d&&!u&&p();let x=c=c??t();M.add(()=>{l--,l===0&&!d&&!u&&(a=_i(h,o))}),x.subscribe(M),!s&&l>0&&(s=new He({next:W=>x.next(W),error:W=>{d=!0,p(),a=_i(f,n,W),x.error(W)},complete:()=>{u=!0,p(),a=_i(f,r),x.complete()}}),N(m).subscribe(s))})(i)}}function _i(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new He({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function Ch(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Xc({connector:()=>new Sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function el(){return Tn(1)}function Wt(...e){return el()(De(e,Ee(e)))}function Mh(...e){let t=Ee(e);return y((n,r)=>{(t?Wt(e,n,t):Wt(e,n)).subscribe(r)})}function tl(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,c=>{o?.unsubscribe();let l=0,u=i++;N(e(c,u)).subscribe(o=v(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _h(e){return y((t,n)=>{N(e).subscribe(v(n,()=>n.complete(),Ve)),!n.closed&&t.subscribe(n)})}function nl(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):B}function Ti(){return y((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ni=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,bi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return Ti()(this)}};var Gt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Gt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Gt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Gt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Th=1,Si,Oi={};function rl(e){return e in Oi?(delete Oi[e],!0):!1}var ol={setImmediate(e){let t=Th++;return Oi[t]=!0,Si||(Si=Promise.resolve()),Si.then(()=>rl(t)&&e()),t},clearImmediate(e){rl(e)}};var{setImmediate:Nh,clearImmediate:Sh}=ol,On={setImmediate(...e){let{delegate:t}=On;return(t?.setImmediate||Nh)(...e)},clearImmediate(e){let{delegate:t}=On;return(t?.clearImmediate||Sh)(e)},delegate:void 0};var Mr=class extends Je{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=On.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(On.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var _r=class extends Ke{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Oh=new _r(Mr);var Tr=class extends Je{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Gt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Gt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Nr=class extends Ke{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Ah=new Nr(Tr);function kh(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Rh(e){return!!e&&(e instanceof T||w(e.lift)&&w(e.subscribe))}var{isArray:Ph}=Array;function Lh(e,t){return Ph(t)?e(...t):e(t)}function Xe(e){return be(t=>Lh(e,t))}var{isArray:Fh}=Array,{getPrototypeOf:jh,prototype:Vh,keys:Hh}=Object;function Sr(e){if(e.length===1){let t=e[0];if(Fh(t))return{args:t,keys:null};if($h(t)){let n=Hh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function $h(e){return e&&typeof e=="object"&&jh(e)===Vh}function Or(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Bh(...e){let t=Ee(e),n=we(e),{args:r,keys:o}=Sr(e);if(r.length===0)return De([],t);let i=new T(Ai(r,t,o?s=>Or(o,s):B));return n?i.pipe(Xe(n)):i}function Ai(e,t,n=B){return r=>{il(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=De(e[c],t),u=!1;l.subscribe(v(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function il(e,t,n){e?ne(n,e,t):t()}function Uh(e){return new T(t=>{N(e()).subscribe(t)})}function qh(...e){let t=we(e),{args:n,keys:r}=Sr(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Or(r,a):a),i.complete())}))}});return t?o.pipe(Xe(t)):o}var Wh=["addListener","removeListener"],Gh=["addEventListener","removeEventListener"],zh=["on","off"];function ki(e,t,n,r){if(w(n)&&(r=n,n=void 0),r)return ki(e,t,n).pipe(Xe(r));let[o,i]=Yh(e)?Gh.map(s=>a=>e[s](t,a,n)):Qh(e)?Wh.map(sl(e,t)):Zh(e)?zh.map(sl(e,t)):[];if(!o&&Bt(e))return ge(s=>ki(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1i(a)})}function sl(e,t){return n=>r=>e[n](t,r)}function Qh(e){return w(e.addListener)&&w(e.removeListener)}function Zh(e){return w(e.on)&&w(e.off)}function Yh(e){return w(e.addEventListener)&&w(e.removeEventListener)}var{isArray:Jh}=Array;function Ar(e){return e.length===1&&Jh(e[0])?e[0]:e}function al(...e){let t=we(e),n=Ar(e);return n.length?new T(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):$e}function cl(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(v(n,l=>{r=!0,o=l,i||N(e(l)).subscribe(i=v(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Kh(e,t=ft){return cl(()=>pt(e,t))}function ll(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=N(e(s,ll(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function ul(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(v(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ri(...e){let t=we(e);return t?wi(Ri(...e),Xe(t)):y((n,r)=>{Ai([n,...Ar(e)])(r)})}function Xh(...e){return Ri(...e)}function em(e,t){return w(t)?ge(e,t,1):ge(e,1)}function dl(e,t=ft){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function fl(){return y((e,t)=>{e.subscribe(v(t,Ve))})}function Pi(e,t){return t?n=>Wt(t.pipe(qt(1),fl()),n.pipe(Pi(e))):ge((n,r)=>N(e(n,r)).pipe(qt(1),Ci(n)))}function tm(e,t=ft){let n=pt(e,t);return Pi(()=>n)}function nm(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Li(e){return e<=0?()=>$e:y((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function rm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):B,Li(1),n?Nn(t):Cr(()=>new ht))}function om(){return y((e,t)=>{let n,r=!1;e.subscribe(v(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function pl(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?B:y((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(v(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?pt(r):N(r(d,a)),h=v(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function im(e,t){return y(ul(e,t,arguments.length>=2,!0))}function hl(e){return mt((t,n)=>e<=n)}function sm(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function am(...e){let t=we(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(B))&&(s=null))},Ve));n.subscribe(v(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function ml(...e){return y((t,n)=>{al(t,...e).subscribe(n)})}function cm(...e){return ml(...e)}function gl(e,t){return Object.is(e,t)}var U=null,An=!1,kr=1,re=Symbol("SIGNAL");function _(e){let t=U;return U=e,t}function vl(){return U}function lm(){return An}var zt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rn(e){if(An)throw new Error("");if(U===null)return;U.consumerOnSignalRead(e);let t=U.nextProducerIndex++;if(Vr(U),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Lr(e){Vr(e);for(let t=0;t0}function Vr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function bl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xl(e){return e.producerNode!==void 0}function Hi(e){let t=Object.create(dm);t.computation=e;let n=()=>{if(yl(t),Rn(t),t.value===Rr)throw t.error;return t.value};return n[re]=t,n}var Fi=Symbol("UNSET"),ji=Symbol("COMPUTING"),Rr=Symbol("ERRORED"),dm=je(Fe({},zt),{value:Fi,dirty:!0,error:null,equal:gl,producerMustRecompute(e){return e.value===Fi||e.value===ji},producerRecomputeValue(e){if(e.value===ji)throw new Error("Detected cycle in computations.");let t=e.value;e.value=ji;let n=Pn(e),r;try{r=e.computation()}catch(o){r=Rr,e.error=o}finally{Pr(e,n)}if(t!==Fi&&t!==Rr&&r!==Rr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function fm(){throw new Error}var Cl=fm;function Ml(){Cl()}function _l(e){Cl=e}var pm=null;function Tl(e){let t=Object.create($i);t.value=e;let n=()=>(Rn(t),t.value);return n[re]=t,n}function Ln(e,t){wl()||Ml(),e.equal(e.value,t)||(e.value=t,hm(e))}function Nl(e,t){wl()||Ml(),Ln(e,t(e.value))}var $i=je(Fe({},zt),{equal:gl,value:void 0});function hm(e){e.version++,um(),Il(e),pm?.()}function Sl(e,t,n){let r=Object.create(mm);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Fr(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Vi)}let a=()=>{if(r.fn===null)return;if(lm())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Lr(r))return;r.hasRun=!0;let c=Pn(r);try{r.cleanupFn(),r.cleanupFn=Vi,r.fn(o)}finally{Pr(r,c)}};return r.ref={notify:()=>El(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[re]:r},r.ref}var Vi=()=>{},mm=je(Fe({},zt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Vi});var Lu="https://g.co/ng/security#xss",C=class extends Error{constructor(t,n){super(gm(t,n)),this.code=t}};function gm(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Fo=Symbol("InputSignalNode#UNSET"),Fu=je(Fe({},$i),{transformFn:void 0,applyValueToInputSignal(e,t){Ln(e,t)}});function ju(e,t){let n=Object.create(Fu);n.value=e,n.transformFn=t?.transform;function r(){if(Rn(n),n.value===Fo)throw new C(-950,!1);return n.value}return r[re]=n,r}function Jn(e){return{toString:e}.toString()}var Hr="__parameters__";function vm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ba(e,t,n){return Jn(()=>{let r=vm(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Hr)?c[Hr]:Object.defineProperty(c,Hr,{value:[]})[Hr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var xe=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function ym(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function le(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(le).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function is(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Im=R({__forward_ref__:R});function Vu(e){return e.__forward_ref__=Vu,e.toString=function(){return le(this())},e}function Q(e){return Hu(e)?e():e}function Hu(e){return typeof e=="function"&&e.hasOwnProperty(Im)&&e.__forward_ref__===Vu}function $u(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jO(e){return{providers:e.providers||[],imports:e.imports||[]}}function jo(e){return Ol(e,Bu)||Ol(e,Uu)}function VO(e){return jo(e)!==null}function Ol(e,t){return e.hasOwnProperty(t)?e[t]:null}function wm(e){let t=e&&(e[Bu]||e[Uu]);return t||null}function Al(e){return e&&(e.hasOwnProperty(kl)||e.hasOwnProperty(Em))?e[kl]:null}var Bu=R({\u0275prov:R}),kl=R({\u0275inj:R}),Uu=R({ngInjectableDef:R}),Em=R({ngInjectorDef:R}),P=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function qu(e){return e&&!!e.\u0275providers}var Dm=R({\u0275cmp:R}),bm=R({\u0275dir:R}),xm=R({\u0275pipe:R}),Cm=R({\u0275mod:R}),no=R({\u0275fac:R}),jn=R({__NG_ELEMENT_ID__:R}),Rl=R({__NG_ENV_ID__:R});function L(e){return typeof e=="string"?e:e==null?"":String(e)}function Mm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():L(e)}function _m(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function xa(e,t){throw new C(-201,!1)}var S=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(S||{}),ss;function Wu(){return ss}function oe(e){let t=ss;return ss=e,t}function Gu(e,t,n){let r=jo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&S.Optional)return null;if(t!==void 0)return t;xa(e,"Injector")}var Tm={},Hn=Tm,as="__NG_DI_FLAG__",ro="ngTempTokenPath",Nm="ngTokenPath",Sm=/\n/gm,Om="\u0275",Pl="__source",Xt;function Am(){return Xt}function et(e){let t=Xt;return Xt=e,t}function km(e,t=S.Default){if(Xt===void 0)throw new C(-203,!1);return Xt===null?Gu(e,void 0,t):Xt.get(e,t&S.Optional?null:void 0,t)}function rt(e,t=S.Default){return(Wu()||km)(Q(e),t)}function D(e,t=S.Default){return rt(e,Vo(t))}function Vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cs(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):le(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Sm,` + `)}`}var HO=Ca(ba("Inject",e=>({token:e})),-1),zu=Ca(ba("Optional"),8);var Qu=Ca(ba("SkipSelf"),4);function wt(e,t){let n=e.hasOwnProperty(no);return n?e[no]:null}function Fm(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ma(n,t):t(n))}function Zu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vm(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Kn(e,t,n){let r=Xn(e,t);return r>=0?e[r|1]=n:(r=~r,Yu(e,r,t,n)),r}function Bi(e,t){let n=Xn(e,t);if(n>=0)return e[n|1]}function Xn(e,t){return Hm(e,t,1)}function Hm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ve(r))return!1;s=!0}}}}return ve(r)||s}function ve(e){return(e&1)===0}function Gm(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ve(s)&&(t+=jl(i,o),o=""),r=s,i=i||!ve(r);n++}return o!==""&&(t+=jl(i,o)),t}function Km(e){return e.map(Jm).join(",")}function Xm(e){let t=[],n=[],r=1,o=2;for(;r{let t=od(e),n=je(Fe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Bn.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});id(n);let r=e.dependencies;return n.directiveDefs=Hl(r,!1),n.pipeDefs=Hl(r,!0),n.id=rg(n),n})}function eg(e){return Ne(e)||Ho(e)}function tg(e){return e!==null}function BO(e){return Jn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vl(e,t){if(e==null)return Ue;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=nn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==nn.None?[r,a]:r,t[i]=s):n[i]=r}return n}function UO(e){return Jn(()=>{let t=od(e);return id(t),t})}function qO(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ne(e){return e[Dm]||null}function Ho(e){return e[bm]||null}function Ta(e){return e[xm]||null}function ng(e){let t=Ne(e)||Ho(e)||Ta(e);return t!==null?t.standalone:!1}function rd(e,t){let n=e[Cm]||null;if(!n&&t===!0)throw new Error(`Type ${le(e)} does not have '\u0275mod' property.`);return n}function od(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ue,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vl(e.inputs,t),outputs:Vl(e.outputs),debugInfo:null}}function id(e){e.features?.forEach(t=>t(e))}function Hl(e,t){if(!e)return null;let n=t?Ta:eg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(tg)}function rg(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function og(e){return{\u0275providers:e}}function ig(...e){return{\u0275providers:Na(!0,e),\u0275fromNgModule:!0}}function Na(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ma(t,s=>{let a=s;us(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&sd(o,i),n}function sd(e,t){for(let n=0;n{t(i,r)})}}function us(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=Al(e),s=!i&&Ne(e);if(!i&&!s){let c=e.ngModule;if(i=Al(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)us(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ma(i.imports,u=>{us(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&sd(l,t)}if(!a){let l=wt(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:Ku,useValue:o,multi:!0},o),t({provide:$n,useValue:()=>rt(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Sa(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Sa(e,t){for(let n of e)qu(n)&&(n=n.\u0275providers),Array.isArray(n)?Sa(n,t):t(n)}var sg=R({provide:String,useValue:R});function ad(e){return e!==null&&typeof e=="object"&&sg in e}function ag(e){return!!(e&&e.useExisting)}function cg(e){return!!(e&&e.useFactory)}function rn(e){return typeof e=="function"}function lg(e){return!!e.useClass}var cd=new P(""),Zr={},ug={},Ui;function Oa(){return Ui===void 0&&(Ui=new io),Ui}var qe=class{},qn=class extends qe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fs(t,s=>this.processProvider(s)),this.records.set(Ju,Yt(void 0,this)),o.has("environment")&&this.records.set(qe,Yt(void 0,this));let i=this.records.get(cd);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ku,J,S.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=et(this),r=oe(void 0),o;try{return t()}finally{et(n),oe(r)}}get(t,n=Hn,r=S.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Rl))return t[Rl](this);r=Vo(r);let o,i=et(this),s=oe(void 0);try{if(!(r&S.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=mg(t)&&jo(t);l&&this.injectableDefInScope(l)?c=Yt(ds(t),Zr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&S.Self?Oa():this.parent;return n=r&S.Optional&&n===Hn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ro]=a[ro]||[]).unshift(le(t)),i)throw a;return Pm(a,t,"R3InjectorError",this.source)}else throw a}finally{oe(s),et(i)}}resolveInjectorInitializers(){let t=_(null),n=et(this),r=oe(void 0),o;try{let i=this.get($n,J,S.Self);for(let s of i)s()}finally{et(n),oe(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(le(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){t=Q(t);let n=rn(t)?t:Q(t&&t.provide),r=fg(t);if(!rn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Yt(void 0,Zr,!0),o.factory=()=>cs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===Zr&&(n.value=ug,n.value=n.factory()),typeof n.value=="object"&&n.value&&hg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ds(e){let t=jo(e),n=t!==null?t.factory:wt(e);if(n!==null)return n;if(e instanceof P)throw new C(204,!1);if(e instanceof Function)return dg(e);throw new C(204,!1)}function dg(e){if(e.length>0)throw new C(204,!1);let n=wm(e);return n!==null?()=>n.factory(e):()=>new e}function fg(e){if(ad(e))return Yt(void 0,e.useValue);{let t=ld(e);return Yt(t,Zr)}}function ld(e,t,n){let r;if(rn(e)){let o=Q(e);return wt(o)||ds(o)}else if(ad(e))r=()=>Q(e.useValue);else if(cg(e))r=()=>e.useFactory(...cs(e.deps||[]));else if(ag(e))r=()=>rt(Q(e.useExisting));else{let o=Q(e&&(e.useClass||e.provide));if(pg(e))r=()=>new o(...cs(e.deps));else return wt(o)||ds(o)}return r}function Yt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pg(e){return!!e.deps}function hg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function mg(e){return typeof e=="function"||typeof e=="object"&&e instanceof P}function fs(e,t){for(let n of e)Array.isArray(n)?fs(n,t):n&&qu(n)?fs(n.\u0275providers,t):t(n)}function ud(e,t){e instanceof qn&&e.assertNotDestroyed();let n,r=et(e),o=oe(void 0);try{return t()}finally{et(r),oe(o)}}function dd(){return Wu()!==void 0||Am()!=null}function Aa(e){if(!dd())throw new C(-203,!1)}function gg(e){return typeof e=="function"}var se=0,I=1,E=2,z=3,ye=4,ae=5,pe=6,so=7,Z=8,ee=9,Se=10,O=11,Wn=12,$l=13,fn=14,K=15,Et=16,Jt=17,We=18,$o=19,fd=20,nt=21,Yr=22,fe=23,A=25,ka=1,Gn=6,Ge=7,ao=8,on=9,G=10,co=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(co||{});function Te(e){return Array.isArray(e)&&typeof e[ka]=="object"}function ke(e){return Array.isArray(e)&&e[ka]===!0}function Ra(e){return(e.flags&4)!==0}function er(e){return e.componentOffset>-1}function Bo(e){return(e.flags&1)===1}function ze(e){return!!e.template}function lo(e){return(e[E]&512)!==0}function ps(e){return(e[E]&256)===256}var hs=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function pd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function vg(){return hd}function hd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ig),yg}vg.ngInherit=!0;function yg(){let e=gd(this),t=e?.current;if(t){let n=e.previous;if(n===Ue)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ig(e,t,n,r,o){let i=this.declaredInputs[r],s=gd(e)||wg(e,{previous:Ue,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new hs(l&&l.currentValue,n,c===Ue),pd(e,t,o,n)}var md="__ngSimpleChanges__";function gd(e){return e[md]||null}function wg(e,t){return e[md]=t}var Bl=null;var Ce=function(e,t,n){Bl?.(e,t,n)},vd="svg",Eg="math";function Ie(e){for(;Array.isArray(e);)e=e[se];return e}function Dg(e){for(;Array.isArray(e);){if(typeof e[ka]=="object")return e;e=e[se]}return null}function Pa(e,t){return Ie(t[e])}function ue(e,t){return Ie(t[e.index])}function tr(e,t){return e.data[t]}function Uo(e,t){return e[t]}function it(e,t){let n=t[e];return Te(n)?n:n[se]}function bg(e){return(e[E]&4)===4}function La(e){return(e[E]&128)===128}function xg(e){return ke(e[z])}function Oe(e,t){return t==null?null:e[t]}function yd(e){e[Jt]=0}function Id(e){e[E]&1024||(e[E]|=1024,La(e)&&qo(e))}function wd(e,t){for(;e>0;)t=t[fn],e--;return t}function zn(e){return!!(e[E]&9216||e[fe]?.dirty)}function ms(e){e[Se].changeDetectionScheduler?.notify(7),e[E]&64&&(e[E]|=1024),zn(e)&&qo(e)}function qo(e){e[Se].changeDetectionScheduler?.notify(0);let t=Dt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!La(t)));)t=Dt(t)}function Wo(e,t){if((e[E]&256)===256)throw new C(911,!1);e[nt]===null&&(e[nt]=[]),e[nt].push(t)}function Fa(e,t){if(e[nt]===null)return;let n=e[nt].indexOf(t);n!==-1&&e[nt].splice(n,1)}function Dt(e){let t=e[z];return ke(t)?t[z]:t}var b={lFrame:Td(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ed=!1;function Cg(){return b.lFrame.elementDepthCount}function Mg(){b.lFrame.elementDepthCount++}function _g(){b.lFrame.elementDepthCount--}function Dd(){return b.bindingsEnabled}function pn(){return b.skipHydrationRootTNode!==null}function Tg(e){return b.skipHydrationRootTNode===e}function WO(){b.bindingsEnabled=!0}function Ng(e){b.skipHydrationRootTNode=e}function GO(){b.bindingsEnabled=!1}function Sg(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function k(){return b.lFrame.tView}function zO(e){return b.lFrame.contextLView=e,e[Z]}function QO(e){return b.lFrame.contextLView=null,e}function V(){let e=bd();for(;e!==null&&e.type===64;)e=e.parent;return e}function bd(){return b.lFrame.currentTNode}function Og(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ot(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function ja(){return b.lFrame.isParent}function Va(){b.lFrame.isParent=!1}function Ag(){return b.lFrame.contextLView}function xd(){return Ed}function Ul(e){Ed=e}function Re(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function hn(){return b.lFrame.bindingIndex}function Cd(e){return b.lFrame.bindingIndex=e}function st(){return b.lFrame.bindingIndex++}function At(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kg(){return b.lFrame.inI18n}function Rg(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,gs(t)}function Pg(){return b.lFrame.currentDirectiveIndex}function gs(e){b.lFrame.currentDirectiveIndex=e}function Ha(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $a(){return b.lFrame.currentQueryIndex}function Go(e){b.lFrame.currentQueryIndex=e}function Lg(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ae]:null}function Md(e,t,n){if(n&S.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&S.Host);)if(o=Lg(i),o===null||(i=i[fn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=_d();return r.currentTNode=t,r.lView=e,!0}function Ba(e){let t=_d(),n=e[I];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function _d(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Td(e):t}function Td(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Nd(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sd=Nd;function Ua(){let e=Nd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fg(e){return(b.lFrame.contextLView=wd(e,b.lFrame.contextLView))[Z]}function ce(){return b.lFrame.selectedIndex}function bt(e){b.lFrame.selectedIndex=e}function kt(){let e=b.lFrame;return tr(e.tView,e.selectedIndex)}function ZO(){b.lFrame.currentNamespace=vd}function YO(){jg()}function jg(){b.lFrame.currentNamespace=null}function Od(){return b.lFrame.currentNamespace}var Ad=!0;function zo(){return Ad}function at(e){Ad=e}function Vg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Qo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Jt]+=65536),(a>14>16&&(e[E]&3)===t&&(e[E]+=16384,ql(a,i)):ql(a,i)}var en=-1,xt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function $g(e){return e instanceof xt}function Bg(e){return(e.flags&8)!==0}function Ug(e){return(e.flags&16)!==0}var Wi={},uo=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Vo(r);let o=this.injector.get(t,Wi,r);return o!==Wi||n===Wi?o:this.parentInjector.get(t,n,r)}};function Rd(e){return e!==en}function fo(e){return e&32767}function qg(e){return e>>16}function po(e,t){let n=qg(e),r=t;for(;n>0;)r=r[fn],n--;return r}function Wg(e){return e instanceof uo&&typeof e.injector.__ngOutletInjector=="function"}var vs=!0;function ho(e){let t=vs;return vs=e,t}var Gg=256,Pd=Gg-1,Ld=5,zg=0,Me={};function Qg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(jn)&&(r=n[jn]),r==null&&(r=n[jn]=zg++);let o=r&Pd,i=1<>Ld)]|=i}function mo(e,t){let n=Fd(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Gi(r.data,e),Gi(t,null),Gi(r.blueprint,null));let o=qa(e,t),i=e.injectorIndex;if(Rd(o)){let s=fo(o),a=po(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Gi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function qa(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Bd(o),r===null)return en;if(n++,o=o[fn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return en}function ys(e,t,n){Qg(e,t,n)}function Zg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&ze(f)&&f.type===n)return c}return null}function Ct(e,t,n,r){let o=e[n],i=t.data;if($g(o)){let s=o;s.resolving&&_m(Mm(i[n]));let a=ho(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?oe(s.injectImpl):null,u=Md(e,r,S.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Vg(n,i[n],t)}finally{l!==null&&oe(l),ho(a),s.resolving=!1,Sd()}}return o}function Jg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(jn)?e[jn]:void 0;return typeof t=="number"?t>=0?t&Pd:Kg:t}function Wl(e,t,n){let r=1<>Ld)]&r)}function Gl(e,t){return!(e&S.Self)&&!(e&S.Host&&t)}var It=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Hd(this._tNode,this._lView,t,Vo(r),n)}};function Kg(){return new It(V(),g())}function JO(e){return Jn(()=>{let t=e.prototype.constructor,n=t[no]||Is(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[no]||Is(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Is(e){return Hu(e)?()=>{let t=Is(Q(e));return t&&t()}:wt(e)}function Xg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=$d(i,s,n,r|S.Self,Me);if(a!==Me)return a;let c=i.parent;if(!c){let l=s[fd];if(l){let u=l.get(n,Me,r);if(u!==Me)return u}c=Bd(s),s=s[fn]}i=c}return o}function Bd(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ae]:null}function KO(e){return Zg(V(),e)}function zl(e,t=null,n=null,r){let o=Ud(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ud(e,t=null,n=null,r,o=new Set){let i=[n||J,ig(e)];return r=r||(typeof e=="object"?void 0:le(e)),new qn(i,t||Oa(),r||null,o)}var vt=class vt{static create(t,n){if(Array.isArray(t))return zl({name:""},n,t,"");{let r=t.name??"";return zl({name:r},t.parent,t.providers,r)}}};vt.THROW_IF_NOT_FOUND=Hn,vt.NULL=new io,vt.\u0275prov=$({token:vt,providedIn:"any",factory:()=>rt(Ju)}),vt.__NG_ELEMENT_ID__=-1;var Ae=vt;var ev=new P("");ev.__NG_ELEMENT_ID__=e=>{let t=V();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&S.Optional)return null;throw new C(204,!1)};var tv="ngOriginalError";function zi(e){return e[tv]}var Qe=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&zi(t);for(;n&&zi(n);)n=zi(n);return n||null}},qd=new P("",{providedIn:"root",factory:()=>D(Qe).handleError.bind(void 0)}),mn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=nv,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),ws=class extends mn{constructor(t){super(),this._lView=t}onDestroy(t){return Wo(this._lView,t),()=>Fa(this._lView,t)}};function nv(){return new ws(g())}var go=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=D(Qe,{optional:!0}),this.destroyRef=D(mn),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new C(953,!1);if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function XO(e){return new go}function Ql(e,t){return ju(e,t)}function rv(e){return ju(Fo,e)}var eA=(Ql.required=rv,Ql);function ov(){return gn(V(),g())}function gn(e,t){return new Zo(ue(e,t))}var Zo=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=ov;let e=t;return e})();function Wd(e){return e instanceof Zo?e.nativeElement:e}var vn=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Cn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Es=class extends de{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,dd()&&(this.destroyRef=D(mn,{optional:!0})??void 0,this.pendingTasks=D(vn,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Be=Es;function iv(){return this._results[Symbol.iterator]()}var Ds=class e{get changes(){return this._changes??=new Be}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=iv)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=jm(t);(this._changesDetected=!Fm(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},sv="ngSkipHydration",av="ngskiphydration";function Gd(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nhv}),hv="ng",mv=new P(""),Kd=new P("",{providedIn:"platform",factory:()=>"unknown"});var nA=new P(""),rA=new P("",{providedIn:"root",factory:()=>nr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),gv={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},oA=new P("",{providedIn:"root",factory:()=>gv});function vv(){let e=new Wa;return D(Kd)==="browser"&&(e.store=yv(nr(),D(pv))),e}var Wa=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function Cv(e,t,n=!1){let r=e.getAttribute(Qi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(Wa,null,{optional:!0});u!==null&&(c=u.get(rf,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,Yo(l,0,e.nextSibling)),a?e.setAttribute(Qi,a):e.removeAttribute(Qi),l}function Mv(){of=Cv}function za(e,t,n=!1){return of(e,t,n)}function _v(e){let t=e._lView;return t[I].type===2?null:(lo(t)&&(t=t[A]),t)}function Tv(e){return e.textContent?.replace(/\s/gm,"")}function Nv(e){let t=nr(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Tv(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Yo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Cs(e,t){return e.segmentHeads?.[t]??null}function Sv(e,t){let n=e.data,r=n[Iv]?.[t]??null;return r===null&&n[Ga]?.[t]&&(r=Qa(e,t)),r}function sf(e,t){return e.data[Ga]?.[t]??null}function Qa(e,t){let n=sf(e,t)??[],r=0;for(let o of n)r+=o[yo]*(o[tf]??1);return r}function Ov(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[nf];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Jo(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[nf];e.disconnectedNodes=n?new Set(n):null}return!!Ov(e)?.has(t)}var $r=new P(""),af=!1,cf=new P("",{providedIn:"root",factory:()=>af});var Br;function Av(){if(Br===void 0&&(Br=null,xe.trustedTypes))try{Br=xe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Br}function Ko(e){return Av()?.createHTML(e)||e}var Ur;function lf(){if(Ur===void 0&&(Ur=null,xe.trustedTypes))try{Ur=xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ur}function Yl(e){return lf()?.createHTML(e)||e}function Jl(e){return lf()?.createScriptURL(e)||e}var Ze=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lu})`}},Ms=class extends Ze{getTypeName(){return"HTML"}},_s=class extends Ze{getTypeName(){return"Style"}},Ts=class extends Ze{getTypeName(){return"Script"}},Ns=class extends Ze{getTypeName(){return"URL"}},Ss=class extends Ze{getTypeName(){return"ResourceURL"}};function yn(e){return e instanceof Ze?e.changingThisBreaksApplicationSecurity:e}function Za(e,t){let n=kv(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Lu})`)}return n===t}function kv(e){return e instanceof Ze&&e.getTypeName()||null}function iA(e){return new Ms(e)}function sA(e){return new _s(e)}function aA(e){return new Ts(e)}function cA(e){return new Ns(e)}function lA(e){return new Ss(e)}function Rv(e){let t=new As(e);return Pv()?new Os(t):t}var Os=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Ko(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},As=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ko(t),n}};function Pv(){try{return!!new window.DOMParser().parseFromString(Ko(""),"text/html")}catch{return!1}}var Lv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function uf(e){return e=String(e),e.match(Lv)?e:"unsafe:"+e}function Ye(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function rr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var df=Ye("area,br,col,hr,img,wbr"),ff=Ye("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pf=Ye("rp,rt"),Fv=rr(pf,ff),jv=rr(ff,Ye("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Vv=rr(pf,Ye("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Kl=rr(df,jv,Vv,Fv),hf=Ye("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hv=Ye("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),$v=Ye("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Bv=rr(hf,Hv,$v),Uv=Ye("script,style,template"),ks=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Gv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Wv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Xl(t).toLowerCase();if(!Kl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Uv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Xl(t).toLowerCase();Kl.hasOwnProperty(n)&&!df.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(eu(t))}};function qv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Wv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mf(t);return t}function Gv(e){let t=e.firstChild;if(t&&qv(e,t))throw mf(t);return t}function Xl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var zv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qv=/([^\#-~ |!])/g;function eu(e){return e.replace(/&/g,"&").replace(zv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Qv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var qr;function Zv(e,t){let n=null;try{qr=qr||Rv(e);let r=t?String(t):"";n=qr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=qr.getInertBodyElement(r)}while(r!==i);let a=new ks().sanitizeChildren(tu(n)||n);return Ko(a)}finally{if(n){let r=tu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function tu(e){return"content"in e&&Yv(e)?e.content:null}function Yv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Xo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Xo||{});function uA(e){let t=Ya();return t?Yl(t.sanitize(Xo.HTML,e)||""):Za(e,"HTML")?Yl(yn(e)):Zv(nr(),L(e))}function Jv(e){let t=Ya();return t?t.sanitize(Xo.URL,e)||"":Za(e,"URL")?yn(e):uf(L(e))}function Kv(e){let t=Ya();if(t)return Jl(t.sanitize(Xo.RESOURCE_URL,e)||"");if(Za(e,"ResourceURL"))return Jl(yn(e));throw new C(904,!1)}function Xv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Kv:Jv}function dA(e,t,n){return Xv(t,n)(e)}function Ya(){let e=g();return e&&e[Se].sanitizer}var ey=/^>|^->||--!>|)/g,ny="\u200B$1\u200B";function ry(e){return e.replace(ey,t=>t.replace(ty,ny))}function oy(e){$u("Must never be called in production mode");let n=e[K][Z];return n&&n.constructor?Ne(n.constructor):null}function iy(e){$u("Must never be called in production mode");let n=oy(e)?.type?.name;return n?` (used in the '${n}' component template)`:""}function fA(e){return e.ownerDocument}function sy(e){return e.ownerDocument.body}function gf(e){return e instanceof Function?e():e}function _e(e){return(e??D(Ae)).get(Kd)==="browser"}var Rs=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Rs||{}),ay;function Ja(e,t){return ay(e,t)}function Kt(e,t,n,r,o){if(r!=null){let i,s=!1;ke(r)?i=r:Te(r)&&(s=!0,r=r[se]);let a=Ie(r);e===0&&n!==null?o==null?Df(t,n,a):Io(t,n,a,o||null,!0):e===1&&n!==null?Io(t,n,a,o||null,!0):e===2?tc(t,a,s):e===3&&t.destroyNode(a),i!=null&&Ey(t,e,i,n,o)}}function vf(e,t){return e.createText(t)}function cy(e,t,n){e.setValue(t,n)}function yf(e,t){return e.createComment(ry(t))}function Ka(e,t,n){return e.createElement(t,n)}function ly(e,t){If(e,t),t[se]=null,t[ae]=null}function uy(e,t,n,r,o,i){r[se]=o,r[ae]=t,ni(e,r,n,1,o,i)}function If(e,t){t[Se].changeDetectionScheduler?.notify(8),ni(e,t,t[O],2,null,null)}function dy(e){let t=e[Wn];if(!t)return Zi(e[I],e);for(;t;){let n=null;if(Te(t))n=t[Wn];else{let r=t[G];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)Te(t)&&Zi(t[I],t),t=t[z];t===null&&(t=e),Te(t)&&Zi(t[I],t),n=t&&t[ye]}t=n}}function fy(e,t,n,r){let o=G+r,i=n.length;r>0&&(n[o-1][ye]=t),r0&&(e[n-1][ye]=r[ye]);let i=oo(e,G+t);ly(r[I],r);let s=i[We];s!==null&&s.detachView(i[I]),r[z]=null,r[ye]=null,r[E]&=-129}return r}function ei(e,t){if(!(t[E]&256)){let n=t[O];n.destroyNode&&ni(e,t,n,3,null,null),dy(t)}}function Zi(e,t){if(t[E]&256)return;let n=_(null);try{t[E]&=-129,t[E]|=256,t[fe]&&Fr(t[fe]),hy(e,t),py(e,t),t[I].type===1&&t[O].destroy();let r=t[Et];if(r!==null&&ke(t[z])){r!==t[z]&&Xa(r,t);let o=t[We];o!==null&&o.detachView(e)}fv(t)}finally{_(n)}}function py(e,t){let n=e.cleanup,r=t[so];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[so]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Bn.None||i===Bn.Emulated)return null}return ue(r,n)}}function Io(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Df(e,t,n){e.appendChild(t,n)}function nu(e,t,n,r,o){r!==null?Io(e,t,n,r,o):Df(e,t,n)}function gy(e,t,n,r){e.removeChild(t,n,r)}function ec(e,t){return e.parentNode(t)}function vy(e,t){return e.nextSibling(t)}function bf(e,t,n){return Iy(e,t,n)}function yy(e,t,n){return e.type&40?ue(e,n):null}var Iy=yy,ru;function ti(e,t,n,r){let o=Ef(e,r,t),i=t[O],s=r.parent||t[ae],a=bf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cA&&Nf(e,t,A,!1),Ce(s?2:0,o),n(r,o)}finally{bt(i),Ce(s?3:1,o)}}function rc(e,t,n){if(Ra(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Ny(e){zd(e)?Cf(e):Nv(e)}function Sy(){Rf=Ny}function Oy(e,t,n,r){let o=Vf(t);o.push(n),e.firstCreatePass&&Hf(e).push(r,o.length-1)}function Ay(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return pn()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ou(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=nn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?iu(r,n,l,a,c):iu(r,n,l,a)}return r}function iu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function ky(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function jy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;er(n)&&Wy(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||mo(n,t),ot(r,t);let s=n.initialInputs;for(let a=o;a{qo(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function oI(e){let t=e[fe]??Object.create(iI);return t.lView=e,t}var iI=je(Fe({},zt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Dt(e.lView);for(;t&&!qf(t[I]);)t=Dt(t);t&&Id(t)},consumerOnSignalRead(){this.lView[fe]=this}});function qf(e){return e.type!==2}var sI=100;function Wf(e,t=!0,n=0){let r=e[Se],o=r.rendererFactory,i=!1;i||o.begin?.();try{aI(e,n)}catch(s){throw t&&si(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function aI(e,t){let n=xd();try{Ul(!0),js(e,t);let r=0;for(;zn(e);){if(r===sI)throw new C(103,!1);r++,js(e,1)}}finally{Ul(n)}}function cI(e,t,n,r){let o=t[E];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Se].inlineEffectRunner?.flush(),Ba(t);let a=!0,c=null,l=null;i||(qf(e)?(l=eI(t),c=Pn(l)):vl()===null?(a=!1,l=oI(t),c=Pn(l)):t[fe]&&(Fr(t[fe]),t[fe]=null));try{yd(t),Cd(e.bindingStartIndex),n!==null&&Af(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Jr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Kr(t,f,0,null),qi(t,0)}if(s||lI(t),Gf(t,0),e.contentQueries!==null&&jf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Jr(t,f)}else{let f=e.contentHooks;f!==null&&Kr(t,f,1),qi(t,1)}xy(e,t);let d=e.components;d!==null&&Qf(t,d,0);let p=e.viewQuery;if(p!==null&&Fs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Jr(t,f)}else{let f=e.viewHooks;f!==null&&Kr(t,f,2),qi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Yr]){for(let f of t[Yr])f();t[Yr]=null}i||(t[E]&=-73)}catch(u){throw i||qo(t),u}finally{l!==null&&(Pr(l,c),a&&nI(l)),Ua()}}function Gf(e,t){for(let n=Zd(e);n!==null;n=Yd(n))for(let r=G;r-1&&(Qn(t,r),oo(n,r))}this._attachedToViewContainer=!1}ei(this._lView[I],this._lView)}onDestroy(t){Wo(this._lView,t)}markForCheck(){ai(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){ms(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Wf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=lo(this._lView),n=this._lView[Et];n!==null&&!t&&Xa(n,this._lView),If(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=lo(this._lView),r=this._lView[Et];r!==null&&!n&&wf(r,this._lView),ms(this._lView)}},Eo=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=pI;let e=t;return e})(),dI=Eo,fI=class extends dI{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=En(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _t(o)}};function pI(){return ci(V(),g())}function ci(e,t){return e.type&4?new fI(t,e,gn(e,t)):null}var hI=new RegExp(`^(\\d+)*(${ef}|${Xd})*(.*)`);function mI(e){let t=e.match(hI),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function gI(e){return!e.prev&&e.parent?.type===8}function Yi(e){return e.index-A}function vI(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function li(e,t,n,r){let o=Yi(r),i=vI(e,o);if(i===void 0){let s=e.data[Dv];if(s?.[o])i=II(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(gI(r)){let l=Yi(r.parent);i=Cs(e,l)}else{let l=ue(c,n);if(a)i=l.firstChild;else{let u=Yi(c),d=Cs(e,u);if(c.type===2&&d){let f=Qa(e,u)+1;i=ui(f,d)}else i=l.nextSibling}}}}return i}function ui(e,t){let n=t;for(let r=0;r0&&(i.firstChild=e,e=ui(r[yo],e)),n.push(i)}return[e,n]}var Jf=()=>null;function _I(e,t){let n=e[Gn];return!t||n===null||n.length===0?null:n[0].data[Ev]===t?n.shift():(Zf(e),null)}function TI(){Jf=_I}function Tt(e,t){return Jf(e,t)}var sn=class{},Kf=new P("",{providedIn:"root",factory:()=>!1});var Xf=new P(""),Vs=class{},bo=class{};function NI(e){let t=Error(`No component factory found for ${le(e)}.`);return t[SI]=e,t}var SI="ngComponent";var Hs=class{resolveComponentFactory(t){throw NI(t)}},Nc=class Nc{};Nc.NULL=new Hs;var an=Nc,xo=class{},gA=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>OI();let e=t;return e})();function OI(){let e=g(),t=V(),n=it(t.index,e);return(Te(n)?n:e)[O]}var AI=(()=>{let t=class t{};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var su=new Set;function Pe(e){su.has(e)||(su.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function ep(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof xe.requestAnimationFrame=="function"&&xe.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function au(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function cu(...e){}var X=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Be(!1),this.onMicrotaskEmpty=new Be(!1),this.onStable=new Be(!1),this.onError=new Be(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,PI(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,kI,cu,cu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},kI={};function dc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function RI(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{ep(()=>{e.callbackScheduled=!1,$s(e),e.isCheckStableRunning=!0,dc(e),e.isCheckStableRunning=!1})}),$s(e))}function PI(e){let t=()=>{RI(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(LI(a))return n.invokeTask(o,i,s,a);try{return lu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),uu(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return lu(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!FI(a)&&t(),uu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,$s(e),dc(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function $s(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function lu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function uu(e){e._nesting--,dc(e)}var Bs=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Be,this.onMicrotaskEmpty=new Be,this.onStable=new Be,this.onError=new Be}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function LI(e){return tp(e,"__ignore_ng_zone__")}function FI(e){return tp(e,"__scheduler_tick__")}function tp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var yt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(yt||{}),np={destroy(){}};function du(e,t){let n=t?.injector??D(Ae);if(!t?.runOnServer&&!_e(n))return;n.get(or).internalCallbacks.push(e)}function jI(e,t){!t&&Aa(jI);let n=t?.injector??D(Ae);if(!_e(n))return np;Pe("NgAfterRender");let r=n.get(or),o=r.handler??=new Mo,i=t?.phase??yt.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(mn).onDestroy(s),c=ud(n,()=>new Co(i,e));return o.register(c),{destroy:s}}function VI(e,t){!t&&Aa(VI);let n=t?.injector??D(Ae);if(!_e(n))return np;Pe("NgAfterNextRender");let r=n.get(or),o=r.handler??=new Mo,i=t?.phase??yt.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(mn).onDestroy(s),c=ud(n,()=>new Co(i,()=>{s(),e()}));return o.register(c),{destroy:s}}var Co=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=D(X),this.errorHandler=D(Qe,{optional:!0}),D(sn,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Mo=class{constructor(){this.executingCallbacks=!1,this.buckets={[yt.EarlyRead]:new Set,[yt.Write]:new Set,[yt.MixedReadWrite]:new Set,[yt.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},or=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function _o(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&_f(e,n,i.join(" "))}}function GI(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=QI;let e=t;return e})();function QI(){let e=V();return op(e,g())}var ZI=fc,rp=class extends ZI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return gn(this._hostTNode,this._hostLView)}get injector(){return new It(this._hostTNode,this._hostLView)}get parentInjector(){let t=qa(this._hostTNode,this._hostLView);if(Rd(t)){let n=po(t,this._hostLView),r=fo(t),o=n[I].data[r+8];return new It(o,n)}else return new It(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-G}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Tt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Mt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!gg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new cn(Ne(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?l:this.parentInjector).get(qe,null);m&&(i=m)}let u=Ne(c.componentType??{}),d=Tt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Mt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(xg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[z],l=new rp(c,c[ae],c[z]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Dn(s,o,i,r),t.attachToViewContainerRef(),Zu(Ji(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Qn(this._lContainer,n);r&&(oo(Ji(this._lContainer),n),ei(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Qn(this._lContainer,n);return r&&oo(Ji(this._lContainer),n)!=null?new _t(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pu(e){return e[ao]}function Ji(e){return e[ao]||(e[ao]=[])}function op(e,t){let n,r=t[e.index];return ke(r)?n=r:(n=Ff(r,t,null,e),t[e.index]=n,ii(t,n)),ip(n,t,e,r),new rp(n,e,t)}function YI(e,t){let n=e[O],r=n.createComment(""),o=ue(t,e),i=ec(n,o);return Io(n,i,r,vy(n,o),!1),r}var ip=ap,pc=()=>!1;function sp(e,t,n){return pc(e,t,n)}function ap(e,t,n,r){if(e[Ge])return;let o;n.type&8?o=Ie(r):o=YI(t,n),e[Ge]=o}function JI(e,t,n){if(e[Ge]&&e[Gn])return!0;let r=n[pe],o=t.index-A;if(!r||cv(t)||Jo(r,o))return!1;let s=Cs(r,o),a=r.data[Ga]?.[o],[c,l]=MI(s,a);return e[Ge]=c,e[Gn]=l,!0}function KI(e,t,n,r){pc(e,n,t)||ap(e,t,n,r)}function XI(){ip=KI,pc=JI}var qs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ws=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=G;dt.trim())}function fp(e,t,n){e.queries===null&&(e.queries=new Gs),e.queries.track(new zs(t,n))}function iw(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function mc(e,t){return e.queries.getByIndex(t)}function pp(e,t){let n=e[I],r=mc(n,t);return r.crossesNgTemplate?Qs(n,e,t,[]):cp(n,e,r,t)}function sw(e){return typeof e=="function"&&e[re]!==void 0}function aw(e,t){Pe("NgSignals");let n=Tl(e),r=n[re];return t?.equal&&(r.equal=t.equal),n.set=o=>Ln(r,o),n.update=o=>Nl(r,o),n.asReadonly=hp.bind(n),n}function hp(){let e=this[re];if(e.readonlyFn===void 0){let t=()=>this();t[re]=e,e.readonlyFn=t}return e.readonlyFn}function mp(e){return sw(e)&&typeof e.set=="function"}function gc(e,t){let n,r=Hi(()=>{n._dirtyCounter();let o=uw(n,e);if(t&&o===void 0)throw new C(-951,!1);return o});return n=r[re],n._dirtyCounter=aw(0),n._flatValue=void 0,r}function cw(){return gc(!0,!1)}function lw(){return gc(!0,!0)}function gp(){return gc(!1,!1)}function vp(e,t){let n=e[re];n._lView=g(),n._queryIndex=t,n._queryList=hc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function uw(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:J;let o=hc(n,r),i=pp(n,r);return o.reset(i,Wd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function yA(e,t){return gp()}function hu(e,t){return cw()}function dw(e,t){return lw()}var IA=(hu.required=dw,hu);function wA(e,t){return gp()}function yp(e){let t=Object.create(Fu),n=new go;t.value=e;function r(){return Rn(t),mu(t.value),t.value}return r[re]=t,r.asReadonly=hp.bind(r),r.set=o=>{t.equal(t.value,o)||(Ln(t,o),n.emit(o))},r.update=o=>{mu(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function mu(e){if(e===Fo)throw new C(952,!1)}function gu(e){return yp(e)}function fw(){return yp(Fo)}var EA=(gu.required=fw,gu);function pw(e){return Object.getPrototypeOf(e.prototype).constructor}function hw(e){let t=pw(e.type),n=!0,r=[e];for(;t;){let o;if(ze(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Wr(e.inputs),s.inputTransforms=Wr(e.inputTransforms),s.declaredInputs=Wr(e.declaredInputs),s.outputs=Wr(e.outputs);let a=o.hostBindings;a&&Iw(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&vw(e,c),l&&yw(e,l),mw(e,o),ym(e.outputs,o.outputs),ze(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Un(o.hostAttrs,n=Un(n,o.hostAttrs))}}function Wr(e){return e===Ue?{}:e===J?[]:e}function vw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function yw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Iw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function DA(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:Q(o),inputs:Ue,outputs:Ue}:{directive:Q(o.directive),inputs:vu(o.inputs),outputs:vu(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=Ip,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function Ip(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=Ho(r.directive);ww(o.declaredInputs,r.inputs),Ip(o,t,n),n.set(o,r),t.push(o)}}function vu(e){if(e===void 0||e.length===0)return Ue;let t={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Js=class extends Zs{constructor(t){super(),this.moduleType=t}create(t){return new Ys(this.moduleType,t,[])}};var So=class extends Nt{constructor(t){super(),this.componentFactoryResolver=new To(this),this.instance=null;let n=new qn([...t.providers,{provide:Nt,useValue:this},{provide:an,useValue:this.componentFactoryResolver}],t.parent||Oa(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function wp(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Ew=(()=>{let t=class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(r,o,i,s){if(!this.cachedInjectors.has(r)){let a=i.length>0?wp(i,o,s):null;this.cachedInjectors.set(r,a)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t});let e=t;return e})();function Ep(e){return vc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Dw(e,t){if(Array.isArray(e))for(let n=0;n{for(let t of this.callbacks)t()}}};function Aw(e,t,n){let r=n.get(X),o=Qt.get(e);return Zt=Zt||r.runOutsideAngular(()=>new IntersectionObserver(i=>{for(let s of i)s.isIntersecting&&Qt.has(s.target)&&r.run(Qt.get(s.target).listener)})),o||(o=new ea,r.runOutsideAngular(()=>Zt.observe(e)),Qt.set(e,o),Ki++),o.callbacks.add(t),()=>{Qt.has(e)&&(o.callbacks.delete(t),o.callbacks.size===0&&(Zt?.unobserve(e),Qt.delete(e),Ki--),Ki===0&&(Zt?.disconnect(),Zt=null))}}function kw(e,t,n){return n==null?e:n>=0?wd(n,e):e[t.index][G]??null}function Rw(e,t){return Pa(A+t,e)}function Pw(e,t,n,r,o,i,s){let a=e[ee];function c(){if(ps(e))return;let l=sr(e,t),u=l[Ec];if(u!==wc.Initial&&u!==H.Placeholder)return;let d=kw(e,t,r);if(!d){du(c,{injector:a});return}if(ps(d))return;let p=Rw(d,n),f=o(p,()=>{e!==d&&Fa(d,f),i()},a);e!==d&&Wo(d,f),Dc(s,l,f)}du(c,{injector:a})}function Lw(e,t){let r=t[ee].get(Vw),o=()=>r.remove(e);return r.add(e),o}var Fw=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,jw=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,Vw=(()=>{let t=class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=D(X),this.requestIdleCallbackFn=Fw().bind(globalThis),this.cancelIdleCallbackFn=jw().bind(globalThis)}add(r){(this.executingCallbacks?this.deferred:this.current).add(r),this.idleId===null&&this.scheduleIdleCallback()}remove(r){let{current:o,deferred:i}=this;o.delete(r),i.delete(r),o.size===0&&i.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let r=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let o of this.current)o();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let o of this.deferred)this.current.add(o);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(r))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Hw(e,t,n){let o=n[ee].get($w),i=()=>o.remove(t);return o.add(e,t),i}var $w=(()=>{let t=class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(r,o){let i=this.executingCallbacks?this.deferred:this.current;this.addToQueue(i,Date.now()+r,o),this.scheduleTimer()}remove(r){let{current:o,deferred:i}=this;this.removeFromQueue(o,r)===-1&&this.removeFromQueue(i,r),o.length===0&&i.length===0&&this.clearTimeout()}addToQueue(r,o,i){let s=r.length;for(let a=0;ao){s=a;break}Yu(r,s,o,i)}removeFromQueue(r,o){let i=-1;for(let s=0;s-1&&Ll(r,i,2),i}scheduleTimer(){let r=()=>{this.clearTimeout(),this.executingCallbacks=!0;let i=[...this.current],s=Date.now();for(let c=0;c=0&&Ll(this.current,0,a+1),this.executingCallbacks=!1,this.deferred.length>0){for(let c=0;c0){let i=Date.now(),s=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-s>16){this.clearTimeout();let a=Math.max(s-i,16);this.invokeTimerAt=s,this.timeoutId=setTimeout(r,a)}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Bw=new P("");function Np(e){return e.get(Bw,null,{optional:!0})?.behavior===Mp.Manual?!1:_e(e)}var ta=null;function xA(e,t,n,r){let o=e.consts;n!=null&&(t.placeholderBlockConfig=Oe(o,n)),r!=null&&(t.loadingBlockConfig=Oe(o,r)),ta===null&&(ta=Ww)}function CA(e,t,n,r,o,i,s,a,c){let l=g(),u=k(),d=e+A,p=Zn(l,u,e,null,0,0);if(u.firstCreatePass){Pe("NgDefer");let M={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ie.NOT_STARTED,loadingPromise:null,providers:null};c?.(u,M,a,s),Nw(u,d,M)}let f=l[d];sp(f,p,l);let h=[null,wc.Initial,null,null,null,null];Tw(l,d,h);let m=()=>_p(h);Dc(0,h,()=>Fa(l,m)),Wo(l,m)}function MA(){Uw(Lw)}function _A(){let e=g(),t=V(),n=e[I],r=e[ee],o=xn(n,t);(!Np(r)||o.loadingTmplIndex===null)&&bc(e,t),xc(e,t)}function TA(e,t){let n=g(),r=V();bc(n,r),Pw(n,r,e,t,Aw,()=>xc(n,r),0)}function Uw(e){let t=g(),n=V();if(bc(t,n),_e(t[ee])){let r=e(()=>xc(t,n),t),o=sr(t,n);Dc(0,o,r)}}function tt(e,t,n,r=!1){let o=n[z],i=o[I];if(ps(o))return;let s=sr(o,t),a=s[Ec];if(Eu(a,e)&&Eu(s[tn]??-1,e)){let c=o[ee],l=xn(i,t),d=!r&&_e(c)&&(Tp(l)!==null||Xs(l,H.Loading)!==null||Xs(l,H.Placeholder))?ta:Sp;try{d(e,s,n,t,o)}catch(p){si(o,p)}}}function qw(e,t){return e.injector.__ngOutletInjector(t)}function Sp(e,t,n,r,o){let i=Sw(e,o,r);if(i!==null){t[Ec]=e;let s=o[I],a=i+A,c=tr(s,a),l=0;uc(n,l);let u;if(e===H.Complete){let f=xn(s,r),h=f.providers;if(h&&h.length>0){let m=o[ee],M=Wg(m),x=M?m:m.get(qe);u=x.get(Ew).getOrCreateInjector(f,x,h,""),M&&(u=qw(m,u))}}let d=Tt(n,c.tView.ssrId),p=En(o,c,null,{dehydratedView:d,injector:u});Dn(n,p,l,Mt(c,d)),ai(p,2)}}function Ww(e,t,n,r,o){let i=Date.now(),s=o[I],a=xn(s,r);if(t[Fn]===null||t[Fn]<=i){t[Fn]=null;let c=Tp(a),l=t[Gr]!==null;if(e===H.Loading&&c!==null&&!l){t[tn]=e;let u=wu(c,t,r,n,o);t[Gr]=u}else{e>H.Loading&&l&&(t[Gr](),t[Gr]=null,t[tn]=null),Sp(e,t,n,r,o);let u=Xs(a,e);u!==null&&(t[Fn]=i+u,wu(u,t,r,n,o))}}else t[tn]=e}function wu(e,t,n,r,o){return Hw(e,()=>{let s=t[tn];t[Fn]=null,t[tn]=null,s!==null&&tt(s,n,r)},o)}function Eu(e,t){return e{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let m=h.value,M=Ne(m)||Ho(m);if(M)p.push(M);else{let x=Ta(m);x&&f.push(x)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=ie.FAILED,e.errorTmplIndex===null){let h=iy(t),m=new C(750,!1);si(t,m)}}else{e.loadingState=ie.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Iu(h.directiveRegistry,p);let m=p.map(x=>x.type),M=Na(!1,...m);e.providers=M}f.length>0&&(h.pipeRegistry=Iu(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ie.COMPLETE,c.remove(l)}),e.loadingPromise)}function bc(e,t){let n=e[t.index];tt(H.Placeholder,t,n)}function Du(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ie.COMPLETE?tt(H.Complete,t,n):e.loadingState===ie.FAILED&&tt(H.Error,t,n)})}function xc(e,t){let n=e[I],r=e[t.index],o=e[ee];if(!Np(o))return;let i=sr(e,t),s=xn(n,t);switch(_p(i),s.loadingState){case ie.NOT_STARTED:tt(H.Loading,t,r),Gw(s,e,t),s.loadingState===ie.IN_PROGRESS&&Du(s,t,r);break;case ie.IN_PROGRESS:tt(H.Loading,t,r),Du(s,t,r);break;case ie.COMPLETE:tt(H.Complete,t,r);break;case ie.FAILED:tt(H.Error,t,r);break;default:}}function zw(e,t,n,r){let o=g(),i=st();if(Y(o,i,t)){let s=k(),a=kt();Gy(a,o,e,t,n,r)}return zw}function Qw(e,t){let n=!1,r=hn();for(let i=1;i>17&32767}function Xw(e){return(e&2)==2}function eE(e,t){return e&131071|t<<17}function na(e){return e|2}function un(e){return(e&131068)>>2}function Xi(e,t){return e&-131069|t<<2}function tE(e){return(e&1)===1}function ra(e){return e|1}function nE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=St(s),c=un(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Xn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=St(e[a+1]);e[r+1]=zr(p,a),p!==0&&(e[p+1]=Xi(e[p+1],r)),e[a+1]=eE(e[a+1],r)}else e[r+1]=zr(a,0),a!==0&&(e[a+1]=Xi(e[a+1],r)),a=r;else e[r+1]=zr(c,0),a===0?a=r:e[c+1]=Xi(e[c+1],r),c=r;l&&(e[r+1]=na(e[r+1])),bu(e,u,r,!0),bu(e,u,r,!1),rE(t,u,e,r,i),s=zr(a,c),i?t.classBindings=s:t.styleBindings=s}function rE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Xn(i,t)>=0&&(n[r+1]=ra(n[r+1]))}function bu(e,t,n,r){let o=e[n+1],i=t===null,s=r?St(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];oE(c,t)&&(a=!0,e[s+1]=r?ra(l):na(l)),s=r?St(l):un(l)}a&&(e[n+1]=r?na(o):ra(o))}function oE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Xn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ap(e){return e.substring(q.key,q.keyEnd)}function iE(e){return e.substring(q.value,q.valueEnd)}function sE(e){return Pp(e),kp(e,dn(e,0,q.textEnd))}function kp(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=cE(e,q.key=t,n),dn(e,t,n))}function aE(e){return Pp(e),Rp(e,dn(e,0,q.textEnd))}function Rp(e,t){let n=q.textEnd,r=q.key=dn(e,t,n);return n===r?-1:(r=q.keyEnd=lE(e,r,n),r=xu(e,r,n,58),r=q.value=dn(e,r,n),r=q.valueEnd=uE(e,r,n),xu(e,r,n,59))}function Pp(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function dn(e,t,n){for(;t32;)t++;return t}function lE(e,t,n){let r;for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function xu(e,t,n,r){return t=dn(e,t,n),t32&&(a=s),i=o,o=r,r=c&-33}return a}function Cu(e,t,n,r){let o=-1,i=n;for(;i=0;n=Rp(t,n))Hp(e,Ap(t),iE(t))}function SA(e){Mc(wE,Lp,e,!0)}function Lp(e,t){for(let n=sE(t);n>=0;n=kp(t,n))Kn(e,Ap(t),!0)}function Fp(e,t,n,r){let o=g(),i=k(),s=At(2);if(i.firstUpdatePass&&Vp(i,e,s,r),t!==F&&Y(o,s,t)){let a=i.data[ce()];$p(i,a,o,o[O],e,o[s+1]=DE(t,n),r,s)}}function Mc(e,t,n,r){let o=k(),i=At(2);o.firstUpdatePass&&Vp(o,null,i,r);let s=g();if(n!==F&&Y(s,i,n)){let a=o.data[ce()];if(Bp(a,r)&&!jp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=is(c,n||"")),oa(o,a,s,n,r)}else EE(o,a,s,s[O],s[i+1],s[i+1]=IE(e,t,n),r,i)}}function jp(e,t){return t>=e.expandoStartIndex}function Vp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ce()],s=jp(e,n);Bp(i,r)&&t===null&&!s&&(t=!1),t=mE(o,i,t,r),nE(o,i,t,n,s,r)}}function mE(e,t,n,r){let o=Ha(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=es(null,e,t,n,r),n=Yn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=es(o,e,t,n,r),i===null){let c=gE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=es(null,e,t,c[1],r),c=Yn(c,t.attrs,r),vE(e,t,r,c))}else i=yE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[St(r)]}function vE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[St(o)]=r}function yE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===F&&(p=d?J:void 0);let f=d?Bi(p,r):u===r?p:void 0;if(l&&!Oo(f)&&(f=Bi(c,r)),Oo(f)&&(a=f,s))return a;let h=e[o+1];o=s?St(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Bi(c,r))}return a}function Oo(e){return e!==void 0}function DE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=le(yn(e)))),e}function Bp(e,t){return(e.flags&(t?8:16))!==0}function OA(e,t,n){let r=g(),o=Cc(r,e,t,n);Mc(Kn,Lp,o,!0)}var ia=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ts(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function bE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=ts(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=ts(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,l),M=n(s,p),x=n(i,u);if(Object.is(x,M)){let W=n(c,f);Object.is(W,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Ao,o??=Tu(e,i,s,n),sa(e,r,i,x))e.updateValue(i,u),i++,s++;else if(o.has(x))r.set(m,e.detach(i)),s--;else{let W=e.create(i,t[i]);e.attach(i,W),i++,s++}}for(;i<=c;)_u(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=ts(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Ao,o??=Tu(e,i,s,n);let f=n(i,d);if(sa(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)_u(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function sa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function _u(e,t,n,r,o){if(sa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Tu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ao=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function AA(e,t){Pe("NgControlFlow");let n=g(),r=st(),o=n[r]!==F?n[r]:-1,i=o!==-1?ko(n,A+o):void 0,s=0;if(Y(n,r,e)){let a=_(null);try{if(i!==void 0&&uc(i,s),e!==-1){let c=A+e,l=ko(n,c),u=ua(n[I],c),d=Tt(l,u.tView.ssrId),p=En(n,u,t,{dehydratedView:d});Dn(l,p,s,Mt(u,d))}}finally{_(a)}}else if(i!==void 0){let a=Bf(i,s);a!==void 0&&(a[Z]=t)}}var aa=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-G}};function kA(e){return e}function RA(e,t){return t}var ca=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function PA(e,t,n,r,o,i,s,a,c,l,u,d,p){Pe("NgControlFlow");let f=g(),h=k(),m=c!==void 0,M=g(),x=a?s.bind(M[K][Z]):s,W=new ca(m,x);M[A+e]=W,Zn(f,h,e+1,t,n,r,o,Oe(h.consts,i)),m&&Zn(f,h,e+2,c,l,u,d,Oe(h.consts,p))}var la=class extends ia{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-G}at(t){return this.getLView(t)[Z].$implicit}attach(t,n){let r=n[pe];this.needsIndexUpdate||=t!==this.length,Dn(this.lContainer,n,t,Mt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xE(this.lContainer,t)}create(t,n){let r=Tt(this.lContainer,this.templateTNode.tView.ssrId),o=En(this.hostLView,this.templateTNode,new aa(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ei(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Z].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(at(!0),Ka(r,o,Od()));function TE(e,t,n,r,o,i){let s=t[pe],a=!s||pn()||ir(n)||Jo(s,i);if(at(a),a)return Ka(r,o,Od());let c=li(s,e,t,n);return sf(s,i)&&Yo(s,i,c.nextSibling),s&&(Gd(n)||zd(c))&&er(n)&&(Ng(n),Cf(c)),c}function NE(){Wp=TE}function SE(e,t,n,r,o){let i=t.consts,s=Oe(i,r),a=In(t,e,8,"ng-container",s);s!==null&&_o(a,s,!0);let c=Oe(i,o);return ac(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Gp(e,t,n){let r=g(),o=k(),i=e+A,s=o.firstCreatePass?SE(i,o,r,t,n):o.data[i];Ot(s,!0);let a=Qp(o,r,s,e);return r[i]=a,zo()&&ti(o,r,a,s),ot(a,r),Bo(s)&&(oc(o,r,s),rc(o,s,r)),n!=null&&ic(r,s),Gp}function zp(){let e=V(),t=k();return ja()?Va():(e=e.parent,Ot(e,!1)),t.firstCreatePass&&(Qo(t,e),Ra(e)&&t.queries.elementEnd(e)),zp}function OE(e,t,n){return Gp(e,t,n),zp(),OE}var Qp=(e,t,n,r)=>(at(!0),yf(t[O],""));function AE(e,t,n,r){let o,i=t[pe],s=!i||pn()||ir(n);if(at(s),s)return yf(t[O],"");let a=li(i,e,t,n),c=Sv(i,r);return Yo(i,r,a),o=ui(c,a),o}function kE(){Qp=AE}function FA(){return g()}function RE(e,t,n){let r=g(),o=st();if(Y(r,o,t)){let i=k(),s=kt();wn(i,s,r,e,t,r[O],n,!0)}return RE}function PE(e,t,n){let r=g(),o=st();if(Y(r,o,t)){let i=k(),s=kt(),a=Ha(i.data),c=$f(a,s,r);wn(i,s,r,e,t,c,n,!0)}return PE}var gt=void 0;function LE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var FE=["en",[["a","p"],["AM","PM"],gt],[["AM","PM"],gt,gt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],gt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],gt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",gt,"{1} 'at' {0}",gt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",LE],Vn={};function jA(e,t,n){typeof t!="string"&&(n=t,t=e[Ro.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Vn[t]=e,n&&(Vn[t][Ro.ExtraData]=n)}function jE(e){let t=VE(e),n=Nu(t);if(n)return n;let r=t.split("-")[0];if(n=Nu(r),n)return n;if(r==="en")return FE;throw new C(701,!1)}function VA(e){return jE(e)[Ro.PluralCase]}function Nu(e){return e in Vn||(Vn[e]=xe.ng&&xe.ng.common&&xe.ng.common.locales&&xe.ng.common.locales[e]),Vn[e]}var Ro=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ro||{});function VE(e){return e.toLowerCase().replace(/_/g,"-")}var Po="en-US";var HE=Po;function $E(e){typeof e=="string"&&(HE=e.toLowerCase().replace(/_/g,"-"))}var BE=(e,t,n)=>{};function UE(e,t,n,r){let o=g(),i=k(),s=V();return _c(i,o,o[O],s,e,t,r),UE}function qE(e,t){let n=V(),r=g(),o=k(),i=Ha(o.data),s=$f(i,n,r);return _c(o,r,s,n,e,t),qE}function WE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function _c(e,t,n,r,o,i,s){let a=Bo(r),l=e.firstCreatePass&&Hf(e),u=t[Z],d=Vf(t),p=!0;if(r.type&3||s){let m=ue(r,t),M=s?s(m):m,x=d.length,W=s?Le=>s(Ie(Le[r.index])):r.index,te=null;if(!s&&a&&(te=WE(e,t,o,r.index)),te!==null){let Le=te.__ngLastListenerFn__||te;Le.__ngNextListenerFn__=i,te.__ngLastListenerFn__=i,p=!1}else{i=Ou(r,t,u,i),BE(m,o,i);let Le=n.listen(M,o,i);d.push(i,Le),l&&l.push(o,W,x,x+1)}}else i=Ou(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let m=h.length;if(m)for(let M=0;M-1?it(e.index,t):t;ai(s,5);let a=Su(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Su(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function HA(e=1){return Fg(e)}function GE(e,t){let n=null,r=zm(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function YA(e){let t=Ag();return Uo(t,A+e)}function JA(e,t=""){let n=g(),r=k(),o=e+A,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=Yp(r,n,i,t,e);n[o]=s,zo()&&ti(r,n,s,i),Ot(i,!1)}var Yp=(e,t,n,r,o)=>(at(!0),vf(t[O],r));function JE(e,t,n,r,o){let i=t[pe],s=!i||pn()||ir(n)||Jo(i,o);return at(s),s?vf(t[O],r):li(i,e,t,n)}function KE(){Yp=JE}function XE(e){return Jp("",e,""),XE}function Jp(e,t,n){let r=g(),o=Cc(r,e,t,n);return o!==F&&Rt(r,ce(),o),Jp}function eD(e,t,n,r,o){let i=g(),s=Op(i,e,t,n,r,o);return s!==F&&Rt(i,ce(),s),eD}function tD(e,t,n,r,o,i,s){let a=g(),c=Zw(a,e,t,n,r,o,i,s);return c!==F&&Rt(a,ce(),c),tD}function nD(e,t,n,r,o,i,s,a,c){let l=g(),u=Yw(l,e,t,n,r,o,i,s,a,c);return u!==F&&Rt(l,ce(),u),nD}function rD(e,t,n,r,o,i,s,a,c,l,u){let d=g(),p=Jw(d,e,t,n,r,o,i,s,a,c,l,u);return p!==F&&Rt(d,ce(),p),rD}function oD(e,t,n,r,o,i,s,a,c,l,u,d,p){let f=g(),h=Kw(f,e,t,n,r,o,i,s,a,c,l,u,d,p);return h!==F&&Rt(f,ce(),h),oD}function iD(e){let t=g(),n=Qw(t,e);return n!==F&&Rt(t,ce(),n),iD}function sD(e,t,n){mp(t)&&(t=t());let r=g(),o=st();if(Y(r,o,t)){let i=k(),s=kt();wn(i,s,r,e,t,r[O],n,!1)}return sD}function KA(e,t){let n=mp(e);return n&&e.set(t),n}function aD(e,t){let n=g(),r=k(),o=V();return _c(r,n,n[O],o,e,t),aD}function cD(e,t,n){let r=k();if(r.firstCreatePass){let o=ze(e);da(n,r.data,r.blueprint,o,!0),da(t,r.data,r.blueprint,o,!1)}}function da(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i>20;if(rn(e)||!e.multi){let f=new xt(l,o,ri),h=rs(c,t,o?u:u+p,d);h===-1?(ys(mo(a,s),i,c),ns(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=rs(c,t,u+p,d),h=rs(c,t,u,u+p),m=f>=0&&n[f],M=h>=0&&n[h];if(o&&!M||!o&&!m){ys(mo(a,s),i,c);let x=dD(o?uD:lD,n.length,o,r,l);!o&&M&&(n[h].providerFactory=x),ns(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=Kp(n[o?h:f],l,!o&&r);ns(i,e,f>-1?f:h,x)}!o&&r&&M&&n[h].componentProviders++}}}function ns(e,t,n,r){let o=rn(t),i=lg(t);if(o||i){let c=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Kp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function rs(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>cD(r,o?o(e):e,t)}}var fD=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Na(!1,r.type),i=o.length>0?wp([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(rt(qe))});let e=t;return e})();function ek(e){Pe("NgStandalone"),e.getStandaloneInjector=t=>t.get(fD).getOrCreateStandaloneInjector(e)}function tk(e,t,n){let r=Re()+e,o=g();return o[r]===F?Pt(o,r,n?t.call(n):t()):yc(o,r)}function nk(e,t,n,r){return Xp(g(),Re(),e,t,n,r)}function rk(e,t,n,r,o){return eh(g(),Re(),e,t,n,r,o)}function ok(e,t,n,r,o,i){return th(g(),Re(),e,t,n,r,o,i)}function ik(e,t,n,r,o,i,s){return pD(g(),Re(),e,t,n,r,o,i,s)}function sk(e,t,n,r,o,i,s,a){let c=Re()+e,l=g(),u=bn(l,c,n,r,o,i);return Y(l,c+4,s)||u?Pt(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):yc(l,c+5)}function ak(e,t,n,r,o,i,s,a,c,l){let u=Re()+e,d=g(),p=bn(d,u,n,r,o,i);return Ic(d,u+4,s,a,c)||p?Pt(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):yc(d,u+7)}function fi(e,t){let n=e[t];return n===F?void 0:n}function Xp(e,t,n,r,o,i){let s=t+n;return Y(e,s,o)?Pt(e,s+1,i?r.call(i,o):r(o)):fi(e,s+1)}function eh(e,t,n,r,o,i,s){let a=t+n;return ln(e,a,o,i)?Pt(e,a+2,s?r.call(s,o,i):r(o,i)):fi(e,a+2)}function th(e,t,n,r,o,i,s,a){let c=t+n;return Ic(e,c,o,i,s)?Pt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):fi(e,c+3)}function pD(e,t,n,r,o,i,s,a,c){let l=t+n;return bn(e,l,o,i,s,a)?Pt(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):fi(e,l+4)}function ck(e,t){let n=k(),r,o=e+A;n.firstCreatePass?(r=hD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=wt(r.type,!0)),s,a=oe(ri);try{let c=ho(!1),l=i();return ho(c),YE(n,g(),o,l),l}finally{oe(a)}}function hD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function lk(e,t,n){let r=e+A,o=g(),i=Uo(o,r);return Tc(o,r)?Xp(o,Re(),t,i.transform,n,i):i.transform(n)}function uk(e,t,n,r){let o=e+A,i=g(),s=Uo(i,o);return Tc(i,o)?eh(i,Re(),t,s.transform,n,r,s):s.transform(n,r)}function dk(e,t,n,r,o){let i=e+A,s=g(),a=Uo(s,i);return Tc(s,i)?th(s,Re(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Tc(e,t){return e[I].data[t].pure}function fk(e,t){return ci(e,t)}var pk=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var mD=new P("");function nh(e){return!!e&&typeof e.then=="function"}function gD(e){return!!e&&typeof e.subscribe=="function"}var vD=new P(""),rh=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=D(vD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(nh(s))r.push(s);else if(gD(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),oh=new P("");function yD(){_l(()=>{throw new C(600,!1)})}function ID(e){return e.isBoundToModule}var wD=10;function ED(e,t,n){try{let r=n();return nh(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var pi=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(qd),this.afterRenderEffectManager=D(or),this.zonelessEnabled=D(Kf),this.externalTestViews=new Set,this.beforeRender=new de,this.afterTick=new de,this.componentTypes=[],this.components=[],this.isStable=D(vn).hasPendingTasks.pipe(be(r=>!r)),this._injector=D(qe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof bo;if(!this._injector.get(rh).done){let f=!i&&ng(r),h=!1;throw new C(405,h)}let a;i?a=r:a=this._injector.get(an).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=ID(a)?void 0:this._injector.get(Nt),l=o||a.selector,u=a.create(Ae.NULL,[],l,c),d=u.location.nativeElement,p=u.injector.get(mD,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),os(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new C(101,!1);let o=_(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,_(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(xo,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;izn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>zn(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;os(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(oh,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>os(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new C(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function os(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Qr;function DD(e){Qr??=new WeakMap;let t=Qr.get(e);if(t)return t;let n=e.isStable.pipe(Mi(r=>r)).toPromise().then(()=>{});return Qr.set(e,n),e.onDestroy(()=>Qr?.delete(e)),n}function bD(e,t,n,r){if(!n&&!zn(e))return;Wf(e,t,n&&!r?0:1)}var pa=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},hk=(()=>{let t=class t{compileModuleSync(r){return new Js(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=rd(r),s=gf(i.declarations).reduce((a,c)=>{let l=Ne(c);return l&&a.push(new cn(l)),a},[]);return new pa(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var xD=(()=>{let t=class t{constructor(){this.zone=D(X),this.changeDetectionScheduler=D(sn),this.applicationRef=D(pi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function CD({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new X(_D()),[{provide:X,useFactory:e},{provide:$n,multi:!0,useFactory:()=>{let n=D(xD,{optional:!0});return()=>n.initialize()}},{provide:$n,multi:!0,useFactory:()=>{let n=D(TD);return()=>{n.initialize()}}},{provide:qd,useFactory:MD},t===!0?{provide:Xf,useValue:!0}:[]]}function MD(){let e=D(X),t=D(Qe);return n=>e.runOutsideAngular(()=>t.handleError(n))}function _D(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var TD=(()=>{let t=class t{constructor(){this.subscription=new j,this.initialized=!1,this.zone=D(X),this.pendingTasks=D(vn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ND=(()=>{let t=class t{constructor(){this.appRef=D(pi),this.taskService=D(vn),this.ngZone=D(X),this.zonelessEnabled=D(Kf),this.disableScheduling=D(Xf,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new j,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Bs||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?au:ep;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&X.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,au(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function SD(){return typeof $localize<"u"&&$localize.locale||Po}var ih=new P("",{providedIn:"root",factory:()=>D(ih,S.Optional|S.SkipSelf)||SD()});var sh=new P("");var to=null;function OD(e=[],t){return Ae.create({name:t,providers:[{provide:cd,useValue:"platform"},{provide:sh,useValue:new Set([()=>to=null])},...e]})}function AD(e=[]){if(to)return to;let t=OD(e);return to=t,yD(),kD(t),t}function kD(e){e.get(mv,null)?.forEach(n=>n())}var RD=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=PD;let e=t;return e})();function PD(e){return LD(V(),g(),(e&16)===16)}function LD(e,t,n){if(er(e)&&!n){let r=it(e.index,t);return new _t(r,r)}else if(e.type&47){let r=t[K];return new _t(r,t)}return null}var ha=class{constructor(){}supports(t){return Ep(t)}create(t){return new ma(t)}},FD=(e,t)=>t,ma=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||FD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ga(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Lo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Lo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ga=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},va=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Lo=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new va,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Au(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new wa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},wa=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function ku(){return new jD([new ha])}var jD=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ku()),deps:[[t,new Qu,new zu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new C(901,!1)}};t.\u0275prov=$({token:t,providedIn:"root",factory:ku});let e=t;return e})();function Ru(){return new VD([new ya])}var VD=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Ru()),deps:[[t,new Qu,new zu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new C(901,!1)}};t.\u0275prov=$({token:t,providedIn:"root",factory:Ru});let e=t;return e})();function mk(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=AD(r),i=[CD({}),{provide:sn,useExisting:ND},...n||[]],a=new So({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(X);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Qe,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:f=>{l.handleError(f)}})});let d=()=>a.destroy(),p=o.get(sh);return p.add(d),a.onDestroy(()=>{u.unsubscribe(),p.delete(d)}),ED(l,c,()=>{let f=a.get(rh);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(ih,Po);$E(h||Po);let m=a.get(pi);return t!==void 0&&m.bootstrap(t),m})})})}catch(t){return Promise.reject(t)}}var Pu=!1;function HD(){Pu||(Pu=!0,Mv(),NE(),KE(),kE(),Mw(),XI(),TI(),Sy())}function $D(e,t){return DD(e)}function gk(){return og([{provide:$r,useFactory:()=>{let e=!0;return _e()&&(e=!!D(Wa,{optional:!0})?.get(rf,null)),e&&Pe("NgHydration"),e}},{provide:$n,useValue:()=>{EI(!1),_e()&&D($r)&&(BD(),HD())},multi:!0},{provide:cf,useFactory:()=>_e()&&D($r)},{provide:oh,useFactory:()=>{if(_e()&&D($r)){let e=D(pi),t=D(Ae);return()=>{$D(e,t).then(()=>{CI(e)})}}return()=>{}},multi:!0}])}function BD(){let e=nr(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===xv){t=n;break}if(!t)throw new C(-507,!1)}function vk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function yk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ik(e,t){Pe("NgSignals");let n=Hi(e);return t?.equal&&(n[re].equal=t.equal),n}function wk(e){let t=_(null);try{return e()}finally{_(t)}}var UD=new P("",{providedIn:"root",factory:()=>D(qD)}),qD=(()=>{let t=class t{};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new Ea});let e=t;return e})(),Ea=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=D(vn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Da=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Sl(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Qe,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function WD(e,t){Pe("NgSignals"),!t?.injector&&Aa(WD);let n=t?.injector??D(Ae),r=t?.manualCleanup!==!0?n.get(mn):null,o=new Da(n.get(UD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(RD,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Yr]??=[]).push(o.watcher.notify),o}function Ek(e){let t=Ne(e);if(!t)return null;let n=new cn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{j as a,wi as b,T as c,Ti as d,Ni as e,de as f,Cn as g,Sn as h,Oh as i,Ah as j,$e as k,De as l,Eh as m,kh as n,Rh as o,ht as p,be as q,Bh as r,ge as s,Tn as t,Wt as u,Uh as v,qh as w,ki as x,pt as y,Dh as z,mt as A,Kh as B,ll as C,Xh as D,em as E,dl as F,Nn as G,qt as H,Ci as I,tm as J,Kc as K,nm as L,Mi as M,Li as N,rm as O,om as P,pl as Q,im as R,Ch as S,hl as T,Mh as U,tl as V,_h as W,sm as X,nl as Y,am as Z,cm as _,C as $,le as aa,Vu as ba,$ as ca,jO as da,VO as ea,P as fa,S as ga,rt as ha,D as ia,HO as ja,zu as ka,Qu as la,Bn as ma,$O as na,BO as oa,UO as pa,qO as qa,og as ra,ig as sa,cd as ta,qe as ua,ud as va,Aa as wa,vg as xa,WO as ya,GO as za,zO as Aa,QO as Ba,ZO as Ca,YO as Da,JO as Ea,KO as Fa,Ae as Ga,Qe as Ha,mn as Ia,XO as Ja,eA as Ka,Zo as La,vn as Ma,Be as Na,Ds as Oa,tA as Pa,pv as Qa,mv as Ra,Kd as Sa,nA as Ta,rA as Ua,gv as Va,oA as Wa,Wa as Xa,yn as Ya,Za,iA as _a,sA as $a,aA as ab,cA as bb,lA as cb,uf as db,Zv as eb,Xo as fb,uA as gb,Jv as hb,dA as ib,fA as jb,Rs as kb,pA as lb,ri as mb,hA as nb,Eo as ob,sn as pb,xo as qb,gA as rb,Pe as sb,X as tb,yt as ub,jI as vb,VI as wb,fc as xb,sw as yb,aw as zb,yA as Ab,IA as Bb,wA as Cb,EA as Db,hw as Eb,DA as Fb,bA as Gb,Zs as Hb,wp as Ib,xw as Jb,xA as Kb,CA as Lb,MA as Mb,_A as Nb,TA as Ob,zw as Pb,dE as Qb,fE as Rb,pE as Sb,NA as Tb,SA as Ub,OA as Vb,AA as Wb,kA as Xb,RA as Yb,PA as Zb,LA as _b,Up as $b,qp as ac,_E as bc,Gp as cc,zp as dc,OE as ec,FA as fc,RE as gc,PE as hc,jA as ic,jE as jc,VA as kc,Ro as lc,UE as mc,qE as nc,HA as oc,$A as pc,BA as qc,QE as rc,ZE as sc,UA as tc,qA as uc,WA as vc,GA as wc,zA as xc,QA as yc,ZA as zc,YA as Ac,JA as Bc,XE as Cc,Jp as Dc,eD as Ec,tD as Fc,nD as Gc,rD as Hc,oD as Ic,iD as Jc,sD as Kc,KA as Lc,aD as Mc,XA as Nc,ek as Oc,tk as Pc,nk as Qc,rk as Rc,ok as Sc,ik as Tc,sk as Uc,ak as Vc,ck as Wc,lk as Xc,uk as Yc,dk as Zc,fk as _c,pk as $c,nh as ad,gD as bd,vD as cd,oh as dd,pi as ed,DD as fd,hk as gd,ih as hd,RD as id,jD as jd,VD as kd,mk as ld,gk as md,vk as nd,yk as od,Ik as pd,wk as qd,WD as rd,Ek as sd}; diff --git a/angular/docs/chunk-MTVNGV5V.js b/angular/docs/chunk-6V4ODEFP.js similarity index 97% rename from angular/docs/chunk-MTVNGV5V.js rename to angular/docs/chunk-6V4ODEFP.js index a670106f9f5..cc2250faa07 100644 --- a/angular/docs/chunk-MTVNGV5V.js +++ b/angular/docs/chunk-6V4ODEFP.js @@ -1,4 +1,4 @@ -import{a as x,b as S,c as v,d as y,e as _,f as C,g as I}from"./chunk-32VAZHQT.js";import"./chunk-J37AVTJX.js";import"./chunk-SPMMWGWV.js";import"./chunk-R2HXWLDR.js";import"./chunk-2IKSDGSZ.js";import{g as N}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as M}from"./chunk-SWYVARVN.js";import{r as z}from"./chunk-JJFVMVK7.js";import{c as k,d as w}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Bc as e,Cc as h,Dc as u,Fc as $,Jc as m,Oc as c,Pc as f,Qb as g,ac as i,bc as a,lb as t,mb as p,na as b}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var T=[{title:!0,name:"Nav Title"},{name:"Nav item",iconComponent:{name:"cilSpeedometer"}},{name:"With badge",iconComponent:{name:"cilSpeedometer"},badge:{text:"NEW",color:"primary"}},{name:"Nav dropdown",iconComponent:{name:"cilPuzzle"},children:[{name:"Nav dropdown item",url:"./",iconComponent:{name:"cilPuzzle"}},{name:"Nav dropdown item",url:"./",iconComponent:{name:"cilPuzzle"}}]}],q=(()=>{let r=class r{constructor(){this.navItems=T}};r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=b({type:r,selectors:[["docs-sidebar01"]],standalone:!0,features:[c],decls:8,vars:1,consts:[["sidebar1","cSidebar"],["visible","",1,"border-end"],[1,"border-bottom"],[3,"navItems"],["cSidebarToggle","sidebar1","toggle","unfoldable",1,"border-top",2,"cursor","pointer"],["cSidebarToggler",""]],template:function(o,l){o&1&&(n(0,"c-sidebar",1,0)(2,"c-sidebar-header",2)(3,"c-sidebar-brand"),e(4,"Sidebar Brand"),i()(),a(5,"c-sidebar-nav",3),n(6,"c-sidebar-footer",4),a(7,"button",5),i()()),o&2&&(t(5),g("navItems",l.navItems))},dependencies:[x,_,S,I,C,v,y],styles:["[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%]{position:relative;bottom:0}[_nghost-%COMP%] .sidebar-narrow-unfoldable[_ngcontent-%COMP%]{position:sticky}.docs-example[_ngcontent-%COMP%]{--cd-example-padding: 0}"]});let d=r;return d})();var E=`\`\`\`typescript +import{a as x,b as S,c as v,d as y,e as _,f as C,g as I}from"./chunk-YDRGUCUS.js";import"./chunk-OLTS3WRU.js";import"./chunk-FULSUUPP.js";import"./chunk-UYIAOCXU.js";import"./chunk-D272JSA3.js";import{g as N}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as M}from"./chunk-MH6VOBXJ.js";import{r as z}from"./chunk-Q5WIR6QR.js";import{c as k,d as w}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Bc as e,Cc as h,Dc as u,Fc as $,Jc as m,Oc as c,Pc as f,Qb as g,ac as i,bc as a,lb as t,mb as p,na as b}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var T=[{title:!0,name:"Nav Title"},{name:"Nav item",iconComponent:{name:"cilSpeedometer"}},{name:"With badge",iconComponent:{name:"cilSpeedometer"},badge:{text:"NEW",color:"primary"}},{name:"Nav dropdown",iconComponent:{name:"cilPuzzle"},children:[{name:"Nav dropdown item",url:"./",iconComponent:{name:"cilPuzzle"}},{name:"Nav dropdown item",url:"./",iconComponent:{name:"cilPuzzle"}}]}],q=(()=>{let r=class r{constructor(){this.navItems=T}};r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=b({type:r,selectors:[["docs-sidebar01"]],standalone:!0,features:[c],decls:8,vars:1,consts:[["sidebar1","cSidebar"],["visible","",1,"border-end"],[1,"border-bottom"],[3,"navItems"],["cSidebarToggle","sidebar1","toggle","unfoldable",1,"border-top",2,"cursor","pointer"],["cSidebarToggler",""]],template:function(o,l){o&1&&(n(0,"c-sidebar",1,0)(2,"c-sidebar-header",2)(3,"c-sidebar-brand"),e(4,"Sidebar Brand"),i()(),a(5,"c-sidebar-nav",3),n(6,"c-sidebar-footer",4),a(7,"button",5),i()()),o&2&&(t(5),g("navItems",l.navItems))},dependencies:[x,_,S,I,C,v,y],styles:["[_nghost-%COMP%] .sidebar[_ngcontent-%COMP%]{position:relative;bottom:0}[_nghost-%COMP%] .sidebar-narrow-unfoldable[_ngcontent-%COMP%]{position:sticky}.docs-example[_ngcontent-%COMP%]{--cd-example-padding: 0}"]});let d=r;return d})();var E=`\`\`\`typescript import { SidebarModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-Q4CO3HND.js b/angular/docs/chunk-6YMP4KPL.js similarity index 97% rename from angular/docs/chunk-Q4CO3HND.js rename to angular/docs/chunk-6YMP4KPL.js index 067525684d4..f2c63e765a6 100644 --- a/angular/docs/chunk-Q4CO3HND.js +++ b/angular/docs/chunk-6YMP4KPL.js @@ -1,4 +1,4 @@ -import{n as F}from"./chunk-VP4RI3NG.js";import"./chunk-J37AVTJX.js";import{a as c,b as p,c as b,d as u,e as v,f,g as A}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as P}from"./chunk-SWYVARVN.js";import{r as D}from"./chunk-JJFVMVK7.js";import{c as M,d as _}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Bc as e,Cc as w,Dc as $,Oc as d,Pc as x,Qb as i,ac as t,bc as h,lb as a,mb as k,mc as I,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var H=`- with standalone components: +import{n as F}from"./chunk-VP4RI3NG.js";import"./chunk-OLTS3WRU.js";import{a as c,b as p,c as b,d as u,e as v,f,g as A}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as P}from"./chunk-MH6VOBXJ.js";import{r as D}from"./chunk-Q5WIR6QR.js";import{c as M,d as _}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Bc as e,Cc as w,Dc as $,Oc as d,Pc as x,Qb as i,ac as t,bc as h,lb as a,mb as k,mc as I,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var H=`- with standalone components: \`\`\`typescript import { Tabs2Module } from '@coreui/angular'; diff --git a/angular/docs/chunk-TZ7TQCJR.js b/angular/docs/chunk-742PP7K6.js similarity index 97% rename from angular/docs/chunk-TZ7TQCJR.js rename to angular/docs/chunk-742PP7K6.js index 1da97892a67..4c5b888b4fd 100644 --- a/angular/docs/chunk-TZ7TQCJR.js +++ b/angular/docs/chunk-742PP7K6.js @@ -1 +1 @@ -import{t as W}from"./chunk-FIXU3TFH.js";import{$b as R,Ac as M,Fb as D,Gb as w,Jb as y,La as S,Oc as _,Qb as v,Rb as $,Sb as V,Ub as B,Wb as G,_c as K,ac as j,ec as T,ia as m,lb as O,na as f,nd as x,oc as F,od as g,pa as N,pc as C,pd as L,qc as b,rb as Q,rd as U,tc as q,vc as z,wc as J,zb as k}from"./chunk-O6V6MKDU.js";import{e as i,f as p,g as d}from"./chunk-MGAX33HK.js";var h=(()=>{var t,e,s,a,r,o,l;let u=class u{constructor(){p(this,t);p(this,e);p(this,s);p(this,a);p(this,r);p(this,o);p(this,l);d(this,t,m(Q)),d(this,e,m(S)),d(this,s,k(100)),d(this,a,0),d(this,r,k(void 0)),d(this,o,k(void 0)),this.percent=L(()=>+(((i(this,r).call(this)??i(this,o).call(this)??0)-i(this,a))/(i(this,s).call(this)-i(this,a))*100).toFixed(this.precision)),d(this,l,U(()=>{let c=i(this,e).nativeElement;if(i(this,r).call(this)===void 0||i(this,o).call(this))for(let Y of["aria-valuenow","aria-valuemax","aria-valuemin","role"])i(this,t).removeAttribute(c,Y);else i(this,t).setAttribute(c,"aria-valuenow",String(i(this,r).call(this))),i(this,t).setAttribute(c,"aria-valuemin",String(i(this,a))),i(this,t).setAttribute(c,"aria-valuemax",String(i(this,s).call(this))),i(this,t).setAttribute(c,"role",this.role);let P=c.tagName;this.percent()&&(this.stacked&&P==="C-PROGRESS"||!this.stacked&&P!=="C-PROGRESS")?i(this,t).setStyle(c,"width",`${this.percent()}%`):i(this,t).removeStyle(c,"width")})),this.precision=0,this.stacked=!1,this.role="progressbar"}set value(c){i(this,r).set(c)}get value(){return i(this,r).call(this)}set width(c){i(this,o).set(c)}set max(c){i(this,s).set(isNaN(c)||c<=0?100:c)}};t=new WeakMap,e=new WeakMap,s=new WeakMap,a=new WeakMap,r=new WeakMap,o=new WeakMap,l=new WeakMap,u.\u0275fac=function(P){return new(P||u)},u.\u0275dir=N({type:u,selectors:[["","cProgressBar",""]],inputs:{animated:[2,"animated","animated",x],color:"color",precision:[2,"precision","precision",g],value:[2,"value","value",g],width:[2,"width","width",g],variant:"variant",max:[2,"max","max",g],stacked:[2,"stacked","stacked",x],role:"role"},standalone:!0,features:[w]});let n=u;return n})();var Z=["*"],E=(()=>{var t;let e=class e{constructor(){p(this,t,m(h,{optional:!0}))}get hostClasses(){let a=i(this,t)?.animated,r=i(this,t)?.color,o=i(this,t)?.variant;return{"progress-bar":!0,"progress-bar-animated":!!a,[`progress-bar-${o}`]:!!o,[`bg-${r}`]:!!r}}};t=new WeakMap,e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=f({type:e,selectors:[["c-progress-bar"]],hostVars:2,hostBindings:function(r,o){r&2&&B(o.hostClasses)},standalone:!0,features:[D([{directive:h,inputs:["animated","animated","color","color","max","max","role","role","stacked","stacked","value","value","variant","variant","width","width"]}]),_],ngContentSelectors:Z,decls:1,vars:0,template:function(r,o){r&1&&(C(),b(0))},encapsulation:2,changeDetection:0});let n=e;return n})();var tt=["*"],H=(()=>{let t=class t{constructor(){this.stacked=!0}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=f({type:t,selectors:[["c-progress-stacked"]],hostVars:2,hostBindings:function(a,r){a&2&&V("progress-stacked",r.stacked)},inputs:{stacked:"stacked"},standalone:!0,features:[_],ngContentSelectors:tt,decls:1,vars:0,template:function(a,r){a&1&&(C(),b(0))},styles:["[_nghost-%COMP%]{display:flex}"],changeDetection:0});let n=t;return n})();var et=["*"];function nt(n,t){n&1&&T(0)}function it(n,t){if(n&1&&y(0,nt,1,0,"ng-container",3),n&2){F();let e=M(4);v("ngTemplateOutlet",e)}}function rt(n,t){n&1&&T(0)}function ot(n,t){if(n&1&&(R(0,"c-progress-bar",1),y(1,rt,1,0,"ng-container",3),j()),n&2){let e=F(),s=M(4);v("animated",e.pbd==null?null:e.pbd.animated)("variant",e.pbd==null?null:e.pbd.variant)("color",e.pbd==null?null:e.pbd.color),O(),v("ngTemplateOutlet",s)}}function st(n,t){n&1&&T(0)}function at(n,t){if(n&1&&(R(0,"c-progress-bar",2),y(1,st,1,0,"ng-container",3),j()),n&2){let e=F(),s=M(4);v("width",e.pbd==null?null:e.pbd.percent())("animated",e.pbd==null?null:e.pbd.animated)("variant",e.pbd==null?null:e.pbd.variant)("color",e.pbd==null?null:e.pbd.color),O(),v("ngTemplateOutlet",s)}}function ct(n,t){n&1&&b(0)}var lt=(()=>{var t,e;let s=class s{constructor(){p(this,t);p(this,e);this.pbd=m(h,{optional:!0}),d(this,t,m(H,{optional:!0})?.stacked),d(this,e,m(S)),this.height=0,this.thin=!1,this.white=!1,this.pbd&&(this.pbd.stacked=i(this,t))}get hostClasses(){return{progress:!0,"progress-thin":this.thin,"progress-white":this.white}}get hostStyle(){return this.height?`${this.height}px`:i(this,e)?.nativeElement?.style?.height??void 0}};t=new WeakMap,e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=f({type:s,selectors:[["c-progress"]],contentQueries:function(o,l,u){if(o&1&&q(u,E,4),o&2){let I;z(I=J())&&(l.contentProgressBars=I)}},hostVars:4,hostBindings:function(o,l){o&2&&(B(l.hostClasses),$("height",l.hostStyle))},inputs:{height:[2,"height","height",g],thin:[2,"thin","thin",x],white:[2,"white","white",x]},standalone:!0,features:[w,D([{directive:h,inputs:["animated","animated","color","color","max","max","role","role","value","value","variant","variant"]}]),_],ngContentSelectors:et,decls:5,vars:1,consts:[["defaultContent",""],["stacked","",3,"animated","variant","color"],[3,"width","animated","variant","color"],[4,"ngTemplateOutlet"]],template:function(o,l){o&1&&(C(),y(0,it,1,1,"ng-container")(1,ot,2,4,"c-progress-bar",1)(2,at,2,5,"c-progress-bar",2)(3,ct,1,0,"ng-template",null,0,K)),o&2&&G(l.contentProgressBars.length?0:l.pbd!=null&&l.pbd.stacked?1:2)},dependencies:[E,W],styles:[".progress-stacked.progress[_nghost-%COMP%], .progress-stacked .progress[_nghost-%COMP%]{transition:var(--cui-progress-bar-transition)}"],changeDetection:0});let n=s;return n})();export{E as a,H as b,lt as c}; +import{t as W}from"./chunk-XHR4TYVD.js";import{$b as R,Ac as M,Fb as D,Gb as w,Jb as y,La as S,Oc as _,Qb as v,Rb as $,Sb as V,Ub as B,Wb as G,_c as K,ac as j,ec as T,ia as m,lb as O,na as f,nd as x,oc as F,od as g,pa as N,pc as C,pd as L,qc as b,rb as Q,rd as U,tc as q,vc as z,wc as J,zb as k}from"./chunk-6U7QZ4SV.js";import{e as i,f as p,g as d}from"./chunk-MGAX33HK.js";var h=(()=>{var t,e,s,a,r,o,l;let u=class u{constructor(){p(this,t);p(this,e);p(this,s);p(this,a);p(this,r);p(this,o);p(this,l);d(this,t,m(Q)),d(this,e,m(S)),d(this,s,k(100)),d(this,a,0),d(this,r,k(void 0)),d(this,o,k(void 0)),this.percent=L(()=>+(((i(this,r).call(this)??i(this,o).call(this)??0)-i(this,a))/(i(this,s).call(this)-i(this,a))*100).toFixed(this.precision)),d(this,l,U(()=>{let c=i(this,e).nativeElement;if(i(this,r).call(this)===void 0||i(this,o).call(this))for(let Y of["aria-valuenow","aria-valuemax","aria-valuemin","role"])i(this,t).removeAttribute(c,Y);else i(this,t).setAttribute(c,"aria-valuenow",String(i(this,r).call(this))),i(this,t).setAttribute(c,"aria-valuemin",String(i(this,a))),i(this,t).setAttribute(c,"aria-valuemax",String(i(this,s).call(this))),i(this,t).setAttribute(c,"role",this.role);let P=c.tagName;this.percent()&&(this.stacked&&P==="C-PROGRESS"||!this.stacked&&P!=="C-PROGRESS")?i(this,t).setStyle(c,"width",`${this.percent()}%`):i(this,t).removeStyle(c,"width")})),this.precision=0,this.stacked=!1,this.role="progressbar"}set value(c){i(this,r).set(c)}get value(){return i(this,r).call(this)}set width(c){i(this,o).set(c)}set max(c){i(this,s).set(isNaN(c)||c<=0?100:c)}};t=new WeakMap,e=new WeakMap,s=new WeakMap,a=new WeakMap,r=new WeakMap,o=new WeakMap,l=new WeakMap,u.\u0275fac=function(P){return new(P||u)},u.\u0275dir=N({type:u,selectors:[["","cProgressBar",""]],inputs:{animated:[2,"animated","animated",x],color:"color",precision:[2,"precision","precision",g],value:[2,"value","value",g],width:[2,"width","width",g],variant:"variant",max:[2,"max","max",g],stacked:[2,"stacked","stacked",x],role:"role"},standalone:!0,features:[w]});let n=u;return n})();var Z=["*"],E=(()=>{var t;let e=class e{constructor(){p(this,t,m(h,{optional:!0}))}get hostClasses(){let a=i(this,t)?.animated,r=i(this,t)?.color,o=i(this,t)?.variant;return{"progress-bar":!0,"progress-bar-animated":!!a,[`progress-bar-${o}`]:!!o,[`bg-${r}`]:!!r}}};t=new WeakMap,e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=f({type:e,selectors:[["c-progress-bar"]],hostVars:2,hostBindings:function(r,o){r&2&&B(o.hostClasses)},standalone:!0,features:[D([{directive:h,inputs:["animated","animated","color","color","max","max","role","role","stacked","stacked","value","value","variant","variant","width","width"]}]),_],ngContentSelectors:Z,decls:1,vars:0,template:function(r,o){r&1&&(C(),b(0))},encapsulation:2,changeDetection:0});let n=e;return n})();var tt=["*"],H=(()=>{let t=class t{constructor(){this.stacked=!0}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=f({type:t,selectors:[["c-progress-stacked"]],hostVars:2,hostBindings:function(a,r){a&2&&V("progress-stacked",r.stacked)},inputs:{stacked:"stacked"},standalone:!0,features:[_],ngContentSelectors:tt,decls:1,vars:0,template:function(a,r){a&1&&(C(),b(0))},styles:["[_nghost-%COMP%]{display:flex}"],changeDetection:0});let n=t;return n})();var et=["*"];function nt(n,t){n&1&&T(0)}function it(n,t){if(n&1&&y(0,nt,1,0,"ng-container",3),n&2){F();let e=M(4);v("ngTemplateOutlet",e)}}function rt(n,t){n&1&&T(0)}function ot(n,t){if(n&1&&(R(0,"c-progress-bar",1),y(1,rt,1,0,"ng-container",3),j()),n&2){let e=F(),s=M(4);v("animated",e.pbd==null?null:e.pbd.animated)("variant",e.pbd==null?null:e.pbd.variant)("color",e.pbd==null?null:e.pbd.color),O(),v("ngTemplateOutlet",s)}}function st(n,t){n&1&&T(0)}function at(n,t){if(n&1&&(R(0,"c-progress-bar",2),y(1,st,1,0,"ng-container",3),j()),n&2){let e=F(),s=M(4);v("width",e.pbd==null?null:e.pbd.percent())("animated",e.pbd==null?null:e.pbd.animated)("variant",e.pbd==null?null:e.pbd.variant)("color",e.pbd==null?null:e.pbd.color),O(),v("ngTemplateOutlet",s)}}function ct(n,t){n&1&&b(0)}var lt=(()=>{var t,e;let s=class s{constructor(){p(this,t);p(this,e);this.pbd=m(h,{optional:!0}),d(this,t,m(H,{optional:!0})?.stacked),d(this,e,m(S)),this.height=0,this.thin=!1,this.white=!1,this.pbd&&(this.pbd.stacked=i(this,t))}get hostClasses(){return{progress:!0,"progress-thin":this.thin,"progress-white":this.white}}get hostStyle(){return this.height?`${this.height}px`:i(this,e)?.nativeElement?.style?.height??void 0}};t=new WeakMap,e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=f({type:s,selectors:[["c-progress"]],contentQueries:function(o,l,u){if(o&1&&q(u,E,4),o&2){let I;z(I=J())&&(l.contentProgressBars=I)}},hostVars:4,hostBindings:function(o,l){o&2&&(B(l.hostClasses),$("height",l.hostStyle))},inputs:{height:[2,"height","height",g],thin:[2,"thin","thin",x],white:[2,"white","white",x]},standalone:!0,features:[w,D([{directive:h,inputs:["animated","animated","color","color","max","max","role","role","value","value","variant","variant"]}]),_],ngContentSelectors:et,decls:5,vars:1,consts:[["defaultContent",""],["stacked","",3,"animated","variant","color"],[3,"width","animated","variant","color"],[4,"ngTemplateOutlet"]],template:function(o,l){o&1&&(C(),y(0,it,1,1,"ng-container")(1,ot,2,4,"c-progress-bar",1)(2,at,2,5,"c-progress-bar",2)(3,ct,1,0,"ng-template",null,0,K)),o&2&&G(l.contentProgressBars.length?0:l.pbd!=null&&l.pbd.stacked?1:2)},dependencies:[E,W],styles:[".progress-stacked.progress[_nghost-%COMP%], .progress-stacked .progress[_nghost-%COMP%]{transition:var(--cui-progress-bar-transition)}"],changeDetection:0});let n=s;return n})();export{E as a,H as b,lt as c}; diff --git a/angular/docs/chunk-RQ6PCMUV.js b/angular/docs/chunk-7AXQ2ST3.js similarity index 91% rename from angular/docs/chunk-RQ6PCMUV.js rename to angular/docs/chunk-7AXQ2ST3.js index 24e2e94175f..543f8b5b649 100644 --- a/angular/docs/chunk-RQ6PCMUV.js +++ b/angular/docs/chunk-7AXQ2ST3.js @@ -1,4 +1,4 @@ -import{d}from"./chunk-C5JPXVV5.js";import{B as p,t as s,u as c}from"./chunk-JZLZFTWK.js";import{g as w}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as T}from"./chunk-SWYVARVN.js";import{r as C}from"./chunk-JJFVMVK7.js";import{c as y,d as M}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as n,Cc as F,Oc as r,Pc as x,Qb as v,ac as t,bc as S,lb as u,mb as E,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var O=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select05"]],standalone:!0,features:[r],decls:9,vars:0,consts:[["aria-label","Disabled select example","cSelect","","disabled",""],["value","1"],["selected","","value","2"],["value","3"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Open this select menu"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Selected: Two"),t(),e(7,"option",3),n(8,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var b=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select04"]],standalone:!0,features:[r],decls:11,vars:0,consts:[["aria-label","Multiple select example","cSelect","","multiple","","size","3","sizing","lg"],["value","1"],["value","2"],["value","3"],["value","4"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Select multiple options"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Two"),t(),e(7,"option",3),n(8,"Three"),t(),e(9,"option",4),n(10,"Four"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var D=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select03"]],standalone:!0,features:[r],decls:9,vars:0,consts:[["aria-label","Multiple select example","cSelect","","multiple","","sizing","lg"],["disabled",""],["value","1"],["value","2"],["value","3"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option",1),n(2,"Select multiple options"),t(),e(3,"option",2),n(4,"One"),t(),e(5,"option",3),n(6,"Two"),t(),e(7,"option",4),n(8,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var z=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select02"]],standalone:!0,features:[r],decls:27,vars:0,consts:[["aria-label","Large select example","cSelect","","sizing","lg",1,"mb-3"],["value","1"],["value","2"],["value","3"],["aria-label","Default select example","cSelect","",1,"mb-3"],["aria-label","Small select example","cSelect","","sizing","sm"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Open this select menu"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Two"),t(),e(7,"option",3),n(8,"Three"),t()(),e(9,"select",4)(10,"option"),n(11,"Open this select menu"),t(),e(12,"option",1),n(13,"One"),t(),e(14,"option",2),n(15,"Two"),t(),e(16,"option",3),n(17,"Three"),t()(),e(18,"select",5)(19,"option"),n(20,"Open this select menu"),t(),e(21,"option",1),n(22,"One"),t(),e(23,"option",2),n(24,"Two"),t(),e(25,"option",3),n(26,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var N=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select01"]],standalone:!0,features:[r],decls:9,vars:0,consts:[["aria-label","Default select example","cSelect",""],["value","1"],["value","2"],["value","3"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Open this select menu"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Two"),t(),e(7,"option",3),n(8,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var k=()=>["forms/select/examples/select01.component.html"],I=()=>["forms/select/examples/select02.component.html"],A=()=>["forms/select/examples/select03.component.html"],R=()=>["forms/select/examples/select04.component.html"],j=()=>["forms/select/examples/select05.component.html"],me=(()=>{let i=class i{constructor(a,o){this.metaService=a,this.titleService=o,this.title="Angular Select Component",this.description="Angular Select directive. Customize the native `select` with custom CSS that changes initial element appearance."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(o){return new(o||i)(E(y),E(M))},i.\u0275cmp=m({type:i,selectors:[["docs-select-docs"]],standalone:!0,features:[r],decls:30,vars:12,consts:[["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"]],template:function(o,f){o&1&&(e(0,"h1",0),n(1),t(),e(2,"p",1),n(3),t(),S(4,"docs-ads-carbon-loader"),e(5,"markdown"),n(6,` +import{d}from"./chunk-ZGGOM75Q.js";import{B as p,t as s,u as c}from"./chunk-WFHPAILT.js";import{g as w}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as T}from"./chunk-MH6VOBXJ.js";import{r as C}from"./chunk-Q5WIR6QR.js";import{c as y,d as M}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as n,Cc as F,Oc as r,Pc as x,Qb as v,ac as t,bc as S,lb as u,mb as E,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var O=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select05"]],standalone:!0,features:[r],decls:9,vars:0,consts:[["aria-label","Disabled select example","cSelect","","disabled",""],["value","1"],["selected","","value","2"],["value","3"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Open this select menu"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Selected: Two"),t(),e(7,"option",3),n(8,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var b=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select04"]],standalone:!0,features:[r],decls:11,vars:0,consts:[["aria-label","Multiple select example","cSelect","","multiple","","size","3","sizing","lg"],["value","1"],["value","2"],["value","3"],["value","4"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Select multiple options"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Two"),t(),e(7,"option",3),n(8,"Three"),t(),e(9,"option",4),n(10,"Four"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var D=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select03"]],standalone:!0,features:[r],decls:9,vars:0,consts:[["aria-label","Multiple select example","cSelect","","multiple","","sizing","lg"],["disabled",""],["value","1"],["value","2"],["value","3"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option",1),n(2,"Select multiple options"),t(),e(3,"option",2),n(4,"One"),t(),e(5,"option",3),n(6,"Two"),t(),e(7,"option",4),n(8,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var z=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select02"]],standalone:!0,features:[r],decls:27,vars:0,consts:[["aria-label","Large select example","cSelect","","sizing","lg",1,"mb-3"],["value","1"],["value","2"],["value","3"],["aria-label","Default select example","cSelect","",1,"mb-3"],["aria-label","Small select example","cSelect","","sizing","sm"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Open this select menu"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Two"),t(),e(7,"option",3),n(8,"Three"),t()(),e(9,"select",4)(10,"option"),n(11,"Open this select menu"),t(),e(12,"option",1),n(13,"One"),t(),e(14,"option",2),n(15,"Two"),t(),e(16,"option",3),n(17,"Three"),t()(),e(18,"select",5)(19,"option"),n(20,"Open this select menu"),t(),e(21,"option",1),n(22,"One"),t(),e(23,"option",2),n(24,"Two"),t(),e(25,"option",3),n(26,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var N=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=m({type:i,selectors:[["docs-select01"]],standalone:!0,features:[r],decls:9,vars:0,consts:[["aria-label","Default select example","cSelect",""],["value","1"],["value","2"],["value","3"]],template:function(o,f){o&1&&(e(0,"select",0)(1,"option"),n(2,"Open this select menu"),t(),e(3,"option",1),n(4,"One"),t(),e(5,"option",2),n(6,"Two"),t(),e(7,"option",3),n(8,"Three"),t()())},dependencies:[d,p,s,c],encapsulation:2});let l=i;return l})();var k=()=>["forms/select/examples/select01.component.html"],I=()=>["forms/select/examples/select02.component.html"],A=()=>["forms/select/examples/select03.component.html"],R=()=>["forms/select/examples/select04.component.html"],j=()=>["forms/select/examples/select05.component.html"],me=(()=>{let i=class i{constructor(a,o){this.metaService=a,this.titleService=o,this.title="Angular Select Component",this.description="Angular Select directive. Customize the native `select` with custom CSS that changes initial element appearance."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(o){return new(o||i)(E(y),E(M))},i.\u0275cmp=m({type:i,selectors:[["docs-select-docs"]],standalone:!0,features:[r],decls:30,vars:12,consts:[["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"]],template:function(o,f){o&1&&(e(0,"h1",0),n(1),t(),e(2,"p",1),n(3),t(),S(4,"docs-ads-carbon-loader"),e(5,"markdown"),n(6,` ## Examples `),t(),e(7,"docs-example",2),S(8,"docs-select01"),t(),e(9,"markdown"),n(10,` ### Sizing diff --git a/angular/docs/chunk-FPQGXMEQ.js b/angular/docs/chunk-7GF3S5CV.js similarity index 84% rename from angular/docs/chunk-FPQGXMEQ.js rename to angular/docs/chunk-7GF3S5CV.js index b310c7f4a6c..5bb95540f77 100644 --- a/angular/docs/chunk-FPQGXMEQ.js +++ b/angular/docs/chunk-7GF3S5CV.js @@ -1 +1 @@ -import{Ub as e,pa as r}from"./chunk-O6V6MKDU.js";var l=(()=>{let t=class t{constructor(){this.color=""}get hostClasses(){let o=this.color;return{[`text-${o}`]:!!o}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=r({type:t,selectors:[["","cTextColor",""]],hostVars:2,hostBindings:function(i,c){i&2&&e(c.hostClasses)},inputs:{color:[0,"cTextColor","color"]},standalone:!0});let s=t;return s})();export{l as a}; +import{Ub as e,pa as r}from"./chunk-6U7QZ4SV.js";var l=(()=>{let t=class t{constructor(){this.color=""}get hostClasses(){let o=this.color;return{[`text-${o}`]:!!o}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=r({type:t,selectors:[["","cTextColor",""]],hostVars:2,hostBindings:function(i,c){i&2&&e(c.hostClasses)},inputs:{color:[0,"cTextColor","color"]},standalone:!0});let s=t;return s})();export{l as a}; diff --git a/angular/docs/chunk-6HXQWXUN.js b/angular/docs/chunk-A7SE7UTL.js similarity index 92% rename from angular/docs/chunk-6HXQWXUN.js rename to angular/docs/chunk-A7SE7UTL.js index 90fcc6f691c..ccc5de2f7dc 100644 --- a/angular/docs/chunk-6HXQWXUN.js +++ b/angular/docs/chunk-A7SE7UTL.js @@ -1,4 +1,4 @@ -import{a as N}from"./chunk-J4FX3WSX.js";import{a as V}from"./chunk-YDIXRUSA.js";import{a as z}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as U}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import{c as j,d as B,g as b,i as k}from"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as R}from"./chunk-SWYVARVN.js";import{r as P}from"./chunk-JJFVMVK7.js";import{c as A,d as $}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as o,Bc as l,Cc as y,Dc as h,Eb as w,Gb as E,Jb as M,Na as T,Oc as m,Pc as C,Qb as s,Ub as x,Wb as F,ac as a,bc as g,lb as d,mb as _,mc as c,na as p,nd as L,oc as D,pc as I,qc as O,xa as S}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var H=j("loadingButton",[k(":enter",[b({opacity:0,marginRight:"1rem",marginLeft:"-2rem"}),B(".15s ease-in-out",b({opacity:1,marginRight:"1rem",marginLeft:"0rem"}))]),k(":leave",[b({opacity:1}),B(".15s ease-in-out",b({opacity:0,marginRight:"1rem",marginLeft:"-2rem"}))])]);var X=["cLoadingButton",""],Y=["*"];function Z(r,t){if(r&1&&g(0,"c-spinner",0),r&2){let Q=D();s("variant",Q.spinnerType)("@loadingButton",void 0)}}var f=(()=>{let t=class t extends z{set loading(n){let e=n;this._loading!==e&&(this._loading=e,this.loadingChange.emit(e))}get loading(){return this._loading}constructor(){super(),this.disabledOnLoading=!1,this._loading=!1,this.spinnerType="border",this.loadingChange=new T}get hostClasses(){return{"btn-loading":!0,"is-loading":this.loading,disabled:this.disabledOnLoading&&this.loading,btn:!0,[`btn-${this.color}`]:!!this.color&&!this.variant,[`btn-${this.variant}`]:!!this.variant&&!this.color,[`btn-${this.variant}-${this.color}`]:!!this.variant&&!!this.color,[`btn-${this.size}`]:!!this.size,active:this.active}}ngOnChanges(n){n.loading&&!n.loading?.isFirstChange()&&(this.disabled=this.disabledOnLoading&&n.loading.currentValue)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["button","cLoadingButton",""],["a","cLoadingButton",""]],hostVars:2,hostBindings:function(e,i){e&2&&x(i.hostClasses)},inputs:{disabledOnLoading:[2,"disabledOnLoading","disabledOnLoading",L],loading:[2,"loading","loading",L],spinnerType:"spinnerType"},outputs:{loadingChange:"loadingChange"},exportAs:["cLoadingButton"],standalone:!0,features:[E,w,S,m],attrs:X,ngContentSelectors:Y,decls:2,vars:1,consts:[["size","sm",1,"btn-loading-spinner",3,"variant"]],template:function(e,i){e&1&&(I(),M(0,Z,1,2,"c-spinner",0),O(1)),e&2&&F(i.loading?0:-1)},dependencies:[N],encapsulation:2,data:{animation:[H]}});let r=t;return r})();var G=(()=>{let t=class t{constructor(){this.loading=new Array(4)}onClick(n){this.loading[n]?(clearTimeout(this.loading[n]),this.loading[n]=void 0):this.loading[n]=setTimeout(()=>{this.loading[n]=void 0},3e3)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-loading-button03"]],standalone:!0,features:[m],decls:6,vars:3,consts:[["cLoadingButton","","spinnerType","grow","disabledOnLoading","",3,"click","loading"],["cLoadingButton","","spinnerType","grow","disabledOnLoading","","variant","ghost",3,"click","loading"],["cLoadingButton","","spinnerType","grow","disabledOnLoading","","variant","outline",3,"click","loading"]],template:function(e,i){e&1&&(o(0,"button",0),c("click",function(){return i.onClick(0)}),l(1,"Submit"),a(),o(2,"button",1),c("click",function(){return i.onClick(1)}),l(3,"Submit"),a(),o(4,"button",2),c("click",function(){return i.onClick(2)}),l(5,"Submit"),a()),e&2&&(s("loading",i.loading[0]),d(2),s("loading",i.loading[1]),d(2),s("loading",i.loading[2]))},dependencies:[f],encapsulation:2});let r=t;return r})();var q=(()=>{let t=class t{constructor(){this.loading=new Array(4)}onClick(n){this.loading[n]?(clearTimeout(this.loading[n]),this.loading[n]=void 0):this.loading[n]=setTimeout(()=>{this.loading[n]=void 0},3e3)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-loading-button02"]],standalone:!0,features:[m],decls:6,vars:6,consts:[["cLoadingButton","","color","info","spinnerType","grow",3,"click","loading"],["cLoadingButton","","color","success","spinnerType","grow","variant","ghost",3,"click","loading"],["cLoadingButton","","color","warning","spinnerType","grow","variant","outline",3,"click","loading"]],template:function(e,i){e&1&&(o(0,"button",0),c("click",function(){return i.onClick(0)}),l(1),a(),o(2,"button",1),c("click",function(){return i.onClick(1)}),l(3),a(),o(4,"button",2),c("click",function(){return i.onClick(2)}),l(5),a()),e&2&&(s("loading",i.loading[0]),d(),h(" ",i.loading[0]?"Cancel":"Upload",` +import{a as N}from"./chunk-I7ZDH35V.js";import{a as V}from"./chunk-IV3JRMWS.js";import{a as z}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as U}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import{c as j,d as B,g as b,i as k}from"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as R}from"./chunk-MH6VOBXJ.js";import{r as P}from"./chunk-Q5WIR6QR.js";import{c as A,d as $}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as o,Bc as l,Cc as y,Dc as h,Eb as w,Gb as E,Jb as M,Na as T,Oc as m,Pc as C,Qb as s,Ub as x,Wb as F,ac as a,bc as g,lb as d,mb as _,mc as c,na as p,nd as L,oc as D,pc as I,qc as O,xa as S}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var H=j("loadingButton",[k(":enter",[b({opacity:0,marginRight:"1rem",marginLeft:"-2rem"}),B(".15s ease-in-out",b({opacity:1,marginRight:"1rem",marginLeft:"0rem"}))]),k(":leave",[b({opacity:1}),B(".15s ease-in-out",b({opacity:0,marginRight:"1rem",marginLeft:"-2rem"}))])]);var X=["cLoadingButton",""],Y=["*"];function Z(r,t){if(r&1&&g(0,"c-spinner",0),r&2){let Q=D();s("variant",Q.spinnerType)("@loadingButton",void 0)}}var f=(()=>{let t=class t extends z{set loading(n){let e=n;this._loading!==e&&(this._loading=e,this.loadingChange.emit(e))}get loading(){return this._loading}constructor(){super(),this.disabledOnLoading=!1,this._loading=!1,this.spinnerType="border",this.loadingChange=new T}get hostClasses(){return{"btn-loading":!0,"is-loading":this.loading,disabled:this.disabledOnLoading&&this.loading,btn:!0,[`btn-${this.color}`]:!!this.color&&!this.variant,[`btn-${this.variant}`]:!!this.variant&&!this.color,[`btn-${this.variant}-${this.color}`]:!!this.variant&&!!this.color,[`btn-${this.size}`]:!!this.size,active:this.active}}ngOnChanges(n){n.loading&&!n.loading?.isFirstChange()&&(this.disabled=this.disabledOnLoading&&n.loading.currentValue)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["button","cLoadingButton",""],["a","cLoadingButton",""]],hostVars:2,hostBindings:function(e,i){e&2&&x(i.hostClasses)},inputs:{disabledOnLoading:[2,"disabledOnLoading","disabledOnLoading",L],loading:[2,"loading","loading",L],spinnerType:"spinnerType"},outputs:{loadingChange:"loadingChange"},exportAs:["cLoadingButton"],standalone:!0,features:[E,w,S,m],attrs:X,ngContentSelectors:Y,decls:2,vars:1,consts:[["size","sm",1,"btn-loading-spinner",3,"variant"]],template:function(e,i){e&1&&(I(),M(0,Z,1,2,"c-spinner",0),O(1)),e&2&&F(i.loading?0:-1)},dependencies:[N],encapsulation:2,data:{animation:[H]}});let r=t;return r})();var G=(()=>{let t=class t{constructor(){this.loading=new Array(4)}onClick(n){this.loading[n]?(clearTimeout(this.loading[n]),this.loading[n]=void 0):this.loading[n]=setTimeout(()=>{this.loading[n]=void 0},3e3)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-loading-button03"]],standalone:!0,features:[m],decls:6,vars:3,consts:[["cLoadingButton","","spinnerType","grow","disabledOnLoading","",3,"click","loading"],["cLoadingButton","","spinnerType","grow","disabledOnLoading","","variant","ghost",3,"click","loading"],["cLoadingButton","","spinnerType","grow","disabledOnLoading","","variant","outline",3,"click","loading"]],template:function(e,i){e&1&&(o(0,"button",0),c("click",function(){return i.onClick(0)}),l(1,"Submit"),a(),o(2,"button",1),c("click",function(){return i.onClick(1)}),l(3,"Submit"),a(),o(4,"button",2),c("click",function(){return i.onClick(2)}),l(5,"Submit"),a()),e&2&&(s("loading",i.loading[0]),d(2),s("loading",i.loading[1]),d(2),s("loading",i.loading[2]))},dependencies:[f],encapsulation:2});let r=t;return r})();var q=(()=>{let t=class t{constructor(){this.loading=new Array(4)}onClick(n){this.loading[n]?(clearTimeout(this.loading[n]),this.loading[n]=void 0):this.loading[n]=setTimeout(()=>{this.loading[n]=void 0},3e3)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-loading-button02"]],standalone:!0,features:[m],decls:6,vars:6,consts:[["cLoadingButton","","color","info","spinnerType","grow",3,"click","loading"],["cLoadingButton","","color","success","spinnerType","grow","variant","ghost",3,"click","loading"],["cLoadingButton","","color","warning","spinnerType","grow","variant","outline",3,"click","loading"]],template:function(e,i){e&1&&(o(0,"button",0),c("click",function(){return i.onClick(0)}),l(1),a(),o(2,"button",1),c("click",function(){return i.onClick(1)}),l(3),a(),o(4,"button",2),c("click",function(){return i.onClick(2)}),l(5),a()),e&2&&(s("loading",i.loading[0]),d(),h(" ",i.loading[0]?"Cancel":"Upload",` `),d(),s("loading",i.loading[1]),d(),h(" ",i.loading[1]?"Cancel":"Upload",` `),d(),s("loading",i.loading[2]),d(),h(" ",i.loading[2]?"Cancel":"Upload",` `))},dependencies:[f],encapsulation:2});let r=t;return r})();var J=(()=>{let t=class t{constructor(){this.loading=new Array(4)}onClick(n){this.loading[n]?(clearTimeout(this.loading[n]),this.loading[n]=void 0):this.loading[n]=setTimeout(()=>{this.loading[n]=void 0},3e3)}onChange(n,e){console.log(n,e)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-loading-button01"]],standalone:!0,features:[m],decls:6,vars:3,consts:[["cLoadingButton","",3,"click","loadingChange","loading"],["cLoadingButton","","variant","ghost",3,"click","loading"],["cLoadingButton","","variant","outline",3,"click","loading"]],template:function(e,i){e&1&&(o(0,"button",0),c("click",function(){return i.onClick(0)})("loadingChange",function(W){return i.onChange(W,0)}),l(1,"Submit"),a(),o(2,"button",1),c("click",function(){return i.onClick(1)}),l(3,"Submit"),a(),o(4,"button",2),c("click",function(){return i.onClick(2)}),l(5,"Submit"),a()),e&2&&(s("loading",i.loading[0]),d(2),s("loading",i.loading[1]),d(2),s("loading",i.loading[2]))},dependencies:[f],encapsulation:2});let r=t;return r})();var K=`\`\`\`typescript diff --git a/angular/docs/chunk-T7EHJSLU.js b/angular/docs/chunk-AKN7XNYI.js similarity index 85% rename from angular/docs/chunk-T7EHJSLU.js rename to angular/docs/chunk-AKN7XNYI.js index c883a140773..29a483fcb99 100644 --- a/angular/docs/chunk-T7EHJSLU.js +++ b/angular/docs/chunk-AKN7XNYI.js @@ -1 +1 @@ -import{a as j,b as y}from"./chunk-ATBE6YUJ.js";import{C as p,F as h,K as m,Q as l,V as f,Y as u,ca as d,ha as b,n,q as c}from"./chunk-O6V6MKDU.js";import{a as o}from"./chunk-MGAX33HK.js";var C={},U=(()=>{let r=class r{constructor(t){this.httpClient=t,this.usersUrl="https://apitest.coreui.io/demos/users"}search(t){return t.pipe(h(100),m(),f(e=>{let s={last_name:e,offset:0,limit:15e3,sort:"id%asc"};return this.fetchData(s)}))}fetchData(t){let e=o({},t),s=new j({fromObject:e}),g=Object.keys(s).length?o({params:s},C):o({params:{}},C);return this.httpClient.get(this.usersUrl,g).pipe(l({count:1,delay:1e3,resetOnSuccess:!0}),p(this.handleHttpError),u(a=>{console.log("httpClient",a)}),c(a=>a.records))}handleHttpError(t){return n(()=>t)}};r.\u0275fac=function(e){return new(e||r)(b(y))},r.\u0275prov=d({token:r,factory:r.\u0275fac});let i=r;return i})();export{U as a}; +import{a as j,b as y}from"./chunk-D6CLLZIZ.js";import{C as p,F as h,K as m,Q as l,V as f,Y as u,ca as d,ha as b,n,q as c}from"./chunk-6U7QZ4SV.js";import{a as o}from"./chunk-MGAX33HK.js";var C={},U=(()=>{let r=class r{constructor(t){this.httpClient=t,this.usersUrl="https://apitest.coreui.io/demos/users"}search(t){return t.pipe(h(100),m(),f(e=>{let s={last_name:e,offset:0,limit:15e3,sort:"id%asc"};return this.fetchData(s)}))}fetchData(t){let e=o({},t),s=new j({fromObject:e}),g=Object.keys(s).length?o({params:s},C):o({params:{}},C);return this.httpClient.get(this.usersUrl,g).pipe(l({count:1,delay:1e3,resetOnSuccess:!0}),p(this.handleHttpError),u(a=>{console.log("httpClient",a)}),c(a=>a.records))}handleHttpError(t){return n(()=>t)}};r.\u0275fac=function(e){return new(e||r)(b(y))},r.\u0275prov=d({token:r,factory:r.\u0275fac});let i=r;return i})();export{U as a}; diff --git a/angular/docs/chunk-4NNQVPEV.js b/angular/docs/chunk-ANRJTFRC.js similarity index 95% rename from angular/docs/chunk-4NNQVPEV.js rename to angular/docs/chunk-ANRJTFRC.js index 9c4ba411244..651b8940188 100644 --- a/angular/docs/chunk-4NNQVPEV.js +++ b/angular/docs/chunk-ANRJTFRC.js @@ -1,4 +1,4 @@ -import{i as k,p as W}from"./chunk-SPMMWGWV.js";import{b as z}from"./chunk-R2HXWLDR.js";import"./chunk-2IKSDGSZ.js";import{g as G}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as V}from"./chunk-SWYVARVN.js";import{r as Y}from"./chunk-JJFVMVK7.js";import{c as U,d as $}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{t as j}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as r,Ac as P,Bc as a,Cc as F,Dc as R,Fc as q,Gb as D,Jb as x,Oc as u,Pb as C,Pc as p,Qb as l,Tb as A,Ub as y,Wb as H,_c as N,ac as i,bc as g,ec as M,lb as m,mb as I,na as d,nd as O,oc as T,pc as S,qc as _}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var te=["*"],L=()=>({});function ne(n,e){n&1&&M(0)}function re(n,e){if(n&1&&(r(0,"a",1),x(1,ne,1,0,"ng-container",3),i()),n&2){let v,o,t,c,B,E,w,s=T(),ee=P(3);l("routerLink",s.url)("cHtmlAttr",(v=s.attributes)!==null&&v!==void 0?v:p(11,L))("target",s.attributes==null?null:s.attributes.target)("queryParams",(o=s.linkProps==null?null:s.linkProps.queryParams)!==null&&o!==void 0?o:null)("fragment",s.linkProps==null?null:s.linkProps.fragment)("queryParamsHandling",(t=s.linkProps==null?null:s.linkProps.queryParamsHandling)!==null&&t!==void 0?t:null)("preserveFragment",(c=s.linkProps==null?null:s.linkProps.preserveFragment)!==null&&c!==void 0?c:!1)("skipLocationChange",(B=s.linkProps==null?null:s.linkProps.skipLocationChange)!==null&&B!==void 0?B:!1)("replaceUrl",(E=s.linkProps==null?null:s.linkProps.replaceUrl)!==null&&E!==void 0?E:!1)("state",(w=s.linkProps==null?null:s.linkProps.state)!==null&&w!==void 0?w:p(12,L)),m(),l("ngTemplateOutlet",ee)}}function ie(n,e){n&1&&M(0)}function ae(n,e){if(n&1&&(r(0,"span",2),x(1,ie,1,0,"ng-container",3),i()),n&2){let v,o=T(),t=P(3);l("cHtmlAttr",(v=o.attributes)!==null&&v!==void 0?v:p(2,L)),m(),l("ngTemplateOutlet",t)}}function oe(n,e){n&1&&_(0)}var b=(()=>{let e=class e{get ariaCurrent(){return this.active?"page":null}get hostClasses(){return{"breadcrumb-item":!0,active:this.active}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["c-breadcrumb-item"]],hostVars:3,hostBindings:function(t,c){t&2&&(C("aria-current",c.ariaCurrent),y(c.hostClasses))},inputs:{active:[2,"active","active",O],url:"url",attributes:"attributes",linkProps:"linkProps"},standalone:!0,features:[D,u],ngContentSelectors:te,decls:4,vars:1,consts:[["defaultBreadcrumbItemContentTemplate",""],[3,"routerLink","cHtmlAttr","target","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[3,"cHtmlAttr"],[4,"ngTemplateOutlet"]],template:function(t,c){t&1&&(S(),x(0,re,2,13,"a",1)(1,ae,2,3,"span",2)(2,oe,1,0,"ng-template",null,0,N)),t&2&&H(c.active?1:0)},dependencies:[W,k,j,z],styles:["[_nghost-%COMP%]{display:list-item;text-align:-webkit-match-parent;text-align:match-parent}"]});let n=e;return n})();var me=["*"],f=(()=>{let e=class e{constructor(){this.ariaLabel="breadcrumb",this.role="navigation"}get hostClasses(){return{breadcrumb:!0}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["c-breadcrumb"]],hostVars:4,hostBindings:function(t,c){t&2&&(C("aria-label",c.ariaLabel)("role",c.role),y(c.hostClasses))},inputs:{ariaLabel:"ariaLabel",role:"role"},standalone:!0,features:[u],ngContentSelectors:me,decls:1,vars:0,template:function(t,c){t&1&&(S(),_(0))},encapsulation:2});let n=e;return n})();var J=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb04-example"]],standalone:!0,features:[u],decls:5,vars:1,consts:[[2,"--cui-breadcrumb-divider","''"],["url","#"],[3,"active"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb",0)(1,"c-breadcrumb-item",1),a(2,"Home"),i(),r(3,"c-breadcrumb-item",2),a(4,"Library"),i()()),t&2&&(m(3),l("active",!0))},dependencies:[f,b],encapsulation:2});let n=e;return n})();var K=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb03-example"]],standalone:!0,features:[u],decls:5,vars:1,consts:[[2,"--cui-breadcrumb-divider",`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E")`],[3,"routerLink"],[3,"active"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb",0)(1,"c-breadcrumb-item",1),a(2,"Home"),i(),r(3,"c-breadcrumb-item",2),a(4,"Library"),i()()),t&2&&(m(3),l("active",!0))},dependencies:[f,b,k],encapsulation:2});let n=e;return n})();var Q=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb02-example"]],standalone:!0,features:[u],decls:5,vars:3,consts:[["url","#"],[3,"active"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb")(1,"c-breadcrumb-item",0),a(2,"Home"),i(),r(3,"c-breadcrumb-item",1),a(4,"Library"),i()()),t&2&&(A("--cui-breadcrumb-divider:'>'"),m(3),l("active",!0))},dependencies:[f,b],encapsulation:2});let n=e;return n})();var X=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb01-example"]],standalone:!0,features:[u],decls:15,vars:3,consts:[[3,"active"],["url","#"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb")(1,"c-breadcrumb-item",0),a(2,"Home"),i()(),r(3,"c-breadcrumb")(4,"c-breadcrumb-item",1),a(5,"Home"),i(),r(6,"c-breadcrumb-item",0),a(7,"Library"),i()(),r(8,"c-breadcrumb")(9,"c-breadcrumb-item",1),a(10,"Home"),i(),r(11,"c-breadcrumb-item",1),a(12,"Library"),i(),r(13,"c-breadcrumb-item",0),a(14,"Data"),i()()),t&2&&(m(),l("active",!0),m(5),l("active",!0),m(7),l("active",!0))},dependencies:[f,b],encapsulation:2});let n=e;return n})();var Z=`\`\`\`typescript +import{i as k,p as W}from"./chunk-FULSUUPP.js";import{b as z}from"./chunk-UYIAOCXU.js";import"./chunk-D272JSA3.js";import{g as G}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as V}from"./chunk-MH6VOBXJ.js";import{r as Y}from"./chunk-Q5WIR6QR.js";import{c as U,d as $}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{t as j}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as r,Ac as P,Bc as a,Cc as F,Dc as R,Fc as q,Gb as D,Jb as x,Oc as u,Pb as C,Pc as p,Qb as l,Tb as A,Ub as y,Wb as H,_c as N,ac as i,bc as g,ec as M,lb as m,mb as I,na as d,nd as O,oc as T,pc as S,qc as _}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var te=["*"],L=()=>({});function ne(n,e){n&1&&M(0)}function re(n,e){if(n&1&&(r(0,"a",1),x(1,ne,1,0,"ng-container",3),i()),n&2){let v,o,t,c,B,E,w,s=T(),ee=P(3);l("routerLink",s.url)("cHtmlAttr",(v=s.attributes)!==null&&v!==void 0?v:p(11,L))("target",s.attributes==null?null:s.attributes.target)("queryParams",(o=s.linkProps==null?null:s.linkProps.queryParams)!==null&&o!==void 0?o:null)("fragment",s.linkProps==null?null:s.linkProps.fragment)("queryParamsHandling",(t=s.linkProps==null?null:s.linkProps.queryParamsHandling)!==null&&t!==void 0?t:null)("preserveFragment",(c=s.linkProps==null?null:s.linkProps.preserveFragment)!==null&&c!==void 0?c:!1)("skipLocationChange",(B=s.linkProps==null?null:s.linkProps.skipLocationChange)!==null&&B!==void 0?B:!1)("replaceUrl",(E=s.linkProps==null?null:s.linkProps.replaceUrl)!==null&&E!==void 0?E:!1)("state",(w=s.linkProps==null?null:s.linkProps.state)!==null&&w!==void 0?w:p(12,L)),m(),l("ngTemplateOutlet",ee)}}function ie(n,e){n&1&&M(0)}function ae(n,e){if(n&1&&(r(0,"span",2),x(1,ie,1,0,"ng-container",3),i()),n&2){let v,o=T(),t=P(3);l("cHtmlAttr",(v=o.attributes)!==null&&v!==void 0?v:p(2,L)),m(),l("ngTemplateOutlet",t)}}function oe(n,e){n&1&&_(0)}var b=(()=>{let e=class e{get ariaCurrent(){return this.active?"page":null}get hostClasses(){return{"breadcrumb-item":!0,active:this.active}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["c-breadcrumb-item"]],hostVars:3,hostBindings:function(t,c){t&2&&(C("aria-current",c.ariaCurrent),y(c.hostClasses))},inputs:{active:[2,"active","active",O],url:"url",attributes:"attributes",linkProps:"linkProps"},standalone:!0,features:[D,u],ngContentSelectors:te,decls:4,vars:1,consts:[["defaultBreadcrumbItemContentTemplate",""],[3,"routerLink","cHtmlAttr","target","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[3,"cHtmlAttr"],[4,"ngTemplateOutlet"]],template:function(t,c){t&1&&(S(),x(0,re,2,13,"a",1)(1,ae,2,3,"span",2)(2,oe,1,0,"ng-template",null,0,N)),t&2&&H(c.active?1:0)},dependencies:[W,k,j,z],styles:["[_nghost-%COMP%]{display:list-item;text-align:-webkit-match-parent;text-align:match-parent}"]});let n=e;return n})();var me=["*"],f=(()=>{let e=class e{constructor(){this.ariaLabel="breadcrumb",this.role="navigation"}get hostClasses(){return{breadcrumb:!0}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["c-breadcrumb"]],hostVars:4,hostBindings:function(t,c){t&2&&(C("aria-label",c.ariaLabel)("role",c.role),y(c.hostClasses))},inputs:{ariaLabel:"ariaLabel",role:"role"},standalone:!0,features:[u],ngContentSelectors:me,decls:1,vars:0,template:function(t,c){t&1&&(S(),_(0))},encapsulation:2});let n=e;return n})();var J=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb04-example"]],standalone:!0,features:[u],decls:5,vars:1,consts:[[2,"--cui-breadcrumb-divider","''"],["url","#"],[3,"active"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb",0)(1,"c-breadcrumb-item",1),a(2,"Home"),i(),r(3,"c-breadcrumb-item",2),a(4,"Library"),i()()),t&2&&(m(3),l("active",!0))},dependencies:[f,b],encapsulation:2});let n=e;return n})();var K=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb03-example"]],standalone:!0,features:[u],decls:5,vars:1,consts:[[2,"--cui-breadcrumb-divider",`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E")`],[3,"routerLink"],[3,"active"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb",0)(1,"c-breadcrumb-item",1),a(2,"Home"),i(),r(3,"c-breadcrumb-item",2),a(4,"Library"),i()()),t&2&&(m(3),l("active",!0))},dependencies:[f,b,k],encapsulation:2});let n=e;return n})();var Q=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb02-example"]],standalone:!0,features:[u],decls:5,vars:3,consts:[["url","#"],[3,"active"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb")(1,"c-breadcrumb-item",0),a(2,"Home"),i(),r(3,"c-breadcrumb-item",1),a(4,"Library"),i()()),t&2&&(A("--cui-breadcrumb-divider:'>'"),m(3),l("active",!0))},dependencies:[f,b],encapsulation:2});let n=e;return n})();var X=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d({type:e,selectors:[["docs-breadcrumb01-example"]],standalone:!0,features:[u],decls:15,vars:3,consts:[[3,"active"],["url","#"]],template:function(t,c){t&1&&(r(0,"c-breadcrumb")(1,"c-breadcrumb-item",0),a(2,"Home"),i()(),r(3,"c-breadcrumb")(4,"c-breadcrumb-item",1),a(5,"Home"),i(),r(6,"c-breadcrumb-item",0),a(7,"Library"),i()(),r(8,"c-breadcrumb")(9,"c-breadcrumb-item",1),a(10,"Home"),i(),r(11,"c-breadcrumb-item",1),a(12,"Library"),i(),r(13,"c-breadcrumb-item",0),a(14,"Data"),i()()),t&2&&(m(),l("active",!0),m(5),l("active",!0),m(7),l("active",!0))},dependencies:[f,b],encapsulation:2});let n=e;return n})();var Z=`\`\`\`typescript import { BreadcrumbModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-WL5HBOO5.js b/angular/docs/chunk-AVCY7THN.js similarity index 98% rename from angular/docs/chunk-WL5HBOO5.js rename to angular/docs/chunk-AVCY7THN.js index 1959958ae90..de3703b97ad 100644 --- a/angular/docs/chunk-WL5HBOO5.js +++ b/angular/docs/chunk-AVCY7THN.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as g}from"./chunk-SWYVARVN.js";import{r as b}from"./chunk-JJFVMVK7.js";import{c as p,d as x}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as n,Cc as u,Oc as s,ac as t,bc as l,lb as c,mb as d,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var E=(()=>{let i=class i{constructor(o,r){this.metaService=o,this.titleService=r,this.title="CoreUI 4 Angular Migration",this.description="Track and review changes to the CoreUI Angular components to help you migrate from v3 to v4."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(r){return new(r||i)(d(p),d(x))},i.\u0275cmp=m({type:i,selectors:[["docs-migration-v3-v4"]],standalone:!0,features:[s],decls:206,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"api-table"]],template:function(r,v){r&1&&(e(0,"h1",0),n(1),t(),e(2,"p",1),n(3),t(),l(4,"docs-ads-carbon-loader"),e(5,"markdown"),n(6,` +import"./chunk-DPZ7BZKP.js";import{a as g}from"./chunk-MH6VOBXJ.js";import{r as b}from"./chunk-Q5WIR6QR.js";import{c as p,d as x}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as n,Cc as u,Oc as s,ac as t,bc as l,lb as c,mb as d,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var E=(()=>{let i=class i{constructor(o,r){this.metaService=o,this.titleService=r,this.title="CoreUI 4 Angular Migration",this.description="Track and review changes to the CoreUI Angular components to help you migrate from v3 to v4."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(r){return new(r||i)(d(p),d(x))},i.\u0275cmp=m({type:i,selectors:[["docs-migration-v3-v4"]],standalone:!0,features:[s],decls:206,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"api-table"]],template:function(r,v){r&1&&(e(0,"h1",0),n(1),t(),e(2,"p",1),n(3),t(),l(4,"docs-ads-carbon-loader"),e(5,"markdown"),n(6,` CoreUI for Angular is the Angular version of CoreUI components library, so before read the following guide, please check also [CoreUI 3 to 4 migration guide](https://coreui.io/docs/migration/). `),t(),e(7,"markdown"),n(8,` diff --git a/angular/docs/chunk-XDBSPVMW.js b/angular/docs/chunk-B7SZGDG4.js similarity index 90% rename from angular/docs/chunk-XDBSPVMW.js rename to angular/docs/chunk-B7SZGDG4.js index 2e60037acab..5012676a781 100644 --- a/angular/docs/chunk-XDBSPVMW.js +++ b/angular/docs/chunk-B7SZGDG4.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as h}from"./chunk-SWYVARVN.js";import{r as v}from"./chunk-JJFVMVK7.js";import{c as m,d as x}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Bc as e,Cc as d,Oc as p,ac as t,bc as i,lb as u,mb as c,na as s}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var A=(()=>{let a=class a{constructor(l,r){this.metaService=l,this.titleService=r,this.title="CoreUI Angular Versions",this.description="CoreUI Angular version concordance chart"}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};a.\u0275fac=function(r){return new(r||a)(c(m),c(x))},a.\u0275cmp=s({type:a,selectors:[["docs-versions"]],standalone:!0,features:[p],decls:34,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["href","https://angular.dev/update-guide","target","_blank"],["href","https://angular.dev/update-guide?v=16.0-17.0","target","_blank"],["href","https://angular.dev/update-guide?v=15.0-16.0","target","_blank"],["href","https://angular.dev/update-guide?v=14.0-15.0","target","_blank"],[1,"api-table"]],template:function(r,g){r&1&&(n(0,"h1",0),e(1),t(),n(2,"p",1),e(3),t(),i(4,"docs-ads-carbon-loader"),n(5,"markdown"),e(6,` +import"./chunk-DPZ7BZKP.js";import{a as h}from"./chunk-MH6VOBXJ.js";import{r as v}from"./chunk-Q5WIR6QR.js";import{c as m,d as x}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Bc as e,Cc as d,Oc as p,ac as t,bc as i,lb as u,mb as c,na as s}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var A=(()=>{let a=class a{constructor(l,r){this.metaService=l,this.titleService=r,this.title="CoreUI Angular Versions",this.description="CoreUI Angular version concordance chart"}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};a.\u0275fac=function(r){return new(r||a)(c(m),c(x))},a.\u0275cmp=s({type:a,selectors:[["docs-versions"]],standalone:!0,features:[p],decls:34,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["href","https://angular.dev/update-guide","target","_blank"],["href","https://angular.dev/update-guide?v=16.0-17.0","target","_blank"],["href","https://angular.dev/update-guide?v=15.0-16.0","target","_blank"],["href","https://angular.dev/update-guide?v=14.0-15.0","target","_blank"],[1,"api-table"]],template:function(r,g){r&1&&(n(0,"h1",0),e(1),t(),n(2,"p",1),e(3),t(),i(4,"docs-ads-carbon-loader"),n(5,"markdown"),e(6,` ##### This topic provides information about updating your CoreUI Angular application to the latest version of Angular. @@ -23,7 +23,7 @@ import"./chunk-DPZ7BZKP.js";import{a as h}from"./chunk-SWYVARVN.js";import{r as ### CoreUI v4 - `),n(26,"div",6),e(27,"\n\n |`@coreui/angular`|note|Angular|app update\n |:---|:---|:---|:---|\n |`~4.8.x`|| `^17.x`| `ng update @angular/core@18 @angular/cli@18 @angular/cdk@18 @coreui/angular@~4.8 @coreui/icons-angular@~4.8 @coreui/angular-chartjs@~4.8`\n |`~4.7.x`|| `^17.3`| `ng update @angular/core@17 @angular/cli@17 @angular/cdk@17 @coreui/angular@~4.7 @coreui/icons-angular@~4.7 @coreui/angular-chartjs@~4.7`\n |`~4.5.x`|| `^16.x`| `ng update @angular/core@16 @angular/cli@16 @angular/cdk@16 @coreui/angular@~4.5 @coreui/icons-angular@~4.5 @coreui/angular-chartjs@~4.5`\n |`~4.4.x`|_standalone components_| `^15.x`| `ng update @angular/core@15 @angular/cli@15 @angular/cdk@15 @coreui/angular@~4.4 @coreui/icons-angular@~4.4 @coreui/angular-chartjs@~4.4`\n |~~`~4.3.x`~~|_deprecated_| `^15.x`|\n |~~`~4.2.x`~~|_deprecated_|`^14.x`| `ng update @angular/core@14 @angular/cli@14 @angular/cdk@14 @coreui/angular@~4.2 @coreui/icons-angular@~4.2 @coreui/angular-chartjs@~4.2`\n\n "),t(),e(28,` + `),n(26,"div",6),e(27,"\n\n |`@coreui/angular`|note|Angular|app update\n |:---|:---|:---|:---|\n |`~4.8.x`|| `^18.x`| `ng update @angular/core@18 @angular/cli@18 @angular/cdk@18 @coreui/angular@~4.8 @coreui/icons-angular@~4.8 @coreui/angular-chartjs@~4.8`\n |`~4.7.x`|| `^17.3`| `ng update @angular/core@17 @angular/cli@17 @angular/cdk@17 @coreui/angular@~4.7 @coreui/icons-angular@~4.7 @coreui/angular-chartjs@~4.7`\n |`~4.5.x`|| `^16.x`| `ng update @angular/core@16 @angular/cli@16 @angular/cdk@16 @coreui/angular@~4.5 @coreui/icons-angular@~4.5 @coreui/angular-chartjs@~4.5`\n |`~4.4.x`|_standalone components_| `^15.x`| `ng update @angular/core@15 @angular/cli@15 @angular/cdk@15 @coreui/angular@~4.4 @coreui/icons-angular@~4.4 @coreui/angular-chartjs@~4.4`\n |~~`~4.3.x`~~|_deprecated_| `^15.x`|\n |~~`~4.2.x`~~|_deprecated_|`^14.x`| `ng update @angular/core@14 @angular/cli@14 @angular/cdk@14 @coreui/angular@~4.2 @coreui/icons-angular@~4.2 @coreui/angular-chartjs@~4.2`\n\n "),t(),e(28,` `),t(),n(29,"markdown"),e(30,` diff --git a/angular/docs/chunk-5LYXIB6J.js b/angular/docs/chunk-C5U3MXIG.js similarity index 94% rename from angular/docs/chunk-5LYXIB6J.js rename to angular/docs/chunk-C5U3MXIG.js index a5c65a6fff6..f43d14cbe09 100644 --- a/angular/docs/chunk-5LYXIB6J.js +++ b/angular/docs/chunk-C5U3MXIG.js @@ -1 +1 @@ -import{Oc as p,Pb as i,Ub as a,na as s,pc as c,qc as l}from"./chunk-O6V6MKDU.js";var f=["*"],d=(()=>{let t=class t{constructor(){this.role="group"}get hostClasses(){return{"btn-group":!this.vertical,"btn-group-vertical":this.vertical,[`btn-group-${this.size}`]:!!this.size}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=s({type:t,selectors:[["c-button-group"]],hostVars:3,hostBindings:function(o,n){o&2&&(i("role",n.role),a(n.hostClasses))},inputs:{size:"size",vertical:"vertical",role:"role"},standalone:!0,features:[p],ngContentSelectors:f,decls:1,vars:0,template:function(o,n){o&1&&(c(),l(0))},encapsulation:2});let e=t;return e})();var m=["*"],g=(()=>{let t=class t{constructor(){this.role="toolbar"}get hostClasses(){return{"btn-toolbar":!0}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=s({type:t,selectors:[["c-button-toolbar"]],hostVars:3,hostBindings:function(o,n){o&2&&(i("role",n.role),a(n.hostClasses))},inputs:{role:"role"},standalone:!0,features:[p],ngContentSelectors:m,decls:1,vars:0,template:function(o,n){o&1&&(c(),l(0))},encapsulation:2});let e=t;return e})();export{d as a,g as b}; +import{Oc as p,Pb as i,Ub as a,na as s,pc as c,qc as l}from"./chunk-6U7QZ4SV.js";var f=["*"],d=(()=>{let t=class t{constructor(){this.role="group"}get hostClasses(){return{"btn-group":!this.vertical,"btn-group-vertical":this.vertical,[`btn-group-${this.size}`]:!!this.size}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=s({type:t,selectors:[["c-button-group"]],hostVars:3,hostBindings:function(o,n){o&2&&(i("role",n.role),a(n.hostClasses))},inputs:{size:"size",vertical:"vertical",role:"role"},standalone:!0,features:[p],ngContentSelectors:f,decls:1,vars:0,template:function(o,n){o&1&&(c(),l(0))},encapsulation:2});let e=t;return e})();var m=["*"],g=(()=>{let t=class t{constructor(){this.role="toolbar"}get hostClasses(){return{"btn-toolbar":!0}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=s({type:t,selectors:[["c-button-toolbar"]],hostVars:3,hostBindings:function(o,n){o&2&&(i("role",n.role),a(n.hostClasses))},inputs:{role:"role"},standalone:!0,features:[p],ngContentSelectors:m,decls:1,vars:0,template:function(o,n){o&1&&(c(),l(0))},encapsulation:2});let e=t;return e})();export{d as a,g as b}; diff --git a/angular/docs/chunk-2TZWKA5L.js b/angular/docs/chunk-CS7VAAKR.js similarity index 93% rename from angular/docs/chunk-2TZWKA5L.js rename to angular/docs/chunk-CS7VAAKR.js index 7cff817efb2..b12f83df341 100644 --- a/angular/docs/chunk-2TZWKA5L.js +++ b/angular/docs/chunk-CS7VAAKR.js @@ -1,4 +1,4 @@ -import{d as L,e as d,i as g,k as f}from"./chunk-C5JPXVV5.js";import{A as D,B as v,f as h,i as C,m as y,t as E,u as w}from"./chunk-JZLZFTWK.js";import{c as R,e as O,f as G}from"./chunk-EBCID5MY.js";import{g as W}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as P}from"./chunk-SWYVARVN.js";import{r as A}from"./chunk-JJFVMVK7.js";import{c as k,d as N}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{s as I}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as o,Cc as M,Jb as x,Oc as s,Pc as u,Qb as p,_c as b,ac as n,bc as a,lb as c,mb as T,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var H=()=>({g:2}),V=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels06"]],standalone:!0,features:[s],decls:19,vars:2,consts:[[3,"gutter"],[3,"md"],["cFormFloating",""],["cFormControl","","id","floatingInputGrid","type","email","value","email@example.com"],["cLabel","","for","floatingInputGrid"],["cSelect","","id","floatingSelectGrid"],["value","1"],["value","2"],["value","3"],["cLabel","","for","floatingSelectGrid"]],template:function(l,F){l&1&&(t(0,"c-row",0)(1,"c-col",1)(2,"div",2),a(3,"input",3),t(4,"label",4),o(5,"Email address"),n()()(),t(6,"c-col",1)(7,"div",2)(8,"select",5)(9,"option"),o(10,"Open this select menu"),n(),t(11,"option",6),o(12,"One"),n(),t(13,"option",7),o(14,"Two"),n(),t(15,"option",8),o(16,"Three"),n()(),t(17,"label",9),o(18,"Works with selects"),n()()()()),l&2&&p("gutter",u(1,H))},dependencies:[O,G,R,f,g,d,L,v,E,w],encapsulation:2});let i=e;return i})();var j=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels05"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cFormFloating",""],["cSelect","","id","floatingSelect"],["value","1"],["value","2"],["value","3"],["cLabel","","for","floatingSelect"]],template:function(l,F){l&1&&(t(0,"div",0)(1,"select",1)(2,"option"),o(3,"Open this select menu"),n(),t(4,"option",2),o(5,"One"),n(),t(6,"option",3),o(7,"Two"),n(),t(8,"option",4),o(9,"Three"),n()(),t(10,"label",5),o(11,"Works with selects"),n()())},dependencies:[f,L,v,E,w,d],encapsulation:2});let i=e;return i})();var J=()=>({"height.px":100}),z=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels04"]],standalone:!0,features:[s],decls:5,vars:2,consts:[["cFormFloating",""],["cFormControl","","id","floatingTextarea2",3,"ngStyle"],["cLabel","","for","floatingTextarea2"]],template:function(l,F){l&1&&(t(0,"div",0)(1,"textarea",1),o(2," "),n(),t(3,"label",2),o(4,"Comments"),n()()),l&2&&(c(),p("ngStyle",u(1,J)))},dependencies:[f,g,I,d],encapsulation:2});let i=e;return i})();var B=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels03"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["cFormFloating",""],["cFormControl","","id","floatingTextarea"],["cLabel","","for","floatingTextarea"]],template:function(l,F){l&1&&(t(0,"div",0),a(1,"textarea",1),t(2,"label",2),o(3,"Comments"),n()())},dependencies:[f,g,d],encapsulation:2});let i=e;return i})();var q=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels02"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["cFormFloating",""],["cFormControl","","id","floatingInputValue","type","email","value","test@example.com"],["cLabel","","for","floatingInputValue"]],template:function(l,F){l&1&&(t(0,"form",0),a(1,"input",1),t(2,"label",2),o(3,"Input with value"),n()())},dependencies:[v,y,h,D,C,f,g,d],encapsulation:2});let i=e;return i})();var U=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels01"]],standalone:!0,features:[s],decls:9,vars:1,consts:[[1,"mb-3",3,"cFormFloating"],["cFormControl","","id","floatingInput","placeholder","name@example.com","type","email"],["cLabel","","for","floatingInput"],["cFormFloating",""],["cFormControl","","id","floatingPassword","placeholder","Password","type","password","autocomplete","off"],["cLabel","","for","floatingPassword"]],template:function(l,F){l&1&&(t(0,"form")(1,"div",0),a(2,"input",1),t(3,"label",2),o(4,"Email address"),n()(),t(5,"div",3),a(6,"input",4),t(7,"label",5),o(8,"Password"),n()()()),l&2&&(c(),p("cFormFloating",!0))},dependencies:[v,y,h,D,C,f,g,d],encapsulation:2});let i=e;return i})();var K=()=>["forms/floating-labels/examples/floating-labels01.component.html"],Q=()=>["forms/floating-labels/examples/floating-labels02.component.html"],X=()=>["forms/floating-labels/examples/floating-labels03.component.html"],Y=()=>["forms/floating-labels/examples/floating-labels04.component.html"],Z=()=>["forms/floating-labels/examples/floating-labels05.component.html"],$=()=>["forms/floating-labels/examples/floating-labels06.component.html"];function ee(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels01"),n())}function te(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels02"),n())}function ne(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels03"),n())}function ie(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels04"),n())}function oe(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels05"),n())}function le(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels06"),n())}var Ne=(()=>{let e=class e{constructor(r,l){this.metaService=r,this.titleService=l,this.title="Angular Floating Labels Component",this.description="Angular floating label component. Create beautifully simple form labels that float over your input fields."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(l){return new(l||e)(T(k),T(N))},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels-docs"]],standalone:!0,features:[s],decls:40,vars:14,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(l,F){l&1&&(t(0,"h1",1),o(1),n(),t(2,"p",2),o(3),n(),a(4,"docs-ads-carbon-loader"),t(5,"markdown"),o(6,"\n ## Example\n Wrap a pair of `cFormControl` and `label`\n elements in `cFormControl` to enable floating labels with textual form\n fields. A `placeholder` is required on each `input`\n as our method of CSS-only floating labels uses the `:placeholder-shown`\n pseudo-element. Also note that the `cFormControl` must come first so\n we can utilize a sibling selector (ex., `~`).\n"),n(),t(7,"docs-example",3),x(8,ee,2,0,"ng-template",null,0,b),n(),t(10,"markdown"),o(11,"\n When there's a `value` already defined, `cLabel` will automatically adjust to their floated position.\n"),n(),t(12,"docs-example",3),x(13,te,2,0,"ng-template",null,0,b),n(),t(15,"markdown"),o(16,"\n ## Textareas\n\n By default, `textarea` will be the same height as `input`.\n"),n(),t(17,"docs-example",3),x(18,ne,2,0,"ng-template",null,0,b),n(),t(20,"markdown"),o(21,` +import{d as L,e as d,i as g,k as f}from"./chunk-ZGGOM75Q.js";import{A as D,B as v,f as h,i as C,m as y,t as E,u as w}from"./chunk-WFHPAILT.js";import{c as R,e as O,f as G}from"./chunk-PZ32EFID.js";import{g as W}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as P}from"./chunk-MH6VOBXJ.js";import{r as A}from"./chunk-Q5WIR6QR.js";import{c as k,d as N}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{s as I}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as o,Cc as M,Jb as x,Oc as s,Pc as u,Qb as p,_c as b,ac as n,bc as a,lb as c,mb as T,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var H=()=>({g:2}),V=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels06"]],standalone:!0,features:[s],decls:19,vars:2,consts:[[3,"gutter"],[3,"md"],["cFormFloating",""],["cFormControl","","id","floatingInputGrid","type","email","value","email@example.com"],["cLabel","","for","floatingInputGrid"],["cSelect","","id","floatingSelectGrid"],["value","1"],["value","2"],["value","3"],["cLabel","","for","floatingSelectGrid"]],template:function(l,F){l&1&&(t(0,"c-row",0)(1,"c-col",1)(2,"div",2),a(3,"input",3),t(4,"label",4),o(5,"Email address"),n()()(),t(6,"c-col",1)(7,"div",2)(8,"select",5)(9,"option"),o(10,"Open this select menu"),n(),t(11,"option",6),o(12,"One"),n(),t(13,"option",7),o(14,"Two"),n(),t(15,"option",8),o(16,"Three"),n()(),t(17,"label",9),o(18,"Works with selects"),n()()()()),l&2&&p("gutter",u(1,H))},dependencies:[O,G,R,f,g,d,L,v,E,w],encapsulation:2});let i=e;return i})();var j=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels05"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cFormFloating",""],["cSelect","","id","floatingSelect"],["value","1"],["value","2"],["value","3"],["cLabel","","for","floatingSelect"]],template:function(l,F){l&1&&(t(0,"div",0)(1,"select",1)(2,"option"),o(3,"Open this select menu"),n(),t(4,"option",2),o(5,"One"),n(),t(6,"option",3),o(7,"Two"),n(),t(8,"option",4),o(9,"Three"),n()(),t(10,"label",5),o(11,"Works with selects"),n()())},dependencies:[f,L,v,E,w,d],encapsulation:2});let i=e;return i})();var J=()=>({"height.px":100}),z=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels04"]],standalone:!0,features:[s],decls:5,vars:2,consts:[["cFormFloating",""],["cFormControl","","id","floatingTextarea2",3,"ngStyle"],["cLabel","","for","floatingTextarea2"]],template:function(l,F){l&1&&(t(0,"div",0)(1,"textarea",1),o(2," "),n(),t(3,"label",2),o(4,"Comments"),n()()),l&2&&(c(),p("ngStyle",u(1,J)))},dependencies:[f,g,I,d],encapsulation:2});let i=e;return i})();var B=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels03"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["cFormFloating",""],["cFormControl","","id","floatingTextarea"],["cLabel","","for","floatingTextarea"]],template:function(l,F){l&1&&(t(0,"div",0),a(1,"textarea",1),t(2,"label",2),o(3,"Comments"),n()())},dependencies:[f,g,d],encapsulation:2});let i=e;return i})();var q=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels02"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["cFormFloating",""],["cFormControl","","id","floatingInputValue","type","email","value","test@example.com"],["cLabel","","for","floatingInputValue"]],template:function(l,F){l&1&&(t(0,"form",0),a(1,"input",1),t(2,"label",2),o(3,"Input with value"),n()())},dependencies:[v,y,h,D,C,f,g,d],encapsulation:2});let i=e;return i})();var U=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels01"]],standalone:!0,features:[s],decls:9,vars:1,consts:[[1,"mb-3",3,"cFormFloating"],["cFormControl","","id","floatingInput","placeholder","name@example.com","type","email"],["cLabel","","for","floatingInput"],["cFormFloating",""],["cFormControl","","id","floatingPassword","placeholder","Password","type","password","autocomplete","off"],["cLabel","","for","floatingPassword"]],template:function(l,F){l&1&&(t(0,"form")(1,"div",0),a(2,"input",1),t(3,"label",2),o(4,"Email address"),n()(),t(5,"div",3),a(6,"input",4),t(7,"label",5),o(8,"Password"),n()()()),l&2&&(c(),p("cFormFloating",!0))},dependencies:[v,y,h,D,C,f,g,d],encapsulation:2});let i=e;return i})();var K=()=>["forms/floating-labels/examples/floating-labels01.component.html"],Q=()=>["forms/floating-labels/examples/floating-labels02.component.html"],X=()=>["forms/floating-labels/examples/floating-labels03.component.html"],Y=()=>["forms/floating-labels/examples/floating-labels04.component.html"],Z=()=>["forms/floating-labels/examples/floating-labels05.component.html"],$=()=>["forms/floating-labels/examples/floating-labels06.component.html"];function ee(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels01"),n())}function te(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels02"),n())}function ne(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels03"),n())}function ie(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels04"),n())}function oe(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels05"),n())}function le(i,e){i&1&&(t(0,"div",5),a(1,"docs-floating-labels06"),n())}var Ne=(()=>{let e=class e{constructor(r,l){this.metaService=r,this.titleService=l,this.title="Angular Floating Labels Component",this.description="Angular floating label component. Create beautifully simple form labels that float over your input fields."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(l){return new(l||e)(T(k),T(N))},e.\u0275cmp=m({type:e,selectors:[["docs-floating-labels-docs"]],standalone:!0,features:[s],decls:40,vars:14,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(l,F){l&1&&(t(0,"h1",1),o(1),n(),t(2,"p",2),o(3),n(),a(4,"docs-ads-carbon-loader"),t(5,"markdown"),o(6,"\n ## Example\n Wrap a pair of `cFormControl` and `label`\n elements in `cFormControl` to enable floating labels with textual form\n fields. A `placeholder` is required on each `input`\n as our method of CSS-only floating labels uses the `:placeholder-shown`\n pseudo-element. Also note that the `cFormControl` must come first so\n we can utilize a sibling selector (ex., `~`).\n"),n(),t(7,"docs-example",3),x(8,ee,2,0,"ng-template",null,0,b),n(),t(10,"markdown"),o(11,"\n When there's a `value` already defined, `cLabel` will automatically adjust to their floated position.\n"),n(),t(12,"docs-example",3),x(13,te,2,0,"ng-template",null,0,b),n(),t(15,"markdown"),o(16,"\n ## Textareas\n\n By default, `textarea` will be the same height as `input`.\n"),n(),t(17,"docs-example",3),x(18,ne,2,0,"ng-template",null,0,b),n(),t(20,"markdown"),o(21,` To set a custom height on your \`textarea\`, do not use the rows attribute. Instead, set an explicit height (either inline or via custom CSS). `),n(),t(22,"docs-example",3),x(23,ie,2,0,"ng-template",null,0,b),n(),t(25,"markdown"),o(26,"\n ## Selects\n\n Other than `input`, floating labels are only available on\n `cSelect`. They work in the same way, but unlike\n `input`, it always shows the `cLabel` in its floated state.\n\n **Selects with `size` and `multiple` are not supported.**\n"),n(),t(27,"docs-example",3),x(28,oe,2,0,"ng-template",null,0,b),n(),t(30,"markdown"),o(31,` diff --git a/angular/docs/chunk-CWGLLGP2.js b/angular/docs/chunk-CWGLLGP2.js deleted file mode 100644 index cbd86b627cc..00000000000 --- a/angular/docs/chunk-CWGLLGP2.js +++ /dev/null @@ -1 +0,0 @@ -import{a}from"./chunk-IOURQETH.js";import"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";export{a as AdsCarbonComponent}; diff --git a/angular/docs/chunk-2IKSDGSZ.js b/angular/docs/chunk-D272JSA3.js similarity index 91% rename from angular/docs/chunk-2IKSDGSZ.js rename to angular/docs/chunk-D272JSA3.js index 5bb1382f917..4dedab6103d 100644 --- a/angular/docs/chunk-2IKSDGSZ.js +++ b/angular/docs/chunk-D272JSA3.js @@ -1 +1 @@ -import{Gb as u,La as m,ia as o,nd as d,pa as h,rb as c}from"./chunk-O6V6MKDU.js";import{e as s,f as a}from"./chunk-MGAX33HK.js";var b=(()=>{var r,i;let t=class t{constructor(){a(this,r,o(m));a(this,i,o(c))}set colorScheme(e){e?this.setTheme(e):this.unsetTheme()}set dark(e){e?this.setTheme("dark"):this.unsetTheme()}setTheme(e){e&&s(this,i).setAttribute(s(this,r).nativeElement,"data-coreui-theme",e)}unsetTheme(){s(this,i).removeAttribute(s(this,r).nativeElement,"data-coreui-theme")}};r=new WeakMap,i=new WeakMap,t.\u0275fac=function(l){return new(l||t)},t.\u0275dir=h({type:t,selectors:[["","cTheme",""]],inputs:{colorScheme:"colorScheme",dark:[2,"dark","dark",d]},standalone:!0,features:[u]});let n=t;return n})();export{b as a}; +import{Gb as u,La as m,ia as o,nd as d,pa as h,rb as c}from"./chunk-6U7QZ4SV.js";import{e as s,f as a}from"./chunk-MGAX33HK.js";var b=(()=>{var r,i;let t=class t{constructor(){a(this,r,o(m));a(this,i,o(c))}set colorScheme(e){e?this.setTheme(e):this.unsetTheme()}set dark(e){e?this.setTheme("dark"):this.unsetTheme()}setTheme(e){e&&s(this,i).setAttribute(s(this,r).nativeElement,"data-coreui-theme",e)}unsetTheme(){s(this,i).removeAttribute(s(this,r).nativeElement,"data-coreui-theme")}};r=new WeakMap,i=new WeakMap,t.\u0275fac=function(l){return new(l||t)},t.\u0275dir=h({type:t,selectors:[["","cTheme",""]],inputs:{colorScheme:"colorScheme",dark:[2,"dark","dark",d]},standalone:!0,features:[u]});let n=t;return n})();export{b as a}; diff --git a/angular/docs/chunk-ATBE6YUJ.js b/angular/docs/chunk-D6CLLZIZ.js similarity index 99% rename from angular/docs/chunk-ATBE6YUJ.js rename to angular/docs/chunk-D6CLLZIZ.js index 33b6ada350d..2e078f0c972 100644 --- a/angular/docs/chunk-ATBE6YUJ.js +++ b/angular/docs/chunk-D6CLLZIZ.js @@ -1,2 +1,2 @@ -import{B as Re,D as be,d as Ee,l as ve}from"./chunk-FIXU3TFH.js";import{$ as W,A as ce,E as le,L as C,Ma as q,Sa as K,V as de,Xa as Y,Y as he,c as G,ca as x,dd as ge,ed as Te,fa as w,fd as we,ha as b,ia as p,l as ae,m as B,q as F,ra as ue,sb as ye,tb as me,ua as fe,va as pe}from"./chunk-O6V6MKDU.js";import{a as J,c as ie,i as $}from"./chunk-MGAX33HK.js";var j=class{},U=class{},v=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +import{B as Re,D as be,d as Ee,l as ve}from"./chunk-XHR4TYVD.js";import{$ as W,A as ce,E as le,L as C,Ma as q,Sa as K,V as de,Xa as Y,Y as he,c as G,ca as x,dd as ge,ed as Te,fa as w,fd as we,ha as b,ia as p,l as ae,m as B,q as F,ra as ue,sb as ye,tb as me,ua as fe,va as pe}from"./chunk-6U7QZ4SV.js";import{a as J,c as ie,i as $}from"./chunk-MGAX33HK.js";var j=class{},U=class{},v=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` `).forEach(t=>{let r=t.indexOf(":");if(r>0){let s=t.slice(0,r),o=s.toLowerCase(),a=t.slice(r+1).trim();this.maybeSetNormalizedName(s,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){let t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){let t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,t);let s=(e.op==="a"?this.headers.get(t):void 0)||[];s.push(...r),this.headers.set(t,s);break;case"d":let o=e.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let a=this.headers.get(t);if(!a)return;a=a.filter(i=>o.indexOf(i)===-1),a.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}break}}setHeaderEntries(e,t){let r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),s=e.toLowerCase();this.headers.set(s,r),this.maybeSetNormalizedName(e,s)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}};var Q=class{encodeKey(e){return Pe(e)}encodeValue(e){return Pe(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ge(n,e){let t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(s=>{let o=s.indexOf("="),[a,i]=o==-1?[e.decodeKey(s),""]:[e.decodeKey(s.slice(0,o)),e.decodeValue(s.slice(o+1))],l=t.get(a)||[];l.push(i),t.set(a,l)}),t}var Ce=/%(\d[a-f0-9])/gi,We={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pe(n){return encodeURIComponent(n).replace(Ce,(e,t)=>We[t]??e)}function z(n){return`${n}`}var N=class n{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Q,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Ge(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{let r=e.fromObject[t],s=Array.isArray(r)?r.map(z):[z(r)];this.map.set(t,s)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){let t=[];return Object.keys(e).forEach(r=>{let s=e[r];Array.isArray(s)?s.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:s,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let t=this.encoder.encodeKey(e);return this.map.get(e).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let t=(e.op==="a"?this.map.get(e.param):void 0)||[];t.push(z(e.value)),this.map.set(e.param,t);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],s=r.indexOf(z(e.value));s!==-1&&r.splice(s,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var H=class{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function qe(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ne(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Ae(n){return typeof Blob<"u"&&n instanceof Blob}function Oe(n){return typeof FormData<"u"&&n instanceof FormData}function Ke(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var L=class n{constructor(e,t,r,s){this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(qe(this.method)||s?(this.body=r!==void 0?r:null,o=s):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new v,this.context??=new H,!this.params)this.params=new N,this.urlWithParams=t;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=t;else{let i=t.indexOf("?"),l=i===-1?"?":im.set(T,e.setHeaders[T]),c)),e.setParams&&(y=Object.keys(e.setParams).reduce((m,T)=>m.set(T,e.setParams[T]),y)),new n(t,r,a,{params:y,headers:c,context:g,reportProgress:l,responseType:s,withCredentials:i,transferCache:o})}},A=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(A||{}),_=class{constructor(e,t=200,r="OK"){this.headers=e.headers||new v,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},V=class n extends _{constructor(e={}){super(e),this.type=A.ResponseHeader}clone(e={}){return new n({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},D=class n extends _{constructor(e={}){super(e),this.type=A.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new n({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},P=class extends _{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},ze=200,Ye=204;function Z(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Ze=(()=>{let e=class e{constructor(r){this.handler=r}request(r,s,o={}){let a;if(r instanceof L)a=r;else{let c;o.headers instanceof v?c=o.headers:c=new v(o.headers);let y;o.params&&(o.params instanceof N?y=o.params:y=new N({fromObject:o.params})),a=new L(r,s,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:y,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let i=B(a).pipe(le(c=>this.handler.handle(c)));if(r instanceof L||o.observe==="events")return i;let l=i.pipe(ce(c=>c instanceof D));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(F(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(F(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(F(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(F(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(r,s={}){return this.request("DELETE",r,s)}get(r,s={}){return this.request("GET",r,s)}head(r,s={}){return this.request("HEAD",r,s)}jsonp(r,s){return this.request("JSONP",r,{params:new N().append(s,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,s={}){return this.request("OPTIONS",r,s)}patch(r,s,o={}){return this.request("PATCH",r,Z(o,s))}post(r,s,o={}){return this.request("POST",r,Z(o,s))}put(r,s,o={}){return this.request("PUT",r,Z(o,s))}};e.\u0275fac=function(s){return new(s||e)(b(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let n=e;return n})(),Qe=/^\)\]\}',?\n/,He="X-Request-URL";function Ie(n){if(n.url)return n.url;let e=He.toLocaleLowerCase();return n.headers.get(e)}var ee=(()=>{let e=class e{constructor(){this.fetchImpl=p(ne,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=p(me)}handle(r){return new G(s=>{let o=new AbortController;return this.doRequest(r,o.signal,s).then(re,a=>s.error(new P({error:a}))),()=>o.abort()})}doRequest(r,s,o){return $(this,null,function*(){let a=this.createRequestInit(r),i;try{let u=this.fetchImpl(r.urlWithParams,J({signal:s},a));en(u),o.next({type:A.Sent}),i=yield u}catch(u){o.error(new P({error:u,status:u.status??0,statusText:u.statusText,url:r.urlWithParams,headers:u.headers}));return}let l=new v(i.headers),c=i.statusText,y=Ie(i)??r.urlWithParams,g=i.status,m=null;if(r.reportProgress&&o.next(new V({headers:l,status:g,statusText:c,url:y})),i.body){let u=i.headers.get("content-length"),O=[],d=i.body.getReader(),h=0,E,R,f=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>$(this,null,function*(){for(;;){let{done:M,value:k}=yield d.read();if(M)break;if(O.push(k),h+=k.length,r.reportProgress){R=r.responseType==="text"?(R??"")+(E??=new TextDecoder).decode(k,{stream:!0}):void 0;let oe=()=>o.next({type:A.DownloadProgress,total:u?+u:void 0,loaded:h,partialText:R});f?f.run(oe):oe()}}}));let I=this.concatChunks(O,h);try{let M=i.headers.get("Content-Type")??"";m=this.parseBody(r,I,M)}catch(M){o.error(new P({error:M,headers:new v(i.headers),status:i.status,statusText:i.statusText,url:Ie(i)??r.urlWithParams}));return}}g===0&&(g=m?ze:0),g>=200&&g<300?(o.next(new D({body:m,headers:l,status:g,statusText:c,url:y})),o.complete()):o.error(new P({error:m,headers:l,status:g,statusText:c,url:y}))})}parseBody(r,s,o){switch(r.responseType){case"json":let a=new TextDecoder().decode(s).replace(Qe,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(s);case"blob":return new Blob([s],{type:o});case"arraybuffer":return s.buffer}}createRequestInit(r){let s={},o=r.withCredentials?"include":void 0;if(r.headers.forEach((a,i)=>s[a]=i.join(",")),s.Accept??="application/json, text/plain, */*",!s["Content-Type"]){let a=r.detectContentTypeHeader();a!==null&&(s["Content-Type"]=a)}return{body:r.serializeBody(),method:r.method,headers:s,credentials:o}}concatChunks(r,s){let o=new Uint8Array(s),a=0;for(let i of r)o.set(i,a),a+=i.length;return o}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let n=e;return n})(),ne=class{};function re(){}function en(n){n.then(re,re)}function Se(n,e){return e(n)}function nn(n,e){return(t,r)=>e.intercept(t,{handle:s=>n(s,r)})}function rn(n,e,t){return(r,s)=>pe(t,()=>e(r,o=>n(o,s)))}var tn=new w(""),te=new w(""),Ve=new w(""),Xe=new w("",{providedIn:"root",factory:()=>!0});function sn(){let n=null;return(e,t)=>{n===null&&(n=(p(tn,{optional:!0})??[]).reduceRight(nn,Se));let r=p(q);if(p(Xe)){let o=r.add();return n(e,t).pipe(C(()=>r.remove(o)))}else return n(e,t)}}var Me=(()=>{let e=class e extends j{constructor(r,s){super(),this.backend=r,this.injector=s,this.chain=null,this.pendingTasks=p(q),this.contributeToStability=p(Xe)}handle(r){if(this.chain===null){let s=Array.from(new Set([...this.injector.get(te),...this.injector.get(Ve,[])]));this.chain=s.reduceRight((o,a)=>rn(o,a,this.injector),Se)}if(this.contributeToStability){let s=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(C(()=>this.pendingTasks.remove(s)))}else return this.chain(r,s=>this.backend.handle(s))}};e.\u0275fac=function(s){return new(s||e)(b(U),b(fe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let n=e;return n})();var on=/^\)\]\}',?\n/;function an(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var De=(()=>{let e=class e{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new W(-2800,!1);let s=this.xhrFactory;return(s.\u0275loadImpl?ae(s.\u0275loadImpl()):B(null)).pipe(de(()=>new G(a=>{let i=s.build();if(i.open(r.method,r.urlWithParams),r.withCredentials&&(i.withCredentials=!0),r.headers.forEach((d,h)=>i.setRequestHeader(d,h.join(","))),r.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let d=r.detectContentTypeHeader();d!==null&&i.setRequestHeader("Content-Type",d)}if(r.responseType){let d=r.responseType.toLowerCase();i.responseType=d!=="json"?d:"text"}let l=r.serializeBody(),c=null,y=()=>{if(c!==null)return c;let d=i.statusText||"OK",h=new v(i.getAllResponseHeaders()),E=an(i)||r.url;return c=new V({headers:h,status:i.status,statusText:d,url:E}),c},g=()=>{let{headers:d,status:h,statusText:E,url:R}=y(),f=null;h!==Ye&&(f=typeof i.response>"u"?i.responseText:i.response),h===0&&(h=f?ze:0);let I=h>=200&&h<300;if(r.responseType==="json"&&typeof f=="string"){let M=f;f=f.replace(on,"");try{f=f!==""?JSON.parse(f):null}catch(k){f=M,I&&(I=!1,f={error:k,text:f})}}I?(a.next(new D({body:f,headers:d,status:h,statusText:E,url:R||void 0})),a.complete()):a.error(new P({error:f,headers:d,status:h,statusText:E,url:R||void 0}))},m=d=>{let{url:h}=y(),E=new P({error:d,status:i.status||0,statusText:i.statusText||"Unknown Error",url:h||void 0});a.error(E)},T=!1,u=d=>{T||(a.next(y()),T=!0);let h={type:A.DownloadProgress,loaded:d.loaded};d.lengthComputable&&(h.total=d.total),r.responseType==="text"&&i.responseText&&(h.partialText=i.responseText),a.next(h)},O=d=>{let h={type:A.UploadProgress,loaded:d.loaded};d.lengthComputable&&(h.total=d.total),a.next(h)};return i.addEventListener("load",g),i.addEventListener("error",m),i.addEventListener("timeout",m),i.addEventListener("abort",m),r.reportProgress&&(i.addEventListener("progress",u),l!==null&&i.upload&&i.upload.addEventListener("progress",O)),i.send(l),a.next({type:A.Sent}),()=>{i.removeEventListener("error",m),i.removeEventListener("abort",m),i.removeEventListener("load",g),i.removeEventListener("timeout",m),r.reportProgress&&(i.removeEventListener("progress",u),l!==null&&i.upload&&i.upload.removeEventListener("progress",O)),i.readyState!==i.DONE&&i.abort()}})))}};e.\u0275fac=function(s){return new(s||e)(b(be))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let n=e;return n})(),Je=new w(""),cn="XSRF-TOKEN",ln=new w("",{providedIn:"root",factory:()=>cn}),dn="X-XSRF-TOKEN",hn=new w("",{providedIn:"root",factory:()=>dn}),X=class{},un=(()=>{let e=class e{constructor(r,s,o){this.doc=r,this.platform=s,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=ve(r,this.cookieName),this.lastCookieString=r),this.lastToken}};e.\u0275fac=function(s){return new(s||e)(b(Ee),b(K),b(ln))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let n=e;return n})();function fn(n,e){let t=n.url.toLowerCase();if(!p(Je)||n.method==="GET"||n.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return e(n);let r=p(X).getToken(),s=p(hn);return r!=null&&!n.headers.has(s)&&(n=n.clone({headers:n.headers.set(s,r)})),e(n)}var se=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(se||{});function $e(n,e){return{\u0275kind:n,\u0275providers:e}}function _n(...n){let e=[Ze,De,Me,{provide:j,useExisting:Me},{provide:U,useFactory:()=>p(ee,{optional:!0})??p(De)},{provide:te,useValue:fn,multi:!0},{provide:Je,useValue:!0},{provide:X,useClass:un}];for(let t of n)e.push(...t.\u0275providers);return ue(e)}var xe=new w("");function Bn(){return $e(se.LegacyInterceptors,[{provide:xe,useFactory:sn},{provide:te,useExisting:xe,multi:!0}])}function zn(){return $e(se.Fetch,[ee,{provide:U,useExisting:ee}])}var pn=new w(""),ke="b",Fe="h",Le="s",je="st",Ue="u",_e="rt",S=new w(""),yn=["GET","HEAD"];function mn(n,e){let T=p(S),{isCacheActive:t}=T,r=ie(T,["isCacheActive"]),{transferCache:s,method:o}=n;if(!t||s===!1||o==="POST"&&!r.includePostRequests&&!s||o!=="POST"&&!yn.includes(o)||!r.includeRequestsWithAuthHeaders&&gn(n)||r.filter?.(n)===!1)return e(n);let a=p(Y),i=p(pn,{optional:!0}),l=Re(p(K));if(i&&!l)throw new W(2803,!1);let c=l&&i?vn(n.url,i):n.url,y=wn(n,c),g=a.get(y,null),m=r.includeHeaders;if(typeof s=="object"&&s.includeHeaders&&(m=s.includeHeaders),g){let{[ke]:u,[_e]:O,[Fe]:d,[Le]:h,[je]:E,[Ue]:R}=g,f=u;switch(O){case"arraybuffer":f=new TextEncoder().encode(u).buffer;break;case"blob":f=new Blob([u]);break}let I=new v(d);return B(new D({body:f,headers:I,status:h,statusText:E,url:R}))}return e(n).pipe(he(u=>{u instanceof D&&l&&a.set(y,{[ke]:u.body,[Fe]:Tn(u.headers,m),[Le]:u.status,[je]:u.statusText,[Ue]:c,[_e]:n.responseType})}))}function gn(n){return n.headers.has("authorization")||n.headers.has("proxy-authorization")}function Tn(n,e){if(!e)return{};let t={};for(let r of e){let s=n.getAll(r);s!==null&&(t[r]=s)}return t}function Be(n){return[...n.keys()].sort().map(e=>`${e}=${n.getAll(e)}`).join("&")}function wn(n,e){let{params:t,method:r,responseType:s}=n,o=Be(t),a=n.serializeBody();a instanceof URLSearchParams?a=Be(a):typeof a!="string"&&(a="");let i=[r,s,e,a,o].join("|"),l=En(i);return l}function En(n){let e=0;for(let t of n)e=Math.imul(31,e)+t.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Sn(n){return[{provide:S,useFactory:()=>(ye("NgHttpTransferCache"),J({isCacheActive:!0},n))},{provide:Ve,useValue:mn,multi:!0,deps:[Y,S]},{provide:ge,multi:!0,useFactory:()=>{let e=p(Te),t=p(S);return()=>{we(e).then(()=>{t.isCacheActive=!1})}}}]}function vn(n,e){let t=new URL(n,"resolve://").origin,r=e[t];return r?n.replace(t,r):n}export{N as a,Ze as b,_n as c,Bn as d,zn as e,Sn as f}; diff --git a/angular/docs/chunk-T5CNCUEW.js b/angular/docs/chunk-DADCTN7Z.js similarity index 80% rename from angular/docs/chunk-T5CNCUEW.js rename to angular/docs/chunk-DADCTN7Z.js index 5b0b98964c5..051aed71430 100644 --- a/angular/docs/chunk-T5CNCUEW.js +++ b/angular/docs/chunk-DADCTN7Z.js @@ -1 +1 @@ -import{La as n}from"./chunk-O6V6MKDU.js";function c(r){return r!=null&&`${r}`!="false"}function i(r,t=0){return o(r)?Number(r):t}function o(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function s(r){return Array.isArray(r)?r:[r]}function u(r){return r instanceof n?r.nativeElement:r}export{c as a,i as b,s as c,u as d}; +import{La as n}from"./chunk-6U7QZ4SV.js";function c(r){return r!=null&&`${r}`!="false"}function i(r,t=0){return o(r)?Number(r):t}function o(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function s(r){return Array.isArray(r)?r:[r]}function u(r){return r instanceof n?r.nativeElement:r}export{c as a,i as b,s as c,u as d}; diff --git a/angular/docs/chunk-6TCBKNND.js b/angular/docs/chunk-DEQY3XY7.js similarity index 97% rename from angular/docs/chunk-6TCBKNND.js rename to angular/docs/chunk-DEQY3XY7.js index 663c15409c7..e53a9909408 100644 --- a/angular/docs/chunk-6TCBKNND.js +++ b/angular/docs/chunk-DEQY3XY7.js @@ -1,4 +1,4 @@ -import{i as v}from"./chunk-SPMMWGWV.js";import{a as d,c as p,e as u}from"./chunk-EBCID5MY.js";import{g as E}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as _}from"./chunk-SWYVARVN.js";import{r as M}from"./chunk-JJFVMVK7.js";import{c as y,d as S}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as n,Cc as w,Dc as b,Oc as m,Pc as x,Qb as a,ac as t,bc as g,lb as l,mb as C,na as s}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var O=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid14"]],standalone:!0,features:[m],decls:10,vars:4,consts:[[1,"text-center"],[3,"sm"],[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container",0)(1,"c-row")(2,"c-col",1),n(3," Level 1: .col-sm-3 "),t(),e(4,"c-col",1)(5,"c-row")(6,"c-col",2),n(7," Level 2: .col-8 "),t(),e(8,"c-col",2),n(9," Level 2: .col-4 "),t()()()()()),i&2&&(l(2),a("sm",3),l(2),a("sm",9),l(2),a("xs",8),l(2),a("xs",4))},dependencies:[d,u,p],encapsulation:2});let r=o;return r})();var P=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid13"]],standalone:!0,features:[m],decls:10,vars:3,consts:[[3,"xs","sm","md"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",1)("sm",2)("md",4))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var k=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid12"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"],["xs","6"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col",1),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",4))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var F=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid11"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",4))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var T=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid10"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["xs","auto"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var D=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid09"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",3))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var G=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid08"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",2))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var z=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid07"]],standalone:!0,features:[m],decls:18,vars:0,consts:[["md","8"],["xs","6","md","4"],["xs","6"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),n(3,".col-md-8"),t(),e(4,"c-col",1),n(5,".col-6 .col-md-4"),t()(),e(6,"c-row")(7,"c-col",1),n(8,".col-6 .col-md-4"),t(),e(9,"c-col",1),n(10,".col-6 .col-md-4"),t(),e(11,"c-col",1),n(12,".col-6 .col-md-4"),t()(),e(13,"c-row")(14,"c-col",2),n(15,".col-6"),t(),e(16,"c-col",2),n(17,".col-6"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var R=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid06"]],standalone:!0,features:[m],decls:13,vars:0,consts:[["sm","8"],["sm","4"],["sm",""]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),n(3,".col-sm-8"),t(),e(4,"c-col",1),n(5,".col-sm-4"),t()(),e(6,"c-row")(7,"c-col",2),n(8,".col-sm"),t(),e(9,"c-col",2),n(10,".col-sm"),t(),e(11,"c-col",2),n(12,".col-sm"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var I=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid05"]],standalone:!0,features:[m],decls:15,vars:0,consts:[["xs","8"],["xs","4"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,".col"),t(),e(4,"c-col"),n(5,".col"),t(),e(6,"c-col"),n(7,".col"),t(),e(8,"c-col"),n(9,".col"),t()(),e(10,"c-row")(11,"c-col",0),n(12,".col-8"),t(),e(13,"c-col",1),n(14,".col-4"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var U=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid04"]],standalone:!0,features:[m],decls:15,vars:2,consts:[[1,"justify-content-md-center"],["xs","","lg","2"],["md","auto"],["xs","",3,"lg"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col",1),n(3,"1 of 3"),t(),e(4,"c-col",2),n(5,"Variable width content"),t(),e(6,"c-col",3),n(7,"3 of 3"),t()(),e(8,"c-row")(9,"c-col"),n(10,"1 of 3"),t(),e(11,"c-col",2),n(12,"Variable width content"),t(),e(13,"c-col",3),n(14,"3 of 3"),t()()()),i&2&&(l(6),a("lg",2),l(7),a("lg",2))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var L=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid03"]],standalone:!0,features:[m],decls:15,vars:0,consts:[["xs","6"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,"1 of 3"),t(),e(4,"c-col",0),n(5,"2 of 3 (wider)"),t(),e(6,"c-col"),n(7,"3 of 3"),t()(),e(8,"c-row")(9,"c-col"),n(10,"1 of 3"),t(),e(11,"c-col",0),n(12,"2 of 3 (wider)"),t(),e(13,"c-col"),n(14,"3 of 3"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var A=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid02"]],standalone:!0,features:[m],decls:13,vars:0,template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,"1 of 2"),t(),e(4,"c-col"),n(5,"2 of 2"),t()(),e(6,"c-row")(7,"c-col"),n(8,"1 of 3"),t(),e(9,"c-col"),n(10,"2 of 3"),t(),e(11,"c-col"),n(12,"3 of 3"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var B=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid01"]],standalone:!0,features:[m],decls:8,vars:0,template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,"One of three columns"),t(),e(4,"c-col"),n(5,"One of three columns"),t(),e(6,"c-col"),n(7,"One of three columns"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var q=`\`\`\`typescript +import{i as v}from"./chunk-FULSUUPP.js";import{a as d,c as p,e as u}from"./chunk-PZ32EFID.js";import{g as E}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as _}from"./chunk-MH6VOBXJ.js";import{r as M}from"./chunk-Q5WIR6QR.js";import{c as y,d as S}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as n,Cc as w,Dc as b,Oc as m,Pc as x,Qb as a,ac as t,bc as g,lb as l,mb as C,na as s}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var O=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid14"]],standalone:!0,features:[m],decls:10,vars:4,consts:[[1,"text-center"],[3,"sm"],[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container",0)(1,"c-row")(2,"c-col",1),n(3," Level 1: .col-sm-3 "),t(),e(4,"c-col",1)(5,"c-row")(6,"c-col",2),n(7," Level 2: .col-8 "),t(),e(8,"c-col",2),n(9," Level 2: .col-4 "),t()()()()()),i&2&&(l(2),a("sm",3),l(2),a("sm",9),l(2),a("xs",8),l(2),a("xs",4))},dependencies:[d,u,p],encapsulation:2});let r=o;return r})();var P=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid13"]],standalone:!0,features:[m],decls:10,vars:3,consts:[[3,"xs","sm","md"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",1)("sm",2)("md",4))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var k=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid12"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"],["xs","6"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col",1),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",4))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var F=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid11"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",4))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var T=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid10"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["xs","auto"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var D=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid09"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",3))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var G=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid08"]],standalone:!0,features:[m],decls:10,vars:1,consts:[[3,"xs"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),n(3,"column"),t(),e(4,"c-col"),n(5,"column"),t(),e(6,"c-col"),n(7,"column"),t(),e(8,"c-col"),n(9,"column"),t()()()),i&2&&(l(),a("xs",2))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var z=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid07"]],standalone:!0,features:[m],decls:18,vars:0,consts:[["md","8"],["xs","6","md","4"],["xs","6"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),n(3,".col-md-8"),t(),e(4,"c-col",1),n(5,".col-6 .col-md-4"),t()(),e(6,"c-row")(7,"c-col",1),n(8,".col-6 .col-md-4"),t(),e(9,"c-col",1),n(10,".col-6 .col-md-4"),t(),e(11,"c-col",1),n(12,".col-6 .col-md-4"),t()(),e(13,"c-row")(14,"c-col",2),n(15,".col-6"),t(),e(16,"c-col",2),n(17,".col-6"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var R=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid06"]],standalone:!0,features:[m],decls:13,vars:0,consts:[["sm","8"],["sm","4"],["sm",""]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),n(3,".col-sm-8"),t(),e(4,"c-col",1),n(5,".col-sm-4"),t()(),e(6,"c-row")(7,"c-col",2),n(8,".col-sm"),t(),e(9,"c-col",2),n(10,".col-sm"),t(),e(11,"c-col",2),n(12,".col-sm"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var I=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid05"]],standalone:!0,features:[m],decls:15,vars:0,consts:[["xs","8"],["xs","4"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,".col"),t(),e(4,"c-col"),n(5,".col"),t(),e(6,"c-col"),n(7,".col"),t(),e(8,"c-col"),n(9,".col"),t()(),e(10,"c-row")(11,"c-col",0),n(12,".col-8"),t(),e(13,"c-col",1),n(14,".col-4"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var U=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid04"]],standalone:!0,features:[m],decls:15,vars:2,consts:[[1,"justify-content-md-center"],["xs","","lg","2"],["md","auto"],["xs","",3,"lg"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col",1),n(3,"1 of 3"),t(),e(4,"c-col",2),n(5,"Variable width content"),t(),e(6,"c-col",3),n(7,"3 of 3"),t()(),e(8,"c-row")(9,"c-col"),n(10,"1 of 3"),t(),e(11,"c-col",2),n(12,"Variable width content"),t(),e(13,"c-col",3),n(14,"3 of 3"),t()()()),i&2&&(l(6),a("lg",2),l(7),a("lg",2))},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var L=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid03"]],standalone:!0,features:[m],decls:15,vars:0,consts:[["xs","6"]],template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,"1 of 3"),t(),e(4,"c-col",0),n(5,"2 of 3 (wider)"),t(),e(6,"c-col"),n(7,"3 of 3"),t()(),e(8,"c-row")(9,"c-col"),n(10,"1 of 3"),t(),e(11,"c-col",0),n(12,"2 of 3 (wider)"),t(),e(13,"c-col"),n(14,"3 of 3"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var A=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid02"]],standalone:!0,features:[m],decls:13,vars:0,template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,"1 of 2"),t(),e(4,"c-col"),n(5,"2 of 2"),t()(),e(6,"c-row")(7,"c-col"),n(8,"1 of 3"),t(),e(9,"c-col"),n(10,"2 of 3"),t(),e(11,"c-col"),n(12,"3 of 3"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var B=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-grid01"]],standalone:!0,features:[m],decls:8,vars:0,template:function(i,f){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),n(3,"One of three columns"),t(),e(4,"c-col"),n(5,"One of three columns"),t(),e(6,"c-col"),n(7,"One of three columns"),t()()())},dependencies:[d,u,p],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=o;return r})();var q=`\`\`\`typescript import { GridModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-KASAEZY4.js b/angular/docs/chunk-DSAGLKP4.js similarity index 98% rename from angular/docs/chunk-KASAEZY4.js rename to angular/docs/chunk-DSAGLKP4.js index 28529b0584f..77cf58e6a62 100644 --- a/angular/docs/chunk-KASAEZY4.js +++ b/angular/docs/chunk-DSAGLKP4.js @@ -1 +1 @@ -import{a as st}from"./chunk-QUYVWFHK.js";import{a as B}from"./chunk-2IKSDGSZ.js";import{a as S,i as nt}from"./chunk-QNSTT6ST.js";import{d as rt}from"./chunk-FIXU3TFH.js";import{A as U,Fb as x,Gb as T,Ia as H,La as b,Na as G,Nc as V,Oc as it,Pb as D,Tb as R,Ub as a,Y as j,ba as N,ca as $,da as q,g as L,ia as m,id as ot,mb as c,mc as v,na as Z,nd as O,oa as W,pa as h,pc as tt,qc as et,rb as J,tb as X,tc as y,vc as I,wc as _,xa as z,zb as Y}from"./chunk-O6V6MKDU.js";import{a as k,b as Q,e as p,f as g,g as f}from"./chunk-MGAX33HK.js";var lt=(()=>{let i=class i{get hostClasses(){return{"dropdown-divider":!0}}};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=h({type:i,selectors:[["","cDropdownDivider",""]],hostVars:2,hostBindings:function(e,s){e&2&&a(s.hostClasses)},standalone:!0});let o=i;return o})();var at=(()=>{let i=class i{get hostClasses(){return{"dropdown-header":!0}}};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=h({type:i,selectors:[["","cDropdownHeader",""]],hostVars:2,hostBindings:function(e,s){e&2&&a(s.hostClasses)},standalone:!0});let o=i;return o})();var u=(()=>{let i=class i{constructor(){this.dropdownState=new L({}),this.dropdownState$=this.dropdownState.asObservable()}toggle(t){this.dropdownState.next(t)}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=$({token:i,factory:i.\u0275fac});let o=i;return o})();var ct=["*"],F=class{},dt=(()=>{var i,d,t;let e=class e{constructor(){g(this,i);g(this,d);g(this,t);f(this,i,m(H)),this.elementRef=m(b),f(this,d,m(u)),this.dropdown=m(F,{optional:!0}),this.disabled=!1,this.caret=!0,this.split=!1,f(this,t,Y(!1))}get hostClasses(){return{"dropdown-toggle":this.caret,"dropdown-toggle-split":this.split,disabled:this.disabled}}get ariaExpanded(){return p(this,t).call(this)}onClick(r){r.preventDefault(),!this.disabled&&p(this,d).toggle({visible:"toggle",dropdown:this.dropdown})}ngAfterViewInit(){this.dropdownComponent&&(this.dropdown=this.dropdownComponent,f(this,d,this.dropdownComponent?.dropdownService)),this.dropdown&&this.dropdown?.visibleChange?.pipe(S(p(this,i))).subscribe(n=>{p(this,t).set(n)})}};i=new WeakMap,d=new WeakMap,t=new WeakMap,e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=h({type:e,selectors:[["","cDropdownToggle",""]],hostVars:3,hostBindings:function(n,l){n&1&&v("click",function(w){return l.onClick(w)}),n&2&&(D("aria-expanded",l.ariaExpanded),a(l.hostClasses))},inputs:{dropdownComponent:"dropdownComponent",disabled:[2,"disabled","disabled",O],caret:"caret",split:[2,"split","split",O]},exportAs:["cDropdownToggle"],standalone:!0,features:[V([{provide:F,useExisting:N(()=>M)}]),T]});let o=e;return o})(),M=(()=>{let i=class i{constructor(t,e,s,r,n,l){this.document=t,this.elementRef=e,this.renderer=s,this.ngZone=r,this.changeDetectorRef=n,this.dropdownService=l,this.autoClose=!0,this.placement="bottom-start",this.popper=!0,this._popperOptions={placement:this.placement,modifiers:[],strategy:"absolute"},this.variant="dropdown",this._visible=!1,this.visibleChange=new G,this.dropdownContext={$implicit:this.visible},this.activeTrap=!1,this.listeners=[],this.dropdownStateSubscribe()}set popperOptions(t){this._popperOptions=k(k({},this._popperOptions),t)}get popperOptions(){let t=this.placement;switch(this.direction){case"dropup":{t="top-start";break}case"dropend":{t="right-start";break}case"dropstart":{t="left-start";break}case"center":{t="bottom";break}case"dropup-center":{t="top";break}}return this.alignment==="end"&&(t="bottom-end"),this._popperOptions=Q(k({},this._popperOptions),{placement:t}),this._popperOptions}set visible(t){let e=t;e!==this._visible&&(this.activeTrap=e,this._visible=e,e?this.createPopperInstance():this.destroyPopperInstance(),this.visibleChange.emit(e))}get visible(){return this._visible}get hostClasses(){return{dropdown:(this.variant==="dropdown"||this.variant==="nav-item")&&!this.direction,[`${this.direction}`]:!!this.direction,[`${this.variant}`]:!!this.variant,dropup:this.direction==="dropup"||this.direction==="dropup-center",show:this.visible}}get hostStyle(){return this.variant==="input-group"?{display:"contents"}:{}}onHostClick(t){this.clickedTarget=t.target}dropdownStateSubscribe(t=!0){t?this.dropdownStateSubscription=this.dropdownService.dropdownState$.pipe(U(e=>this===e.dropdown)).subscribe(e=>{"visible"in e&&(e?.visible==="toggle"?this.toggleDropdown():this.visible=e.visible)}):this.dropdownStateSubscription?.unsubscribe()}toggleDropdown(){this.visible=!this.visible}onClick(t){this._toggler?.elementRef.nativeElement.contains(t.target?.closest("[cDropdownToggle]"))||this.toggleDropdown()}ngAfterContentInit(){this.variant==="nav-item"&&this.renderer.addClass(this._toggler.elementRef.nativeElement,"nav-link")}ngOnInit(){this.setVisibleState(this.visible)}ngOnChanges(t){t.visible&&!t.visible.firstChange&&this.setVisibleState(t.visible.currentValue)}ngOnDestroy(){this.clearListeners(),this.dropdownStateSubscribe(!1),this.destroyPopperInstance()}setVisibleState(t){this.dropdownService.toggle({visible:t,dropdown:this})}createPopperInstance(){this._toggler&&this._menu&&this.ngZone.runOutsideAngular(()=>{this._menu.elementRef.nativeElement.style.visibility="hidden",this._menu.elementRef.nativeElement.style.display="block",this.popper&&(this.popperInstance=st(this._toggler.elementRef.nativeElement,this._menu.elementRef.nativeElement,k({},this.popperOptions))),this.ngZone.run(()=>{this.setListeners(),this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges()})})}destroyPopperInstance(){this.clearListeners(),this.popperInstance?.destroy(),this.popperInstance=void 0,this.changeDetectorRef.markForCheck()}setListeners(){this.listeners.push(this.renderer.listen(this.document,"click",t=>{let e=t.target;if(this._menuElementRef?.nativeElement.contains(t.target)&&(this.clickedTarget=e),!this._toggler?.elementRef.nativeElement.contains(t.target)){if(this.autoClose===!0){this.setVisibleState(!1);return}if(this.clickedTarget===e&&this.autoClose==="inside"){this.setVisibleState(!1);return}if(this.clickedTarget!==e&&this.autoClose==="outside"){this.setVisibleState(!1);return}}})),this.listeners.push(this.renderer.listen(this.elementRef.nativeElement,"keyup",t=>{if(t.key==="Escape"&&this.autoClose!==!1){t.stopPropagation(),this.setVisibleState(!1);return}})),this.listeners.push(this.renderer.listen(this.document,"keyup",t=>{if(t.key==="Tab"&&this.autoClose!==!1&&!this.elementRef.nativeElement.contains(t.target)){this.setVisibleState(!1);return}}))}clearListeners(){this.listeners.forEach(t=>{t()}),this.listeners.fill(void 0),this.listeners=[]}};i.\u0275fac=function(e){return new(e||i)(c(rt),c(b),c(J),c(X),c(ot),c(u))},i.\u0275cmp=Z({type:i,selectors:[["c-dropdown"]],contentQueries:function(e,s,r){if(e&1&&(y(r,dt,5),y(r,E,5),y(r,E,5,b)),e&2){let n;I(n=_())&&(s._toggler=n.first),I(n=_())&&(s._menu=n.first),I(n=_())&&(s._menuElementRef=n.first)}},hostVars:4,hostBindings:function(e,s){e&1&&v("click",function(n){return s.onHostClick(n)}),e&2&&(R(s.hostStyle),a(s.hostClasses))},inputs:{alignment:"alignment",autoClose:"autoClose",direction:"direction",placement:"placement",popper:[2,"popper","popper",O],popperOptions:"popperOptions",variant:"variant",visible:[2,"visible","visible",O]},outputs:{visibleChange:"visibleChange"},exportAs:["cDropdown"],standalone:!0,features:[V([u]),T,x([{directive:B,inputs:["dark","dark"]}]),z,it],ngContentSelectors:ct,decls:1,vars:0,template:function(e,s){e&1&&(tt(),et(0))},styles:[".dropdown[_nghost-%COMP%]:not(.btn-group), .dropdown [_nghost-%COMP%]:not(.btn-group), .dropup[_nghost-%COMP%]:not(.btn-group), .dropup [_nghost-%COMP%]:not(.btn-group){display:block}.dropstart[_nghost-%COMP%]:not(.btn-group), .dropstart [_nghost-%COMP%]:not(.btn-group), .dropend[_nghost-%COMP%]:not(.btn-group), .dropend [_nghost-%COMP%]:not(.btn-group){display:inline-flex}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :first-child, html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :first-child, .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :first-child{border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :first-child, html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :first-child, .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :first-child{border-top-left-radius:0;border-bottom-left-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :first-child:not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]{direction:rtl}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :first-child{border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :first-child{border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}"]});let o=i;return o})();var K=(()=>{var i;let d=class d{constructor(e,s){g(this,i);this.dropdownService=e,this.dropdown=s,this.autoClose=!0,f(this,i,m(b)),this._tabIndex=null}focus(e){p(this,i)?.nativeElement?.focus()}getLabel(){return p(this,i)?.nativeElement?.textContent.trim()}get ariaCurrent(){return this.active?"true":null}get hostClasses(){return{"dropdown-item":!0,active:this.active,disabled:this.disabled}}set tabIndex(e){this._tabIndex=e}get tabIndex(){return this.disabled?"-1":this._tabIndex}get isDisabled(){return this.disabled||null}onClick(e){this.autoClose&&this.dropdownService.toggle({visible:"toggle",dropdown:this.dropdown})}onKeyUp(e){e.key==="Enter"&&this.autoClose&&this.dropdownService.toggle({visible:!1,dropdown:this.dropdown})}};i=new WeakMap,d.\u0275fac=function(s){return new(s||d)(c(u),c(M,8))},d.\u0275dir=h({type:d,selectors:[["","cDropdownItem",""]],hostVars:5,hostBindings:function(s,r){s&1&&v("click",function(l){return r.onClick(l)})("keyup",function(l){return r.onKeyUp(l)}),s&2&&(D("aria-current",r.ariaCurrent)("tabindex",r.tabIndex)("aria-disabled",r.isDisabled),a(r.hostClasses))},inputs:{active:"active",autoClose:"autoClose",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cDropdownItem"],standalone:!0});let o=d;return o})();var E=(()=>{var i,d,t;let e=class e{constructor(){g(this,i);g(this,d);g(this,t);f(this,i,m(H)),this.elementRef=m(b),f(this,d,m(u)),this.visible=!1}get hostClasses(){return{"dropdown-menu":!0,[`dropdown-menu-${this.alignment}`]:!!this.alignment,show:this.visible}}get hostStyles(){return{visibility:this.visible?null:"",display:this.visible?null:""}}onKeyDown(r){this.visible&&(["Space","ArrowDown"].includes(r.code)&&r.preventDefault(),p(this,t).onKeydown(r))}onKeyUp(r){this.visible&&["Tab"].includes(r.key)&&(p(this,t).activeItem?r.shiftKey?p(this,t).setPreviousItemActive():p(this,t).setNextItemActive():p(this,t).setFirstItemActive())}ngAfterContentInit(){this.focusKeyManagerInit(),this.dropdownItemsContent.changes.pipe(j(r=>{this.focusKeyManagerInit()}),S(p(this,i))).subscribe()}ngOnInit(){p(this,d).dropdownState$.pipe(j(r=>{"visible"in r&&(this.visible=r.visible==="toggle"?!this.visible:r.visible,this.visible||p(this,t)?.setActiveItem(-1))}),S(p(this,i))).subscribe()}focusKeyManagerInit(){f(this,t,new nt(this.dropdownItemsContent).withHomeAndEnd().withPageUpDown().withWrap().skipPredicate(r=>r.disabled===!0))}};i=new WeakMap,d=new WeakMap,t=new WeakMap,e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=h({type:e,selectors:[["","cDropdownMenu",""]],contentQueries:function(n,l,P){if(n&1&&y(P,K,5),n&2){let w;I(w=_())&&(l.dropdownItemsContent=w)}},hostVars:4,hostBindings:function(n,l){n&1&&v("keydown",function(w){return l.onKeyDown(w)})("keyup",function(w){return l.onKeyUp(w)}),n&2&&(R(l.hostStyles),a(l.hostClasses))},inputs:{alignment:"alignment",visible:"visible"},exportAs:["cDropdownMenu"],standalone:!0,features:[x([{directive:B,inputs:["dark","dark"]}])]});let o=e;return o})();var ut=(()=>{let i=class i{get hostClasses(){return{"dropdown-item-text":!0}}};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=h({type:i,selectors:[["","cDropdownItemPlain",""]],hostVars:2,hostBindings:function(e,s){e&2&&a(s.hostClasses)},standalone:!0});let o=i;return o})();var ft=(()=>{let i=class i{constructor(t,e){this.dropdownService=t,this.dropdown=e,this._tabIndex=null}ngAfterViewInit(){this.dropdownComponent&&(this.dropdown=this.dropdownComponent,this.dropdownService=this.dropdownComponent?.dropdownService)}get hostClasses(){return{disabled:this.disabled}}set tabIndex(t){this._tabIndex=t}get tabIndex(){return this.disabled?"-1":this._tabIndex}get isDisabled(){return this.disabled||null}onClick(t){!this.disabled&&this.dropdownService.toggle({visible:!1,dropdown:this.dropdown})}onKeyUp(t){t.key==="Enter"&&!this.disabled&&this.dropdownService.toggle({visible:!1,dropdown:this.dropdown})}};i.\u0275fac=function(e){return new(e||i)(c(u),c(M,8))},i.\u0275dir=h({type:i,selectors:[["","cDropdownClose",""]],hostVars:4,hostBindings:function(e,s){e&1&&v("click",function(n){return s.onClick(n)})("keyup",function(n){return s.onKeyUp(n)}),e&2&&(D("tabindex",s.tabIndex)("aria-disabled",s.isDisabled),a(s.hostClasses))},inputs:{disabled:"disabled",dropdownComponent:"dropdownComponent",tabIndex:"tabIndex"},exportAs:["cDropdownClose"],standalone:!0});let o=i;return o})();var mt=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=W({type:i}),i.\u0275inj=q({providers:[u]});let o=i;return o})();export{lt as a,at as b,E as c,dt as d,M as e,K as f,ut as g,ft as h,mt as i}; +import{a as st}from"./chunk-QUYVWFHK.js";import{a as B}from"./chunk-D272JSA3.js";import{a as S,i as nt}from"./chunk-LZN2HRQX.js";import{d as rt}from"./chunk-XHR4TYVD.js";import{A as U,Fb as x,Gb as T,Ia as H,La as b,Na as G,Nc as V,Oc as it,Pb as D,Tb as R,Ub as a,Y as j,ba as N,ca as $,da as q,g as L,ia as m,id as ot,mb as c,mc as v,na as Z,nd as O,oa as W,pa as h,pc as tt,qc as et,rb as J,tb as X,tc as y,vc as I,wc as _,xa as z,zb as Y}from"./chunk-6U7QZ4SV.js";import{a as k,b as Q,e as p,f as g,g as f}from"./chunk-MGAX33HK.js";var lt=(()=>{let i=class i{get hostClasses(){return{"dropdown-divider":!0}}};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=h({type:i,selectors:[["","cDropdownDivider",""]],hostVars:2,hostBindings:function(e,s){e&2&&a(s.hostClasses)},standalone:!0});let o=i;return o})();var at=(()=>{let i=class i{get hostClasses(){return{"dropdown-header":!0}}};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=h({type:i,selectors:[["","cDropdownHeader",""]],hostVars:2,hostBindings:function(e,s){e&2&&a(s.hostClasses)},standalone:!0});let o=i;return o})();var u=(()=>{let i=class i{constructor(){this.dropdownState=new L({}),this.dropdownState$=this.dropdownState.asObservable()}toggle(t){this.dropdownState.next(t)}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=$({token:i,factory:i.\u0275fac});let o=i;return o})();var ct=["*"],F=class{},dt=(()=>{var i,d,t;let e=class e{constructor(){g(this,i);g(this,d);g(this,t);f(this,i,m(H)),this.elementRef=m(b),f(this,d,m(u)),this.dropdown=m(F,{optional:!0}),this.disabled=!1,this.caret=!0,this.split=!1,f(this,t,Y(!1))}get hostClasses(){return{"dropdown-toggle":this.caret,"dropdown-toggle-split":this.split,disabled:this.disabled}}get ariaExpanded(){return p(this,t).call(this)}onClick(r){r.preventDefault(),!this.disabled&&p(this,d).toggle({visible:"toggle",dropdown:this.dropdown})}ngAfterViewInit(){this.dropdownComponent&&(this.dropdown=this.dropdownComponent,f(this,d,this.dropdownComponent?.dropdownService)),this.dropdown&&this.dropdown?.visibleChange?.pipe(S(p(this,i))).subscribe(n=>{p(this,t).set(n)})}};i=new WeakMap,d=new WeakMap,t=new WeakMap,e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=h({type:e,selectors:[["","cDropdownToggle",""]],hostVars:3,hostBindings:function(n,l){n&1&&v("click",function(w){return l.onClick(w)}),n&2&&(D("aria-expanded",l.ariaExpanded),a(l.hostClasses))},inputs:{dropdownComponent:"dropdownComponent",disabled:[2,"disabled","disabled",O],caret:"caret",split:[2,"split","split",O]},exportAs:["cDropdownToggle"],standalone:!0,features:[V([{provide:F,useExisting:N(()=>M)}]),T]});let o=e;return o})(),M=(()=>{let i=class i{constructor(t,e,s,r,n,l){this.document=t,this.elementRef=e,this.renderer=s,this.ngZone=r,this.changeDetectorRef=n,this.dropdownService=l,this.autoClose=!0,this.placement="bottom-start",this.popper=!0,this._popperOptions={placement:this.placement,modifiers:[],strategy:"absolute"},this.variant="dropdown",this._visible=!1,this.visibleChange=new G,this.dropdownContext={$implicit:this.visible},this.activeTrap=!1,this.listeners=[],this.dropdownStateSubscribe()}set popperOptions(t){this._popperOptions=k(k({},this._popperOptions),t)}get popperOptions(){let t=this.placement;switch(this.direction){case"dropup":{t="top-start";break}case"dropend":{t="right-start";break}case"dropstart":{t="left-start";break}case"center":{t="bottom";break}case"dropup-center":{t="top";break}}return this.alignment==="end"&&(t="bottom-end"),this._popperOptions=Q(k({},this._popperOptions),{placement:t}),this._popperOptions}set visible(t){let e=t;e!==this._visible&&(this.activeTrap=e,this._visible=e,e?this.createPopperInstance():this.destroyPopperInstance(),this.visibleChange.emit(e))}get visible(){return this._visible}get hostClasses(){return{dropdown:(this.variant==="dropdown"||this.variant==="nav-item")&&!this.direction,[`${this.direction}`]:!!this.direction,[`${this.variant}`]:!!this.variant,dropup:this.direction==="dropup"||this.direction==="dropup-center",show:this.visible}}get hostStyle(){return this.variant==="input-group"?{display:"contents"}:{}}onHostClick(t){this.clickedTarget=t.target}dropdownStateSubscribe(t=!0){t?this.dropdownStateSubscription=this.dropdownService.dropdownState$.pipe(U(e=>this===e.dropdown)).subscribe(e=>{"visible"in e&&(e?.visible==="toggle"?this.toggleDropdown():this.visible=e.visible)}):this.dropdownStateSubscription?.unsubscribe()}toggleDropdown(){this.visible=!this.visible}onClick(t){this._toggler?.elementRef.nativeElement.contains(t.target?.closest("[cDropdownToggle]"))||this.toggleDropdown()}ngAfterContentInit(){this.variant==="nav-item"&&this.renderer.addClass(this._toggler.elementRef.nativeElement,"nav-link")}ngOnInit(){this.setVisibleState(this.visible)}ngOnChanges(t){t.visible&&!t.visible.firstChange&&this.setVisibleState(t.visible.currentValue)}ngOnDestroy(){this.clearListeners(),this.dropdownStateSubscribe(!1),this.destroyPopperInstance()}setVisibleState(t){this.dropdownService.toggle({visible:t,dropdown:this})}createPopperInstance(){this._toggler&&this._menu&&this.ngZone.runOutsideAngular(()=>{this._menu.elementRef.nativeElement.style.visibility="hidden",this._menu.elementRef.nativeElement.style.display="block",this.popper&&(this.popperInstance=st(this._toggler.elementRef.nativeElement,this._menu.elementRef.nativeElement,k({},this.popperOptions))),this.ngZone.run(()=>{this.setListeners(),this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges()})})}destroyPopperInstance(){this.clearListeners(),this.popperInstance?.destroy(),this.popperInstance=void 0,this.changeDetectorRef.markForCheck()}setListeners(){this.listeners.push(this.renderer.listen(this.document,"click",t=>{let e=t.target;if(this._menuElementRef?.nativeElement.contains(t.target)&&(this.clickedTarget=e),!this._toggler?.elementRef.nativeElement.contains(t.target)){if(this.autoClose===!0){this.setVisibleState(!1);return}if(this.clickedTarget===e&&this.autoClose==="inside"){this.setVisibleState(!1);return}if(this.clickedTarget!==e&&this.autoClose==="outside"){this.setVisibleState(!1);return}}})),this.listeners.push(this.renderer.listen(this.elementRef.nativeElement,"keyup",t=>{if(t.key==="Escape"&&this.autoClose!==!1){t.stopPropagation(),this.setVisibleState(!1);return}})),this.listeners.push(this.renderer.listen(this.document,"keyup",t=>{if(t.key==="Tab"&&this.autoClose!==!1&&!this.elementRef.nativeElement.contains(t.target)){this.setVisibleState(!1);return}}))}clearListeners(){this.listeners.forEach(t=>{t()}),this.listeners.fill(void 0),this.listeners=[]}};i.\u0275fac=function(e){return new(e||i)(c(rt),c(b),c(J),c(X),c(ot),c(u))},i.\u0275cmp=Z({type:i,selectors:[["c-dropdown"]],contentQueries:function(e,s,r){if(e&1&&(y(r,dt,5),y(r,E,5),y(r,E,5,b)),e&2){let n;I(n=_())&&(s._toggler=n.first),I(n=_())&&(s._menu=n.first),I(n=_())&&(s._menuElementRef=n.first)}},hostVars:4,hostBindings:function(e,s){e&1&&v("click",function(n){return s.onHostClick(n)}),e&2&&(R(s.hostStyle),a(s.hostClasses))},inputs:{alignment:"alignment",autoClose:"autoClose",direction:"direction",placement:"placement",popper:[2,"popper","popper",O],popperOptions:"popperOptions",variant:"variant",visible:[2,"visible","visible",O]},outputs:{visibleChange:"visibleChange"},exportAs:["cDropdown"],standalone:!0,features:[V([u]),T,x([{directive:B,inputs:["dark","dark"]}]),z,it],ngContentSelectors:ct,decls:1,vars:0,template:function(e,s){e&1&&(tt(),et(0))},styles:[".dropdown[_nghost-%COMP%]:not(.btn-group), .dropdown [_nghost-%COMP%]:not(.btn-group), .dropup[_nghost-%COMP%]:not(.btn-group), .dropup [_nghost-%COMP%]:not(.btn-group){display:block}.dropstart[_nghost-%COMP%]:not(.btn-group), .dropstart [_nghost-%COMP%]:not(.btn-group), .dropend[_nghost-%COMP%]:not(.btn-group), .dropend [_nghost-%COMP%]:not(.btn-group){display:inline-flex}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :first-child, html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :first-child, .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :first-child{border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :first-child, html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :first-child, .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :first-child{border-top-left-radius:0;border-bottom-left-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :first-child:not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}html:not([dir=rtl]).input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu), html:not([dir=rtl]) .input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu), .input-group html:not([dir=rtl]) [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]{direction:rtl}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :first-child{border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:first-child :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :first-child{border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :first-child:not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}[dir=rtl] .input-group [_nghost-%COMP%]:last-child :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}"]});let o=i;return o})();var K=(()=>{var i;let d=class d{constructor(e,s){g(this,i);this.dropdownService=e,this.dropdown=s,this.autoClose=!0,f(this,i,m(b)),this._tabIndex=null}focus(e){p(this,i)?.nativeElement?.focus()}getLabel(){return p(this,i)?.nativeElement?.textContent.trim()}get ariaCurrent(){return this.active?"true":null}get hostClasses(){return{"dropdown-item":!0,active:this.active,disabled:this.disabled}}set tabIndex(e){this._tabIndex=e}get tabIndex(){return this.disabled?"-1":this._tabIndex}get isDisabled(){return this.disabled||null}onClick(e){this.autoClose&&this.dropdownService.toggle({visible:"toggle",dropdown:this.dropdown})}onKeyUp(e){e.key==="Enter"&&this.autoClose&&this.dropdownService.toggle({visible:!1,dropdown:this.dropdown})}};i=new WeakMap,d.\u0275fac=function(s){return new(s||d)(c(u),c(M,8))},d.\u0275dir=h({type:d,selectors:[["","cDropdownItem",""]],hostVars:5,hostBindings:function(s,r){s&1&&v("click",function(l){return r.onClick(l)})("keyup",function(l){return r.onKeyUp(l)}),s&2&&(D("aria-current",r.ariaCurrent)("tabindex",r.tabIndex)("aria-disabled",r.isDisabled),a(r.hostClasses))},inputs:{active:"active",autoClose:"autoClose",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cDropdownItem"],standalone:!0});let o=d;return o})();var E=(()=>{var i,d,t;let e=class e{constructor(){g(this,i);g(this,d);g(this,t);f(this,i,m(H)),this.elementRef=m(b),f(this,d,m(u)),this.visible=!1}get hostClasses(){return{"dropdown-menu":!0,[`dropdown-menu-${this.alignment}`]:!!this.alignment,show:this.visible}}get hostStyles(){return{visibility:this.visible?null:"",display:this.visible?null:""}}onKeyDown(r){this.visible&&(["Space","ArrowDown"].includes(r.code)&&r.preventDefault(),p(this,t).onKeydown(r))}onKeyUp(r){this.visible&&["Tab"].includes(r.key)&&(p(this,t).activeItem?r.shiftKey?p(this,t).setPreviousItemActive():p(this,t).setNextItemActive():p(this,t).setFirstItemActive())}ngAfterContentInit(){this.focusKeyManagerInit(),this.dropdownItemsContent.changes.pipe(j(r=>{this.focusKeyManagerInit()}),S(p(this,i))).subscribe()}ngOnInit(){p(this,d).dropdownState$.pipe(j(r=>{"visible"in r&&(this.visible=r.visible==="toggle"?!this.visible:r.visible,this.visible||p(this,t)?.setActiveItem(-1))}),S(p(this,i))).subscribe()}focusKeyManagerInit(){f(this,t,new nt(this.dropdownItemsContent).withHomeAndEnd().withPageUpDown().withWrap().skipPredicate(r=>r.disabled===!0))}};i=new WeakMap,d=new WeakMap,t=new WeakMap,e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=h({type:e,selectors:[["","cDropdownMenu",""]],contentQueries:function(n,l,P){if(n&1&&y(P,K,5),n&2){let w;I(w=_())&&(l.dropdownItemsContent=w)}},hostVars:4,hostBindings:function(n,l){n&1&&v("keydown",function(w){return l.onKeyDown(w)})("keyup",function(w){return l.onKeyUp(w)}),n&2&&(R(l.hostStyles),a(l.hostClasses))},inputs:{alignment:"alignment",visible:"visible"},exportAs:["cDropdownMenu"],standalone:!0,features:[x([{directive:B,inputs:["dark","dark"]}])]});let o=e;return o})();var ut=(()=>{let i=class i{get hostClasses(){return{"dropdown-item-text":!0}}};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=h({type:i,selectors:[["","cDropdownItemPlain",""]],hostVars:2,hostBindings:function(e,s){e&2&&a(s.hostClasses)},standalone:!0});let o=i;return o})();var ft=(()=>{let i=class i{constructor(t,e){this.dropdownService=t,this.dropdown=e,this._tabIndex=null}ngAfterViewInit(){this.dropdownComponent&&(this.dropdown=this.dropdownComponent,this.dropdownService=this.dropdownComponent?.dropdownService)}get hostClasses(){return{disabled:this.disabled}}set tabIndex(t){this._tabIndex=t}get tabIndex(){return this.disabled?"-1":this._tabIndex}get isDisabled(){return this.disabled||null}onClick(t){!this.disabled&&this.dropdownService.toggle({visible:!1,dropdown:this.dropdown})}onKeyUp(t){t.key==="Enter"&&!this.disabled&&this.dropdownService.toggle({visible:!1,dropdown:this.dropdown})}};i.\u0275fac=function(e){return new(e||i)(c(u),c(M,8))},i.\u0275dir=h({type:i,selectors:[["","cDropdownClose",""]],hostVars:4,hostBindings:function(e,s){e&1&&v("click",function(n){return s.onClick(n)})("keyup",function(n){return s.onKeyUp(n)}),e&2&&(D("tabindex",s.tabIndex)("aria-disabled",s.isDisabled),a(s.hostClasses))},inputs:{disabled:"disabled",dropdownComponent:"dropdownComponent",tabIndex:"tabIndex"},exportAs:["cDropdownClose"],standalone:!0});let o=i;return o})();var mt=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=W({type:i}),i.\u0275inj=q({providers:[u]});let o=i;return o})();export{lt as a,at as b,E as c,dt as d,M as e,K as f,ut as g,ft as h,mt as i}; diff --git a/angular/docs/chunk-NNMKHZUS.js b/angular/docs/chunk-DTADTSJV.js similarity index 98% rename from angular/docs/chunk-NNMKHZUS.js rename to angular/docs/chunk-DTADTSJV.js index bfa2323826c..0ad3f29445d 100644 --- a/angular/docs/chunk-NNMKHZUS.js +++ b/angular/docs/chunk-DTADTSJV.js @@ -1 +1 @@ -import{d as g}from"./chunk-FIXU3TFH.js";import{$ as d,Ta as p,ca as a,ha as l,ia as u,ma as y,qb as m}from"./chunk-O6V6MKDU.js";var r=function(s){return s[s.State=0]="State",s[s.Transition=1]="Transition",s[s.Sequence=2]="Sequence",s[s.Group=3]="Group",s[s.Animate=4]="Animate",s[s.Keyframes=5]="Keyframes",s[s.Style=6]="Style",s[s.Trigger=7]="Trigger",s[s.Reference=8]="Reference",s[s.AnimateChild=9]="AnimateChild",s[s.AnimateRef=10]="AnimateRef",s[s.Query=11]="Query",s[s.Stagger=12]="Stagger",s}(r||{}),x="*";function q(s,t){return{type:r.Trigger,name:s,definitions:t,options:{}}}function L(s,t=null){return{type:r.Animate,styles:t,timings:s}}function $(s,t=null){return{type:r.Group,steps:s,options:t}}function P(s,t=null){return{type:r.Sequence,steps:s,options:t}}function G(s){return{type:r.Style,styles:s,offset:null}}function K(s,t,e){return{type:r.State,name:s,styles:t,options:e}}function N(s,t,e=null){return{type:r.Transition,expr:s,animation:t,options:e}}function Q(s,t=null){return{type:r.Reference,animation:s,options:t}}function T(s,t=null){return{type:r.AnimateRef,animation:s,options:t}}function U(s,t,e=null){return{type:r.Query,selector:s,animation:t,options:e}}var v=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=a({token:t,factory:()=>u(b),providedIn:"root"});let s=t;return s})(),c=class{},b=(()=>{let t=class t extends v{constructor(n,i){super(),this.animationModuleType=u(p,{optional:!0}),this._nextAnimationId=0;let o={id:"0",encapsulation:y.None,styles:[],data:{animation:[]}};if(this._renderer=n.createRenderer(i.body,o),this.animationModuleType===null&&!R(this._renderer))throw new d(3600,!1)}build(n){let i=this._nextAnimationId;this._nextAnimationId++;let o=Array.isArray(n)?P(n):n;return S(this._renderer,null,i,"register",[o]),new f(i,this._renderer)}};t.\u0275fac=function(i){return new(i||t)(l(m),l(g))},t.\u0275prov=a({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),f=class extends c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new _(this._id,t,e||{},this._renderer)}},_=class{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){S(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return I(this._renderer)?.engine?.players[this.id]?.getPosition()??0}};function S(s,t,e,n,i){s.setProperty(t,`@@${e}:${n}`,i)}function I(s){let t=s.\u0275type;return t===0?s:t===1?s.animationRenderer:null}function R(s){let t=s.\u0275type;return t===0||t===1}var D=class{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},F=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(h=>{h.onDone(()=>{++e==o&&this._onFinish()}),h.onDestroy(()=>{++n==o&&this._onDestroy()}),h.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((h,E)=>Math.max(h,E.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(i)})}getPosition(){let t=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},Y="!";export{r as a,x as b,q as c,L as d,$ as e,P as f,G as g,K as h,N as i,Q as j,T as k,U as l,v as m,D as n,F as o,Y as p}; +import{d as g}from"./chunk-XHR4TYVD.js";import{$ as d,Ta as p,ca as a,ha as l,ia as u,ma as y,qb as m}from"./chunk-6U7QZ4SV.js";var r=function(s){return s[s.State=0]="State",s[s.Transition=1]="Transition",s[s.Sequence=2]="Sequence",s[s.Group=3]="Group",s[s.Animate=4]="Animate",s[s.Keyframes=5]="Keyframes",s[s.Style=6]="Style",s[s.Trigger=7]="Trigger",s[s.Reference=8]="Reference",s[s.AnimateChild=9]="AnimateChild",s[s.AnimateRef=10]="AnimateRef",s[s.Query=11]="Query",s[s.Stagger=12]="Stagger",s}(r||{}),x="*";function q(s,t){return{type:r.Trigger,name:s,definitions:t,options:{}}}function L(s,t=null){return{type:r.Animate,styles:t,timings:s}}function $(s,t=null){return{type:r.Group,steps:s,options:t}}function P(s,t=null){return{type:r.Sequence,steps:s,options:t}}function G(s){return{type:r.Style,styles:s,offset:null}}function K(s,t,e){return{type:r.State,name:s,styles:t,options:e}}function N(s,t,e=null){return{type:r.Transition,expr:s,animation:t,options:e}}function Q(s,t=null){return{type:r.Reference,animation:s,options:t}}function T(s,t=null){return{type:r.AnimateRef,animation:s,options:t}}function U(s,t,e=null){return{type:r.Query,selector:s,animation:t,options:e}}var v=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=a({token:t,factory:()=>u(b),providedIn:"root"});let s=t;return s})(),c=class{},b=(()=>{let t=class t extends v{constructor(n,i){super(),this.animationModuleType=u(p,{optional:!0}),this._nextAnimationId=0;let o={id:"0",encapsulation:y.None,styles:[],data:{animation:[]}};if(this._renderer=n.createRenderer(i.body,o),this.animationModuleType===null&&!R(this._renderer))throw new d(3600,!1)}build(n){let i=this._nextAnimationId;this._nextAnimationId++;let o=Array.isArray(n)?P(n):n;return S(this._renderer,null,i,"register",[o]),new f(i,this._renderer)}};t.\u0275fac=function(i){return new(i||t)(l(m),l(g))},t.\u0275prov=a({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})(),f=class extends c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new _(this._id,t,e||{},this._renderer)}},_=class{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){S(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return I(this._renderer)?.engine?.players[this.id]?.getPosition()??0}};function S(s,t,e,n,i){s.setProperty(t,`@@${e}:${n}`,i)}function I(s){let t=s.\u0275type;return t===0?s:t===1?s.animationRenderer:null}function R(s){let t=s.\u0275type;return t===0||t===1}var D=class{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},F=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(h=>{h.onDone(()=>{++e==o&&this._onFinish()}),h.onDestroy(()=>{++n==o&&this._onDestroy()}),h.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((h,E)=>Math.max(h,E.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(i)})}getPosition(){let t=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},Y="!";export{r as a,x as b,q as c,L as d,$ as e,P as f,G as g,K as h,N as i,Q as j,T as k,U as l,v as m,D as n,F as o,Y as p}; diff --git a/angular/docs/chunk-35W7OU42.js b/angular/docs/chunk-DZ5HT6G4.js similarity index 97% rename from angular/docs/chunk-35W7OU42.js rename to angular/docs/chunk-DZ5HT6G4.js index eba5b921ff2..61897704f2f 100644 --- a/angular/docs/chunk-35W7OU42.js +++ b/angular/docs/chunk-DZ5HT6G4.js @@ -1,4 +1,4 @@ -import{a as h,b as T,c as d}from"./chunk-XQG32QJB.js";import{a as C,c as g}from"./chunk-PERFRTVS.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{g as F}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as D}from"./chunk-SWYVARVN.js";import{r as w}from"./chunk-JJFVMVK7.js";import{c as v,d as y}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as n,Cc as b,Dc as u,Oc as o,Pc as S,Qb as s,ac as t,bc as x,lb as c,mb as f,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var M=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table21"]],standalone:!0,features:[o],decls:79,vars:0,consts:[["cTable","","responsive","xxl"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Heading"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t(),e(13,"th",1),n(14,"Heading"),t(),e(15,"th",1),n(16,"Heading"),t(),e(17,"th",1),n(18,"Heading"),t(),e(19,"th",1),n(20,"Heading"),t()()(),e(21,"tbody")(22,"tr")(23,"th",2),n(24,"1"),t(),e(25,"td"),n(26,"Cell"),t(),e(27,"td"),n(28,"Cell"),t(),e(29,"td"),n(30,"Cell"),t(),e(31,"td"),n(32,"Cell"),t(),e(33,"td"),n(34,"Cell"),t(),e(35,"td"),n(36,"Cell"),t(),e(37,"td"),n(38,"Cell"),t(),e(39,"td"),n(40,"Cell"),t()(),e(41,"tr")(42,"th",2),n(43,"2"),t(),e(44,"td"),n(45,"Cell"),t(),e(46,"td"),n(47,"Cell"),t(),e(48,"td"),n(49,"Cell"),t(),e(50,"td"),n(51,"Cell"),t(),e(52,"td"),n(53,"Cell"),t(),e(54,"td"),n(55,"Cell"),t(),e(56,"td"),n(57,"Cell"),t(),e(58,"td"),n(59,"Cell"),t()(),e(60,"tr")(61,"th",2),n(62,"3"),t(),e(63,"td"),n(64,"Cell"),t(),e(65,"td"),n(66,"Cell"),t(),e(67,"td"),n(68,"Cell"),t(),e(69,"td"),n(70,"Cell"),t(),e(71,"td"),n(72,"Cell"),t(),e(73,"td"),n(74,"Cell"),t(),e(75,"td"),n(76,"Cell"),t(),e(77,"td"),n(78,"Cell"),t()()()())},dependencies:[d]});let a=i;return a})();var k=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table20"]],standalone:!0,features:[o],decls:79,vars:1,consts:[["cTable","",3,"responsive"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Heading"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t(),e(13,"th",1),n(14,"Heading"),t(),e(15,"th",1),n(16,"Heading"),t(),e(17,"th",1),n(18,"Heading"),t(),e(19,"th",1),n(20,"Heading"),t()()(),e(21,"tbody")(22,"tr")(23,"th",2),n(24,"1"),t(),e(25,"td"),n(26,"Cell"),t(),e(27,"td"),n(28,"Cell"),t(),e(29,"td"),n(30,"Cell"),t(),e(31,"td"),n(32,"Cell"),t(),e(33,"td"),n(34,"Cell"),t(),e(35,"td"),n(36,"Cell"),t(),e(37,"td"),n(38,"Cell"),t(),e(39,"td"),n(40,"Cell"),t()(),e(41,"tr")(42,"th",2),n(43,"2"),t(),e(44,"td"),n(45,"Cell"),t(),e(46,"td"),n(47,"Cell"),t(),e(48,"td"),n(49,"Cell"),t(),e(50,"td"),n(51,"Cell"),t(),e(52,"td"),n(53,"Cell"),t(),e(54,"td"),n(55,"Cell"),t(),e(56,"td"),n(57,"Cell"),t(),e(58,"td"),n(59,"Cell"),t()(),e(60,"tr")(61,"th",2),n(62,"3"),t(),e(63,"td"),n(64,"Cell"),t(),e(65,"td"),n(66,"Cell"),t(),e(67,"td"),n(68,"Cell"),t(),e(69,"td"),n(70,"Cell"),t(),e(71,"td"),n(72,"Cell"),t(),e(73,"td"),n(74,"Cell"),t(),e(75,"td"),n(76,"Cell"),t(),e(77,"td"),n(78,"Cell"),t()()()()),l&2&&s("responsive",!0)},dependencies:[d]});let a=i;return a})();var H=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table19"]],standalone:!0,features:[o],decls:41,vars:0,consts:[["cTable","","caption","top"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"caption"),n(2,"List of users"),t(),e(3,"thead")(4,"tr")(5,"th",1),n(6,"#"),t(),e(7,"th",1),n(8,"Class"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t()()(),e(13,"tbody")(14,"tr")(15,"th",2),n(16,"1"),t(),e(17,"td"),n(18,"Mark"),t(),e(19,"td"),n(20,"Otto"),t(),e(21,"td"),n(22,"@mdo"),t()(),e(23,"tr")(24,"th",2),n(25,"2"),t(),e(26,"td"),n(27,"Jacob"),t(),e(28,"td"),n(29,"Thornton"),t(),e(30,"td"),n(31,"@fat"),t()(),e(32,"tr")(33,"th",2),n(34,"3"),t(),e(35,"td"),n(36,"Larry"),t(),e(37,"td"),n(38,"the Bird"),t(),e(39,"td"),n(40,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var A=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table18"]],standalone:!0,features:[o],decls:41,vars:0,consts:[["cTable",""],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"caption"),n(2,"List of users"),t(),e(3,"thead")(4,"tr")(5,"th",1),n(6,"#"),t(),e(7,"th",1),n(8,"Class"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t()()(),e(13,"tbody")(14,"tr")(15,"th",2),n(16,"1"),t(),e(17,"td"),n(18,"Mark"),t(),e(19,"td"),n(20,"Otto"),t(),e(21,"td"),n(22,"@mdo"),t()(),e(23,"tr")(24,"th",2),n(25,"2"),t(),e(26,"td"),n(27,"Jacob"),t(),e(28,"td"),n(29,"Thornton"),t(),e(30,"td"),n(31,"@fat"),t()(),e(32,"tr")(33,"th",2),n(34,"3"),t(),e(35,"td"),n(36,"Larry"),t(),e(37,"td"),n(38,"the Bird"),t(),e(39,"td"),n(40,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var B=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table17"]],standalone:!0,features:[o],decls:47,vars:0,consts:[["cTable",""],["cTableColor","dark"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead",1)(2,"tr")(3,"th",2),n(4,"#"),t(),e(5,"th",2),n(6,"Class"),t(),e(7,"th",2),n(8,"Heading"),t(),e(9,"th",2),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td",4),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()(),e(37,"tfoot",1)(38,"tr")(39,"td"),n(40,"Footer"),t(),e(41,"td"),n(42,"Footer"),t(),e(43,"td"),n(44,"Footer"),t(),e(45,"td"),n(46,"Footer"),t()()()())},dependencies:[d,h]});let a=i;return a})();var L=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table16"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable",""],["cTableColor","dark"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead",1)(2,"tr")(3,"th",2),n(4,"#"),t(),e(5,"th",2),n(6,"Class"),t(),e(7,"th",2),n(8,"Heading"),t(),e(9,"th",2),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td",4),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d,h]});let a=i;return a})();var O=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table15"]],standalone:!0,features:[o],decls:39,vars:0,consts:[["cTable",""],["cTableColor","light"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead",1)(2,"tr")(3,"th",2),n(4,"#"),t(),e(5,"th",2),n(6,"Class"),t(),e(7,"th",2),n(8,"Heading"),t(),e(9,"th",2),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td"),n(34,"Larry"),t(),e(35,"td"),n(36,"the Bird"),t(),e(37,"td"),n(38,"@twitter"),t()()()())},dependencies:[d,h]});let a=i;return a})();var J=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table14"]],standalone:!0,features:[o],decls:61,vars:0,consts:[["striped","","cTable",""],["scope","col"],["scope","row"],["colSpan","4"],["cTable",""],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3)(23,"table",4)(24,"thead")(25,"tr")(26,"th",1),n(27,"Header"),t(),e(28,"th",1),n(29,"Header"),t(),e(30,"th",1),n(31,"Header"),t()()(),e(32,"tbody")(33,"tr")(34,"th",2),n(35,"A"),t(),e(36,"td"),n(37,"First"),t(),e(38,"td"),n(39,"Last"),t()(),e(40,"tr")(41,"th",2),n(42,"B"),t(),e(43,"td"),n(44,"First"),t(),e(45,"td"),n(46,"Last"),t()(),e(47,"tr")(48,"th",2),n(49,"C"),t(),e(50,"td"),n(51,"First"),t(),e(52,"td"),n(53,"Last"),t()()()()()(),e(54,"tr")(55,"th",2),n(56,"3"),t(),e(57,"td",5),n(58,"Larry the Bird"),t(),e(59,"td"),n(60,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var I=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table13"]],standalone:!0,features:[o],decls:63,vars:0,consts:[["responsive","","cAlign","middle","cTable",""],["scope","col",1,"w-25"],["cAlign","bottom"],["cAlign","top"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4," Heading 1 "),t(),e(5,"th",1),n(6," Heading 2 "),t(),e(7,"th",1),n(8," Heading 3 "),t(),e(9,"th",1),n(10," Heading 4 "),t()()(),e(11,"tbody")(12,"tr")(13,"td"),n(14," This cell inherits "),e(15,"code"),n(16,"vertical-align: middle;"),t(),n(17," from the table "),t(),e(18,"td"),n(19," This cell inherits "),e(20,"code"),n(21,"vertical-align: middle;"),t(),n(22," from the table "),t(),e(23,"td"),n(24," This cell inherits "),e(25,"code"),n(26,"vertical-align: middle;"),t(),n(27," from the table "),t(),e(28,"td"),n(29," This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells. "),t()(),e(30,"tr",2)(31,"td"),n(32," This cell inherits "),e(33,"code"),n(34,"vertical-align: bottom;"),t(),n(35," from the table row "),t(),e(36,"td"),n(37," This cell inherits "),e(38,"code"),n(39,"vertical-align: bottom;"),t(),n(40," from the table row "),t(),e(41,"td"),n(42," This cell inherits "),e(43,"code"),n(44,"vertical-align: bottom;"),t(),n(45," from the table row "),t(),e(46,"td"),n(47," This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells. "),t()(),e(48,"tr")(49,"td"),n(50," This cell inherits "),e(51,"code"),n(52,"vertical-align: middle;"),t(),n(53," from the table "),t(),e(54,"td"),n(55," This cell inherits "),e(56,"code"),n(57,"vertical-align: middle;"),t(),n(58," from the table "),t(),e(59,"td",3),n(60,"This cell is aligned to the top."),t(),e(61,"td"),n(62," This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells. "),t()()()())},dependencies:[d,C]});let a=i;return a})();var _=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table12"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable","","small",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var U=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table11"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["borderless","","cTable","","hover",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var q=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table10"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["borderColor","primary","bordered","","cTable","",3,"cBorder"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("cBorder",1)},dependencies:[d,g]});let a=i;return a})();var z=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table09"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["bordered","","cTable",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var R=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table08"]],standalone:!0,features:[o],decls:37,vars:2,consts:[["cTable",""],["scope","col"],[3,"cTableActive"],["scope","row"],["colSpan","2",3,"cTableActive"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr",2)(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td",4),n(34," Larry the Bird "),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&(c(12),s("cTableActive",!0),c(21),s("cTableActive",!0))},dependencies:[d,T]});let a=i;return a})();var j=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table07"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable","","hover","","striped",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var N=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table06"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable","","hover",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var P=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table05"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["cTable","","color","success",3,"striped"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("striped",!0)},dependencies:[d]});let a=i;return a})();var V=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table04"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["cTable","","color","dark",3,"striped"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("striped",!0)},dependencies:[d]});let a=i;return a})();var W=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table22"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["stripedColumns","","cTable",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d],encapsulation:2});let a=i;return a})();var Y=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table03"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["cTable","",3,"striped"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("striped",!0)},dependencies:[d],encapsulation:2});let a=i;return a})();var G=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table02"]],standalone:!0,features:[o],decls:73,vars:0,consts:[["cTable",""],["scope","col"],["scope","row"],["cTableColor","primary"],["cTableColor","secondary"],["cTableColor","success"],["cTableColor","danger"],["cTableColor","warning"],["cTableColor","info"],["cTableColor","light"],["cTableColor","dark"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"Class"),t(),e(5,"th",1),n(6,"Heading"),t(),e(7,"th",1),n(8,"Heading"),t()()(),e(9,"tbody")(10,"tr")(11,"th",2),n(12,"Default"),t(),e(13,"td"),n(14,"Cell"),t(),e(15,"td"),n(16,"Cell"),t()(),e(17,"tr",3)(18,"th",2),n(19,"Primary"),t(),e(20,"td"),n(21,"Cell"),t(),e(22,"td"),n(23,"Cell"),t()(),e(24,"tr",4)(25,"th",2),n(26,"Secondary"),t(),e(27,"td"),n(28,"Cell"),t(),e(29,"td"),n(30,"Cell"),t()(),e(31,"tr",5)(32,"th",2),n(33,"Success"),t(),e(34,"td"),n(35,"Cell"),t(),e(36,"td"),n(37,"Cell"),t()(),e(38,"tr",6)(39,"th",2),n(40,"Danger"),t(),e(41,"td"),n(42,"Cell"),t(),e(43,"td"),n(44,"Cell"),t()(),e(45,"tr",7)(46,"th",2),n(47,"Warning"),t(),e(48,"td"),n(49,"Cell"),t(),e(50,"td"),n(51,"Cell"),t()(),e(52,"tr",8)(53,"th",2),n(54,"Info"),t(),e(55,"td"),n(56,"Cell"),t(),e(57,"td"),n(58,"Cell"),t()(),e(59,"tr",9)(60,"th",2),n(61,"Light"),t(),e(62,"td"),n(63,"Cell"),t(),e(64,"td"),n(65,"Cell"),t()(),e(66,"tr",10)(67,"th",2),n(68,"Dark"),t(),e(69,"td"),n(70,"Cell"),t(),e(71,"td"),n(72,"Cell"),t()()()())},dependencies:[d,h]});let a=i;return a})();var K=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table01"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var Q=`\`\`\`typescript +import{a as h,b as T,c as d}from"./chunk-WZMOPKFN.js";import{a as C,c as g}from"./chunk-FUXYYFQ6.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{g as F}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as D}from"./chunk-MH6VOBXJ.js";import{r as w}from"./chunk-Q5WIR6QR.js";import{c as v,d as y}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as n,Cc as b,Dc as u,Oc as o,Pc as S,Qb as s,ac as t,bc as x,lb as c,mb as f,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var M=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table21"]],standalone:!0,features:[o],decls:79,vars:0,consts:[["cTable","","responsive","xxl"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Heading"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t(),e(13,"th",1),n(14,"Heading"),t(),e(15,"th",1),n(16,"Heading"),t(),e(17,"th",1),n(18,"Heading"),t(),e(19,"th",1),n(20,"Heading"),t()()(),e(21,"tbody")(22,"tr")(23,"th",2),n(24,"1"),t(),e(25,"td"),n(26,"Cell"),t(),e(27,"td"),n(28,"Cell"),t(),e(29,"td"),n(30,"Cell"),t(),e(31,"td"),n(32,"Cell"),t(),e(33,"td"),n(34,"Cell"),t(),e(35,"td"),n(36,"Cell"),t(),e(37,"td"),n(38,"Cell"),t(),e(39,"td"),n(40,"Cell"),t()(),e(41,"tr")(42,"th",2),n(43,"2"),t(),e(44,"td"),n(45,"Cell"),t(),e(46,"td"),n(47,"Cell"),t(),e(48,"td"),n(49,"Cell"),t(),e(50,"td"),n(51,"Cell"),t(),e(52,"td"),n(53,"Cell"),t(),e(54,"td"),n(55,"Cell"),t(),e(56,"td"),n(57,"Cell"),t(),e(58,"td"),n(59,"Cell"),t()(),e(60,"tr")(61,"th",2),n(62,"3"),t(),e(63,"td"),n(64,"Cell"),t(),e(65,"td"),n(66,"Cell"),t(),e(67,"td"),n(68,"Cell"),t(),e(69,"td"),n(70,"Cell"),t(),e(71,"td"),n(72,"Cell"),t(),e(73,"td"),n(74,"Cell"),t(),e(75,"td"),n(76,"Cell"),t(),e(77,"td"),n(78,"Cell"),t()()()())},dependencies:[d]});let a=i;return a})();var k=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table20"]],standalone:!0,features:[o],decls:79,vars:1,consts:[["cTable","",3,"responsive"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Heading"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t(),e(13,"th",1),n(14,"Heading"),t(),e(15,"th",1),n(16,"Heading"),t(),e(17,"th",1),n(18,"Heading"),t(),e(19,"th",1),n(20,"Heading"),t()()(),e(21,"tbody")(22,"tr")(23,"th",2),n(24,"1"),t(),e(25,"td"),n(26,"Cell"),t(),e(27,"td"),n(28,"Cell"),t(),e(29,"td"),n(30,"Cell"),t(),e(31,"td"),n(32,"Cell"),t(),e(33,"td"),n(34,"Cell"),t(),e(35,"td"),n(36,"Cell"),t(),e(37,"td"),n(38,"Cell"),t(),e(39,"td"),n(40,"Cell"),t()(),e(41,"tr")(42,"th",2),n(43,"2"),t(),e(44,"td"),n(45,"Cell"),t(),e(46,"td"),n(47,"Cell"),t(),e(48,"td"),n(49,"Cell"),t(),e(50,"td"),n(51,"Cell"),t(),e(52,"td"),n(53,"Cell"),t(),e(54,"td"),n(55,"Cell"),t(),e(56,"td"),n(57,"Cell"),t(),e(58,"td"),n(59,"Cell"),t()(),e(60,"tr")(61,"th",2),n(62,"3"),t(),e(63,"td"),n(64,"Cell"),t(),e(65,"td"),n(66,"Cell"),t(),e(67,"td"),n(68,"Cell"),t(),e(69,"td"),n(70,"Cell"),t(),e(71,"td"),n(72,"Cell"),t(),e(73,"td"),n(74,"Cell"),t(),e(75,"td"),n(76,"Cell"),t(),e(77,"td"),n(78,"Cell"),t()()()()),l&2&&s("responsive",!0)},dependencies:[d]});let a=i;return a})();var H=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table19"]],standalone:!0,features:[o],decls:41,vars:0,consts:[["cTable","","caption","top"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"caption"),n(2,"List of users"),t(),e(3,"thead")(4,"tr")(5,"th",1),n(6,"#"),t(),e(7,"th",1),n(8,"Class"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t()()(),e(13,"tbody")(14,"tr")(15,"th",2),n(16,"1"),t(),e(17,"td"),n(18,"Mark"),t(),e(19,"td"),n(20,"Otto"),t(),e(21,"td"),n(22,"@mdo"),t()(),e(23,"tr")(24,"th",2),n(25,"2"),t(),e(26,"td"),n(27,"Jacob"),t(),e(28,"td"),n(29,"Thornton"),t(),e(30,"td"),n(31,"@fat"),t()(),e(32,"tr")(33,"th",2),n(34,"3"),t(),e(35,"td"),n(36,"Larry"),t(),e(37,"td"),n(38,"the Bird"),t(),e(39,"td"),n(40,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var A=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table18"]],standalone:!0,features:[o],decls:41,vars:0,consts:[["cTable",""],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"caption"),n(2,"List of users"),t(),e(3,"thead")(4,"tr")(5,"th",1),n(6,"#"),t(),e(7,"th",1),n(8,"Class"),t(),e(9,"th",1),n(10,"Heading"),t(),e(11,"th",1),n(12,"Heading"),t()()(),e(13,"tbody")(14,"tr")(15,"th",2),n(16,"1"),t(),e(17,"td"),n(18,"Mark"),t(),e(19,"td"),n(20,"Otto"),t(),e(21,"td"),n(22,"@mdo"),t()(),e(23,"tr")(24,"th",2),n(25,"2"),t(),e(26,"td"),n(27,"Jacob"),t(),e(28,"td"),n(29,"Thornton"),t(),e(30,"td"),n(31,"@fat"),t()(),e(32,"tr")(33,"th",2),n(34,"3"),t(),e(35,"td"),n(36,"Larry"),t(),e(37,"td"),n(38,"the Bird"),t(),e(39,"td"),n(40,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var B=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table17"]],standalone:!0,features:[o],decls:47,vars:0,consts:[["cTable",""],["cTableColor","dark"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead",1)(2,"tr")(3,"th",2),n(4,"#"),t(),e(5,"th",2),n(6,"Class"),t(),e(7,"th",2),n(8,"Heading"),t(),e(9,"th",2),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td",4),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()(),e(37,"tfoot",1)(38,"tr")(39,"td"),n(40,"Footer"),t(),e(41,"td"),n(42,"Footer"),t(),e(43,"td"),n(44,"Footer"),t(),e(45,"td"),n(46,"Footer"),t()()()())},dependencies:[d,h]});let a=i;return a})();var L=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table16"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable",""],["cTableColor","dark"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead",1)(2,"tr")(3,"th",2),n(4,"#"),t(),e(5,"th",2),n(6,"Class"),t(),e(7,"th",2),n(8,"Heading"),t(),e(9,"th",2),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td",4),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d,h]});let a=i;return a})();var O=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table15"]],standalone:!0,features:[o],decls:39,vars:0,consts:[["cTable",""],["cTableColor","light"],["scope","col"],["scope","row"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead",1)(2,"tr")(3,"th",2),n(4,"#"),t(),e(5,"th",2),n(6,"Class"),t(),e(7,"th",2),n(8,"Heading"),t(),e(9,"th",2),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td"),n(34,"Larry"),t(),e(35,"td"),n(36,"the Bird"),t(),e(37,"td"),n(38,"@twitter"),t()()()())},dependencies:[d,h]});let a=i;return a})();var J=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table14"]],standalone:!0,features:[o],decls:61,vars:0,consts:[["striped","","cTable",""],["scope","col"],["scope","row"],["colSpan","4"],["cTable",""],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3)(23,"table",4)(24,"thead")(25,"tr")(26,"th",1),n(27,"Header"),t(),e(28,"th",1),n(29,"Header"),t(),e(30,"th",1),n(31,"Header"),t()()(),e(32,"tbody")(33,"tr")(34,"th",2),n(35,"A"),t(),e(36,"td"),n(37,"First"),t(),e(38,"td"),n(39,"Last"),t()(),e(40,"tr")(41,"th",2),n(42,"B"),t(),e(43,"td"),n(44,"First"),t(),e(45,"td"),n(46,"Last"),t()(),e(47,"tr")(48,"th",2),n(49,"C"),t(),e(50,"td"),n(51,"First"),t(),e(52,"td"),n(53,"Last"),t()()()()()(),e(54,"tr")(55,"th",2),n(56,"3"),t(),e(57,"td",5),n(58,"Larry the Bird"),t(),e(59,"td"),n(60,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var I=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table13"]],standalone:!0,features:[o],decls:63,vars:0,consts:[["responsive","","cAlign","middle","cTable",""],["scope","col",1,"w-25"],["cAlign","bottom"],["cAlign","top"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4," Heading 1 "),t(),e(5,"th",1),n(6," Heading 2 "),t(),e(7,"th",1),n(8," Heading 3 "),t(),e(9,"th",1),n(10," Heading 4 "),t()()(),e(11,"tbody")(12,"tr")(13,"td"),n(14," This cell inherits "),e(15,"code"),n(16,"vertical-align: middle;"),t(),n(17," from the table "),t(),e(18,"td"),n(19," This cell inherits "),e(20,"code"),n(21,"vertical-align: middle;"),t(),n(22," from the table "),t(),e(23,"td"),n(24," This cell inherits "),e(25,"code"),n(26,"vertical-align: middle;"),t(),n(27," from the table "),t(),e(28,"td"),n(29," This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells. "),t()(),e(30,"tr",2)(31,"td"),n(32," This cell inherits "),e(33,"code"),n(34,"vertical-align: bottom;"),t(),n(35," from the table row "),t(),e(36,"td"),n(37," This cell inherits "),e(38,"code"),n(39,"vertical-align: bottom;"),t(),n(40," from the table row "),t(),e(41,"td"),n(42," This cell inherits "),e(43,"code"),n(44,"vertical-align: bottom;"),t(),n(45," from the table row "),t(),e(46,"td"),n(47," This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells. "),t()(),e(48,"tr")(49,"td"),n(50," This cell inherits "),e(51,"code"),n(52,"vertical-align: middle;"),t(),n(53," from the table "),t(),e(54,"td"),n(55," This cell inherits "),e(56,"code"),n(57,"vertical-align: middle;"),t(),n(58," from the table "),t(),e(59,"td",3),n(60,"This cell is aligned to the top."),t(),e(61,"td"),n(62," This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells. "),t()()()())},dependencies:[d,C]});let a=i;return a})();var _=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table12"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable","","small",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var U=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table11"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["borderless","","cTable","","hover",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var q=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table10"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["borderColor","primary","bordered","","cTable","",3,"cBorder"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("cBorder",1)},dependencies:[d,g]});let a=i;return a})();var z=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table09"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["bordered","","cTable",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var R=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table08"]],standalone:!0,features:[o],decls:37,vars:2,consts:[["cTable",""],["scope","col"],[3,"cTableActive"],["scope","row"],["colSpan","2",3,"cTableActive"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr",2)(13,"th",3),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",3),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",3),n(32,"3"),t(),e(33,"td",4),n(34," Larry the Bird "),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&(c(12),s("cTableActive",!0),c(21),s("cTableActive",!0))},dependencies:[d,T]});let a=i;return a})();var j=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table07"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable","","hover","","striped",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var N=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table06"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable","","hover",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var P=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table05"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["cTable","","color","success",3,"striped"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("striped",!0)},dependencies:[d]});let a=i;return a})();var V=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table04"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["cTable","","color","dark",3,"striped"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("striped",!0)},dependencies:[d]});let a=i;return a})();var W=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table22"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["stripedColumns","","cTable",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d],encapsulation:2});let a=i;return a})();var Y=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table03"]],standalone:!0,features:[o],decls:37,vars:1,consts:[["cTable","",3,"striped"],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()()),l&2&&s("striped",!0)},dependencies:[d],encapsulation:2});let a=i;return a})();var G=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table02"]],standalone:!0,features:[o],decls:73,vars:0,consts:[["cTable",""],["scope","col"],["scope","row"],["cTableColor","primary"],["cTableColor","secondary"],["cTableColor","success"],["cTableColor","danger"],["cTableColor","warning"],["cTableColor","info"],["cTableColor","light"],["cTableColor","dark"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"Class"),t(),e(5,"th",1),n(6,"Heading"),t(),e(7,"th",1),n(8,"Heading"),t()()(),e(9,"tbody")(10,"tr")(11,"th",2),n(12,"Default"),t(),e(13,"td"),n(14,"Cell"),t(),e(15,"td"),n(16,"Cell"),t()(),e(17,"tr",3)(18,"th",2),n(19,"Primary"),t(),e(20,"td"),n(21,"Cell"),t(),e(22,"td"),n(23,"Cell"),t()(),e(24,"tr",4)(25,"th",2),n(26,"Secondary"),t(),e(27,"td"),n(28,"Cell"),t(),e(29,"td"),n(30,"Cell"),t()(),e(31,"tr",5)(32,"th",2),n(33,"Success"),t(),e(34,"td"),n(35,"Cell"),t(),e(36,"td"),n(37,"Cell"),t()(),e(38,"tr",6)(39,"th",2),n(40,"Danger"),t(),e(41,"td"),n(42,"Cell"),t(),e(43,"td"),n(44,"Cell"),t()(),e(45,"tr",7)(46,"th",2),n(47,"Warning"),t(),e(48,"td"),n(49,"Cell"),t(),e(50,"td"),n(51,"Cell"),t()(),e(52,"tr",8)(53,"th",2),n(54,"Info"),t(),e(55,"td"),n(56,"Cell"),t(),e(57,"td"),n(58,"Cell"),t()(),e(59,"tr",9)(60,"th",2),n(61,"Light"),t(),e(62,"td"),n(63,"Cell"),t(),e(64,"td"),n(65,"Cell"),t()(),e(66,"tr",10)(67,"th",2),n(68,"Dark"),t(),e(69,"td"),n(70,"Cell"),t(),e(71,"td"),n(72,"Cell"),t()()()())},dependencies:[d,h]});let a=i;return a})();var K=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=m({type:i,selectors:[["docs-table01"]],standalone:!0,features:[o],decls:37,vars:0,consts:[["cTable",""],["scope","col"],["scope","row"],["colSpan","2"]],template:function(l,p){l&1&&(e(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),n(4,"#"),t(),e(5,"th",1),n(6,"Class"),t(),e(7,"th",1),n(8,"Heading"),t(),e(9,"th",1),n(10,"Heading"),t()()(),e(11,"tbody")(12,"tr")(13,"th",2),n(14,"1"),t(),e(15,"td"),n(16,"Mark"),t(),e(17,"td"),n(18,"Otto"),t(),e(19,"td"),n(20,"@mdo"),t()(),e(21,"tr")(22,"th",2),n(23,"2"),t(),e(24,"td"),n(25,"Jacob"),t(),e(26,"td"),n(27,"Thornton"),t(),e(28,"td"),n(29,"@fat"),t()(),e(30,"tr")(31,"th",2),n(32,"3"),t(),e(33,"td",3),n(34,"Larry the Bird"),t(),e(35,"td"),n(36,"@twitter"),t()()()())},dependencies:[d]});let a=i;return a})();var Q=`\`\`\`typescript import { TableModule, UtilitiesModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-L24MZQ47.js b/angular/docs/chunk-EBKHKKNH.js similarity index 82% rename from angular/docs/chunk-L24MZQ47.js rename to angular/docs/chunk-EBKHKKNH.js index 81276000862..814c72e3763 100644 --- a/angular/docs/chunk-L24MZQ47.js +++ b/angular/docs/chunk-EBKHKKNH.js @@ -1 +1 @@ -import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v}from"./chunk-JJFVMVK7.js";import"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";export{c as CLIPBOARD_OPTIONS,b as ClipboardButtonComponent,p as ExtendedRenderer,d as KatexSpecificOptions,e as LanguagePipe,g as MARKED_EXTENSIONS,h as MARKED_OPTIONS,r as MarkdownComponent,u as MarkdownModule,s as MarkdownPipe,q as MarkdownService,a as MarkedRenderer,v as MermaidAPI,f as PrismPlugin,o as SECURITY_CONTEXT,l as errorClipboardNotLoaded,m as errorClipboardViewContainerRequired,i as errorJoyPixelsNotLoaded,j as errorKatexNotLoaded,k as errorMermaidNotLoaded,n as errorSrcWithoutHttpClient,t as provideMarkdown}; +import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v}from"./chunk-Q5WIR6QR.js";import"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";export{c as CLIPBOARD_OPTIONS,b as ClipboardButtonComponent,p as ExtendedRenderer,d as KatexSpecificOptions,e as LanguagePipe,g as MARKED_EXTENSIONS,h as MARKED_OPTIONS,r as MarkdownComponent,u as MarkdownModule,s as MarkdownPipe,q as MarkdownService,a as MarkedRenderer,v as MermaidAPI,f as PrismPlugin,o as SECURITY_CONTEXT,l as errorClipboardNotLoaded,m as errorClipboardViewContainerRequired,i as errorJoyPixelsNotLoaded,j as errorKatexNotLoaded,k as errorMermaidNotLoaded,n as errorSrcWithoutHttpClient,t as provideMarkdown}; diff --git a/angular/docs/chunk-635XQOGQ.js b/angular/docs/chunk-EFGOJAMD.js similarity index 95% rename from angular/docs/chunk-635XQOGQ.js rename to angular/docs/chunk-EFGOJAMD.js index 197750297c0..4c6d6488ced 100644 --- a/angular/docs/chunk-635XQOGQ.js +++ b/angular/docs/chunk-EFGOJAMD.js @@ -1 +1 @@ -import{a as Z}from"./chunk-KCYAHR4C.js";import{a as Y}from"./chunk-2IKSDGSZ.js";import{a as O,h as ee,j as te,m as ie}from"./chunk-QNSTT6ST.js";import{c as Q,d as W,g as T,h as I,i as X}from"./chunk-NNMKHZUS.js";import{A as J,d as G}from"./chunk-FIXU3TFH.js";import{$b as U,A as E,Fb as V,Gb as L,Ia as x,La as $,Na as _,Oc as k,Pb as K,Sa as A,Ub as v,ac as N,ca as j,f as M,hc as q,ia as F,jb as P,mb as l,mc as B,na as b,nc as z,nd as S,pa as H,pc as g,qc as y,rb as R}from"./chunk-O6V6MKDU.js";import{e as c,f as u,g as d}from"./chunk-MGAX33HK.js";var D=(()=>{let e=class e{constructor(){this.offcanvasState=new M,this.offcanvasState$=this.offcanvasState.asObservable()}toggle(o){this.offcanvasState.next(o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"});let s=e;return s})();var re=["*"],ae=0,ce=(()=>{var e,C,o,i,r,f;let h=class h{constructor(t,a,n,p,m,oe,ne){u(this,e);u(this,C);u(this,o);u(this,i);u(this,r);u(this,f);this.document=t,this.platformId=a,this.renderer=n,this.hostElement=p,this.offcanvasService=m,this.backdropService=oe,this.breakpointObserver=ne,d(this,e,F(x)),this.backdrop=!0,this.keyboard=!0,this.placement="start",this.responsive=!0,this.id=`offcanvas-${this.placement}-${ae++}`,this.role="dialog",this.ariaModal=!0,d(this,r,!1),this.scroll=!1,d(this,f,!1),this.visibleChange=new _}set visible(t){d(this,f,t),c(this,f)?(this.setBackdrop(this.backdrop),this.setFocus()):this.setBackdrop(!1),this.layoutChangeSubscribe(c(this,f)),this.visibleChange.emit(t)}get visible(){return c(this,f)}get hostClasses(){return{offcanvas:typeof this.responsive=="boolean",[`offcanvas-${this.responsive}`]:typeof this.responsive!="boolean",[`offcanvas-${this.placement}`]:!!this.placement,show:this.show}}get ariaHidden(){return this.visible?null:!0}get tabIndex(){return"-1"}get animateTrigger(){return this.visible?"visible":"hidden"}get show(){return this.visible&&c(this,r)}set show(t){d(this,r,t)}get responsiveBreakpoint(){if(typeof this.responsive!="string")return!1;let t=this.document.documentElement,a=this.responsive,n=getComputedStyle(t)?.getPropertyValue(`--cui-breakpoint-${a.trim()}`)??!1;return n?`${parseFloat(n.trim())-.02}px`:!1}animateStart(t){t.toState==="visible"?(this.scroll||this.backdropService.hideScrollbar(),this.renderer.addClass(this.hostElement.nativeElement,"showing")):this.renderer.addClass(this.hostElement.nativeElement,"hiding")}animateDone(t){setTimeout(()=>{t.toState==="visible"&&this.renderer.removeClass(this.hostElement.nativeElement,"showing"),t.toState==="hidden"&&(this.renderer.removeClass(this.hostElement.nativeElement,"hiding"),this.renderer.removeStyle(this.document.body,"overflow"),this.renderer.removeStyle(this.document.body,"paddingRight"))}),this.show=this.visible}onKeyDownHandler(t){t.key==="Escape"&&this.keyboard&&this.visible&&this.backdrop!=="static"&&this.offcanvasService.toggle({show:!1,id:this.id})}ngOnInit(){this.stateToggleSubscribe(),setTimeout(()=>{this.renderer.setStyle(this.hostElement.nativeElement,"display","flex")})}ngOnDestroy(){this.offcanvasService.toggle({show:!1,id:this.id})}setFocus(){J(this.platformId)&&setTimeout(()=>this.hostElement.nativeElement.focus())}stateToggleSubscribe(){this.offcanvasService.offcanvasState$.pipe(O(c(this,e))).subscribe(t=>{(this===t.offcanvas||this.id===t.id)&&"show"in t&&(this.visible=t?.show==="toggle"?!this.visible:t.show)})}backdropClickSubscribe(t=!0){t?d(this,o,this.backdropService.backdropClick$.pipe(O(c(this,e))).subscribe(a=>{this.offcanvasService.toggle({show:!a,id:this.id})})):c(this,o)?.unsubscribe()}setBackdrop(t){d(this,C,t?this.backdropService.setBackdrop("offcanvas"):this.backdropService.clearBackdrop(c(this,C))),t===!0?this.backdropClickSubscribe():this.backdropClickSubscribe(!1)}layoutChangeSubscribe(t=!0){if(t){if(!this.responsiveBreakpoint)return;let a=`(max-width: ${this.responsiveBreakpoint})`,n=this.breakpointObserver.observe([a]);d(this,i,n.pipe(E(p=>!p.matches),O(c(this,e))).subscribe(p=>{this.visible=p.matches}))}else c(this,i)?.unsubscribe()}};e=new WeakMap,C=new WeakMap,o=new WeakMap,i=new WeakMap,r=new WeakMap,f=new WeakMap,h.\u0275fac=function(a){return new(a||h)(l(G),l(A),l(R),l($),l(D),l(Z),l(ee))},h.\u0275cmp=b({type:h,selectors:[["c-offcanvas"]],hostAttrs:["ngSkipHydration","true"],hostVars:7,hostBindings:function(a,n){a&1&&(z("@showHide.start",function(m){return n.animateStart(m)})("@showHide.done",function(m){return n.animateDone(m)}),B("keydown",function(m){return n.onKeyDownHandler(m)},!1,P)),a&2&&(q("@showHide",n.animateTrigger),K("role",n.role)("aria-modal",n.ariaModal)("aria-hidden",n.ariaHidden)("tabindex",n.tabIndex),v(n.hostClasses))},inputs:{backdrop:"backdrop",keyboard:[2,"keyboard","keyboard",S],placement:"placement",responsive:"responsive",id:"id",role:"role",ariaModal:[2,"ariaModal","ariaModal",S],scroll:[2,"scroll","scroll",S],visible:[2,"visible","visible",S]},outputs:{visibleChange:"visibleChange"},exportAs:["cOffcanvas"],standalone:!0,features:[L,V([{directive:Y,inputs:["dark","dark"]}]),k],ngContentSelectors:re,decls:2,vars:0,consts:[["cdkTrapFocus","","cdkTrapFocusAutoCapture",""]],template:function(a,n){a&1&&(g(),U(0,"div",0),y(1),N())},dependencies:[ie,te],styles:["[_nghost-%COMP%]{display:none}"],data:{animation:[Q("showHide",[I("visible",T({})),I("hidden",T({})),X("visible <=> *",[W("300ms")])])]}});let s=h;return s})();var le=["*"],fe=(()=>{let e=class e{get hostClasses(){return{"offcanvas-body":!0}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["c-offcanvas-body"]],hostVars:2,hostBindings:function(i,r){i&2&&v(r.hostClasses)},standalone:!0,features:[k],ngContentSelectors:le,decls:1,vars:0,template:function(i,r){i&1&&(g(),y(0))},styles:["[_nghost-%COMP%]{display:block}"]});let s=e;return s})();var de=["*"],he=(()=>{let e=class e{get hostClasses(){return{"offcanvas-header":!0}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["c-offcanvas-header"]],hostVars:2,hostBindings:function(i,r){i&2&&v(r.hostClasses)},standalone:!0,features:[k],ngContentSelectors:de,decls:1,vars:0,template:function(i,r){i&1&&(g(),y(0))},encapsulation:2});let s=e;return s})();var pe=(()=>{let e=class e{get hostClasses(){return{"offcanvas-title":!0}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=H({type:e,selectors:[["","cOffcanvasTitle",""]],hostVars:2,hostBindings:function(i,r){i&2&&v(r.hostClasses)},standalone:!0});let s=e;return s})();var ve=(()=>{let e=class e{constructor(o){this.offcanvasService=o}toggleOpen(o){o.preventDefault(),this.offcanvasService.toggle({show:"toggle",id:this.id})}};e.\u0275fac=function(i){return new(i||e)(l(D))},e.\u0275dir=H({type:e,selectors:[["","cOffcanvasToggle",""]],hostBindings:function(i,r){i&1&&B("click",function(h){return r.toggleOpen(h)})},inputs:{id:[0,"cOffcanvasToggle","id"]},standalone:!0});let s=e;return s})();export{ce as a,fe as b,he as c,pe as d,ve as e}; +import{a as Z}from"./chunk-5TFAQITA.js";import{a as Y}from"./chunk-D272JSA3.js";import{a as O,h as ee,j as te,m as ie}from"./chunk-LZN2HRQX.js";import{c as Q,d as W,g as T,h as I,i as X}from"./chunk-DTADTSJV.js";import{A as J,d as G}from"./chunk-XHR4TYVD.js";import{$b as U,A as E,Fb as V,Gb as L,Ia as x,La as $,Na as _,Oc as k,Pb as K,Sa as A,Ub as v,ac as N,ca as j,f as M,hc as q,ia as F,jb as P,mb as l,mc as B,na as b,nc as z,nd as S,pa as H,pc as g,qc as y,rb as R}from"./chunk-6U7QZ4SV.js";import{e as c,f as u,g as d}from"./chunk-MGAX33HK.js";var D=(()=>{let e=class e{constructor(){this.offcanvasState=new M,this.offcanvasState$=this.offcanvasState.asObservable()}toggle(o){this.offcanvasState.next(o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"});let s=e;return s})();var re=["*"],ae=0,ce=(()=>{var e,C,o,i,r,f;let h=class h{constructor(t,a,n,p,m,oe,ne){u(this,e);u(this,C);u(this,o);u(this,i);u(this,r);u(this,f);this.document=t,this.platformId=a,this.renderer=n,this.hostElement=p,this.offcanvasService=m,this.backdropService=oe,this.breakpointObserver=ne,d(this,e,F(x)),this.backdrop=!0,this.keyboard=!0,this.placement="start",this.responsive=!0,this.id=`offcanvas-${this.placement}-${ae++}`,this.role="dialog",this.ariaModal=!0,d(this,r,!1),this.scroll=!1,d(this,f,!1),this.visibleChange=new _}set visible(t){d(this,f,t),c(this,f)?(this.setBackdrop(this.backdrop),this.setFocus()):this.setBackdrop(!1),this.layoutChangeSubscribe(c(this,f)),this.visibleChange.emit(t)}get visible(){return c(this,f)}get hostClasses(){return{offcanvas:typeof this.responsive=="boolean",[`offcanvas-${this.responsive}`]:typeof this.responsive!="boolean",[`offcanvas-${this.placement}`]:!!this.placement,show:this.show}}get ariaHidden(){return this.visible?null:!0}get tabIndex(){return"-1"}get animateTrigger(){return this.visible?"visible":"hidden"}get show(){return this.visible&&c(this,r)}set show(t){d(this,r,t)}get responsiveBreakpoint(){if(typeof this.responsive!="string")return!1;let t=this.document.documentElement,a=this.responsive,n=getComputedStyle(t)?.getPropertyValue(`--cui-breakpoint-${a.trim()}`)??!1;return n?`${parseFloat(n.trim())-.02}px`:!1}animateStart(t){t.toState==="visible"?(this.scroll||this.backdropService.hideScrollbar(),this.renderer.addClass(this.hostElement.nativeElement,"showing")):this.renderer.addClass(this.hostElement.nativeElement,"hiding")}animateDone(t){setTimeout(()=>{t.toState==="visible"&&this.renderer.removeClass(this.hostElement.nativeElement,"showing"),t.toState==="hidden"&&(this.renderer.removeClass(this.hostElement.nativeElement,"hiding"),this.renderer.removeStyle(this.document.body,"overflow"),this.renderer.removeStyle(this.document.body,"paddingRight"))}),this.show=this.visible}onKeyDownHandler(t){t.key==="Escape"&&this.keyboard&&this.visible&&this.backdrop!=="static"&&this.offcanvasService.toggle({show:!1,id:this.id})}ngOnInit(){this.stateToggleSubscribe(),setTimeout(()=>{this.renderer.setStyle(this.hostElement.nativeElement,"display","flex")})}ngOnDestroy(){this.offcanvasService.toggle({show:!1,id:this.id})}setFocus(){J(this.platformId)&&setTimeout(()=>this.hostElement.nativeElement.focus())}stateToggleSubscribe(){this.offcanvasService.offcanvasState$.pipe(O(c(this,e))).subscribe(t=>{(this===t.offcanvas||this.id===t.id)&&"show"in t&&(this.visible=t?.show==="toggle"?!this.visible:t.show)})}backdropClickSubscribe(t=!0){t?d(this,o,this.backdropService.backdropClick$.pipe(O(c(this,e))).subscribe(a=>{this.offcanvasService.toggle({show:!a,id:this.id})})):c(this,o)?.unsubscribe()}setBackdrop(t){d(this,C,t?this.backdropService.setBackdrop("offcanvas"):this.backdropService.clearBackdrop(c(this,C))),t===!0?this.backdropClickSubscribe():this.backdropClickSubscribe(!1)}layoutChangeSubscribe(t=!0){if(t){if(!this.responsiveBreakpoint)return;let a=`(max-width: ${this.responsiveBreakpoint})`,n=this.breakpointObserver.observe([a]);d(this,i,n.pipe(E(p=>!p.matches),O(c(this,e))).subscribe(p=>{this.visible=p.matches}))}else c(this,i)?.unsubscribe()}};e=new WeakMap,C=new WeakMap,o=new WeakMap,i=new WeakMap,r=new WeakMap,f=new WeakMap,h.\u0275fac=function(a){return new(a||h)(l(G),l(A),l(R),l($),l(D),l(Z),l(ee))},h.\u0275cmp=b({type:h,selectors:[["c-offcanvas"]],hostAttrs:["ngSkipHydration","true"],hostVars:7,hostBindings:function(a,n){a&1&&(z("@showHide.start",function(m){return n.animateStart(m)})("@showHide.done",function(m){return n.animateDone(m)}),B("keydown",function(m){return n.onKeyDownHandler(m)},!1,P)),a&2&&(q("@showHide",n.animateTrigger),K("role",n.role)("aria-modal",n.ariaModal)("aria-hidden",n.ariaHidden)("tabindex",n.tabIndex),v(n.hostClasses))},inputs:{backdrop:"backdrop",keyboard:[2,"keyboard","keyboard",S],placement:"placement",responsive:"responsive",id:"id",role:"role",ariaModal:[2,"ariaModal","ariaModal",S],scroll:[2,"scroll","scroll",S],visible:[2,"visible","visible",S]},outputs:{visibleChange:"visibleChange"},exportAs:["cOffcanvas"],standalone:!0,features:[L,V([{directive:Y,inputs:["dark","dark"]}]),k],ngContentSelectors:re,decls:2,vars:0,consts:[["cdkTrapFocus","","cdkTrapFocusAutoCapture",""]],template:function(a,n){a&1&&(g(),U(0,"div",0),y(1),N())},dependencies:[ie,te],styles:["[_nghost-%COMP%]{display:none}"],data:{animation:[Q("showHide",[I("visible",T({})),I("hidden",T({})),X("visible <=> *",[W("300ms")])])]}});let s=h;return s})();var le=["*"],fe=(()=>{let e=class e{get hostClasses(){return{"offcanvas-body":!0}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["c-offcanvas-body"]],hostVars:2,hostBindings:function(i,r){i&2&&v(r.hostClasses)},standalone:!0,features:[k],ngContentSelectors:le,decls:1,vars:0,template:function(i,r){i&1&&(g(),y(0))},styles:["[_nghost-%COMP%]{display:block}"]});let s=e;return s})();var de=["*"],he=(()=>{let e=class e{get hostClasses(){return{"offcanvas-header":!0}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["c-offcanvas-header"]],hostVars:2,hostBindings:function(i,r){i&2&&v(r.hostClasses)},standalone:!0,features:[k],ngContentSelectors:de,decls:1,vars:0,template:function(i,r){i&1&&(g(),y(0))},encapsulation:2});let s=e;return s})();var pe=(()=>{let e=class e{get hostClasses(){return{"offcanvas-title":!0}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=H({type:e,selectors:[["","cOffcanvasTitle",""]],hostVars:2,hostBindings:function(i,r){i&2&&v(r.hostClasses)},standalone:!0});let s=e;return s})();var ve=(()=>{let e=class e{constructor(o){this.offcanvasService=o}toggleOpen(o){o.preventDefault(),this.offcanvasService.toggle({show:"toggle",id:this.id})}};e.\u0275fac=function(i){return new(i||e)(l(D))},e.\u0275dir=H({type:e,selectors:[["","cOffcanvasToggle",""]],hostBindings:function(i,r){i&1&&B("click",function(h){return r.toggleOpen(h)})},inputs:{id:[0,"cOffcanvasToggle","id"]},standalone:!0});let s=e;return s})();export{ce as a,fe as b,he as c,pe as d,ve as e}; diff --git a/angular/docs/chunk-C4G7K3RW.js b/angular/docs/chunk-EZC3DPOO.js similarity index 96% rename from angular/docs/chunk-C4G7K3RW.js rename to angular/docs/chunk-EZC3DPOO.js index cfca0072067..dfb198590d5 100644 --- a/angular/docs/chunk-C4G7K3RW.js +++ b/angular/docs/chunk-EZC3DPOO.js @@ -1,4 +1,4 @@ -import{a as X,b as Z,c as ee,e as te}from"./chunk-43AYKN2K.js";import{a as j}from"./chunk-TUX4GOME.js";import{a as P}from"./chunk-KHEJVAJA.js";import{a as z}from"./chunk-5LYXIB6J.js";import{a as W,e as $,f as G,g as U,h as Y,i as J}from"./chunk-C5JPXVV5.js";import{a as Q,b as V}from"./chunk-B6ZWLJIL.js";import{i as x}from"./chunk-SPMMWGWV.js";import{a as F,b as O,c as w,d as f,e as D,f as s,g as H,h as q}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as v,b as R}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{a as K}from"./chunk-EBCID5MY.js";import{g as ie}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as oe}from"./chunk-SWYVARVN.js";import{r as ne}from"./chunk-JJFVMVK7.js";import{c as _,d as N}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{n as E,s as C}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Ac as L,Bc as n,Cc as M,Dc as b,Jb as y,Oc as c,Pc as a,Qb as p,ac as e,bc as u,lb as d,mb as T,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var Ie=()=>({"min-width.px":300}),Ae=()=>[],re=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown20"]],standalone:!0,features:[c],decls:26,vars:8,consts:[[3,"autoClose"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu","",3,"ngStyle"],["cButtonClose","","cDropdownClose","",1,"d-flex","ms-auto","me-1",3,"tabIndex"],["cForm","",1,"px-4","py-0"],[1,"mb-3"],["cLabel","","for","exampleDropdownFormEmail1"],["cFormControl","","id","exampleDropdownFormEmail1","placeholder","email@example.com","type","email"],["cLabel","","for","exampleDropdownFormPassword1"],["cFormControl","","id","exampleDropdownFormPassword1","placeholder","Password","type","password"],["cFormCheckInput","","id","dropdownCheck"],["cFormCheckLabel","","for","dropdownCheck"],["cButton","","color","primary","cDropdownClose",""],["cDropdownDivider",""],["cDropdownItem","","fragment","text",3,"autoClose","routerLink"],["cDropdownItem","",3,"autoClose"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Login "),e(),t(3,"div",2),u(4,"buton",3),t(5,"form",4)(6,"div",5)(7,"label",6),n(8,"Email address"),e(),u(9,"input",7),e(),t(10,"div",5)(11,"label",8),n(12,"Password"),e(),u(13,"input",9),e(),t(14,"div",5)(15,"c-form-check"),u(16,"input",10),t(17,"label",11),n(18," Remember me "),e()()(),t(19,"button",12),n(20,"Sign in"),e()(),u(21,"div",13),t(22,"button",14),n(23,"New around here? Sign up"),e(),t(24,"button",15),n(25,"Forgot password?"),e()()()),i&2&&(p("autoClose","outside"),d(3),p("ngStyle",a(6,Ie)),d(),p("tabIndex",0),d(18),p("autoClose",!1)("routerLink",a(7,Ae)),d(2),p("autoClose",!1))},dependencies:[D,v,f,w,C,R,q,W,$,J,U,Y,G,F,s,x],encapsulation:2});let r=o;return r})();var Be=()=>({"minWidth.px":200}),de=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown19"]],standalone:!0,features:[c],decls:8,vars:3,consts:[[3,"autoClose"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu","",1,"p-4","text-medium-emphasis",3,"ngStyle"],[1,"mb-0"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Dropdown "),e(),t(3,"div",2)(4,"p"),n(5,"Some example text that's free-flowing within the dropdown menu."),e(),t(6,"p",3),n(7,"And this is more example text."),e()()()),i&2&&(p("autoClose","inside"),d(3),p("ngStyle",a(2,Be)))},dependencies:[D,v,f,w,C],encapsulation:2});let r=o;return r})();var I=()=>[],pe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown14"]],standalone:!0,features:[c],decls:15,vars:6,consts:[[1,"dropdown-menu"],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"ul",0)(1,"li")(2,"a",1),n(3,"Action"),e()(),t(4,"li")(5,"a",1),n(6,"Another action"),e()(),t(7,"li")(8,"a",1),n(9,"Something else here"),e()(),t(10,"li"),u(11,"hr",2),e(),t(12,"li")(13,"button",3),n(14,"Separated link"),e()()()),i&2&&(d(2),p("routerLink",a(3,I)),d(3),p("routerLink",a(4,I)),d(3),p("routerLink",a(5,I)))},dependencies:[s,x,F],encapsulation:2});let r=o;return r})();var ae=()=>[],le=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown13"]],standalone:!0,features:[c],decls:7,vars:4,consts:[[1,"dropdown-menu"],["cDropdownHeader",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"div",0)(1,"h6",1),n(2,"Header"),e(),t(3,"a",2),n(4,"Action"),e(),t(5,"a",2),n(6,"Another action"),e()()),i&2&&(d(3),p("routerLink",a(2,ae)),d(2),p("routerLink",a(3,ae)))},dependencies:[O,s,x],encapsulation:2});let r=o;return r})();var me=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown18"]],standalone:!0,features:[c],decls:10,vars:0,consts:[["alignment","end"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Dropdown menu "),e(),t(3,"div",2)(4,"button",3),n(5,"Action"),e(),t(6,"button",3),n(7,"Another action"),e(),t(8,"button",3),n(9,"Something else"),e()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var ce=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown17"]],standalone:!0,features:[c],decls:7,vars:1,consts:[[1,"dropdown-menu"],["cDropdownItem",""],["cDropdownItem","",3,"disabled"]],template:function(i,g){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Regular link"),e(),t(3,"button",2),n(4,"Disabled link"),e(),t(5,"button",1),n(6,"Another link"),e()()),i&2&&(d(3),p("disabled",!0))},dependencies:[s],encapsulation:2});let r=o;return r})();var se=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown16"]],standalone:!0,features:[c],decls:7,vars:1,consts:[[1,"dropdown-menu"],["cDropdownItem",""],["cDropdownItem","",3,"active"]],template:function(i,g){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Regular link"),e(),t(3,"button",2),n(4,"Active link"),e(),t(5,"button",1),n(6,"Another link"),e()()),i&2&&(d(3),p("active",!0))},dependencies:[s],encapsulation:2});let r=o;return r})();var ue=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown15"]],standalone:!0,features:[c],decls:9,vars:0,consts:[[1,"dropdown-menu"],["cDropdownItemPlain",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"div",0)(1,"span",1),n(2,"Dropdown item text"),e(),t(3,"button",2),n(4,"Action"),e(),t(5,"button",2),n(6,"Another action"),e(),t(7,"button",2),n(8,"Something else here"),e()())},dependencies:[H,s],encapsulation:2});let r=o;return r})();var we=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown12"]],standalone:!0,features:[c],decls:10,vars:0,consts:[["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"button",0),n(2," Dropdown button "),e(),t(3,"div",1)(4,"button",2),n(5,"Action"),e(),t(6,"button",2),n(7,"Another action"),e(),t(8,"button",2),n(9,"Something else here"),e()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var fe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown11"]],standalone:!0,features:[c],decls:30,vars:1,consts:[["direction","dropstart","variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""],["direction","dropstart","variant","input-group"],["cButton","","cDropdownToggle","","color","secondary",3,"split"],[1,"visually-hidden"],["cButton","","color","secondary"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Dropstart"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-button-group")(14,"c-dropdown",4)(15,"button",5)(16,"span",6),n(17,"Toggle Dropdown"),e()(),t(18,"ul",2)(19,"li")(20,"button",3),n(21,"Action"),e()(),t(22,"li")(23,"button",3),n(24,"Another action"),e()(),t(25,"li")(26,"button",3),n(27,"Something else here"),e()()(),t(28,"button",7),n(29,"Split Left"),e()()()),i&2&&(d(15),p("split",!0))},dependencies:[D,v,f,w,s,z],encapsulation:2});let r=o;return r})();var De=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown10"]],standalone:!0,features:[c],decls:29,vars:1,consts:[["direction","dropend","variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary"],["cButton","","cDropdownToggle","","color","secondary",3,"split"],[1,"visually-hidden"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Dropend"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Split Right"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",3),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(16),p("split",!0))},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var ve=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown22"]],standalone:!0,features:[c],decls:13,vars:0,consts:[["direction","dropup-center"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Centered dropup"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var ge=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown09"]],standalone:!0,features:[c],decls:29,vars:1,consts:[["direction","dropup","variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary"],["cButton","","cDropdownToggle","","color","secondary",3,"split"],[1,"visually-hidden"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Dropup"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Split Dropup"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",3),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(16),p("split",!0))},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var he=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown21"]],standalone:!0,features:[c],decls:13,vars:0,consts:[["direction","center"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Centered dropdown"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action one"),e()(),t(7,"li")(8,"button",3),n(9,"Action two"),e()(),t(10,"li")(11,"button",3),n(12,"Action three"),e()()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var xe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown08"]],standalone:!0,features:[c],decls:22,vars:4,consts:[["collapseRef","cCollapse"],["colorScheme","dark","expand","lg",1,"bg-dark"],[3,"fluid"],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","",3,"navbar"],[1,"me-auto","mb-2","mb-lg-0"],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu","","dark",""],["cDropdownItem",""]],template:function(i,g){if(i&1&&(t(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),n(3," Navbar "),e(),u(4,"button",4),t(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"c-dropdown",7)(10,"a",8),n(11,"Dropdown"),e(),t(12,"ul",9)(13,"li")(14,"button",10),n(15,"Action"),e()(),t(16,"li")(17,"button",10),n(18,"Another action"),e()(),t(19,"li")(20,"button",10),n(21,"Something else here"),e()()()()()()()()()),i&2){let Me=L(6);d(),p("fluid",!0),d(3),p("cNavbarToggler",Me),d(),p("navbar",!0),d(4),p("popper",!1)}},dependencies:[X,K,Z,te,P,ee,V,D,f,Q,w,s],encapsulation:2});let r=o;return r})();var Se=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown07"]],standalone:!0,features:[c],decls:13,vars:0,consts:[["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu","","dark",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"button",0),n(2,"Dropdown button"),e(),t(3,"ul",1)(4,"li")(5,"button",2),n(6,"Action"),e()(),t(7,"li")(8,"button",2),n(9,"Another action"),e()(),t(10,"li")(11,"button",2),n(12,"Something else here"),e()()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var Le=()=>[],be=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown06"]],standalone:!0,features:[c],decls:29,vars:2,consts:[["variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary","size","sm"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary","size","sm"],["cButton","","cDropdownToggle","","color","secondary","size","sm","split",""],[1,"visually-hidden"],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Small button "),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Small split button"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",7),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(21),p("routerLink",a(1,Le)))},dependencies:[D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var _e=()=>[],ye=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown05"]],standalone:!0,features:[c],decls:29,vars:2,consts:[["variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary","size","lg"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary","size","lg"],["cButton","","cDropdownToggle","","color","secondary","size","lg","split",""],[1,"visually-hidden"],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Large button "),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Large split button"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",7),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(21),p("routerLink",a(1,_e)))},dependencies:[D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var Ne=()=>[];function Pe(r,o){if(r&1&&(t(0,"c-dropdown",1)(1,"button",2),n(2),e(),t(3,"button",3)(4,"span",4),n(5,"Toggle Dropdown"),e()(),t(6,"ul",5)(7,"li")(8,"button",6),n(9,"Action"),e()(),t(10,"li")(11,"button",7),n(12,"Another action"),e()(),t(13,"li")(14,"button",7),n(15,"Something else here"),e()()()()),r&2){let S=o.$implicit;d(),p("color",S),d(),b(" ",S," "),d(),p("color",S),d(5),p("routerLink",a(4,Ne))}}var Ee=(()=>{let o=class o{constructor(){this.colors=["primary","secondary","success","info","warning","danger"]}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown04"]],standalone:!0,features:[c],decls:1,vars:1,consts:[["placement","bottom-start","variant","btn-group",4,"ngFor","ngForOf"],["placement","bottom-start","variant","btn-group"],["cButton","",3,"color"],["cButton","","cDropdownToggle","","split","",3,"color"],[1,"visually-hidden"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownItem",""]],template:function(i,g){i&1&&y(0,Pe,16,5,"c-dropdown",0),i&2&&p("ngForOf",g.colors)},dependencies:[E,D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var A=()=>[];function Re(r,o){if(r&1&&(t(0,"c-dropdown",1)(1,"button",2),n(2),e(),t(3,"ul",3)(4,"li")(5,"button",4),n(6,"Action"),e()(),t(7,"li")(8,"button",4),n(9,"Another action"),e()(),t(10,"li")(11,"button",4),n(12,"Something else here"),e()()()()),r&2){let S=o.$implicit;d(),p("color",S),d(),b(" ",S," "),d(3),p("routerLink",a(5,A)),d(3),p("routerLink",a(6,A)),d(3),p("routerLink",a(7,A))}}var Ce=(()=>{let o=class o{constructor(){this.colors=["primary","secondary","success","info","warning","danger"]}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown03"]],standalone:!0,features:[c],decls:1,vars:1,consts:[["variant","btn-group",4,"ngFor","ngForOf"],["variant","btn-group"],["cButton","","cDropdownToggle","",3,"color"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&y(0,Re,13,8,"c-dropdown",0),i&2&&p("ngForOf",g.colors)},dependencies:[E,D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var k=()=>[],Fe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown02"]],standalone:!0,features:[c],decls:13,vars:8,consts:[["cButton","","cDropdownToggle","","color","secondary",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"a",0),n(2," Dropdown button "),e(),t(3,"ul",1)(4,"li")(5,"a",2),n(6,"Action"),e()(),t(7,"li")(8,"a",2),n(9,"Another action"),e()(),t(10,"li")(11,"a",2),n(12,"Something else here"),e()()()()),i&2&&(d(),p("routerLink",a(4,k)),d(4),p("routerLink",a(5,k)),d(3),p("routerLink",a(6,k)),d(3),p("routerLink",a(7,k)))},dependencies:[D,v,f,x,w,s],encapsulation:2});let r=o;return r})();var B=()=>[],ke=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown01"]],standalone:!0,features:[c],decls:13,vars:6,consts:[["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"button",0),n(2," Dropdown button "),e(),t(3,"ul",1)(4,"li")(5,"a",2),n(6,"Action"),e()(),t(7,"li")(8,"a",2),n(9,"Another action"),e()(),t(10,"li")(11,"a",2),n(12,"Something else here"),e()()()()),i&2&&(d(5),p("routerLink",a(3,B)),d(3),p("routerLink",a(4,B)),d(3),p("routerLink",a(5,B)))},dependencies:[D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var Te=`\`\`\`typescript +import{a as X,b as Z,c as ee,e as te}from"./chunk-67N6BHTF.js";import{a as j}from"./chunk-2NTR63DE.js";import{a as P}from"./chunk-2RE6QDUT.js";import{a as z}from"./chunk-C5U3MXIG.js";import{a as W,e as $,f as G,g as U,h as Y,i as J}from"./chunk-ZGGOM75Q.js";import{a as Q,b as V}from"./chunk-MD5QD7EN.js";import{i as x}from"./chunk-FULSUUPP.js";import{a as F,b as O,c as w,d as f,e as D,f as s,g as H,h as q}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as v,b as R}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{a as K}from"./chunk-PZ32EFID.js";import{g as ie}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as oe}from"./chunk-MH6VOBXJ.js";import{r as ne}from"./chunk-Q5WIR6QR.js";import{c as _,d as N}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{n as E,s as C}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Ac as L,Bc as n,Cc as M,Dc as b,Jb as y,Oc as c,Pc as a,Qb as p,ac as e,bc as u,lb as d,mb as T,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var Ie=()=>({"min-width.px":300}),Ae=()=>[],re=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown20"]],standalone:!0,features:[c],decls:26,vars:8,consts:[[3,"autoClose"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu","",3,"ngStyle"],["cButtonClose","","cDropdownClose","",1,"d-flex","ms-auto","me-1",3,"tabIndex"],["cForm","",1,"px-4","py-0"],[1,"mb-3"],["cLabel","","for","exampleDropdownFormEmail1"],["cFormControl","","id","exampleDropdownFormEmail1","placeholder","email@example.com","type","email"],["cLabel","","for","exampleDropdownFormPassword1"],["cFormControl","","id","exampleDropdownFormPassword1","placeholder","Password","type","password"],["cFormCheckInput","","id","dropdownCheck"],["cFormCheckLabel","","for","dropdownCheck"],["cButton","","color","primary","cDropdownClose",""],["cDropdownDivider",""],["cDropdownItem","","fragment","text",3,"autoClose","routerLink"],["cDropdownItem","",3,"autoClose"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Login "),e(),t(3,"div",2),u(4,"buton",3),t(5,"form",4)(6,"div",5)(7,"label",6),n(8,"Email address"),e(),u(9,"input",7),e(),t(10,"div",5)(11,"label",8),n(12,"Password"),e(),u(13,"input",9),e(),t(14,"div",5)(15,"c-form-check"),u(16,"input",10),t(17,"label",11),n(18," Remember me "),e()()(),t(19,"button",12),n(20,"Sign in"),e()(),u(21,"div",13),t(22,"button",14),n(23,"New around here? Sign up"),e(),t(24,"button",15),n(25,"Forgot password?"),e()()()),i&2&&(p("autoClose","outside"),d(3),p("ngStyle",a(6,Ie)),d(),p("tabIndex",0),d(18),p("autoClose",!1)("routerLink",a(7,Ae)),d(2),p("autoClose",!1))},dependencies:[D,v,f,w,C,R,q,W,$,J,U,Y,G,F,s,x],encapsulation:2});let r=o;return r})();var Be=()=>({"minWidth.px":200}),de=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown19"]],standalone:!0,features:[c],decls:8,vars:3,consts:[[3,"autoClose"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu","",1,"p-4","text-medium-emphasis",3,"ngStyle"],[1,"mb-0"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Dropdown "),e(),t(3,"div",2)(4,"p"),n(5,"Some example text that's free-flowing within the dropdown menu."),e(),t(6,"p",3),n(7,"And this is more example text."),e()()()),i&2&&(p("autoClose","inside"),d(3),p("ngStyle",a(2,Be)))},dependencies:[D,v,f,w,C],encapsulation:2});let r=o;return r})();var I=()=>[],pe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown14"]],standalone:!0,features:[c],decls:15,vars:6,consts:[[1,"dropdown-menu"],["cDropdownItem","",3,"routerLink"],["cDropdownDivider",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"ul",0)(1,"li")(2,"a",1),n(3,"Action"),e()(),t(4,"li")(5,"a",1),n(6,"Another action"),e()(),t(7,"li")(8,"a",1),n(9,"Something else here"),e()(),t(10,"li"),u(11,"hr",2),e(),t(12,"li")(13,"button",3),n(14,"Separated link"),e()()()),i&2&&(d(2),p("routerLink",a(3,I)),d(3),p("routerLink",a(4,I)),d(3),p("routerLink",a(5,I)))},dependencies:[s,x,F],encapsulation:2});let r=o;return r})();var ae=()=>[],le=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown13"]],standalone:!0,features:[c],decls:7,vars:4,consts:[[1,"dropdown-menu"],["cDropdownHeader",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"div",0)(1,"h6",1),n(2,"Header"),e(),t(3,"a",2),n(4,"Action"),e(),t(5,"a",2),n(6,"Another action"),e()()),i&2&&(d(3),p("routerLink",a(2,ae)),d(2),p("routerLink",a(3,ae)))},dependencies:[O,s,x],encapsulation:2});let r=o;return r})();var me=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown18"]],standalone:!0,features:[c],decls:10,vars:0,consts:[["alignment","end"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Dropdown menu "),e(),t(3,"div",2)(4,"button",3),n(5,"Action"),e(),t(6,"button",3),n(7,"Another action"),e(),t(8,"button",3),n(9,"Something else"),e()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var ce=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown17"]],standalone:!0,features:[c],decls:7,vars:1,consts:[[1,"dropdown-menu"],["cDropdownItem",""],["cDropdownItem","",3,"disabled"]],template:function(i,g){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Regular link"),e(),t(3,"button",2),n(4,"Disabled link"),e(),t(5,"button",1),n(6,"Another link"),e()()),i&2&&(d(3),p("disabled",!0))},dependencies:[s],encapsulation:2});let r=o;return r})();var se=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown16"]],standalone:!0,features:[c],decls:7,vars:1,consts:[[1,"dropdown-menu"],["cDropdownItem",""],["cDropdownItem","",3,"active"]],template:function(i,g){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Regular link"),e(),t(3,"button",2),n(4,"Active link"),e(),t(5,"button",1),n(6,"Another link"),e()()),i&2&&(d(3),p("active",!0))},dependencies:[s],encapsulation:2});let r=o;return r})();var ue=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown15"]],standalone:!0,features:[c],decls:9,vars:0,consts:[[1,"dropdown-menu"],["cDropdownItemPlain",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"div",0)(1,"span",1),n(2,"Dropdown item text"),e(),t(3,"button",2),n(4,"Action"),e(),t(5,"button",2),n(6,"Another action"),e(),t(7,"button",2),n(8,"Something else here"),e()())},dependencies:[H,s],encapsulation:2});let r=o;return r})();var we=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown12"]],standalone:!0,features:[c],decls:10,vars:0,consts:[["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"button",0),n(2," Dropdown button "),e(),t(3,"div",1)(4,"button",2),n(5,"Action"),e(),t(6,"button",2),n(7,"Another action"),e(),t(8,"button",2),n(9,"Something else here"),e()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var fe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown11"]],standalone:!0,features:[c],decls:30,vars:1,consts:[["direction","dropstart","variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""],["direction","dropstart","variant","input-group"],["cButton","","cDropdownToggle","","color","secondary",3,"split"],[1,"visually-hidden"],["cButton","","color","secondary"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Dropstart"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-button-group")(14,"c-dropdown",4)(15,"button",5)(16,"span",6),n(17,"Toggle Dropdown"),e()(),t(18,"ul",2)(19,"li")(20,"button",3),n(21,"Action"),e()(),t(22,"li")(23,"button",3),n(24,"Another action"),e()(),t(25,"li")(26,"button",3),n(27,"Something else here"),e()()(),t(28,"button",7),n(29,"Split Left"),e()()()),i&2&&(d(15),p("split",!0))},dependencies:[D,v,f,w,s,z],encapsulation:2});let r=o;return r})();var De=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown10"]],standalone:!0,features:[c],decls:29,vars:1,consts:[["direction","dropend","variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary"],["cButton","","cDropdownToggle","","color","secondary",3,"split"],[1,"visually-hidden"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Dropend"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Split Right"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",3),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(16),p("split",!0))},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var ve=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown22"]],standalone:!0,features:[c],decls:13,vars:0,consts:[["direction","dropup-center"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Centered dropup"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var ge=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown09"]],standalone:!0,features:[c],decls:29,vars:1,consts:[["direction","dropup","variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary"],["cButton","","cDropdownToggle","","color","secondary",3,"split"],[1,"visually-hidden"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Dropup"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Split Dropup"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",3),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(16),p("split",!0))},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var he=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown21"]],standalone:!0,features:[c],decls:13,vars:0,consts:[["direction","center"],["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2,"Centered dropdown"),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action one"),e()(),t(7,"li")(8,"button",3),n(9,"Action two"),e()(),t(10,"li")(11,"button",3),n(12,"Action three"),e()()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var xe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown08"]],standalone:!0,features:[c],decls:22,vars:4,consts:[["collapseRef","cCollapse"],["colorScheme","dark","expand","lg",1,"bg-dark"],[3,"fluid"],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","",3,"navbar"],[1,"me-auto","mb-2","mb-lg-0"],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu","","dark",""],["cDropdownItem",""]],template:function(i,g){if(i&1&&(t(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),n(3," Navbar "),e(),u(4,"button",4),t(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"c-dropdown",7)(10,"a",8),n(11,"Dropdown"),e(),t(12,"ul",9)(13,"li")(14,"button",10),n(15,"Action"),e()(),t(16,"li")(17,"button",10),n(18,"Another action"),e()(),t(19,"li")(20,"button",10),n(21,"Something else here"),e()()()()()()()()()),i&2){let Me=L(6);d(),p("fluid",!0),d(3),p("cNavbarToggler",Me),d(),p("navbar",!0),d(4),p("popper",!1)}},dependencies:[X,K,Z,te,P,ee,V,D,f,Q,w,s],encapsulation:2});let r=o;return r})();var Se=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown07"]],standalone:!0,features:[c],decls:13,vars:0,consts:[["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu","","dark",""],["cDropdownItem",""]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"button",0),n(2,"Dropdown button"),e(),t(3,"ul",1)(4,"li")(5,"button",2),n(6,"Action"),e()(),t(7,"li")(8,"button",2),n(9,"Another action"),e()(),t(10,"li")(11,"button",2),n(12,"Something else here"),e()()()())},dependencies:[D,v,f,w,s],encapsulation:2});let r=o;return r})();var Le=()=>[],be=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown06"]],standalone:!0,features:[c],decls:29,vars:2,consts:[["variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary","size","sm"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary","size","sm"],["cButton","","cDropdownToggle","","color","secondary","size","sm","split",""],[1,"visually-hidden"],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Small button "),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Small split button"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",7),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(21),p("routerLink",a(1,Le)))},dependencies:[D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var _e=()=>[],ye=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown05"]],standalone:!0,features:[c],decls:29,vars:2,consts:[["variant","btn-group"],["cButton","","cDropdownToggle","","color","secondary","size","lg"],["cDropdownMenu",""],["cDropdownItem",""],["cButton","","color","secondary","size","lg"],["cButton","","cDropdownToggle","","color","secondary","size","lg","split",""],[1,"visually-hidden"],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown",0)(1,"button",1),n(2," Large button "),e(),t(3,"ul",2)(4,"li")(5,"button",3),n(6,"Action"),e()(),t(7,"li")(8,"button",3),n(9,"Another action"),e()(),t(10,"li")(11,"button",3),n(12,"Something else here"),e()()()(),t(13,"c-dropdown",0)(14,"button",4),n(15,"Large split button"),e(),t(16,"button",5)(17,"span",6),n(18,"Toggle Dropdown"),e()(),t(19,"ul",2)(20,"li")(21,"button",7),n(22,"Action"),e()(),t(23,"li")(24,"button",3),n(25,"Another action"),e()(),t(26,"li")(27,"button",3),n(28,"Something else here"),e()()()()),i&2&&(d(21),p("routerLink",a(1,_e)))},dependencies:[D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var Ne=()=>[];function Pe(r,o){if(r&1&&(t(0,"c-dropdown",1)(1,"button",2),n(2),e(),t(3,"button",3)(4,"span",4),n(5,"Toggle Dropdown"),e()(),t(6,"ul",5)(7,"li")(8,"button",6),n(9,"Action"),e()(),t(10,"li")(11,"button",7),n(12,"Another action"),e()(),t(13,"li")(14,"button",7),n(15,"Something else here"),e()()()()),r&2){let S=o.$implicit;d(),p("color",S),d(),b(" ",S," "),d(),p("color",S),d(5),p("routerLink",a(4,Ne))}}var Ee=(()=>{let o=class o{constructor(){this.colors=["primary","secondary","success","info","warning","danger"]}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown04"]],standalone:!0,features:[c],decls:1,vars:1,consts:[["placement","bottom-start","variant","btn-group",4,"ngFor","ngForOf"],["placement","bottom-start","variant","btn-group"],["cButton","",3,"color"],["cButton","","cDropdownToggle","","split","",3,"color"],[1,"visually-hidden"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cDropdownItem",""]],template:function(i,g){i&1&&y(0,Pe,16,5,"c-dropdown",0),i&2&&p("ngForOf",g.colors)},dependencies:[E,D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var A=()=>[];function Re(r,o){if(r&1&&(t(0,"c-dropdown",1)(1,"button",2),n(2),e(),t(3,"ul",3)(4,"li")(5,"button",4),n(6,"Action"),e()(),t(7,"li")(8,"button",4),n(9,"Another action"),e()(),t(10,"li")(11,"button",4),n(12,"Something else here"),e()()()()),r&2){let S=o.$implicit;d(),p("color",S),d(),b(" ",S," "),d(3),p("routerLink",a(5,A)),d(3),p("routerLink",a(6,A)),d(3),p("routerLink",a(7,A))}}var Ce=(()=>{let o=class o{constructor(){this.colors=["primary","secondary","success","info","warning","danger"]}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown03"]],standalone:!0,features:[c],decls:1,vars:1,consts:[["variant","btn-group",4,"ngFor","ngForOf"],["variant","btn-group"],["cButton","","cDropdownToggle","",3,"color"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&y(0,Re,13,8,"c-dropdown",0),i&2&&p("ngForOf",g.colors)},dependencies:[E,D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var k=()=>[],Fe=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown02"]],standalone:!0,features:[c],decls:13,vars:8,consts:[["cButton","","cDropdownToggle","","color","secondary",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"a",0),n(2," Dropdown button "),e(),t(3,"ul",1)(4,"li")(5,"a",2),n(6,"Action"),e()(),t(7,"li")(8,"a",2),n(9,"Another action"),e()(),t(10,"li")(11,"a",2),n(12,"Something else here"),e()()()()),i&2&&(d(),p("routerLink",a(4,k)),d(4),p("routerLink",a(5,k)),d(3),p("routerLink",a(6,k)),d(3),p("routerLink",a(7,k)))},dependencies:[D,v,f,x,w,s],encapsulation:2});let r=o;return r})();var B=()=>[],ke=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=m({type:o,selectors:[["docs-dropdown01"]],standalone:!0,features:[c],decls:13,vars:6,consts:[["cButton","","cDropdownToggle","","color","secondary"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"]],template:function(i,g){i&1&&(t(0,"c-dropdown")(1,"button",0),n(2," Dropdown button "),e(),t(3,"ul",1)(4,"li")(5,"a",2),n(6,"Action"),e()(),t(7,"li")(8,"a",2),n(9,"Another action"),e()(),t(10,"li")(11,"a",2),n(12,"Something else here"),e()()()()),i&2&&(d(5),p("routerLink",a(3,B)),d(3),p("routerLink",a(4,B)),d(3),p("routerLink",a(5,B)))},dependencies:[D,v,f,w,s,x],encapsulation:2});let r=o;return r})();var Te=`\`\`\`typescript import { DropdownModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-C434TJEI.js b/angular/docs/chunk-F3XLZSRJ.js similarity index 83% rename from angular/docs/chunk-C434TJEI.js rename to angular/docs/chunk-F3XLZSRJ.js index dba0a2d8503..8b63b8da923 100644 --- a/angular/docs/chunk-C434TJEI.js +++ b/angular/docs/chunk-F3XLZSRJ.js @@ -1 +1 @@ -import{a as h}from"./chunk-3WH63G7J.js";import{a as d}from"./chunk-FPQGXMEQ.js";import{Fb as r,Oc as l,Ub as a,na as n,pc as p,qc as c}from"./chunk-O6V6MKDU.js";var u=["*"],g=(()=>{let t=class t{get hostClasses(){let e={"position-absolute":!!this.position,"translate-middle":!!this.position,"top-0":this.position?.includes("top"),"top-100":this.position?.includes("bottom"),"start-100":this.position?.includes("end"),"start-0":this.position?.includes("start")};return Object.assign({badge:!0,[`bg-${this.color}`]:!!this.color,[`badge-${this.size}`]:!!this.size,[`${this.shape}`]:!!this.shape},this.position?e:{})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=n({type:t,selectors:[["c-badge"]],hostVars:2,hostBindings:function(o,s){o&2&&a(s.hostClasses)},inputs:{color:"color",position:"position",shape:"shape",size:"size",textColor:"textColor",textBgColor:"textBgColor"},standalone:!0,features:[r([{directive:d,inputs:["cTextColor","textColor"]},{directive:h,inputs:["cTextBgColor","textBgColor"]}]),l],ngContentSelectors:u,decls:1,vars:0,template:function(o,s){o&1&&(p(),c(0))},encapsulation:2});let i=t;return i})();export{g as a}; +import{a as h}from"./chunk-IH2HSX2J.js";import{a as d}from"./chunk-7GF3S5CV.js";import{Fb as r,Oc as l,Ub as a,na as n,pc as p,qc as c}from"./chunk-6U7QZ4SV.js";var u=["*"],g=(()=>{let t=class t{get hostClasses(){let e={"position-absolute":!!this.position,"translate-middle":!!this.position,"top-0":this.position?.includes("top"),"top-100":this.position?.includes("bottom"),"start-100":this.position?.includes("end"),"start-0":this.position?.includes("start")};return Object.assign({badge:!0,[`bg-${this.color}`]:!!this.color,[`badge-${this.size}`]:!!this.size,[`${this.shape}`]:!!this.shape},this.position?e:{})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=n({type:t,selectors:[["c-badge"]],hostVars:2,hostBindings:function(o,s){o&2&&a(s.hostClasses)},inputs:{color:"color",position:"position",shape:"shape",size:"size",textColor:"textColor",textBgColor:"textBgColor"},standalone:!0,features:[r([{directive:d,inputs:["cTextColor","textColor"]},{directive:h,inputs:["cTextBgColor","textBgColor"]}]),l],ngContentSelectors:u,decls:1,vars:0,template:function(o,s){o&1&&(p(),c(0))},encapsulation:2});let i=t;return i})();export{g as a}; diff --git a/angular/docs/chunk-BKKRFA2R.js b/angular/docs/chunk-F6VXKCAY.js similarity index 91% rename from angular/docs/chunk-BKKRFA2R.js rename to angular/docs/chunk-F6VXKCAY.js index a8eebec6b54..47489c30bd0 100644 --- a/angular/docs/chunk-BKKRFA2R.js +++ b/angular/docs/chunk-F6VXKCAY.js @@ -1,4 +1,4 @@ -import{a as s}from"./chunk-C434TJEI.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{a as x}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as w}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as C}from"./chunk-SWYVARVN.js";import{r as y}from"./chunk-JJFVMVK7.js";import{c as v,d as E}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as t,Cc as b,Dc as S,Oc as d,Pc as u,Qb as g,ac as n,bc as c,lb as m,mb as h,na as l}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var D=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge05-example"]],standalone:!0,features:[d],decls:25,vars:0,consts:[["cButton","","color","primary",1,"position-relative","mx-2"],["color","danger","position","top-start","shape","rounded-pill"],[1,"visually-hidden"],["color","danger","position","top-end","shape","rounded-pill"],["color","danger","position","bottom-start","shape","rounded-pill"],["color","danger","position","bottom-end","shape","rounded-pill"]],template:function(i,p){i&1&&(e(0,"button",0),t(1," Profile "),e(2,"c-badge",1),t(3,"99+"),n(),e(4,"span",2),t(5,"unread messages"),n()(),e(6,"button",0),t(7," Profile "),e(8,"c-badge",3),t(9,"99+"),n(),e(10,"span",2),t(11,"unread messages"),n()(),c(12,"br"),e(13,"button",0),t(14," Profile "),e(15,"c-badge",4),t(16,"99+"),n(),e(17,"span",2),t(18,"unread messages"),n()(),e(19,"button",0),t(20," Profile "),e(21,"c-badge",5),t(22,"99+"),n(),e(23,"span",2),t(24,"unread messages"),n()())},dependencies:[x,s],encapsulation:2});let a=o;return a})();var B=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge04-example"]],standalone:!0,features:[d],decls:14,vars:0,consts:[["color","primary","shape","rounded-pill"],["color","success","shape","rounded-pill"],["color","danger","shape","rounded-pill"],["color","warning","shape","rounded-pill"],["color","info","shape","rounded-pill"],["color","light","shape","rounded-pill"],["color","dark","shape","rounded-pill"]],template:function(i,p){i&1&&(e(0,"c-badge",0),t(1,"primary"),n(),e(2,"c-badge",1),t(3,"success"),n(),e(4,"c-badge",2),t(5,"danger"),n(),e(6,"c-badge",3),t(7,"warning"),n(),e(8,"c-badge",4),t(9,"info"),n(),e(10,"c-badge",5),t(11,"light"),n(),e(12,"c-badge",6),t(13,"dark"),n())},dependencies:[s],encapsulation:2});let a=o;return a})();var M=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge03-example"]],standalone:!0,features:[d],decls:14,vars:0,consts:[["color","primary"],["color","success"],["color","danger"],["color","warning"],["color","info"],["color","light"],["color","dark"]],template:function(i,p){i&1&&(e(0,"c-badge",0),t(1,"primary"),n(),e(2,"c-badge",1),t(3,"success"),n(),e(4,"c-badge",2),t(5,"danger"),n(),e(6,"c-badge",3),t(7,"warning"),n(),e(8,"c-badge",4),t(9,"info"),n(),e(10,"c-badge",5),t(11,"light"),n(),e(12,"c-badge",6),t(13,"dark"),n())},dependencies:[s],encapsulation:2});let a=o;return a})();var F=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge02-example"]],standalone:!0,features:[d],decls:6,vars:0,consts:[["cButton","","color","primary"],["color","secondary"],[1,"visually-hidden"]],template:function(i,p){i&1&&(e(0,"button",0),t(1," Profile "),e(2,"c-badge",1),t(3,"9"),n(),e(4,"span",2),t(5,"unread messages"),n()())},dependencies:[x,s],encapsulation:2});let a=o;return a})();var T=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge01-example"]],standalone:!0,features:[d],decls:24,vars:0,consts:[["color","secondary"]],template:function(i,p){i&1&&(e(0,"h1"),t(1,"Example heading "),e(2,"c-badge",0),t(3,"New"),n()(),e(4,"h2"),t(5,"Example heading "),e(6,"c-badge",0),t(7,"New"),n()(),e(8,"h3"),t(9,"Example heading "),e(10,"c-badge",0),t(11,"New"),n()(),e(12,"h4"),t(13,"Example heading "),e(14,"c-badge",0),t(15,"New"),n()(),e(16,"h5"),t(17,"Example heading "),e(18,"c-badge",0),t(19,"New"),n()(),e(20,"h6"),t(21,"Example heading "),e(22,"c-badge",0),t(23,"New"),n()())},dependencies:[s],encapsulation:2});let a=o;return a})();var k=`\`\`\`typescript +import{a as s}from"./chunk-F3XLZSRJ.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{a as x}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as w}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as C}from"./chunk-MH6VOBXJ.js";import{r as y}from"./chunk-Q5WIR6QR.js";import{c as v,d as E}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as t,Cc as b,Dc as S,Oc as d,Pc as u,Qb as g,ac as n,bc as c,lb as m,mb as h,na as l}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var D=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge05-example"]],standalone:!0,features:[d],decls:25,vars:0,consts:[["cButton","","color","primary",1,"position-relative","mx-2"],["color","danger","position","top-start","shape","rounded-pill"],[1,"visually-hidden"],["color","danger","position","top-end","shape","rounded-pill"],["color","danger","position","bottom-start","shape","rounded-pill"],["color","danger","position","bottom-end","shape","rounded-pill"]],template:function(i,p){i&1&&(e(0,"button",0),t(1," Profile "),e(2,"c-badge",1),t(3,"99+"),n(),e(4,"span",2),t(5,"unread messages"),n()(),e(6,"button",0),t(7," Profile "),e(8,"c-badge",3),t(9,"99+"),n(),e(10,"span",2),t(11,"unread messages"),n()(),c(12,"br"),e(13,"button",0),t(14," Profile "),e(15,"c-badge",4),t(16,"99+"),n(),e(17,"span",2),t(18,"unread messages"),n()(),e(19,"button",0),t(20," Profile "),e(21,"c-badge",5),t(22,"99+"),n(),e(23,"span",2),t(24,"unread messages"),n()())},dependencies:[x,s],encapsulation:2});let a=o;return a})();var B=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge04-example"]],standalone:!0,features:[d],decls:14,vars:0,consts:[["color","primary","shape","rounded-pill"],["color","success","shape","rounded-pill"],["color","danger","shape","rounded-pill"],["color","warning","shape","rounded-pill"],["color","info","shape","rounded-pill"],["color","light","shape","rounded-pill"],["color","dark","shape","rounded-pill"]],template:function(i,p){i&1&&(e(0,"c-badge",0),t(1,"primary"),n(),e(2,"c-badge",1),t(3,"success"),n(),e(4,"c-badge",2),t(5,"danger"),n(),e(6,"c-badge",3),t(7,"warning"),n(),e(8,"c-badge",4),t(9,"info"),n(),e(10,"c-badge",5),t(11,"light"),n(),e(12,"c-badge",6),t(13,"dark"),n())},dependencies:[s],encapsulation:2});let a=o;return a})();var M=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge03-example"]],standalone:!0,features:[d],decls:14,vars:0,consts:[["color","primary"],["color","success"],["color","danger"],["color","warning"],["color","info"],["color","light"],["color","dark"]],template:function(i,p){i&1&&(e(0,"c-badge",0),t(1,"primary"),n(),e(2,"c-badge",1),t(3,"success"),n(),e(4,"c-badge",2),t(5,"danger"),n(),e(6,"c-badge",3),t(7,"warning"),n(),e(8,"c-badge",4),t(9,"info"),n(),e(10,"c-badge",5),t(11,"light"),n(),e(12,"c-badge",6),t(13,"dark"),n())},dependencies:[s],encapsulation:2});let a=o;return a})();var F=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge02-example"]],standalone:!0,features:[d],decls:6,vars:0,consts:[["cButton","","color","primary"],["color","secondary"],[1,"visually-hidden"]],template:function(i,p){i&1&&(e(0,"button",0),t(1," Profile "),e(2,"c-badge",1),t(3,"9"),n(),e(4,"span",2),t(5,"unread messages"),n()())},dependencies:[x,s],encapsulation:2});let a=o;return a})();var T=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=l({type:o,selectors:[["docs-badge01-example"]],standalone:!0,features:[d],decls:24,vars:0,consts:[["color","secondary"]],template:function(i,p){i&1&&(e(0,"h1"),t(1,"Example heading "),e(2,"c-badge",0),t(3,"New"),n()(),e(4,"h2"),t(5,"Example heading "),e(6,"c-badge",0),t(7,"New"),n()(),e(8,"h3"),t(9,"Example heading "),e(10,"c-badge",0),t(11,"New"),n()(),e(12,"h4"),t(13,"Example heading "),e(14,"c-badge",0),t(15,"New"),n()(),e(16,"h5"),t(17,"Example heading "),e(18,"c-badge",0),t(19,"New"),n()(),e(20,"h6"),t(21,"Example heading "),e(22,"c-badge",0),t(23,"New"),n()())},dependencies:[s],encapsulation:2});let a=o;return a})();var k=`\`\`\`typescript import { BadgeModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-KQYWJLIW.js b/angular/docs/chunk-FDIAV3SM.js similarity index 95% rename from angular/docs/chunk-KQYWJLIW.js rename to angular/docs/chunk-FDIAV3SM.js index 39783175d0f..1088a3cb6f6 100644 --- a/angular/docs/chunk-KQYWJLIW.js +++ b/angular/docs/chunk-FDIAV3SM.js @@ -1 +1 @@ -import{a as m}from"./chunk-3WH63G7J.js";import{a as u}from"./chunk-FPQGXMEQ.js";import{Fb as f,Oc as d,Ub as s,na as n,pa as p,pc as a,qc as c}from"./chunk-O6V6MKDU.js";var C=["*"],g=(()=>{let t=class t{get hostClasses(){return{card:!0,[`bg-${this.color}`]:!!this.color}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card"],["","c-card",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},inputs:{color:"color",textColor:"textColor",textBgColor:"textBgColor"},standalone:!0,features:[f([{directive:u,inputs:["cTextColor","textColor"]},{directive:m,inputs:["cTextBgColor","textBgColor"]}]),d],ngContentSelectors:C,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var h=["*"],v=(()=>{let t=class t{get hostClasses(){return{"card-body":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-body"],["","c-card-body",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:h,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var x=(()=>{let t=class t{get hostClasses(){return{"card-subtitle":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardSubtitle",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();var B=(()=>{let t=class t{get hostClasses(){return{"card-title":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardTitle",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();var y=["*"],D=(()=>{let t=class t{get hostClasses(){return{"card-footer":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-footer"],["","c-card-footer",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:y,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var H=["*"],M=(()=>{let t=class t{get hostClasses(){return{"card-group":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-group"],["","c-card-group",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:H,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var F=["*"],T=(()=>{let t=class t{get hostClasses(){return{"card-header":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-header"],["","c-card-header",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:F,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var S=(()=>{let t=class t{get hostClasses(){return{[`card-img${this.orientation?`-${this.orientation}`:""}`]:!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardImg",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},inputs:{orientation:[0,"cCardImg","orientation"]},standalone:!0});let o=t;return o})();var j=["*"],w=(()=>{let t=class t{get hostClasses(){return{"card-img-overlay":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-img-overlay"]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:j,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},styles:["[_nghost-%COMP%]{display:block}"]});let o=t;return o})();var V=(()=>{let t=class t{get hostClasses(){return{"card-link":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardLink",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();var b=(()=>{let t=class t{get hostClasses(){return{"card-text":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardText",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();export{g as a,v as b,D as c,M as d,T as e,S as f,w as g,V as h,x as i,b as j,B as k}; +import{a as m}from"./chunk-IH2HSX2J.js";import{a as u}from"./chunk-7GF3S5CV.js";import{Fb as f,Oc as d,Ub as s,na as n,pa as p,pc as a,qc as c}from"./chunk-6U7QZ4SV.js";var C=["*"],g=(()=>{let t=class t{get hostClasses(){return{card:!0,[`bg-${this.color}`]:!!this.color}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card"],["","c-card",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},inputs:{color:"color",textColor:"textColor",textBgColor:"textBgColor"},standalone:!0,features:[f([{directive:u,inputs:["cTextColor","textColor"]},{directive:m,inputs:["cTextBgColor","textBgColor"]}]),d],ngContentSelectors:C,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var h=["*"],v=(()=>{let t=class t{get hostClasses(){return{"card-body":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-body"],["","c-card-body",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:h,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var x=(()=>{let t=class t{get hostClasses(){return{"card-subtitle":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardSubtitle",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();var B=(()=>{let t=class t{get hostClasses(){return{"card-title":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardTitle",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();var y=["*"],D=(()=>{let t=class t{get hostClasses(){return{"card-footer":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-footer"],["","c-card-footer",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:y,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var H=["*"],M=(()=>{let t=class t{get hostClasses(){return{"card-group":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-group"],["","c-card-group",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:H,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var F=["*"],T=(()=>{let t=class t{get hostClasses(){return{"card-header":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-header"],["","c-card-header",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:F,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},encapsulation:2});let o=t;return o})();var S=(()=>{let t=class t{get hostClasses(){return{[`card-img${this.orientation?`-${this.orientation}`:""}`]:!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardImg",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},inputs:{orientation:[0,"cCardImg","orientation"]},standalone:!0});let o=t;return o})();var j=["*"],w=(()=>{let t=class t{get hostClasses(){return{"card-img-overlay":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n({type:t,selectors:[["c-card-img-overlay"]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0,features:[d],ngContentSelectors:j,decls:1,vars:0,template:function(e,i){e&1&&(a(),c(0))},styles:["[_nghost-%COMP%]{display:block}"]});let o=t;return o})();var V=(()=>{let t=class t{get hostClasses(){return{"card-link":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardLink",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();var b=(()=>{let t=class t{get hostClasses(){return{"card-text":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=p({type:t,selectors:[["","cCardText",""]],hostVars:2,hostBindings:function(e,i){e&2&&s(i.hostClasses)},standalone:!0});let o=t;return o})();export{g as a,v as b,D as c,M as d,T as e,S as f,w as g,V as h,x as i,b as j,B as k}; diff --git a/angular/docs/chunk-7HIIKNCS.js b/angular/docs/chunk-FQRJROYL.js similarity index 92% rename from angular/docs/chunk-7HIIKNCS.js rename to angular/docs/chunk-FQRJROYL.js index a00b6006a49..5e10cc2c3f7 100644 --- a/angular/docs/chunk-7HIIKNCS.js +++ b/angular/docs/chunk-FQRJROYL.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as g}from"./chunk-SWYVARVN.js";import{r as y}from"./chunk-JJFVMVK7.js";import{c as h,d as v}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as o,Bc as e,Cc as c,Dc as p,Oc as f,ac as i,bc as s,lb as r,mb as l,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var w=(()=>{let n=class n{constructor(u,t){this.metaService=u,this.titleService=t,this.title="Customize CoreUI Angular Templates",this.description="Learn how to theme, customize, and extend CoreUI React Templates with Sass, a boatload of global options."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};n.\u0275fac=function(t){return new(t||n)(l(h),l(v))},n.\u0275cmp=m({type:n,selectors:[["docs-customize"]],standalone:!0,features:[f],decls:16,vars:3,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"d-none"]],template:function(t,d){t&1&&(o(0,"h1",0),e(1),i(),o(2,"p",1),e(3),i(),s(4,"docs-ads-carbon-loader"),o(5,"markdown"),e(6,` +import"./chunk-DPZ7BZKP.js";import{a as g}from"./chunk-MH6VOBXJ.js";import{r as y}from"./chunk-Q5WIR6QR.js";import{c as h,d as v}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as o,Bc as e,Cc as c,Dc as p,Oc as f,ac as i,bc as s,lb as r,mb as l,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var w=(()=>{let n=class n{constructor(u,t){this.metaService=u,this.titleService=t,this.title="Customize CoreUI Angular Templates",this.description="Learn how to theme, customize, and extend CoreUI React Templates with Sass, a boatload of global options."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};n.\u0275fac=function(t){return new(t||n)(l(h),l(v))},n.\u0275cmp=m({type:n,selectors:[["docs-customize"]],standalone:!0,features:[f],decls:16,vars:3,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"d-none"]],template:function(t,d){t&1&&(o(0,"h1",0),e(1),i(),o(2,"p",1),e(3),i(),s(4,"docs-ads-carbon-loader"),o(5,"markdown"),e(6,` ## Overview diff --git a/angular/docs/chunk-TLGXSKMA.js b/angular/docs/chunk-FTMIXK42.js similarity index 96% rename from angular/docs/chunk-TLGXSKMA.js rename to angular/docs/chunk-FTMIXK42.js index 0564a900f8c..d4dcb3ec1b3 100644 --- a/angular/docs/chunk-TLGXSKMA.js +++ b/angular/docs/chunk-FTMIXK42.js @@ -1,4 +1,4 @@ -import{a as q}from"./chunk-JTYAMBBT.js";import{a as X,c as Y}from"./chunk-TZ7TQCJR.js";import{a as ve}from"./chunk-TUX4GOME.js";import{a as J,b,c as he,e as _e}from"./chunk-KQYWJLIW.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{a as De,b as Fe,c as Me,f as Ae,g as Be,j as Re,q as ke}from"./chunk-VP4RI3NG.js";import{b as V}from"./chunk-J37AVTJX.js";import{i as z}from"./chunk-SPMMWGWV.js";import{c as T}from"./chunk-R2HXWLDR.js";import{c as ye,d as we,e as Se,f as Te}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as xe}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{c as y,d as be,e as W}from"./chunk-EBCID5MY.js";import{g as Ee}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as Ie}from"./chunk-SWYVARVN.js";import{r as We}from"./chunk-JJFVMVK7.js";import{c as fe,d as Ce}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{m as S,n as ue,o as ge,t as U}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as i,Ac as _,Bc as c,Ca as h,Cc as x,Da as re,Dc as w,Eb as j,Gb as P,Jb as m,Oc as f,Pc as M,Qb as l,Tb as se,Ub as R,Wb as C,Yb as pe,Zb as ce,_b as me,_c as v,ac as o,bc as u,cc as H,dc as $,ec as D,id as de,lb as n,mb as K,na as g,nd as Q,oc as d,pc as k,qc as F,tc as L,vc as G,wc as N}from"./chunk-O6V6MKDU.js";import{a as B,b as O}from"./chunk-MGAX33HK.js";var Ge=[[["",8,"chart-wrapper"]],"*"],Ne=[".chart-wrapper","*"];function Qe(e,t){e&1&&D(0)}function Ue(e,t){if(e&1&&(i(0,"div",5),m(1,Qe,1,0,"ng-container",6),o()),e&2){let r=d(),p=_(10);n(),l("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetValueTemplate)||p)}}function Je(e,t){e&1&&D(0)}function qe(e,t){if(e&1&&(i(0,"div"),m(1,Je,1,0,"ng-container",6),o()),e&2){let r=d(),p=_(8);n(),l("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetTitleTemplate)||p)}}function Ke(e,t){e&1&&D(0)}function ze(e,t){e&1&&D(0)}function Xe(e,t){if(e&1&&c(0),e&2){let r=d();w(" ",r.title,` +import{a as q}from"./chunk-WYQS275H.js";import{a as X,c as Y}from"./chunk-742PP7K6.js";import{a as ve}from"./chunk-2NTR63DE.js";import{a as J,b,c as he,e as _e}from"./chunk-FDIAV3SM.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{a as De,b as Fe,c as Me,f as Ae,g as Be,j as Re,q as ke}from"./chunk-VP4RI3NG.js";import{b as V}from"./chunk-OLTS3WRU.js";import{i as z}from"./chunk-FULSUUPP.js";import{c as T}from"./chunk-UYIAOCXU.js";import{c as ye,d as we,e as Se,f as Te}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as xe}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{c as y,d as be,e as W}from"./chunk-PZ32EFID.js";import{g as Ee}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as Ie}from"./chunk-MH6VOBXJ.js";import{r as We}from"./chunk-Q5WIR6QR.js";import{c as fe,d as Ce}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{m as S,n as ue,o as ge,t as U}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as i,Ac as _,Bc as c,Ca as h,Cc as x,Da as re,Dc as w,Eb as j,Gb as P,Jb as m,Oc as f,Pc as M,Qb as l,Tb as se,Ub as R,Wb as C,Yb as pe,Zb as ce,_b as me,_c as v,ac as o,bc as u,cc as H,dc as $,ec as D,id as de,lb as n,mb as K,na as g,nd as Q,oc as d,pc as k,qc as F,tc as L,vc as G,wc as N}from"./chunk-6U7QZ4SV.js";import{a as B,b as O}from"./chunk-MGAX33HK.js";var Ge=[[["",8,"chart-wrapper"]],"*"],Ne=[".chart-wrapper","*"];function Qe(e,t){e&1&&D(0)}function Ue(e,t){if(e&1&&(i(0,"div",5),m(1,Qe,1,0,"ng-container",6),o()),e&2){let r=d(),p=_(10);n(),l("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetValueTemplate)||p)}}function Je(e,t){e&1&&D(0)}function qe(e,t){if(e&1&&(i(0,"div"),m(1,Je,1,0,"ng-container",6),o()),e&2){let r=d(),p=_(8);n(),l("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetTitleTemplate)||p)}}function Ke(e,t){e&1&&D(0)}function ze(e,t){e&1&&D(0)}function Xe(e,t){if(e&1&&c(0),e&2){let r=d();w(" ",r.title,` `)}}function Ye(e,t){if(e&1&&c(0),e&2){let r=d();w(" ",r.value,` `)}}function Ze(e,t){e&1&&F(0)}function et(e,t){e&1&&F(0,1)}var ee=(()=>{let t=class t{constructor(){this.templates={}}get hostClasses(){return{card:!0,[`bg-${this.color}`]:!!this.color,"text-white":!!this.color}}get bodyClasses(){return{"pb-0":!0,"d-flex":!0,"justify-content-between":!0,"align-items-start":!0}}ngAfterContentInit(){this.contentTemplates.forEach(p=>{this.templates[p.id]=p.templateRef})}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["c-widget-stat-a"]],contentQueries:function(a,s,E){if(a&1&&L(E,T,5),a&2){let A;G(A=N())&&(s.contentTemplates=A)}},hostVars:2,hostBindings:function(a,s){a&2&&R(s.hostClasses)},inputs:{color:"color",title:"title",value:"value"},exportAs:["cWidgetStatA"],standalone:!0,features:[f],ngContentSelectors:Ne,decls:15,vars:5,consts:[["defaultWidgetTitleTemplate",""],["defaultWidgetValueTemplate",""],["defaultWidgetChartTemplate",""],["defaultWidgetActionTemplate",""],[3,"ngClass"],[1,"fs-4","fw-semibold"],[4,"ngTemplateOutlet"]],template:function(a,s){if(a&1&&(k(Ge),H(0),i(1,"c-card-body",4)(2,"div"),m(3,Ue,2,1,"div",5)(4,qe,2,1,"div"),o(),m(5,Ke,1,0,"ng-container",6),o(),m(6,ze,1,0,"ng-container",6),$(),m(7,Xe,1,1,"ng-template",null,0,v)(9,Ye,1,1,"ng-template",null,1,v)(11,Ze,1,0,"ng-template",null,2,v)(13,et,1,0,"ng-template",null,3,v)),a&2){let E=_(12),A=_(14);n(),l("ngClass",s.bodyClasses),n(2),C(s.value||s.templates!=null&&s.templates.widgetValueTemplate?3:-1),n(),C(s.title||s.templates!=null&&s.templates.widgetTitleTemplate?4:-1),n(),l("ngTemplateOutlet",(s.templates==null?null:s.templates.widgetActionTemplate)||A),n(),l("ngTemplateOutlet",(s.templates==null?null:s.templates.widgetChartTemplate)||E)}},dependencies:[b,S,U],encapsulation:2});let e=t;return e})();var tt=["*"];function nt(e,t){if(e&1&&(i(0,"div",0),c(1),o()),e&2){let r=d();n(),x(r.value)}}function it(e,t){if(e&1&&(i(0,"div"),c(1),o()),e&2){let r=d();n(),x(r.title)}}function ot(e,t){if(e&1&&(i(0,"small",1),c(1),o()),e&2){let r=d();l("ngClass",r.inverse?"text-white text-opacity-75":"text-body-secondary"),n(),w(" ",r.text," ")}}var te=(()=>{let t=class t extends J{constructor(){super(),this.inverse=!1}get hostClasses(){return{card:!0,[`bg-${this.color}`]:!!this.color,[`text-${this.textColor}`]:!!this.textColor,"text-white":!!this.inverse}}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["c-widget-stat-b"]],hostVars:2,hostBindings:function(a,s){a&2&&R(s.hostClasses)},inputs:{color:"color",textColor:"textColor",title:"title",text:"text",value:"value",inverse:[2,"inverse","inverse",Q]},exportAs:["cWidgetStatB"],standalone:!0,features:[P,j,f],ngContentSelectors:tt,decls:5,vars:3,consts:[[1,"fs-4","fw-semibold"],[3,"ngClass"]],template:function(a,s){a&1&&(k(),i(0,"c-card-body"),m(1,nt,2,1,"div",0)(2,it,2,1,"div"),F(3),m(4,ot,2,2,"small",1),o()),a&2&&(n(),C(s.value?1:-1),n(),C(s.title?2:-1),n(2),C(s.text?4:-1))},dependencies:[b,S],encapsulation:2});let e=t;return e})();var at=["*"];function lt(e,t){e&1&&D(0)}function rt(e,t){if(e&1&&(i(0,"div",2),m(1,lt,1,0,"ng-container",3),o()),e&2){let r=d(),p=_(6);l("ngClass",r.iconClasses),n(),l("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetIconTemplate)||p)}}function st(e,t){if(e&1&&(i(0,"div",2),c(1),o()),e&2){let r=d();l("ngClass",r.valueClasses),n(),w(" ",r.value," ")}}function pt(e,t){if(e&1&&(i(0,"div",2),c(1),o()),e&2){let r=d();l("ngClass",r.titleClasses),n(),w(" ",r.title," ")}}function ct(e,t){e&1&&D(0)}function mt(e,t){if(e&1&&m(0,ct,1,0,"ng-container",3),e&2){let r=d(),p=_(8);l("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetProgressTemplate)||p)}}function dt(e,t){if(e&1&&c(0),e&2){let r=d();w(" ",r.icon,` `)}}function ut(e,t){e&1&&F(0)}var ne=(()=>{let t=class t extends J{constructor(){super(),this.inverse=!1,this.templates={}}get hostExtendedClass(){return{"text-white":this.inverse}}get titleClasses(){return{"text-body-secondary":!this.inverse,"text-white":this.inverse,"text-opacity-75":this.inverse,[`text-${this.textColor}`]:!!this.textColor}}get valueClasses(){return O(B({"fs-4":!this.textColor,"fw-semibold":!0},this.titleClasses),{"text-opacity-75":!1})}get iconClasses(){return B({"mb-4":!this.textColor,"text-end":!0},this.titleClasses)}ngAfterContentInit(){this.contentTemplates.forEach(p=>{this.templates[p.id]=p.templateRef})}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["c-widget-stat-c"]],contentQueries:function(a,s,E){if(a&1&&L(E,T,5),a&2){let A;G(A=N())&&(s.contentTemplates=A)}},hostVars:2,hostBindings:function(a,s){a&2&&R(s.hostExtendedClass)},inputs:{icon:"icon",title:"title",value:"value",inverse:[2,"inverse","inverse",Q]},exportAs:["cWidgetStatC"],standalone:!0,features:[P,j,f],ngContentSelectors:at,decls:9,vars:4,consts:[["defaultWidgetIconTemplate",""],["defaultWidgetProgressTemplate",""],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(a,s){a&1&&(k(),i(0,"c-card-body"),m(1,rt,2,2,"div",2)(2,st,2,2,"div",2)(3,pt,2,2,"div",2)(4,mt,1,1,"ng-container"),o(),m(5,dt,1,1,"ng-template",null,0,v)(7,ut,1,0,"ng-template",null,1,v)),a&2&&(n(),C(s.icon||s.templates!=null&&s.templates.widgetIconTemplate?1:-1),n(),C(s.value?2:-1),n(),C(s.title?3:-1),n(),C(s.templates!=null&&s.templates.widgetProgressTemplate?4:-1))},dependencies:[b,S,U],encapsulation:2});let e=t;return e})();var gt=["*"];function ft(e,t){e&1&&u(0,"div",2)}function Ct(e,t){if(e&1&&(m(0,ft,1,0,"div",2),i(1,"c-col")(2,"div",3),c(3),o(),i(4,"div",4),c(5),o()()),e&2){let r=t.$implicit,p=t.$index;C(p%2!==0?0:-1),n(3),x(r.value),n(2),x(r.title)}}var ie=(()=>{let t=class t{constructor(){}get hostClasses(){return{card:!0}}get headerClasses(){return{"position-relative":!0,"d-flex":!0,"justify-content-center":!0,"align-items-center":!0,[`bg-${this.color}`]:this.color}}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["c-widget-stat-d"]],hostVars:2,hostBindings:function(a,s){a&2&&R(s.hostClasses)},inputs:{color:"color",values:"values"},exportAs:["cWidgetStatD"],standalone:!0,features:[f],ngContentSelectors:gt,decls:5,vars:1,consts:[[3,"ngClass"],["cRow","",1,"text-center"],[1,"vr"],[1,"fs-5","fw-semibold"],[1,"text-uppercase","text-body-secondary","small"]],template:function(a,s){a&1&&(k(),i(0,"c-card-header",0),F(1),o(),i(2,"c-card-body",1),ce(3,Ct,6,3,"c-col",null,pe),o()),a&2&&(l("ngClass",s.headerClasses),n(3),me(s.values))},dependencies:[_e,b,y,be,S],encapsulation:2});let e=t;return e})();var xt=["*"];function vt(e,t){if(e&1&&(i(0,"div",1),c(1),o()),e&2){let r=d();l("ngClass",r.titleClasses),n(),x(r.title)}}function ht(e,t){if(e&1&&(i(0,"div",2),c(1),o()),e&2){let r=d();n(),x(r.value)}}var oe=(()=>{let t=class t extends J{constructor(){super()}get titleClasses(){return{"text-body-secondary":!this.textColor,small:!0,"text-uppercase":!0,"fw-semibold":!0,[`text-${this.textColor}`]:!!this.textColor}}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["c-widget-stat-e"]],inputs:{title:"title",value:"value"},exportAs:["cWidgetStatE"],standalone:!0,features:[j,f],ngContentSelectors:xt,decls:4,vars:2,consts:[[1,"text-center"],[3,"ngClass"],[1,"fs-6","fw-semibold","py-3"]],template:function(a,s){a&1&&(k(),i(0,"c-card-body",0),m(1,vt,2,2,"div",1)(2,ht,2,1,"div",2),F(3),o()),a&2&&(n(),C(s.title?1:-1),n(),C(s.value?2:-1))},dependencies:[b,S],encapsulation:2});let e=t;return e})();function _t(e,t){e&1&&D(0)}function yt(e,t){e&1&&D(0)}function wt(e,t){if(e&1&&(i(0,"c-card-footer"),m(1,yt,1,0,"ng-container",3),o()),e&2){let r=d(),p=_(13);n(),l("ngTemplateOutlet",(r.templates==null?null:r.templates.widgetFooterTemplate)||p)}}function St(e,t){if(e&1&&(i(0,"span"),c(1),o()),e&2){let r=d();n(),x(r.icon)}}function Tt(e,t){if(e&1&&(i(0,"span"),c(1),o()),e&2){let r=d();n(),x(r.footer)}}var ae=(()=>{let t=class t{constructor(){this.padding=!1,this.templates={}}get hostClasses(){return{card:!0}}get cardBodyClasses(){return{"d-flex":!0,"align-items-center":!0,"p-0":!this.padding}}get iconClasses(){return{"me-3":!this.textColor,"text-white":!0,[`bg-${this.color}`]:!!this.color,"p-3":this.padding,"p-4":!this.padding}}get titleClasses(){return{"text-body-secondary":!this.textColor,small:!0,"text-uppercase":!0,"fw-semibold":!0,[`text-${this.textColor}`]:!!this.textColor}}get valueClasses(){return{"fs-6":!this.textColor,"fw-semibold":!0,[`text-${this.textColor}`]:!!this.textColor}}ngAfterContentInit(){this.contentTemplates.forEach(p=>{this.templates[p.id]=p.templateRef})}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["c-widget-stat-f"]],contentQueries:function(a,s,E){if(a&1&&L(E,T,5),a&2){let A;G(A=N())&&(s.contentTemplates=A)}},hostVars:2,hostBindings:function(a,s){a&2&&R(s.hostClasses)},inputs:{color:"color",textColor:"textColor",footer:"footer",icon:"icon",padding:[2,"padding","padding",Q],title:"title",value:"value"},exportAs:["cWidgetStatB"],standalone:!0,features:[P,f],decls:14,vars:8,consts:[["defaultWidgetIconTemplate",""],["defaultFooterIconTemplate",""],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(a,s){if(a&1&&(H(0),i(1,"c-card-body",2)(2,"div",2),m(3,_t,1,0,"ng-container",3),o(),i(4,"div")(5,"div",2),c(6),o(),i(7,"div",2),c(8),o()()(),m(9,wt,2,1,"c-card-footer"),$(),m(10,St,2,1,"ng-template",null,0,v)(12,Tt,2,1,"ng-template",null,1,v)),a&2){let E=_(11);n(),l("ngClass",s.cardBodyClasses),n(),l("ngClass",s.iconClasses),n(),l("ngTemplateOutlet",(s.templates==null?null:s.templates.widgetIconTemplate)||E),n(2),l("ngClass",s.valueClasses),n(),x(s.value),n(),l("ngClass",s.titleClasses),n(),x(s.title),n(),C(s.footer||s.templates!=null&&s.templates.widgetFooterTemplate?9:-1)}},dependencies:[b,he,S,U],encapsulation:2});let e=t;return e})();function bt(e,t){if(e&1&&(h(),u(0,"svg",7)),e&2){let r=d();l("cIcon",r.icons.cilChartPie)}}function Wt(e,t){if(e&1&&(h(),u(0,"svg",7)),e&2){let r=d();l("cIcon",r.icons.cilChartPie)}}function It(e,t){if(e&1&&(h(),u(0,"svg",7)),e&2){let r=d();l("cIcon",r.icons.cilChartPie)}}function Et(e,t){if(e&1&&(i(0,"a",8)(1,"div",9)(2,"span"),c(3,"View more"),o(),h(),u(4,"svg",10),o()()),e&2){let r=d();n(4),l("cIcon",r.icons.cilArrowRight)}}function Dt(e,t){if(e&1&&(h(),u(0,"svg",7)),e&2){let r=d();l("cIcon",r.icons.cilChartPie)}}function Ft(e,t){if(e&1&&(i(0,"a",8)(1,"div",9)(2,"span"),c(3,"View more"),o(),h(),u(4,"svg",10),o()()),e&2){let r=d();n(4),l("cIcon",r.icons.cilArrowRight)}}function Mt(e,t){if(e&1&&(h(),u(0,"svg",7)),e&2){let r=d();l("cIcon",r.icons.cilChartPie)}}function At(e,t){if(e&1&&(h(),u(0,"svg",7)),e&2){let r=d();l("cIcon",r.icons.cilChartPie)}}var Ve=(()=>{let t=class t{constructor(){this.icons={cilChartPie:Re,cilArrowRight:Ae}}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["docs-widgets06"]],standalone:!0,features:[f],decls:21,vars:6,consts:[["lg","6","xs","12"],["color","primary","padding","","value","89.9%",1,"mb-3",3,"title"],["cTemplateId","widgetIconTemplate"],["color","warning","padding","","value","89.9%",1,"mb-3",3,"title"],["cTemplateId","widgetFooterTemplate"],["color","primary","value","89.9%",1,"mb-3",3,"title"],["color","warning","value","89.9%",1,"mb-3",3,"title"],["size","xl","width","24",3,"cIcon"],["href","https://coreui.io/angular","target","_blank",1,"font-weight-bold","font-xs","text-medium-emphasis"],[1,"d-flex","align-items-center","justify-content-between"],["width","16",3,"cIcon"]],template:function(a,s){a&1&&(i(0,"c-row")(1,"c-col",0)(2,"c-widget-stat-f",1),m(3,bt,1,1,"ng-template",2),o()(),i(4,"c-col",0)(5,"c-widget-stat-f",3),m(6,Wt,1,1,"ng-template",2),o()(),i(7,"c-col",0)(8,"c-widget-stat-f",1),m(9,It,1,1,"ng-template",2)(10,Et,5,1,"ng-template",4),o()(),i(11,"c-col",0)(12,"c-widget-stat-f",3),m(13,Dt,1,1,"ng-template",2)(14,Ft,5,1,"ng-template",4),o()(),i(15,"c-col",0)(16,"c-widget-stat-f",5),m(17,Mt,1,1,"ng-template",2),o()(),i(18,"c-col",0)(19,"c-widget-stat-f",6),m(20,At,1,1,"ng-template",2),o()()()),a&2&&(n(2),l("title","Widget Title"),n(3),l("title","Widget Title"),n(3),l("title","Widget Title"),n(4),l("title","Widget Title"),n(4),l("title","Widget Title"),n(3),l("title","Widget Title"))},dependencies:[W,y,ae,T,V],encapsulation:2});let e=t;return e})();var Oe=(()=>{let t=class t{constructor(){this.barOptions={maintainAspectRatio:!1,plugins:{legend:{display:!1}},scales:{x:{display:!1},y:{display:!1}}},this.lineOptions={maintainAspectRatio:!1,elements:{line:{tension:.4},point:{radius:0}},plugins:{legend:{display:!1}},scales:{x:{display:!1},y:{display:!1}}},this.data=[{labels:["M","T","W","T","F","S","S","M","T","W","T","F","S","S","M"],datasets:[{backgroundColor:"#321fdb",borderColor:"transparent",borderWidth:1,data:[41,78,51,66,74,42,89,97,87,84,78,88,67,45,47]}]},{labels:["M","T","W","T","F","S","S","M","T","W","T","F","S","S","M"],datasets:[{backgroundColor:"transparent",borderColor:"#321fdb",borderWidth:2,data:[41,78,51,66,74,42,89,97,87,84,78,88,67,45,47],pointBackgroundColor:"#321fdb"}]}]}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["docs-widgets05"]],standalone:!0,features:[f],decls:7,vars:8,consts:[["xs","12","lg","6"],[1,"mb-4",3,"title","value"],["height","40","width","80",1,"mx-auto",3,"data","options"],["type","line","height","40","width","80",1,"mx-auto",3,"data","options"]],template:function(a,s){a&1&&(i(0,"c-row")(1,"c-col",0)(2,"c-widget-stat-e",1),u(3,"c-chart",2),o()(),i(4,"c-col",0)(5,"c-widget-stat-e",1),u(6,"c-chart",3),o()()()),a&2&&(n(2),l("title","Widget Title")("value","1,123"),n(),l("data",s.data[0])("options",s.barOptions),n(2),l("title","Widget Title")("value","1,123"),n(),l("data",s.data[1])("options",s.lineOptions))},dependencies:[W,y,oe,q],encapsulation:2});let e=t;return e})();function Bt(e,t){if(e&1&&(H(0),i(1,"c-chart",6,0),c(3),o(),$()),e&2){let r=_(2),p=d().$implicit,a=d();n(),l("data",p.data)("options",a.chartOptions),n(2),x(r.id)}}function Rt(e,t){if(e&1&&(i(0,"c-col",2)(1,"c-widget-stat-d",3),h(),u(2,"svg",4),m(3,Bt,4,3,"ng-container",5),o()()),e&2){let r,p,a=t.$implicit,s=d();n(),se((r=a.capBg)!==null&&r!==void 0?r:null),l("color",(p=a.color)!==null&&p!==void 0?p:"")("values",a.values),n(),l("cIcon",a.icon),n(),l("ngIf",s.withCharts)}}var je=(()=>{let t=class t{constructor(p){this.changeDetectorRef=p,this.icons={cibFacebook:De,cibLinkedin:Fe,cibTwitter:Me},this.withCharts=!0,this.chartOptions={elements:{line:{tension:.4},point:{radius:0,hitRadius:10,hoverRadius:4,hoverBorderWidth:3}},maintainAspectRatio:!1,plugins:{legend:{display:!1}},scales:{x:{display:!1},y:{display:!1}}},this.labels=["January","February","March","April","May","June","July"],this.datasets={borderWidth:2,fill:!0},this.colors={backgroundColor:"rgba(255,255,255,.1)",borderColor:"rgba(255,255,255,.55)",pointHoverBackgroundColor:"#fff"},this.brandData=[{icon:this.icons.cibFacebook,values:[{title:"friends",value:"89K"},{title:"feeds",value:"459"}],capBg:{"--cui-card-cap-bg":"#3b5998"},labels:[...this.labels],data:{labels:[...this.labels],datasets:[B(O(B({},this.datasets),{data:[65,59,84,84,51,55,40],label:"Facebook"}),this.colors)]}},{icon:this.icons.cibTwitter,values:[{title:"followers",value:"973k"},{title:"tweets",value:"1.792"}],capBg:{"--cui-card-cap-bg":"#00aced"},data:{labels:[...this.labels],datasets:[B(O(B({},this.datasets),{data:[1,13,9,17,34,41,38],label:"Twitter"}),this.colors)]}},{icon:this.icons.cibLinkedin,values:[{title:"contacts",value:"500"},{title:"feeds",value:"1.292"}],capBg:{"--cui-card-cap-bg":"#4875b4"},data:{labels:[...this.labels],datasets:[B(O(B({},this.datasets),{data:[78,81,80,45,34,12,40],label:"LinkedIn"}),this.colors)]}}]}capStyle(p){return p?{"--cui-card-cap-bg":p}:{}}ngAfterContentInit(){this.changeDetectorRef.detectChanges()}};t.\u0275fac=function(a){return new(a||t)(K(de))},t.\u0275cmp=g({type:t,selectors:[["docs-widgets04"]],inputs:{withCharts:"withCharts"},standalone:!0,features:[f],decls:2,vars:1,consts:[["chart","cChart"],["md","12","lg","6","xl","4",4,"ngFor","ngForOf"],["md","12","lg","6","xl","4"],[1,"mb-4",3,"color","values"],["height","52",1,"my-4","text-white",3,"cIcon"],[4,"ngIf"],["type","line",1,"position-absolute","w-100","h-100",3,"data","options"]],template:function(a,s){a&1&&(i(0,"c-row"),m(1,Rt,4,6,"c-col",1),o()),a&2&&(n(),l("ngForOf",s.brandData))},dependencies:[W,ue,y,ie,V,ge,q],encapsulation:2});let e=t;return e})();function kt(e,t){e&1&&(h(),u(0,"svg",5))}function Vt(e,t){e&1&&(i(0,"c-progress",6),u(1,"c-progress-bar",7),o()),e&2&&(n(),l("value",28))}function Ot(e,t){e&1&&(h(),u(0,"svg",5))}function jt(e,t){e&1&&(i(0,"c-progress",8),u(1,"c-progress-bar",9),o()),e&2&&(n(),l("value",28))}var Pe=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["docs-widgets03"]],standalone:!0,features:[f],decls:9,vars:2,consts:[["md","12","xl","6"],["value","28%",1,"mb-4",3,"title"],["cTemplateId","widgetIconTemplate"],["cTemplateId","widgetProgressTemplate"],["color","primary","inverse","","value","28%",1,"mb-4",3,"title"],["cIcon","","height","36","name","cilChartPie"],["thin","",1,"mt-3","mb-0"],["color","primary",3,"value"],["thin","","white","",1,"mt-3","mb-0"],[3,"value"]],template:function(a,s){a&1&&(i(0,"c-row")(1,"c-col",0)(2,"c-widget-stat-c",1),m(3,kt,1,0,"ng-template",2)(4,Vt,2,1,"ng-template",3),o()(),i(5,"c-col",0)(6,"c-widget-stat-c",4),m(7,Ot,1,0,"ng-template",2)(8,jt,2,1,"ng-template",3),o()()()),a&2&&(n(2),l("title","Widget Title"),n(4),l("title","Widget Title"))},dependencies:[W,y,ne,T,V,Y,X],encapsulation:2});let e=t;return e})();var He=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=g({type:t,selectors:[["docs-widgets02"]],standalone:!0,features:[f],decls:16,vars:5,consts:[["widgetStatB1inv","cWidgetStatB"],["md","12","xl","6"],["text","Lorem ipsum dolor sit amet enim.","value","75.9%",1,"mb-4",3,"title"],["thin","",1,"my-2"],["color","success",3,"value"],["color","primary","inverse","","text","Lorem ipsum dolor sit amet enim.","value","75.9%",1,"mb-4",3,"title"],["thin","",1,"my-2",3,"white"],[3,"value"]],template:function(a,s){if(a&1&&(i(0,"c-row")(1,"c-col",1)(2,"c-widget-stat-b",2),u(3,"br")(4,"br")(5,"br"),i(6,"c-progress",3),u(7,"c-progress-bar",4),o()()(),i(8,"c-col",1)(9,"c-widget-stat-b",5,0),u(11,"br")(12,"br")(13,"br"),i(14,"c-progress",6),u(15,"c-progress-bar",7),o()()()()),a&2){let E=_(10);n(2),l("title","Widget title"),n(5),l("value",75.9),n(2),l("title","Widget title"),n(5),l("white",E.inverse),n(),l("value",75.9)}},dependencies:[W,y,te,Y,X],encapsulation:2});let e=t;return e})();var Z=function(e,t){if(!(typeof window>"u")&&!(typeof document>"u")){var r=t??document.body;return window.getComputedStyle(r,null).getPropertyValue(e).replace(/^\s/,"")}};var le=()=>[];function Pt(e,t){if(e&1&&(c(0,` diff --git a/angular/docs/chunk-FULSUUPP.js b/angular/docs/chunk-FULSUUPP.js new file mode 100644 index 00000000000..03657fd1255 --- /dev/null +++ b/angular/docs/chunk-FULSUUPP.js @@ -0,0 +1 @@ +import{d as sr}from"./chunk-54DQ6PNU.js";import{C as Pe,d as er,e as nr,f as wt,g as rr,h as ir,i as bt}from"./chunk-XHR4TYVD.js";import{$ as I,$c as Yn,A as Y,C as et,E as nt,Ea as Ae,Fa as Nn,G as we,Ga as Me,Gb as qn,H as rt,Hb as Vn,I as In,Ib as Ee,L as Ht,La as De,M as W,Ma as Ln,N as be,Na as st,O as An,Oc as Zn,Pb as Bn,R as Mn,U as Dn,V as j,W as Tn,Y as w,a as yn,ad as Xn,b as Rn,bc as Hn,ca as S,cd as Ue,d as ye,da as On,dd as xe,e as Re,ea as En,ed as Jn,f as B,fa as T,g as U,ga as Ie,gd as Kt,ha as _,ia as d,ib as kn,id as Zt,k as H,ka as Un,l as A,la as xn,m as f,mb as $,mc as Wn,n as Rt,na as Pn,nb as zn,nd as Yt,o as Sn,oa as jn,p as wn,pa as Wt,q as y,r as Bt,ra as $n,rb as Te,s as D,sd as tr,t as St,tb as Qt,tc as Gn,u as bn,ua as it,ub as Fn,v as Se,va as k,vc as Qn,wb as Oe,wc as Kn,xa as Gt,xb as _n}from"./chunk-6U7QZ4SV.js";import{a as h,b as M,i as Cn}from"./chunk-MGAX33HK.js";var v="primary",zt=Symbol("RouteTitle"),ke=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i[0]:i}return null}getAll(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function ht(e){return new ke(e)}function Xr(e,t,i){let n=i.path.split("/");if(n.length>e.length||i.pathMatch==="full"&&(t.hasChildren()||n.lengthn[s]===r)}else return e===t}function Cr(e){return e.length>0?e[e.length-1]:null}function Z(e){return Sn(e)?e:Xn(e)?A(Promise.resolve(e)):f(e)}var ti={exact:Rr,subset:Sr},yr={exact:ei,subset:ni,ignored:()=>!0};function or(e,t,i){return ti[i.paths](e.root,t.root,i.matrixParams)&&yr[i.queryParams](e.queryParams,t.queryParams)&&!(i.fragment==="exact"&&e.fragment!==t.fragment)}function ei(e,t){return z(e,t)}function Rr(e,t,i){if(!J(e.segments,t.segments)||!te(e.segments,t.segments,i)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!Rr(e.children[n],t.children[n],i))return!1;return!0}function ni(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>mr(e[i],t[i]))}function Sr(e,t,i){return wr(e,t,t.segments,i)}function wr(e,t,i,n){if(e.segments.length>i.length){let r=e.segments.slice(0,i.length);return!(!J(r,i)||t.hasChildren()||!te(r,i,n))}else if(e.segments.length===i.length){if(!J(e.segments,i)||!te(e.segments,i,n))return!1;for(let r in t.children)if(!e.children[r]||!Sr(e.children[r],t.children[r],n))return!1;return!0}else{let r=i.slice(0,e.segments.length),s=i.slice(e.segments.length);return!J(e.segments,r)||!te(e.segments,r,n)||!e.children[v]?!1:wr(e.children[v],t,s,n)}}function te(e,t,i){return t.every((n,r)=>yr[i](e[r].parameters,n.parameters))}var G=class{constructor(t=new m([],{}),i={},n=null){this.root=t,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ht(this.queryParams),this._queryParamMap}toString(){return si.serialize(this)}},m=class{constructor(t,i){this.segments=t,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ee(this)}},X=class{constructor(t,i){this.path=t,this.parameters=i}get parameterMap(){return this._parameterMap??=ht(this.parameters),this._parameterMap}toString(){return Ir(this)}};function ri(e,t){return J(e,t)&&e.every((i,n)=>z(i.parameters,t[n].parameters))}function J(e,t){return e.length!==t.length?!1:e.every((i,n)=>i.path===t[n].path)}function ii(e,t){let i=[];return Object.entries(e.children).forEach(([n,r])=>{n===v&&(i=i.concat(t(r,n)))}),Object.entries(e.children).forEach(([n,r])=>{n!==v&&(i=i.concat(t(r,n)))}),i}var vt=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>new dt,providedIn:"root"});let e=t;return e})(),dt=class{parse(t){let i=new _e(t);return new G(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(t){let i=`/${It(t.root,!0)}`,n=ci(t.queryParams),r=typeof t.fragment=="string"?`#${oi(t.fragment)}`:"";return`${i}${n}${r}`}},si=new dt;function ee(e){return e.segments.map(t=>Ir(t)).join("/")}function It(e,t){if(!e.hasChildren())return ee(e);if(t){let i=e.children[v]?It(e.children[v],!1):"",n=[];return Object.entries(e.children).forEach(([r,s])=>{r!==v&&n.push(`${r}:${It(s,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=ii(e,(n,r)=>r===v?[It(e.children[v],!1)]:[`${r}:${It(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[v]!=null?`${ee(e)}/${i[0]}`:`${ee(e)}/(${i.join("//")})`}}function br(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xt(e){return br(e).replace(/%3B/gi,";")}function oi(e){return encodeURI(e)}function Fe(e){return br(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ne(e){return decodeURIComponent(e)}function ar(e){return ne(e.replace(/\+/g,"%20"))}function Ir(e){return`${Fe(e.path)}${ai(e.parameters)}`}function ai(e){return Object.entries(e).map(([t,i])=>`;${Fe(t)}=${Fe(i)}`).join("")}function ci(e){let t=Object.entries(e).map(([i,n])=>Array.isArray(n)?n.map(r=>`${Xt(i)}=${Xt(r)}`).join("&"):`${Xt(i)}=${Xt(n)}`).filter(i=>i);return t.length?`?${t.join("&")}`:""}var ui=/^[^\/()?;#]+/;function je(e){let t=e.match(ui);return t?t[0]:""}var li=/^[^\/()?;=#]+/;function hi(e){let t=e.match(li);return t?t[0]:""}var di=/^[^=?&#]+/;function fi(e){let t=e.match(di);return t?t[0]:""}var pi=/^[^&#]+/;function gi(e){let t=e.match(pi);return t?t[0]:""}var _e=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(i).length>0)&&(n[v]=new m(t,i)),n}parseSegment(){let t=je(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(t),new X(ne(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let i=hi(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=je(this.remaining);r&&(n=r,this.capture(n))}t[ne(i)]=ne(n)}parseQueryParam(t){let i=fi(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let o=gi(this.remaining);o&&(n=o,this.capture(n))}let r=ar(i),s=ar(n);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(s)}else t[r]=s}parseParens(t){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=je(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new I(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=v);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[v]:new m([],o),this.consumeOptional("//")}return i}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new I(4011,!1)}};function Ar(e){return e.segments.length>0?new m([],{[v]:e}):e}function Mr(e){let t={};for(let[n,r]of Object.entries(e.children)){let s=Mr(r);if(n===v&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))t[o]=a;else(s.segments.length>0||s.hasChildren())&&(t[n]=s)}let i=new m(e.segments,t);return vi(i)}function vi(e){if(e.numberOfChildren===1&&e.children[v]){let t=e.children[v];return new m(e.segments.concat(t.segments),t.children)}return e}function Et(e){return e instanceof G}function mi(e,t,i=null,n=null){let r=Dr(e);return Tr(r,t,i,n)}function Dr(e){let t;function i(s){let o={};for(let u of s.children){let c=i(u);o[u.outlet]=c}let a=new m(s.url,o);return s===e&&(t=a),a}let n=i(e.root),r=Ar(n);return t??r}function Tr(e,t,i,n){let r=e;for(;r.parent;)r=r.parent;if(t.length===0)return $e(r,r,r,i,n);let s=Ci(t);if(s.toRoot())return $e(r,r,new m([],{}),i,n);let o=yi(s,r,e),a=o.processChildren?Dt(o.segmentGroup,o.index,s.commands):Er(o.segmentGroup,o.index,s.commands);return $e(r,o.segmentGroup,a,i,n)}function re(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ut(e){return typeof e=="object"&&e!=null&&e.outlets}function $e(e,t,i,n,r){let s={};n&&Object.entries(n).forEach(([u,c])=>{s[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let o;e===t?o=i:o=Or(e,t,i);let a=Ar(Mr(o));return new G(a,s,r)}function Or(e,t,i){let n={};return Object.entries(e.children).forEach(([r,s])=>{s===t?n[r]=i:n[r]=Or(s,t,i)}),new m(e.segments,n)}var ie=class{constructor(t,i,n){if(this.isAbsolute=t,this.numberOfDoubleDots=i,this.commands=n,t&&n.length>0&&re(n[0]))throw new I(4003,!1);let r=n.find(Ut);if(r&&r!==Cr(n))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ci(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new ie(!0,0,e);let t=0,i=!1,n=e.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?i=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new ie(i,t,n)}var ct=class{constructor(t,i,n){this.segmentGroup=t,this.processChildren=i,this.index=n}};function yi(e,t,i){if(e.isAbsolute)return new ct(t,!0,0);if(!i)return new ct(t,!1,NaN);if(i.parent===null)return new ct(i,!0,0);let n=re(e.commands[0])?0:1,r=i.segments.length-1+n;return Ri(i,r,e.numberOfDoubleDots)}function Ri(e,t,i){let n=e,r=t,s=i;for(;s>r;){if(s-=r,n=n.parent,!n)throw new I(4005,!1);r=n.segments.length}return new ct(n,!1,r-s)}function Si(e){return Ut(e[0])?e[0].outlets:{[v]:e}}function Er(e,t,i){if(e??=new m([],{}),e.segments.length===0&&e.hasChildren())return Dt(e,t,i);let n=wi(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndexs!==v)&&e.children[v]&&e.numberOfChildren===1&&e.children[v].segments.length===0){let s=Dt(e.children[v],t,i);return new m(e.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=Er(e.children[s],t,o))}),Object.entries(e.children).forEach(([s,o])=>{n[s]===void 0&&(r[s]=o)}),new m(e.segments,r)}}function wi(e,t,i){let n=0,r=t,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let o=e.segments[r],a=i[n];if(Ut(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!ur(u,c,o))return s;n+=2}else{if(!ur(u,{},o))return s;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function qe(e,t,i){let n=e.segments.slice(0,t),r=0;for(;r{typeof n=="string"&&(n=[n]),n!==null&&(t[i]=qe(new m([],{}),0,n))}),t}function cr(e){let t={};return Object.entries(e).forEach(([i,n])=>t[i]=`${n}`),t}function ur(e,t,i){return e==i.path&&z(t,i.parameters)}var Tt="imperative",R=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(R||{}),x=class{constructor(t,i){this.id=t,this.url=i}},ft=class extends x{constructor(t,i,n="imperative",r=null){super(t,i),this.type=R.NavigationStart,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},L=class extends x{constructor(t,i,n){super(t,i),this.urlAfterRedirects=n,this.type=R.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},E=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(E||{}),se=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(se||{}),q=class extends x{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=R.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Q=class extends x{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=R.NavigationSkipped}},xt=class extends x{constructor(t,i,n,r){super(t,i),this.error=n,this.target=r,this.type=R.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},oe=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ve=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Be=class extends x{constructor(t,i,n,r,s){super(t,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s,this.type=R.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},He=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},We=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ge=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qe=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ke=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ze=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ye=class{constructor(t){this.snapshot=t,this.type=R.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xe=class{constructor(t){this.snapshot=t,this.type=R.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ae=class{constructor(t,i,n){this.routerEvent=t,this.position=i,this.anchor=n,this.type=R.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Pt=class{},pt=class{constructor(t,i){this.url=t,this.navigationBehaviorOptions=i}};var Je=class{constructor(t){this.injector=t,this.outlet=null,this.route=null,this.children=new Ft(this.injector),this.attachRef=null}},Ft=(()=>{let t=class t{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let s=this.getOrCreateContext(n);s.outlet=r,this.contexts.set(n,s)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Je(this.parentInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(r){return new(r||t)(_(it))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ce=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let i=this.pathFromRoot(t);return i.length>1?i[i.length-2]:null}children(t){let i=tn(t,this._root);return i?i.children.map(n=>n.value):[]}firstChild(t){let i=tn(t,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(t){let i=en(t,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return en(t,this._root).map(i=>i.value)}};function tn(e,t){if(e===t.value)return t;for(let i of t.children){let n=tn(e,i);if(n)return n}return null}function en(e,t){if(e===t.value)return[t];for(let i of t.children){let n=en(e,i);if(n.length)return n.unshift(t),n}return[]}var O=class{constructor(t,i){this.value=t,this.children=i}toString(){return`TreeNode(${this.value})`}};function at(e){let t={};return e&&e.children.forEach(i=>t[i.value.outlet]=i),t}var ue=class extends ce{constructor(t,i){super(t),this.snapshot=i,hn(this,t)}toString(){return this.snapshot.toString()}};function Ur(e){let t=Ii(e),i=new U([new X("",{})]),n=new U({}),r=new U({}),s=new U({}),o=new U(""),a=new K(i,n,s,o,r,v,e,t.root);return a.snapshot=t.root,new ue(new O(a,[]),t)}function Ii(e){let t={},i={},n={},r="",s=new ut([],t,n,r,i,v,e,null,{});return new he("",new O(s,[]))}var K=class{constructor(t,i,n,r,s,o,a,u){this.urlSubject=t,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(y(c=>c[zt]))??f(void 0),this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(y(t=>ht(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(y(t=>ht(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function le(e,t,i="emptyOnly"){let n,{routeConfig:r}=e;return t!==null&&(i==="always"||r?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:h(h({},t.params),e.params),data:h(h({},t.data),e.data),resolve:h(h(h(h({},e.data),t.data),r?.data),e._resolvedData)}:n={params:h({},e.params),data:h({},e.data),resolve:h(h({},e.data),e._resolvedData??{})},r&&Pr(r)&&(n.resolve[zt]=r.title),n}var ut=class{get title(){return this.data?.[zt]}constructor(t,i,n,r,s,o,a,u,c){this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ht(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ht(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${i}')`}},he=class extends ce{constructor(t,i){super(i),this.url=t,hn(this,i)}toString(){return xr(this._root)}};function hn(e,t){t.value._routerState=e,t.children.forEach(i=>hn(e,i))}function xr(e){let t=e.children.length>0?` { ${e.children.map(xr).join(", ")} } `:"";return`${e.value}${t}`}function Ne(e){if(e.snapshot){let t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,z(t.queryParams,i.queryParams)||e.queryParamsSubject.next(i.queryParams),t.fragment!==i.fragment&&e.fragmentSubject.next(i.fragment),z(t.params,i.params)||e.paramsSubject.next(i.params),Jr(t.url,i.url)||e.urlSubject.next(i.url),z(t.data,i.data)||e.dataSubject.next(i.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function nn(e,t){let i=z(e.params,t.params)&&ri(e.url,t.url),n=!e.parent!=!t.parent;return i&&!n&&(!e.parent||nn(e.parent,t.parent))}function Pr(e){return typeof e.title=="string"||e.title===null}var Ai=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=v,this.activateEvents=new st,this.deactivateEvents=new st,this.attachEvents=new st,this.detachEvents=new st,this.parentContexts=d(Ft),this.location=d(_n),this.changeDetector=d(Zt),this.inputBinder=d(ge,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:s}=n.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=n;let s=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new rn(n,u,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=Wt({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gt]});let e=t;return e})(),rn=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,i,n){this.route=t,this.childContexts=i,this.parent=n}get(t,i){return t===K?this.route:t===Ft?this.childContexts:this.parent.get(t,i)}},ge=new T(""),lr=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,s=Bt([r.queryParams,r.params,r.data]).pipe(j(([o,a,u],c)=>(u=h(h(h({},o),a),u),c===0?f(u):Promise.resolve(u)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=tr(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(n,s)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Mi(e,t,i){let n=jt(e,t._root,i?i._root:void 0);return new ue(n,t)}function jt(e,t,i){if(i&&e.shouldReuseRoute(t.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=t.value;let r=Di(e,t,i);return new O(n,r)}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>jt(e,a)),o}}let n=Ti(t.value),r=t.children.map(s=>jt(e,s));return new O(n,r)}}function Di(e,t,i){return t.children.map(n=>{for(let r of i.children)if(e.shouldReuseRoute(n.value,r.value.snapshot))return jt(e,n,r);return jt(e,n)})}function Ti(e){return new K(new U(e.url),new U(e.params),new U(e.queryParams),new U(e.fragment),new U(e.data),e.outlet,e.component,e)}var $t=class{constructor(t,i){this.redirectTo=t,this.navigationBehaviorOptions=i}},jr="ngNavigationCancelingError";function de(e,t){let{redirectTo:i,navigationBehaviorOptions:n}=Et(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=$r(!1,E.Redirect);return r.url=i,r.navigationBehaviorOptions=n,r}function $r(e,t){let i=new Error(`NavigationCancelingError: ${e||""}`);return i[jr]=!0,i.cancellationCode=t,i}function Oi(e){return Nr(e)&&Et(e.url)}function Nr(e){return!!e&&e[jr]}var Ei=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=Pn({type:t,selectors:[["ng-component"]],standalone:!0,features:[Zn],decls:1,vars:0,template:function(r,s){r&1&&Hn(0,"router-outlet")},dependencies:[Ai],encapsulation:2});let e=t;return e})();function Ui(e,t){return e.providers&&!e._injector&&(e._injector=Ee(e.providers,t,`Route: ${e.path}`)),e._injector??t}function dn(e){let t=e.children&&e.children.map(dn),i=t?M(h({},e),{children:t}):h({},e);return!i.component&&!i.loadComponent&&(t||i.loadChildren)&&i.outlet&&i.outlet!==v&&(i.component=Ei),i}function N(e){return e.outlet||v}function xi(e,t){let i=e.filter(n=>N(n)===t);return i.push(...e.filter(n=>N(n)!==t)),i}function _t(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let i=t.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var Pi=(e,t,i,n)=>y(r=>(new sn(t,r.targetRouterState,r.currentRouterState,i,n).activate(e),r)),sn=class{constructor(t,i,n,r,s){this.routeReuseStrategy=t,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=s}activate(t){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,t),Ne(this.futureState.root),this.activateChildRoutes(i,n,t)}deactivateChildRoutes(t,i,n){let r=at(i);t.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],n),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(r===s)if(r.component){let o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,i,o.children)}else this.deactivateChildRoutes(t,i,n);else s&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(t,i){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,i):this.deactivateRouteAndOutlet(t,i)}detachAndStoreRouteSubtree(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=at(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=at(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,i,n){let r=at(i);t.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],n),this.forwardEvent(new Xe(s.value.snapshot))}),t.children.length&&this.forwardEvent(new Ze(t.value.snapshot))}activateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(Ne(r),r===s)if(r.component){let o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,i,o.children)}else this.activateChildRoutes(t,i,n);else if(r.component){let o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Ne(a.route.value),this.activateChildRoutes(t,null,o.children)}else{let a=_t(r.snapshot);o.attachRef=null,o.route=r,o.injector=a??o.injector,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}},fe=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},lt=class{constructor(t,i){this.component=t,this.route=i}};function ji(e,t,i){let n=e._root,r=t?t._root:null;return At(n,r,i,[n.value])}function $i(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function mt(e,t){let i=Symbol(),n=t.get(e,i);return n===i?typeof e=="function"&&!En(e)?e:t.get(e):n}function At(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=at(t);return e.children.forEach(o=>{Ni(o,s[o.value.outlet],i,n.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>Ot(a,i.getContext(o),r)),r}function Ni(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=t?t.value:null,a=i?i.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let u=Li(o,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new fe(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?At(e,t,a?a.children:null,n,r):At(e,t,i,n,r),u&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new lt(a.outlet.component,o))}else o&&Ot(t,a,r),r.canActivateChecks.push(new fe(n)),s.component?At(e,null,a?a.children:null,n,r):At(e,null,i,n,r);return r}function Li(e,t,i){if(typeof i=="function")return i(e,t);switch(i){case"pathParamsChange":return!J(e.url,t.url);case"pathParamsOrQueryParamsChange":return!J(e.url,t.url)||!z(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nn(e,t)||!z(e.queryParams,t.queryParams);case"paramsChange":default:return!nn(e,t)}}function Ot(e,t,i){let n=at(e),r=e.value;Object.entries(n).forEach(([s,o])=>{r.component?t?Ot(o,t.children.getContext(s),i):Ot(o,null,i):Ot(o,t,i)}),r.component?t&&t.outlet&&t.outlet.isActivated?i.canDeactivateChecks.push(new lt(t.outlet.component,r)):i.canDeactivateChecks.push(new lt(null,r)):i.canDeactivateChecks.push(new lt(null,r))}function qt(e){return typeof e=="function"}function ki(e){return typeof e=="boolean"}function zi(e){return e&&qt(e.canLoad)}function Fi(e){return e&&qt(e.canActivate)}function _i(e){return e&&qt(e.canActivateChild)}function qi(e){return e&&qt(e.canDeactivate)}function Vi(e){return e&&qt(e.canMatch)}function Lr(e){return e instanceof wn||e?.name==="EmptyError"}var Jt=Symbol("INITIAL_VALUE");function gt(){return j(e=>Bt(e.map(t=>t.pipe(rt(1),Dn(Jt)))).pipe(y(t=>{for(let i of t)if(i!==!0){if(i===Jt)return Jt;if(i===!1||Bi(i))return i}return!0}),Y(t=>t!==Jt),rt(1)))}function Bi(e){return Et(e)||e instanceof $t}function Hi(e,t){return D(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?f(M(h({},i),{guardsResult:!0})):Wi(o,n,r,e).pipe(D(a=>a&&ki(a)?Gi(n,s,e,t):f(a)),y(a=>M(h({},i),{guardsResult:a})))})}function Wi(e,t,i,n){return A(e).pipe(D(r=>Xi(r.component,r.route,i,t,n)),W(r=>r!==!0,!0))}function Gi(e,t,i,n){return A(t).pipe(nt(r=>bn(Ki(r.route.parent,n),Qi(r.route,n),Yi(e,r.path,i),Zi(e,r.route,i))),W(r=>r!==!0,!0))}function Qi(e,t){return e!==null&&t&&t(new Ye(e)),f(!0)}function Ki(e,t){return e!==null&&t&&t(new Ke(e)),f(!0)}function Zi(e,t,i){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return f(!0);let r=n.map(s=>Se(()=>{let o=_t(t)??i,a=mt(s,o),u=Fi(a)?a.canActivate(t,e):k(o,()=>a(t,e));return Z(u).pipe(W())}));return f(r).pipe(gt())}function Yi(e,t,i){let n=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>$i(o)).filter(o=>o!==null).map(o=>Se(()=>{let a=o.guards.map(u=>{let c=_t(o.node)??i,l=mt(u,c),g=_i(l)?l.canActivateChild(n,e):k(c,()=>l(n,e));return Z(g).pipe(W())});return f(a).pipe(gt())}));return f(s).pipe(gt())}function Xi(e,t,i,n,r){let s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||s.length===0)return f(!0);let o=s.map(a=>{let u=_t(t)??r,c=mt(a,u),l=qi(c)?c.canDeactivate(e,t,i,n):k(u,()=>c(e,t,i,n));return Z(l).pipe(W())});return f(o).pipe(gt())}function Ji(e,t,i,n){let r=t.canLoad;if(r===void 0||r.length===0)return f(!0);let s=r.map(o=>{let a=mt(o,e),u=zi(a)?a.canLoad(t,i):k(e,()=>a(t,i));return Z(u)});return f(s).pipe(gt(),kr(n))}function kr(e){return Rn(w(t=>{if(typeof t!="boolean")throw de(e,t)}),y(t=>t===!0))}function ts(e,t,i,n){let r=t.canMatch;if(!r||r.length===0)return f(!0);let s=r.map(o=>{let a=mt(o,e),u=Vi(a)?a.canMatch(t,i):k(e,()=>a(t,i));return Z(u)});return f(s).pipe(gt(),kr(n))}var Nt=class{constructor(t){this.segmentGroup=t||null}},Lt=class extends Error{constructor(t){super(),this.urlTree=t}};function ot(e){return Rt(new Nt(e))}function es(e){return Rt(new I(4e3,!1))}function ns(e){return Rt($r(!1,E.GuardRejected))}var on=class{constructor(t,i){this.urlSerializer=t,this.urlTree=i}lineralizeSegments(t,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return f(n);if(r.numberOfChildren>1||!r.children[v])return es(`${t.redirectTo}`);r=r.children[v]}}applyRedirectCommands(t,i,n,r,s){if(typeof i!="string"){let a=i,{queryParams:u,fragment:c,routeConfig:l,url:g,outlet:p,params:C,data:b,title:V}=r,P=k(s,()=>a({params:C,data:b,queryParams:u,fragment:c,routeConfig:l,url:g,outlet:p,title:V}));if(P instanceof G)throw new Lt(P);i=P}let o=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),t,n);if(i[0]==="/")throw new Lt(o);return o}applyRedirectCreateUrlTree(t,i,n,r){let s=this.createSegmentGroup(t,i.root,n,r);return new G(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(t,i){let n={};return Object.entries(t).forEach(([r,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);n[r]=i[a]}else n[r]=s}),n}createSegmentGroup(t,i,n,r){let s=this.createSegments(t,i.segments,n,r),o={};return Object.entries(i.children).forEach(([a,u])=>{o[a]=this.createSegmentGroup(t,u,n,r)}),new m(s,o)}createSegments(t,i,n,r){return i.map(s=>s.path[0]===":"?this.findPosParam(t,s,r):this.findOrReturn(s,n))}findPosParam(t,i,n){let r=n[i.path.substring(1)];if(!r)throw new I(4001,!1);return r}findOrReturn(t,i){let n=0;for(let r of i){if(r.path===t.path)return i.splice(n),r;n++}return t}},an={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rs(e,t,i,n,r){let s=fn(e,t,i);return s.matched?(n=Ui(t,n),ts(n,t,i,r).pipe(y(o=>o===!0?s:h({},an)))):f(s)}function fn(e,t,i){if(t.path==="**")return is(i);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||i.length>0)?h({},an):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(t.matcher||Xr)(i,e,t);if(!r)return h({},an);let s={};Object.entries(r.posParams??{}).forEach(([a,u])=>{s[a]=u.path});let o=r.consumed.length>0?h(h({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function is(e){return{matched:!0,parameters:e.length>0?Cr(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function hr(e,t,i,n){return i.length>0&&as(e,i,n)?{segmentGroup:new m(t,os(n,new m(i,e.children))),slicedSegments:[]}:i.length===0&&cs(e,i,n)?{segmentGroup:new m(e.segments,ss(e,i,n,e.children)),slicedSegments:i}:{segmentGroup:new m(e.segments,e.children),slicedSegments:i}}function ss(e,t,i,n){let r={};for(let s of i)if(ve(e,t,s)&&!n[N(s)]){let o=new m([],{});r[N(s)]=o}return h(h({},n),r)}function os(e,t){let i={};i[v]=t;for(let n of e)if(n.path===""&&N(n)!==v){let r=new m([],{});i[N(n)]=r}return i}function as(e,t,i){return i.some(n=>ve(e,t,n)&&N(n)!==v)}function cs(e,t,i){return i.some(n=>ve(e,t,n))}function ve(e,t,i){return(e.hasChildren()||t.length>0)&&i.pathMatch==="full"?!1:i.path===""}function us(e,t,i,n){return N(e)!==n&&(n===v||!ve(t,i,e))?!1:fn(t,e,i).matched}function ls(e,t,i){return t.length===0&&!e.children[i]}var cn=class{};function hs(e,t,i,n,r,s,o="emptyOnly"){return new un(e,t,i,n,r,o,s).recognize()}var ds=31,un=class{constructor(t,i,n,r,s,o,a){this.injector=t,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new on(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new I(4002,`'${t.segmentGroup}'`)}recognize(){let t=hr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(y(({children:i,rootSnapshot:n})=>{let r=new O(n,i),s=new he("",r),o=mi(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(t){let i=new ut([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),v,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,v,i).pipe(y(n=>({children:n,rootSnapshot:i})),et(n=>{if(n instanceof Lt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Nt?this.noMatchError(n):n}))}processSegmentGroup(t,i,n,r,s){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,i,n,s):this.processSegment(t,i,n,n.segments,r,!0,s).pipe(y(o=>o instanceof O?[o]:[]))}processChildren(t,i,n,r){let s=[];for(let o of Object.keys(n.children))o==="primary"?s.unshift(o):s.push(o);return A(s).pipe(nt(o=>{let a=n.children[o],u=xi(i,o);return this.processSegmentGroup(t,u,a,o,r)}),Mn((o,a)=>(o.push(...a),o)),we(null),An(),D(o=>{if(o===null)return ot(n);let a=zr(o);return fs(a),f(a)}))}processSegment(t,i,n,r,s,o,a){return A(i).pipe(nt(u=>this.processSegmentAgainstRoute(u._injector??t,i,u,n,r,s,o,a).pipe(et(c=>{if(c instanceof Nt)return f(null);throw c}))),W(u=>!!u),et(u=>{if(Lr(u))return ls(n,r,s)?f(new cn):ot(n);throw u}))}processSegmentAgainstRoute(t,i,n,r,s,o,a,u){return us(n,r,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,n,s,o,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,i,n,s,o,u):ot(r):ot(r)}expandSegmentAgainstRouteUsingRedirect(t,i,n,r,s,o,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:g,remainingSegments:p}=fn(i,r,s);if(!u)return ot(i);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ds&&(this.allowRedirects=!1));let C=new ut(s,c,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,dr(r),N(r),r.component??r._loadedComponent??null,r,fr(r)),b=le(C,a,this.paramsInheritanceStrategy);C.params=Object.freeze(b.params),C.data=Object.freeze(b.data);let V=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,g,C,t);return this.applyRedirects.lineralizeSegments(r,V).pipe(D(P=>this.processSegment(t,n,i,P.concat(p),o,!1,a)))}matchSegmentAgainstRoute(t,i,n,r,s,o){let a=rs(i,n,r,t,this.urlSerializer);return n.path==="**"&&(i.children={}),a.pipe(j(u=>u.matched?(t=n._injector??t,this.getChildConfig(t,n,r).pipe(j(({routes:c})=>{let l=n._loadedInjector??t,{parameters:g,consumedSegments:p,remainingSegments:C}=u,b=new ut(p,g,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,dr(n),N(n),n.component??n._loadedComponent??null,n,fr(n)),V=le(b,o,this.paramsInheritanceStrategy);b.params=Object.freeze(V.params),b.data=Object.freeze(V.data);let{segmentGroup:P,slicedSegments:yt}=hr(i,p,C,c);if(yt.length===0&&P.hasChildren())return this.processChildren(l,c,P,b).pipe(y(Vt=>new O(b,Vt)));if(c.length===0&&yt.length===0)return f(new O(b,[]));let Ce=N(n)===s;return this.processSegment(l,c,P,yt,Ce?v:s,!0,b).pipe(y(Vt=>new O(b,Vt instanceof O?[Vt]:[])))}))):ot(i)))}getChildConfig(t,i,n){return i.children?f({routes:i.children,injector:t}):i.loadChildren?i._loadedRoutes!==void 0?f({routes:i._loadedRoutes,injector:i._loadedInjector}):Ji(t,i,n,this.urlSerializer).pipe(D(r=>r?this.configLoader.loadChildren(t,i).pipe(w(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):ns(i))):f({routes:[],injector:t})}};function fs(e){e.sort((t,i)=>t.value.outlet===v?-1:i.value.outlet===v?1:t.value.outlet.localeCompare(i.value.outlet))}function ps(e){let t=e.value.routeConfig;return t&&t.path===""}function zr(e){let t=[],i=new Set;for(let n of e){if(!ps(n)){t.push(n);continue}let r=t.find(s=>n.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):t.push(n)}for(let n of i){let r=zr(n.children);t.push(new O(n.value,r))}return t.filter(n=>!i.has(n))}function dr(e){return e.data||{}}function fr(e){return e.resolve||{}}function gs(e,t,i,n,r,s){return D(o=>hs(e,t,i,n,o.extractedUrl,r,s).pipe(y(({state:a,tree:u})=>M(h({},o),{targetSnapshot:a,urlAfterRedirects:u}))))}function vs(e,t){return D(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return f(i);let s=new Set(r.map(u=>u.route)),o=new Set;for(let u of s)if(!o.has(u))for(let c of Fr(u))o.add(c);let a=0;return A(o).pipe(nt(u=>s.has(u)?ms(u,n,e,t):(u.data=le(u,u.parent,e).resolve,f(void 0))),w(()=>a++),be(1),D(u=>a===o.size?f(i):H))})}function Fr(e){let t=e.children.map(i=>Fr(i)).flat();return[e,...t]}function ms(e,t,i,n){let r=e.routeConfig,s=e._resolve;return r?.title!==void 0&&!Pr(r)&&(s[zt]=r.title),Cs(s,e,t,n).pipe(y(o=>(e._resolvedData=o,e.data=le(e,e.parent,i).resolve,null)))}function Cs(e,t,i,n){let r=ze(e);if(r.length===0)return f({});let s={};return A(r).pipe(D(o=>ys(e[o],t,i,n).pipe(W(),w(a=>{if(a instanceof $t)throw de(new dt,a);s[o]=a}))),be(1),In(s),et(o=>Lr(o)?H:Rt(o)))}function ys(e,t,i,n){let r=_t(t)??n,s=mt(e,r),o=s.resolve?s.resolve(t,i):k(r,()=>s(t,i));return Z(o)}function Le(e){return j(t=>{let i=e(t);return i?A(i).pipe(y(()=>t)):f(t)})}var _r=(()=>{let t=class t{buildTitle(n){let r,s=n.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===v);return r}getResolvedTitleForRoute(n){return n.data[zt]}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(Rs),providedIn:"root"});let e=t;return e})(),Rs=(()=>{let t=class t extends _r{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};t.\u0275fac=function(r){return new(r||t)(_(sr))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ct=new T("",{providedIn:"root",factory:()=>({})}),kt=new T(""),pn=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=d(Kt)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return f(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Z(n.loadComponent()).pipe(y(qr),w(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Ht(()=>{this.componentLoaders.delete(n)})),s=new Re(r,()=>new B).pipe(ye());return this.componentLoaders.set(n,s),s}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return f({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Ss(r,this.compiler,n,this.onLoadEndListener).pipe(Ht(()=>{this.childrenLoaders.delete(r)})),a=new Re(o,()=>new B).pipe(ye());return this.childrenLoaders.set(r,a),a}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ss(e,t,i,n){return Z(e.loadChildren()).pipe(y(qr),D(r=>r instanceof Vn||Array.isArray(r)?f(r):A(t.compileModuleAsync(r))),y(r=>{n&&n(e);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(kt,[],{optional:!0,self:!0}).flat()),{routes:o.map(dn),injector:s}}))}function ws(e){return e&&typeof e=="object"&&"default"in e}function qr(e){return ws(e)?e.default:e}var gn=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(bs),providedIn:"root"});let e=t;return e})(),bs=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Vr=new T(""),Br=new T("");function Is(e,t,i){let n=e.get(Br),r=e.get(er);return e.get(Qt).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),a=r.startViewTransition(()=>(s(),As(e))),{onViewTransitionCreated:u}=n;return u&&k(e,()=>u({transition:a,from:t,to:i})),o})}function As(e){return new Promise(t=>{Oe(()=>setTimeout(t),{injector:e,phase:Fn.Read})})}var Ms=new T(""),me=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new B,this.transitionAbortSubject=new B,this.configLoader=d(pn),this.environmentInjector=d(it),this.urlSerializer=d(vt),this.rootContexts=d(Ft),this.location=d(bt),this.inputBindingEnabled=d(ge,{optional:!0})!==null,this.titleStrategy=d(_r),this.options=d(Ct,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=d(gn),this.createViewTransition=d(Vr,{optional:!0}),this.navigationErrorHandler=d(Ms,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>f(void 0),this.rootComponentType=null;let n=s=>this.events.next(new Ge(s)),r=s=>this.events.next(new Qe(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(M(h(h({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,s){return this.transitions=new U({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Tt,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Y(o=>o.id!==0),y(o=>M(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),j(o=>{let a=!1,u=!1;return f(o).pipe(j(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",E.SupersededByNewNavigation),H;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?M(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&g!=="reload"){let p="";return this.events.next(new Q(c.id,this.urlSerializer.serialize(c.rawUrl),p,se.IgnoredSameUrlNavigation)),c.resolve(!1),H}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return f(c).pipe(j(p=>{let C=this.transitions?.getValue();return this.events.next(new ft(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),C!==this.transitions?.getValue()?H:Promise.resolve(p)}),gs(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),w(p=>{o.targetSnapshot=p.targetSnapshot,o.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=M(h({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let C=new oe(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(C)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:p,extractedUrl:C,source:b,restoredState:V,extras:P}=c,yt=new ft(p,this.urlSerializer.serialize(C),b,V);this.events.next(yt);let Ce=Ur(this.rootComponentType).snapshot;return this.currentTransition=o=M(h({},c),{targetSnapshot:Ce,urlAfterRedirects:C,extras:M(h({},P),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=C,f(o)}else{let p="";return this.events.next(new Q(c.id,this.urlSerializer.serialize(c.extractedUrl),p,se.IgnoredByUrlHandlingStrategy)),c.resolve(!1),H}}),w(c=>{let l=new Ve(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),y(c=>(this.currentTransition=o=M(h({},c),{guards:ji(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),Hi(this.environmentInjector,c=>this.events.next(c)),w(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw de(this.urlSerializer,c.guardsResult);let l=new Be(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),Y(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",E.GuardRejected),!1)),Le(c=>{if(c.guards.canActivateChecks.length)return f(c).pipe(w(l=>{let g=new He(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(g)}),j(l=>{let g=!1;return f(l).pipe(vs(this.paramsInheritanceStrategy,this.environmentInjector),w({next:()=>g=!0,complete:()=>{g||this.cancelNavigationTransition(l,"",E.NoDataFromResolver)}}))}),w(l=>{let g=new We(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(g)}))}),Le(c=>{let l=g=>{let p=[];g.routeConfig?.loadComponent&&!g.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(g.routeConfig).pipe(w(C=>{g.component=C}),y(()=>{})));for(let C of g.children)p.push(...l(C));return p};return Bt(l(c.targetSnapshot.root)).pipe(we(null),rt(1))}),Le(()=>this.afterPreactivation()),j(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,g=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return g?A(g).pipe(y(()=>o)):f(o)}),y(c=>{let l=Mi(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=M(h({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),w(()=>{this.events.next(new Pt)}),Pi(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),rt(1),w({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new L(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Tn(this.transitionAbortSubject.pipe(w(c=>{throw c}))),Ht(()=>{!a&&!u&&this.cancelNavigationTransition(o,"",E.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),et(c=>{if(u=!0,Nr(c))this.events.next(new q(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),Oi(c)?this.events.next(new pt(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let l=new xt(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let g=k(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(g instanceof $t){let{message:p,cancellationCode:C}=de(this.urlSerializer,g);this.events.next(new q(o.id,this.urlSerializer.serialize(o.extractedUrl),p,C)),this.events.next(new pt(g.redirectTo,g.navigationBehaviorOptions))}else{this.events.next(l);let p=n.errorHandler(c);o.resolve(!!p)}}catch(g){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(g)}}return H}))}))}cancelNavigationTransition(n,r,s){let o=new q(n.id,this.urlSerializer.serialize(n.extractedUrl),r,s);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ds(e){return e!==Tt}var Ts=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(Os),providedIn:"root"});let e=t;return e})(),ln=class{shouldDetach(t){return!1}store(t,i){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,i){return t.routeConfig===i.routeConfig}},Os=(()=>{let t=class t extends ln{};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=Ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Hr=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(Es),providedIn:"root"});let e=t;return e})(),Es=(()=>{let t=class t extends Hr{constructor(){super(...arguments),this.location=d(bt),this.urlSerializer=d(vt),this.options=d(Ct,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=d(gn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new G,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ur(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ft)this.stateMemento=this.createStateMemento();else if(n instanceof Q)this.rawUrlTree=r.initialUrl;else if(n instanceof oe){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else n instanceof Pt?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof q&&(n.code===E.GuardRejected||n.code===E.NoDataFromResolver)?this.restoreHistory(r):n instanceof xt?this.restoreHistory(r,!0):n instanceof L&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let s=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=h(h({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=Ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Mt=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Mt||{});function Wr(e,t){e.events.pipe(Y(i=>i instanceof L||i instanceof q||i instanceof xt||i instanceof Q),y(i=>i instanceof L||i instanceof Q?Mt.COMPLETE:(i instanceof q?i.code===E.Redirect||i.code===E.SupersededByNewNavigation:!1)?Mt.REDIRECTING:Mt.FAILED),Y(i=>i!==Mt.REDIRECTING),rt(1)).subscribe(()=>{t()})}function Us(e){throw e}var xs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ps={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},F=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=d(Yn),this.stateManager=d(Hr),this.options=d(Ct,{optional:!0})||{},this.pendingTasks=d(Ln),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=d(me),this.urlSerializer=d(vt),this.location=d(bt),this.urlHandlingStrategy=d(gn),this._events=new B,this.errorHandler=this.options.errorHandler||Us,this.navigated=!1,this.routeReuseStrategy=d(Ts),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=d(kt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!d(ge,{optional:!0}),this.eventsSubscription=new yn,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof q&&r.code!==E.Redirect&&r.code!==E.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof L)this.navigated=!0;else if(r instanceof pt){let a=r.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),c=h({info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ds(s.source)},a);this.scheduleNavigation(u,Tt,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}$s(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Tt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let c=h({},s);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(dn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:u,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:a,g=null;switch(u){case"merge":g=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=o||null}g!==null&&(g=this.removeEmptyProps(g));let p;try{let C=s?s.snapshot:this.routerState.snapshot.root;p=Dr(C)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),p=this.currentUrlTree.root}return Tr(p,n,g,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let s=Et(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,Tt,null,r)}navigate(n,r={skipLocationChange:!1}){return js(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let s;if(r===!0?s=h({},xs):r===!1?s=h({},Ps):s=r,Et(n))return or(this.currentUrlTree,n,s);let o=this.parseUrl(n);return or(this.currentUrlTree,o,s)}removeEmptyProps(n){return Object.entries(n).reduce((r,[s,o])=>(o!=null&&(r[s]=o),r),{})}scheduleNavigation(n,r,s,o,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((p,C)=>{u=p,c=C});let g=this.pendingTasks.add();return Wr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function js(e){for(let t=0;t{let t=class t{constructor(n,r,s,o,a,u){this.router=n,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof L&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,s,o,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(n!==0||r||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:kn(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,n,r):s.removeAttribute(o,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(r){return new(r||t)($(F),$(K),Nn("tabindex"),$(Te),$(De),$(wt))},t.\u0275dir=Wt({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&Wn("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&Bn("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Yt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Yt],replaceUrl:[2,"replaceUrl","replaceUrl",Yt],routerLink:"routerLink"},standalone:!0,features:[qn,Gt]});let e=t;return e})(),yo=(()=>{let t=class t{get isActive(){return this._isActive}constructor(n,r,s,o,a){this.router=n,this.element=r,this.renderer=s,this.cdr=o,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new st,this.routerEventsSubscription=n.events.subscribe(u=>{u instanceof L&&this.update()})}ngAfterContentInit(){f(this.links.changes,f(null)).pipe(St()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=A(n).pipe(St()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(s=>!!s)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=Ns(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>{let o=s.urlTree;return o?n.isActive(o,r):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};t.\u0275fac=function(r){return new(r||t)($(F),$(De),$(Te),$(Zt),$(pr,8))},t.\u0275dir=Wt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,s,o){if(r&1&&Gn(o,pr,5),r&2){let a;Qn(a=Kn())&&(s.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Gt]});let e=t;return e})();function Ns(e){return!!e.paths}var pe=class{};var Ls=(()=>{let t=class t{constructor(n,r,s,o,a){this.router=n,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Y(n=>n instanceof L),nt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let s=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Ee(o.providers,n,`Route: ${o.path}`));let a=o._injector??n,u=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&s.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&s.push(this.processRoutes(u,o.children??o._loadedRoutes))}return A(s).pipe(St())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let s;r.loadChildren&&r.canLoad===void 0?s=this.loader.loadChildren(n,r):s=f(null);let o=s.pipe(D(a=>a===null?f(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return A([o,a]).pipe(St())}else return o})}};t.\u0275fac=function(r){return new(r||t)(_(F),_(Kt),_(it),_(pe),_(pn))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vn=new T(""),Gr=(()=>{let t=class t{constructor(n,r,s,o,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=s,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=d(it),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ft?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof L?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Q&&n.code===se.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ae&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Cn(this,null,function*(){yield new Promise(s=>{setTimeout(()=>{s()}),Oe(()=>{s()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ae(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(r){zn()},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Ro(e,...t){return $n([{provide:kt,multi:!0,useValue:e},[],{provide:K,useFactory:Qr,deps:[F]},{provide:xe,multi:!0,useFactory:Kr},t.map(i=>i.\u0275providers)])}function Qr(e){return e.routerState.root}function tt(e,t){return{\u0275kind:e,\u0275providers:t}}function So(e={}){return tt(4,[{provide:vn,useFactory:()=>{let i=d(Pe),n=d(Qt),r=d(me),s=d(vt);return new Gr(s,r,i,n,e)}}])}function Kr(){let e=d(Me);return t=>{let i=e.get(Jn);if(t!==i.components[0])return;let n=e.get(F),r=e.get(Zr);e.get(mn)===1&&n.initialNavigation(),e.get(Yr,null,Ie.Optional)?.setUpPreloading(),e.get(vn,null,Ie.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Zr=new T("",{factory:()=>new B}),mn=new T("",{providedIn:"root",factory:()=>1});function ks(){return tt(2,[{provide:mn,useValue:0},{provide:Ue,multi:!0,deps:[Me],useFactory:t=>{let i=t.get(nr,Promise.resolve());return()=>i.then(()=>new Promise(n=>{let r=t.get(F),s=t.get(Zr);Wr(r,()=>{n(!0)}),t.get(me).afterPreactivation=()=>(n(!0),s.closed?f(void 0):s),r.initialNavigation()}))}}])}function zs(){return tt(3,[{provide:Ue,multi:!0,useFactory:()=>{let t=d(F);return()=>{t.setUpLocationChangeListener()}}},{provide:mn,useValue:2}])}var Yr=new T("");function Fs(e){return tt(0,[{provide:Yr,useExisting:Ls},{provide:pe,useExisting:e}])}function wo(e){return tt(5,[{provide:Ct,useValue:e}])}function _s(){return tt(8,[lr,{provide:ge,useExisting:lr}])}function qs(e){let t=[{provide:Vr,useValue:Is},{provide:Br,useValue:h({skipNextTransition:!!e?.skipInitialTransition},e)}];return tt(9,t)}var gr=new T("ROUTER_FORROOT_GUARD"),Vs=[bt,{provide:vt,useClass:dt},F,Ft,{provide:K,useFactory:Qr,deps:[F]},pn,[]],bo=(()=>{let t=class t{constructor(n){}static forRoot(n,r){return{ngModule:t,providers:[Vs,[],{provide:kt,multi:!0,useValue:n},{provide:gr,useFactory:Gs,deps:[[F,new Un,new xn]]},{provide:Ct,useValue:r||{}},r?.useHash?Hs():Ws(),Bs(),r?.preloadingStrategy?Fs(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Qs(r):[],r?.bindToComponentInputs?_s().\u0275providers:[],r?.enableViewTransitions?qs().\u0275providers:[],Ks()]}}static forChild(n){return{ngModule:t,providers:[{provide:kt,multi:!0,useValue:n}]}}};t.\u0275fac=function(r){return new(r||t)(_(gr,8))},t.\u0275mod=jn({type:t}),t.\u0275inj=On({});let e=t;return e})();function Bs(){return{provide:vn,useFactory:()=>{let e=d(Pe),t=d(Qt),i=d(Ct),n=d(me),r=d(vt);return i.scrollOffset&&e.setOffset(i.scrollOffset),new Gr(r,n,e,t,i)}}}function Hs(){return{provide:wt,useClass:ir}}function Ws(){return{provide:wt,useClass:rr}}function Gs(e){return"guarded"}function Qs(e){return[e.initialNavigation==="disabled"?zs().\u0275providers:[],e.initialNavigation==="enabledBlocking"?ks().\u0275providers:[]]}var vr=new T("");function Ks(){return[{provide:vr,useFactory:Kr},{provide:xe,multi:!0,useExisting:vr}]}export{vt as a,dt as b,ft as c,L as d,xt as e,Ai as f,_r as g,F as h,pr as i,yo as j,Ro as k,So as l,ks as m,wo as n,qs as o,bo as p}; diff --git a/angular/docs/chunk-PERFRTVS.js b/angular/docs/chunk-FUXYYFQ6.js similarity index 96% rename from angular/docs/chunk-PERFRTVS.js rename to angular/docs/chunk-FUXYYFQ6.js index 0b2e453b966..da351f1054c 100644 --- a/angular/docs/chunk-PERFRTVS.js +++ b/angular/docs/chunk-FUXYYFQ6.js @@ -1 +1 @@ -import{Ub as d,pa as c}from"./chunk-O6V6MKDU.js";import{a}from"./chunk-MGAX33HK.js";var f=(()=>{let t=class t{get hostClasses(){return{[`align-${this.align}`]:!!this.align}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=c({type:t,selectors:[["","cAlign",""]],hostVars:2,hostBindings:function(r,e){r&2&&d(e.hostClasses)},inputs:{align:[0,"cAlign","align"]},standalone:!0});let o=t;return o})();var u=(()=>{let t=class t{get hostClasses(){return{[`bg-${this.color}`]:!!this.color,"bg-gradient":this.gradient}}constructor(){this.color=""}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=c({type:t,selectors:[["","cBgColor",""]],hostVars:2,hostBindings:function(r,e){r&2&&d(e.hostClasses)},inputs:{color:[0,"cBgColor","color"],gradient:"gradient"},standalone:!0});let o=t;return o})();var p=(()=>{let t=class t{constructor(){this.border=!0}get hostClasses(){if(typeof this.border=="boolean")return{border:!0};if(typeof this.border=="number"||typeof this.border=="string")return{border:!0,[`border-${this.border}`]:!0};if(typeof this.border=="object"){let i=a({top:void 0,end:void 0,bottom:void 0,start:void 0,color:void 0},this.border),r=Object.keys(i).filter(n=>i[n]!==void 0),e={};return r.forEach(n=>{let s=i[n];typeof s=="boolean"?e[`border-${n}`]=!0:typeof s=="number"||typeof s=="string"?e[`border-${n}-${s}`]=!0:typeof s=="object"&&("color"in s&&(e[`border-${n}-${s.color}`]=!0),"width"in s&&(e[`border-${n}-${s.width}`]=!0))}),Object.entries(e).length===0?{border:!1}:e}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=c({type:t,selectors:[["","cBorder",""]],hostVars:2,hostBindings:function(r,e){r&2&&d(e.hostClasses)},inputs:{border:[0,"cBorder","border"]},standalone:!0});let o=t;return o})();export{f as a,u as b,p as c}; +import{Ub as d,pa as c}from"./chunk-6U7QZ4SV.js";import{a}from"./chunk-MGAX33HK.js";var f=(()=>{let t=class t{get hostClasses(){return{[`align-${this.align}`]:!!this.align}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=c({type:t,selectors:[["","cAlign",""]],hostVars:2,hostBindings:function(r,e){r&2&&d(e.hostClasses)},inputs:{align:[0,"cAlign","align"]},standalone:!0});let o=t;return o})();var u=(()=>{let t=class t{get hostClasses(){return{[`bg-${this.color}`]:!!this.color,"bg-gradient":this.gradient}}constructor(){this.color=""}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=c({type:t,selectors:[["","cBgColor",""]],hostVars:2,hostBindings:function(r,e){r&2&&d(e.hostClasses)},inputs:{color:[0,"cBgColor","color"],gradient:"gradient"},standalone:!0});let o=t;return o})();var p=(()=>{let t=class t{constructor(){this.border=!0}get hostClasses(){if(typeof this.border=="boolean")return{border:!0};if(typeof this.border=="number"||typeof this.border=="string")return{border:!0,[`border-${this.border}`]:!0};if(typeof this.border=="object"){let i=a({top:void 0,end:void 0,bottom:void 0,start:void 0,color:void 0},this.border),r=Object.keys(i).filter(n=>i[n]!==void 0),e={};return r.forEach(n=>{let s=i[n];typeof s=="boolean"?e[`border-${n}`]=!0:typeof s=="number"||typeof s=="string"?e[`border-${n}-${s}`]=!0:typeof s=="object"&&("color"in s&&(e[`border-${n}-${s.color}`]=!0),"width"in s&&(e[`border-${n}-${s.width}`]=!0))}),Object.entries(e).length===0?{border:!1}:e}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=c({type:t,selectors:[["","cBorder",""]],hostVars:2,hostBindings:function(r,e){r&2&&d(e.hostClasses)},inputs:{border:[0,"cBorder","border"]},standalone:!0});let o=t;return o})();export{f as a,u as b,p as c}; diff --git a/angular/docs/chunk-GHTCDR3O.js b/angular/docs/chunk-FW3F3TZD.js similarity index 96% rename from angular/docs/chunk-GHTCDR3O.js rename to angular/docs/chunk-FW3F3TZD.js index 6a9c23c3c6b..919d4b20eed 100644 --- a/angular/docs/chunk-GHTCDR3O.js +++ b/angular/docs/chunk-FW3F3TZD.js @@ -1 +1 @@ -import{a as O,b as C}from"./chunk-QNSTT6ST.js";import{A as D,B as R,d as g}from"./chunk-FIXU3TFH.js";import{Ia as E,Sa as I,Y as x,ca as l,g as p,ha as b,ia as u,rb as j,rd as N,ub as T,wb as M,zb as v}from"./chunk-O6V6MKDU.js";import{a as y,e as r,f as m,g as f,h as w}from"./chunk-MGAX33HK.js";var V=(()=>{var e;let s=class s{constructor(){m(this,e);this.platformId=u(I),f(this,e,new p({isIntersecting:!1})),this.intersecting$=r(this,e).asObservable(),this.defaultObserverOptions={root:null,rootMargin:"0px",threshold:.2},this.hostElementRefs=new Map}createIntersectionObserver(t,i=this.defaultObserverOptions){if(R(this.platformId)){r(this,e).next({isIntersecting:!0,hostElement:t});return}let n=y(y({},this.defaultObserverOptions),i),d=(o,a)=>{o.forEach(L=>{r(this,e).next({isIntersecting:L.isIntersecting,hostElement:t})})};this.hostElementRefs.set(t,new IntersectionObserver(d,n)),this.hostElementRefs.get(t)?.observe(t.nativeElement)}unobserve(t){this.hostElementRefs.get(t)?.unobserve(t.nativeElement),this.hostElementRefs.set(t,null),this.hostElementRefs.delete(t)}ngOnDestroy(){this.hostElementRefs.forEach((t,i)=>{t?.unobserve(i.nativeElement)})}};e=new WeakMap,s.\u0275fac=function(i){return new(i||s)},s.\u0275prov=l({token:s,factory:s.\u0275fac,providedIn:"root"});let c=s;return c})();var $=(()=>{let e=class e{constructor(){this.renderer=u(j),this.listeners=new Map}setListeners({hostElement:h,trigger:t,callbackOn:i,callbackOff:n,callbackToggle:d}){let o=h.nativeElement,a=Array.isArray(t)?t:t?.split(" ")??[];a?.includes("click")&&typeof d=="function"&&this.listeners.set("click",this.renderer.listen(o,"click",d)),a?.includes("focus")&&typeof i=="function"&&this.listeners.set("focus",this.renderer.listen(o,"focus",i)),a?.includes("focusin")&&(typeof n=="function"&&this.listeners.set("focusout",this.renderer.listen(o,"focusout",n)),typeof i=="function"&&this.listeners.set("focusin",this.renderer.listen(o,"focusin",i))),(a?.includes("click")||a?.includes("focus"))&&typeof n=="function"&&this.listeners.set("blur",this.renderer.listen(o,"blur",n)),a?.includes("hover")&&(typeof i=="function"&&this.listeners.set("mouseenter",this.renderer.listen(o,"mouseenter",i)),typeof n=="function"&&this.listeners.set("mouseleave",this.renderer.listen(o,"mouseleave",n)))}clearListeners(){this.listeners.forEach((h,t)=>{h()}),this.listeners.forEach((h,t)=>{this.listeners.set(t,null)}),this.listeners.clear()}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac});let c=e;return c})();var F=(()=>{var e;let s=class s{constructor(){m(this,e,new Map)}setItem(t,i){r(this,e).set(t,JSON.stringify(i))}getItem(t){return r(this,e).has(t)?JSON.parse(r(this,e).get(t)??"null"):void 0}removeItem(t){r(this,e).delete(t)}clear(){r(this,e).clear()}get length(){return r(this,e).size}key(t){return Array.from(r(this,e).keys())[t]}};e=new WeakMap,s.\u0275fac=function(i){return new(i||s)},s.\u0275prov=l({token:s,factory:s.\u0275fac,providedIn:"root"});let c=s;return c})();var P=(()=>{var e,s;let h=class h{constructor(i,n){m(this,e);m(this,s);this.platformId=i,this.document=n,f(this,s,new p(null)),this.data$=r(this,s).asObservable(),f(this,e,D(this.platformId)&&this.document.defaultView?this.document.defaultView?.localStorage:new F)}setItem(i,n){r(this,e).setItem(i,JSON.stringify(n)),r(this,s).next({key:i,data:n})}getItem(i){let n=JSON.parse(r(this,e).getItem(i)||"null");return r(this,s).next({key:i,data:n}),n}removeItem(i){r(this,e).removeItem(i),r(this,s).next({key:i,data:null})}clear(){r(this,e).clear(),r(this,s).next(null)}};e=new WeakMap,s=new WeakMap,h.\u0275fac=function(n){return new(n||h)(b(I),b(g))},h.\u0275prov=l({token:h,factory:h.\u0275fac,providedIn:"root"});let c=h;return c})();var J=(()=>{var e,s,h,t,A;let n=class n{constructor(){m(this,t);m(this,e);m(this,s);m(this,h);f(this,e,u(E)),f(this,s,u(g)),f(this,h,u(P)),this.eventName=v("ColorSchemeChange"),this.localStorageItemName=v(void 0),this.localStorageItemName$=C(this.localStorageItemName),this.colorMode=v(void 0),this.colorModeEffect=N(()=>{let o=this.colorMode();if(o){let a=this.localStorageItemName();a&&this.setStoredTheme(a,o),w(this,t,A).call(this,o)}}),M(()=>{this.localStorageItemName$.pipe(x(o=>{this.colorMode.set(this.getDefaultScheme(o))}),O(r(this,e))).subscribe()},{phase:T.Read})}getStoredTheme(o){return r(this,h).getItem(o)}setStoredTheme(o,a){return r(this,h).setItem(o,a)}removeStoredTheme(o){r(this,h).removeItem(o)}getDefaultScheme(o){return r(this,s).defaultView===void 0?this.getDatasetTheme():(o&&this.getStoredTheme(o))??this.getDatasetTheme()}getPrefersColorScheme(){return r(this,s).defaultView?.matchMedia("(prefers-color-scheme: dark)").matches?"dark":r(this,s).defaultView?.matchMedia("(prefers-color-scheme: light)").matches?"light":void 0}getDatasetTheme(){return r(this,s).documentElement.dataset.coreuiTheme}};e=new WeakMap,s=new WeakMap,h=new WeakMap,t=new WeakSet,A=function(o){r(this,s).documentElement.dataset.coreuiTheme=o==="auto"?this.getPrefersColorScheme():o;let a=new Event(this.eventName());r(this,s).documentElement.dispatchEvent(a)},n.\u0275fac=function(a){return new(a||n)},n.\u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"});let c=n;return c})();export{V as a,$ as b,J as c}; +import{a as O,b as C}from"./chunk-LZN2HRQX.js";import{A as D,B as R,d as g}from"./chunk-XHR4TYVD.js";import{Ia as E,Sa as I,Y as x,ca as l,g as p,ha as b,ia as u,rb as j,rd as N,ub as T,wb as M,zb as v}from"./chunk-6U7QZ4SV.js";import{a as y,e as r,f as m,g as f,h as w}from"./chunk-MGAX33HK.js";var V=(()=>{var e;let s=class s{constructor(){m(this,e);this.platformId=u(I),f(this,e,new p({isIntersecting:!1})),this.intersecting$=r(this,e).asObservable(),this.defaultObserverOptions={root:null,rootMargin:"0px",threshold:.2},this.hostElementRefs=new Map}createIntersectionObserver(t,i=this.defaultObserverOptions){if(R(this.platformId)){r(this,e).next({isIntersecting:!0,hostElement:t});return}let n=y(y({},this.defaultObserverOptions),i),d=(o,a)=>{o.forEach(L=>{r(this,e).next({isIntersecting:L.isIntersecting,hostElement:t})})};this.hostElementRefs.set(t,new IntersectionObserver(d,n)),this.hostElementRefs.get(t)?.observe(t.nativeElement)}unobserve(t){this.hostElementRefs.get(t)?.unobserve(t.nativeElement),this.hostElementRefs.set(t,null),this.hostElementRefs.delete(t)}ngOnDestroy(){this.hostElementRefs.forEach((t,i)=>{t?.unobserve(i.nativeElement)})}};e=new WeakMap,s.\u0275fac=function(i){return new(i||s)},s.\u0275prov=l({token:s,factory:s.\u0275fac,providedIn:"root"});let c=s;return c})();var $=(()=>{let e=class e{constructor(){this.renderer=u(j),this.listeners=new Map}setListeners({hostElement:h,trigger:t,callbackOn:i,callbackOff:n,callbackToggle:d}){let o=h.nativeElement,a=Array.isArray(t)?t:t?.split(" ")??[];a?.includes("click")&&typeof d=="function"&&this.listeners.set("click",this.renderer.listen(o,"click",d)),a?.includes("focus")&&typeof i=="function"&&this.listeners.set("focus",this.renderer.listen(o,"focus",i)),a?.includes("focusin")&&(typeof n=="function"&&this.listeners.set("focusout",this.renderer.listen(o,"focusout",n)),typeof i=="function"&&this.listeners.set("focusin",this.renderer.listen(o,"focusin",i))),(a?.includes("click")||a?.includes("focus"))&&typeof n=="function"&&this.listeners.set("blur",this.renderer.listen(o,"blur",n)),a?.includes("hover")&&(typeof i=="function"&&this.listeners.set("mouseenter",this.renderer.listen(o,"mouseenter",i)),typeof n=="function"&&this.listeners.set("mouseleave",this.renderer.listen(o,"mouseleave",n)))}clearListeners(){this.listeners.forEach((h,t)=>{h()}),this.listeners.forEach((h,t)=>{this.listeners.set(t,null)}),this.listeners.clear()}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac});let c=e;return c})();var F=(()=>{var e;let s=class s{constructor(){m(this,e,new Map)}setItem(t,i){r(this,e).set(t,JSON.stringify(i))}getItem(t){return r(this,e).has(t)?JSON.parse(r(this,e).get(t)??"null"):void 0}removeItem(t){r(this,e).delete(t)}clear(){r(this,e).clear()}get length(){return r(this,e).size}key(t){return Array.from(r(this,e).keys())[t]}};e=new WeakMap,s.\u0275fac=function(i){return new(i||s)},s.\u0275prov=l({token:s,factory:s.\u0275fac,providedIn:"root"});let c=s;return c})();var P=(()=>{var e,s;let h=class h{constructor(i,n){m(this,e);m(this,s);this.platformId=i,this.document=n,f(this,s,new p(null)),this.data$=r(this,s).asObservable(),f(this,e,D(this.platformId)&&this.document.defaultView?this.document.defaultView?.localStorage:new F)}setItem(i,n){r(this,e).setItem(i,JSON.stringify(n)),r(this,s).next({key:i,data:n})}getItem(i){let n=JSON.parse(r(this,e).getItem(i)||"null");return r(this,s).next({key:i,data:n}),n}removeItem(i){r(this,e).removeItem(i),r(this,s).next({key:i,data:null})}clear(){r(this,e).clear(),r(this,s).next(null)}};e=new WeakMap,s=new WeakMap,h.\u0275fac=function(n){return new(n||h)(b(I),b(g))},h.\u0275prov=l({token:h,factory:h.\u0275fac,providedIn:"root"});let c=h;return c})();var J=(()=>{var e,s,h,t,A;let n=class n{constructor(){m(this,t);m(this,e);m(this,s);m(this,h);f(this,e,u(E)),f(this,s,u(g)),f(this,h,u(P)),this.eventName=v("ColorSchemeChange"),this.localStorageItemName=v(void 0),this.localStorageItemName$=C(this.localStorageItemName),this.colorMode=v(void 0),this.colorModeEffect=N(()=>{let o=this.colorMode();if(o){let a=this.localStorageItemName();a&&this.setStoredTheme(a,o),w(this,t,A).call(this,o)}}),M(()=>{this.localStorageItemName$.pipe(x(o=>{this.colorMode.set(this.getDefaultScheme(o))}),O(r(this,e))).subscribe()},{phase:T.Read})}getStoredTheme(o){return r(this,h).getItem(o)}setStoredTheme(o,a){return r(this,h).setItem(o,a)}removeStoredTheme(o){r(this,h).removeItem(o)}getDefaultScheme(o){return r(this,s).defaultView===void 0?this.getDatasetTheme():(o&&this.getStoredTheme(o))??this.getDatasetTheme()}getPrefersColorScheme(){return r(this,s).defaultView?.matchMedia("(prefers-color-scheme: dark)").matches?"dark":r(this,s).defaultView?.matchMedia("(prefers-color-scheme: light)").matches?"light":void 0}getDatasetTheme(){return r(this,s).documentElement.dataset.coreuiTheme}};e=new WeakMap,s=new WeakMap,h=new WeakMap,t=new WeakSet,A=function(o){r(this,s).documentElement.dataset.coreuiTheme=o==="auto"?this.getPrefersColorScheme():o;let a=new Event(this.eventName());r(this,s).documentElement.dispatchEvent(a)},n.\u0275fac=function(a){return new(a||n)},n.\u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"});let c=n;return c})();export{V as a,$ as b,J as c}; diff --git a/angular/docs/chunk-GFUBTXX2.js b/angular/docs/chunk-GFUBTXX2.js new file mode 100644 index 00000000000..bb0f41cd5e5 --- /dev/null +++ b/angular/docs/chunk-GFUBTXX2.js @@ -0,0 +1 @@ +import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Components"},children:[{path:"",redirectTo:"accordion",pathMatch:"full"},{path:"accordion",loadComponent:()=>import("./chunk-4X6IOLFU.js").then(t=>t.AccordionComponent),data:{label:"Accordion"},title:"Accordion"},{path:"alert",loadComponent:()=>import("./chunk-57PGWH7C.js").then(t=>t.AlertComponent),data:{label:"Alert"},title:"Alert"},{path:"avatar",loadComponent:()=>import("./chunk-SXC6Y67G.js").then(t=>t.AvatarComponent),data:{label:"Avatar"},title:"Avatar"},{path:"badge",loadComponent:()=>import("./chunk-F6VXKCAY.js").then(t=>t.BadgeComponent),data:{label:"Badge"},title:"Badge"},{path:"breadcrumb",loadComponent:()=>import("./chunk-ANRJTFRC.js").then(t=>t.BreadcrumbComponent),data:{label:"Breadcrumb"},title:"Breadcrumb"},{path:"button",loadComponent:()=>import("./chunk-PX3V2ECT.js").then(t=>t.ButtonComponent),data:{label:"Button"},title:"Button"},{path:"button-group",loadComponent:()=>import("./chunk-W6R2HVCP.js").then(t=>t.ButtonGroupComponent),data:{label:"Button Group"},title:"Button Group"},{path:"callout",loadComponent:()=>import("./chunk-N4ROVJSW.js").then(t=>t.CalloutComponent),data:{label:"Callout"},title:"Callout"},{path:"card",loadComponent:()=>import("./chunk-4AIX6Z6D.js").then(t=>t.CardComponent),data:{label:"Card"},title:"Card"},{path:"carousel",loadComponent:()=>import("./chunk-J7HUYUND.js").then(t=>t.CarouselComponent),data:{label:"Carousel"},title:"Carousel"},{path:"close-button",loadComponent:()=>import("./chunk-MTFJ5AR2.js").then(t=>t.CloseButtonComponent),data:{label:"Close Button"},title:"Close Button"},{path:"collapse",loadComponent:()=>import("./chunk-Q654COFM.js").then(t=>t.CollapseComponent),data:{label:"Collapse"},title:"Collapse"},{path:"dropdown",loadComponent:()=>import("./chunk-EZC3DPOO.js").then(t=>t.DropdownComponent),data:{label:"Dropdown"},title:"Dropdown"},{path:"footer",loadComponent:()=>import("./chunk-ZP76RTW2.js").then(t=>t.FooterComponent),data:{label:"Footer"},title:"Footer"},{path:"header",loadComponent:()=>import("./chunk-2GRMDU4I.js").then(t=>t.HeaderComponent),data:{label:"Header"},title:"Header"},{path:"image",loadComponent:()=>import("./chunk-UMPUJRDC.js").then(t=>t.ImageComponent),data:{label:"Image"},title:"Image"},{path:"list-group",loadComponent:()=>import("./chunk-UU6GLZL4.js").then(t=>t.ListGroupComponent),data:{label:"List Group"},title:"List Group"},{path:"loading-button",loadComponent:()=>import("./chunk-A7SE7UTL.js").then(t=>t.LoadingButtonComponent),data:{label:"Loading Button"},title:"Loading Button"},{path:"modal",loadComponent:()=>import("./chunk-J3TSKIFE.js").then(t=>t.ModalComponent),data:{label:"Modal"},title:"Modal"},{path:"nav",loadComponent:()=>import("./chunk-XEJ46ETR.js").then(t=>t.NavComponent),data:{label:"Nav"},title:"Nav"},{path:"navbar",loadComponent:()=>import("./chunk-UDLAPR3G.js").then(t=>t.NavbarComponent),data:{label:"Navbar"},title:"Navbar"},{path:"offcanvas",loadComponent:()=>import("./chunk-OL4HIJQF.js").then(t=>t.OffcanvasComponent),data:{label:"Offcanvas"},title:"Offcanvas"},{path:"pagination",loadComponent:()=>import("./chunk-5WZW3COL.js").then(t=>t.PaginationComponent),data:{label:"Pagination"},title:"Pagination"},{path:"popover",loadComponent:()=>import("./chunk-RGDULBMA.js").then(t=>t.PopoverComponent),data:{label:"Popover"},title:"Popover"},{path:"placeholder",loadComponent:()=>import("./chunk-WZSJYS2F.js").then(t=>t.PlaceholdersComponent),data:{label:"Placeholder"},title:"Placeholder"},{path:"progress",loadComponent:()=>import("./chunk-V7AGZRFC.js").then(t=>t.ProgressComponent),data:{label:"Progress"},title:"Progress"},{path:"smart-pagination",loadComponent:()=>import("./chunk-6KFT7OBF.js").then(t=>t.SmartPaginationComponent),data:{label:"Smart Pagination"},title:"Smart Pagination"},{path:"smart-table",loadComponent:()=>import("./chunk-5YT6LIJX.js").then(t=>t.SmartTableComponent),data:{label:"Smart Table"},title:"Smart Table"},{path:"sidebar",loadComponent:()=>import("./chunk-6V4ODEFP.js").then(t=>t.SidebarDocsComponent),data:{label:"Sidebar"},title:"Sidebar"},{path:"spinner",loadComponent:()=>import("./chunk-XIKXT37U.js").then(t=>t.SpinnerComponent),data:{label:"Spinner"},title:"Spinner"},{path:"table",loadComponent:()=>import("./chunk-DZ5HT6G4.js").then(t=>t.TableComponent),data:{label:"Table"},title:"Table"},{path:"tabs",loadComponent:()=>import("./chunk-6YMP4KPL.js").then(t=>t.TabsComponent),data:{label:"Tabs"},title:"Tabs"},{path:"toast",loadComponent:()=>import("./chunk-OSTLPEBO.js").then(t=>t.ToastComponent),data:{label:"Toast"},title:"Toast"},{path:"tooltip",loadComponent:()=>import("./chunk-RN27QSRB.js").then(t=>t.TooltipComponent),data:{label:"Tooltip"},title:"Tooltip"},{path:"widgets",loadComponent:()=>import("./chunk-FTMIXK42.js").then(t=>t.WidgetsComponent),data:{label:"Widgets"},title:"Widgets"}]}];export{o as routes}; diff --git a/angular/docs/chunk-GK4OZ4RE.js b/angular/docs/chunk-GK4OZ4RE.js new file mode 100644 index 00000000000..33f3804e36f --- /dev/null +++ b/angular/docs/chunk-GK4OZ4RE.js @@ -0,0 +1 @@ +import{a}from"./chunk-3GUKBTAZ.js";import"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";export{a as AdsCarbonComponent}; diff --git a/angular/docs/chunk-DJZIKNDB.js b/angular/docs/chunk-GPCZCGBN.js similarity index 95% rename from angular/docs/chunk-DJZIKNDB.js rename to angular/docs/chunk-GPCZCGBN.js index 10583ce3100..4093354c876 100644 --- a/angular/docs/chunk-DJZIKNDB.js +++ b/angular/docs/chunk-GPCZCGBN.js @@ -1,4 +1,4 @@ -import{a as s}from"./chunk-PSZHWT7N.js";import"./chunk-6VQYNMHT.js";import"./chunk-4EHRG2WJ.js";import{a as re}from"./chunk-YDIXRUSA.js";import"./chunk-C5JPXVV5.js";import{A as te,B as O,e as A,f as j,g as X,i as K,j as Z,l as q,m as z,q as Q,r as ee}from"./chunk-JZLZFTWK.js";import{c as U}from"./chunk-R2HXWLDR.js";import{h as ne}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as Y}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{c as u,e as f}from"./chunk-EBCID5MY.js";import{g as ae}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as ie}from"./chunk-SWYVARVN.js";import{r as oe}from"./chunk-JJFVMVK7.js";import{c as J,d as $}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{k as H,v as I,x as N}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Aa as S,Ac as G,Ba as E,Bc as l,Cc as V,Dc as v,Jb as k,Kc as F,Lc as T,Mc as R,Oc as d,Pc as g,Qb as D,Wc as w,Xc as b,Yc as W,_c as C,ac as o,bc as a,fc as P,lb as m,mb as B,mc as L,na as p,oc as M}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var le=(()=>{let e=class e{ngOnInit(){let r=new Date;this.date=new Date(r.getFullYear(),r.getMonth(),r.getDate())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-date-picker14"]],standalone:!0,features:[d],decls:11,vars:8,consts:[["form","ngForm"],["lg","4"],["name","datePicker",3,"ngModelChange","ngModel"]],template:function(i,c){if(i&1){let y=P();n(0,"c-row")(1,"c-col",1)(2,"form",null,0)(4,"c-date-picker",2),R("ngModelChange",function(_){return S(y),T(c.date,_)||(c.date=_),E(_)}),o()()()(),a(5,"br"),l(6),w(7,"json"),a(8,"br"),l(9),w(10,"date")}if(i&2){let y=G(3);m(4),F("ngModel",c.date),m(2),v(` +import{a as s}from"./chunk-32OODQEU.js";import"./chunk-WFOV5FNG.js";import"./chunk-S3TRUWXX.js";import{a as re}from"./chunk-IV3JRMWS.js";import"./chunk-ZGGOM75Q.js";import{A as te,B as O,e as A,f as j,g as X,i as K,j as Z,l as q,m as z,q as Q,r as ee}from"./chunk-WFHPAILT.js";import{c as U}from"./chunk-UYIAOCXU.js";import{h as ne}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as Y}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{c as u,e as f}from"./chunk-PZ32EFID.js";import{g as ae}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as ie}from"./chunk-MH6VOBXJ.js";import{r as oe}from"./chunk-Q5WIR6QR.js";import{c as J,d as $}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{k as H,v as I,x as N}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Aa as S,Ac as G,Ba as E,Bc as l,Cc as V,Dc as v,Jb as k,Kc as F,Lc as T,Mc as R,Oc as d,Pc as g,Qb as D,Wc as w,Xc as b,Yc as W,_c as C,ac as o,bc as a,fc as P,lb as m,mb as B,mc as L,na as p,oc as M}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var le=(()=>{let e=class e{ngOnInit(){let r=new Date;this.date=new Date(r.getFullYear(),r.getMonth(),r.getDate())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-date-picker14"]],standalone:!0,features:[d],decls:11,vars:8,consts:[["form","ngForm"],["lg","4"],["name","datePicker",3,"ngModelChange","ngModel"]],template:function(i,c){if(i&1){let y=P();n(0,"c-row")(1,"c-col",1)(2,"form",null,0)(4,"c-date-picker",2),R("ngModelChange",function(_){return S(y),T(c.date,_)||(c.date=_),E(_)}),o()()()(),a(5,"br"),l(6),w(7,"json"),a(8,"br"),l(9),w(10,"date")}if(i&2){let y=G(3);m(4),F("ngModel",c.date),m(2),v(` Form value: `,b(7,3,y.value),` `),m(3),v(` datePicker value: `,W(10,5,y.value.datePicker,"fullDate"),` diff --git a/angular/docs/chunk-IWFTLHTS.js b/angular/docs/chunk-H7U6MGBM.js similarity index 97% rename from angular/docs/chunk-IWFTLHTS.js rename to angular/docs/chunk-H7U6MGBM.js index 63767c0561d..52aa73d5f10 100644 --- a/angular/docs/chunk-IWFTLHTS.js +++ b/angular/docs/chunk-H7U6MGBM.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as v}from"./chunk-SWYVARVN.js";import{r as w}from"./chunk-JJFVMVK7.js";import{c as g,d as y}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as r,Bc as e,Cc as l,Gc as h,Hc as f,Ic as d,Oc as b,ac as i,bc as n,lb as o,mb as u,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var S=(()=>{let s=class s{constructor(c,t){this.metaService=c,this.titleService=t,this.title="Sass",this.description="Utilize CoreUI source Sass files to take advantage of variables, maps, mixins, and functions to help you build faster and customize your project."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};s.\u0275fac=function(t){return new(t||s)(u(g),u(y))},s.\u0275cmp=p({type:s,selectors:[["docs-customize-sass"]],standalone:!0,features:[b],decls:37,vars:23,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"]],template:function(t,m){t&1&&(r(0,"h1",0),e(1),i(),r(2,"p",1),e(3),i(),n(4,"docs-ads-carbon-loader"),r(5,"markdown"),e(6,` +import"./chunk-DPZ7BZKP.js";import{a as v}from"./chunk-MH6VOBXJ.js";import{r as w}from"./chunk-Q5WIR6QR.js";import{c as g,d as y}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as r,Bc as e,Cc as l,Gc as h,Hc as f,Ic as d,Oc as b,ac as i,bc as n,lb as o,mb as u,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var S=(()=>{let s=class s{constructor(c,t){this.metaService=c,this.titleService=t,this.title="Sass",this.description="Utilize CoreUI source Sass files to take advantage of variables, maps, mixins, and functions to help you build faster and customize your project."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};s.\u0275fac=function(t){return new(t||s)(u(g),u(y))},s.\u0275cmp=p({type:s,selectors:[["docs-customize-sass"]],standalone:!0,features:[b],decls:37,vars:23,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"]],template:function(t,m){t&1&&(r(0,"h1",0),e(1),i(),r(2,"p",1),e(3),i(),n(4,"docs-ads-carbon-loader"),r(5,"markdown"),e(6,` `),n(7,"br"),e(8,` diff --git a/angular/docs/chunk-J4FX3WSX.js b/angular/docs/chunk-I7ZDH35V.js similarity index 92% rename from angular/docs/chunk-J4FX3WSX.js rename to angular/docs/chunk-I7ZDH35V.js index 47d9721a2f7..d40b8dcc7e2 100644 --- a/angular/docs/chunk-J4FX3WSX.js +++ b/angular/docs/chunk-I7ZDH35V.js @@ -1 +1 @@ -import{$b as p,Bc as d,Cc as u,Oc as h,Pb as a,Ub as l,ac as c,lb as r,na as s}from"./chunk-O6V6MKDU.js";var m=(()=>{let t=class t{constructor(){this.label="Loading...",this.variant="border",this.role="status"}get hostClasses(){return{[`spinner-${this.variant}`]:!0,[`text-${this.color}`]:!!this.color,[`spinner-${this.variant}-${this.size}`]:!!this.size}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s({type:t,selectors:[["c-spinner"]],hostVars:3,hostBindings:function(e,n){e&2&&(a("role",n.role),l(n.hostClasses))},inputs:{color:"color",label:"label",size:"size",variant:"variant",role:"role"},standalone:!0,features:[h],decls:2,vars:1,consts:[[1,"visually-hidden"]],template:function(e,n){e&1&&(p(0,"span",0),d(1),c()),e&2&&(r(),u(n.label))},encapsulation:2});let i=t;return i})();export{m as a}; +import{$b as p,Bc as d,Cc as u,Oc as h,Pb as a,Ub as l,ac as c,lb as r,na as s}from"./chunk-6U7QZ4SV.js";var m=(()=>{let t=class t{constructor(){this.label="Loading...",this.variant="border",this.role="status"}get hostClasses(){return{[`spinner-${this.variant}`]:!0,[`text-${this.color}`]:!!this.color,[`spinner-${this.variant}-${this.size}`]:!!this.size}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s({type:t,selectors:[["c-spinner"]],hostVars:3,hostBindings:function(e,n){e&2&&(a("role",n.role),l(n.hostClasses))},inputs:{color:"color",label:"label",size:"size",variant:"variant",role:"role"},standalone:!0,features:[h],decls:2,vars:1,consts:[[1,"visually-hidden"]],template:function(e,n){e&1&&(p(0,"span",0),d(1),c()),e&2&&(r(),u(n.label))},encapsulation:2});let i=t;return i})();export{m as a}; diff --git a/angular/docs/chunk-3WH63G7J.js b/angular/docs/chunk-IH2HSX2J.js similarity index 85% rename from angular/docs/chunk-3WH63G7J.js rename to angular/docs/chunk-IH2HSX2J.js index 651550b098d..88f559bf90d 100644 --- a/angular/docs/chunk-3WH63G7J.js +++ b/angular/docs/chunk-IH2HSX2J.js @@ -1 +1 @@ -import{Ub as r,pa as i}from"./chunk-O6V6MKDU.js";var l=(()=>{let t=class t{constructor(){this.textBgColor=""}get hostClasses(){let o=this.textBgColor;return{[`text-bg-${o}`]:!!o}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i({type:t,selectors:[["","cTextBgColor",""]],hostVars:2,hostBindings:function(e,n){e&2&&r(n.hostClasses)},inputs:{textBgColor:[0,"cTextBgColor","textBgColor"]},standalone:!0});let s=t;return s})();export{l as a}; +import{Ub as r,pa as i}from"./chunk-6U7QZ4SV.js";var l=(()=>{let t=class t{constructor(){this.textBgColor=""}get hostClasses(){let o=this.textBgColor;return{[`text-bg-${o}`]:!!o}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i({type:t,selectors:[["","cTextBgColor",""]],hostVars:2,hostBindings:function(e,n){e&2&&r(n.hostClasses)},inputs:{textBgColor:[0,"cTextBgColor","textBgColor"]},standalone:!0});let s=t;return s})();export{l as a}; diff --git a/angular/docs/chunk-VFZJZ6TQ.js b/angular/docs/chunk-IOGNNEEH.js similarity index 89% rename from angular/docs/chunk-VFZJZ6TQ.js rename to angular/docs/chunk-IOGNNEEH.js index 800b31b40e1..0e01a100803 100644 --- a/angular/docs/chunk-VFZJZ6TQ.js +++ b/angular/docs/chunk-IOGNNEEH.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as f}from"./chunk-SWYVARVN.js";import{r as b}from"./chunk-JJFVMVK7.js";import{c as g,d as h}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as e,Cc as m,Oc as p,ac as n,bc as i,lb as s,mb as d,na as u}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var w=(()=>{let o=class o{constructor(l,r){this.metaService=l,this.titleService=r,this.title="Download CoreUI Angular Templates",this.description="Download CoreUI Angular Admin Templates to get the source code that lets you customize and create your angular-based application."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};o.\u0275fac=function(r){return new(r||o)(d(g),d(h))},o.\u0275cmp=u({type:o,selectors:[["docs-download"]],standalone:!0,features:[p],decls:32,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["href","https://coreui.io/product/free-angular-admin-template/","target","_blank",1,"btn","btn-primary"],["href","https://coreui.io/download/","target","_blank","type","button",1,"btn","btn-primary"],["href","https://coreui.io/pricing/","target","_blank","type","button",1,"btn","btn-primary"]],template:function(r,c){r&1&&(t(0,"h1",0),e(1),n(),t(2,"p",1),e(3),n(),i(4,"docs-ads-carbon-loader"),t(5,"markdown"),e(6,` +import"./chunk-DPZ7BZKP.js";import{a as f}from"./chunk-MH6VOBXJ.js";import{r as b}from"./chunk-Q5WIR6QR.js";import{c as g,d as h}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as e,Cc as m,Oc as p,ac as n,bc as i,lb as s,mb as d,na as u}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var w=(()=>{let o=class o{constructor(l,r){this.metaService=l,this.titleService=r,this.title="Download CoreUI Angular Templates",this.description="Download CoreUI Angular Admin Templates to get the source code that lets you customize and create your angular-based application."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};o.\u0275fac=function(r){return new(r||o)(d(g),d(h))},o.\u0275cmp=u({type:o,selectors:[["docs-download"]],standalone:!0,features:[p],decls:32,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["href","https://coreui.io/product/free-angular-admin-template/","target","_blank",1,"btn","btn-primary"],["href","https://coreui.io/download/","target","_blank","type","button",1,"btn","btn-primary"],["href","https://coreui.io/pricing/","target","_blank","type","button",1,"btn","btn-primary"]],template:function(r,c){r&1&&(t(0,"h1",0),e(1),n(),t(2,"p",1),e(3),n(),i(4,"docs-ads-carbon-loader"),t(5,"markdown"),e(6,` ## Source files diff --git a/angular/docs/chunk-UOPZPZQW.js b/angular/docs/chunk-IP4ISBZD.js similarity index 96% rename from angular/docs/chunk-UOPZPZQW.js rename to angular/docs/chunk-IP4ISBZD.js index 763dd6c4048..c757e40737d 100644 --- a/angular/docs/chunk-UOPZPZQW.js +++ b/angular/docs/chunk-IP4ISBZD.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as f}from"./chunk-SWYVARVN.js";import{r as w}from"./chunk-JJFVMVK7.js";import{c as b,d as g}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as e,Cc as p,Oc as h,ac as n,bc as x,lb as l,mb as m,na as u,ya as s,za as r}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var E=(()=>{let i=class i{constructor(d,a){this.metaService=d,this.titleService=a,this.title="Angular Breakpoints",this.description="Breakpoints are the triggers in CoreUI for Angular for how your layout responsive changes across device or viewport sizes."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(a){return new(a||i)(m(b),m(g))},i.\u0275cmp=u({type:i,selectors:[["docs-breakpoints"]],standalone:!0,features:[h],decls:85,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"api-table","table-responsive"],[1,"table"],[1,"callout","callout-warning"],["href","https://www.w3.org/TR/mediaqueries-4/#range-context"],["href","https://www.w3.org/TR/mediaqueries-4/#mq-min-max"]],template:function(a,c){a&1&&(t(0,"h1",0),e(1),n(),t(2,"p",1),e(3),n(),x(4,"docs-ads-carbon-loader"),t(5,"markdown"),r(),e(6,` +import"./chunk-DPZ7BZKP.js";import{a as f}from"./chunk-MH6VOBXJ.js";import{r as w}from"./chunk-Q5WIR6QR.js";import{c as b,d as g}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as e,Cc as p,Oc as h,ac as n,bc as x,lb as l,mb as m,na as u,ya as s,za as r}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var E=(()=>{let i=class i{constructor(d,a){this.metaService=d,this.titleService=a,this.title="Angular Breakpoints",this.description="Breakpoints are the triggers in CoreUI for Angular for how your layout responsive changes across device or viewport sizes."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(a){return new(a||i)(m(b),m(g))},i.\u0275cmp=u({type:i,selectors:[["docs-breakpoints"]],standalone:!0,features:[h],decls:85,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"api-table","table-responsive"],[1,"table"],[1,"callout","callout-warning"],["href","https://www.w3.org/TR/mediaqueries-4/#range-context"],["href","https://www.w3.org/TR/mediaqueries-4/#mq-min-max"]],template:function(a,c){a&1&&(t(0,"h1",0),e(1),n(),t(2,"p",1),e(3),n(),x(4,"docs-ads-carbon-loader"),t(5,"markdown"),r(),e(6,` ## Core concepts diff --git a/angular/docs/chunk-YDIXRUSA.js b/angular/docs/chunk-IV3JRMWS.js similarity index 92% rename from angular/docs/chunk-YDIXRUSA.js rename to angular/docs/chunk-IV3JRMWS.js index 49b30ce8f3a..3eec77f5a66 100644 --- a/angular/docs/chunk-YDIXRUSA.js +++ b/angular/docs/chunk-IV3JRMWS.js @@ -1 +1 @@ -import{$b as r,Bc as t,Dc as s,Oc as m,ac as o,lb as i,na as p}from"./chunk-O6V6MKDU.js";var c=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-banner-pro"]],standalone:!0,features:[m],decls:8,vars:2,consts:[[1,"bg-danger","bg-opacity-10","border-start","border-start-5","border-start-danger","p-4","pb-3","mb-5"],[1,"mb-4"],["href","https://coreui.io/pricing/?framework=angular&docs=coreui-banner-pro","target","_blank"]],template:function(n,l){n&1&&(r(0,"div",0)(1,"h3",1),t(2,"CoreUI PRO Component"),o(),r(3,"p"),t(4),r(5,"a",2),t(6," CoreUI PRO "),o(),t(7),o()()),n&2&&(i(4),s(" To use this component you must have a CoreUI PRO license. Buy the"," "," "),i(3),s(""," ","and get access to all PRO components, features, templates, and dedicated support. "))}});let a=e;return a})();export{c as a}; +import{$b as r,Bc as t,Dc as s,Oc as m,ac as o,lb as i,na as p}from"./chunk-6U7QZ4SV.js";var c=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-banner-pro"]],standalone:!0,features:[m],decls:8,vars:2,consts:[[1,"bg-danger","bg-opacity-10","border-start","border-start-5","border-start-danger","p-4","pb-3","mb-5"],[1,"mb-4"],["href","https://coreui.io/pricing/?framework=angular&docs=coreui-banner-pro","target","_blank"]],template:function(n,l){n&1&&(r(0,"div",0)(1,"h3",1),t(2,"CoreUI PRO Component"),o(),r(3,"p"),t(4),r(5,"a",2),t(6," CoreUI PRO "),o(),t(7),o()()),n&2&&(i(4),s(" To use this component you must have a CoreUI PRO license. Buy the"," "," "),i(3),s(""," ","and get access to all PRO components, features, templates, and dedicated support. "))}});let a=e;return a})();export{c as a}; diff --git a/angular/docs/chunk-6ZZ3DAQX.js b/angular/docs/chunk-J3TSKIFE.js similarity index 97% rename from angular/docs/chunk-6ZZ3DAQX.js rename to angular/docs/chunk-J3TSKIFE.js index 932809f167d..8916cbc73b7 100644 --- a/angular/docs/chunk-6ZZ3DAQX.js +++ b/angular/docs/chunk-J3TSKIFE.js @@ -1,4 +1,4 @@ -import{a as we}from"./chunk-KCYAHR4C.js";import{a as Fe}from"./chunk-3ZOCGJ4B.js";import{a as He}from"./chunk-FZ7UQHE3.js";import"./chunk-GHTCDR3O.js";import{i as xe}from"./chunk-SPMMWGWV.js";import"./chunk-QUYVWFHK.js";import{a as x,b as E}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as je}from"./chunk-QWXOJRTG.js";import{a as De,j as Be,k as _e,m as ke}from"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import{c as Ce,d as Ee,g as oe,h as ne,i as Te}from"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as qe}from"./chunk-SWYVARVN.js";import{r as Pe}from"./chunk-JJFVMVK7.js";import{c as ye,d as Se}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{d as Me,t as $}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Ac as f,Bc as o,Cc as te,Dc as ve,Gb as pe,Ia as de,Jb as z,La as X,Na as ce,Oc as g,Pb as ge,Pc as w,Qb as a,Ub as _,_c as R,ac as e,bc as u,ca as se,ec as N,f as re,hc as fe,ia as J,jb as me,lb as r,mb as L,mc as V,na as p,nc as he,nd as U,pa as Q,pc as P,qc as q,rb as ue,rd as be,uc as G,vc as Z,wc as ee,zb as Y}from"./chunk-O6V6MKDU.js";import{e as B,f as O,g as H}from"./chunk-MGAX33HK.js";var Ye=["*"],b=(()=>{let n=class n{get hostClasses(){return{"modal-body":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-body"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:Ye,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},styles:["[_nghost-%COMP%]{display:block}"]});let l=n;return l})();var Ge=["*"],ie=(()=>{let n=class n{get hostClasses(){return{"modal-content":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-content"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:Ge,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},encapsulation:2});let l=n;return l})();var Ze=["*"],Ie=(()=>{let n=class n{get hostClasses(){return{"modal-dialog":!0,"modal-dialog-centered":this.alignment==="center","modal-fullscreen":this.fullscreen===!0,[`modal-fullscreen-${this.fullscreen}-down`]:this.fullscreen,"modal-dialog-scrollable":this.scrollable,[`modal-${this.size}`]:this.size}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-dialog"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},inputs:{alignment:"alignment",fullscreen:"fullscreen",scrollable:"scrollable",size:"size"},standalone:!0,features:[g],ngContentSelectors:Ze,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},styles:["[_nghost-%COMP%]{display:block}.modal-dialog-centered[_nghost-%COMP%]{display:flex}"]});let l=n;return l})();var K=(()=>{let n=class n{constructor(){this.modalState=new re,this.modalState$=this.modalState.asObservable()}toggle(s){this.modalState.next(s)}};n.\u0275fac=function(i){return new(i||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"});let l=n;return l})();var D=(()=>{let n=class n{constructor(s){this.modalService=s}dismiss(s){s.preventDefault(),this.modalService.toggle({show:"toggle",id:this.id})}};n.\u0275fac=function(i){return new(i||n)(L(K))},n.\u0275dir=Q({type:n,selectors:[["","cModalToggle",""]],hostBindings:function(i,d){i&1&&V("click",function(h){return d.dismiss(h)})},inputs:{id:[0,"cModalToggle","id"]},standalone:!0});let l=n;return l})();var et=["*"],C=(()=>{let n=class n{get hostClasses(){return{"modal-footer":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-footer"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:et,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},encapsulation:2});let l=n;return l})();var tt=["*"],M=(()=>{let n=class n{get hostClasses(){return{"modal-header":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-header"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:tt,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},encapsulation:2});let l=n;return l})();var y=(()=>{let n=class n{get hostClasses(){return{"modal-title":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=Q({type:n,selectors:[["","cModalTitle",""]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0});let l=n;return l})();var ot=["modalContentRef"],nt=["*"],S=(()=>{var n,W,s,i,d,c,h,F;let A=class A{constructor(m,k,v,j,I){O(this,n);O(this,W);O(this,s);O(this,i);O(this,d);O(this,c);O(this,h);O(this,F);this.document=m,this.renderer=k,this.hostElement=v,this.modalService=j,this.backdropService=I,H(this,n,J(de)),H(this,W,J(_e)),this.alignment="top",this.backdrop=!0,this.keyboard=!0,this.transition=!0,this.role="dialog",H(this,s,null),this.scrollable=!1,H(this,i,Y(!1)),H(this,d,null),H(this,c,be(()=>{B(this,i).call(this)&&B(this,F).call(this)?(H(this,d,this.document.activeElement),setTimeout(()=>{let ae=this.modalContentRef.nativeElement.querySelectorAll('[tabindex]:not([tabindex="-1"]), button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled])');ae.length&&B(this,W).focusVia(ae[0],"keyboard")})):this.document.contains(B(this,d))&&setTimeout(()=>{B(this,d)?.focus(),H(this,d,null)})})),this.visibleChange=new ce,this._show=!0,this.mouseDownTarget=null,H(this,F,Y(!1))}set ariaModal(m){H(this,s,m)}get ariaModal(){return this.visible||B(this,s)?!0:null}set visible(m){B(this,i).call(this)!==m&&(B(this,i).set(m),this.setBackdrop(this.backdrop!==!1&&m),this.setBodyStyles(m),this.visibleChange.emit(m))}get visible(){return B(this,i).call(this)}get hostClasses(){return{modal:!0,fade:this.transition,show:this.show}}get ariaHidden(){return this.visible?null:!0}get tabIndex(){return"-1"}get animateTrigger(){return this.visible?"visible":"hidden"}get show(){return this.visible&&this._show}set show(m){this._show=m}animateStart(m){m.toState==="visible"?(this.backdropService.hideScrollbar(),this.renderer.setStyle(this.hostElement.nativeElement,"display","block")):this.transition||this.renderer.setStyle(this.hostElement.nativeElement,"display","none")}animateDone(m){setTimeout(()=>{m.toState==="hidden"&&this.renderer.setStyle(this.hostElement.nativeElement,"display","none")}),this.show=this.visible}onKeyDownHandler(m){m.key==="Escape"&&this.keyboard&&this.visible&&(this.backdrop==="static"?this.setStaticBackdrop():this.modalService.toggle({show:!1,modal:this}))}onMouseDownHandler(m){this.mouseDownTarget=m.target}onClickHandler(m){if(this.mouseDownTarget!==m.target){this.mouseDownTarget=null;return}if(m.target===this.hostElement.nativeElement){if(this.backdrop==="static"){this.setStaticBackdrop();return}this.modalService.toggle({show:!1,modal:this})}}ngOnInit(){this.stateToggleSubscribe()}ngAfterViewInit(){B(this,F).set(!0)}ngOnDestroy(){this.modalService.toggle({show:!1,modal:this}),B(this,F).set(!1)}stateToggleSubscribe(){this.modalService.modalState$.pipe(De(B(this,n))).subscribe(m=>{this===m.modal||this.id===m.id?"show"in m&&(this.visible=m?.show==="toggle"?!this.visible:m.show):this.visible&&(this.visible=!1)})}setBackdrop(m){H(this,h,m?this.backdropService.setBackdrop("modal"):this.backdropService.clearBackdrop(B(this,h)))}setBodyStyles(m){m?this.backdrop===!0&&this.renderer.addClass(this.document.body,"modal-open"):this.renderer.removeClass(this.document.body,"modal-open")}setStaticBackdrop(){this.transition&&(this.renderer.addClass(this.hostElement.nativeElement,"modal-static"),this.renderer.setStyle(this.hostElement.nativeElement,"overflow-y","hidden"),setTimeout(()=>{this.renderer.removeClass(this.hostElement.nativeElement,"modal-static"),this.renderer.removeStyle(this.hostElement.nativeElement,"overflow-y")},300))}};n=new WeakMap,W=new WeakMap,s=new WeakMap,i=new WeakMap,d=new WeakMap,c=new WeakMap,h=new WeakMap,F=new WeakMap,A.\u0275fac=function(k){return new(k||A)(L(Me),L(ue),L(X),L(K),L(we))},A.\u0275cmp=p({type:A,selectors:[["c-modal"]],viewQuery:function(k,v){if(k&1&&(G(ie,5,X),G(ot,5,X)),k&2){let j;Z(j=ee())&&(v.modalContent=j.first),Z(j=ee())&&(v.modalContentRef=j.first)}},hostVars:7,hostBindings:function(k,v){k&1&&(he("@showHide.start",function(I){return v.animateStart(I)})("@showHide.done",function(I){return v.animateDone(I)}),V("keyup",function(I){return v.onKeyDownHandler(I)},!1,me)("mousedown",function(I){return v.onMouseDownHandler(I)})("click",function(I){return v.onClickHandler(I)})),k&2&&(fe("@showHide",v.animateTrigger),ge("role",v.role)("aria-modal",v.ariaModal)("aria-hidden",v.ariaHidden)("tabindex",v.tabIndex),_(v.hostClasses))},inputs:{alignment:"alignment",backdrop:"backdrop",fullscreen:"fullscreen",keyboard:[2,"keyboard","keyboard",U],id:"id",size:"size",transition:[2,"transition","transition",U],role:"role",ariaModal:"ariaModal",scrollable:[2,"scrollable","scrollable",U],visible:[2,"visible","visible",U]},outputs:{visibleChange:"visibleChange"},exportAs:["cModal"],standalone:!0,features:[pe,g],ngContentSelectors:nt,decls:5,vars:6,consts:[["modalContentRef",""],[3,"alignment","fullscreen","scrollable","size"],[2,"display","contents",3,"cdkTrapFocus","cdkTrapFocusAutoCapture"]],template:function(k,v){k&1&&(P(),t(0,"c-modal-dialog",1)(1,"c-modal-content")(2,"div",2,0),q(4),e()()()),k&2&&(a("alignment",v.alignment)("fullscreen",v.fullscreen)("scrollable",v.scrollable)("size",v.size),r(2),a("cdkTrapFocus",v.visible)("cdkTrapFocusAutoCapture",v.visible))},dependencies:[Ie,ie,ke,Be],encapsulation:2,data:{animation:[Ce("showHide",[ne("visible",oe({})),ne("hidden",oe({})),Te("visible <=> *",[Ee("150ms")])])]}});let l=A;return l})();var Ae=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal10"]],standalone:!0,features:[g],decls:63,vars:14,consts:[["fullScreen",""],["fullScreenSm",""],["fullScreenMd",""],["fullScreenLg",""],["fullScreenXl",""],["fullScreen2Xl",""],["cButton","",3,"cModalToggle"],["id","fullScreen",3,"fullscreen"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["fullscreen","sm","id","fullScreenSm"],["fullscreen","md","id","fullScreenMd"],["fullscreen","lg","id","fullScreenLg"],["fullscreen","xl","id","fullScreenXl"],["fullscreen","xxl","id","fullScreen2Xl"]],template:function(i,d){if(i&1&&(t(0,"button",6),o(1,"Full screen"),e(),t(2,"button",6),o(3,"Full screen below sm"),e(),t(4,"button",6),o(5,"Full screen below md"),e(),t(6,"button",6),o(7,"Full screen below lg"),e(),t(8,"button",6),o(9,"Full screen below xl"),e(),t(10,"button",6),o(11,"Full screen below xxl"),e(),t(12,"c-modal",7,0)(14,"c-modal-header")(15,"h5",8),o(16,"Full screen"),e(),u(17,"button",9),e(),t(18,"c-modal-body"),o(19,"..."),e(),t(20,"c-modal-footer")(21,"button",6),o(22,"Close"),e()()(),t(23,"c-modal",10,1)(25,"c-modal-header")(26,"h5",8),o(27,"Full screen below sm"),e(),u(28,"button",9),e(),t(29,"c-modal-body"),o(30,"..."),e()(),t(31,"c-modal",11,2)(33,"c-modal-header")(34,"h5",8),o(35,"Full screen below md"),e(),u(36,"button",9),e(),t(37,"c-modal-body"),o(38,"..."),e()(),t(39,"c-modal",12,3)(41,"c-modal-header")(42,"h5",8),o(43,"Full screen below lg"),e(),u(44,"button",9),e(),t(45,"c-modal-body"),o(46,"..."),e()(),t(47,"c-modal",13,4)(49,"c-modal-header")(50,"h5",8),o(51,"Full screen below xl"),e(),u(52,"button",9),e(),t(53,"c-modal-body"),o(54,"..."),e()(),t(55,"c-modal",14,5)(57,"c-modal-header")(58,"h5",8),o(59,"Full screen below xxl"),e(),u(60,"button",9),e(),t(61,"c-modal-body"),o(62,"..."),e()()),i&2){let c=f(13),h=f(24),F=f(32),A=f(40),le=f(48),m=f(56);a("cModalToggle",c.id),r(2),a("cModalToggle",h.id),r(2),a("cModalToggle",F.id),r(2),a("cModalToggle",A.id),r(2),a("cModalToggle",le.id),r(2),a("cModalToggle",m.id),r(2),a("fullscreen",!0),r(5),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id),r(7),a("cModalToggle",h.id),r(8),a("cModalToggle",F.id),r(8),a("cModalToggle",A.id),r(8),a("cModalToggle",le.id),r(8),a("cModalToggle",m.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var Oe=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal09"]],standalone:!0,features:[g],decls:27,vars:3,consts:[["modalXl",""],["modalLg",""],["modalSm",""],["cButton","",3,"cModalToggle"],["id","modalXl","size","xl"],["cModalTitle",""],["id","modalLg","size","lg"],["id","modalSm","size","sm"]],template:function(i,d){if(i&1&&(t(0,"button",3),o(1,"Extra large modal"),e(),t(2,"button",3),o(3,"Large modal"),e(),t(4,"button",3),o(5,"Small modal"),e(),t(6,"c-modal",4,0)(8,"c-modal-header")(9,"h5",5),o(10,"Extra large modal"),e()(),t(11,"c-modal-body"),o(12,"..."),e()(),t(13,"c-modal",6,1)(15,"c-modal-header")(16,"h5",5),o(17,"Large modal"),e()(),t(18,"c-modal-body"),o(19,"..."),e()(),t(20,"c-modal",7,2)(22,"c-modal-header")(23,"h5",5),o(24,"Small modal"),e()(),t(25,"c-modal-body"),o(26,"..."),e()()),i&2){let c=f(7),h=f(14),F=f(21);a("cModalToggle",c.id),r(2),a("cModalToggle",h.id),r(2),a("cModalToggle",F.id)}},dependencies:[x,D,S,M,y,b],encapsulation:2});let l=n;return l})();var Ve=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal11"]],standalone:!0,features:[g],decls:28,vars:7,consts:[["ModalOne",""],["ModalTwo",""],["cButton","",3,"cModalToggle"],["id","liveDemoModalOne","alignment","center"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary",3,"cModalToggle"],["id","liveDemoModalTwo"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Open first modal"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal 1 title"),e(),u(7,"button",5),e(),t(8,"c-modal-body"),o(9,"Show a second modal and hide this one with the button below"),e(),t(10,"c-modal-footer")(11,"button",6),o(12," Close "),e(),t(13,"button",7),o(14,"Open second modal"),e()()(),t(15,"c-modal",8,1)(17,"c-modal-header")(18,"h5",4),o(19,"Modal 2 title"),e(),u(20,"button",5),e(),t(21,"c-modal-body"),o(22,"Hide this modal, and show the first one with the button below"),e(),t(23,"c-modal-footer")(24,"button",6),o(25," Close "),e(),t(26,"button",7),o(27,"Back to first"),e()()()),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id),r(2),a("cModalToggle",h.id),r(7),a("cModalToggle",h.id),r(4),a("cModalToggle",h.id),r(2),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var ze=()=>({strategy:"fixed"});function it(l,n){l&1&&(t(0,"h3",11),o(1," Popover title "),e(),t(2,"div",12),o(3," And here\u2019s some amazing content. It\u2019s very engaging. Right? "),e())}var Re=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal08"]],standalone:!0,features:[g],decls:32,vars:9,consts:[["withPopoverModal",""],["popoverHtml",""],["cButton","",3,"cModalToggle"],["alignment","center","id","withPopoverModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","",3,"cPopoverTrigger","cPopover","cPopoverOptions"],["routerLink","","cTooltip","Tooltip text"],["routerLink","","cTooltip","Tooltip text","cTooltipPlacement","bottom",3,"cTooltipOptions"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"],[1,"popover-header"],["id","",1,"popover-body"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Modal with Popover"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal title"),e(),u(7,"button",5),e(),t(8,"c-modal-body")(9,"h5"),o(10,"Popover in a modal"),e(),o(11," This "),t(12,"button",6),o(13,"button"),e(),o(14," triggers a popover on click. "),z(15,it,4,0,"ng-template",null,1,R),u(17,"hr"),t(18,"h5"),o(19,"Tooltips in a modal"),e(),t(20,"p")(21,"a",7),o(22,"This link"),e(),o(23," and "),t(24,"a",8),o(25,"that link "),e(),o(26," have tooltips on hover. "),e()(),t(27,"c-modal-footer")(28,"button",9),o(29," Close "),e(),t(30,"button",10),o(31,"Understood"),e()()()),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(5),a("cPopoverTrigger","click")("cPopover",h)("cPopoverOptions",w(7,ze)),r(12),a("cTooltipOptions",w(8,ze)),r(4),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,Fe,xe,He,C],encapsulation:2});let l=n;return l})();var We=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal07"]],standalone:!0,features:[g],decls:48,vars:4,consts:[["verticallyCenteredScrollableModal",""],["cButton","",3,"cModalToggle"],["alignment","center","id","verticallyCenteredScrollableModal",3,"scrollable"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",1),o(1,"Centered scrollable modal"),e(),t(2,"c-modal",2,0)(4,"c-modal-header")(5,"h5",3),o(6,"Modal title"),e(),u(7,"button",4),e(),t(8,"c-modal-body")(9,"p"),o(10," This is some placeholder content to show a vertically centered modal. We've added some extra copy here to show how vertically centering the modal works when combined with scrollable modals. We also use some repeated line breaks to quickly extend the height of the content, thereby triggering the scrolling. When content becomes longer than the predefined max-height of modal, content will be cropped and scrollable within the modal. "),e(),u(11,"br")(12,"br")(13,"br")(14,"br")(15,"br")(16,"br")(17,"br")(18,"br")(19,"br")(20,"br")(21,"br")(22,"br")(23,"br")(24,"br")(25,"br")(26,"br")(27,"br")(28,"br")(29,"br")(30,"br")(31,"br")(32,"br")(33,"br")(34,"br")(35,"br")(36,"br")(37,"br")(38,"br")(39,"br")(40,"br"),t(41,"p"),o(42,"Just like that."),e()(),t(43,"c-modal-footer")(44,"button",5),o(45," Close "),e(),t(46,"button",6),o(47,"Understood"),e()()()),i&2){let c=f(3);a("cModalToggle",c.id),r(2),a("scrollable",!0),r(5),a("cModalToggle",c.id),r(37),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var Xe=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal06"]],standalone:!0,features:[g],decls:15,vars:3,consts:[["verticallyCenteredModal",""],["cButton","",3,"cModalToggle"],["alignment","center","id","verticallyCenteredModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",1),o(1,"Centered modal"),e(),t(2,"c-modal",2,0)(4,"c-modal-header")(5,"h5",3),o(6,"Modal title"),e(),u(7,"button",4),e(),t(8,"c-modal-body"),o(9," Woohoo, you are reading this text in a modal! "),e(),t(10,"c-modal-footer")(11,"button",5),o(12," Close "),e(),t(13,"button",6),o(14,"Understood"),e()()()),i&2){let c=f(3);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();function lt(l,n){l&1&&N(0)}function at(l,n){l&1&&(t(0,"p"),o(1," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(2,"p"),o(3," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(4,"p"),o(5," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(6,"p"),o(7," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(8,"p"),o(9," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(10,"p"),o(11," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(12,"p"),o(13," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(14,"p"),o(15," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(16,"p"),o(17," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(18,"p"),o(19," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(20,"p"),o(21," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(22,"p"),o(23," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(24,"p"),o(25," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(26,"p"),o(27," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(28,"p"),o(29," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(30,"p"),o(31," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(32,"p"),o(33," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(34,"p"),o(35," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e())}var Ue=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal05"]],standalone:!0,features:[g],decls:17,vars:4,consts:[["scrollableLongContentModal",""],["longContent",""],["cButton","",3,"cModalToggle"],["id","scrollableLongContentModal","scrollable",""],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],[4,"ngTemplateOutlet"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Scrollable long content"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal title"),e(),u(7,"button",5),e(),t(8,"c-modal-body"),z(9,lt,1,0,"ng-container",6),e(),t(10,"c-modal-footer")(11,"button",7),o(12," Close "),e(),t(13,"button",8),o(14,"Save changes"),e()()(),z(15,at,36,0,"ng-template",null,1,R)),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(2),a("ngTemplateOutlet",h),r(2),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,$,C],encapsulation:2});let l=n;return l})();function rt(l,n){l&1&&N(0)}function st(l,n){l&1&&(t(0,"p"),o(1," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(2,"p"),o(3," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(4,"p"),o(5," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(6,"p"),o(7," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(8,"p"),o(9," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(10,"p"),o(11," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(12,"p"),o(13," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(14,"p"),o(15," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(16,"p"),o(17," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(18,"p"),o(19," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(20,"p"),o(21," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(22,"p"),o(23," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(24,"p"),o(25," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(26,"p"),o(27," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(28,"p"),o(29," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(30,"p"),o(31," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(32,"p"),o(33," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(34,"p"),o(35," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e())}var Qe=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal04"]],standalone:!0,features:[g],decls:17,vars:4,consts:[["scrollingLongContentModal",""],["longContent",""],["cButton","",3,"cModalToggle"],["id","scrollingLongContentModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],[4,"ngTemplateOutlet"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Scrolling long content"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal title"),e(),u(7,"button",5),e(),t(8,"c-modal-body"),z(9,rt,1,0,"ng-container",6),e(),t(10,"c-modal-footer")(11,"button",7),o(12," Close "),e(),t(13,"button",8),o(14,"Save changes"),e()()(),z(15,st,36,0,"ng-template",null,1,R)),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(2),a("ngTemplateOutlet",h),r(2),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,$,C],encapsulation:2});let l=n;return l})();var Ne=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal03"]],standalone:!0,features:[g],decls:15,vars:3,consts:[["staticBackdropModal",""],["cButton","",3,"cModalToggle"],["backdrop","static","id","staticBackdropModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",1),o(1,"Launch static backdrop modal"),e(),t(2,"c-modal",2,0)(4,"c-modal-header")(5,"h5",3),o(6,"Modal title"),e(),u(7,"button",4),e(),t(8,"c-modal-body"),o(9,"Woohoo, you're reading this text in a modal!"),e(),t(10,"c-modal-footer")(11,"button",5),o(12," Close "),e(),t(13,"button",6),o(14,"Understood"),e()()()),i&2){let c=f(3);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var $e=(()=>{let n=class n{constructor(){this.visible=!1}toggleLiveDemo(){this.visible=!this.visible}handleLiveDemoChange(s){this.visible=s}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal02"]],standalone:!0,features:[g],decls:14,vars:1,consts:[["cButton","",3,"click"],["id","liveDemoModal",3,"visibleChange","visible"],["cModalTitle",""],["cButtonClose","",3,"click"],["cButton","","color","secondary",3,"click"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"button",0),V("click",function(){return d.toggleLiveDemo()}),o(1,"Launch demo modal"),e(),t(2,"c-modal",1),V("visibleChange",function(h){return d.handleLiveDemoChange(h)}),t(3,"c-modal-header")(4,"h5",2),o(5,"Modal title"),e(),t(6,"button",3),V("click",function(){return d.toggleLiveDemo()}),e()(),t(7,"c-modal-body"),o(8,"Woohoo, you are reading this text in a modal!"),e(),t(9,"c-modal-footer")(10,"button",4),V("click",function(){return d.toggleLiveDemo()}),o(11," Close "),e(),t(12,"button",5),o(13,"Save changes"),e()()()),i&2&&(r(2),a("visible",d.visible))},dependencies:[x,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var Ke=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal01"]],standalone:!0,features:[g],decls:12,vars:2,consts:[["backdrop","static","id","modalStatic",1,"position-static","d-block","show",3,"keyboard","transition"],["cModalTitle",""],["cButtonClose",""],["cButton","","color","secondary"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"c-modal",0)(1,"c-modal-header")(2,"h5",1),o(3,"Modal title"),e(),u(4,"button",2),e(),t(5,"c-modal-body"),o(6,"Modal body text goes here."),e(),t(7,"c-modal-footer")(8,"button",3),o(9,"Close"),e(),t(10,"button",4),o(11,"Save changes"),e()()()),i&2&&a("keyboard",!1)("transition",!1)},dependencies:[S,M,y,E,b,C,x],encapsulation:2});let l=n;return l})();var Je=`\`\`\`typescript +import{a as we}from"./chunk-5TFAQITA.js";import{a as Fe}from"./chunk-TGKW7PGX.js";import{a as He}from"./chunk-2AVMBETS.js";import"./chunk-FW3F3TZD.js";import{i as xe}from"./chunk-FULSUUPP.js";import"./chunk-QUYVWFHK.js";import{a as x,b as E}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as je}from"./chunk-XPMARKUH.js";import{a as De,j as Be,k as _e,m as ke}from"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import{c as Ce,d as Ee,g as oe,h as ne,i as Te}from"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as qe}from"./chunk-MH6VOBXJ.js";import{r as Pe}from"./chunk-Q5WIR6QR.js";import{c as ye,d as Se}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{d as Me,t as $}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Ac as f,Bc as o,Cc as te,Dc as ve,Gb as pe,Ia as de,Jb as z,La as X,Na as ce,Oc as g,Pb as ge,Pc as w,Qb as a,Ub as _,_c as R,ac as e,bc as u,ca as se,ec as N,f as re,hc as fe,ia as J,jb as me,lb as r,mb as L,mc as V,na as p,nc as he,nd as U,pa as Q,pc as P,qc as q,rb as ue,rd as be,uc as G,vc as Z,wc as ee,zb as Y}from"./chunk-6U7QZ4SV.js";import{e as B,f as O,g as H}from"./chunk-MGAX33HK.js";var Ye=["*"],b=(()=>{let n=class n{get hostClasses(){return{"modal-body":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-body"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:Ye,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},styles:["[_nghost-%COMP%]{display:block}"]});let l=n;return l})();var Ge=["*"],ie=(()=>{let n=class n{get hostClasses(){return{"modal-content":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-content"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:Ge,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},encapsulation:2});let l=n;return l})();var Ze=["*"],Ie=(()=>{let n=class n{get hostClasses(){return{"modal-dialog":!0,"modal-dialog-centered":this.alignment==="center","modal-fullscreen":this.fullscreen===!0,[`modal-fullscreen-${this.fullscreen}-down`]:this.fullscreen,"modal-dialog-scrollable":this.scrollable,[`modal-${this.size}`]:this.size}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-dialog"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},inputs:{alignment:"alignment",fullscreen:"fullscreen",scrollable:"scrollable",size:"size"},standalone:!0,features:[g],ngContentSelectors:Ze,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},styles:["[_nghost-%COMP%]{display:block}.modal-dialog-centered[_nghost-%COMP%]{display:flex}"]});let l=n;return l})();var K=(()=>{let n=class n{constructor(){this.modalState=new re,this.modalState$=this.modalState.asObservable()}toggle(s){this.modalState.next(s)}};n.\u0275fac=function(i){return new(i||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"});let l=n;return l})();var D=(()=>{let n=class n{constructor(s){this.modalService=s}dismiss(s){s.preventDefault(),this.modalService.toggle({show:"toggle",id:this.id})}};n.\u0275fac=function(i){return new(i||n)(L(K))},n.\u0275dir=Q({type:n,selectors:[["","cModalToggle",""]],hostBindings:function(i,d){i&1&&V("click",function(h){return d.dismiss(h)})},inputs:{id:[0,"cModalToggle","id"]},standalone:!0});let l=n;return l})();var et=["*"],C=(()=>{let n=class n{get hostClasses(){return{"modal-footer":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-footer"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:et,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},encapsulation:2});let l=n;return l})();var tt=["*"],M=(()=>{let n=class n{get hostClasses(){return{"modal-header":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["c-modal-header"]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0,features:[g],ngContentSelectors:tt,decls:1,vars:0,template:function(i,d){i&1&&(P(),q(0))},encapsulation:2});let l=n;return l})();var y=(()=>{let n=class n{get hostClasses(){return{"modal-title":!0}}};n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=Q({type:n,selectors:[["","cModalTitle",""]],hostVars:2,hostBindings:function(i,d){i&2&&_(d.hostClasses)},standalone:!0});let l=n;return l})();var ot=["modalContentRef"],nt=["*"],S=(()=>{var n,W,s,i,d,c,h,F;let A=class A{constructor(m,k,v,j,I){O(this,n);O(this,W);O(this,s);O(this,i);O(this,d);O(this,c);O(this,h);O(this,F);this.document=m,this.renderer=k,this.hostElement=v,this.modalService=j,this.backdropService=I,H(this,n,J(de)),H(this,W,J(_e)),this.alignment="top",this.backdrop=!0,this.keyboard=!0,this.transition=!0,this.role="dialog",H(this,s,null),this.scrollable=!1,H(this,i,Y(!1)),H(this,d,null),H(this,c,be(()=>{B(this,i).call(this)&&B(this,F).call(this)?(H(this,d,this.document.activeElement),setTimeout(()=>{let ae=this.modalContentRef.nativeElement.querySelectorAll('[tabindex]:not([tabindex="-1"]), button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled])');ae.length&&B(this,W).focusVia(ae[0],"keyboard")})):this.document.contains(B(this,d))&&setTimeout(()=>{B(this,d)?.focus(),H(this,d,null)})})),this.visibleChange=new ce,this._show=!0,this.mouseDownTarget=null,H(this,F,Y(!1))}set ariaModal(m){H(this,s,m)}get ariaModal(){return this.visible||B(this,s)?!0:null}set visible(m){B(this,i).call(this)!==m&&(B(this,i).set(m),this.setBackdrop(this.backdrop!==!1&&m),this.setBodyStyles(m),this.visibleChange.emit(m))}get visible(){return B(this,i).call(this)}get hostClasses(){return{modal:!0,fade:this.transition,show:this.show}}get ariaHidden(){return this.visible?null:!0}get tabIndex(){return"-1"}get animateTrigger(){return this.visible?"visible":"hidden"}get show(){return this.visible&&this._show}set show(m){this._show=m}animateStart(m){m.toState==="visible"?(this.backdropService.hideScrollbar(),this.renderer.setStyle(this.hostElement.nativeElement,"display","block")):this.transition||this.renderer.setStyle(this.hostElement.nativeElement,"display","none")}animateDone(m){setTimeout(()=>{m.toState==="hidden"&&this.renderer.setStyle(this.hostElement.nativeElement,"display","none")}),this.show=this.visible}onKeyDownHandler(m){m.key==="Escape"&&this.keyboard&&this.visible&&(this.backdrop==="static"?this.setStaticBackdrop():this.modalService.toggle({show:!1,modal:this}))}onMouseDownHandler(m){this.mouseDownTarget=m.target}onClickHandler(m){if(this.mouseDownTarget!==m.target){this.mouseDownTarget=null;return}if(m.target===this.hostElement.nativeElement){if(this.backdrop==="static"){this.setStaticBackdrop();return}this.modalService.toggle({show:!1,modal:this})}}ngOnInit(){this.stateToggleSubscribe()}ngAfterViewInit(){B(this,F).set(!0)}ngOnDestroy(){this.modalService.toggle({show:!1,modal:this}),B(this,F).set(!1)}stateToggleSubscribe(){this.modalService.modalState$.pipe(De(B(this,n))).subscribe(m=>{this===m.modal||this.id===m.id?"show"in m&&(this.visible=m?.show==="toggle"?!this.visible:m.show):this.visible&&(this.visible=!1)})}setBackdrop(m){H(this,h,m?this.backdropService.setBackdrop("modal"):this.backdropService.clearBackdrop(B(this,h)))}setBodyStyles(m){m?this.backdrop===!0&&this.renderer.addClass(this.document.body,"modal-open"):this.renderer.removeClass(this.document.body,"modal-open")}setStaticBackdrop(){this.transition&&(this.renderer.addClass(this.hostElement.nativeElement,"modal-static"),this.renderer.setStyle(this.hostElement.nativeElement,"overflow-y","hidden"),setTimeout(()=>{this.renderer.removeClass(this.hostElement.nativeElement,"modal-static"),this.renderer.removeStyle(this.hostElement.nativeElement,"overflow-y")},300))}};n=new WeakMap,W=new WeakMap,s=new WeakMap,i=new WeakMap,d=new WeakMap,c=new WeakMap,h=new WeakMap,F=new WeakMap,A.\u0275fac=function(k){return new(k||A)(L(Me),L(ue),L(X),L(K),L(we))},A.\u0275cmp=p({type:A,selectors:[["c-modal"]],viewQuery:function(k,v){if(k&1&&(G(ie,5,X),G(ot,5,X)),k&2){let j;Z(j=ee())&&(v.modalContent=j.first),Z(j=ee())&&(v.modalContentRef=j.first)}},hostVars:7,hostBindings:function(k,v){k&1&&(he("@showHide.start",function(I){return v.animateStart(I)})("@showHide.done",function(I){return v.animateDone(I)}),V("keyup",function(I){return v.onKeyDownHandler(I)},!1,me)("mousedown",function(I){return v.onMouseDownHandler(I)})("click",function(I){return v.onClickHandler(I)})),k&2&&(fe("@showHide",v.animateTrigger),ge("role",v.role)("aria-modal",v.ariaModal)("aria-hidden",v.ariaHidden)("tabindex",v.tabIndex),_(v.hostClasses))},inputs:{alignment:"alignment",backdrop:"backdrop",fullscreen:"fullscreen",keyboard:[2,"keyboard","keyboard",U],id:"id",size:"size",transition:[2,"transition","transition",U],role:"role",ariaModal:"ariaModal",scrollable:[2,"scrollable","scrollable",U],visible:[2,"visible","visible",U]},outputs:{visibleChange:"visibleChange"},exportAs:["cModal"],standalone:!0,features:[pe,g],ngContentSelectors:nt,decls:5,vars:6,consts:[["modalContentRef",""],[3,"alignment","fullscreen","scrollable","size"],[2,"display","contents",3,"cdkTrapFocus","cdkTrapFocusAutoCapture"]],template:function(k,v){k&1&&(P(),t(0,"c-modal-dialog",1)(1,"c-modal-content")(2,"div",2,0),q(4),e()()()),k&2&&(a("alignment",v.alignment)("fullscreen",v.fullscreen)("scrollable",v.scrollable)("size",v.size),r(2),a("cdkTrapFocus",v.visible)("cdkTrapFocusAutoCapture",v.visible))},dependencies:[Ie,ie,ke,Be],encapsulation:2,data:{animation:[Ce("showHide",[ne("visible",oe({})),ne("hidden",oe({})),Te("visible <=> *",[Ee("150ms")])])]}});let l=A;return l})();var Ae=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal10"]],standalone:!0,features:[g],decls:63,vars:14,consts:[["fullScreen",""],["fullScreenSm",""],["fullScreenMd",""],["fullScreenLg",""],["fullScreenXl",""],["fullScreen2Xl",""],["cButton","",3,"cModalToggle"],["id","fullScreen",3,"fullscreen"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["fullscreen","sm","id","fullScreenSm"],["fullscreen","md","id","fullScreenMd"],["fullscreen","lg","id","fullScreenLg"],["fullscreen","xl","id","fullScreenXl"],["fullscreen","xxl","id","fullScreen2Xl"]],template:function(i,d){if(i&1&&(t(0,"button",6),o(1,"Full screen"),e(),t(2,"button",6),o(3,"Full screen below sm"),e(),t(4,"button",6),o(5,"Full screen below md"),e(),t(6,"button",6),o(7,"Full screen below lg"),e(),t(8,"button",6),o(9,"Full screen below xl"),e(),t(10,"button",6),o(11,"Full screen below xxl"),e(),t(12,"c-modal",7,0)(14,"c-modal-header")(15,"h5",8),o(16,"Full screen"),e(),u(17,"button",9),e(),t(18,"c-modal-body"),o(19,"..."),e(),t(20,"c-modal-footer")(21,"button",6),o(22,"Close"),e()()(),t(23,"c-modal",10,1)(25,"c-modal-header")(26,"h5",8),o(27,"Full screen below sm"),e(),u(28,"button",9),e(),t(29,"c-modal-body"),o(30,"..."),e()(),t(31,"c-modal",11,2)(33,"c-modal-header")(34,"h5",8),o(35,"Full screen below md"),e(),u(36,"button",9),e(),t(37,"c-modal-body"),o(38,"..."),e()(),t(39,"c-modal",12,3)(41,"c-modal-header")(42,"h5",8),o(43,"Full screen below lg"),e(),u(44,"button",9),e(),t(45,"c-modal-body"),o(46,"..."),e()(),t(47,"c-modal",13,4)(49,"c-modal-header")(50,"h5",8),o(51,"Full screen below xl"),e(),u(52,"button",9),e(),t(53,"c-modal-body"),o(54,"..."),e()(),t(55,"c-modal",14,5)(57,"c-modal-header")(58,"h5",8),o(59,"Full screen below xxl"),e(),u(60,"button",9),e(),t(61,"c-modal-body"),o(62,"..."),e()()),i&2){let c=f(13),h=f(24),F=f(32),A=f(40),le=f(48),m=f(56);a("cModalToggle",c.id),r(2),a("cModalToggle",h.id),r(2),a("cModalToggle",F.id),r(2),a("cModalToggle",A.id),r(2),a("cModalToggle",le.id),r(2),a("cModalToggle",m.id),r(2),a("fullscreen",!0),r(5),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id),r(7),a("cModalToggle",h.id),r(8),a("cModalToggle",F.id),r(8),a("cModalToggle",A.id),r(8),a("cModalToggle",le.id),r(8),a("cModalToggle",m.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var Oe=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal09"]],standalone:!0,features:[g],decls:27,vars:3,consts:[["modalXl",""],["modalLg",""],["modalSm",""],["cButton","",3,"cModalToggle"],["id","modalXl","size","xl"],["cModalTitle",""],["id","modalLg","size","lg"],["id","modalSm","size","sm"]],template:function(i,d){if(i&1&&(t(0,"button",3),o(1,"Extra large modal"),e(),t(2,"button",3),o(3,"Large modal"),e(),t(4,"button",3),o(5,"Small modal"),e(),t(6,"c-modal",4,0)(8,"c-modal-header")(9,"h5",5),o(10,"Extra large modal"),e()(),t(11,"c-modal-body"),o(12,"..."),e()(),t(13,"c-modal",6,1)(15,"c-modal-header")(16,"h5",5),o(17,"Large modal"),e()(),t(18,"c-modal-body"),o(19,"..."),e()(),t(20,"c-modal",7,2)(22,"c-modal-header")(23,"h5",5),o(24,"Small modal"),e()(),t(25,"c-modal-body"),o(26,"..."),e()()),i&2){let c=f(7),h=f(14),F=f(21);a("cModalToggle",c.id),r(2),a("cModalToggle",h.id),r(2),a("cModalToggle",F.id)}},dependencies:[x,D,S,M,y,b],encapsulation:2});let l=n;return l})();var Ve=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal11"]],standalone:!0,features:[g],decls:28,vars:7,consts:[["ModalOne",""],["ModalTwo",""],["cButton","",3,"cModalToggle"],["id","liveDemoModalOne","alignment","center"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary",3,"cModalToggle"],["id","liveDemoModalTwo"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Open first modal"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal 1 title"),e(),u(7,"button",5),e(),t(8,"c-modal-body"),o(9,"Show a second modal and hide this one with the button below"),e(),t(10,"c-modal-footer")(11,"button",6),o(12," Close "),e(),t(13,"button",7),o(14,"Open second modal"),e()()(),t(15,"c-modal",8,1)(17,"c-modal-header")(18,"h5",4),o(19,"Modal 2 title"),e(),u(20,"button",5),e(),t(21,"c-modal-body"),o(22,"Hide this modal, and show the first one with the button below"),e(),t(23,"c-modal-footer")(24,"button",6),o(25," Close "),e(),t(26,"button",7),o(27,"Back to first"),e()()()),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id),r(2),a("cModalToggle",h.id),r(7),a("cModalToggle",h.id),r(4),a("cModalToggle",h.id),r(2),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var ze=()=>({strategy:"fixed"});function it(l,n){l&1&&(t(0,"h3",11),o(1," Popover title "),e(),t(2,"div",12),o(3," And here\u2019s some amazing content. It\u2019s very engaging. Right? "),e())}var Re=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal08"]],standalone:!0,features:[g],decls:32,vars:9,consts:[["withPopoverModal",""],["popoverHtml",""],["cButton","",3,"cModalToggle"],["alignment","center","id","withPopoverModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","",3,"cPopoverTrigger","cPopover","cPopoverOptions"],["routerLink","","cTooltip","Tooltip text"],["routerLink","","cTooltip","Tooltip text","cTooltipPlacement","bottom",3,"cTooltipOptions"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"],[1,"popover-header"],["id","",1,"popover-body"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Modal with Popover"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal title"),e(),u(7,"button",5),e(),t(8,"c-modal-body")(9,"h5"),o(10,"Popover in a modal"),e(),o(11," This "),t(12,"button",6),o(13,"button"),e(),o(14," triggers a popover on click. "),z(15,it,4,0,"ng-template",null,1,R),u(17,"hr"),t(18,"h5"),o(19,"Tooltips in a modal"),e(),t(20,"p")(21,"a",7),o(22,"This link"),e(),o(23," and "),t(24,"a",8),o(25,"that link "),e(),o(26," have tooltips on hover. "),e()(),t(27,"c-modal-footer")(28,"button",9),o(29," Close "),e(),t(30,"button",10),o(31,"Understood"),e()()()),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(5),a("cPopoverTrigger","click")("cPopover",h)("cPopoverOptions",w(7,ze)),r(12),a("cTooltipOptions",w(8,ze)),r(4),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,Fe,xe,He,C],encapsulation:2});let l=n;return l})();var We=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal07"]],standalone:!0,features:[g],decls:48,vars:4,consts:[["verticallyCenteredScrollableModal",""],["cButton","",3,"cModalToggle"],["alignment","center","id","verticallyCenteredScrollableModal",3,"scrollable"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",1),o(1,"Centered scrollable modal"),e(),t(2,"c-modal",2,0)(4,"c-modal-header")(5,"h5",3),o(6,"Modal title"),e(),u(7,"button",4),e(),t(8,"c-modal-body")(9,"p"),o(10," This is some placeholder content to show a vertically centered modal. We've added some extra copy here to show how vertically centering the modal works when combined with scrollable modals. We also use some repeated line breaks to quickly extend the height of the content, thereby triggering the scrolling. When content becomes longer than the predefined max-height of modal, content will be cropped and scrollable within the modal. "),e(),u(11,"br")(12,"br")(13,"br")(14,"br")(15,"br")(16,"br")(17,"br")(18,"br")(19,"br")(20,"br")(21,"br")(22,"br")(23,"br")(24,"br")(25,"br")(26,"br")(27,"br")(28,"br")(29,"br")(30,"br")(31,"br")(32,"br")(33,"br")(34,"br")(35,"br")(36,"br")(37,"br")(38,"br")(39,"br")(40,"br"),t(41,"p"),o(42,"Just like that."),e()(),t(43,"c-modal-footer")(44,"button",5),o(45," Close "),e(),t(46,"button",6),o(47,"Understood"),e()()()),i&2){let c=f(3);a("cModalToggle",c.id),r(2),a("scrollable",!0),r(5),a("cModalToggle",c.id),r(37),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var Xe=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal06"]],standalone:!0,features:[g],decls:15,vars:3,consts:[["verticallyCenteredModal",""],["cButton","",3,"cModalToggle"],["alignment","center","id","verticallyCenteredModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",1),o(1,"Centered modal"),e(),t(2,"c-modal",2,0)(4,"c-modal-header")(5,"h5",3),o(6,"Modal title"),e(),u(7,"button",4),e(),t(8,"c-modal-body"),o(9," Woohoo, you are reading this text in a modal! "),e(),t(10,"c-modal-footer")(11,"button",5),o(12," Close "),e(),t(13,"button",6),o(14,"Understood"),e()()()),i&2){let c=f(3);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();function lt(l,n){l&1&&N(0)}function at(l,n){l&1&&(t(0,"p"),o(1," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(2,"p"),o(3," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(4,"p"),o(5," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(6,"p"),o(7," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(8,"p"),o(9," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(10,"p"),o(11," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(12,"p"),o(13," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(14,"p"),o(15," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(16,"p"),o(17," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(18,"p"),o(19," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(20,"p"),o(21," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(22,"p"),o(23," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(24,"p"),o(25," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(26,"p"),o(27," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(28,"p"),o(29," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(30,"p"),o(31," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(32,"p"),o(33," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(34,"p"),o(35," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e())}var Ue=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal05"]],standalone:!0,features:[g],decls:17,vars:4,consts:[["scrollableLongContentModal",""],["longContent",""],["cButton","",3,"cModalToggle"],["id","scrollableLongContentModal","scrollable",""],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],[4,"ngTemplateOutlet"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Scrollable long content"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal title"),e(),u(7,"button",5),e(),t(8,"c-modal-body"),z(9,lt,1,0,"ng-container",6),e(),t(10,"c-modal-footer")(11,"button",7),o(12," Close "),e(),t(13,"button",8),o(14,"Save changes"),e()()(),z(15,at,36,0,"ng-template",null,1,R)),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(2),a("ngTemplateOutlet",h),r(2),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,$,C],encapsulation:2});let l=n;return l})();function rt(l,n){l&1&&N(0)}function st(l,n){l&1&&(t(0,"p"),o(1," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(2,"p"),o(3," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(4,"p"),o(5," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(6,"p"),o(7," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(8,"p"),o(9," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(10,"p"),o(11," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(12,"p"),o(13," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(14,"p"),o(15," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(16,"p"),o(17," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(18,"p"),o(19," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(20,"p"),o(21," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(22,"p"),o(23," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(24,"p"),o(25," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(26,"p"),o(27," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(28,"p"),o(29," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e(),t(30,"p"),o(31," Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. "),e(),t(32,"p"),o(33," Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. "),e(),t(34,"p"),o(35," Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. "),e())}var Qe=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal04"]],standalone:!0,features:[g],decls:17,vars:4,consts:[["scrollingLongContentModal",""],["longContent",""],["cButton","",3,"cModalToggle"],["id","scrollingLongContentModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],[4,"ngTemplateOutlet"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",2),o(1,"Scrolling long content"),e(),t(2,"c-modal",3,0)(4,"c-modal-header")(5,"h5",4),o(6,"Modal title"),e(),u(7,"button",5),e(),t(8,"c-modal-body"),z(9,rt,1,0,"ng-container",6),e(),t(10,"c-modal-footer")(11,"button",7),o(12," Close "),e(),t(13,"button",8),o(14,"Save changes"),e()()(),z(15,st,36,0,"ng-template",null,1,R)),i&2){let c=f(3),h=f(16);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(2),a("ngTemplateOutlet",h),r(2),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,$,C],encapsulation:2});let l=n;return l})();var Ne=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal03"]],standalone:!0,features:[g],decls:15,vars:3,consts:[["staticBackdropModal",""],["cButton","",3,"cModalToggle"],["backdrop","static","id","staticBackdropModal"],["cModalTitle",""],["cButtonClose","",3,"cModalToggle"],["cButton","","color","secondary",3,"cModalToggle"],["cButton","","color","primary"]],template:function(i,d){if(i&1&&(t(0,"button",1),o(1,"Launch static backdrop modal"),e(),t(2,"c-modal",2,0)(4,"c-modal-header")(5,"h5",3),o(6,"Modal title"),e(),u(7,"button",4),e(),t(8,"c-modal-body"),o(9,"Woohoo, you're reading this text in a modal!"),e(),t(10,"c-modal-footer")(11,"button",5),o(12," Close "),e(),t(13,"button",6),o(14,"Understood"),e()()()),i&2){let c=f(3);a("cModalToggle",c.id),r(7),a("cModalToggle",c.id),r(4),a("cModalToggle",c.id)}},dependencies:[x,D,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var $e=(()=>{let n=class n{constructor(){this.visible=!1}toggleLiveDemo(){this.visible=!this.visible}handleLiveDemoChange(s){this.visible=s}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal02"]],standalone:!0,features:[g],decls:14,vars:1,consts:[["cButton","",3,"click"],["id","liveDemoModal",3,"visibleChange","visible"],["cModalTitle",""],["cButtonClose","",3,"click"],["cButton","","color","secondary",3,"click"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"button",0),V("click",function(){return d.toggleLiveDemo()}),o(1,"Launch demo modal"),e(),t(2,"c-modal",1),V("visibleChange",function(h){return d.handleLiveDemoChange(h)}),t(3,"c-modal-header")(4,"h5",2),o(5,"Modal title"),e(),t(6,"button",3),V("click",function(){return d.toggleLiveDemo()}),e()(),t(7,"c-modal-body"),o(8,"Woohoo, you are reading this text in a modal!"),e(),t(9,"c-modal-footer")(10,"button",4),V("click",function(){return d.toggleLiveDemo()}),o(11," Close "),e(),t(12,"button",5),o(13,"Save changes"),e()()()),i&2&&(r(2),a("visible",d.visible))},dependencies:[x,S,M,y,E,b,C],encapsulation:2});let l=n;return l})();var Ke=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=p({type:n,selectors:[["docs-modal01"]],standalone:!0,features:[g],decls:12,vars:2,consts:[["backdrop","static","id","modalStatic",1,"position-static","d-block","show",3,"keyboard","transition"],["cModalTitle",""],["cButtonClose",""],["cButton","","color","secondary"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"c-modal",0)(1,"c-modal-header")(2,"h5",1),o(3,"Modal title"),e(),u(4,"button",2),e(),t(5,"c-modal-body"),o(6,"Modal body text goes here."),e(),t(7,"c-modal-footer")(8,"button",3),o(9,"Close"),e(),t(10,"button",4),o(11,"Save changes"),e()()()),i&2&&a("keyboard",!1)("transition",!1)},dependencies:[S,M,y,E,b,C,x],encapsulation:2});let l=n;return l})();var Je=`\`\`\`typescript import { ModalModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-ZGWVHLBF.js b/angular/docs/chunk-J7HUYUND.js similarity index 97% rename from angular/docs/chunk-ZGWVHLBF.js rename to angular/docs/chunk-J7HUYUND.js index 9df627f67e4..da416dab97c 100644 --- a/angular/docs/chunk-ZGWVHLBF.js +++ b/angular/docs/chunk-J7HUYUND.js @@ -1,4 +1,4 @@ -import{a as Qe,b as te}from"./chunk-GHTCDR3O.js";import{i as D}from"./chunk-SPMMWGWV.js";import{a as Ue}from"./chunk-2IKSDGSZ.js";import{g as qe}from"./chunk-QWXOJRTG.js";import{a as ee}from"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import{c as re,d as A,e as V,g as C,h as ae,i as U,l as L}from"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as Xe}from"./chunk-SWYVARVN.js";import{r as We}from"./chunk-JJFVMVK7.js";import{c as He,d as Ve}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{n as w,t as $e}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as s,A as de,Aa as xe,Ac as Le,Ba as Ie,Bc as a,Ca as ye,Cc as E,Da as Se,Dc as ze,Fb as Ee,Gb as ke,Ia as be,Jb as v,L as he,La as _e,Na as we,Nc as Re,Oc as d,Pb as $,Pc as z,Qb as m,Qc as Pe,Sb as K,Ub as O,Wb as Y,Yb as Fe,Z as fe,Zb as Te,_ as ve,_b as De,_c as Be,ac as r,bc as u,ca as P,ec as je,fc as Me,g as pe,ha as Ce,hb as _,ia as ge,id as Z,lb as l,mb as f,mc as B,na as p,nd as Ne,oc as H,pc as F,qc as T,rc as y,tc as Oe,uc as Ae,vc as G,wc as J,x as q}from"./chunk-O6V6MKDU.js";import{a as W,e as X,f as me,g as ue}from"./chunk-MGAX33HK.js";var j=(()=>{let t=class t{constructor(){this.carouselIndex=new pe({}),this.carouselIndex$=this.carouselIndex.asObservable()}setIndex(n){this.carouselIndex.next(n)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac});let i=t;return i})();var M=(()=>{let t=class t{constructor(n){this.carouselService=n,this._state={activeItemIndex:-1,animate:!0,items:[],direction:"next",transition:"slide"}}get state(){return this._state}set state(n){let e=W({},this._state),o=W(W({},this._state),n);if(this._state=o,e.activeItemIndex!==o.activeItemIndex){let h=this.state.activeItemIndex||0,I=this.state.items&&this.state.items[h]?.interval||-1;this.carouselService.setIndex({active:o.activeItemIndex,interval:I,lastItemIndex:(o.items?.length??0)-1})}}setItems(n){if(n.length){let e=n.toArray();e.forEach((o,h)=>{o.index=h}),this.state={items:e}}else this.reset()}setNextIndex(n){this.carouselService.setIndex(n)}direction(n="next"){this.state={direction:n};let{activeItemIndex:e=-1,items:o}=this.state,h=o?.length??0;return h>0?n==="next"?e===h-1?0:e+1:e===0?h-1:e-1:0}reset(){this.state={activeItemIndex:-1,animate:!0,items:[],direction:"next",transition:"slide"}}};t.\u0275fac=function(e){return new(e||t)(Ce(j))},t.\u0275prov=P({token:t,factory:t.\u0275fac});let i=t;return i})();var ce=(()=>{let t=class t{constructor(){this.activeIndex=0,this.animate=!0,this.dark=!1,this.direction="next",this.interval=3e3}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac});let i=t;return i})();var at=["*"],S=(()=>{var t;let c=class c{constructor(e,o,h,I,oe,N){me(this,t);this.config=e,this.hostElement=o,this.carouselService=h,this.carouselState=I,this.intersectionService=oe,this.listenersService=N,this.activeIndex=0,this.animate=!0,this.direction="next",this.interval=0,this.pause="hover",this.touch=!0,this.transition="slide",this.wrap=!0,this.itemChange=new we,this.activeItemInterval=0,ue(this,t,ge(be)),this._visible=!0,Object.assign(this,e)}get hostClasses(){return{carousel:!0,slide:!0,"carousel-fade":this.transition==="crossfade"}}ngOnInit(){this.carouselStateSubscribe()}ngOnDestroy(){this.resetTimer(),this.clearListeners(),this.swipeSubscribe(!1)}ngAfterContentInit(){this.intersectionServiceSubscribe(),this.carouselState.state={activeItemIndex:this.activeIndex,animate:this.animate},this.setListeners(),this.swipeSubscribe()}setListeners(){let e={hostElement:this.hostElement,trigger:this.pause||[],callbackOff:()=>{this.setTimer()},callbackOn:()=>{this.resetTimer()}};this.listenersService.setListeners(e)}clearListeners(){this.listenersService.clearListeners()}set visible(e){this._visible=e}get visible(){return this._visible}setTimer(){let e=this.activeItemInterval||0;this.resetTimer(),e>0&&(this.timerId=setTimeout(()=>{let o=this.carouselState.direction(this.direction);this.carouselState.state={activeItemIndex:o}},e))}resetTimer(){clearTimeout(this.timerId),this.timerId=void 0}carouselStateSubscribe(){this.carouselService.carouselIndex$.pipe(ee(X(this,t))).subscribe(e=>{"active"in e&&this.itemChange.emit(e.active),this.activeItemInterval=typeof e.interval=="number"&&e.interval>-1?e.interval:this.interval;let o=e.active===e.lastItemIndex&&this.direction==="next"||e.active===0&&this.direction==="prev";!this.wrap&&o?this.resetTimer():this.setTimer()})}intersectionServiceSubscribe(){this.intersectionService.createIntersectionObserver(this.hostElement),this.intersectionService.intersecting$.pipe(de(e=>e.hostElement===this.hostElement),he(()=>{this.intersectionService.unobserve(this.hostElement)}),ee(X(this,t))).subscribe(e=>{this.visible=e.isIntersecting,e.isIntersecting?this.setTimer():this.resetTimer()})}swipeSubscribe(e=!0){if(this.touch&&e){let o=this.hostElement.nativeElement,h=q(o,"touchstart"),I=q(o,"touchend"),oe=q(o,"touchmove");this.swipeSubscription=h.pipe(ve(I.pipe(fe(oe))),ee(X(this,t))).subscribe(([N,[Ot,se]])=>{N.stopPropagation(),se.stopPropagation();let le=N.touches[0].clientX-se.touches[0].clientX;if(Math.abs(le)>.3*o.clientWidth&&N.timeStamp<=se.timeStamp){let rt=this.carouselState.direction(le>0?"next":"prev");this.carouselState.state={activeItemIndex:rt}}})}else this.swipeSubscription?.unsubscribe()}};t=new WeakMap,c.\u0275fac=function(o){return new(o||c)(f(ce),f(_e),f(j),f(M),f(Qe),f(te))},c.\u0275cmp=p({type:c,selectors:[["c-carousel"]],hostVars:2,hostBindings:function(o,h){o&2&&O(h.hostClasses)},inputs:{activeIndex:"activeIndex",animate:"animate",direction:"direction",interval:"interval",pause:"pause",touch:"touch",transition:"transition",wrap:"wrap"},outputs:{itemChange:"itemChange"},standalone:!0,features:[Re([j,M,ce,te]),Ee([{directive:Ue,inputs:["dark","dark"]}]),d],ngContentSelectors:at,decls:1,vars:0,template:function(o,h){o&1&&(F(),T(0))},styles:["[_nghost-%COMP%]{display:block}"]});let i=c;return i})();var ct=["*"],Q=(()=>{let t=class t{constructor(){this.carouselCaptionClass=!0}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["c-carousel-caption"]],hostVars:2,hostBindings:function(e,o){e&2&&K("carousel-caption",o.carouselCaptionClass)},standalone:!0,features:[d],ngContentSelectors:ct,decls:1,vars:0,template:function(e,o){e&1&&(F(),T(0))},styles:["[_nghost-%COMP%]{display:block}"]});let i=t;return i})();var lt=["content"],mt=["*"];function ut(i,t){i&1&&(s(0,"div",null,0),T(2),r())}function pt(i,t){if(i&1&&(u(0,"span"),s(1,"span",1),a(2),r()),i&2){let c=H();O(c.carouselControlIconClass),$("aria-label",c.direction)("aria-hidden",!0),l(2),E(c.caption)}}var k=(()=>{let t=class t{constructor(n,e){this.changeDetectorRef=n,this.carouselState=e,this.direction="next",this.hasContent=!0}set caption(n){this._caption=n}get caption(){return this._caption?this._caption:this.direction==="prev"?"Previous":"Next"}get hostRole(){return"button"}get hostClasses(){return`carousel-control-${this.direction}`}get carouselControlIconClass(){return`carousel-control-${this.direction}-icon`}onKeyUp(n){n.key==="Enter"&&this.play(),n.key==="ArrowLeft"&&this.play("prev"),n.key==="ArrowRight"&&this.play("next")}onClick(n){this.play()}ngAfterViewInit(){this.hasContent=this.content?.nativeElement.childNodes.length??!1,this.changeDetectorRef.detectChanges()}play(n=this.direction){let e=this.carouselState.direction(n);this.carouselState.state={activeItemIndex:e}}};t.\u0275fac=function(e){return new(e||t)(f(Z),f(M))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-control"]],viewQuery:function(e,o){if(e&1&&Ae(lt,5),e&2){let h;G(h=J())&&(o.content=h.first)}},hostVars:3,hostBindings:function(e,o){e&1&&B("keyup",function(I){return o.onKeyUp(I)})("click",function(I){return o.onClick(I)}),e&2&&($("role",o.hostRole),O(o.hostClasses))},inputs:{caption:"caption",direction:"direction"},standalone:!0,features:[d],ngContentSelectors:mt,decls:2,vars:1,consts:[["content",""],[1,"visually-hidden"]],template:function(e,o){e&1&&(F(),v(0,ut,3,0,"div")(1,pt,3,5)),e&2&&Y(o.hasContent?0:1)},encapsulation:2});let i=t;return i})();var dt=i=>({active:i});function ht(i,t){if(i&1){let c=Me();s(0,"button",2),B("click",function(){let e=xe(c).$index,o=H();return Ie(o.onClick(e))}),r()}if(i&2){let c=t.$index,n=H();O(Pe(4,dt,n.active===c)),$("data-coreui-target",c)("aria-current",n.active===c)}}var R=(()=>{let t=class t{constructor(n,e){this.carouselService=n,this.carouselState=e,this.items=[],this.active=0}ngOnInit(){this.carouselStateSubscribe()}ngOnDestroy(){this.carouselStateSubscribe(!1)}onClick(n){if(n!==this.active){let e=n{this.items=this.carouselState?.state?.items?.map(o=>o.index)??[],"active"in e&&(this.active=e.active??0)}):this.carouselIndexSubscription?.unsubscribe()}};t.\u0275fac=function(e){return new(e||t)(f(j),f(M))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-indicators"]],standalone:!0,features:[d],decls:3,vars:0,consts:[[1,"carousel-indicators"],["type","button",3,"class"],["type","button",3,"click"]],template:function(e,o){e&1&&(s(0,"div",0),Te(1,ht,1,6,"button",1,Fe),r()),e&2&&(l(),De(o.items))},encapsulation:2});let i=t;return i})();function Ke(i,t){return t.left===!0}function Ye(i,t){return t.left===!1}var Ge=re("slideAnimation",[ae("*",C({transform:"translateX(0)",display:"block",opacity:1})),U(Ke,V([L(":leave",[A("0.6s ease-in-out",C({transform:"translateX(-100%)"}))],{optional:!0}),L(":enter",[C({transform:"translateX(100%)"}),A("0.6s ease-in-out",C("*"))],{optional:!0})])),U(Ye,V([L(":enter",[C({transform:"translateX(-100%)"}),A("0.6s ease-in-out",C("*"))],{optional:!0}),L(":leave",[A("0.6s ease-in-out",C({transform:"translateX(100%)"}))],{optional:!0})]))]),Je=re("fadeAnimation",[ae("*",C({zIndex:1,opacity:1})),U(Ke,V([L(":leave",[A("0.6s ease-in-out",C({zIndex:0,opacity:0}))],{optional:!0}),L(":enter",[C({zIndex:1,opacity:1}),A("0.6s ease-in-out",C("*"))],{optional:!0})])),U(Ye,V([L(":enter",[C({zIndex:1,opacity:1}),A("0.6s ease-in-out",C("*"))],{optional:!0}),L(":leave",[A("0.6s ease-in-out",C({zIndex:0,opacity:0}))],{optional:!0})]))]);var ft=["*"];function vt(i,t){i&1&&T(0)}var x=(()=>{let t=class t{set active(n){this._active=n,this.changeDetectorRef.markForCheck()}get active(){return this._active}get hostClasses(){return{"carousel-item":!0,active:this.active}}constructor(n,e){this.carouselService=n,this.changeDetectorRef=e,this._active=!1,this.interval=-1}ngOnDestroy(){this.carouselStateSubscribe(!1)}ngAfterViewInit(){setTimeout(()=>{this.carouselStateSubscribe()})}carouselStateSubscribe(n=!0){n?this.carouselIndexSubscription=this.carouselService.carouselIndex$.subscribe(e=>{"active"in e&&(this.active=e.active===this.index)}):this.carouselIndexSubscription?.unsubscribe()}};t.\u0275fac=function(e){return new(e||t)(f(j),f(Z))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-item"]],hostVars:2,hostBindings:function(e,o){e&2&&O(o.hostClasses)},inputs:{active:[2,"active","active",Ne],interval:"interval"},standalone:!0,features:[ke,d],ngContentSelectors:ft,decls:1,vars:1,template:function(e,o){e&1&&(F(),v(0,vt,1,0)),e&2&&Y(o.active?0:-1)},styles:["[_nghost-%COMP%]{display:block}"]});let i=t;return i})();var Ct=["*"],b=(()=>{let t=class t{constructor(n){this.carouselState=n,this.carouselInnerClass=!0,this.slide={left:!0},this.transition="slide"}ngAfterContentInit(){this.setItems()}ngAfterContentChecked(){this.setItems();let n=this.carouselState?.state,e=n?.activeItemIndex,o=n?.direction;this.activeIndex!==e&&(this.animate=n?.animate,this.slide={left:o==="next"},this.activeIndex=n?.activeItemIndex,this.transition=n?.transition??"slide")}setItems(){this.prevContentItems!==this.contentItems&&(this.prevContentItems=this.contentItems,this.carouselState.setItems(this.contentItems))}};t.\u0275fac=function(e){return new(e||t)(f(M))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-inner"]],contentQueries:function(e,o,h){if(e&1&&Oe(h,x,4),e&2){let I;G(I=J())&&(o.contentItems=I)}},hostVars:2,hostBindings:function(e,o){e&2&&K("carousel-inner",o.carouselInnerClass)},standalone:!0,features:[d],ngContentSelectors:Ct,decls:2,vars:2,template:function(e,o){e&1&&(F(),s(0,"div"),T(1),r()),e&2&&m("@slideAnimation",o.slide)("@.disabled",!o.animate)},styles:["[_nghost-%COMP%]{display:block}"],data:{animation:[Ge,Je]}});let i=t;return i})();function gt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",4),s(2,"c-carousel-caption",5)(3,"h3"),a(4),r(),s(5,"p"),a(6),r()()()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_),l(3),E(c.title),l(2),E(c.subtitle)}}var Ze=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={id:0,src:"./assets/img/angular.jpg",title:"First slide",subtitle:"Nulla vitae elit libero, a pharetra augue mollis interdum."},this.slides[1]={id:1,src:"./assets/img/react.jpg",title:"Second slide",subtitle:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."},this.slides[2]={id:2,src:"./assets/img/vue.jpg",title:"Third slide",subtitle:"Praesent commodo cursus magna, vel scelerisque nisl consectetur."}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel06"]],standalone:!0,features:[d],decls:6,vars:3,consts:[[3,"dark","wrap"],[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"],[1,"d-none","d-md-block"]],template:function(e,o){e&1&&(s(0,"c-carousel",0),u(1,"c-carousel-indicators"),s(2,"c-carousel-inner"),v(3,gt,7,4,"c-carousel-item",1),r(),u(4,"c-carousel-control",2)(5,"c-carousel-control",3),r()),e&2&&(m("dark",!0)("wrap",!1),l(3),m("ngForOf",o.slides))},dependencies:[S,R,b,w,x,Q,k,D]});let i=t;return i})();function xt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",4),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var et=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={id:0,src:"./assets/img/angular.jpg",title:"First slide",subtitle:"Nulla vitae elit libero, a pharetra augue mollis interdum."},this.slides[1]={id:1,src:"./assets/img/react.jpg",title:"Second slide",subtitle:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."},this.slides[2]={id:2,src:"./assets/img/vue.jpg",title:"Third slide",subtitle:"Praesent commodo cursus magna, vel scelerisque nisl consectetur."}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel05"]],standalone:!0,features:[d],decls:5,vars:2,consts:[["transition","crossfade",3,"animate"],[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel",0)(1,"c-carousel-inner"),v(2,xt,2,2,"c-carousel-item",1),r(),u(3,"c-carousel-control",2)(4,"c-carousel-control",3),r()),e&2&&(m("animate",!1),l(2),m("ngForOf",o.slides))},dependencies:[S,b,w,x,k,D]});let i=t;return i})();function It(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",3),s(2,"c-carousel-caption",4)(3,"h3"),a(4),r(),s(5,"p"),a(6),r()()()),i&2){let c=t.$implicit;l(),y("alt",c.title),y("src",c.src,_),l(3),E(c.title),l(2),E(c.subtitle)}}var tt=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={id:0,src:"./assets/img/angular.jpg",title:"First slide",subtitle:"Nulla vitae elit libero, a pharetra augue mollis interdum."},this.slides[1]={id:1,src:"./assets/img/react.jpg",title:"Second slide",subtitle:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."},this.slides[2]={id:2,src:"./assets/img/vue.jpg",title:"Third slide",subtitle:"Praesent commodo cursus magna, vel scelerisque nisl consectetur."}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel04"]],standalone:!0,features:[d],decls:6,vars:1,consts:[[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"alt","src"],[1,"d-none","d-md-block"]],template:function(e,o){e&1&&(s(0,"c-carousel"),u(1,"c-carousel-indicators"),s(2,"c-carousel-inner"),v(3,It,7,4,"c-carousel-item",0),r(),u(4,"c-carousel-control",1)(5,"c-carousel-control",2),r()),e&2&&(l(3),m("ngForOf",o.slides))},dependencies:[S,R,b,w,x,Q,k,D]});let i=t;return i})();function yt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",3),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var it=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={src:"./assets/img/angular.jpg"},this.slides[1]={src:"./assets/img/react.jpg"},this.slides[2]={src:"./assets/img/vue.jpg"}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel03"]],standalone:!0,features:[d],decls:6,vars:1,consts:[[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel"),u(1,"c-carousel-indicators"),s(2,"c-carousel-inner"),v(3,yt,2,2,"c-carousel-item",0),r(),u(4,"c-carousel-control",1)(5,"c-carousel-control",2),r()),e&2&&(l(3),m("ngForOf",o.slides))},dependencies:[S,R,b,w,x,k,D]});let i=t;return i})();function St(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",4),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var nt=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={src:"./assets/img/angular.jpg"},this.slides[1]={src:"./assets/img/react.jpg"},this.slides[2]={src:"./assets/img/vue.jpg"}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel02"]],standalone:!0,features:[d],decls:5,vars:2,consts:[[3,"interval"],[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel",0)(1,"c-carousel-inner"),v(2,St,2,2,"c-carousel-item",1),r(),u(3,"c-carousel-control",2)(4,"c-carousel-control",3),r()),e&2&&(m("interval",0),l(2),m("ngForOf",o.slides))},dependencies:[S,b,w,x,k,D]});let i=t;return i})();function bt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",2),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var ot=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={src:"./assets/img/angular.jpg"},this.slides[1]={src:"./assets/img/react.jpg"},this.slides[2]={src:"./assets/img/vue.jpg"}}onItemChange(n){console.log("Carousel onItemChange",n)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel01"]],standalone:!0,features:[d],decls:3,vars:2,consts:[["transition","slide",3,"itemChange","interval"],[4,"ngFor","ngForOf"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel",0),B("itemChange",function(I){return o.onItemChange(I)}),s(1,"c-carousel-inner"),v(2,bt,2,2,"c-carousel-item",1),r()()),e&2&&(m("interval",5e3),l(2),m("ngForOf",o.slides))},dependencies:[S,b,w,x]});let i=t;return i})();var st=`\`\`\`typescript +import{a as Qe,b as te}from"./chunk-FW3F3TZD.js";import{i as D}from"./chunk-FULSUUPP.js";import{a as Ue}from"./chunk-D272JSA3.js";import{g as qe}from"./chunk-XPMARKUH.js";import{a as ee}from"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import{c as re,d as A,e as V,g as C,h as ae,i as U,l as L}from"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as Xe}from"./chunk-MH6VOBXJ.js";import{r as We}from"./chunk-Q5WIR6QR.js";import{c as He,d as Ve}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{n as w,t as $e}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as s,A as de,Aa as xe,Ac as Le,Ba as Ie,Bc as a,Ca as ye,Cc as E,Da as Se,Dc as ze,Fb as Ee,Gb as ke,Ia as be,Jb as v,L as he,La as _e,Na as we,Nc as Re,Oc as d,Pb as $,Pc as z,Qb as m,Qc as Pe,Sb as K,Ub as O,Wb as Y,Yb as Fe,Z as fe,Zb as Te,_ as ve,_b as De,_c as Be,ac as r,bc as u,ca as P,ec as je,fc as Me,g as pe,ha as Ce,hb as _,ia as ge,id as Z,lb as l,mb as f,mc as B,na as p,nd as Ne,oc as H,pc as F,qc as T,rc as y,tc as Oe,uc as Ae,vc as G,wc as J,x as q}from"./chunk-6U7QZ4SV.js";import{a as W,e as X,f as me,g as ue}from"./chunk-MGAX33HK.js";var j=(()=>{let t=class t{constructor(){this.carouselIndex=new pe({}),this.carouselIndex$=this.carouselIndex.asObservable()}setIndex(n){this.carouselIndex.next(n)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac});let i=t;return i})();var M=(()=>{let t=class t{constructor(n){this.carouselService=n,this._state={activeItemIndex:-1,animate:!0,items:[],direction:"next",transition:"slide"}}get state(){return this._state}set state(n){let e=W({},this._state),o=W(W({},this._state),n);if(this._state=o,e.activeItemIndex!==o.activeItemIndex){let h=this.state.activeItemIndex||0,I=this.state.items&&this.state.items[h]?.interval||-1;this.carouselService.setIndex({active:o.activeItemIndex,interval:I,lastItemIndex:(o.items?.length??0)-1})}}setItems(n){if(n.length){let e=n.toArray();e.forEach((o,h)=>{o.index=h}),this.state={items:e}}else this.reset()}setNextIndex(n){this.carouselService.setIndex(n)}direction(n="next"){this.state={direction:n};let{activeItemIndex:e=-1,items:o}=this.state,h=o?.length??0;return h>0?n==="next"?e===h-1?0:e+1:e===0?h-1:e-1:0}reset(){this.state={activeItemIndex:-1,animate:!0,items:[],direction:"next",transition:"slide"}}};t.\u0275fac=function(e){return new(e||t)(Ce(j))},t.\u0275prov=P({token:t,factory:t.\u0275fac});let i=t;return i})();var ce=(()=>{let t=class t{constructor(){this.activeIndex=0,this.animate=!0,this.dark=!1,this.direction="next",this.interval=3e3}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac});let i=t;return i})();var at=["*"],S=(()=>{var t;let c=class c{constructor(e,o,h,I,oe,N){me(this,t);this.config=e,this.hostElement=o,this.carouselService=h,this.carouselState=I,this.intersectionService=oe,this.listenersService=N,this.activeIndex=0,this.animate=!0,this.direction="next",this.interval=0,this.pause="hover",this.touch=!0,this.transition="slide",this.wrap=!0,this.itemChange=new we,this.activeItemInterval=0,ue(this,t,ge(be)),this._visible=!0,Object.assign(this,e)}get hostClasses(){return{carousel:!0,slide:!0,"carousel-fade":this.transition==="crossfade"}}ngOnInit(){this.carouselStateSubscribe()}ngOnDestroy(){this.resetTimer(),this.clearListeners(),this.swipeSubscribe(!1)}ngAfterContentInit(){this.intersectionServiceSubscribe(),this.carouselState.state={activeItemIndex:this.activeIndex,animate:this.animate},this.setListeners(),this.swipeSubscribe()}setListeners(){let e={hostElement:this.hostElement,trigger:this.pause||[],callbackOff:()=>{this.setTimer()},callbackOn:()=>{this.resetTimer()}};this.listenersService.setListeners(e)}clearListeners(){this.listenersService.clearListeners()}set visible(e){this._visible=e}get visible(){return this._visible}setTimer(){let e=this.activeItemInterval||0;this.resetTimer(),e>0&&(this.timerId=setTimeout(()=>{let o=this.carouselState.direction(this.direction);this.carouselState.state={activeItemIndex:o}},e))}resetTimer(){clearTimeout(this.timerId),this.timerId=void 0}carouselStateSubscribe(){this.carouselService.carouselIndex$.pipe(ee(X(this,t))).subscribe(e=>{"active"in e&&this.itemChange.emit(e.active),this.activeItemInterval=typeof e.interval=="number"&&e.interval>-1?e.interval:this.interval;let o=e.active===e.lastItemIndex&&this.direction==="next"||e.active===0&&this.direction==="prev";!this.wrap&&o?this.resetTimer():this.setTimer()})}intersectionServiceSubscribe(){this.intersectionService.createIntersectionObserver(this.hostElement),this.intersectionService.intersecting$.pipe(de(e=>e.hostElement===this.hostElement),he(()=>{this.intersectionService.unobserve(this.hostElement)}),ee(X(this,t))).subscribe(e=>{this.visible=e.isIntersecting,e.isIntersecting?this.setTimer():this.resetTimer()})}swipeSubscribe(e=!0){if(this.touch&&e){let o=this.hostElement.nativeElement,h=q(o,"touchstart"),I=q(o,"touchend"),oe=q(o,"touchmove");this.swipeSubscription=h.pipe(ve(I.pipe(fe(oe))),ee(X(this,t))).subscribe(([N,[Ot,se]])=>{N.stopPropagation(),se.stopPropagation();let le=N.touches[0].clientX-se.touches[0].clientX;if(Math.abs(le)>.3*o.clientWidth&&N.timeStamp<=se.timeStamp){let rt=this.carouselState.direction(le>0?"next":"prev");this.carouselState.state={activeItemIndex:rt}}})}else this.swipeSubscription?.unsubscribe()}};t=new WeakMap,c.\u0275fac=function(o){return new(o||c)(f(ce),f(_e),f(j),f(M),f(Qe),f(te))},c.\u0275cmp=p({type:c,selectors:[["c-carousel"]],hostVars:2,hostBindings:function(o,h){o&2&&O(h.hostClasses)},inputs:{activeIndex:"activeIndex",animate:"animate",direction:"direction",interval:"interval",pause:"pause",touch:"touch",transition:"transition",wrap:"wrap"},outputs:{itemChange:"itemChange"},standalone:!0,features:[Re([j,M,ce,te]),Ee([{directive:Ue,inputs:["dark","dark"]}]),d],ngContentSelectors:at,decls:1,vars:0,template:function(o,h){o&1&&(F(),T(0))},styles:["[_nghost-%COMP%]{display:block}"]});let i=c;return i})();var ct=["*"],Q=(()=>{let t=class t{constructor(){this.carouselCaptionClass=!0}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["c-carousel-caption"]],hostVars:2,hostBindings:function(e,o){e&2&&K("carousel-caption",o.carouselCaptionClass)},standalone:!0,features:[d],ngContentSelectors:ct,decls:1,vars:0,template:function(e,o){e&1&&(F(),T(0))},styles:["[_nghost-%COMP%]{display:block}"]});let i=t;return i})();var lt=["content"],mt=["*"];function ut(i,t){i&1&&(s(0,"div",null,0),T(2),r())}function pt(i,t){if(i&1&&(u(0,"span"),s(1,"span",1),a(2),r()),i&2){let c=H();O(c.carouselControlIconClass),$("aria-label",c.direction)("aria-hidden",!0),l(2),E(c.caption)}}var k=(()=>{let t=class t{constructor(n,e){this.changeDetectorRef=n,this.carouselState=e,this.direction="next",this.hasContent=!0}set caption(n){this._caption=n}get caption(){return this._caption?this._caption:this.direction==="prev"?"Previous":"Next"}get hostRole(){return"button"}get hostClasses(){return`carousel-control-${this.direction}`}get carouselControlIconClass(){return`carousel-control-${this.direction}-icon`}onKeyUp(n){n.key==="Enter"&&this.play(),n.key==="ArrowLeft"&&this.play("prev"),n.key==="ArrowRight"&&this.play("next")}onClick(n){this.play()}ngAfterViewInit(){this.hasContent=this.content?.nativeElement.childNodes.length??!1,this.changeDetectorRef.detectChanges()}play(n=this.direction){let e=this.carouselState.direction(n);this.carouselState.state={activeItemIndex:e}}};t.\u0275fac=function(e){return new(e||t)(f(Z),f(M))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-control"]],viewQuery:function(e,o){if(e&1&&Ae(lt,5),e&2){let h;G(h=J())&&(o.content=h.first)}},hostVars:3,hostBindings:function(e,o){e&1&&B("keyup",function(I){return o.onKeyUp(I)})("click",function(I){return o.onClick(I)}),e&2&&($("role",o.hostRole),O(o.hostClasses))},inputs:{caption:"caption",direction:"direction"},standalone:!0,features:[d],ngContentSelectors:mt,decls:2,vars:1,consts:[["content",""],[1,"visually-hidden"]],template:function(e,o){e&1&&(F(),v(0,ut,3,0,"div")(1,pt,3,5)),e&2&&Y(o.hasContent?0:1)},encapsulation:2});let i=t;return i})();var dt=i=>({active:i});function ht(i,t){if(i&1){let c=Me();s(0,"button",2),B("click",function(){let e=xe(c).$index,o=H();return Ie(o.onClick(e))}),r()}if(i&2){let c=t.$index,n=H();O(Pe(4,dt,n.active===c)),$("data-coreui-target",c)("aria-current",n.active===c)}}var R=(()=>{let t=class t{constructor(n,e){this.carouselService=n,this.carouselState=e,this.items=[],this.active=0}ngOnInit(){this.carouselStateSubscribe()}ngOnDestroy(){this.carouselStateSubscribe(!1)}onClick(n){if(n!==this.active){let e=n{this.items=this.carouselState?.state?.items?.map(o=>o.index)??[],"active"in e&&(this.active=e.active??0)}):this.carouselIndexSubscription?.unsubscribe()}};t.\u0275fac=function(e){return new(e||t)(f(j),f(M))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-indicators"]],standalone:!0,features:[d],decls:3,vars:0,consts:[[1,"carousel-indicators"],["type","button",3,"class"],["type","button",3,"click"]],template:function(e,o){e&1&&(s(0,"div",0),Te(1,ht,1,6,"button",1,Fe),r()),e&2&&(l(),De(o.items))},encapsulation:2});let i=t;return i})();function Ke(i,t){return t.left===!0}function Ye(i,t){return t.left===!1}var Ge=re("slideAnimation",[ae("*",C({transform:"translateX(0)",display:"block",opacity:1})),U(Ke,V([L(":leave",[A("0.6s ease-in-out",C({transform:"translateX(-100%)"}))],{optional:!0}),L(":enter",[C({transform:"translateX(100%)"}),A("0.6s ease-in-out",C("*"))],{optional:!0})])),U(Ye,V([L(":enter",[C({transform:"translateX(-100%)"}),A("0.6s ease-in-out",C("*"))],{optional:!0}),L(":leave",[A("0.6s ease-in-out",C({transform:"translateX(100%)"}))],{optional:!0})]))]),Je=re("fadeAnimation",[ae("*",C({zIndex:1,opacity:1})),U(Ke,V([L(":leave",[A("0.6s ease-in-out",C({zIndex:0,opacity:0}))],{optional:!0}),L(":enter",[C({zIndex:1,opacity:1}),A("0.6s ease-in-out",C("*"))],{optional:!0})])),U(Ye,V([L(":enter",[C({zIndex:1,opacity:1}),A("0.6s ease-in-out",C("*"))],{optional:!0}),L(":leave",[A("0.6s ease-in-out",C({zIndex:0,opacity:0}))],{optional:!0})]))]);var ft=["*"];function vt(i,t){i&1&&T(0)}var x=(()=>{let t=class t{set active(n){this._active=n,this.changeDetectorRef.markForCheck()}get active(){return this._active}get hostClasses(){return{"carousel-item":!0,active:this.active}}constructor(n,e){this.carouselService=n,this.changeDetectorRef=e,this._active=!1,this.interval=-1}ngOnDestroy(){this.carouselStateSubscribe(!1)}ngAfterViewInit(){setTimeout(()=>{this.carouselStateSubscribe()})}carouselStateSubscribe(n=!0){n?this.carouselIndexSubscription=this.carouselService.carouselIndex$.subscribe(e=>{"active"in e&&(this.active=e.active===this.index)}):this.carouselIndexSubscription?.unsubscribe()}};t.\u0275fac=function(e){return new(e||t)(f(j),f(Z))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-item"]],hostVars:2,hostBindings:function(e,o){e&2&&O(o.hostClasses)},inputs:{active:[2,"active","active",Ne],interval:"interval"},standalone:!0,features:[ke,d],ngContentSelectors:ft,decls:1,vars:1,template:function(e,o){e&1&&(F(),v(0,vt,1,0)),e&2&&Y(o.active?0:-1)},styles:["[_nghost-%COMP%]{display:block}"]});let i=t;return i})();var Ct=["*"],b=(()=>{let t=class t{constructor(n){this.carouselState=n,this.carouselInnerClass=!0,this.slide={left:!0},this.transition="slide"}ngAfterContentInit(){this.setItems()}ngAfterContentChecked(){this.setItems();let n=this.carouselState?.state,e=n?.activeItemIndex,o=n?.direction;this.activeIndex!==e&&(this.animate=n?.animate,this.slide={left:o==="next"},this.activeIndex=n?.activeItemIndex,this.transition=n?.transition??"slide")}setItems(){this.prevContentItems!==this.contentItems&&(this.prevContentItems=this.contentItems,this.carouselState.setItems(this.contentItems))}};t.\u0275fac=function(e){return new(e||t)(f(M))},t.\u0275cmp=p({type:t,selectors:[["c-carousel-inner"]],contentQueries:function(e,o,h){if(e&1&&Oe(h,x,4),e&2){let I;G(I=J())&&(o.contentItems=I)}},hostVars:2,hostBindings:function(e,o){e&2&&K("carousel-inner",o.carouselInnerClass)},standalone:!0,features:[d],ngContentSelectors:Ct,decls:2,vars:2,template:function(e,o){e&1&&(F(),s(0,"div"),T(1),r()),e&2&&m("@slideAnimation",o.slide)("@.disabled",!o.animate)},styles:["[_nghost-%COMP%]{display:block}"],data:{animation:[Ge,Je]}});let i=t;return i})();function gt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",4),s(2,"c-carousel-caption",5)(3,"h3"),a(4),r(),s(5,"p"),a(6),r()()()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_),l(3),E(c.title),l(2),E(c.subtitle)}}var Ze=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={id:0,src:"./assets/img/angular.jpg",title:"First slide",subtitle:"Nulla vitae elit libero, a pharetra augue mollis interdum."},this.slides[1]={id:1,src:"./assets/img/react.jpg",title:"Second slide",subtitle:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."},this.slides[2]={id:2,src:"./assets/img/vue.jpg",title:"Third slide",subtitle:"Praesent commodo cursus magna, vel scelerisque nisl consectetur."}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel06"]],standalone:!0,features:[d],decls:6,vars:3,consts:[[3,"dark","wrap"],[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"],[1,"d-none","d-md-block"]],template:function(e,o){e&1&&(s(0,"c-carousel",0),u(1,"c-carousel-indicators"),s(2,"c-carousel-inner"),v(3,gt,7,4,"c-carousel-item",1),r(),u(4,"c-carousel-control",2)(5,"c-carousel-control",3),r()),e&2&&(m("dark",!0)("wrap",!1),l(3),m("ngForOf",o.slides))},dependencies:[S,R,b,w,x,Q,k,D]});let i=t;return i})();function xt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",4),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var et=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={id:0,src:"./assets/img/angular.jpg",title:"First slide",subtitle:"Nulla vitae elit libero, a pharetra augue mollis interdum."},this.slides[1]={id:1,src:"./assets/img/react.jpg",title:"Second slide",subtitle:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."},this.slides[2]={id:2,src:"./assets/img/vue.jpg",title:"Third slide",subtitle:"Praesent commodo cursus magna, vel scelerisque nisl consectetur."}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel05"]],standalone:!0,features:[d],decls:5,vars:2,consts:[["transition","crossfade",3,"animate"],[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel",0)(1,"c-carousel-inner"),v(2,xt,2,2,"c-carousel-item",1),r(),u(3,"c-carousel-control",2)(4,"c-carousel-control",3),r()),e&2&&(m("animate",!1),l(2),m("ngForOf",o.slides))},dependencies:[S,b,w,x,k,D]});let i=t;return i})();function It(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",3),s(2,"c-carousel-caption",4)(3,"h3"),a(4),r(),s(5,"p"),a(6),r()()()),i&2){let c=t.$implicit;l(),y("alt",c.title),y("src",c.src,_),l(3),E(c.title),l(2),E(c.subtitle)}}var tt=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={id:0,src:"./assets/img/angular.jpg",title:"First slide",subtitle:"Nulla vitae elit libero, a pharetra augue mollis interdum."},this.slides[1]={id:1,src:"./assets/img/react.jpg",title:"Second slide",subtitle:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."},this.slides[2]={id:2,src:"./assets/img/vue.jpg",title:"Third slide",subtitle:"Praesent commodo cursus magna, vel scelerisque nisl consectetur."}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel04"]],standalone:!0,features:[d],decls:6,vars:1,consts:[[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"alt","src"],[1,"d-none","d-md-block"]],template:function(e,o){e&1&&(s(0,"c-carousel"),u(1,"c-carousel-indicators"),s(2,"c-carousel-inner"),v(3,It,7,4,"c-carousel-item",0),r(),u(4,"c-carousel-control",1)(5,"c-carousel-control",2),r()),e&2&&(l(3),m("ngForOf",o.slides))},dependencies:[S,R,b,w,x,Q,k,D]});let i=t;return i})();function yt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",3),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var it=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={src:"./assets/img/angular.jpg"},this.slides[1]={src:"./assets/img/react.jpg"},this.slides[2]={src:"./assets/img/vue.jpg"}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel03"]],standalone:!0,features:[d],decls:6,vars:1,consts:[[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel"),u(1,"c-carousel-indicators"),s(2,"c-carousel-inner"),v(3,yt,2,2,"c-carousel-item",0),r(),u(4,"c-carousel-control",1)(5,"c-carousel-control",2),r()),e&2&&(l(3),m("ngForOf",o.slides))},dependencies:[S,R,b,w,x,k,D]});let i=t;return i})();function St(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",4),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var nt=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={src:"./assets/img/angular.jpg"},this.slides[1]={src:"./assets/img/react.jpg"},this.slides[2]={src:"./assets/img/vue.jpg"}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel02"]],standalone:!0,features:[d],decls:5,vars:2,consts:[[3,"interval"],[4,"ngFor","ngForOf"],["caption","Previous","direction","prev",3,"routerLink"],["caption","Next","direction","next",3,"routerLink"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel",0)(1,"c-carousel-inner"),v(2,St,2,2,"c-carousel-item",1),r(),u(3,"c-carousel-control",2)(4,"c-carousel-control",3),r()),e&2&&(m("interval",0),l(2),m("ngForOf",o.slides))},dependencies:[S,b,w,x,k,D]});let i=t;return i})();function bt(i,t){if(i&1&&(s(0,"c-carousel-item"),u(1,"img",2),r()),i&2){let c=t.$implicit;l(),y("alt",c.title),m("src",c.src,_)}}var ot=(()=>{let t=class t{constructor(){this.slides=new Array(3).fill({id:-1,src:"",title:"",subtitle:""})}ngOnInit(){this.slides[0]={src:"./assets/img/angular.jpg"},this.slides[1]={src:"./assets/img/react.jpg"},this.slides[2]={src:"./assets/img/vue.jpg"}}onItemChange(n){console.log("Carousel onItemChange",n)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["docs-carousel01"]],standalone:!0,features:[d],decls:3,vars:2,consts:[["transition","slide",3,"itemChange","interval"],[4,"ngFor","ngForOf"],["loading","lazy",1,"d-block","w-100",3,"src","alt"]],template:function(e,o){e&1&&(s(0,"c-carousel",0),B("itemChange",function(I){return o.onItemChange(I)}),s(1,"c-carousel-inner"),v(2,bt,2,2,"c-carousel-item",1),r()()),e&2&&(m("interval",5e3),l(2),m("ngForOf",o.slides))},dependencies:[S,b,w,x]});let i=t;return i})();var st=`\`\`\`typescript import { CarouselModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-HAZXEF27.js b/angular/docs/chunk-JNNTPHQT.js similarity index 96% rename from angular/docs/chunk-HAZXEF27.js rename to angular/docs/chunk-JNNTPHQT.js index 8df2c56debd..9d4e0e65aaf 100644 --- a/angular/docs/chunk-HAZXEF27.js +++ b/angular/docs/chunk-JNNTPHQT.js @@ -1,4 +1,4 @@ -import{a as h}from"./chunk-JTYAMBBT.js";import{g as S}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import{a as j}from"./chunk-SWYVARVN.js";import{r as x}from"./chunk-JJFVMVK7.js";import{c as w,d as v}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import{$b as n,Bc as l,Cc as C,Dc as y,Oc as p,Pc as u,Qb as o,ac as r,bc as i,lb as m,mb as g,mc as b,na as d}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var E=(()=>{let t=class t{constructor(){this.data={datasets:[{label:"Scatter Dataset 1",data:[{x:-10,y:0},{x:0,y:10},{x:10,y:5},{x:.5,y:5.5}],borderColor:"rgb(222,99,156)",backgroundColor:"rgb(231,25,69)"},{label:"Scatter Dataset 2",data:[{x:-1,y:6},{x:-4,y:7},{x:9,y:4},{x:.7,y:1.7}],borderColor:"rgb(133,178,56)",backgroundColor:"rgb(124,213,17)"}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts07"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","scatter",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var D=(()=>{let t=class t{constructor(){this.data={datasets:[{label:"First Dataset",data:[{x:20,y:30,r:15},{x:40,y:10,r:10}],backgroundColor:"rgb(255, 99, 132)"},{label:"Second Dataset",data:[{x:18,y:26,r:27},{x:23,y:16,r:42}],backgroundColor:"rgb(99,138,255)"},{label:"Third Dataset",data:[{x:27,y:22,r:9},{x:26,y:18,r:24}],backgroundColor:"rgb(71,208,66)"}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts06"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","bubble",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var F=(()=>{let t=class t{constructor(){this.data={labels:["Red","Green","Yellow","Grey","Blue"],datasets:[{data:[11,16,7,3,14],backgroundColor:["#FF6384","#4BC0C0","#FFCE56","#E7E9ED","#36A2EB"]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts05"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","polarArea",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var k=(()=>{let t=class t{constructor(){this.data={labels:["VueJs","EmberJs","ReactJs","Angular"],datasets:[{backgroundColor:["#41B883","#E46651","#00D8FF","#DD1B16"],data:[40,20,80,10]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts04"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","doughnut",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var M=(()=>{let t=class t{constructor(){this.data={labels:["Eating","Drinking","Sleeping","Designing","Coding","Cycling","Running"],datasets:[{label:"My First dataset",backgroundColor:"rgba(220, 220, 220, 0.2)",borderColor:"rgba(220, 220, 220, 1)",pointBackgroundColor:"rgba(220, 220, 220, 1)",pointBorderColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:"rgba(220, 220, 220, 1)",data:[65,59,90,81,56,55,40]},{label:"My Second dataset",backgroundColor:"rgba(151, 187, 205, 0.2)",borderColor:"rgba(151, 187, 205, 1)",pointBackgroundColor:"rgba(151, 187, 205, 1)",pointBorderColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:"rgba(151, 187, 205, 1)",data:[28,48,40,19,96,27,100]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts03"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","radar",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var A=(()=>{let t=class t{constructor(){this.data={labels:["January","February","March","April","May","June","July"],datasets:[{label:"GitHub Commits",backgroundColor:"#f87979",data:[40,20,12,39,10,80,40]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts02"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","bar",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var T=(()=>{let t=class t{constructor(){this.data={labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(220, 220, 220, 0.2)",borderColor:"rgba(220, 220, 220, 1)",pointBackgroundColor:"rgba(220, 220, 220, 1)",pointBorderColor:"#fff",data:[40,20,12,39,10,80,40]},{label:"My Second dataset",backgroundColor:"rgba(151, 187, 205, 0.2)",borderColor:"rgba(151, 187, 205, 1)",pointBackgroundColor:"rgba(151, 187, 205, 1)",pointBorderColor:"#fff",data:[50,12,28,29,7,25,60]}]}}handleChartRef(s){s&&(console.log("handleChartRef",s),this.data.labels.push("August"),this.data.datasets[0].data.push(60),this.data.datasets[1].data.push(20),setTimeout(()=>{s?.update()},3e3))}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts01"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","line",3,"chartRef","data"]],template:function(e,c){e&1&&(n(0,"c-chart",0),b("chartRef",function(P){return c.handleChartRef(P)}),r()),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var B="```bash\nnpm install chart.js@4\nnpm install @coreui/chartjs@4\nnpm install @coreui/angular-chartjs@5.2\n```\n";var I="```bash\nyarn add chart.js\nyarn add @coreui/chartjs\nyarn add @coreui/angular-chartjs\n```\n";var _=`\`\`\`typescript +import{a as h}from"./chunk-WYQS275H.js";import{g as S}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import{a as j}from"./chunk-MH6VOBXJ.js";import{r as x}from"./chunk-Q5WIR6QR.js";import{c as w,d as v}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import{$b as n,Bc as l,Cc as C,Dc as y,Oc as p,Pc as u,Qb as o,ac as r,bc as i,lb as m,mb as g,mc as b,na as d}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var E=(()=>{let t=class t{constructor(){this.data={datasets:[{label:"Scatter Dataset 1",data:[{x:-10,y:0},{x:0,y:10},{x:10,y:5},{x:.5,y:5.5}],borderColor:"rgb(222,99,156)",backgroundColor:"rgb(231,25,69)"},{label:"Scatter Dataset 2",data:[{x:-1,y:6},{x:-4,y:7},{x:9,y:4},{x:.7,y:1.7}],borderColor:"rgb(133,178,56)",backgroundColor:"rgb(124,213,17)"}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts07"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","scatter",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var D=(()=>{let t=class t{constructor(){this.data={datasets:[{label:"First Dataset",data:[{x:20,y:30,r:15},{x:40,y:10,r:10}],backgroundColor:"rgb(255, 99, 132)"},{label:"Second Dataset",data:[{x:18,y:26,r:27},{x:23,y:16,r:42}],backgroundColor:"rgb(99,138,255)"},{label:"Third Dataset",data:[{x:27,y:22,r:9},{x:26,y:18,r:24}],backgroundColor:"rgb(71,208,66)"}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts06"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","bubble",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var F=(()=>{let t=class t{constructor(){this.data={labels:["Red","Green","Yellow","Grey","Blue"],datasets:[{data:[11,16,7,3,14],backgroundColor:["#FF6384","#4BC0C0","#FFCE56","#E7E9ED","#36A2EB"]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts05"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","polarArea",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var k=(()=>{let t=class t{constructor(){this.data={labels:["VueJs","EmberJs","ReactJs","Angular"],datasets:[{backgroundColor:["#41B883","#E46651","#00D8FF","#DD1B16"],data:[40,20,80,10]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts04"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","doughnut",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var M=(()=>{let t=class t{constructor(){this.data={labels:["Eating","Drinking","Sleeping","Designing","Coding","Cycling","Running"],datasets:[{label:"My First dataset",backgroundColor:"rgba(220, 220, 220, 0.2)",borderColor:"rgba(220, 220, 220, 1)",pointBackgroundColor:"rgba(220, 220, 220, 1)",pointBorderColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:"rgba(220, 220, 220, 1)",data:[65,59,90,81,56,55,40]},{label:"My Second dataset",backgroundColor:"rgba(151, 187, 205, 0.2)",borderColor:"rgba(151, 187, 205, 1)",pointBackgroundColor:"rgba(151, 187, 205, 1)",pointBorderColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:"rgba(151, 187, 205, 1)",data:[28,48,40,19,96,27,100]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts03"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","radar",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var A=(()=>{let t=class t{constructor(){this.data={labels:["January","February","March","April","May","June","July"],datasets:[{label:"GitHub Commits",backgroundColor:"#f87979",data:[40,20,12,39,10,80,40]}]}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts02"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","bar",3,"data"]],template:function(e,c){e&1&&i(0,"c-chart",0),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var T=(()=>{let t=class t{constructor(){this.data={labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(220, 220, 220, 0.2)",borderColor:"rgba(220, 220, 220, 1)",pointBackgroundColor:"rgba(220, 220, 220, 1)",pointBorderColor:"#fff",data:[40,20,12,39,10,80,40]},{label:"My Second dataset",backgroundColor:"rgba(151, 187, 205, 0.2)",borderColor:"rgba(151, 187, 205, 1)",pointBackgroundColor:"rgba(151, 187, 205, 1)",pointBorderColor:"#fff",data:[50,12,28,29,7,25,60]}]}}handleChartRef(s){s&&(console.log("handleChartRef",s),this.data.labels.push("August"),this.data.datasets[0].data.push(60),this.data.datasets[1].data.push(20),setTimeout(()=>{s?.update()},3e3))}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=d({type:t,selectors:[["docs-charts01"]],standalone:!0,features:[p],decls:1,vars:1,consts:[["type","line",3,"chartRef","data"]],template:function(e,c){e&1&&(n(0,"c-chart",0),b("chartRef",function(P){return c.handleChartRef(P)}),r()),e&2&&o("data",c.data)},dependencies:[h],encapsulation:2});let a=t;return a})();var B="```bash\nnpm install chart.js@4\nnpm install @coreui/chartjs@4\nnpm install @coreui/angular-chartjs@5.2\n```\n";var I="```bash\nyarn add chart.js\nyarn add @coreui/chartjs\nyarn add @coreui/angular-chartjs\n```\n";var _=`\`\`\`typescript import { ChartjsModule } from '@coreui/angular-chartjs'; @NgModule({ diff --git a/angular/docs/chunk-OC4L7NU7.js b/angular/docs/chunk-KSJ3YIIK.js similarity index 96% rename from angular/docs/chunk-OC4L7NU7.js rename to angular/docs/chunk-KSJ3YIIK.js index 71f1b5c96ab..d8d41d9e5bc 100644 --- a/angular/docs/chunk-OC4L7NU7.js +++ b/angular/docs/chunk-KSJ3YIIK.js @@ -1,4 +1,4 @@ -import{a as se,b as ue}from"./chunk-KQYWJLIW.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{a as pe}from"./chunk-5LYXIB6J.js";import{a as he}from"./chunk-PSZHWT7N.js";import"./chunk-6VQYNMHT.js";import"./chunk-4EHRG2WJ.js";import{a as h,b as g,c as j,d as N,e as k,f as F,g as E,h as w,i as I,l as z}from"./chunk-C5JPXVV5.js";import{A as L,B as S,b as fe,c as ve,d as v,e as _e,f as y,i as T,m as A,q as be,r as xe,t as D,u as q,v as Ce,w as ye,y as Se}from"./chunk-JZLZFTWK.js";import"./chunk-R2HXWLDR.js";import"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as C}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{b as ge,c as M,d as $,e as ke,f as H}from"./chunk-EBCID5MY.js";import{g as we}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as Ee}from"./chunk-SWYVARVN.js";import{r as Fe}from"./chunk-JJFVMVK7.js";import{c as de,d as me}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{m as ae,n as re,o as le,x as ce}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Aa as P,Ba as R,Bc as a,Cc as Q,Dc as f,Jb as s,Nc as ne,Oc as b,Pc as Z,Qb as i,Qc as oe,Wc as O,Xc as U,ac as t,bc as d,ca as ie,cc as B,dc as G,fc as W,lb as n,mb as J,mc as x,na as _,oc as u}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var ee=(()=>{let l=class l{constructor(){this.formRules={nonEmpty:"^[a-zA-Z0-9]+([_ -]?[a-zA-Z0-9])*$",usernameMin:5,passwordMin:6,passwordPattern:"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,}"},this.formErrors={firstName:"",lastName:"",username:"",email:"",password:"",confirmPassword:"",birthday:"",accept:!1},this.errorMessages={firstName:{required:"First name is required"},lastName:{required:"Last name is required"},username:{required:"Username is required",minLength:`Username must be ${this.formRules.usernameMin} characters or more`,pattern:"Must contain letters and/or numbers, no trailing spaces"},email:{required:"required",email:"Invalid email address"},password:{required:"Password is required",pattern:"Password must contain: numbers, uppercase and lowercase letters",minLength:`Password must be at least ${this.formRules.passwordMin} characters`},confirmPassword:{required:"Password confirmation is required",passwordMismatch:"Passwords must match"},birthday:{required:"Birthday date required"},accept:{requiredTrue:"You have to accept our Terms and Conditions"}}}};l.\u0275fac=function(m){return new(m||l)},l.\u0275prov=ie({token:l,factory:l.\u0275fac,providedIn:"root"});let o=l;return o})();var Me=o=>({"bg-info":o});function Pe(o,l){o&1&&(e(0,"div"),a(1,"First Name is required"),t())}function Re(o,l){if(o&1&&(B(0),s(1,Pe,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required)}}function Be(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Re,2,1,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function Ge(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",19),s(2,Be,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("autofocus",!0)("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function Oe(o,l){o&1&&(e(0,"div"),a(1,"Last Name is required"),t())}function Ue(o,l){if(o&1&&(B(0),s(1,Oe,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required)}}function Ae(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Ue,2,1,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function je(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",22),s(2,Ae,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function ze(o,l){o&1&&(e(0,"div"),a(1,"Username is required"),t())}function Ze(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.username.minLength," ")}}function Ye(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.username.pattern," ")}}function Je(o,l){if(o&1&&(B(0),s(1,ze,2,0,"div",11)(2,Ze,2,1,"div",11)(3,Ye,2,1,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required),n(),i("ngIf",r.minlength),n(),i("ngIf",r.pattern)}}function We(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Je,4,3,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function $e(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",23),s(2,We,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function He(o,l){o&1&&(e(0,"div"),a(1,"Email is required"),t())}function Ke(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.email==null?null:r.formErrors.email.email," ")}}function Qe(o,l){if(o&1&&(B(0),s(1,He,2,0,"div",11)(2,Ke,2,1,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.required),n(),i("ngIf",r==null?null:r.email)}}function Xe(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Qe,3,2,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function et(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",24),s(2,Xe,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function tt(o,l){o&1&&(e(0,"div"),a(1,"Password is required"),t())}function it(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.password.minLength," ")}}function nt(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.password.pattern," ")}}function ot(o,l){if(o&1&&(B(0),s(1,tt,2,0,"div",11)(2,it,2,1,"div",11)(3,nt,2,1,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.required),n(),i("ngIf",r==null?null:r.minlength),n(),i("ngIf",r.pattern)}}function at(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,ot,4,3,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function rt(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",25),s(2,at,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function lt(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.confirmPassword.passwordMismatch," ")}}function ct(o,l){o&1&&(e(0,"div"),a(1,"Confirmation is required"),t())}function dt(o,l){if(o&1&&(B(0),s(1,lt,2,1,"div",11)(2,ct,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.passwordMismatch),n(),i("ngIf",r==null?null:r.required)}}function mt(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,dt,3,2,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function pt(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",26),s(2,mt,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function st(o,l){o&1&&(e(0,"div"),a(1,"Birthday date required"),t())}function ut(o,l){if(o&1&&(B(0),s(1,st,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.required)}}function ft(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,ut,2,1,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function vt(o,l){if(o&1&&(e(0,"c-col",18),d(1,"c-date-picker",27),s(2,ft,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function _t(o,l){o&1&&(e(0,"div"),a(1,"You have to accept our Terms and Conditions"),t())}function bt(o,l){if(o&1&&(B(0),s(1,_t,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required)}}function xt(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,bt,2,1,"ng-container",11),t()),o&2){let r=u().ngIf;i("valid",!1),n(),i("ngIf",r.errors)}}function Ct(o,l){if(o&1&&(e(0,"c-col")(1,"c-form-check"),d(2,"input",28),e(3,"label",29),a(4,"I accept the terms of use"),t(),s(5,xt,2,2,"c-form-feedback",20),t()()),o&2){let r=l.ngIf,c=u();n(2),i("valid",r.valid?!0:c.submitted&&r.invalid?!1:void 0),n(3),i("ngIf",c.submitted&&r.invalid)}}function yt(o,l){if(o&1&&(e(0,"ul")(1,"li"),a(2),e(3,"ul")(4,"li"),a(5),O(6,"json"),t(),e(7,"li"),a(8),O(9,"json"),t(),e(10,"li"),a(11),O(12,"json"),t(),e(13,"li"),a(14),O(15,"json"),t(),e(16,"li"),a(17),O(18,"json"),t()()()()),o&2){let r=l.$implicit,c=u();n(2),f(" ",r," "),n(3),f("Invalid: ",U(6,6,c.simpleForm.controls[r].invalid),""),n(3),f("Pristine: ",U(9,8,c.simpleForm.controls[r].pristine),""),n(3),f("Status: ",U(12,10,c.simpleForm.controls[r].status),""),n(3),f("Touched: ",U(15,12,c.simpleForm.controls[r].touched),""),n(3),f("Errors: ",U(18,14,c.simpleForm.controls[r].errors),"")}}var te=class{static confirmPassword(l){let r=l.get("password"),c=l.get("confirmPassword");return r?.valid&&r?.value===c?.value?(c?.setErrors(null),null):(c?.setErrors({passwordMismatch:!0}),{passwordMismatch:!0})}},Ie=(()=>{let l=class l{constructor(c,m){this.formBuilder=c,this.validationFormsService=m,this.submitted=!1,this.formErrors=this.validationFormsService.errorMessages,this.createForm()}createForm(){this.simpleForm=this.formBuilder.group({firstName:["",[v.required]],lastName:["",[v.required]],username:["",[v.required,v.minLength(this.validationFormsService.formRules.usernameMin),v.pattern(this.validationFormsService.formRules.nonEmpty)]],email:["",[v.required,v.email]],password:["",[v.required,v.minLength(this.validationFormsService.formRules.passwordMin),v.pattern(this.validationFormsService.formRules.passwordPattern)]],confirmPassword:["",[v.required,v.minLength(this.validationFormsService.formRules.passwordMin),v.pattern(this.validationFormsService.formRules.passwordPattern)]],birthday:[null,[v.required]],accept:[!1,[v.requiredTrue]]},{validators:[te.confirmPassword]}),this.formControls=Object.keys(this.simpleForm.controls)}onReset(){this.submitted=!1,this.simpleForm.reset()}onValidate(){return this.submitted=!0,this.simpleForm.status==="VALID"}onSubmit(){console.warn(this.onValidate(),this.simpleForm.value),this.onValidate()&&(console.warn(this.simpleForm.value),alert("SUCCESS!"))}};l.\u0275fac=function(m){return new(m||l)(J(Se),J(ee))},l.\u0275cmp=_({type:l,selectors:[["docs-validation06"]],standalone:!0,features:[ne([ee]),b],decls:60,vars:36,consts:[[3,"md"],["cForm","","novalidate","",3,"ngSubmit","formGroup"],[1,"mb-1"],["cCol","","cLabel","col","for","firstName",3,"sm"],[3,"sm",4,"ngIf"],["cCol","","cLabel","col","for","lastName",3,"sm"],["cCol","","cLabel","col","for","username",3,"sm"],["cCol","","cLabel","col","for","email",3,"sm"],["cCol","","cLabel","col","for","password",3,"sm"],["cCol","","cLabel","col","for","confirmPassword",3,"sm"],["cCol","","cLabel","col","for","birthday",3,"sm"],[4,"ngIf"],["cButton","","color","primary","type","submit",3,"disabled","tabindex"],["cButton","","color","success",3,"click","disabled","tabindex"],["cButton","","color","danger","type","reset",3,"click","tabindex"],[1,"bg-dark",3,"ngClass"],[1,"text-white"],[4,"ngFor","ngForOf"],[3,"sm"],["autocomplete","off","cFormControl","","formControlName","firstName","id","firstName","placeholder","First name","required","",3,"autofocus","valid"],[3,"valid",4,"ngIf"],[3,"valid"],["autocomplete","off","cFormControl","","formControlName","lastName","id","lastName","placeholder","Last name","required","",3,"valid"],["autocomplete","off","cFormControl","","formControlName","username","id","username","placeholder","Username","required","",3,"valid"],["autocomplete","off","cFormControl","","formControlName","email","id","email","placeholder","Email","required","","type","email",3,"valid"],["autocomplete","new-password","cFormControl","","formControlName","password","id","password","placeholder","Password","required","","type","password",3,"valid"],["autocomplete","off","cFormControl","","formControlName","confirmPassword","id","confirmPassword","placeholder","Confirm password","required","","type","password",3,"valid"],["formControlName","birthday","id","birthday","required","",3,"valid"],["cFormCheckInput","","formControlName","accept","id","accept","required","","type","checkbox",3,"valid"],["cFormCheckLabel","","custom","","for","accept"]],template:function(m,p){m&1&&(e(0,"c-row")(1,"c-col",0)(2,"form",1),x("ngSubmit",function(){return p.onSubmit()}),e(3,"c-row",2)(4,"label",3),a(5,"First name"),t(),s(6,Ge,3,4,"c-col",4),t(),e(7,"c-row",2)(8,"label",5),a(9,"Last name"),t(),s(10,je,3,3,"c-col",4),t(),e(11,"c-row",2)(12,"label",6),a(13,"Username"),t(),s(14,$e,3,3,"c-col",4),t(),e(15,"c-row",2)(16,"label",7),a(17,"Email"),t(),s(18,et,3,3,"c-col",4),t(),e(19,"c-row",2)(20,"label",8),a(21,"Password"),t(),s(22,rt,3,3,"c-col",4),t(),e(23,"c-row",2)(24,"label",9),a(25,"Confirm password"),t(),s(26,pt,3,3,"c-col",4),t(),e(27,"c-row",2)(28,"label",10),a(29,"Date of Birth"),t(),s(30,vt,3,3,"c-col",4),t(),e(31,"c-row",2),s(32,Ct,6,2,"c-col",11),t(),d(33,"hr"),e(34,"c-button-group")(35,"button",12),a(36," Submit "),t(),e(37,"button",13),x("click",function(){return p.onValidate()}),a(38," Validate "),t(),e(39,"button",14),x("click",function(){return p.onReset()}),a(40," Reset "),t()()()(),e(41,"c-col",0)(42,"c-card",15)(43,"c-card-body")(44,"pre",16),a(45,"Value: "),e(46,"code"),a(47),O(48,"json"),t()(),e(49,"ul")(50,"li"),a(51),t(),e(52,"li"),a(53),t(),e(54,"li"),a(55),t(),e(56,"li"),a(57),O(58,"json"),t()(),s(59,yt,19,16,"ul",17),t()()()()),m&2&&(n(),i("md",6),n(),i("formGroup",p.simpleForm),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.firstName),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.lastName),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.username),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.email),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.password),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.confirmPassword),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.birthday),n(2),i("ngIf",p.simpleForm.controls.accept),n(3),i("disabled",p.simpleForm.pristine||p.simpleForm.invalid)("tabindex","0"),n(2),i("disabled",p.simpleForm.valid)("tabindex","0"),n(2),i("tabindex","0"),n(2),i("md",6),n(),i("ngClass",oe(34,Me,p.simpleForm.valid)),n(5),Q(U(48,30,p.simpleForm.value)),n(4),f("Status: ",p.simpleForm.status,""),n(2),f("Valid: ",p.simpleForm.valid,""),n(2),f("Pristine: ",p.simpleForm.pristine,""),n(2),f("Errors: ",U(58,32,p.simpleForm.errors),""),n(2),i("ngForOf",p.formControls))},dependencies:[ke,M,S,A,ve,fe,_e,y,Ce,ye,be,xe,h,ge,k,le,I,g,he,E,w,F,pe,C,se,ae,ue,re,ce],styles:[".btn[_ngcontent-%COMP%]:disabled{cursor:auto}input[autocomplete=off][_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, input[autocomplete=off][_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button{visibility:hidden;position:absolute;right:0}"]});let o=l;return o})();var Ve=(()=>{let l=class l{constructor(){this.tooltipValidated=!1}onSubmit3(){this.tooltipValidated=!0,console.log("Submit... 3")}onReset3(){this.tooltipValidated=!1,console.log("Reset... 3")}};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation05"]],standalone:!0,features:[b],decls:57,vars:16,consts:[["tooltipForm","ngForm"],["cForm","",1,"row","g-3","needs-validation",3,"ngSubmit","validated"],[1,"position-relative",3,"md"],["cLabel","","for","validationTooltip01"],["cFormControl","","id","validationTooltip01","required","","type","text","value","Mark"],["tooltip","",3,"valid"],["cLabel","","for","validationTooltip02"],["cFormControl","","id","validationTooltip02","required","","type","text","value","Otto"],["cLabel","","for","validationTooltipUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrependTooltip"],["aria-describedby","inputGroupPrependTooltip","cFormControl","","id","validationTooltipUsername","required","","type","text"],["cLabel","","for","validationTooltip03"],["cFormControl","","id","validationTooltip03","required","","type","text"],["cLabel","","for","validationTooltip04"],["cSelect","","id","validationTooltip04","required",""],["value",""],["value","1"],["cLabel","","for","validationTooltip05"],["cFormControl","","id","validationTooltip05","required","","type","text"],[1,"position-relative",3,"xs"],["cFormCheckInput","","id","invalidCheckTooltip","name","invalidCheckTooltip","required","","type","checkbox"],["cFormCheckLabel","","for","invalidCheckTooltip"],[3,"xs"],["cButton","","color","primary","type","submit",1,"me-1"],["cButton","","color","secondary","type","reset",3,"click"]],template:function(m,p){if(m&1){let V=W();e(0,"form",1,0),x("ngSubmit",function(){return P(V),R(p.onSubmit3())}),e(2,"c-col",2)(3,"label",3),a(4,"First name"),t(),d(5,"input",4),e(6,"c-form-feedback",5),a(7,"Looks good!"),t()(),e(8,"c-col",2)(9,"label",6),a(10,"Last name"),t(),d(11,"input",7),e(12,"c-form-feedback",5),a(13,"Looks good!"),t()(),e(14,"c-col",2)(15,"label",8),a(16,"Username"),t(),e(17,"c-input-group",9)(18,"span",10),a(19,"@"),t(),d(20,"input",11),e(21,"c-form-feedback",5),a(22,"Please choose a username."),t()()(),e(23,"c-col",2)(24,"label",12),a(25,"City"),t(),d(26,"input",13),e(27,"c-form-feedback",5),a(28,"Please provide a valid city."),t()(),e(29,"c-col",2)(30,"label",14),a(31,"State"),t(),e(32,"select",15)(33,"option",16),a(34,"Choose..."),t(),e(35,"option",17),a(36,"..."),t()(),e(37,"c-form-feedback",5),a(38,"Please provide a valid State."),t()(),e(39,"c-col",2)(40,"label",18),a(41,"Zip code"),t(),d(42,"input",19),e(43,"c-form-feedback",5),a(44,"Please provide a valid zip."),t()(),e(45,"c-col",20)(46,"c-form-check"),d(47,"input",21),e(48,"label",22),a(49,"Agree to terms and conditions"),t()(),e(50,"c-form-feedback",5),a(51,"You must agree before submitting."),t()(),e(52,"c-col",23)(53,"button",24),a(54," Submit form "),t(),e(55,"button",25),x("click",function(){return P(V),R(p.onReset3())}),a(56," Reset "),t()()()}m&2&&(i("validated",p.tooltipValidated),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(7),i("valid",!1),n(2),i("md",6),n(4),i("valid",!1),n(2),i("md",3),n(8),i("valid",!1),n(2),i("md",3),n(4),i("valid",!1),n(2),i("xs",12),n(5),i("valid",!1),n(2),i("xs",12))},dependencies:[S,A,D,q,y,L,T,h,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var Te=(()=>{let l=class l{};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation04"]],standalone:!0,features:[b],decls:42,vars:7,consts:[["cForm","",3,"validated"],[1,"mb-3"],["cLabel","","for","validationTextarea",1,"form-label"],["cFormControl","","id","validationTextarea","placeholder","Required example textarea","required","",3,"valid"],[3,"valid"],["cFormCheckInput","","id","validationFormCheck1","name","validationFormCheck1","required","","type","checkbox"],["cFormCheckLabel","","for","validationFormCheck1"],["cFormCheckInput","","id","validationFormCheck2","name","radio-stacked","required","","type","radio"],["cFormCheckLabel","","for","validationFormCheck2"],["cFormCheckInput","","id","validationFormCheck3","name","radio-stacked","required","","type","radio"],["cFormCheckLabel","","for","validationFormCheck3"],["aria-label","select example","cSelect","","required",""],["value",""],["value","1"],["value","2"],["value","3"],["aria-label","file example","cFormControl","","id","validationText1","required","","type","file"],["cButton","","color","primary","disabled","","type","submit"]],template:function(m,p){m&1&&(e(0,"form",0)(1,"div",1)(2,"label",2),a(3," Textarea "),t(),d(4,"textarea",3),e(5,"c-form-feedback",4),a(6,"Please enter a message in the textarea."),t()(),e(7,"c-form-check",1),d(8,"input",5),e(9,"label",6),a(10,"Check this checkbox"),t()(),e(11,"c-form-feedback",4),a(12,"Example invalid feedback text"),t(),e(13,"c-form-check"),d(14,"input",7),e(15,"label",8),a(16,"Check this radio"),t()(),e(17,"c-form-check",1),d(18,"input",9),e(19,"label",10),a(20,"Check this radio"),t()(),e(21,"c-form-feedback",4),a(22,"More example invalid feedback text"),t(),e(23,"div",1)(24,"select",11)(25,"option",12),a(26,"Open this select menu"),t(),e(27,"option",13),a(28,"One"),t(),e(29,"option",14),a(30,"Two"),t(),e(31,"option",15),a(32,"Three"),t()(),e(33,"c-form-feedback",4),a(34,"Example invalid select feedback"),t()(),e(35,"div",1),d(36,"input",16),e(37,"c-form-feedback",4),a(38,"Example invalid form file feedback"),t()(),e(39,"div",1)(40,"button",17),a(41," Submit form "),t()()()),m&2&&(i("validated",!0),n(4),i("valid",!1),n(),i("valid",!1),n(6),i("valid",!1),n(10),i("valid",!1),n(12),i("valid",!1),n(4),i("valid",!1))},dependencies:[S,A,D,q,y,L,T,h,k,I,g,E,w,F,N,C],encapsulation:2});let o=l;return o})();var De=(()=>{let l=class l{};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation03"]],standalone:!0,features:[b],decls:54,vars:23,consts:[["cForm","","cRow","","ngNativeValidate","",1,"needs-validation",3,"gutter"],[3,"md"],["cLabel","","for","validationServer01"],["cFormControl","","id","validationServer01","required","","type","text","value","Mark",3,"valid"],[3,"valid"],["cLabel","","for","validationServer02"],["cFormControl","","id","validationServer02","required","","type","text","value","Otto",3,"valid"],["cLabel","","for","validationServerUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrepend03"],["aria-describedby","inputGroupPrepend03","cFormControl","","id","validationServerUsername","required","","type","text",3,"valid"],["cLabel","","for","validationServer03"],["cFormControl","","id","validationServer03","required","","type","text",3,"valid"],["cLabel","","for","validationServer04"],["cSelect","","id","validationServer04",3,"valid"],["disabled",""],["cLabel","","for","validationServer05"],["cFormControl","","id","validationServer05","required","","type","text",3,"valid"],[3,"xs"],[1,"mb-3"],["cFormCheckInput","","id","invalidCheckServer","required","","type","checkbox",3,"valid"],["cFormCheckLabel","","for","invalidCheckServer"],["cButton","","color","primary","type","submit"]],template:function(m,p){m&1&&(e(0,"form",0)(1,"c-col",1)(2,"label",2),a(3,"First name"),t(),d(4,"input",3),e(5,"c-form-feedback",4),a(6,"Looks good!"),t()(),e(7,"c-col",1)(8,"label",5),a(9,"Last name"),t(),d(10,"input",6),e(11,"c-form-feedback",4),a(12,"Looks good!"),t()(),e(13,"c-col",1)(14,"label",7),a(15,"Username"),t(),e(16,"c-input-group",8)(17,"span",9),a(18,"@"),t(),d(19,"input",10),e(20,"c-form-feedback",4),a(21,"Please choose a username."),t()()(),e(22,"c-col",1)(23,"label",11),a(24,"City"),t(),d(25,"input",12),e(26,"c-form-feedback",4),a(27,"Please provide a valid city."),t()(),e(28,"c-col",1)(29,"label",13),a(30,"State"),t(),e(31,"select",14)(32,"option",15),a(33,"Choose..."),t(),e(34,"option"),a(35,"..."),t()(),e(36,"c-form-feedback",4),a(37,"Please provide a valid state."),t()(),e(38,"c-col",1)(39,"label",16),a(40,"Zip code"),t(),d(41,"input",17),e(42,"c-form-feedback",4),a(43,"Please provide a valid zip."),t()(),e(44,"c-col",18)(45,"c-form-check",19),d(46,"input",20),e(47,"label",21),a(48,"Agree to terms and conditions"),t()(),e(49,"c-form-feedback",4),a(50,"You must agree before submitting."),t()(),e(51,"c-col",18)(52,"button",22),a(53," Submit form "),t()()()),m&2&&(i("gutter",3),n(),i("md",4),n(3),i("valid",!0),n(),i("valid",!0),n(2),i("md",4),n(3),i("valid",!0),n(),i("valid",!0),n(2),i("md",4),n(6),i("valid",!1),n(),i("valid",!1),n(2),i("md",6),n(3),i("valid",!1),n(),i("valid",!1),n(2),i("md",3),n(3),i("valid",!1),n(5),i("valid",!1),n(2),i("md",3),n(3),i("valid",!1),n(),i("valid",!1),n(2),i("xs",12),n(2),i("valid",!1),n(3),i("valid",!1),n(2),i("xs",12))},dependencies:[S,D,q,y,L,T,h,$,H,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var qe=(()=>{let l=class l{constructor(){this.browserDefaultsValidated=!1}onSubmit2(){this.browserDefaultsValidated=!0,console.log("Submit... 2")}onReset2(){this.browserDefaultsValidated=!1,console.log("Reset... 3")}};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation02"]],standalone:!0,features:[b],decls:57,vars:17,consts:[["browserDefaultsForm","ngForm"],["cForm","","cRow","","ngNativeValidate","",3,"ngSubmit","gutter","validated"],[3,"md"],["cLabel","","for","validationDefault01"],["cFormControl","","id","validationDefault01","required","","type","text","value","Mark"],[3,"valid"],["cLabel","","for","validationDefault02"],["cFormControl","","id","validationDefault02","required","","type","text","value","Otto"],["cLabel","","for","validationDefaultUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrepend1"],["aria-describedby","inputGroupPrepend1","cFormControl","","id","validationDefaultUsername","required","","type","text"],["cLabel","","for","validationDefault03"],["cFormControl","","id","validationDefault03","required","","type","text"],["cLabel","","for","validationDefault04"],["cSelect","","id","validationDefault04","required",""],["value",""],["cLabel","","for","validationDefault05"],["cFormControl","","id","validationDefault05","required","","type","text"],[3,"xs"],["cFormCheckInput","","id","invalidCheck1","name","invalidCheck","required","","type","checkbox"],["cFormCheckLabel","","for","invalidCheck1"],["cButton","","color","primary","type","submit",1,"me-1"],["cButton","","color","secondary","type","reset",3,"click"]],template:function(m,p){if(m&1){let V=W();e(0,"form",1,0),x("ngSubmit",function(){return P(V),R(p.onSubmit2())}),e(2,"c-col",2)(3,"label",3),a(4,"Email"),t(),d(5,"input",4),e(6,"c-form-feedback",5),a(7,"Looks good!"),t()(),e(8,"c-col",2)(9,"label",6),a(10,"Email"),t(),d(11,"input",7),e(12,"c-form-feedback",5),a(13,"Looks good!"),t()(),e(14,"c-col",2)(15,"label",8),a(16,"Username"),t(),e(17,"c-input-group",9)(18,"span",10),a(19,"@"),t(),d(20,"input",11),e(21,"c-form-feedback",5),a(22,"Please choose a username."),t()()(),e(23,"c-col",2)(24,"label",12),a(25,"City"),t(),d(26,"input",13),e(27,"c-form-feedback",5),a(28,"Please provide a valid city."),t()(),e(29,"c-col",2)(30,"label",14),a(31,"State"),t(),e(32,"select",15)(33,"option",16),a(34,"Choose..."),t(),e(35,"option"),a(36,"..."),t()(),e(37,"c-form-feedback",5),a(38,"Please provide a valid State."),t()(),e(39,"c-col",2)(40,"label",17),a(41,"Zip code"),t(),d(42,"input",18),e(43,"c-form-feedback",5),a(44,"Please provide a valid zip."),t()(),e(45,"c-col",19)(46,"c-form-check"),d(47,"input",20),e(48,"label",21),a(49,"Agree to terms and conditions"),t()(),e(50,"c-form-feedback",5),a(51,"You must agree before submitting."),t()(),e(52,"c-col",19)(53,"button",22),a(54," Submit form "),t(),e(55,"button",23),x("click",function(){return P(V),R(p.onReset2())}),a(56," Reset "),t()()()}m&2&&(i("gutter",3)("validated",p.browserDefaultsValidated),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(7),i("valid",!1),n(2),i("md",6),n(4),i("valid",!1),n(2),i("md",3),n(8),i("valid",!1),n(2),i("md",3),n(4),i("valid",!1),n(2),i("xs",12),n(5),i("valid",!1),n(2),i("xs",12))},dependencies:[S,D,q,y,L,T,h,$,H,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var Le=(()=>{let l=class l{constructor(){this.customStylesValidated=!1}onSubmit1(){this.customStylesValidated=!0,console.log("Submit... 1")}onReset1(){this.customStylesValidated=!1,console.log("Reset... 1")}};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation01"]],standalone:!0,features:[b],decls:57,vars:17,consts:[["customStylesForm","ngForm"],["novalidate","","cForm","","cRow","",1,"needs-validation",3,"ngSubmit","gutter","validated"],[3,"md"],["cLabel","","for","validationCustom01"],["cFormControl","","id","validationCustom01","required","","type","text","value","Mark"],[3,"valid"],["cLabel","","for","validationCustom02"],["cFormControl","","id","validationCustom02","required","","type","text","value","Otto"],["cLabel","","for","validationCustomUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrepend"],["aria-describedby","inputGroupPrepend","cFormControl","","id","validationCustomUsername","required","","type","text"],["cLabel","","for","validationCustom03"],["cFormControl","","id","validationCustom03","required","","type","text"],["cLabel","","for","validationCustom04"],["cSelect","","id","validationCustom04","required",""],["value",""],["cLabel","","for","validationCustom05"],["cFormControl","","id","validationCustom05","required","","type","text"],[3,"xs"],["cFormCheckInput","","id","invalidCheck","name","invalidCheck","required","","type","checkbox"],["cFormCheckLabel","","for","invalidCheck"],["cButton","","color","primary","type","submit",1,"me-1"],["cButton","","color","secondary","type","reset",3,"click"]],template:function(m,p){if(m&1){let V=W();e(0,"form",1,0),x("ngSubmit",function(){return P(V),R(p.onSubmit1())}),e(2,"c-col",2)(3,"label",3),a(4,"First name"),t(),d(5,"input",4),e(6,"c-form-feedback",5),a(7,"Looks good!"),t()(),e(8,"c-col",2)(9,"label",6),a(10,"Last name"),t(),d(11,"input",7),e(12,"c-form-feedback",5),a(13,"Looks good!"),t()(),e(14,"c-col",2)(15,"label",8),a(16,"Username"),t(),e(17,"c-input-group",9)(18,"span",10),a(19,"@"),t(),d(20,"input",11),e(21,"c-form-feedback",5),a(22,"Please choose a username."),t()()(),e(23,"c-col",2)(24,"label",12),a(25,"City"),t(),d(26,"input",13),e(27,"c-form-feedback",5),a(28,"Please provide a valid city."),t()(),e(29,"c-col",2)(30,"label",14),a(31,"State"),t(),e(32,"select",15)(33,"option",16),a(34,"Choose..."),t(),e(35,"option"),a(36,"..."),t()(),e(37,"c-form-feedback",5),a(38,"Please provide a valid State."),t()(),e(39,"c-col",2)(40,"label",17),a(41,"Zip code"),t(),d(42,"input",18),e(43,"c-form-feedback",5),a(44,"Please provide a valid zip."),t()(),e(45,"c-col",19)(46,"c-form-check"),d(47,"input",20),e(48,"label",21),a(49,"Agree to terms and conditions"),t()(),e(50,"c-form-feedback",5),a(51,"You must agree before submitting."),t()(),e(52,"c-col",19)(53,"button",22),a(54," Submit form "),t(),e(55,"button",23),x("click",function(){return P(V),R(p.onReset1())}),a(56," Reset "),t()()()}m&2&&(i("gutter",3)("validated",p.customStylesValidated),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(7),i("valid",!1),n(2),i("md",6),n(4),i("valid",!1),n(2),i("md",3),n(8),i("valid",!1),n(2),i("md",3),n(4),i("valid",!1),n(2),i("xs",12),n(5),i("valid",!1),n(2),i("xs",12))},dependencies:[S,A,D,q,y,L,T,h,$,H,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var St=()=>["forms/validation/examples/validation01.component.html"],ht=()=>["forms/validation/examples/validation02.component.html"],gt=()=>["forms/validation/examples/validation03.component.html"],kt=()=>["forms/validation/examples/validation04.component.html"],Ft=()=>["forms/validation/examples/validation05.component.html"],Et=()=>["forms/validation/examples/validation06.component.html","forms/validation/examples/validation06.component.ts","forms/validation/examples/validation-forms.service.ts"],oi=(()=>{let l=class l{constructor(c,m){this.metaService=c,this.titleService=m,this.title="Angular Form Validation",this.description="Provide valuable, actionable feedback to your users with HTML5 form validation, via browser default behaviors or custom styles and Angular Forms Validation."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};l.\u0275fac=function(m){return new(m||l)(J(de),J(me))},l.\u0275cmp=_({type:l,selectors:[["docs-validation-docs"]],standalone:!0,features:[b],decls:29,vars:14,consts:[["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"]],template:function(m,p){m&1&&(e(0,"h1",0),a(1),t(),e(2,"p",1),a(3),t(),d(4,"docs-ads-carbon-loader"),e(5,"markdown"),a(6,` +import{a as se,b as ue}from"./chunk-FDIAV3SM.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{a as pe}from"./chunk-C5U3MXIG.js";import{a as he}from"./chunk-32OODQEU.js";import"./chunk-WFOV5FNG.js";import"./chunk-S3TRUWXX.js";import{a as h,b as g,c as j,d as N,e as k,f as F,g as E,h as w,i as I,l as z}from"./chunk-ZGGOM75Q.js";import{A as L,B as S,b as fe,c as ve,d as v,e as _e,f as y,i as T,m as A,q as be,r as xe,t as D,u as q,v as Ce,w as ye,y as Se}from"./chunk-WFHPAILT.js";import"./chunk-UYIAOCXU.js";import"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as C}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{b as ge,c as M,d as $,e as ke,f as H}from"./chunk-PZ32EFID.js";import{g as we}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as Ee}from"./chunk-MH6VOBXJ.js";import{r as Fe}from"./chunk-Q5WIR6QR.js";import{c as de,d as me}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{m as ae,n as re,o as le,x as ce}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Aa as P,Ba as R,Bc as a,Cc as Q,Dc as f,Jb as s,Nc as ne,Oc as b,Pc as Z,Qb as i,Qc as oe,Wc as O,Xc as U,ac as t,bc as d,ca as ie,cc as B,dc as G,fc as W,lb as n,mb as J,mc as x,na as _,oc as u}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var ee=(()=>{let l=class l{constructor(){this.formRules={nonEmpty:"^[a-zA-Z0-9]+([_ -]?[a-zA-Z0-9])*$",usernameMin:5,passwordMin:6,passwordPattern:"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,}"},this.formErrors={firstName:"",lastName:"",username:"",email:"",password:"",confirmPassword:"",birthday:"",accept:!1},this.errorMessages={firstName:{required:"First name is required"},lastName:{required:"Last name is required"},username:{required:"Username is required",minLength:`Username must be ${this.formRules.usernameMin} characters or more`,pattern:"Must contain letters and/or numbers, no trailing spaces"},email:{required:"required",email:"Invalid email address"},password:{required:"Password is required",pattern:"Password must contain: numbers, uppercase and lowercase letters",minLength:`Password must be at least ${this.formRules.passwordMin} characters`},confirmPassword:{required:"Password confirmation is required",passwordMismatch:"Passwords must match"},birthday:{required:"Birthday date required"},accept:{requiredTrue:"You have to accept our Terms and Conditions"}}}};l.\u0275fac=function(m){return new(m||l)},l.\u0275prov=ie({token:l,factory:l.\u0275fac,providedIn:"root"});let o=l;return o})();var Me=o=>({"bg-info":o});function Pe(o,l){o&1&&(e(0,"div"),a(1,"First Name is required"),t())}function Re(o,l){if(o&1&&(B(0),s(1,Pe,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required)}}function Be(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Re,2,1,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function Ge(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",19),s(2,Be,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("autofocus",!0)("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function Oe(o,l){o&1&&(e(0,"div"),a(1,"Last Name is required"),t())}function Ue(o,l){if(o&1&&(B(0),s(1,Oe,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required)}}function Ae(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Ue,2,1,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function je(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",22),s(2,Ae,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function ze(o,l){o&1&&(e(0,"div"),a(1,"Username is required"),t())}function Ze(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.username.minLength," ")}}function Ye(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.username.pattern," ")}}function Je(o,l){if(o&1&&(B(0),s(1,ze,2,0,"div",11)(2,Ze,2,1,"div",11)(3,Ye,2,1,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required),n(),i("ngIf",r.minlength),n(),i("ngIf",r.pattern)}}function We(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Je,4,3,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function $e(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",23),s(2,We,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function He(o,l){o&1&&(e(0,"div"),a(1,"Email is required"),t())}function Ke(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.email==null?null:r.formErrors.email.email," ")}}function Qe(o,l){if(o&1&&(B(0),s(1,He,2,0,"div",11)(2,Ke,2,1,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.required),n(),i("ngIf",r==null?null:r.email)}}function Xe(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,Qe,3,2,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function et(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",24),s(2,Xe,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function tt(o,l){o&1&&(e(0,"div"),a(1,"Password is required"),t())}function it(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.password.minLength," ")}}function nt(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.password.pattern," ")}}function ot(o,l){if(o&1&&(B(0),s(1,tt,2,0,"div",11)(2,it,2,1,"div",11)(3,nt,2,1,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.required),n(),i("ngIf",r==null?null:r.minlength),n(),i("ngIf",r.pattern)}}function at(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,ot,4,3,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function rt(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",25),s(2,at,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function lt(o,l){if(o&1&&(e(0,"div"),a(1),t()),o&2){let r=u(4);n(),f(" ",r.formErrors.confirmPassword.passwordMismatch," ")}}function ct(o,l){o&1&&(e(0,"div"),a(1,"Confirmation is required"),t())}function dt(o,l){if(o&1&&(B(0),s(1,lt,2,1,"div",11)(2,ct,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.passwordMismatch),n(),i("ngIf",r==null?null:r.required)}}function mt(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,dt,3,2,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function pt(o,l){if(o&1&&(e(0,"c-col",18),d(1,"input",26),s(2,mt,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function st(o,l){o&1&&(e(0,"div"),a(1,"Birthday date required"),t())}function ut(o,l){if(o&1&&(B(0),s(1,st,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r==null?null:r.required)}}function ft(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,ut,2,1,"ng-container",11),t()),o&2){let r=u().ngIf,c=u();i("valid",!(c.submitted||r.invalid)),n(),i("ngIf",r.errors)}}function vt(o,l){if(o&1&&(e(0,"c-col",18),d(1,"c-date-picker",27),s(2,ft,2,2,"c-form-feedback",20),t()),o&2){let r=l.ngIf,c=u();i("sm",8),n(),i("valid",r.touched&&r.valid?!0:(c.submitted||r.touched)&&r.invalid?!1:void 0),n(),i("ngIf",c.submitted||r.invalid)}}function _t(o,l){o&1&&(e(0,"div"),a(1,"You have to accept our Terms and Conditions"),t())}function bt(o,l){if(o&1&&(B(0),s(1,_t,2,0,"div",11),G()),o&2){let r=l.ngIf;n(),i("ngIf",r.required)}}function xt(o,l){if(o&1&&(e(0,"c-form-feedback",21),s(1,bt,2,1,"ng-container",11),t()),o&2){let r=u().ngIf;i("valid",!1),n(),i("ngIf",r.errors)}}function Ct(o,l){if(o&1&&(e(0,"c-col")(1,"c-form-check"),d(2,"input",28),e(3,"label",29),a(4,"I accept the terms of use"),t(),s(5,xt,2,2,"c-form-feedback",20),t()()),o&2){let r=l.ngIf,c=u();n(2),i("valid",r.valid?!0:c.submitted&&r.invalid?!1:void 0),n(3),i("ngIf",c.submitted&&r.invalid)}}function yt(o,l){if(o&1&&(e(0,"ul")(1,"li"),a(2),e(3,"ul")(4,"li"),a(5),O(6,"json"),t(),e(7,"li"),a(8),O(9,"json"),t(),e(10,"li"),a(11),O(12,"json"),t(),e(13,"li"),a(14),O(15,"json"),t(),e(16,"li"),a(17),O(18,"json"),t()()()()),o&2){let r=l.$implicit,c=u();n(2),f(" ",r," "),n(3),f("Invalid: ",U(6,6,c.simpleForm.controls[r].invalid),""),n(3),f("Pristine: ",U(9,8,c.simpleForm.controls[r].pristine),""),n(3),f("Status: ",U(12,10,c.simpleForm.controls[r].status),""),n(3),f("Touched: ",U(15,12,c.simpleForm.controls[r].touched),""),n(3),f("Errors: ",U(18,14,c.simpleForm.controls[r].errors),"")}}var te=class{static confirmPassword(l){let r=l.get("password"),c=l.get("confirmPassword");return r?.valid&&r?.value===c?.value?(c?.setErrors(null),null):(c?.setErrors({passwordMismatch:!0}),{passwordMismatch:!0})}},Ie=(()=>{let l=class l{constructor(c,m){this.formBuilder=c,this.validationFormsService=m,this.submitted=!1,this.formErrors=this.validationFormsService.errorMessages,this.createForm()}createForm(){this.simpleForm=this.formBuilder.group({firstName:["",[v.required]],lastName:["",[v.required]],username:["",[v.required,v.minLength(this.validationFormsService.formRules.usernameMin),v.pattern(this.validationFormsService.formRules.nonEmpty)]],email:["",[v.required,v.email]],password:["",[v.required,v.minLength(this.validationFormsService.formRules.passwordMin),v.pattern(this.validationFormsService.formRules.passwordPattern)]],confirmPassword:["",[v.required,v.minLength(this.validationFormsService.formRules.passwordMin),v.pattern(this.validationFormsService.formRules.passwordPattern)]],birthday:[null,[v.required]],accept:[!1,[v.requiredTrue]]},{validators:[te.confirmPassword]}),this.formControls=Object.keys(this.simpleForm.controls)}onReset(){this.submitted=!1,this.simpleForm.reset()}onValidate(){return this.submitted=!0,this.simpleForm.status==="VALID"}onSubmit(){console.warn(this.onValidate(),this.simpleForm.value),this.onValidate()&&(console.warn(this.simpleForm.value),alert("SUCCESS!"))}};l.\u0275fac=function(m){return new(m||l)(J(Se),J(ee))},l.\u0275cmp=_({type:l,selectors:[["docs-validation06"]],standalone:!0,features:[ne([ee]),b],decls:60,vars:36,consts:[[3,"md"],["cForm","","novalidate","",3,"ngSubmit","formGroup"],[1,"mb-1"],["cCol","","cLabel","col","for","firstName",3,"sm"],[3,"sm",4,"ngIf"],["cCol","","cLabel","col","for","lastName",3,"sm"],["cCol","","cLabel","col","for","username",3,"sm"],["cCol","","cLabel","col","for","email",3,"sm"],["cCol","","cLabel","col","for","password",3,"sm"],["cCol","","cLabel","col","for","confirmPassword",3,"sm"],["cCol","","cLabel","col","for","birthday",3,"sm"],[4,"ngIf"],["cButton","","color","primary","type","submit",3,"disabled","tabindex"],["cButton","","color","success",3,"click","disabled","tabindex"],["cButton","","color","danger","type","reset",3,"click","tabindex"],[1,"bg-dark",3,"ngClass"],[1,"text-white"],[4,"ngFor","ngForOf"],[3,"sm"],["autocomplete","off","cFormControl","","formControlName","firstName","id","firstName","placeholder","First name","required","",3,"autofocus","valid"],[3,"valid",4,"ngIf"],[3,"valid"],["autocomplete","off","cFormControl","","formControlName","lastName","id","lastName","placeholder","Last name","required","",3,"valid"],["autocomplete","off","cFormControl","","formControlName","username","id","username","placeholder","Username","required","",3,"valid"],["autocomplete","off","cFormControl","","formControlName","email","id","email","placeholder","Email","required","","type","email",3,"valid"],["autocomplete","new-password","cFormControl","","formControlName","password","id","password","placeholder","Password","required","","type","password",3,"valid"],["autocomplete","off","cFormControl","","formControlName","confirmPassword","id","confirmPassword","placeholder","Confirm password","required","","type","password",3,"valid"],["formControlName","birthday","id","birthday","required","",3,"valid"],["cFormCheckInput","","formControlName","accept","id","accept","required","","type","checkbox",3,"valid"],["cFormCheckLabel","","custom","","for","accept"]],template:function(m,p){m&1&&(e(0,"c-row")(1,"c-col",0)(2,"form",1),x("ngSubmit",function(){return p.onSubmit()}),e(3,"c-row",2)(4,"label",3),a(5,"First name"),t(),s(6,Ge,3,4,"c-col",4),t(),e(7,"c-row",2)(8,"label",5),a(9,"Last name"),t(),s(10,je,3,3,"c-col",4),t(),e(11,"c-row",2)(12,"label",6),a(13,"Username"),t(),s(14,$e,3,3,"c-col",4),t(),e(15,"c-row",2)(16,"label",7),a(17,"Email"),t(),s(18,et,3,3,"c-col",4),t(),e(19,"c-row",2)(20,"label",8),a(21,"Password"),t(),s(22,rt,3,3,"c-col",4),t(),e(23,"c-row",2)(24,"label",9),a(25,"Confirm password"),t(),s(26,pt,3,3,"c-col",4),t(),e(27,"c-row",2)(28,"label",10),a(29,"Date of Birth"),t(),s(30,vt,3,3,"c-col",4),t(),e(31,"c-row",2),s(32,Ct,6,2,"c-col",11),t(),d(33,"hr"),e(34,"c-button-group")(35,"button",12),a(36," Submit "),t(),e(37,"button",13),x("click",function(){return p.onValidate()}),a(38," Validate "),t(),e(39,"button",14),x("click",function(){return p.onReset()}),a(40," Reset "),t()()()(),e(41,"c-col",0)(42,"c-card",15)(43,"c-card-body")(44,"pre",16),a(45,"Value: "),e(46,"code"),a(47),O(48,"json"),t()(),e(49,"ul")(50,"li"),a(51),t(),e(52,"li"),a(53),t(),e(54,"li"),a(55),t(),e(56,"li"),a(57),O(58,"json"),t()(),s(59,yt,19,16,"ul",17),t()()()()),m&2&&(n(),i("md",6),n(),i("formGroup",p.simpleForm),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.firstName),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.lastName),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.username),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.email),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.password),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.confirmPassword),n(2),i("sm",4),n(2),i("ngIf",p.simpleForm.controls.birthday),n(2),i("ngIf",p.simpleForm.controls.accept),n(3),i("disabled",p.simpleForm.pristine||p.simpleForm.invalid)("tabindex","0"),n(2),i("disabled",p.simpleForm.valid)("tabindex","0"),n(2),i("tabindex","0"),n(2),i("md",6),n(),i("ngClass",oe(34,Me,p.simpleForm.valid)),n(5),Q(U(48,30,p.simpleForm.value)),n(4),f("Status: ",p.simpleForm.status,""),n(2),f("Valid: ",p.simpleForm.valid,""),n(2),f("Pristine: ",p.simpleForm.pristine,""),n(2),f("Errors: ",U(58,32,p.simpleForm.errors),""),n(2),i("ngForOf",p.formControls))},dependencies:[ke,M,S,A,ve,fe,_e,y,Ce,ye,be,xe,h,ge,k,le,I,g,he,E,w,F,pe,C,se,ae,ue,re,ce],styles:[".btn[_ngcontent-%COMP%]:disabled{cursor:auto}input[autocomplete=off][_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, input[autocomplete=off][_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button{visibility:hidden;position:absolute;right:0}"]});let o=l;return o})();var Ve=(()=>{let l=class l{constructor(){this.tooltipValidated=!1}onSubmit3(){this.tooltipValidated=!0,console.log("Submit... 3")}onReset3(){this.tooltipValidated=!1,console.log("Reset... 3")}};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation05"]],standalone:!0,features:[b],decls:57,vars:16,consts:[["tooltipForm","ngForm"],["cForm","",1,"row","g-3","needs-validation",3,"ngSubmit","validated"],[1,"position-relative",3,"md"],["cLabel","","for","validationTooltip01"],["cFormControl","","id","validationTooltip01","required","","type","text","value","Mark"],["tooltip","",3,"valid"],["cLabel","","for","validationTooltip02"],["cFormControl","","id","validationTooltip02","required","","type","text","value","Otto"],["cLabel","","for","validationTooltipUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrependTooltip"],["aria-describedby","inputGroupPrependTooltip","cFormControl","","id","validationTooltipUsername","required","","type","text"],["cLabel","","for","validationTooltip03"],["cFormControl","","id","validationTooltip03","required","","type","text"],["cLabel","","for","validationTooltip04"],["cSelect","","id","validationTooltip04","required",""],["value",""],["value","1"],["cLabel","","for","validationTooltip05"],["cFormControl","","id","validationTooltip05","required","","type","text"],[1,"position-relative",3,"xs"],["cFormCheckInput","","id","invalidCheckTooltip","name","invalidCheckTooltip","required","","type","checkbox"],["cFormCheckLabel","","for","invalidCheckTooltip"],[3,"xs"],["cButton","","color","primary","type","submit",1,"me-1"],["cButton","","color","secondary","type","reset",3,"click"]],template:function(m,p){if(m&1){let V=W();e(0,"form",1,0),x("ngSubmit",function(){return P(V),R(p.onSubmit3())}),e(2,"c-col",2)(3,"label",3),a(4,"First name"),t(),d(5,"input",4),e(6,"c-form-feedback",5),a(7,"Looks good!"),t()(),e(8,"c-col",2)(9,"label",6),a(10,"Last name"),t(),d(11,"input",7),e(12,"c-form-feedback",5),a(13,"Looks good!"),t()(),e(14,"c-col",2)(15,"label",8),a(16,"Username"),t(),e(17,"c-input-group",9)(18,"span",10),a(19,"@"),t(),d(20,"input",11),e(21,"c-form-feedback",5),a(22,"Please choose a username."),t()()(),e(23,"c-col",2)(24,"label",12),a(25,"City"),t(),d(26,"input",13),e(27,"c-form-feedback",5),a(28,"Please provide a valid city."),t()(),e(29,"c-col",2)(30,"label",14),a(31,"State"),t(),e(32,"select",15)(33,"option",16),a(34,"Choose..."),t(),e(35,"option",17),a(36,"..."),t()(),e(37,"c-form-feedback",5),a(38,"Please provide a valid State."),t()(),e(39,"c-col",2)(40,"label",18),a(41,"Zip code"),t(),d(42,"input",19),e(43,"c-form-feedback",5),a(44,"Please provide a valid zip."),t()(),e(45,"c-col",20)(46,"c-form-check"),d(47,"input",21),e(48,"label",22),a(49,"Agree to terms and conditions"),t()(),e(50,"c-form-feedback",5),a(51,"You must agree before submitting."),t()(),e(52,"c-col",23)(53,"button",24),a(54," Submit form "),t(),e(55,"button",25),x("click",function(){return P(V),R(p.onReset3())}),a(56," Reset "),t()()()}m&2&&(i("validated",p.tooltipValidated),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(7),i("valid",!1),n(2),i("md",6),n(4),i("valid",!1),n(2),i("md",3),n(8),i("valid",!1),n(2),i("md",3),n(4),i("valid",!1),n(2),i("xs",12),n(5),i("valid",!1),n(2),i("xs",12))},dependencies:[S,A,D,q,y,L,T,h,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var Te=(()=>{let l=class l{};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation04"]],standalone:!0,features:[b],decls:42,vars:7,consts:[["cForm","",3,"validated"],[1,"mb-3"],["cLabel","","for","validationTextarea",1,"form-label"],["cFormControl","","id","validationTextarea","placeholder","Required example textarea","required","",3,"valid"],[3,"valid"],["cFormCheckInput","","id","validationFormCheck1","name","validationFormCheck1","required","","type","checkbox"],["cFormCheckLabel","","for","validationFormCheck1"],["cFormCheckInput","","id","validationFormCheck2","name","radio-stacked","required","","type","radio"],["cFormCheckLabel","","for","validationFormCheck2"],["cFormCheckInput","","id","validationFormCheck3","name","radio-stacked","required","","type","radio"],["cFormCheckLabel","","for","validationFormCheck3"],["aria-label","select example","cSelect","","required",""],["value",""],["value","1"],["value","2"],["value","3"],["aria-label","file example","cFormControl","","id","validationText1","required","","type","file"],["cButton","","color","primary","disabled","","type","submit"]],template:function(m,p){m&1&&(e(0,"form",0)(1,"div",1)(2,"label",2),a(3," Textarea "),t(),d(4,"textarea",3),e(5,"c-form-feedback",4),a(6,"Please enter a message in the textarea."),t()(),e(7,"c-form-check",1),d(8,"input",5),e(9,"label",6),a(10,"Check this checkbox"),t()(),e(11,"c-form-feedback",4),a(12,"Example invalid feedback text"),t(),e(13,"c-form-check"),d(14,"input",7),e(15,"label",8),a(16,"Check this radio"),t()(),e(17,"c-form-check",1),d(18,"input",9),e(19,"label",10),a(20,"Check this radio"),t()(),e(21,"c-form-feedback",4),a(22,"More example invalid feedback text"),t(),e(23,"div",1)(24,"select",11)(25,"option",12),a(26,"Open this select menu"),t(),e(27,"option",13),a(28,"One"),t(),e(29,"option",14),a(30,"Two"),t(),e(31,"option",15),a(32,"Three"),t()(),e(33,"c-form-feedback",4),a(34,"Example invalid select feedback"),t()(),e(35,"div",1),d(36,"input",16),e(37,"c-form-feedback",4),a(38,"Example invalid form file feedback"),t()(),e(39,"div",1)(40,"button",17),a(41," Submit form "),t()()()),m&2&&(i("validated",!0),n(4),i("valid",!1),n(),i("valid",!1),n(6),i("valid",!1),n(10),i("valid",!1),n(12),i("valid",!1),n(4),i("valid",!1))},dependencies:[S,A,D,q,y,L,T,h,k,I,g,E,w,F,N,C],encapsulation:2});let o=l;return o})();var De=(()=>{let l=class l{};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation03"]],standalone:!0,features:[b],decls:54,vars:23,consts:[["cForm","","cRow","","ngNativeValidate","",1,"needs-validation",3,"gutter"],[3,"md"],["cLabel","","for","validationServer01"],["cFormControl","","id","validationServer01","required","","type","text","value","Mark",3,"valid"],[3,"valid"],["cLabel","","for","validationServer02"],["cFormControl","","id","validationServer02","required","","type","text","value","Otto",3,"valid"],["cLabel","","for","validationServerUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrepend03"],["aria-describedby","inputGroupPrepend03","cFormControl","","id","validationServerUsername","required","","type","text",3,"valid"],["cLabel","","for","validationServer03"],["cFormControl","","id","validationServer03","required","","type","text",3,"valid"],["cLabel","","for","validationServer04"],["cSelect","","id","validationServer04",3,"valid"],["disabled",""],["cLabel","","for","validationServer05"],["cFormControl","","id","validationServer05","required","","type","text",3,"valid"],[3,"xs"],[1,"mb-3"],["cFormCheckInput","","id","invalidCheckServer","required","","type","checkbox",3,"valid"],["cFormCheckLabel","","for","invalidCheckServer"],["cButton","","color","primary","type","submit"]],template:function(m,p){m&1&&(e(0,"form",0)(1,"c-col",1)(2,"label",2),a(3,"First name"),t(),d(4,"input",3),e(5,"c-form-feedback",4),a(6,"Looks good!"),t()(),e(7,"c-col",1)(8,"label",5),a(9,"Last name"),t(),d(10,"input",6),e(11,"c-form-feedback",4),a(12,"Looks good!"),t()(),e(13,"c-col",1)(14,"label",7),a(15,"Username"),t(),e(16,"c-input-group",8)(17,"span",9),a(18,"@"),t(),d(19,"input",10),e(20,"c-form-feedback",4),a(21,"Please choose a username."),t()()(),e(22,"c-col",1)(23,"label",11),a(24,"City"),t(),d(25,"input",12),e(26,"c-form-feedback",4),a(27,"Please provide a valid city."),t()(),e(28,"c-col",1)(29,"label",13),a(30,"State"),t(),e(31,"select",14)(32,"option",15),a(33,"Choose..."),t(),e(34,"option"),a(35,"..."),t()(),e(36,"c-form-feedback",4),a(37,"Please provide a valid state."),t()(),e(38,"c-col",1)(39,"label",16),a(40,"Zip code"),t(),d(41,"input",17),e(42,"c-form-feedback",4),a(43,"Please provide a valid zip."),t()(),e(44,"c-col",18)(45,"c-form-check",19),d(46,"input",20),e(47,"label",21),a(48,"Agree to terms and conditions"),t()(),e(49,"c-form-feedback",4),a(50,"You must agree before submitting."),t()(),e(51,"c-col",18)(52,"button",22),a(53," Submit form "),t()()()),m&2&&(i("gutter",3),n(),i("md",4),n(3),i("valid",!0),n(),i("valid",!0),n(2),i("md",4),n(3),i("valid",!0),n(),i("valid",!0),n(2),i("md",4),n(6),i("valid",!1),n(),i("valid",!1),n(2),i("md",6),n(3),i("valid",!1),n(),i("valid",!1),n(2),i("md",3),n(3),i("valid",!1),n(5),i("valid",!1),n(2),i("md",3),n(3),i("valid",!1),n(),i("valid",!1),n(2),i("xs",12),n(2),i("valid",!1),n(3),i("valid",!1),n(2),i("xs",12))},dependencies:[S,D,q,y,L,T,h,$,H,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var qe=(()=>{let l=class l{constructor(){this.browserDefaultsValidated=!1}onSubmit2(){this.browserDefaultsValidated=!0,console.log("Submit... 2")}onReset2(){this.browserDefaultsValidated=!1,console.log("Reset... 3")}};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation02"]],standalone:!0,features:[b],decls:57,vars:17,consts:[["browserDefaultsForm","ngForm"],["cForm","","cRow","","ngNativeValidate","",3,"ngSubmit","gutter","validated"],[3,"md"],["cLabel","","for","validationDefault01"],["cFormControl","","id","validationDefault01","required","","type","text","value","Mark"],[3,"valid"],["cLabel","","for","validationDefault02"],["cFormControl","","id","validationDefault02","required","","type","text","value","Otto"],["cLabel","","for","validationDefaultUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrepend1"],["aria-describedby","inputGroupPrepend1","cFormControl","","id","validationDefaultUsername","required","","type","text"],["cLabel","","for","validationDefault03"],["cFormControl","","id","validationDefault03","required","","type","text"],["cLabel","","for","validationDefault04"],["cSelect","","id","validationDefault04","required",""],["value",""],["cLabel","","for","validationDefault05"],["cFormControl","","id","validationDefault05","required","","type","text"],[3,"xs"],["cFormCheckInput","","id","invalidCheck1","name","invalidCheck","required","","type","checkbox"],["cFormCheckLabel","","for","invalidCheck1"],["cButton","","color","primary","type","submit",1,"me-1"],["cButton","","color","secondary","type","reset",3,"click"]],template:function(m,p){if(m&1){let V=W();e(0,"form",1,0),x("ngSubmit",function(){return P(V),R(p.onSubmit2())}),e(2,"c-col",2)(3,"label",3),a(4,"Email"),t(),d(5,"input",4),e(6,"c-form-feedback",5),a(7,"Looks good!"),t()(),e(8,"c-col",2)(9,"label",6),a(10,"Email"),t(),d(11,"input",7),e(12,"c-form-feedback",5),a(13,"Looks good!"),t()(),e(14,"c-col",2)(15,"label",8),a(16,"Username"),t(),e(17,"c-input-group",9)(18,"span",10),a(19,"@"),t(),d(20,"input",11),e(21,"c-form-feedback",5),a(22,"Please choose a username."),t()()(),e(23,"c-col",2)(24,"label",12),a(25,"City"),t(),d(26,"input",13),e(27,"c-form-feedback",5),a(28,"Please provide a valid city."),t()(),e(29,"c-col",2)(30,"label",14),a(31,"State"),t(),e(32,"select",15)(33,"option",16),a(34,"Choose..."),t(),e(35,"option"),a(36,"..."),t()(),e(37,"c-form-feedback",5),a(38,"Please provide a valid State."),t()(),e(39,"c-col",2)(40,"label",17),a(41,"Zip code"),t(),d(42,"input",18),e(43,"c-form-feedback",5),a(44,"Please provide a valid zip."),t()(),e(45,"c-col",19)(46,"c-form-check"),d(47,"input",20),e(48,"label",21),a(49,"Agree to terms and conditions"),t()(),e(50,"c-form-feedback",5),a(51,"You must agree before submitting."),t()(),e(52,"c-col",19)(53,"button",22),a(54," Submit form "),t(),e(55,"button",23),x("click",function(){return P(V),R(p.onReset2())}),a(56," Reset "),t()()()}m&2&&(i("gutter",3)("validated",p.browserDefaultsValidated),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(7),i("valid",!1),n(2),i("md",6),n(4),i("valid",!1),n(2),i("md",3),n(8),i("valid",!1),n(2),i("md",3),n(4),i("valid",!1),n(2),i("xs",12),n(5),i("valid",!1),n(2),i("xs",12))},dependencies:[S,D,q,y,L,T,h,$,H,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var Le=(()=>{let l=class l{constructor(){this.customStylesValidated=!1}onSubmit1(){this.customStylesValidated=!0,console.log("Submit... 1")}onReset1(){this.customStylesValidated=!1,console.log("Reset... 1")}};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=_({type:l,selectors:[["docs-validation01"]],standalone:!0,features:[b],decls:57,vars:17,consts:[["customStylesForm","ngForm"],["novalidate","","cForm","","cRow","",1,"needs-validation",3,"ngSubmit","gutter","validated"],[3,"md"],["cLabel","","for","validationCustom01"],["cFormControl","","id","validationCustom01","required","","type","text","value","Mark"],[3,"valid"],["cLabel","","for","validationCustom02"],["cFormControl","","id","validationCustom02","required","","type","text","value","Otto"],["cLabel","","for","validationCustomUsername"],[1,"has-validation"],["cInputGroupText","","id","inputGroupPrepend"],["aria-describedby","inputGroupPrepend","cFormControl","","id","validationCustomUsername","required","","type","text"],["cLabel","","for","validationCustom03"],["cFormControl","","id","validationCustom03","required","","type","text"],["cLabel","","for","validationCustom04"],["cSelect","","id","validationCustom04","required",""],["value",""],["cLabel","","for","validationCustom05"],["cFormControl","","id","validationCustom05","required","","type","text"],[3,"xs"],["cFormCheckInput","","id","invalidCheck","name","invalidCheck","required","","type","checkbox"],["cFormCheckLabel","","for","invalidCheck"],["cButton","","color","primary","type","submit",1,"me-1"],["cButton","","color","secondary","type","reset",3,"click"]],template:function(m,p){if(m&1){let V=W();e(0,"form",1,0),x("ngSubmit",function(){return P(V),R(p.onSubmit1())}),e(2,"c-col",2)(3,"label",3),a(4,"First name"),t(),d(5,"input",4),e(6,"c-form-feedback",5),a(7,"Looks good!"),t()(),e(8,"c-col",2)(9,"label",6),a(10,"Last name"),t(),d(11,"input",7),e(12,"c-form-feedback",5),a(13,"Looks good!"),t()(),e(14,"c-col",2)(15,"label",8),a(16,"Username"),t(),e(17,"c-input-group",9)(18,"span",10),a(19,"@"),t(),d(20,"input",11),e(21,"c-form-feedback",5),a(22,"Please choose a username."),t()()(),e(23,"c-col",2)(24,"label",12),a(25,"City"),t(),d(26,"input",13),e(27,"c-form-feedback",5),a(28,"Please provide a valid city."),t()(),e(29,"c-col",2)(30,"label",14),a(31,"State"),t(),e(32,"select",15)(33,"option",16),a(34,"Choose..."),t(),e(35,"option"),a(36,"..."),t()(),e(37,"c-form-feedback",5),a(38,"Please provide a valid State."),t()(),e(39,"c-col",2)(40,"label",17),a(41,"Zip code"),t(),d(42,"input",18),e(43,"c-form-feedback",5),a(44,"Please provide a valid zip."),t()(),e(45,"c-col",19)(46,"c-form-check"),d(47,"input",20),e(48,"label",21),a(49,"Agree to terms and conditions"),t()(),e(50,"c-form-feedback",5),a(51,"You must agree before submitting."),t()(),e(52,"c-col",19)(53,"button",22),a(54," Submit form "),t(),e(55,"button",23),x("click",function(){return P(V),R(p.onReset1())}),a(56," Reset "),t()()()}m&2&&(i("gutter",3)("validated",p.customStylesValidated),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(4),i("valid",!0),n(2),i("md",4),n(7),i("valid",!1),n(2),i("md",6),n(4),i("valid",!1),n(2),i("md",3),n(8),i("valid",!1),n(2),i("md",3),n(4),i("valid",!1),n(2),i("xs",12),n(5),i("valid",!1),n(2),i("xs",12))},dependencies:[S,A,D,q,y,L,T,h,$,H,M,k,I,g,j,z,N,E,w,F,C],encapsulation:2});let o=l;return o})();var St=()=>["forms/validation/examples/validation01.component.html"],ht=()=>["forms/validation/examples/validation02.component.html"],gt=()=>["forms/validation/examples/validation03.component.html"],kt=()=>["forms/validation/examples/validation04.component.html"],Ft=()=>["forms/validation/examples/validation05.component.html"],Et=()=>["forms/validation/examples/validation06.component.html","forms/validation/examples/validation06.component.ts","forms/validation/examples/validation-forms.service.ts"],oi=(()=>{let l=class l{constructor(c,m){this.metaService=c,this.titleService=m,this.title="Angular Form Validation",this.description="Provide valuable, actionable feedback to your users with HTML5 form validation, via browser default behaviors or custom styles and Angular Forms Validation."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};l.\u0275fac=function(m){return new(m||l)(J(de),J(me))},l.\u0275cmp=_({type:l,selectors:[["docs-validation-docs"]],standalone:!0,features:[b],decls:29,vars:14,consts:[["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"]],template:function(m,p){m&1&&(e(0,"h1",0),a(1),t(),e(2,"p",1),a(3),t(),d(4,"docs-ads-carbon-loader"),e(5,"markdown"),a(6,` ## Custom styles For custom CoreUI form validation messages, you'll need to add the \`noValidate\` boolean property to your \`form\`. This diff --git a/angular/docs/chunk-FEBNR4N6.js b/angular/docs/chunk-KTSMVTUS.js similarity index 57% rename from angular/docs/chunk-FEBNR4N6.js rename to angular/docs/chunk-KTSMVTUS.js index 415acc277c1..597832eb9b8 100644 --- a/angular/docs/chunk-FEBNR4N6.js +++ b/angular/docs/chunk-KTSMVTUS.js @@ -1 +1 @@ -import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Migration"},children:[{path:"",redirectTo:"v4-v5",pathMatch:"full"},{path:"v3-v4",loadComponent:()=>import("./chunk-WL5HBOO5.js").then(t=>t.MigrationV3V4Component),data:{label:"v3 \u2192 v4"},title:"v3 \u2192 v4"},{path:"v4-v5",loadComponent:()=>import("./chunk-CLW57OZ7.js").then(t=>t.MigrationV4V5Component),data:{label:"v4 \u2192 v5"},title:"v4 \u2192 v5"},{path:"angular-version",loadComponent:()=>import("./chunk-XDBSPVMW.js").then(t=>t.VersionsComponent),data:{label:"Angular version"},title:"Angular version"}]}];export{o as routes}; +import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Migration"},children:[{path:"",redirectTo:"v4-v5",pathMatch:"full"},{path:"v3-v4",loadComponent:()=>import("./chunk-AVCY7THN.js").then(t=>t.MigrationV3V4Component),data:{label:"v3 \u2192 v4"},title:"v3 \u2192 v4"},{path:"v4-v5",loadComponent:()=>import("./chunk-MRJZFMZE.js").then(t=>t.MigrationV4V5Component),data:{label:"v4 \u2192 v5"},title:"v4 \u2192 v5"},{path:"angular-version",loadComponent:()=>import("./chunk-B7SZGDG4.js").then(t=>t.VersionsComponent),data:{label:"Angular version"},title:"Angular version"}]}];export{o as routes}; diff --git a/angular/docs/chunk-P6SKLEO5.js b/angular/docs/chunk-LD6EGWNL.js similarity index 94% rename from angular/docs/chunk-P6SKLEO5.js rename to angular/docs/chunk-LD6EGWNL.js index 35dd60da587..ec68c237f8c 100644 --- a/angular/docs/chunk-P6SKLEO5.js +++ b/angular/docs/chunk-LD6EGWNL.js @@ -1,4 +1,4 @@ -import{a as _,e as u,i as d}from"./chunk-C5JPXVV5.js";import{A as F,B as y,c as A,e as G,f as S,i as E,l as W,m as D}from"./chunk-JZLZFTWK.js";import{a as O}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{b as j,c as h,d as B,e as w,f as V}from"./chunk-EBCID5MY.js";import{g as J}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as H}from"./chunk-SWYVARVN.js";import{r as q}from"./chunk-JJFVMVK7.js";import{c as z,d as N}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{s as I}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as o,Bc as r,Cc as b,Jb as x,Kc as T,Lc as R,Mc as k,Oc as s,Pc as C,Qb as c,Qc as P,_c as v,ac as t,bc as l,lb as a,mb as L,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var ne=n=>({backgroundColor:n}),Q=(()=>{let e=class e{constructor(){this.favoriteColor="#26ab3c"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control08"]],standalone:!0,features:[s],decls:11,vars:5,consts:[[1,"align-items-center","g-2"],["xs","auto"],["cLabel","col","for","exampleColorInput"],["cFormControl","","id","exampleColorInput","title","Choose your color","type","color",3,"ngModelChange","ngModel"],[1,"color-box","p-1","m-1",3,"ngStyle"]],template:function(i,f){i&1&&(o(0,"c-row",0)(1,"c-col",1)(2,"label",2),r(3,"Color picker"),t()(),o(4,"c-col",1)(5,"input",3),k("ngModelChange",function(M){return R(f.favoriteColor,M)||(f.favoriteColor=M),M}),t()(),o(6,"c-col",1),l(7,"div",4),t(),o(8,"c-col",1)(9,"strong"),r(10),t()()()),i&2&&(a(5),T("ngModel",f.favoriteColor),a(2),c("ngStyle",P(3,ne,f.favoriteColor)),a(3),b(f.favoriteColor))},dependencies:[w,h,u,d,y,A,G,F,W,I],styles:["[_nghost-%COMP%] #exampleColorInput[_ngcontent-%COMP%]{min-width:2.5rem}[_nghost-%COMP%] .color-box[_ngcontent-%COMP%]{min-width:2rem;min-height:2rem}"]});let n=e;return n})();var U=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control07"]],standalone:!0,features:[s],decls:20,vars:0,consts:[[1,"mb-3"],["cLabel","","for","formFile"],["cFormControl","","id","formFile","type","file"],["cLabel","","for","formFileMultiple"],["cFormControl","","id","formFileMultiple","multiple","","type","file"],["cLabel","","for","formFileDisabled"],["cFormControl","","disabled","","id","formFileDisabled","type","file"],["cLabel","","for","formFileSm"],["cFormControl","","id","formFileSm","sizing","sm","type","file"],["cLabel","","for","formFileLg"],["cFormControl","","id","formFileLg","sizing","lg","type","file"]],template:function(i,f){i&1&&(o(0,"div",0)(1,"label",1),r(2,"Default file input example"),t(),l(3,"input",2),t(),o(4,"div",0)(5,"label",3),r(6,"Multiple files input example"),t(),l(7,"input",4),t(),o(8,"div",0)(9,"label",5),r(10,"Disabled file input example"),t(),l(11,"input",6),t(),o(12,"div",0)(13,"label",7),r(14,"Small file input example"),t(),l(15,"input",8),t(),o(16,"div")(17,"label",9),r(18,"Large file input example"),t(),l(19,"input",10),t())},dependencies:[u,d],encapsulation:2});let n=e;return n})();var X=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control06"]],standalone:!0,features:[s],decls:12,vars:2,consts:[["cForm","","cRow","",3,"gutter"],["xs","auto"],["cLabel","","for","staticEmail2",1,"visually-hidden"],["cFormControl","","id","staticEmail2","readonly","","type","text","value","email@example.com",3,"plaintext"],["cLabel","","for","inputPassword2",1,"visually-hidden"],["cFormControl","","id","inputPassword2","placeholder","Password","type","password"],["cButton","","type","submit"]],template:function(i,f){i&1&&(o(0,"form",0)(1,"c-col",1)(2,"label",2),r(3," Email "),t(),l(4,"input",3),t(),o(5,"c-col",1)(6,"label",4),r(7," Password "),t(),l(8,"input",5),t(),o(9,"c-col",1)(10,"button",6),r(11," Confirm identity "),t()()()),i&2&&(c("gutter",3),a(4),c("plaintext",!0))},dependencies:[y,D,S,F,E,_,B,V,h,u,d,O],encapsulation:2});let n=e;return n})();var Y=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control05"]],standalone:!0,features:[s],decls:10,vars:3,consts:[[1,"mb-3"],["cCol","","cLabel","col","for","staticEmail",3,"sm"],[3,"sm"],["cFormControl","","id","staticEmail","plaintext","","readonly","","type","text","value","email@example.com"],["cLabel","col","for","inputPassword",1,"col-sm-2"],["cFormControl","","id","inputPassword","type","password"]],template:function(i,f){i&1&&(o(0,"c-row",0)(1,"label",1),r(2," Email "),t(),o(3,"c-col",2),l(4,"input",3),t()(),o(5,"c-row",0)(6,"label",4),r(7," Password "),t(),o(8,"c-col",2),l(9,"input",5),t()()),i&2&&(a(),c("sm",2),a(2),c("sm",10),a(5),c("sm",10))},dependencies:[w,j,u,h,d],encapsulation:2});let n=e;return n})();var Z=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control04"]],standalone:!0,features:[s],decls:1,vars:0,consts:[["aria-label","readonly input example","cFormControl","","placeholder","Readonly input here...","readOnly","","type","text"]],template:function(i,f){i&1&&l(0,"input",0)},dependencies:[d],encapsulation:2});let n=e;return n})();var $=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control03"]],standalone:!0,features:[s],decls:2,vars:0,consts:[["aria-label","Disabled input example","cFormControl","","disabled","","placeholder","Disabled input","type","text"],["aria-label","Disabled input example","cFormControl","","disabled","","placeholder","Disabled readonly input","readOnly","","type","text"]],template:function(i,f){i&1&&l(0,"input",0)(1,"input",1)},dependencies:[d],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]:not(:last-child){margin-bottom:1.5rem}"]});let n=e;return n})();var ee=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control02"]],standalone:!0,features:[s],decls:3,vars:0,consts:[["aria-label","lg input example","cFormControl","","placeholder","Large input","sizing","lg","type","text"],["aria-label","default input example","cFormControl","","placeholder","Default input","type","text"],["aria-label","sm input example","cFormControl","","placeholder","Small input","sizing","sm","type","text"]],template:function(i,f){i&1&&l(0,"input",0)(1,"input",1)(2,"input",2)},dependencies:[d],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]:not(:last-child){margin-bottom:1.5rem}"]});let n=e;return n})();var te=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control01"]],standalone:!0,features:[s],decls:9,vars:0,consts:[["cForm",""],[1,"mb-3"],["cLabel","","for","exampleFormControlInput1"],["cFormControl","","id","exampleFormControlInput1","placeholder","name@example.com","type","email"],["cLabel","","for","exampleFormControlTextarea1"],["cFormControl","","id","exampleFormControlTextarea1","rows","3"]],template:function(i,f){i&1&&(o(0,"form",0)(1,"div",1)(2,"label",2),r(3,"Email address"),t(),l(4,"input",3),t(),o(5,"div",1)(6,"label",4),r(7,"Example textarea"),t(),l(8,"textarea",5),t()())},dependencies:[y,D,S,F,E,_,u,d],encapsulation:2});let n=e;return n})();var oe=()=>["forms/form-control/examples/form-control01.component.html"],ie=()=>["forms/form-control/examples/form-control02.component.html"],re=()=>["forms/form-control/examples/form-control03.component.html"],le=()=>["forms/form-control/examples/form-control04.component.html"],ae=()=>["forms/form-control/examples/form-control05.component.html"],me=()=>["forms/form-control/examples/form-control06.component.html"],pe=()=>["forms/form-control/examples/form-control07.component.html"],ce=()=>["forms/form-control/examples/form-control08.component.html"];function se(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control01"),t())}function de(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control02"),t())}function fe(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control03"),t())}function ue(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control04"),t())}function xe(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control05"),t())}function Ce(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control06"),t())}function ve(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control07"),t())}function ge(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control08"),t())}var Ze=(()=>{let e=class e{constructor(m,i){this.metaService=m,this.titleService=i,this.title="Angular Form Control Components",this.description="Angular input and textarea components. Give textual form controls like `input` and `textarea` an upgrade with custom styles, sizing, focus states, and more."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(i){return new(i||e)(L(z),L(N))},e.\u0275cmp=p({type:e,selectors:[["docs-form-control-docs"]],standalone:!0,features:[s],decls:51,vars:18,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(i,f){i&1&&(o(0,"h1",1),r(1),t(),o(2,"p",2),r(3),t(),l(4,"docs-ads-carbon-loader"),o(5,"markdown"),r(6,` +import{a as _,e as u,i as d}from"./chunk-ZGGOM75Q.js";import{A as F,B as y,c as A,e as G,f as S,i as E,l as W,m as D}from"./chunk-WFHPAILT.js";import{a as O}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{b as j,c as h,d as B,e as w,f as V}from"./chunk-PZ32EFID.js";import{g as J}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as H}from"./chunk-MH6VOBXJ.js";import{r as q}from"./chunk-Q5WIR6QR.js";import{c as z,d as N}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{s as I}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as o,Bc as r,Cc as b,Jb as x,Kc as T,Lc as R,Mc as k,Oc as s,Pc as C,Qb as c,Qc as P,_c as v,ac as t,bc as l,lb as a,mb as L,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var ne=n=>({backgroundColor:n}),Q=(()=>{let e=class e{constructor(){this.favoriteColor="#26ab3c"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control08"]],standalone:!0,features:[s],decls:11,vars:5,consts:[[1,"align-items-center","g-2"],["xs","auto"],["cLabel","col","for","exampleColorInput"],["cFormControl","","id","exampleColorInput","title","Choose your color","type","color",3,"ngModelChange","ngModel"],[1,"color-box","p-1","m-1",3,"ngStyle"]],template:function(i,f){i&1&&(o(0,"c-row",0)(1,"c-col",1)(2,"label",2),r(3,"Color picker"),t()(),o(4,"c-col",1)(5,"input",3),k("ngModelChange",function(M){return R(f.favoriteColor,M)||(f.favoriteColor=M),M}),t()(),o(6,"c-col",1),l(7,"div",4),t(),o(8,"c-col",1)(9,"strong"),r(10),t()()()),i&2&&(a(5),T("ngModel",f.favoriteColor),a(2),c("ngStyle",P(3,ne,f.favoriteColor)),a(3),b(f.favoriteColor))},dependencies:[w,h,u,d,y,A,G,F,W,I],styles:["[_nghost-%COMP%] #exampleColorInput[_ngcontent-%COMP%]{min-width:2.5rem}[_nghost-%COMP%] .color-box[_ngcontent-%COMP%]{min-width:2rem;min-height:2rem}"]});let n=e;return n})();var U=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control07"]],standalone:!0,features:[s],decls:20,vars:0,consts:[[1,"mb-3"],["cLabel","","for","formFile"],["cFormControl","","id","formFile","type","file"],["cLabel","","for","formFileMultiple"],["cFormControl","","id","formFileMultiple","multiple","","type","file"],["cLabel","","for","formFileDisabled"],["cFormControl","","disabled","","id","formFileDisabled","type","file"],["cLabel","","for","formFileSm"],["cFormControl","","id","formFileSm","sizing","sm","type","file"],["cLabel","","for","formFileLg"],["cFormControl","","id","formFileLg","sizing","lg","type","file"]],template:function(i,f){i&1&&(o(0,"div",0)(1,"label",1),r(2,"Default file input example"),t(),l(3,"input",2),t(),o(4,"div",0)(5,"label",3),r(6,"Multiple files input example"),t(),l(7,"input",4),t(),o(8,"div",0)(9,"label",5),r(10,"Disabled file input example"),t(),l(11,"input",6),t(),o(12,"div",0)(13,"label",7),r(14,"Small file input example"),t(),l(15,"input",8),t(),o(16,"div")(17,"label",9),r(18,"Large file input example"),t(),l(19,"input",10),t())},dependencies:[u,d],encapsulation:2});let n=e;return n})();var X=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control06"]],standalone:!0,features:[s],decls:12,vars:2,consts:[["cForm","","cRow","",3,"gutter"],["xs","auto"],["cLabel","","for","staticEmail2",1,"visually-hidden"],["cFormControl","","id","staticEmail2","readonly","","type","text","value","email@example.com",3,"plaintext"],["cLabel","","for","inputPassword2",1,"visually-hidden"],["cFormControl","","id","inputPassword2","placeholder","Password","type","password"],["cButton","","type","submit"]],template:function(i,f){i&1&&(o(0,"form",0)(1,"c-col",1)(2,"label",2),r(3," Email "),t(),l(4,"input",3),t(),o(5,"c-col",1)(6,"label",4),r(7," Password "),t(),l(8,"input",5),t(),o(9,"c-col",1)(10,"button",6),r(11," Confirm identity "),t()()()),i&2&&(c("gutter",3),a(4),c("plaintext",!0))},dependencies:[y,D,S,F,E,_,B,V,h,u,d,O],encapsulation:2});let n=e;return n})();var Y=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control05"]],standalone:!0,features:[s],decls:10,vars:3,consts:[[1,"mb-3"],["cCol","","cLabel","col","for","staticEmail",3,"sm"],[3,"sm"],["cFormControl","","id","staticEmail","plaintext","","readonly","","type","text","value","email@example.com"],["cLabel","col","for","inputPassword",1,"col-sm-2"],["cFormControl","","id","inputPassword","type","password"]],template:function(i,f){i&1&&(o(0,"c-row",0)(1,"label",1),r(2," Email "),t(),o(3,"c-col",2),l(4,"input",3),t()(),o(5,"c-row",0)(6,"label",4),r(7," Password "),t(),o(8,"c-col",2),l(9,"input",5),t()()),i&2&&(a(),c("sm",2),a(2),c("sm",10),a(5),c("sm",10))},dependencies:[w,j,u,h,d],encapsulation:2});let n=e;return n})();var Z=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control04"]],standalone:!0,features:[s],decls:1,vars:0,consts:[["aria-label","readonly input example","cFormControl","","placeholder","Readonly input here...","readOnly","","type","text"]],template:function(i,f){i&1&&l(0,"input",0)},dependencies:[d],encapsulation:2});let n=e;return n})();var $=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control03"]],standalone:!0,features:[s],decls:2,vars:0,consts:[["aria-label","Disabled input example","cFormControl","","disabled","","placeholder","Disabled input","type","text"],["aria-label","Disabled input example","cFormControl","","disabled","","placeholder","Disabled readonly input","readOnly","","type","text"]],template:function(i,f){i&1&&l(0,"input",0)(1,"input",1)},dependencies:[d],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]:not(:last-child){margin-bottom:1.5rem}"]});let n=e;return n})();var ee=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control02"]],standalone:!0,features:[s],decls:3,vars:0,consts:[["aria-label","lg input example","cFormControl","","placeholder","Large input","sizing","lg","type","text"],["aria-label","default input example","cFormControl","","placeholder","Default input","type","text"],["aria-label","sm input example","cFormControl","","placeholder","Small input","sizing","sm","type","text"]],template:function(i,f){i&1&&l(0,"input",0)(1,"input",1)(2,"input",2)},dependencies:[d],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]:not(:last-child){margin-bottom:1.5rem}"]});let n=e;return n})();var te=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=p({type:e,selectors:[["docs-form-control01"]],standalone:!0,features:[s],decls:9,vars:0,consts:[["cForm",""],[1,"mb-3"],["cLabel","","for","exampleFormControlInput1"],["cFormControl","","id","exampleFormControlInput1","placeholder","name@example.com","type","email"],["cLabel","","for","exampleFormControlTextarea1"],["cFormControl","","id","exampleFormControlTextarea1","rows","3"]],template:function(i,f){i&1&&(o(0,"form",0)(1,"div",1)(2,"label",2),r(3,"Email address"),t(),l(4,"input",3),t(),o(5,"div",1)(6,"label",4),r(7,"Example textarea"),t(),l(8,"textarea",5),t()())},dependencies:[y,D,S,F,E,_,u,d],encapsulation:2});let n=e;return n})();var oe=()=>["forms/form-control/examples/form-control01.component.html"],ie=()=>["forms/form-control/examples/form-control02.component.html"],re=()=>["forms/form-control/examples/form-control03.component.html"],le=()=>["forms/form-control/examples/form-control04.component.html"],ae=()=>["forms/form-control/examples/form-control05.component.html"],me=()=>["forms/form-control/examples/form-control06.component.html"],pe=()=>["forms/form-control/examples/form-control07.component.html"],ce=()=>["forms/form-control/examples/form-control08.component.html"];function se(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control01"),t())}function de(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control02"),t())}function fe(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control03"),t())}function ue(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control04"),t())}function xe(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control05"),t())}function Ce(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control06"),t())}function ve(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control07"),t())}function ge(n,e){n&1&&(o(0,"div",5),l(1,"docs-form-control08"),t())}var Ze=(()=>{let e=class e{constructor(m,i){this.metaService=m,this.titleService=i,this.title="Angular Form Control Components",this.description="Angular input and textarea components. Give textual form controls like `input` and `textarea` an upgrade with custom styles, sizing, focus states, and more."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(i){return new(i||e)(L(z),L(N))},e.\u0275cmp=p({type:e,selectors:[["docs-form-control-docs"]],standalone:!0,features:[s],decls:51,vars:18,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(i,f){i&1&&(o(0,"h1",1),r(1),t(),o(2,"p",2),r(3),t(),l(4,"docs-ads-carbon-loader"),o(5,"markdown"),r(6,` ## Example `),t(),o(7,"docs-example",3),x(8,se,2,0,"ng-template",null,0,v),t(),o(10,"markdown"),r(11,'\n ### Sizing\n Set heights using `size` property like `sizing="lg"` and `sizing="sm"`.\n'),t(),o(12,"docs-example",3),x(13,de,2,0,"ng-template",null,0,v),t(),o(15,"markdown"),r(16,` ### Disabled diff --git a/angular/docs/chunk-CXFKW4WM.js b/angular/docs/chunk-LEGXD32B.js similarity index 96% rename from angular/docs/chunk-CXFKW4WM.js rename to angular/docs/chunk-LEGXD32B.js index 37910fdc9c0..530cfa62407 100644 --- a/angular/docs/chunk-CXFKW4WM.js +++ b/angular/docs/chunk-LEGXD32B.js @@ -1,4 +1,4 @@ -import{a as g}from"./chunk-5LYXIB6J.js";import{f as u,g as f,h}from"./chunk-C5JPXVV5.js";import{B as w,b as j,c as I,e as D,f as R,g as P,j as T,n as L,q as _,r as E,y as M}from"./chunk-JZLZFTWK.js";import{a as y}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as H}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as q}from"./chunk-SWYVARVN.js";import{r as W}from"./chunk-JJFVMVK7.js";import{c as z,d as O}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as c,Cc as G,Jb as k,Oc as s,Pb as N,Pc as C,Qb as l,_c as b,ac as n,bc as a,id as A,lb as p,mb as S,mc as v,na as m}from"./chunk-O6V6MKDU.js";import{a as V,b as B}from"./chunk-MGAX33HK.js";var K=(()=>{let t=class t{constructor(r){this.formBuilder=r,this.btnRadioGroup2=this.formBuilder.group({radio2:new T("Radio2")})}setRadioValue(r){this.btnRadioGroup2.setValue({radio2:r})}};t.\u0275fac=function(o){return new(o||t)(S(M))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios15"]],standalone:!0,features:[s],decls:10,vars:2,consts:[[3,"formGroup"],["formControlName","radio2","id","radio1-grp2","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","color","danger","for","radio1-grp2","variant","outline",3,"click"],["formControlName","radio2","id","radio2-grp2","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","color","success","for","radio2-grp2","variant","outline",3,"click"],["formControlName","radio2","id","radio3-grp2","type","radio","value","Radio3",1,"btn-check"],["cButton","","cFormCheckLabel","","color","secondary","for","radio3-grp2","variant","outline",3,"click"]],template:function(o,d){o&1&&(e(0,"c-button-group",0),a(1,"input",1),e(2,"label",2),v("click",function(){return d.setRadioValue("Radio1")}),c(3," Radio 1 "),n(),a(4,"input",3),e(5,"label",4),v("click",function(){return d.setRadioValue("Radio2")}),c(6," Radio 2 "),n(),a(7,"input",5),e(8,"label",6),v("click",function(){return d.setRadioValue("Radio3")}),c(9," Radio3 "),n()()),o&2&&(l("formGroup",d.btnRadioGroup2),p(7),N("disabled",!0))},dependencies:[g,w,I,L,D,R,_,E,u,y],encapsulation:2});let i=t;return i})();var Q=(()=>{let t=class t{constructor(){this.btnRadioGroup=new P({radio1:new T("Radio2")})}setRadioValue(r){this.btnRadioGroup.setValue({radio1:r})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios14"]],standalone:!0,features:[s],decls:10,vars:1,consts:[[3,"formGroup"],["formControlName","radio1","id","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio1","variant","ghost",3,"click"],["formControlName","radio1","id","radio2","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio2","variant","ghost",3,"click"],["formControlName","radio1","id","radio3","type","radio","value","Radio3","disabled","",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio3","variant","ghost",3,"click"]],template:function(o,d){o&1&&(e(0,"c-button-group",0),a(1,"input",1),e(2,"label",2),v("click",function(){return d.setRadioValue("Radio1")}),c(3,"Radio 1"),n(),a(4,"input",3),e(5,"label",4),v("click",function(){return d.setRadioValue("Radio2")}),c(6,"Radio 2"),n(),a(7,"input",5),e(8,"label",6),v("click",function(){return d.setRadioValue("Radio3")}),c(9,"Radio3"),n()()),o&2&&l("formGroup",d.btnRadioGroup)},dependencies:[g,w,I,L,D,R,_,E,u,y],encapsulation:2});let i=t;return i})();var U=(()=>{let t=class t{constructor(r){this.formBuilder=r,this.btnCheckGroup=this.formBuilder.group({checkbox1:[!0],checkbox2:[!1],checkbox3:[{value:!1,disabled:!0}]})}setValue(r){let o=this.btnCheckGroup.get(r)?.value,d=this.btnCheckGroup.getRawValue(),F=B(V({},d),{[`${r}`]:!o});this.btnCheckGroup.setValue(F)}};t.\u0275fac=function(o){return new(o||t)(S(M))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios13"]],standalone:!0,features:[s],decls:11,vars:1,consts:[[3,"formGroup"],["formControlName","checkbox1","type","checkbox",1,"btn-check"],["cButton","","cFormCheckLabel","",3,"click"],["formControlName","checkbox2","type","checkbox",1,"btn-check"],["formControlName","checkbox3","type","checkbox",1,"btn-check"]],template:function(o,d){o&1&&(e(0,"div",0)(1,"c-button-group"),a(2,"input",1),e(3,"label",2),v("click",function(){return d.setValue("checkbox1")}),c(4,"Checkbox 1"),n(),a(5,"input",3),e(6,"label",2),v("click",function(){return d.setValue("checkbox2")}),c(7,"Checkbox 2"),n(),a(8,"input",4),e(9,"label",2),v("click",function(){return d.setValue("checkbox3")}),c(10,"Disabled 3"),n()()()),o&2&&l("formGroup",d.btnCheckGroup)},dependencies:[w,j,D,R,_,E,g,u,y],encapsulation:2});let i=t;return i})();var X=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios12"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["cFormCheckInput","","id","nolabelCheck","name","nolabelCheck","type","checkbox"],["cFormCheckInput","","id","nolabelRadio","name","nolabelRadio","type","radio"]],template:function(o,d){o&1&&(e(0,"div"),a(1,"input",0),n(),e(2,"div"),a(3,"input",1),n())},dependencies:[h],encapsulation:2});let i=t;return i})();var Y=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios11"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["inline",""],["cFormCheckInput","","checked","","id","radioinline1","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline1"],["cFormCheckInput","","id","radioinline2","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline2"],["cFormCheckInput","","disabled","","id","radioinline3","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline3"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"1"),n()(),e(4,"c-form-check",0),a(5,"input",3),e(6,"label",4),c(7,"2"),n()(),e(8,"c-form-check",0),a(9,"input",5),e(10,"label",6),c(11,"3 (disabled)"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var Z=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios10"]],standalone:!0,features:[s],decls:12,vars:1,consts:[[3,"inline"],["cFormCheckInput","","id","inline1","type","checkbox"],["cFormCheckLabel","","for","inline1"],["inline",""],["cFormCheckInput","","id","inline2","type","checkbox"],["cFormCheckLabel","","for","inline2"],["cFormCheckInput","","disabled","","id","inline3","type","checkbox"],["cFormCheckLabel","","for","inline3"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"1"),n()(),e(4,"c-form-check",3),a(5,"input",4),e(6,"label",5),c(7,"2"),n()(),e(8,"c-form-check",3),a(9,"input",6),e(10,"label",7),c(11,"3 (disabled)"),n()()),o&2&&l("inline",!0)},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var $=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios09"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cFormCheckInput","","checked","","id","radioStack1","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack1"],["cFormCheckInput","","id","radioStack2","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack2"],["cFormCheckInput","","disabled","","id","radioStack3","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack3"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default radio"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Second radio"),n()(),e(8,"c-form-check"),a(9,"input",4),e(10,"label",5),c(11,"Disabled radio"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ee=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios08"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cFormCheckInput","","id","stackOne","type","checkbox"],["cFormCheckLabel","","for","stackOne"],["cFormCheckInput","","disabled","","id","stackTwo","type","checkbox"],["cFormCheckLabel","","for","stackTwo"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default checkbox"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Disabled checkbox"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var te=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios07"]],standalone:!0,features:[s],decls:12,vars:1,consts:[[3,"switch"],["cFormCheckInput","","type","checkbox"],["cFormCheckLabel",""],["sizing","lg","switch",""],["sizing","xl","switch",""],["cFormCheckInput","","checked","","type","checkbox"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"Default switch checkbox input"),n()(),e(4,"c-form-check",3),a(5,"input",1),e(6,"label",2),c(7,"Large switch checkbox input"),n()(),e(8,"c-form-check",4),a(9,"input",5),e(10,"label",2),c(11,"Extra large switch checkbox input"),n()()),o&2&&l("switch",!0)},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ne=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios06"]],standalone:!0,features:[s],decls:16,vars:4,consts:[[3,"switch"],["cFormCheckInput","","type","checkbox"],["cFormCheckLabel",""],["cFormCheckInput","","checked","","type","checkbox"],["cFormCheckInput","","disabled","","type","checkbox"],["cFormCheckInput","","checked","","disabled","","type","checkbox"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"Default switch checkbox input"),n()(),e(4,"c-form-check",0),a(5,"input",3),e(6,"label",2),c(7,"Checked switch checkbox input"),n()(),e(8,"c-form-check",0),a(9,"input",4),e(10,"label",2),c(11,"Default switch checkbox input"),n()(),e(12,"c-form-check",0),a(13,"input",5),e(14,"label",2),c(15,"Checked switch checkbox input"),n()()),o&2&&(l("switch",!0),p(4),l("switch",!0),p(4),l("switch",!0),p(4),l("switch",!0))},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ie=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios05"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cFormCheckInput","","name","flexRadioDisabled","type","radio","value","one","disabled",""],["cFormCheckLabel",""],["cFormCheckInput","","name","flexRadioDisabled","type","radio","value","two","disabled","","checked",""]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default radio"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",1),c(7,"Checked radio"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var oe=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios04"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cFormCheckInput","","type","radio","value","one","name","flexRadioDefault"],["cFormCheckLabel",""],["cFormCheckInput","","type","radio","value","two","name","flexRadioDefault","checked",""]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default radio"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",1),c(7,"Checked radio"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ce=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios03"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cFormCheckInput","","id","checkThree","type","checkbox","disabled",""],["cFormCheckLabel","","for","checkThree"],["cFormCheckInput","","id","checkFour","type","checkbox","disabled","","checked",""],["cFormCheckLabel","","for","checkFour"],["cFormCheckInput","","id","checkFive","type","checkbox","disabled","","indeterminate",""]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Disabled checkbox"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Disabled checked checkbox"),n()(),e(8,"c-form-check"),a(9,"input",4),e(10,"label",3),c(11,"Disabled indeterminate checkbox"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ae=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios02"]],standalone:!0,features:[s],decls:4,vars:1,consts:[["cFormCheckInput","","id","checkIndeterminate","type","checkbox",3,"indeterminate"],["cFormCheckLabel","","for","checkIndeterminate"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Indeterminate checkbox"),n()()),o&2&&(p(),l("indeterminate",!0))},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var re=(()=>{let t=class t{constructor(r){this.cdr=r,this.checked=void 0}ngOnInit(){setTimeout(()=>{this.checked=!0,this.cdr.markForCheck(),setTimeout(()=>{this.checked=!1,this.cdr.markForCheck(),setTimeout(()=>{this.checked=void 0,this.cdr.markForCheck()},3e3)},3e3)},3e3)}onClick(r){console.log(r,r.target,r.target.value,r.target.checked)}};t.\u0275fac=function(o){return new(o||t)(S(A))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios01"]],standalone:!0,features:[s],decls:8,vars:1,consts:[["cFormCheckInput","","id","checkOne","type","checkbox"],["cFormCheckLabel","","for","checkOne"],["cFormCheckInput","","id","checkTwo","type","checkbox",3,"checked"],["cFormCheckLabel","","for","checkTwo"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default checkbox"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Checked checkbox"),n()()),o&2&&(p(5),l("checked",!0))},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var le=()=>["forms/checks-radios/examples/checks-radios01.component.html"],me=()=>["forms/checks-radios/examples/checks-radios02.component.html"],se=()=>["forms/checks-radios/examples/checks-radios03.component.html"],de=()=>["forms/checks-radios/examples/checks-radios04.component.html"],pe=()=>["forms/checks-radios/examples/checks-radios05.component.html"],ue=()=>["forms/checks-radios/examples/checks-radios06.component.html"],he=()=>["forms/checks-radios/examples/checks-radios07.component.html"],fe=()=>["forms/checks-radios/examples/checks-radios08.component.html"],ke=()=>["forms/checks-radios/examples/checks-radios09.component.html"],Ce=()=>["forms/checks-radios/examples/checks-radios10.component.html"],be=()=>["forms/checks-radios/examples/checks-radios11.component.html"],xe=()=>["forms/checks-radios/examples/checks-radios12.component.html"],ve=()=>["forms/checks-radios/examples/checks-radios13.component.html","forms/checks-radios/examples/checks-radios13.component.ts"],Fe=()=>["forms/checks-radios/examples/checks-radios14.component.html","forms/checks-radios/examples/checks-radios14.component.ts"],Se=()=>["forms/checks-radios/examples/checks-radios15.component.html","forms/checks-radios/examples/checks-radios15.component.ts"];function ye(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios01"),n())}function ge(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios02"),n())}function De(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios03"),n())}function Re(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios04"),n())}function _e(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios05"),n())}function Ee(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios06"),n())}function we(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios07"),n())}function Ie(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios08"),n())}function Te(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios09"),n())}function Le(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios10"),n())}function Me(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios11"),n())}function Ge(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios12"),n())}function Ve(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios13"),n())}function Be(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios14"),n())}function Ne(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios15"),n())}var Nt=(()=>{let t=class t{constructor(r,o){this.metaService=r,this.titleService=o,this.title="Angular Checkbox & Radio Component",this.description="Create consistent cross-browser and cross-device checkboxes and radios with our Angular checkbox, radio, and switch components."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};t.\u0275fac=function(o){return new(o||t)(S(z),S(O))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios-docs"]],standalone:!0,features:[s],decls:84,vars:32,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(o,d){o&1&&(e(0,"h1",1),c(1),n(),e(2,"p",2),c(3),n(),a(4,"docs-ads-carbon-loader"),e(5,"markdown"),c(6,` +import{a as g}from"./chunk-C5U3MXIG.js";import{f as u,g as f,h}from"./chunk-ZGGOM75Q.js";import{B as w,b as j,c as I,e as D,f as R,g as P,j as T,n as L,q as _,r as E,y as M}from"./chunk-WFHPAILT.js";import{a as y}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as H}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as q}from"./chunk-MH6VOBXJ.js";import{r as W}from"./chunk-Q5WIR6QR.js";import{c as z,d as O}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as c,Cc as G,Jb as k,Oc as s,Pb as N,Pc as C,Qb as l,_c as b,ac as n,bc as a,id as A,lb as p,mb as S,mc as v,na as m}from"./chunk-6U7QZ4SV.js";import{a as V,b as B}from"./chunk-MGAX33HK.js";var K=(()=>{let t=class t{constructor(r){this.formBuilder=r,this.btnRadioGroup2=this.formBuilder.group({radio2:new T("Radio2")})}setRadioValue(r){this.btnRadioGroup2.setValue({radio2:r})}};t.\u0275fac=function(o){return new(o||t)(S(M))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios15"]],standalone:!0,features:[s],decls:10,vars:2,consts:[[3,"formGroup"],["formControlName","radio2","id","radio1-grp2","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","color","danger","for","radio1-grp2","variant","outline",3,"click"],["formControlName","radio2","id","radio2-grp2","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","color","success","for","radio2-grp2","variant","outline",3,"click"],["formControlName","radio2","id","radio3-grp2","type","radio","value","Radio3",1,"btn-check"],["cButton","","cFormCheckLabel","","color","secondary","for","radio3-grp2","variant","outline",3,"click"]],template:function(o,d){o&1&&(e(0,"c-button-group",0),a(1,"input",1),e(2,"label",2),v("click",function(){return d.setRadioValue("Radio1")}),c(3," Radio 1 "),n(),a(4,"input",3),e(5,"label",4),v("click",function(){return d.setRadioValue("Radio2")}),c(6," Radio 2 "),n(),a(7,"input",5),e(8,"label",6),v("click",function(){return d.setRadioValue("Radio3")}),c(9," Radio3 "),n()()),o&2&&(l("formGroup",d.btnRadioGroup2),p(7),N("disabled",!0))},dependencies:[g,w,I,L,D,R,_,E,u,y],encapsulation:2});let i=t;return i})();var Q=(()=>{let t=class t{constructor(){this.btnRadioGroup=new P({radio1:new T("Radio2")})}setRadioValue(r){this.btnRadioGroup.setValue({radio1:r})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios14"]],standalone:!0,features:[s],decls:10,vars:1,consts:[[3,"formGroup"],["formControlName","radio1","id","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio1","variant","ghost",3,"click"],["formControlName","radio1","id","radio2","type","radio","value","Radio2",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio2","variant","ghost",3,"click"],["formControlName","radio1","id","radio3","type","radio","value","Radio3","disabled","",1,"btn-check"],["cButton","","cFormCheckLabel","","for","radio3","variant","ghost",3,"click"]],template:function(o,d){o&1&&(e(0,"c-button-group",0),a(1,"input",1),e(2,"label",2),v("click",function(){return d.setRadioValue("Radio1")}),c(3,"Radio 1"),n(),a(4,"input",3),e(5,"label",4),v("click",function(){return d.setRadioValue("Radio2")}),c(6,"Radio 2"),n(),a(7,"input",5),e(8,"label",6),v("click",function(){return d.setRadioValue("Radio3")}),c(9,"Radio3"),n()()),o&2&&l("formGroup",d.btnRadioGroup)},dependencies:[g,w,I,L,D,R,_,E,u,y],encapsulation:2});let i=t;return i})();var U=(()=>{let t=class t{constructor(r){this.formBuilder=r,this.btnCheckGroup=this.formBuilder.group({checkbox1:[!0],checkbox2:[!1],checkbox3:[{value:!1,disabled:!0}]})}setValue(r){let o=this.btnCheckGroup.get(r)?.value,d=this.btnCheckGroup.getRawValue(),F=B(V({},d),{[`${r}`]:!o});this.btnCheckGroup.setValue(F)}};t.\u0275fac=function(o){return new(o||t)(S(M))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios13"]],standalone:!0,features:[s],decls:11,vars:1,consts:[[3,"formGroup"],["formControlName","checkbox1","type","checkbox",1,"btn-check"],["cButton","","cFormCheckLabel","",3,"click"],["formControlName","checkbox2","type","checkbox",1,"btn-check"],["formControlName","checkbox3","type","checkbox",1,"btn-check"]],template:function(o,d){o&1&&(e(0,"div",0)(1,"c-button-group"),a(2,"input",1),e(3,"label",2),v("click",function(){return d.setValue("checkbox1")}),c(4,"Checkbox 1"),n(),a(5,"input",3),e(6,"label",2),v("click",function(){return d.setValue("checkbox2")}),c(7,"Checkbox 2"),n(),a(8,"input",4),e(9,"label",2),v("click",function(){return d.setValue("checkbox3")}),c(10,"Disabled 3"),n()()()),o&2&&l("formGroup",d.btnCheckGroup)},dependencies:[w,j,D,R,_,E,g,u,y],encapsulation:2});let i=t;return i})();var X=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios12"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["cFormCheckInput","","id","nolabelCheck","name","nolabelCheck","type","checkbox"],["cFormCheckInput","","id","nolabelRadio","name","nolabelRadio","type","radio"]],template:function(o,d){o&1&&(e(0,"div"),a(1,"input",0),n(),e(2,"div"),a(3,"input",1),n())},dependencies:[h],encapsulation:2});let i=t;return i})();var Y=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios11"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["inline",""],["cFormCheckInput","","checked","","id","radioinline1","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline1"],["cFormCheckInput","","id","radioinline2","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline2"],["cFormCheckInput","","disabled","","id","radioinline3","name","radioinline","type","radio"],["cFormCheckLabel","","for","radioinline3"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"1"),n()(),e(4,"c-form-check",0),a(5,"input",3),e(6,"label",4),c(7,"2"),n()(),e(8,"c-form-check",0),a(9,"input",5),e(10,"label",6),c(11,"3 (disabled)"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var Z=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios10"]],standalone:!0,features:[s],decls:12,vars:1,consts:[[3,"inline"],["cFormCheckInput","","id","inline1","type","checkbox"],["cFormCheckLabel","","for","inline1"],["inline",""],["cFormCheckInput","","id","inline2","type","checkbox"],["cFormCheckLabel","","for","inline2"],["cFormCheckInput","","disabled","","id","inline3","type","checkbox"],["cFormCheckLabel","","for","inline3"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"1"),n()(),e(4,"c-form-check",3),a(5,"input",4),e(6,"label",5),c(7,"2"),n()(),e(8,"c-form-check",3),a(9,"input",6),e(10,"label",7),c(11,"3 (disabled)"),n()()),o&2&&l("inline",!0)},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var $=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios09"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cFormCheckInput","","checked","","id","radioStack1","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack1"],["cFormCheckInput","","id","radioStack2","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack2"],["cFormCheckInput","","disabled","","id","radioStack3","name","radioStack","type","radio"],["cFormCheckLabel","","for","radioStack3"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default radio"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Second radio"),n()(),e(8,"c-form-check"),a(9,"input",4),e(10,"label",5),c(11,"Disabled radio"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ee=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios08"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cFormCheckInput","","id","stackOne","type","checkbox"],["cFormCheckLabel","","for","stackOne"],["cFormCheckInput","","disabled","","id","stackTwo","type","checkbox"],["cFormCheckLabel","","for","stackTwo"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default checkbox"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Disabled checkbox"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var te=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios07"]],standalone:!0,features:[s],decls:12,vars:1,consts:[[3,"switch"],["cFormCheckInput","","type","checkbox"],["cFormCheckLabel",""],["sizing","lg","switch",""],["sizing","xl","switch",""],["cFormCheckInput","","checked","","type","checkbox"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"Default switch checkbox input"),n()(),e(4,"c-form-check",3),a(5,"input",1),e(6,"label",2),c(7,"Large switch checkbox input"),n()(),e(8,"c-form-check",4),a(9,"input",5),e(10,"label",2),c(11,"Extra large switch checkbox input"),n()()),o&2&&l("switch",!0)},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ne=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios06"]],standalone:!0,features:[s],decls:16,vars:4,consts:[[3,"switch"],["cFormCheckInput","","type","checkbox"],["cFormCheckLabel",""],["cFormCheckInput","","checked","","type","checkbox"],["cFormCheckInput","","disabled","","type","checkbox"],["cFormCheckInput","","checked","","disabled","","type","checkbox"]],template:function(o,d){o&1&&(e(0,"c-form-check",0),a(1,"input",1),e(2,"label",2),c(3,"Default switch checkbox input"),n()(),e(4,"c-form-check",0),a(5,"input",3),e(6,"label",2),c(7,"Checked switch checkbox input"),n()(),e(8,"c-form-check",0),a(9,"input",4),e(10,"label",2),c(11,"Default switch checkbox input"),n()(),e(12,"c-form-check",0),a(13,"input",5),e(14,"label",2),c(15,"Checked switch checkbox input"),n()()),o&2&&(l("switch",!0),p(4),l("switch",!0),p(4),l("switch",!0),p(4),l("switch",!0))},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ie=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios05"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cFormCheckInput","","name","flexRadioDisabled","type","radio","value","one","disabled",""],["cFormCheckLabel",""],["cFormCheckInput","","name","flexRadioDisabled","type","radio","value","two","disabled","","checked",""]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default radio"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",1),c(7,"Checked radio"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var oe=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios04"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["cFormCheckInput","","type","radio","value","one","name","flexRadioDefault"],["cFormCheckLabel",""],["cFormCheckInput","","type","radio","value","two","name","flexRadioDefault","checked",""]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default radio"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",1),c(7,"Checked radio"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ce=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios03"]],standalone:!0,features:[s],decls:12,vars:0,consts:[["cFormCheckInput","","id","checkThree","type","checkbox","disabled",""],["cFormCheckLabel","","for","checkThree"],["cFormCheckInput","","id","checkFour","type","checkbox","disabled","","checked",""],["cFormCheckLabel","","for","checkFour"],["cFormCheckInput","","id","checkFive","type","checkbox","disabled","","indeterminate",""]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Disabled checkbox"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Disabled checked checkbox"),n()(),e(8,"c-form-check"),a(9,"input",4),e(10,"label",3),c(11,"Disabled indeterminate checkbox"),n()())},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var ae=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios02"]],standalone:!0,features:[s],decls:4,vars:1,consts:[["cFormCheckInput","","id","checkIndeterminate","type","checkbox",3,"indeterminate"],["cFormCheckLabel","","for","checkIndeterminate"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Indeterminate checkbox"),n()()),o&2&&(p(),l("indeterminate",!0))},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var re=(()=>{let t=class t{constructor(r){this.cdr=r,this.checked=void 0}ngOnInit(){setTimeout(()=>{this.checked=!0,this.cdr.markForCheck(),setTimeout(()=>{this.checked=!1,this.cdr.markForCheck(),setTimeout(()=>{this.checked=void 0,this.cdr.markForCheck()},3e3)},3e3)},3e3)}onClick(r){console.log(r,r.target,r.target.value,r.target.checked)}};t.\u0275fac=function(o){return new(o||t)(S(A))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios01"]],standalone:!0,features:[s],decls:8,vars:1,consts:[["cFormCheckInput","","id","checkOne","type","checkbox"],["cFormCheckLabel","","for","checkOne"],["cFormCheckInput","","id","checkTwo","type","checkbox",3,"checked"],["cFormCheckLabel","","for","checkTwo"]],template:function(o,d){o&1&&(e(0,"c-form-check"),a(1,"input",0),e(2,"label",1),c(3,"Default checkbox"),n()(),e(4,"c-form-check"),a(5,"input",2),e(6,"label",3),c(7,"Checked checkbox"),n()()),o&2&&(p(5),l("checked",!0))},dependencies:[f,h,u],encapsulation:2});let i=t;return i})();var le=()=>["forms/checks-radios/examples/checks-radios01.component.html"],me=()=>["forms/checks-radios/examples/checks-radios02.component.html"],se=()=>["forms/checks-radios/examples/checks-radios03.component.html"],de=()=>["forms/checks-radios/examples/checks-radios04.component.html"],pe=()=>["forms/checks-radios/examples/checks-radios05.component.html"],ue=()=>["forms/checks-radios/examples/checks-radios06.component.html"],he=()=>["forms/checks-radios/examples/checks-radios07.component.html"],fe=()=>["forms/checks-radios/examples/checks-radios08.component.html"],ke=()=>["forms/checks-radios/examples/checks-radios09.component.html"],Ce=()=>["forms/checks-radios/examples/checks-radios10.component.html"],be=()=>["forms/checks-radios/examples/checks-radios11.component.html"],xe=()=>["forms/checks-radios/examples/checks-radios12.component.html"],ve=()=>["forms/checks-radios/examples/checks-radios13.component.html","forms/checks-radios/examples/checks-radios13.component.ts"],Fe=()=>["forms/checks-radios/examples/checks-radios14.component.html","forms/checks-radios/examples/checks-radios14.component.ts"],Se=()=>["forms/checks-radios/examples/checks-radios15.component.html","forms/checks-radios/examples/checks-radios15.component.ts"];function ye(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios01"),n())}function ge(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios02"),n())}function De(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios03"),n())}function Re(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios04"),n())}function _e(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios05"),n())}function Ee(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios06"),n())}function we(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios07"),n())}function Ie(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios08"),n())}function Te(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios09"),n())}function Le(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios10"),n())}function Me(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios11"),n())}function Ge(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios12"),n())}function Ve(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios13"),n())}function Be(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios14"),n())}function Ne(i,t){i&1&&(e(0,"div",5),a(1,"docs-checks-radios15"),n())}var Nt=(()=>{let t=class t{constructor(r,o){this.metaService=r,this.titleService=o,this.title="Angular Checkbox & Radio Component",this.description="Create consistent cross-browser and cross-device checkboxes and radios with our Angular checkbox, radio, and switch components."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};t.\u0275fac=function(o){return new(o||t)(S(z),S(O))},t.\u0275cmp=m({type:t,selectors:[["docs-checks-radios-docs"]],standalone:!0,features:[s],decls:84,vars:32,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"],[1,"docs-example","p-3"]],template:function(o,d){o&1&&(e(0,"h1",1),c(1),n(),e(2,"p",2),c(3),n(),a(4,"docs-ads-carbon-loader"),e(5,"markdown"),c(6,` ## Approach Browser default checkboxes and radios are replaced with the help of \`c-form-check\`. Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many. diff --git a/angular/docs/chunk-R62ALK5P.js b/angular/docs/chunk-LIKYSHTJ.js similarity index 61% rename from angular/docs/chunk-R62ALK5P.js rename to angular/docs/chunk-LIKYSHTJ.js index 489356e18c8..a6867e1b090 100644 --- a/angular/docs/chunk-R62ALK5P.js +++ b/angular/docs/chunk-LIKYSHTJ.js @@ -1 +1 @@ -import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Layout"},children:[{path:"",redirectTo:"breakpoints",pathMatch:"full"},{path:"breakpoints",loadComponent:()=>import("./chunk-UOPZPZQW.js").then(t=>t.BreakpointsComponent),data:{label:"Breakpoints"},title:"Breakpoints"},{path:"columns",loadComponent:()=>import("./chunk-EYLLMN6C.js").then(t=>t.ColumnsComponent),data:{label:"Columns"},title:"Columns"},{path:"containers",loadComponent:()=>import("./chunk-R5QBJ3ND.js").then(t=>t.ContainersComponent),data:{label:"Containers"},title:"Containers"},{path:"grid",loadComponent:()=>import("./chunk-6TCBKNND.js").then(t=>t.GridComponent),data:{label:"Grid"},title:"Grid"},{path:"gutters",loadComponent:()=>import("./chunk-TZEEDLL4.js").then(t=>t.GuttersComponent),data:{label:"Gutters"},title:"Gutters"}]}];export{o as routes}; +import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Layout"},children:[{path:"",redirectTo:"breakpoints",pathMatch:"full"},{path:"breakpoints",loadComponent:()=>import("./chunk-IP4ISBZD.js").then(t=>t.BreakpointsComponent),data:{label:"Breakpoints"},title:"Breakpoints"},{path:"columns",loadComponent:()=>import("./chunk-SKBKKNHC.js").then(t=>t.ColumnsComponent),data:{label:"Columns"},title:"Columns"},{path:"containers",loadComponent:()=>import("./chunk-V4QLMYX5.js").then(t=>t.ContainersComponent),data:{label:"Containers"},title:"Containers"},{path:"grid",loadComponent:()=>import("./chunk-DEQY3XY7.js").then(t=>t.GridComponent),data:{label:"Grid"},title:"Grid"},{path:"gutters",loadComponent:()=>import("./chunk-3RPAIOEE.js").then(t=>t.GuttersComponent),data:{label:"Gutters"},title:"Gutters"}]}];export{o as routes}; diff --git a/angular/docs/chunk-SQZNSUR4.js b/angular/docs/chunk-LWLPMGSV.js similarity index 96% rename from angular/docs/chunk-SQZNSUR4.js rename to angular/docs/chunk-LWLPMGSV.js index e8fb09d5a94..f2fc0b6094a 100644 --- a/angular/docs/chunk-SQZNSUR4.js +++ b/angular/docs/chunk-LWLPMGSV.js @@ -1 +1 @@ -import{a as L,b as E}from"./chunk-ZRYKY3MP.js";import{m as D}from"./chunk-FIXU3TFH.js";import{$b as r,Aa as u,Ba as _,Bc as m,Cc as v,Dc as y,Gb as S,Jb as f,Na as w,Oc as T,Pb as k,Qb as g,Qc as P,Wb as p,Yb as B,Zb as I,_b as V,ac as c,fc as d,lb as a,mc as h,na as b,oc as l,od as C}from"./chunk-O6V6MKDU.js";var x=e=>({disabled:e});function F(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",3),h("click",function(){u(t);let i=l();return _(i.setPage(1))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===1)("ngClass",P(3,x,t.activePage===1)),a(2),v(t.firstButton)}}function A(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",5),h("click",function(){u(t);let i=l();return _(i.setPage(i.activePage-1))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===1)("ngClass",P(3,x,t.activePage===1)),a(2),v(t.previousButton)}}function M(e,o){e&1&&(r(0,"li",1)(1,"a",6),m(2," ... "),c()())}function N(e,o){if(e&1){let t=d();r(0,"li",2)(1,"button",7),h("click",function(){let i=u(t).$implicit,s=l();return _(s.setPage(i))}),m(2),c()()}if(e&2){let t=o.$implicit,n=l();g("active",n.activePage===t),a(),g("title",(n.activePage===t?"Current page ":"Go to page ")+t.toString()),a(),y(" ",t," ")}}function z(e,o){e&1&&(r(0,"li",1)(1,"a",6),m(2," ... "),c()())}function $(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",8),h("click",function(){u(t);let i=l();return _(i.setPage(i.activePage+1))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===t.pages)("ngClass",P(3,x,t.activePage===t.pages)),a(2),v(t.nextButton)}}function H(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",9),h("click",function(){u(t);let i=l();return _(i.setPage(i.pages))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===t.pages)("ngClass",P(3,x,t.activePage===t.pages)),a(2),v(t.lastButton)}}var j=(()=>{let o=class o{constructor(){this.activePage=1,this.activePageChange=new w,this.arrows=!0,this.doubleArrows=!0,this.dots=!0,this._limit=5,this._pages=1,this.firstButton="\xAB",this.lastButton="\xBB",this.nextButton="\u203A",this.previousButton="\u2039",this.align="start",this.role="navigation"}set limit(n){this._limit=n}get limit(){return this._limit}set pages(n){this._pages=n}get pages(){return this._pages}get paginationClass(){return{pagination:!0,[`pagination-${this.size}`]:!!this.size,[`justify-content-${this.align}`]:!!this.align}}get maxPrevItems(){return Math.floor((this._limit-1)/2)}get maxNextItems(){return Math.ceil((this._limit-1)/2)}get range(){return this.activePage+this.maxNextItems}get lastItem(){return this.range>=this._pages?this._pages:this.range-(this.afterDots?1:0)}get computedLimit(){return this._limit-(this.afterDots?1:0)-(this.beforeDots?1:0)}get itemsLimit(){return this._pages4&&this._limitthis.maxPrevItems+1}get afterDots(){return this.showDots&&this.activePagei+1):Array.from({length:this.itemsLimit},(n,i)=>this.lastItem-i).reverse()}setPage(n){n!==this.activePage&&(this.activePage=n,this.activePageChange.emit(n))}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=b({type:o,selectors:[["c-smart-pagination"]],hostVars:1,hostBindings:function(i,s){i&2&&k("role",s.role)},inputs:{activePage:[2,"activePage","activePage",C],arrows:"arrows",doubleArrows:"doubleArrows",dots:"dots",limit:[2,"limit","limit",C],pages:[2,"pages","pages",C],firstButton:"firstButton",lastButton:"lastButton",nextButton:"nextButton",previousButton:"previousButton",align:"align",size:"size",role:"role"},outputs:{activePageChange:"activePageChange"},exportAs:["cSmartPagination"],standalone:!0,features:[S,T],decls:9,vars:7,consts:[[3,"ngClass"],["cPageItem",""],["cPageItem","",3,"active"],["aria-label","First page","cPageLink","",3,"click","disabled","ngClass"],["aria-hidden","true"],["aria-label","Previous page","cPageLink","",3,"click","disabled","ngClass"],["cPageLink","","disabled","","role","separator"],["cPageLink","",3,"click","title"],["aria-label","Next page","cPageLink","",3,"click","disabled","ngClass"],["aria-label","Last page","cPageLink","",3,"click","disabled","ngClass"]],template:function(i,s){i&1&&(r(0,"ul",0),f(1,F,4,5,"li",1)(2,A,4,5,"li",1)(3,M,3,0,"li",1),I(4,N,3,3,"li",2,B),f(6,z,3,0,"li",1)(7,$,4,5,"li",1)(8,H,4,5,"li",1),c()),i&2&&(g("ngClass",s.paginationClass),a(),p(s.doubleArrows?1:-1),a(),p(s.arrows?2:-1),a(),p(s.beforeDots?3:-1),a(),V(s.items),a(2),p(s.afterDots?6:-1),a(),p(s.arrows?7:-1),a(),p(s.doubleArrows?8:-1))},dependencies:[E,L,D],encapsulation:2});let e=o;return e})();export{j as a}; +import{a as L,b as E}from"./chunk-637KEXIK.js";import{m as D}from"./chunk-XHR4TYVD.js";import{$b as r,Aa as u,Ba as _,Bc as m,Cc as v,Dc as y,Gb as S,Jb as f,Na as w,Oc as T,Pb as k,Qb as g,Qc as P,Wb as p,Yb as B,Zb as I,_b as V,ac as c,fc as d,lb as a,mc as h,na as b,oc as l,od as C}from"./chunk-6U7QZ4SV.js";var x=e=>({disabled:e});function F(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",3),h("click",function(){u(t);let i=l();return _(i.setPage(1))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===1)("ngClass",P(3,x,t.activePage===1)),a(2),v(t.firstButton)}}function A(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",5),h("click",function(){u(t);let i=l();return _(i.setPage(i.activePage-1))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===1)("ngClass",P(3,x,t.activePage===1)),a(2),v(t.previousButton)}}function M(e,o){e&1&&(r(0,"li",1)(1,"a",6),m(2," ... "),c()())}function N(e,o){if(e&1){let t=d();r(0,"li",2)(1,"button",7),h("click",function(){let i=u(t).$implicit,s=l();return _(s.setPage(i))}),m(2),c()()}if(e&2){let t=o.$implicit,n=l();g("active",n.activePage===t),a(),g("title",(n.activePage===t?"Current page ":"Go to page ")+t.toString()),a(),y(" ",t," ")}}function z(e,o){e&1&&(r(0,"li",1)(1,"a",6),m(2," ... "),c()())}function $(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",8),h("click",function(){u(t);let i=l();return _(i.setPage(i.activePage+1))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===t.pages)("ngClass",P(3,x,t.activePage===t.pages)),a(2),v(t.nextButton)}}function H(e,o){if(e&1){let t=d();r(0,"li",1)(1,"button",9),h("click",function(){u(t);let i=l();return _(i.setPage(i.pages))}),r(2,"span",4),m(3),c()()()}if(e&2){let t=l();a(),g("disabled",t.activePage===t.pages)("ngClass",P(3,x,t.activePage===t.pages)),a(2),v(t.lastButton)}}var j=(()=>{let o=class o{constructor(){this.activePage=1,this.activePageChange=new w,this.arrows=!0,this.doubleArrows=!0,this.dots=!0,this._limit=5,this._pages=1,this.firstButton="\xAB",this.lastButton="\xBB",this.nextButton="\u203A",this.previousButton="\u2039",this.align="start",this.role="navigation"}set limit(n){this._limit=n}get limit(){return this._limit}set pages(n){this._pages=n}get pages(){return this._pages}get paginationClass(){return{pagination:!0,[`pagination-${this.size}`]:!!this.size,[`justify-content-${this.align}`]:!!this.align}}get maxPrevItems(){return Math.floor((this._limit-1)/2)}get maxNextItems(){return Math.ceil((this._limit-1)/2)}get range(){return this.activePage+this.maxNextItems}get lastItem(){return this.range>=this._pages?this._pages:this.range-(this.afterDots?1:0)}get computedLimit(){return this._limit-(this.afterDots?1:0)-(this.beforeDots?1:0)}get itemsLimit(){return this._pages4&&this._limitthis.maxPrevItems+1}get afterDots(){return this.showDots&&this.activePagei+1):Array.from({length:this.itemsLimit},(n,i)=>this.lastItem-i).reverse()}setPage(n){n!==this.activePage&&(this.activePage=n,this.activePageChange.emit(n))}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=b({type:o,selectors:[["c-smart-pagination"]],hostVars:1,hostBindings:function(i,s){i&2&&k("role",s.role)},inputs:{activePage:[2,"activePage","activePage",C],arrows:"arrows",doubleArrows:"doubleArrows",dots:"dots",limit:[2,"limit","limit",C],pages:[2,"pages","pages",C],firstButton:"firstButton",lastButton:"lastButton",nextButton:"nextButton",previousButton:"previousButton",align:"align",size:"size",role:"role"},outputs:{activePageChange:"activePageChange"},exportAs:["cSmartPagination"],standalone:!0,features:[S,T],decls:9,vars:7,consts:[[3,"ngClass"],["cPageItem",""],["cPageItem","",3,"active"],["aria-label","First page","cPageLink","",3,"click","disabled","ngClass"],["aria-hidden","true"],["aria-label","Previous page","cPageLink","",3,"click","disabled","ngClass"],["cPageLink","","disabled","","role","separator"],["cPageLink","",3,"click","title"],["aria-label","Next page","cPageLink","",3,"click","disabled","ngClass"],["aria-label","Last page","cPageLink","",3,"click","disabled","ngClass"]],template:function(i,s){i&1&&(r(0,"ul",0),f(1,F,4,5,"li",1)(2,A,4,5,"li",1)(3,M,3,0,"li",1),I(4,N,3,3,"li",2,B),f(6,z,3,0,"li",1)(7,$,4,5,"li",1)(8,H,4,5,"li",1),c()),i&2&&(g("ngClass",s.paginationClass),a(),p(s.doubleArrows?1:-1),a(),p(s.arrows?2:-1),a(),p(s.beforeDots?3:-1),a(),V(s.items),a(2),p(s.afterDots?6:-1),a(),p(s.arrows?7:-1),a(),p(s.doubleArrows?8:-1))},dependencies:[E,L,D],encapsulation:2});let e=o;return e})();export{j as a}; diff --git a/angular/docs/chunk-QNSTT6ST.js b/angular/docs/chunk-LZN2HRQX.js similarity index 99% rename from angular/docs/chunk-QNSTT6ST.js rename to angular/docs/chunk-LZN2HRQX.js index c001b9fff29..d0fbf5377f9 100644 --- a/angular/docs/chunk-QNSTT6ST.js +++ b/angular/docs/chunk-LZN2HRQX.js @@ -1 +1 @@ -import{c as z,d as U}from"./chunk-T5CNCUEW.js";import{A as Ae,d as w}from"./chunk-FIXU3TFH.js";import{$ as pe,A as le,F,Ga as j,Gb as Q,H as S,Ia as O,K as fe,La as P,Na as ge,Oa as G,Sa as ve,T as R,U as me,Ua as Ee,W as E,Y as _e,a as re,c as L,ca as u,da as y,f,fa as Z,g as ce,h as ae,ha as a,ia as m,m as de,mb as p,nd as X,oa as I,pa as k,pd as Ie,q as N,qd as Y,r as ue,rd as B,tb as A,u as he,wa as x,wb as ye,xa as be,yb as $,zb as q}from"./chunk-O6V6MKDU.js";import{a as V}from"./chunk-MGAX33HK.js";function Pe(i){i||(x(Pe),i=m(O));let e=new L(n=>i.onDestroy(n.next.bind(n)));return n=>n.pipe(E(e))}function Be(i,e){!e?.injector&&x(Be);let n=e?.injector??m(j),t=new ae(1),s=B(()=>{let o;try{o=i()}catch(r){Y(()=>t.error(r));return}Y(()=>t.next(o))},{injector:n,manualCleanup:!0});return n.get(O).onDestroy(()=>{s.destroy(),t.complete()}),t.asObservable()}function Ue(i,e){let n=!e?.manualCleanup;n&&!e?.injector&&x(Ue);let t=n?e?.injector?.get(O)??m(O):null,s;e?.requireSync?s=q({kind:0}):s=q({kind:1,value:e?.initialValue});let o=i.subscribe({next:r=>s.set({kind:1,value:r}),error:r=>{if(e?.rejectErrors)throw r;s.set({kind:2,error:r})}});return t?.onDestroy(o.unsubscribe.bind(o)),Ie(()=>{let r=s();switch(r.kind){case 1:return r.value;case 2:throw r.error;case 0:throw new pe(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var ee;try{ee=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ee=!1}var h=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Ae(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||ee)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(s){return new(s||e)(a(ve))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var D;function Ke(){if(D==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>D=!0}))}finally{D=D||!1}return D}function ie(i){return Ke()?i:!!i.capture}var C=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(C||{}),K,b;function Wt(){if(b==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return b=!1,b;if("scrollBehavior"in document.documentElement.style)b=!0;else{let i=Element.prototype.scrollTo;i?b=!/\{\s*\[native code\]\s*\}/.test(i.toString()):b=!1}}return b}function Ht(){if(typeof document!="object"||!document)return C.NORMAL;if(K==null){let i=document.createElement("div"),e=i.style;i.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let n=document.createElement("div"),t=n.style;t.width="2px",t.height="1px",i.appendChild(n),document.body.appendChild(i),K=C.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,K=i.scrollLeft===0?C.NEGATED:C.INVERTED),i.remove()}return K}var J;function We(){if(J==null){let i=typeof document<"u"?document.head:null;J=!!(i&&(i.createShadowRoot||i.attachShadow))}return J}function we(i){if(We()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Te(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let e=i.shadowRoot.activeElement;if(e===i)break;i=e}return i}function T(i){return i.composedPath?i.composedPath()[0]:i.target}function Ne(i,...e){return e.length?e.some(n=>i[n]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var He=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Oe=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=I({type:e}),e.\u0275inj=y({providers:[He]});let i=e;return i})();var De=new Set,g,Ve=(()=>{let e=class e{constructor(t,s){this._platform=t,this._nonce=s,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ge}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Ze(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(s){return new(s||e)(a(h),a(Ee,8))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ze(i,e){if(!De.has(i))try{g||(g=document.createElement("style"),e&&g.setAttribute("nonce",e),g.setAttribute("type","text/css"),document.head.appendChild(g)),g.sheet&&(g.sheet.insertRule(`@media ${i} {body{ }}`,0),De.add(i))}catch(n){console.error(n)}}function Ge(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Le=(()=>{let e=class e{constructor(t,s){this._mediaMatcher=t,this._zone=s,this._queries=new Map,this._destroySubject=new f}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Ce(z(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Ce(z(t)).map(c=>this._registerQuery(c).observable),r=ue(o);return r=he(r.pipe(S(1)),r.pipe(R(1),F(0))),r.pipe(N(c=>{let d={matches:!1,breakpoints:{}};return c.forEach(({matches:l,query:_})=>{d.matches=d.matches||l,d.breakpoints[_]=l}),d}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let s=this._mediaMatcher.matchMedia(t),r={observable:new L(c=>{let d=l=>this._zone.run(()=>c.next(l));return s.addListener(d),()=>{s.removeListener(d)}}).pipe(me(s),N(({matches:c})=>({query:t,matches:c})),E(this._destroySubject)),mql:s};return this._queries.set(t,r),r}};e.\u0275fac=function(s){return new(s||e)(a(Ve),a(A))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ce(i){return i.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var ne=class{constructor(e,n){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new f,this._typeaheadSubscription=re.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new f,this.change=new f,e instanceof G?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):$(e)&&(this._effectRef=B(()=>this._itemsChanged(e()),{injector:n}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(_e(n=>this._pressedLetters.push(n)),F(e),le(()=>this._pressedLetters.length>0),N(()=>this._pressedLetters.join(""))).subscribe(n=>{let t=this._getItemsArray();for(let s=1;s!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&s){this.setNextItemActive();break}else return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&s){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&s){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&s){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&s){let o=this._activeItemIndex+this._pageUpAndDown.delta,r=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let n=this._getItemsArray(),t=typeof e=="number"?e:n.indexOf(e),s=n[t];this._activeItem=s??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let n=this._getItemsArray();for(let t=1;t<=n.length;t++){let s=(this._activeItemIndex+e*t+n.length)%n.length,o=n[s];if(!this._skipPredicateFn(o)){this.setActiveItem(s);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,n){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=n,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return $(this._items)?this._items():this._items instanceof G?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let n=e.indexOf(this._activeItem);n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n)}}};var Fe=class extends ne{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var ht=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return ft(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let s=lt(yt(t));if(s&&(Se(s)===-1||!this.isVisible(s)))return!1;let o=t.nodeName.toLowerCase(),r=Se(t);return t.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!vt(t)?!1:o==="audio"?t.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,s){return Et(t)&&!this.isDisabled(t)&&(s?.ignoreVisibility||this.isVisible(t))}};e.\u0275fac=function(s){return new(s||e)(a(h))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function lt(i){try{return i.frameElement}catch{return null}}function ft(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function mt(i){let e=i.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function _t(i){return bt(i)&&i.type=="hidden"}function pt(i){return gt(i)&&i.hasAttribute("href")}function bt(i){return i.nodeName.toLowerCase()=="input"}function gt(i){return i.nodeName.toLowerCase()=="a"}function xe(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let e=i.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Se(i){if(!xe(i))return null;let e=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function vt(i){let e=i.nodeName.toLowerCase(),n=e==="input"&&i.type;return n==="text"||n==="password"||e==="select"||e==="textarea"}function Et(i){return _t(i)?!1:mt(i)||pt(i)||i.hasAttribute("contenteditable")||xe(i)}function yt(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var oe=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,n,t,s,o=!1,r){this._element=e,this._checker=n,this._ngZone=t,this._document=s,this._injector=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,n=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let n=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){let t=this._getFirstTabbableElement(n);return t?.focus(e),!!t}return n.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let n=this._getRegionBoundary("start");return n&&n.focus(e),!!n}focusLastTabbableElement(e){let n=this._getRegionBoundary("end");return n&&n.focus(e),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let t=0;t=0;t--){let s=n[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[t]):null;if(s)return s}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,n){e?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?this._injector?ye(e,{injector:this._injector}):e():this._ngZone.onStable.pipe(S(1)).subscribe(e)}},It=(()=>{let e=class e{constructor(t,s,o){this._checker=t,this._ngZone=s,this._injector=m(j),this._document=o}create(t,s=!1){return new oe(t,this._checker,this._ngZone,this._document,s,this._injector)}};e.\u0275fac=function(s){return new(s||e)(a(ht),a(A),a(w))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),gi=(()=>{let e=class e{get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}constructor(t,s,o){this._elementRef=t,this._focusTrapFactory=s,this._previouslyFocusedElement=null,m(h).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let s=t.autoCapture;s&&!s.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Te(),this.focusTrap?.focusInitialElementWhenReady()}};e.\u0275fac=function(s){return new(s||e)(p(P),p(It),p(w))},e.\u0275dir=k({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",X],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",X]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Q,be]});let i=e;return i})();function At(i){return i.buttons===0||i.detail===0}function wt(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Tt=new Z("cdk-input-modality-detector-options"),Mt={ignoreKeys:[18,17,224,91,16]},je=650,M=ie({passive:!0,capture:!0}),Nt=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,s,o,r){this._platform=t,this._mostRecentTarget=null,this._modality=new ce(null),this._lastTouchMs=0,this._onKeydown=c=>{this._options?.ignoreKeys?.some(d=>d===c.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=T(c))},this._onMousedown=c=>{Date.now()-this._lastTouchMs{if(wt(c)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=T(c)},this._options=V(V({},Mt),r),this.modalityDetected=this._modality.pipe(R(1)),this.modalityChanged=this.modalityDetected.pipe(fe()),t.isBrowser&&s.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,M),o.addEventListener("mousedown",this._onMousedown,M),o.addEventListener("touchstart",this._onTouchstart,M)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,M),document.removeEventListener("mousedown",this._onMousedown,M),document.removeEventListener("touchstart",this._onTouchstart,M))}};e.\u0275fac=function(s){return new(s||e)(a(h),a(A),a(w),a(Tt,8))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var H=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(H||{}),Ot=new Z("cdk-focus-monitor-default-options"),W=ie({passive:!0,capture:!0}),Dt=(()=>{let e=class e{constructor(t,s,o,r,c){this._ngZone=t,this._platform=s,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new f,this._rootNodeFocusAndBlurListener=d=>{let l=T(d);for(let _=l;_;_=_.parentElement)d.type==="focus"?this._onFocus(d,_):this._onBlur(d,_)},this._document=r,this._detectionMode=c?.detectionMode||H.IMMEDIATE}monitor(t,s=!1){let o=U(t);if(!this._platform.isBrowser||o.nodeType!==1)return de();let r=we(o)||this._getDocument(),c=this._elementInfo.get(o);if(c)return s&&(c.checkChildren=!0),c.subject;let d={checkChildren:s,subject:new f,rootNode:r};return this._elementInfo.set(o,d),this._registerGlobalListeners(d),d.subject}stopMonitoring(t){let s=U(t),o=this._elementInfo.get(s);o&&(o.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(o))}focusVia(t,s,o){let r=U(t),c=this._getDocument().activeElement;r===c?this._getClosestElementsInfo(r).forEach(([d,l])=>this._originChanged(d,s,l)):(this._setOrigin(s),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===H.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,s){t.classList.toggle("cdk-focused",!!s),t.classList.toggle("cdk-touch-focused",s==="touch"),t.classList.toggle("cdk-keyboard-focused",s==="keyboard"),t.classList.toggle("cdk-mouse-focused",s==="mouse"),t.classList.toggle("cdk-program-focused",s==="program")}_setOrigin(t,s=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&s,this._detectionMode===H.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?je:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,s){let o=this._elementInfo.get(s),r=T(t);!o||!o.checkChildren&&s!==r||this._originChanged(s,this._getFocusOrigin(r),o)}_onBlur(t,s){let o=this._elementInfo.get(s);!o||o.checkChildren&&t.relatedTarget instanceof Node&&s.contains(t.relatedTarget)||(this._setClasses(s),this._emitOrigin(o,null))}_emitOrigin(t,s){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(s))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let s=t.rootNode,o=this._rootNodeFocusListenerCount.get(s)||0;o||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,W),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,W)}),this._rootNodeFocusListenerCount.set(s,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(E(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(t){let s=t.rootNode;if(this._rootNodeFocusListenerCount.has(s)){let o=this._rootNodeFocusListenerCount.get(s);o>1?this._rootNodeFocusListenerCount.set(s,o-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,W),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,W),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,s,o){this._setClasses(t,s),this._emitOrigin(o,s),this._lastFocusOrigin=s}_getClosestElementsInfo(t){let s=[];return this._elementInfo.forEach((o,r)=>{(r===t||o.checkChildren&&r.contains(t))&&s.push([r,o])}),s}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:s,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!s||s===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let r=t.labels;if(r){for(let c=0;c{let e=class e{constructor(t,s){this._elementRef=t,this._focusMonitor=s,this._focusOrigin=null,this.cdkFocusChange=new ge}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(s=>{this._focusOrigin=s,this.cdkFocusChange.emit(s)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(s){return new(s||e)(p(P),p(Dt))},e.\u0275dir=k({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let i=e;return i})(),v=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(v||{}),Re="cdk-high-contrast-black-on-white",ke="cdk-high-contrast-white-on-black",se="cdk-high-contrast-active",Ct=(()=>{let e=class e{constructor(t,s){this._platform=t,this._document=s,this._breakpointSubscription=m(Le).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return v.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let s=this._document.defaultView||window,o=s&&s.getComputedStyle?s.getComputedStyle(t):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return v.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return v.BLACK_ON_WHITE}return v.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(se,Re,ke),this._hasCheckedHighContrastMode=!0;let s=this.getHighContrastMode();s===v.BLACK_ON_WHITE?t.add(se,Re):s===v.WHITE_ON_BLACK&&t.add(se,ke)}}};e.\u0275fac=function(s){return new(s||e)(a(h),a(w))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ei=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(s){return new(s||e)(a(Ct))},e.\u0275mod=I({type:e}),e.\u0275inj=y({imports:[Oe]});let i=e;return i})();export{Pe as a,Be as b,Ue as c,h as d,C as e,Wt as f,Ht as g,Le as h,Fe as i,gi as j,Dt as k,vi as l,Ei as m}; +import{c as z,d as U}from"./chunk-DADCTN7Z.js";import{A as Ae,d as w}from"./chunk-XHR4TYVD.js";import{$ as pe,A as le,F,Ga as j,Gb as Q,H as S,Ia as O,K as fe,La as P,Na as ge,Oa as G,Sa as ve,T as R,U as me,Ua as Ee,W as E,Y as _e,a as re,c as L,ca as u,da as y,f,fa as Z,g as ce,h as ae,ha as a,ia as m,m as de,mb as p,nd as X,oa as I,pa as k,pd as Ie,q as N,qd as Y,r as ue,rd as B,tb as A,u as he,wa as x,wb as ye,xa as be,yb as $,zb as q}from"./chunk-6U7QZ4SV.js";import{a as V}from"./chunk-MGAX33HK.js";function Pe(i){i||(x(Pe),i=m(O));let e=new L(n=>i.onDestroy(n.next.bind(n)));return n=>n.pipe(E(e))}function Be(i,e){!e?.injector&&x(Be);let n=e?.injector??m(j),t=new ae(1),s=B(()=>{let o;try{o=i()}catch(r){Y(()=>t.error(r));return}Y(()=>t.next(o))},{injector:n,manualCleanup:!0});return n.get(O).onDestroy(()=>{s.destroy(),t.complete()}),t.asObservable()}function Ue(i,e){let n=!e?.manualCleanup;n&&!e?.injector&&x(Ue);let t=n?e?.injector?.get(O)??m(O):null,s;e?.requireSync?s=q({kind:0}):s=q({kind:1,value:e?.initialValue});let o=i.subscribe({next:r=>s.set({kind:1,value:r}),error:r=>{if(e?.rejectErrors)throw r;s.set({kind:2,error:r})}});return t?.onDestroy(o.unsubscribe.bind(o)),Ie(()=>{let r=s();switch(r.kind){case 1:return r.value;case 2:throw r.error;case 0:throw new pe(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var ee;try{ee=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ee=!1}var h=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Ae(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||ee)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(s){return new(s||e)(a(ve))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var D;function Ke(){if(D==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>D=!0}))}finally{D=D||!1}return D}function ie(i){return Ke()?i:!!i.capture}var C=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(C||{}),K,b;function Wt(){if(b==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return b=!1,b;if("scrollBehavior"in document.documentElement.style)b=!0;else{let i=Element.prototype.scrollTo;i?b=!/\{\s*\[native code\]\s*\}/.test(i.toString()):b=!1}}return b}function Ht(){if(typeof document!="object"||!document)return C.NORMAL;if(K==null){let i=document.createElement("div"),e=i.style;i.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let n=document.createElement("div"),t=n.style;t.width="2px",t.height="1px",i.appendChild(n),document.body.appendChild(i),K=C.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,K=i.scrollLeft===0?C.NEGATED:C.INVERTED),i.remove()}return K}var J;function We(){if(J==null){let i=typeof document<"u"?document.head:null;J=!!(i&&(i.createShadowRoot||i.attachShadow))}return J}function we(i){if(We()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Te(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let e=i.shadowRoot.activeElement;if(e===i)break;i=e}return i}function T(i){return i.composedPath?i.composedPath()[0]:i.target}function Ne(i,...e){return e.length?e.some(n=>i[n]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var He=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Oe=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=I({type:e}),e.\u0275inj=y({providers:[He]});let i=e;return i})();var De=new Set,g,Ve=(()=>{let e=class e{constructor(t,s){this._platform=t,this._nonce=s,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ge}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Ze(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(s){return new(s||e)(a(h),a(Ee,8))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ze(i,e){if(!De.has(i))try{g||(g=document.createElement("style"),e&&g.setAttribute("nonce",e),g.setAttribute("type","text/css"),document.head.appendChild(g)),g.sheet&&(g.sheet.insertRule(`@media ${i} {body{ }}`,0),De.add(i))}catch(n){console.error(n)}}function Ge(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Le=(()=>{let e=class e{constructor(t,s){this._mediaMatcher=t,this._zone=s,this._queries=new Map,this._destroySubject=new f}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Ce(z(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Ce(z(t)).map(c=>this._registerQuery(c).observable),r=ue(o);return r=he(r.pipe(S(1)),r.pipe(R(1),F(0))),r.pipe(N(c=>{let d={matches:!1,breakpoints:{}};return c.forEach(({matches:l,query:_})=>{d.matches=d.matches||l,d.breakpoints[_]=l}),d}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let s=this._mediaMatcher.matchMedia(t),r={observable:new L(c=>{let d=l=>this._zone.run(()=>c.next(l));return s.addListener(d),()=>{s.removeListener(d)}}).pipe(me(s),N(({matches:c})=>({query:t,matches:c})),E(this._destroySubject)),mql:s};return this._queries.set(t,r),r}};e.\u0275fac=function(s){return new(s||e)(a(Ve),a(A))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ce(i){return i.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var ne=class{constructor(e,n){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new f,this._typeaheadSubscription=re.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new f,this.change=new f,e instanceof G?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):$(e)&&(this._effectRef=B(()=>this._itemsChanged(e()),{injector:n}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(_e(n=>this._pressedLetters.push(n)),F(e),le(()=>this._pressedLetters.length>0),N(()=>this._pressedLetters.join(""))).subscribe(n=>{let t=this._getItemsArray();for(let s=1;s!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&s){this.setNextItemActive();break}else return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&s){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&s){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&s){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&s){let o=this._activeItemIndex+this._pageUpAndDown.delta,r=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let n=this._getItemsArray(),t=typeof e=="number"?e:n.indexOf(e),s=n[t];this._activeItem=s??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let n=this._getItemsArray();for(let t=1;t<=n.length;t++){let s=(this._activeItemIndex+e*t+n.length)%n.length,o=n[s];if(!this._skipPredicateFn(o)){this.setActiveItem(s);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,n){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=n,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return $(this._items)?this._items():this._items instanceof G?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let n=e.indexOf(this._activeItem);n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n)}}};var Fe=class extends ne{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var ht=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return ft(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let s=lt(yt(t));if(s&&(Se(s)===-1||!this.isVisible(s)))return!1;let o=t.nodeName.toLowerCase(),r=Se(t);return t.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!vt(t)?!1:o==="audio"?t.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,s){return Et(t)&&!this.isDisabled(t)&&(s?.ignoreVisibility||this.isVisible(t))}};e.\u0275fac=function(s){return new(s||e)(a(h))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function lt(i){try{return i.frameElement}catch{return null}}function ft(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function mt(i){let e=i.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function _t(i){return bt(i)&&i.type=="hidden"}function pt(i){return gt(i)&&i.hasAttribute("href")}function bt(i){return i.nodeName.toLowerCase()=="input"}function gt(i){return i.nodeName.toLowerCase()=="a"}function xe(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let e=i.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Se(i){if(!xe(i))return null;let e=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function vt(i){let e=i.nodeName.toLowerCase(),n=e==="input"&&i.type;return n==="text"||n==="password"||e==="select"||e==="textarea"}function Et(i){return _t(i)?!1:mt(i)||pt(i)||i.hasAttribute("contenteditable")||xe(i)}function yt(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var oe=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,n,t,s,o=!1,r){this._element=e,this._checker=n,this._ngZone=t,this._document=s,this._injector=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,n=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let n=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){let t=this._getFirstTabbableElement(n);return t?.focus(e),!!t}return n.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let n=this._getRegionBoundary("start");return n&&n.focus(e),!!n}focusLastTabbableElement(e){let n=this._getRegionBoundary("end");return n&&n.focus(e),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let t=0;t=0;t--){let s=n[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[t]):null;if(s)return s}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,n){e?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?this._injector?ye(e,{injector:this._injector}):e():this._ngZone.onStable.pipe(S(1)).subscribe(e)}},It=(()=>{let e=class e{constructor(t,s,o){this._checker=t,this._ngZone=s,this._injector=m(j),this._document=o}create(t,s=!1){return new oe(t,this._checker,this._ngZone,this._document,s,this._injector)}};e.\u0275fac=function(s){return new(s||e)(a(ht),a(A),a(w))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),gi=(()=>{let e=class e{get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}constructor(t,s,o){this._elementRef=t,this._focusTrapFactory=s,this._previouslyFocusedElement=null,m(h).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let s=t.autoCapture;s&&!s.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Te(),this.focusTrap?.focusInitialElementWhenReady()}};e.\u0275fac=function(s){return new(s||e)(p(P),p(It),p(w))},e.\u0275dir=k({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",X],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",X]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Q,be]});let i=e;return i})();function At(i){return i.buttons===0||i.detail===0}function wt(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Tt=new Z("cdk-input-modality-detector-options"),Mt={ignoreKeys:[18,17,224,91,16]},je=650,M=ie({passive:!0,capture:!0}),Nt=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,s,o,r){this._platform=t,this._mostRecentTarget=null,this._modality=new ce(null),this._lastTouchMs=0,this._onKeydown=c=>{this._options?.ignoreKeys?.some(d=>d===c.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=T(c))},this._onMousedown=c=>{Date.now()-this._lastTouchMs{if(wt(c)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=T(c)},this._options=V(V({},Mt),r),this.modalityDetected=this._modality.pipe(R(1)),this.modalityChanged=this.modalityDetected.pipe(fe()),t.isBrowser&&s.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,M),o.addEventListener("mousedown",this._onMousedown,M),o.addEventListener("touchstart",this._onTouchstart,M)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,M),document.removeEventListener("mousedown",this._onMousedown,M),document.removeEventListener("touchstart",this._onTouchstart,M))}};e.\u0275fac=function(s){return new(s||e)(a(h),a(A),a(w),a(Tt,8))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var H=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(H||{}),Ot=new Z("cdk-focus-monitor-default-options"),W=ie({passive:!0,capture:!0}),Dt=(()=>{let e=class e{constructor(t,s,o,r,c){this._ngZone=t,this._platform=s,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new f,this._rootNodeFocusAndBlurListener=d=>{let l=T(d);for(let _=l;_;_=_.parentElement)d.type==="focus"?this._onFocus(d,_):this._onBlur(d,_)},this._document=r,this._detectionMode=c?.detectionMode||H.IMMEDIATE}monitor(t,s=!1){let o=U(t);if(!this._platform.isBrowser||o.nodeType!==1)return de();let r=we(o)||this._getDocument(),c=this._elementInfo.get(o);if(c)return s&&(c.checkChildren=!0),c.subject;let d={checkChildren:s,subject:new f,rootNode:r};return this._elementInfo.set(o,d),this._registerGlobalListeners(d),d.subject}stopMonitoring(t){let s=U(t),o=this._elementInfo.get(s);o&&(o.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(o))}focusVia(t,s,o){let r=U(t),c=this._getDocument().activeElement;r===c?this._getClosestElementsInfo(r).forEach(([d,l])=>this._originChanged(d,s,l)):(this._setOrigin(s),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===H.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,s){t.classList.toggle("cdk-focused",!!s),t.classList.toggle("cdk-touch-focused",s==="touch"),t.classList.toggle("cdk-keyboard-focused",s==="keyboard"),t.classList.toggle("cdk-mouse-focused",s==="mouse"),t.classList.toggle("cdk-program-focused",s==="program")}_setOrigin(t,s=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&s,this._detectionMode===H.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?je:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,s){let o=this._elementInfo.get(s),r=T(t);!o||!o.checkChildren&&s!==r||this._originChanged(s,this._getFocusOrigin(r),o)}_onBlur(t,s){let o=this._elementInfo.get(s);!o||o.checkChildren&&t.relatedTarget instanceof Node&&s.contains(t.relatedTarget)||(this._setClasses(s),this._emitOrigin(o,null))}_emitOrigin(t,s){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(s))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let s=t.rootNode,o=this._rootNodeFocusListenerCount.get(s)||0;o||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,W),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,W)}),this._rootNodeFocusListenerCount.set(s,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(E(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(t){let s=t.rootNode;if(this._rootNodeFocusListenerCount.has(s)){let o=this._rootNodeFocusListenerCount.get(s);o>1?this._rootNodeFocusListenerCount.set(s,o-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,W),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,W),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,s,o){this._setClasses(t,s),this._emitOrigin(o,s),this._lastFocusOrigin=s}_getClosestElementsInfo(t){let s=[];return this._elementInfo.forEach((o,r)=>{(r===t||o.checkChildren&&r.contains(t))&&s.push([r,o])}),s}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:s,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!s||s===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let r=t.labels;if(r){for(let c=0;c{let e=class e{constructor(t,s){this._elementRef=t,this._focusMonitor=s,this._focusOrigin=null,this.cdkFocusChange=new ge}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(s=>{this._focusOrigin=s,this.cdkFocusChange.emit(s)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(s){return new(s||e)(p(P),p(Dt))},e.\u0275dir=k({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let i=e;return i})(),v=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(v||{}),Re="cdk-high-contrast-black-on-white",ke="cdk-high-contrast-white-on-black",se="cdk-high-contrast-active",Ct=(()=>{let e=class e{constructor(t,s){this._platform=t,this._document=s,this._breakpointSubscription=m(Le).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return v.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let s=this._document.defaultView||window,o=s&&s.getComputedStyle?s.getComputedStyle(t):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return v.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return v.BLACK_ON_WHITE}return v.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(se,Re,ke),this._hasCheckedHighContrastMode=!0;let s=this.getHighContrastMode();s===v.BLACK_ON_WHITE?t.add(se,Re):s===v.WHITE_ON_BLACK&&t.add(se,ke)}}};e.\u0275fac=function(s){return new(s||e)(a(h),a(w))},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ei=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(s){return new(s||e)(a(Ct))},e.\u0275mod=I({type:e}),e.\u0275inj=y({imports:[Oe]});let i=e;return i})();export{Pe as a,Be as b,Ue as c,h as d,C as e,Wt as f,Ht as g,Le as h,Fe as i,gi as j,Dt as k,vi as l,Ei as m}; diff --git a/angular/docs/chunk-AB5TQEUM.js b/angular/docs/chunk-M567KFRF.js similarity index 95% rename from angular/docs/chunk-AB5TQEUM.js rename to angular/docs/chunk-M567KFRF.js index 0efa9bb55bf..f421c5d3b25 100644 --- a/angular/docs/chunk-AB5TQEUM.js +++ b/angular/docs/chunk-M567KFRF.js @@ -1,4 +1,4 @@ -import{y as d}from"./chunk-4EHRG2WJ.js";import{a as re}from"./chunk-YDIXRUSA.js";import"./chunk-C5JPXVV5.js";import{A as te,B as H,e as z,f as G,g as Q,i as X,j as Y,l as Z,m as V,q as $,r as ee}from"./chunk-JZLZFTWK.js";import{c as U}from"./chunk-R2HXWLDR.js";import{h as ne}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as q}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{c as u,e as f}from"./chunk-EBCID5MY.js";import{g as me}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as oe}from"./chunk-SWYVARVN.js";import{r as ie}from"./chunk-JJFVMVK7.js";import{c as J,d as K}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{v as N,x as B}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Aa as w,Ac as F,Ba as E,Bc as l,Cc as j,Dc as x,Jb as C,Kc as M,Lc as b,Mc as R,Oc as s,Pc as g,Qb as k,Wc as T,Xc as I,Yc as A,_c as v,ac as i,bc as m,fc as y,lb as c,mb as L,mc as P,na as p,oc as W}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var ce=(()=>{let e=class e{constructor(){this.time=new Date}ngOnInit(){this.time.setMilliseconds(0),this.time.setSeconds(0),this.time.setMinutes(15),this.time.setHours(13)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=p({type:e,selectors:[["docs-time-picker14"]],standalone:!0,features:[s],decls:11,vars:8,consts:[["form","ngForm"],["lg","4"],["name","timePicker",3,"ngModelChange","ngModel"]],template:function(o,a){if(o&1){let S=y();n(0,"c-row")(1,"c-col",1)(2,"form",null,0)(4,"c-time-picker",2),R("ngModelChange",function(_){return w(S),b(a.time,_)||(a.time=_),E(_)}),i()()()(),m(5,"br"),l(6),T(7,"json"),m(8,"br"),l(9),T(10,"date")}if(o&2){let S=F(3);c(4),M("ngModel",a.time),c(2),x(` +import{y as d}from"./chunk-S3TRUWXX.js";import{a as re}from"./chunk-IV3JRMWS.js";import"./chunk-ZGGOM75Q.js";import{A as te,B as H,e as z,f as G,g as Q,i as X,j as Y,l as Z,m as V,q as $,r as ee}from"./chunk-WFHPAILT.js";import{c as U}from"./chunk-UYIAOCXU.js";import{h as ne}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as q}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{c as u,e as f}from"./chunk-PZ32EFID.js";import{g as me}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as oe}from"./chunk-MH6VOBXJ.js";import{r as ie}from"./chunk-Q5WIR6QR.js";import{c as J,d as K}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{v as N,x as B}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Aa as w,Ac as F,Ba as E,Bc as l,Cc as j,Dc as x,Jb as C,Kc as M,Lc as b,Mc as R,Oc as s,Pc as g,Qb as k,Wc as T,Xc as I,Yc as A,_c as v,ac as i,bc as m,fc as y,lb as c,mb as L,mc as P,na as p,oc as W}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var ce=(()=>{let e=class e{constructor(){this.time=new Date}ngOnInit(){this.time.setMilliseconds(0),this.time.setSeconds(0),this.time.setMinutes(15),this.time.setHours(13)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=p({type:e,selectors:[["docs-time-picker14"]],standalone:!0,features:[s],decls:11,vars:8,consts:[["form","ngForm"],["lg","4"],["name","timePicker",3,"ngModelChange","ngModel"]],template:function(o,a){if(o&1){let S=y();n(0,"c-row")(1,"c-col",1)(2,"form",null,0)(4,"c-time-picker",2),R("ngModelChange",function(_){return w(S),b(a.time,_)||(a.time=_),E(_)}),i()()()(),m(5,"br"),l(6),T(7,"json"),m(8,"br"),l(9),T(10,"date")}if(o&2){let S=F(3);c(4),M("ngModel",a.time),c(2),x(` Form value: `,I(7,3,S.value),` `),c(3),x(` timePicker value: `,A(10,5,S.value.timePicker,"H:mm"),` diff --git a/angular/docs/chunk-B2RD3PSG.js b/angular/docs/chunk-M5SF5JWP.js similarity index 56% rename from angular/docs/chunk-B2RD3PSG.js rename to angular/docs/chunk-M5SF5JWP.js index ab767d5fbbd..d92c1e78a99 100644 --- a/angular/docs/chunk-B2RD3PSG.js +++ b/angular/docs/chunk-M5SF5JWP.js @@ -1 +1 @@ -import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Templates"},children:[{path:"",redirectTo:"admin-dashboard",pathMatch:"full"},{path:"admin-dashboard",loadComponent:()=>import("./chunk-MBLK4XH6.js").then(t=>t.AdminDashboardComponent),data:{label:"Admin & Dashboard"},title:"Admin & Dashboard"},{path:"content",loadComponent:()=>import("./chunk-IMFIUNMP.js").then(t=>t.ContentsComponent),data:{label:"Content"},title:"Content"},{path:"customize",loadComponent:()=>import("./chunk-7HIIKNCS.js").then(t=>t.CustomizeComponent),data:{label:"Customize"},title:"Customize"},{path:"download",loadComponent:()=>import("./chunk-VFZJZ6TQ.js").then(t=>t.DownloadComponent),data:{label:"Download"},title:"Download"},{path:"installation",loadComponent:()=>import("./chunk-FD6TS4SY.js").then(t=>t.InstallationComponent),data:{label:"Installation"},title:"Installation"}]}];export{o as routes}; +import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Templates"},children:[{path:"",redirectTo:"admin-dashboard",pathMatch:"full"},{path:"admin-dashboard",loadComponent:()=>import("./chunk-55XIW3KQ.js").then(t=>t.AdminDashboardComponent),data:{label:"Admin & Dashboard"},title:"Admin & Dashboard"},{path:"content",loadComponent:()=>import("./chunk-XEGE2RHV.js").then(t=>t.ContentsComponent),data:{label:"Content"},title:"Content"},{path:"customize",loadComponent:()=>import("./chunk-FQRJROYL.js").then(t=>t.CustomizeComponent),data:{label:"Customize"},title:"Customize"},{path:"download",loadComponent:()=>import("./chunk-IOGNNEEH.js").then(t=>t.DownloadComponent),data:{label:"Download"},title:"Download"},{path:"installation",loadComponent:()=>import("./chunk-WNBGUXF6.js").then(t=>t.InstallationComponent),data:{label:"Installation"},title:"Installation"}]}];export{o as routes}; diff --git a/angular/docs/chunk-B6ZWLJIL.js b/angular/docs/chunk-MD5QD7EN.js similarity index 96% rename from angular/docs/chunk-B6ZWLJIL.js rename to angular/docs/chunk-MD5QD7EN.js index 8aac1fc897a..15ac9e56111 100644 --- a/angular/docs/chunk-B6ZWLJIL.js +++ b/angular/docs/chunk-MD5QD7EN.js @@ -1 +1 @@ -import{Gb as p,Oc as c,Pb as f,Rb as v,Ub as a,na as o,nd as d,pa as u,pc as r,qc as l}from"./chunk-O6V6MKDU.js";var h=(()=>{let t=class t{constructor(){this.cNavLink=!0,this.disabled=!1}get ariaCurrent(){return this.active?"page":null}get isDisabled(){return this.disabled||null}get attrDisabled(){return this.disabled?"":null}get getTabindex(){return this.disabled?"-1":null}get getCursorStyle(){return this.disabled?null:"pointer"}get hostClasses(){return{"nav-link":this.cNavLink,disabled:this.disabled,active:this.active}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=u({type:t,selectors:[["","cNavLink",""]],hostVars:8,hostBindings:function(e,i){e&2&&(f("aria-current",i.ariaCurrent)("aria-disabled",i.isDisabled)("disabled",i.attrDisabled)("tabindex",i.getTabindex),a(i.hostClasses),v("cursor",i.getCursorStyle))},inputs:{cNavLink:[2,"cNavLink","cNavLink",d],active:"active",disabled:[2,"disabled","disabled",d]},standalone:!0,features:[p]});let n=t;return n})();var g=["*"],b=(()=>{let t=class t{get hostClasses(){return{"nav-item":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["c-nav-item"]],hostVars:2,hostBindings:function(e,i){e&2&&a(i.hostClasses)},standalone:!0,features:[c],ngContentSelectors:g,decls:1,vars:0,template:function(e,i){e&1&&(r(),l(0))},styles:["[_nghost-%COMP%]{display:list-item;text-align:match-parent;text-align:-webkit-match-parent}"]});let n=t;return n})();var C=["*"],y=(()=>{let t=class t{get hostClasses(){return{nav:!0,[`nav-${this.layout}`]:!!this.layout,[`nav-${this.variant}`]:!!this.variant}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["c-nav"]],hostVars:2,hostBindings:function(e,i){e&2&&a(i.hostClasses)},inputs:{layout:"layout",variant:"variant"},standalone:!0,features:[c],ngContentSelectors:C,decls:1,vars:0,template:function(e,i){e&1&&(r(),l(0))},styles:["[_nghost-%COMP%] .nav-link[_ngcontent-%COMP%]:focus{outline:0}.nav-underline-border[_nghost-%COMP%]{column-gap:0}"]});let n=t;return n})();export{h as a,b,y as c}; +import{Gb as p,Oc as c,Pb as f,Rb as v,Ub as a,na as o,nd as d,pa as u,pc as r,qc as l}from"./chunk-6U7QZ4SV.js";var h=(()=>{let t=class t{constructor(){this.cNavLink=!0,this.disabled=!1}get ariaCurrent(){return this.active?"page":null}get isDisabled(){return this.disabled||null}get attrDisabled(){return this.disabled?"":null}get getTabindex(){return this.disabled?"-1":null}get getCursorStyle(){return this.disabled?null:"pointer"}get hostClasses(){return{"nav-link":this.cNavLink,disabled:this.disabled,active:this.active}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=u({type:t,selectors:[["","cNavLink",""]],hostVars:8,hostBindings:function(e,i){e&2&&(f("aria-current",i.ariaCurrent)("aria-disabled",i.isDisabled)("disabled",i.attrDisabled)("tabindex",i.getTabindex),a(i.hostClasses),v("cursor",i.getCursorStyle))},inputs:{cNavLink:[2,"cNavLink","cNavLink",d],active:"active",disabled:[2,"disabled","disabled",d]},standalone:!0,features:[p]});let n=t;return n})();var g=["*"],b=(()=>{let t=class t{get hostClasses(){return{"nav-item":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["c-nav-item"]],hostVars:2,hostBindings:function(e,i){e&2&&a(i.hostClasses)},standalone:!0,features:[c],ngContentSelectors:g,decls:1,vars:0,template:function(e,i){e&1&&(r(),l(0))},styles:["[_nghost-%COMP%]{display:list-item;text-align:match-parent;text-align:-webkit-match-parent}"]});let n=t;return n})();var C=["*"],y=(()=>{let t=class t{get hostClasses(){return{nav:!0,[`nav-${this.layout}`]:!!this.layout,[`nav-${this.variant}`]:!!this.variant}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["c-nav"]],hostVars:2,hostBindings:function(e,i){e&2&&a(i.hostClasses)},inputs:{layout:"layout",variant:"variant"},standalone:!0,features:[c],ngContentSelectors:C,decls:1,vars:0,template:function(e,i){e&1&&(r(),l(0))},styles:["[_nghost-%COMP%] .nav-link[_ngcontent-%COMP%]:focus{outline:0}.nav-underline-border[_nghost-%COMP%]{column-gap:0}"]});let n=t;return n})();export{h as a,b,y as c}; diff --git a/angular/docs/chunk-OSJFZPWR.js b/angular/docs/chunk-MDXBAPWT.js similarity index 93% rename from angular/docs/chunk-OSJFZPWR.js rename to angular/docs/chunk-MDXBAPWT.js index 964a3e51685..c7ef8a584e3 100644 --- a/angular/docs/chunk-OSJFZPWR.js +++ b/angular/docs/chunk-MDXBAPWT.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as h}from"./chunk-SWYVARVN.js";import{r as g}from"./chunk-JJFVMVK7.js";import{c as m,d as b}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as a,Bc as n,Cc as d,Oc as p,ac as i,bc as f,lb as r,mb as l,na as c}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var $=(()=>{let e=class e{constructor(o,t){this.metaService=o,this.titleService=t,this.title="Options",this.description="Quickly customize CoreUI for Angular with built-in variables to easily toggle global CSS preferences for controlling style and behavior."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(t){return new(t||e)(l(m),l(b))},e.\u0275cmp=c({type:e,selectors:[["docs-customize-options"]],standalone:!0,features:[p],decls:10,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"table-responsive","api-table"]],template:function(t,u){t&1&&(a(0,"h1",0),n(1),i(),a(2,"p",1),n(3),i(),f(4,"docs-ads-carbon-loader"),a(5,"markdown"),n(6,` +import"./chunk-DPZ7BZKP.js";import{a as h}from"./chunk-MH6VOBXJ.js";import{r as g}from"./chunk-Q5WIR6QR.js";import{c as m,d as b}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as a,Bc as n,Cc as d,Oc as p,ac as i,bc as f,lb as r,mb as l,na as c}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var $=(()=>{let e=class e{constructor(o,t){this.metaService=o,this.titleService=t,this.title="Options",this.description="Quickly customize CoreUI for Angular with built-in variables to easily toggle global CSS preferences for controlling style and behavior."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(t){return new(t||e)(l(m),l(b))},e.\u0275cmp=c({type:e,selectors:[["docs-customize-options"]],standalone:!0,features:[p],decls:10,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"table-responsive","api-table"]],template:function(t,u){t&1&&(a(0,"h1",0),n(1),i(),a(2,"p",1),n(3),i(),f(4,"docs-ads-carbon-loader"),a(5,"markdown"),n(6,` ## Global options diff --git a/angular/docs/chunk-SWYVARVN.js b/angular/docs/chunk-MH6VOBXJ.js similarity index 81% rename from angular/docs/chunk-SWYVARVN.js rename to angular/docs/chunk-MH6VOBXJ.js index 6d95c0b428c..fb05d79cbe6 100644 --- a/angular/docs/chunk-SWYVARVN.js +++ b/angular/docs/chunk-MH6VOBXJ.js @@ -1 +1 @@ -import{$b as o,Bc as p,Jb as i,Lb as s,Mb as d,Oc as c,ac as m,bc as r,na as a}from"./chunk-O6V6MKDU.js";var f=()=>[import("./chunk-CWGLLGP2.js").then(e=>e.AdsCarbonComponent)];function u(e,n){e&1&&r(0,"docs-ads-carbon")}function C(e,n){e&1&&(o(0,"div",0),r(1,"i",1),o(2,"span",2),p(3,"Loading..."),m()())}var b=(()=>{let n=class n{};n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=a({type:n,selectors:[["docs-ads-carbon-loader"]],standalone:!0,features:[c],decls:4,vars:0,consts:[[2,"min-height","130px","margin","2rem 0"],[1,"spinner-grow","spinner-grow-sm"],[1,"m-1"]],template:function(t,g){t&1&&(i(0,u,1,0)(1,C,4,0),s(2,0,f,null,1),d())},encapsulation:2});let e=n;return e})();export{b as a}; +import{$b as o,Bc as p,Jb as i,Lb as s,Mb as d,Oc as c,ac as m,bc as r,na as a}from"./chunk-6U7QZ4SV.js";var f=()=>[import("./chunk-GK4OZ4RE.js").then(e=>e.AdsCarbonComponent)];function u(e,n){e&1&&r(0,"docs-ads-carbon")}function C(e,n){e&1&&(o(0,"div",0),r(1,"i",1),o(2,"span",2),p(3,"Loading..."),m()())}var b=(()=>{let n=class n{};n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=a({type:n,selectors:[["docs-ads-carbon-loader"]],standalone:!0,features:[c],decls:4,vars:0,consts:[[2,"min-height","130px","margin","2rem 0"],[1,"spinner-grow","spinner-grow-sm"],[1,"m-1"]],template:function(t,g){t&1&&(i(0,u,1,0)(1,C,4,0),s(2,0,f,null,1),d())},encapsulation:2});let e=n;return e})();export{b as a}; diff --git a/angular/docs/chunk-CLW57OZ7.js b/angular/docs/chunk-MRJZFMZE.js similarity index 95% rename from angular/docs/chunk-CLW57OZ7.js rename to angular/docs/chunk-MRJZFMZE.js index fc30673e32a..88a1f088573 100644 --- a/angular/docs/chunk-CLW57OZ7.js +++ b/angular/docs/chunk-MRJZFMZE.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as b}from"./chunk-SWYVARVN.js";import{r as g}from"./chunk-JJFVMVK7.js";import{c as v,d as h}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Bc as e,Cc as d,Oc as m,ac as t,bc as c,lb as u,mb as s,na as l}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var T=(()=>{let i=class i{constructor(a,r){this.metaService=a,this.titleService=r,this.title="CoreUI 5 Angular Migration",this.description="Track and review changes to the CoreUI Angular components to help you migrate from v4 to v5."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(r){return new(r||i)(s(v),s(h))},i.\u0275cmp=l({type:i,selectors:[["docs-migration-v4-v5"]],standalone:!0,features:[m],decls:17,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"api-table"]],template:function(r,p){r&1&&(n(0,"h1",0),e(1),t(),n(2,"p",1),e(3),t(),c(4,"docs-ads-carbon-loader"),n(5,"markdown"),e(6,` +import"./chunk-DPZ7BZKP.js";import{a as b}from"./chunk-MH6VOBXJ.js";import{r as g}from"./chunk-Q5WIR6QR.js";import{c as v,d as h}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Bc as e,Cc as d,Oc as m,ac as t,bc as c,lb as u,mb as s,na as l}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var T=(()=>{let i=class i{constructor(a,r){this.metaService=a,this.titleService=r,this.title="CoreUI 5 Angular Migration",this.description="Track and review changes to the CoreUI Angular components to help you migrate from v4 to v5."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(r){return new(r||i)(s(v),s(h))},i.\u0275cmp=l({type:i,selectors:[["docs-migration-v4-v5"]],standalone:!0,features:[m],decls:17,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"api-table"]],template:function(r,p){r&1&&(n(0,"h1",0),e(1),t(),n(2,"p",1),e(3),t(),c(4,"docs-ads-carbon-loader"),n(5,"markdown"),e(6,` CoreUI for Angular is the Angular version of CoreUI components library, so before read the following guide, please check also [CoreUI 4 to 5 migration guide](https://coreui.io/bootstrap/docs/5.0/migration/v5/). `),t(),n(7,"markdown"),e(8,` diff --git a/angular/docs/chunk-FLQSRUE5.js b/angular/docs/chunk-MTFJ5AR2.js similarity index 89% rename from angular/docs/chunk-FLQSRUE5.js rename to angular/docs/chunk-MTFJ5AR2.js index 17c68d8013a..6b11d5342c0 100644 --- a/angular/docs/chunk-FLQSRUE5.js +++ b/angular/docs/chunk-MTFJ5AR2.js @@ -1,4 +1,4 @@ -import{b as d}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as w}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as B}from"./chunk-SWYVARVN.js";import{r as D}from"./chunk-JJFVMVK7.js";import{c as y,d as S}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as o,Bc as l,Cc as b,Dc as C,Jb as g,Oc as c,Pc as f,Qb as u,_c as x,ac as i,bc as s,lb as m,mb as h,na as a}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var M=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button04"]],standalone:!0,features:[c],decls:3,vars:0,consts:[["cButtonClose","","size","lg"],["cButtonClose",""],["cButtonClose","","size","sm"]],template:function(t,p){t&1&&s(0,"button",0)(1,"button",1)(2,"button",2)},dependencies:[d]});let n=e;return n})();var E=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button03"]],standalone:!0,features:[c],decls:1,vars:0,consts:[["cButtonClose","","white",""]],template:function(t,p){t&1&&s(0,"button",0)},dependencies:[d]});let n=e;return n})();var F=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button02"]],standalone:!0,features:[c],decls:1,vars:0,consts:[["cButtonClose","","disabled",""]],template:function(t,p){t&1&&s(0,"button",0)},dependencies:[d]});let n=e;return n})();var T=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button01"]],standalone:!0,features:[c],decls:1,vars:0,consts:[["cButtonClose",""]],template:function(t,p){t&1&&s(0,"button",0)},dependencies:[d]});let n=e;return n})();var k=`\`\`\`typescript +import{b as d}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as w}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as B}from"./chunk-MH6VOBXJ.js";import{r as D}from"./chunk-Q5WIR6QR.js";import{c as y,d as S}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as o,Bc as l,Cc as b,Dc as C,Jb as g,Oc as c,Pc as f,Qb as u,_c as x,ac as i,bc as s,lb as m,mb as h,na as a}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var M=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button04"]],standalone:!0,features:[c],decls:3,vars:0,consts:[["cButtonClose","","size","lg"],["cButtonClose",""],["cButtonClose","","size","sm"]],template:function(t,p){t&1&&s(0,"button",0)(1,"button",1)(2,"button",2)},dependencies:[d]});let n=e;return n})();var E=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button03"]],standalone:!0,features:[c],decls:1,vars:0,consts:[["cButtonClose","","white",""]],template:function(t,p){t&1&&s(0,"button",0)},dependencies:[d]});let n=e;return n})();var F=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button02"]],standalone:!0,features:[c],decls:1,vars:0,consts:[["cButtonClose","","disabled",""]],template:function(t,p){t&1&&s(0,"button",0)},dependencies:[d]});let n=e;return n})();var T=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a({type:e,selectors:[["docs-close-button01"]],standalone:!0,features:[c],decls:1,vars:0,consts:[["cButtonClose",""]],template:function(t,p){t&1&&s(0,"button",0)},dependencies:[d]});let n=e;return n})();var k=`\`\`\`typescript import { ButtonModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-2OMOXFT4.js b/angular/docs/chunk-N4ROVJSW.js similarity index 79% rename from angular/docs/chunk-2OMOXFT4.js rename to angular/docs/chunk-N4ROVJSW.js index 482e97704b7..61f4b5c6dcc 100644 --- a/angular/docs/chunk-2OMOXFT4.js +++ b/angular/docs/chunk-N4ROVJSW.js @@ -1,4 +1,4 @@ -import{a as I}from"./chunk-NEQOHQJO.js";import"./chunk-TUX4GOME.js";import{g as y}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as S}from"./chunk-SWYVARVN.js";import{r as v}from"./chunk-JJFVMVK7.js";import{c as x,d as C}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as n,Cc as m,Dc as f,Oc as g,Pc as h,Qb as u,ac as t,bc as p,lb as a,mb as c,na as d}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var M=`\`\`\`typescript +import{a as I}from"./chunk-XU4RTE5H.js";import"./chunk-2NTR63DE.js";import{g as y}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as S}from"./chunk-MH6VOBXJ.js";import{r as v}from"./chunk-Q5WIR6QR.js";import{c as x,d as C}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as n,Cc as m,Dc as f,Oc as g,Pc as h,Qb as u,ac as t,bc as p,lb as a,mb as c,na as d}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var M=`\`\`\`typescript import { CalloutModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-FGE5YXHA.js b/angular/docs/chunk-NPO6U5HQ.js similarity index 90% rename from angular/docs/chunk-FGE5YXHA.js rename to angular/docs/chunk-NPO6U5HQ.js index 9b84a283b42..985126b4431 100644 --- a/angular/docs/chunk-FGE5YXHA.js +++ b/angular/docs/chunk-NPO6U5HQ.js @@ -1,4 +1,4 @@ -import{e as g,i as f}from"./chunk-C5JPXVV5.js";import{A as F,B as w,c as b,e as S,l as x,o as M}from"./chunk-JZLZFTWK.js";import{g as k}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as I}from"./chunk-SWYVARVN.js";import{r as A}from"./chunk-JJFVMVK7.js";import{c as T,d as L}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as i,Cc as d,Kc as h,Lc as y,Mc as C,Oc as p,Pc as D,Qb as v,ac as o,bc as u,lb as l,mb as E,na as c}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var N=(()=>{let e=class e{constructor(){this.value=3}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range04"]],standalone:!0,features:[p],decls:5,vars:2,consts:[["cLabel","","for","customRange3"],["cFormControl","","id","customRange3","max","5","min","0","step","0.5","type","range",3,"ngModelChange","ngModel"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Example range - "),t(2,"strong"),i(3),o()(),t(4,"input",1),C("ngModelChange",function(s){return y(a.value,s)||(a.value=s),s}),o()),n&2&&(l(3),d(a.value),l(),h("ngModel",a.value))},dependencies:[g,f,w,b,M,S,F,x],encapsulation:2});let r=e;return r})();var V=(()=>{let e=class e{constructor(){this.min=0,this.max=6,this.value=4}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range03"]],standalone:!0,features:[p],decls:5,vars:4,consts:[["cLabel","","for","customRange2"],["cFormControl","","id","customRange2","type","range",3,"ngModelChange","ngModel","max","min"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Example range - "),t(2,"strong"),i(3),o()(),t(4,"input",1),C("ngModelChange",function(s){return y(a.value,s)||(a.value=s),s}),o()),n&2&&(l(3),d(a.value),l(),h("ngModel",a.value),v("max",a.max)("min",a.min))},dependencies:[g,f,w,b,M,S,F,x],encapsulation:2});let r=e;return r})();var B=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range02"]],standalone:!0,features:[p],decls:3,vars:0,consts:[["cLabel","","for","disabledRange"],["cFormControl","","disabled","","id","disabledRange","type","range"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Disabled range"),o(),u(2,"input",1))},dependencies:[g,f],encapsulation:2});let r=e;return r})();var P=(()=>{let e=class e{constructor(){this.value=50}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range01"]],standalone:!0,features:[p],decls:5,vars:2,consts:[["cLabel","","for","customRange1"],["cFormControl","","id","customRange1","type","range",3,"ngModelChange","ngModel"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Example range - "),t(2,"strong"),i(3),o()(),t(4,"input",1),C("ngModelChange",function(s){return y(a.value,s)||(a.value=s),s}),o()),n&2&&(l(3),d(a.value),l(),h("ngModel",a.value))},dependencies:[g,f,w,b,M,S,F,x],encapsulation:2});let r=e;return r})();var j=()=>["forms/range/examples/range01.component.html","forms/range/examples/range01.component.ts"],O=()=>["forms/range/examples/range02.component.html"],q=()=>["forms/range/examples/range03.component.html","forms/range/examples/range03.component.ts"],z=()=>["forms/range/examples/range04.component.html"],se=(()=>{let e=class e{constructor(m,n){this.metaService=m,this.titleService=n,this.title="Angular Range Component",this.description="Use our custom Angular Range inputs for consistent cross-browser styling and built-in customization."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(n){return new(n||e)(E(T),E(L))},e.\u0275cmp=c({type:e,selectors:[["docs-range-docs"]],standalone:!0,features:[p],decls:26,vars:10,consts:[["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"]],template:function(n,a){n&1&&(t(0,"h1",0),i(1),o(),t(2,"p",1),i(3),o(),u(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` +import{e as g,i as f}from"./chunk-ZGGOM75Q.js";import{A as F,B as w,c as b,e as S,l as x,o as M}from"./chunk-WFHPAILT.js";import{g as k}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as I}from"./chunk-MH6VOBXJ.js";import{r as A}from"./chunk-Q5WIR6QR.js";import{c as T,d as L}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as i,Cc as d,Kc as h,Lc as y,Mc as C,Oc as p,Pc as D,Qb as v,ac as o,bc as u,lb as l,mb as E,na as c}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var N=(()=>{let e=class e{constructor(){this.value=3}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range04"]],standalone:!0,features:[p],decls:5,vars:2,consts:[["cLabel","","for","customRange3"],["cFormControl","","id","customRange3","max","5","min","0","step","0.5","type","range",3,"ngModelChange","ngModel"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Example range - "),t(2,"strong"),i(3),o()(),t(4,"input",1),C("ngModelChange",function(s){return y(a.value,s)||(a.value=s),s}),o()),n&2&&(l(3),d(a.value),l(),h("ngModel",a.value))},dependencies:[g,f,w,b,M,S,F,x],encapsulation:2});let r=e;return r})();var V=(()=>{let e=class e{constructor(){this.min=0,this.max=6,this.value=4}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range03"]],standalone:!0,features:[p],decls:5,vars:4,consts:[["cLabel","","for","customRange2"],["cFormControl","","id","customRange2","type","range",3,"ngModelChange","ngModel","max","min"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Example range - "),t(2,"strong"),i(3),o()(),t(4,"input",1),C("ngModelChange",function(s){return y(a.value,s)||(a.value=s),s}),o()),n&2&&(l(3),d(a.value),l(),h("ngModel",a.value),v("max",a.max)("min",a.min))},dependencies:[g,f,w,b,M,S,F,x],encapsulation:2});let r=e;return r})();var B=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range02"]],standalone:!0,features:[p],decls:3,vars:0,consts:[["cLabel","","for","disabledRange"],["cFormControl","","disabled","","id","disabledRange","type","range"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Disabled range"),o(),u(2,"input",1))},dependencies:[g,f],encapsulation:2});let r=e;return r})();var P=(()=>{let e=class e{constructor(){this.value=50}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=c({type:e,selectors:[["docs-range01"]],standalone:!0,features:[p],decls:5,vars:2,consts:[["cLabel","","for","customRange1"],["cFormControl","","id","customRange1","type","range",3,"ngModelChange","ngModel"]],template:function(n,a){n&1&&(t(0,"label",0),i(1,"Example range - "),t(2,"strong"),i(3),o()(),t(4,"input",1),C("ngModelChange",function(s){return y(a.value,s)||(a.value=s),s}),o()),n&2&&(l(3),d(a.value),l(),h("ngModel",a.value))},dependencies:[g,f,w,b,M,S,F,x],encapsulation:2});let r=e;return r})();var j=()=>["forms/range/examples/range01.component.html","forms/range/examples/range01.component.ts"],O=()=>["forms/range/examples/range02.component.html"],q=()=>["forms/range/examples/range03.component.html","forms/range/examples/range03.component.ts"],z=()=>["forms/range/examples/range04.component.html"],se=(()=>{let e=class e{constructor(m,n){this.metaService=m,this.titleService=n,this.title="Angular Range Component",this.description="Use our custom Angular Range inputs for consistent cross-browser styling and built-in customization."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(n){return new(n||e)(E(T),E(L))},e.\u0275cmp=c({type:e,selectors:[["docs-range-docs"]],standalone:!0,features:[p],decls:26,vars:10,consts:[["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"api-table"]],template:function(n,a){n&1&&(t(0,"h1",0),i(1),o(),t(2,"p",1),i(3),o(),u(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` ## Overview Create custom range controls with \`\`. The track (the background) and thumb (the value) are both styled to appear the same across browsers. As only Edge Legacy and Firefox supports "filling" their diff --git a/angular/docs/chunk-O6V6MKDU.js b/angular/docs/chunk-O6V6MKDU.js deleted file mode 100644 index bc151b2f9a1..00000000000 --- a/angular/docs/chunk-O6V6MKDU.js +++ /dev/null @@ -1,7 +0,0 @@ -import{a as Fe,b as je}from"./chunk-MGAX33HK.js";function w(e){return typeof e=="function"}function jt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ar=jt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ct(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof ar?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Sc(i)}catch(s){t=t??[],s instanceof ar?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ar(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Sc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ct(n,t)}remove(t){let{_finalizers:n}=this;n&&ct(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var mi=j.EMPTY;function cr(e){return e instanceof j||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Sc(e){w(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Vt={setTimeout(e,t,...n){let{delegate:r}=Vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function lr(e){Vt.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function Ve(){}var Oc=gi("C",void 0,void 0);function Ac(e){return gi("E",void 0,e)}function kc(e){return gi("N",e,void 0)}function gi(e,t,n){return{kind:e,value:t,error:n}}var lt=null;function Ht(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!lt;if(t&&(lt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=lt;if(lt=null,n)throw r}}else e()}function Rc(e){me.useDeprecatedSynchronousErrorHandling&<&&(lt.errorThrown=!0,lt.error=e)}var ut=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,cr(t)&&t.add(this)):this.destination=dh}static create(t,n,r){return new He(t,n,r)}next(t){this.isStopped?yi(kc(t),this):this._next(t)}error(t){this.isStopped?yi(Ac(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?yi(Oc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},lh=Function.prototype.bind;function vi(e,t){return lh.call(e,t)}var Ii=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ur(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ur(r)}else ur(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ur(n)}}},He=class extends ut{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&vi(t.next,i),error:t.error&&vi(t.error,i),complete:t.complete&&vi(t.complete,i)}):o=t}this.destination=new Ii(o)}};function ur(e){me.useDeprecatedSynchronousErrorHandling?Rc(e):lr(e)}function uh(e){throw e}function yi(e,t){let{onStoppedNotification:n}=me;n&&Vt.setTimeout(()=>n(e,t))}var dh={closed:!0,next:Ve,error:uh,complete:Ve};var $t=typeof Symbol=="function"&&Symbol.observable||"@@observable";function B(e){return e}function wi(...e){return Ei(e)}function Ei(e){return e.length===0?B:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=ph(n)?n:new He(n,r,o);return Ht(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Pc(r),new r((o,i)=>{let s=new He({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[$t](){return this}pipe(...n){return Ei(n)(this)}toPromise(n){return n=Pc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Pc(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function fh(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function ph(e){return e&&e instanceof ut||fh(e)&&cr(e)}var Lc=jt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new dr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Lc}next(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?mi:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,ct(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new dr(t,n),e})(),dr=class extends de{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:mi}};var Cn=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function fr(e){return e&&w(e.schedule)}function Di(e){return e[e.length-1]}function we(e){return w(Di(e))?e.pop():void 0}function Ee(e){return fr(Di(e))?e.pop():void 0}function Fc(e,t){return typeof Di(e)=="number"?e.pop():t}function Vc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function jc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function Hc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(M,x){i.push([f,m,M,x])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof dt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function $c(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof jc=="function"?jc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Bt=e=>e&&typeof e.length=="number"&&typeof e!="function";function pr(e){return w(e?.then)}function hr(e){return w(e[$t])}function mr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function gr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function hh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var vr=hh();function yr(e){return w(e?.[vr])}function Ir(e){return Hc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function wr(e){return w(e?.getReader)}function N(e){if(e instanceof T)return e;if(e!=null){if(hr(e))return mh(e);if(Bt(e))return gh(e);if(pr(e))return vh(e);if(mr(e))return Bc(e);if(yr(e))return yh(e);if(wr(e))return Ih(e)}throw gr(e)}function mh(e){return new T(t=>{let n=e[$t]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gh(e){return new T(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,lr)})}function yh(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Bc(e){return new T(t=>{wh(e,t).catch(n=>t.error(n))})}function Ih(e){return Bc(Ir(e))}function wh(e,t){var n,r,o,i;return Vc(this,void 0,void 0,function*(){try{for(n=$c(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function bi(e){return w(e?.lift)}function y(e){return t=>{if(bi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new xi(e,t,n,r,o)}var xi=class extends ut{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Er(e,t=0){return y((n,r)=>{n.subscribe(v(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Dr(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Uc(e,t){return N(e).pipe(Dr(t),Er(t))}function qc(e,t){return N(e).pipe(Dr(t),Er(t))}function Wc(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Gc(e,t){return new T(n=>{let r;return ne(n,t,()=>{r=e[vr](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function br(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function zc(e,t){return br(Ir(e),t)}function Qc(e,t){if(e!=null){if(hr(e))return Uc(e,t);if(Bt(e))return Wc(e,t);if(pr(e))return qc(e,t);if(mr(e))return br(e,t);if(yr(e))return Gc(e,t);if(wr(e))return zc(e,t)}throw gr(e)}function De(e,t){return t?Qc(e,t):N(e)}function Eh(...e){let t=Ee(e);return De(e,t)}function be(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var xr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var Mn={setInterval(e,t,...n){let{delegate:r}=Mn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Mn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Je=class extends xr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Mn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Mn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ct(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var _n={now(){return(_n.delegate||Date).now()},delegate:void 0};var Ut=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ut.now=_n.now;var Ke=class extends Ut{constructor(t,n=Ut.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ft=new Ke(Je),Zc=ft;function Yc(e){return e instanceof Date&&!isNaN(e)}function pt(e=0,t,n=Zc){let r=-1;return t!=null&&(fr(t)?n=t:r=t),new T(o=>{let i=Yc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Jc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l{i&&t.next(m),l++;let M=!1;N(n(m,u++)).subscribe(v(t,x=>{o?.(x),i?f(x):t.next(x)},()=>{M=!0},void 0,()=>{if(M)try{for(l--;c.length&&lh(x)):h(x)}p()}catch(x){t.error(x)}}))};return e.subscribe(v(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ge(e,t,n=1/0){return w(t)?ge((r,o)=>be((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>Jc(r,o,e,n)))}function Tn(e=1/0){return ge(B,e)}var $e=new T(e=>e.complete());function Dh(...e){let t=Ee(e),n=Fc(e,1/0),r=e;return r.length?r.length===1?N(r[0]):Tn(n)(De(r,t)):$e}function qt(e){return e<=0?()=>$e:y((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ci(e){return be(()=>e)}function Kc(e,t=B){return e=e??bh,y((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function bh(e,t){return e===t}var ht=jt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function mt(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Nn(e){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Cr(e=xh){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function xh(){return new ht}function Mi(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):B,qt(1),n?Nn(t):Cr(()=>new ht))}var Sn=class extends de{constructor(t=1/0,n=1/0,r=_n){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;snew de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return y((m,M)=>{l++,!d&&!u&&p();let x=c=c??t();M.add(()=>{l--,l===0&&!d&&!u&&(a=_i(h,o))}),x.subscribe(M),!s&&l>0&&(s=new He({next:W=>x.next(W),error:W=>{d=!0,p(),a=_i(f,n,W),x.error(W)},complete:()=>{u=!0,p(),a=_i(f,r),x.complete()}}),N(m).subscribe(s))})(i)}}function _i(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new He({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function Ch(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Xc({connector:()=>new Sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function el(){return Tn(1)}function Wt(...e){return el()(De(e,Ee(e)))}function Mh(...e){let t=Ee(e);return y((n,r)=>{(t?Wt(e,n,t):Wt(e,n)).subscribe(r)})}function tl(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,c=>{o?.unsubscribe();let l=0,u=i++;N(e(c,u)).subscribe(o=v(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _h(e){return y((t,n)=>{N(e).subscribe(v(n,()=>n.complete(),Ve)),!n.closed&&t.subscribe(n)})}function nl(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):B}function Ti(){return y((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ni=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,bi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return Ti()(this)}};var Gt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Gt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Gt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Gt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Th=1,Si,Oi={};function rl(e){return e in Oi?(delete Oi[e],!0):!1}var ol={setImmediate(e){let t=Th++;return Oi[t]=!0,Si||(Si=Promise.resolve()),Si.then(()=>rl(t)&&e()),t},clearImmediate(e){rl(e)}};var{setImmediate:Nh,clearImmediate:Sh}=ol,On={setImmediate(...e){let{delegate:t}=On;return(t?.setImmediate||Nh)(...e)},clearImmediate(e){let{delegate:t}=On;return(t?.clearImmediate||Sh)(e)},delegate:void 0};var Mr=class extends Je{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=On.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(On.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var _r=class extends Ke{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Oh=new _r(Mr);var Tr=class extends Je{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Gt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Gt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Nr=class extends Ke{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Ah=new Nr(Tr);function kh(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Rh(e){return!!e&&(e instanceof T||w(e.lift)&&w(e.subscribe))}var{isArray:Ph}=Array;function Lh(e,t){return Ph(t)?e(...t):e(t)}function Xe(e){return be(t=>Lh(e,t))}var{isArray:Fh}=Array,{getPrototypeOf:jh,prototype:Vh,keys:Hh}=Object;function Sr(e){if(e.length===1){let t=e[0];if(Fh(t))return{args:t,keys:null};if($h(t)){let n=Hh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function $h(e){return e&&typeof e=="object"&&jh(e)===Vh}function Or(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Bh(...e){let t=Ee(e),n=we(e),{args:r,keys:o}=Sr(e);if(r.length===0)return De([],t);let i=new T(Ai(r,t,o?s=>Or(o,s):B));return n?i.pipe(Xe(n)):i}function Ai(e,t,n=B){return r=>{il(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=De(e[c],t),u=!1;l.subscribe(v(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function il(e,t,n){e?ne(n,e,t):t()}function Uh(e){return new T(t=>{N(e()).subscribe(t)})}function qh(...e){let t=we(e),{args:n,keys:r}=Sr(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Or(r,a):a),i.complete())}))}});return t?o.pipe(Xe(t)):o}var Wh=["addListener","removeListener"],Gh=["addEventListener","removeEventListener"],zh=["on","off"];function ki(e,t,n,r){if(w(n)&&(r=n,n=void 0),r)return ki(e,t,n).pipe(Xe(r));let[o,i]=Yh(e)?Gh.map(s=>a=>e[s](t,a,n)):Qh(e)?Wh.map(sl(e,t)):Zh(e)?zh.map(sl(e,t)):[];if(!o&&Bt(e))return ge(s=>ki(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1i(a)})}function sl(e,t){return n=>r=>e[n](t,r)}function Qh(e){return w(e.addListener)&&w(e.removeListener)}function Zh(e){return w(e.on)&&w(e.off)}function Yh(e){return w(e.addEventListener)&&w(e.removeEventListener)}var{isArray:Jh}=Array;function Ar(e){return e.length===1&&Jh(e[0])?e[0]:e}function al(...e){let t=we(e),n=Ar(e);return n.length?new T(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):$e}function cl(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(v(n,l=>{r=!0,o=l,i||N(e(l)).subscribe(i=v(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Kh(e,t=ft){return cl(()=>pt(e,t))}function ll(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=N(e(s,ll(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function ul(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(v(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ri(...e){let t=we(e);return t?wi(Ri(...e),Xe(t)):y((n,r)=>{Ai([n,...Ar(e)])(r)})}function Xh(...e){return Ri(...e)}function em(e,t){return w(t)?ge(e,t,1):ge(e,1)}function dl(e,t=ft){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function fl(){return y((e,t)=>{e.subscribe(v(t,Ve))})}function Pi(e,t){return t?n=>Wt(t.pipe(qt(1),fl()),n.pipe(Pi(e))):ge((n,r)=>N(e(n,r)).pipe(qt(1),Ci(n)))}function tm(e,t=ft){let n=pt(e,t);return Pi(()=>n)}function nm(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Li(e){return e<=0?()=>$e:y((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function rm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):B,Li(1),n?Nn(t):Cr(()=>new ht))}function om(){return y((e,t)=>{let n,r=!1;e.subscribe(v(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function pl(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?B:y((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(v(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?pt(r):N(r(d,a)),h=v(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function im(e,t){return y(ul(e,t,arguments.length>=2,!0))}function hl(e){return mt((t,n)=>e<=n)}function sm(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function am(...e){let t=we(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(B))&&(s=null))},Ve));n.subscribe(v(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function ml(...e){return y((t,n)=>{al(t,...e).subscribe(n)})}function cm(...e){return ml(...e)}function gl(e,t){return Object.is(e,t)}var U=null,An=!1,kr=1,re=Symbol("SIGNAL");function _(e){let t=U;return U=e,t}function vl(){return U}function lm(){return An}var zt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rn(e){if(An)throw new Error("");if(U===null)return;U.consumerOnSignalRead(e);let t=U.nextProducerIndex++;if(Vr(U),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Lr(e){Vr(e);for(let t=0;t0}function Vr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function bl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xl(e){return e.producerNode!==void 0}function Hi(e){let t=Object.create(dm);t.computation=e;let n=()=>{if(yl(t),Rn(t),t.value===Rr)throw t.error;return t.value};return n[re]=t,n}var Fi=Symbol("UNSET"),ji=Symbol("COMPUTING"),Rr=Symbol("ERRORED"),dm=je(Fe({},zt),{value:Fi,dirty:!0,error:null,equal:gl,producerMustRecompute(e){return e.value===Fi||e.value===ji},producerRecomputeValue(e){if(e.value===ji)throw new Error("Detected cycle in computations.");let t=e.value;e.value=ji;let n=Pn(e),r;try{r=e.computation()}catch(o){r=Rr,e.error=o}finally{Pr(e,n)}if(t!==Fi&&t!==Rr&&r!==Rr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function fm(){throw new Error}var Cl=fm;function Ml(){Cl()}function _l(e){Cl=e}var pm=null;function Tl(e){let t=Object.create($i);t.value=e;let n=()=>(Rn(t),t.value);return n[re]=t,n}function Ln(e,t){wl()||Ml(),e.equal(e.value,t)||(e.value=t,hm(e))}function Nl(e,t){wl()||Ml(),Ln(e,t(e.value))}var $i=je(Fe({},zt),{equal:gl,value:void 0});function hm(e){e.version++,um(),Il(e),pm?.()}function Sl(e,t,n){let r=Object.create(mm);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Fr(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Vi)}let a=()=>{if(r.fn===null)return;if(lm())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Lr(r))return;r.hasRun=!0;let c=Pn(r);try{r.cleanupFn(),r.cleanupFn=Vi,r.fn(o)}finally{Pr(r,c)}};return r.ref={notify:()=>El(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[re]:r},r.ref}var Vi=()=>{},mm=je(Fe({},zt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Vi});var Lu="https://g.co/ng/security#xss",C=class extends Error{constructor(t,n){super(gm(t,n)),this.code=t}};function gm(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Fo=Symbol("InputSignalNode#UNSET"),Fu=je(Fe({},$i),{transformFn:void 0,applyValueToInputSignal(e,t){Ln(e,t)}});function ju(e,t){let n=Object.create(Fu);n.value=e,n.transformFn=t?.transform;function r(){if(Rn(n),n.value===Fo)throw new C(-950,!1);return n.value}return r[re]=n,r}function Jn(e){return{toString:e}.toString()}var Hr="__parameters__";function vm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ba(e,t,n){return Jn(()=>{let r=vm(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Hr)?c[Hr]:Object.defineProperty(c,Hr,{value:[]})[Hr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var xe=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function ym(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function le(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(le).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function is(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Im=R({__forward_ref__:R});function Vu(e){return e.__forward_ref__=Vu,e.toString=function(){return le(this())},e}function Q(e){return Hu(e)?e():e}function Hu(e){return typeof e=="function"&&e.hasOwnProperty(Im)&&e.__forward_ref__===Vu}function $u(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jO(e){return{providers:e.providers||[],imports:e.imports||[]}}function jo(e){return Ol(e,Bu)||Ol(e,Uu)}function VO(e){return jo(e)!==null}function Ol(e,t){return e.hasOwnProperty(t)?e[t]:null}function wm(e){let t=e&&(e[Bu]||e[Uu]);return t||null}function Al(e){return e&&(e.hasOwnProperty(kl)||e.hasOwnProperty(Em))?e[kl]:null}var Bu=R({\u0275prov:R}),kl=R({\u0275inj:R}),Uu=R({ngInjectableDef:R}),Em=R({ngInjectorDef:R}),P=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function qu(e){return e&&!!e.\u0275providers}var Dm=R({\u0275cmp:R}),bm=R({\u0275dir:R}),xm=R({\u0275pipe:R}),Cm=R({\u0275mod:R}),no=R({\u0275fac:R}),jn=R({__NG_ELEMENT_ID__:R}),Rl=R({__NG_ENV_ID__:R});function L(e){return typeof e=="string"?e:e==null?"":String(e)}function Mm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():L(e)}function _m(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function xa(e,t){throw new C(-201,!1)}var S=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(S||{}),ss;function Wu(){return ss}function oe(e){let t=ss;return ss=e,t}function Gu(e,t,n){let r=jo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&S.Optional)return null;if(t!==void 0)return t;xa(e,"Injector")}var Tm={},Hn=Tm,as="__NG_DI_FLAG__",ro="ngTempTokenPath",Nm="ngTokenPath",Sm=/\n/gm,Om="\u0275",Pl="__source",Xt;function Am(){return Xt}function et(e){let t=Xt;return Xt=e,t}function km(e,t=S.Default){if(Xt===void 0)throw new C(-203,!1);return Xt===null?Gu(e,void 0,t):Xt.get(e,t&S.Optional?null:void 0,t)}function rt(e,t=S.Default){return(Wu()||km)(Q(e),t)}function D(e,t=S.Default){return rt(e,Vo(t))}function Vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cs(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):le(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Sm,` - `)}`}var HO=Ca(ba("Inject",e=>({token:e})),-1),zu=Ca(ba("Optional"),8);var Qu=Ca(ba("SkipSelf"),4);function wt(e,t){let n=e.hasOwnProperty(no);return n?e[no]:null}function Fm(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ma(n,t):t(n))}function Zu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vm(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Kn(e,t,n){let r=Xn(e,t);return r>=0?e[r|1]=n:(r=~r,Yu(e,r,t,n)),r}function Bi(e,t){let n=Xn(e,t);if(n>=0)return e[n|1]}function Xn(e,t){return Hm(e,t,1)}function Hm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ve(r))return!1;s=!0}}}}return ve(r)||s}function ve(e){return(e&1)===0}function Gm(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ve(s)&&(t+=jl(i,o),o=""),r=s,i=i||!ve(r);n++}return o!==""&&(t+=jl(i,o)),t}function Km(e){return e.map(Jm).join(",")}function Xm(e){let t=[],n=[],r=1,o=2;for(;r{let t=od(e),n=je(Fe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Bn.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});id(n);let r=e.dependencies;return n.directiveDefs=Hl(r,!1),n.pipeDefs=Hl(r,!0),n.id=rg(n),n})}function eg(e){return Ne(e)||Ho(e)}function tg(e){return e!==null}function BO(e){return Jn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vl(e,t){if(e==null)return Ue;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=nn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==nn.None?[r,a]:r,t[i]=s):n[i]=r}return n}function UO(e){return Jn(()=>{let t=od(e);return id(t),t})}function qO(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ne(e){return e[Dm]||null}function Ho(e){return e[bm]||null}function Ta(e){return e[xm]||null}function ng(e){let t=Ne(e)||Ho(e)||Ta(e);return t!==null?t.standalone:!1}function rd(e,t){let n=e[Cm]||null;if(!n&&t===!0)throw new Error(`Type ${le(e)} does not have '\u0275mod' property.`);return n}function od(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ue,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vl(e.inputs,t),outputs:Vl(e.outputs),debugInfo:null}}function id(e){e.features?.forEach(t=>t(e))}function Hl(e,t){if(!e)return null;let n=t?Ta:eg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(tg)}function rg(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function og(e){return{\u0275providers:e}}function ig(...e){return{\u0275providers:Na(!0,e),\u0275fromNgModule:!0}}function Na(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ma(t,s=>{let a=s;us(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&sd(o,i),n}function sd(e,t){for(let n=0;n{t(i,r)})}}function us(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=Al(e),s=!i&&Ne(e);if(!i&&!s){let c=e.ngModule;if(i=Al(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)us(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ma(i.imports,u=>{us(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&sd(l,t)}if(!a){let l=wt(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:Ku,useValue:o,multi:!0},o),t({provide:$n,useValue:()=>rt(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Sa(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Sa(e,t){for(let n of e)qu(n)&&(n=n.\u0275providers),Array.isArray(n)?Sa(n,t):t(n)}var sg=R({provide:String,useValue:R});function ad(e){return e!==null&&typeof e=="object"&&sg in e}function ag(e){return!!(e&&e.useExisting)}function cg(e){return!!(e&&e.useFactory)}function rn(e){return typeof e=="function"}function lg(e){return!!e.useClass}var cd=new P(""),Zr={},ug={},Ui;function Oa(){return Ui===void 0&&(Ui=new io),Ui}var qe=class{},qn=class extends qe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fs(t,s=>this.processProvider(s)),this.records.set(Ju,Yt(void 0,this)),o.has("environment")&&this.records.set(qe,Yt(void 0,this));let i=this.records.get(cd);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ku,J,S.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=et(this),r=oe(void 0),o;try{return t()}finally{et(n),oe(r)}}get(t,n=Hn,r=S.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Rl))return t[Rl](this);r=Vo(r);let o,i=et(this),s=oe(void 0);try{if(!(r&S.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=mg(t)&&jo(t);l&&this.injectableDefInScope(l)?c=Yt(ds(t),Zr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&S.Self?Oa():this.parent;return n=r&S.Optional&&n===Hn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ro]=a[ro]||[]).unshift(le(t)),i)throw a;return Pm(a,t,"R3InjectorError",this.source)}else throw a}finally{oe(s),et(i)}}resolveInjectorInitializers(){let t=_(null),n=et(this),r=oe(void 0),o;try{let i=this.get($n,J,S.Self);for(let s of i)s()}finally{et(n),oe(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(le(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){t=Q(t);let n=rn(t)?t:Q(t&&t.provide),r=fg(t);if(!rn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Yt(void 0,Zr,!0),o.factory=()=>cs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===Zr&&(n.value=ug,n.value=n.factory()),typeof n.value=="object"&&n.value&&hg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ds(e){let t=jo(e),n=t!==null?t.factory:wt(e);if(n!==null)return n;if(e instanceof P)throw new C(204,!1);if(e instanceof Function)return dg(e);throw new C(204,!1)}function dg(e){if(e.length>0)throw new C(204,!1);let n=wm(e);return n!==null?()=>n.factory(e):()=>new e}function fg(e){if(ad(e))return Yt(void 0,e.useValue);{let t=ld(e);return Yt(t,Zr)}}function ld(e,t,n){let r;if(rn(e)){let o=Q(e);return wt(o)||ds(o)}else if(ad(e))r=()=>Q(e.useValue);else if(cg(e))r=()=>e.useFactory(...cs(e.deps||[]));else if(ag(e))r=()=>rt(Q(e.useExisting));else{let o=Q(e&&(e.useClass||e.provide));if(pg(e))r=()=>new o(...cs(e.deps));else return wt(o)||ds(o)}return r}function Yt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pg(e){return!!e.deps}function hg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function mg(e){return typeof e=="function"||typeof e=="object"&&e instanceof P}function fs(e,t){for(let n of e)Array.isArray(n)?fs(n,t):n&&qu(n)?fs(n.\u0275providers,t):t(n)}function ud(e,t){e instanceof qn&&e.assertNotDestroyed();let n,r=et(e),o=oe(void 0);try{return t()}finally{et(r),oe(o)}}function dd(){return Wu()!==void 0||Am()!=null}function Aa(e){if(!dd())throw new C(-203,!1)}function gg(e){return typeof e=="function"}var se=0,I=1,E=2,z=3,ye=4,ae=5,pe=6,so=7,Z=8,ee=9,Se=10,O=11,Wn=12,$l=13,fn=14,K=15,Et=16,Jt=17,We=18,$o=19,fd=20,nt=21,Yr=22,fe=23,A=25,ka=1,Gn=6,Ge=7,ao=8,on=9,G=10,co=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(co||{});function Te(e){return Array.isArray(e)&&typeof e[ka]=="object"}function ke(e){return Array.isArray(e)&&e[ka]===!0}function Ra(e){return(e.flags&4)!==0}function er(e){return e.componentOffset>-1}function Bo(e){return(e.flags&1)===1}function ze(e){return!!e.template}function lo(e){return(e[E]&512)!==0}function ps(e){return(e[E]&256)===256}var hs=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function pd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function vg(){return hd}function hd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ig),yg}vg.ngInherit=!0;function yg(){let e=gd(this),t=e?.current;if(t){let n=e.previous;if(n===Ue)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ig(e,t,n,r,o){let i=this.declaredInputs[r],s=gd(e)||wg(e,{previous:Ue,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new hs(l&&l.currentValue,n,c===Ue),pd(e,t,o,n)}var md="__ngSimpleChanges__";function gd(e){return e[md]||null}function wg(e,t){return e[md]=t}var Bl=null;var Ce=function(e,t,n){Bl?.(e,t,n)},vd="svg",Eg="math";function Ie(e){for(;Array.isArray(e);)e=e[se];return e}function Dg(e){for(;Array.isArray(e);){if(typeof e[ka]=="object")return e;e=e[se]}return null}function Pa(e,t){return Ie(t[e])}function ue(e,t){return Ie(t[e.index])}function tr(e,t){return e.data[t]}function Uo(e,t){return e[t]}function it(e,t){let n=t[e];return Te(n)?n:n[se]}function bg(e){return(e[E]&4)===4}function La(e){return(e[E]&128)===128}function xg(e){return ke(e[z])}function Oe(e,t){return t==null?null:e[t]}function yd(e){e[Jt]=0}function Id(e){e[E]&1024||(e[E]|=1024,La(e)&&qo(e))}function wd(e,t){for(;e>0;)t=t[fn],e--;return t}function zn(e){return!!(e[E]&9216||e[fe]?.dirty)}function ms(e){e[Se].changeDetectionScheduler?.notify(7),e[E]&64&&(e[E]|=1024),zn(e)&&qo(e)}function qo(e){e[Se].changeDetectionScheduler?.notify(0);let t=Dt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!La(t)));)t=Dt(t)}function Wo(e,t){if((e[E]&256)===256)throw new C(911,!1);e[nt]===null&&(e[nt]=[]),e[nt].push(t)}function Fa(e,t){if(e[nt]===null)return;let n=e[nt].indexOf(t);n!==-1&&e[nt].splice(n,1)}function Dt(e){let t=e[z];return ke(t)?t[z]:t}var b={lFrame:Td(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ed=!1;function Cg(){return b.lFrame.elementDepthCount}function Mg(){b.lFrame.elementDepthCount++}function _g(){b.lFrame.elementDepthCount--}function Dd(){return b.bindingsEnabled}function pn(){return b.skipHydrationRootTNode!==null}function Tg(e){return b.skipHydrationRootTNode===e}function WO(){b.bindingsEnabled=!0}function Ng(e){b.skipHydrationRootTNode=e}function GO(){b.bindingsEnabled=!1}function Sg(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function k(){return b.lFrame.tView}function zO(e){return b.lFrame.contextLView=e,e[Z]}function QO(e){return b.lFrame.contextLView=null,e}function V(){let e=bd();for(;e!==null&&e.type===64;)e=e.parent;return e}function bd(){return b.lFrame.currentTNode}function Og(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ot(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function ja(){return b.lFrame.isParent}function Va(){b.lFrame.isParent=!1}function Ag(){return b.lFrame.contextLView}function xd(){return Ed}function Ul(e){Ed=e}function Re(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function hn(){return b.lFrame.bindingIndex}function Cd(e){return b.lFrame.bindingIndex=e}function st(){return b.lFrame.bindingIndex++}function At(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kg(){return b.lFrame.inI18n}function Rg(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,gs(t)}function Pg(){return b.lFrame.currentDirectiveIndex}function gs(e){b.lFrame.currentDirectiveIndex=e}function Ha(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $a(){return b.lFrame.currentQueryIndex}function Go(e){b.lFrame.currentQueryIndex=e}function Lg(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ae]:null}function Md(e,t,n){if(n&S.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&S.Host);)if(o=Lg(i),o===null||(i=i[fn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=_d();return r.currentTNode=t,r.lView=e,!0}function Ba(e){let t=_d(),n=e[I];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function _d(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Td(e):t}function Td(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Nd(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sd=Nd;function Ua(){let e=Nd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fg(e){return(b.lFrame.contextLView=wd(e,b.lFrame.contextLView))[Z]}function ce(){return b.lFrame.selectedIndex}function bt(e){b.lFrame.selectedIndex=e}function kt(){let e=b.lFrame;return tr(e.tView,e.selectedIndex)}function ZO(){b.lFrame.currentNamespace=vd}function YO(){jg()}function jg(){b.lFrame.currentNamespace=null}function Od(){return b.lFrame.currentNamespace}var Ad=!0;function zo(){return Ad}function at(e){Ad=e}function Vg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Qo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Jt]+=65536),(a>14>16&&(e[E]&3)===t&&(e[E]+=16384,ql(a,i)):ql(a,i)}var en=-1,xt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function $g(e){return e instanceof xt}function Bg(e){return(e.flags&8)!==0}function Ug(e){return(e.flags&16)!==0}function Rd(e){return e!==en}function uo(e){return e&32767}function qg(e){return e>>16}function fo(e,t){let n=qg(e),r=t;for(;n>0;)r=r[fn],n--;return r}var vs=!0;function po(e){let t=vs;return vs=e,t}var Wg=256,Pd=Wg-1,Ld=5,Gg=0,Me={};function zg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(jn)&&(r=n[jn]),r==null&&(r=n[jn]=Gg++);let o=r&Pd,i=1<>Ld)]|=i}function ho(e,t){let n=Fd(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Wi(r.data,e),Wi(t,null),Wi(r.blueprint,null));let o=qa(e,t),i=e.injectorIndex;if(Rd(o)){let s=uo(o),a=fo(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Wi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function qa(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Bd(o),r===null)return en;if(n++,o=o[fn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return en}function ys(e,t,n){zg(e,t,n)}function Qg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&ze(f)&&f.type===n)return c}return null}function Ct(e,t,n,r){let o=e[n],i=t.data;if($g(o)){let s=o;s.resolving&&_m(Mm(i[n]));let a=po(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?oe(s.injectImpl):null,u=Md(e,r,S.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Vg(n,i[n],t)}finally{l!==null&&oe(l),po(a),s.resolving=!1,Sd()}}return o}function Yg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(jn)?e[jn]:void 0;return typeof t=="number"?t>=0?t&Pd:Jg:t}function Wl(e,t,n){let r=1<>Ld)]&r)}function Gl(e,t){return!(e&S.Self)&&!(e&S.Host&&t)}var It=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Hd(this._tNode,this._lView,t,Vo(r),n)}};function Jg(){return new It(V(),g())}function JO(e){return Jn(()=>{let t=e.prototype.constructor,n=t[no]||Is(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[no]||Is(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Is(e){return Hu(e)?()=>{let t=Is(Q(e));return t&&t()}:wt(e)}function Kg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=$d(i,s,n,r|S.Self,Me);if(a!==Me)return a;let c=i.parent;if(!c){let l=s[fd];if(l){let u=l.get(n,Me,r);if(u!==Me)return u}c=Bd(s),s=s[fn]}i=c}return o}function Bd(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ae]:null}function KO(e){return Qg(V(),e)}function zl(e,t=null,n=null,r){let o=Ud(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ud(e,t=null,n=null,r,o=new Set){let i=[n||J,ig(e)];return r=r||(typeof e=="object"?void 0:le(e)),new qn(i,t||Oa(),r||null,o)}var vt=class vt{static create(t,n){if(Array.isArray(t))return zl({name:""},n,t,"");{let r=t.name??"";return zl({name:r},t.parent,t.providers,r)}}};vt.THROW_IF_NOT_FOUND=Hn,vt.NULL=new io,vt.\u0275prov=$({token:vt,providedIn:"any",factory:()=>rt(Ju)}),vt.__NG_ELEMENT_ID__=-1;var Ae=vt;var Xg=new P("");Xg.__NG_ELEMENT_ID__=e=>{let t=V();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&S.Optional)return null;throw new C(204,!1)};var ev="ngOriginalError";function Gi(e){return e[ev]}var Qe=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Gi(t);for(;n&&Gi(n);)n=Gi(n);return n||null}},qd=new P("",{providedIn:"root",factory:()=>D(Qe).handleError.bind(void 0)}),mn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=tv,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),ws=class extends mn{constructor(t){super(),this._lView=t}onDestroy(t){return Wo(this._lView,t),()=>Fa(this._lView,t)}};function tv(){return new ws(g())}var mo=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=D(Qe,{optional:!0}),this.destroyRef=D(mn),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new C(953,!1);if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function XO(e){return new mo}function Ql(e,t){return ju(e,t)}function nv(e){return ju(Fo,e)}var eA=(Ql.required=nv,Ql);function rv(){return gn(V(),g())}function gn(e,t){return new Zo(ue(e,t))}var Zo=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=rv;let e=t;return e})();function Wd(e){return e instanceof Zo?e.nativeElement:e}var vn=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Cn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Es=class extends de{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,dd()&&(this.destroyRef=D(mn,{optional:!0})??void 0,this.pendingTasks=D(vn,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Be=Es;function ov(){return this._results[Symbol.iterator]()}var Ds=class e{get changes(){return this._changes??=new Be}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=ov)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=jm(t);(this._changesDetected=!Fm(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},iv="ngSkipHydration",sv="ngskiphydration";function Gd(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;npv}),pv="ng",hv=new P(""),Kd=new P("",{providedIn:"platform",factory:()=>"unknown"});var nA=new P(""),rA=new P("",{providedIn:"root",factory:()=>nr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),mv={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},oA=new P("",{providedIn:"root",factory:()=>mv});function gv(){let e=new Wa;return D(Kd)==="browser"&&(e.store=vv(nr(),D(fv))),e}var Wa=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function xv(e,t,n=!1){let r=e.getAttribute(zi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(Wa,null,{optional:!0});u!==null&&(c=u.get(rf,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,Yo(l,0,e.nextSibling)),a?e.setAttribute(zi,a):e.removeAttribute(zi),l}function Cv(){of=xv}function za(e,t,n=!1){return of(e,t,n)}function Mv(e){let t=e._lView;return t[I].type===2?null:(lo(t)&&(t=t[A]),t)}function _v(e){return e.textContent?.replace(/\s/gm,"")}function Tv(e){let t=nr(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=_v(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Yo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Cs(e,t){return e.segmentHeads?.[t]??null}function Nv(e,t){let n=e.data,r=n[yv]?.[t]??null;return r===null&&n[Ga]?.[t]&&(r=Qa(e,t)),r}function sf(e,t){return e.data[Ga]?.[t]??null}function Qa(e,t){let n=sf(e,t)??[],r=0;for(let o of n)r+=o[vo]*(o[tf]??1);return r}function Sv(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[nf];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Jo(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[nf];e.disconnectedNodes=n?new Set(n):null}return!!Sv(e)?.has(t)}var $r=new P(""),af=!1,cf=new P("",{providedIn:"root",factory:()=>af});var Br;function Ov(){if(Br===void 0&&(Br=null,xe.trustedTypes))try{Br=xe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Br}function Ko(e){return Ov()?.createHTML(e)||e}var Ur;function lf(){if(Ur===void 0&&(Ur=null,xe.trustedTypes))try{Ur=xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ur}function Yl(e){return lf()?.createHTML(e)||e}function Jl(e){return lf()?.createScriptURL(e)||e}var Ze=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lu})`}},Ms=class extends Ze{getTypeName(){return"HTML"}},_s=class extends Ze{getTypeName(){return"Style"}},Ts=class extends Ze{getTypeName(){return"Script"}},Ns=class extends Ze{getTypeName(){return"URL"}},Ss=class extends Ze{getTypeName(){return"ResourceURL"}};function yn(e){return e instanceof Ze?e.changingThisBreaksApplicationSecurity:e}function Za(e,t){let n=Av(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Lu})`)}return n===t}function Av(e){return e instanceof Ze&&e.getTypeName()||null}function iA(e){return new Ms(e)}function sA(e){return new _s(e)}function aA(e){return new Ts(e)}function cA(e){return new Ns(e)}function lA(e){return new Ss(e)}function kv(e){let t=new As(e);return Rv()?new Os(t):t}var Os=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Ko(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},As=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ko(t),n}};function Rv(){try{return!!new window.DOMParser().parseFromString(Ko(""),"text/html")}catch{return!1}}var Pv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function uf(e){return e=String(e),e.match(Pv)?e:"unsafe:"+e}function Ye(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function rr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var df=Ye("area,br,col,hr,img,wbr"),ff=Ye("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pf=Ye("rp,rt"),Lv=rr(pf,ff),Fv=rr(ff,Ye("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),jv=rr(pf,Ye("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Kl=rr(df,Fv,jv,Lv),hf=Ye("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vv=Ye("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Hv=Ye("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),$v=rr(hf,Vv,Hv),Bv=Ye("script,style,template"),ks=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Wv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=qv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Xl(t).toLowerCase();if(!Kl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Bv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Xl(t).toLowerCase();Kl.hasOwnProperty(n)&&!df.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(eu(t))}};function Uv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function qv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mf(t);return t}function Wv(e){let t=e.firstChild;if(t&&Uv(e,t))throw mf(t);return t}function Xl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zv=/([^\#-~ |!])/g;function eu(e){return e.replace(/&/g,"&").replace(Gv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(zv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var qr;function Qv(e,t){let n=null;try{qr=qr||kv(e);let r=t?String(t):"";n=qr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=qr.getInertBodyElement(r)}while(r!==i);let a=new ks().sanitizeChildren(tu(n)||n);return Ko(a)}finally{if(n){let r=tu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function tu(e){return"content"in e&&Zv(e)?e.content:null}function Zv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Xo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Xo||{});function uA(e){let t=Ya();return t?Yl(t.sanitize(Xo.HTML,e)||""):Za(e,"HTML")?Yl(yn(e)):Qv(nr(),L(e))}function Yv(e){let t=Ya();return t?t.sanitize(Xo.URL,e)||"":Za(e,"URL")?yn(e):uf(L(e))}function Jv(e){let t=Ya();if(t)return Jl(t.sanitize(Xo.RESOURCE_URL,e)||"");if(Za(e,"ResourceURL"))return Jl(yn(e));throw new C(904,!1)}function Kv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Jv:Yv}function dA(e,t,n){return Kv(t,n)(e)}function Ya(){let e=g();return e&&e[Se].sanitizer}var Xv=/^>|^->||--!>|)/g,ty="\u200B$1\u200B";function ny(e){return e.replace(Xv,t=>t.replace(ey,ty))}function ry(e){$u("Must never be called in production mode");let n=e[K][Z];return n&&n.constructor?Ne(n.constructor):null}function oy(e){$u("Must never be called in production mode");let n=ry(e)?.type?.name;return n?` (used in the '${n}' component template)`:""}function fA(e){return e.ownerDocument}function iy(e){return e.ownerDocument.body}function gf(e){return e instanceof Function?e():e}function _e(e){return(e??D(Ae)).get(Kd)==="browser"}var Rs=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Rs||{}),sy;function Ja(e,t){return sy(e,t)}function Kt(e,t,n,r,o){if(r!=null){let i,s=!1;ke(r)?i=r:Te(r)&&(s=!0,r=r[se]);let a=Ie(r);e===0&&n!==null?o==null?Df(t,n,a):yo(t,n,a,o||null,!0):e===1&&n!==null?yo(t,n,a,o||null,!0):e===2?tc(t,a,s):e===3&&t.destroyNode(a),i!=null&&wy(t,e,i,n,o)}}function vf(e,t){return e.createText(t)}function ay(e,t,n){e.setValue(t,n)}function yf(e,t){return e.createComment(ny(t))}function Ka(e,t,n){return e.createElement(t,n)}function cy(e,t){If(e,t),t[se]=null,t[ae]=null}function ly(e,t,n,r,o,i){r[se]=o,r[ae]=t,ni(e,r,n,1,o,i)}function If(e,t){t[Se].changeDetectionScheduler?.notify(8),ni(e,t,t[O],2,null,null)}function uy(e){let t=e[Wn];if(!t)return Qi(e[I],e);for(;t;){let n=null;if(Te(t))n=t[Wn];else{let r=t[G];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)Te(t)&&Qi(t[I],t),t=t[z];t===null&&(t=e),Te(t)&&Qi(t[I],t),n=t&&t[ye]}t=n}}function dy(e,t,n,r){let o=G+r,i=n.length;r>0&&(n[o-1][ye]=t),r0&&(e[n-1][ye]=r[ye]);let i=oo(e,G+t);cy(r[I],r);let s=i[We];s!==null&&s.detachView(i[I]),r[z]=null,r[ye]=null,r[E]&=-129}return r}function ei(e,t){if(!(t[E]&256)){let n=t[O];n.destroyNode&&ni(e,t,n,3,null,null),uy(t)}}function Qi(e,t){if(t[E]&256)return;let n=_(null);try{t[E]&=-129,t[E]|=256,t[fe]&&Fr(t[fe]),py(e,t),fy(e,t),t[I].type===1&&t[O].destroy();let r=t[Et];if(r!==null&&ke(t[z])){r!==t[z]&&Xa(r,t);let o=t[We];o!==null&&o.detachView(e)}dv(t)}finally{_(n)}}function fy(e,t){let n=e.cleanup,r=t[so];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[so]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Bn.None||i===Bn.Emulated)return null}return ue(r,n)}}function yo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Df(e,t,n){e.appendChild(t,n)}function nu(e,t,n,r,o){r!==null?yo(e,t,n,r,o):Df(e,t,n)}function my(e,t,n,r){e.removeChild(t,n,r)}function ec(e,t){return e.parentNode(t)}function gy(e,t){return e.nextSibling(t)}function bf(e,t,n){return yy(e,t,n)}function vy(e,t,n){return e.type&40?ue(e,n):null}var yy=vy,ru;function ti(e,t,n,r){let o=Ef(e,r,t),i=t[O],s=r.parent||t[ae],a=bf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cA&&Nf(e,t,A,!1),Ce(s?2:0,o),n(r,o)}finally{bt(i),Ce(s?3:1,o)}}function rc(e,t,n){if(Ra(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Ty(e){zd(e)?Cf(e):Tv(e)}function Ny(){Rf=Ty}function Sy(e,t,n,r){let o=Vf(t);o.push(n),e.firstCreatePass&&Hf(e).push(r,o.length-1)}function Oy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return pn()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ou(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=nn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?iu(r,n,l,a,c):iu(r,n,l,a)}return r}function iu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Ay(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Fy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;er(n)&&qy(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ho(n,t),ot(r,t);let s=n.initialInputs;for(let a=o;a{qo(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function rI(e){let t=e[fe]??Object.create(oI);return t.lView=e,t}var oI=je(Fe({},zt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Dt(e.lView);for(;t&&!qf(t[I]);)t=Dt(t);t&&Id(t)},consumerOnSignalRead(){this.lView[fe]=this}});function qf(e){return e.type!==2}var iI=100;function Wf(e,t=!0,n=0){let r=e[Se],o=r.rendererFactory,i=!1;i||o.begin?.();try{sI(e,n)}catch(s){throw t&&si(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function sI(e,t){let n=xd();try{Ul(!0),js(e,t);let r=0;for(;zn(e);){if(r===iI)throw new C(103,!1);r++,js(e,1)}}finally{Ul(n)}}function aI(e,t,n,r){let o=t[E];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Se].inlineEffectRunner?.flush(),Ba(t);let a=!0,c=null,l=null;i||(qf(e)?(l=Xy(t),c=Pn(l)):vl()===null?(a=!1,l=rI(t),c=Pn(l)):t[fe]&&(Fr(t[fe]),t[fe]=null));try{yd(t),Cd(e.bindingStartIndex),n!==null&&Af(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Jr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Kr(t,f,0,null),qi(t,0)}if(s||cI(t),Gf(t,0),e.contentQueries!==null&&jf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Jr(t,f)}else{let f=e.contentHooks;f!==null&&Kr(t,f,1),qi(t,1)}by(e,t);let d=e.components;d!==null&&Qf(t,d,0);let p=e.viewQuery;if(p!==null&&Fs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Jr(t,f)}else{let f=e.viewHooks;f!==null&&Kr(t,f,2),qi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Yr]){for(let f of t[Yr])f();t[Yr]=null}i||(t[E]&=-73)}catch(u){throw i||qo(t),u}finally{l!==null&&(Pr(l,c),a&&tI(l)),Ua()}}function Gf(e,t){for(let n=Zd(e);n!==null;n=Yd(n))for(let r=G;r-1&&(Qn(t,r),oo(n,r))}this._attachedToViewContainer=!1}ei(this._lView[I],this._lView)}onDestroy(t){Wo(this._lView,t)}markForCheck(){ai(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){ms(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Wf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=lo(this._lView),n=this._lView[Et];n!==null&&!t&&Xa(n,this._lView),If(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=lo(this._lView),r=this._lView[Et];r!==null&&!n&&wf(r,this._lView),ms(this._lView)}},wo=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=fI;let e=t;return e})(),uI=wo,dI=class extends uI{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=En(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _t(o)}};function fI(){return ci(V(),g())}function ci(e,t){return e.type&4?new dI(t,e,gn(e,t)):null}var pI=new RegExp(`^(\\d+)*(${ef}|${Xd})*(.*)`);function hI(e){let t=e.match(pI),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function mI(e){return!e.prev&&e.parent?.type===8}function Zi(e){return e.index-A}function gI(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function li(e,t,n,r){let o=Zi(r),i=gI(e,o);if(i===void 0){let s=e.data[Ev];if(s?.[o])i=yI(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(mI(r)){let l=Zi(r.parent);i=Cs(e,l)}else{let l=ue(c,n);if(a)i=l.firstChild;else{let u=Zi(c),d=Cs(e,u);if(c.type===2&&d){let f=Qa(e,u)+1;i=ui(f,d)}else i=l.nextSibling}}}}return i}function ui(e,t){let n=t;for(let r=0;r0&&(i.firstChild=e,e=ui(r[vo],e)),n.push(i)}return[e,n]}var Jf=()=>null;function MI(e,t){let n=e[Gn];return!t||n===null||n.length===0?null:n[0].data[wv]===t?n.shift():(Zf(e),null)}function _I(){Jf=MI}function Tt(e,t){return Jf(e,t)}var sn=class{},Kf=new P("",{providedIn:"root",factory:()=>!1});var Xf=new P(""),Vs=class{},Do=class{};function TI(e){let t=Error(`No component factory found for ${le(e)}.`);return t[NI]=e,t}var NI="ngComponent";var Hs=class{resolveComponentFactory(t){throw TI(t)}},Nc=class Nc{};Nc.NULL=new Hs;var an=Nc,bo=class{},gA=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>SI();let e=t;return e})();function SI(){let e=g(),t=V(),n=it(t.index,e);return(Te(n)?n:e)[O]}var OI=(()=>{let t=class t{};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Yi={};var su=new Set;function Pe(e){su.has(e)||(su.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function ep(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof xe.requestAnimationFrame=="function"&&xe.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function au(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function cu(...e){}var X=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Be(!1),this.onMicrotaskEmpty=new Be(!1),this.onStable=new Be(!1),this.onError=new Be(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,RI(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,AI,cu,cu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},AI={};function dc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function kI(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{ep(()=>{e.callbackScheduled=!1,$s(e),e.isCheckStableRunning=!0,dc(e),e.isCheckStableRunning=!1})}),$s(e))}function RI(e){let t=()=>{kI(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(PI(a))return n.invokeTask(o,i,s,a);try{return lu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),uu(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return lu(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!LI(a)&&t(),uu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,$s(e),dc(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function $s(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function lu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function uu(e){e._nesting--,dc(e)}var Bs=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Be,this.onMicrotaskEmpty=new Be,this.onStable=new Be,this.onError=new Be}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function PI(e){return tp(e,"__ignore_ng_zone__")}function LI(e){return tp(e,"__scheduler_tick__")}function tp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var yt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(yt||{}),np={destroy(){}};function du(e,t){let n=t?.injector??D(Ae);if(!t?.runOnServer&&!_e(n))return;n.get(or).internalCallbacks.push(e)}function FI(e,t){!t&&Aa(FI);let n=t?.injector??D(Ae);if(!_e(n))return np;Pe("NgAfterRender");let r=n.get(or),o=r.handler??=new Co,i=t?.phase??yt.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(mn).onDestroy(s),c=ud(n,()=>new xo(i,e));return o.register(c),{destroy:s}}function jI(e,t){!t&&Aa(jI);let n=t?.injector??D(Ae);if(!_e(n))return np;Pe("NgAfterNextRender");let r=n.get(or),o=r.handler??=new Co,i=t?.phase??yt.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(mn).onDestroy(s),c=ud(n,()=>new xo(i,()=>{s(),e()}));return o.register(c),{destroy:s}}var xo=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=D(X),this.errorHandler=D(Qe,{optional:!0}),D(sn,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Co=class{constructor(){this.executingCallbacks=!1,this.buckets={[yt.EarlyRead]:new Set,[yt.Write]:new Set,[yt.MixedReadWrite]:new Set,[yt.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},or=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Mo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&_f(e,n,i.join(" "))}}function WI(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=zI;let e=t;return e})();function zI(){let e=V();return op(e,g())}var QI=fc,rp=class extends QI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return gn(this._hostTNode,this._hostLView)}get injector(){return new It(this._hostTNode,this._hostLView)}get parentInjector(){let t=qa(this._hostTNode,this._hostLView);if(Rd(t)){let n=fo(t,this._hostLView),r=uo(t),o=n[I].data[r+8];return new It(o,n)}else return new It(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-G}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Tt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Mt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!gg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new cn(Ne(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?l:this.parentInjector).get(qe,null);m&&(i=m)}let u=Ne(c.componentType??{}),d=Tt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Mt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(xg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[z],l=new rp(c,c[ae],c[z]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Dn(s,o,i,r),t.attachToViewContainerRef(),Zu(Ji(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Qn(this._lContainer,n);r&&(oo(Ji(this._lContainer),n),ei(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Qn(this._lContainer,n);return r&&oo(Ji(this._lContainer),n)!=null?new _t(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pu(e){return e[ao]}function Ji(e){return e[ao]||(e[ao]=[])}function op(e,t){let n,r=t[e.index];return ke(r)?n=r:(n=Ff(r,t,null,e),t[e.index]=n,ii(t,n)),ip(n,t,e,r),new rp(n,e,t)}function ZI(e,t){let n=e[O],r=n.createComment(""),o=ue(t,e),i=ec(n,o);return yo(n,i,r,gy(n,o),!1),r}var ip=ap,pc=()=>!1;function sp(e,t,n){return pc(e,t,n)}function ap(e,t,n,r){if(e[Ge])return;let o;n.type&8?o=Ie(r):o=ZI(t,n),e[Ge]=o}function YI(e,t,n){if(e[Ge]&&e[Gn])return!0;let r=n[pe],o=t.index-A;if(!r||av(t)||Jo(r,o))return!1;let s=Cs(r,o),a=r.data[Ga]?.[o],[c,l]=CI(s,a);return e[Ge]=c,e[Gn]=l,!0}function JI(e,t,n,r){pc(e,n,t)||ap(e,t,n,r)}function KI(){ip=JI,pc=YI}var qs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ws=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=G;dt.trim())}function fp(e,t,n){e.queries===null&&(e.queries=new Gs),e.queries.track(new zs(t,n))}function ow(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function mc(e,t){return e.queries.getByIndex(t)}function pp(e,t){let n=e[I],r=mc(n,t);return r.crossesNgTemplate?Qs(n,e,t,[]):cp(n,e,r,t)}function iw(e){return typeof e=="function"&&e[re]!==void 0}function sw(e,t){Pe("NgSignals");let n=Tl(e),r=n[re];return t?.equal&&(r.equal=t.equal),n.set=o=>Ln(r,o),n.update=o=>Nl(r,o),n.asReadonly=hp.bind(n),n}function hp(){let e=this[re];if(e.readonlyFn===void 0){let t=()=>this();t[re]=e,e.readonlyFn=t}return e.readonlyFn}function mp(e){return iw(e)&&typeof e.set=="function"}function gc(e,t){let n,r=Hi(()=>{n._dirtyCounter();let o=lw(n,e);if(t&&o===void 0)throw new C(-951,!1);return o});return n=r[re],n._dirtyCounter=sw(0),n._flatValue=void 0,r}function aw(){return gc(!0,!1)}function cw(){return gc(!0,!0)}function gp(){return gc(!1,!1)}function vp(e,t){let n=e[re];n._lView=g(),n._queryIndex=t,n._queryList=hc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function lw(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:J;let o=hc(n,r),i=pp(n,r);return o.reset(i,Wd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function yA(e,t){return gp()}function hu(e,t){return aw()}function uw(e,t){return cw()}var IA=(hu.required=uw,hu);function wA(e,t){return gp()}function yp(e){let t=Object.create(Fu),n=new mo;t.value=e;function r(){return Rn(t),mu(t.value),t.value}return r[re]=t,r.asReadonly=hp.bind(r),r.set=o=>{t.equal(t.value,o)||(Ln(t,o),n.emit(o))},r.update=o=>{mu(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function mu(e){if(e===Fo)throw new C(-952,!1)}function gu(e){return yp(e)}function dw(){return yp(Fo)}var EA=(gu.required=dw,gu);function fw(e){return Object.getPrototypeOf(e.prototype).constructor}function pw(e){let t=fw(e.type),n=!0,r=[e];for(;t;){let o;if(ze(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Wr(e.inputs),s.inputTransforms=Wr(e.inputTransforms),s.declaredInputs=Wr(e.declaredInputs),s.outputs=Wr(e.outputs);let a=o.hostBindings;a&&yw(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&gw(e,c),l&&vw(e,l),hw(e,o),ym(e.outputs,o.outputs),ze(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Un(o.hostAttrs,n=Un(n,o.hostAttrs))}}function Wr(e){return e===Ue?{}:e===J?[]:e}function gw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function vw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function yw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function DA(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:Q(o),inputs:Ue,outputs:Ue}:{directive:Q(o.directive),inputs:vu(o.inputs),outputs:vu(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=Ip,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function Ip(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=Ho(r.directive);Iw(o.declaredInputs,r.inputs),Ip(o,t,n),n.set(o,r),t.push(o)}}function vu(e){if(e===void 0||e.length===0)return Ue;let t={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Js=class extends Zs{constructor(t){super(),this.moduleType=t}create(t){return new Ys(this.moduleType,t,[])}};var So=class extends Nt{constructor(t){super(),this.componentFactoryResolver=new _o(this),this.instance=null;let n=new qn([...t.providers,{provide:Nt,useValue:this},{provide:an,useValue:this.componentFactoryResolver}],t.parent||Oa(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function wp(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ww=(()=>{let t=class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(r,o,i,s){if(!this.cachedInjectors.has(r)){let a=i.length>0?wp(i,o,s):null;this.cachedInjectors.set(r,a)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t});let e=t;return e})();function Ep(e){return vc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Ew(e,t){if(Array.isArray(e))for(let n=0;n{for(let t of this.callbacks)t()}}};function Ow(e,t,n){let r=n.get(X),o=Qt.get(e);return Zt=Zt||r.runOutsideAngular(()=>new IntersectionObserver(i=>{for(let s of i)s.isIntersecting&&Qt.has(s.target)&&r.run(Qt.get(s.target).listener)})),o||(o=new ea,r.runOutsideAngular(()=>Zt.observe(e)),Qt.set(e,o),Ki++),o.callbacks.add(t),()=>{Qt.has(e)&&(o.callbacks.delete(t),o.callbacks.size===0&&(Zt?.unobserve(e),Qt.delete(e),Ki--),Ki===0&&(Zt?.disconnect(),Zt=null))}}function Aw(e,t,n){return n==null?e:n>=0?wd(n,e):e[t.index][G]??null}function kw(e,t){return Pa(A+t,e)}function Rw(e,t,n,r,o,i,s){let a=e[ee];function c(){if(ps(e))return;let l=sr(e,t),u=l[Ec];if(u!==wc.Initial&&u!==H.Placeholder)return;let d=Aw(e,t,r);if(!d){du(c,{injector:a});return}if(ps(d))return;let p=kw(d,n),f=o(p,()=>{e!==d&&Fa(d,f),i()},a);e!==d&&Wo(d,f),Dc(s,l,f)}du(c,{injector:a})}function Pw(e,t){let r=t[ee].get(jw),o=()=>r.remove(e);return r.add(e),o}var Lw=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,Fw=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,jw=(()=>{let t=class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=D(X),this.requestIdleCallbackFn=Lw().bind(globalThis),this.cancelIdleCallbackFn=Fw().bind(globalThis)}add(r){(this.executingCallbacks?this.deferred:this.current).add(r),this.idleId===null&&this.scheduleIdleCallback()}remove(r){let{current:o,deferred:i}=this;o.delete(r),i.delete(r),o.size===0&&i.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let r=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let o of this.current)o();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let o of this.deferred)this.current.add(o);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(r))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Vw(e,t,n){let o=n[ee].get(Hw),i=()=>o.remove(t);return o.add(e,t),i}var Hw=(()=>{let t=class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(r,o){let i=this.executingCallbacks?this.deferred:this.current;this.addToQueue(i,Date.now()+r,o),this.scheduleTimer()}remove(r){let{current:o,deferred:i}=this;this.removeFromQueue(o,r)===-1&&this.removeFromQueue(i,r),o.length===0&&i.length===0&&this.clearTimeout()}addToQueue(r,o,i){let s=r.length;for(let a=0;ao){s=a;break}Yu(r,s,o,i)}removeFromQueue(r,o){let i=-1;for(let s=0;s-1&&Ll(r,i,2),i}scheduleTimer(){let r=()=>{this.clearTimeout(),this.executingCallbacks=!0;let i=[...this.current],s=Date.now();for(let c=0;c=0&&Ll(this.current,0,a+1),this.executingCallbacks=!1,this.deferred.length>0){for(let c=0;c0){let i=Date.now(),s=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-s>16){this.clearTimeout();let a=Math.max(s-i,16);this.invokeTimerAt=s,this.timeoutId=setTimeout(r,a)}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var $w=new P("");function Np(e){return e.get($w,null,{optional:!0})?.behavior===Mp.Manual?!1:_e(e)}var ta=null;function xA(e,t,n,r){let o=e.consts;n!=null&&(t.placeholderBlockConfig=Oe(o,n)),r!=null&&(t.loadingBlockConfig=Oe(o,r)),ta===null&&(ta=Ww)}function CA(e,t,n,r,o,i,s,a,c){let l=g(),u=k(),d=e+A,p=Zn(l,u,e,null,0,0);if(u.firstCreatePass){Pe("NgDefer");let M={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ie.NOT_STARTED,loadingPromise:null,providers:null};c?.(u,M,a,s),Tw(u,d,M)}let f=l[d];sp(f,p,l);let h=[null,wc.Initial,null,null,null,null];_w(l,d,h);let m=()=>_p(h);Dc(0,h,()=>Fa(l,m)),Wo(l,m)}function MA(){Bw(Pw)}function _A(){let e=g(),t=V(),n=e[I],r=e[ee],o=xn(n,t);(!Np(r)||o.loadingTmplIndex===null)&&bc(e,t),xc(e,t)}function TA(e,t){let n=g(),r=V();bc(n,r),Rw(n,r,e,t,Ow,()=>xc(n,r),0)}function Bw(e){let t=g(),n=V();if(bc(t,n),_e(t[ee])){let r=e(()=>xc(t,n),t),o=sr(t,n);Dc(0,o,r)}}function tt(e,t,n,r=!1){let o=n[z],i=o[I];if(ps(o))return;let s=sr(o,t),a=s[Ec];if(Eu(a,e)&&Eu(s[tn]??-1,e)){let c=o[ee],l=xn(i,t),d=!r&&_e(c)&&(Tp(l)!==null||Xs(l,H.Loading)!==null||Xs(l,H.Placeholder))?ta:Sp;try{d(e,s,n,t,o)}catch(p){si(o,p)}}}function Uw(e){return e instanceof To&&typeof e.injector.__ngOutletInjector=="function"}function qw(e,t){return e.injector.__ngOutletInjector(t)}function Sp(e,t,n,r,o){let i=Nw(e,o,r);if(i!==null){t[Ec]=e;let s=o[I],a=i+A,c=tr(s,a),l=0;uc(n,l);let u;if(e===H.Complete){let f=xn(s,r),h=f.providers;if(h&&h.length>0){let m=o[ee],M=Uw(m),x=M?m:m.get(qe);u=x.get(ww).getOrCreateInjector(f,x,h,""),M&&(u=qw(m,u))}}let d=Tt(n,c.tView.ssrId),p=En(o,c,null,{dehydratedView:d,injector:u});Dn(n,p,l,Mt(c,d)),ai(p,2)}}function Ww(e,t,n,r,o){let i=Date.now(),s=o[I],a=xn(s,r);if(t[Fn]===null||t[Fn]<=i){t[Fn]=null;let c=Tp(a),l=t[Gr]!==null;if(e===H.Loading&&c!==null&&!l){t[tn]=e;let u=wu(c,t,r,n,o);t[Gr]=u}else{e>H.Loading&&l&&(t[Gr](),t[Gr]=null,t[tn]=null),Sp(e,t,n,r,o);let u=Xs(a,e);u!==null&&(t[Fn]=i+u,wu(u,t,r,n,o))}}else t[tn]=e}function wu(e,t,n,r,o){return Vw(e,()=>{let s=t[tn];t[Fn]=null,t[tn]=null,s!==null&&tt(s,n,r)},o)}function Eu(e,t){return e{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let m=h.value,M=Ne(m)||Ho(m);if(M)p.push(M);else{let x=Ta(m);x&&f.push(x)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=ie.FAILED,e.errorTmplIndex===null){let h=oy(t),m=new C(750,!1);si(t,m)}}else{e.loadingState=ie.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Iu(h.directiveRegistry,p);let m=p.map(x=>x.type),M=Na(!1,...m);e.providers=M}f.length>0&&(h.pipeRegistry=Iu(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ie.COMPLETE,c.remove(l)}),e.loadingPromise)}function bc(e,t){let n=e[t.index];tt(H.Placeholder,t,n)}function Du(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ie.COMPLETE?tt(H.Complete,t,n):e.loadingState===ie.FAILED&&tt(H.Error,t,n)})}function xc(e,t){let n=e[I],r=e[t.index],o=e[ee];if(!Np(o))return;let i=sr(e,t),s=xn(n,t);switch(_p(i),s.loadingState){case ie.NOT_STARTED:tt(H.Loading,t,r),Gw(s,e,t),s.loadingState===ie.IN_PROGRESS&&Du(s,t,r);break;case ie.IN_PROGRESS:tt(H.Loading,t,r),Du(s,t,r);break;case ie.COMPLETE:tt(H.Complete,t,r);break;case ie.FAILED:tt(H.Error,t,r);break;default:}}function zw(e,t,n,r){let o=g(),i=st();if(Y(o,i,t)){let s=k(),a=kt();Wy(a,o,e,t,n,r)}return zw}function Qw(e,t){let n=!1,r=hn();for(let i=1;i>17&32767}function Xw(e){return(e&2)==2}function eE(e,t){return e&131071|t<<17}function na(e){return e|2}function un(e){return(e&131068)>>2}function Xi(e,t){return e&-131069|t<<2}function tE(e){return(e&1)===1}function ra(e){return e|1}function nE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=St(s),c=un(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Xn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=St(e[a+1]);e[r+1]=zr(p,a),p!==0&&(e[p+1]=Xi(e[p+1],r)),e[a+1]=eE(e[a+1],r)}else e[r+1]=zr(a,0),a!==0&&(e[a+1]=Xi(e[a+1],r)),a=r;else e[r+1]=zr(c,0),a===0?a=r:e[c+1]=Xi(e[c+1],r),c=r;l&&(e[r+1]=na(e[r+1])),bu(e,u,r,!0),bu(e,u,r,!1),rE(t,u,e,r,i),s=zr(a,c),i?t.classBindings=s:t.styleBindings=s}function rE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Xn(i,t)>=0&&(n[r+1]=ra(n[r+1]))}function bu(e,t,n,r){let o=e[n+1],i=t===null,s=r?St(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];oE(c,t)&&(a=!0,e[s+1]=r?ra(l):na(l)),s=r?St(l):un(l)}a&&(e[n+1]=r?na(o):ra(o))}function oE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Xn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ap(e){return e.substring(q.key,q.keyEnd)}function iE(e){return e.substring(q.value,q.valueEnd)}function sE(e){return Pp(e),kp(e,dn(e,0,q.textEnd))}function kp(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=cE(e,q.key=t,n),dn(e,t,n))}function aE(e){return Pp(e),Rp(e,dn(e,0,q.textEnd))}function Rp(e,t){let n=q.textEnd,r=q.key=dn(e,t,n);return n===r?-1:(r=q.keyEnd=lE(e,r,n),r=xu(e,r,n,58),r=q.value=dn(e,r,n),r=q.valueEnd=uE(e,r,n),xu(e,r,n,59))}function Pp(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function dn(e,t,n){for(;t32;)t++;return t}function lE(e,t,n){let r;for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function xu(e,t,n,r){return t=dn(e,t,n),t32&&(a=s),i=o,o=r,r=c&-33}return a}function Cu(e,t,n,r){let o=-1,i=n;for(;i=0;n=Rp(t,n))Hp(e,Ap(t),iE(t))}function SA(e){Mc(wE,Lp,e,!0)}function Lp(e,t){for(let n=sE(t);n>=0;n=kp(t,n))Kn(e,Ap(t),!0)}function Fp(e,t,n,r){let o=g(),i=k(),s=At(2);if(i.firstUpdatePass&&Vp(i,e,s,r),t!==F&&Y(o,s,t)){let a=i.data[ce()];$p(i,a,o,o[O],e,o[s+1]=DE(t,n),r,s)}}function Mc(e,t,n,r){let o=k(),i=At(2);o.firstUpdatePass&&Vp(o,null,i,r);let s=g();if(n!==F&&Y(s,i,n)){let a=o.data[ce()];if(Bp(a,r)&&!jp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=is(c,n||"")),oa(o,a,s,n,r)}else EE(o,a,s,s[O],s[i+1],s[i+1]=IE(e,t,n),r,i)}}function jp(e,t){return t>=e.expandoStartIndex}function Vp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ce()],s=jp(e,n);Bp(i,r)&&t===null&&!s&&(t=!1),t=mE(o,i,t,r),nE(o,i,t,n,s,r)}}function mE(e,t,n,r){let o=Ha(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=es(null,e,t,n,r),n=Yn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=es(o,e,t,n,r),i===null){let c=gE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=es(null,e,t,c[1],r),c=Yn(c,t.attrs,r),vE(e,t,r,c))}else i=yE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[St(r)]}function vE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[St(o)]=r}function yE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===F&&(p=d?J:void 0);let f=d?Bi(p,r):u===r?p:void 0;if(l&&!Oo(f)&&(f=Bi(c,r)),Oo(f)&&(a=f,s))return a;let h=e[o+1];o=s?St(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Bi(c,r))}return a}function Oo(e){return e!==void 0}function DE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=le(yn(e)))),e}function Bp(e,t){return(e.flags&(t?8:16))!==0}function OA(e,t,n){let r=g(),o=Cc(r,e,t,n);Mc(Kn,Lp,o,!0)}var ia=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ts(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function bE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=ts(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=ts(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,l),M=n(s,p),x=n(i,u);if(Object.is(x,M)){let W=n(c,f);Object.is(W,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Ao,o??=Tu(e,i,s,n),sa(e,r,i,x))e.updateValue(i,u),i++,s++;else if(o.has(x))r.set(m,e.detach(i)),s--;else{let W=e.create(i,t[i]);e.attach(i,W),i++,s++}}for(;i<=c;)_u(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=ts(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Ao,o??=Tu(e,i,s,n);let f=n(i,d);if(sa(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)_u(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function sa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function _u(e,t,n,r,o){if(sa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Tu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ao=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function AA(e,t){Pe("NgControlFlow");let n=g(),r=st(),o=n[r]!==F?n[r]:-1,i=o!==-1?ko(n,A+o):void 0,s=0;if(Y(n,r,e)){let a=_(null);try{if(i!==void 0&&uc(i,s),e!==-1){let c=A+e,l=ko(n,c),u=ua(n[I],c),d=Tt(l,u.tView.ssrId),p=En(n,u,t,{dehydratedView:d});Dn(l,p,s,Mt(u,d))}}finally{_(a)}}else if(i!==void 0){let a=Bf(i,s);a!==void 0&&(a[Z]=t)}}var aa=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-G}};function kA(e){return e}function RA(e,t){return t}var ca=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function PA(e,t,n,r,o,i,s,a,c,l,u,d,p){Pe("NgControlFlow");let f=g(),h=k(),m=c!==void 0,M=g(),x=a?s.bind(M[K][Z]):s,W=new ca(m,x);M[A+e]=W,Zn(f,h,e+1,t,n,r,o,Oe(h.consts,i)),m&&Zn(f,h,e+2,c,l,u,d,Oe(h.consts,p))}var la=class extends ia{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-G}at(t){return this.getLView(t)[Z].$implicit}attach(t,n){let r=n[pe];this.needsIndexUpdate||=t!==this.length,Dn(this.lContainer,n,t,Mt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xE(this.lContainer,t)}create(t,n){let r=Tt(this.lContainer,this.templateTNode.tView.ssrId),o=En(this.hostLView,this.templateTNode,new aa(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ei(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Z].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(at(!0),Ka(r,o,Od()));function TE(e,t,n,r,o,i){let s=t[pe],a=!s||pn()||ir(n)||Jo(s,i);if(at(a),a)return Ka(r,o,Od());let c=li(s,e,t,n);return sf(s,i)&&Yo(s,i,c.nextSibling),s&&(Gd(n)||zd(c))&&er(n)&&(Ng(n),Cf(c)),c}function NE(){Wp=TE}function SE(e,t,n,r,o){let i=t.consts,s=Oe(i,r),a=In(t,e,8,"ng-container",s);s!==null&&Mo(a,s,!0);let c=Oe(i,o);return ac(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Gp(e,t,n){let r=g(),o=k(),i=e+A,s=o.firstCreatePass?SE(i,o,r,t,n):o.data[i];Ot(s,!0);let a=Qp(o,r,s,e);return r[i]=a,zo()&&ti(o,r,a,s),ot(a,r),Bo(s)&&(oc(o,r,s),rc(o,s,r)),n!=null&&ic(r,s),Gp}function zp(){let e=V(),t=k();return ja()?Va():(e=e.parent,Ot(e,!1)),t.firstCreatePass&&(Qo(t,e),Ra(e)&&t.queries.elementEnd(e)),zp}function OE(e,t,n){return Gp(e,t,n),zp(),OE}var Qp=(e,t,n,r)=>(at(!0),yf(t[O],""));function AE(e,t,n,r){let o,i=t[pe],s=!i||pn()||ir(n);if(at(s),s)return yf(t[O],"");let a=li(i,e,t,n),c=Nv(i,r);return Yo(i,r,a),o=ui(c,a),o}function kE(){Qp=AE}function FA(){return g()}function RE(e,t,n){let r=g(),o=st();if(Y(r,o,t)){let i=k(),s=kt();wn(i,s,r,e,t,r[O],n,!0)}return RE}function PE(e,t,n){let r=g(),o=st();if(Y(r,o,t)){let i=k(),s=kt(),a=Ha(i.data),c=$f(a,s,r);wn(i,s,r,e,t,c,n,!0)}return PE}var gt=void 0;function LE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var FE=["en",[["a","p"],["AM","PM"],gt],[["AM","PM"],gt,gt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],gt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],gt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",gt,"{1} 'at' {0}",gt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",LE],Vn={};function jA(e,t,n){typeof t!="string"&&(n=t,t=e[Ro.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Vn[t]=e,n&&(Vn[t][Ro.ExtraData]=n)}function jE(e){let t=VE(e),n=Nu(t);if(n)return n;let r=t.split("-")[0];if(n=Nu(r),n)return n;if(r==="en")return FE;throw new C(701,!1)}function VA(e){return jE(e)[Ro.PluralCase]}function Nu(e){return e in Vn||(Vn[e]=xe.ng&&xe.ng.common&&xe.ng.common.locales&&xe.ng.common.locales[e]),Vn[e]}var Ro=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ro||{});function VE(e){return e.toLowerCase().replace(/_/g,"-")}var Po="en-US";var HE=Po;function $E(e){typeof e=="string"&&(HE=e.toLowerCase().replace(/_/g,"-"))}var BE=(e,t,n)=>{};function UE(e,t,n,r){let o=g(),i=k(),s=V();return _c(i,o,o[O],s,e,t,r),UE}function qE(e,t){let n=V(),r=g(),o=k(),i=Ha(o.data),s=$f(i,n,r);return _c(o,r,s,n,e,t),qE}function WE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function _c(e,t,n,r,o,i,s){let a=Bo(r),l=e.firstCreatePass&&Hf(e),u=t[Z],d=Vf(t),p=!0;if(r.type&3||s){let m=ue(r,t),M=s?s(m):m,x=d.length,W=s?Le=>s(Ie(Le[r.index])):r.index,te=null;if(!s&&a&&(te=WE(e,t,o,r.index)),te!==null){let Le=te.__ngLastListenerFn__||te;Le.__ngNextListenerFn__=i,te.__ngLastListenerFn__=i,p=!1}else{i=Ou(r,t,u,i),BE(m,o,i);let Le=n.listen(M,o,i);d.push(i,Le),l&&l.push(o,W,x,x+1)}}else i=Ou(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let m=h.length;if(m)for(let M=0;M-1?it(e.index,t):t;ai(s,5);let a=Su(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Su(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function HA(e=1){return Fg(e)}function GE(e,t){let n=null,r=zm(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function YA(e){let t=Ag();return Uo(t,A+e)}function JA(e,t=""){let n=g(),r=k(),o=e+A,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=Yp(r,n,i,t,e);n[o]=s,zo()&&ti(r,n,s,i),Ot(i,!1)}var Yp=(e,t,n,r,o)=>(at(!0),vf(t[O],r));function JE(e,t,n,r,o){let i=t[pe],s=!i||pn()||ir(n)||Jo(i,o);return at(s),s?vf(t[O],r):li(i,e,t,n)}function KE(){Yp=JE}function XE(e){return Jp("",e,""),XE}function Jp(e,t,n){let r=g(),o=Cc(r,e,t,n);return o!==F&&Rt(r,ce(),o),Jp}function eD(e,t,n,r,o){let i=g(),s=Op(i,e,t,n,r,o);return s!==F&&Rt(i,ce(),s),eD}function tD(e,t,n,r,o,i,s){let a=g(),c=Zw(a,e,t,n,r,o,i,s);return c!==F&&Rt(a,ce(),c),tD}function nD(e,t,n,r,o,i,s,a,c){let l=g(),u=Yw(l,e,t,n,r,o,i,s,a,c);return u!==F&&Rt(l,ce(),u),nD}function rD(e,t,n,r,o,i,s,a,c,l,u){let d=g(),p=Jw(d,e,t,n,r,o,i,s,a,c,l,u);return p!==F&&Rt(d,ce(),p),rD}function oD(e,t,n,r,o,i,s,a,c,l,u,d,p){let f=g(),h=Kw(f,e,t,n,r,o,i,s,a,c,l,u,d,p);return h!==F&&Rt(f,ce(),h),oD}function iD(e){let t=g(),n=Qw(t,e);return n!==F&&Rt(t,ce(),n),iD}function sD(e,t,n){mp(t)&&(t=t());let r=g(),o=st();if(Y(r,o,t)){let i=k(),s=kt();wn(i,s,r,e,t,r[O],n,!1)}return sD}function KA(e,t){let n=mp(e);return n&&e.set(t),n}function aD(e,t){let n=g(),r=k(),o=V();return _c(r,n,n[O],o,e,t),aD}function cD(e,t,n){let r=k();if(r.firstCreatePass){let o=ze(e);da(n,r.data,r.blueprint,o,!0),da(t,r.data,r.blueprint,o,!1)}}function da(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i>20;if(rn(e)||!e.multi){let f=new xt(l,o,ri),h=rs(c,t,o?u:u+p,d);h===-1?(ys(ho(a,s),i,c),ns(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=rs(c,t,u+p,d),h=rs(c,t,u,u+p),m=f>=0&&n[f],M=h>=0&&n[h];if(o&&!M||!o&&!m){ys(ho(a,s),i,c);let x=dD(o?uD:lD,n.length,o,r,l);!o&&M&&(n[h].providerFactory=x),ns(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=Kp(n[o?h:f],l,!o&&r);ns(i,e,f>-1?f:h,x)}!o&&r&&M&&n[h].componentProviders++}}}function ns(e,t,n,r){let o=rn(t),i=lg(t);if(o||i){let c=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Kp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function rs(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>cD(r,o?o(e):e,t)}}var fD=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Na(!1,r.type),i=o.length>0?wp([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(rt(qe))});let e=t;return e})();function ek(e){Pe("NgStandalone"),e.getStandaloneInjector=t=>t.get(fD).getOrCreateStandaloneInjector(e)}function tk(e,t,n){let r=Re()+e,o=g();return o[r]===F?Pt(o,r,n?t.call(n):t()):yc(o,r)}function nk(e,t,n,r){return Xp(g(),Re(),e,t,n,r)}function rk(e,t,n,r,o){return eh(g(),Re(),e,t,n,r,o)}function ok(e,t,n,r,o,i){return th(g(),Re(),e,t,n,r,o,i)}function ik(e,t,n,r,o,i,s){return pD(g(),Re(),e,t,n,r,o,i,s)}function sk(e,t,n,r,o,i,s,a){let c=Re()+e,l=g(),u=bn(l,c,n,r,o,i);return Y(l,c+4,s)||u?Pt(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):yc(l,c+5)}function ak(e,t,n,r,o,i,s,a,c,l){let u=Re()+e,d=g(),p=bn(d,u,n,r,o,i);return Ic(d,u+4,s,a,c)||p?Pt(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):yc(d,u+7)}function fi(e,t){let n=e[t];return n===F?void 0:n}function Xp(e,t,n,r,o,i){let s=t+n;return Y(e,s,o)?Pt(e,s+1,i?r.call(i,o):r(o)):fi(e,s+1)}function eh(e,t,n,r,o,i,s){let a=t+n;return ln(e,a,o,i)?Pt(e,a+2,s?r.call(s,o,i):r(o,i)):fi(e,a+2)}function th(e,t,n,r,o,i,s,a){let c=t+n;return Ic(e,c,o,i,s)?Pt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):fi(e,c+3)}function pD(e,t,n,r,o,i,s,a,c){let l=t+n;return bn(e,l,o,i,s,a)?Pt(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):fi(e,l+4)}function ck(e,t){let n=k(),r,o=e+A;n.firstCreatePass?(r=hD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=wt(r.type,!0)),s,a=oe(ri);try{let c=po(!1),l=i();return po(c),YE(n,g(),o,l),l}finally{oe(a)}}function hD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function lk(e,t,n){let r=e+A,o=g(),i=Uo(o,r);return Tc(o,r)?Xp(o,Re(),t,i.transform,n,i):i.transform(n)}function uk(e,t,n,r){let o=e+A,i=g(),s=Uo(i,o);return Tc(i,o)?eh(i,Re(),t,s.transform,n,r,s):s.transform(n,r)}function dk(e,t,n,r,o){let i=e+A,s=g(),a=Uo(s,i);return Tc(s,i)?th(s,Re(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Tc(e,t){return e[I].data[t].pure}function fk(e,t){return ci(e,t)}var pk=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var mD=new P("");function nh(e){return!!e&&typeof e.then=="function"}function gD(e){return!!e&&typeof e.subscribe=="function"}var vD=new P(""),rh=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=D(vD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(nh(s))r.push(s);else if(gD(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),oh=new P("");function yD(){_l(()=>{throw new C(600,!1)})}function ID(e){return e.isBoundToModule}var wD=10;function ED(e,t,n){try{let r=n();return nh(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var pi=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(qd),this.afterRenderEffectManager=D(or),this.zonelessEnabled=D(Kf),this.externalTestViews=new Set,this.beforeRender=new de,this.afterTick=new de,this.componentTypes=[],this.components=[],this.isStable=D(vn).hasPendingTasks.pipe(be(r=>!r)),this._injector=D(qe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Do;if(!this._injector.get(rh).done){let f=!i&&ng(r),h=!1;throw new C(405,h)}let a;i?a=r:a=this._injector.get(an).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=ID(a)?void 0:this._injector.get(Nt),l=o||a.selector,u=a.create(Ae.NULL,[],l,c),d=u.location.nativeElement,p=u.injector.get(mD,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),os(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new C(101,!1);let o=_(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,_(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(bo,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;izn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>zn(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;os(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(oh,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>os(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new C(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function os(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Qr;function DD(e){Qr??=new WeakMap;let t=Qr.get(e);if(t)return t;let n=e.isStable.pipe(Mi(r=>r)).toPromise().then(()=>{});return Qr.set(e,n),e.onDestroy(()=>Qr?.delete(e)),n}function bD(e,t,n,r){if(!n&&!zn(e))return;Wf(e,t,n&&!r?0:1)}var pa=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},hk=(()=>{let t=class t{compileModuleSync(r){return new Js(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=rd(r),s=gf(i.declarations).reduce((a,c)=>{let l=Ne(c);return l&&a.push(new cn(l)),a},[]);return new pa(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var xD=(()=>{let t=class t{constructor(){this.zone=D(X),this.changeDetectionScheduler=D(sn),this.applicationRef=D(pi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function CD({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new X(_D()),[{provide:X,useFactory:e},{provide:$n,multi:!0,useFactory:()=>{let n=D(xD,{optional:!0});return()=>n.initialize()}},{provide:$n,multi:!0,useFactory:()=>{let n=D(TD);return()=>{n.initialize()}}},{provide:qd,useFactory:MD},t===!0?{provide:Xf,useValue:!0}:[]]}function MD(){let e=D(X),t=D(Qe);return n=>e.runOutsideAngular(()=>t.handleError(n))}function _D(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var TD=(()=>{let t=class t{constructor(){this.subscription=new j,this.initialized=!1,this.zone=D(X),this.pendingTasks=D(vn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ND=(()=>{let t=class t{constructor(){this.appRef=D(pi),this.taskService=D(vn),this.ngZone=D(X),this.zonelessEnabled=D(Kf),this.disableScheduling=D(Xf,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new j,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Bs||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?au:ep;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&X.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,au(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function SD(){return typeof $localize<"u"&&$localize.locale||Po}var ih=new P("",{providedIn:"root",factory:()=>D(ih,S.Optional|S.SkipSelf)||SD()});var sh=new P("");var to=null;function OD(e=[],t){return Ae.create({name:t,providers:[{provide:cd,useValue:"platform"},{provide:sh,useValue:new Set([()=>to=null])},...e]})}function AD(e=[]){if(to)return to;let t=OD(e);return to=t,yD(),kD(t),t}function kD(e){e.get(hv,null)?.forEach(n=>n())}var RD=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=PD;let e=t;return e})();function PD(e){return LD(V(),g(),(e&16)===16)}function LD(e,t,n){if(er(e)&&!n){let r=it(e.index,t);return new _t(r,r)}else if(e.type&47){let r=t[K];return new _t(r,t)}return null}var ha=class{constructor(){}supports(t){return Ep(t)}create(t){return new ma(t)}},FD=(e,t)=>t,ma=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||FD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ga(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Lo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Lo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ga=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},va=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Lo=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new va,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Au(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new wa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},wa=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function ku(){return new jD([new ha])}var jD=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ku()),deps:[[t,new Qu,new zu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new C(901,!1)}};t.\u0275prov=$({token:t,providedIn:"root",factory:ku});let e=t;return e})();function Ru(){return new VD([new ya])}var VD=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Ru()),deps:[[t,new Qu,new zu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new C(901,!1)}};t.\u0275prov=$({token:t,providedIn:"root",factory:Ru});let e=t;return e})();function mk(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=AD(r),i=[CD({}),{provide:sn,useExisting:ND},...n||[]],a=new So({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(X);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Qe,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:f=>{l.handleError(f)}})});let d=()=>a.destroy(),p=o.get(sh);return p.add(d),a.onDestroy(()=>{u.unsubscribe(),p.delete(d)}),ED(l,c,()=>{let f=a.get(rh);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(ih,Po);$E(h||Po);let m=a.get(pi);return t!==void 0&&m.bootstrap(t),m})})})}catch(t){return Promise.reject(t)}}var Pu=!1;function HD(){Pu||(Pu=!0,Cv(),NE(),KE(),kE(),Cw(),KI(),_I(),Ny())}function $D(e,t){return DD(e)}function gk(){return og([{provide:$r,useFactory:()=>{let e=!0;return _e()&&(e=!!D(Wa,{optional:!0})?.get(rf,null)),e&&Pe("NgHydration"),e}},{provide:$n,useValue:()=>{wI(!1),_e()&&D($r)&&(BD(),HD())},multi:!0},{provide:cf,useFactory:()=>_e()&&D($r)},{provide:oh,useFactory:()=>{if(_e()&&D($r)){let e=D(pi),t=D(Ae);return()=>{$D(e,t).then(()=>{xI(e)})}}return()=>{}},multi:!0}])}function BD(){let e=nr(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===bv){t=n;break}if(!t)throw new C(-507,!1)}function vk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function yk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ik(e,t){Pe("NgSignals");let n=Hi(e);return t?.equal&&(n[re].equal=t.equal),n}function wk(e){let t=_(null);try{return e()}finally{_(t)}}var UD=new P("",{providedIn:"root",factory:()=>D(qD)}),qD=(()=>{let t=class t{};t.\u0275prov=$({token:t,providedIn:"root",factory:()=>new Ea});let e=t;return e})(),Ea=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=D(vn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Da=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Sl(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Qe,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function WD(e,t){Pe("NgSignals"),!t?.injector&&Aa(WD);let n=t?.injector??D(Ae),r=t?.manualCleanup!==!0?n.get(mn):null,o=new Da(n.get(UD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(RD,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Yr]??=[]).push(o.watcher.notify),o}function Ek(e){let t=Ne(e);if(!t)return null;let n=new cn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{j as a,wi as b,T as c,Ti as d,Ni as e,de as f,Cn as g,Sn as h,Oh as i,Ah as j,$e as k,De as l,Eh as m,kh as n,Rh as o,ht as p,be as q,Bh as r,ge as s,Tn as t,Wt as u,Uh as v,qh as w,ki as x,pt as y,Dh as z,mt as A,Kh as B,ll as C,Xh as D,em as E,dl as F,Nn as G,qt as H,Ci as I,tm as J,Kc as K,nm as L,Mi as M,Li as N,rm as O,om as P,pl as Q,im as R,Ch as S,hl as T,Mh as U,tl as V,_h as W,sm as X,nl as Y,am as Z,cm as _,C as $,le as aa,Vu as ba,$ as ca,jO as da,VO as ea,P as fa,S as ga,rt as ha,D as ia,HO as ja,zu as ka,Qu as la,Bn as ma,$O as na,BO as oa,UO as pa,qO as qa,og as ra,ig as sa,cd as ta,qe as ua,ud as va,Aa as wa,vg as xa,WO as ya,GO as za,zO as Aa,QO as Ba,ZO as Ca,YO as Da,JO as Ea,KO as Fa,Ae as Ga,Qe as Ha,mn as Ia,XO as Ja,eA as Ka,Zo as La,vn as Ma,Be as Na,Ds as Oa,tA as Pa,fv as Qa,hv as Ra,Kd as Sa,nA as Ta,rA as Ua,mv as Va,oA as Wa,Wa as Xa,yn as Ya,Za,iA as _a,sA as $a,aA as ab,cA as bb,lA as cb,uf as db,Qv as eb,Xo as fb,uA as gb,Yv as hb,dA as ib,fA as jb,Rs as kb,pA as lb,ri as mb,hA as nb,wo as ob,sn as pb,bo as qb,gA as rb,Pe as sb,X as tb,yt as ub,FI as vb,jI as wb,fc as xb,iw as yb,sw as zb,yA as Ab,IA as Bb,wA as Cb,EA as Db,pw as Eb,DA as Fb,bA as Gb,Zs as Hb,wp as Ib,bw as Jb,xA as Kb,CA as Lb,MA as Mb,_A as Nb,TA as Ob,zw as Pb,dE as Qb,fE as Rb,pE as Sb,NA as Tb,SA as Ub,OA as Vb,AA as Wb,kA as Xb,RA as Yb,PA as Zb,LA as _b,Up as $b,qp as ac,_E as bc,Gp as cc,zp as dc,OE as ec,FA as fc,RE as gc,PE as hc,jA as ic,jE as jc,VA as kc,Ro as lc,UE as mc,qE as nc,HA as oc,$A as pc,BA as qc,QE as rc,ZE as sc,UA as tc,qA as uc,WA as vc,GA as wc,zA as xc,QA as yc,ZA as zc,YA as Ac,JA as Bc,XE as Cc,Jp as Dc,eD as Ec,tD as Fc,nD as Gc,rD as Hc,oD as Ic,iD as Jc,sD as Kc,KA as Lc,aD as Mc,XA as Nc,ek as Oc,tk as Pc,nk as Qc,rk as Rc,ok as Sc,ik as Tc,sk as Uc,ak as Vc,ck as Wc,lk as Xc,uk as Yc,dk as Zc,fk as _c,pk as $c,nh as ad,gD as bd,vD as cd,oh as dd,pi as ed,DD as fd,hk as gd,ih as hd,RD as id,jD as jd,VD as kd,mk as ld,gk as md,vk as nd,yk as od,Ik as pd,wk as qd,WD as rd,Ek as sd}; diff --git a/angular/docs/chunk-43KK3SLA.js b/angular/docs/chunk-OCK7LDGD.js similarity index 75% rename from angular/docs/chunk-43KK3SLA.js rename to angular/docs/chunk-OCK7LDGD.js index 83426d90f52..10779ddd058 100644 --- a/angular/docs/chunk-43KK3SLA.js +++ b/angular/docs/chunk-OCK7LDGD.js @@ -1 +1 @@ -import{a}from"./chunk-T7EHJSLU.js";import{e as E}from"./chunk-7XKRTNVZ.js";import"./chunk-J4FX3WSX.js";import{B as x,e as b,f as B,g as j,j as D,m as I,q as P,r as R}from"./chunk-JZLZFTWK.js";import"./chunk-R2HXWLDR.js";import"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import"./chunk-2IKSDGSZ.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-ATBE6YUJ.js";import{u as M,x as N}from"./chunk-FIXU3TFH.js";import{$b as h,Bc as _,Dc as y,H as S,Nc as G,Oc as w,Pc as V,Qb as d,Wc as r,Xc as n,Y as c,ac as f,bc as F,g as m,lb as u,mb as C,mc as $,na as g,q as v}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var T=()=>[],U=(()=>{let o=class o{constructor(l){this.optionsService=l,this.searchValue$=new m(""),this.loading$=new m(!0),this.formGroup=new j({sampleSelect:new D(["6"])}),this.searchFn=(t,e)=>t.label?.toLowerCase().startsWith(e.trimStart().toLowerCase())??!0,this.options$=this.optionsService.search(this.searchValue$).pipe(c(()=>{this.loading$.next(!0)}),S(1),v(t=>t.map(e=>{let i=e.id.toString().trim(),p=e.last_name,L=`${e.last_name} [${i}]`,O=e.id==="6";return{value:i,label:p,text:L,disabled:O}})),c(()=>{this.loading$.next(!1)}))}};o.\u0275fac=function(t){return new(t||o)(C(a))},o.\u0275cmp=g({type:o,selectors:[["docs-multi-select13"]],standalone:!0,features:[G([a]),w],decls:8,vars:12,consts:[[3,"formGroup"],["formControlName","sampleSelect","itemMinWidth","333","multiple","","virtualScroller","","visibleItems","8",3,"searchValueChange","options","search","loading"]],template:function(t,e){if(t&1&&(h(0,"form",0)(1,"p"),_(2),r(3,"json"),f(),F(4,"hr"),h(5,"c-multi-select",1),r(6,"async"),r(7,"async"),$("searchValueChange",function(p){return e.searchValue$.next(p)}),f()()),t&2){let i;d("formGroup",e.formGroup),u(2),y("Form value: ",n(3,5,e.formGroup.value),""),u(3),d("options",(i=n(6,7,e.options$))!==null&&i!==void 0?i:V(11,T))("search",e.searchFn)("loading",n(7,9,e.loading$))}},dependencies:[x,I,b,B,P,R,N,M,E],encapsulation:2});let s=o;return s})();export{U as MultiSelect13Component}; +import{a}from"./chunk-AKN7XNYI.js";import{e as E}from"./chunk-4NGMK3CL.js";import"./chunk-I7ZDH35V.js";import{B as x,e as b,f as B,g as j,j as D,m as I,q as P,r as R}from"./chunk-WFHPAILT.js";import"./chunk-UYIAOCXU.js";import"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import"./chunk-D272JSA3.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-D6CLLZIZ.js";import{u as M,x as N}from"./chunk-XHR4TYVD.js";import{$b as h,Bc as _,Dc as y,H as S,Nc as G,Oc as w,Pc as V,Qb as d,Wc as r,Xc as n,Y as c,ac as f,bc as F,g as m,lb as u,mb as C,mc as $,na as g,q as v}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var T=()=>[],U=(()=>{let o=class o{constructor(l){this.optionsService=l,this.searchValue$=new m(""),this.loading$=new m(!0),this.formGroup=new j({sampleSelect:new D(["6"])}),this.searchFn=(t,e)=>t.label?.toLowerCase().startsWith(e.trimStart().toLowerCase())??!0,this.options$=this.optionsService.search(this.searchValue$).pipe(c(()=>{this.loading$.next(!0)}),S(1),v(t=>t.map(e=>{let i=e.id.toString().trim(),p=e.last_name,L=`${e.last_name} [${i}]`,O=e.id==="6";return{value:i,label:p,text:L,disabled:O}})),c(()=>{this.loading$.next(!1)}))}};o.\u0275fac=function(t){return new(t||o)(C(a))},o.\u0275cmp=g({type:o,selectors:[["docs-multi-select13"]],standalone:!0,features:[G([a]),w],decls:8,vars:12,consts:[[3,"formGroup"],["formControlName","sampleSelect","itemMinWidth","333","multiple","","virtualScroller","","visibleItems","8",3,"searchValueChange","options","search","loading"]],template:function(t,e){if(t&1&&(h(0,"form",0)(1,"p"),_(2),r(3,"json"),f(),F(4,"hr"),h(5,"c-multi-select",1),r(6,"async"),r(7,"async"),$("searchValueChange",function(p){return e.searchValue$.next(p)}),f()()),t&2){let i;d("formGroup",e.formGroup),u(2),y("Form value: ",n(3,5,e.formGroup.value),""),u(3),d("options",(i=n(6,7,e.options$))!==null&&i!==void 0?i:V(11,T))("search",e.searchFn)("loading",n(7,9,e.loading$))}},dependencies:[x,I,b,B,P,R,N,M,E],encapsulation:2});let s=o;return s})();export{U as MultiSelect13Component}; diff --git a/angular/docs/chunk-3ROO5ANF.js b/angular/docs/chunk-ODVRTR4F.js similarity index 89% rename from angular/docs/chunk-3ROO5ANF.js rename to angular/docs/chunk-ODVRTR4F.js index 07bb4c912c3..5d40fb22561 100644 --- a/angular/docs/chunk-3ROO5ANF.js +++ b/angular/docs/chunk-ODVRTR4F.js @@ -1 +1 @@ -import{Oc as f,Pb as s,Ub as p,na as r,pc as a,qc as c}from"./chunk-O6V6MKDU.js";var l=["*"],u=(()=>{let o=class o{constructor(){this.role="contentinfo"}get getClasses(){return{footer:!0,[`footer-${this.position}`]:!!this.position}}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r({type:o,selectors:[["c-footer"],["","cFooter",""]],hostVars:3,hostBindings:function(t,n){t&2&&(s("role",n.role),p(n.getClasses))},inputs:{position:"position",role:"role"},standalone:!0,features:[f],ngContentSelectors:l,decls:1,vars:0,template:function(t,n){t&1&&(a(),c(0))},encapsulation:2});let e=o;return e})();export{u as a}; +import{Oc as f,Pb as s,Ub as p,na as r,pc as a,qc as c}from"./chunk-6U7QZ4SV.js";var l=["*"],u=(()=>{let o=class o{constructor(){this.role="contentinfo"}get getClasses(){return{footer:!0,[`footer-${this.position}`]:!!this.position}}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r({type:o,selectors:[["c-footer"],["","cFooter",""]],hostVars:3,hostBindings:function(t,n){t&2&&(s("role",n.role),p(n.getClasses))},inputs:{position:"position",role:"role"},standalone:!0,features:[f],ngContentSelectors:l,decls:1,vars:0,template:function(t,n){t&1&&(a(),c(0))},encapsulation:2});let e=o;return e})();export{u as a}; diff --git a/angular/docs/chunk-P6W6ST24.js b/angular/docs/chunk-OL4HIJQF.js similarity index 94% rename from angular/docs/chunk-P6W6ST24.js rename to angular/docs/chunk-OL4HIJQF.js index 4cea7e69d22..6ab97894a45 100644 --- a/angular/docs/chunk-P6W6ST24.js +++ b/angular/docs/chunk-OL4HIJQF.js @@ -1,4 +1,4 @@ -import{a as v,b as u,c as g,d as h,e as b}from"./chunk-635XQOGQ.js";import"./chunk-KCYAHR4C.js";import{a as M}from"./chunk-C434TJEI.js";import"./chunk-3WH63G7J.js";import{c as _}from"./chunk-FHDSBCC2.js";import"./chunk-FPQGXMEQ.js";import"./chunk-R2HXWLDR.js";import{a as d,b as p}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as I}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import"./chunk-SWYVARVN.js";import{r as F}from"./chunk-JJFVMVK7.js";import{c as B,d as k}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import{a as H}from"./chunk-IOURQETH.js";import{$b as t,Ac as y,Bc as n,Cc as E,Dc as w,Oc as m,Pc as C,Qb as f,ac as e,bc as c,lb as s,mb as T,na as l}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var A=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas06"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["cButton","","cOffcanvasToggle","OffcanvasDark"],["placement","start","id","OffcanvasDark",1,"text-bg-dark"],["cOffcanvasTitle",""],["cButtonClose","","white","","cOffcanvasToggle","OffcanvasDark","aria-label","Close"]],template:function(o,O){o&1&&(t(0,"button",0),n(1,"Dark offcanvas"),e(),t(2,"c-offcanvas",1)(3,"c-offcanvas-header")(4,"h5",2),n(5,"Dark Offcanvas Header"),e(),c(6,"button",3),e(),t(7,"c-offcanvas-body")(8,"p"),n(9," Content for the dark offcanvas goes here. "),e()()())},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var j=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas05"]],standalone:!0,features:[m],decls:16,vars:2,consts:[["offcanvasResponsive",""],["cButton","",1,"d-lg-none",3,"cOffcanvasToggle"],["color","info",1,"d-none","d-lg-block"],["responsive","lg","placement","end"],["cOffcanvasTitle",""],["aria-label","Close","cButtonClose","",1,"text-reset",3,"cOffcanvasToggle"],[1,"mb-0"]],template:function(o,O){if(o&1&&(t(0,"button",1),n(1,"Toggle offcanvas"),e(),t(2,"c-alert",2),n(3,"Resize your browser to show the responsive offcanvas toggle button."),e(),t(4,"c-offcanvas",3,0)(6,"c-offcanvas-header")(7,"h5",4),n(8,"Responsive offcanvas Header"),e(),c(9,"button",5),e(),t(10,"c-offcanvas-body")(11,"p",6),n(12,"This is content within an offcanvas with "),t(13,"code"),n(14,'responsive="lg"'),e(),n(15," property."),e()()()),o&2){let x=y(5);f("cOffcanvasToggle",x.id),s(9),f("cOffcanvasToggle",x.id)}},dependencies:[d,b,_,v,g,h,p,u],encapsulation:2});let i=a;return i})();var R=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas04"]],standalone:!0,features:[m],decls:11,vars:2,consts:[["offcanvasStatic",""],["cButton","",3,"cOffcanvasToggle"],["id","OffcanvasStatic","backdrop","static","placement","start"],["cOffcanvasTitle",""],["aria-label","Close","cButtonClose","",1,"text-reset",3,"cOffcanvasToggle"]],template:function(o,O){if(o&1&&(t(0,"button",1),n(1,"Toggle static offcanvas"),e(),t(2,"c-offcanvas",2,0)(4,"c-offcanvas-header")(5,"h5",3),n(6,"Offcanvas Header"),e(),c(7,"button",4),e(),t(8,"c-offcanvas-body")(9,"p"),n(10," I will not close if you try to click outside of me or to press escape key. "),e()()()),o&2){let x=y(3);f("cOffcanvasToggle",x.id),s(7),f("cOffcanvasToggle",x.id)}},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var U=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas03"]],standalone:!0,features:[m],decls:22,vars:7,consts:[["offcanvasScroll",""],["offcanvasNoBackdrop",""],["cButton","",3,"cOffcanvasToggle"],["id","OffcanvasScroll","placement","start",3,"scroll"],["cOffcanvasTitle",""],["aria-label","Close","cButtonClose","",1,"text-reset",3,"cOffcanvasToggle"],["id","OffcanvasNoBackdrop","placement","end",3,"backdrop","scroll"]],template:function(o,O){if(o&1&&(t(0,"button",2),n(1,"Enable body scrolling"),e(),t(2,"button",2),n(3,"Disable backdrop"),e(),t(4,"c-offcanvas",3,0)(6,"c-offcanvas-header")(7,"h5",4),n(8,"Offcanvas Header"),e(),c(9,"button",5),e(),t(10,"c-offcanvas-body")(11,"p"),n(12," Try scrolling the rest of the page to see this option in action. "),e()()(),t(13,"c-offcanvas",6,1)(15,"c-offcanvas-header")(16,"h5",4),n(17,"Offcanvas Header"),e(),c(18,"button",5),e(),t(19,"c-offcanvas-body")(20,"p"),n(21," Try scrolling the rest of the page to see this option in action. "),e()()()),o&2){let x=y(5),D=y(14);f("cOffcanvasToggle",x.id),s(2),f("cOffcanvasToggle",D.id),s(2),f("scroll",!0),s(5),f("cOffcanvasToggle",x.id),s(4),f("backdrop",!1)("scroll",!0),s(5),f("cOffcanvasToggle",D.id)}},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var N=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas02"]],standalone:!0,features:[m],decls:30,vars:0,consts:[["cButton","","cOffcanvasToggle","OffcanvasTop"],["cButton","","cOffcanvasToggle","OffcanvasBottom"],["cButton","","cOffcanvasToggle","OffcanvasEnd"],["placement","top","id","OffcanvasTop"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasTop","aria-label","Close",1,"text-reset"],["placement","bottom","id","OffcanvasBottom"],["cButtonClose","","cOffcanvasToggle","OffcanvasBottom","aria-label","Close",1,"text-reset"],["placement","end","id","OffcanvasEnd"],["cButtonClose","","cOffcanvasToggle","OffcanvasEnd","aria-label","Close",1,"text-reset"]],template:function(o,O){o&1&&(t(0,"button",0),n(1,"Toggle top offcanvas"),e(),t(2,"button",1),n(3,"Toggle bottom offcanvas"),e(),t(4,"button",2),n(5,"Toggle end offcanvas"),e(),t(6,"c-offcanvas",3)(7,"c-offcanvas-header")(8,"h5",4),n(9,"Offcanvas Header"),e(),c(10,"button",5),e(),t(11,"c-offcanvas-body")(12,"p"),n(13," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()(),t(14,"c-offcanvas",6)(15,"c-offcanvas-header")(16,"h5",4),n(17,"Offcanvas Header"),e(),c(18,"button",7),e(),t(19,"c-offcanvas-body")(20,"p"),n(21," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()(),t(22,"c-offcanvas",8)(23,"c-offcanvas-header")(24,"h5",4),n(25,"Offcanvas Header"),e(),c(26,"button",9),e(),t(27,"c-offcanvas-body")(28,"p"),n(29," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()())},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var Y=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas01"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["cButton","","cOffcanvasToggle","OffcanvasStart"],["placement","start","id","OffcanvasStart"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasStart","aria-label","Close",1,"text-reset"]],template:function(o,O){o&1&&(t(0,"button",0),n(1,"Toggle offcanvas"),e(),t(2,"c-offcanvas",1)(3,"c-offcanvas-header")(4,"h5",2),n(5,"Offcanvas Header"),e(),c(6,"button",3),e(),t(7,"c-offcanvas-body")(8,"p"),n(9," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()())},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var q=`\`\`\`typescript +import{a as v,b as u,c as g,d as h,e as b}from"./chunk-EFGOJAMD.js";import"./chunk-5TFAQITA.js";import{a as M}from"./chunk-F3XLZSRJ.js";import"./chunk-IH2HSX2J.js";import{c as _}from"./chunk-YN74WUSE.js";import"./chunk-7GF3S5CV.js";import"./chunk-UYIAOCXU.js";import{a as d,b as p}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as I}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import"./chunk-MH6VOBXJ.js";import{r as F}from"./chunk-Q5WIR6QR.js";import{c as B,d as k}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import{a as H}from"./chunk-3GUKBTAZ.js";import{$b as t,Ac as y,Bc as n,Cc as E,Dc as w,Oc as m,Pc as C,Qb as f,ac as e,bc as c,lb as s,mb as T,na as l}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var A=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas06"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["cButton","","cOffcanvasToggle","OffcanvasDark"],["placement","start","id","OffcanvasDark",1,"text-bg-dark"],["cOffcanvasTitle",""],["cButtonClose","","white","","cOffcanvasToggle","OffcanvasDark","aria-label","Close"]],template:function(o,O){o&1&&(t(0,"button",0),n(1,"Dark offcanvas"),e(),t(2,"c-offcanvas",1)(3,"c-offcanvas-header")(4,"h5",2),n(5,"Dark Offcanvas Header"),e(),c(6,"button",3),e(),t(7,"c-offcanvas-body")(8,"p"),n(9," Content for the dark offcanvas goes here. "),e()()())},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var j=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas05"]],standalone:!0,features:[m],decls:16,vars:2,consts:[["offcanvasResponsive",""],["cButton","",1,"d-lg-none",3,"cOffcanvasToggle"],["color","info",1,"d-none","d-lg-block"],["responsive","lg","placement","end"],["cOffcanvasTitle",""],["aria-label","Close","cButtonClose","",1,"text-reset",3,"cOffcanvasToggle"],[1,"mb-0"]],template:function(o,O){if(o&1&&(t(0,"button",1),n(1,"Toggle offcanvas"),e(),t(2,"c-alert",2),n(3,"Resize your browser to show the responsive offcanvas toggle button."),e(),t(4,"c-offcanvas",3,0)(6,"c-offcanvas-header")(7,"h5",4),n(8,"Responsive offcanvas Header"),e(),c(9,"button",5),e(),t(10,"c-offcanvas-body")(11,"p",6),n(12,"This is content within an offcanvas with "),t(13,"code"),n(14,'responsive="lg"'),e(),n(15," property."),e()()()),o&2){let x=y(5);f("cOffcanvasToggle",x.id),s(9),f("cOffcanvasToggle",x.id)}},dependencies:[d,b,_,v,g,h,p,u],encapsulation:2});let i=a;return i})();var R=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas04"]],standalone:!0,features:[m],decls:11,vars:2,consts:[["offcanvasStatic",""],["cButton","",3,"cOffcanvasToggle"],["id","OffcanvasStatic","backdrop","static","placement","start"],["cOffcanvasTitle",""],["aria-label","Close","cButtonClose","",1,"text-reset",3,"cOffcanvasToggle"]],template:function(o,O){if(o&1&&(t(0,"button",1),n(1,"Toggle static offcanvas"),e(),t(2,"c-offcanvas",2,0)(4,"c-offcanvas-header")(5,"h5",3),n(6,"Offcanvas Header"),e(),c(7,"button",4),e(),t(8,"c-offcanvas-body")(9,"p"),n(10," I will not close if you try to click outside of me or to press escape key. "),e()()()),o&2){let x=y(3);f("cOffcanvasToggle",x.id),s(7),f("cOffcanvasToggle",x.id)}},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var U=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas03"]],standalone:!0,features:[m],decls:22,vars:7,consts:[["offcanvasScroll",""],["offcanvasNoBackdrop",""],["cButton","",3,"cOffcanvasToggle"],["id","OffcanvasScroll","placement","start",3,"scroll"],["cOffcanvasTitle",""],["aria-label","Close","cButtonClose","",1,"text-reset",3,"cOffcanvasToggle"],["id","OffcanvasNoBackdrop","placement","end",3,"backdrop","scroll"]],template:function(o,O){if(o&1&&(t(0,"button",2),n(1,"Enable body scrolling"),e(),t(2,"button",2),n(3,"Disable backdrop"),e(),t(4,"c-offcanvas",3,0)(6,"c-offcanvas-header")(7,"h5",4),n(8,"Offcanvas Header"),e(),c(9,"button",5),e(),t(10,"c-offcanvas-body")(11,"p"),n(12," Try scrolling the rest of the page to see this option in action. "),e()()(),t(13,"c-offcanvas",6,1)(15,"c-offcanvas-header")(16,"h5",4),n(17,"Offcanvas Header"),e(),c(18,"button",5),e(),t(19,"c-offcanvas-body")(20,"p"),n(21," Try scrolling the rest of the page to see this option in action. "),e()()()),o&2){let x=y(5),D=y(14);f("cOffcanvasToggle",x.id),s(2),f("cOffcanvasToggle",D.id),s(2),f("scroll",!0),s(5),f("cOffcanvasToggle",x.id),s(4),f("backdrop",!1)("scroll",!0),s(5),f("cOffcanvasToggle",D.id)}},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var N=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas02"]],standalone:!0,features:[m],decls:30,vars:0,consts:[["cButton","","cOffcanvasToggle","OffcanvasTop"],["cButton","","cOffcanvasToggle","OffcanvasBottom"],["cButton","","cOffcanvasToggle","OffcanvasEnd"],["placement","top","id","OffcanvasTop"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasTop","aria-label","Close",1,"text-reset"],["placement","bottom","id","OffcanvasBottom"],["cButtonClose","","cOffcanvasToggle","OffcanvasBottom","aria-label","Close",1,"text-reset"],["placement","end","id","OffcanvasEnd"],["cButtonClose","","cOffcanvasToggle","OffcanvasEnd","aria-label","Close",1,"text-reset"]],template:function(o,O){o&1&&(t(0,"button",0),n(1,"Toggle top offcanvas"),e(),t(2,"button",1),n(3,"Toggle bottom offcanvas"),e(),t(4,"button",2),n(5,"Toggle end offcanvas"),e(),t(6,"c-offcanvas",3)(7,"c-offcanvas-header")(8,"h5",4),n(9,"Offcanvas Header"),e(),c(10,"button",5),e(),t(11,"c-offcanvas-body")(12,"p"),n(13," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()(),t(14,"c-offcanvas",6)(15,"c-offcanvas-header")(16,"h5",4),n(17,"Offcanvas Header"),e(),c(18,"button",7),e(),t(19,"c-offcanvas-body")(20,"p"),n(21," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()(),t(22,"c-offcanvas",8)(23,"c-offcanvas-header")(24,"h5",4),n(25,"Offcanvas Header"),e(),c(26,"button",9),e(),t(27,"c-offcanvas-body")(28,"p"),n(29," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()())},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var Y=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=l({type:a,selectors:[["docs-offcanvas01"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["cButton","","cOffcanvasToggle","OffcanvasStart"],["placement","start","id","OffcanvasStart"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasStart","aria-label","Close",1,"text-reset"]],template:function(o,O){o&1&&(t(0,"button",0),n(1,"Toggle offcanvas"),e(),t(2,"c-offcanvas",1)(3,"c-offcanvas-header")(4,"h5",2),n(5,"Offcanvas Header"),e(),c(6,"button",3),e(),t(7,"c-offcanvas-body")(8,"p"),n(9," Content for the offcanvas goes here. You can place just about any CoreUI component or custom elements here. "),e()()())},dependencies:[d,b,v,g,h,p,u],encapsulation:2});let i=a;return i})();var q=`\`\`\`typescript import { OffcanvasModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-J37AVTJX.js b/angular/docs/chunk-OLTS3WRU.js similarity index 96% rename from angular/docs/chunk-J37AVTJX.js rename to angular/docs/chunk-OLTS3WRU.js index cef1c0b065a..5300ab9ffe9 100644 --- a/angular/docs/chunk-J37AVTJX.js +++ b/angular/docs/chunk-OLTS3WRU.js @@ -1,2 +1,2 @@ -import{e as A}from"./chunk-FX553NHW.js";import{Gb as H,La as y,Pb as B,Ub as N,ca as v,da as I,gb as C,gc as b,ia as u,oa as x,pa as w,pd as p,ub as z,wb as S,zb as g}from"./chunk-O6V6MKDU.js";import{e as i,f as a,g as m}from"./chunk-MGAX33HK.js";var d=(()=>{let t=class t{constructor(){this._iconNames={},this._icons={}}get iconNames(){return this._iconNames}get icons(){return this._icons}set icons(s){for(let o in s)this._iconNames[o]=o;this._icons=s}getIcon(s){return this.icons[s]||console.warn(`CoreUI WARN: Icon ${s} is not registered in IconService`),this.icons[s]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function D(e){return e.replace(/([-_][a-z0-9])/ig,t=>t.toUpperCase().replace("-",""))}function j(e){return e&&e.includes("-")?D(e):e}var M=(()=>{var t,l,s,o,r;let h=class h{constructor(){a(this,t);a(this,l);a(this,s);a(this,o);a(this,r);m(this,t,u(y)),m(this,l,u(A)),m(this,s,u(d)),m(this,o,g("")),this.size="",m(this,r,g("")),this.ariaHidden=!0,this.xmlns="http://www.w3.org/2000/svg",this.pointerEvents="none",this.role="img",this.innerHtml=p(()=>{let n=Array.isArray(this.code())?this.code()[1]??this.code()[0]??"":this.code()||"";return i(this,l).bypassSecurityTrustHtml(this.titleCode+n||"")}),this.code=p(()=>i(this,o).call(this)?i(this,o).call(this):i(this,s)&&i(this,r).call(this)?i(this,s).getIcon(i(this,r).call(this)):(i(this,r).call(this)&&!i(this,s)?.icons[i(this,r).call(this)]&&console.warn(`c-icon component: icon name '${i(this,r).call(this)}' does not exist for IconSet service. To use icon by 'name' prop you need to add it to IconSet service. +import{e as A}from"./chunk-54DQ6PNU.js";import{Gb as H,La as y,Pb as B,Ub as N,ca as v,da as I,gb as C,gc as b,ia as u,oa as x,pa as w,pd as p,ub as z,wb as S,zb as g}from"./chunk-6U7QZ4SV.js";import{e as i,f as a,g as m}from"./chunk-MGAX33HK.js";var d=(()=>{let t=class t{constructor(){this._iconNames={},this._icons={}}get iconNames(){return this._iconNames}get icons(){return this._icons}set icons(s){for(let o in s)this._iconNames[o]=o;this._icons=s}getIcon(s){return this.icons[s]||console.warn(`CoreUI WARN: Icon ${s} is not registered in IconService`),this.icons[s]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function D(e){return e.replace(/([-_][a-z0-9])/ig,t=>t.toUpperCase().replace("-",""))}function j(e){return e&&e.includes("-")?D(e):e}var M=(()=>{var t,l,s,o,r;let h=class h{constructor(){a(this,t);a(this,l);a(this,s);a(this,o);a(this,r);m(this,t,u(y)),m(this,l,u(A)),m(this,s,u(d)),m(this,o,g("")),this.size="",m(this,r,g("")),this.ariaHidden=!0,this.xmlns="http://www.w3.org/2000/svg",this.pointerEvents="none",this.role="img",this.innerHtml=p(()=>{let n=Array.isArray(this.code())?this.code()[1]??this.code()[0]??"":this.code()||"";return i(this,l).bypassSecurityTrustHtml(this.titleCode+n||"")}),this.code=p(()=>i(this,o).call(this)?i(this,o).call(this):i(this,s)&&i(this,r).call(this)?i(this,s).getIcon(i(this,r).call(this)):(i(this,r).call(this)&&!i(this,s)?.icons[i(this,r).call(this)]&&console.warn(`c-icon component: icon name '${i(this,r).call(this)}' does not exist for IconSet service. To use icon by 'name' prop you need to add it to IconSet service. `,i(this,r).call(this)),"")),this.scale=p(()=>Array.isArray(this.code())&&this.code().length>1?`0 0 ${this.code()[0]}`:"0 0 64 64"),S(()=>{i(this,t).nativeElement.innerHTML=this.innerHtml()},{phase:z.Write})}set content(n){i(this,o).set(n)}set name(n){i(this,r).set(n)}get name(){return i(this,r).call(this)}set viewBox(n){this._viewBox=n}get viewBox(){return this._viewBox??this.scale()}get hostClasses(){return this.computedClasses}get bindInnerHtml(){return this.innerHtml()}get titleCode(){return this.title?`${this.title}`:""}get computedSize(){let n=!this.size&&(this.width||this.height);return this.size==="custom"||n?"custom-size":this.size}get computedClasses(){let n={icon:!0,[`icon-${this.computedSize}`]:!!this.computedSize};return this.customClasses??n}};t=new WeakMap,l=new WeakMap,s=new WeakMap,o=new WeakMap,r=new WeakMap,h.\u0275fac=function(f){return new(f||h)},h.\u0275dir=w({type:h,selectors:[["svg","cIcon",""]],hostVars:8,hostBindings:function(f,c){f&2&&(b("innerHtml",c.bindInnerHtml,C),B("viewBox",c.viewBox)("aria-hidden",c.ariaHidden)("xmlns",c.xmlns)("pointer-events",c.pointerEvents)("role",c.role),N(c.hostClasses))},inputs:{content:[0,"cIcon","content"],customClasses:"customClasses",size:"size",title:"title",height:"height",width:"width",name:[2,"name","name",j],viewBox:"viewBox",xmlns:"xmlns",pointerEvents:[0,"pointer-events","pointerEvents"],role:"role"},exportAs:["cIcon"],standalone:!0,features:[H]});let e=h;return e})();var R=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=x({type:t}),t.\u0275inj=I({});let e=t;return e})();export{d as a,M as b,R as c}; diff --git a/angular/docs/chunk-CI3QMYTK.js b/angular/docs/chunk-OSTLPEBO.js similarity index 97% rename from angular/docs/chunk-CI3QMYTK.js rename to angular/docs/chunk-OSTLPEBO.js index 67e0bfbca95..679d7c686cb 100644 --- a/angular/docs/chunk-CI3QMYTK.js +++ b/angular/docs/chunk-OSTLPEBO.js @@ -1,4 +1,4 @@ -import{a as oe,c as ne}from"./chunk-TZ7TQCJR.js";import{a as H,b as A}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as Ae}from"./chunk-QWXOJRTG.js";import{a as Me}from"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import{c as Ie,d as P,g as ee,h as te,i as Q}from"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as He}from"./chunk-SWYVARVN.js";import{r as Fe}from"./chunk-JJFVMVK7.js";import{c as ke,d as Be}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Aa as z,Ac as B,Ba as $,Bc as r,Ca as he,Cc as V,Dc as we,Eb as ge,Ec as _e,Gb as Ce,Ia as ve,Jb as J,La as M,Na as ie,Nc as De,Oc as u,Pc as b,Qb as c,Sb as Y,Tb as ye,Ub as G,Wb as Te,ac as a,ba as pe,bc as d,ca as ue,cc as N,dc as K,fc as W,g as de,hc as be,ia as fe,id as Z,lb as l,mb as v,mc as y,na as p,nd as Ee,oc as xe,od as se,pa as q,pc as w,qc as _,rb as F,tc as Se,uc as X,vc as O,wc as R,xb as L}from"./chunk-O6V6MKDU.js";import{a as U,e as ce,f as le,g as me}from"./chunk-MGAX33HK.js";var D=(()=>{let e=class e{constructor(){this.toasterState=new de({}),this.toasterState$=this.toasterState.asObservable()}setState(s){this.toasterState.next(U({},s))}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})();var Ne=["*"],h=(()=>{let e=class e{constructor(s,t,i,m){this.hostElement=s,this.renderer=t,this.toasterService=i,this.changeDetectorRef=m,this.autohide=!0,this.color="",this.delay=5e3,this.fade=!0,this._visible=!1,this.visibleChange=new ie,this.timer=new ie}set visible(s){let t=s;this._visible!==t&&(this._visible=t,t?this.setTimer():this.clearTimer(),this.visibleChange.emit(t),this.changeDetectorRef.markForCheck())}get visible(){return this._visible}get clock(){return this._clock}set clock(s){this._clock=s,this.timer.emit(this._clock),this.changeDetectorRef.markForCheck()}get animationDisabled(){return!this.fade}get animateType(){return this.visible?"show":"hide"}onMouseOver(){this.clearTimer()}onMouseOut(){this.setTimer()}get hostClasses(){return{toast:!0,show:!0,[`bg-${this.color}`]:!!this.color,"border-0":!!this.color}}ngOnInit(){this.visible&&(this.toasterService.setState({toast:this,show:this.visible,placement:this.placement}),this.clearTimer(),this.setTimer())}ngOnDestroy(){this.clearTimer()}setTimer(){this.clearTimer(),this.autohide&&this.visible&&(this.timerId=this.delay>0?setTimeout(()=>this.onClose(),this.delay):void 0,this.setClock())}clearTimer(){this.clearClock(),clearTimeout(this.timerId),this.timerId=void 0}onClose(){this.clearTimer(),this.toasterService.setState({toast:this,show:!1,placement:this.placement})}setClock(){this.clearClock(),this.clock=0,this.clockId=setInterval(()=>{this.clock+=1,this.changeDetectorRef.markForCheck()},1e3),this.clockTimerId=setTimeout(()=>{this.clearClock()},this.delay)}clearClock(){clearTimeout(this.clockTimerId),clearInterval(this.clockId),this.clockId=void 0}};e.\u0275fac=function(t){return new(t||e)(v(M),v(F),v(D),v(Z))},e.\u0275cmp=p({type:e,selectors:[["c-toast"]],hostVars:4,hostBindings:function(t,i){t&1&&y("mouseover",function(){return i.onMouseOver()})("mouseout",function(){return i.onMouseOut()}),t&2&&(be("@.disabled",i.animationDisabled)("@fadeInOut",i.animateType),G(i.hostClasses))},inputs:{autohide:"autohide",color:"color",delay:[2,"delay","delay",se],fade:"fade",visible:[2,"visible","visible",Ee],index:[2,"index","index",se]},outputs:{visibleChange:"visibleChange",timer:"timer"},exportAs:["cToast"],standalone:!0,features:[Ce,u],ngContentSelectors:Ne,decls:1,vars:0,template:function(t,i){t&1&&(w(),_(0))},styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"],data:{animation:[Ie("fadeInOut",[te("show",ee({opacity:1,height:"*",padding:"*",border:"*",margin:"*"})),te("hide",ee({opacity:0,height:0,padding:0,border:0,margin:0})),te("void",ee({opacity:0,height:0,padding:0,border:0,margin:0})),Q("show => hide",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-out"}}),Q("hide => show",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-in"}}),Q("show => void",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-out"}}),Q("void => show",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-in"}})])]}});let o=e;return o})();var Ke=["*"],g=(()=>{let e=class e{constructor(s){this.toast=s,this.toastBodyClass=!0}};e.\u0275fac=function(t){return new(t||e)(v(h,8))},e.\u0275cmp=p({type:e,selectors:[["c-toast-body"]],hostVars:2,hostBindings:function(t,i){t&2&&Y("toast-body",i.toastBodyClass)},exportAs:["cToastBody"],standalone:!0,features:[u],ngContentSelectors:Ke,decls:1,vars:0,template:function(t,i){t&1&&(w(),_(0))},styles:["[_nghost-%COMP%]{display:block}"]});let o=e;return o})();var I=(()=>{let e=class e{constructor(s){this.toasterService=s}toggleOpen(s){s.preventDefault(),this.toasterService.setState({show:!1,toast:this.toast})}};e.\u0275fac=function(t){return new(t||e)(v(D))},e.\u0275dir=q({type:e,selectors:[["","cToastClose",""]],hostBindings:function(t,i){t&1&&y("click",function(f){return i.toggleOpen(f)})},inputs:{toast:[0,"cToastClose","toast"]},exportAs:["cToastClose"],standalone:!0});let o=e;return o})();var We=["*"],Xe=()=>({outline:0});function Ze(o,e){if(o&1&&d(0,"button",1),o&2){let E=xe();ye(b(3,Xe)),c("cToastClose",E.toast)}}var T=(()=>{let e=class e{constructor(s){this.toast=s,this.closeButton=!0,this.toastHeaderClass=!0}};e.\u0275fac=function(t){return new(t||e)(v(h,8))},e.\u0275cmp=p({type:e,selectors:[["c-toast-header"]],hostVars:2,hostBindings:function(t,i){t&2&&Y("toast-header",i.toastHeaderClass)},inputs:{closeButton:"closeButton"},exportAs:["cToastHeader"],standalone:!0,features:[u],ngContentSelectors:We,decls:3,vars:1,consts:[["aria-label","close","cButtonClose","",1,"ms-auto",3,"cToastClose","style"],["aria-label","close","cButtonClose","",1,"ms-auto",3,"cToastClose"]],template:function(t,i){t&1&&(w(),N(0),_(1),J(2,Ze,1,4,"button",0),K()),t&2&&(l(2),Te(i.closeButton?2:-1))},dependencies:[I,A],encapsulation:2});let o=e;return o})();var re=(()=>{let e=class e{constructor(s){this.viewContainerRef=s}};e.\u0275fac=function(t){return new(t||e)(v(L))},e.\u0275dir=q({type:e,selectors:[["","cToasterHost",""]],exportAs:["cToasterHost"],standalone:!0});let o=e;return o})();var et=["*"];function tt(o,e){}var j=function(o){return o.Static="static",o.TopStart="top-start",o.TopCenter="top-center",o.TopEnd="top-end",o.MiddleStart="middle-start",o.MiddleCenter="middle-center",o.MiddleEnd="middle-end",o.BottomStart="bottom-start",o.BottomCenter="bottom-center",o.BottomEnd="bottom-end",o}(j||{}),x=(()=>{var e;let E=class E{constructor(t,i,m){le(this,e);this.hostElement=t,this.renderer=i,this.toasterService=m,me(this,e,fe(ve)),this.placements=Object.values(j),this.toastsDynamic=[],this.placement=j.TopEnd,this.position="absolute"}get hostClasses(){return{toaster:!0,"toast-container":!0,[`position-${this.position}`]:!!this.position,"top-0":this.placement.includes("top"),"top-50":this.placement.includes("middle"),"bottom-0":this.placement.includes("bottom"),"start-0":this.placement.includes("start"),"start-50":this.placement.includes("center"),"end-0":this.placement.includes("end"),"translate-middle-x":this.placement.includes("center")&&!this.placement.includes("middle"),"translate-middle-y":this.placement.includes("middle")&&!this.placement.includes("center"),"translate-middle":this.placement.includes("middle")&&this.placement.includes("center")}}ngOnInit(){this.stateToasterSubscribe()}ngAfterContentChecked(){this.toasts=this.contentToasts}addToast(t,i,m){let f=this.toasterHost.viewContainerRef.createComponent(t,m);this.toastsDynamic.push(f);let k=this.toastsDynamic.indexOf(f);for(let[Ye,Ge]of Object.entries(i))f.instance[Ye]=Ge;return f.instance.placement=this.placement,f.instance.dynamic=!0,f.instance.index=k,f.instance.visible=!0,f.instance.visibleChange.emit(!0),f.changeDetectorRef?.detectChanges(),f}removeToast(t){this.toastsDynamic?.forEach(i=>{t.toast?.dynamic&&i.instance===t.toast&&(i.instance.visible=!1,i.instance.visibleChange.emit(!1),i.destroy())}),this.toasts?.forEach(i=>{t.toast&&i.element.nativeElement===t.toast.hostElement.nativeElement&&(t.toast.dynamic||(t.toast.visible=!1))})}stateToasterSubscribe(){this.toasterService.toasterState$.pipe(Me(ce(this,e))).subscribe(t=>{t.show===!1&&this.removeToast(t),t.show===!0&&t.toast?.dynamic})}};e=new WeakMap,E.\u0275fac=function(i){return new(i||E)(v(M),v(F),v(D))},E.\u0275cmp=p({type:E,selectors:[["c-toaster"]],contentQueries:function(i,m,f){if(i&1&&Se(f,h,4,L),i&2){let k;O(k=R())&&(m.contentToasts=k)}},viewQuery:function(i,m){if(i&1&&X(re,7),i&2){let f;O(f=R())&&(m.toasterHost=f.first)}},hostVars:2,hostBindings:function(i,m){i&2&&G(m.hostClasses)},inputs:{placement:"placement",position:"position"},exportAs:["cToaster"],standalone:!0,features:[u],ngContentSelectors:et,decls:2,vars:0,consts:[["cToasterHost",""]],template:function(i,m){i&1&&(w(),J(0,tt,0,0,"ng-template",0),_(1,0,["cToasterHost",""]))},dependencies:[re],encapsulation:2});let o=E;return o})();var S=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["toast-sample-icon"]],standalone:!0,features:[u],decls:2,vars:0,consts:[["width","20","height","20","xmlns","http://www.w3.org/2000/svg","preserveAspectRatio","xMidYMid slice","focusable","false","role","img",1,"rounded","me-2"],["width","100%","height","100%","fill","#007aff"]],template:function(t,i){t&1&&(he(),n(0,"svg",0),d(1,"rect",1),a())},encapsulation:2});let o=e;return o})();var Oe=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast09"]],standalone:!0,features:[u],decls:20,vars:2,consts:[[1,"position-relative"],["placement","top-end","position","absolute"],["visible","",3,"autohide"],[1,"me-auto"],[1,"text-muted"]],template:function(t,i){t&1&&(n(0,"div",0)(1,"c-toaster",1)(2,"c-toast",2)(3,"c-toast-header"),d(4,"toast-sample-icon"),n(5,"strong",3),r(6,"CoreUI for Angular"),a(),n(7,"small",4),r(8,"Just now"),a()(),n(9,"c-toast-body"),r(10,"See? Just like this."),a()(),n(11,"c-toast",2)(12,"c-toast-header"),d(13,"toast-sample-icon"),n(14,"strong",3),r(15,"CoreUI for Angular"),a(),n(16,"small",4),r(17,"2 secs ago"),a()(),n(18,"c-toast-body"),r(19,"Heads up, toasts will stack automatically"),a()()()()),t&2&&(l(2),c("autohide",!1),l(9),c("autohide",!1))},dependencies:[x,h,T,S,g],styles:["[_nghost-%COMP%]{min-height:240px;min-width:fit-content;position:relative}"]});let o=e;return o})();var Re=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast08"]],standalone:!0,features:[u],decls:7,vars:2,consts:[["toast","cToast"],["color","primary",1,"align-items-center","text-white","border-0",3,"autohide","visible"],[1,"d-flex"],["aria-label","close","cButtonClose","","white","",1,"me-2","m-auto",3,"click"]],template:function(t,i){if(t&1){let m=W();n(0,"c-toast",1,0)(2,"div",2)(3,"c-toast-body")(4,"span"),r(5,"Hello, world! This is a toast message."),a()(),n(6,"button",3),y("click",function(){z(m);let k=B(1);return $(k.visible=!1)}),a()()()}t&2&&c("autohide",!1)("visible",!0)},dependencies:[h,g,A],encapsulation:2});let o=e;return o})();var Ve=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast07"]],standalone:!0,features:[u],decls:10,vars:3,consts:[["toast",""],["position","static"],[3,"autohide","visible"],[1,"mt-2","pt-2","border-top"],["cButton","","color","primary","size","sm"],["cButton","","color","secondary","size","sm",1,"ms-1",3,"cToastClose"]],template:function(t,i){if(t&1&&(n(0,"c-toaster",1)(1,"c-toast",2,0)(3,"c-toast-body"),r(4," Hello, world! This is a toast message. "),n(5,"div",3)(6,"button",4),r(7," Take action "),a(),n(8,"button",5),r(9," Close "),a()()()()()),t&2){let m=B(2);l(),c("autohide",!1)("visible",!0),l(7),c("cToastClose",m)}},dependencies:[x,h,g,H,I],encapsulation:2});let o=e;return o})();var Pe=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast06"]],standalone:!0,features:[u],decls:7,vars:2,consts:[["toast","cToast"],[1,"align-items-center",3,"autohide","visible"],[1,"d-flex"],["aria-label","close","cButtonClose","",1,"me-2","m-auto",3,"click"]],template:function(t,i){if(t&1){let m=W();n(0,"c-toast",1,0)(2,"div",2)(3,"c-toast-body")(4,"span"),r(5,"Hello, world! This is a toast message."),a()(),n(6,"button",3),y("click",function(){z(m);let k=B(1);return $(k.visible=!1)}),a()()()}t&2&&c("autohide",!1)("visible",!0)},dependencies:[h,g,A]});let o=e;return o})();var Qe=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast05"]],standalone:!0,features:[u],decls:17,vars:7,consts:[["position","static"],[3,"autohide","fade","visible"],[3,"closeButton"],[1,"ms-auto"],["visible","",3,"autohide","fade"]],template:function(t,i){t&1&&(n(0,"c-toaster",0)(1,"c-toast",1)(2,"c-toast-header",2),d(3,"toast-sample-icon"),r(4," CoreUI for Angular "),n(5,"small",3),r(6,"7 min ago"),a()(),n(7,"c-toast-body"),r(8,"This is a toast message"),a()(),n(9,"c-toast",4)(10,"c-toast-header",2),d(11,"toast-sample-icon"),r(12," CoreUI for Angular "),n(13,"small",3),r(14,"5 min ago"),a()(),n(15,"c-toast-body"),r(16,"This is a toast message"),a()()()),t&2&&(l(),c("autohide",!1)("fade",!1)("visible",!0),l(),c("closeButton",!1),l(7),c("autohide",!1)("fade",!1),l(),c("closeButton",!1))},dependencies:[x,h,T,S,g],encapsulation:2});let o=e;return o})();var Ue=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast04"]],standalone:!0,features:[u],decls:8,vars:4,consts:[[3,"autohide","fade","visible"],[3,"closeButton"],[1,"ms-auto"]],template:function(t,i){t&1&&(n(0,"c-toast",0)(1,"c-toast-header",1),d(2,"toast-sample-icon"),r(3," CoreUI for Angular "),n(4,"small",2),r(5,"7 min ago"),a()(),n(6,"c-toast-body"),r(7,"This is a toast message"),a()()),t&2&&(c("autohide",!1)("fade",!1)("visible",!0),l(),c("closeButton",!1))},dependencies:[h,T,S,g],encapsulation:2});let o=e;return o})();var ot=["*"],qe=(()=>{let e=class e extends h{constructor(s,t,i,m){super(s,t,i,m),this.hostElement=s,this.renderer=t,this.toasterService=i,this.changeDetectorRef=m,this.closeButton=!0,this.title=""}};e.\u0275fac=function(t){return new(t||e)(v(M),v(F),v(D),v(Z))},e.\u0275cmp=p({type:e,selectors:[["app-toast-sample"]],inputs:{closeButton:"closeButton",title:"title"},standalone:!0,features:[De([{provide:h,useExisting:pe(()=>e)}]),ge,u],ngContentSelectors:ot,decls:12,vars:6,consts:[["toast",""],[3,"closeButton"],[3,"cToastClose"],[1,"mb-1"],["thin",""],[3,"value"]],template:function(t,i){if(t&1&&(w(),N(0),n(1,"c-toast-header",1),d(2,"toast-sample-icon"),n(3,"strong"),r(4),a()(),n(5,"c-toast-body",2,0)(7,"p",3),r(8),a(),_(9),n(10,"c-progress",4),d(11,"c-progress-bar",5),a()(),K()),t&2){let m,f=B(6);l(),c("closeButton",i.closeButton),l(3),V(i.title),l(),c("cToastClose",f.toast),l(3),_e("This is a dynamic toast no ",f.toast==null?null:f.toast.index," ",f.toast==null?null:f.toast.clock,""),l(3),c("value",25*((m=f.toast==null?null:f.toast.clock)!==null&&m!==void 0?m:1))}},dependencies:[T,S,g,I,ne,oe],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"]});let o=e;return o})();var ze=(()=>{let e=class e{constructor(){this.placement=j.TopCenter}addToast(){let s={title:"CoreUI for Angular Toast",delay:5e3,placement:this.placement,color:"info",autohide:!0},t=this.toaster.addToast(qe,U({},s))}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast03"]],viewQuery:function(t,i){if(t&1&&X(x,5),t&2){let m;O(m=R())&&(i.toaster=m.first)}},standalone:!0,features:[u],decls:3,vars:1,consts:[["position","fixed",1,"p-3",3,"placement"],["cButton","",1,"m-1",3,"click"]],template:function(t,i){t&1&&(d(0,"c-toaster",0),n(1,"button",1),y("click",function(){return i.addToast()}),r(2,` Send a dynamic toast +import{a as oe,c as ne}from"./chunk-742PP7K6.js";import{a as H,b as A}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as Ae}from"./chunk-XPMARKUH.js";import{a as Me}from"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import{c as Ie,d as P,g as ee,h as te,i as Q}from"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as He}from"./chunk-MH6VOBXJ.js";import{r as Fe}from"./chunk-Q5WIR6QR.js";import{c as ke,d as Be}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Aa as z,Ac as B,Ba as $,Bc as r,Ca as he,Cc as V,Dc as we,Eb as ge,Ec as _e,Gb as Ce,Ia as ve,Jb as J,La as M,Na as ie,Nc as De,Oc as u,Pc as b,Qb as c,Sb as Y,Tb as ye,Ub as G,Wb as Te,ac as a,ba as pe,bc as d,ca as ue,cc as N,dc as K,fc as W,g as de,hc as be,ia as fe,id as Z,lb as l,mb as v,mc as y,na as p,nd as Ee,oc as xe,od as se,pa as q,pc as w,qc as _,rb as F,tc as Se,uc as X,vc as O,wc as R,xb as L}from"./chunk-6U7QZ4SV.js";import{a as U,e as ce,f as le,g as me}from"./chunk-MGAX33HK.js";var D=(()=>{let e=class e{constructor(){this.toasterState=new de({}),this.toasterState$=this.toasterState.asObservable()}setState(s){this.toasterState.next(U({},s))}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"root"});let o=e;return o})();var Ne=["*"],h=(()=>{let e=class e{constructor(s,t,i,m){this.hostElement=s,this.renderer=t,this.toasterService=i,this.changeDetectorRef=m,this.autohide=!0,this.color="",this.delay=5e3,this.fade=!0,this._visible=!1,this.visibleChange=new ie,this.timer=new ie}set visible(s){let t=s;this._visible!==t&&(this._visible=t,t?this.setTimer():this.clearTimer(),this.visibleChange.emit(t),this.changeDetectorRef.markForCheck())}get visible(){return this._visible}get clock(){return this._clock}set clock(s){this._clock=s,this.timer.emit(this._clock),this.changeDetectorRef.markForCheck()}get animationDisabled(){return!this.fade}get animateType(){return this.visible?"show":"hide"}onMouseOver(){this.clearTimer()}onMouseOut(){this.setTimer()}get hostClasses(){return{toast:!0,show:!0,[`bg-${this.color}`]:!!this.color,"border-0":!!this.color}}ngOnInit(){this.visible&&(this.toasterService.setState({toast:this,show:this.visible,placement:this.placement}),this.clearTimer(),this.setTimer())}ngOnDestroy(){this.clearTimer()}setTimer(){this.clearTimer(),this.autohide&&this.visible&&(this.timerId=this.delay>0?setTimeout(()=>this.onClose(),this.delay):void 0,this.setClock())}clearTimer(){this.clearClock(),clearTimeout(this.timerId),this.timerId=void 0}onClose(){this.clearTimer(),this.toasterService.setState({toast:this,show:!1,placement:this.placement})}setClock(){this.clearClock(),this.clock=0,this.clockId=setInterval(()=>{this.clock+=1,this.changeDetectorRef.markForCheck()},1e3),this.clockTimerId=setTimeout(()=>{this.clearClock()},this.delay)}clearClock(){clearTimeout(this.clockTimerId),clearInterval(this.clockId),this.clockId=void 0}};e.\u0275fac=function(t){return new(t||e)(v(M),v(F),v(D),v(Z))},e.\u0275cmp=p({type:e,selectors:[["c-toast"]],hostVars:4,hostBindings:function(t,i){t&1&&y("mouseover",function(){return i.onMouseOver()})("mouseout",function(){return i.onMouseOut()}),t&2&&(be("@.disabled",i.animationDisabled)("@fadeInOut",i.animateType),G(i.hostClasses))},inputs:{autohide:"autohide",color:"color",delay:[2,"delay","delay",se],fade:"fade",visible:[2,"visible","visible",Ee],index:[2,"index","index",se]},outputs:{visibleChange:"visibleChange",timer:"timer"},exportAs:["cToast"],standalone:!0,features:[Ce,u],ngContentSelectors:Ne,decls:1,vars:0,template:function(t,i){t&1&&(w(),_(0))},styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"],data:{animation:[Ie("fadeInOut",[te("show",ee({opacity:1,height:"*",padding:"*",border:"*",margin:"*"})),te("hide",ee({opacity:0,height:0,padding:0,border:0,margin:0})),te("void",ee({opacity:0,height:0,padding:0,border:0,margin:0})),Q("show => hide",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-out"}}),Q("hide => show",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-in"}}),Q("show => void",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-out"}}),Q("void => show",[P("{{ time }} {{ easing }}")],{params:{time:"300ms",easing:"ease-in"}})])]}});let o=e;return o})();var Ke=["*"],g=(()=>{let e=class e{constructor(s){this.toast=s,this.toastBodyClass=!0}};e.\u0275fac=function(t){return new(t||e)(v(h,8))},e.\u0275cmp=p({type:e,selectors:[["c-toast-body"]],hostVars:2,hostBindings:function(t,i){t&2&&Y("toast-body",i.toastBodyClass)},exportAs:["cToastBody"],standalone:!0,features:[u],ngContentSelectors:Ke,decls:1,vars:0,template:function(t,i){t&1&&(w(),_(0))},styles:["[_nghost-%COMP%]{display:block}"]});let o=e;return o})();var I=(()=>{let e=class e{constructor(s){this.toasterService=s}toggleOpen(s){s.preventDefault(),this.toasterService.setState({show:!1,toast:this.toast})}};e.\u0275fac=function(t){return new(t||e)(v(D))},e.\u0275dir=q({type:e,selectors:[["","cToastClose",""]],hostBindings:function(t,i){t&1&&y("click",function(f){return i.toggleOpen(f)})},inputs:{toast:[0,"cToastClose","toast"]},exportAs:["cToastClose"],standalone:!0});let o=e;return o})();var We=["*"],Xe=()=>({outline:0});function Ze(o,e){if(o&1&&d(0,"button",1),o&2){let E=xe();ye(b(3,Xe)),c("cToastClose",E.toast)}}var T=(()=>{let e=class e{constructor(s){this.toast=s,this.closeButton=!0,this.toastHeaderClass=!0}};e.\u0275fac=function(t){return new(t||e)(v(h,8))},e.\u0275cmp=p({type:e,selectors:[["c-toast-header"]],hostVars:2,hostBindings:function(t,i){t&2&&Y("toast-header",i.toastHeaderClass)},inputs:{closeButton:"closeButton"},exportAs:["cToastHeader"],standalone:!0,features:[u],ngContentSelectors:We,decls:3,vars:1,consts:[["aria-label","close","cButtonClose","",1,"ms-auto",3,"cToastClose","style"],["aria-label","close","cButtonClose","",1,"ms-auto",3,"cToastClose"]],template:function(t,i){t&1&&(w(),N(0),_(1),J(2,Ze,1,4,"button",0),K()),t&2&&(l(2),Te(i.closeButton?2:-1))},dependencies:[I,A],encapsulation:2});let o=e;return o})();var re=(()=>{let e=class e{constructor(s){this.viewContainerRef=s}};e.\u0275fac=function(t){return new(t||e)(v(L))},e.\u0275dir=q({type:e,selectors:[["","cToasterHost",""]],exportAs:["cToasterHost"],standalone:!0});let o=e;return o})();var et=["*"];function tt(o,e){}var j=function(o){return o.Static="static",o.TopStart="top-start",o.TopCenter="top-center",o.TopEnd="top-end",o.MiddleStart="middle-start",o.MiddleCenter="middle-center",o.MiddleEnd="middle-end",o.BottomStart="bottom-start",o.BottomCenter="bottom-center",o.BottomEnd="bottom-end",o}(j||{}),x=(()=>{var e;let E=class E{constructor(t,i,m){le(this,e);this.hostElement=t,this.renderer=i,this.toasterService=m,me(this,e,fe(ve)),this.placements=Object.values(j),this.toastsDynamic=[],this.placement=j.TopEnd,this.position="absolute"}get hostClasses(){return{toaster:!0,"toast-container":!0,[`position-${this.position}`]:!!this.position,"top-0":this.placement.includes("top"),"top-50":this.placement.includes("middle"),"bottom-0":this.placement.includes("bottom"),"start-0":this.placement.includes("start"),"start-50":this.placement.includes("center"),"end-0":this.placement.includes("end"),"translate-middle-x":this.placement.includes("center")&&!this.placement.includes("middle"),"translate-middle-y":this.placement.includes("middle")&&!this.placement.includes("center"),"translate-middle":this.placement.includes("middle")&&this.placement.includes("center")}}ngOnInit(){this.stateToasterSubscribe()}ngAfterContentChecked(){this.toasts=this.contentToasts}addToast(t,i,m){let f=this.toasterHost.viewContainerRef.createComponent(t,m);this.toastsDynamic.push(f);let k=this.toastsDynamic.indexOf(f);for(let[Ye,Ge]of Object.entries(i))f.instance[Ye]=Ge;return f.instance.placement=this.placement,f.instance.dynamic=!0,f.instance.index=k,f.instance.visible=!0,f.instance.visibleChange.emit(!0),f.changeDetectorRef?.detectChanges(),f}removeToast(t){this.toastsDynamic?.forEach(i=>{t.toast?.dynamic&&i.instance===t.toast&&(i.instance.visible=!1,i.instance.visibleChange.emit(!1),i.destroy())}),this.toasts?.forEach(i=>{t.toast&&i.element.nativeElement===t.toast.hostElement.nativeElement&&(t.toast.dynamic||(t.toast.visible=!1))})}stateToasterSubscribe(){this.toasterService.toasterState$.pipe(Me(ce(this,e))).subscribe(t=>{t.show===!1&&this.removeToast(t),t.show===!0&&t.toast?.dynamic})}};e=new WeakMap,E.\u0275fac=function(i){return new(i||E)(v(M),v(F),v(D))},E.\u0275cmp=p({type:E,selectors:[["c-toaster"]],contentQueries:function(i,m,f){if(i&1&&Se(f,h,4,L),i&2){let k;O(k=R())&&(m.contentToasts=k)}},viewQuery:function(i,m){if(i&1&&X(re,7),i&2){let f;O(f=R())&&(m.toasterHost=f.first)}},hostVars:2,hostBindings:function(i,m){i&2&&G(m.hostClasses)},inputs:{placement:"placement",position:"position"},exportAs:["cToaster"],standalone:!0,features:[u],ngContentSelectors:et,decls:2,vars:0,consts:[["cToasterHost",""]],template:function(i,m){i&1&&(w(),J(0,tt,0,0,"ng-template",0),_(1,0,["cToasterHost",""]))},dependencies:[re],encapsulation:2});let o=E;return o})();var S=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["toast-sample-icon"]],standalone:!0,features:[u],decls:2,vars:0,consts:[["width","20","height","20","xmlns","http://www.w3.org/2000/svg","preserveAspectRatio","xMidYMid slice","focusable","false","role","img",1,"rounded","me-2"],["width","100%","height","100%","fill","#007aff"]],template:function(t,i){t&1&&(he(),n(0,"svg",0),d(1,"rect",1),a())},encapsulation:2});let o=e;return o})();var Oe=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast09"]],standalone:!0,features:[u],decls:20,vars:2,consts:[[1,"position-relative"],["placement","top-end","position","absolute"],["visible","",3,"autohide"],[1,"me-auto"],[1,"text-muted"]],template:function(t,i){t&1&&(n(0,"div",0)(1,"c-toaster",1)(2,"c-toast",2)(3,"c-toast-header"),d(4,"toast-sample-icon"),n(5,"strong",3),r(6,"CoreUI for Angular"),a(),n(7,"small",4),r(8,"Just now"),a()(),n(9,"c-toast-body"),r(10,"See? Just like this."),a()(),n(11,"c-toast",2)(12,"c-toast-header"),d(13,"toast-sample-icon"),n(14,"strong",3),r(15,"CoreUI for Angular"),a(),n(16,"small",4),r(17,"2 secs ago"),a()(),n(18,"c-toast-body"),r(19,"Heads up, toasts will stack automatically"),a()()()()),t&2&&(l(2),c("autohide",!1),l(9),c("autohide",!1))},dependencies:[x,h,T,S,g],styles:["[_nghost-%COMP%]{min-height:240px;min-width:fit-content;position:relative}"]});let o=e;return o})();var Re=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast08"]],standalone:!0,features:[u],decls:7,vars:2,consts:[["toast","cToast"],["color","primary",1,"align-items-center","text-white","border-0",3,"autohide","visible"],[1,"d-flex"],["aria-label","close","cButtonClose","","white","",1,"me-2","m-auto",3,"click"]],template:function(t,i){if(t&1){let m=W();n(0,"c-toast",1,0)(2,"div",2)(3,"c-toast-body")(4,"span"),r(5,"Hello, world! This is a toast message."),a()(),n(6,"button",3),y("click",function(){z(m);let k=B(1);return $(k.visible=!1)}),a()()()}t&2&&c("autohide",!1)("visible",!0)},dependencies:[h,g,A],encapsulation:2});let o=e;return o})();var Ve=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast07"]],standalone:!0,features:[u],decls:10,vars:3,consts:[["toast",""],["position","static"],[3,"autohide","visible"],[1,"mt-2","pt-2","border-top"],["cButton","","color","primary","size","sm"],["cButton","","color","secondary","size","sm",1,"ms-1",3,"cToastClose"]],template:function(t,i){if(t&1&&(n(0,"c-toaster",1)(1,"c-toast",2,0)(3,"c-toast-body"),r(4," Hello, world! This is a toast message. "),n(5,"div",3)(6,"button",4),r(7," Take action "),a(),n(8,"button",5),r(9," Close "),a()()()()()),t&2){let m=B(2);l(),c("autohide",!1)("visible",!0),l(7),c("cToastClose",m)}},dependencies:[x,h,g,H,I],encapsulation:2});let o=e;return o})();var Pe=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast06"]],standalone:!0,features:[u],decls:7,vars:2,consts:[["toast","cToast"],[1,"align-items-center",3,"autohide","visible"],[1,"d-flex"],["aria-label","close","cButtonClose","",1,"me-2","m-auto",3,"click"]],template:function(t,i){if(t&1){let m=W();n(0,"c-toast",1,0)(2,"div",2)(3,"c-toast-body")(4,"span"),r(5,"Hello, world! This is a toast message."),a()(),n(6,"button",3),y("click",function(){z(m);let k=B(1);return $(k.visible=!1)}),a()()()}t&2&&c("autohide",!1)("visible",!0)},dependencies:[h,g,A]});let o=e;return o})();var Qe=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast05"]],standalone:!0,features:[u],decls:17,vars:7,consts:[["position","static"],[3,"autohide","fade","visible"],[3,"closeButton"],[1,"ms-auto"],["visible","",3,"autohide","fade"]],template:function(t,i){t&1&&(n(0,"c-toaster",0)(1,"c-toast",1)(2,"c-toast-header",2),d(3,"toast-sample-icon"),r(4," CoreUI for Angular "),n(5,"small",3),r(6,"7 min ago"),a()(),n(7,"c-toast-body"),r(8,"This is a toast message"),a()(),n(9,"c-toast",4)(10,"c-toast-header",2),d(11,"toast-sample-icon"),r(12," CoreUI for Angular "),n(13,"small",3),r(14,"5 min ago"),a()(),n(15,"c-toast-body"),r(16,"This is a toast message"),a()()()),t&2&&(l(),c("autohide",!1)("fade",!1)("visible",!0),l(),c("closeButton",!1),l(7),c("autohide",!1)("fade",!1),l(),c("closeButton",!1))},dependencies:[x,h,T,S,g],encapsulation:2});let o=e;return o})();var Ue=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast04"]],standalone:!0,features:[u],decls:8,vars:4,consts:[[3,"autohide","fade","visible"],[3,"closeButton"],[1,"ms-auto"]],template:function(t,i){t&1&&(n(0,"c-toast",0)(1,"c-toast-header",1),d(2,"toast-sample-icon"),r(3," CoreUI for Angular "),n(4,"small",2),r(5,"7 min ago"),a()(),n(6,"c-toast-body"),r(7,"This is a toast message"),a()()),t&2&&(c("autohide",!1)("fade",!1)("visible",!0),l(),c("closeButton",!1))},dependencies:[h,T,S,g],encapsulation:2});let o=e;return o})();var ot=["*"],qe=(()=>{let e=class e extends h{constructor(s,t,i,m){super(s,t,i,m),this.hostElement=s,this.renderer=t,this.toasterService=i,this.changeDetectorRef=m,this.closeButton=!0,this.title=""}};e.\u0275fac=function(t){return new(t||e)(v(M),v(F),v(D),v(Z))},e.\u0275cmp=p({type:e,selectors:[["app-toast-sample"]],inputs:{closeButton:"closeButton",title:"title"},standalone:!0,features:[De([{provide:h,useExisting:pe(()=>e)}]),ge,u],ngContentSelectors:ot,decls:12,vars:6,consts:[["toast",""],[3,"closeButton"],[3,"cToastClose"],[1,"mb-1"],["thin",""],[3,"value"]],template:function(t,i){if(t&1&&(w(),N(0),n(1,"c-toast-header",1),d(2,"toast-sample-icon"),n(3,"strong"),r(4),a()(),n(5,"c-toast-body",2,0)(7,"p",3),r(8),a(),_(9),n(10,"c-progress",4),d(11,"c-progress-bar",5),a()(),K()),t&2){let m,f=B(6);l(),c("closeButton",i.closeButton),l(3),V(i.title),l(),c("cToastClose",f.toast),l(3),_e("This is a dynamic toast no ",f.toast==null?null:f.toast.index," ",f.toast==null?null:f.toast.clock,""),l(3),c("value",25*((m=f.toast==null?null:f.toast.clock)!==null&&m!==void 0?m:1))}},dependencies:[T,S,g,I,ne,oe],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"]});let o=e;return o})();var ze=(()=>{let e=class e{constructor(){this.placement=j.TopCenter}addToast(){let s={title:"CoreUI for Angular Toast",delay:5e3,placement:this.placement,color:"info",autohide:!0},t=this.toaster.addToast(qe,U({},s))}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast03"]],viewQuery:function(t,i){if(t&1&&X(x,5),t&2){let m;O(m=R())&&(i.toaster=m.first)}},standalone:!0,features:[u],decls:3,vars:1,consts:[["position","fixed",1,"p-3",3,"placement"],["cButton","",1,"m-1",3,"click"]],template:function(t,i){t&1&&(d(0,"c-toaster",0),n(1,"button",1),y("click",function(){return i.addToast()}),r(2,` Send a dynamic toast `),a()),t&2&&c("placement",i.placement)},dependencies:[x,H],encapsulation:2});let o=e;return o})();var $e=(()=>{let e=class e{constructor(){this.position="top-end",this.visible=!1,this.percentage=0}toggleToast(){this.visible=!this.visible}onVisibleChange(s){this.visible=s,this.percentage=this.visible?this.percentage:0}onTimerChange(s){this.percentage=s*25}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast02"]],standalone:!0,features:[u],decls:12,vars:3,consts:[["position","fixed",1,"p-3",3,"placement"],[3,"timer","visibleChange","visible"],["thin",""],[3,"value"],["cButton","",1,"m-1",3,"click"]],template:function(t,i){t&1&&(n(0,"c-toaster",0)(1,"c-toast",1),y("timer",function(f){return i.onTimerChange(f)})("visibleChange",function(f){return i.onVisibleChange(f)}),n(2,"c-toast-header"),d(3,"toast-sample-icon"),r(4," CoreUI for Angular "),a(),n(5,"c-toast-body")(6,"p"),r(7,"This is static toast message in a toaster"),a(),n(8,"c-progress",2),d(9,"c-progress-bar",3),a()()()(),n(10,"button",4),y("click",function(){return i.toggleToast()}),r(11,"Send a toast"),a()),t&2&&(c("placement",i.position),l(),c("visible",i.visible),l(8),c("value",i.percentage))},dependencies:[x,h,T,S,g,ne,oe,H],encapsulation:2});let o=e;return o})();var Le=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p({type:e,selectors:[["docs-toast01"]],standalone:!0,features:[u],decls:6,vars:3,consts:[[3,"autohide","fade","visible"]],template:function(t,i){t&1&&(n(0,"c-toast",0)(1,"c-toast-header"),d(2,"toast-sample-icon"),r(3," CoreUI for Angular "),a(),n(4,"c-toast-body"),r(5,"This is a static toast message"),a()()),t&2&&c("autohide",!1)("fade",!1)("visible",!0)},dependencies:[h,T,S,g],encapsulation:2});let o=e;return o})();var Je=`\`\`\`typescript import { ToastModule } from '@coreui/angular'; diff --git a/angular/docs/chunk-HUWB23IO.js b/angular/docs/chunk-PX3V2ECT.js similarity index 97% rename from angular/docs/chunk-HUWB23IO.js rename to angular/docs/chunk-PX3V2ECT.js index e6aa29e1bfb..a75767632ec 100644 --- a/angular/docs/chunk-HUWB23IO.js +++ b/angular/docs/chunk-PX3V2ECT.js @@ -1,4 +1,4 @@ -import{i as x}from"./chunk-SPMMWGWV.js";import{a as c}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as w}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as E}from"./chunk-SWYVARVN.js";import{r as B}from"./chunk-JJFVMVK7.js";import{c as y,d as S}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as n,Cc as v,Dc as g,Oc as l,Pc as f,Qb as p,ac as e,bc as u,lb as m,mb as h,na as s}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var D=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button14-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2","d-md-flex","justify-content-md-end"],["cButton","","color","primary",1,"me-md-2"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",2),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var k=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button13-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2","col-6","mx-auto"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",1),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var C=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button12-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2","d-md-block"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",1),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var F=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button11-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",1),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var M=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button10-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","role","button","size","lg","disabled","",3,"routerLink"],["cButton","","color","secondary","size","lg","disabled","",3,"routerLink"]],template:function(i,d){i&1&&(t(0,"a",0),n(1,"Primary link"),e(),t(2,"a",1),n(3,"Link"),e())},dependencies:[c,x],encapsulation:2});let r=o;return r})();var I=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button09-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","size","lg","disabled",""],["cButton","","color","secondary","size","lg","disabled",""]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary button"),e(),t(2,"button",1),n(3,"Button"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var T=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button08-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","shape","rounded-0"],["cButton","","color","secondary","shape","rounded-0"],["cButton","","color","success","shape","rounded-0"],["cButton","","color","danger","shape","rounded-0"],["cButton","","color","warning","shape","rounded-0"],["cButton","","color","info","shape","rounded-0"],["cButton","","color","light","shape","rounded-0"],["cButton","","color","dark","shape","rounded-0"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var z=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button07-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","shape","rounded-pill"],["cButton","","color","secondary","shape","rounded-pill"],["cButton","","color","success","shape","rounded-pill"],["cButton","","color","danger","shape","rounded-pill"],["cButton","","color","warning","shape","rounded-pill"],["cButton","","color","info","shape","rounded-pill"],["cButton","","color","light","shape","rounded-pill"],["cButton","","color","dark","shape","rounded-pill"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var L=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button06-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","size","sm"],["cButton","","color","secondary","size","sm"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Small button"),e(),t(2,"button",1),n(3,"Small button"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var A=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button05-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","size","lg"],["cButton","","color","secondary","size","lg"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Large button"),e(),t(2,"button",1),n(3,"Large button"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var P=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button04-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","variant","ghost"],["cButton","","color","secondary","variant","ghost"],["cButton","","color","success","variant","ghost"],["cButton","","color","danger","variant","ghost"],["cButton","","color","warning","variant","ghost"],["cButton","","color","info","variant","ghost"],["cButton","","color","light","variant","ghost"],["cButton","","color","dark","variant","ghost"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var U=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button03-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","variant","outline"],["cButton","","color","secondary","variant","outline"],["cButton","","color","success","variant","outline"],["cButton","","color","danger","variant","outline"],["cButton","","color","warning","variant","outline"],["cButton","","color","info","variant","outline"],["cButton","","color","light","variant","outline"],["cButton","","color","dark","variant","outline"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var j=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button02-example"]],standalone:!0,features:[l],decls:7,vars:0,consts:[["cButton","","color","primary","role","button",3,"routerLink"],["cButton","","color","primary","color","primary"],["cButton","","color","primary","type","button","value","Input"],["cButton","","color","primary","type","submit","value","Submit"],["cButton","","color","primary","type","reset","value","Reset"]],template:function(i,d){i&1&&(t(0,"a",0),n(1,"Link"),e(),t(2,"button",1),n(3,"Button"),e(),u(4,"input",2)(5,"input",3)(6,"input",4))},dependencies:[c,x],encapsulation:2});let r=o;return r})();var R=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button01-example"]],standalone:!0,features:[l],decls:18,vars:0,consts:[["cButton","","color","primary"],["cButton","","color","secondary"],["cButton","","color","success"],["cButton","","color","danger"],["cButton","","color","warning"],["cButton","","color","info"],["cButton","","color","light"],["cButton","","color","dark"],["cButton","","color","link"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e(),t(16,"button",8),n(17,"Link"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var W=`\`\`\`typescript +import{i as x}from"./chunk-FULSUUPP.js";import{a as c}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as w}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as E}from"./chunk-MH6VOBXJ.js";import{r as B}from"./chunk-Q5WIR6QR.js";import{c as y,d as S}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as n,Cc as v,Dc as g,Oc as l,Pc as f,Qb as p,ac as e,bc as u,lb as m,mb as h,na as s}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var D=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button14-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2","d-md-flex","justify-content-md-end"],["cButton","","color","primary",1,"me-md-2"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",2),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var k=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button13-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2","col-6","mx-auto"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",1),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var C=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button12-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2","d-md-block"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",1),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var F=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button11-example"]],standalone:!0,features:[l],decls:5,vars:0,consts:[[1,"d-grid","gap-2"],["cButton","","color","primary"]],template:function(i,d){i&1&&(t(0,"div",0)(1,"button",1),n(2,"Button"),e(),t(3,"button",1),n(4,"Button"),e()())},dependencies:[c],encapsulation:2});let r=o;return r})();var M=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button10-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","role","button","size","lg","disabled","",3,"routerLink"],["cButton","","color","secondary","size","lg","disabled","",3,"routerLink"]],template:function(i,d){i&1&&(t(0,"a",0),n(1,"Primary link"),e(),t(2,"a",1),n(3,"Link"),e())},dependencies:[c,x],encapsulation:2});let r=o;return r})();var I=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button09-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","size","lg","disabled",""],["cButton","","color","secondary","size","lg","disabled",""]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary button"),e(),t(2,"button",1),n(3,"Button"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var T=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button08-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","shape","rounded-0"],["cButton","","color","secondary","shape","rounded-0"],["cButton","","color","success","shape","rounded-0"],["cButton","","color","danger","shape","rounded-0"],["cButton","","color","warning","shape","rounded-0"],["cButton","","color","info","shape","rounded-0"],["cButton","","color","light","shape","rounded-0"],["cButton","","color","dark","shape","rounded-0"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var z=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button07-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","shape","rounded-pill"],["cButton","","color","secondary","shape","rounded-pill"],["cButton","","color","success","shape","rounded-pill"],["cButton","","color","danger","shape","rounded-pill"],["cButton","","color","warning","shape","rounded-pill"],["cButton","","color","info","shape","rounded-pill"],["cButton","","color","light","shape","rounded-pill"],["cButton","","color","dark","shape","rounded-pill"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var L=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button06-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","size","sm"],["cButton","","color","secondary","size","sm"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Small button"),e(),t(2,"button",1),n(3,"Small button"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var A=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button05-example"]],standalone:!0,features:[l],decls:4,vars:0,consts:[["cButton","","color","primary","size","lg"],["cButton","","color","secondary","size","lg"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Large button"),e(),t(2,"button",1),n(3,"Large button"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var P=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button04-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","variant","ghost"],["cButton","","color","secondary","variant","ghost"],["cButton","","color","success","variant","ghost"],["cButton","","color","danger","variant","ghost"],["cButton","","color","warning","variant","ghost"],["cButton","","color","info","variant","ghost"],["cButton","","color","light","variant","ghost"],["cButton","","color","dark","variant","ghost"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var U=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button03-example"]],standalone:!0,features:[l],decls:16,vars:0,consts:[["cButton","","color","primary","variant","outline"],["cButton","","color","secondary","variant","outline"],["cButton","","color","success","variant","outline"],["cButton","","color","danger","variant","outline"],["cButton","","color","warning","variant","outline"],["cButton","","color","info","variant","outline"],["cButton","","color","light","variant","outline"],["cButton","","color","dark","variant","outline"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var j=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button02-example"]],standalone:!0,features:[l],decls:7,vars:0,consts:[["cButton","","color","primary","role","button",3,"routerLink"],["cButton","","color","primary","color","primary"],["cButton","","color","primary","type","button","value","Input"],["cButton","","color","primary","type","submit","value","Submit"],["cButton","","color","primary","type","reset","value","Reset"]],template:function(i,d){i&1&&(t(0,"a",0),n(1,"Link"),e(),t(2,"button",1),n(3,"Button"),e(),u(4,"input",2)(5,"input",3)(6,"input",4))},dependencies:[c,x],encapsulation:2});let r=o;return r})();var R=(()=>{let o=class o{constructor(){}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=s({type:o,selectors:[["docs-button01-example"]],standalone:!0,features:[l],decls:18,vars:0,consts:[["cButton","","color","primary"],["cButton","","color","secondary"],["cButton","","color","success"],["cButton","","color","danger"],["cButton","","color","warning"],["cButton","","color","info"],["cButton","","color","light"],["cButton","","color","dark"],["cButton","","color","link"]],template:function(i,d){i&1&&(t(0,"button",0),n(1,"Primary"),e(),t(2,"button",1),n(3,"Secondary"),e(),t(4,"button",2),n(5,"Success"),e(),t(6,"button",3),n(7,"Danger"),e(),t(8,"button",4),n(9,"Warning"),e(),t(10,"button",5),n(11,"Info"),e(),t(12,"button",6),n(13,"Light"),e(),t(14,"button",7),n(15,"Dark"),e(),t(16,"button",8),n(17,"Link"),e())},dependencies:[c],encapsulation:2});let r=o;return r})();var W=`\`\`\`typescript import { ButtonModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-RIELJY7H.js b/angular/docs/chunk-PXJBODPY.js similarity index 96% rename from angular/docs/chunk-RIELJY7H.js rename to angular/docs/chunk-PXJBODPY.js index 9e962819d31..83d8c4a36e0 100644 --- a/angular/docs/chunk-RIELJY7H.js +++ b/angular/docs/chunk-PXJBODPY.js @@ -1,4 +1,4 @@ -import{a as Z,c as z,d as R,e as y,f as w,g as k,h as D,i as d,l as N}from"./chunk-C5JPXVV5.js";import{A as F,B as E,f as S,i as x,m as b,t as I,u as T}from"./chunk-JZLZFTWK.js";import{a as C}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{b as U,c as u,d as _,e as L,f as G}from"./chunk-EBCID5MY.js";import{g as Y}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as H}from"./chunk-SWYVARVN.js";import{r as q}from"./chunk-JJFVMVK7.js";import{c as P,d as V}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as i,Cc as O,Jb as v,Oc as s,Pc as f,Qb as r,_c as g,ac as e,bc as l,lb as m,mb as A,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var j=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout09"]],standalone:!0,features:[s],decls:28,vars:5,consts:[["cRow","","lg","auto",1,"align-items-center",3,"gutter"],[3,"xs"],["cLabel","","for","inlineFormInputGroupUsername",1,"visually-hidden"],["cInputGroupText",""],["cFormControl","","id","inlineFormInputGroupUsername","placeholder","Username"],["cLabel","","for","inlineFormSelectPref",1,"visually-hidden"],["cSelect","","id","inlineFormSelectPref"],["value","1"],["value","2"],["value","3"],["inline",""],["cFormCheckInput","","id","inlineFormCheck","name","inlineFormCheck","type","checkbox"],["cFormCheckLabel","","for","inlineFormCheck"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3," Username "),e(),t(4,"c-input-group")(5,"span",3),i(6,"@"),e(),l(7,"input",4),e()(),t(8,"c-col",1)(9,"label",5),i(10," Preference "),e(),t(11,"select",6)(12,"option"),i(13,"Choose..."),e(),t(14,"option",7),i(15,"One"),e(),t(16,"option",8),i(17,"Two"),e(),t(18,"option",9),i(19,"Three"),e()()(),t(20,"c-col",1)(21,"c-form-check",10),l(22,"input",11),t(23,"label",12),i(24,"Remember me"),e()()(),t(25,"c-col",1)(26,"button",13),i(27,"Submit"),e()()()),a&2&&(r("gutter",3),m(),r("xs",12),m(7),r("xs",12),m(12),r("xs",12),m(5),r("xs",12))},dependencies:[E,b,I,T,S,F,x,_,G,u,y,z,N,d,R,k,D,w,C],encapsulation:2});let n=o;return n})();var oe=()=>({gy:2,gx:3}),J=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout08"]],standalone:!0,features:[s],decls:32,vars:5,consts:[["cRow","",1,"align-items-center",3,"gutter"],[3,"sm"],["cLabel","","for","specificSizeInputName",1,"visually-hidden"],["cFormControl","","id","specificSizeInputName","placeholder","Jane Doe"],["cLabel","","for","specificSizeInputGroupUsername",1,"visually-hidden"],["cInputGroupText",""],["cFormControl","","id","specificSizeInputGroupUsername","placeholder","Username"],["cLabel","","for","specificSizeSelect",1,"visually-hidden"],["cSelect","","id","specificSizeSelect"],["value","1"],["value","2"],["value","3"],["xs","auto"],["cFormCheckInput","","id","autoSizingCheck2","name","autoSizingCheck2","type","checkbox"],["cFormCheckLabel","","for","autoSizingCheck2"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3," Name "),e(),l(4,"input",3),e(),t(5,"c-col",1)(6,"label",4),i(7," Username "),e(),t(8,"c-input-group")(9,"span",5),i(10,"@"),e(),l(11,"input",6),e()(),t(12,"c-col",1)(13,"label",7),i(14," Preference "),e(),t(15,"select",8)(16,"option"),i(17,"Choose..."),e(),t(18,"option",9),i(19,"One"),e(),t(20,"option",10),i(21,"Two"),e(),t(22,"option",11),i(23,"Three"),e()()(),t(24,"c-col",12)(25,"c-form-check"),l(26,"input",13),t(27,"label",14),i(28,"Remember me"),e()()(),t(29,"c-col",12)(30,"button",15),i(31,"Submit"),e()()()),a&2&&(r("gutter",f(4,oe)),m(),r("sm",3),m(4),r("sm",3),m(7),r("sm",3))},dependencies:[E,b,I,T,S,F,x,_,G,u,y,d,z,N,R,k,D,w,C],encapsulation:2});let n=o;return n})();var ie=()=>({gy:2,gx:3}),W=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout07"]],standalone:!0,features:[s],decls:32,vars:2,consts:[["cRow","",1,"align-items-center",3,"gutter"],["xs","auto"],["cLabel","","for","autoSizingInput",1,"visually-hidden"],["cFormControl","","id","autoSizingInput","placeholder","Jane Doe"],["cLabel","","for","autoSizingInputGroup",1,"visually-hidden"],["cInputGroupText",""],["cFormControl","","id","autoSizingInputGroup","placeholder","Username"],["cLabel","","for","autoSizingSelect",1,"visually-hidden"],["cSelect","","id","autoSizingSelect"],["value","1"],["value","2"],["value","3"],["cFormCheckInput","","id","autoSizingCheck","name","autoSizingCheck","type","checkbox"],["cFormCheckLabel","","for","autoSizingCheck"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3," Name "),e(),l(4,"input",3),e(),t(5,"c-col",1)(6,"label",4),i(7," Username "),e(),t(8,"c-input-group")(9,"span",5),i(10,"@"),e(),l(11,"input",6),e()(),t(12,"c-col",1)(13,"label",7),i(14," Preference "),e(),t(15,"select",8)(16,"option"),i(17,"Choose..."),e(),t(18,"option",9),i(19,"One"),e(),t(20,"option",10),i(21,"Two"),e(),t(22,"option",11),i(23,"Three"),e()()(),t(24,"c-col",1)(25,"c-form-check"),l(26,"input",12),t(27,"label",13),i(28,"Remember me"),e()()(),t(29,"c-col",1)(30,"button",14),i(31,"Submit"),e()()()),a&2&&r("gutter",f(1,ie))},dependencies:[E,b,I,T,S,F,x,_,G,u,y,d,z,N,R,k,D,w,C],encapsulation:2});let n=o;return n})();var K=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout06"]],standalone:!0,features:[s],decls:7,vars:1,consts:[[1,"g-3"],[3,"sm"],["aria-label","City","cFormControl","","placeholder","City"],["aria-label","State","cFormControl","","placeholder","State"],["aria-label","Zip","cFormControl","","placeholder","Zip"]],template:function(a,h){a&1&&(t(0,"c-row",0)(1,"c-col",1),l(2,"input",2),e(),t(3,"c-col",1),l(4,"input",3),e(),t(5,"c-col",1),l(6,"input",4),e()()),a&2&&(m(),r("sm",7))},dependencies:[L,u,d],encapsulation:2});let n=o;return n})();var Q=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout05"]],standalone:!0,features:[s],decls:15,vars:6,consts:[[1,"mb-3"],["cCol","","cLabel","col","for","colFormLabelSm","sizing","sm",3,"sm"],[3,"sm"],["cFormControl","","id","colFormLabelSm","placeholder","col-form-label-sm","sizing","sm","type","email"],["cCol","","cLabel","col","for","colFormLabel",3,"sm"],["cFormControl","","id","colFormLabel","placeholder","col-form-label","type","email"],["cCol","","cLabel","col","for","colFormLabelLg","sizing","lg",3,"sm"],["cFormControl","","id","colFormLabelLg","placeholder","col-form-label-lg","sizing","lg","type","email"]],template:function(a,h){a&1&&(t(0,"c-row",0)(1,"label",1),i(2," Email "),e(),t(3,"c-col",2),l(4,"input",3),e()(),t(5,"c-row",0)(6,"label",4),i(7," Email "),e(),t(8,"c-col",2),l(9,"input",5),e()(),t(10,"c-row")(11,"label",6),i(12," Email "),e(),t(13,"c-col",2),l(14,"input",7),e()()),a&2&&(m(),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10))},dependencies:[L,U,y,u,d],encapsulation:2});let n=o;return n})();var X=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout04"]],standalone:!0,features:[s],decls:35,vars:7,consts:[[1,"mb-3"],["cLabel","col","cCol","","for","inputEmail3",3,"sm"],[3,"sm"],["cFormControl","","id","inputEmail3","type","email"],["cLabel","col","cCol","","for","inputPassword3",3,"sm"],["cFormControl","","id","inputPassword3","type","password"],[1,"row","mb-3"],["cLabel","col","cCol","",1,"pt-0",3,"sm"],["cFormCheckInput","","checked","","id","gridRadios1","name","gridRadios","type","radio","value","option1"],["cFormCheckLabel","","for","gridRadios1"],["cFormCheckInput","","id","gridRadios2","name","gridRadios","type","radio","value","option2"],["cFormCheckLabel","","for","gridRadios2"],["cFormCheckInput","","id","gridRadios3","name","gridRadios","type","radio","value","option3"],["cFormCheckLabel","","for","gridRadios3"],[1,"offset-sm-2",3,"sm"],["cFormCheckInput","","id","gridCheck1","name","gridCheck1","type","checkbox"],["cFormCheckLabel","","for","gridCheck1"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form")(1,"c-row",0)(2,"label",1),i(3," Email "),e(),t(4,"c-col",2),l(5,"input",3),e()(),t(6,"c-row",0)(7,"label",4),i(8," Password "),e(),t(9,"c-col",2),l(10,"input",5),e()(),t(11,"fieldset",6)(12,"legend",7),i(13,"Radios"),e(),t(14,"c-col",2)(15,"c-form-check"),l(16,"input",8),t(17,"label",9),i(18,"First radio"),e()(),t(19,"c-form-check"),l(20,"input",10),t(21,"label",11),i(22,"Second radio"),e()(),t(23,"c-form-check"),l(24,"input",12),t(25,"label",13),i(26,"Third disabled radio"),e()()()(),t(27,"c-row",0)(28,"c-col",14)(29,"c-form-check"),l(30,"input",15),t(31,"label",16),i(32,"Example checkbox"),e()()()(),t(33,"button",17),i(34,"Sign in"),e()()),a&2&&(m(2),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10),m(14),r("sm",10))},dependencies:[E,b,S,F,x,L,y,U,u,d,k,D,w,C],encapsulation:2});let n=o;return n})();var $=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout03"]],standalone:!0,features:[s],decls:41,vars:9,consts:[["cForm","",1,"row","g-3"],[3,"md"],["cLabel","","for","inputEmail4"],["cFormControl","","id","inputEmail4","type","email"],["cLabel","","for","inputPassword4"],["cFormControl","","id","inputPassword4","type","password"],[3,"xs"],["cLabel","","for","inputAddress"],["cFormControl","","id","inputAddress","placeholder","1234 Main St"],["cLabel","","for","inputAddress2"],["cFormControl","","id","inputAddress2","placeholder","Apartment, studio, or floor"],["cLabel","","for","inputCity"],["cFormControl","","id","inputCity"],["cLabel","","for","inputState"],["cSelect","","id","inputState"],["cLabel","","for","inputZip"],["cFormControl","","id","inputZip"],["cFormCheckInput","","id","gridCheck","name","gridCheck","type","checkbox"],["cFormCheckLabel","","for","gridCheck"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3,"Email"),e(),l(4,"input",3),e(),t(5,"c-col",1)(6,"label",4),i(7,"Password"),e(),l(8,"input",5),e(),t(9,"c-col",6)(10,"label",7),i(11,"Address"),e(),l(12,"input",8),e(),t(13,"c-col",6)(14,"label",9),i(15,"Address 2"),e(),l(16,"input",10),e(),t(17,"c-col",1)(18,"label",11),i(19,"City"),e(),l(20,"input",12),e(),t(21,"c-col",1)(22,"label",13),i(23,"State"),e(),t(24,"select",14)(25,"option"),i(26,"Choose..."),e(),t(27,"option"),i(28,"..."),e()()(),t(29,"c-col",1)(30,"label",15),i(31,"Zip"),e(),l(32,"input",16),e(),t(33,"c-col",6)(34,"c-form-check"),l(35,"input",17),t(36,"label",18),i(37,"Check me out"),e()()(),t(38,"c-col",6)(39,"button",19),i(40,"Sign in"),e()()()),a&2&&(m(),r("md",6),m(4),r("md",6),m(4),r("xs",12),m(4),r("xs",12),m(4),r("md",6),m(4),r("md",4),m(8),r("md",2),m(4),r("xs",12),m(5),r("xs",12))},dependencies:[E,b,I,T,S,F,x,Z,u,y,d,R,k,D,w,C],encapsulation:2});let n=o;return n})();var ee=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout02"]],standalone:!0,features:[s],decls:5,vars:0,consts:[[1,"g-3"],[3,"xs"],["aria-label","First name","cFormControl","","placeholder","First name"],["aria-label","Last name","cFormControl","","placeholder","Last name"]],template:function(a,h){a&1&&(t(0,"c-row",0)(1,"c-col",1),l(2,"input",2),e(),t(3,"c-col",1),l(4,"input",3),e()())},dependencies:[L,u,d],encapsulation:2});let n=o;return n})();var te=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout01"]],standalone:!0,features:[s],decls:5,vars:0,consts:[[3,"xs"],["aria-label","First name","cFormControl","","placeholder","First name"],["aria-label","Last name","cFormControl","","placeholder","Last name"]],template:function(a,h){a&1&&(t(0,"c-row")(1,"c-col",0),l(2,"input",1),e(),t(3,"c-col",0),l(4,"input",2),e()())},dependencies:[L,u,d],encapsulation:2});let n=o;return n})();var ne=()=>["forms/layout/examples/layout01.component.html"],le=()=>["forms/layout/examples/layout02.component.html"],re=()=>["forms/layout/examples/layout03.component.html"],ae=()=>["forms/layout/examples/layout04.component.html"],me=()=>["forms/layout/examples/layout05.component.html"],ce=()=>["forms/layout/examples/layout06.component.html"],pe=()=>["forms/layout/examples/layout07.component.html"],se=()=>["forms/layout/examples/layout08.component.html"],de=()=>["forms/layout/examples/layout09.component.html"];function ue(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout01"),e())}function fe(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout02"),e())}function ye(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout03"),e())}function he(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout04"),e())}function ve(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout05"),e())}function ge(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout06"),e())}function Ce(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout07"),e())}function Se(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout08"),e())}function xe(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout09"),e())}var nt=(()=>{let o=class o{constructor(c,a){this.metaService=c,this.titleService=a,this.title="Angular Form Layout Component",this.description="Give your forms some structure \u2014 from inline to horizontal to custom grid implementations \u2014 with our Angular form layout options."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};o.\u0275fac=function(a){return new(a||o)(A(P),A(V))},o.\u0275cmp=p({type:o,selectors:[["docs-layout-docs"]],standalone:!0,features:[s],decls:50,vars:20,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"docs-example","p-3"]],template:function(a,h){a&1&&(t(0,"h1",1),i(1),e(),t(2,"p",2),i(3),e(),l(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` +import{a as Z,c as z,d as R,e as y,f as w,g as k,h as D,i as d,l as N}from"./chunk-ZGGOM75Q.js";import{A as F,B as E,f as S,i as x,m as b,t as I,u as T}from"./chunk-WFHPAILT.js";import{a as C}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{b as U,c as u,d as _,e as L,f as G}from"./chunk-PZ32EFID.js";import{g as Y}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as H}from"./chunk-MH6VOBXJ.js";import{r as q}from"./chunk-Q5WIR6QR.js";import{c as P,d as V}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as i,Cc as O,Jb as v,Oc as s,Pc as f,Qb as r,_c as g,ac as e,bc as l,lb as m,mb as A,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var j=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout09"]],standalone:!0,features:[s],decls:28,vars:5,consts:[["cRow","","lg","auto",1,"align-items-center",3,"gutter"],[3,"xs"],["cLabel","","for","inlineFormInputGroupUsername",1,"visually-hidden"],["cInputGroupText",""],["cFormControl","","id","inlineFormInputGroupUsername","placeholder","Username"],["cLabel","","for","inlineFormSelectPref",1,"visually-hidden"],["cSelect","","id","inlineFormSelectPref"],["value","1"],["value","2"],["value","3"],["inline",""],["cFormCheckInput","","id","inlineFormCheck","name","inlineFormCheck","type","checkbox"],["cFormCheckLabel","","for","inlineFormCheck"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3," Username "),e(),t(4,"c-input-group")(5,"span",3),i(6,"@"),e(),l(7,"input",4),e()(),t(8,"c-col",1)(9,"label",5),i(10," Preference "),e(),t(11,"select",6)(12,"option"),i(13,"Choose..."),e(),t(14,"option",7),i(15,"One"),e(),t(16,"option",8),i(17,"Two"),e(),t(18,"option",9),i(19,"Three"),e()()(),t(20,"c-col",1)(21,"c-form-check",10),l(22,"input",11),t(23,"label",12),i(24,"Remember me"),e()()(),t(25,"c-col",1)(26,"button",13),i(27,"Submit"),e()()()),a&2&&(r("gutter",3),m(),r("xs",12),m(7),r("xs",12),m(12),r("xs",12),m(5),r("xs",12))},dependencies:[E,b,I,T,S,F,x,_,G,u,y,z,N,d,R,k,D,w,C],encapsulation:2});let n=o;return n})();var oe=()=>({gy:2,gx:3}),J=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout08"]],standalone:!0,features:[s],decls:32,vars:5,consts:[["cRow","",1,"align-items-center",3,"gutter"],[3,"sm"],["cLabel","","for","specificSizeInputName",1,"visually-hidden"],["cFormControl","","id","specificSizeInputName","placeholder","Jane Doe"],["cLabel","","for","specificSizeInputGroupUsername",1,"visually-hidden"],["cInputGroupText",""],["cFormControl","","id","specificSizeInputGroupUsername","placeholder","Username"],["cLabel","","for","specificSizeSelect",1,"visually-hidden"],["cSelect","","id","specificSizeSelect"],["value","1"],["value","2"],["value","3"],["xs","auto"],["cFormCheckInput","","id","autoSizingCheck2","name","autoSizingCheck2","type","checkbox"],["cFormCheckLabel","","for","autoSizingCheck2"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3," Name "),e(),l(4,"input",3),e(),t(5,"c-col",1)(6,"label",4),i(7," Username "),e(),t(8,"c-input-group")(9,"span",5),i(10,"@"),e(),l(11,"input",6),e()(),t(12,"c-col",1)(13,"label",7),i(14," Preference "),e(),t(15,"select",8)(16,"option"),i(17,"Choose..."),e(),t(18,"option",9),i(19,"One"),e(),t(20,"option",10),i(21,"Two"),e(),t(22,"option",11),i(23,"Three"),e()()(),t(24,"c-col",12)(25,"c-form-check"),l(26,"input",13),t(27,"label",14),i(28,"Remember me"),e()()(),t(29,"c-col",12)(30,"button",15),i(31,"Submit"),e()()()),a&2&&(r("gutter",f(4,oe)),m(),r("sm",3),m(4),r("sm",3),m(7),r("sm",3))},dependencies:[E,b,I,T,S,F,x,_,G,u,y,d,z,N,R,k,D,w,C],encapsulation:2});let n=o;return n})();var ie=()=>({gy:2,gx:3}),W=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout07"]],standalone:!0,features:[s],decls:32,vars:2,consts:[["cRow","",1,"align-items-center",3,"gutter"],["xs","auto"],["cLabel","","for","autoSizingInput",1,"visually-hidden"],["cFormControl","","id","autoSizingInput","placeholder","Jane Doe"],["cLabel","","for","autoSizingInputGroup",1,"visually-hidden"],["cInputGroupText",""],["cFormControl","","id","autoSizingInputGroup","placeholder","Username"],["cLabel","","for","autoSizingSelect",1,"visually-hidden"],["cSelect","","id","autoSizingSelect"],["value","1"],["value","2"],["value","3"],["cFormCheckInput","","id","autoSizingCheck","name","autoSizingCheck","type","checkbox"],["cFormCheckLabel","","for","autoSizingCheck"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3," Name "),e(),l(4,"input",3),e(),t(5,"c-col",1)(6,"label",4),i(7," Username "),e(),t(8,"c-input-group")(9,"span",5),i(10,"@"),e(),l(11,"input",6),e()(),t(12,"c-col",1)(13,"label",7),i(14," Preference "),e(),t(15,"select",8)(16,"option"),i(17,"Choose..."),e(),t(18,"option",9),i(19,"One"),e(),t(20,"option",10),i(21,"Two"),e(),t(22,"option",11),i(23,"Three"),e()()(),t(24,"c-col",1)(25,"c-form-check"),l(26,"input",12),t(27,"label",13),i(28,"Remember me"),e()()(),t(29,"c-col",1)(30,"button",14),i(31,"Submit"),e()()()),a&2&&r("gutter",f(1,ie))},dependencies:[E,b,I,T,S,F,x,_,G,u,y,d,z,N,R,k,D,w,C],encapsulation:2});let n=o;return n})();var K=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout06"]],standalone:!0,features:[s],decls:7,vars:1,consts:[[1,"g-3"],[3,"sm"],["aria-label","City","cFormControl","","placeholder","City"],["aria-label","State","cFormControl","","placeholder","State"],["aria-label","Zip","cFormControl","","placeholder","Zip"]],template:function(a,h){a&1&&(t(0,"c-row",0)(1,"c-col",1),l(2,"input",2),e(),t(3,"c-col",1),l(4,"input",3),e(),t(5,"c-col",1),l(6,"input",4),e()()),a&2&&(m(),r("sm",7))},dependencies:[L,u,d],encapsulation:2});let n=o;return n})();var Q=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout05"]],standalone:!0,features:[s],decls:15,vars:6,consts:[[1,"mb-3"],["cCol","","cLabel","col","for","colFormLabelSm","sizing","sm",3,"sm"],[3,"sm"],["cFormControl","","id","colFormLabelSm","placeholder","col-form-label-sm","sizing","sm","type","email"],["cCol","","cLabel","col","for","colFormLabel",3,"sm"],["cFormControl","","id","colFormLabel","placeholder","col-form-label","type","email"],["cCol","","cLabel","col","for","colFormLabelLg","sizing","lg",3,"sm"],["cFormControl","","id","colFormLabelLg","placeholder","col-form-label-lg","sizing","lg","type","email"]],template:function(a,h){a&1&&(t(0,"c-row",0)(1,"label",1),i(2," Email "),e(),t(3,"c-col",2),l(4,"input",3),e()(),t(5,"c-row",0)(6,"label",4),i(7," Email "),e(),t(8,"c-col",2),l(9,"input",5),e()(),t(10,"c-row")(11,"label",6),i(12," Email "),e(),t(13,"c-col",2),l(14,"input",7),e()()),a&2&&(m(),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10))},dependencies:[L,U,y,u,d],encapsulation:2});let n=o;return n})();var X=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout04"]],standalone:!0,features:[s],decls:35,vars:7,consts:[[1,"mb-3"],["cLabel","col","cCol","","for","inputEmail3",3,"sm"],[3,"sm"],["cFormControl","","id","inputEmail3","type","email"],["cLabel","col","cCol","","for","inputPassword3",3,"sm"],["cFormControl","","id","inputPassword3","type","password"],[1,"row","mb-3"],["cLabel","col","cCol","",1,"pt-0",3,"sm"],["cFormCheckInput","","checked","","id","gridRadios1","name","gridRadios","type","radio","value","option1"],["cFormCheckLabel","","for","gridRadios1"],["cFormCheckInput","","id","gridRadios2","name","gridRadios","type","radio","value","option2"],["cFormCheckLabel","","for","gridRadios2"],["cFormCheckInput","","id","gridRadios3","name","gridRadios","type","radio","value","option3"],["cFormCheckLabel","","for","gridRadios3"],[1,"offset-sm-2",3,"sm"],["cFormCheckInput","","id","gridCheck1","name","gridCheck1","type","checkbox"],["cFormCheckLabel","","for","gridCheck1"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form")(1,"c-row",0)(2,"label",1),i(3," Email "),e(),t(4,"c-col",2),l(5,"input",3),e()(),t(6,"c-row",0)(7,"label",4),i(8," Password "),e(),t(9,"c-col",2),l(10,"input",5),e()(),t(11,"fieldset",6)(12,"legend",7),i(13,"Radios"),e(),t(14,"c-col",2)(15,"c-form-check"),l(16,"input",8),t(17,"label",9),i(18,"First radio"),e()(),t(19,"c-form-check"),l(20,"input",10),t(21,"label",11),i(22,"Second radio"),e()(),t(23,"c-form-check"),l(24,"input",12),t(25,"label",13),i(26,"Third disabled radio"),e()()()(),t(27,"c-row",0)(28,"c-col",14)(29,"c-form-check"),l(30,"input",15),t(31,"label",16),i(32,"Example checkbox"),e()()()(),t(33,"button",17),i(34,"Sign in"),e()()),a&2&&(m(2),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10),m(3),r("sm",2),m(2),r("sm",10),m(14),r("sm",10))},dependencies:[E,b,S,F,x,L,y,U,u,d,k,D,w,C],encapsulation:2});let n=o;return n})();var $=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout03"]],standalone:!0,features:[s],decls:41,vars:9,consts:[["cForm","",1,"row","g-3"],[3,"md"],["cLabel","","for","inputEmail4"],["cFormControl","","id","inputEmail4","type","email"],["cLabel","","for","inputPassword4"],["cFormControl","","id","inputPassword4","type","password"],[3,"xs"],["cLabel","","for","inputAddress"],["cFormControl","","id","inputAddress","placeholder","1234 Main St"],["cLabel","","for","inputAddress2"],["cFormControl","","id","inputAddress2","placeholder","Apartment, studio, or floor"],["cLabel","","for","inputCity"],["cFormControl","","id","inputCity"],["cLabel","","for","inputState"],["cSelect","","id","inputState"],["cLabel","","for","inputZip"],["cFormControl","","id","inputZip"],["cFormCheckInput","","id","gridCheck","name","gridCheck","type","checkbox"],["cFormCheckLabel","","for","gridCheck"],["cButton","","type","submit"]],template:function(a,h){a&1&&(t(0,"form",0)(1,"c-col",1)(2,"label",2),i(3,"Email"),e(),l(4,"input",3),e(),t(5,"c-col",1)(6,"label",4),i(7,"Password"),e(),l(8,"input",5),e(),t(9,"c-col",6)(10,"label",7),i(11,"Address"),e(),l(12,"input",8),e(),t(13,"c-col",6)(14,"label",9),i(15,"Address 2"),e(),l(16,"input",10),e(),t(17,"c-col",1)(18,"label",11),i(19,"City"),e(),l(20,"input",12),e(),t(21,"c-col",1)(22,"label",13),i(23,"State"),e(),t(24,"select",14)(25,"option"),i(26,"Choose..."),e(),t(27,"option"),i(28,"..."),e()()(),t(29,"c-col",1)(30,"label",15),i(31,"Zip"),e(),l(32,"input",16),e(),t(33,"c-col",6)(34,"c-form-check"),l(35,"input",17),t(36,"label",18),i(37,"Check me out"),e()()(),t(38,"c-col",6)(39,"button",19),i(40,"Sign in"),e()()()),a&2&&(m(),r("md",6),m(4),r("md",6),m(4),r("xs",12),m(4),r("xs",12),m(4),r("md",6),m(4),r("md",4),m(8),r("md",2),m(4),r("xs",12),m(5),r("xs",12))},dependencies:[E,b,I,T,S,F,x,Z,u,y,d,R,k,D,w,C],encapsulation:2});let n=o;return n})();var ee=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout02"]],standalone:!0,features:[s],decls:5,vars:0,consts:[[1,"g-3"],[3,"xs"],["aria-label","First name","cFormControl","","placeholder","First name"],["aria-label","Last name","cFormControl","","placeholder","Last name"]],template:function(a,h){a&1&&(t(0,"c-row",0)(1,"c-col",1),l(2,"input",2),e(),t(3,"c-col",1),l(4,"input",3),e()())},dependencies:[L,u,d],encapsulation:2});let n=o;return n})();var te=(()=>{let o=class o{};o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=p({type:o,selectors:[["docs-layout01"]],standalone:!0,features:[s],decls:5,vars:0,consts:[[3,"xs"],["aria-label","First name","cFormControl","","placeholder","First name"],["aria-label","Last name","cFormControl","","placeholder","Last name"]],template:function(a,h){a&1&&(t(0,"c-row")(1,"c-col",0),l(2,"input",1),e(),t(3,"c-col",0),l(4,"input",2),e()())},dependencies:[L,u,d],encapsulation:2});let n=o;return n})();var ne=()=>["forms/layout/examples/layout01.component.html"],le=()=>["forms/layout/examples/layout02.component.html"],re=()=>["forms/layout/examples/layout03.component.html"],ae=()=>["forms/layout/examples/layout04.component.html"],me=()=>["forms/layout/examples/layout05.component.html"],ce=()=>["forms/layout/examples/layout06.component.html"],pe=()=>["forms/layout/examples/layout07.component.html"],se=()=>["forms/layout/examples/layout08.component.html"],de=()=>["forms/layout/examples/layout09.component.html"];function ue(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout01"),e())}function fe(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout02"),e())}function ye(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout03"),e())}function he(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout04"),e())}function ve(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout05"),e())}function ge(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout06"),e())}function Ce(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout07"),e())}function Se(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout08"),e())}function xe(n,o){n&1&&(t(0,"div",4),l(1,"docs-layout09"),e())}var nt=(()=>{let o=class o{constructor(c,a){this.metaService=c,this.titleService=a,this.title="Angular Form Layout Component",this.description="Give your forms some structure \u2014 from inline to horizontal to custom grid implementations \u2014 with our Angular form layout options."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};o.\u0275fac=function(a){return new(a||o)(A(P),A(V))},o.\u0275cmp=p({type:o,selectors:[["docs-layout-docs"]],standalone:!0,features:[s],decls:50,vars:20,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"docs-example","p-3"]],template:function(a,h){a&1&&(t(0,"h1",1),i(1),e(),t(2,"p",2),i(3),e(),l(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` ## Forms Every group of form fields should reside in a \`form\` element. CoreUI provides no default styling for the \`form\` diff --git a/angular/docs/chunk-EBCID5MY.js b/angular/docs/chunk-PZ32EFID.js similarity index 97% rename from angular/docs/chunk-EBCID5MY.js rename to angular/docs/chunk-PZ32EFID.js index bba6df20116..60135ed5956 100644 --- a/angular/docs/chunk-EBCID5MY.js +++ b/angular/docs/chunk-PZ32EFID.js @@ -1 +1 @@ -import{a as v,b as F}from"./chunk-T5CNCUEW.js";import{Ea as g,Eb as y,Gb as $,Oc as d,Ub as f,na as u,nd as D,pa as p,pc as h,qc as m}from"./chunk-O6V6MKDU.js";import{a as c}from"./chunk-MGAX33HK.js";var a=function(r){return r.xs="xs",r.sm="sm",r.md="md",r.lg="lg",r.xl="xl",r.xxl="xxl",r}(a||{});var C=(()=>{let e=class e{constructor(){this._xs=!1,this._sm=!1,this._md=!1,this._lg=!1,this._xl=!1,this._xxl=!1}set cCol(t){this.xs=this.xs||this.coerceInput(t)}set xs(t){this._xs=this.coerceInput(t)}get xs(){return this._xs}set sm(t){this._sm=this.coerceInput(t)}get sm(){return this._sm}set md(t){this._md=this.coerceInput(t)}get md(){return this._md}set lg(t){this._lg=this.coerceInput(t)}get lg(){return this._lg}set xl(t){this._xl=this.coerceInput(t)}get xl(){return this._xl}set xxl(t){this._xxl=this.coerceInput(t)}get xxl(){return this._xxl}get hostClasses(){let t={col:!0};if(Object.keys(a).forEach(s=>{let o=this[s],i=s==="xs"?"":`-${s}`;t[`col${i}`]=o===!0,t[`col${i}-${o}`]=typeof o=="number"||typeof o=="string"}),typeof this.offset=="object"){let s=c({},this.offset);Object.entries(s).forEach(o=>{let[i,n]=[...o],l=i==="xs"?"":`-${i}`;t[`offset${l}-${n}`]=n>=0&&n<=11})}else t[`offset-${this.offset}`]=typeof this.offset=="number"&&this.offset>0&&this.offset<=11;if(typeof this.order=="object"){let s=c({},this.order);Object.entries(s).forEach(o=>{let[i,n]=[...o],l=i==="xs"?"":`-${i}`;t[`order${l}-${n}`]=n})}else t[`order-${this.order}`]=!!this.order;return t.col=!Object.entries(t).filter(s=>s[0].startsWith("col-")&&s[1]).length||this.xs===!0,t}coerceInput(t){return t==="auto"?t:t===""||t===void 0||t===null?v(t):typeof t=="boolean"?t:F(t)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275dir=p({type:e,selectors:[["","cCol",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{cCol:"cCol",xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl",xxl:"xxl",offset:"offset",order:"order"},standalone:!0});let r=e;return r})();var I=["*"],j=(()=>{let e=class e extends C{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})(),e.\u0275cmp=u({type:e,selectors:[["c-col"]],standalone:!0,features:[y,d],ngContentSelectors:I,decls:1,vars:0,template:function(s,o){s&1&&(h(),m(0))},styles:["[_nghost-%COMP%]{display:block}"]});let r=e;return r})();var b=(()=>{let e=class e{get hostClasses(){let t=this.xs,s={row:!0,[`row-cols-${t}`]:!!t};return Object.keys(a).forEach(o=>{let i=this[o];if(typeof i=="number"||typeof i=="string"){let n=o==="xs"?"":`-${o}`;s[`row-cols${n}-${i}`]=!!i}}),s}};e.\u0275fac=function(s){return new(s||e)},e.\u0275dir=p({type:e,selectors:[["","cRow",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl",xxl:"xxl"},standalone:!0});let r=e;return r})();var w=["*"],B=(()=>{let e=class e extends b{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})(),e.\u0275cmp=u({type:e,selectors:[["c-row"]],standalone:!0,features:[y,d],ngContentSelectors:w,decls:1,vars:0,template:function(s,o){s&1&&(h(),m(0))},encapsulation:2});let r=e;return r})();var M=["*"],_=(()=>{let e=class e{constructor(){this.breakpoint="",this.fluid=!1}get hostClasses(){return{container:!this.fluid&&!this.breakpoint,"container-fluid":!!this.fluid,[`container-${this.breakpoint}`]:!!this.breakpoint}}};e.\u0275fac=function(s){return new(s||e)},e.\u0275cmp=u({type:e,selectors:[["c-container"],["","cContainer",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{breakpoint:"breakpoint",fluid:[2,"fluid","fluid",D]},standalone:!0,features:[$,d],ngContentSelectors:M,decls:1,vars:0,template:function(s,o){s&1&&(h(),m(0))},styles:["[_nghost-%COMP%]{display:block}"]});let r=e;return r})();var H=(()=>{let e=class e{constructor(){this.gutter={}}get hostClasses(){let t;if(typeof this.gutter=="number")return t=e.getGutterClasses({g:this.gutter}),t;{let{g:s,gx:o,gy:i}=c({},this.gutter);t=e.getGutterClasses({g:s,gx:o,gy:i})}return Object.keys(a).forEach(s=>{let o=this.gutter[s]?c({},this.gutter[s]):void 0;if(o){let i=e.getGutterClasses(o,s);t=c(c({},t),i)}}),t}static getGutterClasses(t,s){let{g:o,gx:i,gy:n}=c({},t),l=s?`-${s}`:"";return{[`g${l}-${o}`]:typeof o=="number",[`gx${l}-${i}`]:typeof i=="number",[`gy${l}-${n}`]:typeof n=="number"}}};e.\u0275fac=function(s){return new(s||e)},e.\u0275dir=p({type:e,selectors:[["","gutter",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{gutter:"gutter"},standalone:!0});let r=e;return r})();export{_ as a,C as b,j as c,b as d,B as e,H as f}; +import{a as v,b as F}from"./chunk-DADCTN7Z.js";import{Ea as g,Eb as y,Gb as $,Oc as d,Ub as f,na as u,nd as D,pa as p,pc as h,qc as m}from"./chunk-6U7QZ4SV.js";import{a as c}from"./chunk-MGAX33HK.js";var a=function(r){return r.xs="xs",r.sm="sm",r.md="md",r.lg="lg",r.xl="xl",r.xxl="xxl",r}(a||{});var C=(()=>{let e=class e{constructor(){this._xs=!1,this._sm=!1,this._md=!1,this._lg=!1,this._xl=!1,this._xxl=!1}set cCol(t){this.xs=this.xs||this.coerceInput(t)}set xs(t){this._xs=this.coerceInput(t)}get xs(){return this._xs}set sm(t){this._sm=this.coerceInput(t)}get sm(){return this._sm}set md(t){this._md=this.coerceInput(t)}get md(){return this._md}set lg(t){this._lg=this.coerceInput(t)}get lg(){return this._lg}set xl(t){this._xl=this.coerceInput(t)}get xl(){return this._xl}set xxl(t){this._xxl=this.coerceInput(t)}get xxl(){return this._xxl}get hostClasses(){let t={col:!0};if(Object.keys(a).forEach(s=>{let o=this[s],i=s==="xs"?"":`-${s}`;t[`col${i}`]=o===!0,t[`col${i}-${o}`]=typeof o=="number"||typeof o=="string"}),typeof this.offset=="object"){let s=c({},this.offset);Object.entries(s).forEach(o=>{let[i,n]=[...o],l=i==="xs"?"":`-${i}`;t[`offset${l}-${n}`]=n>=0&&n<=11})}else t[`offset-${this.offset}`]=typeof this.offset=="number"&&this.offset>0&&this.offset<=11;if(typeof this.order=="object"){let s=c({},this.order);Object.entries(s).forEach(o=>{let[i,n]=[...o],l=i==="xs"?"":`-${i}`;t[`order${l}-${n}`]=n})}else t[`order-${this.order}`]=!!this.order;return t.col=!Object.entries(t).filter(s=>s[0].startsWith("col-")&&s[1]).length||this.xs===!0,t}coerceInput(t){return t==="auto"?t:t===""||t===void 0||t===null?v(t):typeof t=="boolean"?t:F(t)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275dir=p({type:e,selectors:[["","cCol",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{cCol:"cCol",xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl",xxl:"xxl",offset:"offset",order:"order"},standalone:!0});let r=e;return r})();var I=["*"],j=(()=>{let e=class e extends C{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})(),e.\u0275cmp=u({type:e,selectors:[["c-col"]],standalone:!0,features:[y,d],ngContentSelectors:I,decls:1,vars:0,template:function(s,o){s&1&&(h(),m(0))},styles:["[_nghost-%COMP%]{display:block}"]});let r=e;return r})();var b=(()=>{let e=class e{get hostClasses(){let t=this.xs,s={row:!0,[`row-cols-${t}`]:!!t};return Object.keys(a).forEach(o=>{let i=this[o];if(typeof i=="number"||typeof i=="string"){let n=o==="xs"?"":`-${o}`;s[`row-cols${n}-${i}`]=!!i}}),s}};e.\u0275fac=function(s){return new(s||e)},e.\u0275dir=p({type:e,selectors:[["","cRow",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl",xxl:"xxl"},standalone:!0});let r=e;return r})();var w=["*"],B=(()=>{let e=class e extends b{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=g(e)))(o||e)}})(),e.\u0275cmp=u({type:e,selectors:[["c-row"]],standalone:!0,features:[y,d],ngContentSelectors:w,decls:1,vars:0,template:function(s,o){s&1&&(h(),m(0))},encapsulation:2});let r=e;return r})();var M=["*"],_=(()=>{let e=class e{constructor(){this.breakpoint="",this.fluid=!1}get hostClasses(){return{container:!this.fluid&&!this.breakpoint,"container-fluid":!!this.fluid,[`container-${this.breakpoint}`]:!!this.breakpoint}}};e.\u0275fac=function(s){return new(s||e)},e.\u0275cmp=u({type:e,selectors:[["c-container"],["","cContainer",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{breakpoint:"breakpoint",fluid:[2,"fluid","fluid",D]},standalone:!0,features:[$,d],ngContentSelectors:M,decls:1,vars:0,template:function(s,o){s&1&&(h(),m(0))},styles:["[_nghost-%COMP%]{display:block}"]});let r=e;return r})();var H=(()=>{let e=class e{constructor(){this.gutter={}}get hostClasses(){let t;if(typeof this.gutter=="number")return t=e.getGutterClasses({g:this.gutter}),t;{let{g:s,gx:o,gy:i}=c({},this.gutter);t=e.getGutterClasses({g:s,gx:o,gy:i})}return Object.keys(a).forEach(s=>{let o=this.gutter[s]?c({},this.gutter[s]):void 0;if(o){let i=e.getGutterClasses(o,s);t=c(c({},t),i)}}),t}static getGutterClasses(t,s){let{g:o,gx:i,gy:n}=c({},t),l=s?`-${s}`:"";return{[`g${l}-${o}`]:typeof o=="number",[`gx${l}-${i}`]:typeof i=="number",[`gy${l}-${n}`]:typeof n=="number"}}};e.\u0275fac=function(s){return new(s||e)},e.\u0275dir=p({type:e,selectors:[["","gutter",""]],hostVars:2,hostBindings:function(s,o){s&2&&f(o.hostClasses)},inputs:{gutter:"gutter"},standalone:!0});let r=e;return r})();export{_ as a,C as b,j as c,b as d,B as e,H as f}; diff --git a/angular/docs/chunk-JJFVMVK7.js b/angular/docs/chunk-Q5WIR6QR.js similarity index 99% rename from angular/docs/chunk-JJFVMVK7.js rename to angular/docs/chunk-Q5WIR6QR.js index 5ba89cba5bc..fd004a87301 100644 --- a/angular/docs/chunk-JJFVMVK7.js +++ b/angular/docs/chunk-Q5WIR6QR.js @@ -1,4 +1,4 @@ -import{e as te}from"./chunk-FX553NHW.js";import{b as Ue}from"./chunk-ATBE6YUJ.js";import{A as R,u as Fe,y as qe}from"./chunk-FIXU3TFH.js";import{$b as De,Bc as je,Cc as Be,I as xe,K as be,La as V,M as we,Na as j,Oc as Y,S as ye,Sa as Ce,Sb as ve,U as Te,V as Ee,W as $e,Wc as G,Xc as ee,ac as Pe,ca as Se,da as Re,f as M,fa as A,fb as ze,ha as S,lb as Oe,m as ge,mb as y,mc as Le,na as X,oa as _e,pc as Ne,q as W,qa as K,qc as Me,tb as Ae,xa as Ie,xb as J,y as me,z as ke}from"./chunk-O6V6MKDU.js";import{a as m,b as C,i as Q}from"./chunk-MGAX33HK.js";function se(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var I=se();function Ke(a){I=a}var Ve=/[&<>"']/,ht=new RegExp(Ve.source,"g"),Je=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,pt=new RegExp(Je.source,"g"),ut={"&":"&","<":"<",">":">",'"':""","'":"'"},He=a=>ut[a];function b(a,t){if(t){if(Ve.test(a))return a.replace(ht,He)}else if(Je.test(a))return a.replace(pt,He);return a}var dt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ft(a){return a.replace(dt,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}var gt=/(^|[^\[])\^/g;function g(a,t){let n=typeof a=="string"?a:a.source;t=t||"";let e={replace:(i,r)=>{let s=typeof r=="string"?r:r.source;return s=s.replace(gt,"$1"),n=n.replace(i,s),e},getRegex:()=>new RegExp(n,t)};return e}function Ze(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}var D={exec:()=>null};function Qe(a,t){let n=a.replace(/\|/g,(r,s,o)=>{let l=!1,p=s;for(;--p>=0&&o[p]==="\\";)l=!l;return l?"|":" |"}),e=n.split(/ \|/),i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),t)if(e.length>t)e.splice(t);else for(;e.length"']/,ht=new RegExp(Ve.source,"g"),Je=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,pt=new RegExp(Je.source,"g"),ut={"&":"&","<":"<",">":">",'"':""","'":"'"},He=a=>ut[a];function b(a,t){if(t){if(Ve.test(a))return a.replace(ht,He)}else if(Je.test(a))return a.replace(pt,He);return a}var dt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ft(a){return a.replace(dt,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}var gt=/(^|[^\[])\^/g;function g(a,t){let n=typeof a=="string"?a:a.source;t=t||"";let e={replace:(i,r)=>{let s=typeof r=="string"?r:r.source;return s=s.replace(gt,"$1"),n=n.replace(i,s),e},getRegex:()=>new RegExp(n,t)};return e}function Ze(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}var D={exec:()=>null};function Qe(a,t){let n=a.replace(/\|/g,(r,s,o)=>{let l=!1,p=s;for(;--p>=0&&o[p]==="\\";)l=!l;return l?"|":" |"}),e=n.split(/ \|/),i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),t)if(e.length>t)e.splice(t);else for(;e.length{let r=i.match(/^\s+/);if(r===null)return i;let[s]=r;return s.length>=e.length?i.slice(e.length):i}).join(` `)}var O=class{options;rules;lexer;constructor(t){this.options=t||I}space(t){let n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){let n=this.rules.block.code.exec(t);if(n){let e=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:B(e,` `)}}}fences(t){let n=this.rules.block.fences.exec(t);if(n){let e=n[0],i=kt(e,n[3]||"");return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(t){let n=this.rules.block.heading.exec(t);if(n){let e=n[2].trim();if(/#$/.test(e)){let i=B(e,"#");(this.options.pedantic||!i||/ $/.test(i))&&(e=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(t){let n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){let n=this.rules.block.blockquote.exec(t);if(n){let e=n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` diff --git a/angular/docs/chunk-LAZC4L5P.js b/angular/docs/chunk-Q654COFM.js similarity index 90% rename from angular/docs/chunk-LAZC4L5P.js rename to angular/docs/chunk-Q654COFM.js index ed48bc12ccb..a0898f45cef 100644 --- a/angular/docs/chunk-LAZC4L5P.js +++ b/angular/docs/chunk-Q654COFM.js @@ -1,4 +1,4 @@ -import{a as f,b as v}from"./chunk-KQYWJLIW.js";import"./chunk-3WH63G7J.js";import{a as u}from"./chunk-KHEJVAJA.js";import"./chunk-FPQGXMEQ.js";import{a as h}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{c as T,e as D}from"./chunk-EBCID5MY.js";import{g as A}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as B}from"./chunk-SWYVARVN.js";import{r as M}from"./chunk-JJFVMVK7.js";import{c as k,d as E}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as i,Cc as x,Dc as _,Oc as d,Pb as S,Pc as b,Qb as r,ac as n,bc as C,lb as a,mb as y,mc as p,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var F=(()=>{let e=class e{constructor(){this.visible=[!1,!1]}toggleCollapse(c){this.visible[c]=!this.visible[c]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["docs-collapse02"]],standalone:!0,features:[d],decls:17,vars:4,consts:[["cButton","","color","primary",1,"me-1",3,"click"],[3,"xs"],["cCollapse","",3,"visible"],[1,"mt-3"]],template:function(o,l){o&1&&(t(0,"button",0),p("click",function(){return l.toggleCollapse(0)}),i(1,"Toggle first element"),n(),t(2,"button",0),p("click",function(){return l.toggleCollapse(1)}),i(3,"Toggle second element"),n(),t(4,"button",0),p("click",function(){return l.toggleCollapse(0),l.toggleCollapse(1)}),i(5,"Toggle both"),n(),t(6,"c-row")(7,"c-col",1)(8,"div",2)(9,"c-card",3)(10,"c-card-body"),i(11," Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. "),n()()()(),t(12,"c-col",1)(13,"div",2)(14,"c-card",3)(15,"c-card-body"),i(16," Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. "),n()()()()()),o&2&&(a(7),r("xs",6),a(),r("visible",l.visible[0]),a(4),r("xs",6),a(),r("visible",l.visible[1]))},dependencies:[h,D,T,u,f,v]});let s=e;return s})();var I=(()=>{let e=class e{constructor(){this.visible=!1}toggleCollapse(){this.visible=!this.visible}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["docs-collapse03"]],standalone:!0,features:[d],decls:6,vars:2,consts:[["cButton","","color","primary",1,"me-1","mb-3",3,"click"],[2,"min-height","130px"],["cCollapse","","horizontal","",1,"shadow",2,"max-width","260px",3,"visible"],[2,"width","260px"]],template:function(o,l){o&1&&(t(0,"button",0),p("click",function(){return l.toggleCollapse()}),i(1,"Button"),n(),t(2,"div",1)(3,"c-card",2)(4,"c-card-body",3),i(5," This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered. "),n()()()),o&2&&(S("aria-expanded",l.visible),a(3),r("visible",l.visible))},dependencies:[h,f,u,v],encapsulation:2});let s=e;return s})();var z=(()=>{let e=class e{constructor(){this.visible=!1}toggleCollapse(){this.visible=!this.visible}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["docs-collapse01"]],standalone:!0,features:[d],decls:8,vars:1,consts:[["cButton","","color","primary",1,"me-1",3,"click"],["cCollapse","",3,"visible"],[1,"mt-3","shadow"]],template:function(o,l){o&1&&(t(0,"a",0),p("click",function(){return l.toggleCollapse()}),i(1,"Link"),n(),t(2,"button",0),p("click",function(){return l.toggleCollapse()}),i(3,"Button"),n(),t(4,"div",1)(5,"c-card",2)(6,"c-card-body"),i(7," Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. "),n()()()),o&2&&(a(4),r("visible",l.visible))},dependencies:[h,u,f,v]});let s=e;return s})();var N=`\`\`\`typescript +import{a as f,b as v}from"./chunk-FDIAV3SM.js";import"./chunk-IH2HSX2J.js";import{a as u}from"./chunk-2RE6QDUT.js";import"./chunk-7GF3S5CV.js";import{a as h}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{c as T,e as D}from"./chunk-PZ32EFID.js";import{g as A}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as B}from"./chunk-MH6VOBXJ.js";import{r as M}from"./chunk-Q5WIR6QR.js";import{c as k,d as E}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as i,Cc as x,Dc as _,Oc as d,Pb as S,Pc as b,Qb as r,ac as n,bc as C,lb as a,mb as y,mc as p,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var F=(()=>{let e=class e{constructor(){this.visible=[!1,!1]}toggleCollapse(c){this.visible[c]=!this.visible[c]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["docs-collapse02"]],standalone:!0,features:[d],decls:17,vars:4,consts:[["cButton","","color","primary",1,"me-1",3,"click"],[3,"xs"],["cCollapse","",3,"visible"],[1,"mt-3"]],template:function(o,l){o&1&&(t(0,"button",0),p("click",function(){return l.toggleCollapse(0)}),i(1,"Toggle first element"),n(),t(2,"button",0),p("click",function(){return l.toggleCollapse(1)}),i(3,"Toggle second element"),n(),t(4,"button",0),p("click",function(){return l.toggleCollapse(0),l.toggleCollapse(1)}),i(5,"Toggle both"),n(),t(6,"c-row")(7,"c-col",1)(8,"div",2)(9,"c-card",3)(10,"c-card-body"),i(11," Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. "),n()()()(),t(12,"c-col",1)(13,"div",2)(14,"c-card",3)(15,"c-card-body"),i(16," Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. "),n()()()()()),o&2&&(a(7),r("xs",6),a(),r("visible",l.visible[0]),a(4),r("xs",6),a(),r("visible",l.visible[1]))},dependencies:[h,D,T,u,f,v]});let s=e;return s})();var I=(()=>{let e=class e{constructor(){this.visible=!1}toggleCollapse(){this.visible=!this.visible}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["docs-collapse03"]],standalone:!0,features:[d],decls:6,vars:2,consts:[["cButton","","color","primary",1,"me-1","mb-3",3,"click"],[2,"min-height","130px"],["cCollapse","","horizontal","",1,"shadow",2,"max-width","260px",3,"visible"],[2,"width","260px"]],template:function(o,l){o&1&&(t(0,"button",0),p("click",function(){return l.toggleCollapse()}),i(1,"Button"),n(),t(2,"div",1)(3,"c-card",2)(4,"c-card-body",3),i(5," This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered. "),n()()()),o&2&&(S("aria-expanded",l.visible),a(3),r("visible",l.visible))},dependencies:[h,f,u,v],encapsulation:2});let s=e;return s})();var z=(()=>{let e=class e{constructor(){this.visible=!1}toggleCollapse(){this.visible=!this.visible}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["docs-collapse01"]],standalone:!0,features:[d],decls:8,vars:1,consts:[["cButton","","color","primary",1,"me-1",3,"click"],["cCollapse","",3,"visible"],[1,"mt-3","shadow"]],template:function(o,l){o&1&&(t(0,"a",0),p("click",function(){return l.toggleCollapse()}),i(1,"Link"),n(),t(2,"button",0),p("click",function(){return l.toggleCollapse()}),i(3,"Button"),n(),t(4,"div",1)(5,"c-card",2)(6,"c-card-body"),i(7," Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. "),n()()()),o&2&&(a(4),r("visible",l.visible))},dependencies:[h,u,f,v]});let s=e;return s})();var N=`\`\`\`typescript import { CollapseModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-QWXOJRTG.js b/angular/docs/chunk-QWXOJRTG.js deleted file mode 100644 index 8c4bf82e228..00000000000 --- a/angular/docs/chunk-QWXOJRTG.js +++ /dev/null @@ -1 +0,0 @@ -import{a as V,i as Ae}from"./chunk-QNSTT6ST.js";import{c as Ee,d as Ke,g as Q,h as W,i as we}from"./chunk-NNMKHZUS.js";import{t as R}from"./chunk-FIXU3TFH.js";import{$b as C,A as se,Ac as w,Bb as ue,Bc as Z,Cb as he,Db as be,Dc as Te,Gb as ve,Ia as O,Ja as de,Jb as b,Ka as l,Kb as z,La as fe,Lb as U,Mb as ye,Nc as De,Ob as ge,Oc as _,Pb as F,Qb as v,Ub as k,X as re,Y as M,Yb as G,Zb as J,_b as X,_c as ee,ac as I,bc as Y,ca as ce,da as le,ec as K,gc as L,hc as _e,ia as p,lb as j,mc as xe,na as h,nc as Ce,nd as Ie,oa as me,ob as N,oc as S,od as Se,pa as pe,pc as y,pd as m,qc as g,qd as $,rd as E,x as q,xc as P,z as ae,zb as D,zc as H}from"./chunk-O6V6MKDU.js";import{e as r,f,g as u}from"./chunk-MGAX33HK.js";var d=(()=>{let t=class t{constructor(){this.activeItem=D(void 0),this.activeItemKey=D(void 0),this.id=D(void 0)}};t.\u0275fac=function(a){return new(a||t)},t.\u0275prov=ce({token:t,factory:t.\u0275fac});let e=t;return e})();var Fe=["*"],ke=0,te=(()=>{let t=class t{constructor(){this.tabsService=p(d),this.activeItemKey=be(),this.tabsId=`tabs-${ke++}`,this.id=l(this.tabsId),this.activeItemEffect=E(()=>{this.tabsService.id.set(this.id()),this.tabsService.activeItemKey.set(this.activeItemKey())},{allowSignalWrites:!0}),this.tabsServiceEffect=E(()=>{this.activeItemKey.set(this.tabsService.activeItemKey())},{allowSignalWrites:!0})}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=h({type:t,selectors:[["c-tabs"]],hostAttrs:[1,"tabs"],hostVars:1,hostBindings:function(a,n){a&2&&L("id",n.id())},inputs:{activeItemKey:[1,"activeItemKey"],id:[1,"id"]},outputs:{activeItemKey:"activeItemKeyChange"},exportAs:["cTabs"],standalone:!0,features:[De([d]),_],ngContentSelectors:Fe,decls:1,vars:0,template:function(a,n){a&1&&(y(),g(0))},styles:["[_nghost-%COMP%]{display:block}"]});let e=t;return e})();var B=(()=>{var t,i,o,a;let n=class n{constructor(){f(this,t);f(this,i);f(this,o);f(this,a);u(this,t,p(O)),u(this,i,p(fe)),u(this,o,p(d)),u(this,a,D(!1)),this.itemKey=l.required(),this.id=l(),this.ariaControls=l(void 0,{alias:"aria-controls"}),this.isActive=m(()=>!r(this,a).call(this)&&r(this,o).activeItemKey()===this.itemKey()),this.hostClasses=m(()=>({"nav-link":!0,active:this.isActive()})),this.propId=m(()=>this.id()??`${r(this,o).id()}-tab-${this.itemKey()}`),this.attrAriaControls=m(()=>this.ariaControls()??`${r(this,o).id()}-panel-${this.itemKey()}`),this.disabledEffect=E(()=>{if(!r(this,a).call(this)){let s=q(r(this,i).nativeElement,"click"),T=q(r(this,i).nativeElement,"focusin");ae(T,s).pipe(se(x=>!r(this,a).call(this)),M(x=>{r(this,o).activeItemKey.set($(this.itemKey))}),re(()=>!r(this,a).call(this)),V(r(this,t))).subscribe()}},{allowSignalWrites:!0})}set disabled(s){r(this,a).set(s)}get disabled(){return r(this,a).call(this)}focus(s){r(this,i).nativeElement.focus()}};t=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakMap,n.\u0275fac=function(T){return new(T||n)},n.\u0275dir=pe({type:n,selectors:[["button","cTab",""]],hostAttrs:["type","button","role","tab"],hostVars:6,hostBindings:function(T,x){T&2&&(L("id",x.propId())("tabindex",x.isActive()?0:-1),F("aria-selected",x.isActive())("aria-controls",x.attrAriaControls()),k(x.hostClasses()))},inputs:{disabled:[2,"disabled","disabled",Ie],itemKey:[1,"itemKey"],id:[1,"id"],ariaControls:[1,"aria-controls","ariaControls"]},exportAs:["cTab"],standalone:!0,features:[ve]});let e=n;return e})();var Le=["*"],ie=(()=>{var t,i;let o=class o{constructor(){f(this,t);f(this,i);u(this,t,p(O)),this.tabsService=p(d),this.layout=l(),this.variant=l(),this.role=l("tablist"),this.hostClasses=m(()=>({nav:!0,[`nav-${this.layout()}`]:this.layout(),[`nav-${this.variant()}`]:this.variant()})),this.tabs=he(B),this.tabsEffect=E(()=>{if(this.tabs().length===0)return;u(this,i,new Ae(this.tabs()).skipPredicate(s=>s.disabled===!0).withHorizontalOrientation("ltr").withHomeAndEnd().withWrap()),r(this,i).change.pipe(M(s=>{this.tabsService.activeItemKey.set(r(this,i).activeItem?.itemKey()),this.tabsService.activeItem.set(r(this,i).activeItem)}),V(r(this,t))).subscribe();let n=this.tabs().find(s=>$(s.isActive))??this.tabs().find(s=>!s.disabled),c=this.tabs().findIndex(s=>s===n);r(this,i)?.updateActiveItem(c<0?0:c),this.tabsService.activeItemKey.set(r(this,i).activeItem?.itemKey()),this.tabsService.activeItem.set(r(this,i).activeItem)},{allowSignalWrites:!0}),this.tabsServiceEffect=E(()=>{let n=this.tabs().findIndex(c=>$(c.isActive)&&$(c.itemKey)===this.tabsService.activeItemKey());r(this,i)?.updateActiveItem(n<0?0:n)})}onKeydown(n){if(["ArrowLeft","ArrowRight"].includes(n.key)){r(this,i).onKeydown(n);return}["Tab"].includes(n.key)&&r(this,i)?.tabOut.next()}};t=new WeakMap,i=new WeakMap,o.\u0275fac=function(c){return new(c||o)},o.\u0275cmp=h({type:o,selectors:[["c-tabs-list"]],contentQueries:function(c,s,T){c&1&&P(T,s.tabs,B,4),c&2&&H()},hostVars:3,hostBindings:function(c,s){c&1&&xe("keydown",function(x){return s.onKeydown(x)}),c&2&&(F("role",s.role()),k(s.hostClasses()))},inputs:{layout:[1,"layout"],variant:[1,"variant"],role:[1,"role"]},exportAs:["cTabsList"],standalone:!0,features:[_],ngContentSelectors:Le,decls:1,vars:0,template:function(c,s){c&1&&(y(),g(0))},encapsulation:2});let e=o;return e})();var $e=["*"],ne=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=h({type:t,selectors:[["c-tabs-content"]],hostAttrs:[1,"tab-content"],exportAs:["cTabsContent"],standalone:!0,features:[_],ngContentSelectors:$e,decls:1,vars:0,template:function(a,n){a&1&&(y(),g(0))},encapsulation:2});let e=t;return e})();var Be=["*"],oe=(()=>{let t=class t{constructor(){this.tabsService=p(d),this.ariaLabelledBy=l(void 0,{alias:"aria-labelledby"}),this.id=l(),this.itemKey=l.required(),this.tabindex=l(0,{transform:Se}),this.transition=l(!0),this.visibleChange=de(),this.show=D(!1),this.visible=m(()=>{let o=this.tabsService.activeItemKey()===this.itemKey()&&!this.tabsService.activeItem()?.disabled;return this.visibleChange.emit({itemKey:this.itemKey(),visible:o}),o}),this.propId=m(()=>this.id()??`${this.tabsService.id()}-panel-${this.itemKey()}`),this.attrAriaLabelledBy=m(()=>this.ariaLabelledBy()??`${this.tabsService.id()}-tab-${this.itemKey()}`),this.hostClasses=m(()=>({"tab-pane":!0,active:this.show(),fade:this.transition(),show:this.show(),invisible:this.tabsService.activeItem()?.disabled}))}get animationDisabled(){return!this.transition()}get animateType(){return this.visible()?"show":"hide"}onAnimationDone(o){this.show.set(this.visible())}};t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=h({type:t,selectors:[["c-tab-panel"]],hostAttrs:["role","tabpanel"],hostVars:7,hostBindings:function(a,n){a&1&&Ce("@fadeInOut.done",function(s){return n.onAnimationDone(s)}),a&2&&(L("tabindex",n.visible()?n.tabindex():-1)("id",n.propId()),_e("@.disabled",n.animationDisabled)("@fadeInOut",n.animateType),F("aria-labelledby",n.attrAriaLabelledBy()),k(n.hostClasses()))},inputs:{ariaLabelledBy:[1,"aria-labelledby","ariaLabelledBy"],id:[1,"id"],itemKey:[1,"itemKey"],tabindex:[1,"tabindex"],transition:[1,"transition"]},outputs:{visibleChange:"visibleChange"},exportAs:["cTabPanel"],standalone:!0,features:[_],ngContentSelectors:Be,decls:1,vars:0,template:function(a,n){a&1&&(y(),g(0))},encapsulation:2,data:{animation:[Ee("fadeInOut",[W("show",Q({opacity:1})),W("hide",Q({opacity:0})),W("void",Q({opacity:0})),we("* => *",[Ke("150ms linear")])])]}});let e=t;return e})();var je=(()=>{let t=class t{};t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=me({type:t}),t.\u0275inj=le({providers:[d]});let e=t;return e})();var Me=["docsExample"],Oe=["*"],Pe=()=>[R],He=()=>[R,import("./chunk-L24MZQ47.js").then(e=>e.MarkdownComponent)];function Re(e,t){e&1&&K(0)}function Qe(e,t){if(e&1&&b(0,Re,1,0,"ng-container",8),e&2){let i=S(),o=w(16);v("ngTemplateOutlet",i.docsExampleTemplateRef()||o)}}function We(e,t){e&1&&K(0)}function Ve(e,t){if(e&1&&b(0,We,1,0,"ng-container",8),e&2){S();let i=w(18);v("ngTemplateOutlet",i)}}function qe(e,t){e&1&&K(0)}function Ne(e,t){if(e&1&&b(0,qe,1,0,"ng-container",8),e&2){S();let i=w(18);v("ngTemplateOutlet",i)}}function ze(e,t){if(e&1&&(C(0,"button",6),Z(1),I()),e&2){let i=t.$implicit,o=t.$index;v("itemKey",o),j(),Te(" ",i.split("/").pop()," ")}}function Ue(e,t){e&1&&K(0)}function Ge(e,t){if(e&1&&(C(0,"markdown",9),b(1,Ue,1,0,"ng-container",8),I()),e&2){let i=S().$implicit;S();let o=w(18);v("src",i),j(),v("ngTemplateOutlet",o)}}function Je(e,t){e&1&&K(0)}function Xe(e,t){if(e&1&&b(0,Je,1,0,"ng-container",8),e&2){S(2);let i=w(18);v("ngTemplateOutlet",i)}}function Ye(e,t){e&1&&K(0)}function Ze(e,t){if(e&1&&b(0,Ye,1,0,"ng-container",8),e&2){S(2);let i=w(18);v("ngTemplateOutlet",i)}}function et(e,t){if(e&1&&(C(0,"c-tab-panel",7),b(1,Ge,2,2)(2,Xe,1,1)(3,Ze,1,1),U(4,1,He,2,3,null,3,4,z),ye(),I()),e&2){let i=t.$index;v("itemKey",i)("transition",!1)}}function tt(e,t){e&1&&(C(0,"div",10),g(1),I())}function it(e,t){e&1&&(C(0,"div",11),Y(1,"i",12),C(2,"span",13),Z(3,"Loading..."),I()())}var nt=(()=>{var t;let i=class i{constructor(){f(this,t);u(this,t,[]),this.files=l(),this.docsExampleTemplateRef=ue("docsExample",{read:N})}};t=new WeakMap,i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=h({type:i,selectors:[["docs-example"]],contentQueries:function(n,c,s){n&1&&P(s,c.docsExampleTemplateRef,Me,5,N),n&2&&H()},inputs:{files:[1,"files"]},standalone:!0,features:[_],ngContentSelectors:Oe,decls:19,vars:0,consts:[["start",""],["docsExampleDefault",""],["loading",""],[10,null],[10],[1,"docs-code-group","mb-1","text-bg-dark",2,"min-height","15rem"],["cTab","",3,"itemKey"],[3,"itemKey","transition"],[4,"ngTemplateOutlet"],["lineNumbers","",3,"src"],[1,"docs-example"],[2,"min-height","10rem","padding","2rem"],[1,"spinner-grow","spinner-grow-sm"],[1,"m-1"]],template:function(n,c){n&1&&(y(),Y(0,"div",null,0),b(2,Qe,1,1)(3,Ve,1,1)(4,Ne,1,1),U(5,2,Pe,3,4,null,3,4,z),ge(0),C(7,"div",5)(8,"c-tabs")(9,"c-tabs-list"),J(10,ze,2,2,"button",6,G),I(),C(12,"c-tabs-content"),J(13,et,6,2,"c-tab-panel",7,G),I()()(),b(15,tt,2,0,"ng-template",null,1,ee)(17,it,4,0,"ng-template",null,2,ee)),n&2&&(j(10),X(c.files()),j(3),X(c.files()))},dependencies:[R,te,ie,B,ne,oe],styles:[".docs-code-group .nav{background-color:#282c34;color:#ccc;padding:10px 0} .docs-code-group .nav-link{border:0;margin:0 1rem;padding:.5rem .25rem;cursor:pointer;background-color:transparent;font-size:.85em;line-height:1.4;color:#ffffffe6;font-weight:600} .docs-code-group .nav-link.active{border-bottom:2px solid #cf2f4c} .docs-code-group markdown>pre{max-height:500px;margin:0 0 1.5rem;border-top-left-radius:0;border-top-right-radius:0}"]});let e=i;return e})();export{te as a,B as b,ie as c,ne as d,oe as e,je as f,nt as g}; diff --git a/angular/docs/chunk-QZ6GNV4W.js b/angular/docs/chunk-QZ6GNV4W.js deleted file mode 100644 index 081e14834a7..00000000000 --- a/angular/docs/chunk-QZ6GNV4W.js +++ /dev/null @@ -1 +0,0 @@ -import"./chunk-MGAX33HK.js";var o=[{path:"",data:{title:"Components"},children:[{path:"",redirectTo:"accordion",pathMatch:"full"},{path:"accordion",loadComponent:()=>import("./chunk-MSC7WIKV.js").then(t=>t.AccordionComponent),data:{label:"Accordion"},title:"Accordion"},{path:"alert",loadComponent:()=>import("./chunk-QT4PRSSN.js").then(t=>t.AlertComponent),data:{label:"Alert"},title:"Alert"},{path:"avatar",loadComponent:()=>import("./chunk-E67TCANI.js").then(t=>t.AvatarComponent),data:{label:"Avatar"},title:"Avatar"},{path:"badge",loadComponent:()=>import("./chunk-BKKRFA2R.js").then(t=>t.BadgeComponent),data:{label:"Badge"},title:"Badge"},{path:"breadcrumb",loadComponent:()=>import("./chunk-4NNQVPEV.js").then(t=>t.BreadcrumbComponent),data:{label:"Breadcrumb"},title:"Breadcrumb"},{path:"button",loadComponent:()=>import("./chunk-HUWB23IO.js").then(t=>t.ButtonComponent),data:{label:"Button"},title:"Button"},{path:"button-group",loadComponent:()=>import("./chunk-WS76WYYX.js").then(t=>t.ButtonGroupComponent),data:{label:"Button Group"},title:"Button Group"},{path:"callout",loadComponent:()=>import("./chunk-2OMOXFT4.js").then(t=>t.CalloutComponent),data:{label:"Callout"},title:"Callout"},{path:"card",loadComponent:()=>import("./chunk-6OXRDEX7.js").then(t=>t.CardComponent),data:{label:"Card"},title:"Card"},{path:"carousel",loadComponent:()=>import("./chunk-ZGWVHLBF.js").then(t=>t.CarouselComponent),data:{label:"Carousel"},title:"Carousel"},{path:"close-button",loadComponent:()=>import("./chunk-FLQSRUE5.js").then(t=>t.CloseButtonComponent),data:{label:"Close Button"},title:"Close Button"},{path:"collapse",loadComponent:()=>import("./chunk-LAZC4L5P.js").then(t=>t.CollapseComponent),data:{label:"Collapse"},title:"Collapse"},{path:"dropdown",loadComponent:()=>import("./chunk-C4G7K3RW.js").then(t=>t.DropdownComponent),data:{label:"Dropdown"},title:"Dropdown"},{path:"footer",loadComponent:()=>import("./chunk-CM2T5DOI.js").then(t=>t.FooterComponent),data:{label:"Footer"},title:"Footer"},{path:"header",loadComponent:()=>import("./chunk-N3HRZF7B.js").then(t=>t.HeaderComponent),data:{label:"Header"},title:"Header"},{path:"image",loadComponent:()=>import("./chunk-4Z7JYQH5.js").then(t=>t.ImageComponent),data:{label:"Image"},title:"Image"},{path:"list-group",loadComponent:()=>import("./chunk-6UB4B4QL.js").then(t=>t.ListGroupComponent),data:{label:"List Group"},title:"List Group"},{path:"loading-button",loadComponent:()=>import("./chunk-6HXQWXUN.js").then(t=>t.LoadingButtonComponent),data:{label:"Loading Button"},title:"Loading Button"},{path:"modal",loadComponent:()=>import("./chunk-6ZZ3DAQX.js").then(t=>t.ModalComponent),data:{label:"Modal"},title:"Modal"},{path:"nav",loadComponent:()=>import("./chunk-4GB7KXWL.js").then(t=>t.NavComponent),data:{label:"Nav"},title:"Nav"},{path:"navbar",loadComponent:()=>import("./chunk-ABULJYFK.js").then(t=>t.NavbarComponent),data:{label:"Navbar"},title:"Navbar"},{path:"offcanvas",loadComponent:()=>import("./chunk-P6W6ST24.js").then(t=>t.OffcanvasComponent),data:{label:"Offcanvas"},title:"Offcanvas"},{path:"pagination",loadComponent:()=>import("./chunk-YDBFBQQC.js").then(t=>t.PaginationComponent),data:{label:"Pagination"},title:"Pagination"},{path:"popover",loadComponent:()=>import("./chunk-WDRYTTD7.js").then(t=>t.PopoverComponent),data:{label:"Popover"},title:"Popover"},{path:"placeholder",loadComponent:()=>import("./chunk-R5VILIZ4.js").then(t=>t.PlaceholdersComponent),data:{label:"Placeholder"},title:"Placeholder"},{path:"progress",loadComponent:()=>import("./chunk-SCSRRCK3.js").then(t=>t.ProgressComponent),data:{label:"Progress"},title:"Progress"},{path:"smart-pagination",loadComponent:()=>import("./chunk-RDJHB37T.js").then(t=>t.SmartPaginationComponent),data:{label:"Smart Pagination"},title:"Smart Pagination"},{path:"smart-table",loadComponent:()=>import("./chunk-JIBW4UCM.js").then(t=>t.SmartTableComponent),data:{label:"Smart Table"},title:"Smart Table"},{path:"sidebar",loadComponent:()=>import("./chunk-MTVNGV5V.js").then(t=>t.SidebarDocsComponent),data:{label:"Sidebar"},title:"Sidebar"},{path:"spinner",loadComponent:()=>import("./chunk-BBXB6IKX.js").then(t=>t.SpinnerComponent),data:{label:"Spinner"},title:"Spinner"},{path:"table",loadComponent:()=>import("./chunk-35W7OU42.js").then(t=>t.TableComponent),data:{label:"Table"},title:"Table"},{path:"tabs",loadComponent:()=>import("./chunk-Q4CO3HND.js").then(t=>t.TabsComponent),data:{label:"Tabs"},title:"Tabs"},{path:"toast",loadComponent:()=>import("./chunk-CI3QMYTK.js").then(t=>t.ToastComponent),data:{label:"Toast"},title:"Toast"},{path:"tooltip",loadComponent:()=>import("./chunk-2RIOGVKI.js").then(t=>t.TooltipComponent),data:{label:"Tooltip"},title:"Tooltip"},{path:"widgets",loadComponent:()=>import("./chunk-TLGXSKMA.js").then(t=>t.WidgetsComponent),data:{label:"Widgets"},title:"Widgets"}]}];export{o as routes}; diff --git a/angular/docs/chunk-HB22SVXB.js b/angular/docs/chunk-R5MWEJKJ.js similarity index 98% rename from angular/docs/chunk-HB22SVXB.js rename to angular/docs/chunk-R5MWEJKJ.js index 185f2fb7223..0d3a6927383 100644 --- a/angular/docs/chunk-HB22SVXB.js +++ b/angular/docs/chunk-R5MWEJKJ.js @@ -1,4 +1,4 @@ -import{s as J}from"./chunk-VP4RI3NG.js";import{b as oe,c as p,d as N,e as f}from"./chunk-7XKRTNVZ.js";import"./chunk-J4FX3WSX.js";import{a as me}from"./chunk-YDIXRUSA.js";import{A as le,B as F,e as C,f as E,g as j,i as ie,j as R,l as ne,m as M,q as B,r as A}from"./chunk-JZLZFTWK.js";import{b as V}from"./chunk-J37AVTJX.js";import"./chunk-R2HXWLDR.js";import"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import"./chunk-2IKSDGSZ.js";import{g as se}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as ae}from"./chunk-SWYVARVN.js";import{r as re}from"./chunk-JJFVMVK7.js";import{c as ee,d as te}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{u as L,x as w}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Ac as Q,Bc as n,Ca as O,Cc as U,Dc as _,Jb as g,Jc as X,Lb as W,Mb as K,Nc as P,Oc as u,Pc as h,Qb as m,Wc as S,Xc as x,Zb as D,_b as I,_c as y,ac as t,bc as s,ca as Y,f as H,g as z,lb as a,mb as T,mc as Z,na as d,oc as G}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var ce=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select07"]],standalone:!0,features:[u],decls:15,vars:5,consts:[["form","ngForm"],["multiple","","name","multiSelect","ngModel",""],[3,"selected"],["value","react",3,"selected"],["value","vue"]],template:function(o,c){if(o&1&&(e(0,"form",null,0)(2,"c-multi-select",1)(3,"c-multi-select-option",2),n(4,"Angular"),t(),e(5,"c-multi-select-option"),n(6,"Bootstrap"),t(),e(7,"c-multi-select-option",3),n(8,"React.js"),t(),e(9,"c-multi-select-option",4),n(10,"Vue.js"),t()()(),s(11,"br"),e(12,"p"),n(13),S(14,"json"),t()),o&2){let $=Q(1);a(3),m("selected",!0),a(4),m("selected",!0),a(6),_(" Form value: ",x(14,3,$.value),"")}},dependencies:[F,M,C,E,le,ne,ie,f,p,w],encapsulation:2});let l=i;return l})();var de=(()=>{let i=class i{constructor(){this.formGroup=new j({multiSelect:new R(["Angular","Bootstrap"])})}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select06"]],standalone:!0,features:[u],decls:14,vars:4,consts:[[3,"formGroup"],["formControlName","multiSelect","multiple",""]],template:function(o,c){o&1&&(e(0,"form",0)(1,"c-multi-select",1)(2,"c-multi-select-option"),n(3,"Angular"),t(),e(4,"c-multi-select-option"),n(5,"Bootstrap"),t(),e(6,"c-multi-select-option"),n(7,"React.js"),t(),e(8,"c-multi-select-option"),n(9,"Vue.js"),t()()(),s(10,"br"),e(11,"p"),n(12),S(13,"json"),t()),o&2&&(m("formGroup",c.formGroup),a(12),_(" Form value: ",x(13,2,c.formGroup.value),""))},dependencies:[F,M,C,E,B,A,f,p,w],encapsulation:2});let l=i;return l})();var k=(()=>{let i=class i{constructor(){this.users=[{id:"1",first_name:"Rowland",last_name:"Jumont",email:"rjumont0@dmoz.org",country:"China",ip_address:"248.90.215.202",registered:"2019-04-27"},{id:"2",first_name:"Melloney",last_name:"Swindon",email:"mswindon0@canalblog.com",country:"Tunisia",ip_address:"64.28.239.34",registered:"2017-09-09"},{id:"3",first_name:"Martica",last_name:"Farfolomeev",email:"mfarfolomeev1@bluehost.com",country:"Philippines",ip_address:"135.56.179.89",registered:"2021-02-26"},{id:"4",first_name:"Modestia",last_name:"Batten",email:"mbatten2@epa.gov",country:"Philippines",ip_address:"119.63.79.34",registered:"2022-03-24"},{id:"5",first_name:"Peyter",last_name:"Andrusov",email:"pandrusov3@a8.net",country:"Sweden",ip_address:"127.179.144.121",registered:"2017-09-15"},{id:"6",first_name:"Brandise",last_name:"Lygoe",email:"blygoe4@linkedin.com",country:"Norway",ip_address:"7.28.40.151",registered:"2022-04-08"},{id:"7",first_name:"Zitella",last_name:"Renshall",email:"zrenshall5@hugedomains.com",country:"Brazil",ip_address:"191.192.158.32",registered:"2020-10-23"},{id:"8",first_name:"Cynthy",last_name:"Vaan",email:"cvaan6@psu.edu",country:"Indonesia",ip_address:"80.142.100.40",registered:"2017-05-08"},{id:"9",first_name:"Nicky",last_name:"Elgy",email:"nelgy7@acquirethisname.com",country:"China",ip_address:"233.139.91.55",registered:"2020-08-01"},{id:"10",first_name:"Portie",last_name:"Van der Brugge",email:"pvanderbrugge8@google.cn",country:"Netherlands",ip_address:"77.3.161.172",registered:"2020-11-25"},{id:"11",first_name:"Melessa",last_name:"Burgill",email:"mburgill9@phpbb.com",country:"China",ip_address:"233.167.158.162",registered:"2023-01-22"},{id:"12",first_name:"Roman",last_name:"Tomowicz",email:"rtomowicza@nydailynews.com",country:"United States",ip_address:"85.13.181.7",registered:"2021-06-23"},{id:"13",first_name:"Velvet",last_name:"Swafford",email:"vswaffordb@sitemeter.com",country:"Indonesia",ip_address:"34.148.241.247",registered:"2018-03-25"},{id:"14",first_name:"Benoite",last_name:"Langelaan",email:"blangelaanc@sakura.ne.jp",country:"Albania",ip_address:"138.86.125.234",registered:"2021-06-29"},{id:"15",first_name:"Chantalle",last_name:"Enriques",email:"cenriquesd@smugmug.com",country:"Brazil",ip_address:"24.210.20.220",registered:"2017-04-18"},{id:"16",first_name:"Enid",last_name:"Dulin",email:"eduline@cocolog-nifty.com",country:"China",ip_address:"209.211.189.165",registered:"2022-07-13"},{id:"17",first_name:"Vasilis",last_name:"Shew",email:"vshewf@canalblog.com",country:"Pakistan",ip_address:"84.141.13.86",registered:"2021-07-30"},{id:"18",first_name:"Felice",last_name:"Lawrence",email:"flawrenceg@sogou.com",country:"China",ip_address:"212.53.202.73",registered:"2019-03-11"},{id:"19",first_name:"Tilly",last_name:"Goodin",email:"tgoodinh@ucla.edu",country:"France",ip_address:"155.213.172.112",registered:"2021-05-13"},{id:"20",first_name:"Linda",last_name:"Lent",email:"llenti@1und1.de",country:"Brazil",ip_address:"148.179.11.167",registered:"2017-09-24"},{id:"21",first_name:"Laina",last_name:"Carbry",email:"lcarbryj@wired.com",country:"China",ip_address:"193.84.239.208",registered:"2017-05-14"},{id:"22",first_name:"Tremayne",last_name:"Wilcot",email:"twilcotk@weebly.com",country:"Indonesia",ip_address:"177.192.189.51",registered:"2019-05-01"},{id:"23",first_name:"Lisha",last_name:"Casacchia",email:"lcasacchial@bloglovin.com",country:"Iran",ip_address:"140.229.23.132",registered:"2018-05-11"},{id:"24",first_name:"Christean",last_name:"Donaghy",email:"cdonaghym@bigcartel.com",country:"Indonesia",ip_address:"194.150.3.107",registered:"2017-11-09"},{id:"25",first_name:"Rabbi",last_name:"Commings",email:"rcommingsn@mlb.com",country:"China",ip_address:"170.102.59.120",registered:"2017-09-14"},{id:"26",first_name:"Lazar",last_name:"Brightman",email:"lbrightmano@samsung.com",country:"China",ip_address:"96.169.177.183",registered:"2019-03-12"},{id:"27",first_name:"Fara",last_name:"Pixton",email:"fpixtonp@miibeian.gov.cn",country:"China",ip_address:"125.192.244.33",registered:"2020-07-02"},{id:"28",first_name:"Frankie",last_name:"Symmers",email:"fsymmersq@archive.org",country:"United Kingdom",ip_address:"15.95.185.50",registered:"2017-05-06"},{id:"29",first_name:"Sullivan",last_name:"Duchant",email:"sduchantr@wikipedia.org",country:"Thailand",ip_address:"52.69.63.4",registered:"2020-09-21"},{id:"30",first_name:"Gale",last_name:"Yggo",email:"gyggos@amazon.com",country:"Luxembourg",ip_address:"10.147.136.158",registered:"2017-03-01"},{id:"31",first_name:"Daphne",last_name:"Moscone",email:"dmosconet@harvard.edu",country:"Poland",ip_address:"240.179.82.48",registered:"2019-01-25"},{id:"32",first_name:"Ainslie",last_name:"Piperley",email:"apiperleyu@guardian.co.uk",country:"China",ip_address:"212.140.73.147",registered:"2018-08-16"},{id:"33",first_name:"Esme",last_name:"Trousdell",email:"etrousdellv@woothemes.com",country:"Mexico",ip_address:"120.60.206.157",registered:"2022-01-25"},{id:"34",first_name:"Aurelia",last_name:"Salway",email:"asalwayw@sogou.com",country:"China",ip_address:"126.162.115.255",registered:"2020-11-11"},{id:"35",first_name:"Terry",last_name:"McKern",email:"tmckernx@vinaora.com",country:"United States",ip_address:"112.238.5.241",registered:"2017-08-22"},{id:"36",first_name:"Alphonse",last_name:"Osgodby",email:"aosgodbyy@hostgator.com",country:"France",ip_address:"190.137.124.53",registered:"2019-10-20"},{id:"37",first_name:"Boonie",last_name:"Gytesham",email:"bgyteshamz@ameblo.jp",country:"Germany",ip_address:"139.137.15.193",registered:"2017-04-07"},{id:"38",first_name:"Robinette",last_name:"Denisyuk",email:"rdenisyuk10@blog.com",country:"Guatemala",ip_address:"39.59.210.232",registered:"2021-12-24"},{id:"39",first_name:"Kerby",last_name:"Walden",email:"kwalden11@mtv.com",country:"China",ip_address:"52.147.135.77",registered:"2019-09-04"},{id:"40",first_name:"Goldie",last_name:"MacMoyer",email:"gmacmoyer12@flavors.me",country:"Greece",ip_address:"200.8.237.147",registered:"2019-10-21"},{id:"41",first_name:"Clemence",last_name:"Tyrie",email:"ctyrie13@goo.ne.jp",country:"Sweden",ip_address:"180.56.118.209",registered:"2019-06-30"},{id:"42",first_name:"Stormy",last_name:"Grog",email:"sgrog14@xinhuanet.com",country:"Japan",ip_address:"80.0.4.237",registered:"2017-10-11"},{id:"43",first_name:"Loutitia",last_name:"Andreev",email:"landreev15@myspace.com",country:"Japan",ip_address:"105.113.159.240",registered:"2022-11-19"},{id:"44",first_name:"Ashla",last_name:"Farrer",email:"afarrer16@slashdot.org",country:"Philippines",ip_address:"108.41.116.114",registered:"2017-06-30"},{id:"45",first_name:"Gaye",last_name:"Gwilym",email:"ggwilym17@ustream.tv",country:"Peru",ip_address:"108.147.41.3",registered:"2017-11-02"},{id:"46",first_name:"Harley",last_name:"Vecard",email:"hvecard18@weebly.com",country:"Russia",ip_address:"166.123.164.35",registered:"2021-11-08"},{id:"47",first_name:"Chadwick",last_name:"Francke",email:"cfrancke19@hp.com",country:"Canada",ip_address:"106.228.188.3",registered:"2019-05-16"},{id:"48",first_name:"Chrisse",last_name:"Watkin",email:"cwatkin1a@auda.org.au",country:"Poland",ip_address:"104.5.101.18",registered:"2020-03-23"},{id:"49",first_name:"Denyse",last_name:"Freeman",email:"dfreeman1b@constantcontact.com",country:"China",ip_address:"57.23.133.66",registered:"2021-03-23"},{id:"50",first_name:"Justine",last_name:"Conibere",email:"jconibere1c@elpais.com",country:"Jamaica",ip_address:"98.77.41.3",registered:"2021-10-05"},{id:"51",first_name:"Kalila",last_name:"Mongenot",email:"kmongenot1d@berkeley.edu",country:"Panama",ip_address:"110.15.203.86",registered:"2020-07-31"},{id:"52",first_name:"Claresta",last_name:"Monahan",email:"cmonahan1e@uol.com.br",country:"Indonesia",ip_address:"26.246.210.121",registered:"2021-10-01"},{id:"53",first_name:"Lindsey",last_name:"Huchot",email:"lhuchot1f@home.pl",country:"Azerbaijan",ip_address:"167.199.9.177",registered:"2022-05-12"},{id:"54",first_name:"Luciano",last_name:"Ollerearnshaw",email:"lollerearnshaw1g@thetimes.co.uk",country:"Peru",ip_address:"232.123.57.3",registered:"2022-05-18"},{id:"55",first_name:"Artie",last_name:"Focke",email:"afocke1h@google.com.au",country:"Poland",ip_address:"141.229.245.46",registered:"2021-11-06"},{id:"56",first_name:"Francyne",last_name:"Gravestone",email:"fgravestone1i@psu.edu",country:"Indonesia",ip_address:"60.151.142.197",registered:"2017-07-27"},{id:"57",first_name:"Kare",last_name:"Mayling",email:"kmayling1j@examiner.com",country:"Indonesia",ip_address:"179.31.176.197",registered:"2018-11-14"},{id:"58",first_name:"Tonya",last_name:"Cressor",email:"tcressor1k@xinhuanet.com",country:"China",ip_address:"215.203.39.111",registered:"2018-06-16"},{id:"59",first_name:"Cindee",last_name:"Reddington",email:"creddington1l@blogtalkradio.com",country:"South Korea",ip_address:"63.234.142.163",registered:"2021-07-07"},{id:"60",first_name:"Felice",last_name:"Sneezum",email:"fsneezum1m@uiuc.edu",country:"Indonesia",ip_address:"225.218.11.88",registered:"2019-03-31"},{id:"61",first_name:"Aluin",last_name:"Braben",email:"abraben1n@arstechnica.com",country:"Japan",ip_address:"138.199.112.47",registered:"2017-05-30"},{id:"62",first_name:"Gerome",last_name:"Rowlinson",email:"growlinson1o@ycombinator.com",country:"Ireland",ip_address:"205.131.176.187",registered:"2020-12-05"},{id:"63",first_name:"Ly",last_name:"Roze",email:"lroze1p@springer.com",country:"Czech Republic",ip_address:"53.186.166.82",registered:"2017-08-22"},{id:"64",first_name:"Fan",last_name:"Bente",email:"fbente1q@sitemeter.com",country:"Bulgaria",ip_address:"208.170.126.232",registered:"2020-09-06"},{id:"65",first_name:"Stephanus",last_name:"Deverson",email:"sdeverson1r@sciencedaily.com",country:"Portugal",ip_address:"79.162.137.0",registered:"2019-12-23"},{id:"66",first_name:"Julienne",last_name:"Brydell",email:"jbrydell1s@xing.com",country:"Azerbaijan",ip_address:"87.32.218.94",registered:"2019-06-12"},{id:"67",first_name:"Brit",last_name:"Choules",email:"bchoules1t@bloglovin.com",country:"Portugal",ip_address:"122.153.96.157",registered:"2018-01-05"},{id:"68",first_name:"Rawley",last_name:"Tiebe",email:"rtiebe1u@prweb.com",country:"Jamaica",ip_address:"46.39.61.102",registered:"2019-08-22"},{id:"69",first_name:"Morley",last_name:"Mellmer",email:"mmellmer1v@goo.ne.jp",country:"Portugal",ip_address:"76.235.54.184",registered:"2019-07-14"},{id:"70",first_name:"Reinaldos",last_name:"Fernandes",email:"rfernandes1w@usda.gov",country:"Indonesia",ip_address:"175.71.20.28",registered:"2021-03-03"},{id:"71",first_name:"Aron",last_name:"Marsie",email:"amarsie1x@soup.io",country:"Philippines",ip_address:"163.5.128.113",registered:"2021-12-12"},{id:"72",first_name:"Mignon",last_name:"MacLeod",email:"mmacleod1y@wsj.com",country:"Peru",ip_address:"73.76.76.203",registered:"2018-12-28"},{id:"73",first_name:"Jobina",last_name:"Antonijevic",email:"jantonijevic1z@senate.gov",country:"Sweden",ip_address:"235.102.55.226",registered:"2021-08-17"},{id:"74",first_name:"Fredric",last_name:"Tuke",email:"ftuke20@google.es",country:"Angola",ip_address:"224.210.197.236",registered:"2019-11-06"},{id:"75",first_name:"Ron",last_name:"Cacacie",email:"rcacacie21@ameblo.jp",country:"Philippines",ip_address:"219.250.115.66",registered:"2020-06-01"},{id:"76",first_name:"Natassia",last_name:"Whisker",email:"nwhisker22@woothemes.com",country:"Brazil",ip_address:"129.209.182.96",registered:"2019-07-06"},{id:"77",first_name:"Laurena",last_name:"Yemm",email:"lyemm23@latimes.com",country:"Ukraine",ip_address:"234.36.49.108",registered:"2019-04-26"},{id:"78",first_name:"Brett",last_name:"Bundey",email:"bbundey24@chicagotribune.com",country:"China",ip_address:"147.107.165.124",registered:"2017-03-15"},{id:"79",first_name:"Gwendolyn",last_name:"Aleevy",email:"galeevy25@thetimes.co.uk",country:"Indonesia",ip_address:"236.170.159.101",registered:"2021-11-24"},{id:"80",first_name:"Marice",last_name:"Corston",email:"mcorston26@comsenz.com",country:"Guadeloupe",ip_address:"137.95.107.239",registered:"2022-10-06"},{id:"81",first_name:"Porty",last_name:"Pembry",email:"ppembry27@mit.edu",country:"China",ip_address:"124.228.125.51",registered:"2019-12-03"},{id:"82",first_name:"Kenyon",last_name:"Banker",email:"kbanker28@zimbio.com",country:"Russia",ip_address:"45.23.186.203",registered:"2019-08-12"},{id:"83",first_name:"Friedrich",last_name:"Phettis",email:"fphettis29@tiny.cc",country:"Comoros",ip_address:"123.55.170.241",registered:"2018-12-03"},{id:"84",first_name:"Dennie",last_name:"Rickwood",email:"drickwood2a@businessweek.com",country:"Vietnam",ip_address:"195.208.216.82",registered:"2020-05-07"},{id:"85",first_name:"Stafford",last_name:"Jendrich",email:"sjendrich2b@pbs.org",country:"China",ip_address:"127.23.207.10",registered:"2019-11-16"},{id:"86",first_name:"Weston",last_name:"Westcarr",email:"wwestcarr2c@redcross.org",country:"Peru",ip_address:"244.140.106.99",registered:"2018-01-08"},{id:"87",first_name:"Karole",last_name:"Cumberledge",email:"kcumberledge2d@answers.com",country:"Macedonia",ip_address:"5.178.26.46",registered:"2017-06-15"},{id:"88",first_name:"Fanchon",last_name:"Alenshev",email:"falenshev2e@surveymonkey.com",country:"Indonesia",ip_address:"135.228.36.1",registered:"2018-11-17"},{id:"89",first_name:"Kele",last_name:"Beech",email:"kbeech2f@gov.uk",country:"Russia",ip_address:"157.92.244.151",registered:"2020-10-19"},{id:"90",first_name:"Crystal",last_name:"Westgate",email:"cwestgate2g@liveinternet.ru",country:"Greece",ip_address:"69.12.109.157",registered:"2019-05-04"},{id:"91",first_name:"Robinet",last_name:"Pargent",email:"rpargent2h@macromedia.com",country:"Indonesia",ip_address:"105.176.209.246",registered:"2020-11-06"},{id:"92",first_name:"Ritchie",last_name:"Dealey",email:"rdealey2i@time.com",country:"Tanzania",ip_address:"11.217.187.232",registered:"2021-07-07"},{id:"93",first_name:"Karyl",last_name:"Bischop",email:"kbischop2j@aol.com",country:"Thailand",ip_address:"220.178.23.247",registered:"2020-03-31"},{id:"94",first_name:"Lemmie",last_name:"Tatterton",email:"ltatterton2k@delicious.com",country:"Indonesia",ip_address:"252.191.234.163",registered:"2022-04-13"},{id:"95",first_name:"Ladonna",last_name:"Deverille",email:"ldeverille2l@netlog.com",country:"Dominican Republic",ip_address:"25.248.243.242",registered:"2018-01-27"},{id:"96",first_name:"Austin",last_name:"Girk",email:"agirk2m@opera.com",country:"China",ip_address:"180.82.151.113",registered:"2020-05-24"},{id:"97",first_name:"Letisha",last_name:"Groveham",email:"lgroveham2n@senate.gov",country:"Sweden",ip_address:"95.159.112.187",registered:"2019-06-23"},{id:"98",first_name:"Leonerd",last_name:"Hollingby",email:"lhollingby2o@ihg.com",country:"Indonesia",ip_address:"109.27.62.206",registered:"2018-04-13"},{id:"99",first_name:"Ally",last_name:"Chadwin",email:"achadwin2p@typepad.com",country:"Lebanon",ip_address:"168.77.72.236",registered:"2022-07-15"}]}};i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=Y({token:i,factory:i.\u0275fac});let l=i;return l})();var Fe=(l,i)=>i.value;function ke(l,i){if(l&1&&(e(0,"c-multi-select-option",2),O(),s(1,"svg",3),n(2),t()),l&2){let v=i.$implicit,r=G();m("value",v.value),a(),m("cIcon",r.icons.cilPaperclip),a(),_(" ",v.label," ")}}var pe=(()=>{let i=class i{constructor(r){this.optionsService=r,this.icons={cilPaperclip:J},this.options$=new z([]),this.formGroup=new j({sampleSelect:new R(["4"])}),this.searchFn=(o,c)=>o.label?.toLowerCase().startsWith(c.trimStart().toLowerCase())??!0,this.options=r.users.map(o=>({value:o.id,label:o.last_name})),this.options$.next([...this.options])}};i.\u0275fac=function(o){return new(o||i)(T(k))},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select12"]],standalone:!0,features:[P([k]),u],decls:9,vars:7,consts:[[3,"formGroup"],["formControlName","sampleSelect","multiple","true","visibleItems","8",3,"search"],[3,"value"],[1,"me-1",3,"cIcon"]],template:function(o,c){o&1&&(e(0,"form",0)(1,"p"),n(2),S(3,"json"),t(),s(4,"hr"),e(5,"c-multi-select",1),D(6,ke,3,3,"c-multi-select-option",2,Fe),S(8,"async"),t()()),o&2&&(m("formGroup",c.formGroup),a(2),_("Form value: ",x(3,3,c.formGroup.value),""),a(3),m("search",c.searchFn),a(),I(x(8,5,c.options$)))},dependencies:[F,M,C,E,B,A,f,p,V,L,w],encapsulation:2});let l=i;return l})();var Te=(l,i)=>i.value,De=()=>[];function Ie(l,i){if(l&1&&(e(0,"c-multi-select-option",2),O(),s(1,"svg",3),n(2),t()),l&2){let v=i.$implicit,r=G();m("value",v.value),a(),m("cIcon",r.icons.cilPaperclip),a(),_(" ",v.label," ")}}var fe=(()=>{let i=class i{constructor(r){this.optionsService=r,this.icons={cilPaperclip:J},this.filteredOptions$=new z([]),this.searchValue$=new H,this.formGroup=new j({sampleSelect:new R(["4"])}),this.options=r.users.map(o=>({value:o.id,label:o.last_name})),this.filteredOptions$.next([...this.options]),this.searchValue$.subscribe(o=>{let c=this.options.filter($=>$.label.toLowerCase().startsWith(o.trimStart().toLowerCase()));this.filteredOptions$.next([...c])})}};i.\u0275fac=function(o){return new(o||i)(T(k))},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select11"]],standalone:!0,features:[P([k]),u],decls:10,vars:10,consts:[[3,"formGroup"],["formControlName","sampleSelect","multiple","true","search","external","visibleItems","8",3,"searchValueChange","options"],[3,"value"],[1,"me-1",3,"cIcon"]],template:function(o,c){if(o&1&&(e(0,"form",0)(1,"p"),n(2),S(3,"json"),t(),s(4,"hr"),e(5,"c-multi-select",1),S(6,"async"),Z("searchValueChange",function(Me){return c.searchValue$.next(Me)}),D(7,Ie,3,3,"c-multi-select-option",2,Te),S(9,"async"),t()()),o&2){let $;m("formGroup",c.formGroup),a(2),_("Form value: ",x(3,3,c.formGroup.value),""),a(3),m("options",($=x(6,5,c.filteredOptions$))!==null&&$!==void 0?$:h(9,De)),a(2),I(x(9,7,c.filteredOptions$))}},dependencies:[F,M,C,E,B,A,f,p,V,L,w],encapsulation:2});let l=i;return l})();var ge=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select08"]],standalone:!0,features:[u],decls:29,vars:0,consts:[["multiple","","size","lg"],["selected",""],["multiple",""],["multiple","","size","sm"]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()(),s(9,"br"),e(10,"c-multi-select",2)(11,"c-multi-select-option",1),n(12,"Angular"),t(),e(13,"c-multi-select-option"),n(14,"Bootstrap"),t(),e(15,"c-multi-select-option"),n(16,"React.js"),t(),e(17,"c-multi-select-option"),n(18,"Vue.js"),t()(),s(19,"br"),e(20,"c-multi-select",3)(21,"c-multi-select-option",1),n(22,"Angular"),t(),e(23,"c-multi-select-option"),n(24,"Bootstrap"),t(),e(25,"c-multi-select-option"),n(26,"React.js"),t(),e(27,"c-multi-select-option"),n(28,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var he=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select10"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","disabled",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option",1),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var _e=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select09"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["selectionType","text"],["disabled",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option"),n(2,"Angular"),t(),e(3,"c-multi-select-option",1),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var ye=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select05"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","selectionType","text"],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var be=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select04"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","selectionType","tags"],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var ve=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select03"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","selectionType","counter"],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var Se=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select16"]],standalone:!0,features:[u],decls:13,vars:0,consts:[["multiple","","clearSearchOnSelect",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t(),e(9,"c-multi-select-option"),n(10,"Svelte"),t(),e(11,"c-multi-select-option"),n(12,"Astro"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var xe=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select15"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","allowCreateOptions",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var $e=(l,i)=>i.value;function je(l,i){if(l&1&&(e(0,"c-multi-select-option",1),n(1),t()),l&2){let v,r=i.$implicit;m("value",r.value)("selected",(v=r.selected)!==null&&v!==void 0?v:!1)("disabled",r.disabled),a(),_(" ",r.value," ")}}function Re(l,i){if(l&1&&(e(0,"c-multi-select-option",3),n(1),t()),l&2){let v,r=i.$implicit;m("value",r.value)("selected",(v=r.selected)!==null&&v!==void 0?v:!1),a(),_(" ",r.label," ")}}var we=(()=>{let i=class i{constructor(){this.frontend=[{value:"Angular",selected:!0},{value:"Bootstrap",disabled:!0},{value:"React.js"},{value:"Vue.js"}],this.backend=[{value:"b1",label:"Django"},{value:"b2",label:"Laravel",selected:!0},{value:"b3",label:"Node.js"}]}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select02"]],standalone:!0,features:[u],decls:6,vars:0,consts:[["multiple",""],[3,"value","selected","disabled"],["label","Backend"],[3,"value","selected"]],template:function(o,c){o&1&&(e(0,"c-multi-select",0),D(1,je,2,4,"c-multi-select-option",1,$e),e(3,"c-multi-select-optgroup",2),D(4,Re,2,3,"c-multi-select-option",3,$e),t()()),o&2&&(a(),I(c.frontend),a(3),I(c.backend))},dependencies:[f,p,N],encapsulation:2});let l=i;return l})();var Ce=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select01"]],standalone:!0,features:[u],decls:18,vars:0,consts:[["multiple",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option",1),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t(),e(9,"c-multi-select-optgroup")(10,"c-multi-select-optgroup-label"),n(11,"Backend"),t(),e(12,"c-multi-select-option"),n(13,"Django"),t(),e(14,"c-multi-select-option"),n(15,"Laravel"),t(),e(16,"c-multi-select-option"),n(17,"Node.js"),t()()())},dependencies:[f,p,N,oe],encapsulation:2});let l=i;return l})();var Ee=`\`\`\`typescript +import{s as J}from"./chunk-VP4RI3NG.js";import{b as oe,c as p,d as N,e as f}from"./chunk-4NGMK3CL.js";import"./chunk-I7ZDH35V.js";import{a as me}from"./chunk-IV3JRMWS.js";import{A as le,B as F,e as C,f as E,g as j,i as ie,j as R,l as ne,m as M,q as B,r as A}from"./chunk-WFHPAILT.js";import{b as V}from"./chunk-OLTS3WRU.js";import"./chunk-UYIAOCXU.js";import"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import"./chunk-D272JSA3.js";import{g as se}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as ae}from"./chunk-MH6VOBXJ.js";import{r as re}from"./chunk-Q5WIR6QR.js";import{c as ee,d as te}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{u as L,x as w}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Ac as Q,Bc as n,Ca as O,Cc as U,Dc as _,Jb as g,Jc as X,Lb as W,Mb as K,Nc as P,Oc as u,Pc as h,Qb as m,Wc as S,Xc as x,Zb as D,_b as I,_c as y,ac as t,bc as s,ca as Y,f as H,g as z,lb as a,mb as T,mc as Z,na as d,oc as G}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var ce=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select07"]],standalone:!0,features:[u],decls:15,vars:5,consts:[["form","ngForm"],["multiple","","name","multiSelect","ngModel",""],[3,"selected"],["value","react",3,"selected"],["value","vue"]],template:function(o,c){if(o&1&&(e(0,"form",null,0)(2,"c-multi-select",1)(3,"c-multi-select-option",2),n(4,"Angular"),t(),e(5,"c-multi-select-option"),n(6,"Bootstrap"),t(),e(7,"c-multi-select-option",3),n(8,"React.js"),t(),e(9,"c-multi-select-option",4),n(10,"Vue.js"),t()()(),s(11,"br"),e(12,"p"),n(13),S(14,"json"),t()),o&2){let $=Q(1);a(3),m("selected",!0),a(4),m("selected",!0),a(6),_(" Form value: ",x(14,3,$.value),"")}},dependencies:[F,M,C,E,le,ne,ie,f,p,w],encapsulation:2});let l=i;return l})();var de=(()=>{let i=class i{constructor(){this.formGroup=new j({multiSelect:new R(["Angular","Bootstrap"])})}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select06"]],standalone:!0,features:[u],decls:14,vars:4,consts:[[3,"formGroup"],["formControlName","multiSelect","multiple",""]],template:function(o,c){o&1&&(e(0,"form",0)(1,"c-multi-select",1)(2,"c-multi-select-option"),n(3,"Angular"),t(),e(4,"c-multi-select-option"),n(5,"Bootstrap"),t(),e(6,"c-multi-select-option"),n(7,"React.js"),t(),e(8,"c-multi-select-option"),n(9,"Vue.js"),t()()(),s(10,"br"),e(11,"p"),n(12),S(13,"json"),t()),o&2&&(m("formGroup",c.formGroup),a(12),_(" Form value: ",x(13,2,c.formGroup.value),""))},dependencies:[F,M,C,E,B,A,f,p,w],encapsulation:2});let l=i;return l})();var k=(()=>{let i=class i{constructor(){this.users=[{id:"1",first_name:"Rowland",last_name:"Jumont",email:"rjumont0@dmoz.org",country:"China",ip_address:"248.90.215.202",registered:"2019-04-27"},{id:"2",first_name:"Melloney",last_name:"Swindon",email:"mswindon0@canalblog.com",country:"Tunisia",ip_address:"64.28.239.34",registered:"2017-09-09"},{id:"3",first_name:"Martica",last_name:"Farfolomeev",email:"mfarfolomeev1@bluehost.com",country:"Philippines",ip_address:"135.56.179.89",registered:"2021-02-26"},{id:"4",first_name:"Modestia",last_name:"Batten",email:"mbatten2@epa.gov",country:"Philippines",ip_address:"119.63.79.34",registered:"2022-03-24"},{id:"5",first_name:"Peyter",last_name:"Andrusov",email:"pandrusov3@a8.net",country:"Sweden",ip_address:"127.179.144.121",registered:"2017-09-15"},{id:"6",first_name:"Brandise",last_name:"Lygoe",email:"blygoe4@linkedin.com",country:"Norway",ip_address:"7.28.40.151",registered:"2022-04-08"},{id:"7",first_name:"Zitella",last_name:"Renshall",email:"zrenshall5@hugedomains.com",country:"Brazil",ip_address:"191.192.158.32",registered:"2020-10-23"},{id:"8",first_name:"Cynthy",last_name:"Vaan",email:"cvaan6@psu.edu",country:"Indonesia",ip_address:"80.142.100.40",registered:"2017-05-08"},{id:"9",first_name:"Nicky",last_name:"Elgy",email:"nelgy7@acquirethisname.com",country:"China",ip_address:"233.139.91.55",registered:"2020-08-01"},{id:"10",first_name:"Portie",last_name:"Van der Brugge",email:"pvanderbrugge8@google.cn",country:"Netherlands",ip_address:"77.3.161.172",registered:"2020-11-25"},{id:"11",first_name:"Melessa",last_name:"Burgill",email:"mburgill9@phpbb.com",country:"China",ip_address:"233.167.158.162",registered:"2023-01-22"},{id:"12",first_name:"Roman",last_name:"Tomowicz",email:"rtomowicza@nydailynews.com",country:"United States",ip_address:"85.13.181.7",registered:"2021-06-23"},{id:"13",first_name:"Velvet",last_name:"Swafford",email:"vswaffordb@sitemeter.com",country:"Indonesia",ip_address:"34.148.241.247",registered:"2018-03-25"},{id:"14",first_name:"Benoite",last_name:"Langelaan",email:"blangelaanc@sakura.ne.jp",country:"Albania",ip_address:"138.86.125.234",registered:"2021-06-29"},{id:"15",first_name:"Chantalle",last_name:"Enriques",email:"cenriquesd@smugmug.com",country:"Brazil",ip_address:"24.210.20.220",registered:"2017-04-18"},{id:"16",first_name:"Enid",last_name:"Dulin",email:"eduline@cocolog-nifty.com",country:"China",ip_address:"209.211.189.165",registered:"2022-07-13"},{id:"17",first_name:"Vasilis",last_name:"Shew",email:"vshewf@canalblog.com",country:"Pakistan",ip_address:"84.141.13.86",registered:"2021-07-30"},{id:"18",first_name:"Felice",last_name:"Lawrence",email:"flawrenceg@sogou.com",country:"China",ip_address:"212.53.202.73",registered:"2019-03-11"},{id:"19",first_name:"Tilly",last_name:"Goodin",email:"tgoodinh@ucla.edu",country:"France",ip_address:"155.213.172.112",registered:"2021-05-13"},{id:"20",first_name:"Linda",last_name:"Lent",email:"llenti@1und1.de",country:"Brazil",ip_address:"148.179.11.167",registered:"2017-09-24"},{id:"21",first_name:"Laina",last_name:"Carbry",email:"lcarbryj@wired.com",country:"China",ip_address:"193.84.239.208",registered:"2017-05-14"},{id:"22",first_name:"Tremayne",last_name:"Wilcot",email:"twilcotk@weebly.com",country:"Indonesia",ip_address:"177.192.189.51",registered:"2019-05-01"},{id:"23",first_name:"Lisha",last_name:"Casacchia",email:"lcasacchial@bloglovin.com",country:"Iran",ip_address:"140.229.23.132",registered:"2018-05-11"},{id:"24",first_name:"Christean",last_name:"Donaghy",email:"cdonaghym@bigcartel.com",country:"Indonesia",ip_address:"194.150.3.107",registered:"2017-11-09"},{id:"25",first_name:"Rabbi",last_name:"Commings",email:"rcommingsn@mlb.com",country:"China",ip_address:"170.102.59.120",registered:"2017-09-14"},{id:"26",first_name:"Lazar",last_name:"Brightman",email:"lbrightmano@samsung.com",country:"China",ip_address:"96.169.177.183",registered:"2019-03-12"},{id:"27",first_name:"Fara",last_name:"Pixton",email:"fpixtonp@miibeian.gov.cn",country:"China",ip_address:"125.192.244.33",registered:"2020-07-02"},{id:"28",first_name:"Frankie",last_name:"Symmers",email:"fsymmersq@archive.org",country:"United Kingdom",ip_address:"15.95.185.50",registered:"2017-05-06"},{id:"29",first_name:"Sullivan",last_name:"Duchant",email:"sduchantr@wikipedia.org",country:"Thailand",ip_address:"52.69.63.4",registered:"2020-09-21"},{id:"30",first_name:"Gale",last_name:"Yggo",email:"gyggos@amazon.com",country:"Luxembourg",ip_address:"10.147.136.158",registered:"2017-03-01"},{id:"31",first_name:"Daphne",last_name:"Moscone",email:"dmosconet@harvard.edu",country:"Poland",ip_address:"240.179.82.48",registered:"2019-01-25"},{id:"32",first_name:"Ainslie",last_name:"Piperley",email:"apiperleyu@guardian.co.uk",country:"China",ip_address:"212.140.73.147",registered:"2018-08-16"},{id:"33",first_name:"Esme",last_name:"Trousdell",email:"etrousdellv@woothemes.com",country:"Mexico",ip_address:"120.60.206.157",registered:"2022-01-25"},{id:"34",first_name:"Aurelia",last_name:"Salway",email:"asalwayw@sogou.com",country:"China",ip_address:"126.162.115.255",registered:"2020-11-11"},{id:"35",first_name:"Terry",last_name:"McKern",email:"tmckernx@vinaora.com",country:"United States",ip_address:"112.238.5.241",registered:"2017-08-22"},{id:"36",first_name:"Alphonse",last_name:"Osgodby",email:"aosgodbyy@hostgator.com",country:"France",ip_address:"190.137.124.53",registered:"2019-10-20"},{id:"37",first_name:"Boonie",last_name:"Gytesham",email:"bgyteshamz@ameblo.jp",country:"Germany",ip_address:"139.137.15.193",registered:"2017-04-07"},{id:"38",first_name:"Robinette",last_name:"Denisyuk",email:"rdenisyuk10@blog.com",country:"Guatemala",ip_address:"39.59.210.232",registered:"2021-12-24"},{id:"39",first_name:"Kerby",last_name:"Walden",email:"kwalden11@mtv.com",country:"China",ip_address:"52.147.135.77",registered:"2019-09-04"},{id:"40",first_name:"Goldie",last_name:"MacMoyer",email:"gmacmoyer12@flavors.me",country:"Greece",ip_address:"200.8.237.147",registered:"2019-10-21"},{id:"41",first_name:"Clemence",last_name:"Tyrie",email:"ctyrie13@goo.ne.jp",country:"Sweden",ip_address:"180.56.118.209",registered:"2019-06-30"},{id:"42",first_name:"Stormy",last_name:"Grog",email:"sgrog14@xinhuanet.com",country:"Japan",ip_address:"80.0.4.237",registered:"2017-10-11"},{id:"43",first_name:"Loutitia",last_name:"Andreev",email:"landreev15@myspace.com",country:"Japan",ip_address:"105.113.159.240",registered:"2022-11-19"},{id:"44",first_name:"Ashla",last_name:"Farrer",email:"afarrer16@slashdot.org",country:"Philippines",ip_address:"108.41.116.114",registered:"2017-06-30"},{id:"45",first_name:"Gaye",last_name:"Gwilym",email:"ggwilym17@ustream.tv",country:"Peru",ip_address:"108.147.41.3",registered:"2017-11-02"},{id:"46",first_name:"Harley",last_name:"Vecard",email:"hvecard18@weebly.com",country:"Russia",ip_address:"166.123.164.35",registered:"2021-11-08"},{id:"47",first_name:"Chadwick",last_name:"Francke",email:"cfrancke19@hp.com",country:"Canada",ip_address:"106.228.188.3",registered:"2019-05-16"},{id:"48",first_name:"Chrisse",last_name:"Watkin",email:"cwatkin1a@auda.org.au",country:"Poland",ip_address:"104.5.101.18",registered:"2020-03-23"},{id:"49",first_name:"Denyse",last_name:"Freeman",email:"dfreeman1b@constantcontact.com",country:"China",ip_address:"57.23.133.66",registered:"2021-03-23"},{id:"50",first_name:"Justine",last_name:"Conibere",email:"jconibere1c@elpais.com",country:"Jamaica",ip_address:"98.77.41.3",registered:"2021-10-05"},{id:"51",first_name:"Kalila",last_name:"Mongenot",email:"kmongenot1d@berkeley.edu",country:"Panama",ip_address:"110.15.203.86",registered:"2020-07-31"},{id:"52",first_name:"Claresta",last_name:"Monahan",email:"cmonahan1e@uol.com.br",country:"Indonesia",ip_address:"26.246.210.121",registered:"2021-10-01"},{id:"53",first_name:"Lindsey",last_name:"Huchot",email:"lhuchot1f@home.pl",country:"Azerbaijan",ip_address:"167.199.9.177",registered:"2022-05-12"},{id:"54",first_name:"Luciano",last_name:"Ollerearnshaw",email:"lollerearnshaw1g@thetimes.co.uk",country:"Peru",ip_address:"232.123.57.3",registered:"2022-05-18"},{id:"55",first_name:"Artie",last_name:"Focke",email:"afocke1h@google.com.au",country:"Poland",ip_address:"141.229.245.46",registered:"2021-11-06"},{id:"56",first_name:"Francyne",last_name:"Gravestone",email:"fgravestone1i@psu.edu",country:"Indonesia",ip_address:"60.151.142.197",registered:"2017-07-27"},{id:"57",first_name:"Kare",last_name:"Mayling",email:"kmayling1j@examiner.com",country:"Indonesia",ip_address:"179.31.176.197",registered:"2018-11-14"},{id:"58",first_name:"Tonya",last_name:"Cressor",email:"tcressor1k@xinhuanet.com",country:"China",ip_address:"215.203.39.111",registered:"2018-06-16"},{id:"59",first_name:"Cindee",last_name:"Reddington",email:"creddington1l@blogtalkradio.com",country:"South Korea",ip_address:"63.234.142.163",registered:"2021-07-07"},{id:"60",first_name:"Felice",last_name:"Sneezum",email:"fsneezum1m@uiuc.edu",country:"Indonesia",ip_address:"225.218.11.88",registered:"2019-03-31"},{id:"61",first_name:"Aluin",last_name:"Braben",email:"abraben1n@arstechnica.com",country:"Japan",ip_address:"138.199.112.47",registered:"2017-05-30"},{id:"62",first_name:"Gerome",last_name:"Rowlinson",email:"growlinson1o@ycombinator.com",country:"Ireland",ip_address:"205.131.176.187",registered:"2020-12-05"},{id:"63",first_name:"Ly",last_name:"Roze",email:"lroze1p@springer.com",country:"Czech Republic",ip_address:"53.186.166.82",registered:"2017-08-22"},{id:"64",first_name:"Fan",last_name:"Bente",email:"fbente1q@sitemeter.com",country:"Bulgaria",ip_address:"208.170.126.232",registered:"2020-09-06"},{id:"65",first_name:"Stephanus",last_name:"Deverson",email:"sdeverson1r@sciencedaily.com",country:"Portugal",ip_address:"79.162.137.0",registered:"2019-12-23"},{id:"66",first_name:"Julienne",last_name:"Brydell",email:"jbrydell1s@xing.com",country:"Azerbaijan",ip_address:"87.32.218.94",registered:"2019-06-12"},{id:"67",first_name:"Brit",last_name:"Choules",email:"bchoules1t@bloglovin.com",country:"Portugal",ip_address:"122.153.96.157",registered:"2018-01-05"},{id:"68",first_name:"Rawley",last_name:"Tiebe",email:"rtiebe1u@prweb.com",country:"Jamaica",ip_address:"46.39.61.102",registered:"2019-08-22"},{id:"69",first_name:"Morley",last_name:"Mellmer",email:"mmellmer1v@goo.ne.jp",country:"Portugal",ip_address:"76.235.54.184",registered:"2019-07-14"},{id:"70",first_name:"Reinaldos",last_name:"Fernandes",email:"rfernandes1w@usda.gov",country:"Indonesia",ip_address:"175.71.20.28",registered:"2021-03-03"},{id:"71",first_name:"Aron",last_name:"Marsie",email:"amarsie1x@soup.io",country:"Philippines",ip_address:"163.5.128.113",registered:"2021-12-12"},{id:"72",first_name:"Mignon",last_name:"MacLeod",email:"mmacleod1y@wsj.com",country:"Peru",ip_address:"73.76.76.203",registered:"2018-12-28"},{id:"73",first_name:"Jobina",last_name:"Antonijevic",email:"jantonijevic1z@senate.gov",country:"Sweden",ip_address:"235.102.55.226",registered:"2021-08-17"},{id:"74",first_name:"Fredric",last_name:"Tuke",email:"ftuke20@google.es",country:"Angola",ip_address:"224.210.197.236",registered:"2019-11-06"},{id:"75",first_name:"Ron",last_name:"Cacacie",email:"rcacacie21@ameblo.jp",country:"Philippines",ip_address:"219.250.115.66",registered:"2020-06-01"},{id:"76",first_name:"Natassia",last_name:"Whisker",email:"nwhisker22@woothemes.com",country:"Brazil",ip_address:"129.209.182.96",registered:"2019-07-06"},{id:"77",first_name:"Laurena",last_name:"Yemm",email:"lyemm23@latimes.com",country:"Ukraine",ip_address:"234.36.49.108",registered:"2019-04-26"},{id:"78",first_name:"Brett",last_name:"Bundey",email:"bbundey24@chicagotribune.com",country:"China",ip_address:"147.107.165.124",registered:"2017-03-15"},{id:"79",first_name:"Gwendolyn",last_name:"Aleevy",email:"galeevy25@thetimes.co.uk",country:"Indonesia",ip_address:"236.170.159.101",registered:"2021-11-24"},{id:"80",first_name:"Marice",last_name:"Corston",email:"mcorston26@comsenz.com",country:"Guadeloupe",ip_address:"137.95.107.239",registered:"2022-10-06"},{id:"81",first_name:"Porty",last_name:"Pembry",email:"ppembry27@mit.edu",country:"China",ip_address:"124.228.125.51",registered:"2019-12-03"},{id:"82",first_name:"Kenyon",last_name:"Banker",email:"kbanker28@zimbio.com",country:"Russia",ip_address:"45.23.186.203",registered:"2019-08-12"},{id:"83",first_name:"Friedrich",last_name:"Phettis",email:"fphettis29@tiny.cc",country:"Comoros",ip_address:"123.55.170.241",registered:"2018-12-03"},{id:"84",first_name:"Dennie",last_name:"Rickwood",email:"drickwood2a@businessweek.com",country:"Vietnam",ip_address:"195.208.216.82",registered:"2020-05-07"},{id:"85",first_name:"Stafford",last_name:"Jendrich",email:"sjendrich2b@pbs.org",country:"China",ip_address:"127.23.207.10",registered:"2019-11-16"},{id:"86",first_name:"Weston",last_name:"Westcarr",email:"wwestcarr2c@redcross.org",country:"Peru",ip_address:"244.140.106.99",registered:"2018-01-08"},{id:"87",first_name:"Karole",last_name:"Cumberledge",email:"kcumberledge2d@answers.com",country:"Macedonia",ip_address:"5.178.26.46",registered:"2017-06-15"},{id:"88",first_name:"Fanchon",last_name:"Alenshev",email:"falenshev2e@surveymonkey.com",country:"Indonesia",ip_address:"135.228.36.1",registered:"2018-11-17"},{id:"89",first_name:"Kele",last_name:"Beech",email:"kbeech2f@gov.uk",country:"Russia",ip_address:"157.92.244.151",registered:"2020-10-19"},{id:"90",first_name:"Crystal",last_name:"Westgate",email:"cwestgate2g@liveinternet.ru",country:"Greece",ip_address:"69.12.109.157",registered:"2019-05-04"},{id:"91",first_name:"Robinet",last_name:"Pargent",email:"rpargent2h@macromedia.com",country:"Indonesia",ip_address:"105.176.209.246",registered:"2020-11-06"},{id:"92",first_name:"Ritchie",last_name:"Dealey",email:"rdealey2i@time.com",country:"Tanzania",ip_address:"11.217.187.232",registered:"2021-07-07"},{id:"93",first_name:"Karyl",last_name:"Bischop",email:"kbischop2j@aol.com",country:"Thailand",ip_address:"220.178.23.247",registered:"2020-03-31"},{id:"94",first_name:"Lemmie",last_name:"Tatterton",email:"ltatterton2k@delicious.com",country:"Indonesia",ip_address:"252.191.234.163",registered:"2022-04-13"},{id:"95",first_name:"Ladonna",last_name:"Deverille",email:"ldeverille2l@netlog.com",country:"Dominican Republic",ip_address:"25.248.243.242",registered:"2018-01-27"},{id:"96",first_name:"Austin",last_name:"Girk",email:"agirk2m@opera.com",country:"China",ip_address:"180.82.151.113",registered:"2020-05-24"},{id:"97",first_name:"Letisha",last_name:"Groveham",email:"lgroveham2n@senate.gov",country:"Sweden",ip_address:"95.159.112.187",registered:"2019-06-23"},{id:"98",first_name:"Leonerd",last_name:"Hollingby",email:"lhollingby2o@ihg.com",country:"Indonesia",ip_address:"109.27.62.206",registered:"2018-04-13"},{id:"99",first_name:"Ally",last_name:"Chadwin",email:"achadwin2p@typepad.com",country:"Lebanon",ip_address:"168.77.72.236",registered:"2022-07-15"}]}};i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=Y({token:i,factory:i.\u0275fac});let l=i;return l})();var Fe=(l,i)=>i.value;function ke(l,i){if(l&1&&(e(0,"c-multi-select-option",2),O(),s(1,"svg",3),n(2),t()),l&2){let v=i.$implicit,r=G();m("value",v.value),a(),m("cIcon",r.icons.cilPaperclip),a(),_(" ",v.label," ")}}var pe=(()=>{let i=class i{constructor(r){this.optionsService=r,this.icons={cilPaperclip:J},this.options$=new z([]),this.formGroup=new j({sampleSelect:new R(["4"])}),this.searchFn=(o,c)=>o.label?.toLowerCase().startsWith(c.trimStart().toLowerCase())??!0,this.options=r.users.map(o=>({value:o.id,label:o.last_name})),this.options$.next([...this.options])}};i.\u0275fac=function(o){return new(o||i)(T(k))},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select12"]],standalone:!0,features:[P([k]),u],decls:9,vars:7,consts:[[3,"formGroup"],["formControlName","sampleSelect","multiple","true","visibleItems","8",3,"search"],[3,"value"],[1,"me-1",3,"cIcon"]],template:function(o,c){o&1&&(e(0,"form",0)(1,"p"),n(2),S(3,"json"),t(),s(4,"hr"),e(5,"c-multi-select",1),D(6,ke,3,3,"c-multi-select-option",2,Fe),S(8,"async"),t()()),o&2&&(m("formGroup",c.formGroup),a(2),_("Form value: ",x(3,3,c.formGroup.value),""),a(3),m("search",c.searchFn),a(),I(x(8,5,c.options$)))},dependencies:[F,M,C,E,B,A,f,p,V,L,w],encapsulation:2});let l=i;return l})();var Te=(l,i)=>i.value,De=()=>[];function Ie(l,i){if(l&1&&(e(0,"c-multi-select-option",2),O(),s(1,"svg",3),n(2),t()),l&2){let v=i.$implicit,r=G();m("value",v.value),a(),m("cIcon",r.icons.cilPaperclip),a(),_(" ",v.label," ")}}var fe=(()=>{let i=class i{constructor(r){this.optionsService=r,this.icons={cilPaperclip:J},this.filteredOptions$=new z([]),this.searchValue$=new H,this.formGroup=new j({sampleSelect:new R(["4"])}),this.options=r.users.map(o=>({value:o.id,label:o.last_name})),this.filteredOptions$.next([...this.options]),this.searchValue$.subscribe(o=>{let c=this.options.filter($=>$.label.toLowerCase().startsWith(o.trimStart().toLowerCase()));this.filteredOptions$.next([...c])})}};i.\u0275fac=function(o){return new(o||i)(T(k))},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select11"]],standalone:!0,features:[P([k]),u],decls:10,vars:10,consts:[[3,"formGroup"],["formControlName","sampleSelect","multiple","true","search","external","visibleItems","8",3,"searchValueChange","options"],[3,"value"],[1,"me-1",3,"cIcon"]],template:function(o,c){if(o&1&&(e(0,"form",0)(1,"p"),n(2),S(3,"json"),t(),s(4,"hr"),e(5,"c-multi-select",1),S(6,"async"),Z("searchValueChange",function(Me){return c.searchValue$.next(Me)}),D(7,Ie,3,3,"c-multi-select-option",2,Te),S(9,"async"),t()()),o&2){let $;m("formGroup",c.formGroup),a(2),_("Form value: ",x(3,3,c.formGroup.value),""),a(3),m("options",($=x(6,5,c.filteredOptions$))!==null&&$!==void 0?$:h(9,De)),a(2),I(x(9,7,c.filteredOptions$))}},dependencies:[F,M,C,E,B,A,f,p,V,L,w],encapsulation:2});let l=i;return l})();var ge=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select08"]],standalone:!0,features:[u],decls:29,vars:0,consts:[["multiple","","size","lg"],["selected",""],["multiple",""],["multiple","","size","sm"]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()(),s(9,"br"),e(10,"c-multi-select",2)(11,"c-multi-select-option",1),n(12,"Angular"),t(),e(13,"c-multi-select-option"),n(14,"Bootstrap"),t(),e(15,"c-multi-select-option"),n(16,"React.js"),t(),e(17,"c-multi-select-option"),n(18,"Vue.js"),t()(),s(19,"br"),e(20,"c-multi-select",3)(21,"c-multi-select-option",1),n(22,"Angular"),t(),e(23,"c-multi-select-option"),n(24,"Bootstrap"),t(),e(25,"c-multi-select-option"),n(26,"React.js"),t(),e(27,"c-multi-select-option"),n(28,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var he=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select10"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","disabled",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option",1),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var _e=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select09"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["selectionType","text"],["disabled",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option"),n(2,"Angular"),t(),e(3,"c-multi-select-option",1),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var ye=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select05"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","selectionType","text"],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var be=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select04"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","selectionType","tags"],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var ve=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select03"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","selectionType","counter"],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var Se=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select16"]],standalone:!0,features:[u],decls:13,vars:0,consts:[["multiple","","clearSearchOnSelect",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t(),e(9,"c-multi-select-option"),n(10,"Svelte"),t(),e(11,"c-multi-select-option"),n(12,"Astro"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var xe=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select15"]],standalone:!0,features:[u],decls:9,vars:0,consts:[["multiple","","allowCreateOptions",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option"),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t()())},dependencies:[f,p],encapsulation:2});let l=i;return l})();var $e=(l,i)=>i.value;function je(l,i){if(l&1&&(e(0,"c-multi-select-option",1),n(1),t()),l&2){let v,r=i.$implicit;m("value",r.value)("selected",(v=r.selected)!==null&&v!==void 0?v:!1)("disabled",r.disabled),a(),_(" ",r.value," ")}}function Re(l,i){if(l&1&&(e(0,"c-multi-select-option",3),n(1),t()),l&2){let v,r=i.$implicit;m("value",r.value)("selected",(v=r.selected)!==null&&v!==void 0?v:!1),a(),_(" ",r.label," ")}}var we=(()=>{let i=class i{constructor(){this.frontend=[{value:"Angular",selected:!0},{value:"Bootstrap",disabled:!0},{value:"React.js"},{value:"Vue.js"}],this.backend=[{value:"b1",label:"Django"},{value:"b2",label:"Laravel",selected:!0},{value:"b3",label:"Node.js"}]}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select02"]],standalone:!0,features:[u],decls:6,vars:0,consts:[["multiple",""],[3,"value","selected","disabled"],["label","Backend"],[3,"value","selected"]],template:function(o,c){o&1&&(e(0,"c-multi-select",0),D(1,je,2,4,"c-multi-select-option",1,$e),e(3,"c-multi-select-optgroup",2),D(4,Re,2,3,"c-multi-select-option",3,$e),t()()),o&2&&(a(),I(c.frontend),a(3),I(c.backend))},dependencies:[f,p,N],encapsulation:2});let l=i;return l})();var Ce=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select01"]],standalone:!0,features:[u],decls:18,vars:0,consts:[["multiple",""],["selected",""]],template:function(o,c){o&1&&(e(0,"c-multi-select",0)(1,"c-multi-select-option",1),n(2,"Angular"),t(),e(3,"c-multi-select-option"),n(4,"Bootstrap"),t(),e(5,"c-multi-select-option",1),n(6,"React.js"),t(),e(7,"c-multi-select-option"),n(8,"Vue.js"),t(),e(9,"c-multi-select-optgroup")(10,"c-multi-select-optgroup-label"),n(11,"Backend"),t(),e(12,"c-multi-select-option"),n(13,"Django"),t(),e(14,"c-multi-select-option"),n(15,"Laravel"),t(),e(16,"c-multi-select-option"),n(17,"Node.js"),t()()())},dependencies:[f,p,N,oe],encapsulation:2});let l=i;return l})();var Ee=`\`\`\`typescript import { MultiSelectModule, SharedModule } from '@coreui/angular'; @NgModule({ @@ -9,7 +9,7 @@ import { MultiSelectModule, SharedModule } from '@coreui/angular'; }) export class AppModule(){} \`\`\` -`;var Ae=()=>[import("./chunk-43KK3SLA.js").then(l=>l.MultiSelect13Component)],ze=()=>[import("./chunk-GEDH2VQL.js").then(l=>l.MultiSelect14Component)],Oe=()=>["forms/multi-select/examples/multi-select01.component.html"],Ge=()=>["forms/multi-select/examples/multi-select02.component.html","forms/multi-select/examples/multi-select02.component.ts"],Pe=()=>["forms/multi-select/examples/multi-select15.component.html","forms/multi-select/examples/multi-select15.component.ts"],Le=()=>["forms/multi-select/examples/multi-select16.component.html","forms/multi-select/examples/multi-select16.component.ts"],Ve=()=>["forms/multi-select/examples/multi-select03.component.html"],Ne=()=>["forms/multi-select/examples/multi-select04.component.html"],Je=()=>["forms/multi-select/examples/multi-select05.component.html"],We=()=>["forms/multi-select/examples/multi-select09.component.html"],Ke=()=>["forms/multi-select/examples/multi-select10.component.html"],Ue=()=>["forms/multi-select/examples/multi-select08.component.html"],qe=()=>["forms/multi-select/examples/multi-select11.component.html","forms/multi-select/examples/multi-select11.component.ts"],He=()=>["forms/multi-select/examples/multi-select12.component.html","forms/multi-select/examples/multi-select12.component.ts"],Ye=()=>["forms/multi-select/examples/multi-select13.component.html","forms/multi-select/examples/multi-select13.component.ts","forms/multi-select/examples/optionsRemote.service.ts"],Ze=()=>["forms/multi-select/examples/multi-select14.component.html","forms/multi-select/examples/multi-select14.component.ts"],Qe=()=>["forms/multi-select/examples/multi-select06.component.html","forms/multi-select/examples/multi-select06.component.ts"],Xe=()=>["forms/multi-select/examples/multi-select07.component.html"];function et(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select01"),t())}function tt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select02"),t())}function it(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select15"),t())}function nt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select16"),t())}function lt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select03"),t())}function ot(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select04"),t())}function rt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select05"),t())}function at(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select09"),t())}function st(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select10"),t())}function mt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select08"),t())}function ct(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select11"),t())}function dt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select12"),t())}function ut(l,i){l&1&&s(0,"docs-multi-select13")}function pt(l,i){l&1&&(e(0,"div",7),g(1,ut,1,0),W(2,1,Ae),K(),t())}function ft(l,i){l&1&&s(0,"docs-multi-select14")}function gt(l,i){l&1&&(e(0,"div",7),g(1,ft,1,0),W(2,1,ze),K(),t())}function ht(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select06"),t())}function _t(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select07"),t())}var Di=(()=>{let i=class i{constructor(r,o){this.metaService=r,this.titleService=o,this.usage=Ee,this.title="Angular Multi Select Component",this.description="Customize the native `select` with a powerful CoreUI **Multi-Select** component that changes initial element appearance and brings some new functionalities."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(o){return new(o||i)(T(ee),T(te))},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select-docs"]],standalone:!0,features:[u],decls:131,vars:112,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"docs-callout","docs-callout-info"],[1,"api-table"],[1,"badge","bg-primary","badge-sm"],[1,"docs-example","p-3"]],template:function(o,c){o&1&&(s(0,"docs-banner-pro"),e(1,"h1",1),n(2),t(),e(3,"p",2),n(4),t(),s(5,"docs-ads-carbon-loader"),e(6,"markdown"),n(7,` +`;var Ae=()=>[import("./chunk-OCK7LDGD.js").then(l=>l.MultiSelect13Component)],ze=()=>[import("./chunk-5IIQSMOZ.js").then(l=>l.MultiSelect14Component)],Oe=()=>["forms/multi-select/examples/multi-select01.component.html"],Ge=()=>["forms/multi-select/examples/multi-select02.component.html","forms/multi-select/examples/multi-select02.component.ts"],Pe=()=>["forms/multi-select/examples/multi-select15.component.html","forms/multi-select/examples/multi-select15.component.ts"],Le=()=>["forms/multi-select/examples/multi-select16.component.html","forms/multi-select/examples/multi-select16.component.ts"],Ve=()=>["forms/multi-select/examples/multi-select03.component.html"],Ne=()=>["forms/multi-select/examples/multi-select04.component.html"],Je=()=>["forms/multi-select/examples/multi-select05.component.html"],We=()=>["forms/multi-select/examples/multi-select09.component.html"],Ke=()=>["forms/multi-select/examples/multi-select10.component.html"],Ue=()=>["forms/multi-select/examples/multi-select08.component.html"],qe=()=>["forms/multi-select/examples/multi-select11.component.html","forms/multi-select/examples/multi-select11.component.ts"],He=()=>["forms/multi-select/examples/multi-select12.component.html","forms/multi-select/examples/multi-select12.component.ts"],Ye=()=>["forms/multi-select/examples/multi-select13.component.html","forms/multi-select/examples/multi-select13.component.ts","forms/multi-select/examples/optionsRemote.service.ts"],Ze=()=>["forms/multi-select/examples/multi-select14.component.html","forms/multi-select/examples/multi-select14.component.ts"],Qe=()=>["forms/multi-select/examples/multi-select06.component.html","forms/multi-select/examples/multi-select06.component.ts"],Xe=()=>["forms/multi-select/examples/multi-select07.component.html"];function et(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select01"),t())}function tt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select02"),t())}function it(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select15"),t())}function nt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select16"),t())}function lt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select03"),t())}function ot(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select04"),t())}function rt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select05"),t())}function at(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select09"),t())}function st(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select10"),t())}function mt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select08"),t())}function ct(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select11"),t())}function dt(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select12"),t())}function ut(l,i){l&1&&s(0,"docs-multi-select13")}function pt(l,i){l&1&&(e(0,"div",7),g(1,ut,1,0),W(2,1,Ae),K(),t())}function ft(l,i){l&1&&s(0,"docs-multi-select14")}function gt(l,i){l&1&&(e(0,"div",7),g(1,ft,1,0),W(2,1,ze),K(),t())}function ht(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select06"),t())}function _t(l,i){l&1&&(e(0,"div",7),s(1,"docs-multi-select07"),t())}var Di=(()=>{let i=class i{constructor(r,o){this.metaService=r,this.titleService=o,this.usage=Ee,this.title="Angular Multi Select Component",this.description="Customize the native `select` with a powerful CoreUI **Multi-Select** component that changes initial element appearance and brings some new functionalities."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(o){return new(o||i)(T(ee),T(te))},i.\u0275cmp=d({type:i,selectors:[["docs-multi-select-docs"]],standalone:!0,features:[u],decls:131,vars:112,consts:[["docsExample",""],["id","getting-started"],["markdown","",1,"docs-lead","fs-4","fw-light"],[3,"files"],[1,"docs-callout","docs-callout-info"],[1,"api-table"],[1,"badge","bg-primary","badge-sm"],[1,"docs-example","p-3"]],template:function(o,c){o&1&&(s(0,"docs-banner-pro"),e(1,"h1",1),n(2),t(),e(3,"p",2),n(4),t(),s(5,"docs-ads-carbon-loader"),e(6,"markdown"),n(7,` ## Examples `),t(),e(8,"docs-example",3),g(9,et,2,0,"ng-template",null,0,y),t(),e(11,"docs-example",3),g(12,tt,2,0,"ng-template",null,0,y),t(),e(14,"markdown"),n(15,` ## Modes diff --git a/angular/docs/chunk-WDRYTTD7.js b/angular/docs/chunk-RGDULBMA.js similarity index 85% rename from angular/docs/chunk-WDRYTTD7.js rename to angular/docs/chunk-RGDULBMA.js index 2701ffc9c60..0542b0a3416 100644 --- a/angular/docs/chunk-WDRYTTD7.js +++ b/angular/docs/chunk-RGDULBMA.js @@ -1,4 +1,4 @@ -import{a as u}from"./chunk-3ZOCGJ4B.js";import"./chunk-PERFRTVS.js";import"./chunk-3WH63G7J.js";import{a as C}from"./chunk-FPQGXMEQ.js";import"./chunk-GHTCDR3O.js";import"./chunk-QUYVWFHK.js";import{a as d}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as I}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as D}from"./chunk-SWYVARVN.js";import{r as E}from"./chunk-JJFVMVK7.js";import{c as b,d as S}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Ac as x,Bc as n,Cc as f,Dc as y,Jb as h,Oc as l,Pc as P,Qb as a,_c as T,ac as o,bc as v,lb as p,mb as g,na as s}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var w=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=s({type:e,selectors:[["docs-popover02"]],standalone:!0,features:[l],decls:8,vars:4,consts:[["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Top!","cPopoverPlacement","top","color","secondary",1,"me-1",3,"cPopoverTrigger"],["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Right!","cPopoverPlacement","right","color","secondary",1,"me-1",3,"cPopoverTrigger"],["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Bottom!","cPopoverPlacement","bottom","color","secondary",1,"me-1",3,"cPopoverTrigger"],["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Left!","cPopoverPlacement","left","color","secondary",1,"me-1",3,"cPopoverTrigger"]],template:function(r,m){r&1&&(t(0,"button",0),n(1,`Popover on top +import{a as u}from"./chunk-TGKW7PGX.js";import"./chunk-FUXYYFQ6.js";import"./chunk-IH2HSX2J.js";import{a as C}from"./chunk-7GF3S5CV.js";import"./chunk-FW3F3TZD.js";import"./chunk-QUYVWFHK.js";import{a as d}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as I}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as D}from"./chunk-MH6VOBXJ.js";import{r as E}from"./chunk-Q5WIR6QR.js";import{c as b,d as S}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Ac as x,Bc as n,Cc as f,Dc as y,Jb as h,Oc as l,Pc as P,Qb as a,_c as T,ac as o,bc as v,lb as p,mb as g,na as s}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var w=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=s({type:e,selectors:[["docs-popover02"]],standalone:!0,features:[l],decls:8,vars:4,consts:[["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Top!","cPopoverPlacement","top","color","secondary",1,"me-1",3,"cPopoverTrigger"],["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Right!","cPopoverPlacement","right","color","secondary",1,"me-1",3,"cPopoverTrigger"],["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Bottom!","cPopoverPlacement","bottom","color","secondary",1,"me-1",3,"cPopoverTrigger"],["cButton","","cPopover","Vivamus sagittis lacus vel augue laoreet faucibus. Left!","cPopoverPlacement","left","color","secondary",1,"me-1",3,"cPopoverTrigger"]],template:function(r,m){r&1&&(t(0,"button",0),n(1,`Popover on top `),o(),t(2,"button",1),n(3,`Popover on right `),o(),t(4,"button",2),n(5,`Popover on bottom `),o(),t(6,"button",3),n(7,`Popover on left diff --git a/angular/docs/chunk-2RIOGVKI.js b/angular/docs/chunk-RN27QSRB.js similarity index 89% rename from angular/docs/chunk-2RIOGVKI.js rename to angular/docs/chunk-RN27QSRB.js index e42b78d5ae3..5953b7de2d2 100644 --- a/angular/docs/chunk-2RIOGVKI.js +++ b/angular/docs/chunk-RN27QSRB.js @@ -1,4 +1,4 @@ -import"./chunk-PERFRTVS.js";import{a as d}from"./chunk-FZ7UQHE3.js";import"./chunk-3WH63G7J.js";import{a as R}from"./chunk-FPQGXMEQ.js";import"./chunk-GHTCDR3O.js";import{i as w}from"./chunk-SPMMWGWV.js";import{a as M}from"./chunk-R2HXWLDR.js";import"./chunk-QUYVWFHK.js";import{a as f}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as P}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-SWYVARVN.js";import{r as k}from"./chunk-JJFVMVK7.js";import{c as C,d as D}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as o,Ac as g,Bc as t,Cc as y,Dc as S,Jb as b,Oc as m,Pc as T,Qb as p,_c as E,ac as n,bc as u,lb as l,mb as h,na as s}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";function V(r,e){r&1&&(t(0," Vivamus "),o(1,"span",2),t(2,"sagittis"),n(),t(3," lacus vel augue laoreet rutrum "),o(4,"i",3),t(5,"faucibus"),n(),t(6,". "))}var B=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=s({type:e,selectors:[["docs-tooltip03"]],standalone:!0,features:[m],decls:4,vars:1,consts:[["tooltipContent",""],["cButton","","cTooltipPlacement","right","cTooltipTrigger","click","color","secondary",1,"me-1",3,"cTooltip"],["cTextColor","success"],["cTextColor","warning"]],template:function(i,a){if(i&1&&(o(0,"button",1),t(1," Template Tooltip "),b(2,V,7,0,"ng-template",null,0,E),n()),i&2){let x=g(3);p("cTooltip",x)}},dependencies:[f,d,R],encapsulation:2});let r=e;return r})();var I=(()=>{let e=class e{constructor(){this.tooltipText="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=s({type:e,selectors:[["docs-tooltip02"]],standalone:!0,features:[m],decls:8,vars:4,consts:[["cButton","","cTooltipPlacement","top","color","secondary",1,"me-1",3,"cTooltip"],["cButton","","cTooltipPlacement","right","color","secondary",1,"me-1",3,"cTooltip"],["cButton","","cTooltipPlacement","bottom","color","secondary",1,"me-1",3,"cTooltip"],["cButton","","cTooltipPlacement","left","color","secondary",1,"me-1",3,"cTooltip"]],template:function(i,a){i&1&&(o(0,"button",0),t(1,` Tooltip on top +import"./chunk-FUXYYFQ6.js";import{a as d}from"./chunk-2AVMBETS.js";import"./chunk-IH2HSX2J.js";import{a as R}from"./chunk-7GF3S5CV.js";import"./chunk-FW3F3TZD.js";import{i as w}from"./chunk-FULSUUPP.js";import{a as M}from"./chunk-UYIAOCXU.js";import"./chunk-QUYVWFHK.js";import{a as f}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as P}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-MH6VOBXJ.js";import{r as k}from"./chunk-Q5WIR6QR.js";import{c as C,d as D}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as o,Ac as g,Bc as t,Cc as y,Dc as S,Jb as b,Oc as m,Pc as T,Qb as p,_c as E,ac as n,bc as u,lb as l,mb as h,na as s}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";function V(r,e){r&1&&(t(0," Vivamus "),o(1,"span",2),t(2,"sagittis"),n(),t(3," lacus vel augue laoreet rutrum "),o(4,"i",3),t(5,"faucibus"),n(),t(6,". "))}var B=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=s({type:e,selectors:[["docs-tooltip03"]],standalone:!0,features:[m],decls:4,vars:1,consts:[["tooltipContent",""],["cButton","","cTooltipPlacement","right","cTooltipTrigger","click","color","secondary",1,"me-1",3,"cTooltip"],["cTextColor","success"],["cTextColor","warning"]],template:function(i,a){if(i&1&&(o(0,"button",1),t(1," Template Tooltip "),b(2,V,7,0,"ng-template",null,0,E),n()),i&2){let x=g(3);p("cTooltip",x)}},dependencies:[f,d,R],encapsulation:2});let r=e;return r})();var I=(()=>{let e=class e{constructor(){this.tooltipText="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=s({type:e,selectors:[["docs-tooltip02"]],standalone:!0,features:[m],decls:8,vars:4,consts:[["cButton","","cTooltipPlacement","top","color","secondary",1,"me-1",3,"cTooltip"],["cButton","","cTooltipPlacement","right","color","secondary",1,"me-1",3,"cTooltip"],["cButton","","cTooltipPlacement","bottom","color","secondary",1,"me-1",3,"cTooltip"],["cButton","","cTooltipPlacement","left","color","secondary",1,"me-1",3,"cTooltip"]],template:function(i,a){i&1&&(o(0,"button",0),t(1,` Tooltip on top `),n(),o(2,"button",1),t(3,` Tooltip on right `),n(),o(4,"button",2),t(5,` Tooltip on bottom `),n(),o(6,"button",3),t(7,` Tooltip on left diff --git a/angular/docs/chunk-4EHRG2WJ.js b/angular/docs/chunk-S3TRUWXX.js similarity index 98% rename from angular/docs/chunk-4EHRG2WJ.js rename to angular/docs/chunk-S3TRUWXX.js index 14cebc9b43d..9fe89da2fda 100644 --- a/angular/docs/chunk-4EHRG2WJ.js +++ b/angular/docs/chunk-S3TRUWXX.js @@ -1 +1 @@ -import{d as Me}from"./chunk-C5JPXVV5.js";import{B as Se,a as ge,c as Ce,d as w,e as Te,f as ye,g as be,j as Q,p as ve,q as xe,r as we,s as De,t as ke,u as Pe}from"./chunk-JZLZFTWK.js";import{c as _e}from"./chunk-R2HXWLDR.js";import{c as Ee,d as Ve,e as oe}from"./chunk-KASAEZY4.js";import{a as U}from"./chunk-QNSTT6ST.js";import{m as z,t as fe}from"./chunk-FIXU3TFH.js";import{$b as d,A as ie,Aa as p,Ac as B,Ba as f,Bc as b,Dc as v,Gb as L,Ia as ue,Jb as M,La as S,Na as N,Nc as he,Oc as $,Pb as g,Qb as m,Qc as pe,Rc as te,Ub as ee,Wb as x,Y as q,Yb as D,Zb as k,_b as P,ac as u,ba as ae,bc as ne,ec as me,fc as y,ia as ce,lb as a,mb as A,mc as _,na as R,nd as C,oc as c,pa as X,tc as de,uc as Y,vc as F,wc as O,xa as H}from"./chunk-O6V6MKDU.js";import{a as Z,e as V,f as J,g as I}from"./chunk-MGAX33HK.js";function bt(t){return et(t,"dateTransform")}var Ge=t=>{let[n,i]=t.split(/w/i),r=new Date(Number(n),0,4);return r.setDate(r.getDate()-(r.getDay()||7)+1+(Number(i)-1)*7),r},vt=(t,n)=>t instanceof Date?t:n==="week"?Ge(t):new Date(Date.parse(t));var xt=(t,n)=>{let i=Math.ceil(t.length/n);return Array.from({length:n}).fill("").map((r,e)=>t.slice(e*i,(e+1)*i))},wt=(t,n,i)=>n!==0&&i==="days"?new Date(Date.UTC(t.getFullYear(),t.getMonth()+n,1)):n!==0&&i==="months"?new Date(Date.UTC(t.getFullYear()+n,t.getMonth(),1)):n!==0&&i==="years"?new Date(Date.UTC(t.getFullYear()+12*n,t.getMonth(),1)):t;var Dt=(t,n,i)=>{let r=new Date(2013,11,31,17,19,22),e=i?r.toLocaleString(n):r.toLocaleDateString(n);e=e.replace("2013","(?[0-9]{2,4})").replace("12","(?[0-9]{1,2})").replace("31","(?[0-9]{1,2})"),i&&(e=e.replace("5","(?[0-9]{1,2})").replace("17","(?[0-9]{1,2})").replace("19","(?[0-9]{1,2})").replace("22","(?[0-9]{1,2})").replace("PM","(?[A-Z]{2})"));let o=RegExp(`${e}`),s=t.match(o);return s===null?void 0:s.groups&&(i?new Date(Number(s.groups.year),Number(s.groups.month)-1,Number(s.groups.day),s.groups.ampm&&s.groups.ampm==="PM"?Number(s.groups.hour)+12:Number(s.groups.hour),Number(s.groups.minute),Number(s.groups.second)):new Date(Number(s.groups.year),Number(s.groups.month)-1,Number(s.groups.day)))};var kt=(t,n)=>{let i=[],r=new Date(n);r.setDate(1);for(let e=0;e<12;e++)r.setMonth(e),i.push({year:n,month:r.toLocaleDateString(t,{month:"short"})});return i},Pt=t=>{let n=[];for(let i=t-6;i{let r=[],e=new Date(t,n),o=e.getFullYear(),s=e.getMonth(),h=6-(6-new Date(o,s,1).getDay())-i;i&&(h=h<0?7+h:h);for(let T=h*-1;T<0;T++)r.push({date:new Date(o,s,T+1),month:"previous"});return r},Ke=(t,n)=>{let i=[],r=new Date(t,n+1,0).getDate();for(let e=1;e<=r;e++)i.push({date:new Date(t,n,e),month:"current"});return i},We=(t,n,i,r)=>{let e=[],o=42-(i.length+r.length);for(let s=1;s<=o;s++)e.push({date:new Date(t,n+1,s),month:"next"});return e};var Ze=t=>{let n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},St=(t,n,i)=>{let r=je(t,n,i),e=Ke(t,n),o=We(t,n,r,e),s=[...r,...e,...o],l=[];return s.forEach((h,T)=>{(T%7===0||l.length===0)&&l.push({weekNumber:-1,days:[]}),(T+1)%7===0&&(l[l.length-1].weekNumber=Ze(h.date)),l[l.length-1].days.push(h)}),[...l]},Je=(t,n,i,r)=>{if(!t||!n&&!i&&(!r||!r.length))return!1;if(n&&ti)return!0;let e=!1;if(r)for(let o of r){if(Array.isArray(o)&&Xe(t,o[0],o[1])){e=!0;break}if(o instanceof Date&&G(t,o)){e=!0;break}}return e},Xe=(t,n,i)=>t&&n&&i&&n<=t&&t<=i,Et=(t,n,i)=>t&&n&&i&&n.getFullYear()<=t.getFullYear()&&t.getFullYear()<=i.getFullYear(),Vt=(t,n,i)=>t&&n&&i?n<=t&&t<=i:t&&n?n<=t:t&&i?t<=i:!0,Mt=(t,n,i)=>t&&(n&&G(n,t)||i&&G(i,t)),Ft=(t,n,i)=>t&&(n&&Fe(n,t)||i&&Fe(i,t)),Ot=(t,n,i)=>t&&(n&&Oe(n,t)||i&&Oe(i,t)),It=(t,n,i)=>t&&n&&i&&G(i,t)&&n{let n=new Date(t.getTime()),i=n.getMonth();return n.setDate(n.getDate()+1),n.getMonth()!==i},G=(t,n)=>t.getDate()==n.getDate()&&t.getMonth()==n.getMonth()&&t.getFullYear()==n.getFullYear(),Fe=(t,n)=>t.getMonth()==n.getMonth()&&t.getFullYear()==n.getFullYear(),Oe=(t,n)=>t.getFullYear()==n.getFullYear(),Ht=(t,n,i)=>t&&n&&i&&G(n,t)&&n{let n=new Date;return t.getDate()==n.getDate()&&t.getMonth()==n.getMonth()&&t.getFullYear()==n.getFullYear()},At=(t,n)=>{let i=new Date;return n==i.getMonth()&&t.getFullYear()==i.getFullYear()},Lt=t=>t==new Date().getFullYear(),j=t=>{if(t instanceof Date||typeof t=="number"||typeof t=="string"){let n=new Date(t);return!isNaN(n.getTime())}return!1},et=(t,n="date")=>{let i;try{if(!j(t))throw t;i=new Date(t)}catch(r){console.warn(`Invalid ${n}`,r),i=new Date,i.setHours(0,0,0,0)}return i},Yt=(t,n,i)=>{if(!i||!i.length)return!1;if(t&&n){let r=new Date(t),e=!1;for(;r{let n;try{n=Intl.DateTimeFormat.supportedLocalesOf(t).length?t:"default"}catch{n="default"}return n},K=(t="default")=>{let n=Ie(t);return Intl.DateTimeFormat(n,{timeStyle:"short"}).resolvedOptions().hour12??!1},Re=(t,n)=>t==="am"&&n===12?0:t==="am"?n:t==="pm"&&n===12?12:n+12,He=t=>t%12||12,re=t=>t?t instanceof Date?new Date(t):new Date(`1970-01-01 ${t}`):null,se=(t,n,i={})=>{let r=le("en-US",i),e=new Intl.DateTimeFormat("en-US",{timeStyle:"short",hour12:!0}).format(t);return r.find(s=>e.includes(s.label))?.value??(t.getHours()>=12?"pm":"am")};var Ne=(t,n={})=>{let i=K(t),r=new Date(0);return Array.from({length:24},(e,o)=>{r.setHours(o);let s=se(r,t);return{value:o,dayPeriod:s,label:r.toLocaleTimeString(t,{hour:"2-digit",hour12:i,minute:"2-digit",second:"2-digit"}).split(":")[0]}})},Ae=(t,n={},i=!1)=>{let r=new Date(0);return Array.from({length:60},(e,o)=>(r.setMinutes(o),{value:o,label:r.toLocaleTimeString(t,{hour:"2-digit",hour12:!1,minute:"2-digit",second:"2-digit"}).split(":")[1]}))},Le=(t,n={},i=!1)=>Array.from({length:60},(r,e)=>{let o=new Date(0);return o.setSeconds(e),{value:e,label:o.toLocaleTimeString(t,{hour:"2-digit",hour12:!1,minute:"2-digit",second:"2-digit"}).split(":")[2]}});var W=t=>typeof t=="string"?j(t)||j(new Date(`1970-01-01 ${t}`)):j(t),le=(t="default",n={})=>{let i=Ie(t),r=[{value:"am",label:"am"},{value:"pm",label:"pm"}],e=K(i);if(!e)return r;let o=new Date(Date.UTC(1970,0,1,0,0,0)),s=new Date(Date.UTC(1970,0,1,13,0,0)),l=new Intl.DateTimeFormat(i,{hour12:e,hour:"numeric",timeZone:"UTC"}),h=l.formatToParts(o).find(E=>E.type==="dayPeriod")?.value??"am",T=l.formatToParts(s).find(E=>E.type==="dayPeriod")?.value??"pm";return r.forEach((E,qe,Ue)=>{Ue[qe].label=E.value==="am"?h??"am":T??"pm"}),r};var tt=(t,n)=>({"time-picker-roll-cell":!0,selected:t,disabled:n});function it(t,n){if(t&1){let i=y();d(0,"div",1),_("click",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementClick(e,o))})("keydown",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementKeyDown(e,o))}),b(1),u()}if(t&2){let i=n.$implicit,r=c();m("cTimeElement",i)("ngClass",te(5,tt,i.value===r.selected,i.disabled))("tabindex",i.disabled?-1:0),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}var Ye=(()=>{let n=class n{constructor(r){this.elementRef=r}};n.\u0275fac=function(e){return new(e||n)(A(S))},n.\u0275dir=X({type:n,selectors:[["","cTimeElement",""]],inputs:{cTimeElement:"cTimeElement"},exportAs:["cTimeElement"],standalone:!0});let t=n;return t})(),$e=(()=>{var n;let i=class i{constructor(e){J(this,n);this.elementRef=e,I(this,n,!0),this.disabled=!1,this.elements=[],this.selectedChange=new N}get hostClasses(){return{"time-picker-roll-col":!0,disabled:this.disabled}}ngAfterViewInit(){this.timeElements?.changes.subscribe(e=>{let o=this.timeElements?.find(s=>s.cTimeElement?.value===this.selected);this.scrollToElement(o?.elementRef.nativeElement)}),setTimeout(()=>{let e=this.elementRef.nativeElement.querySelector(".selected");this.scrollToElement(e)},1e3)}ngOnChanges(e){if(e.refresh&&e.refresh.currentValue||e.selected&&!e.selected.firstChange){let o=this.timeElements?.find(s=>s.cTimeElement?.value===this.selected);I(this,n,!o),this.scrollToElement(o?.elementRef.nativeElement)}}scrollToElement(e){setTimeout(()=>{let o=e??this.elementRef.nativeElement.querySelector(".selected")??this.elementRef.nativeElement.firstElementChild;o&&(this.elementRef.nativeElement.scrollTo({top:o?.offsetTop,behavior:V(this,n)?"auto":"smooth"}),I(this,n,!1))})}handleElementClick(e,o){o.disabled||(this.selected=o.value,this.scrollToElement(e.target),this.onClick&&this.onClick(o.value),this.selectedChange.emit(o.value))}handleElementKeyDown(e,o){(e.code==="Space"||e.code==="Enter")&&(e.preventDefault(),this.handleElementClick(e,o))}};n=new WeakMap,i.\u0275fac=function(o){return new(o||i)(A(S))},i.\u0275cmp=R({type:i,selectors:[["c-time-picker-roll-col"]],viewQuery:function(o,s){if(o&1&&Y(Ye,5),o&2){let l;F(l=O())&&(s.timeElements=l)}},hostVars:2,hostBindings:function(o,s){o&2&&ee(s.hostClasses)},inputs:{disabled:[2,"disabled","disabled",C],elements:"elements",onClick:"onClick",selected:"selected",refresh:[2,"refresh","refresh",C]},outputs:{selectedChange:"selectedChange"},exportAs:["cTimePickerRollCol"],standalone:!0,features:[L,H,$],decls:2,vars:0,consts:[["role","button",3,"cTimeElement","ngClass","tabindex"],["role","button",3,"click","keydown","cTimeElement","ngClass","tabindex"]],template:function(o,s){o&1&&k(0,it,2,8,"div",0,D),o&2&&P(s.elements)},dependencies:[Ye,z],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .disabled[_ngcontent-%COMP%]{pointer-events:none}"]});let t=i;return t})();var nt=(t,n)=>({"time-picker-roll-cell":!0,selected:t,disabled:n});function ot(t,n){if(t&1){let i=y();d(0,"div",1),_("click",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementClick(e,o))})("keydown",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementKeyDown(e,o))}),b(1),u()}if(t&2){let i=n.$implicit,r=c();m("cDayPeriodElement",i)("ngClass",te(5,nt,i.value===r.selected,i.disabled))("tabindex",i.disabled?-1:0),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}var ze=(()=>{let n=class n{constructor(r){this.elementRef=r}};n.\u0275fac=function(e){return new(e||n)(A(S))},n.\u0275dir=X({type:n,selectors:[["","cDayPeriodElement",""]],inputs:{cDayPeriodElement:"cDayPeriodElement"},exportAs:["cDayPeriodElement"],standalone:!0});let t=n;return t})(),Qe=(()=>{let n=class n{constructor(r){this.elementRef=r,this.init=!0,this.disabled=!1,this.elements=[],this.selectedChange=new N}get hostClasses(){return{"time-picker-roll-col":!0,disabled:this.disabled}}ngAfterViewInit(){this.dayPeriodElements?.changes.subscribe(e=>{let o=this.dayPeriodElements?.find(s=>s.cDayPeriodElement?.value===this.selected);this.scrollToElement(o?.elementRef.nativeElement)});let r=this.elementRef.nativeElement.querySelector(".selected");this.scrollToElement(r)}ngOnChanges(r){if(r.refresh&&r.refresh.currentValue||r.selected&&!r.selected.firstChange){let e=this.dayPeriodElements?.find(o=>o.cDayPeriodElement?.value===this.selected);this.init=!e,this.scrollToElement(e?.elementRef.nativeElement)}}scrollToElement(r){setTimeout(()=>{let e=r||this.elementRef.nativeElement.querySelector(".selected");e&&(this.elementRef.nativeElement.scrollTo({top:e?.offsetTop,behavior:this.init?"auto":"smooth"}),this.init=!1)})}handleElementClick(r,e){e.disabled||(this.selected=e.value,this.scrollToElement(r.target),this.onClick&&this.onClick(e.value),this.selectedChange.emit(e.value))}handleElementKeyDown(r,e){(r.code==="Space"||r.code==="Enter")&&(r.preventDefault(),this.handleElementClick(r,e))}};n.\u0275fac=function(e){return new(e||n)(A(S))},n.\u0275cmp=R({type:n,selectors:[["c-time-picker-roll-am-pm"]],viewQuery:function(e,o){if(e&1&&Y(ze,5),e&2){let s;F(s=O())&&(o.dayPeriodElements=s)}},hostVars:2,hostBindings:function(e,o){e&2&&ee(o.hostClasses)},inputs:{disabled:[2,"disabled","disabled",C],elements:"elements",onClick:"onClick",selected:"selected",refresh:[2,"refresh","refresh",C]},outputs:{selectedChange:"selectedChange"},standalone:!0,features:[L,H,$],decls:2,vars:0,consts:[["role","button",3,"cDayPeriodElement","ngClass","tabindex"],["role","button",3,"click","keydown","cDayPeriodElement","ngClass","tabindex"]],template:function(e,o){e&1&&k(0,ot,2,8,"div",0,D),e&2&&P(o.elements)},dependencies:[ze,z],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .disabled[_ngcontent-%COMP%]{pointer-events:none}"]});let t=n;return t})();var rt=t=>({$implicit:t});function st(t,n){if(t&1&&(d(0,"option",8),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}function lt(t,n){if(t&1&&(d(0,"option",8),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}function at(t,n){if(t&1&&(d(0,"option",8),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}function ct(t,n){if(t&1){let i=y();b(0),d(1,"select",12),_("blur",function(){p(i);let e=c(2);return f(e.onBlur())}),k(2,at,2,3,"option",8,D),u()}if(t&2){let i,r=c(2);v(" "," :",""),a(),m("sizing",(i=r.size)!==null&&i!==void 0?i:""),g("disabled",r.disabled||null),a(),P(r.listOfSeconds)}}function ut(t,n){if(t&1&&(d(0,"option",14),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),a(),v(" ",i.label," ")}}function mt(t,n){if(t&1){let i=y();d(0,"select",13),_("blur",function(){p(i);let e=c(2);return f(e.onBlur())}),k(1,ut,2,2,"option",14,D),u()}if(t&2){let i,r=c(2);m("sizing",(i=r.size)!==null&&i!==void 0?i:""),g("disabled",r.disabled||null),a(),P(r.dayPeriods)}}function dt(t,n){if(t&1){let i=y();d(0,"div",2)(1,"div",4)(2,"div",5),ne(3,"span",6),d(4,"select",7),_("blur",function(){p(i);let e=c();return f(e.onBlur())}),k(5,st,2,3,"option",8,D),u(),b(7),d(8,"select",9),_("blur",function(){p(i);let e=c();return f(e.onBlur())}),k(9,lt,2,3,"option",8,D),u(),M(11,ct,4,3,"select",10)(12,mt,3,2,"select",11),u()()()}if(t&2){let i,r,e=c();a(2),m("formGroup",e.selectTime)("ngClass",e.timePickerClasses),a(2),m("sizing",(i=e.size)!==null&&i!==void 0?i:""),g("disabled",e.disabled||null),a(),P(e.listOfHours12),a(2),v(" "," :",""),a(),m("sizing",(r=e.size)!==null&&r!==void 0?r:""),g("disabled",e.disabled||null),a(),P(e.listOfMinutes),a(2),x(e.seconds?11:-1),a(),x(e.hour12?12:-1)}}function ht(t,n){t&1&&ne(0,"div",17)}function pt(t,n){if(t&1){let i=y();d(0,"div",24),_("click",function(e){p(i);let o=c(2);return f(!o.disabled&&o.handleClear(e))}),u()}}function ft(t,n){if(t&1){let i=y();d(0,"c-time-picker-roll-col",21),_("selectedChange",function(e){p(i);let o=c(2);return f(o.handleSelectTimeChange(e,"second"))}),u()}if(t&2){c();let i=B(7),r=c();m("disabled",r.disabled)("elements",r.listOfSeconds)("refresh",i.visible)("selected",r.second)}}function _t(t,n){if(t&1){let i=y();d(0,"c-time-picker-roll-am-pm",21),_("selectedChange",function(e){p(i);let o=c(2);return f(o.handleSelectDayPeriodChange(e))}),u()}if(t&2){c();let i=B(7),r=c();m("disabled",r.disabled)("elements",r.dayPeriods)("refresh",i.visible)("selected",r.dayPeriod)}}function gt(t,n){t&1&&me(0)}function Ct(t,n){if(t&1&&(d(0,"div",23),M(1,gt,1,0,"ng-container",25),u()),t&2){c();let i=B(1),r=c();a(),m("ngTemplateOutlet",r.templates==null?null:r.templates.timePickerFooter)("ngTemplateOutletContext",pe(2,rt,i))}}function Tt(t,n){if(t&1){let i=y();d(0,"c-dropdown",3,0)(2,"div",15)(3,"input",16),_("blur",function(e){p(i);let o=c();return f(o.handleBlur(e))})("change",function(e){p(i);let o=c();return f(o.handleTimeInputChange(e))})("focus",function(e){p(i);let o=c();return f(o.handleFocus(e))}),u(),M(4,ht,1,0,"div",17)(5,pt,1,0,"div",18),u(),d(6,"div",19,1)(8,"div",20)(9,"c-time-picker-roll-col",21),_("selectedChange",function(e){p(i);let o=c();return f(o.handleSelectTimeChange(e,"hour"))}),u(),d(10,"c-time-picker-roll-col",21),_("selectedChange",function(e){p(i);let o=c();return f(o.handleSelectTimeChange(e,"minute"))}),u(),M(11,ft,1,4,"c-time-picker-roll-col",22)(12,_t,1,4,"c-time-picker-roll-am-pm",22),u(),M(13,Ct,2,4,"div",23),u()()}if(t&2){let i,r,e=B(1),o=B(7),s=c();m("autoClose","outside")("ngClass",s.timePickerClasses)("visible",s.visible),a(2),m("caret",!1),a(),m("formControl",s.timeInput)("placeholder",s.placeholder)("readonly",(i=s.inputReadOnly)!==null&&i!==void 0?i:null),g("disabled",((r=s.disabled)!==null&&r!==void 0?r:e.visible)?"":null)("pattern",s.hour12?"(((0[1-9])|(1[0-2])):([0-5])([0-9])\\s(A|P)M)":"([01]?[0-9]|2[0-3]):[0-5][0-9]")("tabindex",s.disabled?-1:0),a(),x(s.indicator?4:-1),a(),x(s.cleaner&&s.time&&!s.disabled?5:-1),a(4),m("disabled",s.disabled)("elements",s.listOfHours12)("refresh",o.visible)("selected",s.hour),a(),m("disabled",s.disabled)("elements",s.listOfMinutes)("refresh",o.visible)("selected",s.minute),a(),x(s.seconds?11:-1),a(),x(s.hour12?12:-1),a(),x(s.templates!=null&&s.templates.timePickerFooter?13:-1)}}var yt=(()=>{var n;let i=class i{constructor(){J(this,n);I(this,n,ce(ue)),this.cleaner=!0,this.dateTimeFormatOptions={},this.disabled=!1,this.indicator=!0,this.inputReadOnly=!1,this.locale="default",this.placeholder="Select time",this.seconds=!1,this.variant="roll",this.visible=!1,this.timeChange=new N(!1),this.templates={},this.hour12=K(this.locale),this.dayPeriods=[{value:"am",label:"am"},{value:"pm",label:"pm"}],this._timeInputValue=this.time?.toLocaleTimeString(this.locale,{timeStyle:this.seconds?"medium":"short"})??"",this.selectTime=new be({selectHours:new Q({value:this.hour,disabled:this.disabled},{validators:[w.min(0),w.max(this.hour12?11:23)]}),selectMinutes:new Q({value:this.minute,disabled:this.disabled},{validators:[w.min(0),w.max(59)]}),selectSeconds:new Q({value:this.second,disabled:this.disabled},{validators:[w.min(0),w.max(59)]}),selectDayPeriod:new Q({value:this.dayPeriod,disabled:this.disabled},w.required)},{validators:[w.required]}),this.timeInput=new Q({value:this.timeInputValue,disabled:this.disabled},{validators:[w.required]}),this._hour=-1,this._minute=-1,this._second=-1,this._dayPeriod="am",this.onChange=e=>{},this.onTouched=()=>{}}set time(e){if(e&&W(e)){let o=re(e);if(!o){this.clearTime();return}this.dayPeriod=se(o,this.locale),this._time?.getTime()!==o.getTime()&&(this._time=new Date(o.getTime()))}else this.clearTime()}get time(){return this._time}onBlur(){this.onTouched()}getListOfHours12(){let e=this.hour12?this.listOfHours?.filter(o=>o.dayPeriod&&o.dayPeriod===this.dayPeriod||!o.dayPeriod):this.listOfHours;return this.hour12&&e.push(e.shift()),e}set timeInputValue(e){this.timeInput.setValue(e),this._timeInputValue=e}get timeInputValue(){return this._timeInputValue}get timePickerClasses(){return{"time-picker":!0,[`time-picker-${this.size}`]:!!this.size,"form-control":this.variant==="select"&&this.valid!==void 0,"is-valid":this.valid===!0,"is-invalid":this.valid===!1,disabled:this.disabled}}set hour(e){if(this._hour!==e){if(e<0){this.clearTime();return}this._hour=e}}get hour(){return this._hour}set minute(e){if(this._minute!==e){if(e<0){this.clearTime();return}this._minute=e}}get minute(){return this._minute}set second(e){if(this._second!==e){if(e<0){this.clearTime();return}this._second=e}}get second(){return this._second}set dayPeriod(e){this._dayPeriod!==e&&(this._dayPeriod=e,this.listOfHours&&(this.listOfHours12=this.getListOfHours12()),this.patchSelectTimeValues())}get dayPeriod(){return this._dayPeriod}setTime(){this._hour=this._hour<0?0:this._hour,this._minute=this._minute<0?0:this._minute,this._second=this._second<0?0:this._second;let e=new Date(this._time?.getTime()||new Date);e.setHours(this.hour,this.minute,this.second,0),this.time=e,this.emitTime(e)}clearTime(){this.time&&(this._time=void 0,this.emitTime(void 0)),this._hour=-1,this._minute=-1,this._second=-1,this.dayPeriod="am",this.patchSelectTimeValues(),this.timeInputValue=""}emitTime(e){let o=e&&W(e)?new Date(e.getTime()):void 0;this._timeInternal?.getTime()!==o?.getTime()&&(this.timeChange.emit(o),this.onChange(o),this.onTouched(),this._timeInternal=o),this.timeInputValue=this.time?.toLocaleTimeString(this.locale,{timeStyle:this.seconds?"medium":"short"})??""}ngOnInit(){this.setTimeLists(),this.updateSelectTime(),this.setChangeHandlers()}ngOnChanges(e){e.time&&(e.time.firstChange||this._timeInternal?.getTime()!==e.time.currentValue?.getTime()&&this.updateSelectTime())}ngAfterViewInit(){setTimeout(()=>{this.contentTemplates.forEach(e=>{this.templates[e.id]=e.templateRef})})}setTimeLists(){if(this.dayPeriods=le(this.locale,this.dateTimeFormatOptions),this.hour12=K(this.locale),this.listOfHours=this.listOfTimeSegments(Ne,this.filterHours),this.listOfMinutes=this.listOfTimeSegments(Ae,this.filterMinutes),this.listOfSeconds=this.listOfTimeSegments(Le,this.filterSeconds),this.variant==="select"){let e={value:-1,label:" --",disabled:!0};this.listOfHours.unshift(Z({},e)),this.listOfMinutes.unshift(Z({},e)),this.listOfSeconds.unshift(Z({},e))}this.listOfHours12=this.getListOfHours12()}updateSelectTime(e=this.time){if(e&&W(e)){let o=e.getHours()??0,s=e.getMinutes()??0,l=this.seconds?e.getSeconds()??0:0,h=this.closestTime(this.listOfSeconds,l),T=this.closestTime(this.listOfMinutes,s),E=this.closestTime(this.listOfHours,o);this.second=this.seconds?h.value:0,this.minute=T.value,this.hour=E.value,this.setTime(),this.patchSelectTimeValues()}}closestTime(e,o){let s=e??[{value:0,label:"00"}];return this.time&&(s=e.filter(l=>l.value>=0),s=s.length?s:e),s.reduce((l,h)=>Math.abs(h.value-o)typeof o=="function"?o(l.value):!0);return s.length?s:e(this.locale,this.dateTimeFormatOptions).slice(0,1)}handleSelectDayPeriodChange(e){if(e!==this.dayPeriod){let o=this.time?.getHours()??(this.hour<0?0:this.hour),s=o>12?He(o):Re(e,o);this.hour=this.closestTime(this.listOfHours,s).value,s>=0&&this.setTime(),this.updateSelectTime()}}handleSelectTimeChange(e,o){this[o]=e,e>=0&&this.setTime(),this.updateSelectTime()}patchSelectTimeValues(){let e=this.selectTime.get("selectDayPeriod")?.value;this.dayPeriod!==e&&this.selectTime.patchValue({selectDayPeriod:this.dayPeriod??"am"});let o=this.selectTime.get("selectHours")?.value,s=this.selectTime.get("selectMinutes")?.value,l=this.selectTime.get("selectSeconds")?.value,h=this.second<0&&this.minute<0||this.hour>=0&&this.minute>=0&&this.second>=0,T=this.hour!==o||this.minute!==s||this.second!==l;h&&T&&(this.hour!==o&&this.selectTime.patchValue({selectHours:this.hour??0}),this.minute!==s&&this.selectTime.patchValue({selectMinutes:this.minute??0}),this.second!==l&&this.selectTime.patchValue({selectSeconds:this.second??0}))}trackByHour(e,o){return o}writeValue(e){this.time=e,this.updateSelectTime()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}handleTimeInputChange(e){let o=e.target?.value;if(!o||!W(o)){this.clearTime();return}let s=re(o);this.updateSelectTime(s??new Date(Date.now()))}handleClear(e){this.clearTime()}handleBlur(e){this.disabled||(this.dropdownRef?.nativeElement?.classList.remove("show"),setTimeout(()=>{this.onBlur()},100))}handleFocus(e){this.disabled||this.dropdownRef?.nativeElement?.classList.add("show")}setChangeHandlers(){this.variant==="select"&&(this.selectTime.get("selectHours")?.valueChanges.pipe(q(e=>{this.handleSelectTimeChange(e,"hour")}),U(V(this,n))).subscribe(),this.selectTime.get("selectMinutes")?.valueChanges.pipe(q(e=>{this.handleSelectTimeChange(e,"minute")}),U(V(this,n))).subscribe(),this.selectTime.get("selectSeconds")?.valueChanges.pipe(ie(()=>this.seconds),q(e=>{this.handleSelectTimeChange(e,"second")}),U(V(this,n))).subscribe(),this.selectTime.get("selectDayPeriod")?.valueChanges.pipe(ie(()=>this.hour12),q(e=>{this.handleSelectDayPeriodChange(e)}),U(V(this,n))).subscribe())}};n=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=R({type:i,selectors:[["c-time-picker"]],contentQueries:function(o,s,l){if(o&1&&de(l,_e,5),o&2){let h;F(h=O())&&(s.contentTemplates=h)}},viewQuery:function(o,s){if(o&1&&Y(oe,5,S),o&2){let l;F(l=O())&&(s.dropdownRef=l.first)}},hostBindings:function(o,s){o&1&&_("blur",function(){return s.onBlur()})},inputs:{cleaner:[2,"cleaner","cleaner",C],dateTimeFormatOptions:"dateTimeFormatOptions",disabled:[2,"disabled","disabled",C],filterHours:"filterHours",filterMinutes:"filterMinutes",filterSeconds:"filterSeconds",indicator:[2,"indicator","indicator",C],inputReadOnly:[2,"inputReadOnly","inputReadOnly",C],locale:"locale",placeholder:"placeholder",seconds:[2,"seconds","seconds",C],size:"size",time:"time",variant:"variant",valid:"valid",visible:[2,"visible","visible",C]},outputs:{timeChange:"timeChange"},exportAs:["cTimePicker"],standalone:!0,features:[he([{provide:ge,useExisting:ae(()=>i),multi:!0}]),L,H,$],decls:2,vars:2,consts:[["dropdown","cDropdown"],["dropdownMenu","cDropdownMenu"],[1,"date-picker-timepickers"],[3,"autoClose","ngClass","visible"],[1,"picker","time-picker"],[1,"time-picker-body",3,"formGroup","ngClass"],[1,"time-picker-inline-icon"],["cSelect","","formControlName","selectHours",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],[3,"ngValue"],["cSelect","","formControlName","selectMinutes",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],["cSelect","","formControlName","selectSeconds",1,"time-picker-inline-select","ms-0",3,"sizing"],["cSelect","","formControlName","selectDayPeriod",1,"time-picker-inline-select","ms-0",3,"sizing"],["cSelect","","formControlName","selectSeconds",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],["cSelect","","formControlName","selectDayPeriod",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],[1,"time-picker-roll-cell",3,"ngValue"],["cDropdownToggle","",1,"time-picker-input-group",3,"caret"],[1,"time-picker-input",3,"blur","change","focus","formControl","placeholder","readonly"],[1,"time-picker-indicator"],["role","button",1,"time-picker-cleaner"],["cDropdownMenu","",1,"time-picker-dropdown","py-0"],[1,"time-picker-body","time-picker-roll",2,"position","relative"],["role","listbox",3,"selectedChange","disabled","elements","refresh","selected"],["role","listbox",3,"disabled","elements","refresh","selected"],[1,"time-picker-footer"],["role","button",1,"time-picker-cleaner",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(o,s){o&1&&M(0,dt,13,9,"div",2)(1,Tt,14,23,"c-dropdown",3),o&2&&(x(s.variant==="select"?0:-1),a(),x(s.variant==="roll"?1:-1))},dependencies:[z,fe,Se,ke,Pe,Ce,De,Te,ye,ve,xe,we,oe,Ve,Ee,Me,$e,Qe],styles:[".disabled[_ngcontent-%COMP%]{pointer-events:none}"]});let t=i;return t})();export{bt as a,vt as b,xt as c,wt as d,Dt as e,kt as f,Pt as g,St as h,Je as i,Xe as j,Et as k,Vt as l,Mt as m,Ft as n,Ot as o,It as p,Rt as q,Ht as r,Nt as s,At as t,Lt as u,j as v,et as w,Yt as x,yt as y}; +import{d as Me}from"./chunk-ZGGOM75Q.js";import{B as Se,a as ge,c as Ce,d as w,e as Te,f as ye,g as be,j as Q,p as ve,q as xe,r as we,s as De,t as ke,u as Pe}from"./chunk-WFHPAILT.js";import{c as _e}from"./chunk-UYIAOCXU.js";import{c as Ee,d as Ve,e as oe}from"./chunk-DSAGLKP4.js";import{a as U}from"./chunk-LZN2HRQX.js";import{m as z,t as fe}from"./chunk-XHR4TYVD.js";import{$b as d,A as ie,Aa as p,Ac as B,Ba as f,Bc as b,Dc as v,Gb as L,Ia as ue,Jb as M,La as S,Na as N,Nc as he,Oc as $,Pb as g,Qb as m,Qc as pe,Rc as te,Ub as ee,Wb as x,Y as q,Yb as D,Zb as k,_b as P,ac as u,ba as ae,bc as ne,ec as me,fc as y,ia as ce,lb as a,mb as A,mc as _,na as R,nd as C,oc as c,pa as X,tc as de,uc as Y,vc as F,wc as O,xa as H}from"./chunk-6U7QZ4SV.js";import{a as Z,e as V,f as J,g as I}from"./chunk-MGAX33HK.js";function bt(t){return et(t,"dateTransform")}var Ge=t=>{let[n,i]=t.split(/w/i),r=new Date(Number(n),0,4);return r.setDate(r.getDate()-(r.getDay()||7)+1+(Number(i)-1)*7),r},vt=(t,n)=>t instanceof Date?t:n==="week"?Ge(t):new Date(Date.parse(t));var xt=(t,n)=>{let i=Math.ceil(t.length/n);return Array.from({length:n}).fill("").map((r,e)=>t.slice(e*i,(e+1)*i))},wt=(t,n,i)=>n!==0&&i==="days"?new Date(Date.UTC(t.getFullYear(),t.getMonth()+n,1)):n!==0&&i==="months"?new Date(Date.UTC(t.getFullYear()+n,t.getMonth(),1)):n!==0&&i==="years"?new Date(Date.UTC(t.getFullYear()+12*n,t.getMonth(),1)):t;var Dt=(t,n,i)=>{let r=new Date(2013,11,31,17,19,22),e=i?r.toLocaleString(n):r.toLocaleDateString(n);e=e.replace("2013","(?[0-9]{2,4})").replace("12","(?[0-9]{1,2})").replace("31","(?[0-9]{1,2})"),i&&(e=e.replace("5","(?[0-9]{1,2})").replace("17","(?[0-9]{1,2})").replace("19","(?[0-9]{1,2})").replace("22","(?[0-9]{1,2})").replace("PM","(?[A-Z]{2})"));let o=RegExp(`${e}`),s=t.match(o);return s===null?void 0:s.groups&&(i?new Date(Number(s.groups.year),Number(s.groups.month)-1,Number(s.groups.day),s.groups.ampm&&s.groups.ampm==="PM"?Number(s.groups.hour)+12:Number(s.groups.hour),Number(s.groups.minute),Number(s.groups.second)):new Date(Number(s.groups.year),Number(s.groups.month)-1,Number(s.groups.day)))};var kt=(t,n)=>{let i=[],r=new Date(n);r.setDate(1);for(let e=0;e<12;e++)r.setMonth(e),i.push({year:n,month:r.toLocaleDateString(t,{month:"short"})});return i},Pt=t=>{let n=[];for(let i=t-6;i{let r=[],e=new Date(t,n),o=e.getFullYear(),s=e.getMonth(),h=6-(6-new Date(o,s,1).getDay())-i;i&&(h=h<0?7+h:h);for(let T=h*-1;T<0;T++)r.push({date:new Date(o,s,T+1),month:"previous"});return r},Ke=(t,n)=>{let i=[],r=new Date(t,n+1,0).getDate();for(let e=1;e<=r;e++)i.push({date:new Date(t,n,e),month:"current"});return i},We=(t,n,i,r)=>{let e=[],o=42-(i.length+r.length);for(let s=1;s<=o;s++)e.push({date:new Date(t,n+1,s),month:"next"});return e};var Ze=t=>{let n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},St=(t,n,i)=>{let r=je(t,n,i),e=Ke(t,n),o=We(t,n,r,e),s=[...r,...e,...o],l=[];return s.forEach((h,T)=>{(T%7===0||l.length===0)&&l.push({weekNumber:-1,days:[]}),(T+1)%7===0&&(l[l.length-1].weekNumber=Ze(h.date)),l[l.length-1].days.push(h)}),[...l]},Je=(t,n,i,r)=>{if(!t||!n&&!i&&(!r||!r.length))return!1;if(n&&ti)return!0;let e=!1;if(r)for(let o of r){if(Array.isArray(o)&&Xe(t,o[0],o[1])){e=!0;break}if(o instanceof Date&&G(t,o)){e=!0;break}}return e},Xe=(t,n,i)=>t&&n&&i&&n<=t&&t<=i,Et=(t,n,i)=>t&&n&&i&&n.getFullYear()<=t.getFullYear()&&t.getFullYear()<=i.getFullYear(),Vt=(t,n,i)=>t&&n&&i?n<=t&&t<=i:t&&n?n<=t:t&&i?t<=i:!0,Mt=(t,n,i)=>t&&(n&&G(n,t)||i&&G(i,t)),Ft=(t,n,i)=>t&&(n&&Fe(n,t)||i&&Fe(i,t)),Ot=(t,n,i)=>t&&(n&&Oe(n,t)||i&&Oe(i,t)),It=(t,n,i)=>t&&n&&i&&G(i,t)&&n{let n=new Date(t.getTime()),i=n.getMonth();return n.setDate(n.getDate()+1),n.getMonth()!==i},G=(t,n)=>t.getDate()==n.getDate()&&t.getMonth()==n.getMonth()&&t.getFullYear()==n.getFullYear(),Fe=(t,n)=>t.getMonth()==n.getMonth()&&t.getFullYear()==n.getFullYear(),Oe=(t,n)=>t.getFullYear()==n.getFullYear(),Ht=(t,n,i)=>t&&n&&i&&G(n,t)&&n{let n=new Date;return t.getDate()==n.getDate()&&t.getMonth()==n.getMonth()&&t.getFullYear()==n.getFullYear()},At=(t,n)=>{let i=new Date;return n==i.getMonth()&&t.getFullYear()==i.getFullYear()},Lt=t=>t==new Date().getFullYear(),j=t=>{if(t instanceof Date||typeof t=="number"||typeof t=="string"){let n=new Date(t);return!isNaN(n.getTime())}return!1},et=(t,n="date")=>{let i;try{if(!j(t))throw t;i=new Date(t)}catch(r){console.warn(`Invalid ${n}`,r),i=new Date,i.setHours(0,0,0,0)}return i},Yt=(t,n,i)=>{if(!i||!i.length)return!1;if(t&&n){let r=new Date(t),e=!1;for(;r{let n;try{n=Intl.DateTimeFormat.supportedLocalesOf(t).length?t:"default"}catch{n="default"}return n},K=(t="default")=>{let n=Ie(t);return Intl.DateTimeFormat(n,{timeStyle:"short"}).resolvedOptions().hour12??!1},Re=(t,n)=>t==="am"&&n===12?0:t==="am"?n:t==="pm"&&n===12?12:n+12,He=t=>t%12||12,re=t=>t?t instanceof Date?new Date(t):new Date(`1970-01-01 ${t}`):null,se=(t,n,i={})=>{let r=le("en-US",i),e=new Intl.DateTimeFormat("en-US",{timeStyle:"short",hour12:!0}).format(t);return r.find(s=>e.includes(s.label))?.value??(t.getHours()>=12?"pm":"am")};var Ne=(t,n={})=>{let i=K(t),r=new Date(0);return Array.from({length:24},(e,o)=>{r.setHours(o);let s=se(r,t);return{value:o,dayPeriod:s,label:r.toLocaleTimeString(t,{hour:"2-digit",hour12:i,minute:"2-digit",second:"2-digit"}).split(":")[0]}})},Ae=(t,n={},i=!1)=>{let r=new Date(0);return Array.from({length:60},(e,o)=>(r.setMinutes(o),{value:o,label:r.toLocaleTimeString(t,{hour:"2-digit",hour12:!1,minute:"2-digit",second:"2-digit"}).split(":")[1]}))},Le=(t,n={},i=!1)=>Array.from({length:60},(r,e)=>{let o=new Date(0);return o.setSeconds(e),{value:e,label:o.toLocaleTimeString(t,{hour:"2-digit",hour12:!1,minute:"2-digit",second:"2-digit"}).split(":")[2]}});var W=t=>typeof t=="string"?j(t)||j(new Date(`1970-01-01 ${t}`)):j(t),le=(t="default",n={})=>{let i=Ie(t),r=[{value:"am",label:"am"},{value:"pm",label:"pm"}],e=K(i);if(!e)return r;let o=new Date(Date.UTC(1970,0,1,0,0,0)),s=new Date(Date.UTC(1970,0,1,13,0,0)),l=new Intl.DateTimeFormat(i,{hour12:e,hour:"numeric",timeZone:"UTC"}),h=l.formatToParts(o).find(E=>E.type==="dayPeriod")?.value??"am",T=l.formatToParts(s).find(E=>E.type==="dayPeriod")?.value??"pm";return r.forEach((E,qe,Ue)=>{Ue[qe].label=E.value==="am"?h??"am":T??"pm"}),r};var tt=(t,n)=>({"time-picker-roll-cell":!0,selected:t,disabled:n});function it(t,n){if(t&1){let i=y();d(0,"div",1),_("click",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementClick(e,o))})("keydown",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementKeyDown(e,o))}),b(1),u()}if(t&2){let i=n.$implicit,r=c();m("cTimeElement",i)("ngClass",te(5,tt,i.value===r.selected,i.disabled))("tabindex",i.disabled?-1:0),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}var Ye=(()=>{let n=class n{constructor(r){this.elementRef=r}};n.\u0275fac=function(e){return new(e||n)(A(S))},n.\u0275dir=X({type:n,selectors:[["","cTimeElement",""]],inputs:{cTimeElement:"cTimeElement"},exportAs:["cTimeElement"],standalone:!0});let t=n;return t})(),$e=(()=>{var n;let i=class i{constructor(e){J(this,n);this.elementRef=e,I(this,n,!0),this.disabled=!1,this.elements=[],this.selectedChange=new N}get hostClasses(){return{"time-picker-roll-col":!0,disabled:this.disabled}}ngAfterViewInit(){this.timeElements?.changes.subscribe(e=>{let o=this.timeElements?.find(s=>s.cTimeElement?.value===this.selected);this.scrollToElement(o?.elementRef.nativeElement)}),setTimeout(()=>{let e=this.elementRef.nativeElement.querySelector(".selected");this.scrollToElement(e)},1e3)}ngOnChanges(e){if(e.refresh&&e.refresh.currentValue||e.selected&&!e.selected.firstChange){let o=this.timeElements?.find(s=>s.cTimeElement?.value===this.selected);I(this,n,!o),this.scrollToElement(o?.elementRef.nativeElement)}}scrollToElement(e){setTimeout(()=>{let o=e??this.elementRef.nativeElement.querySelector(".selected")??this.elementRef.nativeElement.firstElementChild;o&&(this.elementRef.nativeElement.scrollTo({top:o?.offsetTop,behavior:V(this,n)?"auto":"smooth"}),I(this,n,!1))})}handleElementClick(e,o){o.disabled||(this.selected=o.value,this.scrollToElement(e.target),this.onClick&&this.onClick(o.value),this.selectedChange.emit(o.value))}handleElementKeyDown(e,o){(e.code==="Space"||e.code==="Enter")&&(e.preventDefault(),this.handleElementClick(e,o))}};n=new WeakMap,i.\u0275fac=function(o){return new(o||i)(A(S))},i.\u0275cmp=R({type:i,selectors:[["c-time-picker-roll-col"]],viewQuery:function(o,s){if(o&1&&Y(Ye,5),o&2){let l;F(l=O())&&(s.timeElements=l)}},hostVars:2,hostBindings:function(o,s){o&2&&ee(s.hostClasses)},inputs:{disabled:[2,"disabled","disabled",C],elements:"elements",onClick:"onClick",selected:"selected",refresh:[2,"refresh","refresh",C]},outputs:{selectedChange:"selectedChange"},exportAs:["cTimePickerRollCol"],standalone:!0,features:[L,H,$],decls:2,vars:0,consts:[["role","button",3,"cTimeElement","ngClass","tabindex"],["role","button",3,"click","keydown","cTimeElement","ngClass","tabindex"]],template:function(o,s){o&1&&k(0,it,2,8,"div",0,D),o&2&&P(s.elements)},dependencies:[Ye,z],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .disabled[_ngcontent-%COMP%]{pointer-events:none}"]});let t=i;return t})();var nt=(t,n)=>({"time-picker-roll-cell":!0,selected:t,disabled:n});function ot(t,n){if(t&1){let i=y();d(0,"div",1),_("click",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementClick(e,o))})("keydown",function(e){let o=p(i).$implicit,s=c();return f(s.handleElementKeyDown(e,o))}),b(1),u()}if(t&2){let i=n.$implicit,r=c();m("cDayPeriodElement",i)("ngClass",te(5,nt,i.value===r.selected,i.disabled))("tabindex",i.disabled?-1:0),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}var ze=(()=>{let n=class n{constructor(r){this.elementRef=r}};n.\u0275fac=function(e){return new(e||n)(A(S))},n.\u0275dir=X({type:n,selectors:[["","cDayPeriodElement",""]],inputs:{cDayPeriodElement:"cDayPeriodElement"},exportAs:["cDayPeriodElement"],standalone:!0});let t=n;return t})(),Qe=(()=>{let n=class n{constructor(r){this.elementRef=r,this.init=!0,this.disabled=!1,this.elements=[],this.selectedChange=new N}get hostClasses(){return{"time-picker-roll-col":!0,disabled:this.disabled}}ngAfterViewInit(){this.dayPeriodElements?.changes.subscribe(e=>{let o=this.dayPeriodElements?.find(s=>s.cDayPeriodElement?.value===this.selected);this.scrollToElement(o?.elementRef.nativeElement)});let r=this.elementRef.nativeElement.querySelector(".selected");this.scrollToElement(r)}ngOnChanges(r){if(r.refresh&&r.refresh.currentValue||r.selected&&!r.selected.firstChange){let e=this.dayPeriodElements?.find(o=>o.cDayPeriodElement?.value===this.selected);this.init=!e,this.scrollToElement(e?.elementRef.nativeElement)}}scrollToElement(r){setTimeout(()=>{let e=r||this.elementRef.nativeElement.querySelector(".selected");e&&(this.elementRef.nativeElement.scrollTo({top:e?.offsetTop,behavior:this.init?"auto":"smooth"}),this.init=!1)})}handleElementClick(r,e){e.disabled||(this.selected=e.value,this.scrollToElement(r.target),this.onClick&&this.onClick(e.value),this.selectedChange.emit(e.value))}handleElementKeyDown(r,e){(r.code==="Space"||r.code==="Enter")&&(r.preventDefault(),this.handleElementClick(r,e))}};n.\u0275fac=function(e){return new(e||n)(A(S))},n.\u0275cmp=R({type:n,selectors:[["c-time-picker-roll-am-pm"]],viewQuery:function(e,o){if(e&1&&Y(ze,5),e&2){let s;F(s=O())&&(o.dayPeriodElements=s)}},hostVars:2,hostBindings:function(e,o){e&2&&ee(o.hostClasses)},inputs:{disabled:[2,"disabled","disabled",C],elements:"elements",onClick:"onClick",selected:"selected",refresh:[2,"refresh","refresh",C]},outputs:{selectedChange:"selectedChange"},standalone:!0,features:[L,H,$],decls:2,vars:0,consts:[["role","button",3,"cDayPeriodElement","ngClass","tabindex"],["role","button",3,"click","keydown","cDayPeriodElement","ngClass","tabindex"]],template:function(e,o){e&1&&k(0,ot,2,8,"div",0,D),e&2&&P(o.elements)},dependencies:[ze,z],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .disabled[_ngcontent-%COMP%]{pointer-events:none}"]});let t=n;return t})();var rt=t=>({$implicit:t});function st(t,n){if(t&1&&(d(0,"option",8),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}function lt(t,n){if(t&1&&(d(0,"option",8),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}function at(t,n){if(t&1&&(d(0,"option",8),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),g("disabled",i.disabled||null),a(),v(" ",i.label," ")}}function ct(t,n){if(t&1){let i=y();b(0),d(1,"select",12),_("blur",function(){p(i);let e=c(2);return f(e.onBlur())}),k(2,at,2,3,"option",8,D),u()}if(t&2){let i,r=c(2);v(" "," :",""),a(),m("sizing",(i=r.size)!==null&&i!==void 0?i:""),g("disabled",r.disabled||null),a(),P(r.listOfSeconds)}}function ut(t,n){if(t&1&&(d(0,"option",14),b(1),u()),t&2){let i=n.$implicit;m("ngValue",i.value),a(),v(" ",i.label," ")}}function mt(t,n){if(t&1){let i=y();d(0,"select",13),_("blur",function(){p(i);let e=c(2);return f(e.onBlur())}),k(1,ut,2,2,"option",14,D),u()}if(t&2){let i,r=c(2);m("sizing",(i=r.size)!==null&&i!==void 0?i:""),g("disabled",r.disabled||null),a(),P(r.dayPeriods)}}function dt(t,n){if(t&1){let i=y();d(0,"div",2)(1,"div",4)(2,"div",5),ne(3,"span",6),d(4,"select",7),_("blur",function(){p(i);let e=c();return f(e.onBlur())}),k(5,st,2,3,"option",8,D),u(),b(7),d(8,"select",9),_("blur",function(){p(i);let e=c();return f(e.onBlur())}),k(9,lt,2,3,"option",8,D),u(),M(11,ct,4,3,"select",10)(12,mt,3,2,"select",11),u()()()}if(t&2){let i,r,e=c();a(2),m("formGroup",e.selectTime)("ngClass",e.timePickerClasses),a(2),m("sizing",(i=e.size)!==null&&i!==void 0?i:""),g("disabled",e.disabled||null),a(),P(e.listOfHours12),a(2),v(" "," :",""),a(),m("sizing",(r=e.size)!==null&&r!==void 0?r:""),g("disabled",e.disabled||null),a(),P(e.listOfMinutes),a(2),x(e.seconds?11:-1),a(),x(e.hour12?12:-1)}}function ht(t,n){t&1&&ne(0,"div",17)}function pt(t,n){if(t&1){let i=y();d(0,"div",24),_("click",function(e){p(i);let o=c(2);return f(!o.disabled&&o.handleClear(e))}),u()}}function ft(t,n){if(t&1){let i=y();d(0,"c-time-picker-roll-col",21),_("selectedChange",function(e){p(i);let o=c(2);return f(o.handleSelectTimeChange(e,"second"))}),u()}if(t&2){c();let i=B(7),r=c();m("disabled",r.disabled)("elements",r.listOfSeconds)("refresh",i.visible)("selected",r.second)}}function _t(t,n){if(t&1){let i=y();d(0,"c-time-picker-roll-am-pm",21),_("selectedChange",function(e){p(i);let o=c(2);return f(o.handleSelectDayPeriodChange(e))}),u()}if(t&2){c();let i=B(7),r=c();m("disabled",r.disabled)("elements",r.dayPeriods)("refresh",i.visible)("selected",r.dayPeriod)}}function gt(t,n){t&1&&me(0)}function Ct(t,n){if(t&1&&(d(0,"div",23),M(1,gt,1,0,"ng-container",25),u()),t&2){c();let i=B(1),r=c();a(),m("ngTemplateOutlet",r.templates==null?null:r.templates.timePickerFooter)("ngTemplateOutletContext",pe(2,rt,i))}}function Tt(t,n){if(t&1){let i=y();d(0,"c-dropdown",3,0)(2,"div",15)(3,"input",16),_("blur",function(e){p(i);let o=c();return f(o.handleBlur(e))})("change",function(e){p(i);let o=c();return f(o.handleTimeInputChange(e))})("focus",function(e){p(i);let o=c();return f(o.handleFocus(e))}),u(),M(4,ht,1,0,"div",17)(5,pt,1,0,"div",18),u(),d(6,"div",19,1)(8,"div",20)(9,"c-time-picker-roll-col",21),_("selectedChange",function(e){p(i);let o=c();return f(o.handleSelectTimeChange(e,"hour"))}),u(),d(10,"c-time-picker-roll-col",21),_("selectedChange",function(e){p(i);let o=c();return f(o.handleSelectTimeChange(e,"minute"))}),u(),M(11,ft,1,4,"c-time-picker-roll-col",22)(12,_t,1,4,"c-time-picker-roll-am-pm",22),u(),M(13,Ct,2,4,"div",23),u()()}if(t&2){let i,r,e=B(1),o=B(7),s=c();m("autoClose","outside")("ngClass",s.timePickerClasses)("visible",s.visible),a(2),m("caret",!1),a(),m("formControl",s.timeInput)("placeholder",s.placeholder)("readonly",(i=s.inputReadOnly)!==null&&i!==void 0?i:null),g("disabled",((r=s.disabled)!==null&&r!==void 0?r:e.visible)?"":null)("pattern",s.hour12?"(((0[1-9])|(1[0-2])):([0-5])([0-9])\\s(A|P)M)":"([01]?[0-9]|2[0-3]):[0-5][0-9]")("tabindex",s.disabled?-1:0),a(),x(s.indicator?4:-1),a(),x(s.cleaner&&s.time&&!s.disabled?5:-1),a(4),m("disabled",s.disabled)("elements",s.listOfHours12)("refresh",o.visible)("selected",s.hour),a(),m("disabled",s.disabled)("elements",s.listOfMinutes)("refresh",o.visible)("selected",s.minute),a(),x(s.seconds?11:-1),a(),x(s.hour12?12:-1),a(),x(s.templates!=null&&s.templates.timePickerFooter?13:-1)}}var yt=(()=>{var n;let i=class i{constructor(){J(this,n);I(this,n,ce(ue)),this.cleaner=!0,this.dateTimeFormatOptions={},this.disabled=!1,this.indicator=!0,this.inputReadOnly=!1,this.locale="default",this.placeholder="Select time",this.seconds=!1,this.variant="roll",this.visible=!1,this.timeChange=new N(!1),this.templates={},this.hour12=K(this.locale),this.dayPeriods=[{value:"am",label:"am"},{value:"pm",label:"pm"}],this._timeInputValue=this.time?.toLocaleTimeString(this.locale,{timeStyle:this.seconds?"medium":"short"})??"",this.selectTime=new be({selectHours:new Q({value:this.hour,disabled:this.disabled},{validators:[w.min(0),w.max(this.hour12?11:23)]}),selectMinutes:new Q({value:this.minute,disabled:this.disabled},{validators:[w.min(0),w.max(59)]}),selectSeconds:new Q({value:this.second,disabled:this.disabled},{validators:[w.min(0),w.max(59)]}),selectDayPeriod:new Q({value:this.dayPeriod,disabled:this.disabled},w.required)},{validators:[w.required]}),this.timeInput=new Q({value:this.timeInputValue,disabled:this.disabled},{validators:[w.required]}),this._hour=-1,this._minute=-1,this._second=-1,this._dayPeriod="am",this.onChange=e=>{},this.onTouched=()=>{}}set time(e){if(e&&W(e)){let o=re(e);if(!o){this.clearTime();return}this.dayPeriod=se(o,this.locale),this._time?.getTime()!==o.getTime()&&(this._time=new Date(o.getTime()))}else this.clearTime()}get time(){return this._time}onBlur(){this.onTouched()}getListOfHours12(){let e=this.hour12?this.listOfHours?.filter(o=>o.dayPeriod&&o.dayPeriod===this.dayPeriod||!o.dayPeriod):this.listOfHours;return this.hour12&&e.push(e.shift()),e}set timeInputValue(e){this.timeInput.setValue(e),this._timeInputValue=e}get timeInputValue(){return this._timeInputValue}get timePickerClasses(){return{"time-picker":!0,[`time-picker-${this.size}`]:!!this.size,"form-control":this.variant==="select"&&this.valid!==void 0,"is-valid":this.valid===!0,"is-invalid":this.valid===!1,disabled:this.disabled}}set hour(e){if(this._hour!==e){if(e<0){this.clearTime();return}this._hour=e}}get hour(){return this._hour}set minute(e){if(this._minute!==e){if(e<0){this.clearTime();return}this._minute=e}}get minute(){return this._minute}set second(e){if(this._second!==e){if(e<0){this.clearTime();return}this._second=e}}get second(){return this._second}set dayPeriod(e){this._dayPeriod!==e&&(this._dayPeriod=e,this.listOfHours&&(this.listOfHours12=this.getListOfHours12()),this.patchSelectTimeValues())}get dayPeriod(){return this._dayPeriod}setTime(){this._hour=this._hour<0?0:this._hour,this._minute=this._minute<0?0:this._minute,this._second=this._second<0?0:this._second;let e=new Date(this._time?.getTime()||new Date);e.setHours(this.hour,this.minute,this.second,0),this.time=e,this.emitTime(e)}clearTime(){this.time&&(this._time=void 0,this.emitTime(void 0)),this._hour=-1,this._minute=-1,this._second=-1,this.dayPeriod="am",this.patchSelectTimeValues(),this.timeInputValue=""}emitTime(e){let o=e&&W(e)?new Date(e.getTime()):void 0;this._timeInternal?.getTime()!==o?.getTime()&&(this.timeChange.emit(o),this.onChange(o),this.onTouched(),this._timeInternal=o),this.timeInputValue=this.time?.toLocaleTimeString(this.locale,{timeStyle:this.seconds?"medium":"short"})??""}ngOnInit(){this.setTimeLists(),this.updateSelectTime(),this.setChangeHandlers()}ngOnChanges(e){e.time&&(e.time.firstChange||this._timeInternal?.getTime()!==e.time.currentValue?.getTime()&&this.updateSelectTime())}ngAfterViewInit(){setTimeout(()=>{this.contentTemplates.forEach(e=>{this.templates[e.id]=e.templateRef})})}setTimeLists(){if(this.dayPeriods=le(this.locale,this.dateTimeFormatOptions),this.hour12=K(this.locale),this.listOfHours=this.listOfTimeSegments(Ne,this.filterHours),this.listOfMinutes=this.listOfTimeSegments(Ae,this.filterMinutes),this.listOfSeconds=this.listOfTimeSegments(Le,this.filterSeconds),this.variant==="select"){let e={value:-1,label:" --",disabled:!0};this.listOfHours.unshift(Z({},e)),this.listOfMinutes.unshift(Z({},e)),this.listOfSeconds.unshift(Z({},e))}this.listOfHours12=this.getListOfHours12()}updateSelectTime(e=this.time){if(e&&W(e)){let o=e.getHours()??0,s=e.getMinutes()??0,l=this.seconds?e.getSeconds()??0:0,h=this.closestTime(this.listOfSeconds,l),T=this.closestTime(this.listOfMinutes,s),E=this.closestTime(this.listOfHours,o);this.second=this.seconds?h.value:0,this.minute=T.value,this.hour=E.value,this.setTime(),this.patchSelectTimeValues()}}closestTime(e,o){let s=e??[{value:0,label:"00"}];return this.time&&(s=e.filter(l=>l.value>=0),s=s.length?s:e),s.reduce((l,h)=>Math.abs(h.value-o)typeof o=="function"?o(l.value):!0);return s.length?s:e(this.locale,this.dateTimeFormatOptions).slice(0,1)}handleSelectDayPeriodChange(e){if(e!==this.dayPeriod){let o=this.time?.getHours()??(this.hour<0?0:this.hour),s=o>12?He(o):Re(e,o);this.hour=this.closestTime(this.listOfHours,s).value,s>=0&&this.setTime(),this.updateSelectTime()}}handleSelectTimeChange(e,o){this[o]=e,e>=0&&this.setTime(),this.updateSelectTime()}patchSelectTimeValues(){let e=this.selectTime.get("selectDayPeriod")?.value;this.dayPeriod!==e&&this.selectTime.patchValue({selectDayPeriod:this.dayPeriod??"am"});let o=this.selectTime.get("selectHours")?.value,s=this.selectTime.get("selectMinutes")?.value,l=this.selectTime.get("selectSeconds")?.value,h=this.second<0&&this.minute<0||this.hour>=0&&this.minute>=0&&this.second>=0,T=this.hour!==o||this.minute!==s||this.second!==l;h&&T&&(this.hour!==o&&this.selectTime.patchValue({selectHours:this.hour??0}),this.minute!==s&&this.selectTime.patchValue({selectMinutes:this.minute??0}),this.second!==l&&this.selectTime.patchValue({selectSeconds:this.second??0}))}trackByHour(e,o){return o}writeValue(e){this.time=e,this.updateSelectTime()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}handleTimeInputChange(e){let o=e.target?.value;if(!o||!W(o)){this.clearTime();return}let s=re(o);this.updateSelectTime(s??new Date(Date.now()))}handleClear(e){this.clearTime()}handleBlur(e){this.disabled||(this.dropdownRef?.nativeElement?.classList.remove("show"),setTimeout(()=>{this.onBlur()},100))}handleFocus(e){this.disabled||this.dropdownRef?.nativeElement?.classList.add("show")}setChangeHandlers(){this.variant==="select"&&(this.selectTime.get("selectHours")?.valueChanges.pipe(q(e=>{this.handleSelectTimeChange(e,"hour")}),U(V(this,n))).subscribe(),this.selectTime.get("selectMinutes")?.valueChanges.pipe(q(e=>{this.handleSelectTimeChange(e,"minute")}),U(V(this,n))).subscribe(),this.selectTime.get("selectSeconds")?.valueChanges.pipe(ie(()=>this.seconds),q(e=>{this.handleSelectTimeChange(e,"second")}),U(V(this,n))).subscribe(),this.selectTime.get("selectDayPeriod")?.valueChanges.pipe(ie(()=>this.hour12),q(e=>{this.handleSelectDayPeriodChange(e)}),U(V(this,n))).subscribe())}};n=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=R({type:i,selectors:[["c-time-picker"]],contentQueries:function(o,s,l){if(o&1&&de(l,_e,5),o&2){let h;F(h=O())&&(s.contentTemplates=h)}},viewQuery:function(o,s){if(o&1&&Y(oe,5,S),o&2){let l;F(l=O())&&(s.dropdownRef=l.first)}},hostBindings:function(o,s){o&1&&_("blur",function(){return s.onBlur()})},inputs:{cleaner:[2,"cleaner","cleaner",C],dateTimeFormatOptions:"dateTimeFormatOptions",disabled:[2,"disabled","disabled",C],filterHours:"filterHours",filterMinutes:"filterMinutes",filterSeconds:"filterSeconds",indicator:[2,"indicator","indicator",C],inputReadOnly:[2,"inputReadOnly","inputReadOnly",C],locale:"locale",placeholder:"placeholder",seconds:[2,"seconds","seconds",C],size:"size",time:"time",variant:"variant",valid:"valid",visible:[2,"visible","visible",C]},outputs:{timeChange:"timeChange"},exportAs:["cTimePicker"],standalone:!0,features:[he([{provide:ge,useExisting:ae(()=>i),multi:!0}]),L,H,$],decls:2,vars:2,consts:[["dropdown","cDropdown"],["dropdownMenu","cDropdownMenu"],[1,"date-picker-timepickers"],[3,"autoClose","ngClass","visible"],[1,"picker","time-picker"],[1,"time-picker-body",3,"formGroup","ngClass"],[1,"time-picker-inline-icon"],["cSelect","","formControlName","selectHours",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],[3,"ngValue"],["cSelect","","formControlName","selectMinutes",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],["cSelect","","formControlName","selectSeconds",1,"time-picker-inline-select","ms-0",3,"sizing"],["cSelect","","formControlName","selectDayPeriod",1,"time-picker-inline-select","ms-0",3,"sizing"],["cSelect","","formControlName","selectSeconds",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],["cSelect","","formControlName","selectDayPeriod",1,"time-picker-inline-select","ms-0",3,"blur","sizing"],[1,"time-picker-roll-cell",3,"ngValue"],["cDropdownToggle","",1,"time-picker-input-group",3,"caret"],[1,"time-picker-input",3,"blur","change","focus","formControl","placeholder","readonly"],[1,"time-picker-indicator"],["role","button",1,"time-picker-cleaner"],["cDropdownMenu","",1,"time-picker-dropdown","py-0"],[1,"time-picker-body","time-picker-roll",2,"position","relative"],["role","listbox",3,"selectedChange","disabled","elements","refresh","selected"],["role","listbox",3,"disabled","elements","refresh","selected"],[1,"time-picker-footer"],["role","button",1,"time-picker-cleaner",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(o,s){o&1&&M(0,dt,13,9,"div",2)(1,Tt,14,23,"c-dropdown",3),o&2&&(x(s.variant==="select"?0:-1),a(),x(s.variant==="roll"?1:-1))},dependencies:[z,fe,Se,ke,Pe,Ce,De,Te,ye,ve,xe,we,oe,Ve,Ee,Me,$e,Qe],styles:[".disabled[_ngcontent-%COMP%]{pointer-events:none}"]});let t=i;return t})();export{bt as a,vt as b,xt as c,wt as d,Dt as e,kt as f,Pt as g,St as h,Je as i,Xe as j,Et as k,Vt as l,Mt as m,Ft as n,Ot as o,It as p,Rt as q,Ht as r,Nt as s,At as t,Lt as u,j as v,et as w,Yt as x,yt as y}; diff --git a/angular/docs/chunk-EK3ZRZHR.js b/angular/docs/chunk-SADLC64C.js similarity index 96% rename from angular/docs/chunk-EK3ZRZHR.js rename to angular/docs/chunk-SADLC64C.js index 7d21f5ead7f..97fed0f8461 100644 --- a/angular/docs/chunk-EK3ZRZHR.js +++ b/angular/docs/chunk-SADLC64C.js @@ -1 +1 @@ -import{m as B}from"./chunk-FIXU3TFH.js";import{$b as x,Jb as g,La as h,Oc as a,Pb as c,Qb as C,Sb as s,Ub as v,Wb as H,ac as y,mb as f,na as r,oc as D,pa as u,pc as l,qc as d,rb as m}from"./chunk-O6V6MKDU.js";var T=["*","*"];function M(n,e){if(n&1&&(x(0,"div",0),d(1),y()),n&2){let b=D();C("ngClass",b.headerClasses)}}function j(n,e){n&1&&d(0,1)}var F=(()=>{let e=class e{constructor(){this.role="banner"}get getClasses(){return this.container?this.containerClasses:this.headerClasses}get headerClasses(){return{header:!0,[`header-${this.position}`]:!!this.position}}get containerClasses(){return{container:this.container===!0,[`container-${this.container}`]:typeof this.container=="string"}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header"],["","c-header",""]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),v(o.getClasses))},inputs:{container:"container",position:"position",role:"role"},standalone:!0,features:[a],ngContentSelectors:T,decls:2,vars:1,consts:[[3,"ngClass"]],template:function(t,o){t&1&&(l(T),g(0,M,2,1,"div",0)(1,j,1,0)),t&2&&H(o.container?0:1)},dependencies:[B],encapsulation:2});let n=e;return n})();var S=["*"],I=(()=>{let e=class e{constructor(){this.role="button",this.headerBrandClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-brand"]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),s("header-brand",o.headerBrandClass))},inputs:{role:"role"},standalone:!0,features:[a],ngContentSelectors:S,decls:1,vars:0,template:function(t,o){t&1&&(l(),d(0))},encapsulation:2});let n=e;return n})();var E=(()=>{let e=class e{constructor(){this.headerDividerClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-divider"],["","cHeaderDivider",""]],hostVars:2,hostBindings:function(t,o){t&2&&s("header-divider",o.headerDividerClass)},standalone:!0,features:[a],decls:0,vars:0,template:function(t,o){},encapsulation:2});let n=e;return n})();var w=["*"],N=(()=>{let e=class e{constructor(){this.role="navigation",this.headerNavClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-nav"]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),s("header-nav",o.headerNavClass))},inputs:{role:"role"},standalone:!0,features:[a],ngContentSelectors:w,decls:1,vars:0,template:function(t,o){t&1&&(l(),d(0))}});let n=e;return n})();var V=["*"],P=(()=>{let e=class e{constructor(){this.headerTextClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-text"],["","cHeaderText",""]],hostVars:2,hostBindings:function(t,o){t&2&&s("header-text",o.headerTextClass)},standalone:!0,features:[a],ngContentSelectors:V,decls:1,vars:0,template:function(t,o){t&1&&(l(),d(0))},encapsulation:2});let n=e;return n})();var L=(()=>{let e=class e{constructor(i,t){this.renderer=i,this.hostElement=t,this.headerToggler=!0,this.type="button",this.ariaLabel="Toggle navigation"}addDefaultIcon(){let i=this.renderer.createElement("span");this.renderer.addClass(i,"header-toggler-icon"),this.renderer.appendChild(this.hostElement.nativeElement,i)}ngAfterContentInit(){this.hasContent=this.hostElement.nativeElement.childNodes.length>0,this.hasContent||this.addDefaultIcon()}};e.\u0275fac=function(t){return new(t||e)(f(m),f(h))},e.\u0275dir=u({type:e,selectors:[["","cHeaderToggler",""]],hostVars:4,hostBindings:function(t,o){t&2&&(c("type",o.type)("aria-label",o.ariaLabel),s("header-toggler",o.headerToggler))},inputs:{type:"type",ariaLabel:"ariaLabel"},standalone:!0});let n=e;return n})();export{F as a,I as b,E as c,N as d,P as e,L as f}; +import{m as B}from"./chunk-XHR4TYVD.js";import{$b as x,Jb as g,La as h,Oc as a,Pb as c,Qb as C,Sb as s,Ub as v,Wb as H,ac as y,mb as f,na as r,oc as D,pa as u,pc as l,qc as d,rb as m}from"./chunk-6U7QZ4SV.js";var T=["*","*"];function M(n,e){if(n&1&&(x(0,"div",0),d(1),y()),n&2){let b=D();C("ngClass",b.headerClasses)}}function j(n,e){n&1&&d(0,1)}var F=(()=>{let e=class e{constructor(){this.role="banner"}get getClasses(){return this.container?this.containerClasses:this.headerClasses}get headerClasses(){return{header:!0,[`header-${this.position}`]:!!this.position}}get containerClasses(){return{container:this.container===!0,[`container-${this.container}`]:typeof this.container=="string"}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header"],["","c-header",""]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),v(o.getClasses))},inputs:{container:"container",position:"position",role:"role"},standalone:!0,features:[a],ngContentSelectors:T,decls:2,vars:1,consts:[[3,"ngClass"]],template:function(t,o){t&1&&(l(T),g(0,M,2,1,"div",0)(1,j,1,0)),t&2&&H(o.container?0:1)},dependencies:[B],encapsulation:2});let n=e;return n})();var S=["*"],I=(()=>{let e=class e{constructor(){this.role="button",this.headerBrandClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-brand"]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),s("header-brand",o.headerBrandClass))},inputs:{role:"role"},standalone:!0,features:[a],ngContentSelectors:S,decls:1,vars:0,template:function(t,o){t&1&&(l(),d(0))},encapsulation:2});let n=e;return n})();var E=(()=>{let e=class e{constructor(){this.headerDividerClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-divider"],["","cHeaderDivider",""]],hostVars:2,hostBindings:function(t,o){t&2&&s("header-divider",o.headerDividerClass)},standalone:!0,features:[a],decls:0,vars:0,template:function(t,o){},encapsulation:2});let n=e;return n})();var w=["*"],N=(()=>{let e=class e{constructor(){this.role="navigation",this.headerNavClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-nav"]],hostVars:3,hostBindings:function(t,o){t&2&&(c("role",o.role),s("header-nav",o.headerNavClass))},inputs:{role:"role"},standalone:!0,features:[a],ngContentSelectors:w,decls:1,vars:0,template:function(t,o){t&1&&(l(),d(0))}});let n=e;return n})();var V=["*"],P=(()=>{let e=class e{constructor(){this.headerTextClass=!0}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r({type:e,selectors:[["c-header-text"],["","cHeaderText",""]],hostVars:2,hostBindings:function(t,o){t&2&&s("header-text",o.headerTextClass)},standalone:!0,features:[a],ngContentSelectors:V,decls:1,vars:0,template:function(t,o){t&1&&(l(),d(0))},encapsulation:2});let n=e;return n})();var L=(()=>{let e=class e{constructor(i,t){this.renderer=i,this.hostElement=t,this.headerToggler=!0,this.type="button",this.ariaLabel="Toggle navigation"}addDefaultIcon(){let i=this.renderer.createElement("span");this.renderer.addClass(i,"header-toggler-icon"),this.renderer.appendChild(this.hostElement.nativeElement,i)}ngAfterContentInit(){this.hasContent=this.hostElement.nativeElement.childNodes.length>0,this.hasContent||this.addDefaultIcon()}};e.\u0275fac=function(t){return new(t||e)(f(m),f(h))},e.\u0275dir=u({type:e,selectors:[["","cHeaderToggler",""]],hostVars:4,hostBindings:function(t,o){t&2&&(c("type",o.type)("aria-label",o.ariaLabel),s("header-toggler",o.headerToggler))},inputs:{type:"type",ariaLabel:"ariaLabel"},standalone:!0});let n=e;return n})();export{F as a,I as b,E as c,N as d,P as e,L as f}; diff --git a/angular/docs/chunk-EYLLMN6C.js b/angular/docs/chunk-SKBKKNHC.js similarity index 97% rename from angular/docs/chunk-EYLLMN6C.js rename to angular/docs/chunk-SKBKKNHC.js index 4167bf50669..7590614a737 100644 --- a/angular/docs/chunk-EYLLMN6C.js +++ b/angular/docs/chunk-SKBKKNHC.js @@ -1,4 +1,4 @@ -import{a as f,b as v,c as u,e as g}from"./chunk-EBCID5MY.js";import{g as P}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as S}from"./chunk-SWYVARVN.js";import{r as _}from"./chunk-JJFVMVK7.js";import{c as O,d as b}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as o,Cc as w,Dc as y,Oc as m,Pc as d,Qb as a,ac as t,bc as p,lb as c,mb as x,na as s}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var E=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns13"]],standalone:!0,features:[m],decls:11,vars:0,consts:[[1,"clearfix"],["cCol","","md","6","src","assets/img/angular.jpg","alt","CoreUI for Angular",1,"float-md-end","mb-3","ms-md-3"]],template:function(i,h){i&1&&(e(0,"div",0),p(1,"img",1),e(2,"p"),o(3," Notice the use of "),e(4,"code"),o(5,'cCol md="6"'),t(),o(6," directive. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image. "),t(),e(7,"p"),o(8," As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read. "),t(),e(9,"p"),o(10," And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here. "),t()())},dependencies:[v]});let r=n;return r})();var F=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns12"]],standalone:!0,features:[m],decls:4,vars:0,consts:[["xs","3",1,"bg-light","p-3","border"],["sm","9",1,"bg-light","p-3","border"]],template:function(i,h){i&1&&(e(0,"c-col",0),o(1,` .col-3: width of 25% +import{a as f,b as v,c as u,e as g}from"./chunk-PZ32EFID.js";import{g as P}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as S}from"./chunk-MH6VOBXJ.js";import{r as _}from"./chunk-Q5WIR6QR.js";import{c as O,d as b}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as o,Cc as w,Dc as y,Oc as m,Pc as d,Qb as a,ac as t,bc as p,lb as c,mb as x,na as s}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var E=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns13"]],standalone:!0,features:[m],decls:11,vars:0,consts:[[1,"clearfix"],["cCol","","md","6","src","assets/img/angular.jpg","alt","CoreUI for Angular",1,"float-md-end","mb-3","ms-md-3"]],template:function(i,h){i&1&&(e(0,"div",0),p(1,"img",1),e(2,"p"),o(3," Notice the use of "),e(4,"code"),o(5,'cCol md="6"'),t(),o(6," directive. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image. "),t(),e(7,"p"),o(8," As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read. "),t(),e(9,"p"),o(10," And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here. "),t()())},dependencies:[v]});let r=n;return r})();var F=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns12"]],standalone:!0,features:[m],decls:4,vars:0,consts:[["xs","3",1,"bg-light","p-3","border"],["sm","9",1,"bg-light","p-3","border"]],template:function(i,h){i&1&&(e(0,"c-col",0),o(1,` .col-3: width of 25% `),t(),e(2,"c-col",1),o(3,` .col-sm-9: width of 75% above sm breakpoint `),t())},dependencies:[u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var k=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns11"]],standalone:!0,features:[m],decls:16,vars:0,consts:[["md","4"],["md","4",1,"ms-auto"],["md","3",1,"ms-md-auto"],["xs","auto",1,"me-auto"],["xs","auto"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3,".col-md-4"),t(),e(4,"c-col",1),o(5,".col-md-4 .ms-auto"),t()(),e(6,"c-row")(7,"c-col",2),o(8,".col-md-3 .ms-md-auto"),t(),e(9,"c-col",2),o(10,".col-md-3 .ms-md-auto"),t()(),e(11,"c-row")(12,"c-col",3),o(13,".col-auto .me-auto"),t(),e(14,"c-col",4),o(15,".col-auto"),t()()())},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] c-col[_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var N=()=>({sm:2,md:0}),Y=()=>({md:2,lg:0}),D=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns10"]],standalone:!0,features:[m],decls:11,vars:4,consts:[["sm","5","md","6"],["sm","5","md","6",3,"offset"],["sm","6","md","5","lg","6"],["sm","6","md","5","lg","6",3,"offset"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3," .col-sm-5 .col-md-6 "),t(),e(4,"c-col",1),o(5," .col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0 "),t()(),e(6,"c-row")(7,"c-col",2),o(8," .col-sm-6 .col-md-5 .col-lg-6 "),t(),e(9,"c-col",3),o(10," .col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0 "),t()()()),i&2&&(c(4),a("offset",d(2,N)),c(5),a("offset",d(3,Y)))},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var H=()=>({md:4}),M=()=>({md:3}),T=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns09"]],standalone:!0,features:[m],decls:14,vars:8,consts:[["md","4"],["md","4",3,"offset"],["md","3",3,"offset"],["md","6",3,"offset"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3,".col-md-4"),t(),e(4,"c-col",1),o(5,".col-md-4 .offset-md-4"),t()(),e(6,"c-row")(7,"c-col",2),o(8,".col-md-3 .offset-md-3"),t(),e(9,"c-col",2),o(10,".col-md-3 .offset-md-3"),t()(),e(11,"c-row")(12,"c-col",3),o(13,".col-md-6 .offset-md-3"),t()()()),i&2&&(c(4),a("offset",d(4,H)),c(3),a("offset",d(5,M)),c(2),a("offset",d(6,M)),c(3),a("offset",d(7,M)))},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var L=()=>({xs:"first"}),I=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns08"]],standalone:!0,features:[m],decls:8,vars:2,consts:[["order","last"],[3,"order"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3," First in DOM, ordered last "),t(),e(4,"c-col"),o(5," Second in DOM, unordered "),t(),e(6,"c-col",1),o(7," Third in DOM, ordered first "),t()()()),i&2&&(c(6),a("order",d(1,L)))},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var B=()=>({xs:1}),R=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns07"]],standalone:!0,features:[m],decls:8,vars:3,consts:[[3,"order"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col"),o(3," First in DOM, no order applied "),t(),e(4,"c-col",0),o(5," Second in DOM, with a larger order "),t(),e(6,"c-col",0),o(7," Third in DOM, with an order of 1 "),t()()()),i&2&&(c(4),a("order",5),c(2),a("order",d(2,B)))},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var j=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns06"]],standalone:!0,features:[m],decls:11,vars:0,consts:[["xs","6","sm","4"],[1,"w-100","d-none","d-md-block"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3," .col-6 .col-sm-4 "),t(),e(4,"c-col",0),o(5," .col-6 .col-sm-4 "),t(),p(6,"div",1),e(7,"c-col",0),o(8," .col-6 .col-sm-4 "),t(),e(9,"c-col",0),o(10," .col-6 .col-sm-4 "),t()()())},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var A=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns05"]],standalone:!0,features:[m],decls:11,vars:0,consts:[["xs","6","sm","3"],[1,"w-100"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3,".col-6 .col-sm-3"),t(),e(4,"c-col",0),o(5,".col-6 .col-sm-3"),t(),p(6,"div",1),e(7,"c-col",0),o(8,".col-6 .col-sm-3"),t(),e(9,"c-col",0),o(10,".col-6 .col-sm-3"),t()()())},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var U=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns04"]],standalone:!0,features:[m],decls:12,vars:0,consts:[["xs","9"],["xs","4"],["xs","6"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3,".col-9"),t(),e(4,"c-col",1),o(5," .col-4 "),p(6,"br"),o(7," Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit. "),t(),e(8,"c-col",2),o(9," .col-6 "),p(10,"br"),o(11," Subsequent columns continue along the new line. "),t()()())},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var q=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns03"]],standalone:!0,features:[m],decls:31,vars:0,consts:[[1,"justify-content-start"],["xs","4"],[1,"justify-content-center"],[1,"justify-content-end"],[1,"justify-content-around"],[1,"justify-content-between"],[1,"justify-content-evenly"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col",1),o(3," One of two columns "),t(),e(4,"c-col",1),o(5," One of two columns "),t()(),e(6,"c-row",2)(7,"c-col",1),o(8," One of two columns "),t(),e(9,"c-col",1),o(10," One of two columns "),t()(),e(11,"c-row",3)(12,"c-col",1),o(13," One of two columns "),t(),e(14,"c-col",1),o(15," One of two columns "),t()(),e(16,"c-row",4)(17,"c-col",1),o(18," One of two columns "),t(),e(19,"c-col",1),o(20," One of two columns "),t()(),e(21,"c-row",5)(22,"c-col",1),o(23," One of two columns "),t(),e(24,"c-col",1),o(25," One of two columns "),t()(),e(26,"c-row",6)(27,"c-col",1),o(28," One of two columns "),t(),e(29,"c-col",1),o(30," One of two columns "),t()()())},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var z=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns02"]],standalone:!0,features:[m],decls:8,vars:0,consts:[[1,"align-self-start"],[1,"align-self-center"],[1,"align-self-end"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row")(2,"c-col",0),o(3,"One of three columns"),t(),e(4,"c-col",1),o(5,"One of three columns"),t(),e(6,"c-col",2),o(7,"One of three columns"),t()()())},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%]{background-color:#ff00001a;min-height:10rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var W=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=s({type:n,selectors:[["docs-columns01"]],standalone:!0,features:[m],decls:22,vars:0,consts:[[1,"align-items-start"],[1,"align-items-center"],[1,"align-items-end"]],template:function(i,h){i&1&&(e(0,"c-container")(1,"c-row",0)(2,"c-col"),o(3,"One of three columns"),t(),e(4,"c-col"),o(5,"One of three columns"),t(),e(6,"c-col"),o(7,"One of three columns"),t()(),e(8,"c-row",1)(9,"c-col"),o(10,"One of three columns"),t(),e(11,"c-col"),o(12,"One of three columns"),t(),e(13,"c-col"),o(14,"One of three columns"),t()(),e(15,"c-row",2)(16,"c-col"),o(17,"One of three columns"),t(),e(18,"c-col"),o(19,"One of three columns"),t(),e(20,"c-col"),o(21,"One of three columns"),t()()())},dependencies:[f,g,u],styles:["[_nghost-%COMP%] .row[_ngcontent-%COMP%]{background-color:#ff00001a;min-height:10rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] + .row[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .row[_ngcontent-%COMP%] > .col[_ngcontent-%COMP%], [_nghost-%COMP%] .row[_ngcontent-%COMP%] > [class^=col-][_ngcontent-%COMP%]{background-color:#27292b08;border:1px solid rgba(39,41,43,.1);padding-bottom:.75rem;padding-top:.75rem}"]});let r=n;return r})();var G=`\`\`\`typescript import { GridModule } from '@coreui/angular'; diff --git a/angular/docs/chunk-SPMMWGWV.js b/angular/docs/chunk-SPMMWGWV.js deleted file mode 100644 index 93f5ee85249..00000000000 --- a/angular/docs/chunk-SPMMWGWV.js +++ /dev/null @@ -1 +0,0 @@ -import{d as ir}from"./chunk-FX553NHW.js";import{C as Pe,d as tr,e as er,f as wt,g as nr,h as rr,i as bt}from"./chunk-FIXU3TFH.js";import{$ as I,$c as Zn,A as Y,C as et,E as nt,Ea as Ae,Fa as Nn,G as we,Ga as Me,Gb as _n,H as rt,Hb as qn,I as In,Ib as Ee,L as Ht,La as De,M as W,Ma as Ln,N as be,Na as st,O as An,Oc as Kn,Pb as Vn,R as Mn,U as Dn,V as j,W as Tn,Y as w,a as yn,ad as Yn,b as Rn,bc as Bn,ca as S,cd as Ue,d as ye,da as On,dd as xe,e as Re,ea as En,ed as Xn,f as B,fa as T,g as U,ga as Ie,gd as Kt,ha as _,ia as d,ib as kn,id as Zt,k as H,ka as Un,l as A,la as xn,m as f,mb as $,mc as Hn,n as Rt,na as Pn,nb as zn,nd as Yt,o as Sn,oa as jn,p as wn,pa as Wt,q as y,r as Bt,ra as $n,rb as Te,s as D,sd as Jn,t as St,tb as Qt,tc as Wn,u as bn,ua as it,v as Se,va as k,vc as Gn,wb as Oe,wc as Qn,xa as Gt,xb as Fn}from"./chunk-O6V6MKDU.js";import{a as h,b as M,i as Cn}from"./chunk-MGAX33HK.js";var v="primary",zt=Symbol("RouteTitle"),ke=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i[0]:i}return null}getAll(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function ht(e){return new ke(e)}function Yr(e,t,i){let n=i.path.split("/");if(n.length>e.length||i.pathMatch==="full"&&(t.hasChildren()||n.lengthn[s]===r)}else return e===t}function mr(e){return e.length>0?e[e.length-1]:null}function Z(e){return Sn(e)?e:Yn(e)?A(Promise.resolve(e)):f(e)}var Jr={exact:yr,subset:Rr},Cr={exact:ti,subset:ei,ignored:()=>!0};function sr(e,t,i){return Jr[i.paths](e.root,t.root,i.matrixParams)&&Cr[i.queryParams](e.queryParams,t.queryParams)&&!(i.fragment==="exact"&&e.fragment!==t.fragment)}function ti(e,t){return z(e,t)}function yr(e,t,i){if(!J(e.segments,t.segments)||!te(e.segments,t.segments,i)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!yr(e.children[n],t.children[n],i))return!1;return!0}function ei(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>vr(e[i],t[i]))}function Rr(e,t,i){return Sr(e,t,t.segments,i)}function Sr(e,t,i,n){if(e.segments.length>i.length){let r=e.segments.slice(0,i.length);return!(!J(r,i)||t.hasChildren()||!te(r,i,n))}else if(e.segments.length===i.length){if(!J(e.segments,i)||!te(e.segments,i,n))return!1;for(let r in t.children)if(!e.children[r]||!Rr(e.children[r],t.children[r],n))return!1;return!0}else{let r=i.slice(0,e.segments.length),s=i.slice(e.segments.length);return!J(e.segments,r)||!te(e.segments,r,n)||!e.children[v]?!1:Sr(e.children[v],t,s,n)}}function te(e,t,i){return t.every((n,r)=>Cr[i](e[r].parameters,n.parameters))}var G=class{constructor(t=new m([],{}),i={},n=null){this.root=t,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ht(this.queryParams),this._queryParamMap}toString(){return ii.serialize(this)}},m=class{constructor(t,i){this.segments=t,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ee(this)}},X=class{constructor(t,i){this.path=t,this.parameters=i}get parameterMap(){return this._parameterMap??=ht(this.parameters),this._parameterMap}toString(){return br(this)}};function ni(e,t){return J(e,t)&&e.every((i,n)=>z(i.parameters,t[n].parameters))}function J(e,t){return e.length!==t.length?!1:e.every((i,n)=>i.path===t[n].path)}function ri(e,t){let i=[];return Object.entries(e.children).forEach(([n,r])=>{n===v&&(i=i.concat(t(r,n)))}),Object.entries(e.children).forEach(([n,r])=>{n!==v&&(i=i.concat(t(r,n)))}),i}var vt=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>new dt,providedIn:"root"});let e=t;return e})(),dt=class{parse(t){let i=new _e(t);return new G(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(t){let i=`/${It(t.root,!0)}`,n=ai(t.queryParams),r=typeof t.fragment=="string"?`#${si(t.fragment)}`:"";return`${i}${n}${r}`}},ii=new dt;function ee(e){return e.segments.map(t=>br(t)).join("/")}function It(e,t){if(!e.hasChildren())return ee(e);if(t){let i=e.children[v]?It(e.children[v],!1):"",n=[];return Object.entries(e.children).forEach(([r,s])=>{r!==v&&n.push(`${r}:${It(s,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=ri(e,(n,r)=>r===v?[It(e.children[v],!1)]:[`${r}:${It(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[v]!=null?`${ee(e)}/${i[0]}`:`${ee(e)}/(${i.join("//")})`}}function wr(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xt(e){return wr(e).replace(/%3B/gi,";")}function si(e){return encodeURI(e)}function Fe(e){return wr(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ne(e){return decodeURIComponent(e)}function or(e){return ne(e.replace(/\+/g,"%20"))}function br(e){return`${Fe(e.path)}${oi(e.parameters)}`}function oi(e){return Object.entries(e).map(([t,i])=>`;${Fe(t)}=${Fe(i)}`).join("")}function ai(e){let t=Object.entries(e).map(([i,n])=>Array.isArray(n)?n.map(r=>`${Xt(i)}=${Xt(r)}`).join("&"):`${Xt(i)}=${Xt(n)}`).filter(i=>i);return t.length?`?${t.join("&")}`:""}var ci=/^[^\/()?;#]+/;function je(e){let t=e.match(ci);return t?t[0]:""}var ui=/^[^\/()?;=#]+/;function li(e){let t=e.match(ui);return t?t[0]:""}var hi=/^[^=?&#]+/;function di(e){let t=e.match(hi);return t?t[0]:""}var fi=/^[^&#]+/;function pi(e){let t=e.match(fi);return t?t[0]:""}var _e=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(i).length>0)&&(n[v]=new m(t,i)),n}parseSegment(){let t=je(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(t),new X(ne(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let i=li(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=je(this.remaining);r&&(n=r,this.capture(n))}t[ne(i)]=ne(n)}parseQueryParam(t){let i=di(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let o=pi(this.remaining);o&&(n=o,this.capture(n))}let r=or(i),s=or(n);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(s)}else t[r]=s}parseParens(t){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=je(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new I(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=v);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[v]:new m([],o),this.consumeOptional("//")}return i}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new I(4011,!1)}};function Ir(e){return e.segments.length>0?new m([],{[v]:e}):e}function Ar(e){let t={};for(let[n,r]of Object.entries(e.children)){let s=Ar(r);if(n===v&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))t[o]=a;else(s.segments.length>0||s.hasChildren())&&(t[n]=s)}let i=new m(e.segments,t);return gi(i)}function gi(e){if(e.numberOfChildren===1&&e.children[v]){let t=e.children[v];return new m(e.segments.concat(t.segments),t.children)}return e}function Et(e){return e instanceof G}function vi(e,t,i=null,n=null){let r=Mr(e);return Dr(r,t,i,n)}function Mr(e){let t;function i(s){let o={};for(let u of s.children){let c=i(u);o[u.outlet]=c}let a=new m(s.url,o);return s===e&&(t=a),a}let n=i(e.root),r=Ir(n);return t??r}function Dr(e,t,i,n){let r=e;for(;r.parent;)r=r.parent;if(t.length===0)return $e(r,r,r,i,n);let s=mi(t);if(s.toRoot())return $e(r,r,new m([],{}),i,n);let o=Ci(s,r,e),a=o.processChildren?Dt(o.segmentGroup,o.index,s.commands):Or(o.segmentGroup,o.index,s.commands);return $e(r,o.segmentGroup,a,i,n)}function re(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ut(e){return typeof e=="object"&&e!=null&&e.outlets}function $e(e,t,i,n,r){let s={};n&&Object.entries(n).forEach(([u,c])=>{s[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let o;e===t?o=i:o=Tr(e,t,i);let a=Ir(Ar(o));return new G(a,s,r)}function Tr(e,t,i){let n={};return Object.entries(e.children).forEach(([r,s])=>{s===t?n[r]=i:n[r]=Tr(s,t,i)}),new m(e.segments,n)}var ie=class{constructor(t,i,n){if(this.isAbsolute=t,this.numberOfDoubleDots=i,this.commands=n,t&&n.length>0&&re(n[0]))throw new I(4003,!1);let r=n.find(Ut);if(r&&r!==mr(n))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function mi(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new ie(!0,0,e);let t=0,i=!1,n=e.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?i=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new ie(i,t,n)}var ct=class{constructor(t,i,n){this.segmentGroup=t,this.processChildren=i,this.index=n}};function Ci(e,t,i){if(e.isAbsolute)return new ct(t,!0,0);if(!i)return new ct(t,!1,NaN);if(i.parent===null)return new ct(i,!0,0);let n=re(e.commands[0])?0:1,r=i.segments.length-1+n;return yi(i,r,e.numberOfDoubleDots)}function yi(e,t,i){let n=e,r=t,s=i;for(;s>r;){if(s-=r,n=n.parent,!n)throw new I(4005,!1);r=n.segments.length}return new ct(n,!1,r-s)}function Ri(e){return Ut(e[0])?e[0].outlets:{[v]:e}}function Or(e,t,i){if(e??=new m([],{}),e.segments.length===0&&e.hasChildren())return Dt(e,t,i);let n=Si(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndexs!==v)&&e.children[v]&&e.numberOfChildren===1&&e.children[v].segments.length===0){let s=Dt(e.children[v],t,i);return new m(e.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=Or(e.children[s],t,o))}),Object.entries(e.children).forEach(([s,o])=>{n[s]===void 0&&(r[s]=o)}),new m(e.segments,r)}}function Si(e,t,i){let n=0,r=t,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let o=e.segments[r],a=i[n];if(Ut(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!cr(u,c,o))return s;n+=2}else{if(!cr(u,{},o))return s;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function qe(e,t,i){let n=e.segments.slice(0,t),r=0;for(;r{typeof n=="string"&&(n=[n]),n!==null&&(t[i]=qe(new m([],{}),0,n))}),t}function ar(e){let t={};return Object.entries(e).forEach(([i,n])=>t[i]=`${n}`),t}function cr(e,t,i){return e==i.path&&z(t,i.parameters)}var Tt="imperative",R=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(R||{}),x=class{constructor(t,i){this.id=t,this.url=i}},ft=class extends x{constructor(t,i,n="imperative",r=null){super(t,i),this.type=R.NavigationStart,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},L=class extends x{constructor(t,i,n){super(t,i),this.urlAfterRedirects=n,this.type=R.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},E=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(E||{}),se=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(se||{}),q=class extends x{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=R.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Q=class extends x{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=R.NavigationSkipped}},xt=class extends x{constructor(t,i,n,r){super(t,i),this.error=n,this.target=r,this.type=R.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},oe=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ve=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Be=class extends x{constructor(t,i,n,r,s){super(t,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s,this.type=R.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},He=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},We=class extends x{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=R.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ge=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qe=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ke=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ze=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ye=class{constructor(t){this.snapshot=t,this.type=R.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xe=class{constructor(t){this.snapshot=t,this.type=R.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ae=class{constructor(t,i,n){this.routerEvent=t,this.position=i,this.anchor=n,this.type=R.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Pt=class{},pt=class{constructor(t,i){this.url=t,this.navigationBehaviorOptions=i}};var Je=class{constructor(t){this.injector=t,this.outlet=null,this.route=null,this.children=new Ft(this.injector),this.attachRef=null}},Ft=(()=>{let t=class t{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let s=this.getOrCreateContext(n);s.outlet=r,this.contexts.set(n,s)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Je(this.parentInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(r){return new(r||t)(_(it))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ce=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let i=this.pathFromRoot(t);return i.length>1?i[i.length-2]:null}children(t){let i=tn(t,this._root);return i?i.children.map(n=>n.value):[]}firstChild(t){let i=tn(t,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(t){let i=en(t,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return en(t,this._root).map(i=>i.value)}};function tn(e,t){if(e===t.value)return t;for(let i of t.children){let n=tn(e,i);if(n)return n}return null}function en(e,t){if(e===t.value)return[t];for(let i of t.children){let n=en(e,i);if(n.length)return n.unshift(t),n}return[]}var O=class{constructor(t,i){this.value=t,this.children=i}toString(){return`TreeNode(${this.value})`}};function at(e){let t={};return e&&e.children.forEach(i=>t[i.value.outlet]=i),t}var ue=class extends ce{constructor(t,i){super(t),this.snapshot=i,hn(this,t)}toString(){return this.snapshot.toString()}};function Er(e){let t=bi(e),i=new U([new X("",{})]),n=new U({}),r=new U({}),s=new U({}),o=new U(""),a=new K(i,n,s,o,r,v,e,t.root);return a.snapshot=t.root,new ue(new O(a,[]),t)}function bi(e){let t={},i={},n={},r="",s=new ut([],t,n,r,i,v,e,null,{});return new he("",new O(s,[]))}var K=class{constructor(t,i,n,r,s,o,a,u){this.urlSubject=t,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(y(c=>c[zt]))??f(void 0),this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(y(t=>ht(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(y(t=>ht(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function le(e,t,i="emptyOnly"){let n,{routeConfig:r}=e;return t!==null&&(i==="always"||r?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:h(h({},t.params),e.params),data:h(h({},t.data),e.data),resolve:h(h(h(h({},e.data),t.data),r?.data),e._resolvedData)}:n={params:h({},e.params),data:h({},e.data),resolve:h(h({},e.data),e._resolvedData??{})},r&&xr(r)&&(n.resolve[zt]=r.title),n}var ut=class{get title(){return this.data?.[zt]}constructor(t,i,n,r,s,o,a,u,c){this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ht(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ht(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${i}')`}},he=class extends ce{constructor(t,i){super(i),this.url=t,hn(this,i)}toString(){return Ur(this._root)}};function hn(e,t){t.value._routerState=e,t.children.forEach(i=>hn(e,i))}function Ur(e){let t=e.children.length>0?` { ${e.children.map(Ur).join(", ")} } `:"";return`${e.value}${t}`}function Ne(e){if(e.snapshot){let t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,z(t.queryParams,i.queryParams)||e.queryParamsSubject.next(i.queryParams),t.fragment!==i.fragment&&e.fragmentSubject.next(i.fragment),z(t.params,i.params)||e.paramsSubject.next(i.params),Xr(t.url,i.url)||e.urlSubject.next(i.url),z(t.data,i.data)||e.dataSubject.next(i.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function nn(e,t){let i=z(e.params,t.params)&&ni(e.url,t.url),n=!e.parent!=!t.parent;return i&&!n&&(!e.parent||nn(e.parent,t.parent))}function xr(e){return typeof e.title=="string"||e.title===null}var Ii=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=v,this.activateEvents=new st,this.deactivateEvents=new st,this.attachEvents=new st,this.detachEvents=new st,this.parentContexts=d(Ft),this.location=d(Fn),this.changeDetector=d(Zt),this.inputBinder=d(ge,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:s}=n.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=n;let s=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new rn(n,u,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=Wt({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gt]});let e=t;return e})(),rn=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,i,n){this.route=t,this.childContexts=i,this.parent=n}get(t,i){return t===K?this.route:t===Ft?this.childContexts:this.parent.get(t,i)}},ge=new T(""),ur=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,s=Bt([r.queryParams,r.params,r.data]).pipe(j(([o,a,u],c)=>(u=h(h(h({},o),a),u),c===0?f(u):Promise.resolve(u)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=Jn(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(n,s)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Ai(e,t,i){let n=jt(e,t._root,i?i._root:void 0);return new ue(n,t)}function jt(e,t,i){if(i&&e.shouldReuseRoute(t.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=t.value;let r=Mi(e,t,i);return new O(n,r)}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>jt(e,a)),o}}let n=Di(t.value),r=t.children.map(s=>jt(e,s));return new O(n,r)}}function Mi(e,t,i){return t.children.map(n=>{for(let r of i.children)if(e.shouldReuseRoute(n.value,r.value.snapshot))return jt(e,n,r);return jt(e,n)})}function Di(e){return new K(new U(e.url),new U(e.params),new U(e.queryParams),new U(e.fragment),new U(e.data),e.outlet,e.component,e)}var $t=class{constructor(t,i){this.redirectTo=t,this.navigationBehaviorOptions=i}},Pr="ngNavigationCancelingError";function de(e,t){let{redirectTo:i,navigationBehaviorOptions:n}=Et(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=jr(!1,E.Redirect);return r.url=i,r.navigationBehaviorOptions=n,r}function jr(e,t){let i=new Error(`NavigationCancelingError: ${e||""}`);return i[Pr]=!0,i.cancellationCode=t,i}function Ti(e){return $r(e)&&Et(e.url)}function $r(e){return!!e&&e[Pr]}var Oi=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=Pn({type:t,selectors:[["ng-component"]],standalone:!0,features:[Kn],decls:1,vars:0,template:function(r,s){r&1&&Bn(0,"router-outlet")},dependencies:[Ii],encapsulation:2});let e=t;return e})();function Ei(e,t){return e.providers&&!e._injector&&(e._injector=Ee(e.providers,t,`Route: ${e.path}`)),e._injector??t}function dn(e){let t=e.children&&e.children.map(dn),i=t?M(h({},e),{children:t}):h({},e);return!i.component&&!i.loadComponent&&(t||i.loadChildren)&&i.outlet&&i.outlet!==v&&(i.component=Oi),i}function N(e){return e.outlet||v}function Ui(e,t){let i=e.filter(n=>N(n)===t);return i.push(...e.filter(n=>N(n)!==t)),i}function _t(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let i=t.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var xi=(e,t,i,n)=>y(r=>(new sn(t,r.targetRouterState,r.currentRouterState,i,n).activate(e),r)),sn=class{constructor(t,i,n,r,s){this.routeReuseStrategy=t,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=s}activate(t){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,t),Ne(this.futureState.root),this.activateChildRoutes(i,n,t)}deactivateChildRoutes(t,i,n){let r=at(i);t.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],n),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(r===s)if(r.component){let o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,i,o.children)}else this.deactivateChildRoutes(t,i,n);else s&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(t,i){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,i):this.deactivateRouteAndOutlet(t,i)}detachAndStoreRouteSubtree(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=at(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=at(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,i,n){let r=at(i);t.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],n),this.forwardEvent(new Xe(s.value.snapshot))}),t.children.length&&this.forwardEvent(new Ze(t.value.snapshot))}activateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(Ne(r),r===s)if(r.component){let o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,i,o.children)}else this.activateChildRoutes(t,i,n);else if(r.component){let o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Ne(a.route.value),this.activateChildRoutes(t,null,o.children)}else{let a=_t(r.snapshot);o.attachRef=null,o.route=r,o.injector=a??o.injector,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}},fe=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},lt=class{constructor(t,i){this.component=t,this.route=i}};function Pi(e,t,i){let n=e._root,r=t?t._root:null;return At(n,r,i,[n.value])}function ji(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function mt(e,t){let i=Symbol(),n=t.get(e,i);return n===i?typeof e=="function"&&!En(e)?e:t.get(e):n}function At(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=at(t);return e.children.forEach(o=>{$i(o,s[o.value.outlet],i,n.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>Ot(a,i.getContext(o),r)),r}function $i(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=t?t.value:null,a=i?i.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let u=Ni(o,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new fe(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?At(e,t,a?a.children:null,n,r):At(e,t,i,n,r),u&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new lt(a.outlet.component,o))}else o&&Ot(t,a,r),r.canActivateChecks.push(new fe(n)),s.component?At(e,null,a?a.children:null,n,r):At(e,null,i,n,r);return r}function Ni(e,t,i){if(typeof i=="function")return i(e,t);switch(i){case"pathParamsChange":return!J(e.url,t.url);case"pathParamsOrQueryParamsChange":return!J(e.url,t.url)||!z(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nn(e,t)||!z(e.queryParams,t.queryParams);case"paramsChange":default:return!nn(e,t)}}function Ot(e,t,i){let n=at(e),r=e.value;Object.entries(n).forEach(([s,o])=>{r.component?t?Ot(o,t.children.getContext(s),i):Ot(o,null,i):Ot(o,t,i)}),r.component?t&&t.outlet&&t.outlet.isActivated?i.canDeactivateChecks.push(new lt(t.outlet.component,r)):i.canDeactivateChecks.push(new lt(null,r)):i.canDeactivateChecks.push(new lt(null,r))}function qt(e){return typeof e=="function"}function Li(e){return typeof e=="boolean"}function ki(e){return e&&qt(e.canLoad)}function zi(e){return e&&qt(e.canActivate)}function Fi(e){return e&&qt(e.canActivateChild)}function _i(e){return e&&qt(e.canDeactivate)}function qi(e){return e&&qt(e.canMatch)}function Nr(e){return e instanceof wn||e?.name==="EmptyError"}var Jt=Symbol("INITIAL_VALUE");function gt(){return j(e=>Bt(e.map(t=>t.pipe(rt(1),Dn(Jt)))).pipe(y(t=>{for(let i of t)if(i!==!0){if(i===Jt)return Jt;if(i===!1||Vi(i))return i}return!0}),Y(t=>t!==Jt),rt(1)))}function Vi(e){return Et(e)||e instanceof $t}function Bi(e,t){return D(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?f(M(h({},i),{guardsResult:!0})):Hi(o,n,r,e).pipe(D(a=>a&&Li(a)?Wi(n,s,e,t):f(a)),y(a=>M(h({},i),{guardsResult:a})))})}function Hi(e,t,i,n){return A(e).pipe(D(r=>Yi(r.component,r.route,i,t,n)),W(r=>r!==!0,!0))}function Wi(e,t,i,n){return A(t).pipe(nt(r=>bn(Qi(r.route.parent,n),Gi(r.route,n),Zi(e,r.path,i),Ki(e,r.route,i))),W(r=>r!==!0,!0))}function Gi(e,t){return e!==null&&t&&t(new Ye(e)),f(!0)}function Qi(e,t){return e!==null&&t&&t(new Ke(e)),f(!0)}function Ki(e,t,i){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return f(!0);let r=n.map(s=>Se(()=>{let o=_t(t)??i,a=mt(s,o),u=zi(a)?a.canActivate(t,e):k(o,()=>a(t,e));return Z(u).pipe(W())}));return f(r).pipe(gt())}function Zi(e,t,i){let n=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>ji(o)).filter(o=>o!==null).map(o=>Se(()=>{let a=o.guards.map(u=>{let c=_t(o.node)??i,l=mt(u,c),g=Fi(l)?l.canActivateChild(n,e):k(c,()=>l(n,e));return Z(g).pipe(W())});return f(a).pipe(gt())}));return f(s).pipe(gt())}function Yi(e,t,i,n,r){let s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||s.length===0)return f(!0);let o=s.map(a=>{let u=_t(t)??r,c=mt(a,u),l=_i(c)?c.canDeactivate(e,t,i,n):k(u,()=>c(e,t,i,n));return Z(l).pipe(W())});return f(o).pipe(gt())}function Xi(e,t,i,n){let r=t.canLoad;if(r===void 0||r.length===0)return f(!0);let s=r.map(o=>{let a=mt(o,e),u=ki(a)?a.canLoad(t,i):k(e,()=>a(t,i));return Z(u)});return f(s).pipe(gt(),Lr(n))}function Lr(e){return Rn(w(t=>{if(typeof t!="boolean")throw de(e,t)}),y(t=>t===!0))}function Ji(e,t,i,n){let r=t.canMatch;if(!r||r.length===0)return f(!0);let s=r.map(o=>{let a=mt(o,e),u=qi(a)?a.canMatch(t,i):k(e,()=>a(t,i));return Z(u)});return f(s).pipe(gt(),Lr(n))}var Nt=class{constructor(t){this.segmentGroup=t||null}},Lt=class extends Error{constructor(t){super(),this.urlTree=t}};function ot(e){return Rt(new Nt(e))}function ts(e){return Rt(new I(4e3,!1))}function es(e){return Rt(jr(!1,E.GuardRejected))}var on=class{constructor(t,i){this.urlSerializer=t,this.urlTree=i}lineralizeSegments(t,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return f(n);if(r.numberOfChildren>1||!r.children[v])return ts(`${t.redirectTo}`);r=r.children[v]}}applyRedirectCommands(t,i,n,r,s){if(typeof i!="string"){let a=i,{queryParams:u,fragment:c,routeConfig:l,url:g,outlet:p,params:C,data:b,title:V}=r,P=k(s,()=>a({params:C,data:b,queryParams:u,fragment:c,routeConfig:l,url:g,outlet:p,title:V}));if(P instanceof G)throw new Lt(P);i=P}let o=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),t,n);if(i[0]==="/")throw new Lt(o);return o}applyRedirectCreateUrlTree(t,i,n,r){let s=this.createSegmentGroup(t,i.root,n,r);return new G(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(t,i){let n={};return Object.entries(t).forEach(([r,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);n[r]=i[a]}else n[r]=s}),n}createSegmentGroup(t,i,n,r){let s=this.createSegments(t,i.segments,n,r),o={};return Object.entries(i.children).forEach(([a,u])=>{o[a]=this.createSegmentGroup(t,u,n,r)}),new m(s,o)}createSegments(t,i,n,r){return i.map(s=>s.path[0]===":"?this.findPosParam(t,s,r):this.findOrReturn(s,n))}findPosParam(t,i,n){let r=n[i.path.substring(1)];if(!r)throw new I(4001,!1);return r}findOrReturn(t,i){let n=0;for(let r of i){if(r.path===t.path)return i.splice(n),r;n++}return t}},an={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ns(e,t,i,n,r){let s=fn(e,t,i);return s.matched?(n=Ei(t,n),Ji(n,t,i,r).pipe(y(o=>o===!0?s:h({},an)))):f(s)}function fn(e,t,i){if(t.path==="**")return rs(i);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||i.length>0)?h({},an):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(t.matcher||Yr)(i,e,t);if(!r)return h({},an);let s={};Object.entries(r.posParams??{}).forEach(([a,u])=>{s[a]=u.path});let o=r.consumed.length>0?h(h({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function rs(e){return{matched:!0,parameters:e.length>0?mr(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function lr(e,t,i,n){return i.length>0&&os(e,i,n)?{segmentGroup:new m(t,ss(n,new m(i,e.children))),slicedSegments:[]}:i.length===0&&as(e,i,n)?{segmentGroup:new m(e.segments,is(e,i,n,e.children)),slicedSegments:i}:{segmentGroup:new m(e.segments,e.children),slicedSegments:i}}function is(e,t,i,n){let r={};for(let s of i)if(ve(e,t,s)&&!n[N(s)]){let o=new m([],{});r[N(s)]=o}return h(h({},n),r)}function ss(e,t){let i={};i[v]=t;for(let n of e)if(n.path===""&&N(n)!==v){let r=new m([],{});i[N(n)]=r}return i}function os(e,t,i){return i.some(n=>ve(e,t,n)&&N(n)!==v)}function as(e,t,i){return i.some(n=>ve(e,t,n))}function ve(e,t,i){return(e.hasChildren()||t.length>0)&&i.pathMatch==="full"?!1:i.path===""}function cs(e,t,i,n){return N(e)!==n&&(n===v||!ve(t,i,e))?!1:fn(t,e,i).matched}function us(e,t,i){return t.length===0&&!e.children[i]}var cn=class{};function ls(e,t,i,n,r,s,o="emptyOnly"){return new un(e,t,i,n,r,o,s).recognize()}var hs=31,un=class{constructor(t,i,n,r,s,o,a){this.injector=t,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new on(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new I(4002,`'${t.segmentGroup}'`)}recognize(){let t=lr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(y(({children:i,rootSnapshot:n})=>{let r=new O(n,i),s=new he("",r),o=vi(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(t){let i=new ut([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),v,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,v,i).pipe(y(n=>({children:n,rootSnapshot:i})),et(n=>{if(n instanceof Lt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Nt?this.noMatchError(n):n}))}processSegmentGroup(t,i,n,r,s){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,i,n,s):this.processSegment(t,i,n,n.segments,r,!0,s).pipe(y(o=>o instanceof O?[o]:[]))}processChildren(t,i,n,r){let s=[];for(let o of Object.keys(n.children))o==="primary"?s.unshift(o):s.push(o);return A(s).pipe(nt(o=>{let a=n.children[o],u=Ui(i,o);return this.processSegmentGroup(t,u,a,o,r)}),Mn((o,a)=>(o.push(...a),o)),we(null),An(),D(o=>{if(o===null)return ot(n);let a=kr(o);return ds(a),f(a)}))}processSegment(t,i,n,r,s,o,a){return A(i).pipe(nt(u=>this.processSegmentAgainstRoute(u._injector??t,i,u,n,r,s,o,a).pipe(et(c=>{if(c instanceof Nt)return f(null);throw c}))),W(u=>!!u),et(u=>{if(Nr(u))return us(n,r,s)?f(new cn):ot(n);throw u}))}processSegmentAgainstRoute(t,i,n,r,s,o,a,u){return cs(n,r,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,n,s,o,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,i,n,s,o,u):ot(r):ot(r)}expandSegmentAgainstRouteUsingRedirect(t,i,n,r,s,o,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:g,remainingSegments:p}=fn(i,r,s);if(!u)return ot(i);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>hs&&(this.allowRedirects=!1));let C=new ut(s,c,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,hr(r),N(r),r.component??r._loadedComponent??null,r,dr(r)),b=le(C,a,this.paramsInheritanceStrategy);C.params=Object.freeze(b.params),C.data=Object.freeze(b.data);let V=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,g,C,t);return this.applyRedirects.lineralizeSegments(r,V).pipe(D(P=>this.processSegment(t,n,i,P.concat(p),o,!1,a)))}matchSegmentAgainstRoute(t,i,n,r,s,o){let a=ns(i,n,r,t,this.urlSerializer);return n.path==="**"&&(i.children={}),a.pipe(j(u=>u.matched?(t=n._injector??t,this.getChildConfig(t,n,r).pipe(j(({routes:c})=>{let l=n._loadedInjector??t,{parameters:g,consumedSegments:p,remainingSegments:C}=u,b=new ut(p,g,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,hr(n),N(n),n.component??n._loadedComponent??null,n,dr(n)),V=le(b,o,this.paramsInheritanceStrategy);b.params=Object.freeze(V.params),b.data=Object.freeze(V.data);let{segmentGroup:P,slicedSegments:yt}=lr(i,p,C,c);if(yt.length===0&&P.hasChildren())return this.processChildren(l,c,P,b).pipe(y(Vt=>new O(b,Vt)));if(c.length===0&&yt.length===0)return f(new O(b,[]));let Ce=N(n)===s;return this.processSegment(l,c,P,yt,Ce?v:s,!0,b).pipe(y(Vt=>new O(b,Vt instanceof O?[Vt]:[])))}))):ot(i)))}getChildConfig(t,i,n){return i.children?f({routes:i.children,injector:t}):i.loadChildren?i._loadedRoutes!==void 0?f({routes:i._loadedRoutes,injector:i._loadedInjector}):Xi(t,i,n,this.urlSerializer).pipe(D(r=>r?this.configLoader.loadChildren(t,i).pipe(w(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):es(i))):f({routes:[],injector:t})}};function ds(e){e.sort((t,i)=>t.value.outlet===v?-1:i.value.outlet===v?1:t.value.outlet.localeCompare(i.value.outlet))}function fs(e){let t=e.value.routeConfig;return t&&t.path===""}function kr(e){let t=[],i=new Set;for(let n of e){if(!fs(n)){t.push(n);continue}let r=t.find(s=>n.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):t.push(n)}for(let n of i){let r=kr(n.children);t.push(new O(n.value,r))}return t.filter(n=>!i.has(n))}function hr(e){return e.data||{}}function dr(e){return e.resolve||{}}function ps(e,t,i,n,r,s){return D(o=>ls(e,t,i,n,o.extractedUrl,r,s).pipe(y(({state:a,tree:u})=>M(h({},o),{targetSnapshot:a,urlAfterRedirects:u}))))}function gs(e,t){return D(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return f(i);let s=new Set(r.map(u=>u.route)),o=new Set;for(let u of s)if(!o.has(u))for(let c of zr(u))o.add(c);let a=0;return A(o).pipe(nt(u=>s.has(u)?vs(u,n,e,t):(u.data=le(u,u.parent,e).resolve,f(void 0))),w(()=>a++),be(1),D(u=>a===o.size?f(i):H))})}function zr(e){let t=e.children.map(i=>zr(i)).flat();return[e,...t]}function vs(e,t,i,n){let r=e.routeConfig,s=e._resolve;return r?.title!==void 0&&!xr(r)&&(s[zt]=r.title),ms(s,e,t,n).pipe(y(o=>(e._resolvedData=o,e.data=le(e,e.parent,i).resolve,null)))}function ms(e,t,i,n){let r=ze(e);if(r.length===0)return f({});let s={};return A(r).pipe(D(o=>Cs(e[o],t,i,n).pipe(W(),w(a=>{if(a instanceof $t)throw de(new dt,a);s[o]=a}))),be(1),In(s),et(o=>Nr(o)?H:Rt(o)))}function Cs(e,t,i,n){let r=_t(t)??n,s=mt(e,r),o=s.resolve?s.resolve(t,i):k(r,()=>s(t,i));return Z(o)}function Le(e){return j(t=>{let i=e(t);return i?A(i).pipe(y(()=>t)):f(t)})}var Fr=(()=>{let t=class t{buildTitle(n){let r,s=n.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===v);return r}getResolvedTitleForRoute(n){return n.data[zt]}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(ys),providedIn:"root"});let e=t;return e})(),ys=(()=>{let t=class t extends Fr{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};t.\u0275fac=function(r){return new(r||t)(_(ir))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ct=new T("",{providedIn:"root",factory:()=>({})}),kt=new T(""),pn=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=d(Kt)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return f(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Z(n.loadComponent()).pipe(y(_r),w(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Ht(()=>{this.componentLoaders.delete(n)})),s=new Re(r,()=>new B).pipe(ye());return this.componentLoaders.set(n,s),s}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return f({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Rs(r,this.compiler,n,this.onLoadEndListener).pipe(Ht(()=>{this.childrenLoaders.delete(r)})),a=new Re(o,()=>new B).pipe(ye());return this.childrenLoaders.set(r,a),a}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Rs(e,t,i,n){return Z(e.loadChildren()).pipe(y(_r),D(r=>r instanceof qn||Array.isArray(r)?f(r):A(t.compileModuleAsync(r))),y(r=>{n&&n(e);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(kt,[],{optional:!0,self:!0}).flat()),{routes:o.map(dn),injector:s}}))}function Ss(e){return e&&typeof e=="object"&&"default"in e}function _r(e){return Ss(e)?e.default:e}var gn=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(ws),providedIn:"root"});let e=t;return e})(),ws=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),qr=new T(""),Vr=new T("");function bs(e,t,i){let n=e.get(Vr),r=e.get(tr);return e.get(Qt).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),a=r.startViewTransition(()=>(s(),Is(e))),{onViewTransitionCreated:u}=n;return u&&k(e,()=>u({transition:a,from:t,to:i})),o})}function Is(e){return new Promise(t=>{Oe(t,{injector:e})})}var As=new T(""),me=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new B,this.transitionAbortSubject=new B,this.configLoader=d(pn),this.environmentInjector=d(it),this.urlSerializer=d(vt),this.rootContexts=d(Ft),this.location=d(bt),this.inputBindingEnabled=d(ge,{optional:!0})!==null,this.titleStrategy=d(Fr),this.options=d(Ct,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=d(gn),this.createViewTransition=d(qr,{optional:!0}),this.navigationErrorHandler=d(As,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>f(void 0),this.rootComponentType=null;let n=s=>this.events.next(new Ge(s)),r=s=>this.events.next(new Qe(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(M(h(h({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,s){return this.transitions=new U({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Tt,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Y(o=>o.id!==0),y(o=>M(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),j(o=>{let a=!1,u=!1;return f(o).pipe(j(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",E.SupersededByNewNavigation),H;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?M(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&g!=="reload"){let p="";return this.events.next(new Q(c.id,this.urlSerializer.serialize(c.rawUrl),p,se.IgnoredSameUrlNavigation)),c.resolve(!1),H}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return f(c).pipe(j(p=>{let C=this.transitions?.getValue();return this.events.next(new ft(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),C!==this.transitions?.getValue()?H:Promise.resolve(p)}),ps(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),w(p=>{o.targetSnapshot=p.targetSnapshot,o.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=M(h({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let C=new oe(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(C)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:p,extractedUrl:C,source:b,restoredState:V,extras:P}=c,yt=new ft(p,this.urlSerializer.serialize(C),b,V);this.events.next(yt);let Ce=Er(this.rootComponentType).snapshot;return this.currentTransition=o=M(h({},c),{targetSnapshot:Ce,urlAfterRedirects:C,extras:M(h({},P),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=C,f(o)}else{let p="";return this.events.next(new Q(c.id,this.urlSerializer.serialize(c.extractedUrl),p,se.IgnoredByUrlHandlingStrategy)),c.resolve(!1),H}}),w(c=>{let l=new Ve(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),y(c=>(this.currentTransition=o=M(h({},c),{guards:Pi(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),Bi(this.environmentInjector,c=>this.events.next(c)),w(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw de(this.urlSerializer,c.guardsResult);let l=new Be(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),Y(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",E.GuardRejected),!1)),Le(c=>{if(c.guards.canActivateChecks.length)return f(c).pipe(w(l=>{let g=new He(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(g)}),j(l=>{let g=!1;return f(l).pipe(gs(this.paramsInheritanceStrategy,this.environmentInjector),w({next:()=>g=!0,complete:()=>{g||this.cancelNavigationTransition(l,"",E.NoDataFromResolver)}}))}),w(l=>{let g=new We(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(g)}))}),Le(c=>{let l=g=>{let p=[];g.routeConfig?.loadComponent&&!g.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(g.routeConfig).pipe(w(C=>{g.component=C}),y(()=>{})));for(let C of g.children)p.push(...l(C));return p};return Bt(l(c.targetSnapshot.root)).pipe(we(null),rt(1))}),Le(()=>this.afterPreactivation()),j(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,g=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return g?A(g).pipe(y(()=>o)):f(o)}),y(c=>{let l=Ai(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=M(h({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),w(()=>{this.events.next(new Pt)}),xi(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),rt(1),w({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new L(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Tn(this.transitionAbortSubject.pipe(w(c=>{throw c}))),Ht(()=>{!a&&!u&&this.cancelNavigationTransition(o,"",E.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),et(c=>{if(u=!0,$r(c))this.events.next(new q(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),Ti(c)?this.events.next(new pt(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let l=new xt(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let g=k(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(g instanceof $t){let{message:p,cancellationCode:C}=de(this.urlSerializer,g);this.events.next(new q(o.id,this.urlSerializer.serialize(o.extractedUrl),p,C)),this.events.next(new pt(g.redirectTo,g.navigationBehaviorOptions))}else{this.events.next(l);let p=n.errorHandler(c);o.resolve(!!p)}}catch(g){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(g)}}return H}))}))}cancelNavigationTransition(n,r,s){let o=new q(n.id,this.urlSerializer.serialize(n.extractedUrl),r,s);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ms(e){return e!==Tt}var Ds=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(Ts),providedIn:"root"});let e=t;return e})(),ln=class{shouldDetach(t){return!1}store(t,i){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,i){return t.routeConfig===i.routeConfig}},Ts=(()=>{let t=class t extends ln{};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=Ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Br=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>d(Os),providedIn:"root"});let e=t;return e})(),Os=(()=>{let t=class t extends Br{constructor(){super(...arguments),this.location=d(bt),this.urlSerializer=d(vt),this.options=d(Ct,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=d(gn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new G,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Er(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ft)this.stateMemento=this.createStateMemento();else if(n instanceof Q)this.rawUrlTree=r.initialUrl;else if(n instanceof oe){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else n instanceof Pt?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof q&&(n.code===E.GuardRejected||n.code===E.NoDataFromResolver)?this.restoreHistory(r):n instanceof xt?this.restoreHistory(r,!0):n instanceof L&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let s=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=h(h({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=Ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Mt=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Mt||{});function Hr(e,t){e.events.pipe(Y(i=>i instanceof L||i instanceof q||i instanceof xt||i instanceof Q),y(i=>i instanceof L||i instanceof Q?Mt.COMPLETE:(i instanceof q?i.code===E.Redirect||i.code===E.SupersededByNewNavigation:!1)?Mt.REDIRECTING:Mt.FAILED),Y(i=>i!==Mt.REDIRECTING),rt(1)).subscribe(()=>{t()})}function Es(e){throw e}var Us={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},F=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=d(Zn),this.stateManager=d(Br),this.options=d(Ct,{optional:!0})||{},this.pendingTasks=d(Ln),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=d(me),this.urlSerializer=d(vt),this.location=d(bt),this.urlHandlingStrategy=d(gn),this._events=new B,this.errorHandler=this.options.errorHandler||Es,this.navigated=!1,this.routeReuseStrategy=d(Ds),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=d(kt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!d(ge,{optional:!0}),this.eventsSubscription=new yn,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof q&&r.code!==E.Redirect&&r.code!==E.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof L)this.navigated=!0;else if(r instanceof pt){let a=r.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),c=h({info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ms(s.source)},a);this.scheduleNavigation(u,Tt,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}js(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Tt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let c=h({},s);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(dn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:u,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:a,g=null;switch(u){case"merge":g=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=o||null}g!==null&&(g=this.removeEmptyProps(g));let p;try{let C=s?s.snapshot:this.routerState.snapshot.root;p=Mr(C)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),p=this.currentUrlTree.root}return Dr(p,n,g,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let s=Et(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,Tt,null,r)}navigate(n,r={skipLocationChange:!1}){return Ps(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let s;if(r===!0?s=h({},Us):r===!1?s=h({},xs):s=r,Et(n))return sr(this.currentUrlTree,n,s);let o=this.parseUrl(n);return sr(this.currentUrlTree,o,s)}removeEmptyProps(n){return Object.entries(n).reduce((r,[s,o])=>(o!=null&&(r[s]=o),r),{})}scheduleNavigation(n,r,s,o,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((p,C)=>{u=p,c=C});let g=this.pendingTasks.add();return Hr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ps(e){for(let t=0;t{let t=class t{constructor(n,r,s,o,a,u){this.router=n,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof L&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,s,o,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(n!==0||r||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:kn(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,n,r):s.removeAttribute(o,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(r){return new(r||t)($(F),$(K),Nn("tabindex"),$(Te),$(De),$(wt))},t.\u0275dir=Wt({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&Hn("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&Vn("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Yt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Yt],replaceUrl:[2,"replaceUrl","replaceUrl",Yt],routerLink:"routerLink"},standalone:!0,features:[_n,Gt]});let e=t;return e})(),Co=(()=>{let t=class t{get isActive(){return this._isActive}constructor(n,r,s,o,a){this.router=n,this.element=r,this.renderer=s,this.cdr=o,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new st,this.routerEventsSubscription=n.events.subscribe(u=>{u instanceof L&&this.update()})}ngAfterContentInit(){f(this.links.changes,f(null)).pipe(St()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=A(n).pipe(St()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(s=>!!s)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=$s(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>{let o=s.urlTree;return o?n.isActive(o,r):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};t.\u0275fac=function(r){return new(r||t)($(F),$(De),$(Te),$(Zt),$(fr,8))},t.\u0275dir=Wt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,s,o){if(r&1&&Wn(o,fr,5),r&2){let a;Gn(a=Qn())&&(s.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Gt]});let e=t;return e})();function $s(e){return!!e.paths}var pe=class{};var Ns=(()=>{let t=class t{constructor(n,r,s,o,a){this.router=n,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Y(n=>n instanceof L),nt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let s=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Ee(o.providers,n,`Route: ${o.path}`));let a=o._injector??n,u=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&s.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&s.push(this.processRoutes(u,o.children??o._loadedRoutes))}return A(s).pipe(St())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let s;r.loadChildren&&r.canLoad===void 0?s=this.loader.loadChildren(n,r):s=f(null);let o=s.pipe(D(a=>a===null?f(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return A([o,a]).pipe(St())}else return o})}};t.\u0275fac=function(r){return new(r||t)(_(F),_(Kt),_(it),_(pe),_(pn))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vn=new T(""),Wr=(()=>{let t=class t{constructor(n,r,s,o,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=s,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=d(it),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ft?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof L?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Q&&n.code===se.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ae&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Cn(this,null,function*(){yield new Promise(s=>{setTimeout(()=>{s()}),Oe(()=>{s()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ae(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(r){zn()},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function yo(e,...t){return $n([{provide:kt,multi:!0,useValue:e},[],{provide:K,useFactory:Gr,deps:[F]},{provide:xe,multi:!0,useFactory:Qr},t.map(i=>i.\u0275providers)])}function Gr(e){return e.routerState.root}function tt(e,t){return{\u0275kind:e,\u0275providers:t}}function Ro(e={}){return tt(4,[{provide:vn,useFactory:()=>{let i=d(Pe),n=d(Qt),r=d(me),s=d(vt);return new Wr(s,r,i,n,e)}}])}function Qr(){let e=d(Me);return t=>{let i=e.get(Xn);if(t!==i.components[0])return;let n=e.get(F),r=e.get(Kr);e.get(mn)===1&&n.initialNavigation(),e.get(Zr,null,Ie.Optional)?.setUpPreloading(),e.get(vn,null,Ie.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Kr=new T("",{factory:()=>new B}),mn=new T("",{providedIn:"root",factory:()=>1});function Ls(){return tt(2,[{provide:mn,useValue:0},{provide:Ue,multi:!0,deps:[Me],useFactory:t=>{let i=t.get(er,Promise.resolve());return()=>i.then(()=>new Promise(n=>{let r=t.get(F),s=t.get(Kr);Hr(r,()=>{n(!0)}),t.get(me).afterPreactivation=()=>(n(!0),s.closed?f(void 0):s),r.initialNavigation()}))}}])}function ks(){return tt(3,[{provide:Ue,multi:!0,useFactory:()=>{let t=d(F);return()=>{t.setUpLocationChangeListener()}}},{provide:mn,useValue:2}])}var Zr=new T("");function zs(e){return tt(0,[{provide:Zr,useExisting:Ns},{provide:pe,useExisting:e}])}function So(e){return tt(5,[{provide:Ct,useValue:e}])}function Fs(){return tt(8,[ur,{provide:ge,useExisting:ur}])}function _s(e){let t=[{provide:qr,useValue:bs},{provide:Vr,useValue:h({skipNextTransition:!!e?.skipInitialTransition},e)}];return tt(9,t)}var pr=new T("ROUTER_FORROOT_GUARD"),qs=[bt,{provide:vt,useClass:dt},F,Ft,{provide:K,useFactory:Gr,deps:[F]},pn,[]],wo=(()=>{let t=class t{constructor(n){}static forRoot(n,r){return{ngModule:t,providers:[qs,[],{provide:kt,multi:!0,useValue:n},{provide:pr,useFactory:Ws,deps:[[F,new Un,new xn]]},{provide:Ct,useValue:r||{}},r?.useHash?Bs():Hs(),Vs(),r?.preloadingStrategy?zs(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Gs(r):[],r?.bindToComponentInputs?Fs().\u0275providers:[],r?.enableViewTransitions?_s().\u0275providers:[],Qs()]}}static forChild(n){return{ngModule:t,providers:[{provide:kt,multi:!0,useValue:n}]}}};t.\u0275fac=function(r){return new(r||t)(_(pr,8))},t.\u0275mod=jn({type:t}),t.\u0275inj=On({});let e=t;return e})();function Vs(){return{provide:vn,useFactory:()=>{let e=d(Pe),t=d(Qt),i=d(Ct),n=d(me),r=d(vt);return i.scrollOffset&&e.setOffset(i.scrollOffset),new Wr(r,n,e,t,i)}}}function Bs(){return{provide:wt,useClass:rr}}function Hs(){return{provide:wt,useClass:nr}}function Ws(e){return"guarded"}function Gs(e){return[e.initialNavigation==="disabled"?ks().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Ls().\u0275providers:[]]}var gr=new T("");function Qs(){return[{provide:gr,useFactory:Qr},{provide:xe,multi:!0,useExisting:gr}]}export{vt as a,dt as b,ft as c,L as d,xt as e,Ii as f,Fr as g,F as h,fr as i,Co as j,yo as k,Ro as l,Ls as m,So as n,_s as o,wo as p}; diff --git a/angular/docs/chunk-E67TCANI.js b/angular/docs/chunk-SXC6Y67G.js similarity index 94% rename from angular/docs/chunk-E67TCANI.js rename to angular/docs/chunk-SXC6Y67G.js index cfe6f527f7a..9cbd3124a7f 100644 --- a/angular/docs/chunk-E67TCANI.js +++ b/angular/docs/chunk-SXC6Y67G.js @@ -1,4 +1,4 @@ -import{a as $}from"./chunk-FPQGXMEQ.js";import{g as H}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as B}from"./chunk-SWYVARVN.js";import{r as q}from"./chunk-JJFVMVK7.js";import{c as O,d as N}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{E as j,m as k,t as b}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Ac as _,Bc as r,Cc as y,Dc as U,Fb as E,Jb as C,Oc as m,Pc as v,Qb as u,Ub as A,Wb as S,_c as z,ac as o,bc as c,cc as I,dc as T,ec as D,lb as p,mb as g,na as s,oc as h,pc as w,qc as M,rc as F}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var W=["*"];function X(t,e){t&1&&D(0)}function Y(t,e){if(t&1&&c(0,"span",2),t&2){let x=h();u("ngClass",x.statusClass)}}function Z(t,e){if(t&1&&c(0,"img",3),t&2){let x=h(2);F("alt",x.alt),u("ngSrc",x.src)}}function ee(t,e){t&1&&M(0)}function te(t,e){if(t&1&&C(0,Z,1,2,"img",3)(1,ee,1,0),t&2){let x=h();S(x.src?0:1)}}var d=(()=>{let e=class e{constructor(){this.size="md",this.alt=""}get statusClass(){return{"avatar-status":!0,[`bg-${this.status}`]:!!this.status}}get hostClasses(){return{avatar:!0,[`avatar-${this.size}`]:!!this.size,[`bg-${this.color}`]:!!this.color,[`${this.shape}`]:!!this.shape}}};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["c-avatar"]],hostVars:2,hostBindings:function(a,l){a&2&&A(l.hostClasses)},inputs:{color:"color",shape:"shape",size:"size",alt:"alt",src:"src",status:"status",textColor:"textColor"},standalone:!0,features:[E([{directive:$,inputs:["cTextColor","textColor"]}]),m],ngContentSelectors:W,decls:5,vars:2,consts:[["defaultImageTemplate",""],[4,"ngTemplateOutlet"],[3,"ngClass"],["fill","",1,"avatar-img",3,"ngSrc","alt"]],template:function(a,l){if(a&1&&(w(),I(0),C(1,X,1,0,"ng-container",1)(2,Y,1,1,"span",2),T(),C(3,te,2,1,"ng-template",null,0,z)),a&2){let Q=_(4);p(),u("ngTemplateOutlet",Q),p(),S(l.status?2:-1)}},dependencies:[b,k,j],encapsulation:2});let t=e;return t})();var L=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar06-example"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["src","assets/img/avatars/7.jpg","status","success"],["color","secondary","status","danger"]],template:function(a,l){a&1&&(c(0,"c-avatar",0),n(1,"c-avatar",1),r(2,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var R=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar05-example"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["color","secondary","size","xl"],["color","secondary","size","lg"],["color","secondary","size","md"],["color","secondary"],["color","secondary","size","sm"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o(),n(6,"c-avatar",3),r(7,"CUI"),o(),n(8,"c-avatar",4),r(9,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var P=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar04-example"]],standalone:!0,features:[m],decls:6,vars:0,consts:[["color","primary","shape","rounded-0","textColor","white"],["color","secondary","shape","rounded-0"],["color","warning","shape","rounded-0","textColor","white"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var V=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar03-example"]],standalone:!0,features:[m],decls:6,vars:0,consts:[["color","primary","shape","rounded","textColor","white"],["color","secondary","shape","rounded"],["color","warning","shape","rounded","textColor","white"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var G=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar02-example"]],standalone:!0,features:[m],decls:6,vars:0,consts:[["color","primary","textColor","white"],["color","secondary"],["color","warning","textColor","white"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var J=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar01-example"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["src","assets/img/avatars/1.jpg"],["src","assets/img/avatars/2.jpg"],["src","assets/img/avatars/4.jpg"]],template:function(a,l){a&1&&c(0,"c-avatar",0)(1,"c-avatar",1)(2,"c-avatar",2)},dependencies:[d],encapsulation:2});let t=e;return t})();var K=`\`\`\`typescript +import{a as $}from"./chunk-7GF3S5CV.js";import{g as H}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as B}from"./chunk-MH6VOBXJ.js";import{r as q}from"./chunk-Q5WIR6QR.js";import{c as O,d as N}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{E as j,m as k,t as b}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Ac as _,Bc as r,Cc as y,Dc as U,Fb as E,Jb as C,Oc as m,Pc as v,Qb as u,Ub as A,Wb as S,_c as z,ac as o,bc as c,cc as I,dc as T,ec as D,lb as p,mb as g,na as s,oc as h,pc as w,qc as M,rc as F}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var W=["*"];function X(t,e){t&1&&D(0)}function Y(t,e){if(t&1&&c(0,"span",2),t&2){let x=h();u("ngClass",x.statusClass)}}function Z(t,e){if(t&1&&c(0,"img",3),t&2){let x=h(2);F("alt",x.alt),u("ngSrc",x.src)}}function ee(t,e){t&1&&M(0)}function te(t,e){if(t&1&&C(0,Z,1,2,"img",3)(1,ee,1,0),t&2){let x=h();S(x.src?0:1)}}var d=(()=>{let e=class e{constructor(){this.size="md",this.alt=""}get statusClass(){return{"avatar-status":!0,[`bg-${this.status}`]:!!this.status}}get hostClasses(){return{avatar:!0,[`avatar-${this.size}`]:!!this.size,[`bg-${this.color}`]:!!this.color,[`${this.shape}`]:!!this.shape}}};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["c-avatar"]],hostVars:2,hostBindings:function(a,l){a&2&&A(l.hostClasses)},inputs:{color:"color",shape:"shape",size:"size",alt:"alt",src:"src",status:"status",textColor:"textColor"},standalone:!0,features:[E([{directive:$,inputs:["cTextColor","textColor"]}]),m],ngContentSelectors:W,decls:5,vars:2,consts:[["defaultImageTemplate",""],[4,"ngTemplateOutlet"],[3,"ngClass"],["fill","",1,"avatar-img",3,"ngSrc","alt"]],template:function(a,l){if(a&1&&(w(),I(0),C(1,X,1,0,"ng-container",1)(2,Y,1,1,"span",2),T(),C(3,te,2,1,"ng-template",null,0,z)),a&2){let Q=_(4);p(),u("ngTemplateOutlet",Q),p(),S(l.status?2:-1)}},dependencies:[b,k,j],encapsulation:2});let t=e;return t})();var L=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar06-example"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["src","assets/img/avatars/7.jpg","status","success"],["color","secondary","status","danger"]],template:function(a,l){a&1&&(c(0,"c-avatar",0),n(1,"c-avatar",1),r(2,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var R=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar05-example"]],standalone:!0,features:[m],decls:10,vars:0,consts:[["color","secondary","size","xl"],["color","secondary","size","lg"],["color","secondary","size","md"],["color","secondary"],["color","secondary","size","sm"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o(),n(6,"c-avatar",3),r(7,"CUI"),o(),n(8,"c-avatar",4),r(9,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var P=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar04-example"]],standalone:!0,features:[m],decls:6,vars:0,consts:[["color","primary","shape","rounded-0","textColor","white"],["color","secondary","shape","rounded-0"],["color","warning","shape","rounded-0","textColor","white"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var V=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar03-example"]],standalone:!0,features:[m],decls:6,vars:0,consts:[["color","primary","shape","rounded","textColor","white"],["color","secondary","shape","rounded"],["color","warning","shape","rounded","textColor","white"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var G=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar02-example"]],standalone:!0,features:[m],decls:6,vars:0,consts:[["color","primary","textColor","white"],["color","secondary"],["color","warning","textColor","white"]],template:function(a,l){a&1&&(n(0,"c-avatar",0),r(1,"CUI"),o(),n(2,"c-avatar",1),r(3,"CUI"),o(),n(4,"c-avatar",2),r(5,"CUI"),o())},dependencies:[d],encapsulation:2});let t=e;return t})();var J=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=s({type:e,selectors:[["docs-avatar01-example"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["src","assets/img/avatars/1.jpg"],["src","assets/img/avatars/2.jpg"],["src","assets/img/avatars/4.jpg"]],template:function(a,l){a&1&&c(0,"c-avatar",0)(1,"c-avatar",1)(2,"c-avatar",2)},dependencies:[d],encapsulation:2});let t=e;return t})();var K=`\`\`\`typescript import { AvatarModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-3ZOCGJ4B.js b/angular/docs/chunk-TGKW7PGX.js similarity index 95% rename from angular/docs/chunk-3ZOCGJ4B.js rename to angular/docs/chunk-TGKW7PGX.js index 34a9829b45b..5153668eceb 100644 --- a/angular/docs/chunk-3ZOCGJ4B.js +++ b/angular/docs/chunk-TGKW7PGX.js @@ -1 +1 @@ -import{a as $,b as d}from"./chunk-GHTCDR3O.js";import{a as q}from"./chunk-QUYVWFHK.js";import{a as A}from"./chunk-QNSTT6ST.js";import{d as H,m as Q}from"./chunk-FIXU3TFH.js";import{A as b,F as C,Ia as w,L as R,La as y,Nc as L,Oc as _,Pb as l,Qb as S,Qc as M,Ub as T,bc as V,cc as N,dc as j,ec as B,ia as E,id as U,lb as O,mb as o,na as P,ob as D,pa as I,rb as c,uc as x,vc as F,wc as k,xa as a,xb as v}from"./chunk-O6V6MKDU.js";import{a as h,b as m,e as f,f as u,g}from"./chunk-MGAX33HK.js";var Y=["popoverTemplate"],Z=s=>({"popover-arrow":s}),z=(()=>{let i=class i{constructor(r){this.renderer=r,this.content="",this.visible=!1,this.role="tooltip"}get hostClasses(){return{popover:!0,fade:!0,show:this.visible,"bs-popover-auto":!0}}ngAfterViewInit(){setTimeout(()=>{this.updateView(this.content)})}ngOnChanges(r){r.content&&setTimeout(()=>{this.updateView(this.content)})}ngOnDestroy(){this.clear()}clear(){this.viewContainerRef?.clear(),this.textNode&&this.renderer.removeChild(this.textNode.parentNode,this.textNode)}updateView(r){if(this.clear(),!!r)if(r instanceof D)this.viewContainerRef.createEmbeddedView(r);else{this.textNode=this.renderer.createText(r);let e=this.renderer.createElement("div");this.renderer.addClass(e,"popover-body"),this.renderer.appendChild(e,this.textNode);let t=this.viewContainerRef.element.nativeElement;this.renderer.appendChild(t.parentNode,e)}}};i.\u0275fac=function(e){return new(e||i)(o(c))},i.\u0275cmp=P({type:i,selectors:[["c-popover"]],viewQuery:function(e,t){if(e&1&&x(Y,5,v),e&2){let p;F(p=k())&&(t.viewContainerRef=p.first)}},hostVars:4,hostBindings:function(e,t){e&2&&(l("id",t.id)("role",t.role),T(t.hostClasses))},inputs:{content:"content",visible:"visible",id:"id",role:"role"},standalone:!0,features:[a,_],decls:4,vars:3,consts:[["popoverTemplate",""],["data-popper-arrow","",3,"ngClass"]],template:function(e,t){e&1&&(N(0),V(1,"div",1),B(2,null,0),j()),e&2&&(O(),S("ngClass",M(1,Z,!!t.content)))},dependencies:[Q],encapsulation:2});let s=i;return s})();var ee=(()=>{var i;let n=class n{constructor(e,t,p,G,J,K,W){u(this,i);this.document=e,this.renderer=t,this.hostElement=p,this.viewContainerRef=G,this.listenersService=J,this.changeDetectorRef=K,this.intersectionService=W,this.content="",this.placement="top",this.trigger="hover",this._visible=!1,this._popperOptions={modifiers:[{name:"offset",options:{offset:[0,9]}}]},g(this,i,E(w))}set popperOptions(e){this._popperOptions=h(m(h({},this._popperOptions),{placement:this.placement}),e)}get popperOptions(){return h({placement:this.placement},this._popperOptions)}set visible(e){this._visible=e}get visible(){return this._visible}get ariaDescribedBy(){return this.popoverId?this.popoverId:null}ngAfterViewInit(){this.intersectionServiceSubscribe()}ngOnChanges(e){e.visible&&(e.visible.currentValue?this.addPopoverElement():this.removePopoverElement())}ngOnDestroy(){this.clearListeners(),this.destroyPopoverElement()}ngOnInit(){this.setListeners()}setListeners(){let e={hostElement:this.hostElement,trigger:this.trigger,callbackToggle:()=>{this.visible=!this.visible,this.visible?this.addPopoverElement():this.removePopoverElement()},callbackOff:()=>{this.visible=!1,this.removePopoverElement()},callbackOn:()=>{this.visible=!0,this.addPopoverElement()}};this.listenersService.setListeners(e)}clearListeners(){this.listenersService.clearListeners()}intersectionServiceSubscribe(){this.intersectionService.createIntersectionObserver(this.hostElement),this.intersectionService.intersecting$.pipe(b(e=>e.hostElement===this.hostElement),C(100),R(()=>{this.intersectionService.unobserve(this.hostElement)}),A(f(this,i))).subscribe(e=>{this.visible=e.isIntersecting?this.visible:!1,!this.visible&&this.removePopoverElement()})}getUID(e){let t=e??"random-id";do t=`${e}-${Math.floor(Math.random()*1e6).toString(10)}`;while(this.document.getElementById(t));return t}createPopoverElement(){this.popoverRef||(this.popoverRef=this.viewContainerRef.createComponent(z))}destroyPopoverElement(){this.popover?.remove(),this.popoverRef?.destroy(),this.popoverRef=void 0,this.popperInstance?.destroy(),this.viewContainerRef?.detach(),this.viewContainerRef?.clear()}addPopoverElement(){this.popoverRef||this.createPopoverElement(),this.popoverRef.instance.content=this.content,this.popover=this.popoverRef.location.nativeElement,this.renderer.addClass(this.popover,"d-none"),this.renderer.addClass(this.popover,"fade"),this.popperInstance?.destroy(),setTimeout(()=>{if(this.popperInstance=q(this.hostElement.nativeElement,this.popover,h({},this.popperOptions)),this.viewContainerRef.insert(this.popoverRef.hostView),this.renderer.appendChild(this.document.body,this.popover),!this.visible){this.removePopoverElement();return}setTimeout(()=>{if(this.popoverId=this.getUID("popover"),this.popoverRef.instance.id=this.popoverId,!this.visible){this.removePopoverElement();return}this.renderer.removeClass(this.popover,"d-none"),this.popoverRef.instance.visible=this.visible,this.popperInstance.forceUpdate(),this.changeDetectorRef.markForCheck()},100)})}removePopoverElement(){this.popoverId="",this.popoverRef&&(this.popoverRef.instance.visible=!1,this.popoverRef.instance.id=void 0,this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.viewContainerRef?.detach()},300))}};i=new WeakMap,n.\u0275fac=function(t){return new(t||n)(o(H),o(c),o(y),o(v),o(d),o(U),o($))},n.\u0275dir=I({type:n,selectors:[["","cPopover",""]],hostVars:1,hostBindings:function(t,p){t&2&&l("aria-describedby",p.ariaDescribedBy)},inputs:{content:[0,"cPopover","content"],popperOptions:[0,"cPopoverOptions","popperOptions"],placement:[0,"cPopoverPlacement","placement"],trigger:[0,"cPopoverTrigger","trigger"],visible:[0,"cPopoverVisible","visible"]},exportAs:["cPopover"],standalone:!0,features:[L([d]),a]});let s=n;return s})();export{ee as a}; +import{a as $,b as d}from"./chunk-FW3F3TZD.js";import{a as q}from"./chunk-QUYVWFHK.js";import{a as A}from"./chunk-LZN2HRQX.js";import{d as H,m as Q}from"./chunk-XHR4TYVD.js";import{A as b,F as C,Ia as w,L as R,La as y,Nc as L,Oc as _,Pb as l,Qb as S,Qc as M,Ub as T,bc as V,cc as N,dc as j,ec as B,ia as E,id as U,lb as O,mb as o,na as P,ob as D,pa as I,rb as c,uc as x,vc as F,wc as k,xa as a,xb as v}from"./chunk-6U7QZ4SV.js";import{a as h,b as m,e as f,f as u,g}from"./chunk-MGAX33HK.js";var Y=["popoverTemplate"],Z=s=>({"popover-arrow":s}),z=(()=>{let i=class i{constructor(r){this.renderer=r,this.content="",this.visible=!1,this.role="tooltip"}get hostClasses(){return{popover:!0,fade:!0,show:this.visible,"bs-popover-auto":!0}}ngAfterViewInit(){setTimeout(()=>{this.updateView(this.content)})}ngOnChanges(r){r.content&&setTimeout(()=>{this.updateView(this.content)})}ngOnDestroy(){this.clear()}clear(){this.viewContainerRef?.clear(),this.textNode&&this.renderer.removeChild(this.textNode.parentNode,this.textNode)}updateView(r){if(this.clear(),!!r)if(r instanceof D)this.viewContainerRef.createEmbeddedView(r);else{this.textNode=this.renderer.createText(r);let e=this.renderer.createElement("div");this.renderer.addClass(e,"popover-body"),this.renderer.appendChild(e,this.textNode);let t=this.viewContainerRef.element.nativeElement;this.renderer.appendChild(t.parentNode,e)}}};i.\u0275fac=function(e){return new(e||i)(o(c))},i.\u0275cmp=P({type:i,selectors:[["c-popover"]],viewQuery:function(e,t){if(e&1&&x(Y,5,v),e&2){let p;F(p=k())&&(t.viewContainerRef=p.first)}},hostVars:4,hostBindings:function(e,t){e&2&&(l("id",t.id)("role",t.role),T(t.hostClasses))},inputs:{content:"content",visible:"visible",id:"id",role:"role"},standalone:!0,features:[a,_],decls:4,vars:3,consts:[["popoverTemplate",""],["data-popper-arrow","",3,"ngClass"]],template:function(e,t){e&1&&(N(0),V(1,"div",1),B(2,null,0),j()),e&2&&(O(),S("ngClass",M(1,Z,!!t.content)))},dependencies:[Q],encapsulation:2});let s=i;return s})();var ee=(()=>{var i;let n=class n{constructor(e,t,p,G,J,K,W){u(this,i);this.document=e,this.renderer=t,this.hostElement=p,this.viewContainerRef=G,this.listenersService=J,this.changeDetectorRef=K,this.intersectionService=W,this.content="",this.placement="top",this.trigger="hover",this._visible=!1,this._popperOptions={modifiers:[{name:"offset",options:{offset:[0,9]}}]},g(this,i,E(w))}set popperOptions(e){this._popperOptions=h(m(h({},this._popperOptions),{placement:this.placement}),e)}get popperOptions(){return h({placement:this.placement},this._popperOptions)}set visible(e){this._visible=e}get visible(){return this._visible}get ariaDescribedBy(){return this.popoverId?this.popoverId:null}ngAfterViewInit(){this.intersectionServiceSubscribe()}ngOnChanges(e){e.visible&&(e.visible.currentValue?this.addPopoverElement():this.removePopoverElement())}ngOnDestroy(){this.clearListeners(),this.destroyPopoverElement()}ngOnInit(){this.setListeners()}setListeners(){let e={hostElement:this.hostElement,trigger:this.trigger,callbackToggle:()=>{this.visible=!this.visible,this.visible?this.addPopoverElement():this.removePopoverElement()},callbackOff:()=>{this.visible=!1,this.removePopoverElement()},callbackOn:()=>{this.visible=!0,this.addPopoverElement()}};this.listenersService.setListeners(e)}clearListeners(){this.listenersService.clearListeners()}intersectionServiceSubscribe(){this.intersectionService.createIntersectionObserver(this.hostElement),this.intersectionService.intersecting$.pipe(b(e=>e.hostElement===this.hostElement),C(100),R(()=>{this.intersectionService.unobserve(this.hostElement)}),A(f(this,i))).subscribe(e=>{this.visible=e.isIntersecting?this.visible:!1,!this.visible&&this.removePopoverElement()})}getUID(e){let t=e??"random-id";do t=`${e}-${Math.floor(Math.random()*1e6).toString(10)}`;while(this.document.getElementById(t));return t}createPopoverElement(){this.popoverRef||(this.popoverRef=this.viewContainerRef.createComponent(z))}destroyPopoverElement(){this.popover?.remove(),this.popoverRef?.destroy(),this.popoverRef=void 0,this.popperInstance?.destroy(),this.viewContainerRef?.detach(),this.viewContainerRef?.clear()}addPopoverElement(){this.popoverRef||this.createPopoverElement(),this.popoverRef.instance.content=this.content,this.popover=this.popoverRef.location.nativeElement,this.renderer.addClass(this.popover,"d-none"),this.renderer.addClass(this.popover,"fade"),this.popperInstance?.destroy(),setTimeout(()=>{if(this.popperInstance=q(this.hostElement.nativeElement,this.popover,h({},this.popperOptions)),this.viewContainerRef.insert(this.popoverRef.hostView),this.renderer.appendChild(this.document.body,this.popover),!this.visible){this.removePopoverElement();return}setTimeout(()=>{if(this.popoverId=this.getUID("popover"),this.popoverRef.instance.id=this.popoverId,!this.visible){this.removePopoverElement();return}this.renderer.removeClass(this.popover,"d-none"),this.popoverRef.instance.visible=this.visible,this.popperInstance.forceUpdate(),this.changeDetectorRef.markForCheck()},100)})}removePopoverElement(){this.popoverId="",this.popoverRef&&(this.popoverRef.instance.visible=!1,this.popoverRef.instance.id=void 0,this.changeDetectorRef.markForCheck(),setTimeout(()=>{this.viewContainerRef?.detach()},300))}};i=new WeakMap,n.\u0275fac=function(t){return new(t||n)(o(H),o(c),o(y),o(v),o(d),o(U),o($))},n.\u0275dir=I({type:n,selectors:[["","cPopover",""]],hostVars:1,hostBindings:function(t,p){t&2&&l("aria-describedby",p.ariaDescribedBy)},inputs:{content:[0,"cPopover","content"],popperOptions:[0,"cPopoverOptions","popperOptions"],placement:[0,"cPopoverPlacement","placement"],trigger:[0,"cPopoverTrigger","trigger"],visible:[0,"cPopoverVisible","visible"]},exportAs:["cPopover"],standalone:!0,features:[L([d]),a]});let s=n;return s})();export{ee as a}; diff --git a/angular/docs/chunk-ABULJYFK.js b/angular/docs/chunk-UDLAPR3G.js similarity index 97% rename from angular/docs/chunk-ABULJYFK.js rename to angular/docs/chunk-UDLAPR3G.js index ec779b9542b..183ad876b1c 100644 --- a/angular/docs/chunk-ABULJYFK.js +++ b/angular/docs/chunk-UDLAPR3G.js @@ -1,4 +1,4 @@ -import{a as O,b as A,c as H,d as z,e as P}from"./chunk-635XQOGQ.js";import{a as v,b,c as D,d as I,e as S}from"./chunk-43AYKN2K.js";import"./chunk-KCYAHR4C.js";import{a as y}from"./chunk-KHEJVAJA.js";import{a as E,c as K,i as T,l as Q}from"./chunk-C5JPXVV5.js";import{a as N,b as F}from"./chunk-B6ZWLJIL.js";import{i as L}from"./chunk-SPMMWGWV.js";import{a as J,c as _,d as M,e as B,f as $}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as w,b as R}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{a as d}from"./chunk-EBCID5MY.js";import{g as ee}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as Z}from"./chunk-SWYVARVN.js";import{r as X}from"./chunk-JJFVMVK7.js";import{c as W,d as Y}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{s as V}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Ac as C,Bc as a,Cc as q,Dc as U,Jb as g,Jc as G,Oc as s,Pc as u,Qb as c,_c as h,ac as t,bc as r,lb as l,mb as j,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var te=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar28"]],standalone:!0,features:[s],decls:36,vars:2,consts:[["colorScheme","dark","expand","xl","placement","fixed-top",1,"bg-dark"],["fluid",""],["cNavbarBrand",""],["cOffcanvasToggle","OffcanvasSidebarDark",3,"cNavbarToggler"],["placement","end","id","OffcanvasSidebarDark","tabindex","-1",1,"text-bg-dark"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasSidebarDark","aria-label","Close","white","",1,"text-reset"],[1,"justify-content-end","flex-grow-1","pe-3"],["cNavLink","",3,"active"],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu","","dark",""],["cDropdownItem",""],["cDropdownDivider",""],["cForm","","role","search",1,"d-flex","mt-lg-3","mt-xl-0"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3," Offcanvas navbar dark "),t(),r(4,"button",3),e(5,"c-offcanvas",4)(6,"c-offcanvas-header")(7,"h5",5),a(8,"Offcanvas"),t(),r(9,"button",6),t(),e(10,"c-offcanvas-body")(11,"c-navbar-nav",7)(12,"c-nav-item")(13,"a",8),a(14,"Home"),t()(),e(15,"c-nav-item")(16,"a",9),a(17,"Link"),t()(),e(18,"c-dropdown",10)(19,"a",11),a(20,"Dropdown"),t(),e(21,"ul",12)(22,"li")(23,"button",13),a(24,"Action"),t()(),e(25,"li")(26,"button",13),a(27,"Another action"),t()(),r(28,"li",14),e(29,"li")(30,"button",13),a(31,"Something else here"),t()()()()(),e(32,"form",15),r(33,"input",16),e(34,"button",17),a(35,"Search"),t()()()()()()),o&2&&(l(13),c("active",!0),l(5),c("popper",!1))},dependencies:[v,d,b,P,S,O,H,z,R,A,D,F,N,B,M,_,$,J,E,T,w],encapsulation:2});let i=n;return i})();var ne=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar27"]],standalone:!0,features:[s],decls:36,vars:1,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cOffcanvasToggle","OffcanvasSidebar",3,"cNavbarToggler"],["placement","end","id","OffcanvasSidebar"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasSidebar","aria-label","Close",1,"text-reset"],["cNavLink","","active",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem",""],["cNavLink","","disabled",""],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1),r(2,"button",2),e(3,"c-offcanvas",3)(4,"c-offcanvas-header")(5,"h5",4),a(6,"Offcanvas"),t(),r(7,"button",5),t(),e(8,"c-offcanvas-body")(9,"c-navbar-nav")(10,"c-nav-item")(11,"a",6),a(12,"Home"),t()(),e(13,"c-nav-item")(14,"a",7),a(15,"Link"),t()(),e(16,"c-dropdown",8)(17,"a",9),a(18,"Dropdown"),t(),e(19,"ul",10)(20,"li")(21,"button",11),a(22,"Action"),t()(),e(23,"li")(24,"button",11),a(25,"Another action"),t()(),e(26,"li")(27,"button",11),a(28,"Something else here"),t()()()(),e(29,"c-nav-item")(30,"a",12),a(31,"Disabled"),t()()(),e(32,"form",13),r(33,"input",14),e(34,"button",15),a(35,"Search"),t()()()()()()),o&2&&(l(16),c("popper",!1))},dependencies:[v,d,P,S,O,H,z,R,A,D,F,N,B,M,_,$,E,T,w],encapsulation:2});let i=n;return i})();var ae=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar26"]],standalone:!0,features:[s],decls:10,vars:1,consts:[["collapseRef","cCollapse"],["navbar","","cCollapse",""],[1,"bg-dark","p-4"],["classN","text-white h4"],[1,"text-medium-emphasis-inverse"],["colorScheme","dark",1,"bg-dark"],["fluid",""],[3,"cNavbarToggler"]],template:function(o,f){if(o&1&&(e(0,"div",1,0)(2,"div",2)(3,"h5",3),a(4,"Collapsed content"),t(),e(5,"span",4),a(6,"Toggleable via the navbar brand."),t()()(),e(7,"c-navbar",5)(8,"c-container",6),r(9,"button",7),t()()),o&2){let k=C(1);l(9),c("cNavbarToggler",k)}},dependencies:[y,v,d,S],encapsulation:2});let i=n;return i})();var ie=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar25"]],standalone:!0,features:[s],decls:21,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],[3,"cNavbarToggler"],["cNavbarBrand",""],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2),r(2,"button",3),e(3,"a",4),a(4," Navbar "),t(),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-nav-item")(15,"a",9),a(16,"Disabled"),t()()(),e(17,"form",10),r(18,"input",11),e(19,"button",12),a(20,"Search"),t()()()()()),o&2){let k=C(6);l(2),c("cNavbarToggler",k)}},dependencies:[v,d,S,b,y,D,F,N,E,T,w],encapsulation:2});let i=n;return i})();var oe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar24"]],standalone:!0,features:[s],decls:21,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand",""],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-nav-item")(15,"a",9),a(16,"Disabled"),t()()(),e(17,"form",10),r(18,"input",11),e(19,"button",12),a(20,"Search"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,F,N,E,T,w],encapsulation:2});let i=n;return i})();var re=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar23"]],standalone:!0,features:[s],decls:21,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],[3,"cNavbarToggler"],["navbar","","cCollapse",""],["cNavbarBrand","",1,"d-lg-block","d-none"],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2),r(2,"button",3),e(3,"div",4,0)(5,"a",5),a(6," Hidden brand "),t(),e(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-nav-item")(15,"a",9),a(16,"Disabled"),t()()(),e(17,"form",10),r(18,"input",11),e(19,"button",12),a(20,"Search"),t()()()()()),o&2){let k=C(4);l(2),c("cNavbarToggler",k)}},dependencies:[v,d,S,y,b,D,F,N,E,T,w],encapsulation:2});let i=n;return i})();var le=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar22"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],["scroll","",1,"me-auto","my-2","mb-lg-0",2,"--cui-scroll-height","80px"],["active","","cNavLink","","routerLink","./"],["cNavLink","","routerLink","./"],["cNavLink","","disabled","","routerLink","./"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"a",7),a(9,"Home"),t(),e(10,"a",8),a(11,"Features"),t(),e(12,"a",8),a(13,"Pricing"),t(),e(14,"a",9),a(15,"Disabled"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,N,L],encapsulation:2});let i=n;return i})();var ce=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar20"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","placement","sticky-top",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Sticky top"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var me=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar19"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","placement","fixed-bottom",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Fixed bottom"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var pe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar18"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","placement","fixed-top",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Fixed top"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var se=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar17"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Default"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var de=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar15"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","expand","lg",1,"bg-light"],["breakpoint","md"],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Navbar"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var ve=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar14"]],standalone:!0,features:[s],decls:5,vars:0,consts:[["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-container")(1,"c-navbar",0)(2,"c-container",1)(3,"a",2),a(4,"Navbar"),t()()()())},dependencies:[d,v,b],encapsulation:2});let i=n;return i})();var be=()=>({backgroundColor:"#e3f2fd"}),ue=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar13"]],standalone:!0,features:[s],decls:104,vars:10,consts:[["collapseRef1","cCollapse"],["collapseRef2","cCollapse"],["collapseRef3","cCollapse"],["colorScheme","dark","expand","lg",1,"bg-dark"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu","","dark",""],["cDropdownItem",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"],["colorScheme","dark","expand","lg",1,"bg-primary"],["cDropdownMenu",""],["colorScheme","light","expand","lg",3,"ngStyle"],["cDropdownMenu","",3,"ngStyle"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",3)(1,"c-container",4)(2,"a",5),a(3," Navbar "),t(),r(4,"button",6),e(5,"div",7,0)(7,"c-navbar-nav",8)(8,"c-nav-item")(9,"a",9),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",10),a(13,"Link"),t()(),e(14,"c-dropdown",11)(15,"a",12),a(16,"Dropdown"),t(),e(17,"ul",13)(18,"li")(19,"button",14),a(20,"Action"),t()(),e(21,"li")(22,"button",14),a(23,"Another action"),t()(),e(24,"li")(25,"button",14),a(26,"Something else here"),t()()()(),e(27,"c-nav-item")(28,"a",15),a(29,"Disabled"),t()()(),e(30,"form",16),r(31,"input",17),e(32,"button",18),a(33,"Search"),t()()()()(),r(34,"br"),e(35,"c-navbar",19)(36,"c-container",4)(37,"a",5),a(38," Navbar "),t(),r(39,"button",6),e(40,"div",7,1)(42,"c-navbar-nav",8)(43,"c-nav-item")(44,"a",9),a(45,"Home"),t()(),e(46,"c-nav-item")(47,"a",10),a(48,"Link"),t()(),e(49,"c-dropdown",11)(50,"a",12),a(51,"Dropdown"),t(),e(52,"ul",20)(53,"li")(54,"button",14),a(55,"Action"),t()(),e(56,"li")(57,"button",14),a(58,"Another action"),t()(),e(59,"li")(60,"button",14),a(61,"Something else here"),t()()()(),e(62,"c-nav-item")(63,"a",15),a(64,"Disabled"),t()()(),e(65,"form",16),r(66,"input",17),e(67,"button",18),a(68,"Search"),t()()()()(),r(69,"br"),e(70,"c-navbar",21)(71,"c-container",4)(72,"a",5),a(73," Navbar "),t(),r(74,"button",6),e(75,"div",7,2)(77,"c-navbar-nav",8)(78,"c-nav-item")(79,"a",9),a(80,"Home"),t()(),e(81,"c-nav-item")(82,"a",10),a(83,"Link"),t()(),e(84,"c-dropdown",11)(85,"a",12),a(86,"Dropdown"),t(),e(87,"ul",22)(88,"li")(89,"button",14),a(90,"Action"),t()(),e(91,"li")(92,"button",14),a(93,"Another action"),t()(),e(94,"li")(95,"button",14),a(96,"Something else here"),t()()()(),e(97,"c-nav-item")(98,"a",15),a(99,"Disabled"),t()()(),e(100,"form",16),r(101,"input",17),e(102,"button",18),a(103,"Search"),t()()()()()),o&2){let k=C(6),_e=C(41),Me=C(76);l(4),c("cNavbarToggler",k),l(10),c("popper",!1),l(25),c("cNavbarToggler",_e),l(10),c("popper",!1),l(21),c("ngStyle",u(8,be)),l(4),c("cNavbarToggler",Me),l(10),c("popper",!1),l(3),c("ngStyle",u(9,be))}},dependencies:[v,d,b,S,y,D,F,N,B,M,_,$,E,T,w,V],encapsulation:2});let i=n;return i})();var fe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar16"]],standalone:!0,features:[s],decls:19,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],[1,"me-auto","mb-2","mb-lg-0"],["active","","cNavLink",""],["cNavLink",""]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Features"),t()(),e(14,"c-nav-item")(15,"a",8),a(16,"Pricing"),t()()(),e(17,"c-navbar-text"),a(18,"Inline text element"),t()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,F,N,I],encapsulation:2});let i=n;return i})();var ge=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar12"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"c-navbar-text"),a(3,"Navbar text with an inline element"),t()()())},dependencies:[v,d,I],encapsulation:2});let i=n;return i})();var he=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar11"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["cContainer","","cForm","","fluid","",1,"justify-content-start"],["cButton","","color","success","variant","outline",1,"me-2"],["cButton","","color","secondary","size","sm","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"form",1)(2,"button",2),a(3,"Main button"),t(),e(4,"button",3),a(5,"Smaller button"),t()()())},dependencies:[v,E,d,w],encapsulation:2});let i=n;return i})();var xe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar10"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["cContainer","","cForm","","fluid",""],["cInputGroupText",""],["aria-label","Username","cFormControl","","placeholder","Username"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"form",1)(2,"c-input-group")(3,"span",2),a(4,"@"),t(),r(5,"input",3),t()()())},dependencies:[v,E,d,K,Q,T],encapsulation:2});let i=n;return i})();var Se=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar09"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],["cForm","","role","search",1,"d-flex"],["aria-label","Search","cFormControl","","placeholder","Search","type","search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3," Navbar "),t(),e(4,"form",3),r(5,"input",4),e(6,"button",5),a(7,"Search"),t()()()())},dependencies:[v,d,b,E,T,w]});let i=n;return i})();var Ce=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar08"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cForm","","role","search",1,"d-flex"],["aria-label","Search","cFormControl","","placeholder","Search","type","search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"form",2),r(3,"input",3),e(4,"button",4),a(5,"Search"),t()()()())},dependencies:[v,d,E,T,w]});let i=n;return i})();var Ne=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar07"]],standalone:!0,features:[s],decls:27,vars:2,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],[1,"me-auto","mb-2","mb-lg-0"],["active","","cNavLink",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem",""]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Features"),t()(),e(14,"c-nav-item")(15,"a",8),a(16,"Pricing"),t()(),e(17,"c-dropdown",9)(18,"a",10),a(19,"Dropdown"),t(),e(20,"div",11)(21,"button",12),a(22,"Action"),t(),e(23,"button",12),a(24,"Another action"),t(),e(25,"button",12),a(26,"Something else here"),t()()()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k),l(13),c("popper",!1)}},dependencies:[v,d,b,S,y,D,F,N,B,M,_,$]});let i=n;return i})();var De=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar06"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],[1,"me-auto","mb-2","mb-lg-0"],["active","","cNavLink","","routerLink","./"],["cNavLink","","routerLink","./"],["cNavLink","","disabled","","routerLink","./"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"a",7),a(9,"Home"),t(),e(10,"a",8),a(11,"Features"),t(),e(12,"a",8),a(13,"Pricing"),t(),e(14,"a",9),a(15,"Disabled"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,N,L]});let i=n;return i})();var ye=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar05"]],standalone:!0,features:[s],decls:20,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled",""]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Features"),t()(),e(14,"c-nav-item")(15,"a",8),a(16,"Pricing"),t()(),e(17,"c-nav-item")(18,"a",9),a(19,"Disabled"),t()()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,F,N]});let i=n;return i})();var Ee=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar04"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""],["src","./assets/img/brand/coreui-signet.svg","alt","","width","22","height","24"],[1,"align-middle","ms-2"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),r(3,"img",3),e(4,"span",4),a(5,"CoreUI"),t()()()())},dependencies:[v,d,b]});let i=n;return i})();var ke=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar03"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""],["src","./assets/img/brand/coreui-signet.svg","alt","","width","22","height","24"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),r(3,"img",3),t()()())},dependencies:[v,d,b]});let i=n;return i})();var we=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar02"]],standalone:!0,features:[s],decls:9,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""],["cNavbarBrand","",1,"mb-0","h1"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Navbar"),t()()(),r(4,"br"),e(5,"c-navbar",0)(6,"c-container",1)(7,"a",3),a(8,"Navbar"),t()()())},dependencies:[v,d,b]});let i=n;return i})();var Te=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar01"]],standalone:!0,features:[s],decls:34,vars:2,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-dropdown",9)(15,"a",10),a(16,"Dropdown"),t(),e(17,"ul",11)(18,"li")(19,"button",12),a(20,"Action"),t()(),e(21,"li")(22,"button",12),a(23,"Another action"),t()(),e(24,"li")(25,"button",12),a(26,"Something else here"),t()()()(),e(27,"c-nav-item")(28,"a",13),a(29,"Disabled"),t()()(),e(30,"form",14),r(31,"input",15),e(32,"button",16),a(33,"Search"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k),l(10),c("popper",!1)}},dependencies:[v,d,b,S,y,D,F,N,B,M,_,$,E,T,w]});let i=n;return i})();var Fe=`\`\`\`typescript +import{a as O,b as A,c as H,d as z,e as P}from"./chunk-EFGOJAMD.js";import{a as v,b,c as D,d as I,e as S}from"./chunk-67N6BHTF.js";import"./chunk-5TFAQITA.js";import{a as y}from"./chunk-2RE6QDUT.js";import{a as E,c as K,i as T,l as Q}from"./chunk-ZGGOM75Q.js";import{a as N,b as F}from"./chunk-MD5QD7EN.js";import{i as L}from"./chunk-FULSUUPP.js";import{a as J,c as _,d as M,e as B,f as $}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as w,b as R}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{a as d}from"./chunk-PZ32EFID.js";import{g as ee}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as Z}from"./chunk-MH6VOBXJ.js";import{r as X}from"./chunk-Q5WIR6QR.js";import{c as W,d as Y}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{s as V}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Ac as C,Bc as a,Cc as q,Dc as U,Jb as g,Jc as G,Oc as s,Pc as u,Qb as c,_c as h,ac as t,bc as r,lb as l,mb as j,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var te=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar28"]],standalone:!0,features:[s],decls:36,vars:2,consts:[["colorScheme","dark","expand","xl","placement","fixed-top",1,"bg-dark"],["fluid",""],["cNavbarBrand",""],["cOffcanvasToggle","OffcanvasSidebarDark",3,"cNavbarToggler"],["placement","end","id","OffcanvasSidebarDark","tabindex","-1",1,"text-bg-dark"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasSidebarDark","aria-label","Close","white","",1,"text-reset"],[1,"justify-content-end","flex-grow-1","pe-3"],["cNavLink","",3,"active"],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu","","dark",""],["cDropdownItem",""],["cDropdownDivider",""],["cForm","","role","search",1,"d-flex","mt-lg-3","mt-xl-0"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3," Offcanvas navbar dark "),t(),r(4,"button",3),e(5,"c-offcanvas",4)(6,"c-offcanvas-header")(7,"h5",5),a(8,"Offcanvas"),t(),r(9,"button",6),t(),e(10,"c-offcanvas-body")(11,"c-navbar-nav",7)(12,"c-nav-item")(13,"a",8),a(14,"Home"),t()(),e(15,"c-nav-item")(16,"a",9),a(17,"Link"),t()(),e(18,"c-dropdown",10)(19,"a",11),a(20,"Dropdown"),t(),e(21,"ul",12)(22,"li")(23,"button",13),a(24,"Action"),t()(),e(25,"li")(26,"button",13),a(27,"Another action"),t()(),r(28,"li",14),e(29,"li")(30,"button",13),a(31,"Something else here"),t()()()()(),e(32,"form",15),r(33,"input",16),e(34,"button",17),a(35,"Search"),t()()()()()()),o&2&&(l(13),c("active",!0),l(5),c("popper",!1))},dependencies:[v,d,b,P,S,O,H,z,R,A,D,F,N,B,M,_,$,J,E,T,w],encapsulation:2});let i=n;return i})();var ne=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar27"]],standalone:!0,features:[s],decls:36,vars:1,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cOffcanvasToggle","OffcanvasSidebar",3,"cNavbarToggler"],["placement","end","id","OffcanvasSidebar"],["cOffcanvasTitle",""],["cButtonClose","","cOffcanvasToggle","OffcanvasSidebar","aria-label","Close",1,"text-reset"],["cNavLink","","active",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem",""],["cNavLink","","disabled",""],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1),r(2,"button",2),e(3,"c-offcanvas",3)(4,"c-offcanvas-header")(5,"h5",4),a(6,"Offcanvas"),t(),r(7,"button",5),t(),e(8,"c-offcanvas-body")(9,"c-navbar-nav")(10,"c-nav-item")(11,"a",6),a(12,"Home"),t()(),e(13,"c-nav-item")(14,"a",7),a(15,"Link"),t()(),e(16,"c-dropdown",8)(17,"a",9),a(18,"Dropdown"),t(),e(19,"ul",10)(20,"li")(21,"button",11),a(22,"Action"),t()(),e(23,"li")(24,"button",11),a(25,"Another action"),t()(),e(26,"li")(27,"button",11),a(28,"Something else here"),t()()()(),e(29,"c-nav-item")(30,"a",12),a(31,"Disabled"),t()()(),e(32,"form",13),r(33,"input",14),e(34,"button",15),a(35,"Search"),t()()()()()()),o&2&&(l(16),c("popper",!1))},dependencies:[v,d,P,S,O,H,z,R,A,D,F,N,B,M,_,$,E,T,w],encapsulation:2});let i=n;return i})();var ae=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar26"]],standalone:!0,features:[s],decls:10,vars:1,consts:[["collapseRef","cCollapse"],["navbar","","cCollapse",""],[1,"bg-dark","p-4"],["classN","text-white h4"],[1,"text-medium-emphasis-inverse"],["colorScheme","dark",1,"bg-dark"],["fluid",""],[3,"cNavbarToggler"]],template:function(o,f){if(o&1&&(e(0,"div",1,0)(2,"div",2)(3,"h5",3),a(4,"Collapsed content"),t(),e(5,"span",4),a(6,"Toggleable via the navbar brand."),t()()(),e(7,"c-navbar",5)(8,"c-container",6),r(9,"button",7),t()()),o&2){let k=C(1);l(9),c("cNavbarToggler",k)}},dependencies:[y,v,d,S],encapsulation:2});let i=n;return i})();var ie=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar25"]],standalone:!0,features:[s],decls:21,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],[3,"cNavbarToggler"],["cNavbarBrand",""],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2),r(2,"button",3),e(3,"a",4),a(4," Navbar "),t(),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-nav-item")(15,"a",9),a(16,"Disabled"),t()()(),e(17,"form",10),r(18,"input",11),e(19,"button",12),a(20,"Search"),t()()()()()),o&2){let k=C(6);l(2),c("cNavbarToggler",k)}},dependencies:[v,d,S,b,y,D,F,N,E,T,w],encapsulation:2});let i=n;return i})();var oe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar24"]],standalone:!0,features:[s],decls:21,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand",""],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-nav-item")(15,"a",9),a(16,"Disabled"),t()()(),e(17,"form",10),r(18,"input",11),e(19,"button",12),a(20,"Search"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,F,N,E,T,w],encapsulation:2});let i=n;return i})();var re=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar23"]],standalone:!0,features:[s],decls:21,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],[3,"cNavbarToggler"],["navbar","","cCollapse",""],["cNavbarBrand","",1,"d-lg-block","d-none"],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2),r(2,"button",3),e(3,"div",4,0)(5,"a",5),a(6," Hidden brand "),t(),e(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-nav-item")(15,"a",9),a(16,"Disabled"),t()()(),e(17,"form",10),r(18,"input",11),e(19,"button",12),a(20,"Search"),t()()()()()),o&2){let k=C(4);l(2),c("cNavbarToggler",k)}},dependencies:[v,d,S,y,b,D,F,N,E,T,w],encapsulation:2});let i=n;return i})();var le=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar22"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],["scroll","",1,"me-auto","my-2","mb-lg-0",2,"--cui-scroll-height","80px"],["active","","cNavLink","","routerLink","./"],["cNavLink","","routerLink","./"],["cNavLink","","disabled","","routerLink","./"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"a",7),a(9,"Home"),t(),e(10,"a",8),a(11,"Features"),t(),e(12,"a",8),a(13,"Pricing"),t(),e(14,"a",9),a(15,"Disabled"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,N,L],encapsulation:2});let i=n;return i})();var ce=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar20"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","placement","sticky-top",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Sticky top"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var me=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar19"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","placement","fixed-bottom",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Fixed bottom"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var pe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar18"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","placement","fixed-top",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Fixed top"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var se=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar17"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Default"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var de=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar15"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light","expand","lg",1,"bg-light"],["breakpoint","md"],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Navbar"),t()()())},dependencies:[v,d,b],encapsulation:2});let i=n;return i})();var ve=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar14"]],standalone:!0,features:[s],decls:5,vars:0,consts:[["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand",""]],template:function(o,f){o&1&&(e(0,"c-container")(1,"c-navbar",0)(2,"c-container",1)(3,"a",2),a(4,"Navbar"),t()()()())},dependencies:[d,v,b],encapsulation:2});let i=n;return i})();var be=()=>({backgroundColor:"#e3f2fd"}),ue=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar13"]],standalone:!0,features:[s],decls:104,vars:10,consts:[["collapseRef1","cCollapse"],["collapseRef2","cCollapse"],["collapseRef3","cCollapse"],["colorScheme","dark","expand","lg",1,"bg-dark"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu","","dark",""],["cDropdownItem",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"],["colorScheme","dark","expand","lg",1,"bg-primary"],["cDropdownMenu",""],["colorScheme","light","expand","lg",3,"ngStyle"],["cDropdownMenu","",3,"ngStyle"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",3)(1,"c-container",4)(2,"a",5),a(3," Navbar "),t(),r(4,"button",6),e(5,"div",7,0)(7,"c-navbar-nav",8)(8,"c-nav-item")(9,"a",9),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",10),a(13,"Link"),t()(),e(14,"c-dropdown",11)(15,"a",12),a(16,"Dropdown"),t(),e(17,"ul",13)(18,"li")(19,"button",14),a(20,"Action"),t()(),e(21,"li")(22,"button",14),a(23,"Another action"),t()(),e(24,"li")(25,"button",14),a(26,"Something else here"),t()()()(),e(27,"c-nav-item")(28,"a",15),a(29,"Disabled"),t()()(),e(30,"form",16),r(31,"input",17),e(32,"button",18),a(33,"Search"),t()()()()(),r(34,"br"),e(35,"c-navbar",19)(36,"c-container",4)(37,"a",5),a(38," Navbar "),t(),r(39,"button",6),e(40,"div",7,1)(42,"c-navbar-nav",8)(43,"c-nav-item")(44,"a",9),a(45,"Home"),t()(),e(46,"c-nav-item")(47,"a",10),a(48,"Link"),t()(),e(49,"c-dropdown",11)(50,"a",12),a(51,"Dropdown"),t(),e(52,"ul",20)(53,"li")(54,"button",14),a(55,"Action"),t()(),e(56,"li")(57,"button",14),a(58,"Another action"),t()(),e(59,"li")(60,"button",14),a(61,"Something else here"),t()()()(),e(62,"c-nav-item")(63,"a",15),a(64,"Disabled"),t()()(),e(65,"form",16),r(66,"input",17),e(67,"button",18),a(68,"Search"),t()()()()(),r(69,"br"),e(70,"c-navbar",21)(71,"c-container",4)(72,"a",5),a(73," Navbar "),t(),r(74,"button",6),e(75,"div",7,2)(77,"c-navbar-nav",8)(78,"c-nav-item")(79,"a",9),a(80,"Home"),t()(),e(81,"c-nav-item")(82,"a",10),a(83,"Link"),t()(),e(84,"c-dropdown",11)(85,"a",12),a(86,"Dropdown"),t(),e(87,"ul",22)(88,"li")(89,"button",14),a(90,"Action"),t()(),e(91,"li")(92,"button",14),a(93,"Another action"),t()(),e(94,"li")(95,"button",14),a(96,"Something else here"),t()()()(),e(97,"c-nav-item")(98,"a",15),a(99,"Disabled"),t()()(),e(100,"form",16),r(101,"input",17),e(102,"button",18),a(103,"Search"),t()()()()()),o&2){let k=C(6),_e=C(41),Me=C(76);l(4),c("cNavbarToggler",k),l(10),c("popper",!1),l(25),c("cNavbarToggler",_e),l(10),c("popper",!1),l(21),c("ngStyle",u(8,be)),l(4),c("cNavbarToggler",Me),l(10),c("popper",!1),l(3),c("ngStyle",u(9,be))}},dependencies:[v,d,b,S,y,D,F,N,B,M,_,$,E,T,w,V],encapsulation:2});let i=n;return i})();var fe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar16"]],standalone:!0,features:[s],decls:19,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],[1,"me-auto","mb-2","mb-lg-0"],["active","","cNavLink",""],["cNavLink",""]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Features"),t()(),e(14,"c-nav-item")(15,"a",8),a(16,"Pricing"),t()()(),e(17,"c-navbar-text"),a(18,"Inline text element"),t()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,F,N,I],encapsulation:2});let i=n;return i})();var ge=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar12"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"c-navbar-text"),a(3,"Navbar text with an inline element"),t()()())},dependencies:[v,d,I],encapsulation:2});let i=n;return i})();var he=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar11"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["cContainer","","cForm","","fluid","",1,"justify-content-start"],["cButton","","color","success","variant","outline",1,"me-2"],["cButton","","color","secondary","size","sm","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"form",1)(2,"button",2),a(3,"Main button"),t(),e(4,"button",3),a(5,"Smaller button"),t()()())},dependencies:[v,E,d,w],encapsulation:2});let i=n;return i})();var xe=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar10"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["cContainer","","cForm","","fluid",""],["cInputGroupText",""],["aria-label","Username","cFormControl","","placeholder","Username"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"form",1)(2,"c-input-group")(3,"span",2),a(4,"@"),t(),r(5,"input",3),t()()())},dependencies:[v,E,d,K,Q,T],encapsulation:2});let i=n;return i})();var Se=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar09"]],standalone:!0,features:[s],decls:8,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],["cForm","","role","search",1,"d-flex"],["aria-label","Search","cFormControl","","placeholder","Search","type","search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3," Navbar "),t(),e(4,"form",3),r(5,"input",4),e(6,"button",5),a(7,"Search"),t()()()())},dependencies:[v,d,b,E,T,w]});let i=n;return i})();var Ce=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar08"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cForm","","role","search",1,"d-flex"],["aria-label","Search","cFormControl","","placeholder","Search","type","search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"form",2),r(3,"input",3),e(4,"button",4),a(5,"Search"),t()()()())},dependencies:[v,d,E,T,w]});let i=n;return i})();var Ne=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar07"]],standalone:!0,features:[s],decls:27,vars:2,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],[1,"me-auto","mb-2","mb-lg-0"],["active","","cNavLink",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem",""]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Features"),t()(),e(14,"c-nav-item")(15,"a",8),a(16,"Pricing"),t()(),e(17,"c-dropdown",9)(18,"a",10),a(19,"Dropdown"),t(),e(20,"div",11)(21,"button",12),a(22,"Action"),t(),e(23,"button",12),a(24,"Another action"),t(),e(25,"button",12),a(26,"Something else here"),t()()()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k),l(13),c("popper",!1)}},dependencies:[v,d,b,S,y,D,F,N,B,M,_,$]});let i=n;return i})();var De=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar06"]],standalone:!0,features:[s],decls:16,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["cCollapse","","navbar",""],[1,"me-auto","mb-2","mb-lg-0"],["active","","cNavLink","","routerLink","./"],["cNavLink","","routerLink","./"],["cNavLink","","disabled","","routerLink","./"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"a",7),a(9,"Home"),t(),e(10,"a",8),a(11,"Features"),t(),e(12,"a",8),a(13,"Pricing"),t(),e(14,"a",9),a(15,"Disabled"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,N,L]});let i=n;return i})();var ye=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar05"]],standalone:!0,features:[s],decls:20,vars:1,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["cNavLink","","disabled",""]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Features"),t()(),e(14,"c-nav-item")(15,"a",8),a(16,"Pricing"),t()(),e(17,"c-nav-item")(18,"a",9),a(19,"Disabled"),t()()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k)}},dependencies:[v,d,b,S,y,D,F,N]});let i=n;return i})();var Ee=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar04"]],standalone:!0,features:[s],decls:6,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""],["src","./assets/img/brand/coreui-signet.svg","alt","","width","22","height","24"],[1,"align-middle","ms-2"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),r(3,"img",3),e(4,"span",4),a(5,"CoreUI"),t()()()())},dependencies:[v,d,b]});let i=n;return i})();var ke=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar03"]],standalone:!0,features:[s],decls:4,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""],["src","./assets/img/brand/coreui-signet.svg","alt","","width","22","height","24"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),r(3,"img",3),t()()())},dependencies:[v,d,b]});let i=n;return i})();var we=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar02"]],standalone:!0,features:[s],decls:9,vars:0,consts:[["colorScheme","light",1,"bg-light"],["fluid",""],["cNavbarBrand",""],["cNavbarBrand","",1,"mb-0","h1"]],template:function(o,f){o&1&&(e(0,"c-navbar",0)(1,"c-container",1)(2,"a",2),a(3,"Navbar"),t()()(),r(4,"br"),e(5,"c-navbar",0)(6,"c-container",1)(7,"a",3),a(8,"Navbar"),t()()())},dependencies:[v,d,b]});let i=n;return i})();var Te=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=p({type:n,selectors:[["docs-navbar01"]],standalone:!0,features:[s],decls:34,vars:2,consts:[["collapseRef","cCollapse"],["colorScheme","light","expand","lg",1,"bg-light"],["fluid",""],["cNavbarBrand","","href","https://coreui.io/angular/","target","_blank"],[3,"cNavbarToggler"],["navbar","","cCollapse",""],[1,"me-auto","mb-2","mb-lg-0"],["cNavLink","","active",""],["cNavLink",""],["variant","nav-item",3,"popper"],["cDropdownToggle","","cNavLink",""],["cDropdownMenu",""],["cDropdownItem",""],["cNavLink","","disabled","",1,"d-block","d-lg-none","d-xl-block"],["cForm","","role","search",1,"d-flex"],["cFormControl","","type","search","placeholder","Search","aria-label","Search",1,"me-2"],["cButton","","color","success","variant","outline"]],template:function(o,f){if(o&1&&(e(0,"c-navbar",1)(1,"c-container",2)(2,"a",3),a(3," Navbar "),t(),r(4,"button",4),e(5,"div",5,0)(7,"c-navbar-nav",6)(8,"c-nav-item")(9,"a",7),a(10,"Home"),t()(),e(11,"c-nav-item")(12,"a",8),a(13,"Link"),t()(),e(14,"c-dropdown",9)(15,"a",10),a(16,"Dropdown"),t(),e(17,"ul",11)(18,"li")(19,"button",12),a(20,"Action"),t()(),e(21,"li")(22,"button",12),a(23,"Another action"),t()(),e(24,"li")(25,"button",12),a(26,"Something else here"),t()()()(),e(27,"c-nav-item")(28,"a",13),a(29,"Disabled"),t()()(),e(30,"form",14),r(31,"input",15),e(32,"button",16),a(33,"Search"),t()()()()()),o&2){let k=C(6);l(4),c("cNavbarToggler",k),l(10),c("popper",!1)}},dependencies:[v,d,b,S,y,D,F,N,B,M,_,$,E,T,w]});let i=n;return i})();var Fe=`\`\`\`typescript import { NavbarModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-4Z7JYQH5.js b/angular/docs/chunk-UMPUJRDC.js similarity index 93% rename from angular/docs/chunk-4Z7JYQH5.js rename to angular/docs/chunk-UMPUJRDC.js index 421e2e01991..c1d38473321 100644 --- a/angular/docs/chunk-4Z7JYQH5.js +++ b/angular/docs/chunk-UMPUJRDC.js @@ -1,4 +1,4 @@ -import{g as E}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-SWYVARVN.js";import{r as w}from"./chunk-JJFVMVK7.js";import{c as D,d as M}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as o,Bc as d,Cc as x,Dc as b,Gb as y,Oc as s,Pc as g,Qb as u,Tb as C,Ub as S,ac as a,bc as r,lb as p,mb as v,na as m,nd as h,pa as I}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var l=(()=>{let e=class e{constructor(){this.align="",this.fluid=!1,this.rounded=!1,this.thumbnail=!1,this.placeholderColor="transparent"}get getStyles(){return{backgroundColor:this.placeholderColor}}get hostClasses(){let i=this.align;return{[`float-${i}`]:i==="start"||i==="end","d-block":i==="center","mx-auto":i==="center","img-fluid":this.fluid,rounded:this.rounded,"img-thumbnail":this.thumbnail}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=I({type:e,selectors:[["","cImg",""]],hostVars:4,hostBindings:function(t,c){t&2&&(C(c.getStyles),S(c.hostClasses))},inputs:{align:"align",fluid:[2,"fluid","fluid",h],rounded:[2,"rounded","rounded",h],thumbnail:[2,"thumbnail","thumbnail",h],placeholderColor:"placeholderColor"},standalone:!0,features:[y]});let n=e;return n})();var T=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image05-example"]],standalone:!0,features:[s],decls:2,vars:0,consts:[[1,"text-center"],["cImg","","height","200","src","assets/img/angular400.jpg","width","200"]],template:function(t,c){t&1&&(o(0,"div",0),r(1,"img",1),a())},dependencies:[l],encapsulation:2});let n=e;return n})();var j=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image04-example"]],standalone:!0,features:[s],decls:2,vars:0,consts:[[1,"clearfix"],["cImg","","align","center","height","200","rounded","","src","assets/img/angular400.jpg","width","200"]],template:function(t,c){t&1&&(o(0,"div",0),r(1,"img",1),a())},dependencies:[l],encapsulation:2});let n=e;return n})();var k=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image03-example"]],standalone:!0,features:[s],decls:3,vars:1,consts:[[1,"clearfix"],["cImg","","align","start","height","200","rounded","","src","assets/img/angular400.jpg","width","200"],["cImg","","align","end","src","assets/img/angular400.jpg","width","200",3,"rounded"]],template:function(t,c){t&1&&(o(0,"div",0),r(1,"img",1)(2,"img",2),a()),t&2&&(p(2),u("rounded",!0))},dependencies:[l],encapsulation:2});let n=e;return n})();var A=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image06-example"]],standalone:!0,features:[s],decls:2,vars:0,consts:[["cImg","","rounded","","src","assets/img/angular400.jpg","height","200"],["cImg","","src","assets/img/angular400.jpg","height","200"]],template:function(t,c){t&1&&r(0,"img",0)(1,"img",1)},dependencies:[l],encapsulation:2});let n=e;return n})();var B=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image02-example"]],standalone:!0,features:[s],decls:1,vars:0,consts:[["cImg","","height","200","rounded","","src","assets/img/angular400.jpg","thumbnail","","width","200"]],template:function(t,c){t&1&&r(0,"img",0)},dependencies:[l],encapsulation:2});let n=e;return n})();var G=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image01-example"]],standalone:!0,features:[s],decls:1,vars:0,consts:[["cImg","","fluid","","src","assets/img/angular.jpg"]],template:function(t,c){t&1&&r(0,"img",0)},dependencies:[l],encapsulation:2});let n=e;return n})();var H=`\`\`\`typescript +import{g as E}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-MH6VOBXJ.js";import{r as w}from"./chunk-Q5WIR6QR.js";import{c as D,d as M}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as o,Bc as d,Cc as x,Dc as b,Gb as y,Oc as s,Pc as g,Qb as u,Tb as C,Ub as S,ac as a,bc as r,lb as p,mb as v,na as m,nd as h,pa as I}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var l=(()=>{let e=class e{constructor(){this.align="",this.fluid=!1,this.rounded=!1,this.thumbnail=!1,this.placeholderColor="transparent"}get getStyles(){return{backgroundColor:this.placeholderColor}}get hostClasses(){let i=this.align;return{[`float-${i}`]:i==="start"||i==="end","d-block":i==="center","mx-auto":i==="center","img-fluid":this.fluid,rounded:this.rounded,"img-thumbnail":this.thumbnail}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=I({type:e,selectors:[["","cImg",""]],hostVars:4,hostBindings:function(t,c){t&2&&(C(c.getStyles),S(c.hostClasses))},inputs:{align:"align",fluid:[2,"fluid","fluid",h],rounded:[2,"rounded","rounded",h],thumbnail:[2,"thumbnail","thumbnail",h],placeholderColor:"placeholderColor"},standalone:!0,features:[y]});let n=e;return n})();var T=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image05-example"]],standalone:!0,features:[s],decls:2,vars:0,consts:[[1,"text-center"],["cImg","","height","200","src","assets/img/angular400.jpg","width","200"]],template:function(t,c){t&1&&(o(0,"div",0),r(1,"img",1),a())},dependencies:[l],encapsulation:2});let n=e;return n})();var j=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image04-example"]],standalone:!0,features:[s],decls:2,vars:0,consts:[[1,"clearfix"],["cImg","","align","center","height","200","rounded","","src","assets/img/angular400.jpg","width","200"]],template:function(t,c){t&1&&(o(0,"div",0),r(1,"img",1),a())},dependencies:[l],encapsulation:2});let n=e;return n})();var k=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image03-example"]],standalone:!0,features:[s],decls:3,vars:1,consts:[[1,"clearfix"],["cImg","","align","start","height","200","rounded","","src","assets/img/angular400.jpg","width","200"],["cImg","","align","end","src","assets/img/angular400.jpg","width","200",3,"rounded"]],template:function(t,c){t&1&&(o(0,"div",0),r(1,"img",1)(2,"img",2),a()),t&2&&(p(2),u("rounded",!0))},dependencies:[l],encapsulation:2});let n=e;return n})();var A=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image06-example"]],standalone:!0,features:[s],decls:2,vars:0,consts:[["cImg","","rounded","","src","assets/img/angular400.jpg","height","200"],["cImg","","src","assets/img/angular400.jpg","height","200"]],template:function(t,c){t&1&&r(0,"img",0)(1,"img",1)},dependencies:[l],encapsulation:2});let n=e;return n})();var B=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image02-example"]],standalone:!0,features:[s],decls:1,vars:0,consts:[["cImg","","height","200","rounded","","src","assets/img/angular400.jpg","thumbnail","","width","200"]],template:function(t,c){t&1&&r(0,"img",0)},dependencies:[l],encapsulation:2});let n=e;return n})();var G=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["docs-image01-example"]],standalone:!0,features:[s],decls:1,vars:0,consts:[["cImg","","fluid","","src","assets/img/angular.jpg"]],template:function(t,c){t&1&&r(0,"img",0)},dependencies:[l],encapsulation:2});let n=e;return n})();var H=`\`\`\`typescript import { ImgModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-6LVDLBAV.js b/angular/docs/chunk-UTYOX56O.js similarity index 53% rename from angular/docs/chunk-6LVDLBAV.js rename to angular/docs/chunk-UTYOX56O.js index f609f0331a6..35ae296e49b 100644 --- a/angular/docs/chunk-6LVDLBAV.js +++ b/angular/docs/chunk-UTYOX56O.js @@ -1 +1 @@ -import"./chunk-MGAX33HK.js";var e=[{path:"",data:{title:"Forms"},children:[{path:"",redirectTo:"overview",pathMatch:"full"},{path:"overview",loadComponent:()=>import("./chunk-Y6X7IJBC.js").then(t=>t.OverviewComponent),data:{label:"Overview"},title:"Overview"},{path:"date-picker",loadComponent:()=>import("./chunk-DJZIKNDB.js").then(t=>t.DatePickerDocsComponent),data:{label:"Date Picker"},title:"Date Picker"},{path:"date-range-picker",loadComponent:()=>import("./chunk-OITPDOPG.js").then(t=>t.DateRangePickerDocsComponent),data:{label:"Date Range Picker"},title:"Date Range Picker"},{path:"time-picker",loadComponent:()=>import("./chunk-AB5TQEUM.js").then(t=>t.TimePickerDocsComponent),data:{label:"Time Picker"},title:"Time Picker"},{path:"form-control",loadComponent:()=>import("./chunk-P6SKLEO5.js").then(t=>t.FormControlDocsComponent),data:{label:"Form Control"},title:"Form Control"},{path:"select",loadComponent:()=>import("./chunk-RQ6PCMUV.js").then(t=>t.SelectDocsComponent),data:{label:"Select"},title:"Select"},{path:"multi-select",loadComponent:()=>import("./chunk-HB22SVXB.js").then(t=>t.MultiSelectDocsComponent),data:{label:"Multi Select"},title:"Multi Select"},{path:"checks-radios",loadComponent:()=>import("./chunk-CXFKW4WM.js").then(t=>t.ChecksRadiosDocsComponent),data:{title:"Checks & Radios"},title:"Checks & Radios"},{path:"range",loadComponent:()=>import("./chunk-FGE5YXHA.js").then(t=>t.RangeDocsComponent),data:{label:"Range"},title:"Range"},{path:"input-group",loadComponent:()=>import("./chunk-XWMMBTWU.js").then(t=>t.InputGroupDocsComponent),data:{label:"Input Group"},title:"Input Group"},{path:"floating-labels",loadComponent:()=>import("./chunk-2TZWKA5L.js").then(t=>t.FloatingLabelsDocsComponent),data:{label:"Floating Labels"},title:"Floating Labels"},{path:"layout",loadComponent:()=>import("./chunk-RIELJY7H.js").then(t=>t.LayoutDocsComponent),data:{label:"Layout"},title:"Layout"},{path:"validation",loadComponent:()=>import("./chunk-OC4L7NU7.js").then(t=>t.ValidationDocsComponent),data:{label:"Validation"},title:"Validation"},{path:"rating",loadComponent:()=>import("./chunk-Y6WUDGUL.js").then(t=>t.RatingDocsComponent),data:{label:"Rating"},title:"Rating"}]}];export{e as routes}; +import"./chunk-MGAX33HK.js";var e=[{path:"",data:{title:"Forms"},children:[{path:"",redirectTo:"overview",pathMatch:"full"},{path:"overview",loadComponent:()=>import("./chunk-YBCST65W.js").then(t=>t.OverviewComponent),data:{label:"Overview"},title:"Overview"},{path:"date-picker",loadComponent:()=>import("./chunk-GPCZCGBN.js").then(t=>t.DatePickerDocsComponent),data:{label:"Date Picker"},title:"Date Picker"},{path:"date-range-picker",loadComponent:()=>import("./chunk-YZGUR6JB.js").then(t=>t.DateRangePickerDocsComponent),data:{label:"Date Range Picker"},title:"Date Range Picker"},{path:"time-picker",loadComponent:()=>import("./chunk-M567KFRF.js").then(t=>t.TimePickerDocsComponent),data:{label:"Time Picker"},title:"Time Picker"},{path:"form-control",loadComponent:()=>import("./chunk-LD6EGWNL.js").then(t=>t.FormControlDocsComponent),data:{label:"Form Control"},title:"Form Control"},{path:"select",loadComponent:()=>import("./chunk-7AXQ2ST3.js").then(t=>t.SelectDocsComponent),data:{label:"Select"},title:"Select"},{path:"multi-select",loadComponent:()=>import("./chunk-R5MWEJKJ.js").then(t=>t.MultiSelectDocsComponent),data:{label:"Multi Select"},title:"Multi Select"},{path:"checks-radios",loadComponent:()=>import("./chunk-LEGXD32B.js").then(t=>t.ChecksRadiosDocsComponent),data:{title:"Checks & Radios"},title:"Checks & Radios"},{path:"range",loadComponent:()=>import("./chunk-NPO6U5HQ.js").then(t=>t.RangeDocsComponent),data:{label:"Range"},title:"Range"},{path:"input-group",loadComponent:()=>import("./chunk-2VLVXBYH.js").then(t=>t.InputGroupDocsComponent),data:{label:"Input Group"},title:"Input Group"},{path:"floating-labels",loadComponent:()=>import("./chunk-CS7VAAKR.js").then(t=>t.FloatingLabelsDocsComponent),data:{label:"Floating Labels"},title:"Floating Labels"},{path:"layout",loadComponent:()=>import("./chunk-PXJBODPY.js").then(t=>t.LayoutDocsComponent),data:{label:"Layout"},title:"Layout"},{path:"validation",loadComponent:()=>import("./chunk-KSJ3YIIK.js").then(t=>t.ValidationDocsComponent),data:{label:"Validation"},title:"Validation"},{path:"rating",loadComponent:()=>import("./chunk-WGVE5UEZ.js").then(t=>t.RatingDocsComponent),data:{label:"Rating"},title:"Rating"}]}];export{e as routes}; diff --git a/angular/docs/chunk-6UB4B4QL.js b/angular/docs/chunk-UU6GLZL4.js similarity index 94% rename from angular/docs/chunk-6UB4B4QL.js rename to angular/docs/chunk-UU6GLZL4.js index 541f47836ae..37304073477 100644 --- a/angular/docs/chunk-6UB4B4QL.js +++ b/angular/docs/chunk-UU6GLZL4.js @@ -1,4 +1,4 @@ -import{a as w}from"./chunk-TUX4GOME.js";import{a as u,b as d}from"./chunk-DOUQMV72.js";import{a as F}from"./chunk-C434TJEI.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{a as N,f as z,g as P,h as O}from"./chunk-C5JPXVV5.js";import{B,b as I,e as M,f as T,m as _,q as V,r as A,z as j}from"./chunk-JZLZFTWK.js";import{i as y}from"./chunk-SPMMWGWV.js";import{a as k}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as $}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as R}from"./chunk-SWYVARVN.js";import{r as U}from"./chunk-JJFVMVK7.js";import{c as G,d as D}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{n as b}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as o,Cc as E,Dc as S,Jb as x,Oc as c,Pc as g,Qb as s,ac as t,bc as f,lb as a,mb as L,mc as C,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var H=(()=>{let i=class i{constructor(l){this.formBuilder=l,this.checkBoxes=this.formBuilder.group({one:!1,two:!1,three:!0,four:!0,five:{value:!1,disabled:!0}})}setValue(l){let n=this.checkBoxes.get(l)?.value,p=this.checkBoxes.getRawValue();p[l]=!n,this.checkBoxes.setValue(p)}logValue(){console.log(this.checkBoxes.value),this.checkBoxes.reset()}};i.\u0275fac=function(n){return new(n||i)(L(j))},i.\u0275cmp=m({type:i,selectors:[["docs-list-group12"]],standalone:!0,features:[c],decls:28,vars:2,consts:[["cForm","",3,"ngSubmit","formGroup"],["cListGroup","",3,"flush"],["cListGroupItem","","type","button",3,"click"],["cFormCheckInput","","formControlName","one","type","checkbox"],["cFormCheckLabel",""],["cListGroupItem","",2,"cursor","pointer"],["cFormCheckInput","","formControlName","two","type","checkbox"],["cListGroupItem",""],["cFormCheckInput","","formControlName","three","type","checkbox"],["cFormCheckInput","","formControlName","four","type","checkbox"],["cFormCheckInput","","formControlName","five","type","checkbox"],["cButton","","type","submit",1,"mt-3"]],template:function(n,p){n&1&&(e(0,"form",0),C("ngSubmit",function(){return p.logValue()}),e(1,"ul",1)(2,"button",2),C("click",function(){return p.setValue("one")}),e(3,"c-form-check"),f(4,"input",3),e(5,"label",4),o(6,"Cras justo odio"),t()()(),e(7,"label",5)(8,"c-form-check"),f(9,"input",6),o(10," Dapibus ac facilisis in "),t()(),e(11,"li",7)(12,"c-form-check"),f(13,"input",8),e(14,"label",4),o(15,"Morbi leo risus"),t()()(),e(16,"li",7)(17,"c-form-check"),f(18,"input",9),e(19,"label",4),o(20,"Orta ac consectetur ac"),t()()(),e(21,"li",7)(22,"c-form-check"),f(23,"input",10),e(24,"label",4),o(25,"Vestibulum at eros"),t()()()(),e(26,"button",11),o(27,"Submit"),t()()),n&2&&(s("formGroup",p.checkBoxes),a(),s("flush",!0))},dependencies:[B,_,I,M,T,V,A,N,u,d,P,O,z,k],encapsulation:2});let r=i;return r})();var W=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group11"]],standalone:!0,features:[c],decls:31,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"active","routerLink"],[1,"d-flex","w-100","justify-content-between"],[1,"mb-1"],["cListGroupItem","",3,"routerLink"],[1,"text-medium-emphasis"]],template:function(n,p){n&1&&(e(0,"div",0)(1,"a",1)(2,"div",2)(3,"h5",3),o(4,"List group item heading"),t(),e(5,"small"),o(6,"3 days ago"),t()(),e(7,"p",3),o(8," Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. "),t(),e(9,"small"),o(10,"Donec id elit non mi porta."),t()(),e(11,"a",4)(12,"div",2)(13,"h5",3),o(14,"List group item heading"),t(),e(15,"small",5),o(16,"3 days ago"),t()(),e(17,"p",3),o(18," Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. "),t(),e(19,"small",5),o(20,"Donec id elit non mi porta."),t()(),e(21,"a",4)(22,"div",2)(23,"h5",3),o(24,"List group item heading"),t(),e(25,"small",5),o(26,"3 days ago"),t()(),e(27,"p",3),o(28," Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. "),t(),e(29,"small",5),o(30,"Donec id elit non mi porta."),t()()()),n&2&&(a(),s("active",!0))},dependencies:[u,d,y],encapsulation:2});let r=i;return r})();var q=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group10"]],standalone:!0,features:[c],decls:21,vars:0,consts:[["cListGroup",""],["cListGroupItem","",1,"d-flex","justify-content-between","align-items-center"],["color","primary","shape","rounded-pill"],["cListGroupItem","","disabled","",1,"d-flex","justify-content-between","align-items-center"],["color","secondary","shape","rounded-pill"]],template:function(n,p){n&1&&(e(0,"div",0)(1,"button",1),o(2," Cras justo odio "),e(3,"c-badge",2),o(4,"14"),t()(),e(5,"button",1),o(6," Dapibus ac facilisis in "),e(7,"c-badge",2),o(8,"2"),t()(),e(9,"button",1),o(10," Morbi leo risus "),e(11,"c-badge",2),o(12,"1"),t()(),e(13,"button",1),o(14," Porta ac consectetur "),e(15,"c-badge",2),o(16,"1"),t()(),e(17,"button",3),o(18," Vestibulum at eros "),e(19,"c-badge",4),o(20,"42"),t()()())},dependencies:[u,d,F],encapsulation:2});let r=i;return r})();function re(r,i){if(r&1&&(e(0,"a",2),o(1),t()),r&2){let h=i.$implicit;s("color",h),a(),S(" A simple ",h," list group item ")}}var J=(()=>{let i=class i{constructor(){this.colors=["primary","secondary","success","danger","warning","info","light","dark"]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group09"]],standalone:!0,features:[c],decls:2,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"color","routerLink",4,"ngFor","ngForOf"],["cListGroupItem","",3,"color","routerLink"]],template:function(n,p){n&1&&(e(0,"div",0),x(1,re,2,2,"a",1),t()),n&2&&(a(),s("ngForOf",p.colors))},dependencies:[u,b,d,y],encapsulation:2});let r=i;return r})();function se(r,i){if(r&1&&(e(0,"li",2),o(1),t()),r&2){let h=i.$implicit;s("color",h),a(),S(" A simple ",h," list group item ")}}var K=(()=>{let i=class i{constructor(){this.colors=["primary","secondary","success","danger","warning","info","light","dark"]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group08"]],standalone:!0,features:[c],decls:2,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"color",4,"ngFor","ngForOf"],["cListGroupItem","",3,"color"]],template:function(n,p){n&1&&(e(0,"ul",0),x(1,se,2,2,"li",1),t()),n&2&&(a(),s("ngForOf",p.colors))},dependencies:[u,b,d],encapsulation:2});let r=i;return r})();function ae(r,i){if(r&1&&(e(0,"ul",1)(1,"li",2),o(2,"Cras justo odio"),t(),e(3,"li",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",2),o(6,"Morbi leo risus"),t()()),r&2){let h=i.$implicit;s("horizontal",h)}}var Q=(()=>{let i=class i{constructor(){this.breakpoints=[!0,"sm","md","lg","xl","xxl"]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group07"]],standalone:!0,features:[c],decls:1,vars:1,consts:[["cListGroup","","class","mb-2",3,"horizontal",4,"ngFor","ngForOf"],["cListGroup","",1,"mb-2",3,"horizontal"],["cListGroupItem",""]],template:function(n,p){n&1&&x(0,ae,7,1,"ul",0),n&2&&s("ngForOf",p.breakpoints)},dependencies:[b,u,d],encapsulation:2});let r=i;return r})();var X=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group06"]],standalone:!0,features:[c],decls:11,vars:0,consts:[["cListGroup","","flush",""],["cListGroupItem",""]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",1),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",1),o(6,"Morbi leo risus"),t(),e(7,"li",1),o(8,"Porta ac consectetur ac"),t(),e(9,"li",1),o(10,"Vestibulum at eros"),t()())},dependencies:[u,d],encapsulation:2});let r=i;return r})();var Y=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group05"]],standalone:!0,features:[c],decls:11,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"active"],["cListGroupItem",""],["cListGroupItem","","disabled",""]],template:function(n,p){n&1&&(e(0,"div",0)(1,"button",1),o(2,"Cras justo odio"),t(),e(3,"button",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"button",2),o(6,"Morbi leo risus"),t(),e(7,"button",2),o(8,"Porta ac consectetur ac"),t(),e(9,"button",3),o(10,"Vestibulum at eros"),t()()),n&2&&(a(),s("active",!0))},dependencies:[u,d],encapsulation:2});let r=i;return r})();var Z=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group04"]],standalone:!0,features:[c],decls:11,vars:2,consts:[["cListGroup",""],["cListGroupItem","",3,"routerLink","active"],["cListGroupItem","",3,"routerLink"],["cListGroupItem","",3,"routerLink","disabled"]],template:function(n,p){n&1&&(e(0,"div",0)(1,"a",1),o(2,"Cras justo odio"),t(),e(3,"a",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"a",2),o(6,"Morbi leo risus"),t(),e(7,"a",2),o(8,"Porta ac consectetur ac"),t(),e(9,"a",3),o(10,"Vestibulum at eros"),t()()),n&2&&(a(),s("active",!0),a(8),s("disabled",!0))},dependencies:[u,d,y],encapsulation:2});let r=i;return r})();var ee=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group03"]],standalone:!0,features:[c],decls:11,vars:2,consts:[["cListGroup",""],["cListGroupItem","","disabled",""],["cListGroupItem",""],["cListGroupItem","",3,"disabled"]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",3),o(6,"Morbi leo risus"),t(),e(7,"li",3),o(8,"Porta ac consectetur ac"),t(),e(9,"li",2),o(10,"Vestibulum at eros"),t()()),n&2&&(a(5),s("disabled",!0),a(2),s("disabled",!1))},dependencies:[u,d],encapsulation:2});let r=i;return r})();var te=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group02"]],standalone:!0,features:[c],decls:11,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"active"],["cListGroupItem",""]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",2),o(6,"Morbi leo risus"),t(),e(7,"li",2),o(8,"Porta ac consectetur ac"),t(),e(9,"li",2),o(10,"Vestibulum at eros"),t()()),n&2&&(a(),s("active",!0))},dependencies:[u,d],encapsulation:2});let r=i;return r})();var ie=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group01"]],standalone:!0,features:[c],decls:11,vars:0,consts:[["cListGroup",""],["cListGroupItem",""]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",1),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",1),o(6,"Morbi leo risus"),t(),e(7,"li",1),o(8,"Porta ac consectetur ac"),t(),e(9,"li",1),o(10,"Vestibulum at eros"),t()())},dependencies:[u,d],encapsulation:2});let r=i;return r})();var oe=`\`\`\`typescript +import{a as w}from"./chunk-2NTR63DE.js";import{a as u,b as d}from"./chunk-Y4VP6P5I.js";import{a as F}from"./chunk-F3XLZSRJ.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{a as N,f as z,g as P,h as O}from"./chunk-ZGGOM75Q.js";import{B,b as I,e as M,f as T,m as _,q as V,r as A,z as j}from"./chunk-WFHPAILT.js";import{i as y}from"./chunk-FULSUUPP.js";import{a as k}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as $}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as R}from"./chunk-MH6VOBXJ.js";import{r as U}from"./chunk-Q5WIR6QR.js";import{c as G,d as D}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{n as b}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as o,Cc as E,Dc as S,Jb as x,Oc as c,Pc as g,Qb as s,ac as t,bc as f,lb as a,mb as L,mc as C,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var H=(()=>{let i=class i{constructor(l){this.formBuilder=l,this.checkBoxes=this.formBuilder.group({one:!1,two:!1,three:!0,four:!0,five:{value:!1,disabled:!0}})}setValue(l){let n=this.checkBoxes.get(l)?.value,p=this.checkBoxes.getRawValue();p[l]=!n,this.checkBoxes.setValue(p)}logValue(){console.log(this.checkBoxes.value),this.checkBoxes.reset()}};i.\u0275fac=function(n){return new(n||i)(L(j))},i.\u0275cmp=m({type:i,selectors:[["docs-list-group12"]],standalone:!0,features:[c],decls:28,vars:2,consts:[["cForm","",3,"ngSubmit","formGroup"],["cListGroup","",3,"flush"],["cListGroupItem","","type","button",3,"click"],["cFormCheckInput","","formControlName","one","type","checkbox"],["cFormCheckLabel",""],["cListGroupItem","",2,"cursor","pointer"],["cFormCheckInput","","formControlName","two","type","checkbox"],["cListGroupItem",""],["cFormCheckInput","","formControlName","three","type","checkbox"],["cFormCheckInput","","formControlName","four","type","checkbox"],["cFormCheckInput","","formControlName","five","type","checkbox"],["cButton","","type","submit",1,"mt-3"]],template:function(n,p){n&1&&(e(0,"form",0),C("ngSubmit",function(){return p.logValue()}),e(1,"ul",1)(2,"button",2),C("click",function(){return p.setValue("one")}),e(3,"c-form-check"),f(4,"input",3),e(5,"label",4),o(6,"Cras justo odio"),t()()(),e(7,"label",5)(8,"c-form-check"),f(9,"input",6),o(10," Dapibus ac facilisis in "),t()(),e(11,"li",7)(12,"c-form-check"),f(13,"input",8),e(14,"label",4),o(15,"Morbi leo risus"),t()()(),e(16,"li",7)(17,"c-form-check"),f(18,"input",9),e(19,"label",4),o(20,"Orta ac consectetur ac"),t()()(),e(21,"li",7)(22,"c-form-check"),f(23,"input",10),e(24,"label",4),o(25,"Vestibulum at eros"),t()()()(),e(26,"button",11),o(27,"Submit"),t()()),n&2&&(s("formGroup",p.checkBoxes),a(),s("flush",!0))},dependencies:[B,_,I,M,T,V,A,N,u,d,P,O,z,k],encapsulation:2});let r=i;return r})();var W=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group11"]],standalone:!0,features:[c],decls:31,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"active","routerLink"],[1,"d-flex","w-100","justify-content-between"],[1,"mb-1"],["cListGroupItem","",3,"routerLink"],[1,"text-medium-emphasis"]],template:function(n,p){n&1&&(e(0,"div",0)(1,"a",1)(2,"div",2)(3,"h5",3),o(4,"List group item heading"),t(),e(5,"small"),o(6,"3 days ago"),t()(),e(7,"p",3),o(8," Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. "),t(),e(9,"small"),o(10,"Donec id elit non mi porta."),t()(),e(11,"a",4)(12,"div",2)(13,"h5",3),o(14,"List group item heading"),t(),e(15,"small",5),o(16,"3 days ago"),t()(),e(17,"p",3),o(18," Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. "),t(),e(19,"small",5),o(20,"Donec id elit non mi porta."),t()(),e(21,"a",4)(22,"div",2)(23,"h5",3),o(24,"List group item heading"),t(),e(25,"small",5),o(26,"3 days ago"),t()(),e(27,"p",3),o(28," Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. "),t(),e(29,"small",5),o(30,"Donec id elit non mi porta."),t()()()),n&2&&(a(),s("active",!0))},dependencies:[u,d,y],encapsulation:2});let r=i;return r})();var q=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group10"]],standalone:!0,features:[c],decls:21,vars:0,consts:[["cListGroup",""],["cListGroupItem","",1,"d-flex","justify-content-between","align-items-center"],["color","primary","shape","rounded-pill"],["cListGroupItem","","disabled","",1,"d-flex","justify-content-between","align-items-center"],["color","secondary","shape","rounded-pill"]],template:function(n,p){n&1&&(e(0,"div",0)(1,"button",1),o(2," Cras justo odio "),e(3,"c-badge",2),o(4,"14"),t()(),e(5,"button",1),o(6," Dapibus ac facilisis in "),e(7,"c-badge",2),o(8,"2"),t()(),e(9,"button",1),o(10," Morbi leo risus "),e(11,"c-badge",2),o(12,"1"),t()(),e(13,"button",1),o(14," Porta ac consectetur "),e(15,"c-badge",2),o(16,"1"),t()(),e(17,"button",3),o(18," Vestibulum at eros "),e(19,"c-badge",4),o(20,"42"),t()()())},dependencies:[u,d,F],encapsulation:2});let r=i;return r})();function re(r,i){if(r&1&&(e(0,"a",2),o(1),t()),r&2){let h=i.$implicit;s("color",h),a(),S(" A simple ",h," list group item ")}}var J=(()=>{let i=class i{constructor(){this.colors=["primary","secondary","success","danger","warning","info","light","dark"]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group09"]],standalone:!0,features:[c],decls:2,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"color","routerLink",4,"ngFor","ngForOf"],["cListGroupItem","",3,"color","routerLink"]],template:function(n,p){n&1&&(e(0,"div",0),x(1,re,2,2,"a",1),t()),n&2&&(a(),s("ngForOf",p.colors))},dependencies:[u,b,d,y],encapsulation:2});let r=i;return r})();function se(r,i){if(r&1&&(e(0,"li",2),o(1),t()),r&2){let h=i.$implicit;s("color",h),a(),S(" A simple ",h," list group item ")}}var K=(()=>{let i=class i{constructor(){this.colors=["primary","secondary","success","danger","warning","info","light","dark"]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group08"]],standalone:!0,features:[c],decls:2,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"color",4,"ngFor","ngForOf"],["cListGroupItem","",3,"color"]],template:function(n,p){n&1&&(e(0,"ul",0),x(1,se,2,2,"li",1),t()),n&2&&(a(),s("ngForOf",p.colors))},dependencies:[u,b,d],encapsulation:2});let r=i;return r})();function ae(r,i){if(r&1&&(e(0,"ul",1)(1,"li",2),o(2,"Cras justo odio"),t(),e(3,"li",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",2),o(6,"Morbi leo risus"),t()()),r&2){let h=i.$implicit;s("horizontal",h)}}var Q=(()=>{let i=class i{constructor(){this.breakpoints=[!0,"sm","md","lg","xl","xxl"]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group07"]],standalone:!0,features:[c],decls:1,vars:1,consts:[["cListGroup","","class","mb-2",3,"horizontal",4,"ngFor","ngForOf"],["cListGroup","",1,"mb-2",3,"horizontal"],["cListGroupItem",""]],template:function(n,p){n&1&&x(0,ae,7,1,"ul",0),n&2&&s("ngForOf",p.breakpoints)},dependencies:[b,u,d],encapsulation:2});let r=i;return r})();var X=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group06"]],standalone:!0,features:[c],decls:11,vars:0,consts:[["cListGroup","","flush",""],["cListGroupItem",""]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",1),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",1),o(6,"Morbi leo risus"),t(),e(7,"li",1),o(8,"Porta ac consectetur ac"),t(),e(9,"li",1),o(10,"Vestibulum at eros"),t()())},dependencies:[u,d],encapsulation:2});let r=i;return r})();var Y=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group05"]],standalone:!0,features:[c],decls:11,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"active"],["cListGroupItem",""],["cListGroupItem","","disabled",""]],template:function(n,p){n&1&&(e(0,"div",0)(1,"button",1),o(2,"Cras justo odio"),t(),e(3,"button",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"button",2),o(6,"Morbi leo risus"),t(),e(7,"button",2),o(8,"Porta ac consectetur ac"),t(),e(9,"button",3),o(10,"Vestibulum at eros"),t()()),n&2&&(a(),s("active",!0))},dependencies:[u,d],encapsulation:2});let r=i;return r})();var Z=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group04"]],standalone:!0,features:[c],decls:11,vars:2,consts:[["cListGroup",""],["cListGroupItem","",3,"routerLink","active"],["cListGroupItem","",3,"routerLink"],["cListGroupItem","",3,"routerLink","disabled"]],template:function(n,p){n&1&&(e(0,"div",0)(1,"a",1),o(2,"Cras justo odio"),t(),e(3,"a",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"a",2),o(6,"Morbi leo risus"),t(),e(7,"a",2),o(8,"Porta ac consectetur ac"),t(),e(9,"a",3),o(10,"Vestibulum at eros"),t()()),n&2&&(a(),s("active",!0),a(8),s("disabled",!0))},dependencies:[u,d,y],encapsulation:2});let r=i;return r})();var ee=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group03"]],standalone:!0,features:[c],decls:11,vars:2,consts:[["cListGroup",""],["cListGroupItem","","disabled",""],["cListGroupItem",""],["cListGroupItem","",3,"disabled"]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",3),o(6,"Morbi leo risus"),t(),e(7,"li",3),o(8,"Porta ac consectetur ac"),t(),e(9,"li",2),o(10,"Vestibulum at eros"),t()()),n&2&&(a(5),s("disabled",!0),a(2),s("disabled",!1))},dependencies:[u,d],encapsulation:2});let r=i;return r})();var te=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group02"]],standalone:!0,features:[c],decls:11,vars:1,consts:[["cListGroup",""],["cListGroupItem","",3,"active"],["cListGroupItem",""]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",2),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",2),o(6,"Morbi leo risus"),t(),e(7,"li",2),o(8,"Porta ac consectetur ac"),t(),e(9,"li",2),o(10,"Vestibulum at eros"),t()()),n&2&&(a(),s("active",!0))},dependencies:[u,d],encapsulation:2});let r=i;return r})();var ie=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=m({type:i,selectors:[["docs-list-group01"]],standalone:!0,features:[c],decls:11,vars:0,consts:[["cListGroup",""],["cListGroupItem",""]],template:function(n,p){n&1&&(e(0,"ul",0)(1,"li",1),o(2,"Cras justo odio"),t(),e(3,"li",1),o(4,"Dapibus ac facilisis in"),t(),e(5,"li",1),o(6,"Morbi leo risus"),t(),e(7,"li",1),o(8,"Porta ac consectetur ac"),t(),e(9,"li",1),o(10,"Vestibulum at eros"),t()())},dependencies:[u,d],encapsulation:2});let r=i;return r})();var oe=`\`\`\`typescript import { ListGroupModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-R2HXWLDR.js b/angular/docs/chunk-UYIAOCXU.js similarity index 95% rename from angular/docs/chunk-R2HXWLDR.js rename to angular/docs/chunk-UYIAOCXU.js index 8ef75cce00b..872526b5a42 100644 --- a/angular/docs/chunk-R2HXWLDR.js +++ b/angular/docs/chunk-UYIAOCXU.js @@ -1 +1 @@ -import{La as c,ia as n,mb as l,ob as a,pa as s,rb as m}from"./chunk-O6V6MKDU.js";var d=(()=>{let e=class e{constructor(){this.templateRef=n(a)}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s({type:e,selectors:[["","cTemplateId",""]],inputs:{id:[0,"cTemplateId","id"]},standalone:!0});let i=e;return i})();var p=(()=>{let e=class e{constructor(){this.elementRef=n(c)}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s({type:e,selectors:[["","cElementRef",""]],exportAs:["cElementRef"],standalone:!0});let i=e;return i})();var h=(()=>{let e=class e{constructor(r,t){this.renderer=r,this.el=t}ngOnInit(){let r=this.cHtmlAttr;for(let t in r)t==="style"&&typeof r[t]=="object"?this.setStyle(r[t]):t==="class"?this.addClass(r[t]):this.setAttrib(t,r[t])}setStyle(r){for(let t in r)t&&this.renderer.setStyle(this.el.nativeElement,t,r[t])}addClass(r){(Array.isArray(r)?r:r.split(" ")).filter(o=>o.length>0).forEach(o=>{this.renderer.addClass(this.el.nativeElement,o)})}setAttrib(r,t){t!==null?this.renderer.setAttribute(this.el.nativeElement,r,t):this.renderer.removeAttribute(this.el.nativeElement,r)}};e.\u0275fac=function(t){return new(t||e)(l(m),l(c))},e.\u0275dir=s({type:e,selectors:[["","cHtmlAttr",""]],inputs:{cHtmlAttr:"cHtmlAttr"},exportAs:["cHtmlAttr"],standalone:!0});let i=e;return i})();export{p as a,h as b,d as c}; +import{La as c,ia as n,mb as l,ob as a,pa as s,rb as m}from"./chunk-6U7QZ4SV.js";var d=(()=>{let e=class e{constructor(){this.templateRef=n(a)}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s({type:e,selectors:[["","cTemplateId",""]],inputs:{id:[0,"cTemplateId","id"]},standalone:!0});let i=e;return i})();var p=(()=>{let e=class e{constructor(){this.elementRef=n(c)}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s({type:e,selectors:[["","cElementRef",""]],exportAs:["cElementRef"],standalone:!0});let i=e;return i})();var h=(()=>{let e=class e{constructor(r,t){this.renderer=r,this.el=t}ngOnInit(){let r=this.cHtmlAttr;for(let t in r)t==="style"&&typeof r[t]=="object"?this.setStyle(r[t]):t==="class"?this.addClass(r[t]):this.setAttrib(t,r[t])}setStyle(r){for(let t in r)t&&this.renderer.setStyle(this.el.nativeElement,t,r[t])}addClass(r){(Array.isArray(r)?r:r.split(" ")).filter(o=>o.length>0).forEach(o=>{this.renderer.addClass(this.el.nativeElement,o)})}setAttrib(r,t){t!==null?this.renderer.setAttribute(this.el.nativeElement,r,t):this.renderer.removeAttribute(this.el.nativeElement,r)}};e.\u0275fac=function(t){return new(t||e)(l(m),l(c))},e.\u0275dir=s({type:e,selectors:[["","cHtmlAttr",""]],inputs:{cHtmlAttr:"cHtmlAttr"},exportAs:["cHtmlAttr"],standalone:!0});let i=e;return i})();export{p as a,h as b,d as c}; diff --git a/angular/docs/chunk-SDVQTHFU.js b/angular/docs/chunk-UZ4XHRO5.js similarity index 95% rename from angular/docs/chunk-SDVQTHFU.js rename to angular/docs/chunk-UZ4XHRO5.js index f8c4711da74..e46ba95d9d1 100644 --- a/angular/docs/chunk-SDVQTHFU.js +++ b/angular/docs/chunk-UZ4XHRO5.js @@ -1,4 +1,4 @@ -import{a as v}from"./chunk-SWYVARVN.js";import{r as y}from"./chunk-JJFVMVK7.js";import{c as g,d as h}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import{$b as t,Bc as e,Cc as l,Dc as m,Ec as f,Oc as p,ac as a,bc as o,lb as r,mb as d,na as b}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var k=(()=>{let i=class i{constructor(c,n){this.metaService=c,this.titleService=n,this.title="CSS variables",this.description="Use CoreUI CSS custom properties for fast and forward-looking design and development."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(n){return new(n||i)(d(g),d(h))},i.\u0275cmp=b({type:i,selectors:[["docs-customize-css-variables"]],standalone:!0,features:[p],decls:15,vars:5,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"]],template:function(n,u){n&1&&(t(0,"h1",0),e(1),a(),t(2,"p",1),e(3),a(),o(4,"docs-ads-carbon-loader"),t(5,"markdown"),e(6),o(7,"br"),e(8,` +import{a as v}from"./chunk-MH6VOBXJ.js";import{r as y}from"./chunk-Q5WIR6QR.js";import{c as g,d as h}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import{$b as t,Bc as e,Cc as l,Dc as m,Ec as f,Oc as p,ac as a,bc as o,lb as r,mb as d,na as b}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var k=(()=>{let i=class i{constructor(c,n){this.metaService=c,this.titleService=n,this.title="CSS variables",this.description="Use CoreUI CSS custom properties for fast and forward-looking design and development."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};i.\u0275fac=function(n){return new(n||i)(d(g),d(h))},i.\u0275cmp=b({type:i,selectors:[["docs-customize-css-variables"]],standalone:!0,features:[p],decls:15,vars:5,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"]],template:function(n,u){n&1&&(t(0,"h1",0),e(1),a(),t(2,"p",1),e(3),a(),o(4,"docs-ads-carbon-loader"),t(5,"markdown"),e(6),o(7,"br"),e(8,` ## Component variables diff --git a/angular/docs/chunk-R5QBJ3ND.js b/angular/docs/chunk-V4QLMYX5.js similarity index 93% rename from angular/docs/chunk-R5QBJ3ND.js rename to angular/docs/chunk-V4QLMYX5.js index 58afc23e0f9..b673b94cc19 100644 --- a/angular/docs/chunk-R5QBJ3ND.js +++ b/angular/docs/chunk-V4QLMYX5.js @@ -1,4 +1,4 @@ -import{a as p}from"./chunk-EBCID5MY.js";import{g as C}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as v}from"./chunk-SWYVARVN.js";import{r as w}from"./chunk-JJFVMVK7.js";import{c as g,d as b}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as t,Cc as S,Dc as E,Oc as d,Pc as u,Qb as x,ac as n,bc as o,lb as c,mb as h,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var k=(()=>{let i=class i{};i.\u0275fac=function(a){return new(a||i)},i.\u0275cmp=m({type:i,selectors:[["docs-containers03"]],standalone:!0,features:[d],decls:2,vars:0,consts:[["fluid",""]],template:function(a,s){a&1&&(e(0,"c-container",0),t(1,` Content here... +import{a as p}from"./chunk-PZ32EFID.js";import{g as C}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as v}from"./chunk-MH6VOBXJ.js";import{r as w}from"./chunk-Q5WIR6QR.js";import{c as g,d as b}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as t,Cc as S,Dc as E,Oc as d,Pc as u,Qb as x,ac as n,bc as o,lb as c,mb as h,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var k=(()=>{let i=class i{};i.\u0275fac=function(a){return new(a||i)},i.\u0275cmp=m({type:i,selectors:[["docs-containers03"]],standalone:!0,features:[d],decls:2,vars:0,consts:[["fluid",""]],template:function(a,s){a&1&&(e(0,"c-container",0),t(1,` Content here... `),n())},dependencies:[p],styles:["[_nghost-%COMP%] c-container[_ngcontent-%COMP%]{background-color:var(--cui-light)}"]});let r=i;return r})();var y=(()=>{let i=class i{};i.\u0275fac=function(a){return new(a||i)},i.\u0275cmp=m({type:i,selectors:[["docs-containers02"]],standalone:!0,features:[d],decls:10,vars:0,consts:[["breakpoint","sm"],["breakpoint","md"],["breakpoint","lg"],["breakpoint","xl"],["breakpoint","xxl"]],template:function(a,s){a&1&&(e(0,"c-container",0),t(1,` 100% wide until small breakpoint `),n(),e(2,"c-container",1),t(3,` 100% wide until medium breakpoint `),n(),e(4,"c-container",2),t(5,` 100% wide until large breakpoint diff --git a/angular/docs/chunk-SCSRRCK3.js b/angular/docs/chunk-V7AGZRFC.js similarity index 95% rename from angular/docs/chunk-SCSRRCK3.js rename to angular/docs/chunk-V7AGZRFC.js index ae65f48525e..f4a1d07f274 100644 --- a/angular/docs/chunk-SCSRRCK3.js +++ b/angular/docs/chunk-V7AGZRFC.js @@ -1,4 +1,4 @@ -import{a as C,b as w,c as d}from"./chunk-TZ7TQCJR.js";import"./chunk-NEQOHQJO.js";import{a as S}from"./chunk-TUX4GOME.js";import{g as P}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as k}from"./chunk-SWYVARVN.js";import{r as E}from"./chunk-JJFVMVK7.js";import{c as y,d as b}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Bc as a,Cc as h,Dc as x,Oc as m,Pc as g,Qb as t,ac as s,bc as p,lb as r,mb as f,na as c}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var M=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress08-example"]],standalone:!0,features:[m],decls:6,vars:6,consts:[["color","primary","thin","",3,"value"],["color","secondary","thin","",3,"value"],["color","success","thin","",3,"value"],["color","danger","thin","",3,"value"],["color","warning","thin","",3,"value"],["color","info","thin","",3,"value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",1)(2,"c-progress",2)(3,"c-progress",3)(4,"c-progress",4)(5,"c-progress",5),o&2&&(t("value",25),r(),t("value",25),r(),t("value",25),r(),t("value",25),r(),t("value",25),r(),t("value",25))},dependencies:[d],encapsulation:2});let i=e;return i})();var F=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress07-example"]],standalone:!0,features:[m],decls:4,vars:8,consts:[["color","success","variant","striped",3,"animated","value"],["color","info","variant","striped",3,"animated","value"],["color","warning","variant","striped",3,"animated","value"],["color","danger","variant","striped",3,"animated","value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",1)(2,"c-progress",2)(3,"c-progress",3),o&2&&(t("animated",!0)("value",25),r(),t("animated",!0)("value",50),r(),t("animated",!0)("value",75),r(),t("animated",!0)("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var D=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress06-example"]],standalone:!0,features:[m],decls:4,vars:4,consts:[["color","success","variant","striped",3,"value"],["color","info","variant","striped",3,"value"],["color","warning","variant","striped",3,"value"],["color","danger","variant","striped",3,"value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",1)(2,"c-progress",2)(3,"c-progress",3),o&2&&(t("value",25),r(),t("value",50),r(),t("value",75),r(),t("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var T=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress05-example"]],standalone:!0,features:[m],decls:4,vars:3,consts:[[3,"value"],["color","success",3,"value"],["color","info",3,"value"]],template:function(o,u){o&1&&(n(0,"c-progress-stacked"),p(1,"c-progress",0)(2,"c-progress",1)(3,"c-progress",2),s()),o&2&&(r(),t("value",15),r(),t("value",30),r(),t("value",20))},dependencies:[d,w],encapsulation:2});let i=e;return i})();var $=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress04-example"]],standalone:!0,features:[m],decls:7,vars:4,consts:[["color","success",3,"value"],["color","info",3,"value"],["color","warning",3,"value"],[1,"text-dark","px-2"],["color","danger",3,"value"]],template:function(o,u){o&1&&(n(0,"c-progress",0),a(1,"25%"),s(),p(2,"c-progress",1),n(3,"c-progress",2)(4,"span",3),a(5,"75%"),s()(),p(6,"c-progress",4)),o&2&&(t("value",25),r(2),t("value",50),r(),t("value",75),r(3),t("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress03-example"]],standalone:!0,features:[m],decls:5,vars:10,consts:[[3,"height","value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",0)(2,"c-progress",0)(3,"c-progress",0)(4,"c-progress",0),o&2&&(t("height",1)("value",25),r(),t("height",5)("value",25),r(),t("height",10)("value",25),r(),t("height",15)("value",25),r(),t("height",20)("value",25))},dependencies:[d],encapsulation:2});let i=e;return i})();var A=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress02-example"]],standalone:!0,features:[m],decls:5,vars:2,consts:[[3,"value"],["color","success",1,"overflow-visible","text-dark","px-2",3,"value"]],template:function(o,u){o&1&&(n(0,"c-progress",0),a(1,"25%"),s(),n(2,"c-progress")(3,"c-progress-bar",1),a(4," Long label text for the progress bar, set it to a dark color... "),s()()),o&2&&(t("value",25),r(3),t("value",10))},dependencies:[d,C],encapsulation:2});let i=e;return i})();var B=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress01-example"]],standalone:!0,features:[m],decls:5,vars:5,consts:[[3,"value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",0)(2,"c-progress",0)(3,"c-progress",0)(4,"c-progress",0),o&2&&(t("value",0),r(),t("value",25),r(),t("value",50),r(),t("value",75),r(),t("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var U=`\`\`\`ts +import{a as C,b as w,c as d}from"./chunk-742PP7K6.js";import"./chunk-XU4RTE5H.js";import{a as S}from"./chunk-2NTR63DE.js";import{g as P}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as k}from"./chunk-MH6VOBXJ.js";import{r as E}from"./chunk-Q5WIR6QR.js";import{c as y,d as b}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Bc as a,Cc as h,Dc as x,Oc as m,Pc as g,Qb as t,ac as s,bc as p,lb as r,mb as f,na as c}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var M=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress08-example"]],standalone:!0,features:[m],decls:6,vars:6,consts:[["color","primary","thin","",3,"value"],["color","secondary","thin","",3,"value"],["color","success","thin","",3,"value"],["color","danger","thin","",3,"value"],["color","warning","thin","",3,"value"],["color","info","thin","",3,"value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",1)(2,"c-progress",2)(3,"c-progress",3)(4,"c-progress",4)(5,"c-progress",5),o&2&&(t("value",25),r(),t("value",25),r(),t("value",25),r(),t("value",25),r(),t("value",25),r(),t("value",25))},dependencies:[d],encapsulation:2});let i=e;return i})();var F=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress07-example"]],standalone:!0,features:[m],decls:4,vars:8,consts:[["color","success","variant","striped",3,"animated","value"],["color","info","variant","striped",3,"animated","value"],["color","warning","variant","striped",3,"animated","value"],["color","danger","variant","striped",3,"animated","value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",1)(2,"c-progress",2)(3,"c-progress",3),o&2&&(t("animated",!0)("value",25),r(),t("animated",!0)("value",50),r(),t("animated",!0)("value",75),r(),t("animated",!0)("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var D=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress06-example"]],standalone:!0,features:[m],decls:4,vars:4,consts:[["color","success","variant","striped",3,"value"],["color","info","variant","striped",3,"value"],["color","warning","variant","striped",3,"value"],["color","danger","variant","striped",3,"value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",1)(2,"c-progress",2)(3,"c-progress",3),o&2&&(t("value",25),r(),t("value",50),r(),t("value",75),r(),t("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var T=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress05-example"]],standalone:!0,features:[m],decls:4,vars:3,consts:[[3,"value"],["color","success",3,"value"],["color","info",3,"value"]],template:function(o,u){o&1&&(n(0,"c-progress-stacked"),p(1,"c-progress",0)(2,"c-progress",1)(3,"c-progress",2),s()),o&2&&(r(),t("value",15),r(),t("value",30),r(),t("value",20))},dependencies:[d,w],encapsulation:2});let i=e;return i})();var $=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress04-example"]],standalone:!0,features:[m],decls:7,vars:4,consts:[["color","success",3,"value"],["color","info",3,"value"],["color","warning",3,"value"],[1,"text-dark","px-2"],["color","danger",3,"value"]],template:function(o,u){o&1&&(n(0,"c-progress",0),a(1,"25%"),s(),p(2,"c-progress",1),n(3,"c-progress",2)(4,"span",3),a(5,"75%"),s()(),p(6,"c-progress",4)),o&2&&(t("value",25),r(2),t("value",50),r(),t("value",75),r(3),t("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress03-example"]],standalone:!0,features:[m],decls:5,vars:10,consts:[[3,"height","value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",0)(2,"c-progress",0)(3,"c-progress",0)(4,"c-progress",0),o&2&&(t("height",1)("value",25),r(),t("height",5)("value",25),r(),t("height",10)("value",25),r(),t("height",15)("value",25),r(),t("height",20)("value",25))},dependencies:[d],encapsulation:2});let i=e;return i})();var A=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress02-example"]],standalone:!0,features:[m],decls:5,vars:2,consts:[[3,"value"],["color","success",1,"overflow-visible","text-dark","px-2",3,"value"]],template:function(o,u){o&1&&(n(0,"c-progress",0),a(1,"25%"),s(),n(2,"c-progress")(3,"c-progress-bar",1),a(4," Long label text for the progress bar, set it to a dark color... "),s()()),o&2&&(t("value",25),r(3),t("value",10))},dependencies:[d,C],encapsulation:2});let i=e;return i})();var B=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=c({type:e,selectors:[["docs-progress01-example"]],standalone:!0,features:[m],decls:5,vars:5,consts:[[3,"value"]],template:function(o,u){o&1&&p(0,"c-progress",0)(1,"c-progress",0)(2,"c-progress",0)(3,"c-progress",0)(4,"c-progress",0),o&2&&(t("value",0),r(),t("value",25),r(),t("value",50),r(),t("value",75),r(),t("value",100))},dependencies:[d],encapsulation:2});let i=e;return i})();var U=`\`\`\`ts // standalone components import { ProgressComponent, ProgressBarComponent } from '@coreui/angular'; diff --git a/angular/docs/chunk-WS76WYYX.js b/angular/docs/chunk-W6R2HVCP.js similarity index 95% rename from angular/docs/chunk-WS76WYYX.js rename to angular/docs/chunk-W6R2HVCP.js index 2e2c8624e32..eae25c493ed 100644 --- a/angular/docs/chunk-WS76WYYX.js +++ b/angular/docs/chunk-W6R2HVCP.js @@ -1,4 +1,4 @@ -import{a as d,b as G}from"./chunk-5LYXIB6J.js";import{c as q,f as w,i as H,l as K}from"./chunk-C5JPXVV5.js";import{B as k,b as j,c as M,e as S,f as C,g as O,h as P,j as J,k as W,m as E,n as R,q as B,r as y,z as D}from"./chunk-JZLZFTWK.js";import{i as F}from"./chunk-SPMMWGWV.js";import{a as T,c as _,d as V,e as N,f as I}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as s}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as Y}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as X}from"./chunk-SWYVARVN.js";import{r as Q}from"./chunk-JJFVMVK7.js";import{c as z,d as U}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as o,Cc as A,Dc as L,Oc as p,Pc as f,Qb as c,ac as t,bc as l,lb as b,mb as h,mc as x,na as m}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var $=(()=>{let n=class n{constructor(a){this.formBuilder=a,this.formRadio1=new O({radio1:new J("Radio1")})}setRadioValue(a){this.formRadio1.setValue({radio1:a})}};n.\u0275fac=function(i){return new(i||n)(h(D))},n.\u0275cmp=m({type:n,selectors:[["docs-button-group13-example"]],standalone:!0,features:[p],decls:11,vars:2,consts:[[3,"formGroup"],["aria-label","Vertical button group","role","group",3,"vertical"],["formControlName","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","color","danger","variant","outline",3,"click"],["formControlName","radio1","type","radio","value","Radio2",1,"btn-check"],["formControlName","radio1","type","radio","value","Radio3",1,"btn-check"]],template:function(i,u){i&1&&(e(0,"form",0)(1,"c-button-group",1),l(2,"input",2),e(3,"label",3),x("click",function(){return u.setRadioValue("Radio1")}),o(4,"Radio 1"),t(),l(5,"input",4),e(6,"label",3),x("click",function(){return u.setRadioValue("Radio2")}),o(7,"Radio 2"),t(),l(8,"input",5),e(9,"label",3),x("click",function(){return u.setRadioValue("Radio3")}),o(10,"Radio 3"),t()()()),i&2&&(c("formGroup",u.formRadio1),b(),c("vertical",!0))},dependencies:[k,E,M,R,S,C,B,y,d,w,s],encapsulation:2});let r=n;return r})();var ee=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group12-example"]],standalone:!0,features:[p],decls:77,vars:1,consts:[["aria-label","Vertical button group","role","group",3,"vertical"],["cButton","","color","primary"],["variant","btn-group","direction","dropend"],["cButton","","cDropdownToggle",""],["cDropdownMenu",""],["cDropdownItem","","routerLink",""],["cDropdownDivider",""],["variant","btn-group"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Button"),t(),e(3,"button",1),o(4,"Button"),t(),e(5,"c-dropdown",2)(6,"button",3),o(7," Dropdown "),t(),e(8,"ul",4)(9,"li")(10,"a",5),o(11,"Action"),t()(),e(12,"li")(13,"a",5),o(14,"Another action"),t()(),e(15,"li")(16,"a",5),o(17,"Something else here"),t()(),l(18,"li",6),e(19,"li")(20,"a",5),o(21,"Separated link"),t()()()(),e(22,"button",1),o(23,"Button"),t(),e(24,"button",1),o(25,"Button"),t(),e(26,"c-dropdown",2)(27,"button",3),o(28," Dropdown "),t(),e(29,"ul",4)(30,"li")(31,"a",5),o(32,"Action"),t()(),e(33,"li")(34,"a",5),o(35,"Another action"),t()(),e(36,"li")(37,"a",5),o(38,"Something else here"),t()(),l(39,"li",6),e(40,"li")(41,"a",5),o(42,"Separated link"),t()()()(),e(43,"c-dropdown",2)(44,"button",3),o(45," Dropdown "),t(),e(46,"ul",4)(47,"li")(48,"a",5),o(49,"Action"),t()(),e(50,"li")(51,"a",5),o(52,"Another action"),t()(),e(53,"li")(54,"a",5),o(55,"Something else here"),t()(),l(56,"li",6),e(57,"li")(58,"a",5),o(59,"Separated link"),t()()()(),e(60,"c-dropdown",7)(61,"button",3),o(62," Dropdown "),t(),e(63,"ul",4)(64,"li")(65,"a",5),o(66,"Action"),t()(),e(67,"li")(68,"a",5),o(69,"Another action"),t()(),e(70,"li")(71,"a",5),o(72,"Something else here"),t()(),l(73,"li",6),e(74,"li")(75,"a",5),o(76,"Separated link"),t()()()()()),i&2&&c("vertical",!0)},dependencies:[d,s,N,V,_,I,F,T],encapsulation:2});let r=n;return r})();var te=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group11-example"]],standalone:!0,features:[p],decls:15,vars:1,consts:[["aria-label","Vertical button group","role","group",3,"vertical"],["cButton","","color","dark"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Button"),t(),e(3,"button",1),o(4,"Button"),t(),e(5,"button",1),o(6,"Button"),t(),e(7,"button",1),o(8,"Button"),t(),e(9,"button",1),o(10,"Button"),t(),e(11,"button",1),o(12,"Button"),t(),e(13,"button",1),o(14,"Button"),t()()),i&2&&c("vertical",!0)},dependencies:[d,s],encapsulation:2});let r=n;return r})();var oe=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group10-example"]],standalone:!0,features:[p],decls:22,vars:0,consts:[["aria-label","Button group with nested dropdown","role","group"],["cButton","","color","primary"],["variant","btn-group"],["cButton","","cDropdownToggle",""],["cDropdownMenu",""],["cDropdownItem","","routerLink",""],["cDropdownDivider",""]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"1"),t(),e(3,"button",1),o(4,"2"),t(),e(5,"c-dropdown",2)(6,"button",3),o(7," Dropdown "),t(),e(8,"ul",4)(9,"li")(10,"a",5),o(11,"Action"),t()(),e(12,"li")(13,"a",5),o(14,"Another action"),t()(),e(15,"li")(16,"a",5),o(17,"Something else here"),t()(),l(18,"li",6),e(19,"li")(20,"a",5),o(21,"Separated link"),t()()()()())},dependencies:[d,s,N,V,_,I,F,T],encapsulation:2});let r=n;return r})();var ne=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group09-example"]],standalone:!0,features:[p],decls:23,vars:0,consts:[["aria-label","Large button group","role","group","sizing","lg",1,"m-1"],["cButton","","color","dark","variant","outline"],["aria-label","Default button group","role","group",1,"m-1"],["aria-label","Small button group","role","group","sizing","sm",1,"m-1"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2," Left "),t(),e(3,"button",1),o(4," Middle "),t(),e(5,"button",1),o(6," Right "),t()(),l(7,"br"),e(8,"c-button-group",2)(9,"button",1),o(10," Left "),t(),e(11,"button",1),o(12," Middle "),t(),e(13,"button",1),o(14," Right "),t()(),l(15,"br"),e(16,"c-button-group",3)(17,"button",1),o(18," Left "),t(),e(19,"button",1),o(20," Middle "),t(),e(21,"button",1),o(22," Right "),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var ie=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group08-example"]],standalone:!0,features:[p],decls:28,vars:0,consts:[["aria-label","Toolbar with button groups","role","group",1,"mb-3"],["aria-label","First group","role","group",1,"me-2"],["cButton","","color","secondary","variant","outline"],["cInputGroupText",""],["aria-describedby","btnGroupAddon","aria-label","Input group example","cFormControl","","placeholder","Input group example"],["aria-label","Toolbar with button groups","role","group",1,"justify-content-between"]],template:function(i,u){i&1&&(e(0,"c-button-toolbar",0)(1,"c-button-group",1)(2,"button",2),o(3," 1 "),t(),e(4,"button",2),o(5," 2 "),t(),e(6,"button",2),o(7," 3 "),t(),e(8,"button",2),o(9," 4 "),t()(),e(10,"c-input-group")(11,"span",3),o(12,"@"),t(),l(13,"input",4),t()(),e(14,"c-button-toolbar",5)(15,"c-button-group",1)(16,"button",2),o(17," 1 "),t(),e(18,"button",2),o(19," 2 "),t(),e(20,"button",2),o(21," 3 "),t(),e(22,"button",2),o(23," 4 "),t()(),e(24,"c-input-group")(25,"span",3),o(26,"@"),t(),l(27,"input",4),t()())},dependencies:[G,d,s,q,K,H],encapsulation:2});let r=n;return r})();var re=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group07-example"]],standalone:!0,features:[p],decls:20,vars:0,consts:[["aria-label","Toolbar with button groups","role","group"],["aria-label","First group","role","group",1,"me-2"],["cButton","","color","primary"],["aria-label","Second group","role","group",1,"me-2"],["cButton","","color","secondary"],["aria-label","Third group","role","group",1,"me-2"],["cButton","","color","info"]],template:function(i,u){i&1&&(e(0,"c-button-toolbar",0)(1,"c-button-group",1)(2,"button",2),o(3,"1"),t(),e(4,"button",2),o(5,"2"),t(),e(6,"button",2),o(7,"3"),t(),e(8,"button",2),o(9,"4"),t()(),e(10,"c-button-group",3)(11,"button",4),o(12,"5"),t(),e(13,"button",4),o(14,"6"),t(),e(15,"button",4),o(16,"7"),t()(),e(17,"c-button-group",5)(18,"button",6),o(19,"8"),t()()())},dependencies:[G,d,s],encapsulation:2});let r=n;return r})();var ae=(()=>{let n=class n{constructor(a){this.formBuilder=a,this.formRadio1=new P({radio1:new W("Radio1")})}setRadioValue(a){this.formRadio1.setValue({radio1:a})}};n.\u0275fac=function(i){return new(i||n)(h(D))},n.\u0275cmp=m({type:n,selectors:[["docs-button-group06-example"]],standalone:!0,features:[p],decls:11,vars:1,consts:[[3,"formGroup"],["aria-label","Basic radio toggle button group","role","group"],["formControlName","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","variant","outline",3,"click"],["formControlName","radio1","type","radio","value","Radio2",1,"btn-check"],["formControlName","radio1","type","radio","value","Radio3",1,"btn-check"]],template:function(i,u){i&1&&(e(0,"form",0)(1,"c-button-group",1),l(2,"input",2),e(3,"label",3),x("click",function(){return u.setRadioValue("Radio1")}),o(4,"Radio 1"),t(),l(5,"input",4),e(6,"label",3),x("click",function(){return u.setRadioValue("Radio2")}),o(7,"Radio 2"),t(),l(8,"input",5),e(9,"label",3),x("click",function(){return u.setRadioValue("Radio3")}),o(10,"Radio 3"),t()()()),i&2&&c("formGroup",u.formRadio1)},dependencies:[k,E,M,R,S,C,B,y,d,w,s],encapsulation:2});let r=n;return r})();var le=(()=>{let n=class n{constructor(a){this.formBuilder=a,this.formCheck1=this.formBuilder.group({checkbox1:!1,checkbox2:!1,checkbox3:!1})}setCheckBoxValue(a){let i=this.formCheck1.get(a)?.value,u=this.formCheck1.value;u[a]=!i,this.formCheck1.setValue(u)}};n.\u0275fac=function(i){return new(i||n)(h(D))},n.\u0275cmp=m({type:n,selectors:[["docs-button-group05-example"]],standalone:!0,features:[p],decls:11,vars:1,consts:[[3,"formGroup"],["aria-label","Basic checkbox toggle button group","role","group"],["formControlName","checkbox1","type","checkbox",1,"btn-check"],["cButton","","cFormCheckLabel","","variant","outline",3,"click"],["formControlName","checkbox2","type","checkbox",1,"btn-check"],["formControlName","checkbox3","type","checkbox",1,"btn-check"]],template:function(i,u){i&1&&(e(0,"form",0)(1,"c-button-group",1),l(2,"input",2),e(3,"label",3),x("click",function(){return u.setCheckBoxValue("checkbox1")}),o(4,"Checkbox 1"),t(),l(5,"input",4),e(6,"label",3),x("click",function(){return u.setCheckBoxValue("checkbox2")}),o(7,"Checkbox 2"),t(),l(8,"input",5),e(9,"label",3),x("click",function(){return u.setCheckBoxValue("checkbox3")}),o(10,"Checkbox 3"),t()()()),i&2&&c("formGroup",u.formCheck1)},dependencies:[k,E,j,S,C,B,y,d,w,s],encapsulation:2});let r=n;return r})();var ue=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group04-example"]],standalone:!0,features:[p],decls:7,vars:0,consts:[["aria-label","Basic outlined example","role","group"],["cButton","","color","primary","variant","outline"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2," Left "),t(),e(3,"button",1),o(4," Middle "),t(),e(5,"button",1),o(6," Right "),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var me=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group03-example"]],standalone:!0,features:[p],decls:7,vars:0,consts:[["aria-label","Basic mixed styles example","role","group"],["cButton","","color","danger"],["cButton","","color","warning"],["cButton","","color","success"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Left"),t(),e(3,"button",2),o(4,"Middle"),t(),e(5,"button",3),o(6,"Right"),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var pe=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group02-example"]],standalone:!0,features:[p],decls:7,vars:1,consts:[["aria-label","Basic example","role","group"],["cButton","","color","primary",3,"active"],["cButton","","color","primary"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Left"),t(),e(3,"button",2),o(4,"Middle"),t(),e(5,"button",2),o(6,"Right"),t()()),i&2&&(b(),c("active",!0))},dependencies:[d,s],encapsulation:2});let r=n;return r})();var ce=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group01-example"]],standalone:!0,features:[p],decls:7,vars:0,consts:[["aria-label","Basic example","role","group"],["cButton","","color","primary"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Left"),t(),e(3,"button",1),o(4,"Middle"),t(),e(5,"button",1),o(6,"Right"),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var se=`\`\`\`typescript +import{a as d,b as G}from"./chunk-C5U3MXIG.js";import{c as q,f as w,i as H,l as K}from"./chunk-ZGGOM75Q.js";import{B as k,b as j,c as M,e as S,f as C,g as O,h as P,j as J,k as W,m as E,n as R,q as B,r as y,z as D}from"./chunk-WFHPAILT.js";import{i as F}from"./chunk-FULSUUPP.js";import{a as T,c as _,d as V,e as N,f as I}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as s}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as Y}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as X}from"./chunk-MH6VOBXJ.js";import{r as Q}from"./chunk-Q5WIR6QR.js";import{c as z,d as U}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as o,Cc as A,Dc as L,Oc as p,Pc as f,Qb as c,ac as t,bc as l,lb as b,mb as h,mc as x,na as m}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var $=(()=>{let n=class n{constructor(a){this.formBuilder=a,this.formRadio1=new O({radio1:new J("Radio1")})}setRadioValue(a){this.formRadio1.setValue({radio1:a})}};n.\u0275fac=function(i){return new(i||n)(h(D))},n.\u0275cmp=m({type:n,selectors:[["docs-button-group13-example"]],standalone:!0,features:[p],decls:11,vars:2,consts:[[3,"formGroup"],["aria-label","Vertical button group","role","group",3,"vertical"],["formControlName","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","color","danger","variant","outline",3,"click"],["formControlName","radio1","type","radio","value","Radio2",1,"btn-check"],["formControlName","radio1","type","radio","value","Radio3",1,"btn-check"]],template:function(i,u){i&1&&(e(0,"form",0)(1,"c-button-group",1),l(2,"input",2),e(3,"label",3),x("click",function(){return u.setRadioValue("Radio1")}),o(4,"Radio 1"),t(),l(5,"input",4),e(6,"label",3),x("click",function(){return u.setRadioValue("Radio2")}),o(7,"Radio 2"),t(),l(8,"input",5),e(9,"label",3),x("click",function(){return u.setRadioValue("Radio3")}),o(10,"Radio 3"),t()()()),i&2&&(c("formGroup",u.formRadio1),b(),c("vertical",!0))},dependencies:[k,E,M,R,S,C,B,y,d,w,s],encapsulation:2});let r=n;return r})();var ee=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group12-example"]],standalone:!0,features:[p],decls:77,vars:1,consts:[["aria-label","Vertical button group","role","group",3,"vertical"],["cButton","","color","primary"],["variant","btn-group","direction","dropend"],["cButton","","cDropdownToggle",""],["cDropdownMenu",""],["cDropdownItem","","routerLink",""],["cDropdownDivider",""],["variant","btn-group"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Button"),t(),e(3,"button",1),o(4,"Button"),t(),e(5,"c-dropdown",2)(6,"button",3),o(7," Dropdown "),t(),e(8,"ul",4)(9,"li")(10,"a",5),o(11,"Action"),t()(),e(12,"li")(13,"a",5),o(14,"Another action"),t()(),e(15,"li")(16,"a",5),o(17,"Something else here"),t()(),l(18,"li",6),e(19,"li")(20,"a",5),o(21,"Separated link"),t()()()(),e(22,"button",1),o(23,"Button"),t(),e(24,"button",1),o(25,"Button"),t(),e(26,"c-dropdown",2)(27,"button",3),o(28," Dropdown "),t(),e(29,"ul",4)(30,"li")(31,"a",5),o(32,"Action"),t()(),e(33,"li")(34,"a",5),o(35,"Another action"),t()(),e(36,"li")(37,"a",5),o(38,"Something else here"),t()(),l(39,"li",6),e(40,"li")(41,"a",5),o(42,"Separated link"),t()()()(),e(43,"c-dropdown",2)(44,"button",3),o(45," Dropdown "),t(),e(46,"ul",4)(47,"li")(48,"a",5),o(49,"Action"),t()(),e(50,"li")(51,"a",5),o(52,"Another action"),t()(),e(53,"li")(54,"a",5),o(55,"Something else here"),t()(),l(56,"li",6),e(57,"li")(58,"a",5),o(59,"Separated link"),t()()()(),e(60,"c-dropdown",7)(61,"button",3),o(62," Dropdown "),t(),e(63,"ul",4)(64,"li")(65,"a",5),o(66,"Action"),t()(),e(67,"li")(68,"a",5),o(69,"Another action"),t()(),e(70,"li")(71,"a",5),o(72,"Something else here"),t()(),l(73,"li",6),e(74,"li")(75,"a",5),o(76,"Separated link"),t()()()()()),i&2&&c("vertical",!0)},dependencies:[d,s,N,V,_,I,F,T],encapsulation:2});let r=n;return r})();var te=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group11-example"]],standalone:!0,features:[p],decls:15,vars:1,consts:[["aria-label","Vertical button group","role","group",3,"vertical"],["cButton","","color","dark"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Button"),t(),e(3,"button",1),o(4,"Button"),t(),e(5,"button",1),o(6,"Button"),t(),e(7,"button",1),o(8,"Button"),t(),e(9,"button",1),o(10,"Button"),t(),e(11,"button",1),o(12,"Button"),t(),e(13,"button",1),o(14,"Button"),t()()),i&2&&c("vertical",!0)},dependencies:[d,s],encapsulation:2});let r=n;return r})();var oe=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group10-example"]],standalone:!0,features:[p],decls:22,vars:0,consts:[["aria-label","Button group with nested dropdown","role","group"],["cButton","","color","primary"],["variant","btn-group"],["cButton","","cDropdownToggle",""],["cDropdownMenu",""],["cDropdownItem","","routerLink",""],["cDropdownDivider",""]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"1"),t(),e(3,"button",1),o(4,"2"),t(),e(5,"c-dropdown",2)(6,"button",3),o(7," Dropdown "),t(),e(8,"ul",4)(9,"li")(10,"a",5),o(11,"Action"),t()(),e(12,"li")(13,"a",5),o(14,"Another action"),t()(),e(15,"li")(16,"a",5),o(17,"Something else here"),t()(),l(18,"li",6),e(19,"li")(20,"a",5),o(21,"Separated link"),t()()()()())},dependencies:[d,s,N,V,_,I,F,T],encapsulation:2});let r=n;return r})();var ne=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group09-example"]],standalone:!0,features:[p],decls:23,vars:0,consts:[["aria-label","Large button group","role","group","sizing","lg",1,"m-1"],["cButton","","color","dark","variant","outline"],["aria-label","Default button group","role","group",1,"m-1"],["aria-label","Small button group","role","group","sizing","sm",1,"m-1"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2," Left "),t(),e(3,"button",1),o(4," Middle "),t(),e(5,"button",1),o(6," Right "),t()(),l(7,"br"),e(8,"c-button-group",2)(9,"button",1),o(10," Left "),t(),e(11,"button",1),o(12," Middle "),t(),e(13,"button",1),o(14," Right "),t()(),l(15,"br"),e(16,"c-button-group",3)(17,"button",1),o(18," Left "),t(),e(19,"button",1),o(20," Middle "),t(),e(21,"button",1),o(22," Right "),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var ie=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group08-example"]],standalone:!0,features:[p],decls:28,vars:0,consts:[["aria-label","Toolbar with button groups","role","group",1,"mb-3"],["aria-label","First group","role","group",1,"me-2"],["cButton","","color","secondary","variant","outline"],["cInputGroupText",""],["aria-describedby","btnGroupAddon","aria-label","Input group example","cFormControl","","placeholder","Input group example"],["aria-label","Toolbar with button groups","role","group",1,"justify-content-between"]],template:function(i,u){i&1&&(e(0,"c-button-toolbar",0)(1,"c-button-group",1)(2,"button",2),o(3," 1 "),t(),e(4,"button",2),o(5," 2 "),t(),e(6,"button",2),o(7," 3 "),t(),e(8,"button",2),o(9," 4 "),t()(),e(10,"c-input-group")(11,"span",3),o(12,"@"),t(),l(13,"input",4),t()(),e(14,"c-button-toolbar",5)(15,"c-button-group",1)(16,"button",2),o(17," 1 "),t(),e(18,"button",2),o(19," 2 "),t(),e(20,"button",2),o(21," 3 "),t(),e(22,"button",2),o(23," 4 "),t()(),e(24,"c-input-group")(25,"span",3),o(26,"@"),t(),l(27,"input",4),t()())},dependencies:[G,d,s,q,K,H],encapsulation:2});let r=n;return r})();var re=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group07-example"]],standalone:!0,features:[p],decls:20,vars:0,consts:[["aria-label","Toolbar with button groups","role","group"],["aria-label","First group","role","group",1,"me-2"],["cButton","","color","primary"],["aria-label","Second group","role","group",1,"me-2"],["cButton","","color","secondary"],["aria-label","Third group","role","group",1,"me-2"],["cButton","","color","info"]],template:function(i,u){i&1&&(e(0,"c-button-toolbar",0)(1,"c-button-group",1)(2,"button",2),o(3,"1"),t(),e(4,"button",2),o(5,"2"),t(),e(6,"button",2),o(7,"3"),t(),e(8,"button",2),o(9,"4"),t()(),e(10,"c-button-group",3)(11,"button",4),o(12,"5"),t(),e(13,"button",4),o(14,"6"),t(),e(15,"button",4),o(16,"7"),t()(),e(17,"c-button-group",5)(18,"button",6),o(19,"8"),t()()())},dependencies:[G,d,s],encapsulation:2});let r=n;return r})();var ae=(()=>{let n=class n{constructor(a){this.formBuilder=a,this.formRadio1=new P({radio1:new W("Radio1")})}setRadioValue(a){this.formRadio1.setValue({radio1:a})}};n.\u0275fac=function(i){return new(i||n)(h(D))},n.\u0275cmp=m({type:n,selectors:[["docs-button-group06-example"]],standalone:!0,features:[p],decls:11,vars:1,consts:[[3,"formGroup"],["aria-label","Basic radio toggle button group","role","group"],["formControlName","radio1","type","radio","value","Radio1",1,"btn-check"],["cButton","","cFormCheckLabel","","variant","outline",3,"click"],["formControlName","radio1","type","radio","value","Radio2",1,"btn-check"],["formControlName","radio1","type","radio","value","Radio3",1,"btn-check"]],template:function(i,u){i&1&&(e(0,"form",0)(1,"c-button-group",1),l(2,"input",2),e(3,"label",3),x("click",function(){return u.setRadioValue("Radio1")}),o(4,"Radio 1"),t(),l(5,"input",4),e(6,"label",3),x("click",function(){return u.setRadioValue("Radio2")}),o(7,"Radio 2"),t(),l(8,"input",5),e(9,"label",3),x("click",function(){return u.setRadioValue("Radio3")}),o(10,"Radio 3"),t()()()),i&2&&c("formGroup",u.formRadio1)},dependencies:[k,E,M,R,S,C,B,y,d,w,s],encapsulation:2});let r=n;return r})();var le=(()=>{let n=class n{constructor(a){this.formBuilder=a,this.formCheck1=this.formBuilder.group({checkbox1:!1,checkbox2:!1,checkbox3:!1})}setCheckBoxValue(a){let i=this.formCheck1.get(a)?.value,u=this.formCheck1.value;u[a]=!i,this.formCheck1.setValue(u)}};n.\u0275fac=function(i){return new(i||n)(h(D))},n.\u0275cmp=m({type:n,selectors:[["docs-button-group05-example"]],standalone:!0,features:[p],decls:11,vars:1,consts:[[3,"formGroup"],["aria-label","Basic checkbox toggle button group","role","group"],["formControlName","checkbox1","type","checkbox",1,"btn-check"],["cButton","","cFormCheckLabel","","variant","outline",3,"click"],["formControlName","checkbox2","type","checkbox",1,"btn-check"],["formControlName","checkbox3","type","checkbox",1,"btn-check"]],template:function(i,u){i&1&&(e(0,"form",0)(1,"c-button-group",1),l(2,"input",2),e(3,"label",3),x("click",function(){return u.setCheckBoxValue("checkbox1")}),o(4,"Checkbox 1"),t(),l(5,"input",4),e(6,"label",3),x("click",function(){return u.setCheckBoxValue("checkbox2")}),o(7,"Checkbox 2"),t(),l(8,"input",5),e(9,"label",3),x("click",function(){return u.setCheckBoxValue("checkbox3")}),o(10,"Checkbox 3"),t()()()),i&2&&c("formGroup",u.formCheck1)},dependencies:[k,E,j,S,C,B,y,d,w,s],encapsulation:2});let r=n;return r})();var ue=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group04-example"]],standalone:!0,features:[p],decls:7,vars:0,consts:[["aria-label","Basic outlined example","role","group"],["cButton","","color","primary","variant","outline"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2," Left "),t(),e(3,"button",1),o(4," Middle "),t(),e(5,"button",1),o(6," Right "),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var me=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group03-example"]],standalone:!0,features:[p],decls:7,vars:0,consts:[["aria-label","Basic mixed styles example","role","group"],["cButton","","color","danger"],["cButton","","color","warning"],["cButton","","color","success"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Left"),t(),e(3,"button",2),o(4,"Middle"),t(),e(5,"button",3),o(6,"Right"),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var pe=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group02-example"]],standalone:!0,features:[p],decls:7,vars:1,consts:[["aria-label","Basic example","role","group"],["cButton","","color","primary",3,"active"],["cButton","","color","primary"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Left"),t(),e(3,"button",2),o(4,"Middle"),t(),e(5,"button",2),o(6,"Right"),t()()),i&2&&(b(),c("active",!0))},dependencies:[d,s],encapsulation:2});let r=n;return r})();var ce=(()=>{let n=class n{constructor(){}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["docs-button-group01-example"]],standalone:!0,features:[p],decls:7,vars:0,consts:[["aria-label","Basic example","role","group"],["cButton","","color","primary"]],template:function(i,u){i&1&&(e(0,"c-button-group",0)(1,"button",1),o(2,"Left"),t(),e(3,"button",1),o(4,"Middle"),t(),e(5,"button",1),o(6,"Right"),t()())},dependencies:[d,s],encapsulation:2});let r=n;return r})();var se=`\`\`\`typescript import { ButtonGroupModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-JZLZFTWK.js b/angular/docs/chunk-WFHPAILT.js similarity index 99% rename from angular/docs/chunk-JZLZFTWK.js rename to angular/docs/chunk-WFHPAILT.js index c40c88bf18b..24776860a5a 100644 --- a/angular/docs/chunk-JZLZFTWK.js +++ b/angular/docs/chunk-WFHPAILT.js @@ -1 +1 @@ -import{a as ue}from"./chunk-FIXU3TFH.js";import{$ as W,Ea as g,Eb as d,Ga as Fe,La as I,Na as V,Nc as h,Pb as X,Sb as ae,ad as Ie,ba as c,ca as q,da as z,f as be,fa as M,ia as we,id as Se,l as Ae,mb as a,mc as y,nd as le,oa as Z,pa as u,q as Me,rb as S,w as Ee,xa as F}from"./chunk-O6V6MKDU.js";import{a as f,b as p}from"./chunk-MGAX33HK.js";var Ue=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(a(S),a(I))},e.\u0275dir=u({type:e});let i=e;return i})(),k=(()=>{let e=class e extends Ue{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,features:[d]});let i=e;return i})(),C=new M(""),ft={provide:C,useExisting:c(()=>pt),multi:!0},pt=(()=>{let e=class e extends k{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.checked)})("blur",function(){return s.onTouched()})},features:[h([ft]),d]});let i=e;return i})(),gt={provide:C,useExisting:c(()=>Re),multi:!0};function mt(){let i=ue()?ue().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var vt=new M(""),Re=(()=>{let e=class e extends Ue{constructor(t,n,s){super(t,n),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!mt())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(a(S),a(I),a(vt,8))},e.\u0275dir=u({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,s){n&1&&y("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[h([gt]),d]});let i=e;return i})();function D(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function He(i){return i!=null&&typeof i.length=="number"}var A=new M(""),H=new M(""),yt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Oe=class{static min(e){return _t(e)}static max(e){return Ct(e)}static required(e){return Le(e)}static requiredTrue(e){return $e(e)}static email(e){return Vt(e)}static minLength(e){return Dt(e)}static maxLength(e){return bt(e)}static pattern(e){return We(e)}static nullValidator(e){return K(e)}static compose(e){return Ke(e)}static composeAsync(e){return Je(e)}};function _t(i){return e=>{if(D(e.value)||D(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(D(e.value)||D(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function Le(i){return D(i.value)?{required:!0}:null}function $e(i){return i.value===!0?null:{required:!0}}function Vt(i){return D(i.value)||yt.test(i.value)?null:{email:!0}}function Dt(i){return e=>D(e.value)||!He(e.value)?null:e.value.lengthHe(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function We(i){if(!i)return K;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(D(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function K(i){return null}function qe(i){return i!=null}function ze(i){return Ie(i)?Ae(i):i}function Ze(i){let e={};return i.forEach(r=>{e=r!=null?f(f({},e),r):e}),Object.keys(e).length===0?null:e}function Xe(i,e){return e.map(r=>r(i))}function At(i){return!i.validate}function Ye(i){return i.map(e=>At(e)?e:r=>e.validate(r))}function Ke(i){if(!i)return null;let e=i.filter(qe);return e.length==0?null:function(r){return Ze(Xe(r,e))}}function ge(i){return i!=null?Ke(Ye(i)):null}function Je(i){if(!i)return null;let e=i.filter(qe);return e.length==0?null:function(r){let t=Xe(r,e).map(ze);return Ee(t).pipe(Me(Ze))}}function me(i){return i!=null?Je(Ye(i)):null}function xe(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function Qe(i){return i._rawValidators}function et(i){return i._rawAsyncValidators}function de(i){return i?Array.isArray(i)?i:[i]:[]}function J(i,e){return Array.isArray(i)?i.includes(e):i===e}function Ne(i,e){let r=de(e);return de(i).forEach(n=>{J(r,n)||r.push(n)}),r}function Pe(i,e){return de(e).filter(r=>!J(i,r))}var Q=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=ge(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=me(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},_=class extends Q{get formDirective(){return null}get path(){return null}},m=class extends Q{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ee=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Mt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Ai=p(f({},Mt),{"[class.ng-submitted]":"isSubmitted"}),Mi=(()=>{let e=class e extends ee{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(m,2))},e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,s){n&2&&ae("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]});let i=e;return i})(),Ei=(()=>{let e=class e extends ee{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(_,10))},e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,s){n&2&&ae("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]});let i=e;return i})();var G="VALID",Y="INVALID",O="PENDING",T="DISABLED",b=class{},te=class extends b{constructor(e,r){super(),this.value=e,this.source=r}},B=class extends b{constructor(e,r){super(),this.pristine=e,this.source=r}},U=class extends b{constructor(e,r){super(),this.touched=e,this.source=r}},x=class extends b{constructor(e,r){super(),this.status=e,this.source=r}},ce=class extends b{constructor(e){super(),this.source=e}},he=class extends b{constructor(e){super(),this.source=e}};function ve(i){return(se(i)?i.validators:i)||null}function Et(i){return Array.isArray(i)?ge(i):i||null}function ye(i,e){return(se(e)?e.asyncValidators:i)||null}function wt(i){return Array.isArray(i)?me(i):i||null}function se(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function tt(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new W(1e3,"");if(!t[r])throw new W(1001,"")}function it(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new W(1002,"")})}var P=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new be,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===G}get invalid(){return this.status===Y}get pending(){return this.status==O}get disabled(){return this.status===T}get enabled(){return this.status!==T}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Ne(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Ne(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Pe(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Pe(e,this._rawAsyncValidators))}hasValidator(e){return J(this._rawValidators,e)}hasAsyncValidator(e){return J(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(p(f({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new U(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),r&&e.emitEvent!==!1&&this._events.next(new U(!1,t))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(p(f({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new B(!1,t))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&e.emitEvent!==!1&&this._events.next(new B(!0,t))}markAsPending(e={}){this.status=O;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new x(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(p(f({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=T,this.errors=null,this._forEachChild(n=>{n.disable(p(f({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new te(this.value,t)),this._events.next(new x(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(f({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=G,this._forEachChild(t=>{t.enable(p(f({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(p(f({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===G||this.status===O)&&this._runAsyncValidator(t,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new te(this.value,r)),this._events.next(new x(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(p(f({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?T:G}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=O,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let t=ze(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new x(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?T:this.errors?Y:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(O)?O:this._anyControlsHaveStatus(Y)?Y:G}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let t=!this._anyControlsDirty(),n=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&this._events.next(new B(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new U(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){se(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Et(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=wt(this._rawAsyncValidators)}},E=class extends P{constructor(e,r,t){super(ve(r),ye(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){it(this,!0,e),Object.keys(e).forEach(t=>{tt(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,s)=>{t=r(t,n,s)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var wi=E;var fe=class extends E{};var w=new M("CallSetDisabledState",{providedIn:"root",factory:()=>L}),L="always";function nt(i,e){return[...e.path,i]}function R(i,e,r=L){_e(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),It(i,e),Ot(i,e),St(i,e),Ft(i,e)}function ie(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),re(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ne(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function Ft(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function _e(i,e){let r=Qe(i);e.validator!==null?i.setValidators(xe(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=et(i);e.asyncValidator!==null?i.setAsyncValidators(xe(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();ne(e._rawValidators,n),ne(e._rawAsyncValidators,n)}function re(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=Qe(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.validator);s.length!==n.length&&(r=!0,i.setValidators(s))}}if(e.asyncValidator!==null){let n=et(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.asyncValidator);s.length!==n.length&&(r=!0,i.setAsyncValidators(s))}}}let t=()=>{};return ne(e._rawValidators,t),ne(e._rawAsyncValidators,t),r}function It(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&rt(i,e)})}function St(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&rt(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function rt(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Ot(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function st(i,e){i==null,_e(i,e)}function xt(i,e){return re(i,e)}function Ce(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function Nt(i){return Object.getPrototypeOf(i.constructor)===k}function ot(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Ve(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(s=>{s.constructor===Re?r=s:Nt(s)?t=s:n=s}),n||t||r||null}function Pt(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var kt={provide:_,useExisting:c(()=>Gt)},j=Promise.resolve(),Gt=(()=>{let e=class e extends _{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new V,this.form=new E({},ge(t),me(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){j.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),R(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){j.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){j.then(()=>{let n=this._findContainer(t.path),s=new E({});st(s,t),n.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){j.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){j.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,ot(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(a(A,10),a(H,10),a(w,8))},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,s){n&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([kt]),d]});let i=e;return i})();function ke(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Ge(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var N=class extends P{constructor(e=null,r,t){super(ve(r),ye(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),se(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ge(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ke(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ke(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ge(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},Ii=N,Tt=i=>i instanceof N;var jt={provide:m,useExisting:c(()=>Bt)},Te=Promise.resolve(),Bt=(()=>{let e=class e extends m{constructor(t,n,s,o,l,v){super(),this._changeDetectorRef=l,this.callSetDisabledState=v,this.control=new N,this._registered=!1,this.name="",this.update=new V,this._parent=t,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=Ve(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Ce(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){R(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Te.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,s=n!==0&&le(n);Te.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?nt(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(a(_,9),a(A,10),a(H,10),a(C,10),a(Se,8),a(w,8))},e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[h([jt]),d,F]});let i=e;return i})(),Si=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})();var Ut={provide:C,useExisting:c(()=>Ht),multi:!0};var Rt=(()=>{let e=class e{constructor(){this._accessors=[]}add(t,n){this._accessors.push([t,n])}remove(t){for(let n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t){this._accessors.splice(n,1);return}}select(t){this._accessors.forEach(n=>{this._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})}_isSameGroup(t,n){return t[0].control?t[0]._parent===n._control._parent&&t[1].name===n.name:!1}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ht=(()=>{let e=class e extends k{constructor(t,n,s,o){super(t,n),this._registry=s,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=we(w,{optional:!0})??L}ngOnInit(){this._control=this._injector.get(m),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(n){return new(n||e)(a(S),a(I),a(Rt),a(Fe))},e.\u0275dir=u({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(){return s.onChange()})("blur",function(){return s.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[h([Ut]),d]});let i=e;return i})(),Lt={provide:C,useExisting:c(()=>$t),multi:!0},$t=(()=>{let e=class e extends k{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.value)})("input",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},features:[h([Lt]),d]});let i=e;return i})(),De=new M(""),Wt={provide:m,useExisting:c(()=>qt)},qt=(()=>{let e=class e extends m{set isDisabled(t){}constructor(t,n,s,o,l){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=l,this.update=new V,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Ve(this,s)}ngOnChanges(t){if(this._isControlChanged(t)){let n=t.form.previousValue;n&&ie(n,this,!1),R(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ce(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ie(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(a(A,10),a(H,10),a(C,10),a(De,8),a(w,8))},e.\u0275dir=u({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[h([Wt]),d,F]});let i=e;return i})(),zt={provide:_,useExisting:c(()=>Zt)},Zt=(()=>{let e=class e extends _{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(re(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return R(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){ie(t.control||null,t,!1),Pt(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,ot(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new ce(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1,this.form._events.next(new he(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,s=this.form.get(t.path);n!==s&&(ie(n||null,t),Tt(s)&&(R(s,t,this.callSetDisabledState),t.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);st(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&xt(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_e(this.form,this),this._oldForm&&re(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(a(A,10),a(H,10),a(w,8))},e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,s){n&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([zt]),d,F]});let i=e;return i})();var Xt={provide:m,useExisting:c(()=>Yt)},Yt=(()=>{let e=class e extends m{set isDisabled(t){}constructor(t,n,s,o,l){super(),this._ngModelWarningConfig=l,this._added=!1,this.name=null,this.update=new V,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=Ve(this,o)}ngOnChanges(t){this._added||this._setUpControl(),Ce(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return nt(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(a(_,13),a(A,10),a(H,10),a(C,10),a(De,8))},e.\u0275dir=u({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[h([Xt]),d,F]});let i=e;return i})(),Kt={provide:C,useExisting:c(()=>lt),multi:!0};function at(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Jt(i){return i.split(":")[0]}var lt=(()=>{let e=class e extends k{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n=this._getOptionId(t),s=at(n,t);this.setProperty("value",s)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=Jt(t);return this._optionMap.has(n)?this._optionMap.get(n):t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([Kt]),d]});let i=e;return i})(),Oi=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(at(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(I),a(S),a(lt,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),Qt={provide:C,useExisting:c(()=>ut),multi:!0};function je(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function ei(i){return i.split(":")[0]}var ut=(()=>{let e=class e extends k{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n;if(Array.isArray(t)){let s=t.map(o=>this._getOptionId(o));n=(o,l)=>{o._setSelected(s.indexOf(l.toString())>-1)}}else n=(s,o)=>{s._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let s=[],o=n.selectedOptions;if(o!==void 0){let l=o;for(let v=0;v{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([Qt]),d]});let i=e;return i})(),xi=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(je(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(je(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(I),a(S),a(ut,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();var dt=(()=>{let e=class e{constructor(){this._validator=K}ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):K,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,features:[F]});let i=e;return i})();var ti={provide:A,useExisting:c(()=>ct),multi:!0},ii={provide:A,useExisting:c(()=>ni),multi:!0},ct=(()=>{let e=class e extends dt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=le,this.createValidator=t=>Le}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,s){n&2&&X("required",s._enabled?"":null)},inputs:{required:"required"},features:[h([ti]),d]});let i=e;return i})(),ni=(()=>{let e=class e extends ct{constructor(){super(...arguments),this.createValidator=t=>$e}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(n,s){n&2&&X("required",s._enabled?"":null)},features:[h([ii]),d]});let i=e;return i})();var ri={provide:A,useExisting:c(()=>si),multi:!0},si=(()=>{let e=class e extends dt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>We(t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,s){n&2&&X("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[h([ri]),d]});let i=e;return i})();var ht=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({});let i=e;return i})(),pe=class extends P{constructor(e,r,t){super(ve(r),ye(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,t={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(e,r={}){let t=this._adjustIndex(e);t<0&&(t=0),this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),r&&(this.controls.splice(n,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){it(this,!1,e),e.forEach((t,n)=>{tt(this,!1,n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((t,n)=>{t.reset(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,t)=>t._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,t)=>{e(r,t)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Be(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var oi=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,n=null){let s=this._reduceControls(t),o={};return Be(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new E(s,o)}record(t,n=null){let s=this._reduceControls(t);return new fe(s,n)}control(t,n,s){let o={};return this.useNonNullable?(Be(n)?o=n:(o.validators=n,o.asyncValidators=s),new N(t,p(f({},o),{nonNullable:!0}))):new N(t,n,s)}array(t,n,s){let o=t.map(l=>this._createControl(l));return new pe(o,n,s)}_reduceControls(t){let n={};return Object.keys(t).forEach(s=>{n[s]=this._createControl(t[s])}),n}_createControl(t){if(t instanceof N)return t;if(t instanceof P)return t;if(Array.isArray(t)){let n=t[0],s=t.length>1?t[1]:null,o=t.length>2?t[2]:null;return this.control(n,s,o)}else return this.control(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ni=(()=>{let e=class e extends oi{group(t,n=null){return super.group(t,n)}control(t,n,s){return super.control(t,n,s)}array(t,n,s){return super.array(t,n,s)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pi=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:w,useValue:t.callSetDisabledState??L}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ht]});let i=e;return i})(),ki=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:De,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:w,useValue:t.callSetDisabledState??L}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ht]});let i=e;return i})();export{C as a,pt as b,Re as c,Oe as d,Mi as e,Ei as f,E as g,wi as h,Gt as i,N as j,Ii as k,Bt as l,Si as m,Ht as n,$t as o,qt as p,Zt as q,Yt as r,lt as s,Oi as t,xi as u,ct as v,ni as w,si as x,oi as y,Ni as z,Pi as A,ki as B}; +import{a as ue}from"./chunk-XHR4TYVD.js";import{$ as W,Ea as g,Eb as d,Ga as Fe,La as I,Na as V,Nc as h,Pb as X,Sb as ae,ad as Ie,ba as c,ca as q,da as z,f as be,fa as M,ia as we,id as Se,l as Ae,mb as a,mc as y,nd as le,oa as Z,pa as u,q as Me,rb as S,w as Ee,xa as F}from"./chunk-6U7QZ4SV.js";import{a as f,b as p}from"./chunk-MGAX33HK.js";var Ue=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(a(S),a(I))},e.\u0275dir=u({type:e});let i=e;return i})(),k=(()=>{let e=class e extends Ue{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,features:[d]});let i=e;return i})(),C=new M(""),ft={provide:C,useExisting:c(()=>pt),multi:!0},pt=(()=>{let e=class e extends k{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.checked)})("blur",function(){return s.onTouched()})},features:[h([ft]),d]});let i=e;return i})(),gt={provide:C,useExisting:c(()=>Re),multi:!0};function mt(){let i=ue()?ue().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var vt=new M(""),Re=(()=>{let e=class e extends Ue{constructor(t,n,s){super(t,n),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!mt())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(a(S),a(I),a(vt,8))},e.\u0275dir=u({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,s){n&1&&y("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[h([gt]),d]});let i=e;return i})();function D(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function He(i){return i!=null&&typeof i.length=="number"}var A=new M(""),H=new M(""),yt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Oe=class{static min(e){return _t(e)}static max(e){return Ct(e)}static required(e){return Le(e)}static requiredTrue(e){return $e(e)}static email(e){return Vt(e)}static minLength(e){return Dt(e)}static maxLength(e){return bt(e)}static pattern(e){return We(e)}static nullValidator(e){return K(e)}static compose(e){return Ke(e)}static composeAsync(e){return Je(e)}};function _t(i){return e=>{if(D(e.value)||D(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(D(e.value)||D(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function Le(i){return D(i.value)?{required:!0}:null}function $e(i){return i.value===!0?null:{required:!0}}function Vt(i){return D(i.value)||yt.test(i.value)?null:{email:!0}}function Dt(i){return e=>D(e.value)||!He(e.value)?null:e.value.lengthHe(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function We(i){if(!i)return K;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(D(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function K(i){return null}function qe(i){return i!=null}function ze(i){return Ie(i)?Ae(i):i}function Ze(i){let e={};return i.forEach(r=>{e=r!=null?f(f({},e),r):e}),Object.keys(e).length===0?null:e}function Xe(i,e){return e.map(r=>r(i))}function At(i){return!i.validate}function Ye(i){return i.map(e=>At(e)?e:r=>e.validate(r))}function Ke(i){if(!i)return null;let e=i.filter(qe);return e.length==0?null:function(r){return Ze(Xe(r,e))}}function ge(i){return i!=null?Ke(Ye(i)):null}function Je(i){if(!i)return null;let e=i.filter(qe);return e.length==0?null:function(r){let t=Xe(r,e).map(ze);return Ee(t).pipe(Me(Ze))}}function me(i){return i!=null?Je(Ye(i)):null}function xe(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function Qe(i){return i._rawValidators}function et(i){return i._rawAsyncValidators}function de(i){return i?Array.isArray(i)?i:[i]:[]}function J(i,e){return Array.isArray(i)?i.includes(e):i===e}function Ne(i,e){let r=de(e);return de(i).forEach(n=>{J(r,n)||r.push(n)}),r}function Pe(i,e){return de(e).filter(r=>!J(i,r))}var Q=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=ge(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=me(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},_=class extends Q{get formDirective(){return null}get path(){return null}},m=class extends Q{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ee=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Mt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Ai=p(f({},Mt),{"[class.ng-submitted]":"isSubmitted"}),Mi=(()=>{let e=class e extends ee{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(m,2))},e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,s){n&2&&ae("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]});let i=e;return i})(),Ei=(()=>{let e=class e extends ee{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(_,10))},e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,s){n&2&&ae("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]});let i=e;return i})();var G="VALID",Y="INVALID",O="PENDING",T="DISABLED",b=class{},te=class extends b{constructor(e,r){super(),this.value=e,this.source=r}},B=class extends b{constructor(e,r){super(),this.pristine=e,this.source=r}},U=class extends b{constructor(e,r){super(),this.touched=e,this.source=r}},x=class extends b{constructor(e,r){super(),this.status=e,this.source=r}},ce=class extends b{constructor(e){super(),this.source=e}},he=class extends b{constructor(e){super(),this.source=e}};function ve(i){return(se(i)?i.validators:i)||null}function Et(i){return Array.isArray(i)?ge(i):i||null}function ye(i,e){return(se(e)?e.asyncValidators:i)||null}function wt(i){return Array.isArray(i)?me(i):i||null}function se(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function tt(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new W(1e3,"");if(!t[r])throw new W(1001,"")}function it(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new W(1002,"")})}var P=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new be,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===G}get invalid(){return this.status===Y}get pending(){return this.status==O}get disabled(){return this.status===T}get enabled(){return this.status!==T}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Ne(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Ne(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Pe(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Pe(e,this._rawAsyncValidators))}hasValidator(e){return J(this._rawValidators,e)}hasAsyncValidator(e){return J(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(p(f({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new U(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),r&&e.emitEvent!==!1&&this._events.next(new U(!1,t))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(p(f({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new B(!1,t))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&e.emitEvent!==!1&&this._events.next(new B(!0,t))}markAsPending(e={}){this.status=O;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new x(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(p(f({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=T,this.errors=null,this._forEachChild(n=>{n.disable(p(f({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new te(this.value,t)),this._events.next(new x(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(f({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=G,this._forEachChild(t=>{t.enable(p(f({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(p(f({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===G||this.status===O)&&this._runAsyncValidator(t,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new te(this.value,r)),this._events.next(new x(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(p(f({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?T:G}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=O,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let t=ze(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new x(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?T:this.errors?Y:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(O)?O:this._anyControlsHaveStatus(Y)?Y:G}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let t=!this._anyControlsDirty(),n=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&this._events.next(new B(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new U(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){se(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Et(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=wt(this._rawAsyncValidators)}},E=class extends P{constructor(e,r,t){super(ve(r),ye(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){it(this,!0,e),Object.keys(e).forEach(t=>{tt(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,s)=>{t=r(t,n,s)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var wi=E;var fe=class extends E{};var w=new M("CallSetDisabledState",{providedIn:"root",factory:()=>L}),L="always";function nt(i,e){return[...e.path,i]}function R(i,e,r=L){_e(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),It(i,e),Ot(i,e),St(i,e),Ft(i,e)}function ie(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),re(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ne(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function Ft(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function _e(i,e){let r=Qe(i);e.validator!==null?i.setValidators(xe(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=et(i);e.asyncValidator!==null?i.setAsyncValidators(xe(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();ne(e._rawValidators,n),ne(e._rawAsyncValidators,n)}function re(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=Qe(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.validator);s.length!==n.length&&(r=!0,i.setValidators(s))}}if(e.asyncValidator!==null){let n=et(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.asyncValidator);s.length!==n.length&&(r=!0,i.setAsyncValidators(s))}}}let t=()=>{};return ne(e._rawValidators,t),ne(e._rawAsyncValidators,t),r}function It(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&rt(i,e)})}function St(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&rt(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function rt(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Ot(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function st(i,e){i==null,_e(i,e)}function xt(i,e){return re(i,e)}function Ce(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function Nt(i){return Object.getPrototypeOf(i.constructor)===k}function ot(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Ve(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(s=>{s.constructor===Re?r=s:Nt(s)?t=s:n=s}),n||t||r||null}function Pt(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var kt={provide:_,useExisting:c(()=>Gt)},j=Promise.resolve(),Gt=(()=>{let e=class e extends _{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new V,this.form=new E({},ge(t),me(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){j.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),R(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){j.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){j.then(()=>{let n=this._findContainer(t.path),s=new E({});st(s,t),n.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){j.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){j.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,ot(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(a(A,10),a(H,10),a(w,8))},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,s){n&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([kt]),d]});let i=e;return i})();function ke(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Ge(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var N=class extends P{constructor(e=null,r,t){super(ve(r),ye(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),se(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ge(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ke(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ke(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ge(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},Ii=N,Tt=i=>i instanceof N;var jt={provide:m,useExisting:c(()=>Bt)},Te=Promise.resolve(),Bt=(()=>{let e=class e extends m{constructor(t,n,s,o,l,v){super(),this._changeDetectorRef=l,this.callSetDisabledState=v,this.control=new N,this._registered=!1,this.name="",this.update=new V,this._parent=t,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=Ve(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Ce(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){R(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Te.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,s=n!==0&&le(n);Te.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?nt(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(a(_,9),a(A,10),a(H,10),a(C,10),a(Se,8),a(w,8))},e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[h([jt]),d,F]});let i=e;return i})(),Si=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})();var Ut={provide:C,useExisting:c(()=>Ht),multi:!0};var Rt=(()=>{let e=class e{constructor(){this._accessors=[]}add(t,n){this._accessors.push([t,n])}remove(t){for(let n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t){this._accessors.splice(n,1);return}}select(t){this._accessors.forEach(n=>{this._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})}_isSameGroup(t,n){return t[0].control?t[0]._parent===n._control._parent&&t[1].name===n.name:!1}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ht=(()=>{let e=class e extends k{constructor(t,n,s,o){super(t,n),this._registry=s,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=we(w,{optional:!0})??L}ngOnInit(){this._control=this._injector.get(m),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(n){return new(n||e)(a(S),a(I),a(Rt),a(Fe))},e.\u0275dir=u({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(){return s.onChange()})("blur",function(){return s.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[h([Ut]),d]});let i=e;return i})(),Lt={provide:C,useExisting:c(()=>$t),multi:!0},$t=(()=>{let e=class e extends k{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.value)})("input",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},features:[h([Lt]),d]});let i=e;return i})(),De=new M(""),Wt={provide:m,useExisting:c(()=>qt)},qt=(()=>{let e=class e extends m{set isDisabled(t){}constructor(t,n,s,o,l){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=l,this.update=new V,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Ve(this,s)}ngOnChanges(t){if(this._isControlChanged(t)){let n=t.form.previousValue;n&&ie(n,this,!1),R(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ce(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ie(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(a(A,10),a(H,10),a(C,10),a(De,8),a(w,8))},e.\u0275dir=u({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[h([Wt]),d,F]});let i=e;return i})(),zt={provide:_,useExisting:c(()=>Zt)},Zt=(()=>{let e=class e extends _{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(re(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return R(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){ie(t.control||null,t,!1),Pt(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,ot(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new ce(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1,this.form._events.next(new he(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,s=this.form.get(t.path);n!==s&&(ie(n||null,t),Tt(s)&&(R(s,t,this.callSetDisabledState),t.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);st(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&xt(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_e(this.form,this),this._oldForm&&re(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(a(A,10),a(H,10),a(w,8))},e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,s){n&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([zt]),d,F]});let i=e;return i})();var Xt={provide:m,useExisting:c(()=>Yt)},Yt=(()=>{let e=class e extends m{set isDisabled(t){}constructor(t,n,s,o,l){super(),this._ngModelWarningConfig=l,this._added=!1,this.name=null,this.update=new V,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=Ve(this,o)}ngOnChanges(t){this._added||this._setUpControl(),Ce(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return nt(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(a(_,13),a(A,10),a(H,10),a(C,10),a(De,8))},e.\u0275dir=u({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[h([Xt]),d,F]});let i=e;return i})(),Kt={provide:C,useExisting:c(()=>lt),multi:!0};function at(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Jt(i){return i.split(":")[0]}var lt=(()=>{let e=class e extends k{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n=this._getOptionId(t),s=at(n,t);this.setProperty("value",s)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=Jt(t);return this._optionMap.has(n)?this._optionMap.get(n):t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([Kt]),d]});let i=e;return i})(),Oi=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(at(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(I),a(S),a(lt,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),Qt={provide:C,useExisting:c(()=>ut),multi:!0};function je(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function ei(i){return i.split(":")[0]}var ut=(()=>{let e=class e extends k{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n;if(Array.isArray(t)){let s=t.map(o=>this._getOptionId(o));n=(o,l)=>{o._setSelected(s.indexOf(l.toString())>-1)}}else n=(s,o)=>{s._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let s=[],o=n.selectedOptions;if(o!==void 0){let l=o;for(let v=0;v{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([Qt]),d]});let i=e;return i})(),xi=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(je(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(je(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(I),a(S),a(ut,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();var dt=(()=>{let e=class e{constructor(){this._validator=K}ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):K,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,features:[F]});let i=e;return i})();var ti={provide:A,useExisting:c(()=>ct),multi:!0},ii={provide:A,useExisting:c(()=>ni),multi:!0},ct=(()=>{let e=class e extends dt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=le,this.createValidator=t=>Le}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,s){n&2&&X("required",s._enabled?"":null)},inputs:{required:"required"},features:[h([ti]),d]});let i=e;return i})(),ni=(()=>{let e=class e extends ct{constructor(){super(...arguments),this.createValidator=t=>$e}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(n,s){n&2&&X("required",s._enabled?"":null)},features:[h([ii]),d]});let i=e;return i})();var ri={provide:A,useExisting:c(()=>si),multi:!0},si=(()=>{let e=class e extends dt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>We(t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,s){n&2&&X("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[h([ri]),d]});let i=e;return i})();var ht=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({});let i=e;return i})(),pe=class extends P{constructor(e,r,t){super(ve(r),ye(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,t={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(e,r={}){let t=this._adjustIndex(e);t<0&&(t=0),this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),r&&(this.controls.splice(n,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){it(this,!1,e),e.forEach((t,n)=>{tt(this,!1,n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((t,n)=>{t.reset(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,t)=>t._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,t)=>{e(r,t)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Be(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var oi=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,n=null){let s=this._reduceControls(t),o={};return Be(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new E(s,o)}record(t,n=null){let s=this._reduceControls(t);return new fe(s,n)}control(t,n,s){let o={};return this.useNonNullable?(Be(n)?o=n:(o.validators=n,o.asyncValidators=s),new N(t,p(f({},o),{nonNullable:!0}))):new N(t,n,s)}array(t,n,s){let o=t.map(l=>this._createControl(l));return new pe(o,n,s)}_reduceControls(t){let n={};return Object.keys(t).forEach(s=>{n[s]=this._createControl(t[s])}),n}_createControl(t){if(t instanceof N)return t;if(t instanceof P)return t;if(Array.isArray(t)){let n=t[0],s=t.length>1?t[1]:null,o=t.length>2?t[2]:null;return this.control(n,s,o)}else return this.control(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ni=(()=>{let e=class e extends oi{group(t,n=null){return super.group(t,n)}control(t,n,s){return super.control(t,n,s)}array(t,n,s){return super.array(t,n,s)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=g(e)))(s||e)}})(),e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pi=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:w,useValue:t.callSetDisabledState??L}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ht]});let i=e;return i})(),ki=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:De,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:w,useValue:t.callSetDisabledState??L}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ht]});let i=e;return i})();export{C as a,pt as b,Re as c,Oe as d,Mi as e,Ei as f,E as g,wi as h,Gt as i,N as j,Ii as k,Bt as l,Si as m,Ht as n,$t as o,qt as p,Zt as q,Yt as r,lt as s,Oi as t,xi as u,ct as v,ni as w,si as x,oi as y,Ni as z,Pi as A,ki as B}; diff --git a/angular/docs/chunk-6VQYNMHT.js b/angular/docs/chunk-WFOV5FNG.js similarity index 99% rename from angular/docs/chunk-6VQYNMHT.js rename to angular/docs/chunk-WFOV5FNG.js index 86ac1ef951d..5cbbe02e230 100644 --- a/angular/docs/chunk-6VQYNMHT.js +++ b/angular/docs/chunk-WFOV5FNG.js @@ -1 +1 @@ -import{a as rt,b as _e,c as Ve,d as st,e as ot,f as lt,g as dt,h as ct,i as I,j as J,k as ht,l as ut,m as Fe,n as pt,o as mt,p as Dt,q as _t,r as ft,s as Ct,t as gt,u as yt,v as fe,w as P,x as Ce,y as Et}from"./chunk-4EHRG2WJ.js";import{i as Ot}from"./chunk-C5JPXVV5.js";import{B as Vt,a as kt,c as xt,d as Me,e as Ft,j as Re,p as Tt,x as St}from"./chunk-JZLZFTWK.js";import{c as it}from"./chunk-R2HXWLDR.js";import{c as Mt,d as Rt,e as At}from"./chunk-KASAEZY4.js";import{a as xe}from"./chunk-TVRAGCHV.js";import{a as U,h as wt,k as Te,l as vt,m as bt}from"./chunk-QNSTT6ST.js";import{j as tt,m as De,s as at,t as nt}from"./chunk-FIXU3TFH.js";import{$b as f,Aa as D,Ac as V,Ba as _,Bc as N,Cc as qe,Dc as L,Gb as le,H as Ne,Ia as Q,Jb as T,K as Ie,Kc as Ge,La as we,Lc as Je,Mc as Xe,Na as A,Nc as ve,Oc as ce,Pb as X,Pc as ue,Qb as k,Qc as be,Tc as Ze,Ub as z,Wb as F,Wc as $,Xc as pe,Y as Be,Yb as q,Yc as ke,Zb as Y,Zc as Se,_b as j,ac as C,ba as We,bc as G,ca as He,ec as Ue,fc as S,g as je,ha as Le,ia as M,kd as et,lb as p,mb as oe,mc as b,na as se,nd as v,oc as c,od as he,pa as ye,pc as Ke,pd as me,qa as R,qc as Qe,tc as ze,uc as de,vc as Z,wc as ee,xa as $e,zb as H}from"./chunk-O6V6MKDU.js";import{a as E,e as m,f as w,g as y}from"./chunk-MGAX33HK.js";var B=(()=>{let r=class r{constructor(n){this.keyValueDiffers=n,this.calendarStateObject={calendarDate:new Date,hoverDate:null,startDate:null,endDate:null,maxDate:null,minDate:null,disabledDates:[],range:!1,view:"days",locale:"default",dateFilter:void 0,weekdayFormat:"short",dayFormat:"numeric",navYearFirst:!1,showAdjacentDays:!0,selectAdjacentDays:!1,selectionType:"day",showWeekNumber:!1,weekNumbersLabel:void 0},this.calendarState=new je(this.calendarStateObject),this.calendarState$=this.calendarState.asObservable(),this.differ=this.keyValueDiffers.find(this.calendarStateObject).create()}update(n){let t=Object.keys(n);for(let o of t){let d=this.calendarStateObject[o];d!==n[o]&&(fe(n[o])&&d&&d.getTime()===n[o]?.getTime()||(this.calendarStateObject[o]=n[o]))}if(this.differ){let o=this.differ.diff(this.calendarStateObject);if(o){let d=E({},this.calendarStateObject);o.forEachChangedItem(e=>{d[e.key]=e.currentValue}),this.calendarState.next(d)}}}};r.\u0275fac=function(t){return new(t||r)(Le(et))},r.\u0275prov=He({token:r,factory:r.\u0275fac});let i=r;return i})();var Qt=()=>({display:"flex",justifyContent:"center"}),Pt=()=>({}),zt=()=>({order:"-1"}),qt=()=>({year:"numeric"}),Gt=()=>({month:"long"});function Jt(i,r){if(i&1){let a=S();f(0,"button",5),b("click",function(){D(a);let t=c(2);return _(t.handleNavigationClick("prev"))})("keyup",function(t){D(a);let o=c(2);return _(o.handleNavigationKeyUp(t,"prev"))}),G(1,"span",7),C()}}function Xt(i,r){if(i&1){let a=S();f(0,"div",0)(1,"button",5),b("click",function(){D(a);let t=c();return _(t.handleNavigationClick("prev",!0))})("keyup",function(t){D(a);let o=c();return _(o.handleNavigationKeyUp(t,"prev",!0))}),G(2,"span",6),C(),T(3,Jt,2,0,"button",2),C()}if(i&2){let a=c();p(3),F(a.view==="days"?3:-1)}}function Zt(i,r){if(i&1){let a=S();f(0,"button",8),b("click",function(){D(a);let t=c();return _(t.setView("months"))}),N(1),C()}if(i&2){let a=c();p(),L(" ",a.date.toLocaleDateString(a.locale,ue(1,Gt))," ")}}function ea(i,r){if(i&1){let a=S();f(0,"button",5),b("click",function(){D(a);let t=c(2);return _(t.handleNavigationClick("next"))})("keyup",function(t){D(a);let o=c(2);return _(o.handleNavigationKeyUp(t,"next"))}),G(1,"span",10),C()}}function ta(i,r){if(i&1){let a=S();f(0,"div",4),T(1,ea,2,0,"button",2),f(2,"button",5),b("click",function(){D(a);let t=c();return _(t.handleNavigationClick("next",!0))})("keyup",function(t){D(a);let o=c();return _(o.handleNavigationKeyUp(t,"next",!0))}),G(3,"span",9),C()()}if(i&2){let a=c();p(),F(a.view==="days"?1:-1)}}var Yt=(()=>{var r;let a=class a{constructor(t){w(this,r);this.calendarService=t,y(this,r,M(Q)),this.addMonths=0,this._calendarDate=new Date,this.navigation=!0,this.navYearFirst=!1,this.locale="default",this.view="days",this.selectionType="day",this.navigationClick=new A,this.calendarStateSubscribe()}set calendarDate(t){this._calendarDate=t}get calendarDate(){return this._calendarDate}get date(){return new Date(this.calendarDate.getFullYear(),this.calendarDate.getMonth()+this.addMonths)}get hostClasses(){return{"calendar-nav":!0}}calendarStateSubscribe(){this.calendarService.calendarState$.pipe(U(m(this,r))).subscribe(t=>{let o=Object.keys(t);for(let d of o)d in this&&(this[d]=t[d])})}setView(t){this.view=t,this.calendarService.update({view:t})}handleNavigationClick(t,o=!1){this.navigationClick.emit({direction:t,years:o})}handleNavigationKeyUp(t,o,d){["Space"].includes(t.code)&&(t.preventDefault(),this.handleNavigationClick(o,d))}};r=new WeakMap,a.\u0275fac=function(o){return new(o||a)(oe(B))},a.\u0275cmp=se({type:a,selectors:[["c-calendar-navigation"]],hostVars:2,hostBindings:function(o,d){o&2&&z(d.hostClasses)},inputs:{addMonths:"addMonths",calendarDate:"calendarDate",navigation:"navigation",navYearFirst:"navYearFirst"},outputs:{navigationClick:"navigationClick"},standalone:!0,features:[ce],decls:6,vars:11,consts:[[1,"calendar-nav-prev"],[1,"calendar-nav-date",3,"ngStyle"],["cButton","","color","transparent","size","sm","tabindex","0"],["cButton","","color","transparent","size","sm","tabindex","0",3,"click","ngStyle"],[1,"calendar-nav-next"],["cButton","","color","transparent","size","sm","tabindex","0",3,"click","keyup"],[1,"calendar-nav-icon","calendar-nav-icon-double-prev"],[1,"calendar-nav-icon","calendar-nav-icon-prev"],["cButton","","color","transparent","size","sm","tabindex","0",3,"click"],[1,"calendar-nav-icon","calendar-nav-icon-double-next"],[1,"calendar-nav-icon","calendar-nav-icon-next"]],template:function(o,d){o&1&&(T(0,Xt,4,1,"div",0),f(1,"div",1),T(2,Zt,2,2,"button",2),f(3,"button",3),b("click",function(){return d.setView("years")}),N(4),C()(),T(5,ta,4,1,"div",4)),o&2&&(F(d.navigation?0:-1),p(),k("ngStyle",d.navYearFirst?ue(6,Qt):ue(7,Pt)),p(),F(d.view==="days"?2:-1),p(),k("ngStyle",d.navYearFirst?ue(8,zt):ue(9,Pt)),p(),L(" ",d.date.toLocaleDateString(d.locale,ue(10,qt))," "),p(),F(d.navigation?5:-1))},dependencies:[xe,at]});let i=a;return i})();var jt=(()=>{let r=class r{transform(n,t="short",o="default"){return typeof t=="function"?t(n):typeof t=="string"?n.toLocaleDateString(o,{weekday:t}):n.toLocaleDateString(o,{weekday:"long"}).slice(0,t)}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarWeekday",type:r,pure:!0,standalone:!0});let i=r;return i})();var Nt=(()=>{let r=class r{transform(n,t){return{"calendar-cell":!0,year:!0,today:yt(n)}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassYear",type:r,pure:!0,standalone:!0});let i=r;return i})();var It=(()=>{let r=class r{transform(n,t){let o=new Date(new Date(n).getFullYear(),t,1);return{"calendar-cell":!0,month:!0,today:gt(o,t)}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassMonth",type:r,pure:!0,standalone:!0});let i=r;return i})();var Bt=(()=>{let r=class r{transform(n,t="numeric",o="default"){return typeof t=="function"?t(n):n.toLocaleDateString(o,{day:t})}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarDay",type:r,pure:!0,standalone:!0});let i=r;return i})();var Oe=(()=>{var r,a,n,t;let o=class o{constructor(){w(this,r);w(this,a);w(this,n);w(this,t);y(this,r,M(Q)),y(this,a,M(B)),this.elementRef=M(we),this.focusMonitor=M(Te),y(this,n,H(E({},m(this,a).calendarStateObject))),this.disabled=!1,this.month="current",this.calendarDate=new Date,y(this,t,me(()=>{let e=m(this,n).call(this);return e.range&&!!e.startDate&&!e.endDate})),this.disabled$=me(()=>{let e=E({},m(this,n).call(this)),s=this.date.getFullYear();switch(e.view){case"months":let l=s*100+this.date.getMonth(),h=e.minDate?e.minDate.getFullYear()*100+e.minDate?.getMonth():void 0,g=e.maxDate?e.maxDate.getFullYear()*100+e.maxDate?.getMonth():void 0;this.disabled=(h?lg:!1);break;case"years":let u=e.minDate?.getFullYear(),x=e.maxDate?.getFullYear();this.disabled=(u?sx:!1);break}return this.disabled}),m(this,a).calendarState$.pipe(Be(e=>{m(this,n).set(e)}),U(m(this,r))).subscribe()}get hostClasses(){if(!this.date)return;let e=m(this,n).call(this);e.startDate=e.startDate??null,e.hoverDate=e.hoverDate??null,e.endDate=e.endDate??null;let s=ft(this.date,e.startDate,e.endDate),l=Dt(this.date,e.startDate,e.endDate),h=!1,g=!1,u=!1,x=!1,te=!1,ae=!1,ne=!1;switch(e.view){case"months":e.selectionType==="month"&&(h=!!pt(this.date,e.startDate,e.endDate),x=!!J(this.date,e.startDate,e.endDate),u=m(this,t).call(this)&&!!J(this.date,e.startDate,e.hoverDate));break;case"years":e.selectionType==="year"&&(h=!!mt(this.date,e.startDate,e.endDate),x=!!J(this.date,e.startDate,e.endDate),u=m(this,t).call(this)&&!!ht(this.date,e.startDate,e.hoverDate));break;default:h=e.selectionType==="day"&&!!Fe(this.date,e.startDate,e.endDate),g=this.month!=="current"&&!!e.selectAdjacentDays,u=e.selectionType==="day"&&this.month==="current"&&m(this,t).call(this)&&!!J(this.date,e.startDate,e.hoverDate),x=this.month==="current"&&(J(this.date,e.startDate,e.endDate)||!!s||!!l),te=Ce(e.startDate,this.date,e.disabledDates),ae=I(this.date,e.minDate,e.maxDate,e.disabledDates),ne=e.dateFilter&&Object.prototype.toString.call(e.dateFilter)==="[object Function]"&&this.date?!e.dateFilter(this.date):!1,this.disabled=ae||ne}return{"range-hover":u&&(!te||!ne),selected:h,range:x,start:!!s,end:!!l,disabled:this.disabled,clickable:g}}focus(e){this.focusMonitor.focusVia(this.elementRef.nativeElement,e??"keyboard")}getLabel(){return this.date?.toLocaleDateString(m(this,n).call(this).locale)??""}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)},o.\u0275dir=ye({type:o,selectors:[["","cCalendarDay",""]],hostVars:2,hostBindings:function(s,l){s&2&&z(l.hostClasses)},inputs:{date:"date",disabled:[2,"disabled","disabled",v],month:"month",calendarDate:"calendarDate"},exportAs:["cCalendarDay"],standalone:!0,features:[le]});let i=o;return i})();var Wt=(()=>{let r=class r{transform(n,t="default"){return n.toLocaleDateString(t)}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarDayTitle",type:r,pure:!0,standalone:!0});let i=r;return i})();var Ht=(()=>{let r=class r{transform(n,t){let{date:o,month:d}=E({},n),{minDate:e,maxDate:s,disabledDates:l,dateFilter:h}=E({},t),g=I(o,e,s,l)||(h?!h(o):!1);return{"calendar-cell":!0,today:Ct(o),disabled:g,next:d==="next",previous:d==="previous",current:d==="current",last:_t(o)}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassDay",type:r,pure:!0,standalone:!0});let i=r;return i})();var Ee=(()=>{var r,a,n,t;let o=class o{constructor(){w(this,r);w(this,a);w(this,n);w(this,t);y(this,r,M(Q)),y(this,a,M(B)),this.elementRef=M(we),this.focusMonitor=M(Te),this.date=null,this.startDate=null,this.endDate=null,this.hoverDate=null,this.maxDate=null,this.minDate=null,this.range=!1,this.selectionType="week",this.calendarDate=new Date,this.locale="default",y(this,t,H(-1)),m(this,a).calendarState$.pipe(Ie(),U(m(this,r))).subscribe(e=>{let{startDate:s=this.startDate,endDate:l=this.endDate,hoverDate:h=this.hoverDate,maxDate:g=this.maxDate,minDate:u=this.minDate,range:x=this.range,disabledDates:te=this.disabledDates,dateFilter:ae=this.dateFilter,selectionType:ne=this.selectionType,calendarDate:ie=this.calendarDate,locale:ge=this.locale}=E({},e);this.startDate=s,this.endDate=l,this.hoverDate=h,this.maxDate=g,this.minDate=u,this.range=x,this.disabledDates=te,this.dateFilter=ae,this.selectionType=ne,this.calendarDate=ie??new Date,this.locale=ge??"default"})}set week(e){this.current=e.days.some(s=>s.month==="current"),m(this,t).set(this.selectionType==="week"&&this.current&&!this.disabled?0:-1),y(this,n,e)}get week(){return m(this,n)}get tabindex(){return m(this,t).call(this)}get selectEndDate(){return this.range&&!!this.startDate&&!this.endDate}get hostClasses(){if(!this.week)return{"calendar-row":!0};let e=this.week,s=this.calendarDate,l=this.selectionType;this.date=_e(e.weekNumber===0?`${s.getFullYear()}W53`:`${s.getFullYear()}W${e.weekNumber}`,l),this.current=e.days.some(ae=>ae.month==="current");let h=this.selectionType==="week"&&J(this.date,this.startDate,this.endDate),g=this.selectionType==="week"&&this.hoverDate&&this.selectEndDate?J(this.date,this.startDate,this.hoverDate):J(this.date,this.hoverDate,this.endDate),u=Fe(this.date,this.startDate,this.endDate),x=I(this.date,this.minDate,this.maxDate,this.disabledDates),te=Object.prototype.toString.call(this.dateFilter)==="[object Function]"&&this.date?!this.dateFilter(this.date):!1;return this.disabled=x||te,{"calendar-row":!0,disabled:this.disabled,range:h,"range-hover":g,selected:u,current:this.current}}focus(e){this.focusMonitor.focusVia(this.elementRef.nativeElement,e??"keyboard")}getLabel(){return this.date?.toLocaleDateString(this.locale)??""}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)},o.\u0275dir=ye({type:o,selectors:[["","cCalendarRow",""]],hostVars:3,hostBindings:function(s,l){s&2&&(X("tabindex",l.tabindex),z(l.hostClasses))},inputs:{week:[0,"cCalendarRow","week"]},exportAs:["cCalendarRow"],standalone:!0});let i=o;return i})();var Lt=(i,r)=>r.date,aa=(i,r,a,n)=>({minDate:i,maxDate:r,disabledDates:a,dateFilter:n});function na(i,r){if(i&1&&(f(0,"th",5)(1,"div",6),N(2),C()()),i&2){let a=c(2);p(2),qe(a.weekNumbersLabel)}}function ia(i,r){if(i&1&&(f(0,"th",5)(1,"div",6),N(2),$(3,"calendarWeekday"),C()()),i&2){let a=r.$implicit,n=c(2);p(2),L(" ",Se(3,1,a.date,n.weekdayFormat,n.locale)," ")}}function ra(i,r){if(i&1&&(f(0,"thead")(1,"tr"),T(2,na,3,1,"th",5),Y(3,ia,4,5,"th",5,Lt),C()()),i&2){let a=c();p(2),F(a.showWeekNumber?2:-1),p(),j(a.weekDays)}}function sa(i,r){if(i&1){let a=S();f(0,"td",8,0),$(2,"calendarClassYear"),b("click",function(){let t=D(a).$implicit,o=V(1),d=c(3);return _(!o.disabled$()&&d.handleYearCellClick(t))})("keydown",function(t){D(a);let o=V(1),d=c(3);return _(o.date&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=V(1),d=c(3);return _(d.handleYearCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=V(1),o=c(3);return _(t.date&&o.handleCellMouseEnter(t.date))}),f(3,"div",9),N(4),C()()}if(i&2){let a=r.$implicit,n=V(1),t=c(3);k("date",t.getYearStart(a))("ngClass",pe(2,5,a))("tabindex",n.disabled$()?-1:0),X("aria-label",n.date.getFullYear()),p(4),L(" ",t.yearNumber(a)," ")}}function oa(i,r){if(i&1&&(f(0,"tr"),Y(1,sa,5,7,"td",7,q),C()),i&2){let a=r.$implicit;p(),j(a)}}function la(i,r){if(i&1&&Y(0,oa,3,0,"tr",null,q),i&2){let a=c();j(a.listOfYears())}}function da(i,r){if(i&1){let a=S();f(0,"td",8,1),$(2,"calendarClassMonth"),b("click",function(){D(a);let t=V(1),o=c(3);return _(!t.disabled$()&&o.handleMonthCellClick(t.date))})("keydown",function(t){D(a);let o=V(1),d=c(3);return _(o.date&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=V(1),d=c(3);return _(d.handleMonthCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=V(1),o=c(3);return _(t.date&&o.handleCellMouseEnter(t.date))}),f(3,"div",9),N(4),C()()}if(i&2){let a=r.$implicit,n=r.$index,t=V(1),o=c().$index,d=c(2);k("date",d.getMonthStart(o*3+n))("ngClass",ke(2,5,d.calendarDate,o*3+n))("tabindex",t.disabled$()?-1:0),X("aria-label",t.date.getFullYear()+" "+a.month),p(4),L(" ",a.month," ")}}function ca(i,r){if(i&1&&(f(0,"tr"),Y(1,da,5,8,"td",7,q),C()),i&2){let a=r.$implicit;p(),j(a)}}function ha(i,r){if(i&1&&Y(0,ca,3,0,"tr",null,q),i&2){let a=c();j(a.listOfMonths())}}function ua(i,r){if(i&1&&(f(0,"th",12),N(1),C()),i&2){let a=c().$implicit;p(),L(" ",a.weekNumber===0?53:a.weekNumber," ")}}function pa(i,r){if(i&1){let a=S();f(0,"td",14,3),$(2,"calendarClassDay"),$(3,"calendarDayTitle"),b("click",function(){D(a);let t=c().$implicit,o=c(3);return _(o.selectionType==="day"&&(t.month==="current"||o.selectAdjacentDays)&&o.handleDayCellClick(t.date))})("keydown",function(t){D(a);let o=c().$implicit,d=c(3);return _(d.selectionType==="day"&&(o.month==="current"||d.selectAdjacentDays)&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=c().$implicit,d=c(3);return _(d.selectionType==="day"&&(o.month==="current"||d.selectAdjacentDays)&&d.handleDayCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=c().$implicit,o=c(3);return _(o.selectionType==="day"&&(t.month==="current"||o.selectAdjacentDays)&&o.handleCellMouseEnter(t.date))}),f(4,"div",9),N(5),$(6,"calendarDay"),C()()}if(i&2){let a=c().$implicit,n=c(3);k("date",a.date)("month",a.month)("ngClass",ke(2,6,a,Ze(16,aa,n.minDate,n.maxDate,n.disabledDates,n.dateFilter)))("tabindex",n.selectionType==="day"&&(a.month==="current"||n.selectAdjacentDays)&&!n.isDateDisabled(a.date)?0:-1),X("aria-label",ke(3,9,a.date,n.locale)),p(5),L(" ",Se(6,12,a.date,n.dayFormat,n.locale)," ")}}function ma(i,r){i&1&&G(0,"td",5)}function Da(i,r){if(i&1&&T(0,pa,7,21,"td",13)(1,ma,1,0,"td",5),i&2){let a=r.$implicit,n=c(3);F(a.month==="current"||n.showAdjacentDays?0:1)}}function _a(i,r){if(i&1){let a=S();f(0,"tr",11,2),b("click",function(){D(a);let t=V(1),o=c(2);return _(o.selectionType==="week"&&t.current&&t.date&&o.handleDayCellClick(t.date))})("keydown",function(t){D(a);let o=V(1),d=c(2);return _(d.selectionType==="week"&&o.current&&o.date&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=V(1),d=c(2);return _(d.selectionType==="week"&&o.current&&o.date&&d.handleDayCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=V(1),o=c(2);return _(o.selectionType==="week"&&t.date&&o.handleCellMouseEnter(t.date))}),T(2,ua,2,1,"th",12),Y(3,Da,2,1,null,null,Lt),C()}if(i&2){let a=r.$implicit,n=c(2);k("cCalendarRow",a),p(2),F(n.showWeekNumber?2:-1),p(),j(a.days)}}function fa(i,r){if(i&1&&Y(0,_a,5,2,"tr",10,q),i&2){let a=c();j(a.monthDetails)}}var Pe=(()=>{var r,a,n,t;let o=class o{constructor(e){w(this,r);w(this,a);w(this,n);w(this,t);this.calendarService=e,y(this,r,M(Q)),this.addMonths=0,this._startDate=null,this._endDate=null,this._disabledDates=[],this.firstDayOfWeek=1,y(this,a,H("default")),this.range=!1,this.weekdayFormat="short",y(this,n,H("days")),this._maxDate=null,this._minDate=null,this.listOfMonths=me(()=>Ve(lt(m(this,a).call(this),this.calendarDate$$().getFullYear()),4)),this.listOfYears=me(()=>Ve(dt(this.calendarDate$$().getFullYear()),4)),this.calendarDate$$=H(new Date),y(this,t,H("month")),this.showWeekNumber=!0,this.isDateInRangeDisabled=Ce,this.isDateBetweenMinMax=ut,this.calendarStateSubscribe()}set startDate(e){let s=e?P(e,"startDate"):null;this._startDate?.getTime()!==s?.getTime()&&(this._startDate=s,this.calendarService.update({startDate:this._startDate}))}get startDate(){return this._startDate}set endDate(e){let s=e?P(e,"endDate"):null;this._endDate?.getTime()!==s?.getTime()&&(this._endDate=s,this.calendarService.update({endDate:this._endDate}))}get endDate(){return this._endDate}set disabledDates(e){this._disabledDates=e}get disabledDates(){return this._disabledDates}set locale(e){m(this,a).set(e)}get locale(){return m(this,a).call(this)}set view(e){m(this,n).set(e)}get view(){return m(this,n).call(this)}set maxDate(e){this._maxDate=e?P(e,"maxDate"):null}get maxDate(){return this._maxDate}set minDate(e){this._minDate=e?P(e,"minDate"):null}get minDate(){return this._minDate}set calendarDate(e){let s=new Date(P(e??this.startDate,"calendarDate"));s&&this.calendarDate$$().getTime()!==s.getTime()&&(this.calendarDate$$.set(new Date(new Date(s.setDate(1)).setHours(0,0,0,0))),this.setMonthDetails(this.date),this.calendarService.update({calendarDate:this.calendarDate$$()}))}get calendarDate(){return this.calendarDate$$()}get date(){return new Date(this.calendarDate?.getFullYear(),this.calendarDate?.getMonth()+this.addMonths)}set selectionType(e){m(this,t).set(e)}get selectionType(){return m(this,t).call(this)}get monthDetails(){return this._monthDetails}get weekDays(){return this.monthDetails[0].days}ngOnInit(){this.setMonthDetails(this.date)}setMonthDetails(e=this.date){this._monthDetails=ct(e.getFullYear(),e.getMonth(),this.firstDayOfWeek)}yearNumber(e){return new Date(e,0).toLocaleDateString(this.locale,{year:"numeric"})}isDateDisabled(e){if(this.selectionType==="year"){let s=this.minDate?new Date(this.minDate.getFullYear(),0,1,0,0,0,0):null,l=this.maxDate?new Date(this.maxDate.getFullYear(),11,31,0,0,0,0):null;return I(e,s,l,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}if(this.selectionType==="month"){let s=this.minDate?new Date(this.minDate.getFullYear(),this.minDate.getMonth(),1,0,0,0,0):null,l=this.maxDate?new Date(this.maxDate.getFullYear(),this.maxDate.getMonth()+1,1,0,0,-1,0):null;return I(e,s,l,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}return I(e,this.minDate,this.maxDate,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}calendarCellTitle(e){return e.toLocaleDateString(this.locale)}handleCellMouseEnter(e){let s=["day","week"].includes(this.selectionType)&&this.view==="days"||["month"].includes(this.selectionType)&&this.view==="months"||["year"].includes(this.selectionType)&&this.view==="years",l=this.isDateDisabled(e)||!s?null:e;this.calendarService.update({hoverDate:l})}handleYearCellClick(e){if(this.selectionType==="year"){let l=new Date(e,0,1,0,0,0,0);this.range&&this.startDate&&!this.endDate&&(l=new Date(l.getFullYear(),12,1,0,0,-1,0)),this.handleDayCellClick(l);return}let s=new Date(e,0,1,0,0,0,0);this.view="months",this.calendarService.update({view:this.view,calendarDate:s})}handleYearCellKeyUp(e,s){if(["Space","Enter"].includes(e.code)){this.handleYearCellClick(s.getFullYear());return}if(["Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.code)){this.handleCellMouseEnter(new Date(s));return}}handleMonthCellKeyUp(e,s){if(["Space","Enter"].includes(e.code)){this.handleMonthCellClick(s);return}if(["Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.code)){this.handleCellMouseEnter(s);return}}handleMonthCellClick(e){if(this.selectionType==="month"){let s=new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0);this.range&&this.startDate&&!this.endDate&&(s=new Date(s.getFullYear(),s.getMonth()+1,1,0,0,-1,0)),this.handleDayCellClick(s);return}this.setCalendarPage(0,0,e.getMonth()-this.addMonths),this.view="days",this.calendarService.update({view:this.view})}setCalendarPage(e,s=0,l){let h=this.date.getFullYear(),g=this.date.getMonth(),u=new Date(h,g,1,0,0,0,0);e&&u.setFullYear(u.getFullYear()+e),s&&u.setMonth(u.getMonth()+s),typeof l=="number"&&u.setMonth(l),this.calendarService.update({calendarDate:u})}handleDayCellKeyDown(e,s){if(!["Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.code))return;e.preventDefault(),this.handleCellMouseEnter(s);let l=e.key==="Tab"?e.shiftKey?"ArrowLeft":"ArrowRight":e.key;if(this.maxDate&&s>=_e(this.maxDate,this.selectionType)&&["ArrowRight","ArrowDown"].includes(l)||this.minDate&&s<=_e(this.minDate,this.selectionType)&&["ArrowLeft","ArrowUp"].includes(l))return;let h=e.target;this.selectionType==="week"&&this.view==="days"&&h.tabIndex===-1&&(h=h.closest('tr[tabindex="0"]'));let g=["week"].includes(this.selectionType)&&this.view==="days"?this.calendarRows:this.calendarDays,u=g.toArray().map(K=>K.elementRef.nativeElement).filter(K=>K?.tabIndex===0),x=u.indexOf(h),te=x===0,ae=x===u.length-1,ne={start:x,end:u.length-(x+1)},ie={ArrowRight:1,ArrowLeft:-1,ArrowUp:this.selectionType==="week"&&this.view==="days"?-1:this.view==="days"?-7:-3,ArrowDown:this.selectionType==="week"&&this.view==="days"?1:this.view==="days"?7:3};if(l==="ArrowRight"&&ae||l==="ArrowDown"&&ne.end{let W=K.toArray().filter(re=>re?.elementRef.nativeElement.tabIndex===0);if(W.length){let re;switch(l){case"ArrowRight":{re=W[0];break}case"ArrowLeft":{re=W[W.length-1];break}case"ArrowDown":{re=W[ie.ArrowDown-(u.length-x)];break}case"ArrowUp":{re=W[W.length-(Math.abs(ie.ArrowUp)+1-(x+1))];break}}re?.disabled||re?.focus("keyboard")}}),this.view==="days"&&this.setCalendarPage(0,["ArrowRight","ArrowDown"].includes(l)?1:-1),this.view==="months"&&this.setCalendarPage(["ArrowRight","ArrowDown"].includes(l)?1:-1),this.view==="years"&&this.setCalendarPage(["ArrowRight","ArrowDown"].includes(l)?12:-12);return}let ge=u[x+ie[l]];if(ge?.tabIndex===0){ge.focus();return}for(let K=x;K{let s=Object.keys(e);for(let l of s)this[l]=e[l]})}getMonthStart(e){return new Date(this.calendarDate.getFullYear(),e,1,0,0,0,0)}getMonthEnd(e){return new Date(this.calendarDate.getFullYear(),e+1,1,0,0,-1,0)}getYearStart(e){return new Date(e,0,1)}getYearEnd(e){return new Date(e,11,1,0,0,-1,0)}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)(oe(B))},o.\u0275cmp=se({type:o,selectors:[["c-calendar-month"]],viewQuery:function(s,l){if(s&1&&(de(Oe,5),de(Ee,5)),s&2){let h;Z(h=ee())&&(l.calendarDays=h),Z(h=ee())&&(l.calendarRows=h)}},inputs:{addMonths:"addMonths",startDate:"startDate",endDate:"endDate",disabledDates:"disabledDates",firstDayOfWeek:[2,"firstDayOfWeek","firstDayOfWeek",he],locale:"locale",range:[2,"range","range",v],weekdayFormat:"weekdayFormat",view:"view",maxDate:"maxDate",minDate:"minDate",calendarDate:"calendarDate"},exportAs:["cCalendarMonth"],standalone:!0,features:[le,ce],decls:6,vars:2,consts:[["calendarYear","cCalendarDay"],["calendarMonth","cCalendarDay"],["calendarRow","cCalendarRow"],["calendarCell","cCalendarDay"],[3,"mouseleave"],[1,"calendar-cell"],[1,"calendar-header-cell-inner"],["cCalendarDay","",3,"date","ngClass","tabindex"],["cCalendarDay","",3,"click","keydown","keyup","mouseenter","date","ngClass","tabindex"],[1,"calendar-cell-inner"],[3,"cCalendarRow"],[3,"click","keydown","keyup","mouseenter","cCalendarRow"],[1,"calendar-cell-week-number"],["cCalendarDay","",3,"date","month","ngClass","tabindex"],["cCalendarDay","",3,"click","keydown","keyup","mouseenter","date","month","ngClass","tabindex"]],template:function(s,l){if(s&1&&(f(0,"table"),T(1,ra,5,1,"thead"),f(2,"tbody",4),b("mouseleave",function(){return l.handleCellMouseLeave()}),T(3,la,2,0)(4,ha,2,0)(5,fa,2,0),C()()),s&2){let h;p(),F(l.view==="days"?1:-1),p(2),F((h=l.view)==="years"?3:h==="months"?4:5)}},dependencies:[Oe,Bt,Wt,Ee,Ht,It,Nt,jt,De],styles:['.btn-transparent[_ngcontent-%COMP%]:focus-visible{outline:-webkit-focus-ring-color auto 1px}.calendar-row[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem}.calendar-row[_ngcontent-%COMP%]:focus-within:not([tabindex="-1"]){outline:0;box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem;outline-style:auto!important}.calendar-row[_ngcontent-%COMP%]:focus:not([tabindex="-1"]){outline:0;box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem;outline-style:auto!important}.calendar-cell[_ngcontent-%COMP%]:focus:not(:focus-visible):not([tabindex="-1"]){box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem}']});let i=o;return i})();var $t=(()=>{let r=class r{transform(n){return{calendar:!0,[`${n}`]:!!n}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassView",type:r,pure:!0,standalone:!0});let i=r;return i})();function Ca(i,r){if(i&1){let a=S();f(0,"div",0),$(1,"calendarClassView"),f(2,"c-calendar-navigation",1),b("navigationClick",function(t){D(a);let o=c();return _(o.handleNavigationClick(t.direction,t.years))}),C(),f(3,"c-calendar-month",2),b("cdkFocusChange",function(t){D(a);let o=c();return _(o.handleFocusChange(t))}),C()()}if(i&2){let a=r.$index,n=c();k("ngClass",pe(1,6,n.view)),p(2),k("addMonths",a)("navigation",n.navigation),p(),k("addMonths",a)("firstDayOfWeek",n.firstDayOfWeek)("weekdayFormat",n.weekdayFormat)}}var Ye=(()=>{var r,a,n;let t=class t{constructor(d){w(this,r);w(this,a);w(this,n);this.calendarService=d,y(this,r,M(Q)),this._calendarDate=P(new Date),this._calendars=1,this._dayFormat="numeric",this._disabledDates=[],this._startDate=null,this._endDate=null,this._firstDayOfWeek=1,this._locale="default",this._maxDate=null,this._minDate=null,this._navigation=!0,this._navYearFirst=!1,this._range=!1,this._view="days",this._weekdayFormat="short",y(this,a,"day"),y(this,n,H(!1)),this.calendarCellHover=new A,this.calendarDateChange=new A,this.endDateChange=new A,this.startDateChange=new A,this.viewChange=new A,this._hoverDate=null,this.getCalendarDate=st,this.calendarStateSubscribe()}set calendarDate(d){let e=new Date(P(d??this.startDate,"calendarDate"));if(e&&this._calendarDate.getTime()!==e.getTime()){let s=new Date(new Date(e.setDate(1)).setHours(0,0,0,0));this._calendarDate=s,this.calendarDateChange.emit(s),this.calendarService.update({calendarDate:s})}}get calendarDate(){return this._calendarDate}set calendars(d){this._calendars=d}get calendars(){return this._calendars}get calendarsArray(){return Array.from({length:this.calendars},(d,e)=>e)}set dayFormat(d){this._dayFormat=d,this.calendarService.update({dayFormat:this._dayFormat})}get dayFormat(){return this._dayFormat}set disabledDates(d){this._disabledDates=d,this.calendarService.update({disabledDates:this._disabledDates})}get disabledDates(){return this._disabledDates}set startDate(d){let e=d?P(d,"startDate"):null;this._startDate?.getTime()!==e?.getTime()&&(this._startDate=e,this.calendarService.update({startDate:this._startDate}),(!this.range||!this._startDate||this.endDate&&this._startDate>this.endDate)&&(this.endDate=null))}get startDate(){return this._startDate}set endDate(d){let e=d?P(d,"endDate"):null;this._endDate?.getTime()!==e?.getTime()&&(this._endDate=e,this.calendarService.update({endDate:this._endDate}))}get endDate(){return this.range?this._endDate:null}set firstDayOfWeek(d){this._firstDayOfWeek=d}get firstDayOfWeek(){return this._firstDayOfWeek}set locale(d){this._locale=d,this.calendarService.update({locale:d})}get locale(){return this._locale}set maxDate(d){this._maxDate=d?P(d,"maxDate"):null,this.calendarService.update({maxDate:this._maxDate})}get maxDate(){return this._maxDate}set minDate(d){this._minDate=d?P(d,"minDate"):null,this.calendarService.update({minDate:this._minDate})}get minDate(){return this._minDate}set navigation(d){this._navigation=d}get navigation(){return this._navigation}set navYearFirst(d){this._navYearFirst=d,this.calendarService.update({navYearFirst:this._navYearFirst})}get navYearFirst(){return this._navYearFirst}set range(d){this._range=d,this.calendarService.update({range:this._range})}get range(){return this._range}set view(d){this._view=d,this.calendarService.update({view:d})}get view(){return this._view}set weekdayFormat(d){this._weekdayFormat=d,this.calendarService.update({weekdayFormat:this._weekdayFormat})}get weekdayFormat(){return this._weekdayFormat}set dateFilter(d){this.calendarService.update({dateFilter:d})}set selectAdjacentDays(d){this.calendarService.update({selectAdjacentDays:d})}set showAdjacentDays(d){this.calendarService.update({showAdjacentDays:d??!0})}set selectionType(d){this.calendars=["month","year"].includes(d)?1:this.calendars,y(this,a,d),this.view=["day","week"].includes(d)?"days":d==="month"?"months":"years",this.calendarService.update({selectionType:d,view:this.view})}get selectionType(){return m(this,a)}set showWeekNumber(d){m(this,n).set(d),this.calendarService.update({showWeekNumber:d})}set weekNumbersLabel(d){this.calendarService.update({weekNumbersLabel:d})}set hoverDate(d){this._hoverDate=d,this.calendarCellHover.emit(d)}get hoverDate(){return this._hoverDate}get hostClasses(){let d=m(this,a),e=this.view;return{calendars:!0,[`select-${d}`]:d&&e==="days","show-week-numbers":m(this,n).call(this)}}ngOnInit(){this.calendarService.update({locale:this.locale??"default",view:this.view,range:this.range,selectionType:this.selectionType})}calendarStateSubscribe(){this.calendarService.calendarState$.pipe(U(m(this,r))).subscribe(d=>{let e=Object.keys(d);for(let s of e)if(s in this&&this[s]!==d[s]){if(this[s]=d[s],s==="startDate"){setTimeout(()=>{this.startDateChange.emit(this._startDate)});continue}s==="endDate"&&setTimeout(()=>{this.endDateChange.emit(this._endDate)})}})}setCalendarPage(d,e=0,s){let l=this.calendarDate.getFullYear(),h=this.calendarDate.getMonth(),g=new Date(l,h,1);d&&g.setFullYear(g.getFullYear()+d),e&&g.setMonth(g.getMonth()+e),typeof s=="number"&&g.setMonth(s),this.calendarDate=g}handleNavigationClick(d,e=!1){if(d==="prev"){if(e){this.setCalendarPage(this.view==="years"?-10:-1);return}if(this.view!=="days"){this.setCalendarPage(-1);return}this.setCalendarPage(0,-1);return}if(d==="next"){if(e){this.setCalendarPage(this.view==="years"?10:1);return}if(this.view!=="days"){this.setCalendarPage(1);return}this.setCalendarPage(0,1);return}}clearDates(){this.calendarService.update({endDate:null}),this.calendarService.update({startDate:null})}handleFocusChange(d){d===null&&this.calendarService.update({hoverDate:null})}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t.\u0275fac=function(e){return new(e||t)(oe(B))},t.\u0275cmp=se({type:t,selectors:[["c-calendar"]],viewQuery:function(e,s){if(e&1&&de(Pe,5),e&2){let l;Z(l=ee())&&(s.calendarMonths=l)}},hostVars:2,hostBindings:function(e,s){e&2&&z(s.hostClasses)},inputs:{calendarDate:"calendarDate",calendars:[2,"calendars","calendars",he],dayFormat:"dayFormat",disabledDates:"disabledDates",startDate:"startDate",endDate:"endDate",firstDayOfWeek:[2,"firstDayOfWeek","firstDayOfWeek",he],locale:"locale",maxDate:"maxDate",minDate:"minDate",navigation:[2,"navigation","navigation",v],navYearFirst:[2,"navYearFirst","navYearFirst",v],range:[2,"range","range",v],view:"view",weekdayFormat:"weekdayFormat",dateFilter:"dateFilter",selectAdjacentDays:[2,"selectAdjacentDays","selectAdjacentDays",v],showAdjacentDays:[2,"showAdjacentDays","showAdjacentDays",v],selectionType:"selectionType",showWeekNumber:[2,"showWeekNumber","showWeekNumber",v],weekNumbersLabel:"weekNumbersLabel"},outputs:{calendarCellHover:"calendarCellHover",calendarDateChange:"calendarDateChange",endDateChange:"endDateChange",startDateChange:"startDateChange",viewChange:"viewChange"},exportAs:["cCalendar"],standalone:!0,features:[ve([B]),le,ce],decls:2,vars:0,consts:[[3,"ngClass"],[3,"navigationClick","addMonths","navigation"],["cdkMonitorSubtreeFocus","",3,"cdkFocusChange","addMonths","firstDayOfWeek","weekdayFormat"]],template:function(e,s){e&1&&Y(0,Ca,4,8,"div",0,q),e&2&&j(s.calendarsArray)},dependencies:[Yt,$t,Pe,De,bt,vt],styles:[".btn-transparent[_ngcontent-%COMP%]:focus-visible{outline:-webkit-focus-ring-color auto 1px}"]});let i=t;return i})();var Ut=(()=>{let r=class r{transform(n,...t){return n[0]}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"customRangeKey",type:r,pure:!0,standalone:!0});let i=r;return i})();var ga=["startDateElementRef"],ya=["endDateElementRef"],wa=["*"],Kt=i=>({hover:i}),va=i=>({$implicit:i});function ba(i,r){i&1&&G(0,"div",6)}function ka(i,r){if(i&1){let a=S();f(0,"input",5,2),b("change",function(t){D(a);let o=c();return _(o.handleEndDateInputChange(t))}),C()}if(i&2){let a,n,t=c();k("formControl",t.endDateInput)("ngClass",be(6,Kt,!!t.inputEndHoverValue))("placeholder",t.endDatePlaceholder)("readonly",(a=t.inputReadOnly)!==null&&a!==void 0?a:null)("valid",(n=t.valid)!==null&&n!==void 0?n:void 0),X("tabindex",t.disabled?-1:0)}}function xa(i,r){i&1&&G(0,"div",8)}function Fa(i,r){if(i&1){let a=S();f(0,"div",15),b("click",function(t){D(a);let o=c();return _(!o.disabled&&o.handleClear(t))}),C()}}function Ta(i,r){if(i&1){let a=S();f(0,"button",18),b("click",function(){let t=D(a).$implicit,o=c(3);return _(o.setCustomRange(t))}),N(1),$(2,"customRangeKey"),C()}if(i&2){let a=r.$implicit,n=c(3);k("color",n.rangesButtonsColor)("size",n.rangesButtonsSize)("variant",n.rangesButtonsVariant),p(),L(" ",pe(2,4,a)," ")}}function Sa(i,r){if(i&1&&(f(0,"div",16),Y(1,Ta,3,6,"button",17,q),C()),i&2){let a=c(2);p(),j(a.customRanges)}}function Va(i,r){if(i&1&&T(0,Sa,3,0,"div",16),i&2){let a=c();F(a.ranges&&a.customRanges.length>0?0:-1)}}function Ma(i,r){if(i&1){let a=S();f(0,"c-time-picker",19),b("timeChange",function(t){D(a);let o=c(2);return _(o.handleEndTimeChange(t))}),C()}if(i&2){let a,n=c(2);k("locale",n.locale)("disabled",!n.endDate)("time",(a=n.endDate)!==null&&a!==void 0?a:void 0)}}function Ra(i,r){if(i&1){let a=S();f(0,"div",13)(1,"c-time-picker",19),b("timeChange",function(t){D(a);let o=c();return _(o.handleStartTimeChange(t))}),C(),T(2,Ma,1,3,"c-time-picker",20),C()}if(i&2){let a,n=c();p(),k("locale",n.locale)("disabled",!n.startDate)("time",(a=n.startDate)!==null&&a!==void 0?a:void 0),p(),F(n.range?2:-1)}}function Aa(i,r){i&1&&Ue(0)}function Oa(i,r){if(i&1&&(f(0,"div",14),T(1,Aa,1,0,"ng-container",21),C()),i&2){let a=c(),n=V(1);p(),k("ngTemplateOutlet",a.templates==null?null:a.templates.datePickerFooter)("ngTemplateOutletContext",be(2,va,n))}}var Ea=(()=>{var r,a,n,t;let o=class o{constructor(e){w(this,r);w(this,a);w(this,n);w(this,t);this.breakpointObserver=e,this.dayFormat="numeric",this.calendars=2,this.cleaner=!0,this.closeOnSelect=!1,this.indicator=!0,y(this,r,!1),this.navYearFirst=!1,this.placeholder=["Start date","End date"],this.rangesButtonsColor="secondary",this.rangesButtonsSize="",this.rangesButtonsVariant="ghost",this.separator=!0,y(this,a,!1),this.valid=void 0,this.visible=!1,this.calendarDate=new Date,this.disabledDates=[],this.firstDayOfWeek=1,this.locale="default",this.maxDate=null,this.minDate=null,this.navigation=!0,this.range=!0,y(this,n,!1),this._value={},this.weekdayFormat="short",this.popperjsOptions={strategy:"absolute"},this.selectAdjacentDays=!1,this.showAdjacentDays=!0,this.selectionType="day",this.showWeekNumber=!1,this.valueChange=new A,this.calendarCellHover=new A,this.calendarDateChange=new A,this.endDateChange=new A,this.startDateChange=new A,this.templates={},this.dateChangeSubscriptions=[],this.isMobile=!0,this.showRanges=!1,this._startDateValue=this.formatDate(this.startDate),this._endDateValue=this.formatDate(this.endDate),this.startDateInput=new Re({value:this.startDateValue,disabled:this.disabled},[Me.required]),this.endDateInput=new Re({value:this.endDateValue,disabled:this.disabled},[Me.required]),y(this,t,{OneCalendarRanges:"(min-width: 480px)",TwoCalendars:"(max-width: 650px)",TwoCalendarsRanges:"(max-width: 810px)"}),this.setInputValue=(s,l)=>{s&&(s.nativeElement.value=this.formatDate(l))},this.onChange=s=>{},this.onTouched=()=>{}}set inputReadOnly(e){y(this,r,e)}get inputReadOnly(){return m(this,r)||typeof this.format=="string"}set timepicker(e){y(this,a,e)}get timepicker(){return!1}set startDate(e){let s=this._startDate?new Date(this._startDate):null;this._startDate=e?new Date(e):null,s?.getTime()!==this._startDate?.getTime()&&(this.startDateValue=this.formatDate(this._startDate),this.startDateChange.emit(this._startDate))}get startDate(){return this._startDate}set endDate(e){let s=this._endDate?new Date(this._endDate??0):null;this._endDate=e?new Date(e):null,s?.getTime()!==this._endDate?.getTime()&&(this.endDateValue=this.formatDate(this._endDate),this.endDateChange.emit(this._endDate))}get endDate(){return this._endDate}set disabled(e){y(this,n,e),m(this,n)?this.startDateInput.disable():this.startDateInput.enable(),m(this,n)?this.endDateInput.disable():this.endDateInput.enable()}get disabled(){return m(this,n)}set value(e){let s=this.range?E({},e):e;if(JSON.stringify(this._value)!==JSON.stringify(s)&&(this._value=s,this.range?(this.handleStartDateChange(s.startDate??null),this.handleEndDateChange(s.endDate??null)):this.handleStartDateChange(s??null),this.onChange(s),this.onTouched(),this.valueChange.emit(this.value),this.closeOnSelect)){let l=this.range?!!(this.value.startDate&&this.value.endDate):!!this.value;this.visible=!l}}get value(){return this._value}subscribeDateChange(e=!0){e||this.dateChangeSubscriptions.forEach(s=>{s?.unsubscribe()})}onBlur(){this.onTouched()}set startDateValue(e){this.startDateInput.setValue(e),this._startDateValue=e}get startDateValue(){return this._startDateValue}set endDateValue(e){this.endDateInput.setValue(e),this._endDateValue=e}get endDateValue(){return this._endDateValue}get startDatePlaceholder(){return Array.isArray(this.placeholder)?this.placeholder[0]:this.placeholder}get endDatePlaceholder(){return Array.isArray(this.placeholder)?this.placeholder[1]:this.placeholder}set inputStartHoverValue(e){this._inputStartHoverValue=e}get inputStartHoverValue(){return this._inputStartHoverValue}set inputEndHoverValue(e){this._inputEndHoverValue=e}get inputEndHoverValue(){return this._inputEndHoverValue}get datePickerClasses(){return{"date-picker":!0,[`date-picker-${this.size}`]:this.size,disabled:this.disabled,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}formatDate(e){return!e||!fe(e)?"":typeof this.inputDateFormat=="function"?this.inputDateFormat(e):this.format&&this.locale&&this.locale!=="default"?tt(e,this.format,this.locale):this.timepicker?e.toLocaleString(this.locale):e.toLocaleDateString(this.locale)}ngOnInit(){this.customRanges=this.ranges?Object.entries(this.ranges):[];let e=m(this,t);this.layoutChanges=this.breakpointObserver.observe([e.OneCalendarRanges,e.TwoCalendars,e.TwoCalendarsRanges]).subscribe(s=>{s.matches&&(this.isMobile=this.customRanges?.length>0&&s.breakpoints[e.TwoCalendarsRanges]||s.breakpoints[e.TwoCalendars],this.customRanges?.length>0&&(this.showRanges=!s.breakpoints[e.OneCalendarRanges]))}),this.startDateValue=this.formatDate(this.startDate),this.endDateValue=this.formatDate(this.endDate),this.subscribeDateChange()}ngOnDestroy(){this.layoutChanges?.unsubscribe(),this.subscribeDateChange(!1)}ngAfterViewInit(){setTimeout(()=>{this.contentTemplates.forEach(e=>{this.templates[e.id]=e.templateRef})})}ngOnChanges(e){if(e.date){let s=this.convertValueToDate(e.date?.currentValue)??null;this.handleStartDateChange(s),this.calendarDate=s??this.calendarDate}if(e.startDate){let s=this.convertValueToDate(e.startDate?.currentValue)??null;this.handleStartDateChange(s),this.calendarDate=s??this.calendarDate}if(e.endDate){let s=this.convertValueToDate(e.endDate?.currentValue)??null;this.handleEndDateChange(s)}e.locale&&(this.startDateValue=this.formatDate(this.startDate),this.endDateValue=this.formatDate(this.endDate))}convertValueToDate(e){return e?typeof e=="string"?this.inputParse(e)??null:new Date(e)??null:null}inputParse(e){if(typeof this.inputDateParse=="function"){let s=this.inputDateParse(e);if(fe(s))return s}return ot(e,this.locale,this.timepicker)}getCustomRangeKey(e){return e[0]}setCustomRange(e){let s=this.getCustomRangeKey(e);this.handleStartDateChange(e[1][0]),this.handleEndDateChange(e[1][1])}handleCalendarCellHover(e){if(this.calendarCellHover.emit(e),!this.startDate){this.setInputValue(this.startDateElementRef,e),this.inputStartHoverValue=e,this.setInputValue(this.endDateElementRef,null),this.inputEndHoverValue=null;return}if(!this.endDate){this.setInputValue(this.endDateElementRef,e),this.inputEndHoverValue=e;return}}handleCalendarDateChange(e){this.calendarDate.getTime()!==e.getTime()&&this.calendarDateChange.emit(e)}handleStartDateChange(e){e?.getTime()!==this.startDate?.getTime()&&(this.startDate=e??null,this.startDateValue=this.formatDate(this.startDate),this.inputStartHoverValue=null,this.value=this.range?{startDate:this.startDate,endDate:this.endDate}:this.startDate)}handleEndDateChange(e){if(e?.getTime()!==this.endDate?.getTime()){if(!this.range)return;this.endDate=e??null,this.endDateValue=this.formatDate(this.endDate),this.inputEndHoverValue=null,this.value=this.range?{startDate:this.startDate,endDate:this.endDate}:this.startDate}}handleClear(e){this.handleStartDateChange(null),this.handleEndDateChange(null)}handleStartDateInputChange(e){let s=e.target.value,l=this.inputParse(s);l||(this.handleStartDateChange(null),this.handleEndDateChange(null)),l instanceof Date&&l.getTime()&&(this.forbiddenDate(l)||this.endDate&&this.endDatel||(this.calendarDate=l,this.endDate=l)),this.handleEndDateChange(this.endDate??null)}forbiddenDate(e){return I(e,this.minDate,this.maxDate,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}writeValue(e){e!==null&&(this.value=this.range?E({},e):e)}handleStartTimeChange(e){this.startDate=e??this.startDate}handleEndTimeChange(e){this.range&&(this.endDate=e??this.endDate)}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)(oe(wt))},o.\u0275cmp=se({type:o,selectors:[["c-date-range-picker"]],contentQueries:function(s,l,h){if(s&1&&ze(h,it,5),s&2){let g;Z(g=ee())&&(l.contentTemplates=g)}},viewQuery:function(s,l){if(s&1&&(de(ga,5),de(ya,5)),s&2){let h;Z(h=ee())&&(l.startDateElementRef=h.first),Z(h=ee())&&(l.endDateElementRef=h.first)}},hostVars:2,hostBindings:function(s,l){s&1&&b("focusout",function(){return l.onBlur()}),s&2&&z(l.datePickerClasses)},inputs:{dayFormat:"dayFormat",calendars:[2,"calendars","calendars",he],cleaner:[2,"cleaner","cleaner",v],closeOnSelect:[2,"closeOnSelect","closeOnSelect",v],format:"format",indicator:[2,"indicator","indicator",v],inputDateFormat:"inputDateFormat",inputDateParse:"inputDateParse",inputReadOnly:[2,"inputReadOnly","inputReadOnly",v],navYearFirst:[2,"navYearFirst","navYearFirst",v],placeholder:"placeholder",ranges:"ranges",rangesButtonsColor:"rangesButtonsColor",rangesButtonsSize:"rangesButtonsSize",rangesButtonsVariant:"rangesButtonsVariant",separator:[2,"separator","separator",v],size:"size",timepicker:[2,"timepicker","timepicker",v],valid:"valid",visible:[2,"visible","visible",v],startDate:"startDate",endDate:"endDate",calendarDate:[2,"calendarDate","calendarDate",rt],disabledDates:"disabledDates",firstDayOfWeek:[2,"firstDayOfWeek","firstDayOfWeek",he],locale:"locale",maxDate:"maxDate",minDate:"minDate",navigation:[2,"navigation","navigation",v],range:[2,"range","range",v],dateFilter:"dateFilter",disabled:[2,"disabled","disabled",v],value:"value",weekdayFormat:"weekdayFormat",popperjsOptions:[0,"popperOptions","popperjsOptions"],selectAdjacentDays:[2,"selectAdjacentDays","selectAdjacentDays",v],showAdjacentDays:[2,"showAdjacentDays","showAdjacentDays",v],selectionType:"selectionType",showWeekNumber:[2,"showWeekNumber","showWeekNumber",v],weekNumbersLabel:"weekNumbersLabel"},outputs:{valueChange:"valueChange",calendarCellHover:"calendarCellHover",calendarDateChange:"calendarDateChange",endDateChange:"endDateChange",startDateChange:"startDateChange"},exportAs:["cDateRangePicker"],standalone:!0,features:[ve([{provide:kt,useExisting:We(()=>o),multi:!0}]),le,$e,ce],ngContentSelectors:wa,decls:16,vars:41,consts:[["dropdown","cDropdown"],["startDateElementRef",""],["endDateElementRef",""],[1,"date-picker","picker",3,"visibleChange","autoClose","ngClass","visible","popperOptions"],["cDropdownToggle","",1,"date-picker-input-group",3,"caret","disabled"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"change","formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-separator"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-indicator"],["role","button",1,"date-picker-cleaner"],["cDropdownMenu","",1,"date-picker-dropdown","py-0"],[1,"date-picker-body"],[1,"date-picker-calendars",3,"calendarCellHover","calendarDateChange","endDateChange","startDateChange","calendarDate","calendars","dateFilter","disabledDates","endDate","firstDayOfWeek","locale","maxDate","minDate","navigation","range","startDate","navYearFirst","dayFormat","weekdayFormat","selectAdjacentDays","showAdjacentDays","showWeekNumber","selectionType","weekNumbersLabel"],[1,"date-picker-timepickers"],[1,"date-picker-footer"],["role","button",1,"date-picker-cleaner",3,"click"],[1,"date-picker-ranges"],["cButton","",3,"color","size","variant"],["cButton","",3,"click","color","size","variant"],["variant","select",3,"timeChange","locale","disabled","time"],["variant","select",3,"locale","disabled","time"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(s,l){if(s&1){let h=S();Ke(),f(0,"c-dropdown",3,0),Xe("visibleChange",function(u){return D(h),Je(l.visible,u)||(l.visible=u),_(u)}),f(2,"div",4)(3,"input",5,1),b("change",function(u){return D(h),_(l.handleStartDateInputChange(u))}),C(),T(5,ba,1,0,"div",6)(6,ka,2,8,"input",7)(7,xa,1,0,"div",8)(8,Fa,1,0,"div",9),C(),f(9,"div",10)(10,"div",11),T(11,Va,1,1),f(12,"c-calendar",12),b("calendarCellHover",function(u){return D(h),_(l.handleCalendarCellHover(u))})("calendarDateChange",function(u){return D(h),_(l.handleCalendarDateChange(u))})("endDateChange",function(u){return D(h),_(l.handleEndDateChange(u))})("startDateChange",function(u){return D(h),_(l.handleStartDateChange(u))}),C(),T(13,Ra,3,4,"div",13),C(),T(14,Oa,2,4,"div",14),C(),Qe(15),C()}if(s&2){let h,g,u=V(1),x=V(4);k("autoClose","outside")("ngClass",l.datePickerClasses),Ge("visible",l.visible),k("popperOptions",l.popperjsOptions),p(2),k("caret",!1)("disabled",(h=l.disabled)!==null&&h!==void 0?h:u.visible),p(),k("formControl",l.startDateInput)("ngClass",be(39,Kt,!!l.inputStartHoverValue))("placeholder",l.startDatePlaceholder)("readonly",(g=l.inputReadOnly)!==null&&g!==void 0?g:null)("valid",l.range?void 0:l.valid),X("tabindex",l.disabled?-1:0),p(2),F(l.range&&l.separator!==!1?5:-1),p(),F(l.range?6:-1),p(),F(l.indicator?7:-1),p(),F(l.cleaner&&x.value&&!l.disabled?8:-1),p(3),F(l.showRanges?-1:11),p(),k("calendarDate",l.calendarDate)("calendars",l.isMobile?1:l.calendars)("dateFilter",l.dateFilter)("disabledDates",l.disabledDates)("endDate",l.endDate)("firstDayOfWeek",l.firstDayOfWeek)("locale",l.locale)("maxDate",l.maxDate)("minDate",l.minDate)("navigation",l.navigation)("range",l.range)("startDate",l.startDate)("navYearFirst",l.navYearFirst)("dayFormat",l.dayFormat)("weekdayFormat",l.weekdayFormat)("selectAdjacentDays",l.selectAdjacentDays)("showAdjacentDays",l.showAdjacentDays)("showWeekNumber",l.showWeekNumber)("selectionType",l.selectionType)("weekNumbersLabel",l.weekNumbersLabel),p(),F(-1),p(),F(l.templates!=null&&l.templates.datePickerFooter?14:-1)}},dependencies:[De,nt,Vt,xt,Ft,St,Tt,Ye,Et,xe,At,Rt,Mt,Ot,Ut],styles:[".form-control.date-picker-input[_ngcontent-%COMP%]:focus{box-shadow:0 0}"]});let i=o;return i})();export{Ye as a,Ut as b,Ea as c}; +import{a as rt,b as _e,c as Ve,d as st,e as ot,f as lt,g as dt,h as ct,i as I,j as J,k as ht,l as ut,m as Fe,n as pt,o as mt,p as Dt,q as _t,r as ft,s as Ct,t as gt,u as yt,v as fe,w as P,x as Ce,y as Et}from"./chunk-S3TRUWXX.js";import{i as Ot}from"./chunk-ZGGOM75Q.js";import{B as Vt,a as kt,c as xt,d as Me,e as Ft,j as Re,p as Tt,x as St}from"./chunk-WFHPAILT.js";import{c as it}from"./chunk-UYIAOCXU.js";import{c as Mt,d as Rt,e as At}from"./chunk-DSAGLKP4.js";import{a as xe}from"./chunk-2CL7LP6W.js";import{a as U,h as wt,k as Te,l as vt,m as bt}from"./chunk-LZN2HRQX.js";import{j as tt,m as De,s as at,t as nt}from"./chunk-XHR4TYVD.js";import{$b as f,Aa as D,Ac as V,Ba as _,Bc as N,Cc as qe,Dc as L,Gb as le,H as Ne,Ia as Q,Jb as T,K as Ie,Kc as Ge,La as we,Lc as Je,Mc as Xe,Na as A,Nc as ve,Oc as ce,Pb as X,Pc as ue,Qb as k,Qc as be,Tc as Ze,Ub as z,Wb as F,Wc as $,Xc as pe,Y as Be,Yb as q,Yc as ke,Zb as Y,Zc as Se,_b as j,ac as C,ba as We,bc as G,ca as He,ec as Ue,fc as S,g as je,ha as Le,ia as M,kd as et,lb as p,mb as oe,mc as b,na as se,nd as v,oc as c,od as he,pa as ye,pc as Ke,pd as me,qa as R,qc as Qe,tc as ze,uc as de,vc as Z,wc as ee,xa as $e,zb as H}from"./chunk-6U7QZ4SV.js";import{a as E,e as m,f as w,g as y}from"./chunk-MGAX33HK.js";var B=(()=>{let r=class r{constructor(n){this.keyValueDiffers=n,this.calendarStateObject={calendarDate:new Date,hoverDate:null,startDate:null,endDate:null,maxDate:null,minDate:null,disabledDates:[],range:!1,view:"days",locale:"default",dateFilter:void 0,weekdayFormat:"short",dayFormat:"numeric",navYearFirst:!1,showAdjacentDays:!0,selectAdjacentDays:!1,selectionType:"day",showWeekNumber:!1,weekNumbersLabel:void 0},this.calendarState=new je(this.calendarStateObject),this.calendarState$=this.calendarState.asObservable(),this.differ=this.keyValueDiffers.find(this.calendarStateObject).create()}update(n){let t=Object.keys(n);for(let o of t){let d=this.calendarStateObject[o];d!==n[o]&&(fe(n[o])&&d&&d.getTime()===n[o]?.getTime()||(this.calendarStateObject[o]=n[o]))}if(this.differ){let o=this.differ.diff(this.calendarStateObject);if(o){let d=E({},this.calendarStateObject);o.forEachChangedItem(e=>{d[e.key]=e.currentValue}),this.calendarState.next(d)}}}};r.\u0275fac=function(t){return new(t||r)(Le(et))},r.\u0275prov=He({token:r,factory:r.\u0275fac});let i=r;return i})();var Qt=()=>({display:"flex",justifyContent:"center"}),Pt=()=>({}),zt=()=>({order:"-1"}),qt=()=>({year:"numeric"}),Gt=()=>({month:"long"});function Jt(i,r){if(i&1){let a=S();f(0,"button",5),b("click",function(){D(a);let t=c(2);return _(t.handleNavigationClick("prev"))})("keyup",function(t){D(a);let o=c(2);return _(o.handleNavigationKeyUp(t,"prev"))}),G(1,"span",7),C()}}function Xt(i,r){if(i&1){let a=S();f(0,"div",0)(1,"button",5),b("click",function(){D(a);let t=c();return _(t.handleNavigationClick("prev",!0))})("keyup",function(t){D(a);let o=c();return _(o.handleNavigationKeyUp(t,"prev",!0))}),G(2,"span",6),C(),T(3,Jt,2,0,"button",2),C()}if(i&2){let a=c();p(3),F(a.view==="days"?3:-1)}}function Zt(i,r){if(i&1){let a=S();f(0,"button",8),b("click",function(){D(a);let t=c();return _(t.setView("months"))}),N(1),C()}if(i&2){let a=c();p(),L(" ",a.date.toLocaleDateString(a.locale,ue(1,Gt))," ")}}function ea(i,r){if(i&1){let a=S();f(0,"button",5),b("click",function(){D(a);let t=c(2);return _(t.handleNavigationClick("next"))})("keyup",function(t){D(a);let o=c(2);return _(o.handleNavigationKeyUp(t,"next"))}),G(1,"span",10),C()}}function ta(i,r){if(i&1){let a=S();f(0,"div",4),T(1,ea,2,0,"button",2),f(2,"button",5),b("click",function(){D(a);let t=c();return _(t.handleNavigationClick("next",!0))})("keyup",function(t){D(a);let o=c();return _(o.handleNavigationKeyUp(t,"next",!0))}),G(3,"span",9),C()()}if(i&2){let a=c();p(),F(a.view==="days"?1:-1)}}var Yt=(()=>{var r;let a=class a{constructor(t){w(this,r);this.calendarService=t,y(this,r,M(Q)),this.addMonths=0,this._calendarDate=new Date,this.navigation=!0,this.navYearFirst=!1,this.locale="default",this.view="days",this.selectionType="day",this.navigationClick=new A,this.calendarStateSubscribe()}set calendarDate(t){this._calendarDate=t}get calendarDate(){return this._calendarDate}get date(){return new Date(this.calendarDate.getFullYear(),this.calendarDate.getMonth()+this.addMonths)}get hostClasses(){return{"calendar-nav":!0}}calendarStateSubscribe(){this.calendarService.calendarState$.pipe(U(m(this,r))).subscribe(t=>{let o=Object.keys(t);for(let d of o)d in this&&(this[d]=t[d])})}setView(t){this.view=t,this.calendarService.update({view:t})}handleNavigationClick(t,o=!1){this.navigationClick.emit({direction:t,years:o})}handleNavigationKeyUp(t,o,d){["Space"].includes(t.code)&&(t.preventDefault(),this.handleNavigationClick(o,d))}};r=new WeakMap,a.\u0275fac=function(o){return new(o||a)(oe(B))},a.\u0275cmp=se({type:a,selectors:[["c-calendar-navigation"]],hostVars:2,hostBindings:function(o,d){o&2&&z(d.hostClasses)},inputs:{addMonths:"addMonths",calendarDate:"calendarDate",navigation:"navigation",navYearFirst:"navYearFirst"},outputs:{navigationClick:"navigationClick"},standalone:!0,features:[ce],decls:6,vars:11,consts:[[1,"calendar-nav-prev"],[1,"calendar-nav-date",3,"ngStyle"],["cButton","","color","transparent","size","sm","tabindex","0"],["cButton","","color","transparent","size","sm","tabindex","0",3,"click","ngStyle"],[1,"calendar-nav-next"],["cButton","","color","transparent","size","sm","tabindex","0",3,"click","keyup"],[1,"calendar-nav-icon","calendar-nav-icon-double-prev"],[1,"calendar-nav-icon","calendar-nav-icon-prev"],["cButton","","color","transparent","size","sm","tabindex","0",3,"click"],[1,"calendar-nav-icon","calendar-nav-icon-double-next"],[1,"calendar-nav-icon","calendar-nav-icon-next"]],template:function(o,d){o&1&&(T(0,Xt,4,1,"div",0),f(1,"div",1),T(2,Zt,2,2,"button",2),f(3,"button",3),b("click",function(){return d.setView("years")}),N(4),C()(),T(5,ta,4,1,"div",4)),o&2&&(F(d.navigation?0:-1),p(),k("ngStyle",d.navYearFirst?ue(6,Qt):ue(7,Pt)),p(),F(d.view==="days"?2:-1),p(),k("ngStyle",d.navYearFirst?ue(8,zt):ue(9,Pt)),p(),L(" ",d.date.toLocaleDateString(d.locale,ue(10,qt))," "),p(),F(d.navigation?5:-1))},dependencies:[xe,at]});let i=a;return i})();var jt=(()=>{let r=class r{transform(n,t="short",o="default"){return typeof t=="function"?t(n):typeof t=="string"?n.toLocaleDateString(o,{weekday:t}):n.toLocaleDateString(o,{weekday:"long"}).slice(0,t)}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarWeekday",type:r,pure:!0,standalone:!0});let i=r;return i})();var Nt=(()=>{let r=class r{transform(n,t){return{"calendar-cell":!0,year:!0,today:yt(n)}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassYear",type:r,pure:!0,standalone:!0});let i=r;return i})();var It=(()=>{let r=class r{transform(n,t){let o=new Date(new Date(n).getFullYear(),t,1);return{"calendar-cell":!0,month:!0,today:gt(o,t)}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassMonth",type:r,pure:!0,standalone:!0});let i=r;return i})();var Bt=(()=>{let r=class r{transform(n,t="numeric",o="default"){return typeof t=="function"?t(n):n.toLocaleDateString(o,{day:t})}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarDay",type:r,pure:!0,standalone:!0});let i=r;return i})();var Oe=(()=>{var r,a,n,t;let o=class o{constructor(){w(this,r);w(this,a);w(this,n);w(this,t);y(this,r,M(Q)),y(this,a,M(B)),this.elementRef=M(we),this.focusMonitor=M(Te),y(this,n,H(E({},m(this,a).calendarStateObject))),this.disabled=!1,this.month="current",this.calendarDate=new Date,y(this,t,me(()=>{let e=m(this,n).call(this);return e.range&&!!e.startDate&&!e.endDate})),this.disabled$=me(()=>{let e=E({},m(this,n).call(this)),s=this.date.getFullYear();switch(e.view){case"months":let l=s*100+this.date.getMonth(),h=e.minDate?e.minDate.getFullYear()*100+e.minDate?.getMonth():void 0,g=e.maxDate?e.maxDate.getFullYear()*100+e.maxDate?.getMonth():void 0;this.disabled=(h?lg:!1);break;case"years":let u=e.minDate?.getFullYear(),x=e.maxDate?.getFullYear();this.disabled=(u?sx:!1);break}return this.disabled}),m(this,a).calendarState$.pipe(Be(e=>{m(this,n).set(e)}),U(m(this,r))).subscribe()}get hostClasses(){if(!this.date)return;let e=m(this,n).call(this);e.startDate=e.startDate??null,e.hoverDate=e.hoverDate??null,e.endDate=e.endDate??null;let s=ft(this.date,e.startDate,e.endDate),l=Dt(this.date,e.startDate,e.endDate),h=!1,g=!1,u=!1,x=!1,te=!1,ae=!1,ne=!1;switch(e.view){case"months":e.selectionType==="month"&&(h=!!pt(this.date,e.startDate,e.endDate),x=!!J(this.date,e.startDate,e.endDate),u=m(this,t).call(this)&&!!J(this.date,e.startDate,e.hoverDate));break;case"years":e.selectionType==="year"&&(h=!!mt(this.date,e.startDate,e.endDate),x=!!J(this.date,e.startDate,e.endDate),u=m(this,t).call(this)&&!!ht(this.date,e.startDate,e.hoverDate));break;default:h=e.selectionType==="day"&&!!Fe(this.date,e.startDate,e.endDate),g=this.month!=="current"&&!!e.selectAdjacentDays,u=e.selectionType==="day"&&this.month==="current"&&m(this,t).call(this)&&!!J(this.date,e.startDate,e.hoverDate),x=this.month==="current"&&(J(this.date,e.startDate,e.endDate)||!!s||!!l),te=Ce(e.startDate,this.date,e.disabledDates),ae=I(this.date,e.minDate,e.maxDate,e.disabledDates),ne=e.dateFilter&&Object.prototype.toString.call(e.dateFilter)==="[object Function]"&&this.date?!e.dateFilter(this.date):!1,this.disabled=ae||ne}return{"range-hover":u&&(!te||!ne),selected:h,range:x,start:!!s,end:!!l,disabled:this.disabled,clickable:g}}focus(e){this.focusMonitor.focusVia(this.elementRef.nativeElement,e??"keyboard")}getLabel(){return this.date?.toLocaleDateString(m(this,n).call(this).locale)??""}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)},o.\u0275dir=ye({type:o,selectors:[["","cCalendarDay",""]],hostVars:2,hostBindings:function(s,l){s&2&&z(l.hostClasses)},inputs:{date:"date",disabled:[2,"disabled","disabled",v],month:"month",calendarDate:"calendarDate"},exportAs:["cCalendarDay"],standalone:!0,features:[le]});let i=o;return i})();var Wt=(()=>{let r=class r{transform(n,t="default"){return n.toLocaleDateString(t)}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarDayTitle",type:r,pure:!0,standalone:!0});let i=r;return i})();var Ht=(()=>{let r=class r{transform(n,t){let{date:o,month:d}=E({},n),{minDate:e,maxDate:s,disabledDates:l,dateFilter:h}=E({},t),g=I(o,e,s,l)||(h?!h(o):!1);return{"calendar-cell":!0,today:Ct(o),disabled:g,next:d==="next",previous:d==="previous",current:d==="current",last:_t(o)}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassDay",type:r,pure:!0,standalone:!0});let i=r;return i})();var Ee=(()=>{var r,a,n,t;let o=class o{constructor(){w(this,r);w(this,a);w(this,n);w(this,t);y(this,r,M(Q)),y(this,a,M(B)),this.elementRef=M(we),this.focusMonitor=M(Te),this.date=null,this.startDate=null,this.endDate=null,this.hoverDate=null,this.maxDate=null,this.minDate=null,this.range=!1,this.selectionType="week",this.calendarDate=new Date,this.locale="default",y(this,t,H(-1)),m(this,a).calendarState$.pipe(Ie(),U(m(this,r))).subscribe(e=>{let{startDate:s=this.startDate,endDate:l=this.endDate,hoverDate:h=this.hoverDate,maxDate:g=this.maxDate,minDate:u=this.minDate,range:x=this.range,disabledDates:te=this.disabledDates,dateFilter:ae=this.dateFilter,selectionType:ne=this.selectionType,calendarDate:ie=this.calendarDate,locale:ge=this.locale}=E({},e);this.startDate=s,this.endDate=l,this.hoverDate=h,this.maxDate=g,this.minDate=u,this.range=x,this.disabledDates=te,this.dateFilter=ae,this.selectionType=ne,this.calendarDate=ie??new Date,this.locale=ge??"default"})}set week(e){this.current=e.days.some(s=>s.month==="current"),m(this,t).set(this.selectionType==="week"&&this.current&&!this.disabled?0:-1),y(this,n,e)}get week(){return m(this,n)}get tabindex(){return m(this,t).call(this)}get selectEndDate(){return this.range&&!!this.startDate&&!this.endDate}get hostClasses(){if(!this.week)return{"calendar-row":!0};let e=this.week,s=this.calendarDate,l=this.selectionType;this.date=_e(e.weekNumber===0?`${s.getFullYear()}W53`:`${s.getFullYear()}W${e.weekNumber}`,l),this.current=e.days.some(ae=>ae.month==="current");let h=this.selectionType==="week"&&J(this.date,this.startDate,this.endDate),g=this.selectionType==="week"&&this.hoverDate&&this.selectEndDate?J(this.date,this.startDate,this.hoverDate):J(this.date,this.hoverDate,this.endDate),u=Fe(this.date,this.startDate,this.endDate),x=I(this.date,this.minDate,this.maxDate,this.disabledDates),te=Object.prototype.toString.call(this.dateFilter)==="[object Function]"&&this.date?!this.dateFilter(this.date):!1;return this.disabled=x||te,{"calendar-row":!0,disabled:this.disabled,range:h,"range-hover":g,selected:u,current:this.current}}focus(e){this.focusMonitor.focusVia(this.elementRef.nativeElement,e??"keyboard")}getLabel(){return this.date?.toLocaleDateString(this.locale)??""}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)},o.\u0275dir=ye({type:o,selectors:[["","cCalendarRow",""]],hostVars:3,hostBindings:function(s,l){s&2&&(X("tabindex",l.tabindex),z(l.hostClasses))},inputs:{week:[0,"cCalendarRow","week"]},exportAs:["cCalendarRow"],standalone:!0});let i=o;return i})();var Lt=(i,r)=>r.date,aa=(i,r,a,n)=>({minDate:i,maxDate:r,disabledDates:a,dateFilter:n});function na(i,r){if(i&1&&(f(0,"th",5)(1,"div",6),N(2),C()()),i&2){let a=c(2);p(2),qe(a.weekNumbersLabel)}}function ia(i,r){if(i&1&&(f(0,"th",5)(1,"div",6),N(2),$(3,"calendarWeekday"),C()()),i&2){let a=r.$implicit,n=c(2);p(2),L(" ",Se(3,1,a.date,n.weekdayFormat,n.locale)," ")}}function ra(i,r){if(i&1&&(f(0,"thead")(1,"tr"),T(2,na,3,1,"th",5),Y(3,ia,4,5,"th",5,Lt),C()()),i&2){let a=c();p(2),F(a.showWeekNumber?2:-1),p(),j(a.weekDays)}}function sa(i,r){if(i&1){let a=S();f(0,"td",8,0),$(2,"calendarClassYear"),b("click",function(){let t=D(a).$implicit,o=V(1),d=c(3);return _(!o.disabled$()&&d.handleYearCellClick(t))})("keydown",function(t){D(a);let o=V(1),d=c(3);return _(o.date&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=V(1),d=c(3);return _(d.handleYearCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=V(1),o=c(3);return _(t.date&&o.handleCellMouseEnter(t.date))}),f(3,"div",9),N(4),C()()}if(i&2){let a=r.$implicit,n=V(1),t=c(3);k("date",t.getYearStart(a))("ngClass",pe(2,5,a))("tabindex",n.disabled$()?-1:0),X("aria-label",n.date.getFullYear()),p(4),L(" ",t.yearNumber(a)," ")}}function oa(i,r){if(i&1&&(f(0,"tr"),Y(1,sa,5,7,"td",7,q),C()),i&2){let a=r.$implicit;p(),j(a)}}function la(i,r){if(i&1&&Y(0,oa,3,0,"tr",null,q),i&2){let a=c();j(a.listOfYears())}}function da(i,r){if(i&1){let a=S();f(0,"td",8,1),$(2,"calendarClassMonth"),b("click",function(){D(a);let t=V(1),o=c(3);return _(!t.disabled$()&&o.handleMonthCellClick(t.date))})("keydown",function(t){D(a);let o=V(1),d=c(3);return _(o.date&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=V(1),d=c(3);return _(d.handleMonthCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=V(1),o=c(3);return _(t.date&&o.handleCellMouseEnter(t.date))}),f(3,"div",9),N(4),C()()}if(i&2){let a=r.$implicit,n=r.$index,t=V(1),o=c().$index,d=c(2);k("date",d.getMonthStart(o*3+n))("ngClass",ke(2,5,d.calendarDate,o*3+n))("tabindex",t.disabled$()?-1:0),X("aria-label",t.date.getFullYear()+" "+a.month),p(4),L(" ",a.month," ")}}function ca(i,r){if(i&1&&(f(0,"tr"),Y(1,da,5,8,"td",7,q),C()),i&2){let a=r.$implicit;p(),j(a)}}function ha(i,r){if(i&1&&Y(0,ca,3,0,"tr",null,q),i&2){let a=c();j(a.listOfMonths())}}function ua(i,r){if(i&1&&(f(0,"th",12),N(1),C()),i&2){let a=c().$implicit;p(),L(" ",a.weekNumber===0?53:a.weekNumber," ")}}function pa(i,r){if(i&1){let a=S();f(0,"td",14,3),$(2,"calendarClassDay"),$(3,"calendarDayTitle"),b("click",function(){D(a);let t=c().$implicit,o=c(3);return _(o.selectionType==="day"&&(t.month==="current"||o.selectAdjacentDays)&&o.handleDayCellClick(t.date))})("keydown",function(t){D(a);let o=c().$implicit,d=c(3);return _(d.selectionType==="day"&&(o.month==="current"||d.selectAdjacentDays)&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=c().$implicit,d=c(3);return _(d.selectionType==="day"&&(o.month==="current"||d.selectAdjacentDays)&&d.handleDayCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=c().$implicit,o=c(3);return _(o.selectionType==="day"&&(t.month==="current"||o.selectAdjacentDays)&&o.handleCellMouseEnter(t.date))}),f(4,"div",9),N(5),$(6,"calendarDay"),C()()}if(i&2){let a=c().$implicit,n=c(3);k("date",a.date)("month",a.month)("ngClass",ke(2,6,a,Ze(16,aa,n.minDate,n.maxDate,n.disabledDates,n.dateFilter)))("tabindex",n.selectionType==="day"&&(a.month==="current"||n.selectAdjacentDays)&&!n.isDateDisabled(a.date)?0:-1),X("aria-label",ke(3,9,a.date,n.locale)),p(5),L(" ",Se(6,12,a.date,n.dayFormat,n.locale)," ")}}function ma(i,r){i&1&&G(0,"td",5)}function Da(i,r){if(i&1&&T(0,pa,7,21,"td",13)(1,ma,1,0,"td",5),i&2){let a=r.$implicit,n=c(3);F(a.month==="current"||n.showAdjacentDays?0:1)}}function _a(i,r){if(i&1){let a=S();f(0,"tr",11,2),b("click",function(){D(a);let t=V(1),o=c(2);return _(o.selectionType==="week"&&t.current&&t.date&&o.handleDayCellClick(t.date))})("keydown",function(t){D(a);let o=V(1),d=c(2);return _(d.selectionType==="week"&&o.current&&o.date&&d.handleDayCellKeyDown(t,o.date))})("keyup",function(t){D(a);let o=V(1),d=c(2);return _(d.selectionType==="week"&&o.current&&o.date&&d.handleDayCellKeyUp(t,o.date))})("mouseenter",function(){D(a);let t=V(1),o=c(2);return _(o.selectionType==="week"&&t.date&&o.handleCellMouseEnter(t.date))}),T(2,ua,2,1,"th",12),Y(3,Da,2,1,null,null,Lt),C()}if(i&2){let a=r.$implicit,n=c(2);k("cCalendarRow",a),p(2),F(n.showWeekNumber?2:-1),p(),j(a.days)}}function fa(i,r){if(i&1&&Y(0,_a,5,2,"tr",10,q),i&2){let a=c();j(a.monthDetails)}}var Pe=(()=>{var r,a,n,t;let o=class o{constructor(e){w(this,r);w(this,a);w(this,n);w(this,t);this.calendarService=e,y(this,r,M(Q)),this.addMonths=0,this._startDate=null,this._endDate=null,this._disabledDates=[],this.firstDayOfWeek=1,y(this,a,H("default")),this.range=!1,this.weekdayFormat="short",y(this,n,H("days")),this._maxDate=null,this._minDate=null,this.listOfMonths=me(()=>Ve(lt(m(this,a).call(this),this.calendarDate$$().getFullYear()),4)),this.listOfYears=me(()=>Ve(dt(this.calendarDate$$().getFullYear()),4)),this.calendarDate$$=H(new Date),y(this,t,H("month")),this.showWeekNumber=!0,this.isDateInRangeDisabled=Ce,this.isDateBetweenMinMax=ut,this.calendarStateSubscribe()}set startDate(e){let s=e?P(e,"startDate"):null;this._startDate?.getTime()!==s?.getTime()&&(this._startDate=s,this.calendarService.update({startDate:this._startDate}))}get startDate(){return this._startDate}set endDate(e){let s=e?P(e,"endDate"):null;this._endDate?.getTime()!==s?.getTime()&&(this._endDate=s,this.calendarService.update({endDate:this._endDate}))}get endDate(){return this._endDate}set disabledDates(e){this._disabledDates=e}get disabledDates(){return this._disabledDates}set locale(e){m(this,a).set(e)}get locale(){return m(this,a).call(this)}set view(e){m(this,n).set(e)}get view(){return m(this,n).call(this)}set maxDate(e){this._maxDate=e?P(e,"maxDate"):null}get maxDate(){return this._maxDate}set minDate(e){this._minDate=e?P(e,"minDate"):null}get minDate(){return this._minDate}set calendarDate(e){let s=new Date(P(e??this.startDate,"calendarDate"));s&&this.calendarDate$$().getTime()!==s.getTime()&&(this.calendarDate$$.set(new Date(new Date(s.setDate(1)).setHours(0,0,0,0))),this.setMonthDetails(this.date),this.calendarService.update({calendarDate:this.calendarDate$$()}))}get calendarDate(){return this.calendarDate$$()}get date(){return new Date(this.calendarDate?.getFullYear(),this.calendarDate?.getMonth()+this.addMonths)}set selectionType(e){m(this,t).set(e)}get selectionType(){return m(this,t).call(this)}get monthDetails(){return this._monthDetails}get weekDays(){return this.monthDetails[0].days}ngOnInit(){this.setMonthDetails(this.date)}setMonthDetails(e=this.date){this._monthDetails=ct(e.getFullYear(),e.getMonth(),this.firstDayOfWeek)}yearNumber(e){return new Date(e,0).toLocaleDateString(this.locale,{year:"numeric"})}isDateDisabled(e){if(this.selectionType==="year"){let s=this.minDate?new Date(this.minDate.getFullYear(),0,1,0,0,0,0):null,l=this.maxDate?new Date(this.maxDate.getFullYear(),11,31,0,0,0,0):null;return I(e,s,l,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}if(this.selectionType==="month"){let s=this.minDate?new Date(this.minDate.getFullYear(),this.minDate.getMonth(),1,0,0,0,0):null,l=this.maxDate?new Date(this.maxDate.getFullYear(),this.maxDate.getMonth()+1,1,0,0,-1,0):null;return I(e,s,l,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}return I(e,this.minDate,this.maxDate,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}calendarCellTitle(e){return e.toLocaleDateString(this.locale)}handleCellMouseEnter(e){let s=["day","week"].includes(this.selectionType)&&this.view==="days"||["month"].includes(this.selectionType)&&this.view==="months"||["year"].includes(this.selectionType)&&this.view==="years",l=this.isDateDisabled(e)||!s?null:e;this.calendarService.update({hoverDate:l})}handleYearCellClick(e){if(this.selectionType==="year"){let l=new Date(e,0,1,0,0,0,0);this.range&&this.startDate&&!this.endDate&&(l=new Date(l.getFullYear(),12,1,0,0,-1,0)),this.handleDayCellClick(l);return}let s=new Date(e,0,1,0,0,0,0);this.view="months",this.calendarService.update({view:this.view,calendarDate:s})}handleYearCellKeyUp(e,s){if(["Space","Enter"].includes(e.code)){this.handleYearCellClick(s.getFullYear());return}if(["Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.code)){this.handleCellMouseEnter(new Date(s));return}}handleMonthCellKeyUp(e,s){if(["Space","Enter"].includes(e.code)){this.handleMonthCellClick(s);return}if(["Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.code)){this.handleCellMouseEnter(s);return}}handleMonthCellClick(e){if(this.selectionType==="month"){let s=new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0);this.range&&this.startDate&&!this.endDate&&(s=new Date(s.getFullYear(),s.getMonth()+1,1,0,0,-1,0)),this.handleDayCellClick(s);return}this.setCalendarPage(0,0,e.getMonth()-this.addMonths),this.view="days",this.calendarService.update({view:this.view})}setCalendarPage(e,s=0,l){let h=this.date.getFullYear(),g=this.date.getMonth(),u=new Date(h,g,1,0,0,0,0);e&&u.setFullYear(u.getFullYear()+e),s&&u.setMonth(u.getMonth()+s),typeof l=="number"&&u.setMonth(l),this.calendarService.update({calendarDate:u})}handleDayCellKeyDown(e,s){if(!["Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.code))return;e.preventDefault(),this.handleCellMouseEnter(s);let l=e.key==="Tab"?e.shiftKey?"ArrowLeft":"ArrowRight":e.key;if(this.maxDate&&s>=_e(this.maxDate,this.selectionType)&&["ArrowRight","ArrowDown"].includes(l)||this.minDate&&s<=_e(this.minDate,this.selectionType)&&["ArrowLeft","ArrowUp"].includes(l))return;let h=e.target;this.selectionType==="week"&&this.view==="days"&&h.tabIndex===-1&&(h=h.closest('tr[tabindex="0"]'));let g=["week"].includes(this.selectionType)&&this.view==="days"?this.calendarRows:this.calendarDays,u=g.toArray().map(K=>K.elementRef.nativeElement).filter(K=>K?.tabIndex===0),x=u.indexOf(h),te=x===0,ae=x===u.length-1,ne={start:x,end:u.length-(x+1)},ie={ArrowRight:1,ArrowLeft:-1,ArrowUp:this.selectionType==="week"&&this.view==="days"?-1:this.view==="days"?-7:-3,ArrowDown:this.selectionType==="week"&&this.view==="days"?1:this.view==="days"?7:3};if(l==="ArrowRight"&&ae||l==="ArrowDown"&&ne.end{let W=K.toArray().filter(re=>re?.elementRef.nativeElement.tabIndex===0);if(W.length){let re;switch(l){case"ArrowRight":{re=W[0];break}case"ArrowLeft":{re=W[W.length-1];break}case"ArrowDown":{re=W[ie.ArrowDown-(u.length-x)];break}case"ArrowUp":{re=W[W.length-(Math.abs(ie.ArrowUp)+1-(x+1))];break}}re?.disabled||re?.focus("keyboard")}}),this.view==="days"&&this.setCalendarPage(0,["ArrowRight","ArrowDown"].includes(l)?1:-1),this.view==="months"&&this.setCalendarPage(["ArrowRight","ArrowDown"].includes(l)?1:-1),this.view==="years"&&this.setCalendarPage(["ArrowRight","ArrowDown"].includes(l)?12:-12);return}let ge=u[x+ie[l]];if(ge?.tabIndex===0){ge.focus();return}for(let K=x;K{let s=Object.keys(e);for(let l of s)this[l]=e[l]})}getMonthStart(e){return new Date(this.calendarDate.getFullYear(),e,1,0,0,0,0)}getMonthEnd(e){return new Date(this.calendarDate.getFullYear(),e+1,1,0,0,-1,0)}getYearStart(e){return new Date(e,0,1)}getYearEnd(e){return new Date(e,11,1,0,0,-1,0)}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)(oe(B))},o.\u0275cmp=se({type:o,selectors:[["c-calendar-month"]],viewQuery:function(s,l){if(s&1&&(de(Oe,5),de(Ee,5)),s&2){let h;Z(h=ee())&&(l.calendarDays=h),Z(h=ee())&&(l.calendarRows=h)}},inputs:{addMonths:"addMonths",startDate:"startDate",endDate:"endDate",disabledDates:"disabledDates",firstDayOfWeek:[2,"firstDayOfWeek","firstDayOfWeek",he],locale:"locale",range:[2,"range","range",v],weekdayFormat:"weekdayFormat",view:"view",maxDate:"maxDate",minDate:"minDate",calendarDate:"calendarDate"},exportAs:["cCalendarMonth"],standalone:!0,features:[le,ce],decls:6,vars:2,consts:[["calendarYear","cCalendarDay"],["calendarMonth","cCalendarDay"],["calendarRow","cCalendarRow"],["calendarCell","cCalendarDay"],[3,"mouseleave"],[1,"calendar-cell"],[1,"calendar-header-cell-inner"],["cCalendarDay","",3,"date","ngClass","tabindex"],["cCalendarDay","",3,"click","keydown","keyup","mouseenter","date","ngClass","tabindex"],[1,"calendar-cell-inner"],[3,"cCalendarRow"],[3,"click","keydown","keyup","mouseenter","cCalendarRow"],[1,"calendar-cell-week-number"],["cCalendarDay","",3,"date","month","ngClass","tabindex"],["cCalendarDay","",3,"click","keydown","keyup","mouseenter","date","month","ngClass","tabindex"]],template:function(s,l){if(s&1&&(f(0,"table"),T(1,ra,5,1,"thead"),f(2,"tbody",4),b("mouseleave",function(){return l.handleCellMouseLeave()}),T(3,la,2,0)(4,ha,2,0)(5,fa,2,0),C()()),s&2){let h;p(),F(l.view==="days"?1:-1),p(2),F((h=l.view)==="years"?3:h==="months"?4:5)}},dependencies:[Oe,Bt,Wt,Ee,Ht,It,Nt,jt,De],styles:['.btn-transparent[_ngcontent-%COMP%]:focus-visible{outline:-webkit-focus-ring-color auto 1px}.calendar-row[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem}.calendar-row[_ngcontent-%COMP%]:focus-within:not([tabindex="-1"]){outline:0;box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem;outline-style:auto!important}.calendar-row[_ngcontent-%COMP%]:focus:not([tabindex="-1"]){outline:0;box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem;outline-style:auto!important}.calendar-cell[_ngcontent-%COMP%]:focus:not(:focus-visible):not([tabindex="-1"]){box-shadow:var(--cui-calendar-cell-focus-box-shadow);border-radius:.375rem}']});let i=o;return i})();var $t=(()=>{let r=class r{transform(n){return{calendar:!0,[`${n}`]:!!n}}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"calendarClassView",type:r,pure:!0,standalone:!0});let i=r;return i})();function Ca(i,r){if(i&1){let a=S();f(0,"div",0),$(1,"calendarClassView"),f(2,"c-calendar-navigation",1),b("navigationClick",function(t){D(a);let o=c();return _(o.handleNavigationClick(t.direction,t.years))}),C(),f(3,"c-calendar-month",2),b("cdkFocusChange",function(t){D(a);let o=c();return _(o.handleFocusChange(t))}),C()()}if(i&2){let a=r.$index,n=c();k("ngClass",pe(1,6,n.view)),p(2),k("addMonths",a)("navigation",n.navigation),p(),k("addMonths",a)("firstDayOfWeek",n.firstDayOfWeek)("weekdayFormat",n.weekdayFormat)}}var Ye=(()=>{var r,a,n;let t=class t{constructor(d){w(this,r);w(this,a);w(this,n);this.calendarService=d,y(this,r,M(Q)),this._calendarDate=P(new Date),this._calendars=1,this._dayFormat="numeric",this._disabledDates=[],this._startDate=null,this._endDate=null,this._firstDayOfWeek=1,this._locale="default",this._maxDate=null,this._minDate=null,this._navigation=!0,this._navYearFirst=!1,this._range=!1,this._view="days",this._weekdayFormat="short",y(this,a,"day"),y(this,n,H(!1)),this.calendarCellHover=new A,this.calendarDateChange=new A,this.endDateChange=new A,this.startDateChange=new A,this.viewChange=new A,this._hoverDate=null,this.getCalendarDate=st,this.calendarStateSubscribe()}set calendarDate(d){let e=new Date(P(d??this.startDate,"calendarDate"));if(e&&this._calendarDate.getTime()!==e.getTime()){let s=new Date(new Date(e.setDate(1)).setHours(0,0,0,0));this._calendarDate=s,this.calendarDateChange.emit(s),this.calendarService.update({calendarDate:s})}}get calendarDate(){return this._calendarDate}set calendars(d){this._calendars=d}get calendars(){return this._calendars}get calendarsArray(){return Array.from({length:this.calendars},(d,e)=>e)}set dayFormat(d){this._dayFormat=d,this.calendarService.update({dayFormat:this._dayFormat})}get dayFormat(){return this._dayFormat}set disabledDates(d){this._disabledDates=d,this.calendarService.update({disabledDates:this._disabledDates})}get disabledDates(){return this._disabledDates}set startDate(d){let e=d?P(d,"startDate"):null;this._startDate?.getTime()!==e?.getTime()&&(this._startDate=e,this.calendarService.update({startDate:this._startDate}),(!this.range||!this._startDate||this.endDate&&this._startDate>this.endDate)&&(this.endDate=null))}get startDate(){return this._startDate}set endDate(d){let e=d?P(d,"endDate"):null;this._endDate?.getTime()!==e?.getTime()&&(this._endDate=e,this.calendarService.update({endDate:this._endDate}))}get endDate(){return this.range?this._endDate:null}set firstDayOfWeek(d){this._firstDayOfWeek=d}get firstDayOfWeek(){return this._firstDayOfWeek}set locale(d){this._locale=d,this.calendarService.update({locale:d})}get locale(){return this._locale}set maxDate(d){this._maxDate=d?P(d,"maxDate"):null,this.calendarService.update({maxDate:this._maxDate})}get maxDate(){return this._maxDate}set minDate(d){this._minDate=d?P(d,"minDate"):null,this.calendarService.update({minDate:this._minDate})}get minDate(){return this._minDate}set navigation(d){this._navigation=d}get navigation(){return this._navigation}set navYearFirst(d){this._navYearFirst=d,this.calendarService.update({navYearFirst:this._navYearFirst})}get navYearFirst(){return this._navYearFirst}set range(d){this._range=d,this.calendarService.update({range:this._range})}get range(){return this._range}set view(d){this._view=d,this.calendarService.update({view:d})}get view(){return this._view}set weekdayFormat(d){this._weekdayFormat=d,this.calendarService.update({weekdayFormat:this._weekdayFormat})}get weekdayFormat(){return this._weekdayFormat}set dateFilter(d){this.calendarService.update({dateFilter:d})}set selectAdjacentDays(d){this.calendarService.update({selectAdjacentDays:d})}set showAdjacentDays(d){this.calendarService.update({showAdjacentDays:d??!0})}set selectionType(d){this.calendars=["month","year"].includes(d)?1:this.calendars,y(this,a,d),this.view=["day","week"].includes(d)?"days":d==="month"?"months":"years",this.calendarService.update({selectionType:d,view:this.view})}get selectionType(){return m(this,a)}set showWeekNumber(d){m(this,n).set(d),this.calendarService.update({showWeekNumber:d})}set weekNumbersLabel(d){this.calendarService.update({weekNumbersLabel:d})}set hoverDate(d){this._hoverDate=d,this.calendarCellHover.emit(d)}get hoverDate(){return this._hoverDate}get hostClasses(){let d=m(this,a),e=this.view;return{calendars:!0,[`select-${d}`]:d&&e==="days","show-week-numbers":m(this,n).call(this)}}ngOnInit(){this.calendarService.update({locale:this.locale??"default",view:this.view,range:this.range,selectionType:this.selectionType})}calendarStateSubscribe(){this.calendarService.calendarState$.pipe(U(m(this,r))).subscribe(d=>{let e=Object.keys(d);for(let s of e)if(s in this&&this[s]!==d[s]){if(this[s]=d[s],s==="startDate"){setTimeout(()=>{this.startDateChange.emit(this._startDate)});continue}s==="endDate"&&setTimeout(()=>{this.endDateChange.emit(this._endDate)})}})}setCalendarPage(d,e=0,s){let l=this.calendarDate.getFullYear(),h=this.calendarDate.getMonth(),g=new Date(l,h,1);d&&g.setFullYear(g.getFullYear()+d),e&&g.setMonth(g.getMonth()+e),typeof s=="number"&&g.setMonth(s),this.calendarDate=g}handleNavigationClick(d,e=!1){if(d==="prev"){if(e){this.setCalendarPage(this.view==="years"?-10:-1);return}if(this.view!=="days"){this.setCalendarPage(-1);return}this.setCalendarPage(0,-1);return}if(d==="next"){if(e){this.setCalendarPage(this.view==="years"?10:1);return}if(this.view!=="days"){this.setCalendarPage(1);return}this.setCalendarPage(0,1);return}}clearDates(){this.calendarService.update({endDate:null}),this.calendarService.update({startDate:null})}handleFocusChange(d){d===null&&this.calendarService.update({hoverDate:null})}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t.\u0275fac=function(e){return new(e||t)(oe(B))},t.\u0275cmp=se({type:t,selectors:[["c-calendar"]],viewQuery:function(e,s){if(e&1&&de(Pe,5),e&2){let l;Z(l=ee())&&(s.calendarMonths=l)}},hostVars:2,hostBindings:function(e,s){e&2&&z(s.hostClasses)},inputs:{calendarDate:"calendarDate",calendars:[2,"calendars","calendars",he],dayFormat:"dayFormat",disabledDates:"disabledDates",startDate:"startDate",endDate:"endDate",firstDayOfWeek:[2,"firstDayOfWeek","firstDayOfWeek",he],locale:"locale",maxDate:"maxDate",minDate:"minDate",navigation:[2,"navigation","navigation",v],navYearFirst:[2,"navYearFirst","navYearFirst",v],range:[2,"range","range",v],view:"view",weekdayFormat:"weekdayFormat",dateFilter:"dateFilter",selectAdjacentDays:[2,"selectAdjacentDays","selectAdjacentDays",v],showAdjacentDays:[2,"showAdjacentDays","showAdjacentDays",v],selectionType:"selectionType",showWeekNumber:[2,"showWeekNumber","showWeekNumber",v],weekNumbersLabel:"weekNumbersLabel"},outputs:{calendarCellHover:"calendarCellHover",calendarDateChange:"calendarDateChange",endDateChange:"endDateChange",startDateChange:"startDateChange",viewChange:"viewChange"},exportAs:["cCalendar"],standalone:!0,features:[ve([B]),le,ce],decls:2,vars:0,consts:[[3,"ngClass"],[3,"navigationClick","addMonths","navigation"],["cdkMonitorSubtreeFocus","",3,"cdkFocusChange","addMonths","firstDayOfWeek","weekdayFormat"]],template:function(e,s){e&1&&Y(0,Ca,4,8,"div",0,q),e&2&&j(s.calendarsArray)},dependencies:[Yt,$t,Pe,De,bt,vt],styles:[".btn-transparent[_ngcontent-%COMP%]:focus-visible{outline:-webkit-focus-ring-color auto 1px}"]});let i=t;return i})();var Ut=(()=>{let r=class r{transform(n,...t){return n[0]}};r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=R({name:"customRangeKey",type:r,pure:!0,standalone:!0});let i=r;return i})();var ga=["startDateElementRef"],ya=["endDateElementRef"],wa=["*"],Kt=i=>({hover:i}),va=i=>({$implicit:i});function ba(i,r){i&1&&G(0,"div",6)}function ka(i,r){if(i&1){let a=S();f(0,"input",5,2),b("change",function(t){D(a);let o=c();return _(o.handleEndDateInputChange(t))}),C()}if(i&2){let a,n,t=c();k("formControl",t.endDateInput)("ngClass",be(6,Kt,!!t.inputEndHoverValue))("placeholder",t.endDatePlaceholder)("readonly",(a=t.inputReadOnly)!==null&&a!==void 0?a:null)("valid",(n=t.valid)!==null&&n!==void 0?n:void 0),X("tabindex",t.disabled?-1:0)}}function xa(i,r){i&1&&G(0,"div",8)}function Fa(i,r){if(i&1){let a=S();f(0,"div",15),b("click",function(t){D(a);let o=c();return _(!o.disabled&&o.handleClear(t))}),C()}}function Ta(i,r){if(i&1){let a=S();f(0,"button",18),b("click",function(){let t=D(a).$implicit,o=c(3);return _(o.setCustomRange(t))}),N(1),$(2,"customRangeKey"),C()}if(i&2){let a=r.$implicit,n=c(3);k("color",n.rangesButtonsColor)("size",n.rangesButtonsSize)("variant",n.rangesButtonsVariant),p(),L(" ",pe(2,4,a)," ")}}function Sa(i,r){if(i&1&&(f(0,"div",16),Y(1,Ta,3,6,"button",17,q),C()),i&2){let a=c(2);p(),j(a.customRanges)}}function Va(i,r){if(i&1&&T(0,Sa,3,0,"div",16),i&2){let a=c();F(a.ranges&&a.customRanges.length>0?0:-1)}}function Ma(i,r){if(i&1){let a=S();f(0,"c-time-picker",19),b("timeChange",function(t){D(a);let o=c(2);return _(o.handleEndTimeChange(t))}),C()}if(i&2){let a,n=c(2);k("locale",n.locale)("disabled",!n.endDate)("time",(a=n.endDate)!==null&&a!==void 0?a:void 0)}}function Ra(i,r){if(i&1){let a=S();f(0,"div",13)(1,"c-time-picker",19),b("timeChange",function(t){D(a);let o=c();return _(o.handleStartTimeChange(t))}),C(),T(2,Ma,1,3,"c-time-picker",20),C()}if(i&2){let a,n=c();p(),k("locale",n.locale)("disabled",!n.startDate)("time",(a=n.startDate)!==null&&a!==void 0?a:void 0),p(),F(n.range?2:-1)}}function Aa(i,r){i&1&&Ue(0)}function Oa(i,r){if(i&1&&(f(0,"div",14),T(1,Aa,1,0,"ng-container",21),C()),i&2){let a=c(),n=V(1);p(),k("ngTemplateOutlet",a.templates==null?null:a.templates.datePickerFooter)("ngTemplateOutletContext",be(2,va,n))}}var Ea=(()=>{var r,a,n,t;let o=class o{constructor(e){w(this,r);w(this,a);w(this,n);w(this,t);this.breakpointObserver=e,this.dayFormat="numeric",this.calendars=2,this.cleaner=!0,this.closeOnSelect=!1,this.indicator=!0,y(this,r,!1),this.navYearFirst=!1,this.placeholder=["Start date","End date"],this.rangesButtonsColor="secondary",this.rangesButtonsSize="",this.rangesButtonsVariant="ghost",this.separator=!0,y(this,a,!1),this.valid=void 0,this.visible=!1,this.calendarDate=new Date,this.disabledDates=[],this.firstDayOfWeek=1,this.locale="default",this.maxDate=null,this.minDate=null,this.navigation=!0,this.range=!0,y(this,n,!1),this._value={},this.weekdayFormat="short",this.popperjsOptions={strategy:"absolute"},this.selectAdjacentDays=!1,this.showAdjacentDays=!0,this.selectionType="day",this.showWeekNumber=!1,this.valueChange=new A,this.calendarCellHover=new A,this.calendarDateChange=new A,this.endDateChange=new A,this.startDateChange=new A,this.templates={},this.dateChangeSubscriptions=[],this.isMobile=!0,this.showRanges=!1,this._startDateValue=this.formatDate(this.startDate),this._endDateValue=this.formatDate(this.endDate),this.startDateInput=new Re({value:this.startDateValue,disabled:this.disabled},[Me.required]),this.endDateInput=new Re({value:this.endDateValue,disabled:this.disabled},[Me.required]),y(this,t,{OneCalendarRanges:"(min-width: 480px)",TwoCalendars:"(max-width: 650px)",TwoCalendarsRanges:"(max-width: 810px)"}),this.setInputValue=(s,l)=>{s&&(s.nativeElement.value=this.formatDate(l))},this.onChange=s=>{},this.onTouched=()=>{}}set inputReadOnly(e){y(this,r,e)}get inputReadOnly(){return m(this,r)||typeof this.format=="string"}set timepicker(e){y(this,a,e)}get timepicker(){return!1}set startDate(e){let s=this._startDate?new Date(this._startDate):null;this._startDate=e?new Date(e):null,s?.getTime()!==this._startDate?.getTime()&&(this.startDateValue=this.formatDate(this._startDate),this.startDateChange.emit(this._startDate))}get startDate(){return this._startDate}set endDate(e){let s=this._endDate?new Date(this._endDate??0):null;this._endDate=e?new Date(e):null,s?.getTime()!==this._endDate?.getTime()&&(this.endDateValue=this.formatDate(this._endDate),this.endDateChange.emit(this._endDate))}get endDate(){return this._endDate}set disabled(e){y(this,n,e),m(this,n)?this.startDateInput.disable():this.startDateInput.enable(),m(this,n)?this.endDateInput.disable():this.endDateInput.enable()}get disabled(){return m(this,n)}set value(e){let s=this.range?E({},e):e;if(JSON.stringify(this._value)!==JSON.stringify(s)&&(this._value=s,this.range?(this.handleStartDateChange(s.startDate??null),this.handleEndDateChange(s.endDate??null)):this.handleStartDateChange(s??null),this.onChange(s),this.onTouched(),this.valueChange.emit(this.value),this.closeOnSelect)){let l=this.range?!!(this.value.startDate&&this.value.endDate):!!this.value;this.visible=!l}}get value(){return this._value}subscribeDateChange(e=!0){e||this.dateChangeSubscriptions.forEach(s=>{s?.unsubscribe()})}onBlur(){this.onTouched()}set startDateValue(e){this.startDateInput.setValue(e),this._startDateValue=e}get startDateValue(){return this._startDateValue}set endDateValue(e){this.endDateInput.setValue(e),this._endDateValue=e}get endDateValue(){return this._endDateValue}get startDatePlaceholder(){return Array.isArray(this.placeholder)?this.placeholder[0]:this.placeholder}get endDatePlaceholder(){return Array.isArray(this.placeholder)?this.placeholder[1]:this.placeholder}set inputStartHoverValue(e){this._inputStartHoverValue=e}get inputStartHoverValue(){return this._inputStartHoverValue}set inputEndHoverValue(e){this._inputEndHoverValue=e}get inputEndHoverValue(){return this._inputEndHoverValue}get datePickerClasses(){return{"date-picker":!0,[`date-picker-${this.size}`]:this.size,disabled:this.disabled,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}formatDate(e){return!e||!fe(e)?"":typeof this.inputDateFormat=="function"?this.inputDateFormat(e):this.format&&this.locale&&this.locale!=="default"?tt(e,this.format,this.locale):this.timepicker?e.toLocaleString(this.locale):e.toLocaleDateString(this.locale)}ngOnInit(){this.customRanges=this.ranges?Object.entries(this.ranges):[];let e=m(this,t);this.layoutChanges=this.breakpointObserver.observe([e.OneCalendarRanges,e.TwoCalendars,e.TwoCalendarsRanges]).subscribe(s=>{s.matches&&(this.isMobile=this.customRanges?.length>0&&s.breakpoints[e.TwoCalendarsRanges]||s.breakpoints[e.TwoCalendars],this.customRanges?.length>0&&(this.showRanges=!s.breakpoints[e.OneCalendarRanges]))}),this.startDateValue=this.formatDate(this.startDate),this.endDateValue=this.formatDate(this.endDate),this.subscribeDateChange()}ngOnDestroy(){this.layoutChanges?.unsubscribe(),this.subscribeDateChange(!1)}ngAfterViewInit(){setTimeout(()=>{this.contentTemplates.forEach(e=>{this.templates[e.id]=e.templateRef})})}ngOnChanges(e){if(e.date){let s=this.convertValueToDate(e.date?.currentValue)??null;this.handleStartDateChange(s),this.calendarDate=s??this.calendarDate}if(e.startDate){let s=this.convertValueToDate(e.startDate?.currentValue)??null;this.handleStartDateChange(s),this.calendarDate=s??this.calendarDate}if(e.endDate){let s=this.convertValueToDate(e.endDate?.currentValue)??null;this.handleEndDateChange(s)}e.locale&&(this.startDateValue=this.formatDate(this.startDate),this.endDateValue=this.formatDate(this.endDate))}convertValueToDate(e){return e?typeof e=="string"?this.inputParse(e)??null:new Date(e)??null:null}inputParse(e){if(typeof this.inputDateParse=="function"){let s=this.inputDateParse(e);if(fe(s))return s}return ot(e,this.locale,this.timepicker)}getCustomRangeKey(e){return e[0]}setCustomRange(e){let s=this.getCustomRangeKey(e);this.handleStartDateChange(e[1][0]),this.handleEndDateChange(e[1][1])}handleCalendarCellHover(e){if(this.calendarCellHover.emit(e),!this.startDate){this.setInputValue(this.startDateElementRef,e),this.inputStartHoverValue=e,this.setInputValue(this.endDateElementRef,null),this.inputEndHoverValue=null;return}if(!this.endDate){this.setInputValue(this.endDateElementRef,e),this.inputEndHoverValue=e;return}}handleCalendarDateChange(e){this.calendarDate.getTime()!==e.getTime()&&this.calendarDateChange.emit(e)}handleStartDateChange(e){e?.getTime()!==this.startDate?.getTime()&&(this.startDate=e??null,this.startDateValue=this.formatDate(this.startDate),this.inputStartHoverValue=null,this.value=this.range?{startDate:this.startDate,endDate:this.endDate}:this.startDate)}handleEndDateChange(e){if(e?.getTime()!==this.endDate?.getTime()){if(!this.range)return;this.endDate=e??null,this.endDateValue=this.formatDate(this.endDate),this.inputEndHoverValue=null,this.value=this.range?{startDate:this.startDate,endDate:this.endDate}:this.startDate}}handleClear(e){this.handleStartDateChange(null),this.handleEndDateChange(null)}handleStartDateInputChange(e){let s=e.target.value,l=this.inputParse(s);l||(this.handleStartDateChange(null),this.handleEndDateChange(null)),l instanceof Date&&l.getTime()&&(this.forbiddenDate(l)||this.endDate&&this.endDatel||(this.calendarDate=l,this.endDate=l)),this.handleEndDateChange(this.endDate??null)}forbiddenDate(e){return I(e,this.minDate,this.maxDate,this.disabledDates)||(this.dateFilter?!this.dateFilter(e):!1)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}writeValue(e){e!==null&&(this.value=this.range?E({},e):e)}handleStartTimeChange(e){this.startDate=e??this.startDate}handleEndTimeChange(e){this.range&&(this.endDate=e??this.endDate)}};r=new WeakMap,a=new WeakMap,n=new WeakMap,t=new WeakMap,o.\u0275fac=function(s){return new(s||o)(oe(wt))},o.\u0275cmp=se({type:o,selectors:[["c-date-range-picker"]],contentQueries:function(s,l,h){if(s&1&&ze(h,it,5),s&2){let g;Z(g=ee())&&(l.contentTemplates=g)}},viewQuery:function(s,l){if(s&1&&(de(ga,5),de(ya,5)),s&2){let h;Z(h=ee())&&(l.startDateElementRef=h.first),Z(h=ee())&&(l.endDateElementRef=h.first)}},hostVars:2,hostBindings:function(s,l){s&1&&b("focusout",function(){return l.onBlur()}),s&2&&z(l.datePickerClasses)},inputs:{dayFormat:"dayFormat",calendars:[2,"calendars","calendars",he],cleaner:[2,"cleaner","cleaner",v],closeOnSelect:[2,"closeOnSelect","closeOnSelect",v],format:"format",indicator:[2,"indicator","indicator",v],inputDateFormat:"inputDateFormat",inputDateParse:"inputDateParse",inputReadOnly:[2,"inputReadOnly","inputReadOnly",v],navYearFirst:[2,"navYearFirst","navYearFirst",v],placeholder:"placeholder",ranges:"ranges",rangesButtonsColor:"rangesButtonsColor",rangesButtonsSize:"rangesButtonsSize",rangesButtonsVariant:"rangesButtonsVariant",separator:[2,"separator","separator",v],size:"size",timepicker:[2,"timepicker","timepicker",v],valid:"valid",visible:[2,"visible","visible",v],startDate:"startDate",endDate:"endDate",calendarDate:[2,"calendarDate","calendarDate",rt],disabledDates:"disabledDates",firstDayOfWeek:[2,"firstDayOfWeek","firstDayOfWeek",he],locale:"locale",maxDate:"maxDate",minDate:"minDate",navigation:[2,"navigation","navigation",v],range:[2,"range","range",v],dateFilter:"dateFilter",disabled:[2,"disabled","disabled",v],value:"value",weekdayFormat:"weekdayFormat",popperjsOptions:[0,"popperOptions","popperjsOptions"],selectAdjacentDays:[2,"selectAdjacentDays","selectAdjacentDays",v],showAdjacentDays:[2,"showAdjacentDays","showAdjacentDays",v],selectionType:"selectionType",showWeekNumber:[2,"showWeekNumber","showWeekNumber",v],weekNumbersLabel:"weekNumbersLabel"},outputs:{valueChange:"valueChange",calendarCellHover:"calendarCellHover",calendarDateChange:"calendarDateChange",endDateChange:"endDateChange",startDateChange:"startDateChange"},exportAs:["cDateRangePicker"],standalone:!0,features:[ve([{provide:kt,useExisting:We(()=>o),multi:!0}]),le,$e,ce],ngContentSelectors:wa,decls:16,vars:41,consts:[["dropdown","cDropdown"],["startDateElementRef",""],["endDateElementRef",""],[1,"date-picker","picker",3,"visibleChange","autoClose","ngClass","visible","popperOptions"],["cDropdownToggle","",1,"date-picker-input-group",3,"caret","disabled"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"change","formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-separator"],["cFormControl","","pattern","[1-9]*",1,"date-picker-input",3,"formControl","ngClass","placeholder","readonly","valid"],[1,"date-picker-indicator"],["role","button",1,"date-picker-cleaner"],["cDropdownMenu","",1,"date-picker-dropdown","py-0"],[1,"date-picker-body"],[1,"date-picker-calendars",3,"calendarCellHover","calendarDateChange","endDateChange","startDateChange","calendarDate","calendars","dateFilter","disabledDates","endDate","firstDayOfWeek","locale","maxDate","minDate","navigation","range","startDate","navYearFirst","dayFormat","weekdayFormat","selectAdjacentDays","showAdjacentDays","showWeekNumber","selectionType","weekNumbersLabel"],[1,"date-picker-timepickers"],[1,"date-picker-footer"],["role","button",1,"date-picker-cleaner",3,"click"],[1,"date-picker-ranges"],["cButton","",3,"color","size","variant"],["cButton","",3,"click","color","size","variant"],["variant","select",3,"timeChange","locale","disabled","time"],["variant","select",3,"locale","disabled","time"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(s,l){if(s&1){let h=S();Ke(),f(0,"c-dropdown",3,0),Xe("visibleChange",function(u){return D(h),Je(l.visible,u)||(l.visible=u),_(u)}),f(2,"div",4)(3,"input",5,1),b("change",function(u){return D(h),_(l.handleStartDateInputChange(u))}),C(),T(5,ba,1,0,"div",6)(6,ka,2,8,"input",7)(7,xa,1,0,"div",8)(8,Fa,1,0,"div",9),C(),f(9,"div",10)(10,"div",11),T(11,Va,1,1),f(12,"c-calendar",12),b("calendarCellHover",function(u){return D(h),_(l.handleCalendarCellHover(u))})("calendarDateChange",function(u){return D(h),_(l.handleCalendarDateChange(u))})("endDateChange",function(u){return D(h),_(l.handleEndDateChange(u))})("startDateChange",function(u){return D(h),_(l.handleStartDateChange(u))}),C(),T(13,Ra,3,4,"div",13),C(),T(14,Oa,2,4,"div",14),C(),Qe(15),C()}if(s&2){let h,g,u=V(1),x=V(4);k("autoClose","outside")("ngClass",l.datePickerClasses),Ge("visible",l.visible),k("popperOptions",l.popperjsOptions),p(2),k("caret",!1)("disabled",(h=l.disabled)!==null&&h!==void 0?h:u.visible),p(),k("formControl",l.startDateInput)("ngClass",be(39,Kt,!!l.inputStartHoverValue))("placeholder",l.startDatePlaceholder)("readonly",(g=l.inputReadOnly)!==null&&g!==void 0?g:null)("valid",l.range?void 0:l.valid),X("tabindex",l.disabled?-1:0),p(2),F(l.range&&l.separator!==!1?5:-1),p(),F(l.range?6:-1),p(),F(l.indicator?7:-1),p(),F(l.cleaner&&x.value&&!l.disabled?8:-1),p(3),F(l.showRanges?-1:11),p(),k("calendarDate",l.calendarDate)("calendars",l.isMobile?1:l.calendars)("dateFilter",l.dateFilter)("disabledDates",l.disabledDates)("endDate",l.endDate)("firstDayOfWeek",l.firstDayOfWeek)("locale",l.locale)("maxDate",l.maxDate)("minDate",l.minDate)("navigation",l.navigation)("range",l.range)("startDate",l.startDate)("navYearFirst",l.navYearFirst)("dayFormat",l.dayFormat)("weekdayFormat",l.weekdayFormat)("selectAdjacentDays",l.selectAdjacentDays)("showAdjacentDays",l.showAdjacentDays)("showWeekNumber",l.showWeekNumber)("selectionType",l.selectionType)("weekNumbersLabel",l.weekNumbersLabel),p(),F(-1),p(),F(l.templates!=null&&l.templates.datePickerFooter?14:-1)}},dependencies:[De,nt,Vt,xt,Ft,St,Tt,Ye,Et,xe,At,Rt,Mt,Ot,Ut],styles:[".form-control.date-picker-input[_ngcontent-%COMP%]:focus{box-shadow:0 0}"]});let i=o;return i})();export{Ye as a,Ut as b,Ea as c}; diff --git a/angular/docs/chunk-Y6WUDGUL.js b/angular/docs/chunk-WGVE5UEZ.js similarity index 96% rename from angular/docs/chunk-Y6WUDGUL.js rename to angular/docs/chunk-WGVE5UEZ.js index de8156da565..0012283ee10 100644 --- a/angular/docs/chunk-Y6WUDGUL.js +++ b/angular/docs/chunk-WGVE5UEZ.js @@ -1,4 +1,4 @@ -import{a as tt}from"./chunk-FZ7UQHE3.js";import{a as He}from"./chunk-C434TJEI.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{a as at}from"./chunk-YDIXRUSA.js";import{A as Xe,B as et,a as Qe,e as pe,f as ue,g as Ue,i as qe,j as Ke,l as Je,m as de,q as Ye,r as Ze}from"./chunk-JZLZFTWK.js";import"./chunk-GHTCDR3O.js";import{b as J,c as Pe}from"./chunk-J37AVTJX.js";import{c as k}from"./chunk-R2HXWLDR.js";import"./chunk-QUYVWFHK.js";import{a as We}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as ot}from"./chunk-QWXOJRTG.js";import{a as me,i as je}from"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as it}from"./chunk-SWYVARVN.js";import{r as nt}from"./chunk-JJFVMVK7.js";import{c as Ne,d as Ge}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{m as se,s as ze,t as Be,x as ce}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as l,A as Se,Aa as O,Ab as Ee,Ac as V,Ba as A,Bc as d,Ca as M,Cb as Ve,Cc as D,Db as oe,Dc as q,Ec as $e,Ia as Ie,Ja as Re,Jb as S,Ka as R,Kc as z,La as ie,Lc as B,Mc as N,Nc as Le,Oc as f,Pb as ve,Pc as y,Qb as u,Qc as ae,Rc as Ce,Ub as Y,Wb as j,Wc as re,X as Te,Xb as Me,Xc as le,Y as ne,Yb as Z,Zb as Q,_b as U,_c as K,ac as r,ba as we,bc as c,ec as $,fc as X,ia as H,lb as m,mb as he,mc as L,na as g,nd as ee,oc as x,od as xe,pc as De,pd as G,qc as ke,qd as P,rb as Fe,rd as W,x as te,xc as Oe,yc as Ae,z as be,zb as T,zc as _e}from"./chunk-O6V6MKDU.js";import{e as C,f as F,g as E}from"./chunk-MGAX33HK.js";var Rt=["*"],ge=(()=>{var e,o;let a=class a{constructor(){F(this,e);F(this,o);E(this,e,H(ie)),E(this,o,H(Fe)),this.label=R(""),this.value=R.required(),this.focusable=T(!1),this.focusableEffect=W(()=>{C(this,o).setAttribute(C(this,e).nativeElement,"tabindex",this.focusable()?"0":"-1")})}focus(i){C(this,e).nativeElement.focus()}getLabel(){return this.label()||this.value().toString()}};e=new WeakMap,o=new WeakMap,a.\u0275fac=function(h){return new(h||a)},a.\u0275cmp=g({type:a,selectors:[["c-rating-item-label"]],inputs:{label:[1,"label"],value:[1,"value"]},standalone:!0,features:[f],ngContentSelectors:Rt,decls:1,vars:0,template:function(h,_){h&1&&(De(),ke(0))},encapsulation:2,changeDetection:0});let t=a;return t})();var Ft=()=>["hover","focusin"],lt=(t,e)=>({$implicit:t,itemIndex:e}),Et=t=>({active:t}),Vt=()=>({}),st=t=>({$implicit:t});function Mt(t,e){t&1&&$(0)}function Dt(t,e){if(t&1){let o=X();l(0,"div",7),L("mouseenter",function(){O(o);let n=x().$index,i=x();return A(i.hoveredItem.set(n))})("focusin",function(){O(o);let n=x().$index,i=x();return A(i.hoveredItem.set(n))}),S(1,Mt,1,0,"ng-container",8),r()}if(t&2){let o=x(),a=o.$implicit,n=o.$index,i=x(),h=V(3);u("cTooltip",i.getTooltipValue(n))("cTooltipTrigger",y(4,Ft)),m(),u("ngTemplateOutlet",h)("ngTemplateOutletContext",Ce(5,lt,a,n))}}function kt(t,e){t&1&&$(0)}function Ot(t,e){if(t&1&&(l(0,"div",6),S(1,kt,1,0,"ng-container",8),r()),t&2){let o=x(),a=o.$implicit,n=o.$index;x();let i=V(3);m(),u("ngTemplateOutlet",i)("ngTemplateOutletContext",Ce(2,lt,a,n))}}function At(t,e){if(t&1&&S(0,Dt,2,8,"div",5)(1,Ot,2,5,"div",6),t&2){let o=x();j(o.tooltips()?0:1)}}function $t(t,e){t&1&&$(0)}function Lt(t,e){if(t&1&&S(0,$t,1,0,"ng-container",8),t&2){let o,a=x(2).itemIndex,n=x(),i=V(9);u("ngTemplateOutlet",i)("ngTemplateOutletContext",ae(2,st,(o=(o=n.icon())==null?null:o[a])!==null&&o!==void 0?o:n.icon()))}}function zt(t,e){t&1&&$(0)}function Bt(t,e){if(t&1&&S(0,zt,1,0,"ng-container",11),t&2){x(3);let o=V(7);u("ngTemplateOutlet",o)}}function Nt(t,e){t&1&&$(0)}function Gt(t,e){if(t&1&&S(0,Nt,1,0,"ng-container",8),t&2){let o,a=x(2).itemIndex,n=x(),i=V(11);u("ngTemplateOutlet",i)("ngTemplateOutletContext",ae(2,st,(o=(o=n.activeIcon())==null?null:o[a])!==null&&o!==void 0?o:n.activeIcon()))}}function Pt(t,e){if(t&1){let o=X();l(0,"c-rating-item-label",10),L("click",function(){let n=O(o).$implicit,i=x(2);return A(i.handleClick(n))})("focus",function(n){let i=O(o).$implicit,h=x(2);return A(h.handleFocusIn(n,i))})("mouseenter",function(n){let i=O(o).$implicit,h=x(2);return A(h.handleMouseEnter(n,i))}),S(1,Lt,1,4,"ng-container")(2,Bt,1,1,"ng-container")(3,Gt,1,4,"ng-container"),r()}if(t&2){let o,a,n=e.$implicit,i=e.$index,h=x().itemIndex,_=x();u("ngClass",ae(7,Et,_.isItemActive(n)))("ngStyle",i+1<_.numberOfSubItems()?_.notLastItemStyle(i):y(9,Vt))("value",n),ve("aria-label",n)("aria-checked",n===_.value()),m(),j(_.iconTemplates()[(o=_.icon()[h])!==null&&o!==void 0?o:_.icon()]?1:2),m(2),j(_.iconTemplates()[(a=_.activeIcon()[h])!==null&&a!==void 0?a:_.activeIcon()]?3:-1)}}function Wt(t,e){if(t&1&&Q(0,Pt,4,10,"c-rating-item-label",9,Me),t&2){let o=e.$implicit;U(o)}}function Ht(t,e){if(t&1&&(l(0,"span"),d(1),r()),t&2){let o=x();m(),D(o.hoverValue())}}function jt(t,e){t&1&&c(0,"div",12)}function Qt(t,e){t&1&&$(0)}function Ut(t,e){if(t&1&&(l(0,"div",13),S(1,Qt,1,0,"ng-container",11),r()),t&2){let o,a=e.$implicit,n=x(),i=V(7);m(),u("ngTemplateOutlet",((o=n.iconTemplates())==null?null:o[a])||i)}}function qt(t,e){t&1&&$(0)}function Kt(t,e){if(t&1&&(l(0,"div",14),S(1,qt,1,0,"ng-container",11),r()),t&2){let o,a=e.$implicit,n=x(),i=V(9);m(),u("ngTemplateOutlet",((o=n.iconTemplates())==null?null:o[a])||i)}}var rt=t=>Array.isArray(t)?[...t]:[t];var ye=t=>Number(t??0),v=(()=>{var e,o,a,n,i;let h=class h{constructor(){F(this,e);F(this,o);F(this,a);F(this,n);F(this,i);E(this,e,H(Ie)),E(this,o,H(ie)),this.activeIcon=R([],{transform:rt}),this.allowClear=R(!1,{transform:ee}),this.disabled=R(!1,{transform:ee}),E(this,a,T(this.disabled())),this.highlightOnlySelected=R(!1,{transform:ee}),this.icon=R([],{transform:rt}),this.itemCount=R(5,{transform:xe}),this.precision=R(1,{transform:xe}),this.readOnly=R(!1,{transform:ee}),this.size=R(void 0),this.tooltips=R(void 0),this.value=oe(null),this.hoverValue=T(null),this.hoverValueChange=Re(),this.hoverValueEffect=W(()=>{this.hoverValueChange.emit(this.hoverValue()),this.hoverValue()||this.hoveredItem.set(void 0)},{allowSignalWrites:!0}),E(this,n,T(!1)),this.hoveredItem=T(void 0),this.tooltipValue=T(null),this.ratingDisabled=G(()=>this.disabled()||this.readOnly()||C(this,a).call(this)),this.ratingDisabledEffect=W(()=>{if(!this.ratingDisabled()){let s=te(C(this,o).nativeElement,"focusin"),p=te(C(this,o).nativeElement,"focusout"),b=te(C(this,o).nativeElement,"mouseleave");be(s,p,b).pipe(Se(I=>!this.ratingDisabled()),ne(I=>{switch(I.type){case"focusin":this.onTouched();break;case"focusout":case"mouseleave":this.hoverValue.set(null);break}}),Te(()=>!this.ratingDisabled()),me(C(this,e))).subscribe()}}),this.contentTemplates=Ve(k),this.iconTemplates=G(()=>{let s=this.contentTemplates().map(p=>[[p.id],p.templateRef]);return Object.fromEntries(s)}),this.numberOfSubItems=G(()=>parseInt((1/this.precision()).toFixed())),this.ratingItems=G(()=>Array.from({length:this.itemCount()},(s,p)=>this.numberOfSubItems()===1?[p+1]:Array.from({length:this.numberOfSubItems()},(b,I)=>p+(I+1)*this.precision()))),this.ratingItemLabels=Ee(ge),this.ratingItemLabelsEffect=W(()=>{if(P(this.ratingDisabled))return;E(this,i,new je(this.ratingItemLabels()).withHorizontalOrientation("ltr").withWrap());let s=this.ratingItems().flat().findIndex(p=>p===ye(this.value()??0));C(this,i)?.updateActiveItem(s<0?0:s),C(this,i).tabOut.pipe(ne(p=>{let b=P(this.ratingItems).flat().findIndex(I=>I===ye(P(this.value)??0));C(this,i).updateActiveItem(b===-1?0:b),this.updateFocusableItems()}),me(C(this,e))).subscribe(),C(this,i).change.pipe(ne(p=>{this.ratingItemLabels().forEach((b,I)=>{if(b.focusable.set(I===C(this,i).activeItemIndex),I===C(this,i).activeItemIndex){let fe=P(b.value);this.handleClick(fe)}})}),me(C(this,e))).subscribe()},{allowSignalWrites:!0}),this.onChange=s=>{},this.onTouched=()=>{},this.valueEffect=W(()=>{let s=this.value();if(this.onChange(s),P(this.ratingDisabled))return;if(P(C(this,n))){C(this,n).set(!1);return}let p=this.ratingItems().flat().findIndex(b=>b===ye(s??0));C(this,i)?.updateActiveItem(p<0?0:p),this.updateFocusableItems()},{allowSignalWrites:!0})}get hostClasses(){return{rating:!0,[`rating-${this.size()}`]:this.size(),disabled:this.disabled()||C(this,a).call(this),readonly:this.readOnly()}}get ariaValueNow(){return this.value()}get ariaValueMax(){return this.itemCount()}get role(){return"radiogroup"}onKeydown(s){if(this.ratingDisabled())return!1;if(["Space","Enter"].includes(s.code)){s.preventDefault();let p=this.ratingItemLabels().find((b,I)=>I===C(this,i)?.activeItemIndex);this.handleClick(p?.value()??-1);return}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(s.key)){C(this,i).onKeydown(s);return}["Tab"].includes(s.key)&&C(this,i)?.tabOut.next()}registerOnChange(s){this.onChange=s}registerOnTouched(s){this.onTouched=s}setDisabledState(s){C(this,a).set(s)}writeValue(s){this.value.set(s)}isItemActive(s){let p=this.hoverValue()??this.value()??-1;return this.highlightOnlySelected()?p===s:p>=s}notLastItemStyle(s){return{zIndex:this.numberOfSubItems()-s,position:"absolute",width:`${this.precision()*(s+1)*100}%`,overflow:"hidden",opacity:.1}}handleFocusIn(s,p){this.handleMouseEnter(s,p)}handleClick(s){this.ratingDisabled()||(this.allowClear()&&s===this.value()?(C(this,n).set(!0),this.value.set(null),this.hoverValue.set(null)):this.value.set(s))}handleMouseEnter(s,p){this.ratingDisabled()||(this.hoverValue.set(null),this.hoverValue.set(p),this.tooltipValue.set(p))}getTooltipValue(s){if(!(!this.hoverValue()||this.hoveredItem()!==s))return Array.isArray(this.tooltips())?this.tooltips()[s]:this.precision()?this.tooltipValue()?.toString()??"":this.ratingItems()?(this.ratingItems()[s].at(-1)??"").toString():""}updateFocusableItems(){this.ratingItemLabels().forEach((s,p)=>{s.focusable.set(p===C(this,i)?.activeItemIndex)})}};e=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakMap,i=new WeakMap,h.\u0275fac=function(p){return new(p||h)},h.\u0275cmp=g({type:h,selectors:[["c-rating"]],contentQueries:function(p,b,I){p&1&&Oe(I,b.contentTemplates,k,4),p&2&&_e()},viewQuery:function(p,b){p&1&&Ae(b.ratingItemLabels,ge,5),p&2&&_e()},hostVars:5,hostBindings:function(p,b){p&1&&L("keydown",function(fe){return b.onKeydown(fe)}),p&2&&(ve("aria-valuenow",b.ariaValueNow)("aria-valuemax",b.ariaValueMax)("role",b.role),Y(b.hostClasses))},inputs:{activeIcon:[1,"activeIcon"],allowClear:[1,"allowClear"],disabled:[1,"disabled"],highlightOnlySelected:[1,"highlightOnlySelected"],icon:[1,"icon"],itemCount:[1,"itemCount"],precision:[1,"precision"],readOnly:[1,"readOnly"],size:[1,"size"],tooltips:[1,"tooltips"],value:[1,"value"]},outputs:{value:"valueChange",hoverValueChange:"hoverValueChange"},exportAs:["cRating"],standalone:!0,features:[Le([{provide:Qe,useExisting:we(()=>h),multi:!0}]),f],decls:12,vars:0,consts:[["ratingItemLabel",""],["tooltipContent",""],["defaultIconTemplate",""],["customIconTemplate",""],["customIconActiveTemplate",""],[1,"rating-item",3,"cTooltip","cTooltipTrigger"],[1,"rating-item"],[1,"rating-item",3,"mouseenter","focusin","cTooltip","cTooltipTrigger"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","radio",1,"rating-item-label","d-inline-block",3,"ngClass","ngStyle","value"],["role","radio",1,"rating-item-label","d-inline-block",3,"click","focus","mouseenter","ngClass","ngStyle","value"],[4,"ngTemplateOutlet"],[1,"rating-item-icon"],[1,"rating-item-custom-icon"],[1,"rating-item-custom-icon-active"]],template:function(p,b){p&1&&(Q(0,At,2,1,null,null,Z),S(2,Wt,2,0,"ng-template",null,0,K)(4,Ht,2,1,"ng-template",null,1,K)(6,jt,1,0,"ng-template",null,2,K)(8,Ut,2,1,"ng-template",null,3,K)(10,Kt,2,1,"ng-template",null,4,K)),p&2&&U(b.ratingItems())},dependencies:()=>[se,ze,Be,tt,ge],styles:["[_nghost-%COMP%]{display:inline-flex}:is(.disabled[_nghost-%COMP%], .readonly)[_nghost-%COMP%] .rating-item-label[_ngcontent-%COMP%]{cursor:default}"],changeDetection:0});let t=h;return t})();var ct=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating01"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v],encapsulation:2,changeDetection:0});let t=e;return t})();var mt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating02"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["allowClear","","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v]});let t=e;return t})();var pt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating03"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["readOnly","","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v]});let t=e;return t})();var ut=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating04"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["disabled","","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v]});let t=e;return t})();var dt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating05"]],standalone:!0,features:[f],decls:1,vars:1,consts:[["value","3",3,"tooltips"]],template:function(n,i){n&1&&c(0,"c-rating",0),n&2&&u("tooltips",!0)},dependencies:[v]});let t=e;return t})();var Jt=()=>["Very bad","Bad","Meh","Good","Very good"],gt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating06"]],standalone:!0,features:[f],decls:1,vars:2,consts:[["value","3",3,"tooltips"]],template:function(n,i){n&1&&c(0,"c-rating",0),n&2&&u("tooltips",y(1,Jt))},dependencies:[v]});let t=e;return t})();var ft=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating07"]],standalone:!0,features:[f],decls:3,vars:0,consts:[["size","sm","value","3"],["value","3"],["size","lg","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)(1,"c-rating",1)(2,"c-rating",2)},dependencies:[v],styles:["[_nghost-%COMP%] .rating[_ngcontent-%COMP%]{display:flex}"]});let t=e;return t})();var ht=(()=>{let e=class e{constructor(){this.value=T(3)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating08"]],standalone:!0,features:[f],decls:3,vars:2,consts:[["precision","0.25",3,"valueChange","value"]],template:function(n,i){n&1&&(l(0,"c-rating",0),N("valueChange",function(_){return B(i.value,_)||(i.value=_),_}),r(),l(1,"div"),d(2),r()),n&2&&(z("value",i.value),m(2),D(i.value()))},dependencies:[v]});let t=e;return t})();var vt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating09"]],standalone:!0,features:[f],decls:2,vars:0,consts:[["itemCount","20","value","7"],["itemCount","3","value","1"]],template:function(n,i){n&1&&c(0,"c-rating",0)(1,"c-rating",1)},dependencies:[v],styles:["[_nghost-%COMP%] .rating[_ngcontent-%COMP%]{display:flex}"]});let t=e;return t})();var _t=()=>({icon:!1});function Yt(t,e){t&1&&(M(),c(0,"svg",3)),t&2&&Y(y(2,_t))}function Zt(t,e){t&1&&(M(),c(0,"svg",4)),t&2&&Y(y(2,_t))}var Ct=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating10"]],standalone:!0,features:[f],decls:3,vars:0,consts:[["value","3","icon","iconTemplate","activeIcon","activeIconTemplate"],["cTemplateId","iconTemplate"],["cTemplateId","activeIconTemplate"],["cIcon","","name","cilStar"],["cIcon","","name","cisStar"]],template:function(n,i){n&1&&(l(0,"c-rating",0),S(1,Yt,1,3,"ng-template",1)(2,Zt,1,3,"ng-template",2),r())},dependencies:[v,k,J]});let t=e;return t})();function Xt(t,e){t&1&&(M(),c(0,"svg",3))}function en(t,e){t&1&&(M(),c(0,"svg",4))}var xt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating11"]],standalone:!0,features:[f],decls:3,vars:0,consts:[["value","3","icon","iconTemplate","activeIcon","activeIconTemplate"],["cTemplateId","iconTemplate"],["cTemplateId","activeIconTemplate"],["cIcon","","name","cilHeart","size","lg"],["cIcon","","name","cilHeart","size","lg",1,"text-danger"]],template:function(n,i){n&1&&(l(0,"c-rating",0),S(1,Xt,1,0,"ng-template",1)(2,en,1,0,"ng-template",2),r())},dependencies:[v,k,Pe,J]});let t=e;return t})();function tn(t,e){if(t&1&&(M(),c(0,"svg",2)),t&2){let o=x().$implicit;u("name",o)}}function nn(t,e){if(t&1&&S(0,tn,1,1,"ng-template",1),t&2){let o=e.$implicit;u("cTemplateId",o)}}function on(t,e){if(t&1&&(M(),c(0,"svg",3)),t&2){let o=x().$index,a=x();u("name",a.icons[o])("ngClass",a.activeClass[o])}}function an(t,e){if(t&1&&S(0,on,1,2,"ng-template",1),t&2){let o=e.$implicit;u("cTemplateId",o)}}var yt=(()=>{let e=class e{constructor(){this.tooltips=["Very bad","Bad","Meh","Good","Very good"],this.icons=["cilMoodVeryBad","cilMoodBad","cilMeh","cilMoodGood","cilMoodVeryGood"],this.activeIcons=this.icons.map(a=>`active_${a}`),this.activeClass=["text-dark","text-danger","text-warning","text-info","text-success"],this.value=T(3)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating12"]],standalone:!0,features:[f],decls:5,vars:4,consts:[["highlightOnlySelected","",3,"valueChange","value","activeIcon","icon","tooltips"],[3,"cTemplateId"],["cIcon","","size","xxl",3,"name"],["cIcon","","size","xxl",3,"name","ngClass"]],template:function(n,i){n&1&&(l(0,"c-rating",0),N("valueChange",function(_){return B(i.value,_)||(i.value=_),_}),Q(1,nn,1,1,null,1,Z),Q(3,an,1,1,null,1,Z),r()),n&2&&(z("value",i.value),u("activeIcon",i.activeIcons)("icon",i.icons)("tooltips",i.tooltips),m(),U(i.icons),m(2),U(i.activeIcons))},dependencies:[J,v,k,se]});let t=e;return t})();var bt=(()=>{let e=class e{constructor(){this.formGroup=new Ue({ratingControl:new Ke(3,{nonNullable:!1})})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating13"]],standalone:!0,features:[f],decls:5,vars:4,consts:[[3,"formGroup"],["formControlName","ratingControl","allowClear",""]],template:function(n,i){n&1&&(l(0,"form",0),c(1,"c-rating",1),r(),c(2,"br"),d(3),re(4,"json")),n&2&&(u("formGroup",i.formGroup),m(3),q(` +import{a as tt}from"./chunk-2AVMBETS.js";import{a as He}from"./chunk-F3XLZSRJ.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{a as at}from"./chunk-IV3JRMWS.js";import{A as Xe,B as et,a as Qe,e as pe,f as ue,g as Ue,i as qe,j as Ke,l as Je,m as de,q as Ye,r as Ze}from"./chunk-WFHPAILT.js";import"./chunk-FW3F3TZD.js";import{b as J,c as Pe}from"./chunk-OLTS3WRU.js";import{c as k}from"./chunk-UYIAOCXU.js";import"./chunk-QUYVWFHK.js";import{a as We}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as ot}from"./chunk-XPMARKUH.js";import{a as me,i as je}from"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as it}from"./chunk-MH6VOBXJ.js";import{r as nt}from"./chunk-Q5WIR6QR.js";import{c as Ne,d as Ge}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{m as se,s as ze,t as Be,x as ce}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as l,A as Se,Aa as O,Ab as Ee,Ac as V,Ba as A,Bc as d,Ca as M,Cb as Ve,Cc as D,Db as oe,Dc as q,Ec as $e,Ia as Ie,Ja as Re,Jb as S,Ka as R,Kc as z,La as ie,Lc as B,Mc as N,Nc as Le,Oc as f,Pb as ve,Pc as y,Qb as u,Qc as ae,Rc as Ce,Ub as Y,Wb as j,Wc as re,X as Te,Xb as Me,Xc as le,Y as ne,Yb as Z,Zb as Q,_b as U,_c as K,ac as r,ba as we,bc as c,ec as $,fc as X,ia as H,lb as m,mb as he,mc as L,na as g,nd as ee,oc as x,od as xe,pc as De,pd as G,qc as ke,qd as P,rb as Fe,rd as W,x as te,xc as Oe,yc as Ae,z as be,zb as T,zc as _e}from"./chunk-6U7QZ4SV.js";import{e as C,f as F,g as E}from"./chunk-MGAX33HK.js";var Rt=["*"],ge=(()=>{var e,o;let a=class a{constructor(){F(this,e);F(this,o);E(this,e,H(ie)),E(this,o,H(Fe)),this.label=R(""),this.value=R.required(),this.focusable=T(!1),this.focusableEffect=W(()=>{C(this,o).setAttribute(C(this,e).nativeElement,"tabindex",this.focusable()?"0":"-1")})}focus(i){C(this,e).nativeElement.focus()}getLabel(){return this.label()||this.value().toString()}};e=new WeakMap,o=new WeakMap,a.\u0275fac=function(h){return new(h||a)},a.\u0275cmp=g({type:a,selectors:[["c-rating-item-label"]],inputs:{label:[1,"label"],value:[1,"value"]},standalone:!0,features:[f],ngContentSelectors:Rt,decls:1,vars:0,template:function(h,_){h&1&&(De(),ke(0))},encapsulation:2,changeDetection:0});let t=a;return t})();var Ft=()=>["hover","focusin"],lt=(t,e)=>({$implicit:t,itemIndex:e}),Et=t=>({active:t}),Vt=()=>({}),st=t=>({$implicit:t});function Mt(t,e){t&1&&$(0)}function Dt(t,e){if(t&1){let o=X();l(0,"div",7),L("mouseenter",function(){O(o);let n=x().$index,i=x();return A(i.hoveredItem.set(n))})("focusin",function(){O(o);let n=x().$index,i=x();return A(i.hoveredItem.set(n))}),S(1,Mt,1,0,"ng-container",8),r()}if(t&2){let o=x(),a=o.$implicit,n=o.$index,i=x(),h=V(3);u("cTooltip",i.getTooltipValue(n))("cTooltipTrigger",y(4,Ft)),m(),u("ngTemplateOutlet",h)("ngTemplateOutletContext",Ce(5,lt,a,n))}}function kt(t,e){t&1&&$(0)}function Ot(t,e){if(t&1&&(l(0,"div",6),S(1,kt,1,0,"ng-container",8),r()),t&2){let o=x(),a=o.$implicit,n=o.$index;x();let i=V(3);m(),u("ngTemplateOutlet",i)("ngTemplateOutletContext",Ce(2,lt,a,n))}}function At(t,e){if(t&1&&S(0,Dt,2,8,"div",5)(1,Ot,2,5,"div",6),t&2){let o=x();j(o.tooltips()?0:1)}}function $t(t,e){t&1&&$(0)}function Lt(t,e){if(t&1&&S(0,$t,1,0,"ng-container",8),t&2){let o,a=x(2).itemIndex,n=x(),i=V(9);u("ngTemplateOutlet",i)("ngTemplateOutletContext",ae(2,st,(o=(o=n.icon())==null?null:o[a])!==null&&o!==void 0?o:n.icon()))}}function zt(t,e){t&1&&$(0)}function Bt(t,e){if(t&1&&S(0,zt,1,0,"ng-container",11),t&2){x(3);let o=V(7);u("ngTemplateOutlet",o)}}function Nt(t,e){t&1&&$(0)}function Gt(t,e){if(t&1&&S(0,Nt,1,0,"ng-container",8),t&2){let o,a=x(2).itemIndex,n=x(),i=V(11);u("ngTemplateOutlet",i)("ngTemplateOutletContext",ae(2,st,(o=(o=n.activeIcon())==null?null:o[a])!==null&&o!==void 0?o:n.activeIcon()))}}function Pt(t,e){if(t&1){let o=X();l(0,"c-rating-item-label",10),L("click",function(){let n=O(o).$implicit,i=x(2);return A(i.handleClick(n))})("focus",function(n){let i=O(o).$implicit,h=x(2);return A(h.handleFocusIn(n,i))})("mouseenter",function(n){let i=O(o).$implicit,h=x(2);return A(h.handleMouseEnter(n,i))}),S(1,Lt,1,4,"ng-container")(2,Bt,1,1,"ng-container")(3,Gt,1,4,"ng-container"),r()}if(t&2){let o,a,n=e.$implicit,i=e.$index,h=x().itemIndex,_=x();u("ngClass",ae(7,Et,_.isItemActive(n)))("ngStyle",i+1<_.numberOfSubItems()?_.notLastItemStyle(i):y(9,Vt))("value",n),ve("aria-label",n)("aria-checked",n===_.value()),m(),j(_.iconTemplates()[(o=_.icon()[h])!==null&&o!==void 0?o:_.icon()]?1:2),m(2),j(_.iconTemplates()[(a=_.activeIcon()[h])!==null&&a!==void 0?a:_.activeIcon()]?3:-1)}}function Wt(t,e){if(t&1&&Q(0,Pt,4,10,"c-rating-item-label",9,Me),t&2){let o=e.$implicit;U(o)}}function Ht(t,e){if(t&1&&(l(0,"span"),d(1),r()),t&2){let o=x();m(),D(o.hoverValue())}}function jt(t,e){t&1&&c(0,"div",12)}function Qt(t,e){t&1&&$(0)}function Ut(t,e){if(t&1&&(l(0,"div",13),S(1,Qt,1,0,"ng-container",11),r()),t&2){let o,a=e.$implicit,n=x(),i=V(7);m(),u("ngTemplateOutlet",((o=n.iconTemplates())==null?null:o[a])||i)}}function qt(t,e){t&1&&$(0)}function Kt(t,e){if(t&1&&(l(0,"div",14),S(1,qt,1,0,"ng-container",11),r()),t&2){let o,a=e.$implicit,n=x(),i=V(9);m(),u("ngTemplateOutlet",((o=n.iconTemplates())==null?null:o[a])||i)}}var rt=t=>Array.isArray(t)?[...t]:[t];var ye=t=>Number(t??0),v=(()=>{var e,o,a,n,i;let h=class h{constructor(){F(this,e);F(this,o);F(this,a);F(this,n);F(this,i);E(this,e,H(Ie)),E(this,o,H(ie)),this.activeIcon=R([],{transform:rt}),this.allowClear=R(!1,{transform:ee}),this.disabled=R(!1,{transform:ee}),E(this,a,T(this.disabled())),this.highlightOnlySelected=R(!1,{transform:ee}),this.icon=R([],{transform:rt}),this.itemCount=R(5,{transform:xe}),this.precision=R(1,{transform:xe}),this.readOnly=R(!1,{transform:ee}),this.size=R(void 0),this.tooltips=R(void 0),this.value=oe(null),this.hoverValue=T(null),this.hoverValueChange=Re(),this.hoverValueEffect=W(()=>{this.hoverValueChange.emit(this.hoverValue()),this.hoverValue()||this.hoveredItem.set(void 0)},{allowSignalWrites:!0}),E(this,n,T(!1)),this.hoveredItem=T(void 0),this.tooltipValue=T(null),this.ratingDisabled=G(()=>this.disabled()||this.readOnly()||C(this,a).call(this)),this.ratingDisabledEffect=W(()=>{if(!this.ratingDisabled()){let s=te(C(this,o).nativeElement,"focusin"),p=te(C(this,o).nativeElement,"focusout"),b=te(C(this,o).nativeElement,"mouseleave");be(s,p,b).pipe(Se(I=>!this.ratingDisabled()),ne(I=>{switch(I.type){case"focusin":this.onTouched();break;case"focusout":case"mouseleave":this.hoverValue.set(null);break}}),Te(()=>!this.ratingDisabled()),me(C(this,e))).subscribe()}}),this.contentTemplates=Ve(k),this.iconTemplates=G(()=>{let s=this.contentTemplates().map(p=>[[p.id],p.templateRef]);return Object.fromEntries(s)}),this.numberOfSubItems=G(()=>parseInt((1/this.precision()).toFixed())),this.ratingItems=G(()=>Array.from({length:this.itemCount()},(s,p)=>this.numberOfSubItems()===1?[p+1]:Array.from({length:this.numberOfSubItems()},(b,I)=>p+(I+1)*this.precision()))),this.ratingItemLabels=Ee(ge),this.ratingItemLabelsEffect=W(()=>{if(P(this.ratingDisabled))return;E(this,i,new je(this.ratingItemLabels()).withHorizontalOrientation("ltr").withWrap());let s=this.ratingItems().flat().findIndex(p=>p===ye(this.value()??0));C(this,i)?.updateActiveItem(s<0?0:s),C(this,i).tabOut.pipe(ne(p=>{let b=P(this.ratingItems).flat().findIndex(I=>I===ye(P(this.value)??0));C(this,i).updateActiveItem(b===-1?0:b),this.updateFocusableItems()}),me(C(this,e))).subscribe(),C(this,i).change.pipe(ne(p=>{this.ratingItemLabels().forEach((b,I)=>{if(b.focusable.set(I===C(this,i).activeItemIndex),I===C(this,i).activeItemIndex){let fe=P(b.value);this.handleClick(fe)}})}),me(C(this,e))).subscribe()},{allowSignalWrites:!0}),this.onChange=s=>{},this.onTouched=()=>{},this.valueEffect=W(()=>{let s=this.value();if(this.onChange(s),P(this.ratingDisabled))return;if(P(C(this,n))){C(this,n).set(!1);return}let p=this.ratingItems().flat().findIndex(b=>b===ye(s??0));C(this,i)?.updateActiveItem(p<0?0:p),this.updateFocusableItems()},{allowSignalWrites:!0})}get hostClasses(){return{rating:!0,[`rating-${this.size()}`]:this.size(),disabled:this.disabled()||C(this,a).call(this),readonly:this.readOnly()}}get ariaValueNow(){return this.value()}get ariaValueMax(){return this.itemCount()}get role(){return"radiogroup"}onKeydown(s){if(this.ratingDisabled())return!1;if(["Space","Enter"].includes(s.code)){s.preventDefault();let p=this.ratingItemLabels().find((b,I)=>I===C(this,i)?.activeItemIndex);this.handleClick(p?.value()??-1);return}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(s.key)){C(this,i).onKeydown(s);return}["Tab"].includes(s.key)&&C(this,i)?.tabOut.next()}registerOnChange(s){this.onChange=s}registerOnTouched(s){this.onTouched=s}setDisabledState(s){C(this,a).set(s)}writeValue(s){this.value.set(s)}isItemActive(s){let p=this.hoverValue()??this.value()??-1;return this.highlightOnlySelected()?p===s:p>=s}notLastItemStyle(s){return{zIndex:this.numberOfSubItems()-s,position:"absolute",width:`${this.precision()*(s+1)*100}%`,overflow:"hidden",opacity:.1}}handleFocusIn(s,p){this.handleMouseEnter(s,p)}handleClick(s){this.ratingDisabled()||(this.allowClear()&&s===this.value()?(C(this,n).set(!0),this.value.set(null),this.hoverValue.set(null)):this.value.set(s))}handleMouseEnter(s,p){this.ratingDisabled()||(this.hoverValue.set(null),this.hoverValue.set(p),this.tooltipValue.set(p))}getTooltipValue(s){if(!(!this.hoverValue()||this.hoveredItem()!==s))return Array.isArray(this.tooltips())?this.tooltips()[s]:this.precision()?this.tooltipValue()?.toString()??"":this.ratingItems()?(this.ratingItems()[s].at(-1)??"").toString():""}updateFocusableItems(){this.ratingItemLabels().forEach((s,p)=>{s.focusable.set(p===C(this,i)?.activeItemIndex)})}};e=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakMap,i=new WeakMap,h.\u0275fac=function(p){return new(p||h)},h.\u0275cmp=g({type:h,selectors:[["c-rating"]],contentQueries:function(p,b,I){p&1&&Oe(I,b.contentTemplates,k,4),p&2&&_e()},viewQuery:function(p,b){p&1&&Ae(b.ratingItemLabels,ge,5),p&2&&_e()},hostVars:5,hostBindings:function(p,b){p&1&&L("keydown",function(fe){return b.onKeydown(fe)}),p&2&&(ve("aria-valuenow",b.ariaValueNow)("aria-valuemax",b.ariaValueMax)("role",b.role),Y(b.hostClasses))},inputs:{activeIcon:[1,"activeIcon"],allowClear:[1,"allowClear"],disabled:[1,"disabled"],highlightOnlySelected:[1,"highlightOnlySelected"],icon:[1,"icon"],itemCount:[1,"itemCount"],precision:[1,"precision"],readOnly:[1,"readOnly"],size:[1,"size"],tooltips:[1,"tooltips"],value:[1,"value"]},outputs:{value:"valueChange",hoverValueChange:"hoverValueChange"},exportAs:["cRating"],standalone:!0,features:[Le([{provide:Qe,useExisting:we(()=>h),multi:!0}]),f],decls:12,vars:0,consts:[["ratingItemLabel",""],["tooltipContent",""],["defaultIconTemplate",""],["customIconTemplate",""],["customIconActiveTemplate",""],[1,"rating-item",3,"cTooltip","cTooltipTrigger"],[1,"rating-item"],[1,"rating-item",3,"mouseenter","focusin","cTooltip","cTooltipTrigger"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","radio",1,"rating-item-label","d-inline-block",3,"ngClass","ngStyle","value"],["role","radio",1,"rating-item-label","d-inline-block",3,"click","focus","mouseenter","ngClass","ngStyle","value"],[4,"ngTemplateOutlet"],[1,"rating-item-icon"],[1,"rating-item-custom-icon"],[1,"rating-item-custom-icon-active"]],template:function(p,b){p&1&&(Q(0,At,2,1,null,null,Z),S(2,Wt,2,0,"ng-template",null,0,K)(4,Ht,2,1,"ng-template",null,1,K)(6,jt,1,0,"ng-template",null,2,K)(8,Ut,2,1,"ng-template",null,3,K)(10,Kt,2,1,"ng-template",null,4,K)),p&2&&U(b.ratingItems())},dependencies:()=>[se,ze,Be,tt,ge],styles:["[_nghost-%COMP%]{display:inline-flex}:is(.disabled[_nghost-%COMP%], .readonly)[_nghost-%COMP%] .rating-item-label[_ngcontent-%COMP%]{cursor:default}"],changeDetection:0});let t=h;return t})();var ct=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating01"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v],encapsulation:2,changeDetection:0});let t=e;return t})();var mt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating02"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["allowClear","","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v]});let t=e;return t})();var pt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating03"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["readOnly","","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v]});let t=e;return t})();var ut=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating04"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["disabled","","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)},dependencies:[v]});let t=e;return t})();var dt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating05"]],standalone:!0,features:[f],decls:1,vars:1,consts:[["value","3",3,"tooltips"]],template:function(n,i){n&1&&c(0,"c-rating",0),n&2&&u("tooltips",!0)},dependencies:[v]});let t=e;return t})();var Jt=()=>["Very bad","Bad","Meh","Good","Very good"],gt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating06"]],standalone:!0,features:[f],decls:1,vars:2,consts:[["value","3",3,"tooltips"]],template:function(n,i){n&1&&c(0,"c-rating",0),n&2&&u("tooltips",y(1,Jt))},dependencies:[v]});let t=e;return t})();var ft=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating07"]],standalone:!0,features:[f],decls:3,vars:0,consts:[["size","sm","value","3"],["value","3"],["size","lg","value","3"]],template:function(n,i){n&1&&c(0,"c-rating",0)(1,"c-rating",1)(2,"c-rating",2)},dependencies:[v],styles:["[_nghost-%COMP%] .rating[_ngcontent-%COMP%]{display:flex}"]});let t=e;return t})();var ht=(()=>{let e=class e{constructor(){this.value=T(3)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating08"]],standalone:!0,features:[f],decls:3,vars:2,consts:[["precision","0.25",3,"valueChange","value"]],template:function(n,i){n&1&&(l(0,"c-rating",0),N("valueChange",function(_){return B(i.value,_)||(i.value=_),_}),r(),l(1,"div"),d(2),r()),n&2&&(z("value",i.value),m(2),D(i.value()))},dependencies:[v]});let t=e;return t})();var vt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating09"]],standalone:!0,features:[f],decls:2,vars:0,consts:[["itemCount","20","value","7"],["itemCount","3","value","1"]],template:function(n,i){n&1&&c(0,"c-rating",0)(1,"c-rating",1)},dependencies:[v],styles:["[_nghost-%COMP%] .rating[_ngcontent-%COMP%]{display:flex}"]});let t=e;return t})();var _t=()=>({icon:!1});function Yt(t,e){t&1&&(M(),c(0,"svg",3)),t&2&&Y(y(2,_t))}function Zt(t,e){t&1&&(M(),c(0,"svg",4)),t&2&&Y(y(2,_t))}var Ct=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating10"]],standalone:!0,features:[f],decls:3,vars:0,consts:[["value","3","icon","iconTemplate","activeIcon","activeIconTemplate"],["cTemplateId","iconTemplate"],["cTemplateId","activeIconTemplate"],["cIcon","","name","cilStar"],["cIcon","","name","cisStar"]],template:function(n,i){n&1&&(l(0,"c-rating",0),S(1,Yt,1,3,"ng-template",1)(2,Zt,1,3,"ng-template",2),r())},dependencies:[v,k,J]});let t=e;return t})();function Xt(t,e){t&1&&(M(),c(0,"svg",3))}function en(t,e){t&1&&(M(),c(0,"svg",4))}var xt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating11"]],standalone:!0,features:[f],decls:3,vars:0,consts:[["value","3","icon","iconTemplate","activeIcon","activeIconTemplate"],["cTemplateId","iconTemplate"],["cTemplateId","activeIconTemplate"],["cIcon","","name","cilHeart","size","lg"],["cIcon","","name","cilHeart","size","lg",1,"text-danger"]],template:function(n,i){n&1&&(l(0,"c-rating",0),S(1,Xt,1,0,"ng-template",1)(2,en,1,0,"ng-template",2),r())},dependencies:[v,k,Pe,J]});let t=e;return t})();function tn(t,e){if(t&1&&(M(),c(0,"svg",2)),t&2){let o=x().$implicit;u("name",o)}}function nn(t,e){if(t&1&&S(0,tn,1,1,"ng-template",1),t&2){let o=e.$implicit;u("cTemplateId",o)}}function on(t,e){if(t&1&&(M(),c(0,"svg",3)),t&2){let o=x().$index,a=x();u("name",a.icons[o])("ngClass",a.activeClass[o])}}function an(t,e){if(t&1&&S(0,on,1,2,"ng-template",1),t&2){let o=e.$implicit;u("cTemplateId",o)}}var yt=(()=>{let e=class e{constructor(){this.tooltips=["Very bad","Bad","Meh","Good","Very good"],this.icons=["cilMoodVeryBad","cilMoodBad","cilMeh","cilMoodGood","cilMoodVeryGood"],this.activeIcons=this.icons.map(a=>`active_${a}`),this.activeClass=["text-dark","text-danger","text-warning","text-info","text-success"],this.value=T(3)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating12"]],standalone:!0,features:[f],decls:5,vars:4,consts:[["highlightOnlySelected","",3,"valueChange","value","activeIcon","icon","tooltips"],[3,"cTemplateId"],["cIcon","","size","xxl",3,"name"],["cIcon","","size","xxl",3,"name","ngClass"]],template:function(n,i){n&1&&(l(0,"c-rating",0),N("valueChange",function(_){return B(i.value,_)||(i.value=_),_}),Q(1,nn,1,1,null,1,Z),Q(3,an,1,1,null,1,Z),r()),n&2&&(z("value",i.value),u("activeIcon",i.activeIcons)("icon",i.icons)("tooltips",i.tooltips),m(),U(i.icons),m(2),U(i.activeIcons))},dependencies:[J,v,k,se]});let t=e;return t})();var bt=(()=>{let e=class e{constructor(){this.formGroup=new Ue({ratingControl:new Ke(3,{nonNullable:!1})})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating13"]],standalone:!0,features:[f],decls:5,vars:4,consts:[[3,"formGroup"],["formControlName","ratingControl","allowClear",""]],template:function(n,i){n&1&&(l(0,"form",0),c(1,"c-rating",1),r(),c(2,"br"),d(3),re(4,"json")),n&2&&(u("formGroup",i.formGroup),m(3),q(` Form value: `,le(4,2,i.formGroup.value),` `))},dependencies:[v,et,de,pe,ue,Ye,Ze,ce],encapsulation:2});let t=e;return t})();var St=(()=>{let e=class e{constructor(){this.rating=T(3)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=g({type:e,selectors:[["docs-rating14"]],standalone:!0,features:[f],decls:6,vars:4,consts:[["form","ngForm"],["name","ratingControl","allowClear","",3,"ngModelChange","ngModel"]],template:function(n,i){if(n&1){let h=X();l(0,"form",null,0)(2,"c-rating",1),N("ngModelChange",function(s){return O(h),B(i.rating,s)||(i.rating=s),A(s)}),r()(),c(3,"br"),d(4),re(5,"json")}if(n&2){let h=V(1);m(2),z("ngModel",i.rating),m(2),q(` Form value: `,le(5,2,h.value),` diff --git a/angular/docs/chunk-FD6TS4SY.js b/angular/docs/chunk-WNBGUXF6.js similarity index 91% rename from angular/docs/chunk-FD6TS4SY.js rename to angular/docs/chunk-WNBGUXF6.js index eede78143ff..5adb5d75d6d 100644 --- a/angular/docs/chunk-FD6TS4SY.js +++ b/angular/docs/chunk-WNBGUXF6.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as f}from"./chunk-SWYVARVN.js";import{r as v}from"./chunk-JJFVMVK7.js";import{c as h,d as g}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Bc as e,Cc as d,Oc as u,ac as t,bc as c,lb as s,mb as r,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var C=(()=>{let o=class o{constructor(l,i){this.metaService=l,this.titleService=i,this.title="CoreUI Angular Template Installation",this.description="Learn how to use CoreUI Angular Admin Dashboard Templates including npm scripts to build templates, compile source code, run tests, and more."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};o.\u0275fac=function(i){return new(i||o)(r(h),r(g))},o.\u0275cmp=p({type:o,selectors:[["docs-installation"]],standalone:!0,features:[u],decls:14,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"table-responsive","api-table"]],template:function(i,m){i&1&&(n(0,"h1",0),e(1),t(),n(2,"p",1),e(3),t(),c(4,"docs-ads-carbon-loader"),n(5,"markdown"),e(6,` +import"./chunk-DPZ7BZKP.js";import{a as f}from"./chunk-MH6VOBXJ.js";import{r as v}from"./chunk-Q5WIR6QR.js";import{c as h,d as g}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Bc as e,Cc as d,Oc as u,ac as t,bc as c,lb as s,mb as r,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var C=(()=>{let o=class o{constructor(l,i){this.metaService=l,this.titleService=i,this.title="CoreUI Angular Template Installation",this.description="Learn how to use CoreUI Angular Admin Dashboard Templates including npm scripts to build templates, compile source code, run tests, and more."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};o.\u0275fac=function(i){return new(i||o)(r(h),r(g))},o.\u0275cmp=p({type:o,selectors:[["docs-installation"]],standalone:!0,features:[u],decls:14,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],[1,"table-responsive","api-table"]],template:function(i,m){i&1&&(n(0,"h1",0),e(1),t(),n(2,"p",1),e(3),t(),c(4,"docs-ads-carbon-loader"),n(5,"markdown"),e(6,` ## Tooling setup diff --git a/angular/docs/chunk-JTYAMBBT.js b/angular/docs/chunk-WYQS275H.js similarity index 99% rename from angular/docs/chunk-JTYAMBBT.js rename to angular/docs/chunk-WYQS275H.js index 52c30dca57b..1c889502263 100644 --- a/angular/docs/chunk-JTYAMBBT.js +++ b/angular/docs/chunk-WYQS275H.js @@ -1,3 +1,3 @@ -import{$b as Dn,Aa as yn,Ba as vn,Gb as Cn,Na as ke,Oc as jn,Qb as Pn,Rb as On,Ub as An,ac as Tn,fc as Ln,id as Vn,mb as ti,mc as En,na as xn,nd as ei,od as Ji,pc as Rn,qc as In,rb as Mn,tb as wn,ub as Sn,uc as Fn,vb as kn,vc as zn,wc as Bn,xa as _n}from"./chunk-O6V6MKDU.js";import{a as mt,b as kt}from"./chunk-MGAX33HK.js";function Al(){this.__data__=[],this.size=0}var Nn=Al;function Dl(e,i){return e===i||e!==e&&i!==i}var Ct=Dl;function Tl(e,i){for(var t=e.length;t--;)if(Ct(e[t][0],i))return t;return-1}var Pt=Tl;var Ll=Array.prototype,El=Ll.splice;function Rl(e){var i=this.__data__,t=Pt(i,e);if(t<0)return!1;var s=i.length-1;return t==s?i.pop():El.call(i,t,1),--this.size,!0}var Hn=Rl;function Il(e){var i=this.__data__,t=Pt(i,e);return t<0?void 0:i[t][1]}var Wn=Il;function Fl(e){return Pt(this.__data__,e)>-1}var $n=Fl;function zl(e,i){var t=this.__data__,s=Pt(t,e);return s<0?(++this.size,t.push([e,i])):t[s][1]=i,this}var Yn=zl;function Qt(e){var i=-1,t=e==null?0:e.length;for(this.clear();++i-1&&e%1==0&&e<=ph}var ai=gh;function mh(e){return e!=null&&ai(e.length)&&!ee(e)}var le=mh;function bh(e){return ct(e)&&le(e)}var Io=bh;function xh(){return!1}var Fo=xh;var jo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zo=jo&&typeof module=="object"&&module&&!module.nodeType&&module,_h=zo&&zo.exports===jo,Bo=_h?st.Buffer:void 0,yh=Bo?Bo.isBuffer:void 0,vh=yh||Fo,li=vh;var Mh="[object Object]",wh=Function.prototype,Sh=Object.prototype,Vo=wh.toString,kh=Sh.hasOwnProperty,Ch=Vo.call(Object);function Ph(e){if(!ct(e)||At(e)!=Mh)return!1;var i=oi(e);if(i===null)return!0;var t=kh.call(i,"constructor")&&i.constructor;return typeof t=="function"&&t instanceof t&&Vo.call(t)==Ch}var No=Ph;var Oh="[object Arguments]",Ah="[object Array]",Dh="[object Boolean]",Th="[object Date]",Lh="[object Error]",Eh="[object Function]",Rh="[object Map]",Ih="[object Number]",Fh="[object Object]",zh="[object RegExp]",Bh="[object Set]",jh="[object String]",Vh="[object WeakMap]",Nh="[object ArrayBuffer]",Hh="[object DataView]",Wh="[object Float32Array]",$h="[object Float64Array]",Yh="[object Int8Array]",Uh="[object Int16Array]",Xh="[object Int32Array]",Kh="[object Uint8Array]",Gh="[object Uint8ClampedArray]",qh="[object Uint16Array]",Zh="[object Uint32Array]",B={};B[Wh]=B[$h]=B[Yh]=B[Uh]=B[Xh]=B[Kh]=B[Gh]=B[qh]=B[Zh]=!0;B[Oh]=B[Ah]=B[Nh]=B[Dh]=B[Hh]=B[Th]=B[Lh]=B[Eh]=B[Rh]=B[Ih]=B[Fh]=B[zh]=B[Bh]=B[jh]=B[Vh]=!1;function Jh(e){return ct(e)&&ai(e.length)&&!!B[At(e)]}var Ho=Jh;function Qh(e){return function(i){return e(i)}}var Wo=Qh;var $o=typeof exports=="object"&&exports&&!exports.nodeType&&exports,De=$o&&typeof module=="object"&&module&&!module.nodeType&&module,td=De&&De.exports===$o,is=td&&ii.process,ed=function(){try{var e=De&&De.require&&De.require("util").types;return e||is&&is.binding&&is.binding("util")}catch{}}(),ss=ed;var Yo=ss&&ss.isTypedArray,id=Yo?Wo(Yo):Ho,ci=id;function sd(e,i){if(!(i==="constructor"&&typeof e[i]=="function")&&i!="__proto__")return e[i]}var Te=sd;var nd=Object.prototype,od=nd.hasOwnProperty;function rd(e,i,t){var s=e[i];(!(od.call(e,i)&&Ct(s,t))||t===void 0&&!(i in e))&&ae(e,i,t)}var Uo=rd;function ad(e,i,t,s){var n=!t;t||(t={});for(var o=-1,r=i.length;++o-1&&e%1==0&&e0){if(++i>=Pd)return arguments[0]}else i=0;return e.apply(void 0,arguments)}}var ar=Dd;var Td=ar(rr),lr=Td;function Ld(e,i){return lr(nr(e,i,fi),e+"")}var cr=Ld;function Ed(e,i,t){if(!Z(t))return!1;var s=typeof i;return(s=="number"?le(t)&&hi(i,t.length):s=="string"&&i in t)?Ct(t[i],e):!1}var hr=Ed;function Rd(e){return cr(function(i,t){var s=-1,n=t.length,o=n>1?t[n-1]:void 0,r=n>2?t[2]:void 0;for(o=e.length>3&&typeof o=="function"?(n--,o):void 0,r&&hr(t[0],t[1],r)&&(o=n<3?void 0:o,n=1),i=Object(i);++sMath.max(Math.min(e,t),i);function Le(e){return Tt(Re(e*2.55),0,255)}function Lt(e){return Tt(Re(e*255),0,255)}function xt(e){return Tt(Re(e/2.55)/100,0,1)}function ur(e){return Tt(Re(e*100),0,100)}var nt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},os=[..."0123456789ABCDEF"],Fd=e=>os[e&15],zd=e=>os[(e&240)>>4]+os[e&15],ui=e=>(e&240)>>4===(e&15),Bd=e=>ui(e.r)&&ui(e.g)&&ui(e.b)&&ui(e.a);function jd(e){var i=e.length,t;return e[0]==="#"&&(i===4||i===5?t={r:255&nt[e[1]]*17,g:255&nt[e[2]]*17,b:255&nt[e[3]]*17,a:i===5?nt[e[4]]*17:255}:(i===7||i===9)&&(t={r:nt[e[1]]<<4|nt[e[2]],g:nt[e[3]]<<4|nt[e[4]],b:nt[e[5]]<<4|nt[e[6]],a:i===9?nt[e[7]]<<4|nt[e[8]]:255})),t}var Vd=(e,i)=>e<255?i(e):"";function Nd(e){var i=Bd(e)?Fd:zd;return e?"#"+i(e.r)+i(e.g)+i(e.b)+Vd(e.a,i):void 0}var Hd=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function br(e,i,t){let s=i*Math.min(t,1-t),n=(o,r=(o+e/30)%12)=>t-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function Wd(e,i,t){let s=(n,o=(n+e/60)%6)=>t-t*i*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function $d(e,i,t){let s=br(e,1,.5),n;for(i+t>1&&(n=1/(i+t),i*=n,t*=n),n=0;n<3;n++)s[n]*=1-i-t,s[n]+=i;return s}function Yd(e,i,t,s,n){return e===n?(i-t)/s+(i.5?h/(2-o-r):h/(o+r),l=Yd(t,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function as(e,i,t,s){return(Array.isArray(i)?e(i[0],i[1],i[2]):e(i,t,s)).map(Lt)}function ls(e,i,t){return as(br,e,i,t)}function Ud(e,i,t){return as($d,e,i,t)}function Xd(e,i,t){return as(Wd,e,i,t)}function xr(e){return(e%360+360)%360}function Kd(e){let i=Hd.exec(e),t=255,s;if(!i)return;i[5]!==s&&(t=i[6]?Le(+i[5]):Lt(+i[5]));let n=xr(+i[2]),o=+i[3]/100,r=+i[4]/100;return i[1]==="hwb"?s=Ud(n,o,r):i[1]==="hsv"?s=Xd(n,o,r):s=ls(n,o,r),{r:s[0],g:s[1],b:s[2],a:t}}function Gd(e,i){var t=rs(e);t[0]=xr(t[0]+i),t=ls(t),e.r=t[0],e.g=t[1],e.b=t[2]}function qd(e){if(!e)return;let i=rs(e),t=i[0],s=ur(i[1]),n=ur(i[2]);return e.a<255?`hsla(${t}, ${s}%, ${n}%, ${xt(e.a)})`:`hsl(${t}, ${s}%, ${n}%)`}var pr={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},gr={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Zd(){let e={},i=Object.keys(gr),t=Object.keys(pr),s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return e}var pi;function Jd(e){pi||(pi=Zd(),pi.transparent=[0,0,0,0]);let i=pi[e.toLowerCase()];return i&&{r:i[0],g:i[1],b:i[2],a:i.length===4?i[3]:255}}var Qd=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function tf(e){let i=Qd.exec(e),t=255,s,n,o;if(i){if(i[7]!==s){let r=+i[7];t=i[8]?Le(r):Tt(r*255,0,255)}return s=+i[1],n=+i[3],o=+i[5],s=255&(i[2]?Le(s):Tt(s,0,255)),n=255&(i[4]?Le(n):Tt(n,0,255)),o=255&(i[6]?Le(o):Tt(o,0,255)),{r:s,g:n,b:o,a:t}}}function ef(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${xt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var ns=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,ce=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function sf(e,i,t){let s=ce(xt(e.r)),n=ce(xt(e.g)),o=ce(xt(e.b));return{r:Lt(ns(s+t*(ce(xt(i.r))-s))),g:Lt(ns(n+t*(ce(xt(i.g))-n))),b:Lt(ns(o+t*(ce(xt(i.b))-o))),a:e.a+t*(i.a-e.a)}}function gi(e,i,t){if(e){let s=rs(e);s[i]=Math.max(0,Math.min(s[i]+s[i]*t,i===0?360:1)),s=ls(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function _r(e,i){return e&&Object.assign(i||{},e)}function mr(e){var i={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(i={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(i.a=Lt(e[3]))):(i=_r(e,{r:0,g:0,b:0,a:1}),i.a=Lt(i.a)),i}function nf(e){return e.charAt(0)==="r"?tf(e):Kd(e)}var Ee=class e{constructor(i){if(i instanceof e)return i;let t=typeof i,s;t==="object"?s=mr(i):t==="string"&&(s=jd(i)||Jd(i)||nf(i)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var i=_r(this._rgb);return i&&(i.a=xt(i.a)),i}set rgb(i){this._rgb=mr(i)}rgbString(){return this._valid?ef(this._rgb):void 0}hexString(){return this._valid?Nd(this._rgb):void 0}hslString(){return this._valid?qd(this._rgb):void 0}mix(i,t){if(i){let s=this.rgb,n=i.rgb,o,r=t===o?.5:t,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(i,t){return i&&(this._rgb=sf(this._rgb,i._rgb,t)),this}clone(){return new e(this.rgb)}alpha(i){return this._rgb.a=Lt(i),this}clearer(i){let t=this._rgb;return t.a*=1-i,this}greyscale(){let i=this._rgb,t=Re(i.r*.3+i.g*.59+i.b*.11);return i.r=i.g=i.b=t,this}opaquer(i){let t=this._rgb;return t.a*=1+i,this}negate(){let i=this._rgb;return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,this}lighten(i){return gi(this._rgb,2,i),this}darken(i){return gi(this._rgb,2,-i),this}saturate(i){return gi(this._rgb,1,i),this}desaturate(i){return gi(this._rgb,1,-i),this}rotate(i){return Gd(this._rgb,i),this}};function ft(){}var Dr=(()=>{let e=0;return()=>e++})();function T(e){return e===null||typeof e>"u"}function I(e){if(Array.isArray&&Array.isArray(e))return!0;let i=Object.prototype.toString.call(e);return i.slice(0,7)==="[object"&&i.slice(-6)==="Array]"}function A(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function V(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Q(e,i){return V(e)?e:i}function C(e,i){return typeof e>"u"?i:e}var Tr=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/i,fs=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*i:+e;function R(e,i,t){if(e&&typeof e.call=="function")return e.apply(t,i)}function L(e,i,t,s){let n,o,r;if(I(e))if(o=e.length,s)for(n=o-1;n>=0;n--)i.call(t,e[n],n);else for(n=0;ne,x:e=>e.x,y:e=>e.y};function af(e){let i=e.split("."),t=[],s="";for(let n of i)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(t.push(s),s="");return t}function lf(e){let i=af(e);return t=>{for(let s of i){if(s==="")break;t=t&&t[s]}return t}}function vt(e,i){return(yr[i]||(yr[i]=lf(i)))(e)}function wi(e){return e.charAt(0).toUpperCase()+e.slice(1)}var pe=e=>typeof e<"u",_t=e=>typeof e=="function",us=(e,i)=>{if(e.size!==i.size)return!1;for(let t of e)if(!i.has(t))return!1;return!0};function Er(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}var F=Math.PI,z=2*F,cf=z+F,yi=Number.POSITIVE_INFINITY,hf=F/180,H=F/2,Wt=F/4,vr=F*2/3,yt=Math.log10,at=Math.sign;function ge(e,i,t){return Math.abs(e-i)n-o).pop(),i}function Ut(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Ir(e,i){let t=Math.round(e);return t-i<=e&&t+i>=e}function gs(e,i,t){let s,n,o;for(s=0,n=e.length;sl&&c=Math.min(i,t)-s&&e<=Math.max(i,t)+s}function ki(e,i,t){t=t||(r=>e[r]1;)o=n+s>>1,t(o)?n=o:s=o;return{lo:n,hi:s}}var ht=(e,i,t,s)=>ki(e,t,s?n=>{let o=e[n][i];return oe[n][i]ki(e,t,s=>e[s][i]>=t);function Br(e,i,t){let s=0,n=e.length;for(;ss&&e[n-1]>t;)n--;return s>0||n{let s="_onData"+wi(t),n=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...o){let r=n.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function xs(e,i){let t=e._chartjs;if(!t)return;let s=t.listeners,n=s.indexOf(i);n!==-1&&s.splice(n,1),!(s.length>0)&&(jr.forEach(o=>{delete e[o]}),delete e._chartjs)}function _s(e){let i=new Set(e);return i.size===e.length?e:Array.from(i)}var ys=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function vs(e,i){let t=[],s=!1;return function(...n){t=n,s||(s=!0,ys.call(window,()=>{s=!1,e.apply(i,t)}))}}function Nr(e,i){let t;return function(...s){return i?(clearTimeout(t),t=setTimeout(e,i,s)):e.apply(this,s),i}}var Ci=e=>e==="start"?"left":e==="end"?"right":"center",X=(e,i,t)=>e==="start"?i:e==="end"?t:(i+t)/2,Hr=(e,i,t,s)=>e===(s?"left":"right")?t:e==="center"?(i+t)/2:i;function Ms(e,i,t){let s=i.length,n=0,o=s;if(e._sorted){let{iScale:r,_parsed:a}=e,l=r.axis,{min:c,max:h,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(n=Y(Math.min(ht(a,l,c).lo,t?s:ht(i,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=Y(Math.max(ht(a,r.axis,h,!0).hi+1,t?0:ht(i,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function ws(e){let{xScale:i,yScale:t,_scaleRanges:s}=e,n={xmin:i.min,xmax:i.max,ymin:t.min,ymax:t.max};if(!s)return e._scaleRanges=n,!0;let o=s.xmin!==i.min||s.xmax!==i.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,n),o}var mi=e=>e===0||e===1,Mr=(e,i,t)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-i)*z/t)),wr=(e,i,t)=>Math.pow(2,-10*e)*Math.sin((e-i)*z/t)+1,he={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*H)+1,easeOutSine:e=>Math.sin(e*H),easeInOutSine:e=>-.5*(Math.cos(F*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>mi(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>mi(e)?e:Mr(e,.075,.3),easeOutElastic:e=>mi(e)?e:wr(e,.075,.3),easeInOutElastic(e){return mi(e)?e:e<.5?.5*Mr(e*2,.1125,.45):.5+.5*wr(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let i=1.70158;return(e/=.5)<1?.5*(e*e*(((i*=1.525)+1)*e-i)):.5*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)},easeInBounce:e=>1-he.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?he.easeInBounce(e*2)*.5:he.easeOutBounce(e*2-1)*.5+.5};function Ss(e){if(e&&typeof e=="object"){let i=e.toString();return i==="[object CanvasPattern]"||i==="[object CanvasGradient]"}return!1}function ks(e){return Ss(e)?e:new Ee(e)}function cs(e){return Ss(e)?e:new Ee(e).saturate(.5).darken(.1).hexString()}var ff=["x","y","borderWidth","radius","tension"],uf=["color","borderColor","backgroundColor"];function pf(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:i=>i!=="onProgress"&&i!=="onComplete"&&i!=="fn"}),e.set("animations",{colors:{type:"color",properties:uf},numbers:{type:"number",properties:ff}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:i=>i|0}}}})}function gf(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Sr=new Map;function mf(e,i){i=i||{};let t=e+JSON.stringify(i),s=Sr.get(t);return s||(s=new Intl.NumberFormat(e,i),Sr.set(t,s)),s}function be(e,i,t){return mf(i,t).format(e)}var Wr={values(e){return I(e)?e:""+e},numeric(e,i,t){if(e===0)return"0";let s=this.chart.options.locale,n,o=e;if(t.length>1){let c=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=bf(e,t)}let r=yt(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),be(e,s,l)},logarithmic(e,i,t){if(e===0)return"0";let s=t[i].significand||e/Math.pow(10,Math.floor(yt(e)));return[1,2,3,5,10,15].includes(s)||i>.8*t.length?Wr.numeric.call(this,e,i,t):""}};function bf(e,i){let t=i.length>3?i[2].value-i[1].value:i[1].value-i[0].value;return Math.abs(t)>=1&&e!==Math.floor(e)&&(t=e-Math.floor(e)),t}var Be={formatters:Wr};function xf(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(i,t)=>t.lineWidth,tickColor:(i,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Be.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:i=>!i.startsWith("before")&&!i.startsWith("after")&&i!=="callback"&&i!=="parser",_indexable:i=>i!=="borderDash"&&i!=="tickBorderDash"&&i!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:i=>i!=="backdropPadding"&&i!=="callback",_indexable:i=>i!=="backdropPadding"})}var Rt=Object.create(null),Pi=Object.create(null);function Ie(e,i){if(!i)return e;let t=i.split(".");for(let s=0,n=t.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>cs(n.backgroundColor),this.hoverBorderColor=(s,n)=>cs(n.borderColor),this.hoverColor=(s,n)=>cs(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(i),this.apply(t)}set(i,t){return hs(this,i,t)}get(i){return Ie(this,i)}describe(i,t){return hs(Pi,i,t)}override(i,t){return hs(Rt,i,t)}route(i,t,s,n){let o=Ie(this,i),r=Ie(this,s),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){let l=this[a],c=r[n];return A(l)?Object.assign({},c,l):C(l,c)},set(l){this[a]=l}}})}apply(i){i.forEach(t=>t(this))}},N=new ds({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[pf,gf,xf]);function _f(e){return!e||T(e.size)||T(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Fe(e,i,t,s,n){let o=i[n];return o||(o=i[n]=e.measureText(n).width,t.push(n)),o>s&&(s=o),s}function $r(e,i,t,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==i&&(n=s.data={},o=s.garbageCollect=[],s.font=i),e.save(),e.font=i;let r=0,a=t.length,l,c,h,d,f;for(l=0;lt.length){for(l=0;l0&&e.stroke()}}function dt(e,i,t){return t=t||.5,!i||e&&e.x>i.left-t&&e.xi.top-t&&e.y0&&o.strokeColor!=="",l,c;for(e.save(),e.font=n.string,yf(e,o),l=0;l+e||0;function Ai(e,i){let t={},s=A(i),n=s?Object.keys(i):i,o=A(e)?s?r=>C(e[r],e[i[r]]):r=>e[r]:()=>e;for(let r of n)t[r]=Cf(o(r));return t}function Os(e){return Ai(e,{top:"y",right:"x",bottom:"y",left:"x"})}function zt(e){return Ai(e,["topLeft","topRight","bottomLeft","bottomRight"])}function K(e){let i=Os(e);return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function $(e,i){e=e||{},i=i||N.font;let t=C(e.size,i.size);typeof t=="string"&&(t=parseInt(t,10));let s=C(e.style,i.style);s&&!(""+s).match(Sf)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);let n={family:C(e.family,i.family),lineHeight:kf(C(e.lineHeight,i.lineHeight),t),size:t,style:s,weight:C(e.weight,i.weight),string:""};return n.string=_f(n),n}function _e(e,i,t,s){let n=!0,o,r,a;for(o=0,r=e.length;ot&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function Mt(e,i){return Object.assign(Object.create(e),i)}function Di(e,i=[""],t,s,n=()=>e[0]){let o=t||e;typeof s>"u"&&(s=qr("_fallback",e));let r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Di([a,...e],i,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return Kr(a,l,()=>Rf(l,i,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return Cr(a).includes(l)},ownKeys(a){return Cr(a)},set(a,l,c){let h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function Yt(e,i,t,s){let n={_cacheable:!1,_proxy:e,_context:i,_subProxy:t,_stack:new Set,_descriptors:As(e,s),setContext:o=>Yt(e,o,t,s),override:o=>Yt(e.override(o),i,t,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete e[r],!0},get(o,r,a){return Kr(o,r,()=>Of(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(e,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,r)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,r){return Reflect.has(e,r)},ownKeys(){return Reflect.ownKeys(e)},set(o,r,a){return e[r]=a,delete o[r],!0}})}function As(e,i={scriptable:!0,indexable:!0}){let{_scriptable:t=i.scriptable,_indexable:s=i.indexable,_allKeys:n=i.allKeys}=e;return{allKeys:n,scriptable:t,indexable:s,isScriptable:_t(t)?t:()=>t,isIndexable:_t(s)?s:()=>s}}var Pf=(e,i)=>e?e+wi(i):i,Ds=(e,i)=>A(i)&&e!=="adapters"&&(Object.getPrototypeOf(i)===null||i.constructor===Object);function Kr(e,i,t){if(Object.prototype.hasOwnProperty.call(e,i)||i==="constructor")return e[i];let s=t();return e[i]=s,s}function Of(e,i,t){let{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=e,a=s[i];return _t(a)&&r.isScriptable(i)&&(a=Af(i,a,e,t)),I(a)&&a.length&&(a=Df(i,a,e,r.isIndexable)),Ds(i,a)&&(a=Yt(a,n,o&&o[i],r)),a}function Af(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_stack:a}=t;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=i(o,r||s);return a.delete(e),Ds(e,l)&&(l=Ts(n._scopes,n,e,l)),l}function Df(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=t;if(typeof o.index<"u"&&s(e))return i[o.index%i.length];if(A(i[0])){let l=i,c=n._scopes.filter(h=>h!==l);i=[];for(let h of l){let d=Ts(c,n,e,h);i.push(Yt(d,o,r&&r[e],a))}}return i}function Gr(e,i,t){return _t(e)?e(i,t):e}var Tf=(e,i)=>e===!0?i:typeof e=="string"?vt(i,e):void 0;function Lf(e,i,t,s,n){for(let o of i){let r=Tf(t,o);if(r){e.add(r);let a=Gr(r._fallback,t,n);if(typeof a<"u"&&a!==t&&a!==s)return a}else if(r===!1&&typeof s<"u"&&t!==s)return null}return!1}function Ts(e,i,t,s){let n=i._rootScopes,o=Gr(i._fallback,t,s),r=[...e,...n],a=new Set;a.add(s);let l=kr(a,r,t,o||t,s);return l===null||typeof o<"u"&&o!==t&&(l=kr(a,r,o,l,s),l===null)?!1:Di(Array.from(a),[""],n,o,()=>Ef(i,t,s))}function kr(e,i,t,s,n){for(;t;)t=Lf(e,i,t,s,n);return t}function Ef(e,i,t){let s=e._getTarget();i in s||(s[i]={});let n=s[i];return I(n)&&A(t)?t:n||{}}function Rf(e,i,t,s){let n;for(let o of i)if(n=qr(Pf(o,e),t),typeof n<"u")return Ds(e,n)?Ts(t,s,e,n):n}function qr(e,i){for(let t of i){if(!t)continue;let s=t[e];if(typeof s<"u")return s}}function Cr(e){let i=e._keys;return i||(i=e._keys=If(e._scopes)),i}function If(e){let i=new Set;for(let t of e)for(let s of Object.keys(t).filter(n=>!n.startsWith("_")))i.add(s);return Array.from(i)}function Ls(e,i,t,s){let{iScale:n}=e,{key:o="r"}=this._parsing,r=new Array(s),a,l,c,h;for(a=0,l=s;aie==="x"?"y":"x";function zf(e,i,t,s){let n=e.skip?i:e,o=i,r=t.skip?i:t,a=vi(o,n),l=vi(r,o),c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;let d=s*c,f=s*h;return{previous:{x:o.x-d*(r.x-n.x),y:o.y-d*(r.y-n.y)},next:{x:o.x+f*(r.x-n.x),y:o.y+f*(r.y-n.y)}}}function Bf(e,i,t){let s=e.length,n,o,r,a,l,c=fe(e,0);for(let h=0;h!c.skip)),i.cubicInterpolationMode==="monotone")Vf(e,n);else{let c=s?e[e.length-1]:e[0];for(o=0,r=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function Hf(e,i){return Ei(e).getPropertyValue(i)}var Wf=["top","right","bottom","left"];function $t(e,i,t){let s={};t=t?"-"+t:"";for(let n=0;n<4;n++){let o=Wf[n];s[o]=parseFloat(e[i+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}var $f=(e,i,t)=>(e>0||i>0)&&(!t||!t.shadowRoot);function Yf(e,i){let t=e.touches,s=t&&t.length?t[0]:e,{offsetX:n,offsetY:o}=s,r=!1,a,l;if($f(n,o,e.target))a=n,l=o;else{let c=i.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Bt(e,i){if("native"in e)return e;let{canvas:t,currentDevicePixelRatio:s}=i,n=Ei(t),o=n.boxSizing==="border-box",r=$t(n,"padding"),a=$t(n,"border","width"),{x:l,y:c,box:h}=Yf(e,t),d=r.left+(h&&a.left),f=r.top+(h&&a.top),{width:u,height:p}=i;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-d)/u*t.width/s),y:Math.round((c-f)/p*t.height/s)}}function Uf(e,i,t){let s,n;if(i===void 0||t===void 0){let o=e&&Li(e);if(!o)i=e.clientWidth,t=e.clientHeight;else{let r=o.getBoundingClientRect(),a=Ei(o),l=$t(a,"border","width"),c=$t(a,"padding");i=r.width-c.width-l.width,t=r.height-c.height-l.height,s=Mi(a.maxWidth,o,"clientWidth"),n=Mi(a.maxHeight,o,"clientHeight")}}return{width:i,height:t,maxWidth:s||yi,maxHeight:n||yi}}var xi=e=>Math.round(e*10)/10;function Qr(e,i,t,s){let n=Ei(e),o=$t(n,"margin"),r=Mi(n.maxWidth,e,"clientWidth")||yi,a=Mi(n.maxHeight,e,"clientHeight")||yi,l=Uf(e,i,t),{width:c,height:h}=l;if(n.boxSizing==="content-box"){let f=$t(n,"border","width"),u=$t(n,"padding");c-=u.width+f.width,h-=u.height+f.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=xi(Math.min(c,r,l.maxWidth)),h=xi(Math.min(h,a,l.maxHeight)),c&&!h&&(h=xi(c/2)),(i!==void 0||t!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=xi(Math.floor(h*s))),{width:c,height:h}}function Es(e,i,t){let s=i||1,n=Math.floor(e.height*s),o=Math.floor(e.width*s);e.height=Math.floor(e.height),e.width=Math.floor(e.width);let r=e.canvas;return r.style&&(t||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(e.currentDevicePixelRatio=s,r.height=n,r.width=o,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}var ta=function(){let e=!1;try{let i={get passive(){return e=!0,!1}};Ti()&&(window.addEventListener("test",null,i),window.removeEventListener("test",null,i))}catch{}return e}();function Rs(e,i){let t=Hf(e,i),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Et(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:e.y+t*(i.y-e.y)}}function ea(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:s==="middle"?t<.5?e.y:i.y:s==="after"?t<1?e.y:i.y:t>0?i.y:e.y}}function ia(e,i,t,s){let n={x:e.cp2x,y:e.cp2y},o={x:i.cp1x,y:i.cp1y},r=Et(e,n,t),a=Et(n,o,t),l=Et(o,i,t),c=Et(r,a,t),h=Et(a,l,t);return Et(c,h,t)}var Xf=function(e,i){return{x(t){return e+e+i-t},setWidth(t){i=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,s){return t-s},leftForLtr(t,s){return t-s}}},Kf=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,i){return e+i},leftForLtr(e,i){return e}}};function Xt(e,i,t){return e?Xf(i,t):Kf()}function Is(e,i){let t,s;(i==="ltr"||i==="rtl")&&(t=e.canvas.style,s=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",i,"important"),e.prevTextDirection=s)}function Fs(e,i){i!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",i[0],i[1]))}function sa(e){return e==="angle"?{between:me,compare:df,normalize:J}:{between:ut,compare:(i,t)=>i-t,normalize:i=>i}}function Pr({start:e,end:i,count:t,loop:s,style:n}){return{start:e%t,end:i%t,loop:s&&(i-e+1)%t===0,style:n}}function Gf(e,i,t){let{property:s,start:n,end:o}=t,{between:r,normalize:a}=sa(s),l=i.length,{start:c,end:h,loop:d}=e,f,u;if(d){for(c+=l,h+=l,f=0,u=l;fl(n,y,x)&&a(n,y)!==0,_=()=>a(o,x)===0||l(o,y,x),v=()=>g||M(),S=()=>!g||_();for(let w=h,k=h;w<=d;++w)b=i[w%r],!b.skip&&(x=c(b[s]),x!==y&&(g=l(x,n,o),m===null&&v()&&(m=a(x,n)===0?w:k),m!==null&&S()&&(p.push(Pr({start:m,end:w,loop:f,count:r,style:u})),m=null),k=w,y=x));return m!==null&&p.push(Pr({start:m,end:d,loop:f,count:r,style:u})),p}function Bs(e,i){let t=[],s=e.segments;for(let n=0;nn&&e[o%i].skip;)o--;return o%=i,{start:n,end:o}}function Zf(e,i,t,s){let n=e.length,o=[],r=i,a=e[i],l;for(l=i+1;l<=t;++l){let c=e[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:i%n,end:(l-1)%n,loop:s}),i=r=c.stop?l:null):(r=l,a.skip&&(i=l)),a=c}return r!==null&&o.push({start:i%n,end:r%n,loop:s}),o}function na(e,i){let t=e.points,s=e.options.spanGaps,n=t.length;if(!n)return[];let o=!!e._loop,{start:r,end:a}=qf(t,n,o,s);if(s===!0)return Or(e,[{start:r,end:a,loop:o}],t,i);let l=aa({chart:i,initial:t.initial,numSteps:r,currentStep:Math.min(s-t.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=ys.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(i=Date.now()){let t=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;let o=s.items,r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(i),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,i,"progress")),o.length||(s.running=!1,this._notify(n,s,i,"complete"),s.initial=!1),t+=o.length}),this._lastDate=i,t===0&&(this._running=!1)}_getAnims(i){let t=this._charts,s=t.get(i);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(i,s)),s}listen(i,t,s){this._getAnims(i).listeners[t].push(s)}add(i,t){!t||!t.length||this._getAnims(i).items.push(...t)}has(i){return this._getAnims(i).items.length>0}start(i){let t=this._charts.get(i);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(i){if(!this._running)return!1;let t=this._charts.get(i);return!(!t||!t.running||!t.items.length)}stop(i){let t=this._charts.get(i);if(!t||!t.items.length)return;let s=t.items,n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(i,t,Date.now(),"complete")}remove(i){return this._charts.delete(i)}},wt=new Ks,oa="transparent",tu={boolean(e,i,t){return t>.5?i:e},color(e,i,t){let s=ks(e||oa),n=s.valid&&ks(i||oa);return n&&n.valid?n.mix(s,t).hexString():i},number(e,i,t){return e+(i-e)*t}},Gs=class{constructor(i,t,s,n){let o=t[s];n=_e([i.to,n,o,i.from]);let r=_e([i.from,o,n]);this._active=!0,this._fn=i.fn||tu[i.type||typeof r],this._easing=he[i.easing]||he.linear,this._start=Math.floor(Date.now()+(i.delay||0)),this._duration=this._total=Math.floor(i.duration),this._loop=!!i.loop,this._target=t,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(i,t,s){if(this._active){this._notify(!1);let n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,i.duration)),this._total+=o,this._loop=!!i.loop,this._to=_e([i.to,t,n,i.from]),this._from=_e([i.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(i){let t=i-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to,l;if(this._active=o!==a&&(r||t1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){let i=this._promises||(this._promises=[]);return new Promise((t,s)=>{i.push({res:t,rej:s})})}_notify(i){let t=i?"res":"rej",s=this._promises||[];for(let n=0;n{let o=i[n];if(!A(o))return;let r={};for(let a of t)r[a]=o[a];(I(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(i,t){let s=t.options,n=iu(i,s);if(!n)return[];let o=this._createAnimations(n,s);return s.$shared&&eu(i.options.$animations,s).then(()=>{i.options=s},()=>{}),o}_createAnimations(i,t){let s=this._properties,n=[],o=i.$animations||(i.$animations={}),r=Object.keys(t),a=Date.now(),l;for(l=r.length-1;l>=0;--l){let c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(i,t));continue}let h=t[c],d=o[c],f=s.get(c);if(d)if(f&&d.active()){d.update(f,h,a);continue}else d.cancel();if(!f||!f.duration){i[c]=h;continue}o[c]=d=new Gs(f,i,c,h),n.push(d)}return n}update(i,t){if(this._properties.size===0){Object.assign(i,t);return}let s=this._createAnimations(i,t);if(s.length)return wt.add(this._chart,s),!0}};function eu(e,i){let t=[],s=Object.keys(i);for(let n=0;n0||!t&&o<0)return n.index}return null}function ha(e,i){let{chart:t,_cachedMeta:s}=e,n=t._stacks||(t._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=ru(o,r,s),d=i.length,f;for(let u=0;ut[s].axis===i).shift()}function cu(e,i){return Mt(e,{active:!1,dataset:void 0,datasetIndex:i,index:i,mode:"default",type:"dataset"})}function hu(e,i,t){return Mt(e,{active:!1,dataIndex:i,parsed:void 0,raw:void 0,element:t,index:i,mode:"default",type:"data"})}function Ne(e,i){let t=e.controller.index,s=e.vScale&&e.vScale.axis;if(s){i=i||e._parsed;for(let n of i){let o=n._stacks;if(!o||o[s]===void 0||o[s][t]===void 0)return;delete o[s][t],o[s]._visualValues!==void 0&&o[s]._visualValues[t]!==void 0&&delete o[s]._visualValues[t]}}}var Vs=e=>e==="reset"||e==="none",da=(e,i)=>i?e:Object.assign({},e),du=(e,i,t)=>e&&!i.hidden&&i._stacked&&{keys:rl(t,!0),values:null},Vt=(()=>{class e{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,s){this.chart=t,this._ctx=t.ctx,this.index=s,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=la(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Ne(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,s=this._cachedMeta,n=this.getDataset(),o=(f,u,p,g)=>f==="x"?u:f==="r"?g:p,r=s.xAxisID=C(n.xAxisID,js(t,"x")),a=s.yAxisID=C(n.yAxisID,js(t,"y")),l=s.rAxisID=C(n.rAxisID,js(t,"r")),c=s.indexAxis,h=s.iAxisID=o(c,r,a,l),d=s.vAxisID=o(c,a,r,l);s.xScale=this.getScaleForId(r),s.yScale=this.getScaleForId(a),s.rScale=this.getScaleForId(l),s.iScale=this.getScaleForId(h),s.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let s=this._cachedMeta;return t===s.iScale?s.vScale:s.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&xs(this._data,this),t._stacked&&Ne(t)}_dataCheck(){let t=this.getDataset(),s=t.data||(t.data=[]),n=this._data;if(A(s)){let o=this._cachedMeta;this._data=ou(s,o)}else if(n!==s){if(n){xs(n,this);let o=this._cachedMeta;Ne(o),o._parsed=[]}s&&Object.isExtensible(s)&&Vr(s,this),this._syncList=[],this._data=s}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let s=this._cachedMeta,n=this.getDataset(),o=!1;this._dataCheck();let r=s._stacked;s._stacked=la(s.vScale,s),s.stack!==n.stack&&(o=!0,Ne(s),s.stack=n.stack),this._resyncElements(t),(o||r!==s._stacked)&&ha(this,s._parsed)}configure(){let t=this.chart.config,s=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),s,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,s){let{_cachedMeta:n,_data:o}=this,{iScale:r,_stacked:a}=n,l=r.axis,c=t===0&&s===o.length?!0:n._sorted,h=t>0&&n._parsed[t-1],d,f,u;if(this._parsing===!1)n._parsed=o,n._sorted=!0,u=o;else{I(o[t])?u=this.parseArrayData(n,o,t,s):A(o[t])?u=this.parseObjectData(n,o,t,s):u=this.parsePrimitiveData(n,o,t,s);let p=()=>f[l]===null||h&&f[l]m||f=0;--u)if(!g()){this.updateRangeFromParsed(h,t,p,c);break}}return h}getAllParsedValues(t){let s=this._cachedMeta._parsed,n=[],o,r,a;for(o=0,r=s.length;o=0&&tthis.getContext(n,o,s),m=h.resolveNamedOptions(u,p,g,f);return m.$shared&&(m.$shared=c,r[a]=Object.freeze(da(m,c))),m}_resolveAnimations(t,s,n){let o=this.chart,r=this._cachedDataOpts,a=`animation-${s}`,l=r[a];if(l)return l;let c;if(o.options.animation!==!1){let d=this.chart.config,f=d.datasetAnimationScopeKeys(this._type,s),u=d.getOptionScopes(this.getDataset(),f);c=d.createResolver(u,this.getContext(t,n,s))}let h=new Wi(o,c&&c.animations);return c&&c._cacheable&&(r[a]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,s){return!s||Vs(t)||this.chart._animationsDisabled}_getSharedOptions(t,s){let n=this.resolveDataElementOptions(t,s),o=this._sharedOptions,r=this.getSharedOptions(n),a=this.includeOptions(s,r)||r!==o;return this.updateSharedOptions(r,s,n),{sharedOptions:r,includeOptions:a}}updateElement(t,s,n,o){Vs(o)?Object.assign(t,n):this._resolveAnimations(s,o).update(t,n)}updateSharedOptions(t,s,n){t&&!Vs(s)&&this._resolveAnimations(void 0,s).update(t,n)}_setStyle(t,s,n,o){t.active=o;let r=this.getStyle(s,o);this._resolveAnimations(s,n,o).update(t,{options:!o&&this.getSharedOptions(r)||r})}removeHoverStyle(t,s,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,s,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let s=this._data,n=this._cachedMeta.data;for(let[l,c,h]of this._syncList)this[l](c,h);this._syncList=[];let o=n.length,r=s.length,a=Math.min(r,o);a&&this.parse(0,a),r>o?this._insertElements(o,r-o,t):r{for(h.length+=s,l=h.length-1;l>=a;l--)h[l]=h[l-s]};for(c(r),l=t;ln-o))}return e._cache.$bar}function uu(e){let i=e.iScale,t=fu(i,e.type),s=i._length,n,o,r,a,l=()=>{r===32767||r===-32768||(pe(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=t.length;n0?n[e-1]:null,a=eMath.abs(a)&&(l=a,c=r),i[t.axis]=c,i._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function al(e,i,t,s){return I(e)?mu(e,i,t,s):i[t.axis]=t.parse(e,s),i}function fa(e,i,t,s){let n=e.iScale,o=e.vScale,r=n.getLabels(),a=n===o,l=[],c,h,d,f;for(c=t,h=t+s;c=t?1:-1)}function xu(e){let i,t,s,n,o;return e.horizontal?(i=e.base>e.x,t="left",s="right"):(i=e.base{class e extends Vt{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,s,n,o){return fa(t,s,n,o)}parseArrayData(t,s,n,o){return fa(t,s,n,o)}parseObjectData(t,s,n,o){let{iScale:r,vScale:a}=t,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,h=r.axis==="x"?l:c,d=a.axis==="x"?l:c,f=[],u,p,g,m;for(u=n,p=n+o;uc.controller.options.grouped),r=n.options.stacked,a=[],l=c=>{let h=c.controller.getParsed(s),d=h&&h[c.vScale.axis];if(T(d)||isNaN(d))return!0};for(let c of o)if(!(s!==void 0&&l(c))&&((r===!1||a.indexOf(c.stack)===-1||r===void 0&&c.stack===void 0)&&a.push(c.stack),c.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,s,n){let o=this._getStacks(t,n),r=s!==void 0?o.indexOf(s):-1;return r===-1?o.length-1:r}_getRuler(){let t=this.options,s=this._cachedMeta,n=s.iScale,o=[],r,a;for(r=0,a=s.data.length;r{class e extends Vt{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,s,n,o){let r=super.parsePrimitiveData(t,s,n,o);for(let a=0;a=0;--n)s=Math.max(s,t[n].size(this.resolveDataElementOptions(n))/2);return s>0&&s}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y),h=a._custom;return{label:n[t]||"",value:"("+l+", "+c+(h?", "+h:"")+")"}}update(t){let s=this._cachedMeta.data;this.updateElements(s,0,s.length,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(s,o),d=a.axis,f=l.axis;for(let u=s;ume(y,a,l,!0)?1:Math.max(M,M*t,_,_*t),p=(y,M,_)=>me(y,a,l,!0)?-1:Math.min(M,M*t,_,_*t),g=u(0,c,d),m=u(H,h,f),x=p(F,c,d),b=p(F+H,h,f);s=(g-x)/2,n=(m-b)/2,o=-(g+x)/2,r=-(m+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:r}}var mn=(()=>{class e extends Vt{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}}};constructor(t,s){super(t,s),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,s){let n=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=n;else{let r=c=>+n[c];if(A(n[t])){let{key:c="value"}=this._parsing;r=h=>+vt(n[h],c)}let a,l;for(a=t,l=t+s;a0&&!isNaN(t)?z*(Math.abs(t)/s):0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=be(s._parsed[t],n.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let s=0,n=this.chart,o,r,a,l,c;if(!t){for(o=0,r=n.data.datasets.length;o{class e extends Vt{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let s=this._cachedMeta,{dataset:n,data:o=[],_dataset:r}=s,a=this.chart._animationsDisabled,{start:l,count:c}=Ms(s,o,a);this._drawStart=l,this._drawCount=c,ws(s)&&(l=0,c=o.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!r._decimated,n.points=o;let h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:h},t),this.updateElements(o,l,c,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,{sharedOptions:d,includeOptions:f}=this._getSharedOptions(s,o),u=a.axis,p=l.axis,{spanGaps:g,segment:m}=this.options,x=Ut(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||r||o==="none",y=s+n,M=t.length,_=s>0&&this.getParsed(s-1);for(let v=0;v=y){w.skip=!0;continue}let k=this.getParsed(v),O=T(k[p]),P=w[u]=a.getPixelForValue(k[u],v),D=w[p]=r||O?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,k,c):k[p],v);w.skip=isNaN(P)||isNaN(D)||O,w.stop=v>0&&Math.abs(k[u]-_[u])>x,m&&(w.parsed=k,w.raw=h.data[v]),f&&(w.options=d||this.resolveDataElementOptions(v,S.active?"active":o)),b||this.updateElement(S,v,w,o),_=k}}getMaxOverflow(){let t=this._cachedMeta,s=t.dataset,n=s.options&&s.options.borderWidth||0,o=t.data||[];if(!o.length)return n;let r=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(n,r,a)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}return e})(),ll=(()=>{class e extends Vt{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,s){super(t,s),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=be(s._parsed[t].r,n.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,s,n,o){return Ls.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta.data;this._updateRadius(),this.updateElements(s,0,s.length,t)}getMinMax(){let t=this._cachedMeta,s={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((n,o)=>{let r=this.getParsed(o).r;!isNaN(r)&&this.chart.getDataVisibility(o)&&(rs.max&&(s.max=r))}),s}_updateRadius(){let t=this.chart,s=t.chartArea,n=t.options,o=Math.min(s.right-s.left,s.bottom-s.top),r=Math.max(o/2,0),a=Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0),l=(r-a)/t.getVisibleDatasetCount();this.outerRadius=r-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(t,s,n,o){let r=o==="reset",a=this.chart,c=a.options.animation,h=this._cachedMeta.rScale,d=h.xCenter,f=h.yCenter,u=h.getIndexAngle(0)-.5*F,p=u,g,m=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(t,s,n){return this.chart.getDataVisibility(t)?ot(this.resolveDataElementOptions(t,s).angle||n):0}}return e})(),Cu=(()=>{class e extends mn{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}return e})(),Pu=(()=>{class e extends Vt{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){let s=this._cachedMeta.vScale,n=this.getParsed(t);return{label:s.getLabels()[t],value:""+s.getLabelForValue(n[s.axis])}}parseObjectData(t,s,n,o){return Ls.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta,n=s.dataset,o=s.data||[],r=s.iScale.getLabels();if(n.points=o,t!=="resize"){let a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);let l={_loop:!0,_fullLoop:r.length===o.length,options:a};this.updateElement(n,void 0,l,t)}this.updateElements(o,0,o.length,t)}updateElements(t,s,n,o){let r=this._cachedMeta.rScale,a=o==="reset";for(let l=s;l{class e extends Vt{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y);return{label:n[t]||"",value:"("+l+", "+c+")"}}update(t){let s=this._cachedMeta,{data:n=[]}=s,o=this.chart._animationsDisabled,{start:r,count:a}=Ms(s,n,o);if(this._drawStart=r,this._drawCount=a,ws(s)&&(r=0,a=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:l,_dataset:c}=s;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=n;let h=this.resolveDatasetElementOptions(t);h.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:h},t)}else this.datasetElementType&&(delete s.dataset,this.datasetElementType=!1);this.updateElements(n,r,a,t)}addElements(){let{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,d=this.resolveDataElementOptions(s,o),f=this.getSharedOptions(d),u=this.includeOptions(o,f),p=a.axis,g=l.axis,{spanGaps:m,segment:x}=this.options,b=Ut(m)?m:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||r||o==="none",M=s>0&&this.getParsed(s-1);for(let _=s;_0&&Math.abs(S[p]-M[p])>b,x&&(w.parsed=S,w.raw=h.data[_]),u&&(w.options=f||this.resolveDataElementOptions(_,v.active?"active":o)),y||this.updateElement(v,_,w,o),M=S}this.updateSharedOptions(f,o,d)}getMaxOverflow(){let t=this._cachedMeta,s=t.data||[];if(!this.options.showLine){let l=0;for(let c=s.length-1;c>=0;--c)l=Math.max(l,s[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}let n=t.dataset,o=n.options&&n.options.borderWidth||0;if(!s.length)return o;let r=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(o,r,a)/2}}return e})(),Au=Object.freeze({__proto__:null,BarController:Mu,BubbleController:wu,DoughnutController:mn,LineController:ku,PieController:Cu,PolarAreaController:ll,RadarController:Pu,ScatterController:Ou});function Kt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var qs=class e{static override(i){Object.assign(e.prototype,i)}options;constructor(i){this.options=i||{}}init(){}formats(){return Kt()}parse(){return Kt()}format(){return Kt()}add(){return Kt()}diff(){return Kt()}startOf(){return Kt()}endOf(){return Kt()}},Du={_date:qs};function Tu(e,i,t,s){let{controller:n,data:o,_sorted:r}=e,a=n._cachedMeta.iScale;if(a&&i===a.axis&&i!=="r"&&r&&o.length){let l=a._reversePixels?zr:ht;if(s){if(n._sharedOptions){let c=o[0],h=typeof c.getRange=="function"&&c.getRange(i);if(h){let d=l(o,i,t-h),f=l(o,i,t+h);return{lo:d.lo,hi:f.hi}}}}else return l(o,i,t)}return{lo:0,hi:o.length-1}}function Ze(e,i,t,s,n){let o=e.getSortedVisibleDatasetMetas(),r=t[i];for(let a=0,l=o.length;a{l[r](i[t],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(i.x,i.y,n))}),s&&!a?[]:o}var Iu={evaluateInteractionItems:Ze,modes:{index(e,i,t,s){let n=Bt(i,e),o=t.axis||"x",r=t.includeInvisible||!1,a=t.intersect?Hs(e,n,o,s,r):Ws(e,n,o,!1,s,r),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{let h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(e,i,t,s){let n=Bt(i,e),o=t.axis||"xy",r=t.includeInvisible||!1,a=t.intersect?Hs(e,n,o,s,r):Ws(e,n,o,!1,s,r);if(a.length>0){let l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let h=0;ht.pos===i)}function ma(e,i){return e.filter(t=>cl.indexOf(t.pos)===-1&&t.box.axis===i)}function We(e,i){return e.sort((t,s)=>{let n=i?s:t,o=i?t:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Fu(e){let i=[],t,s,n,o,r,a;for(t=0,s=(e||[]).length;tc.box.fullSize),!0),s=We(He(i,"left"),!0),n=We(He(i,"right")),o=We(He(i,"top"),!0),r=We(He(i,"bottom")),a=ma(i,"x"),l=ma(i,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:He(i,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function ba(e,i,t,s){return Math.max(e[t],i[t])+Math.max(e[s],i[s])}function hl(e,i){e.top=Math.max(e.top,i.top),e.left=Math.max(e.left,i.left),e.bottom=Math.max(e.bottom,i.bottom),e.right=Math.max(e.right,i.right)}function Vu(e,i,t,s){let{pos:n,box:o}=t,r=e.maxPadding;if(!A(n)){t.size&&(e[n]-=t.size);let d=s[t.stack]||{size:0,count:1};d.size=Math.max(d.size,t.horizontal?o.height:o.width),t.size=d.size/d.count,e[n]+=t.size}o.getPadding&&hl(r,o.getPadding());let a=Math.max(0,i.outerWidth-ba(r,e,"left","right")),l=Math.max(0,i.outerHeight-ba(r,e,"top","bottom")),c=a!==e.w,h=l!==e.h;return e.w=a,e.h=l,t.horizontal?{same:c,other:h}:{same:h,other:c}}function Nu(e){let i=e.maxPadding;function t(s){let n=Math.max(i[s]-e[s],0);return e[s]+=n,n}e.y+=t("top"),e.x+=t("left"),t("right"),t("bottom")}function Hu(e,i){let t=i.maxPadding;function s(n){let o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(i[r],t[r])}),o}return s(e?["left","right"]:["top","bottom"])}function Ue(e,i,t,s){let n=[],o,r,a,l,c,h;for(o=0,r=e.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});let h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:i,outerHeight:t,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),f=Object.assign({},n);hl(f,K(s));let u=Object.assign({maxPadding:f,w:o,h:r,x:n.left,y:n.top},n),p=Bu(l.concat(c),d);Ue(a.fullSize,u,d,p),Ue(l,u,d,p),Ue(c,u,d,p)&&Ue(l,u,d,p),Nu(u),xa(a.leftAndTop,u,d,p),u.x+=u.w,u.y+=u.h,xa(a.rightAndBottom,u,d,p),e.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{let m=g.box;Object.assign(m,e.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}},$i=class{acquireContext(i,t){}releaseContext(i){return!1}addEventListener(i,t,s){}removeEventListener(i,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(i,t,s,n){return t=Math.max(0,t||i.width),s=s||i.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(i){return!0}updateConfig(i){}},Zs=class extends $i{acquireContext(i){return i&&i.getContext&&i.getContext("2d")||null}updateConfig(i){i.options.animation=!1}},Ni="$chartjs",Wu={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},_a=e=>e===null||e==="";function $u(e,i){let t=e.style,s=e.getAttribute("height"),n=e.getAttribute("width");if(e[Ni]={initial:{height:s,width:n,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",_a(n)){let o=Rs(e,"width");o!==void 0&&(e.width=o)}if(_a(s))if(e.style.height==="")e.height=e.width/(i||2);else{let o=Rs(e,"height");o!==void 0&&(e.height=o)}return e}var dl=ta?{passive:!0}:!1;function Yu(e,i,t){e&&e.addEventListener(i,t,dl)}function Uu(e,i,t){e&&e.canvas&&e.canvas.removeEventListener(i,t,dl)}function Xu(e,i){let t=Wu[e.type]||e.type,{x:s,y:n}=Bt(e,i);return{type:t,chart:i,native:e,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Yi(e,i){for(let t of e)if(t===i||t.contains(i))return!0}function Ku(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Yi(a.addedNodes,s),r=r&&!Yi(a.removedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}function Gu(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Yi(a.removedNodes,s),r=r&&!Yi(a.addedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}var Ke=new Map,ya=0;function fl(){let e=window.devicePixelRatio;e!==ya&&(ya=e,Ke.forEach((i,t)=>{t.currentDevicePixelRatio!==e&&i()}))}function qu(e,i){Ke.size||window.addEventListener("resize",fl),Ke.set(e,i)}function Zu(e){Ke.delete(e),Ke.size||window.removeEventListener("resize",fl)}function Ju(e,i,t){let s=e.canvas,n=s&&Li(s);if(!n)return;let o=vs((a,l)=>{let c=n.clientWidth;t(a,l),c{let l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),qu(e,o),r}function $s(e,i,t){t&&t.disconnect(),i==="resize"&&Zu(e)}function Qu(e,i,t){let s=e.canvas,n=vs(o=>{e.ctx!==null&&t(Xu(o,e))},e);return Yu(s,i,n),n}var Js=class extends $i{acquireContext(i,t){let s=i&&i.getContext&&i.getContext("2d");return s&&s.canvas===i?($u(i,t),s):null}releaseContext(i){let t=i.canvas;if(!t[Ni])return!1;let s=t[Ni].initial;["height","width"].forEach(o=>{let r=s[o];T(r)?t.removeAttribute(o):t.setAttribute(o,r)});let n=s.style||{};return Object.keys(n).forEach(o=>{t.style[o]=n[o]}),t.width=t.width,delete t[Ni],!0}addEventListener(i,t,s){this.removeEventListener(i,t);let n=i.$proxies||(i.$proxies={}),r={attach:Ku,detach:Gu,resize:Ju}[t]||Qu;n[t]=r(i,t,s)}removeEventListener(i,t){let s=i.$proxies||(i.$proxies={}),n=s[t];if(!n)return;({attach:$s,detach:$s,resize:$s}[t]||Uu)(i,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(i,t,s,n){return Qr(i,t,s,n)}isAttached(i){let t=i&&Li(i);return!!(t&&t.isConnected)}};function tp(e){return!Ti()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Zs:Js}var lt=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(i){let{x:t,y:s}=this.getProps(["x","y"],i);return{x:t,y:s}}hasValue(){return Ut(this.x)&&Ut(this.y)}getProps(i,t){let s=this.$animations;if(!t||!s)return this;let n={};return i.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}};function ep(e,i){let t=e.options.ticks,s=ip(e),n=Math.min(t.maxTicksLimit||s,s),o=t.major.enabled?np(i):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return op(i,c,o,r/n),c;let h=sp(o,i,n);if(r>0){let d,f,u=r>1?Math.round((l-a)/(r-1)):null;for(Ii(i,c,h,T(u)?0:a-u,a),d=0,f=r-1;dn)return l}return Math.max(n,1)}function np(e){let i=[],t,s;for(t=0,s=e.length;te==="left"?"right":e==="right"?"left":e,va=(e,i,t)=>i==="top"||i==="left"?e[i]+t:e[i]-t,Ma=(e,i)=>Math.min(i||e,e);function wa(e,i){let t=[],s=e.length/i,n=e.length,o=0;for(;or+a)))return l}function cp(e,i){L(e,t=>{let s=t.gc,n=s.length/2,o;if(n>i){for(o=0;os?s:t,s=n&&t>s?t:s,{min:Q(t,Q(s,t)),max:Q(s,Q(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let i=this.chart.data;return this.options.labels||(this.isHorizontal()?i.xLabels:i.yLabels)||i.labels||[]}getLabelItems(i=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(i))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){R(this.options.beforeUpdate,[this])}update(i,t,s){let{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=i,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Xr(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}let h=this._getLabelSizes(),d=h.widest.width,f=h.highest.height,u=Y(this.chart.width-d,0,this.maxWidth);a=i.offset?this.maxWidth/s:u/(s-1),d+6>a&&(a=u/(s-(i.offset?.5:1)),l=this.maxHeight-$e(i.grid)-t.padding-Sa(i.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Si(Math.min(Math.asin(Y((h.highest.height+6)/a,-1,1)),Math.asin(Y(l/c,-1,1))-Math.asin(Y(f/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){R(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){R(this.options.beforeFit,[this])}fit(){let i={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){let l=Sa(n,t.options.font);if(a?(i.width=this.maxWidth,i.height=$e(o)+l):(i.height=this.maxHeight,i.width=$e(o)+l),s.display&&this.ticks.length){let{first:c,last:h,widest:d,highest:f}=this._getLabelSizes(),u=s.padding*2,p=ot(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){let x=s.mirror?0:m*d.width+g*f.height;i.height=Math.min(this.maxHeight,i.height+x+u)}else{let x=s.mirror?0:g*d.width+m*f.height;i.width=Math.min(this.maxWidth,i.width+x+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=i.height):(this.width=i.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(i,t,s,n){let{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){let h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1),f=0,u=0;l?c?(f=n*i.width,u=s*t.height):(f=s*i.height,u=n*t.width):o==="start"?u=t.width:o==="end"?f=i.width:o!=="inner"&&(f=i.width/2,u=t.width/2),this.paddingLeft=Math.max((f-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let h=t.height/2,d=i.height/2;o==="start"?(h=0,d=i.height):o==="end"&&(h=t.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){R(this.options.afterFit,[this])}isHorizontal(){let{axis:i,position:t}=this.options;return t==="top"||t==="bottom"||i==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(i){this.beforeTickToLabelConversion(),this.generateTickLabels(i);let t,s;for(t=0,s=i.length;t({width:r[k]||0,height:a[k]||0});return{first:w(0),last:w(t-1),widest:w(v),highest:w(S),widths:r,heights:a}}getLabelForValue(i){return i}getPixelForValue(i,t){return NaN}getValueForPixel(i){}getPixelForTick(i){let t=this.ticks;return i<0||i>t.length-1?null:this.getPixelForValue(t[i].value)}getPixelForDecimal(i){this._reversePixels&&(i=1-i);let t=this._startPixel+i*this._length;return Fr(this._alignToPixels?It(this.chart,t,0):t)}getDecimalForPixel(i){let t=(i-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:i,max:t}=this;return i<0&&t<0?t:i>0&&t>0?i:0}getContext(i){let t=this.ticks||[];if(i>=0&&ia*n?a/s:l/n:l*n0}_computeGridLineItems(i){let t=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=$e(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,x=function(j){return It(s,j,g)},b,y,M,_,v,S,w,k,O,P,D,U;if(r==="top")b=x(this.bottom),S=this.bottom-f,k=b-m,P=x(i.top)+m,U=i.bottom;else if(r==="bottom")b=x(this.top),P=i.top,U=x(i.bottom)-m,S=b+m,k=this.top+f;else if(r==="left")b=x(this.right),v=this.right-f,w=b-m,O=x(i.left)+m,D=i.right;else if(r==="right")b=x(this.left),O=i.left,D=x(i.right)-m,v=b+m,w=this.left+f;else if(t==="x"){if(r==="center")b=x((i.top+i.bottom)/2+.5);else if(A(r)){let j=Object.keys(r)[0],W=r[j];b=x(this.chart.scales[j].getPixelForValue(W))}P=i.top,U=i.bottom,S=b+m,k=S+f}else if(t==="y"){if(r==="center")b=x((i.left+i.right)/2);else if(A(r)){let j=Object.keys(r)[0],W=r[j];b=x(this.chart.scales[j].getPixelForValue(W))}v=b-m,w=v-f,O=i.left,D=i.right}let it=C(n.ticks.maxTicksLimit,d),E=Math.max(1,Math.ceil(d/it));for(y=0;y0&&(Ht-=Nt/2);break}Qe={left:Ht,top:Se,width:Nt+Jt.width,height:we+Jt.height,color:E.backdropColor}}m.push({label:M,font:k,textOffset:D,options:{rotation:g,color:W,strokeColor:rt,strokeWidth:G,textAlign:Zt,textBaseline:U,translation:[_,v],backdrop:Qe}})}return m}_getXAxisLabelAlignment(){let{position:i,ticks:t}=this.options;if(-ot(this.labelRotation))return i==="top"?"left":"right";let n="center";return t.align==="start"?n="left":t.align==="end"?n="right":t.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(i){let{position:t,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=i+o,l=r.widest.width,c,h;return t==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):t==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;let i=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:i.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:i.width}}drawBackground(){let{ctx:i,options:{backgroundColor:t},left:s,top:n,width:o,height:r}=this;t&&(i.save(),i.fillStyle=t,i.fillRect(s,n,o,r),i.restore())}getLineWidthForValue(i){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(o=>o.value===i);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(i){let t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(i)),o,r,a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(t.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(i){let t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[],o,r;for(o=0,r=t.length;o{let s=t.split("."),n=s.pop(),o=[e].concat(s).join("."),r=i[t].split("."),a=r.pop(),l=r.join(".");N.route(o,n,l,a)})}function mp(e){return"id"in e&&"defaults"in e}var Qs=class{constructor(){this.controllers=new ve(Vt,"datasets",!0),this.elements=new ve(lt,"elements"),this.plugins=new ve(Object,"plugins"),this.scales=new ve(qt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...i){this._each("register",i)}remove(...i){this._each("unregister",i)}addControllers(...i){this._each("register",i,this.controllers)}addElements(...i){this._each("register",i,this.elements)}addPlugins(...i){this._each("register",i,this.plugins)}addScales(...i){this._each("register",i,this.scales)}getController(i){return this._get(i,this.controllers,"controller")}getElement(i){return this._get(i,this.elements,"element")}getPlugin(i){return this._get(i,this.plugins,"plugin")}getScale(i){return this._get(i,this.scales,"scale")}removeControllers(...i){this._each("unregister",i,this.controllers)}removeElements(...i){this._each("unregister",i,this.elements)}removePlugins(...i){this._each("unregister",i,this.plugins)}removeScales(...i){this._each("unregister",i,this.scales)}_each(i,t,s){[...t].forEach(n=>{let o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(i,o,n):L(n,r=>{let a=s||this._getRegistryForType(r);this._exec(i,a,r)})})}_exec(i,t,s){let n=wi(i);R(s["before"+n],[],s),t[i](s),R(s["after"+n],[],s)}_getRegistryForType(i){for(let t=0;to.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(t,s),i,"stop"),this._notify(n(s,t),i,"start")}};function bp(e){let i={},t=[],s=Object.keys(gt.plugins.items);for(let o=0;o1&&ka(e[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Ca(e,i,t){if(t[i+"AxisID"]===e)return{axis:i}}function Sp(e,i){if(i.data&&i.data.datasets){let t=i.data.datasets.filter(s=>s.xAxisID===e||s.yAxisID===e);if(t.length)return Ca(e,"x",t[0])||Ca(e,"y",t[0])}return{}}function kp(e,i){let t=Rt[e.type]||{scales:{}},s=i.scales||{},n=en(e.type,i),o=Object.create(null);return Object.keys(s).forEach(r=>{let a=s[r];if(!A(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);let l=sn(r,a,Sp(r,e),N.scales[a.type]),c=Mp(l,n),h=t.scales||{};o[r]=ue(Object.create(null),[{axis:l},a,h[l],h[c]])}),e.data.datasets.forEach(r=>{let a=r.type||e.type,l=r.indexAxis||en(a,i),h=(Rt[a]||{}).scales||{};Object.keys(h).forEach(d=>{let f=vp(d,l),u=r[f+"AxisID"]||f;o[u]=o[u]||Object.create(null),ue(o[u],[{axis:f},s[u],h[d]])})}),Object.keys(o).forEach(r=>{let a=o[r];ue(a,[N.scales[a.type],N.scale])}),o}function ul(e){let i=e.options||(e.options={});i.plugins=C(i.plugins,{}),i.scales=kp(e,i)}function pl(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Cp(e){return e=e||{},e.data=pl(e.data),ul(e),e}var Pa=new Map,gl=new Set;function Fi(e,i){let t=Pa.get(e);return t||(t=i(),Pa.set(e,t),gl.add(t)),t}var Ye=(e,i,t)=>{let s=vt(i,t);s!==void 0&&e.add(s)},nn=class{constructor(i){this._config=Cp(i),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(i){this._config.type=i}get data(){return this._config.data}set data(i){this._config.data=pl(i)}get options(){return this._config.options}set options(i){this._config.options=i}get plugins(){return this._config.plugins}update(){let i=this._config;this.clearCache(),ul(i)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(i){return Fi(i,()=>[[`datasets.${i}`,""]])}datasetAnimationScopeKeys(i,t){return Fi(`${i}.transition.${t}`,()=>[[`datasets.${i}.transitions.${t}`,`transitions.${t}`],[`datasets.${i}`,""]])}datasetElementScopeKeys(i,t){return Fi(`${i}-${t}`,()=>[[`datasets.${i}.elements.${t}`,`datasets.${i}`,`elements.${t}`,""]])}pluginScopeKeys(i){let t=i.id,s=this.type;return Fi(`${s}-plugin-${t}`,()=>[[`plugins.${t}`,...i.additionalOptionScopes||[]]])}_cachedScopes(i,t){let s=this._scopeCache,n=s.get(i);return(!n||t)&&(n=new Map,s.set(i,n)),n}getOptionScopes(i,t,s){let{options:n,type:o}=this,r=this._cachedScopes(i,s),a=r.get(t);if(a)return a;let l=new Set;t.forEach(h=>{i&&(l.add(i),h.forEach(d=>Ye(l,i,d))),h.forEach(d=>Ye(l,n,d)),h.forEach(d=>Ye(l,Rt[o]||{},d)),h.forEach(d=>Ye(l,N,d)),h.forEach(d=>Ye(l,Pi,d))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),gl.has(t)&&r.set(t,c),c}chartOptionScopes(){let{options:i,type:t}=this;return[i,Rt[t]||{},N.datasets[t]||{},{type:t},N,Pi]}resolveNamedOptions(i,t,s,n=[""]){let o={$shared:!0},{resolver:r,subPrefixes:a}=Oa(this._resolverCache,i,n),l=r;if(Op(r,t)){o.$shared=!1,s=_t(s)?s():s;let c=this.createResolver(i,s,a);l=Yt(r,s,c)}for(let c of t)o[c]=l[c];return o}createResolver(i,t,s=[""],n){let{resolver:o}=Oa(this._resolverCache,i,s);return A(t)?Yt(o,t,void 0,n):o}};function Oa(e,i,t){let s=e.get(i);s||(s=new Map,e.set(i,s));let n=t.join(),o=s.get(n);return o||(o={resolver:Di(i,t),subPrefixes:t.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}var Pp=e=>A(e)&&Object.getOwnPropertyNames(e).some(i=>_t(e[i]));function Op(e,i){let{isScriptable:t,isIndexable:s}=As(e);for(let n of i){let o=t(n),r=s(n),a=(r||o)&&e[n];if(o&&(_t(a)||Pp(a))||r&&I(a))return!0}return!1}var Ap="4.4.3",Dp=["top","bottom","left","right","chartArea"];function Aa(e,i){return e==="top"||e==="bottom"||Dp.indexOf(e)===-1&&i==="x"}function Da(e,i){return function(t,s){return t[e]===s[e]?t[i]-s[i]:t[e]-s[e]}}function Ta(e){let i=e.chart,t=i.options.animation;i.notifyPlugins("afterRender"),R(t&&t.onComplete,[e],i)}function Tp(e){let i=e.chart,t=i.options.animation;R(t&&t.onProgress,[e],i)}function ml(e){return Ti()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Hi={},La=e=>{let i=ml(e);return Object.values(Hi).filter(t=>t.canvas===i).pop()};function Lp(e,i,t){let s=Object.keys(e);for(let n of s){let o=+n;if(o>=i){let r=e[n];delete e[n],(t>0||o>i)&&(e[o+t]=r)}}}function Ep(e,i,t,s){return!t||e.type==="mouseout"?null:s?i:e}function zi(e,i,t){return e.options.clip?e[t]:i[t]}function Rp(e,i){let{xScale:t,yScale:s}=e;return t&&s?{left:zi(t,i,"left"),right:zi(t,i,"right"),top:zi(s,i,"top"),bottom:zi(s,i,"bottom")}:i}var Gi=(()=>{class e{static defaults=N;static instances=Hi;static overrides=Rt;static registry=gt;static version=Ap;static getChart=La;static register(...t){gt.add(...t),Ea()}static unregister(...t){gt.remove(...t),Ea()}constructor(t,s){let n=this.config=new nn(s),o=ml(t),r=La(o);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||tp(o)),this.platform.updateConfig(n);let l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,h=c&&c.height,d=c&&c.width;if(this.id=Dr(),this.ctx=l,this.canvas=c,this.width=d,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new tn,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Nr(f=>this.update(f),a.resizeDelay||0),this._dataChanges=[],Hi[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}wt.listen(this,"complete",Ta),wt.listen(this,"progress",Tp),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:s},width:n,height:o,_aspectRatio:r}=this;return T(t)?s&&r?r:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return gt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Es(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Cs(this.canvas,this.ctx),this}stop(){return wt.stop(this),this}resize(t,s){wt.running(this)?this._resizeBeforeDraw={width:t,height:s}:this._resize(t,s)}_resize(t,s){let n=this.options,o=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,t,s,r),l=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Es(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),R(n.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){let s=this.options.scales||{};L(s,(n,o)=>{n.id=o})}buildOrUpdateScales(){let t=this.options,s=t.scales,n=this.scales,o=Object.keys(n).reduce((a,l)=>(a[l]=!1,a),{}),r=[];s&&(r=r.concat(Object.keys(s).map(a=>{let l=s[a],c=sn(a,l),h=c==="r",d=c==="x";return{options:l,dposition:h?"chartArea":d?"bottom":"left",dtype:h?"radialLinear":d?"category":"linear"}}))),L(r,a=>{let l=a.options,c=l.id,h=sn(c,l),d=C(l.type,a.dtype);(l.position===void 0||Aa(l.position,h)!==Aa(a.dposition))&&(l.position=a.dposition),o[c]=!0;let f=null;if(c in n&&n[c].type===d)f=n[c];else{let u=gt.getScale(d);f=new u({id:c,type:d,ctx:this.ctx,chart:this}),n[f.id]=f}f.init(l,t)}),L(o,(a,l)=>{a||delete n[l]}),L(n,a=>{q.configure(this,a,a.options),q.addBox(this,a)})}_updateMetasets(){let t=this._metasets,s=this.data.datasets.length,n=t.length;if(t.sort((o,r)=>o.index-r.index),n>s){for(let o=s;os.length&&delete this._stacks,t.forEach((n,o)=>{s.filter(r=>r===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){let t=[],s=this.data.datasets,n,o;for(this._removeUnreferencedMetasets(),n=0,o=s.length;n{this.getDatasetMeta(s).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let s=this.config;s.update();let n=this._options=s.createResolver(s.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let h=0,d=this.data.datasets.length;h{h.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Da("z","_idx"));let{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){L(this.scales,t=>{q.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,s=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!us(s,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,s=this._getUniformDataChanges()||[];for(let{method:n,start:o,count:r}of s){let a=n==="_removeElements"?-r:r;Lp(t,o,a)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let s=this.data.datasets.length,n=r=>new Set(t.filter(a=>a[0]===r).map((a,l)=>l+","+a.splice(1).join(","))),o=n(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;q.update(this,this.width,this.height,t);let s=this.chartArea,n=s.width<=0||s.height<=0;this._layers=[],L(this.boxes,o=>{n&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,r)=>{o._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let s=0,n=this.data.datasets.length;s=0;--s)this._drawDataset(t[s]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let s=this.ctx,n=t._clip,o=!n.disabled,r=Rp(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(o&&je(s,{left:n.left===!1?0:r.left-n.left,right:n.right===!1?this.width:r.right+n.right,top:n.top===!1?0:r.top-n.top,bottom:n.bottom===!1?this.height:r.bottom+n.bottom}),t.controller.draw(),o&&Ve(s),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return dt(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,s,n,o){let r=Iu.modes[s];return typeof r=="function"?r(this,t,n,o):[]}getDatasetMeta(t){let s=this.data.datasets[t],n=this._metasets,o=n.filter(r=>r&&r._dataset===s).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:s&&s.order||0,index:t,_dataset:s,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=Mt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let s=this.data.datasets[t];if(!s)return!1;let n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!s.hidden}setDatasetVisibility(t,s){let n=this.getDatasetMeta(t);n.hidden=!s}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,s,n){let o=n?"show":"hide",r=this.getDatasetMeta(t),a=r.controller._resolveAnimations(void 0,o);pe(s)?(r.data[s].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),a.update(r,{visible:n}),this.update(l=>l.datasetIndex===t?o:void 0))}hide(t,s){this._updateVisibility(t,s,!1)}show(t,s){this._updateVisibility(t,s,!0)}_destroyDatasetMeta(t){let s=this._metasets[t];s&&s.controller&&s.controller._destroy(),delete this._metasets[t]}_stop(){let t,s;for(this.stop(),wt.remove(this),t=0,s=this.data.datasets.length;t{s.addEventListener(this,r,a),t[r]=a},o=(r,a,l)=>{r.offsetX=a,r.offsetY=l,this._eventHandler(r)};L(this.options.events,r=>n(r,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,s=this.platform,n=(c,h)=>{s.addEventListener(this,c,h),t[c]=h},o=(c,h)=>{t[c]&&(s.removeEventListener(this,c,h),delete t[c])},r=(c,h)=>{this.canvas&&this.resize(c,h)},a,l=()=>{o("attach",l),this.attached=!0,this.resize(),n("resize",r),n("detach",a)};a=()=>{this.attached=!1,o("resize",r),this._stop(),this._resize(0,0),n("attach",l)},s.isAttached(this.canvas)?l():a()}unbindEvents(){L(this._listeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._listeners={},L(this._responsiveListeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,s,n){let o=n?"set":"remove",r,a,l,c;for(s==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+o+"DatasetHoverStyle"]()),l=0,c=t.length;l{let l=this.getDatasetMeta(r);if(!l)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:l.data[a],index:a}});!ze(n,s)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,s))}notifyPlugins(t,s,n){return this._plugins.notify(this,t,s,n)}isPluginEnabled(t){return this._plugins._cache.filter(s=>s.plugin.id===t).length===1}_updateHoverStyles(t,s,n){let o=this.options.hover,r=(c,h)=>c.filter(d=>!h.some(f=>d.datasetIndex===f.datasetIndex&&d.index===f.index)),a=r(s,t),l=n?t:r(t,s);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(t,s){let n={event:t,replay:s,cancelable:!0,inChartArea:this.isPointInArea(t)},o=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,o)===!1)return;let r=this._handleEvent(t,s,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,o),(r||n.changed)&&this.render(),this}_handleEvent(t,s,n){let{_active:o=[],options:r}=this,a=s,l=this._getActiveElements(t,o,n,a),c=Er(t),h=Ep(t,this._lastEvent,n,c);n&&(this._lastEvent=null,R(r.onHover,[t,l,this],this),c&&R(r.onClick,[t,l,this],this));let d=!ze(l,o);return(d||s)&&(this._active=l,this._updateHoverStyles(l,o,s)),this._lastEvent=h,d}_getActiveElements(t,s,n,o){if(t.type==="mouseout")return[];if(!n)return s;let r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,o)}}return e})();function Ea(){return L(Gi.instances,e=>e._plugins.invalidate())}function Ip(e,i,t){let{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=i,c=n/a;e.beginPath(),e.arc(o,r,a,s-c,t+c),l>n?(c=n/l,e.arc(o,r,l,t+c,s-c,!0)):e.arc(o,r,n,t+H,s-H),e.closePath(),e.clip()}function Fp(e){return Ai(e,["outerStart","outerEnd","innerStart","innerEnd"])}function zp(e,i,t,s){let n=Fp(e.options.borderRadius),o=(t-i)/2,r=Math.min(o,s*i/2),a=l=>{let c=(t-Math.min(o,l))*s/2;return Y(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:Y(n.innerStart,0,r),innerEnd:Y(n.innerEnd,0,r)}}function ye(e,i,t,s){return{x:t+e*Math.cos(i),y:s+e*Math.sin(i)}}function Ui(e,i,t,s,n,o){let{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=i,d=Math.max(i.outerRadius+s+t-c,0),f=h>0?h+s+t+c:0,u=0,p=n-l;if(s){let E=h>0?h-s:0,j=d>0?d-s:0,W=(E+j)/2,rt=W!==0?p*W/(W+s):p;u=(p-rt)/2}let g=Math.max(.001,p*d-t/F)/d,m=(p-g)/2,x=l+m+u,b=n-m-u,{outerStart:y,outerEnd:M,innerStart:_,innerEnd:v}=zp(i,f,d,b-x),S=d-y,w=d-M,k=x+y/S,O=b-M/w,P=f+_,D=f+v,U=x+_/P,it=b-v/D;if(e.beginPath(),o){let E=(k+O)/2;if(e.arc(r,a,d,k,E),e.arc(r,a,d,E,O),M>0){let G=ye(w,O,r,a);e.arc(G.x,G.y,M,O,b+H)}let j=ye(D,b,r,a);if(e.lineTo(j.x,j.y),v>0){let G=ye(D,it,r,a);e.arc(G.x,G.y,v,b+H,it+Math.PI)}let W=(b-v/f+(x+_/f))/2;if(e.arc(r,a,f,b-v/f,W,!0),e.arc(r,a,f,W,x+_/f,!0),_>0){let G=ye(P,U,r,a);e.arc(G.x,G.y,_,U+Math.PI,x-H)}let rt=ye(S,x,r,a);if(e.lineTo(rt.x,rt.y),y>0){let G=ye(S,k,r,a);e.arc(G.x,G.y,y,x-H,k)}}else{e.moveTo(r,a);let E=Math.cos(k)*d+r,j=Math.sin(k)*d+a;e.lineTo(E,j);let W=Math.cos(O)*d+r,rt=Math.sin(O)*d+a;e.lineTo(W,rt)}e.closePath()}function Bp(e,i,t,s,n){let{fullCircles:o,startAngle:r,circumference:a}=i,l=i.endAngle;if(o){Ui(e,i,t,s,l,n);for(let c=0;ci!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(i){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,t,s){let n=this.getProps(["x","y"],s),{angle:o,distance:r}=bs(n,{x:i,y:t}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:h,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),f=(this.options.spacing+this.options.borderWidth)/2,p=C(d,l-a)>=z||me(o,a,l),g=ut(r,c+f,h+f);return p&&g}getCenterPoint(i){let{x:t,y:s,startAngle:n,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:l,spacing:c}=this.options,h=(n+o)/2,d=(r+a+c+l)/2;return{x:t+Math.cos(h)*d,y:s+Math.sin(h)*d}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){let{options:t,circumference:s}=this,n=(t.offset||0)/4,o=(t.spacing||0)/2,r=t.circular;if(this.pixelMargin=t.borderAlign==="inner"?.33:0,this.fullCircles=s>z?Math.floor(s/z):0,s===0||this.innerRadius<0||this.outerRadius<0)return;i.save();let a=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(a)*n,Math.sin(a)*n);let l=1-Math.sin(Math.min(F,s||0)),c=n*l;i.fillStyle=t.backgroundColor,i.strokeStyle=t.borderColor,Bp(i,this,c,o,r),jp(i,this,c,o,r),i.restore()}};function bl(e,i,t=i){e.lineCap=C(t.borderCapStyle,i.borderCapStyle),e.setLineDash(C(t.borderDash,i.borderDash)),e.lineDashOffset=C(t.borderDashOffset,i.borderDashOffset),e.lineJoin=C(t.borderJoinStyle,i.borderJoinStyle),e.lineWidth=C(t.borderWidth,i.borderWidth),e.strokeStyle=C(t.borderColor,i.borderColor)}function Vp(e,i,t){e.lineTo(t.x,t.y)}function Np(e){return e.stepped?Yr:e.tension||e.cubicInterpolationMode==="monotone"?Ur:Vp}function xl(e,i,t={}){let s=e.length,{start:n=0,end:o=s-1}=t,{start:r,end:a}=i,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:i.loop,ilen:c(r+(c?a-M:M))%o,y=()=>{g!==m&&(e.lineTo(h,m),e.lineTo(h,g),e.lineTo(h,x))};for(l&&(u=n[b(0)],e.moveTo(u.x,u.y)),f=0;f<=a;++f){if(u=n[b(f)],u.skip)continue;let M=u.x,_=u.y,v=M|0;v===p?(_m&&(m=_),h=(d*h+M)/++d):(y(),e.lineTo(M,_),p=v,d=0,g=m=_),x=_}y()}function rn(e){let i=e.options,t=i.borderDash&&i.borderDash.length;return!e._decimated&&!e._loop&&!i.tension&&i.cubicInterpolationMode!=="monotone"&&!i.stepped&&!t?Wp:Hp}function $p(e){return e.stepped?ea:e.tension||e.cubicInterpolationMode==="monotone"?ia:Et}function Yp(e,i,t,s){let n=i._path;n||(n=i._path=new Path2D,i.path(n,t,s)&&n.closePath()),bl(e,i.options),e.stroke(n)}function Up(e,i,t,s){let{segments:n,options:o}=i,r=rn(i);for(let a of n)bl(e,o,a.style),e.beginPath(),r(e,i,a,{start:t,end:t+s-1})&&e.closePath(),e.stroke()}var Xp=typeof Path2D=="function";function Kp(e,i,t,s){Xp&&!i.options.segment?Yp(e,i,t,s):Up(e,i,t,s)}var qi=(()=>{class e extends lt{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,s){let n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){let o=n.spanGaps?this._loop:this._fullLoop;Jr(this._points,n,t,o,s),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=na(this,this.options.segment))}first(){let t=this.segments,s=this.points;return t.length&&s[t[0].start]}last(){let t=this.segments,s=this.points,n=t.length;return n&&s[t[n-1].end]}interpolate(t,s){let n=this.options,o=t[s],r=this.points,a=Bs(this,{property:s,start:o,end:o});if(!a.length)return;let l=[],c=$p(n),h,d;for(h=0,d=a.length;h{class e extends lt{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,s,n){let o=this.options,{x:r,y:a}=this.getProps(["x","y"],n);return Math.pow(t-r,2)+Math.pow(s-a,2)e.replace("rgb(","rgba(").replace(")",", 0.5)"));function yl(e){return ln[e%ln.length]}function vl(e){return Ia[e%Ia.length]}function ig(e,i){return e.borderColor=yl(i),e.backgroundColor=vl(i),++i}function sg(e,i){return e.backgroundColor=e.data.map(()=>yl(i++)),i}function ng(e,i){return e.backgroundColor=e.data.map(()=>vl(i++)),i}function og(e){let i=0;return(t,s)=>{let n=e.getDatasetMeta(s).controller;n instanceof mn?i=sg(t,i):n instanceof ll?i=ng(t,i):n&&(i=ig(t,i))}}function Fa(e){let i;for(i in e)if(e[i].borderColor||e[i].backgroundColor)return!0;return!1}function rg(e){return e&&(e.borderColor||e.backgroundColor)}var ag={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,i,t){if(!t.enabled)return;let{data:{datasets:s},options:n}=e.config,{elements:o}=n;if(!t.forceOverride&&(Fa(s)||rg(n)||o&&Fa(o)))return;let r=og(e);s.forEach(r)}};function lg(e,i,t,s,n){let o=n.samples||s;if(o>=t)return e.slice(i,i+t);let r=[],a=(t-2)/(o-2),l=0,c=i+t-1,h=i,d,f,u,p,g;for(r[l++]=e[h],d=0;du&&(u=p,f=e[b],g=b);r[l++]=f,h=g}return r[l++]=e[c],r}function cg(e,i,t,s){let n=0,o=0,r,a,l,c,h,d,f,u,p,g,m=[],x=i+t-1,b=e[i].x,M=e[x].x-b;for(r=i;rg&&(g=c,f=r),n=(o*n+a.x)/++o;else{let v=r-1;if(!T(d)&&!T(f)){let S=Math.min(d,f),w=Math.max(d,f);S!==u&&S!==v&&m.push(kt(mt({},e[S]),{x:n})),w!==u&&w!==v&&m.push(kt(mt({},e[w]),{x:n}))}r>0&&v!==u&&m.push(e[v]),m.push(a),h=_,o=0,p=g=c,d=f=u=r}}return m}function Ml(e){if(e._decimated){let i=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:i})}}function za(e){e.data.datasets.forEach(i=>{Ml(i)})}function hg(e,i){let t=i.length,s=0,n,{iScale:o}=e,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=Y(ht(i,o.axis,r).lo,0,t-1)),c?n=Y(ht(i,o.axis,a).hi+1,s,t)-s:n=t-s,{start:s,count:n}}var dg={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,i,t)=>{if(!t.enabled){za(e);return}let s=e.width;e.data.datasets.forEach((n,o)=>{let{_data:r,indexAxis:a}=n,l=e.getDatasetMeta(o),c=r||n.data;if(_e([a,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;let h=e.scales[l.xAxisID];if(h.type!=="linear"&&h.type!=="time"||e.options.parsing)return;let{start:d,count:f}=hg(l,c),u=t.threshold||4*s;if(f<=u){Ml(n);return}T(r)&&(n._data=c,delete n.data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(g){this._data=g}}));let p;switch(t.algorithm){case"lttb":p=lg(c,d,f,s,t);break;case"min-max":p=cg(c,d,f,s);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}n._decimated=p})},destroy(e){za(e)}};function fg(e,i,t){let s=e.segments,n=e.points,o=i.points,r=[];for(let a of s){let{start:l,end:c}=a;c=bn(l,c,n);let h=cn(t,n[l],n[c],a.loop);if(!i.segments){r.push({source:a,target:h,start:n[l],end:n[c]});continue}let d=Bs(i,h);for(let f of d){let u=cn(t,o[f.start],o[f.end],f.loop),p=zs(a,n,u);for(let g of p)r.push({source:g,target:f,start:{[t]:Ba(h,u,"start",Math.max)},end:{[t]:Ba(h,u,"end",Math.min)}})}}return r}function cn(e,i,t,s){if(s)return;let n=i[e],o=t[e];return e==="angle"&&(n=J(n),o=J(o)),{property:e,start:n,end:o}}function ug(e,i){let{x:t=null,y:s=null}=e||{},n=i.points,o=[];return i.segments.forEach(({start:r,end:a})=>{a=bn(r,a,n);let l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):t!==null&&(o.push({x:t,y:l.y}),o.push({x:t,y:c.y}))}),o}function bn(e,i,t){for(;i>e;i--){let s=t[i];if(!isNaN(s.x)&&!isNaN(s.y))break}return i}function Ba(e,i,t,s){return e&&i?s(e[t],i[t]):e?e[t]:i?i[t]:0}function wl(e,i){let t=[],s=!1;return I(e)?(s=!0,t=e):t=ug(e,i),t.length?new qi({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function ja(e){return e&&e.fill!==!1}function pg(e,i,t){let n=e[i].fill,o=[i],r;if(!t)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!V(n))return n;if(r=e[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function gg(e,i,t){let s=_g(e);if(A(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return V(n)&&Math.floor(n)===n?mg(s[0],i,n,t):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function mg(e,i,t,s){return(e==="-"||e==="+")&&(t=i+t),t===i||t<0||t>=s?!1:t}function bg(e,i){let t=null;return e==="start"?t=i.bottom:e==="end"?t=i.top:A(e)?t=i.getPixelForValue(e.value):i.getBasePixel&&(t=i.getBasePixel()),t}function xg(e,i,t){let s;return e==="start"?s=t:e==="end"?s=i.options.reverse?i.min:i.max:A(e)?s=e.value:s=i.getBaseValue(),s}function _g(e){let i=e.options,t=i.fill,s=C(t&&t.target,t);return s===void 0&&(s=!!i.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function yg(e){let{scale:i,index:t,line:s}=e,n=[],o=s.segments,r=s.points,a=vg(i,t);a.push(wl({x:null,y:i.bottom},s));for(let l=0;l=0;--r){let a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&Xs(e.ctx,a,o))}},beforeDatasetsDraw(e,i,t){if(t.drawTime!=="beforeDatasetsDraw")return;let s=e.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){let o=s[n].$filler;ja(o)&&Xs(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,i,t){let s=i.meta.$filler;!ja(s)||t.drawTime!=="beforeDatasetDraw"||Xs(e.ctx,s,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Wa=(e,i)=>{let{boxHeight:t=i,boxWidth:s=i}=e;return e.usePointStyle&&(t=Math.min(t,i),s=e.pointStyleWidth||Math.min(s,i)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(i,t)}},Lg=(e,i)=>e!==null&&i!==null&&e.datasetIndex===i.datasetIndex&&e.index===i.index,Ki=class extends lt{constructor(i){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t,s){this.maxWidth=i,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let i=this.options.labels||{},t=R(i.generateLabels,[this.chart],this)||[];i.filter&&(t=t.filter(s=>i.filter(s,this.chart.data))),i.sort&&(t=t.sort((s,n)=>i.sort(s,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:i,ctx:t}=this;if(!i.display){this.width=this.height=0;return}let s=i.labels,n=$(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Wa(s,o),c,h;t.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,i.maxWidth||this.maxWidth),this.height=Math.min(h,i.maxHeight||this.maxHeight)}_fitRows(i,t,s,n){let{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a,d=i;o.textAlign="left",o.textBaseline="middle";let f=-1,u=-h;return this.legendItems.forEach((p,g)=>{let m=s+t/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(d+=h,c[c.length-(g>0?0:1)]=0,u+=h,f++),l[g]={left:0,top:u,row:f,width:m,height:n},c[c.length-1]+=m+a}),d}_fitCols(i,t,s,n){let{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-i,d=a,f=0,u=0,p=0,g=0;return this.legendItems.forEach((m,x)=>{let{itemWidth:b,itemHeight:y}=Eg(s,t,o,m,n);x>0&&u+y+2*a>h&&(d+=f+a,c.push({width:f,height:u}),p+=f+a,g++,f=u=0),l[x]={left:p,top:u,col:g,width:b,height:y},f=Math.max(f,b),u+=y+a}),d+=f,c.push({width:f,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;let i=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Xt(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(let c of t)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+i+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height);for(let c of t)c.col!==a&&(a=c.col,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let i=this.ctx;je(i,this),this._draw(),Ve(i)}}_draw(){let{options:i,columnSizes:t,lineWidths:s,ctx:n}=this,{align:o,labels:r}=i,a=N.color,l=Xt(i.rtl,this.left,this.width),c=$(r.font),{padding:h}=r,d=c.size,f=d/2,u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;let{boxWidth:p,boxHeight:g,itemHeight:m}=Wa(r,d),x=function(v,S,w){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();let k=C(w.lineWidth,1);if(n.fillStyle=C(w.fillStyle,a),n.lineCap=C(w.lineCap,"butt"),n.lineDashOffset=C(w.lineDashOffset,0),n.lineJoin=C(w.lineJoin,"miter"),n.lineWidth=k,n.strokeStyle=C(w.strokeStyle,a),n.setLineDash(C(w.lineDash,[])),r.usePointStyle){let O={radius:g*Math.SQRT2/2,pointStyle:w.pointStyle,rotation:w.rotation,borderWidth:k},P=l.xPlus(v,p/2),D=S+f;Ps(n,O,P,D,r.pointStyleWidth&&p)}else{let O=S+Math.max((d-g)/2,0),P=l.leftForLtr(v,p),D=zt(w.borderRadius);n.beginPath(),Object.values(D).some(U=>U!==0)?xe(n,{x:P,y:O,w:p,h:g,radius:D}):n.rect(P,O,p,g),n.fill(),k!==0&&n.stroke()}n.restore()},b=function(v,S,w){Ft(n,w.text,v,S+m/2,c,{strikethrough:w.hidden,textAlign:l.textAlign(w.textAlign)})},y=this.isHorizontal(),M=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+M,line:0}:u={x:this.left+h,y:X(o,this.top+M+h,this.bottom-t[0].height),line:0},Is(this.ctx,i.textDirection);let _=m+h;this.legendItems.forEach((v,S)=>{n.strokeStyle=v.fontColor,n.fillStyle=v.fontColor;let w=n.measureText(v.text).width,k=l.textAlign(v.textAlign||(v.textAlign=r.textAlign)),O=p+f+w,P=u.x,D=u.y;l.setWidth(this.width),y?S>0&&P+O+h>this.right&&(D=u.y+=_,u.line++,P=u.x=X(o,this.left+h,this.right-s[u.line])):S>0&&D+_>this.bottom&&(P=u.x=P+t[u.line].width+h,u.line++,D=u.y=X(o,this.top+M+h,this.bottom-t[u.line].height));let U=l.x(P);if(x(U,D,v),P=Hr(k,P+p+f,y?P+O:this.right,i.rtl),b(l.x(P),D,v),y)u.x+=O+h;else if(typeof v.text!="string"){let it=c.lineHeight;u.y+=Sl(v,it)+h}else u.y+=_}),Fs(this.ctx,i.textDirection)}drawTitle(){let i=this.options,t=i.title,s=$(t.font),n=K(t.padding);if(!t.display)return;let o=Xt(i.rtl,this.left,this.width),r=this.ctx,a=t.position,l=s.size/2,c=n.top+l,h,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),h=this.top+c,d=X(i.align,d,this.right-f);else{let p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(i.align,this.top,this.bottom-p-i.labels.padding-this._computeTitleHeight())}let u=X(a,d,d+f);r.textAlign=o.textAlign(Ci(a)),r.textBaseline="middle",r.strokeStyle=t.color,r.fillStyle=t.color,r.font=s.string,Ft(r,t.text,u,h,s)}_computeTitleHeight(){let i=this.options.title,t=$(i.font),s=K(i.padding);return i.display?t.lineHeight+s.height:0}_getLegendItemAt(i,t){let s,n,o;if(ut(i,this.left,this.right)&&ut(t,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),i+t.size/2+s.measureText(n).width}function Ig(e,i,t){let s=e;return typeof i.text!="string"&&(s=Sl(i,t)),s}function Sl(e,i){let t=e.text?e.text.length:0;return i*t}function Fg(e,i){return!!((e==="mousemove"||e==="mouseout")&&(i.onHover||i.onLeave)||i.onClick&&(e==="click"||e==="mouseup"))}var zg={id:"legend",_element:Ki,start(e,i,t){let s=e.legend=new Ki({ctx:e.ctx,options:t,chart:e});q.configure(e,s,t),q.addBox(e,s)},stop(e){q.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,i,t){let s=e.legend;q.configure(e,s,t),s.options=t},afterUpdate(e){let i=e.legend;i.buildLabels(),i.adjustHitBoxes()},afterEvent(e,i){i.replay||e.legend.handleEvent(i.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,i,t){let s=i.datasetIndex,n=t.chart;n.isDatasetVisible(s)?(n.hide(s),i.hidden=!0):(n.show(s),i.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let i=e.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(t?0:void 0),h=K(c.borderWidth);return{text:i[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}},Ge=class extends lt{constructor(i){super(),this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t){let s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=i,this.height=this.bottom=t;let n=I(s.text)?s.text.length:1;this._padding=K(s.padding);let o=n*$(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){let i=this.options.position;return i==="top"||i==="bottom"}_drawArgs(i){let{top:t,left:s,bottom:n,right:o,options:r}=this,a=r.align,l=0,c,h,d;return this.isHorizontal()?(h=X(a,s,o),d=t+i,c=o-s):(r.position==="left"?(h=s+i,d=X(a,n,t),l=F*-.5):(h=o-i,d=X(a,t,n),l=F*.5),c=n-t),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){let i=this.ctx,t=this.options;if(!t.display)return;let s=$(t.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Ft(i,t.text,0,0,s,{color:t.color,maxWidth:l,rotation:c,textAlign:Ci(t.align),textBaseline:"middle",translation:[r,a]})}};function Bg(e,i){let t=new Ge({ctx:e.ctx,options:i,chart:e});q.configure(e,t,i),q.addBox(e,t),e.titleBlock=t}var jg={id:"title",_element:Ge,start(e,i,t){Bg(e,t)},stop(e){let i=e.titleBlock;q.removeBox(e,i),delete e.titleBlock},beforeUpdate(e,i,t){let s=e.titleBlock;q.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Bi=new WeakMap,Vg={id:"subtitle",start(e,i,t){let s=new Ge({ctx:e.ctx,options:t,chart:e});q.configure(e,s,t),q.addBox(e,s),Bi.set(e,s)},stop(e){q.removeBox(e,Bi.get(e)),Bi.delete(e)},beforeUpdate(e,i,t){let s=Bi.get(e);q.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Xe={average(e){if(!e.length)return!1;let i,t,s=new Set,n=0,o=0;for(i=0,t=e.length;ia+l)/s.size,y:n/o}},nearest(e,i){if(!e.length)return!1;let t=i.x,s=i.y,n=Number.POSITIVE_INFINITY,o,r,a;for(o=0,r=e.length;o-1}var $n=Fl;function zl(e,i){var t=this.__data__,s=Pt(t,e);return s<0?(++this.size,t.push([e,i])):t[s][1]=i,this}var Yn=zl;function Qt(e){var i=-1,t=e==null?0:e.length;for(this.clear();++i-1&&e%1==0&&e<=ph}var ai=gh;function mh(e){return e!=null&&ai(e.length)&&!ee(e)}var le=mh;function bh(e){return ct(e)&&le(e)}var Io=bh;function xh(){return!1}var Fo=xh;var jo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zo=jo&&typeof module=="object"&&module&&!module.nodeType&&module,_h=zo&&zo.exports===jo,Bo=_h?st.Buffer:void 0,yh=Bo?Bo.isBuffer:void 0,vh=yh||Fo,li=vh;var Mh="[object Object]",wh=Function.prototype,Sh=Object.prototype,Vo=wh.toString,kh=Sh.hasOwnProperty,Ch=Vo.call(Object);function Ph(e){if(!ct(e)||At(e)!=Mh)return!1;var i=oi(e);if(i===null)return!0;var t=kh.call(i,"constructor")&&i.constructor;return typeof t=="function"&&t instanceof t&&Vo.call(t)==Ch}var No=Ph;var Oh="[object Arguments]",Ah="[object Array]",Dh="[object Boolean]",Th="[object Date]",Lh="[object Error]",Eh="[object Function]",Rh="[object Map]",Ih="[object Number]",Fh="[object Object]",zh="[object RegExp]",Bh="[object Set]",jh="[object String]",Vh="[object WeakMap]",Nh="[object ArrayBuffer]",Hh="[object DataView]",Wh="[object Float32Array]",$h="[object Float64Array]",Yh="[object Int8Array]",Uh="[object Int16Array]",Xh="[object Int32Array]",Kh="[object Uint8Array]",Gh="[object Uint8ClampedArray]",qh="[object Uint16Array]",Zh="[object Uint32Array]",B={};B[Wh]=B[$h]=B[Yh]=B[Uh]=B[Xh]=B[Kh]=B[Gh]=B[qh]=B[Zh]=!0;B[Oh]=B[Ah]=B[Nh]=B[Dh]=B[Hh]=B[Th]=B[Lh]=B[Eh]=B[Rh]=B[Ih]=B[Fh]=B[zh]=B[Bh]=B[jh]=B[Vh]=!1;function Jh(e){return ct(e)&&ai(e.length)&&!!B[At(e)]}var Ho=Jh;function Qh(e){return function(i){return e(i)}}var Wo=Qh;var $o=typeof exports=="object"&&exports&&!exports.nodeType&&exports,De=$o&&typeof module=="object"&&module&&!module.nodeType&&module,td=De&&De.exports===$o,is=td&&ii.process,ed=function(){try{var e=De&&De.require&&De.require("util").types;return e||is&&is.binding&&is.binding("util")}catch{}}(),ss=ed;var Yo=ss&&ss.isTypedArray,id=Yo?Wo(Yo):Ho,ci=id;function sd(e,i){if(!(i==="constructor"&&typeof e[i]=="function")&&i!="__proto__")return e[i]}var Te=sd;var nd=Object.prototype,od=nd.hasOwnProperty;function rd(e,i,t){var s=e[i];(!(od.call(e,i)&&Ct(s,t))||t===void 0&&!(i in e))&&ae(e,i,t)}var Uo=rd;function ad(e,i,t,s){var n=!t;t||(t={});for(var o=-1,r=i.length;++o-1&&e%1==0&&e0){if(++i>=Pd)return arguments[0]}else i=0;return e.apply(void 0,arguments)}}var ar=Dd;var Td=ar(rr),lr=Td;function Ld(e,i){return lr(nr(e,i,fi),e+"")}var cr=Ld;function Ed(e,i,t){if(!Z(t))return!1;var s=typeof i;return(s=="number"?le(t)&&hi(i,t.length):s=="string"&&i in t)?Ct(t[i],e):!1}var hr=Ed;function Rd(e){return cr(function(i,t){var s=-1,n=t.length,o=n>1?t[n-1]:void 0,r=n>2?t[2]:void 0;for(o=e.length>3&&typeof o=="function"?(n--,o):void 0,r&&hr(t[0],t[1],r)&&(o=n<3?void 0:o,n=1),i=Object(i);++sMath.max(Math.min(e,t),i);function Le(e){return Tt(Re(e*2.55),0,255)}function Lt(e){return Tt(Re(e*255),0,255)}function xt(e){return Tt(Re(e/2.55)/100,0,1)}function ur(e){return Tt(Re(e*100),0,100)}var nt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},os=[..."0123456789ABCDEF"],Fd=e=>os[e&15],zd=e=>os[(e&240)>>4]+os[e&15],ui=e=>(e&240)>>4===(e&15),Bd=e=>ui(e.r)&&ui(e.g)&&ui(e.b)&&ui(e.a);function jd(e){var i=e.length,t;return e[0]==="#"&&(i===4||i===5?t={r:255&nt[e[1]]*17,g:255&nt[e[2]]*17,b:255&nt[e[3]]*17,a:i===5?nt[e[4]]*17:255}:(i===7||i===9)&&(t={r:nt[e[1]]<<4|nt[e[2]],g:nt[e[3]]<<4|nt[e[4]],b:nt[e[5]]<<4|nt[e[6]],a:i===9?nt[e[7]]<<4|nt[e[8]]:255})),t}var Vd=(e,i)=>e<255?i(e):"";function Nd(e){var i=Bd(e)?Fd:zd;return e?"#"+i(e.r)+i(e.g)+i(e.b)+Vd(e.a,i):void 0}var Hd=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function br(e,i,t){let s=i*Math.min(t,1-t),n=(o,r=(o+e/30)%12)=>t-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function Wd(e,i,t){let s=(n,o=(n+e/60)%6)=>t-t*i*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function $d(e,i,t){let s=br(e,1,.5),n;for(i+t>1&&(n=1/(i+t),i*=n,t*=n),n=0;n<3;n++)s[n]*=1-i-t,s[n]+=i;return s}function Yd(e,i,t,s,n){return e===n?(i-t)/s+(i.5?h/(2-o-r):h/(o+r),l=Yd(t,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function as(e,i,t,s){return(Array.isArray(i)?e(i[0],i[1],i[2]):e(i,t,s)).map(Lt)}function ls(e,i,t){return as(br,e,i,t)}function Ud(e,i,t){return as($d,e,i,t)}function Xd(e,i,t){return as(Wd,e,i,t)}function xr(e){return(e%360+360)%360}function Kd(e){let i=Hd.exec(e),t=255,s;if(!i)return;i[5]!==s&&(t=i[6]?Le(+i[5]):Lt(+i[5]));let n=xr(+i[2]),o=+i[3]/100,r=+i[4]/100;return i[1]==="hwb"?s=Ud(n,o,r):i[1]==="hsv"?s=Xd(n,o,r):s=ls(n,o,r),{r:s[0],g:s[1],b:s[2],a:t}}function Gd(e,i){var t=rs(e);t[0]=xr(t[0]+i),t=ls(t),e.r=t[0],e.g=t[1],e.b=t[2]}function qd(e){if(!e)return;let i=rs(e),t=i[0],s=ur(i[1]),n=ur(i[2]);return e.a<255?`hsla(${t}, ${s}%, ${n}%, ${xt(e.a)})`:`hsl(${t}, ${s}%, ${n}%)`}var pr={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},gr={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Zd(){let e={},i=Object.keys(gr),t=Object.keys(pr),s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return e}var pi;function Jd(e){pi||(pi=Zd(),pi.transparent=[0,0,0,0]);let i=pi[e.toLowerCase()];return i&&{r:i[0],g:i[1],b:i[2],a:i.length===4?i[3]:255}}var Qd=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function tf(e){let i=Qd.exec(e),t=255,s,n,o;if(i){if(i[7]!==s){let r=+i[7];t=i[8]?Le(r):Tt(r*255,0,255)}return s=+i[1],n=+i[3],o=+i[5],s=255&(i[2]?Le(s):Tt(s,0,255)),n=255&(i[4]?Le(n):Tt(n,0,255)),o=255&(i[6]?Le(o):Tt(o,0,255)),{r:s,g:n,b:o,a:t}}}function ef(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${xt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var ns=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,ce=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function sf(e,i,t){let s=ce(xt(e.r)),n=ce(xt(e.g)),o=ce(xt(e.b));return{r:Lt(ns(s+t*(ce(xt(i.r))-s))),g:Lt(ns(n+t*(ce(xt(i.g))-n))),b:Lt(ns(o+t*(ce(xt(i.b))-o))),a:e.a+t*(i.a-e.a)}}function gi(e,i,t){if(e){let s=rs(e);s[i]=Math.max(0,Math.min(s[i]+s[i]*t,i===0?360:1)),s=ls(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function _r(e,i){return e&&Object.assign(i||{},e)}function mr(e){var i={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(i={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(i.a=Lt(e[3]))):(i=_r(e,{r:0,g:0,b:0,a:1}),i.a=Lt(i.a)),i}function nf(e){return e.charAt(0)==="r"?tf(e):Kd(e)}var Ee=class e{constructor(i){if(i instanceof e)return i;let t=typeof i,s;t==="object"?s=mr(i):t==="string"&&(s=jd(i)||Jd(i)||nf(i)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var i=_r(this._rgb);return i&&(i.a=xt(i.a)),i}set rgb(i){this._rgb=mr(i)}rgbString(){return this._valid?ef(this._rgb):void 0}hexString(){return this._valid?Nd(this._rgb):void 0}hslString(){return this._valid?qd(this._rgb):void 0}mix(i,t){if(i){let s=this.rgb,n=i.rgb,o,r=t===o?.5:t,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(i,t){return i&&(this._rgb=sf(this._rgb,i._rgb,t)),this}clone(){return new e(this.rgb)}alpha(i){return this._rgb.a=Lt(i),this}clearer(i){let t=this._rgb;return t.a*=1-i,this}greyscale(){let i=this._rgb,t=Re(i.r*.3+i.g*.59+i.b*.11);return i.r=i.g=i.b=t,this}opaquer(i){let t=this._rgb;return t.a*=1+i,this}negate(){let i=this._rgb;return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,this}lighten(i){return gi(this._rgb,2,i),this}darken(i){return gi(this._rgb,2,-i),this}saturate(i){return gi(this._rgb,1,i),this}desaturate(i){return gi(this._rgb,1,-i),this}rotate(i){return Gd(this._rgb,i),this}};function ft(){}var Dr=(()=>{let e=0;return()=>e++})();function T(e){return e===null||typeof e>"u"}function I(e){if(Array.isArray&&Array.isArray(e))return!0;let i=Object.prototype.toString.call(e);return i.slice(0,7)==="[object"&&i.slice(-6)==="Array]"}function A(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function V(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Q(e,i){return V(e)?e:i}function C(e,i){return typeof e>"u"?i:e}var Tr=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/i,fs=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*i:+e;function R(e,i,t){if(e&&typeof e.call=="function")return e.apply(t,i)}function L(e,i,t,s){let n,o,r;if(I(e))if(o=e.length,s)for(n=o-1;n>=0;n--)i.call(t,e[n],n);else for(n=0;ne,x:e=>e.x,y:e=>e.y};function af(e){let i=e.split("."),t=[],s="";for(let n of i)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(t.push(s),s="");return t}function lf(e){let i=af(e);return t=>{for(let s of i){if(s==="")break;t=t&&t[s]}return t}}function vt(e,i){return(yr[i]||(yr[i]=lf(i)))(e)}function wi(e){return e.charAt(0).toUpperCase()+e.slice(1)}var pe=e=>typeof e<"u",_t=e=>typeof e=="function",us=(e,i)=>{if(e.size!==i.size)return!1;for(let t of e)if(!i.has(t))return!1;return!0};function Er(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}var F=Math.PI,z=2*F,cf=z+F,yi=Number.POSITIVE_INFINITY,hf=F/180,H=F/2,Wt=F/4,vr=F*2/3,yt=Math.log10,at=Math.sign;function ge(e,i,t){return Math.abs(e-i)n-o).pop(),i}function Ut(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Ir(e,i){let t=Math.round(e);return t-i<=e&&t+i>=e}function gs(e,i,t){let s,n,o;for(s=0,n=e.length;sl&&c=Math.min(i,t)-s&&e<=Math.max(i,t)+s}function ki(e,i,t){t=t||(r=>e[r]1;)o=n+s>>1,t(o)?n=o:s=o;return{lo:n,hi:s}}var ht=(e,i,t,s)=>ki(e,t,s?n=>{let o=e[n][i];return oe[n][i]ki(e,t,s=>e[s][i]>=t);function Br(e,i,t){let s=0,n=e.length;for(;ss&&e[n-1]>t;)n--;return s>0||n{let s="_onData"+wi(t),n=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...o){let r=n.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function xs(e,i){let t=e._chartjs;if(!t)return;let s=t.listeners,n=s.indexOf(i);n!==-1&&s.splice(n,1),!(s.length>0)&&(jr.forEach(o=>{delete e[o]}),delete e._chartjs)}function _s(e){let i=new Set(e);return i.size===e.length?e:Array.from(i)}var ys=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function vs(e,i){let t=[],s=!1;return function(...n){t=n,s||(s=!0,ys.call(window,()=>{s=!1,e.apply(i,t)}))}}function Nr(e,i){let t;return function(...s){return i?(clearTimeout(t),t=setTimeout(e,i,s)):e.apply(this,s),i}}var Ci=e=>e==="start"?"left":e==="end"?"right":"center",X=(e,i,t)=>e==="start"?i:e==="end"?t:(i+t)/2,Hr=(e,i,t,s)=>e===(s?"left":"right")?t:e==="center"?(i+t)/2:i;function Ms(e,i,t){let s=i.length,n=0,o=s;if(e._sorted){let{iScale:r,_parsed:a}=e,l=r.axis,{min:c,max:h,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(n=Y(Math.min(ht(a,l,c).lo,t?s:ht(i,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=Y(Math.max(ht(a,r.axis,h,!0).hi+1,t?0:ht(i,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function ws(e){let{xScale:i,yScale:t,_scaleRanges:s}=e,n={xmin:i.min,xmax:i.max,ymin:t.min,ymax:t.max};if(!s)return e._scaleRanges=n,!0;let o=s.xmin!==i.min||s.xmax!==i.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,n),o}var mi=e=>e===0||e===1,Mr=(e,i,t)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-i)*z/t)),wr=(e,i,t)=>Math.pow(2,-10*e)*Math.sin((e-i)*z/t)+1,he={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*H)+1,easeOutSine:e=>Math.sin(e*H),easeInOutSine:e=>-.5*(Math.cos(F*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>mi(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>mi(e)?e:Mr(e,.075,.3),easeOutElastic:e=>mi(e)?e:wr(e,.075,.3),easeInOutElastic(e){return mi(e)?e:e<.5?.5*Mr(e*2,.1125,.45):.5+.5*wr(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let i=1.70158;return(e/=.5)<1?.5*(e*e*(((i*=1.525)+1)*e-i)):.5*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)},easeInBounce:e=>1-he.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?he.easeInBounce(e*2)*.5:he.easeOutBounce(e*2-1)*.5+.5};function Ss(e){if(e&&typeof e=="object"){let i=e.toString();return i==="[object CanvasPattern]"||i==="[object CanvasGradient]"}return!1}function ks(e){return Ss(e)?e:new Ee(e)}function cs(e){return Ss(e)?e:new Ee(e).saturate(.5).darken(.1).hexString()}var ff=["x","y","borderWidth","radius","tension"],uf=["color","borderColor","backgroundColor"];function pf(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:i=>i!=="onProgress"&&i!=="onComplete"&&i!=="fn"}),e.set("animations",{colors:{type:"color",properties:uf},numbers:{type:"number",properties:ff}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:i=>i|0}}}})}function gf(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Sr=new Map;function mf(e,i){i=i||{};let t=e+JSON.stringify(i),s=Sr.get(t);return s||(s=new Intl.NumberFormat(e,i),Sr.set(t,s)),s}function be(e,i,t){return mf(i,t).format(e)}var Wr={values(e){return I(e)?e:""+e},numeric(e,i,t){if(e===0)return"0";let s=this.chart.options.locale,n,o=e;if(t.length>1){let c=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=bf(e,t)}let r=yt(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),be(e,s,l)},logarithmic(e,i,t){if(e===0)return"0";let s=t[i].significand||e/Math.pow(10,Math.floor(yt(e)));return[1,2,3,5,10,15].includes(s)||i>.8*t.length?Wr.numeric.call(this,e,i,t):""}};function bf(e,i){let t=i.length>3?i[2].value-i[1].value:i[1].value-i[0].value;return Math.abs(t)>=1&&e!==Math.floor(e)&&(t=e-Math.floor(e)),t}var Be={formatters:Wr};function xf(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(i,t)=>t.lineWidth,tickColor:(i,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Be.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:i=>!i.startsWith("before")&&!i.startsWith("after")&&i!=="callback"&&i!=="parser",_indexable:i=>i!=="borderDash"&&i!=="tickBorderDash"&&i!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:i=>i!=="backdropPadding"&&i!=="callback",_indexable:i=>i!=="backdropPadding"})}var Rt=Object.create(null),Pi=Object.create(null);function Ie(e,i){if(!i)return e;let t=i.split(".");for(let s=0,n=t.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>cs(n.backgroundColor),this.hoverBorderColor=(s,n)=>cs(n.borderColor),this.hoverColor=(s,n)=>cs(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(i),this.apply(t)}set(i,t){return hs(this,i,t)}get(i){return Ie(this,i)}describe(i,t){return hs(Pi,i,t)}override(i,t){return hs(Rt,i,t)}route(i,t,s,n){let o=Ie(this,i),r=Ie(this,s),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){let l=this[a],c=r[n];return A(l)?Object.assign({},c,l):C(l,c)},set(l){this[a]=l}}})}apply(i){i.forEach(t=>t(this))}},N=new ds({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[pf,gf,xf]);function _f(e){return!e||T(e.size)||T(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Fe(e,i,t,s,n){let o=i[n];return o||(o=i[n]=e.measureText(n).width,t.push(n)),o>s&&(s=o),s}function $r(e,i,t,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==i&&(n=s.data={},o=s.garbageCollect=[],s.font=i),e.save(),e.font=i;let r=0,a=t.length,l,c,h,d,f;for(l=0;lt.length){for(l=0;l0&&e.stroke()}}function dt(e,i,t){return t=t||.5,!i||e&&e.x>i.left-t&&e.xi.top-t&&e.y0&&o.strokeColor!=="",l,c;for(e.save(),e.font=n.string,yf(e,o),l=0;l+e||0;function Ai(e,i){let t={},s=A(i),n=s?Object.keys(i):i,o=A(e)?s?r=>C(e[r],e[i[r]]):r=>e[r]:()=>e;for(let r of n)t[r]=Cf(o(r));return t}function Os(e){return Ai(e,{top:"y",right:"x",bottom:"y",left:"x"})}function zt(e){return Ai(e,["topLeft","topRight","bottomLeft","bottomRight"])}function K(e){let i=Os(e);return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function $(e,i){e=e||{},i=i||N.font;let t=C(e.size,i.size);typeof t=="string"&&(t=parseInt(t,10));let s=C(e.style,i.style);s&&!(""+s).match(Sf)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);let n={family:C(e.family,i.family),lineHeight:kf(C(e.lineHeight,i.lineHeight),t),size:t,style:s,weight:C(e.weight,i.weight),string:""};return n.string=_f(n),n}function _e(e,i,t,s){let n=!0,o,r,a;for(o=0,r=e.length;ot&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function Mt(e,i){return Object.assign(Object.create(e),i)}function Di(e,i=[""],t,s,n=()=>e[0]){let o=t||e;typeof s>"u"&&(s=qr("_fallback",e));let r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Di([a,...e],i,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return Kr(a,l,()=>Rf(l,i,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return Cr(a).includes(l)},ownKeys(a){return Cr(a)},set(a,l,c){let h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function Yt(e,i,t,s){let n={_cacheable:!1,_proxy:e,_context:i,_subProxy:t,_stack:new Set,_descriptors:As(e,s),setContext:o=>Yt(e,o,t,s),override:o=>Yt(e.override(o),i,t,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete e[r],!0},get(o,r,a){return Kr(o,r,()=>Of(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(e,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,r)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,r){return Reflect.has(e,r)},ownKeys(){return Reflect.ownKeys(e)},set(o,r,a){return e[r]=a,delete o[r],!0}})}function As(e,i={scriptable:!0,indexable:!0}){let{_scriptable:t=i.scriptable,_indexable:s=i.indexable,_allKeys:n=i.allKeys}=e;return{allKeys:n,scriptable:t,indexable:s,isScriptable:_t(t)?t:()=>t,isIndexable:_t(s)?s:()=>s}}var Pf=(e,i)=>e?e+wi(i):i,Ds=(e,i)=>A(i)&&e!=="adapters"&&(Object.getPrototypeOf(i)===null||i.constructor===Object);function Kr(e,i,t){if(Object.prototype.hasOwnProperty.call(e,i)||i==="constructor")return e[i];let s=t();return e[i]=s,s}function Of(e,i,t){let{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=e,a=s[i];return _t(a)&&r.isScriptable(i)&&(a=Af(i,a,e,t)),I(a)&&a.length&&(a=Df(i,a,e,r.isIndexable)),Ds(i,a)&&(a=Yt(a,n,o&&o[i],r)),a}function Af(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_stack:a}=t;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=i(o,r||s);return a.delete(e),Ds(e,l)&&(l=Ts(n._scopes,n,e,l)),l}function Df(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=t;if(typeof o.index<"u"&&s(e))return i[o.index%i.length];if(A(i[0])){let l=i,c=n._scopes.filter(h=>h!==l);i=[];for(let h of l){let d=Ts(c,n,e,h);i.push(Yt(d,o,r&&r[e],a))}}return i}function Gr(e,i,t){return _t(e)?e(i,t):e}var Tf=(e,i)=>e===!0?i:typeof e=="string"?vt(i,e):void 0;function Lf(e,i,t,s,n){for(let o of i){let r=Tf(t,o);if(r){e.add(r);let a=Gr(r._fallback,t,n);if(typeof a<"u"&&a!==t&&a!==s)return a}else if(r===!1&&typeof s<"u"&&t!==s)return null}return!1}function Ts(e,i,t,s){let n=i._rootScopes,o=Gr(i._fallback,t,s),r=[...e,...n],a=new Set;a.add(s);let l=kr(a,r,t,o||t,s);return l===null||typeof o<"u"&&o!==t&&(l=kr(a,r,o,l,s),l===null)?!1:Di(Array.from(a),[""],n,o,()=>Ef(i,t,s))}function kr(e,i,t,s,n){for(;t;)t=Lf(e,i,t,s,n);return t}function Ef(e,i,t){let s=e._getTarget();i in s||(s[i]={});let n=s[i];return I(n)&&A(t)?t:n||{}}function Rf(e,i,t,s){let n;for(let o of i)if(n=qr(Pf(o,e),t),typeof n<"u")return Ds(e,n)?Ts(t,s,e,n):n}function qr(e,i){for(let t of i){if(!t)continue;let s=t[e];if(typeof s<"u")return s}}function Cr(e){let i=e._keys;return i||(i=e._keys=If(e._scopes)),i}function If(e){let i=new Set;for(let t of e)for(let s of Object.keys(t).filter(n=>!n.startsWith("_")))i.add(s);return Array.from(i)}function Ls(e,i,t,s){let{iScale:n}=e,{key:o="r"}=this._parsing,r=new Array(s),a,l,c,h;for(a=0,l=s;aie==="x"?"y":"x";function zf(e,i,t,s){let n=e.skip?i:e,o=i,r=t.skip?i:t,a=vi(o,n),l=vi(r,o),c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;let d=s*c,f=s*h;return{previous:{x:o.x-d*(r.x-n.x),y:o.y-d*(r.y-n.y)},next:{x:o.x+f*(r.x-n.x),y:o.y+f*(r.y-n.y)}}}function Bf(e,i,t){let s=e.length,n,o,r,a,l,c=fe(e,0);for(let h=0;h!c.skip)),i.cubicInterpolationMode==="monotone")Vf(e,n);else{let c=s?e[e.length-1]:e[0];for(o=0,r=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function Hf(e,i){return Ei(e).getPropertyValue(i)}var Wf=["top","right","bottom","left"];function $t(e,i,t){let s={};t=t?"-"+t:"";for(let n=0;n<4;n++){let o=Wf[n];s[o]=parseFloat(e[i+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}var $f=(e,i,t)=>(e>0||i>0)&&(!t||!t.shadowRoot);function Yf(e,i){let t=e.touches,s=t&&t.length?t[0]:e,{offsetX:n,offsetY:o}=s,r=!1,a,l;if($f(n,o,e.target))a=n,l=o;else{let c=i.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Bt(e,i){if("native"in e)return e;let{canvas:t,currentDevicePixelRatio:s}=i,n=Ei(t),o=n.boxSizing==="border-box",r=$t(n,"padding"),a=$t(n,"border","width"),{x:l,y:c,box:h}=Yf(e,t),d=r.left+(h&&a.left),f=r.top+(h&&a.top),{width:u,height:p}=i;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-d)/u*t.width/s),y:Math.round((c-f)/p*t.height/s)}}function Uf(e,i,t){let s,n;if(i===void 0||t===void 0){let o=e&&Li(e);if(!o)i=e.clientWidth,t=e.clientHeight;else{let r=o.getBoundingClientRect(),a=Ei(o),l=$t(a,"border","width"),c=$t(a,"padding");i=r.width-c.width-l.width,t=r.height-c.height-l.height,s=Mi(a.maxWidth,o,"clientWidth"),n=Mi(a.maxHeight,o,"clientHeight")}}return{width:i,height:t,maxWidth:s||yi,maxHeight:n||yi}}var xi=e=>Math.round(e*10)/10;function Qr(e,i,t,s){let n=Ei(e),o=$t(n,"margin"),r=Mi(n.maxWidth,e,"clientWidth")||yi,a=Mi(n.maxHeight,e,"clientHeight")||yi,l=Uf(e,i,t),{width:c,height:h}=l;if(n.boxSizing==="content-box"){let f=$t(n,"border","width"),u=$t(n,"padding");c-=u.width+f.width,h-=u.height+f.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=xi(Math.min(c,r,l.maxWidth)),h=xi(Math.min(h,a,l.maxHeight)),c&&!h&&(h=xi(c/2)),(i!==void 0||t!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=xi(Math.floor(h*s))),{width:c,height:h}}function Es(e,i,t){let s=i||1,n=Math.floor(e.height*s),o=Math.floor(e.width*s);e.height=Math.floor(e.height),e.width=Math.floor(e.width);let r=e.canvas;return r.style&&(t||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(e.currentDevicePixelRatio=s,r.height=n,r.width=o,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}var ta=function(){let e=!1;try{let i={get passive(){return e=!0,!1}};Ti()&&(window.addEventListener("test",null,i),window.removeEventListener("test",null,i))}catch{}return e}();function Rs(e,i){let t=Hf(e,i),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Et(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:e.y+t*(i.y-e.y)}}function ea(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:s==="middle"?t<.5?e.y:i.y:s==="after"?t<1?e.y:i.y:t>0?i.y:e.y}}function ia(e,i,t,s){let n={x:e.cp2x,y:e.cp2y},o={x:i.cp1x,y:i.cp1y},r=Et(e,n,t),a=Et(n,o,t),l=Et(o,i,t),c=Et(r,a,t),h=Et(a,l,t);return Et(c,h,t)}var Xf=function(e,i){return{x(t){return e+e+i-t},setWidth(t){i=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,s){return t-s},leftForLtr(t,s){return t-s}}},Kf=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,i){return e+i},leftForLtr(e,i){return e}}};function Xt(e,i,t){return e?Xf(i,t):Kf()}function Is(e,i){let t,s;(i==="ltr"||i==="rtl")&&(t=e.canvas.style,s=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",i,"important"),e.prevTextDirection=s)}function Fs(e,i){i!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",i[0],i[1]))}function sa(e){return e==="angle"?{between:me,compare:df,normalize:J}:{between:ut,compare:(i,t)=>i-t,normalize:i=>i}}function Pr({start:e,end:i,count:t,loop:s,style:n}){return{start:e%t,end:i%t,loop:s&&(i-e+1)%t===0,style:n}}function Gf(e,i,t){let{property:s,start:n,end:o}=t,{between:r,normalize:a}=sa(s),l=i.length,{start:c,end:h,loop:d}=e,f,u;if(d){for(c+=l,h+=l,f=0,u=l;fl(n,y,x)&&a(n,y)!==0,_=()=>a(o,x)===0||l(o,y,x),v=()=>g||M(),S=()=>!g||_();for(let w=h,k=h;w<=d;++w)b=i[w%r],!b.skip&&(x=c(b[s]),x!==y&&(g=l(x,n,o),m===null&&v()&&(m=a(x,n)===0?w:k),m!==null&&S()&&(p.push(Pr({start:m,end:w,loop:f,count:r,style:u})),m=null),k=w,y=x));return m!==null&&p.push(Pr({start:m,end:d,loop:f,count:r,style:u})),p}function Bs(e,i){let t=[],s=e.segments;for(let n=0;nn&&e[o%i].skip;)o--;return o%=i,{start:n,end:o}}function Zf(e,i,t,s){let n=e.length,o=[],r=i,a=e[i],l;for(l=i+1;l<=t;++l){let c=e[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:i%n,end:(l-1)%n,loop:s}),i=r=c.stop?l:null):(r=l,a.skip&&(i=l)),a=c}return r!==null&&o.push({start:i%n,end:r%n,loop:s}),o}function na(e,i){let t=e.points,s=e.options.spanGaps,n=t.length;if(!n)return[];let o=!!e._loop,{start:r,end:a}=qf(t,n,o,s);if(s===!0)return Or(e,[{start:r,end:a,loop:o}],t,i);let l=aa({chart:i,initial:t.initial,numSteps:r,currentStep:Math.min(s-t.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=ys.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(i=Date.now()){let t=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;let o=s.items,r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(i),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,i,"progress")),o.length||(s.running=!1,this._notify(n,s,i,"complete"),s.initial=!1),t+=o.length}),this._lastDate=i,t===0&&(this._running=!1)}_getAnims(i){let t=this._charts,s=t.get(i);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(i,s)),s}listen(i,t,s){this._getAnims(i).listeners[t].push(s)}add(i,t){!t||!t.length||this._getAnims(i).items.push(...t)}has(i){return this._getAnims(i).items.length>0}start(i){let t=this._charts.get(i);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(i){if(!this._running)return!1;let t=this._charts.get(i);return!(!t||!t.running||!t.items.length)}stop(i){let t=this._charts.get(i);if(!t||!t.items.length)return;let s=t.items,n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(i,t,Date.now(),"complete")}remove(i){return this._charts.delete(i)}},wt=new Ks,oa="transparent",tu={boolean(e,i,t){return t>.5?i:e},color(e,i,t){let s=ks(e||oa),n=s.valid&&ks(i||oa);return n&&n.valid?n.mix(s,t).hexString():i},number(e,i,t){return e+(i-e)*t}},Gs=class{constructor(i,t,s,n){let o=t[s];n=_e([i.to,n,o,i.from]);let r=_e([i.from,o,n]);this._active=!0,this._fn=i.fn||tu[i.type||typeof r],this._easing=he[i.easing]||he.linear,this._start=Math.floor(Date.now()+(i.delay||0)),this._duration=this._total=Math.floor(i.duration),this._loop=!!i.loop,this._target=t,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(i,t,s){if(this._active){this._notify(!1);let n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,i.duration)),this._total+=o,this._loop=!!i.loop,this._to=_e([i.to,t,n,i.from]),this._from=_e([i.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(i){let t=i-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to,l;if(this._active=o!==a&&(r||t1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){let i=this._promises||(this._promises=[]);return new Promise((t,s)=>{i.push({res:t,rej:s})})}_notify(i){let t=i?"res":"rej",s=this._promises||[];for(let n=0;n{let o=i[n];if(!A(o))return;let r={};for(let a of t)r[a]=o[a];(I(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(i,t){let s=t.options,n=iu(i,s);if(!n)return[];let o=this._createAnimations(n,s);return s.$shared&&eu(i.options.$animations,s).then(()=>{i.options=s},()=>{}),o}_createAnimations(i,t){let s=this._properties,n=[],o=i.$animations||(i.$animations={}),r=Object.keys(t),a=Date.now(),l;for(l=r.length-1;l>=0;--l){let c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(i,t));continue}let h=t[c],d=o[c],f=s.get(c);if(d)if(f&&d.active()){d.update(f,h,a);continue}else d.cancel();if(!f||!f.duration){i[c]=h;continue}o[c]=d=new Gs(f,i,c,h),n.push(d)}return n}update(i,t){if(this._properties.size===0){Object.assign(i,t);return}let s=this._createAnimations(i,t);if(s.length)return wt.add(this._chart,s),!0}};function eu(e,i){let t=[],s=Object.keys(i);for(let n=0;n0||!t&&o<0)return n.index}return null}function ha(e,i){let{chart:t,_cachedMeta:s}=e,n=t._stacks||(t._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=ru(o,r,s),d=i.length,f;for(let u=0;ut[s].axis===i).shift()}function cu(e,i){return Mt(e,{active:!1,dataset:void 0,datasetIndex:i,index:i,mode:"default",type:"dataset"})}function hu(e,i,t){return Mt(e,{active:!1,dataIndex:i,parsed:void 0,raw:void 0,element:t,index:i,mode:"default",type:"data"})}function Ne(e,i){let t=e.controller.index,s=e.vScale&&e.vScale.axis;if(s){i=i||e._parsed;for(let n of i){let o=n._stacks;if(!o||o[s]===void 0||o[s][t]===void 0)return;delete o[s][t],o[s]._visualValues!==void 0&&o[s]._visualValues[t]!==void 0&&delete o[s]._visualValues[t]}}}var Vs=e=>e==="reset"||e==="none",da=(e,i)=>i?e:Object.assign({},e),du=(e,i,t)=>e&&!i.hidden&&i._stacked&&{keys:rl(t,!0),values:null},Vt=(()=>{class e{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,s){this.chart=t,this._ctx=t.ctx,this.index=s,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=la(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Ne(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,s=this._cachedMeta,n=this.getDataset(),o=(f,u,p,g)=>f==="x"?u:f==="r"?g:p,r=s.xAxisID=C(n.xAxisID,js(t,"x")),a=s.yAxisID=C(n.yAxisID,js(t,"y")),l=s.rAxisID=C(n.rAxisID,js(t,"r")),c=s.indexAxis,h=s.iAxisID=o(c,r,a,l),d=s.vAxisID=o(c,a,r,l);s.xScale=this.getScaleForId(r),s.yScale=this.getScaleForId(a),s.rScale=this.getScaleForId(l),s.iScale=this.getScaleForId(h),s.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let s=this._cachedMeta;return t===s.iScale?s.vScale:s.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&xs(this._data,this),t._stacked&&Ne(t)}_dataCheck(){let t=this.getDataset(),s=t.data||(t.data=[]),n=this._data;if(A(s)){let o=this._cachedMeta;this._data=ou(s,o)}else if(n!==s){if(n){xs(n,this);let o=this._cachedMeta;Ne(o),o._parsed=[]}s&&Object.isExtensible(s)&&Vr(s,this),this._syncList=[],this._data=s}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let s=this._cachedMeta,n=this.getDataset(),o=!1;this._dataCheck();let r=s._stacked;s._stacked=la(s.vScale,s),s.stack!==n.stack&&(o=!0,Ne(s),s.stack=n.stack),this._resyncElements(t),(o||r!==s._stacked)&&ha(this,s._parsed)}configure(){let t=this.chart.config,s=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),s,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,s){let{_cachedMeta:n,_data:o}=this,{iScale:r,_stacked:a}=n,l=r.axis,c=t===0&&s===o.length?!0:n._sorted,h=t>0&&n._parsed[t-1],d,f,u;if(this._parsing===!1)n._parsed=o,n._sorted=!0,u=o;else{I(o[t])?u=this.parseArrayData(n,o,t,s):A(o[t])?u=this.parseObjectData(n,o,t,s):u=this.parsePrimitiveData(n,o,t,s);let p=()=>f[l]===null||h&&f[l]m||f=0;--u)if(!g()){this.updateRangeFromParsed(h,t,p,c);break}}return h}getAllParsedValues(t){let s=this._cachedMeta._parsed,n=[],o,r,a;for(o=0,r=s.length;o=0&&tthis.getContext(n,o,s),m=h.resolveNamedOptions(u,p,g,f);return m.$shared&&(m.$shared=c,r[a]=Object.freeze(da(m,c))),m}_resolveAnimations(t,s,n){let o=this.chart,r=this._cachedDataOpts,a=`animation-${s}`,l=r[a];if(l)return l;let c;if(o.options.animation!==!1){let d=this.chart.config,f=d.datasetAnimationScopeKeys(this._type,s),u=d.getOptionScopes(this.getDataset(),f);c=d.createResolver(u,this.getContext(t,n,s))}let h=new Wi(o,c&&c.animations);return c&&c._cacheable&&(r[a]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,s){return!s||Vs(t)||this.chart._animationsDisabled}_getSharedOptions(t,s){let n=this.resolveDataElementOptions(t,s),o=this._sharedOptions,r=this.getSharedOptions(n),a=this.includeOptions(s,r)||r!==o;return this.updateSharedOptions(r,s,n),{sharedOptions:r,includeOptions:a}}updateElement(t,s,n,o){Vs(o)?Object.assign(t,n):this._resolveAnimations(s,o).update(t,n)}updateSharedOptions(t,s,n){t&&!Vs(s)&&this._resolveAnimations(void 0,s).update(t,n)}_setStyle(t,s,n,o){t.active=o;let r=this.getStyle(s,o);this._resolveAnimations(s,n,o).update(t,{options:!o&&this.getSharedOptions(r)||r})}removeHoverStyle(t,s,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,s,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let s=this._data,n=this._cachedMeta.data;for(let[l,c,h]of this._syncList)this[l](c,h);this._syncList=[];let o=n.length,r=s.length,a=Math.min(r,o);a&&this.parse(0,a),r>o?this._insertElements(o,r-o,t):r{for(h.length+=s,l=h.length-1;l>=a;l--)h[l]=h[l-s]};for(c(r),l=t;ln-o))}return e._cache.$bar}function uu(e){let i=e.iScale,t=fu(i,e.type),s=i._length,n,o,r,a,l=()=>{r===32767||r===-32768||(pe(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=t.length;n0?n[e-1]:null,a=eMath.abs(a)&&(l=a,c=r),i[t.axis]=c,i._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function al(e,i,t,s){return I(e)?mu(e,i,t,s):i[t.axis]=t.parse(e,s),i}function fa(e,i,t,s){let n=e.iScale,o=e.vScale,r=n.getLabels(),a=n===o,l=[],c,h,d,f;for(c=t,h=t+s;c=t?1:-1)}function xu(e){let i,t,s,n,o;return e.horizontal?(i=e.base>e.x,t="left",s="right"):(i=e.base{class e extends Vt{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,s,n,o){return fa(t,s,n,o)}parseArrayData(t,s,n,o){return fa(t,s,n,o)}parseObjectData(t,s,n,o){let{iScale:r,vScale:a}=t,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,h=r.axis==="x"?l:c,d=a.axis==="x"?l:c,f=[],u,p,g,m;for(u=n,p=n+o;uc.controller.options.grouped),r=n.options.stacked,a=[],l=c=>{let h=c.controller.getParsed(s),d=h&&h[c.vScale.axis];if(T(d)||isNaN(d))return!0};for(let c of o)if(!(s!==void 0&&l(c))&&((r===!1||a.indexOf(c.stack)===-1||r===void 0&&c.stack===void 0)&&a.push(c.stack),c.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,s,n){let o=this._getStacks(t,n),r=s!==void 0?o.indexOf(s):-1;return r===-1?o.length-1:r}_getRuler(){let t=this.options,s=this._cachedMeta,n=s.iScale,o=[],r,a;for(r=0,a=s.data.length;r{class e extends Vt{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,s,n,o){let r=super.parsePrimitiveData(t,s,n,o);for(let a=0;a=0;--n)s=Math.max(s,t[n].size(this.resolveDataElementOptions(n))/2);return s>0&&s}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y),h=a._custom;return{label:n[t]||"",value:"("+l+", "+c+(h?", "+h:"")+")"}}update(t){let s=this._cachedMeta.data;this.updateElements(s,0,s.length,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(s,o),d=a.axis,f=l.axis;for(let u=s;ume(y,a,l,!0)?1:Math.max(M,M*t,_,_*t),p=(y,M,_)=>me(y,a,l,!0)?-1:Math.min(M,M*t,_,_*t),g=u(0,c,d),m=u(H,h,f),x=p(F,c,d),b=p(F+H,h,f);s=(g-x)/2,n=(m-b)/2,o=-(g+x)/2,r=-(m+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:r}}var mn=(()=>{class e extends Vt{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}}};constructor(t,s){super(t,s),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,s){let n=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=n;else{let r=c=>+n[c];if(A(n[t])){let{key:c="value"}=this._parsing;r=h=>+vt(n[h],c)}let a,l;for(a=t,l=t+s;a0&&!isNaN(t)?z*(Math.abs(t)/s):0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=be(s._parsed[t],n.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let s=0,n=this.chart,o,r,a,l,c;if(!t){for(o=0,r=n.data.datasets.length;o{class e extends Vt{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let s=this._cachedMeta,{dataset:n,data:o=[],_dataset:r}=s,a=this.chart._animationsDisabled,{start:l,count:c}=Ms(s,o,a);this._drawStart=l,this._drawCount=c,ws(s)&&(l=0,c=o.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!r._decimated,n.points=o;let h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:h},t),this.updateElements(o,l,c,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,{sharedOptions:d,includeOptions:f}=this._getSharedOptions(s,o),u=a.axis,p=l.axis,{spanGaps:g,segment:m}=this.options,x=Ut(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||r||o==="none",y=s+n,M=t.length,_=s>0&&this.getParsed(s-1);for(let v=0;v=y){w.skip=!0;continue}let k=this.getParsed(v),O=T(k[p]),P=w[u]=a.getPixelForValue(k[u],v),D=w[p]=r||O?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,k,c):k[p],v);w.skip=isNaN(P)||isNaN(D)||O,w.stop=v>0&&Math.abs(k[u]-_[u])>x,m&&(w.parsed=k,w.raw=h.data[v]),f&&(w.options=d||this.resolveDataElementOptions(v,S.active?"active":o)),b||this.updateElement(S,v,w,o),_=k}}getMaxOverflow(){let t=this._cachedMeta,s=t.dataset,n=s.options&&s.options.borderWidth||0,o=t.data||[];if(!o.length)return n;let r=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(n,r,a)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}return e})(),ll=(()=>{class e extends Vt{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,s){super(t,s),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=be(s._parsed[t].r,n.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,s,n,o){return Ls.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta.data;this._updateRadius(),this.updateElements(s,0,s.length,t)}getMinMax(){let t=this._cachedMeta,s={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((n,o)=>{let r=this.getParsed(o).r;!isNaN(r)&&this.chart.getDataVisibility(o)&&(rs.max&&(s.max=r))}),s}_updateRadius(){let t=this.chart,s=t.chartArea,n=t.options,o=Math.min(s.right-s.left,s.bottom-s.top),r=Math.max(o/2,0),a=Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0),l=(r-a)/t.getVisibleDatasetCount();this.outerRadius=r-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(t,s,n,o){let r=o==="reset",a=this.chart,c=a.options.animation,h=this._cachedMeta.rScale,d=h.xCenter,f=h.yCenter,u=h.getIndexAngle(0)-.5*F,p=u,g,m=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(t,s,n){return this.chart.getDataVisibility(t)?ot(this.resolveDataElementOptions(t,s).angle||n):0}}return e})(),Cu=(()=>{class e extends mn{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}return e})(),Pu=(()=>{class e extends Vt{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){let s=this._cachedMeta.vScale,n=this.getParsed(t);return{label:s.getLabels()[t],value:""+s.getLabelForValue(n[s.axis])}}parseObjectData(t,s,n,o){return Ls.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta,n=s.dataset,o=s.data||[],r=s.iScale.getLabels();if(n.points=o,t!=="resize"){let a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);let l={_loop:!0,_fullLoop:r.length===o.length,options:a};this.updateElement(n,void 0,l,t)}this.updateElements(o,0,o.length,t)}updateElements(t,s,n,o){let r=this._cachedMeta.rScale,a=o==="reset";for(let l=s;l{class e extends Vt{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y);return{label:n[t]||"",value:"("+l+", "+c+")"}}update(t){let s=this._cachedMeta,{data:n=[]}=s,o=this.chart._animationsDisabled,{start:r,count:a}=Ms(s,n,o);if(this._drawStart=r,this._drawCount=a,ws(s)&&(r=0,a=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:l,_dataset:c}=s;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=n;let h=this.resolveDatasetElementOptions(t);h.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:h},t)}else this.datasetElementType&&(delete s.dataset,this.datasetElementType=!1);this.updateElements(n,r,a,t)}addElements(){let{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,d=this.resolveDataElementOptions(s,o),f=this.getSharedOptions(d),u=this.includeOptions(o,f),p=a.axis,g=l.axis,{spanGaps:m,segment:x}=this.options,b=Ut(m)?m:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||r||o==="none",M=s>0&&this.getParsed(s-1);for(let _=s;_0&&Math.abs(S[p]-M[p])>b,x&&(w.parsed=S,w.raw=h.data[_]),u&&(w.options=f||this.resolveDataElementOptions(_,v.active?"active":o)),y||this.updateElement(v,_,w,o),M=S}this.updateSharedOptions(f,o,d)}getMaxOverflow(){let t=this._cachedMeta,s=t.data||[];if(!this.options.showLine){let l=0;for(let c=s.length-1;c>=0;--c)l=Math.max(l,s[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}let n=t.dataset,o=n.options&&n.options.borderWidth||0;if(!s.length)return o;let r=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(o,r,a)/2}}return e})(),Au=Object.freeze({__proto__:null,BarController:Mu,BubbleController:wu,DoughnutController:mn,LineController:ku,PieController:Cu,PolarAreaController:ll,RadarController:Pu,ScatterController:Ou});function Kt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var qs=class e{static override(i){Object.assign(e.prototype,i)}options;constructor(i){this.options=i||{}}init(){}formats(){return Kt()}parse(){return Kt()}format(){return Kt()}add(){return Kt()}diff(){return Kt()}startOf(){return Kt()}endOf(){return Kt()}},Du={_date:qs};function Tu(e,i,t,s){let{controller:n,data:o,_sorted:r}=e,a=n._cachedMeta.iScale;if(a&&i===a.axis&&i!=="r"&&r&&o.length){let l=a._reversePixels?zr:ht;if(s){if(n._sharedOptions){let c=o[0],h=typeof c.getRange=="function"&&c.getRange(i);if(h){let d=l(o,i,t-h),f=l(o,i,t+h);return{lo:d.lo,hi:f.hi}}}}else return l(o,i,t)}return{lo:0,hi:o.length-1}}function Ze(e,i,t,s,n){let o=e.getSortedVisibleDatasetMetas(),r=t[i];for(let a=0,l=o.length;a{l[r](i[t],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(i.x,i.y,n))}),s&&!a?[]:o}var Iu={evaluateInteractionItems:Ze,modes:{index(e,i,t,s){let n=Bt(i,e),o=t.axis||"x",r=t.includeInvisible||!1,a=t.intersect?Hs(e,n,o,s,r):Ws(e,n,o,!1,s,r),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{let h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(e,i,t,s){let n=Bt(i,e),o=t.axis||"xy",r=t.includeInvisible||!1,a=t.intersect?Hs(e,n,o,s,r):Ws(e,n,o,!1,s,r);if(a.length>0){let l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let h=0;ht.pos===i)}function ma(e,i){return e.filter(t=>cl.indexOf(t.pos)===-1&&t.box.axis===i)}function We(e,i){return e.sort((t,s)=>{let n=i?s:t,o=i?t:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Fu(e){let i=[],t,s,n,o,r,a;for(t=0,s=(e||[]).length;tc.box.fullSize),!0),s=We(He(i,"left"),!0),n=We(He(i,"right")),o=We(He(i,"top"),!0),r=We(He(i,"bottom")),a=ma(i,"x"),l=ma(i,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:He(i,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function ba(e,i,t,s){return Math.max(e[t],i[t])+Math.max(e[s],i[s])}function hl(e,i){e.top=Math.max(e.top,i.top),e.left=Math.max(e.left,i.left),e.bottom=Math.max(e.bottom,i.bottom),e.right=Math.max(e.right,i.right)}function Vu(e,i,t,s){let{pos:n,box:o}=t,r=e.maxPadding;if(!A(n)){t.size&&(e[n]-=t.size);let d=s[t.stack]||{size:0,count:1};d.size=Math.max(d.size,t.horizontal?o.height:o.width),t.size=d.size/d.count,e[n]+=t.size}o.getPadding&&hl(r,o.getPadding());let a=Math.max(0,i.outerWidth-ba(r,e,"left","right")),l=Math.max(0,i.outerHeight-ba(r,e,"top","bottom")),c=a!==e.w,h=l!==e.h;return e.w=a,e.h=l,t.horizontal?{same:c,other:h}:{same:h,other:c}}function Nu(e){let i=e.maxPadding;function t(s){let n=Math.max(i[s]-e[s],0);return e[s]+=n,n}e.y+=t("top"),e.x+=t("left"),t("right"),t("bottom")}function Hu(e,i){let t=i.maxPadding;function s(n){let o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(i[r],t[r])}),o}return s(e?["left","right"]:["top","bottom"])}function Ue(e,i,t,s){let n=[],o,r,a,l,c,h;for(o=0,r=e.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});let h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:i,outerHeight:t,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),f=Object.assign({},n);hl(f,K(s));let u=Object.assign({maxPadding:f,w:o,h:r,x:n.left,y:n.top},n),p=Bu(l.concat(c),d);Ue(a.fullSize,u,d,p),Ue(l,u,d,p),Ue(c,u,d,p)&&Ue(l,u,d,p),Nu(u),xa(a.leftAndTop,u,d,p),u.x+=u.w,u.y+=u.h,xa(a.rightAndBottom,u,d,p),e.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{let m=g.box;Object.assign(m,e.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}},$i=class{acquireContext(i,t){}releaseContext(i){return!1}addEventListener(i,t,s){}removeEventListener(i,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(i,t,s,n){return t=Math.max(0,t||i.width),s=s||i.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(i){return!0}updateConfig(i){}},Zs=class extends $i{acquireContext(i){return i&&i.getContext&&i.getContext("2d")||null}updateConfig(i){i.options.animation=!1}},Ni="$chartjs",Wu={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},_a=e=>e===null||e==="";function $u(e,i){let t=e.style,s=e.getAttribute("height"),n=e.getAttribute("width");if(e[Ni]={initial:{height:s,width:n,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",_a(n)){let o=Rs(e,"width");o!==void 0&&(e.width=o)}if(_a(s))if(e.style.height==="")e.height=e.width/(i||2);else{let o=Rs(e,"height");o!==void 0&&(e.height=o)}return e}var dl=ta?{passive:!0}:!1;function Yu(e,i,t){e&&e.addEventListener(i,t,dl)}function Uu(e,i,t){e&&e.canvas&&e.canvas.removeEventListener(i,t,dl)}function Xu(e,i){let t=Wu[e.type]||e.type,{x:s,y:n}=Bt(e,i);return{type:t,chart:i,native:e,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Yi(e,i){for(let t of e)if(t===i||t.contains(i))return!0}function Ku(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Yi(a.addedNodes,s),r=r&&!Yi(a.removedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}function Gu(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Yi(a.removedNodes,s),r=r&&!Yi(a.addedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}var Ke=new Map,ya=0;function fl(){let e=window.devicePixelRatio;e!==ya&&(ya=e,Ke.forEach((i,t)=>{t.currentDevicePixelRatio!==e&&i()}))}function qu(e,i){Ke.size||window.addEventListener("resize",fl),Ke.set(e,i)}function Zu(e){Ke.delete(e),Ke.size||window.removeEventListener("resize",fl)}function Ju(e,i,t){let s=e.canvas,n=s&&Li(s);if(!n)return;let o=vs((a,l)=>{let c=n.clientWidth;t(a,l),c{let l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),qu(e,o),r}function $s(e,i,t){t&&t.disconnect(),i==="resize"&&Zu(e)}function Qu(e,i,t){let s=e.canvas,n=vs(o=>{e.ctx!==null&&t(Xu(o,e))},e);return Yu(s,i,n),n}var Js=class extends $i{acquireContext(i,t){let s=i&&i.getContext&&i.getContext("2d");return s&&s.canvas===i?($u(i,t),s):null}releaseContext(i){let t=i.canvas;if(!t[Ni])return!1;let s=t[Ni].initial;["height","width"].forEach(o=>{let r=s[o];T(r)?t.removeAttribute(o):t.setAttribute(o,r)});let n=s.style||{};return Object.keys(n).forEach(o=>{t.style[o]=n[o]}),t.width=t.width,delete t[Ni],!0}addEventListener(i,t,s){this.removeEventListener(i,t);let n=i.$proxies||(i.$proxies={}),r={attach:Ku,detach:Gu,resize:Ju}[t]||Qu;n[t]=r(i,t,s)}removeEventListener(i,t){let s=i.$proxies||(i.$proxies={}),n=s[t];if(!n)return;({attach:$s,detach:$s,resize:$s}[t]||Uu)(i,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(i,t,s,n){return Qr(i,t,s,n)}isAttached(i){let t=i&&Li(i);return!!(t&&t.isConnected)}};function tp(e){return!Ti()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Zs:Js}var lt=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(i){let{x:t,y:s}=this.getProps(["x","y"],i);return{x:t,y:s}}hasValue(){return Ut(this.x)&&Ut(this.y)}getProps(i,t){let s=this.$animations;if(!t||!s)return this;let n={};return i.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}};function ep(e,i){let t=e.options.ticks,s=ip(e),n=Math.min(t.maxTicksLimit||s,s),o=t.major.enabled?np(i):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return op(i,c,o,r/n),c;let h=sp(o,i,n);if(r>0){let d,f,u=r>1?Math.round((l-a)/(r-1)):null;for(Ii(i,c,h,T(u)?0:a-u,a),d=0,f=r-1;dn)return l}return Math.max(n,1)}function np(e){let i=[],t,s;for(t=0,s=e.length;te==="left"?"right":e==="right"?"left":e,va=(e,i,t)=>i==="top"||i==="left"?e[i]+t:e[i]-t,Ma=(e,i)=>Math.min(i||e,e);function wa(e,i){let t=[],s=e.length/i,n=e.length,o=0;for(;or+a)))return l}function cp(e,i){L(e,t=>{let s=t.gc,n=s.length/2,o;if(n>i){for(o=0;os?s:t,s=n&&t>s?t:s,{min:Q(t,Q(s,t)),max:Q(s,Q(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let i=this.chart.data;return this.options.labels||(this.isHorizontal()?i.xLabels:i.yLabels)||i.labels||[]}getLabelItems(i=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(i))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){R(this.options.beforeUpdate,[this])}update(i,t,s){let{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=i,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Xr(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}let h=this._getLabelSizes(),d=h.widest.width,f=h.highest.height,u=Y(this.chart.width-d,0,this.maxWidth);a=i.offset?this.maxWidth/s:u/(s-1),d+6>a&&(a=u/(s-(i.offset?.5:1)),l=this.maxHeight-$e(i.grid)-t.padding-Sa(i.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Si(Math.min(Math.asin(Y((h.highest.height+6)/a,-1,1)),Math.asin(Y(l/c,-1,1))-Math.asin(Y(f/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){R(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){R(this.options.beforeFit,[this])}fit(){let i={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){let l=Sa(n,t.options.font);if(a?(i.width=this.maxWidth,i.height=$e(o)+l):(i.height=this.maxHeight,i.width=$e(o)+l),s.display&&this.ticks.length){let{first:c,last:h,widest:d,highest:f}=this._getLabelSizes(),u=s.padding*2,p=ot(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){let x=s.mirror?0:m*d.width+g*f.height;i.height=Math.min(this.maxHeight,i.height+x+u)}else{let x=s.mirror?0:g*d.width+m*f.height;i.width=Math.min(this.maxWidth,i.width+x+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=i.height):(this.width=i.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(i,t,s,n){let{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){let h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1),f=0,u=0;l?c?(f=n*i.width,u=s*t.height):(f=s*i.height,u=n*t.width):o==="start"?u=t.width:o==="end"?f=i.width:o!=="inner"&&(f=i.width/2,u=t.width/2),this.paddingLeft=Math.max((f-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let h=t.height/2,d=i.height/2;o==="start"?(h=0,d=i.height):o==="end"&&(h=t.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){R(this.options.afterFit,[this])}isHorizontal(){let{axis:i,position:t}=this.options;return t==="top"||t==="bottom"||i==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(i){this.beforeTickToLabelConversion(),this.generateTickLabels(i);let t,s;for(t=0,s=i.length;t({width:r[k]||0,height:a[k]||0});return{first:w(0),last:w(t-1),widest:w(v),highest:w(S),widths:r,heights:a}}getLabelForValue(i){return i}getPixelForValue(i,t){return NaN}getValueForPixel(i){}getPixelForTick(i){let t=this.ticks;return i<0||i>t.length-1?null:this.getPixelForValue(t[i].value)}getPixelForDecimal(i){this._reversePixels&&(i=1-i);let t=this._startPixel+i*this._length;return Fr(this._alignToPixels?It(this.chart,t,0):t)}getDecimalForPixel(i){let t=(i-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:i,max:t}=this;return i<0&&t<0?t:i>0&&t>0?i:0}getContext(i){let t=this.ticks||[];if(i>=0&&ia*n?a/s:l/n:l*n0}_computeGridLineItems(i){let t=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=$e(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,x=function(j){return It(s,j,g)},b,y,M,_,v,S,w,k,O,P,D,U;if(r==="top")b=x(this.bottom),S=this.bottom-f,k=b-m,P=x(i.top)+m,U=i.bottom;else if(r==="bottom")b=x(this.top),P=i.top,U=x(i.bottom)-m,S=b+m,k=this.top+f;else if(r==="left")b=x(this.right),v=this.right-f,w=b-m,O=x(i.left)+m,D=i.right;else if(r==="right")b=x(this.left),O=i.left,D=x(i.right)-m,v=b+m,w=this.left+f;else if(t==="x"){if(r==="center")b=x((i.top+i.bottom)/2+.5);else if(A(r)){let j=Object.keys(r)[0],W=r[j];b=x(this.chart.scales[j].getPixelForValue(W))}P=i.top,U=i.bottom,S=b+m,k=S+f}else if(t==="y"){if(r==="center")b=x((i.left+i.right)/2);else if(A(r)){let j=Object.keys(r)[0],W=r[j];b=x(this.chart.scales[j].getPixelForValue(W))}v=b-m,w=v-f,O=i.left,D=i.right}let it=C(n.ticks.maxTicksLimit,d),E=Math.max(1,Math.ceil(d/it));for(y=0;y0&&(Ht-=Nt/2);break}Qe={left:Ht,top:Se,width:Nt+Jt.width,height:we+Jt.height,color:E.backdropColor}}m.push({label:M,font:k,textOffset:D,options:{rotation:g,color:W,strokeColor:rt,strokeWidth:G,textAlign:Zt,textBaseline:U,translation:[_,v],backdrop:Qe}})}return m}_getXAxisLabelAlignment(){let{position:i,ticks:t}=this.options;if(-ot(this.labelRotation))return i==="top"?"left":"right";let n="center";return t.align==="start"?n="left":t.align==="end"?n="right":t.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(i){let{position:t,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=i+o,l=r.widest.width,c,h;return t==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):t==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;let i=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:i.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:i.width}}drawBackground(){let{ctx:i,options:{backgroundColor:t},left:s,top:n,width:o,height:r}=this;t&&(i.save(),i.fillStyle=t,i.fillRect(s,n,o,r),i.restore())}getLineWidthForValue(i){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(o=>o.value===i);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(i){let t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(i)),o,r,a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(t.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(i){let t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[],o,r;for(o=0,r=t.length;o{let s=t.split("."),n=s.pop(),o=[e].concat(s).join("."),r=i[t].split("."),a=r.pop(),l=r.join(".");N.route(o,n,l,a)})}function mp(e){return"id"in e&&"defaults"in e}var Qs=class{constructor(){this.controllers=new ve(Vt,"datasets",!0),this.elements=new ve(lt,"elements"),this.plugins=new ve(Object,"plugins"),this.scales=new ve(qt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...i){this._each("register",i)}remove(...i){this._each("unregister",i)}addControllers(...i){this._each("register",i,this.controllers)}addElements(...i){this._each("register",i,this.elements)}addPlugins(...i){this._each("register",i,this.plugins)}addScales(...i){this._each("register",i,this.scales)}getController(i){return this._get(i,this.controllers,"controller")}getElement(i){return this._get(i,this.elements,"element")}getPlugin(i){return this._get(i,this.plugins,"plugin")}getScale(i){return this._get(i,this.scales,"scale")}removeControllers(...i){this._each("unregister",i,this.controllers)}removeElements(...i){this._each("unregister",i,this.elements)}removePlugins(...i){this._each("unregister",i,this.plugins)}removeScales(...i){this._each("unregister",i,this.scales)}_each(i,t,s){[...t].forEach(n=>{let o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(i,o,n):L(n,r=>{let a=s||this._getRegistryForType(r);this._exec(i,a,r)})})}_exec(i,t,s){let n=wi(i);R(s["before"+n],[],s),t[i](s),R(s["after"+n],[],s)}_getRegistryForType(i){for(let t=0;to.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(t,s),i,"stop"),this._notify(n(s,t),i,"start")}};function bp(e){let i={},t=[],s=Object.keys(gt.plugins.items);for(let o=0;o1&&ka(e[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Ca(e,i,t){if(t[i+"AxisID"]===e)return{axis:i}}function Sp(e,i){if(i.data&&i.data.datasets){let t=i.data.datasets.filter(s=>s.xAxisID===e||s.yAxisID===e);if(t.length)return Ca(e,"x",t[0])||Ca(e,"y",t[0])}return{}}function kp(e,i){let t=Rt[e.type]||{scales:{}},s=i.scales||{},n=en(e.type,i),o=Object.create(null);return Object.keys(s).forEach(r=>{let a=s[r];if(!A(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);let l=sn(r,a,Sp(r,e),N.scales[a.type]),c=Mp(l,n),h=t.scales||{};o[r]=ue(Object.create(null),[{axis:l},a,h[l],h[c]])}),e.data.datasets.forEach(r=>{let a=r.type||e.type,l=r.indexAxis||en(a,i),h=(Rt[a]||{}).scales||{};Object.keys(h).forEach(d=>{let f=vp(d,l),u=r[f+"AxisID"]||f;o[u]=o[u]||Object.create(null),ue(o[u],[{axis:f},s[u],h[d]])})}),Object.keys(o).forEach(r=>{let a=o[r];ue(a,[N.scales[a.type],N.scale])}),o}function ul(e){let i=e.options||(e.options={});i.plugins=C(i.plugins,{}),i.scales=kp(e,i)}function pl(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Cp(e){return e=e||{},e.data=pl(e.data),ul(e),e}var Pa=new Map,gl=new Set;function Fi(e,i){let t=Pa.get(e);return t||(t=i(),Pa.set(e,t),gl.add(t)),t}var Ye=(e,i,t)=>{let s=vt(i,t);s!==void 0&&e.add(s)},nn=class{constructor(i){this._config=Cp(i),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(i){this._config.type=i}get data(){return this._config.data}set data(i){this._config.data=pl(i)}get options(){return this._config.options}set options(i){this._config.options=i}get plugins(){return this._config.plugins}update(){let i=this._config;this.clearCache(),ul(i)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(i){return Fi(i,()=>[[`datasets.${i}`,""]])}datasetAnimationScopeKeys(i,t){return Fi(`${i}.transition.${t}`,()=>[[`datasets.${i}.transitions.${t}`,`transitions.${t}`],[`datasets.${i}`,""]])}datasetElementScopeKeys(i,t){return Fi(`${i}-${t}`,()=>[[`datasets.${i}.elements.${t}`,`datasets.${i}`,`elements.${t}`,""]])}pluginScopeKeys(i){let t=i.id,s=this.type;return Fi(`${s}-plugin-${t}`,()=>[[`plugins.${t}`,...i.additionalOptionScopes||[]]])}_cachedScopes(i,t){let s=this._scopeCache,n=s.get(i);return(!n||t)&&(n=new Map,s.set(i,n)),n}getOptionScopes(i,t,s){let{options:n,type:o}=this,r=this._cachedScopes(i,s),a=r.get(t);if(a)return a;let l=new Set;t.forEach(h=>{i&&(l.add(i),h.forEach(d=>Ye(l,i,d))),h.forEach(d=>Ye(l,n,d)),h.forEach(d=>Ye(l,Rt[o]||{},d)),h.forEach(d=>Ye(l,N,d)),h.forEach(d=>Ye(l,Pi,d))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),gl.has(t)&&r.set(t,c),c}chartOptionScopes(){let{options:i,type:t}=this;return[i,Rt[t]||{},N.datasets[t]||{},{type:t},N,Pi]}resolveNamedOptions(i,t,s,n=[""]){let o={$shared:!0},{resolver:r,subPrefixes:a}=Oa(this._resolverCache,i,n),l=r;if(Op(r,t)){o.$shared=!1,s=_t(s)?s():s;let c=this.createResolver(i,s,a);l=Yt(r,s,c)}for(let c of t)o[c]=l[c];return o}createResolver(i,t,s=[""],n){let{resolver:o}=Oa(this._resolverCache,i,s);return A(t)?Yt(o,t,void 0,n):o}};function Oa(e,i,t){let s=e.get(i);s||(s=new Map,e.set(i,s));let n=t.join(),o=s.get(n);return o||(o={resolver:Di(i,t),subPrefixes:t.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}var Pp=e=>A(e)&&Object.getOwnPropertyNames(e).some(i=>_t(e[i]));function Op(e,i){let{isScriptable:t,isIndexable:s}=As(e);for(let n of i){let o=t(n),r=s(n),a=(r||o)&&e[n];if(o&&(_t(a)||Pp(a))||r&&I(a))return!0}return!1}var Ap="4.4.3",Dp=["top","bottom","left","right","chartArea"];function Aa(e,i){return e==="top"||e==="bottom"||Dp.indexOf(e)===-1&&i==="x"}function Da(e,i){return function(t,s){return t[e]===s[e]?t[i]-s[i]:t[e]-s[e]}}function Ta(e){let i=e.chart,t=i.options.animation;i.notifyPlugins("afterRender"),R(t&&t.onComplete,[e],i)}function Tp(e){let i=e.chart,t=i.options.animation;R(t&&t.onProgress,[e],i)}function ml(e){return Ti()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Hi={},La=e=>{let i=ml(e);return Object.values(Hi).filter(t=>t.canvas===i).pop()};function Lp(e,i,t){let s=Object.keys(e);for(let n of s){let o=+n;if(o>=i){let r=e[n];delete e[n],(t>0||o>i)&&(e[o+t]=r)}}}function Ep(e,i,t,s){return!t||e.type==="mouseout"?null:s?i:e}function zi(e,i,t){return e.options.clip?e[t]:i[t]}function Rp(e,i){let{xScale:t,yScale:s}=e;return t&&s?{left:zi(t,i,"left"),right:zi(t,i,"right"),top:zi(s,i,"top"),bottom:zi(s,i,"bottom")}:i}var Gi=(()=>{class e{static defaults=N;static instances=Hi;static overrides=Rt;static registry=gt;static version=Ap;static getChart=La;static register(...t){gt.add(...t),Ea()}static unregister(...t){gt.remove(...t),Ea()}constructor(t,s){let n=this.config=new nn(s),o=ml(t),r=La(o);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||tp(o)),this.platform.updateConfig(n);let l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,h=c&&c.height,d=c&&c.width;if(this.id=Dr(),this.ctx=l,this.canvas=c,this.width=d,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new tn,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Nr(f=>this.update(f),a.resizeDelay||0),this._dataChanges=[],Hi[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}wt.listen(this,"complete",Ta),wt.listen(this,"progress",Tp),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:s},width:n,height:o,_aspectRatio:r}=this;return T(t)?s&&r?r:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return gt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Es(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Cs(this.canvas,this.ctx),this}stop(){return wt.stop(this),this}resize(t,s){wt.running(this)?this._resizeBeforeDraw={width:t,height:s}:this._resize(t,s)}_resize(t,s){let n=this.options,o=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,t,s,r),l=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Es(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),R(n.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){let s=this.options.scales||{};L(s,(n,o)=>{n.id=o})}buildOrUpdateScales(){let t=this.options,s=t.scales,n=this.scales,o=Object.keys(n).reduce((a,l)=>(a[l]=!1,a),{}),r=[];s&&(r=r.concat(Object.keys(s).map(a=>{let l=s[a],c=sn(a,l),h=c==="r",d=c==="x";return{options:l,dposition:h?"chartArea":d?"bottom":"left",dtype:h?"radialLinear":d?"category":"linear"}}))),L(r,a=>{let l=a.options,c=l.id,h=sn(c,l),d=C(l.type,a.dtype);(l.position===void 0||Aa(l.position,h)!==Aa(a.dposition))&&(l.position=a.dposition),o[c]=!0;let f=null;if(c in n&&n[c].type===d)f=n[c];else{let u=gt.getScale(d);f=new u({id:c,type:d,ctx:this.ctx,chart:this}),n[f.id]=f}f.init(l,t)}),L(o,(a,l)=>{a||delete n[l]}),L(n,a=>{q.configure(this,a,a.options),q.addBox(this,a)})}_updateMetasets(){let t=this._metasets,s=this.data.datasets.length,n=t.length;if(t.sort((o,r)=>o.index-r.index),n>s){for(let o=s;os.length&&delete this._stacks,t.forEach((n,o)=>{s.filter(r=>r===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){let t=[],s=this.data.datasets,n,o;for(this._removeUnreferencedMetasets(),n=0,o=s.length;n{this.getDatasetMeta(s).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let s=this.config;s.update();let n=this._options=s.createResolver(s.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let h=0,d=this.data.datasets.length;h{h.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Da("z","_idx"));let{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){L(this.scales,t=>{q.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,s=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!us(s,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,s=this._getUniformDataChanges()||[];for(let{method:n,start:o,count:r}of s){let a=n==="_removeElements"?-r:r;Lp(t,o,a)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let s=this.data.datasets.length,n=r=>new Set(t.filter(a=>a[0]===r).map((a,l)=>l+","+a.splice(1).join(","))),o=n(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;q.update(this,this.width,this.height,t);let s=this.chartArea,n=s.width<=0||s.height<=0;this._layers=[],L(this.boxes,o=>{n&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,r)=>{o._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let s=0,n=this.data.datasets.length;s=0;--s)this._drawDataset(t[s]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let s=this.ctx,n=t._clip,o=!n.disabled,r=Rp(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(o&&je(s,{left:n.left===!1?0:r.left-n.left,right:n.right===!1?this.width:r.right+n.right,top:n.top===!1?0:r.top-n.top,bottom:n.bottom===!1?this.height:r.bottom+n.bottom}),t.controller.draw(),o&&Ve(s),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return dt(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,s,n,o){let r=Iu.modes[s];return typeof r=="function"?r(this,t,n,o):[]}getDatasetMeta(t){let s=this.data.datasets[t],n=this._metasets,o=n.filter(r=>r&&r._dataset===s).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:s&&s.order||0,index:t,_dataset:s,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=Mt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let s=this.data.datasets[t];if(!s)return!1;let n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!s.hidden}setDatasetVisibility(t,s){let n=this.getDatasetMeta(t);n.hidden=!s}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,s,n){let o=n?"show":"hide",r=this.getDatasetMeta(t),a=r.controller._resolveAnimations(void 0,o);pe(s)?(r.data[s].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),a.update(r,{visible:n}),this.update(l=>l.datasetIndex===t?o:void 0))}hide(t,s){this._updateVisibility(t,s,!1)}show(t,s){this._updateVisibility(t,s,!0)}_destroyDatasetMeta(t){let s=this._metasets[t];s&&s.controller&&s.controller._destroy(),delete this._metasets[t]}_stop(){let t,s;for(this.stop(),wt.remove(this),t=0,s=this.data.datasets.length;t{s.addEventListener(this,r,a),t[r]=a},o=(r,a,l)=>{r.offsetX=a,r.offsetY=l,this._eventHandler(r)};L(this.options.events,r=>n(r,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,s=this.platform,n=(c,h)=>{s.addEventListener(this,c,h),t[c]=h},o=(c,h)=>{t[c]&&(s.removeEventListener(this,c,h),delete t[c])},r=(c,h)=>{this.canvas&&this.resize(c,h)},a,l=()=>{o("attach",l),this.attached=!0,this.resize(),n("resize",r),n("detach",a)};a=()=>{this.attached=!1,o("resize",r),this._stop(),this._resize(0,0),n("attach",l)},s.isAttached(this.canvas)?l():a()}unbindEvents(){L(this._listeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._listeners={},L(this._responsiveListeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,s,n){let o=n?"set":"remove",r,a,l,c;for(s==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+o+"DatasetHoverStyle"]()),l=0,c=t.length;l{let l=this.getDatasetMeta(r);if(!l)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:l.data[a],index:a}});!ze(n,s)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,s))}notifyPlugins(t,s,n){return this._plugins.notify(this,t,s,n)}isPluginEnabled(t){return this._plugins._cache.filter(s=>s.plugin.id===t).length===1}_updateHoverStyles(t,s,n){let o=this.options.hover,r=(c,h)=>c.filter(d=>!h.some(f=>d.datasetIndex===f.datasetIndex&&d.index===f.index)),a=r(s,t),l=n?t:r(t,s);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(t,s){let n={event:t,replay:s,cancelable:!0,inChartArea:this.isPointInArea(t)},o=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,o)===!1)return;let r=this._handleEvent(t,s,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,o),(r||n.changed)&&this.render(),this}_handleEvent(t,s,n){let{_active:o=[],options:r}=this,a=s,l=this._getActiveElements(t,o,n,a),c=Er(t),h=Ep(t,this._lastEvent,n,c);n&&(this._lastEvent=null,R(r.onHover,[t,l,this],this),c&&R(r.onClick,[t,l,this],this));let d=!ze(l,o);return(d||s)&&(this._active=l,this._updateHoverStyles(l,o,s)),this._lastEvent=h,d}_getActiveElements(t,s,n,o){if(t.type==="mouseout")return[];if(!n)return s;let r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,o)}}return e})();function Ea(){return L(Gi.instances,e=>e._plugins.invalidate())}function Ip(e,i,t){let{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=i,c=n/a;e.beginPath(),e.arc(o,r,a,s-c,t+c),l>n?(c=n/l,e.arc(o,r,l,t+c,s-c,!0)):e.arc(o,r,n,t+H,s-H),e.closePath(),e.clip()}function Fp(e){return Ai(e,["outerStart","outerEnd","innerStart","innerEnd"])}function zp(e,i,t,s){let n=Fp(e.options.borderRadius),o=(t-i)/2,r=Math.min(o,s*i/2),a=l=>{let c=(t-Math.min(o,l))*s/2;return Y(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:Y(n.innerStart,0,r),innerEnd:Y(n.innerEnd,0,r)}}function ye(e,i,t,s){return{x:t+e*Math.cos(i),y:s+e*Math.sin(i)}}function Ui(e,i,t,s,n,o){let{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=i,d=Math.max(i.outerRadius+s+t-c,0),f=h>0?h+s+t+c:0,u=0,p=n-l;if(s){let E=h>0?h-s:0,j=d>0?d-s:0,W=(E+j)/2,rt=W!==0?p*W/(W+s):p;u=(p-rt)/2}let g=Math.max(.001,p*d-t/F)/d,m=(p-g)/2,x=l+m+u,b=n-m-u,{outerStart:y,outerEnd:M,innerStart:_,innerEnd:v}=zp(i,f,d,b-x),S=d-y,w=d-M,k=x+y/S,O=b-M/w,P=f+_,D=f+v,U=x+_/P,it=b-v/D;if(e.beginPath(),o){let E=(k+O)/2;if(e.arc(r,a,d,k,E),e.arc(r,a,d,E,O),M>0){let G=ye(w,O,r,a);e.arc(G.x,G.y,M,O,b+H)}let j=ye(D,b,r,a);if(e.lineTo(j.x,j.y),v>0){let G=ye(D,it,r,a);e.arc(G.x,G.y,v,b+H,it+Math.PI)}let W=(b-v/f+(x+_/f))/2;if(e.arc(r,a,f,b-v/f,W,!0),e.arc(r,a,f,W,x+_/f,!0),_>0){let G=ye(P,U,r,a);e.arc(G.x,G.y,_,U+Math.PI,x-H)}let rt=ye(S,x,r,a);if(e.lineTo(rt.x,rt.y),y>0){let G=ye(S,k,r,a);e.arc(G.x,G.y,y,x-H,k)}}else{e.moveTo(r,a);let E=Math.cos(k)*d+r,j=Math.sin(k)*d+a;e.lineTo(E,j);let W=Math.cos(O)*d+r,rt=Math.sin(O)*d+a;e.lineTo(W,rt)}e.closePath()}function Bp(e,i,t,s,n){let{fullCircles:o,startAngle:r,circumference:a}=i,l=i.endAngle;if(o){Ui(e,i,t,s,l,n);for(let c=0;ci!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(i){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,t,s){let n=this.getProps(["x","y"],s),{angle:o,distance:r}=bs(n,{x:i,y:t}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:h,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),f=(this.options.spacing+this.options.borderWidth)/2,p=C(d,l-a)>=z||me(o,a,l),g=ut(r,c+f,h+f);return p&&g}getCenterPoint(i){let{x:t,y:s,startAngle:n,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:l,spacing:c}=this.options,h=(n+o)/2,d=(r+a+c+l)/2;return{x:t+Math.cos(h)*d,y:s+Math.sin(h)*d}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){let{options:t,circumference:s}=this,n=(t.offset||0)/4,o=(t.spacing||0)/2,r=t.circular;if(this.pixelMargin=t.borderAlign==="inner"?.33:0,this.fullCircles=s>z?Math.floor(s/z):0,s===0||this.innerRadius<0||this.outerRadius<0)return;i.save();let a=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(a)*n,Math.sin(a)*n);let l=1-Math.sin(Math.min(F,s||0)),c=n*l;i.fillStyle=t.backgroundColor,i.strokeStyle=t.borderColor,Bp(i,this,c,o,r),jp(i,this,c,o,r),i.restore()}};function bl(e,i,t=i){e.lineCap=C(t.borderCapStyle,i.borderCapStyle),e.setLineDash(C(t.borderDash,i.borderDash)),e.lineDashOffset=C(t.borderDashOffset,i.borderDashOffset),e.lineJoin=C(t.borderJoinStyle,i.borderJoinStyle),e.lineWidth=C(t.borderWidth,i.borderWidth),e.strokeStyle=C(t.borderColor,i.borderColor)}function Vp(e,i,t){e.lineTo(t.x,t.y)}function Np(e){return e.stepped?Yr:e.tension||e.cubicInterpolationMode==="monotone"?Ur:Vp}function xl(e,i,t={}){let s=e.length,{start:n=0,end:o=s-1}=t,{start:r,end:a}=i,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:i.loop,ilen:c(r+(c?a-M:M))%o,y=()=>{g!==m&&(e.lineTo(h,m),e.lineTo(h,g),e.lineTo(h,x))};for(l&&(u=n[b(0)],e.moveTo(u.x,u.y)),f=0;f<=a;++f){if(u=n[b(f)],u.skip)continue;let M=u.x,_=u.y,v=M|0;v===p?(_m&&(m=_),h=(d*h+M)/++d):(y(),e.lineTo(M,_),p=v,d=0,g=m=_),x=_}y()}function rn(e){let i=e.options,t=i.borderDash&&i.borderDash.length;return!e._decimated&&!e._loop&&!i.tension&&i.cubicInterpolationMode!=="monotone"&&!i.stepped&&!t?Wp:Hp}function $p(e){return e.stepped?ea:e.tension||e.cubicInterpolationMode==="monotone"?ia:Et}function Yp(e,i,t,s){let n=i._path;n||(n=i._path=new Path2D,i.path(n,t,s)&&n.closePath()),bl(e,i.options),e.stroke(n)}function Up(e,i,t,s){let{segments:n,options:o}=i,r=rn(i);for(let a of n)bl(e,o,a.style),e.beginPath(),r(e,i,a,{start:t,end:t+s-1})&&e.closePath(),e.stroke()}var Xp=typeof Path2D=="function";function Kp(e,i,t,s){Xp&&!i.options.segment?Yp(e,i,t,s):Up(e,i,t,s)}var qi=(()=>{class e extends lt{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,s){let n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){let o=n.spanGaps?this._loop:this._fullLoop;Jr(this._points,n,t,o,s),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=na(this,this.options.segment))}first(){let t=this.segments,s=this.points;return t.length&&s[t[0].start]}last(){let t=this.segments,s=this.points,n=t.length;return n&&s[t[n-1].end]}interpolate(t,s){let n=this.options,o=t[s],r=this.points,a=Bs(this,{property:s,start:o,end:o});if(!a.length)return;let l=[],c=$p(n),h,d;for(h=0,d=a.length;h{class e extends lt{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,s,n){let o=this.options,{x:r,y:a}=this.getProps(["x","y"],n);return Math.pow(t-r,2)+Math.pow(s-a,2)e.replace("rgb(","rgba(").replace(")",", 0.5)"));function yl(e){return ln[e%ln.length]}function vl(e){return Ia[e%Ia.length]}function ig(e,i){return e.borderColor=yl(i),e.backgroundColor=vl(i),++i}function sg(e,i){return e.backgroundColor=e.data.map(()=>yl(i++)),i}function ng(e,i){return e.backgroundColor=e.data.map(()=>vl(i++)),i}function og(e){let i=0;return(t,s)=>{let n=e.getDatasetMeta(s).controller;n instanceof mn?i=sg(t,i):n instanceof ll?i=ng(t,i):n&&(i=ig(t,i))}}function Fa(e){let i;for(i in e)if(e[i].borderColor||e[i].backgroundColor)return!0;return!1}function rg(e){return e&&(e.borderColor||e.backgroundColor)}var ag={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,i,t){if(!t.enabled)return;let{data:{datasets:s},options:n}=e.config,{elements:o}=n;if(!t.forceOverride&&(Fa(s)||rg(n)||o&&Fa(o)))return;let r=og(e);s.forEach(r)}};function lg(e,i,t,s,n){let o=n.samples||s;if(o>=t)return e.slice(i,i+t);let r=[],a=(t-2)/(o-2),l=0,c=i+t-1,h=i,d,f,u,p,g;for(r[l++]=e[h],d=0;du&&(u=p,f=e[b],g=b);r[l++]=f,h=g}return r[l++]=e[c],r}function cg(e,i,t,s){let n=0,o=0,r,a,l,c,h,d,f,u,p,g,m=[],x=i+t-1,b=e[i].x,M=e[x].x-b;for(r=i;rg&&(g=c,f=r),n=(o*n+a.x)/++o;else{let v=r-1;if(!T(d)&&!T(f)){let S=Math.min(d,f),w=Math.max(d,f);S!==u&&S!==v&&m.push(kt(mt({},e[S]),{x:n})),w!==u&&w!==v&&m.push(kt(mt({},e[w]),{x:n}))}r>0&&v!==u&&m.push(e[v]),m.push(a),h=_,o=0,p=g=c,d=f=u=r}}return m}function Ml(e){if(e._decimated){let i=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:i})}}function za(e){e.data.datasets.forEach(i=>{Ml(i)})}function hg(e,i){let t=i.length,s=0,n,{iScale:o}=e,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=Y(ht(i,o.axis,r).lo,0,t-1)),c?n=Y(ht(i,o.axis,a).hi+1,s,t)-s:n=t-s,{start:s,count:n}}var dg={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,i,t)=>{if(!t.enabled){za(e);return}let s=e.width;e.data.datasets.forEach((n,o)=>{let{_data:r,indexAxis:a}=n,l=e.getDatasetMeta(o),c=r||n.data;if(_e([a,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;let h=e.scales[l.xAxisID];if(h.type!=="linear"&&h.type!=="time"||e.options.parsing)return;let{start:d,count:f}=hg(l,c),u=t.threshold||4*s;if(f<=u){Ml(n);return}T(r)&&(n._data=c,delete n.data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(g){this._data=g}}));let p;switch(t.algorithm){case"lttb":p=lg(c,d,f,s,t);break;case"min-max":p=cg(c,d,f,s);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}n._decimated=p})},destroy(e){za(e)}};function fg(e,i,t){let s=e.segments,n=e.points,o=i.points,r=[];for(let a of s){let{start:l,end:c}=a;c=bn(l,c,n);let h=cn(t,n[l],n[c],a.loop);if(!i.segments){r.push({source:a,target:h,start:n[l],end:n[c]});continue}let d=Bs(i,h);for(let f of d){let u=cn(t,o[f.start],o[f.end],f.loop),p=zs(a,n,u);for(let g of p)r.push({source:g,target:f,start:{[t]:Ba(h,u,"start",Math.max)},end:{[t]:Ba(h,u,"end",Math.min)}})}}return r}function cn(e,i,t,s){if(s)return;let n=i[e],o=t[e];return e==="angle"&&(n=J(n),o=J(o)),{property:e,start:n,end:o}}function ug(e,i){let{x:t=null,y:s=null}=e||{},n=i.points,o=[];return i.segments.forEach(({start:r,end:a})=>{a=bn(r,a,n);let l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):t!==null&&(o.push({x:t,y:l.y}),o.push({x:t,y:c.y}))}),o}function bn(e,i,t){for(;i>e;i--){let s=t[i];if(!isNaN(s.x)&&!isNaN(s.y))break}return i}function Ba(e,i,t,s){return e&&i?s(e[t],i[t]):e?e[t]:i?i[t]:0}function wl(e,i){let t=[],s=!1;return I(e)?(s=!0,t=e):t=ug(e,i),t.length?new qi({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function ja(e){return e&&e.fill!==!1}function pg(e,i,t){let n=e[i].fill,o=[i],r;if(!t)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!V(n))return n;if(r=e[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function gg(e,i,t){let s=_g(e);if(A(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return V(n)&&Math.floor(n)===n?mg(s[0],i,n,t):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function mg(e,i,t,s){return(e==="-"||e==="+")&&(t=i+t),t===i||t<0||t>=s?!1:t}function bg(e,i){let t=null;return e==="start"?t=i.bottom:e==="end"?t=i.top:A(e)?t=i.getPixelForValue(e.value):i.getBasePixel&&(t=i.getBasePixel()),t}function xg(e,i,t){let s;return e==="start"?s=t:e==="end"?s=i.options.reverse?i.min:i.max:A(e)?s=e.value:s=i.getBaseValue(),s}function _g(e){let i=e.options,t=i.fill,s=C(t&&t.target,t);return s===void 0&&(s=!!i.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function yg(e){let{scale:i,index:t,line:s}=e,n=[],o=s.segments,r=s.points,a=vg(i,t);a.push(wl({x:null,y:i.bottom},s));for(let l=0;l=0;--r){let a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&Xs(e.ctx,a,o))}},beforeDatasetsDraw(e,i,t){if(t.drawTime!=="beforeDatasetsDraw")return;let s=e.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){let o=s[n].$filler;ja(o)&&Xs(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,i,t){let s=i.meta.$filler;!ja(s)||t.drawTime!=="beforeDatasetDraw"||Xs(e.ctx,s,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Wa=(e,i)=>{let{boxHeight:t=i,boxWidth:s=i}=e;return e.usePointStyle&&(t=Math.min(t,i),s=e.pointStyleWidth||Math.min(s,i)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(i,t)}},Lg=(e,i)=>e!==null&&i!==null&&e.datasetIndex===i.datasetIndex&&e.index===i.index,Ki=class extends lt{constructor(i){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t,s){this.maxWidth=i,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let i=this.options.labels||{},t=R(i.generateLabels,[this.chart],this)||[];i.filter&&(t=t.filter(s=>i.filter(s,this.chart.data))),i.sort&&(t=t.sort((s,n)=>i.sort(s,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:i,ctx:t}=this;if(!i.display){this.width=this.height=0;return}let s=i.labels,n=$(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Wa(s,o),c,h;t.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,i.maxWidth||this.maxWidth),this.height=Math.min(h,i.maxHeight||this.maxHeight)}_fitRows(i,t,s,n){let{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a,d=i;o.textAlign="left",o.textBaseline="middle";let f=-1,u=-h;return this.legendItems.forEach((p,g)=>{let m=s+t/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(d+=h,c[c.length-(g>0?0:1)]=0,u+=h,f++),l[g]={left:0,top:u,row:f,width:m,height:n},c[c.length-1]+=m+a}),d}_fitCols(i,t,s,n){let{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-i,d=a,f=0,u=0,p=0,g=0;return this.legendItems.forEach((m,x)=>{let{itemWidth:b,itemHeight:y}=Eg(s,t,o,m,n);x>0&&u+y+2*a>h&&(d+=f+a,c.push({width:f,height:u}),p+=f+a,g++,f=u=0),l[x]={left:p,top:u,col:g,width:b,height:y},f=Math.max(f,b),u+=y+a}),d+=f,c.push({width:f,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;let i=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Xt(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(let c of t)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+i+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height);for(let c of t)c.col!==a&&(a=c.col,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let i=this.ctx;je(i,this),this._draw(),Ve(i)}}_draw(){let{options:i,columnSizes:t,lineWidths:s,ctx:n}=this,{align:o,labels:r}=i,a=N.color,l=Xt(i.rtl,this.left,this.width),c=$(r.font),{padding:h}=r,d=c.size,f=d/2,u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;let{boxWidth:p,boxHeight:g,itemHeight:m}=Wa(r,d),x=function(v,S,w){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();let k=C(w.lineWidth,1);if(n.fillStyle=C(w.fillStyle,a),n.lineCap=C(w.lineCap,"butt"),n.lineDashOffset=C(w.lineDashOffset,0),n.lineJoin=C(w.lineJoin,"miter"),n.lineWidth=k,n.strokeStyle=C(w.strokeStyle,a),n.setLineDash(C(w.lineDash,[])),r.usePointStyle){let O={radius:g*Math.SQRT2/2,pointStyle:w.pointStyle,rotation:w.rotation,borderWidth:k},P=l.xPlus(v,p/2),D=S+f;Ps(n,O,P,D,r.pointStyleWidth&&p)}else{let O=S+Math.max((d-g)/2,0),P=l.leftForLtr(v,p),D=zt(w.borderRadius);n.beginPath(),Object.values(D).some(U=>U!==0)?xe(n,{x:P,y:O,w:p,h:g,radius:D}):n.rect(P,O,p,g),n.fill(),k!==0&&n.stroke()}n.restore()},b=function(v,S,w){Ft(n,w.text,v,S+m/2,c,{strikethrough:w.hidden,textAlign:l.textAlign(w.textAlign)})},y=this.isHorizontal(),M=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+M,line:0}:u={x:this.left+h,y:X(o,this.top+M+h,this.bottom-t[0].height),line:0},Is(this.ctx,i.textDirection);let _=m+h;this.legendItems.forEach((v,S)=>{n.strokeStyle=v.fontColor,n.fillStyle=v.fontColor;let w=n.measureText(v.text).width,k=l.textAlign(v.textAlign||(v.textAlign=r.textAlign)),O=p+f+w,P=u.x,D=u.y;l.setWidth(this.width),y?S>0&&P+O+h>this.right&&(D=u.y+=_,u.line++,P=u.x=X(o,this.left+h,this.right-s[u.line])):S>0&&D+_>this.bottom&&(P=u.x=P+t[u.line].width+h,u.line++,D=u.y=X(o,this.top+M+h,this.bottom-t[u.line].height));let U=l.x(P);if(x(U,D,v),P=Hr(k,P+p+f,y?P+O:this.right,i.rtl),b(l.x(P),D,v),y)u.x+=O+h;else if(typeof v.text!="string"){let it=c.lineHeight;u.y+=Sl(v,it)+h}else u.y+=_}),Fs(this.ctx,i.textDirection)}drawTitle(){let i=this.options,t=i.title,s=$(t.font),n=K(t.padding);if(!t.display)return;let o=Xt(i.rtl,this.left,this.width),r=this.ctx,a=t.position,l=s.size/2,c=n.top+l,h,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),h=this.top+c,d=X(i.align,d,this.right-f);else{let p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(i.align,this.top,this.bottom-p-i.labels.padding-this._computeTitleHeight())}let u=X(a,d,d+f);r.textAlign=o.textAlign(Ci(a)),r.textBaseline="middle",r.strokeStyle=t.color,r.fillStyle=t.color,r.font=s.string,Ft(r,t.text,u,h,s)}_computeTitleHeight(){let i=this.options.title,t=$(i.font),s=K(i.padding);return i.display?t.lineHeight+s.height:0}_getLegendItemAt(i,t){let s,n,o;if(ut(i,this.left,this.right)&&ut(t,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),i+t.size/2+s.measureText(n).width}function Ig(e,i,t){let s=e;return typeof i.text!="string"&&(s=Sl(i,t)),s}function Sl(e,i){let t=e.text?e.text.length:0;return i*t}function Fg(e,i){return!!((e==="mousemove"||e==="mouseout")&&(i.onHover||i.onLeave)||i.onClick&&(e==="click"||e==="mouseup"))}var zg={id:"legend",_element:Ki,start(e,i,t){let s=e.legend=new Ki({ctx:e.ctx,options:t,chart:e});q.configure(e,s,t),q.addBox(e,s)},stop(e){q.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,i,t){let s=e.legend;q.configure(e,s,t),s.options=t},afterUpdate(e){let i=e.legend;i.buildLabels(),i.adjustHitBoxes()},afterEvent(e,i){i.replay||e.legend.handleEvent(i.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,i,t){let s=i.datasetIndex,n=t.chart;n.isDatasetVisible(s)?(n.hide(s),i.hidden=!0):(n.show(s),i.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let i=e.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(t?0:void 0),h=K(c.borderWidth);return{text:i[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}},Ge=class extends lt{constructor(i){super(),this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t){let s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=i,this.height=this.bottom=t;let n=I(s.text)?s.text.length:1;this._padding=K(s.padding);let o=n*$(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){let i=this.options.position;return i==="top"||i==="bottom"}_drawArgs(i){let{top:t,left:s,bottom:n,right:o,options:r}=this,a=r.align,l=0,c,h,d;return this.isHorizontal()?(h=X(a,s,o),d=t+i,c=o-s):(r.position==="left"?(h=s+i,d=X(a,n,t),l=F*-.5):(h=o-i,d=X(a,t,n),l=F*.5),c=n-t),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){let i=this.ctx,t=this.options;if(!t.display)return;let s=$(t.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Ft(i,t.text,0,0,s,{color:t.color,maxWidth:l,rotation:c,textAlign:Ci(t.align),textBaseline:"middle",translation:[r,a]})}};function Bg(e,i){let t=new Ge({ctx:e.ctx,options:i,chart:e});q.configure(e,t,i),q.addBox(e,t),e.titleBlock=t}var jg={id:"title",_element:Ge,start(e,i,t){Bg(e,t)},stop(e){let i=e.titleBlock;q.removeBox(e,i),delete e.titleBlock},beforeUpdate(e,i,t){let s=e.titleBlock;q.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Bi=new WeakMap,Vg={id:"subtitle",start(e,i,t){let s=new Ge({ctx:e.ctx,options:t,chart:e});q.configure(e,s,t),q.addBox(e,s),Bi.set(e,s)},stop(e){q.removeBox(e,Bi.get(e)),Bi.delete(e)},beforeUpdate(e,i,t){let s=Bi.get(e);q.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Xe={average(e){if(!e.length)return!1;let i,t,s=new Set,n=0,o=0;for(i=0,t=e.length;ia+l)/s.size,y:n/o}},nearest(e,i){if(!e.length)return!1;let t=i.x,s=i.y,n=Number.POSITIVE_INFINITY,o,r,a;for(o=0,r=e.length;o-1?e.split(` `):e}function Ng(e,i){let{element:t,datasetIndex:s,index:n}=i,o=e.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(n);return{chart:e,label:r,parsed:o.getParsed(n),raw:e.data.datasets[s].data[n],formattedValue:a,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:t}}function $a(e,i){let t=e.chart.ctx,{body:s,footer:n,title:o}=e,{boxWidth:r,boxHeight:a}=i,l=$(i.bodyFont),c=$(i.titleFont),h=$(i.footerFont),d=o.length,f=n.length,u=s.length,p=K(i.padding),g=p.height,m=0,x=s.reduce((M,_)=>M+_.before.length+_.lines.length+_.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*i.titleSpacing+i.titleMarginBottom),x){let M=i.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=u*M+(x-u)*l.lineHeight+(x-1)*i.bodySpacing}f&&(g+=i.footerMarginTop+f*h.lineHeight+(f-1)*i.footerSpacing);let b=0,y=function(M){m=Math.max(m,t.measureText(M).width+b)};return t.save(),t.font=c.string,L(e.title,y),t.font=l.string,L(e.beforeBody.concat(e.afterBody),y),b=i.displayColors?r+2+i.boxPadding:0,L(s,M=>{L(M.before,y),L(M.lines,y),L(M.after,y)}),b=0,t.font=h.string,L(e.footer,y),t.restore(),m+=p.width,{width:m,height:g}}function Hg(e,i){let{y:t,height:s}=i;return te.height-s/2?"bottom":"center"}function Wg(e,i,t,s){let{x:n,width:o}=s,r=t.caretSize+t.caretPadding;if(e==="left"&&n+o+r>i.width||e==="right"&&n-o-r<0)return!0}function $g(e,i,t,s){let{x:n,width:o}=t,{width:r,chartArea:{left:a,right:l}}=e,c="center";return s==="center"?c=n<=(a+l)/2?"left":"right":n<=o/2?c="left":n>=r-o/2&&(c="right"),Wg(c,e,i,t)&&(c="center"),c}function Ya(e,i,t){let s=t.yAlign||i.yAlign||Hg(e,t);return{xAlign:t.xAlign||i.xAlign||$g(e,i,t,s),yAlign:s}}function Yg(e,i){let{x:t,width:s}=e;return i==="right"?t-=s:i==="center"&&(t-=s/2),t}function Ug(e,i,t){let{y:s,height:n}=e;return i==="top"?s+=t:i==="bottom"?s-=n+t:s-=n/2,s}function Ua(e,i,t,s){let{caretSize:n,caretPadding:o,cornerRadius:r}=e,{xAlign:a,yAlign:l}=t,c=n+o,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=zt(r),p=Yg(i,a),g=Ug(i,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(h,f)+n:a==="right"&&(p+=Math.max(d,u)+n),{x:Y(p,0,s.width-i.width),y:Y(g,0,s.height-i.height)}}function ji(e,i,t){let s=K(t.padding);return i==="center"?e.x+e.width/2:i==="right"?e.x+e.width-s.right:e.x+s.left}function Xa(e){return pt([],St(e))}function Xg(e,i,t){return Mt(e,{tooltip:i,tooltipItems:t,type:"tooltip"})}function Ka(e,i){let t=i&&i.dataset&&i.dataset.tooltip&&i.dataset.tooltip.callbacks;return t?e.override(t):e}var kl={beforeTitle:ft,title(e){if(e.length>0){let i=e[0],t=i.chart.data.labels,s=t?t.length:0;if(this&&this.options&&this.options.mode==="dataset")return i.dataset.label||"";if(i.label)return i.label;if(s>0&&i.dataIndex"u"?kl[i].call(t,s):n}var Ga=(()=>{class e extends lt{static positioners=Xe;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let t=this._cachedAnimations;if(t)return t;let s=this.chart,n=this.options.setContext(this.getContext()),o=n.enabled&&s.options.animation&&n.animations,r=new Wi(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=Xg(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,s){let{callbacks:n}=s,o=tt(n,"beforeTitle",this,t),r=tt(n,"title",this,t),a=tt(n,"afterTitle",this,t),l=[];return l=pt(l,St(o)),l=pt(l,St(r)),l=pt(l,St(a)),l}getBeforeBody(t,s){return Xa(tt(s.callbacks,"beforeBody",this,t))}getBody(t,s){let{callbacks:n}=s,o=[];return L(t,r=>{let a={before:[],lines:[],after:[]},l=Ka(n,r);pt(a.before,St(tt(l,"beforeLabel",this,r))),pt(a.lines,tt(l,"label",this,r)),pt(a.after,St(tt(l,"afterLabel",this,r))),o.push(a)}),o}getAfterBody(t,s){return Xa(tt(s.callbacks,"afterBody",this,t))}getFooter(t,s){let{callbacks:n}=s,o=tt(n,"beforeFooter",this,t),r=tt(n,"footer",this,t),a=tt(n,"afterFooter",this,t),l=[];return l=pt(l,St(o)),l=pt(l,St(r)),l=pt(l,St(a)),l}_createItems(t){let s=this._active,n=this.chart.data,o=[],r=[],a=[],l=[],c,h;for(c=0,h=s.length;ct.filter(d,f,u,n))),t.itemSort&&(l=l.sort((d,f)=>t.itemSort(d,f,n))),L(l,d=>{let f=Ka(t.callbacks,d);o.push(tt(f,"labelColor",this,d)),r.push(tt(f,"labelPointStyle",this,d)),a.push(tt(f,"labelTextColor",this,d))}),this.labelColors=o,this.labelPointStyles=r,this.labelTextColors=a,this.dataPoints=l,l}update(t,s){let n=this.options.setContext(this.getContext()),o=this._active,r,a=[];if(!o.length)this.opacity!==0&&(r={opacity:0});else{let l=Xe[n.position].call(this,o,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let c=this._size=$a(this,n),h=Object.assign({},l,c),d=Ya(this.chart,n,h),f=Ua(n,h,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,r={opacity:1,x:f.x,y:f.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:s})}drawCaret(t,s,n,o){let r=this.getCaretPosition(t,n,o);s.lineTo(r.x1,r.y1),s.lineTo(r.x2,r.y2),s.lineTo(r.x3,r.y3)}getCaretPosition(t,s,n){let{xAlign:o,yAlign:r}=this,{caretSize:a,cornerRadius:l}=n,{topLeft:c,topRight:h,bottomLeft:d,bottomRight:f}=zt(l),{x:u,y:p}=t,{width:g,height:m}=s,x,b,y,M,_,v;return r==="center"?(_=p+m/2,o==="left"?(x=u,b=x-a,M=_+a,v=_-a):(x=u+g,b=x+a,M=_-a,v=_+a),y=x):(o==="left"?b=u+Math.max(c,d)+a:o==="right"?b=u+g-Math.max(h,f)-a:b=this.caretX,r==="top"?(M=p,_=M-a,x=b-a,y=b+a):(M=p+m,_=M+a,x=b+a,y=b-a),v=M),{x1:x,x2:b,x3:y,y1:M,y2:_,y3:v}}drawTitle(t,s,n){let o=this.title,r=o.length,a,l,c;if(r){let h=Xt(n.rtl,this.x,this.width);for(t.x=ji(this,n.titleAlign,n),s.textAlign=h.textAlign(n.titleAlign),s.textBaseline="middle",a=$(n.titleFont),l=n.titleSpacing,s.fillStyle=n.titleColor,s.font=a.string,c=0;cy!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,xe(t,{x:m,y:g,w:h,h:c,radius:b}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),xe(t,{x,y:g+1,w:h-2,h:c-2,radius:b}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(m,g,h,c),t.strokeRect(m,g,h,c),t.fillStyle=a.backgroundColor,t.fillRect(x,g+1,h-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,s,n){let{body:o}=this,{bodySpacing:r,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:h,boxPadding:d}=n,f=$(n.bodyFont),u=f.lineHeight,p=0,g=Xt(n.rtl,this.x,this.width),m=function(k){s.fillText(k,g.x(t.x+p),t.y+u/2),t.y+=u+r},x=g.textAlign(a),b,y,M,_,v,S,w;for(s.textAlign=a,s.textBaseline="middle",s.font=f.string,t.x=ji(this,x,n),s.fillStyle=n.bodyColor,L(this.beforeBody,m),p=l&&x!=="right"?a==="center"?h/2+d:h+2+d:0,_=0,S=o.length;_0&&s.stroke()}_updateAnimationTarget(t){let s=this.chart,n=this.$animations,o=n&&n.x,r=n&&n.y;if(o||r){let a=Xe[t.position].call(this,this._active,this._eventPosition);if(!a)return;let l=this._size=$a(this,t),c=Object.assign({},a,this._size),h=Ya(s,t,c),d=Ua(t,c,h,s);(o._to!==d.x||r._to!==d.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){let s=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(s);let o={width:this.width,height:this.height},r={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=K(s.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;s.enabled&&l&&(t.save(),t.globalAlpha=n,this.drawBackground(r,t,o,s),Is(t,s.textDirection),r.y+=a.top,this.drawTitle(r,t,s),this.drawBody(r,t,s),this.drawFooter(r,t,s),Fs(t,s.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,s){let n=this._active,o=t.map(({datasetIndex:l,index:c})=>{let h=this.chart.getDatasetMeta(l);if(!h)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:h.data[c],index:c}}),r=!ze(n,o),a=this._positionChanged(o,s);(r||a)&&(this._active=o,this._eventPosition=s,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,s,n=!0){if(s&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let o=this.options,r=this._active||[],a=this._getActiveElements(t,r,s,n),l=this._positionChanged(a,t),c=s||!ze(a,r)||l;return c&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,s))),c}_getActiveElements(t,s,n,o){let r=this.options;if(t.type==="mouseout")return[];if(!o)return s.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);let a=this.chart.getElementsAtEventForMode(t,r.mode,r,n);return r.reverse&&a.reverse(),a}_positionChanged(t,s){let{caretX:n,caretY:o,options:r}=this,a=Xe[r.position].call(this,t,s);return a!==!1&&(n!==a.x||o!==a.y)}}return e})(),Kg={id:"tooltip",_element:Ga,positioners:Xe,afterInit(e,i,t){t&&(e.tooltip=new Ga({chart:e,options:t}))},beforeUpdate(e,i,t){e.tooltip&&e.tooltip.initialize(t)},reset(e,i,t){e.tooltip&&e.tooltip.initialize(t)},afterDraw(e){let i=e.tooltip;if(i&&i._willRender()){let t={tooltip:i};if(e.notifyPlugins("beforeTooltipDraw",kt(mt({},t),{cancelable:!0}))===!1)return;i.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",t)}},afterEvent(e,i){if(e.tooltip){let t=i.replay;e.tooltip.handleEvent(i.event,t,i.inChartArea)&&(i.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,i)=>i.bodyFont.size,boxWidth:(e,i)=>i.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:kl},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Gg=Object.freeze({__proto__:null,Colors:ag,Decimation:dg,Filler:Tg,Legend:zg,SubTitle:Vg,Title:jg,Tooltip:Kg}),qg=(e,i,t,s)=>(typeof i=="string"?(t=e.push(i)-1,s.unshift({index:t,label:i})):isNaN(i)&&(t=null),t);function Zg(e,i,t,s){let n=e.indexOf(i);if(n===-1)return qg(e,i,t,s);let o=e.lastIndexOf(i);return n!==o?t:n}var Jg=(e,i)=>e===null?null:Y(Math.round(e),0,i);function qa(e){let i=this.getLabels();return e>=0&&e{class e extends qt{static id="category";static defaults={ticks:{callback:qa}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){let s=this._addedLabels;if(s.length){let n=this.getLabels();for(let{index:o,label:r}of s)n[o]===r&&n.splice(o,1);this._addedLabels=[]}super.init(t)}parse(t,s){if(T(t))return null;let n=this.getLabels();return s=isFinite(s)&&n[s]===t?s:Zg(n,t,C(s,t),this._addedLabels),Jg(s,n.length-1)}determineDataLimits(){let{minDefined:t,maxDefined:s}=this.getUserBounds(),{min:n,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(n=0),s||(o=this.getLabels().length-1)),this.min=n,this.max=o}buildTicks(){let t=this.min,s=this.max,n=this.options.offset,o=[],r=this.getLabels();r=t===0&&s===r.length-1?r:r.slice(t,s+1),this._valueRange=Math.max(r.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let a=t;a<=s;a++)o.push({value:a});return o}getLabelForValue(t){return qa.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){let s=this.ticks;return t<0||t>s.length-1?null:this.getPixelForValue(s[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}return e})();function tm(e,i){let t=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:f}=e,u=o||1,p=h-1,{min:g,max:m}=i,x=!T(r),b=!T(a),y=!T(c),M=(m-g)/(d+1),_=ps((m-g)/p/u)*u,v,S,w,k;if(_<1e-14&&!x&&!b)return[{value:g},{value:m}];k=Math.ceil(m/_)-Math.floor(g/_),k>p&&(_=ps(k*_/p/u)*u),T(l)||(v=Math.pow(10,l),_=Math.ceil(_*v)/v),n==="ticks"?(S=Math.floor(g/_)*_,w=Math.ceil(m/_)*_):(S=g,w=m),x&&b&&o&&Ir((a-r)/o,_/1e3)?(k=Math.round(Math.min((a-r)/_,h)),_=(a-r)/k,S=r,w=a):y?(S=x?r:S,w=b?a:w,k=c-1,_=(w-S)/k):(k=(w-S)/_,ge(k,Math.round(k),_/1e3)?k=Math.round(k):k=Math.ceil(k));let O=Math.max(ms(_),ms(S));v=Math.pow(10,T(l)?O:l),S=Math.round(S*v)/v,w=Math.round(w*v)/v;let P=0;for(x&&(f&&S!==r?(t.push({value:r}),Sa)break;t.push({value:D})}return b&&f&&w!==a?t.length&&ge(t[t.length-1].value,a,Za(a,M,e))?t[t.length-1].value=a:t.push({value:a}):(!b||w===a)&&t.push({value:w}),t}function Za(e,i,{horizontal:t,minRotation:s}){let n=ot(s),o=(t?Math.sin(n):Math.cos(n))||.001,r=.75*i*(""+e).length;return Math.min(i/o,r)}var Me=class extends qt{constructor(i){super(i),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(i,t){return T(i)||(typeof i=="number"||i instanceof Number)&&!isFinite(+i)?null:+i}handleTickRangeOptions(){let{beginAtZero:i}=this.options,{minDefined:t,maxDefined:s}=this.getUserBounds(),{min:n,max:o}=this,r=l=>n=t?n:l,a=l=>o=s?o:l;if(i){let l=at(n),c=at(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);a(o+l),i||r(n-l)}this.min=n,this.max=o}getTickLimit(){let i=this.options.ticks,{maxTicksLimit:t,stepSize:s}=i,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),t=t||11),t&&(n=Math.min(t,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let i=this.options,t=i.ticks,s=this.getTickLimit();s=Math.max(2,s);let n={maxTicks:s,bounds:i.bounds,min:i.min,max:i.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},o=this._range||this,r=tm(n,o);return i.bounds==="ticks"&&gs(r,this,"value"),i.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let i=this.ticks,t=this.min,s=this.max;if(super.configure(),this.options.offset&&i.length){let n=(s-t)/Math.max(i.length-1,1)/2;t-=n,s+=n}this._startValue=t,this._endValue=s,this._valueRange=s-t}getLabelForValue(i){return be(i,this.chart.options.locale,this.options.ticks.format)}},hn=class extends Me{static id="linear";static defaults={ticks:{callback:Be.formatters.numeric}};determineDataLimits(){let{min:i,max:t}=this.getMinMax(!0);this.min=V(i)?i:0,this.max=V(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let i=this.isHorizontal(),t=i?this.width:this.height,s=ot(this.options.ticks.minRotation),n=(i?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/n))}getPixelForValue(i){return i===null?NaN:this.getPixelForDecimal((i-this._startValue)/this._valueRange)}getValueForPixel(i){return this._startValue+this.getDecimalForPixel(i)*this._valueRange}},qe=e=>Math.floor(yt(e)),Gt=(e,i)=>Math.pow(10,qe(e)+i);function Ja(e){return e/Math.pow(10,qe(e))===1}function Qa(e,i,t){let s=Math.pow(10,t),n=Math.floor(e/s);return Math.ceil(i/s)-n}function em(e,i){let t=i-e,s=qe(t);for(;Qa(e,i,s)>10;)s++;for(;Qa(e,i,s)<10;)s--;return Math.min(s,qe(e))}function im(e,{min:i,max:t}){i=Q(e.min,i);let s=[],n=qe(i),o=em(i,t),r=o<0?Math.pow(10,Math.abs(o)):1,a=Math.pow(10,o),l=n>o?Math.pow(10,n):0,c=Math.round((i-l)*r)/r,h=Math.floor((i-l)/a/10)*a*10,d=Math.floor((c-h)/Math.pow(10,o)),f=Q(e.min,Math.round((l+h+d*Math.pow(10,o))*r)/r);for(;f=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,r=o>=0?1:r),f=Math.round((l+h+d*Math.pow(10,o))*r)/r;let u=Q(e.max,f);return s.push({value:u,major:Ja(u),significand:d}),s}var dn=class extends qt{static id="logarithmic";static defaults={ticks:{callback:Be.formatters.logarithmic,major:{enabled:!0}}};constructor(i){super(i),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(i,t){let s=Me.prototype.parse.apply(this,[i,t]);if(s===0){this._zero=!0;return}return V(s)&&s>0?s:null}determineDataLimits(){let{min:i,max:t}=this.getMinMax(!0);this.min=V(i)?Math.max(0,i):null,this.max=V(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!V(this._userMin)&&(this.min=i===Gt(this.min,0)?Gt(this.min,-1):Gt(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:i,maxDefined:t}=this.getUserBounds(),s=this.min,n=this.max,o=a=>s=i?s:a,r=a=>n=t?n:a;s===n&&(s<=0?(o(1),r(10)):(o(Gt(s,-1)),r(Gt(n,1)))),s<=0&&o(Gt(n,-1)),n<=0&&r(Gt(s,1)),this.min=s,this.max=n}buildTicks(){let i=this.options,t={min:this._userMin,max:this._userMax},s=im(t,this);return i.bounds==="ticks"&&gs(s,this,"value"),i.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(i){return i===void 0?"0":be(i,this.chart.options.locale,this.options.ticks.format)}configure(){let i=this.min;super.configure(),this._startValue=yt(i),this._valueRange=yt(this.max)-yt(i)}getPixelForValue(i){return(i===void 0||i===0)&&(i=this.min),i===null||isNaN(i)?NaN:this.getPixelForDecimal(i===this.min?0:(yt(i)-this._startValue)/this._valueRange)}getValueForPixel(i){let t=this.getDecimalForPixel(i);return Math.pow(10,this._startValue+t*this._valueRange)}};function fn(e){let i=e.ticks;if(i.display&&e.display){let t=K(i.backdropPadding);return C(i.font&&i.font.size,N.font.size)+t.height}return 0}function sm(e,i,t){return t=I(t)?t:[t],{w:$r(e,i.string,t),h:t.length*i.lineHeight}}function tl(e,i,t,s,n){return e===s||e===n?{start:i-t/2,end:i+t/2}:en?{start:i-t,end:i}:{start:i,end:i+t}}function nm(e){let i={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},t=Object.assign({},i),s=[],n=[],o=e._pointLabels.length,r=e.options.pointLabels,a=r.centerPointLabels?F/o:0;for(let l=0;li.r&&(a=(s.end-i.r)/o,e.r=Math.max(e.r,i.r+a)),n.starti.b&&(l=(n.end-i.b)/r,e.b=Math.max(e.b,i.b+l))}function rm(e,i,t){let s=e.drawingArea,{extra:n,additionalAngle:o,padding:r,size:a}=t,l=e.getPointPosition(i,s+n+r,o),c=Math.round(Si(J(l.angle+H))),h=dm(l.y,a.h,c),d=cm(c),f=hm(l.x,a.w,d);return{visible:!0,x:l.x,y:h,textAlign:d,left:f,top:h,right:f+a.w,bottom:h+a.h}}function am(e,i){if(!i)return!0;let{left:t,top:s,right:n,bottom:o}=e;return!(dt({x:t,y:s},i)||dt({x:t,y:o},i)||dt({x:n,y:s},i)||dt({x:n,y:o},i))}function lm(e,i,t){let s=[],n=e._pointLabels.length,o=e.options,{centerPointLabels:r,display:a}=o.pointLabels,l={extra:fn(o)/2,additionalAngle:r?F/n:0},c;for(let h=0;h270||t<90)&&(e-=i),e}function fm(e,i,t){let{left:s,top:n,right:o,bottom:r}=t,{backdropColor:a}=i;if(!T(a)){let l=zt(i.borderRadius),c=K(i.backdropPadding);e.fillStyle=a;let h=s-c.left,d=n-c.top,f=o-s+c.width,u=r-n+c.height;Object.values(l).some(p=>p!==0)?(e.beginPath(),xe(e,{x:h,y:d,w:f,h:u,radius:l}),e.fill()):e.fillRect(h,d,f,u)}}function um(e,i){let{ctx:t,options:{pointLabels:s}}=e;for(let n=i-1;n>=0;n--){let o=e._pointLabelItems[n];if(!o.visible)continue;let r=s.setContext(e.getPointLabelContext(n));fm(t,r,o);let a=$(r.font),{x:l,y:c,textAlign:h}=o;Ft(t,e._pointLabels[n],l,c+a.lineHeight/2,a,{color:r.color,textAlign:h,textBaseline:"middle"})}}function Cl(e,i,t,s){let{ctx:n}=e;if(t)n.arc(e.xCenter,e.yCenter,i,0,z);else{let o=e.getPointPosition(0,i);n.moveTo(o.x,o.y);for(let r=1;r{let n=R(this.options.pointLabels.callback,[t,s],this);return n||n===0?n:""}).filter((t,s)=>this.chart.getDataVisibility(s))}fit(){let i=this.options;i.display&&i.pointLabels.display?nm(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(i,t,s,n){this.xCenter+=Math.floor((i-t)/2),this.yCenter+=Math.floor((s-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(i,t,s,n))}getIndexAngle(i){let t=z/(this._pointLabels.length||1),s=this.options.startAngle||0;return J(i*t+ot(s))}getDistanceFromCenterForValue(i){if(T(i))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-i)*t:(i-this.min)*t}getValueForDistanceFromCenter(i){if(T(i))return NaN;let t=i/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(i){let t=this._pointLabels||[];if(i>=0&&i{if(d!==0||d===0&&this.min<0){l=this.getDistanceFromCenterForValue(h.value);let f=this.getContext(d),u=n.setContext(f),p=o.setContext(f);pm(this,u,l,r,p)}}),s.display){for(i.save(),a=r-1;a>=0;a--){let h=s.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:f}=h;!f||!d||(i.lineWidth=f,i.strokeStyle=d,i.setLineDash(h.borderDash),i.lineDashOffset=h.borderDashOffset,l=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),i.beginPath(),i.moveTo(this.xCenter,this.yCenter),i.lineTo(c.x,c.y),i.stroke())}i.restore()}}drawBorder(){}drawLabels(){let i=this.ctx,t=this.options,s=t.ticks;if(!s.display)return;let n=this.getIndexAngle(0),o,r;i.save(),i.translate(this.xCenter,this.yCenter),i.rotate(n),i.textAlign="center",i.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&this.min>=0&&!t.reverse)return;let c=s.setContext(this.getContext(l)),h=$(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){i.font=h.string,r=i.measureText(a.label).width,i.fillStyle=c.backdropColor;let d=K(c.backdropPadding);i.fillRect(-r/2-d.left,-o-h.size/2-d.top,r+d.width,h.size+d.height)}Ft(i,a.label,0,-o,h,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),i.restore()}drawTitle(){}},Zi={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},et=Object.keys(Zi);function el(e,i){return e-i}function il(e,i){if(T(i))return null;let t=e._adapter,{parser:s,round:n,isoWeekday:o}=e._parseOpts,r=i;return typeof s=="function"&&(r=s(r)),V(r)||(r=typeof s=="string"?t.parse(r,s):t.parse(r)),r===null?null:(n&&(r=n==="week"&&(Ut(o)||o===!0)?t.startOf(r,"isoWeek",o):t.startOf(r,n)),+r)}function sl(e,i,t,s){let n=et.length;for(let o=et.indexOf(e);o=et.indexOf(t);o--){let r=et[o];if(Zi[r].common&&e._adapter.diff(n,s,r)>=i-1)return r}return et[t?et.indexOf(t):0]}function bm(e){for(let i=et.indexOf(e)+1,t=et.length;i=i?t[s]:t[n];e[o]=!0}}function xm(e,i,t,s){let n=e._adapter,o=+n.startOf(i[0].value,s),r=i[i.length-1].value,a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=t[a],l>=0&&(i[l].major=!0);return i}function ol(e,i,t){let s=[],n={},o=i.length,r,a;for(r=0;r{class e extends qt{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,s={}){let n=t.time||(t.time={}),o=this._adapter=new Du._date(t.adapters.date);o.init(s),ue(n.displayFormats,o.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=s.normalized}parse(t,s){return t===void 0?null:il(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let t=this.options,s=this._adapter,n=t.time.unit||"day",{min:o,max:r,minDefined:a,maxDefined:l}=this.getUserBounds();function c(h){!a&&!isNaN(h.min)&&(o=Math.min(o,h.min)),!l&&!isNaN(h.max)&&(r=Math.max(r,h.max))}(!a||!l)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=V(o)&&!isNaN(o)?o:+s.startOf(Date.now(),n),r=V(r)&&!isNaN(r)?r:+s.endOf(Date.now(),n)+1,this.min=Math.min(o,r-1),this.max=Math.max(o+1,r)}_getLabelBounds(){let t=this.getLabelTimestamps(),s=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(s=t[0],n=t[t.length-1]),{min:s,max:n}}buildTicks(){let t=this.options,s=t.time,n=t.ticks,o=n.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);let r=this.min,a=this.max,l=Br(o,r,a);return this._unit=s.unit||(n.autoSkip?sl(s.minUnit,this.min,this.max,this._getLabelCapacity(r)):mm(this,l.length,s.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:bm(this._unit),this.initOffsets(o),t.reverse&&l.reverse(),ol(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let s=0,n=0,o,r;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?s=1-o:s=(this.getDecimalForValue(t[1])-o)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?n=r:n=(r-this.getDecimalForValue(t[t.length-2]))/2);let a=t.length<3?.5:.25;s=Y(s,0,a),n=Y(n,0,a),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){let t=this._adapter,s=this.min,n=this.max,o=this.options,r=o.time,a=r.unit||sl(r.minUnit,s,n,this._getLabelCapacity(s)),l=C(o.ticks.stepSize,1),c=a==="week"?r.isoWeekday:!1,h=Ut(c)||c===!0,d={},f=s,u,p;if(h&&(f=+t.startOf(f,"isoWeek",c)),f=+t.startOf(f,h?"day":a),t.diff(n,s,a)>1e5*l)throw new Error(s+" and "+n+" are too far apart with stepSize of "+l+" "+a);let g=o.ticks.source==="data"&&this.getDataTimestamps();for(u=f,p=0;u+m)}getLabelForValue(t){let s=this._adapter,n=this.options.time;return n.tooltipFormat?s.format(t,n.tooltipFormat):s.format(t,n.displayFormats.datetime)}format(t,s){let o=this.options.time.displayFormats,r=this._unit,a=s||o[r];return this._adapter.format(t,a)}_tickFormatFunction(t,s,n,o){let r=this.options,a=r.ticks.callback;if(a)return R(a,[t,s,n],this);let l=r.time.displayFormats,c=this._unit,h=this._majorUnit,d=c&&l[c],f=h&&l[h],u=n[s],p=h&&f&&u&&u.major;return this._adapter.format(t,o||(p?f:d))}generateTickLabels(t){let s,n,o;for(s=0,n=t.length;s0?l:1}getDataTimestamps(){let t=this._cache.data||[],s,n;if(t.length)return t;let o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(s=0,n=o.length;s=e[s].pos&&i<=e[n].pos&&({lo:s,hi:n}=ht(e,"pos",i)),{pos:o,time:a}=e[s],{pos:r,time:l}=e[n]):(i>=e[s].time&&i<=e[n].time&&({lo:s,hi:n}=ht(e,"time",i)),{time:o,pos:a}=e[s],{time:r,pos:l}=e[n]);let c=r-o;return c?a+(l-a)*(i-o)/c:a}var gn=class extends pn{static id="timeseries";static defaults=pn.defaults;constructor(i){super(i),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let i=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(i);this._minPos=Vi(t,this.min),this._tableRange=Vi(t,this.max)-this._minPos,super.initOffsets(i)}buildLookupTable(i){let{min:t,max:s}=this,n=[],o=[],r,a,l,c,h;for(r=0,a=i.length;r=t&&c<=s&&n.push(c);if(n.length<2)return[{time:t,pos:0},{time:s,pos:1}];for(r=0,a=n.length;rn-o)}_getTimestampsForTable(){let i=this._cache.all||[];if(i.length)return i;let t=this.getDataTimestamps(),s=this.getLabelTimestamps();return t.length&&s.length?i=this.normalize(t.concat(s)):i=t.length?t:s,i=this._cache.all=i,i}getDecimalForValue(i){return(Vi(this._table,i)-this._minPos)/this._tableRange}getValueForPixel(i){let t=this._offsets,s=this.getDecimalForPixel(i)/t.factor-t.end;return Vi(this._table,s*this._tableRange+this._minPos,!0)}},_m=Object.freeze({__proto__:null,CategoryScale:Qg,LinearScale:hn,LogarithmicScale:dn,RadialLinearScale:un,TimeScale:pn,TimeSeriesScale:gn}),Pl=[Au,eg,Gg,_m];var Je={TOOLTIP:"chartjs-tooltip",TOOLTIP_BODY:"chartjs-tooltip-body",TOOLTIP_BODY_ITEM:"chartjs-tooltip-body-item",TOOLTIP_HEADER:"chartjs-tooltip-header",TOOLTIP_HEADER_ITEM:"chartjs-tooltip-header-item"},ym=e=>{let i=e.canvas.parentNode.querySelector("div");if(!i){i=document.createElement("div"),i.classList.add(Je.TOOLTIP);let t=document.createElement("table");t.style.margin="0px",i.append(t),e.canvas.parentNode.append(i)}return i},Ol=e=>{let{chart:i,tooltip:t}=e,s=ym(i);if(t.opacity===0){s.style.opacity=0;return}if(t.body){let r=t.title||[],a=t.body.map(d=>d.lines),l=document.createElement("thead");l.classList.add(Je.TOOLTIP_HEADER);for(let d of r){let f=document.createElement("tr");f.style.borderWidth=0,f.classList.add(Je.TOOLTIP_HEADER_ITEM);let u=document.createElement("th");u.style.borderWidth=0;let p=document.createTextNode(d);u.append(p),f.append(u),l.append(f)}let c=document.createElement("tbody");c.classList.add(Je.TOOLTIP_BODY);for(let[d,f]of a.entries()){let u=t.labelColors[d],p=document.createElement("span");p.style.background=u.backgroundColor,p.style.borderColor=u.borderColor,p.style.borderWidth="2px",p.style.marginRight="10px",p.style.height="10px",p.style.width="10px",p.style.display="inline-block";let g=document.createElement("tr");g.classList.add(Je.TOOLTIP_BODY_ITEM);let m=document.createElement("td");m.style.borderWidth=0;let x=document.createTextNode(f);m.append(p),m.append(x),g.append(m),c.append(g)}let h=s.querySelector("table");for(;h.firstChild;)h.firstChild.remove();h.append(l),h.append(c)}let{offsetLeft:n,offsetTop:o}=i.canvas;s.style.opacity=1,s.style.left=`${n+t.caretX}px`,s.style.top=`${o+t.caretY}px`,s.style.font=t.options.bodyFont.string,s.style.padding=`${t.padding}px ${t.padding}px`};var vm=["canvasElement"],Mm=["*"];Gi.register(...Pl);var wm=0,y0=(()=>{let i=class i{get hostClasses(){return{"chart-wrapper":this.wrapper}}constructor(s,n,o){this.ngZone=s,this.renderer=n,this.changeDetectorRef=o,this.customTooltips=!0,this.id=`c-chartjs-${wm++}`,this.options={},this.plugins=[],this.redraw=!1,this.type="bar",this.wrapper=!0,this.getDatasetAtEvent=new ke,this.getElementAtEvent=new ke,this.getElementsAtEvent=new ke,this.chartRef=new ke,kn(()=>{this.ctx=this.canvasElement?.nativeElement?.getContext("2d"),this.chartRender()},{phase:Sn.Write})}ngAfterViewInit(){this.chartRender()}ngOnChanges(s){s.data&&!s.data.firstChange&&this.chartUpdate()}ngOnDestroy(){this.chartDestroy()}handleClick(s){if(!this.chart)return;let n=this.chart.getElementsAtEventForMode(s,"dataset",{intersect:!0},!1);this.getDatasetAtEvent.emit(n);let o=this.chart.getElementsAtEventForMode(s,"nearest",{intersect:!0},!1);this.getElementAtEvent.emit(o);let r=this.chart.getElementsAtEventForMode(s,"index",{intersect:!0},!1);this.getElementsAtEvent.emit(r)}chartDestroy(){this.chart?.destroy(),this.chartRef.emit(void 0)}chartRender(){!this.canvasElement?.nativeElement||!this.ctx||this.chart||this.ngZone.runOutsideAngular(()=>{let s=this.chartConfig();s&&(this.chart=new Gi(this.ctx,s),this.ngZone.run(()=>{this.renderer.setStyle(this.canvasElement.nativeElement,"display","block"),this.changeDetectorRef.markForCheck(),this.chartRef.emit(this.chart)}))})}chartUpdate(){if(!this.chart)return;if(this.redraw){this.chartDestroy(),this.chartRender();return}let s=this.chartConfig();this.options&&Object.assign(this.chart.options??{},s.options??{}),this.chart.config.data||(this.chart.config.data=mt({},s.data),this.chartUpdateOutsideAngular()),this.chart&&(Object.assign(this.chart.config.options??{},s.options??{}),Object.assign(this.chart.config.plugins??[],s.plugins??[]),Object.assign(this.chart.config.data,s.data)),this.chartUpdateOutsideAngular()}chartUpdateOutsideAngular(){setTimeout(()=>{this.ngZone.runOutsideAngular(()=>{this.chart?.update(),this.ngZone.run(()=>{this.changeDetectorRef.markForCheck()})})})}chartToBase64Image(){return this.chart?.toBase64Image()}chartDataConfig(){return{labels:this.data?.labels??[],datasets:this.data?.datasets??[]}}chartOptions(){return this.options??{}}chartConfig(){return this.chartCustomTooltips(),{data:this.chartDataConfig(),options:this.chartOptions(),plugins:this.plugins,type:this.type}}chartCustomTooltips(){if(this.customTooltips){let s=this.options,n=this.options?.plugins,o=this.options?.plugins?.tooltip;this.options=fr(kt(mt({},s),{plugins:kt(mt({},n),{tooltip:kt(mt({},o),{enabled:!1,mode:"index",position:"nearest",external:Ol})})}))}}};i.\u0275fac=function(n){return new(n||i)(ti(wn),ti(Mn),ti(Vn))},i.\u0275cmp=xn({type:i,selectors:[["c-chart"]],viewQuery:function(n,o){if(n&1&&Fn(vm,5),n&2){let r;zn(r=Bn())&&(o.canvasElement=r.first)}},hostVars:6,hostBindings:function(n,o){n&2&&(An(o.hostClasses),On("height",o.height,"px")("width",o.width,"px"))},inputs:{customTooltips:[2,"customTooltips","customTooltips",ei],data:"data",height:[2,"height","height",s=>Ji(s,void 0)],id:"id",options:"options",plugins:"plugins",redraw:[2,"redraw","redraw",ei],type:"type",width:[2,"width","width",s=>Ji(s,void 0)],wrapper:[2,"wrapper","wrapper",ei]},outputs:{getDatasetAtEvent:"getDatasetAtEvent",getElementAtEvent:"getElementAtEvent",getElementsAtEvent:"getElementsAtEvent",chartRef:"chartRef"},exportAs:["cChart"],standalone:!0,features:[Cn,_n,jn],ngContentSelectors:Mm,decls:3,vars:3,consts:[["canvasElement",""],["role","img",2,"display","none",3,"click","height","id","width"]],template:function(n,o){if(n&1){let r=Ln();Rn(),Dn(0,"canvas",1,0),En("click",function(l){return yn(r),vn(o.handleClick(l))}),In(2),Tn()}n&2&&Pn("height",o.height)("id",o.id)("width",o.width)},styles:[".chart-wrapper[_nghost-%COMP%]{display:block}"],changeDetection:0});let e=i;return e})();export{y0 as a}; diff --git a/angular/docs/chunk-XQG32QJB.js b/angular/docs/chunk-WZMOPKFN.js similarity index 97% rename from angular/docs/chunk-XQG32QJB.js rename to angular/docs/chunk-WZMOPKFN.js index 8ac54d0102c..c222e886c95 100644 --- a/angular/docs/chunk-XQG32QJB.js +++ b/angular/docs/chunk-WZMOPKFN.js @@ -1 +1 @@ -import{Gb as l,La as h,Ub as a,mb as c,nd as i,pa as n,rb as p}from"./chunk-O6V6MKDU.js";var u=(()=>{let e=class e{get hostClasses(){return{[`table-${this.color}`]:!!this.color}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n({type:e,selectors:[["","cTableColor",""]],hostVars:2,hostBindings:function(t,o){t&2&&a(o.hostClasses)},inputs:{color:[0,"cTableColor","color"]},standalone:!0});let s=e;return s})();var f=(()=>{let e=class e{constructor(){this.active=!1}get hostClasses(){return{"table-active":this.active}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n({type:e,selectors:[["","cTableActive",""]],hostVars:2,hostBindings:function(t,o){t&2&&a(o.hostClasses)},inputs:{active:[2,"cTableActive","active",i]},standalone:!0,features:[l]});let s=e;return s})();var m=(()=>{let e=class e{constructor(r,t){this.renderer=r,this.hostElement=t,this.bordered=!1,this.borderless=!1,this.hover=!1,this.small=!1,this.striped=!1,this.stripedColumns=!1}get hostClasses(){return{table:!0,[`align-${this.align}`]:!!this.align,[`caption-${this.caption}`]:!!this.caption,[`border-${this.borderColor}`]:!!this.borderColor,"table-bordered":this.bordered,"table-borderless":this.borderless,[`table-${this.color}`]:!!this.color,"table-hover":this.hover,"table-sm":this.small,"table-striped":this.striped,"table-striped-columns":this.stripedColumns}}ngOnInit(){this.setResponsiveWrapper()}setResponsiveWrapper(){if(this.responsive){let r=this.hostElement.nativeElement,t=this.renderer.createElement("div"),o=this.responsive===!0?"table-responsive":`table-responsive-${this.responsive}`;this.renderer.addClass(t,o);let d=this.renderer.parentNode(r);this.renderer.appendChild(d,t),this.renderer.insertBefore(d,t,r),this.renderer.appendChild(t,r)}}};e.\u0275fac=function(t){return new(t||e)(c(p),c(h))},e.\u0275dir=n({type:e,selectors:[["table","cTable",""]],hostVars:2,hostBindings:function(t,o){t&2&&a(o.hostClasses)},inputs:{align:"align",borderColor:"borderColor",bordered:[2,"bordered","bordered",i],borderless:[2,"borderless","borderless",i],caption:"caption",color:"color",hover:[2,"hover","hover",i],responsive:"responsive",small:[2,"small","small",i],striped:[2,"striped","striped",i],stripedColumns:[2,"stripedColumns","stripedColumns",i]},standalone:!0,features:[l]});let s=e;return s})();export{u as a,f as b,m as c}; +import{Gb as l,La as h,Ub as a,mb as c,nd as i,pa as n,rb as p}from"./chunk-6U7QZ4SV.js";var u=(()=>{let e=class e{get hostClasses(){return{[`table-${this.color}`]:!!this.color}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n({type:e,selectors:[["","cTableColor",""]],hostVars:2,hostBindings:function(t,o){t&2&&a(o.hostClasses)},inputs:{color:[0,"cTableColor","color"]},standalone:!0});let s=e;return s})();var f=(()=>{let e=class e{constructor(){this.active=!1}get hostClasses(){return{"table-active":this.active}}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n({type:e,selectors:[["","cTableActive",""]],hostVars:2,hostBindings:function(t,o){t&2&&a(o.hostClasses)},inputs:{active:[2,"cTableActive","active",i]},standalone:!0,features:[l]});let s=e;return s})();var m=(()=>{let e=class e{constructor(r,t){this.renderer=r,this.hostElement=t,this.bordered=!1,this.borderless=!1,this.hover=!1,this.small=!1,this.striped=!1,this.stripedColumns=!1}get hostClasses(){return{table:!0,[`align-${this.align}`]:!!this.align,[`caption-${this.caption}`]:!!this.caption,[`border-${this.borderColor}`]:!!this.borderColor,"table-bordered":this.bordered,"table-borderless":this.borderless,[`table-${this.color}`]:!!this.color,"table-hover":this.hover,"table-sm":this.small,"table-striped":this.striped,"table-striped-columns":this.stripedColumns}}ngOnInit(){this.setResponsiveWrapper()}setResponsiveWrapper(){if(this.responsive){let r=this.hostElement.nativeElement,t=this.renderer.createElement("div"),o=this.responsive===!0?"table-responsive":`table-responsive-${this.responsive}`;this.renderer.addClass(t,o);let d=this.renderer.parentNode(r);this.renderer.appendChild(d,t),this.renderer.insertBefore(d,t,r),this.renderer.appendChild(t,r)}}};e.\u0275fac=function(t){return new(t||e)(c(p),c(h))},e.\u0275dir=n({type:e,selectors:[["table","cTable",""]],hostVars:2,hostBindings:function(t,o){t&2&&a(o.hostClasses)},inputs:{align:"align",borderColor:"borderColor",bordered:[2,"bordered","bordered",i],borderless:[2,"borderless","borderless",i],caption:"caption",color:"color",hover:[2,"hover","hover",i],responsive:"responsive",small:[2,"small","small",i],striped:[2,"striped","striped",i],stripedColumns:[2,"stripedColumns","stripedColumns",i]},standalone:!0,features:[l]});let s=e;return s})();export{u as a,f as b,m as c}; diff --git a/angular/docs/chunk-R5VILIZ4.js b/angular/docs/chunk-WZSJYS2F.js similarity index 92% rename from angular/docs/chunk-R5VILIZ4.js rename to angular/docs/chunk-WZSJYS2F.js index 7162aea32d6..09954441b1e 100644 --- a/angular/docs/chunk-R5VILIZ4.js +++ b/angular/docs/chunk-WZSJYS2F.js @@ -1,4 +1,4 @@ -import{a as V}from"./chunk-TUX4GOME.js";import{b as w}from"./chunk-PERFRTVS.js";import{a as Y,b as q,f as $,j as N,k as O}from"./chunk-KQYWJLIW.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{i as U}from"./chunk-SPMMWGWV.js";import{a as y}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{b as p}from"./chunk-EBCID5MY.js";import{g as K}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as J}from"./chunk-SWYVARVN.js";import{r as W}from"./chunk-JJFVMVK7.js";import{c as Q,d as R}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as l,Ca as B,Cc as b,Da as F,Dc as j,Gb as k,Oc as m,Pb as z,Pc as C,Qb as f,Ub as P,ac as o,bc as r,lb as h,mb as D,na as d,nd as G,pa as x,tc as I,vc as H,wc as L}from"./chunk-O6V6MKDU.js";import{e as M,f as A,g as T}from"./chunk-MGAX33HK.js";var s=(()=>{let e=class e{constructor(){this.visible=!1}get ariaHidden(){return this.visible?null:!0}get hostClasses(){return{placeholder:this.visible,[`placeholder-${this.size}`]:!!this.size}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=x({type:e,selectors:[["","cPlaceholder",""]],hostVars:3,hostBindings:function(n,a){n&2&&(z("aria-hidden",a.ariaHidden),P(a.hostClasses))},inputs:{visible:[2,"cPlaceholder","visible",G],size:[0,"cPlaceholderSize","size"]},exportAs:["cPlaceholder"],standalone:!0,features:[k]});let i=e;return i})();var v=(()=>{var e;let g=class g{constructor(){A(this,e,!1)}get hostClasses(){return{[`placeholder-${this.animation}`]:M(this,e)&&!!this.animation}}ngAfterContentInit(){T(this,e,this.placeholder?.visible)}};e=new WeakMap,g.\u0275fac=function(a){return new(a||g)},g.\u0275dir=x({type:g,selectors:[["","cPlaceholderAnimation",""]],contentQueries:function(a,S,ie){if(a&1&&I(ie,s,5),a&2){let E;H(E=L())&&(S.placeholder=E.first)}},hostVars:2,hostBindings:function(a,S){a&2&&P(S.hostClasses)},inputs:{animation:[0,"cPlaceholderAnimation","animation"]},standalone:!0});let i=g;return i})();var X=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders06"]],standalone:!0,features:[m],decls:4,vars:0,consts:[["cPlaceholderAnimation","glow"],["cCol","12","cPlaceholder",""],["cPlaceholderAnimation","wave"],["cCol","12","cPlaceholder","","cBgColor","dark"]],template:function(n,a){n&1&&(t(0,"p",0),r(1,"span",1),o(),t(2,"p",2),r(3,"span",3),o())},dependencies:[v,p,s,w]});let i=e;return i})();var Z=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders05"]],standalone:!0,features:[m],decls:4,vars:0,consts:[["cCol","12","cPlaceholder","","cPlaceholderSize","lg"],["cCol","12","cPlaceholder",""],["cCol","12","cPlaceholder","","cPlaceholderSize","sm"],["cCol","12","cPlaceholder","","cPlaceholderSize","xs"]],template:function(n,a){n&1&&r(0,"span",0)(1,"span",1)(2,"span",2)(3,"span",3)},dependencies:[p,s]});let i=e;return i})();var _=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders04"]],standalone:!0,features:[m],decls:9,vars:0,consts:[["cCol","12","cPlaceholder",""],["cBgColor","primary","cCol","12","cPlaceholder",""],["cBgColor","secondary","cCol","12","cPlaceholder",""],["cBgColor","success","cCol","12","cPlaceholder",""],["cBgColor","danger","cCol","12","cPlaceholder",""],["cBgColor","warning","cCol","12","cPlaceholder",""],["cBgColor","info","cCol","12","cPlaceholder",""],["cBgColor","light","cCol","12","cPlaceholder",""],["cBgColor","dark","cCol","12","cPlaceholder",""]],template:function(n,a){n&1&&r(0,"span",0)(1,"span",1)(2,"span",2)(3,"span",3)(4,"span",4)(5,"span",5)(6,"span",6)(7,"span",7)(8,"span",8)},dependencies:[p,s,w]});let i=e;return i})();var ee=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders03"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["cCol","6","cPlaceholder",""],["cPlaceholder","",1,"w-75"],["cPlaceholder","",2,"width","30%"]],template:function(n,a){n&1&&r(0,"span",0)(1,"span",1)(2,"span",2)},dependencies:[p,s]});let i=e;return i})();var te=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders02"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["aria-hidden","true"],["cCol","6","cPlaceholder",""],["cButton","","cCol","4","cPlaceholder","","disabled",""]],template:function(n,a){n&1&&(t(0,"p",0),r(1,"span",1),o(),r(2,"button",2))},dependencies:[p,s,y]});let i=e;return i})();var ne=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders01"]],standalone:!0,features:[m],decls:25,vars:0,consts:[[2,"width","18rem"],["cCardImg","top","loading","lazy","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],["cButton","","cCol","7","routerLink","./"],["aria-label","Placeholder","cCardImg","top","focusable","false","height","162","preserveAspectRatio","xMidYMid slice","role","img","width","100%","xmlns","http://www.w3.org/2000/svg"],["fill","#868e96","height","100%","width","100%"],["cCardTitle","","cPlaceholderAnimation","glow"],["cCol","6","cPlaceholder",""],["cCardText","","cPlaceholderAnimation","glow"],["cCol","","xs","7","cPlaceholder","",1,"me-1"],["cCol","4","cPlaceholder","",1,"me-1"],["cCol","6","cPlaceholder","",1,"me-1"],["cCol","8","cPlaceholder","",1,"me-1"],["cPlaceholderAnimation","glow"],["cButton","","cCol","7","cPlaceholder","","color","primary","disabled","","routerLink","./"]],template:function(n,a){n&1&&(t(0,"c-card",0),r(1,"img",1),t(2,"c-card-body")(3,"h5",2),l(4,"Card title"),o(),t(5,"p",3),l(6," Some quick example text to build on the card title and make up the bulk of the card's content. "),o(),t(7,"a",4),l(8,"Go somewhere"),o()()(),t(9,"c-card",0),B(),t(10,"svg",5)(11,"title"),l(12,"Placeholder"),o(),r(13,"rect",6),o(),F(),t(14,"c-card-body")(15,"h5",7),r(16,"span",8),o(),t(17,"p",9),r(18,"span",10)(19,"span",11)(20,"span",11)(21,"span",12)(22,"span",13),o(),t(23,"p",14),r(24,"a",15),o()()())},dependencies:[Y,$,q,O,N,y,p,U,v,s],encapsulation:2});let i=e;return i})();var oe=`\`\`\`typescript +import{a as V}from"./chunk-2NTR63DE.js";import{b as w}from"./chunk-FUXYYFQ6.js";import{a as Y,b as q,f as $,j as N,k as O}from"./chunk-FDIAV3SM.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{i as U}from"./chunk-FULSUUPP.js";import{a as y}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{b as p}from"./chunk-PZ32EFID.js";import{g as K}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as J}from"./chunk-MH6VOBXJ.js";import{r as W}from"./chunk-Q5WIR6QR.js";import{c as Q,d as R}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as l,Ca as B,Cc as b,Da as F,Dc as j,Gb as k,Oc as m,Pb as z,Pc as C,Qb as f,Ub as P,ac as o,bc as r,lb as h,mb as D,na as d,nd as G,pa as x,tc as I,vc as H,wc as L}from"./chunk-6U7QZ4SV.js";import{e as M,f as A,g as T}from"./chunk-MGAX33HK.js";var s=(()=>{let e=class e{constructor(){this.visible=!1}get ariaHidden(){return this.visible?null:!0}get hostClasses(){return{placeholder:this.visible,[`placeholder-${this.size}`]:!!this.size}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=x({type:e,selectors:[["","cPlaceholder",""]],hostVars:3,hostBindings:function(n,a){n&2&&(z("aria-hidden",a.ariaHidden),P(a.hostClasses))},inputs:{visible:[2,"cPlaceholder","visible",G],size:[0,"cPlaceholderSize","size"]},exportAs:["cPlaceholder"],standalone:!0,features:[k]});let i=e;return i})();var v=(()=>{var e;let g=class g{constructor(){A(this,e,!1)}get hostClasses(){return{[`placeholder-${this.animation}`]:M(this,e)&&!!this.animation}}ngAfterContentInit(){T(this,e,this.placeholder?.visible)}};e=new WeakMap,g.\u0275fac=function(a){return new(a||g)},g.\u0275dir=x({type:g,selectors:[["","cPlaceholderAnimation",""]],contentQueries:function(a,S,ie){if(a&1&&I(ie,s,5),a&2){let E;H(E=L())&&(S.placeholder=E.first)}},hostVars:2,hostBindings:function(a,S){a&2&&P(S.hostClasses)},inputs:{animation:[0,"cPlaceholderAnimation","animation"]},standalone:!0});let i=g;return i})();var X=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders06"]],standalone:!0,features:[m],decls:4,vars:0,consts:[["cPlaceholderAnimation","glow"],["cCol","12","cPlaceholder",""],["cPlaceholderAnimation","wave"],["cCol","12","cPlaceholder","","cBgColor","dark"]],template:function(n,a){n&1&&(t(0,"p",0),r(1,"span",1),o(),t(2,"p",2),r(3,"span",3),o())},dependencies:[v,p,s,w]});let i=e;return i})();var Z=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders05"]],standalone:!0,features:[m],decls:4,vars:0,consts:[["cCol","12","cPlaceholder","","cPlaceholderSize","lg"],["cCol","12","cPlaceholder",""],["cCol","12","cPlaceholder","","cPlaceholderSize","sm"],["cCol","12","cPlaceholder","","cPlaceholderSize","xs"]],template:function(n,a){n&1&&r(0,"span",0)(1,"span",1)(2,"span",2)(3,"span",3)},dependencies:[p,s]});let i=e;return i})();var _=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders04"]],standalone:!0,features:[m],decls:9,vars:0,consts:[["cCol","12","cPlaceholder",""],["cBgColor","primary","cCol","12","cPlaceholder",""],["cBgColor","secondary","cCol","12","cPlaceholder",""],["cBgColor","success","cCol","12","cPlaceholder",""],["cBgColor","danger","cCol","12","cPlaceholder",""],["cBgColor","warning","cCol","12","cPlaceholder",""],["cBgColor","info","cCol","12","cPlaceholder",""],["cBgColor","light","cCol","12","cPlaceholder",""],["cBgColor","dark","cCol","12","cPlaceholder",""]],template:function(n,a){n&1&&r(0,"span",0)(1,"span",1)(2,"span",2)(3,"span",3)(4,"span",4)(5,"span",5)(6,"span",6)(7,"span",7)(8,"span",8)},dependencies:[p,s,w]});let i=e;return i})();var ee=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders03"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["cCol","6","cPlaceholder",""],["cPlaceholder","",1,"w-75"],["cPlaceholder","",2,"width","30%"]],template:function(n,a){n&1&&r(0,"span",0)(1,"span",1)(2,"span",2)},dependencies:[p,s]});let i=e;return i})();var te=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders02"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["aria-hidden","true"],["cCol","6","cPlaceholder",""],["cButton","","cCol","4","cPlaceholder","","disabled",""]],template:function(n,a){n&1&&(t(0,"p",0),r(1,"span",1),o(),r(2,"button",2))},dependencies:[p,s,y]});let i=e;return i})();var ne=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["docs-placeholders01"]],standalone:!0,features:[m],decls:25,vars:0,consts:[[2,"width","18rem"],["cCardImg","top","loading","lazy","src","./assets/img/angular.jpg"],["cCardTitle",""],["cCardText",""],["cButton","","cCol","7","routerLink","./"],["aria-label","Placeholder","cCardImg","top","focusable","false","height","162","preserveAspectRatio","xMidYMid slice","role","img","width","100%","xmlns","http://www.w3.org/2000/svg"],["fill","#868e96","height","100%","width","100%"],["cCardTitle","","cPlaceholderAnimation","glow"],["cCol","6","cPlaceholder",""],["cCardText","","cPlaceholderAnimation","glow"],["cCol","","xs","7","cPlaceholder","",1,"me-1"],["cCol","4","cPlaceholder","",1,"me-1"],["cCol","6","cPlaceholder","",1,"me-1"],["cCol","8","cPlaceholder","",1,"me-1"],["cPlaceholderAnimation","glow"],["cButton","","cCol","7","cPlaceholder","","color","primary","disabled","","routerLink","./"]],template:function(n,a){n&1&&(t(0,"c-card",0),r(1,"img",1),t(2,"c-card-body")(3,"h5",2),l(4,"Card title"),o(),t(5,"p",3),l(6," Some quick example text to build on the card title and make up the bulk of the card's content. "),o(),t(7,"a",4),l(8,"Go somewhere"),o()()(),t(9,"c-card",0),B(),t(10,"svg",5)(11,"title"),l(12,"Placeholder"),o(),r(13,"rect",6),o(),F(),t(14,"c-card-body")(15,"h5",7),r(16,"span",8),o(),t(17,"p",9),r(18,"span",10)(19,"span",11)(20,"span",11)(21,"span",12)(22,"span",13),o(),t(23,"p",14),r(24,"a",15),o()()())},dependencies:[Y,$,q,O,N,y,p,U,v,s],encapsulation:2});let i=e;return i})();var oe=`\`\`\`typescript import { PlaceholderModule, GridModule, UtilitiesModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-IMFIUNMP.js b/angular/docs/chunk-XEGE2RHV.js similarity index 91% rename from angular/docs/chunk-IMFIUNMP.js rename to angular/docs/chunk-XEGE2RHV.js index 2fa5969d847..e2f518ae44e 100644 --- a/angular/docs/chunk-IMFIUNMP.js +++ b/angular/docs/chunk-XEGE2RHV.js @@ -1,4 +1,4 @@ -import"./chunk-DPZ7BZKP.js";import{a as h}from"./chunk-SWYVARVN.js";import{r as C}from"./chunk-JJFVMVK7.js";import{c as f,d as g}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as t,Bc as i,Cc as c,Oc as m,ac as o,bc as l,lb as s,mb as r,na as d}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var I=(()=>{let e=class e{constructor(a,n){this.metaService=a,this.titleService=n,this.title="CoreUI Angular Template Content",this.description="Discover what's included in CoreUI Angular Admin Template, including our precompiled and source code flavors."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(n){return new(n||e)(r(f),r(g))},e.\u0275cmp=d({type:e,selectors:[["docs-contents"]],standalone:!0,features:[m],decls:7,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"]],template:function(n,p){n&1&&(t(0,"h1",0),i(1),o(),t(2,"p",1),i(3),o(),l(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` +import"./chunk-DPZ7BZKP.js";import{a as h}from"./chunk-MH6VOBXJ.js";import{r as C}from"./chunk-Q5WIR6QR.js";import{c as f,d as g}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as t,Bc as i,Cc as c,Oc as m,ac as o,bc as l,lb as s,mb as r,na as d}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var I=(()=>{let e=class e{constructor(a,n){this.metaService=a,this.titleService=n,this.title="CoreUI Angular Template Content",this.description="Discover what's included in CoreUI Angular Admin Template, including our precompiled and source code flavors."}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}};e.\u0275fac=function(n){return new(n||e)(r(f),r(g))},e.\u0275cmp=d({type:e,selectors:[["docs-contents"]],standalone:!0,features:[m],decls:7,vars:2,consts:[["id","getting-started"],[1,"docs-lead","fs-4","fw-light"]],template:function(n,p){n&1&&(t(0,"h1",0),i(1),o(),t(2,"p",1),i(3),o(),l(4,"docs-ads-carbon-loader"),t(5,"markdown"),i(6,` ## Project structure diff --git a/angular/docs/chunk-4GB7KXWL.js b/angular/docs/chunk-XEJ46ETR.js similarity index 96% rename from angular/docs/chunk-4GB7KXWL.js rename to angular/docs/chunk-XEJ46ETR.js index c287e2d82df..5962702a108 100644 --- a/angular/docs/chunk-4GB7KXWL.js +++ b/angular/docs/chunk-XEJ46ETR.js @@ -1,4 +1,4 @@ -import{a as M}from"./chunk-C434TJEI.js";import"./chunk-3WH63G7J.js";import"./chunk-FPQGXMEQ.js";import{a as p,b as x,c as v}from"./chunk-B6ZWLJIL.js";import{i as d}from"./chunk-SPMMWGWV.js";import{c as S,d as y,e as E,f as b}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import"./chunk-2IKSDGSZ.js";import{g as A}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-SWYVARVN.js";import{r as T}from"./chunk-JJFVMVK7.js";import{c as D,d as _}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as e,Bc as i,Cc as C,Dc as w,Jb as k,Oc as s,Pc as h,Qb as l,_c as L,ac as t,bc as f,lb as r,mb as N,na as c}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var R=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav14"]],standalone:!0,features:[s],decls:23,vars:2,consts:[["variant","pills"],["cNavLink","",3,"active","routerLink"],["variant","nav-item"],["cDropdownToggle","","cNavLink","",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3,"Active"),t()(),e(4,"c-dropdown",2)(5,"a",3),i(6,"Dropdown button"),t(),e(7,"ul",4)(8,"li")(9,"a",5),i(10,"Action"),t()(),e(11,"li")(12,"a",5),i(13,"Another action"),t()(),e(14,"li")(15,"a",5),i(16,"Something else here"),t()()()(),e(17,"c-nav-item")(18,"a",6),i(19,"Link"),t()(),e(20,"c-nav-item")(21,"a",7),i(22,"Disabled"),t()()()),o&2&&(r(2),l("active",!0),r(19),l("disabled",!0))},dependencies:[v,x,p,d,E,y,S,b],encapsulation:2});let a=n;return a})();var I=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav13"]],standalone:!0,features:[s],decls:23,vars:2,consts:[["variant","tabs"],["cNavLink","",3,"active","routerLink"],["variant","nav-item"],["cDropdownToggle","","cNavLink","",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3,"Active"),t()(),e(4,"c-dropdown",2)(5,"a",3),i(6,"Dropdown button"),t(),e(7,"ul",4)(8,"li")(9,"a",5),i(10,"Action"),t()(),e(11,"li")(12,"a",5),i(13,"Another action"),t()(),e(14,"li")(15,"a",5),i(16,"Something else here"),t()()()(),e(17,"c-nav-item")(18,"a",6),i(19,"Link"),t()(),e(20,"c-nav-item")(21,"a",7),i(22,"Disabled"),t()()()),o&2&&(r(2),l("active",!0),r(19),l("disabled",!0))},dependencies:[v,x,p,d,E,y,S,b],encapsulation:2});let a=n;return a})();var P=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav12"]],standalone:!0,features:[s],decls:23,vars:2,consts:[["cNavLink","",3,"active","routerLink"],["variant","nav-item"],["cDropdownToggle","","cNavLink","",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav")(1,"c-nav-item")(2,"a",0),i(3,"Active"),t()(),e(4,"c-dropdown",1)(5,"a",2),i(6,"Dropdown button"),t(),e(7,"ul",3)(8,"li")(9,"a",4),i(10,"Action"),t()(),e(11,"li")(12,"a",4),i(13,"Another action"),t()(),e(14,"li")(15,"a",4),i(16,"Something else here"),t()()()(),e(17,"c-nav-item")(18,"a",5),i(19,"Link"),t()(),e(20,"c-nav-item")(21,"a",6),i(22,"Disabled"),t()()()),o&2&&(r(2),l("active",!0),r(19),l("disabled",!0))},dependencies:[v,x,p,d,E,y,S,b],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var O=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav11"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["role","navigation","variant","pills",1,"flex-column","flex-sm-row"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var j=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav10"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["layout","justified","variant","pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var z=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav09"]],standalone:!0,features:[s],decls:13,vars:1,consts:[["layout","fill","variant","pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],encapsulation:2});let a=n;return a})();var U=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav08"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["variant","underline"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var B=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav07"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["variant","pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var H=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav06"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["variant","tabs"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var W=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav05"]],standalone:!0,features:[s],decls:13,vars:2,consts:[[1,"flex-column"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0),r(9),l("disabled",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var J=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav04"]],standalone:!0,features:[s],decls:13,vars:1,consts:[[1,"justify-content-end"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var q=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav03"]],standalone:!0,features:[s],decls:13,vars:1,consts:[[1,"justify-content-center"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var V=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav02"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["role","navigation"],["cNavLink","","routerLink","",3,"active"],["cNavLink","","routerLink",""],["cNavLink","","routerLink","",3,"disabled"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2," Active "),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8," Disabled "),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var G=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav01"]],standalone:!0,features:[s],decls:13,vars:1,consts:[["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav")(1,"c-nav-item")(2,"a",0),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",1),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",1),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",2),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var K=`\`\`\`typescript +import{a as M}from"./chunk-F3XLZSRJ.js";import"./chunk-IH2HSX2J.js";import"./chunk-7GF3S5CV.js";import{a as p,b as x,c as v}from"./chunk-MD5QD7EN.js";import{i as d}from"./chunk-FULSUUPP.js";import{c as S,d as y,e as E,f as b}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import"./chunk-D272JSA3.js";import{g as A}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as F}from"./chunk-MH6VOBXJ.js";import{r as T}from"./chunk-Q5WIR6QR.js";import{c as D,d as _}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as e,Bc as i,Cc as C,Dc as w,Jb as k,Oc as s,Pc as h,Qb as l,_c as L,ac as t,bc as f,lb as r,mb as N,na as c}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var R=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav14"]],standalone:!0,features:[s],decls:23,vars:2,consts:[["variant","pills"],["cNavLink","",3,"active","routerLink"],["variant","nav-item"],["cDropdownToggle","","cNavLink","",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3,"Active"),t()(),e(4,"c-dropdown",2)(5,"a",3),i(6,"Dropdown button"),t(),e(7,"ul",4)(8,"li")(9,"a",5),i(10,"Action"),t()(),e(11,"li")(12,"a",5),i(13,"Another action"),t()(),e(14,"li")(15,"a",5),i(16,"Something else here"),t()()()(),e(17,"c-nav-item")(18,"a",6),i(19,"Link"),t()(),e(20,"c-nav-item")(21,"a",7),i(22,"Disabled"),t()()()),o&2&&(r(2),l("active",!0),r(19),l("disabled",!0))},dependencies:[v,x,p,d,E,y,S,b],encapsulation:2});let a=n;return a})();var I=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav13"]],standalone:!0,features:[s],decls:23,vars:2,consts:[["variant","tabs"],["cNavLink","",3,"active","routerLink"],["variant","nav-item"],["cDropdownToggle","","cNavLink","",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3,"Active"),t()(),e(4,"c-dropdown",2)(5,"a",3),i(6,"Dropdown button"),t(),e(7,"ul",4)(8,"li")(9,"a",5),i(10,"Action"),t()(),e(11,"li")(12,"a",5),i(13,"Another action"),t()(),e(14,"li")(15,"a",5),i(16,"Something else here"),t()()()(),e(17,"c-nav-item")(18,"a",6),i(19,"Link"),t()(),e(20,"c-nav-item")(21,"a",7),i(22,"Disabled"),t()()()),o&2&&(r(2),l("active",!0),r(19),l("disabled",!0))},dependencies:[v,x,p,d,E,y,S,b],encapsulation:2});let a=n;return a})();var P=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav12"]],standalone:!0,features:[s],decls:23,vars:2,consts:[["cNavLink","",3,"active","routerLink"],["variant","nav-item"],["cDropdownToggle","","cNavLink","",3,"routerLink"],["cDropdownMenu",""],["cDropdownItem","",3,"routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav")(1,"c-nav-item")(2,"a",0),i(3,"Active"),t()(),e(4,"c-dropdown",1)(5,"a",2),i(6,"Dropdown button"),t(),e(7,"ul",3)(8,"li")(9,"a",4),i(10,"Action"),t()(),e(11,"li")(12,"a",4),i(13,"Another action"),t()(),e(14,"li")(15,"a",4),i(16,"Something else here"),t()()()(),e(17,"c-nav-item")(18,"a",5),i(19,"Link"),t()(),e(20,"c-nav-item")(21,"a",6),i(22,"Disabled"),t()()()),o&2&&(r(2),l("active",!0),r(19),l("disabled",!0))},dependencies:[v,x,p,d,E,y,S,b],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var O=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav11"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["role","navigation","variant","pills",1,"flex-column","flex-sm-row"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var j=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav10"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["layout","justified","variant","pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var z=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav09"]],standalone:!0,features:[s],decls:13,vars:1,consts:[["layout","fill","variant","pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],encapsulation:2});let a=n;return a})();var U=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav08"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["variant","underline"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var B=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav07"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["variant","pills"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var H=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav06"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["variant","tabs"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2,"Active"),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8,"Disabled"),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],encapsulation:2});let a=n;return a})();var W=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav05"]],standalone:!0,features:[s],decls:13,vars:2,consts:[[1,"flex-column"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","",3,"disabled","routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0),r(9),l("disabled",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var J=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav04"]],standalone:!0,features:[s],decls:13,vars:1,consts:[[1,"justify-content-end"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var q=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav03"]],standalone:!0,features:[s],decls:13,vars:1,consts:[[1,"justify-content-center"],["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"c-nav-item")(2,"a",1),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",2),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",2),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",3),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var V=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav02"]],standalone:!0,features:[s],decls:9,vars:2,consts:[["role","navigation"],["cNavLink","","routerLink","",3,"active"],["cNavLink","","routerLink",""],["cNavLink","","routerLink","",3,"disabled"]],template:function(o,u){o&1&&(e(0,"c-nav",0)(1,"a",1),i(2," Active "),t(),e(3,"a",2),i(4,"Link"),t(),e(5,"a",2),i(6,"Link"),t(),e(7,"a",3),i(8," Disabled "),t()()),o&2&&(r(),l("active",!0),r(6),l("disabled",!0))},dependencies:[v,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var G=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=c({type:n,selectors:[["docs-nav01"]],standalone:!0,features:[s],decls:13,vars:1,consts:[["cNavLink","",3,"active","routerLink"],["cNavLink","",3,"routerLink"],["cNavLink","","disabled","",3,"routerLink"]],template:function(o,u){o&1&&(e(0,"c-nav")(1,"c-nav-item")(2,"a",0),i(3," Active "),t()(),e(4,"c-nav-item")(5,"a",1),i(6,"Link"),t()(),e(7,"c-nav-item")(8,"a",1),i(9,"Link"),t()(),e(10,"c-nav-item")(11,"a",2),i(12," Disabled "),t()()()),o&2&&(r(2),l("active",!0))},dependencies:[v,x,p,d],styles:["[_nghost-%COMP%] .active[_ngcontent-%COMP%]{text-decoration:underline}"]});let a=n;return a})();var K=`\`\`\`typescript import { NavModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-FIXU3TFH.js b/angular/docs/chunk-XHR4TYVD.js similarity index 99% rename from angular/docs/chunk-FIXU3TFH.js rename to angular/docs/chunk-XHR4TYVD.js index a9aa029ba60..18eac5d7515 100644 --- a/angular/docs/chunk-FIXU3TFH.js +++ b/angular/docs/chunk-XHR4TYVD.js @@ -1 +1 @@ -import{$ as Se,Ga as Ie,Gb as ke,La as k,Na as Me,Rb as Ne,Sa as se,Va as Be,Wa as Le,Ya as Re,aa as be,ad as Ue,bd as ze,ca as F,da as ve,fa as B,ha as S,hd as V,ia as p,ic as $e,id as j,jc as E,jd as Ve,kb as Oe,kc as xe,kd as je,lc as D,mb as h,nd as x,oa as _e,ob as N,od as oe,pa as b,qa as P,qd as ue,rb as $,sb as Te,tb as Pe,xa as re,xb as O}from"./chunk-O6V6MKDU.js";var Qe=null;function ae(){return Qe}function bn(t){Qe??=t}var Ge=class{};var ee=new B(""),Fe=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:()=>p(ot),providedIn:"platform"});let t=e;return t})(),vn=new B(""),ot=(()=>{let e=class e extends Fe{constructor(){super(),this._doc=p(ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ae().getBaseHref(this._doc)}onPopState(n){let i=ae().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=ae().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,r){this._history.pushState(n,i,r)}replaceState(n,i,r){this._history.replaceState(n,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Ee(t,e){if(t.length==0)return e;if(e.length==0)return t;let s=0;return t.endsWith("/")&&s++,e.startsWith("/")&&s++,s==2?t+e.substring(1):s==1?t+e:t+"/"+e}function He(t){let e=t.match(/#|\?|$/),s=e&&e.index||t.length,n=s-(t[s-1]==="/"?1:0);return t.slice(0,n)+t.slice(s)}function _(t){return t&&t[0]!=="?"?"?"+t:t}var te=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:()=>p(ut),providedIn:"root"});let t=e;return t})(),Je=new B(""),ut=(()=>{let e=class e extends te{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ee(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+_(this._platformLocation.search),r=this._platformLocation.hash;return r&&n?`${i}${r}`:i}pushState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));this._platformLocation.pushState(n,i,u)}replaceState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));this._platformLocation.replaceState(n,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(S(Fe),S(Je,8))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_n=(()=>{let e=class e extends te{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Ee(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));u.length==0&&(u=this._platformLocation.pathname),this._platformLocation.pushState(n,i,u)}replaceState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));u.length==0&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(S(Fe),S(Je,8))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),at=(()=>{let e=class e{constructor(n){this._subject=new Me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=lt(He(Ye(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+_(i))}normalize(n){return e.stripTrailingSlash(dt(this._basePath,Ye(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",r=null){this._locationStrategy.pushState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+_(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+_(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(r=>r(n,i))}subscribe(n,i,r){return this._subject.subscribe({next:n,error:i,complete:r})}};e.normalizeQueryParams=_,e.joinWithSlash=Ee,e.stripTrailingSlash=He,e.\u0275fac=function(i){return new(i||e)(S(te))},e.\u0275prov=F({token:e,factory:()=>ct(),providedIn:"root"});let t=e;return t})();function ct(){return new at(S(te))}function dt(t,e){if(!t||!e.startsWith(t))return e;let s=e.substring(t.length);return s===""||["/",";","?","#"].includes(s[0])?s:e}function Ye(t){return t.replace(/\/index.html$/,"")}function lt(t){if(new RegExp("^(https?:)?//").test(t)){let[,s]=t.split(/\/\/[^\/]+/);return s}return t}var T=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(T||{}),m=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(m||{}),d=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(d||{}),C=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(C||{}),L={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ht(t){return E(t)[D.LocaleId]}function ft(t,e,s){let n=E(t),i=[n[D.DayPeriodsFormat],n[D.DayPeriodsStandalone]],r=y(i,e);return y(r,s)}function Dt(t,e,s){let n=E(t),i=[n[D.DaysFormat],n[D.DaysStandalone]],r=y(i,e);return y(r,s)}function gt(t,e,s){let n=E(t),i=[n[D.MonthsFormat],n[D.MonthsStandalone]],r=y(i,e);return y(r,s)}function pt(t,e){let n=E(t)[D.Eras];return y(n,e)}function G(t,e){let s=E(t);return y(s[D.DateFormat],e)}function H(t,e){let s=E(t);return y(s[D.TimeFormat],e)}function Y(t,e){let n=E(t)[D.DateTimeFormat];return y(n,e)}function ne(t,e){let s=E(t),n=s[D.NumberSymbols][e];if(typeof n>"u"){if(e===L.CurrencyDecimal)return s[D.NumberSymbols][L.Decimal];if(e===L.CurrencyGroup)return s[D.NumberSymbols][L.Group]}return n}var mt=xe;function et(t){if(!t[D.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[D.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ct(t){let e=E(t);return et(e),(e[D.ExtraData][2]||[]).map(n=>typeof n=="string"?ce(n):[ce(n[0]),ce(n[1])])}function Ft(t,e,s){let n=E(t);et(n);let i=[n[D.ExtraData][0],n[D.ExtraData][1]],r=y(i,e)||[];return y(r,s)||[]}function y(t,e){for(let s=e;s>-1;s--)if(typeof t[s]<"u")return t[s];throw new Error("Locale data API: locale data undefined")}function ce(t){let[e,s]=t.split(":");return{hours:+e,minutes:+s}}var Et=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z={},yt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,I=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(I||{}),c=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(c||{}),a=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(a||{});function wt(t,e,s,n){let i=Lt(t);e=v(s,e)||e;let o=[],u;for(;e;)if(u=yt.exec(e),u){o=o.concat(u.slice(1));let A=o.pop();if(!A)break;e=A}else{o.push(e);break}let f=i.getTimezoneOffset();n&&(f=nt(n,f),i=Bt(i,n,!0));let M="";return o.forEach(A=>{let R=It(A);M+=R?R(i,s,f):A==="''"?"'":A.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),M}function Q(t,e,s){let n=new Date(0);return n.setFullYear(t,e,s),n.setHours(0,0,0),n}function v(t,e){let s=ht(t);if(Z[s]??={},Z[s][e])return Z[s][e];let n="";switch(e){case"shortDate":n=G(t,C.Short);break;case"mediumDate":n=G(t,C.Medium);break;case"longDate":n=G(t,C.Long);break;case"fullDate":n=G(t,C.Full);break;case"shortTime":n=H(t,C.Short);break;case"mediumTime":n=H(t,C.Medium);break;case"longTime":n=H(t,C.Long);break;case"fullTime":n=H(t,C.Full);break;case"short":let i=v(t,"shortTime"),r=v(t,"shortDate");n=W(Y(t,C.Short),[i,r]);break;case"medium":let o=v(t,"mediumTime"),u=v(t,"mediumDate");n=W(Y(t,C.Medium),[o,u]);break;case"long":let f=v(t,"longTime"),M=v(t,"longDate");n=W(Y(t,C.Long),[f,M]);break;case"full":let A=v(t,"fullTime"),R=v(t,"fullDate");n=W(Y(t,C.Full),[A,R]);break}return n&&(Z[s][e]=n),n}function W(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(s,n){return e!=null&&n in e?e[n]:s})),t}function w(t,e,s="-",n,i){let r="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,r=s));let o=String(t);for(;o.length0||u>-s)&&(u+=s),t===c.Hours)u===0&&s===-12&&(u=12);else if(t===c.FractionalSeconds)return At(u,e);let f=ne(o,L.MinusSign);return w(u,e,f,n,i)}}function St(t,e){switch(t){case c.FullYear:return e.getFullYear();case c.Month:return e.getMonth();case c.Date:return e.getDate();case c.Hours:return e.getHours();case c.Minutes:return e.getMinutes();case c.Seconds:return e.getSeconds();case c.FractionalSeconds:return e.getMilliseconds();case c.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function l(t,e,s=m.Format,n=!1){return function(i,r){return bt(i,r,t,e,s,n)}}function bt(t,e,s,n,i,r){switch(s){case a.Months:return gt(e,i,n)[t.getMonth()];case a.Days:return Dt(e,i,n)[t.getDay()];case a.DayPeriods:let o=t.getHours(),u=t.getMinutes();if(r){let M=Ct(e),A=Ft(e,i,n),R=M.findIndex(U=>{if(Array.isArray(U)){let[ie,z]=U,we=o>=ie.hours&&u>=ie.minutes,Ae=o0?Math.floor(i/60):Math.ceil(i/60);switch(t){case I.Short:return(i>=0?"+":"")+w(o,2,r)+w(Math.abs(i%60),2,r);case I.ShortGMT:return"GMT"+(i>=0?"+":"")+w(o,1,r);case I.Long:return"GMT"+(i>=0?"+":"")+w(o,2,r)+":"+w(Math.abs(i%60),2,r);case I.Extended:return n===0?"Z":(i>=0?"+":"")+w(o,2,r)+":"+w(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}var vt=0,X=4;function _t(t){let e=Q(t,vt,1).getDay();return Q(t,0,1+(e<=X?X:X+7)-e)}function tt(t){let e=t.getDay(),s=e===0?-3:X-e;return Q(t.getFullYear(),t.getMonth(),t.getDate()+s)}function de(t,e=!1){return function(s,n){let i;if(e){let r=new Date(s.getFullYear(),s.getMonth(),1).getDay()-1,o=s.getDate();i=1+Math.floor((o+r)/7)}else{let r=tt(s),o=_t(r.getFullYear()),u=r.getTime()-o.getTime();i=1+Math.round(u/6048e5)}return w(i,t,ne(n,L.MinusSign))}}function q(t,e=!1){return function(s,n){let r=tt(s).getFullYear();return w(r,t,ne(n,L.MinusSign),e)}}var le={};function It(t){if(le[t])return le[t];let e;switch(t){case"G":case"GG":case"GGG":e=l(a.Eras,d.Abbreviated);break;case"GGGG":e=l(a.Eras,d.Wide);break;case"GGGGG":e=l(a.Eras,d.Narrow);break;case"y":e=g(c.FullYear,1,0,!1,!0);break;case"yy":e=g(c.FullYear,2,0,!0,!0);break;case"yyy":e=g(c.FullYear,3,0,!1,!0);break;case"yyyy":e=g(c.FullYear,4,0,!1,!0);break;case"Y":e=q(1);break;case"YY":e=q(2,!0);break;case"YYY":e=q(3);break;case"YYYY":e=q(4);break;case"M":case"L":e=g(c.Month,1,1);break;case"MM":case"LL":e=g(c.Month,2,1);break;case"MMM":e=l(a.Months,d.Abbreviated);break;case"MMMM":e=l(a.Months,d.Wide);break;case"MMMMM":e=l(a.Months,d.Narrow);break;case"LLL":e=l(a.Months,d.Abbreviated,m.Standalone);break;case"LLLL":e=l(a.Months,d.Wide,m.Standalone);break;case"LLLLL":e=l(a.Months,d.Narrow,m.Standalone);break;case"w":e=de(1);break;case"ww":e=de(2);break;case"W":e=de(1,!0);break;case"d":e=g(c.Date,1);break;case"dd":e=g(c.Date,2);break;case"c":case"cc":e=g(c.Day,1);break;case"ccc":e=l(a.Days,d.Abbreviated,m.Standalone);break;case"cccc":e=l(a.Days,d.Wide,m.Standalone);break;case"ccccc":e=l(a.Days,d.Narrow,m.Standalone);break;case"cccccc":e=l(a.Days,d.Short,m.Standalone);break;case"E":case"EE":case"EEE":e=l(a.Days,d.Abbreviated);break;case"EEEE":e=l(a.Days,d.Wide);break;case"EEEEE":e=l(a.Days,d.Narrow);break;case"EEEEEE":e=l(a.Days,d.Short);break;case"a":case"aa":case"aaa":e=l(a.DayPeriods,d.Abbreviated);break;case"aaaa":e=l(a.DayPeriods,d.Wide);break;case"aaaaa":e=l(a.DayPeriods,d.Narrow);break;case"b":case"bb":case"bbb":e=l(a.DayPeriods,d.Abbreviated,m.Standalone,!0);break;case"bbbb":e=l(a.DayPeriods,d.Wide,m.Standalone,!0);break;case"bbbbb":e=l(a.DayPeriods,d.Narrow,m.Standalone,!0);break;case"B":case"BB":case"BBB":e=l(a.DayPeriods,d.Abbreviated,m.Format,!0);break;case"BBBB":e=l(a.DayPeriods,d.Wide,m.Format,!0);break;case"BBBBB":e=l(a.DayPeriods,d.Narrow,m.Format,!0);break;case"h":e=g(c.Hours,1,-12);break;case"hh":e=g(c.Hours,2,-12);break;case"H":e=g(c.Hours,1);break;case"HH":e=g(c.Hours,2);break;case"m":e=g(c.Minutes,1);break;case"mm":e=g(c.Minutes,2);break;case"s":e=g(c.Seconds,1);break;case"ss":e=g(c.Seconds,2);break;case"S":e=g(c.FractionalSeconds,1);break;case"SS":e=g(c.FractionalSeconds,2);break;case"SSS":e=g(c.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=K(I.Short);break;case"ZZZZZ":e=K(I.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=K(I.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=K(I.Long);break;default:return null}return le[t]=e,e}function nt(t,e){t=t.replace(/:/g,"");let s=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(s)?e:s}function Mt(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function Bt(t,e,s){let n=s?-1:1,i=t.getTimezoneOffset(),r=nt(e,i);return Mt(t,n*(r-i))}function Lt(t){if(Ze(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,r=1,o=1]=t.split("-").map(u=>+u);return Q(i,r-1,o)}let s=parseFloat(t);if(!isNaN(t-s))return new Date(s);let n;if(n=t.match(Et))return Rt(n)}let e=new Date(t);if(!Ze(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function Rt(t){let e=new Date(0),s=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(s=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-s,u=Number(t[5]||0)-n,f=Number(t[6]||0),M=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return r.call(e,o,u,f,M),e}function Ze(t){return t instanceof Date&&!isNaN(t.valueOf())}var it=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:function(i){let r=null;return i?r=new i:r=(o=>new Tt(o))(S(V)),r},providedIn:"root"});let t=e;return t})();function Ot(t,e,s,n){let i=`=${t}`;if(e.indexOf(i)>-1||(i=s.getPluralCategory(t,n),e.indexOf(i)>-1))return i;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}var Tt=(()=>{let e=class e extends it{constructor(n){super(),this.locale=n}getPluralCategory(n,i){switch(mt(i||this.locale)(n)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}};e.\u0275fac=function(i){return new(i||e)(S(V))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})();function In(t,e,s){return $e(t,e,s)}function Mn(t,e){e=encodeURIComponent(e);for(let s of t.split(";")){let n=s.indexOf("="),[i,r]=n==-1?[s,""]:[s.slice(0,n),s.slice(n+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}var he=/\s+/,We=[],Bn=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=We,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(he):We}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(he):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(he).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(i){return new(i||e)(h(k),h($))},e.\u0275dir=b({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var fe=class{constructor(e,s,n,i){this.$implicit=e,this.ngForOf=s,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ln=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,o,u)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new fe(r.item,this._ngForOf,-1,-1),u===null?void 0:u);else if(u==null)i.remove(o===null?void 0:o);else if(o!==null){let f=i.get(o);i.move(f,u),Ke(f,r)}});for(let r=0,o=i.length;r{let o=i.get(r.currentIndex);Ke(o,r)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N),h(Ve))},e.\u0275dir=b({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Ke(t,e){t.context.$implicit=e.item}var Rn=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new De,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){qe("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){qe("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N))},e.\u0275dir=b({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),De=class{constructor(){this.$implicit=null,this.ngIf=null}};function qe(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${be(e)}'.`)}var Pt=!0,J=class{constructor(e,s){this._viewContainerRef=e,this._templateRef=s,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},rt=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=Pt?n===this._ngSwitch:n==this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=b({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),On=(()=>{let e=class e{constructor(n,i,r){this.ngSwitch=r,r._addCase(),this._view=new J(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N),h(rt,9))},e.\u0275dir=b({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})(),Tn=(()=>{let e=class e{constructor(n,i,r){r._addDefault(new J(n,i))}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N),h(rt,9))},e.\u0275dir=b({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let t=e;return t})();var Pn=(()=>{let e=class e{constructor(n,i,r){this._ngEl=n,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[r,o]=n.split("."),u=r.indexOf("-")===-1?void 0:Oe.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,u):this._renderer.removeStyle(this._ngEl.nativeElement,r,u)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};e.\u0275fac=function(i){return new(i||e)(h(k),h(je),h($))},e.\u0275dir=b({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),kn=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}};e.\u0275fac=function(i){return new(i||e)(h(O))},e.\u0275dir=b({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[re]});let t=e;return t})();function ye(t,e){return new Se(2100,!1)}var ge=class{createSubscription(e,s){return ue(()=>e.subscribe({next:s,error:n=>{throw n}}))}dispose(e){ue(()=>e.unsubscribe())}},pe=class{createSubscription(e,s){return e.then(s,n=>{throw n})}dispose(e){}},kt=new pe,Nt=new ge,Nn=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Ue(n))return kt;if(ze(n))return Nt;throw ye(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(h(j,16))},e.\u0275pipe=P({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var $t="mediumDate",xt=new B(""),Ut=new B(""),$n=(()=>{let e=class e{constructor(n,i,r){this.locale=n,this.defaultTimezone=i,this.defaultOptions=r}transform(n,i,r,o){if(n==null||n===""||n!==n)return null;try{let u=i??this.defaultOptions?.dateFormat??$t,f=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return wt(n,u,o||this.locale,f)}catch(u){throw ye(e,u.message)}}};e.\u0275fac=function(i){return new(i||e)(h(V,16),h(xt,24),h(Ut,24))},e.\u0275pipe=P({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})(),zt=/#/g,xn=(()=>{let e=class e{constructor(n){this._localization=n}transform(n,i,r){if(n==null)return"";if(typeof i!="object"||i===null)throw ye(e,i);let o=Ot(n,Object.keys(i),this._localization,r);return i[o].replace(zt,n.toString())}};e.\u0275fac=function(i){return new(i||e)(h(it,16))},e.\u0275pipe=P({name:"i18nPlural",type:e,pure:!0,standalone:!0});let t=e;return t})();var Un=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=P({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var zn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=_e({type:e}),e.\u0275inj=ve({});let t=e;return t})(),Vt="browser",jt="server";function Gt(t){return t===Vt}function Ht(t){return t===jt}var Vn=(()=>{let e=class e{};e.\u0275prov=F({token:e,providedIn:"root",factory:()=>Gt(p(se))?new me(p(ee),window):new Ce});let t=e;return t})(),me=class{constructor(e,s){this.document=e,this.window=s,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let s=Yt(this.document,e);s&&(this.scrollToElement(s),s.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let s=e.getBoundingClientRect(),n=s.left+this.window.pageXOffset,i=s.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}};function Yt(t,e){let s=t.getElementById(e)||t.getElementsByName(e)[0];if(s)return s;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let r=i.shadowRoot;if(r){let o=r.getElementById(e)||r.querySelector(`[name="${e}"]`);if(o)return o}i=n.nextNode()}}return null}var Ce=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Xe=class{};var st=t=>t.src,Zt=new B("",{providedIn:"root",factory:()=>st});var Wt=new B("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),Kt=(()=>{let e=class e{constructor(){this.preloadedImages=p(Wt),this.document=p(ee)}createPreloadLinkTag(n,i,r,o){if(this.preloadedImages.has(i))return;this.preloadedImages.add(i);let u=n.createElement("link");n.setAttribute(u,"as","image"),n.setAttribute(u,"href",i),n.setAttribute(u,"rel","preload"),n.setAttribute(u,"fetchpriority","high"),o&&n.setAttribute(u,"imageSizes",o),r&&n.setAttribute(u,"imageSrcset",r),n.appendChild(this.document.head,u)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var qt=/^((\s*\d+w\s*(,|$)){1,})$/;var Xt=[1,2],Qt=640;var Jt=1920,en=1080;var jn=(()=>{let e=class e{constructor(){this.imageLoader=p(Zt),this.config=tn(p(Le)),this.renderer=p($),this.imgElement=p(k).nativeElement,this.injector=p(Ie),this.isServer=Ht(p(se)),this.preloadLinkCreator=p(Kt),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Te("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let i=this._renderedSrc;this.updateSrcAndSrcset(!0);let r=this._renderedSrc;this.lcpObserver!==null&&i&&r&&i!==r&&this.injector.get(Pe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(i,r)})}}callImageLoader(n){let i=n;return this.loaderParams&&(i.loaderParams=this.loaderParams),this.imageLoader(i)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=qt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let o=n?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,i=n;return this.sizes?.trim()==="100vw"&&(i=n.filter(o=>o>=Qt)),i.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let i=this.getRewrittenSrc();this.setHostAttribute("src",i);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return Xt.map(i=>`${this.callImageLoader({src:this.ngSrc,width:this.width*i})} ${i}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>Jt||this.height>en),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==st&&!n}generatePlaceholder(n){let{placeholderResolution:i}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:i,isPlaceholder:!0})})`:typeof n=="string"&&n.startsWith("data:")?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let i=()=>{let u=this.injector.get(j);r(),o(),this.placeholder=!1,u.markForCheck()},r=this.renderer.listen(n,"load",i),o=this.renderer.listen(n,"error",i)}ngOnDestroy(){}setHostAttribute(n,i){this.renderer.setAttribute(this.imgElement,n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=b({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(i,r){i&2&&Ne("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",nn],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",oe],height:[2,"height","height",oe],loading:"loading",priority:[2,"priority","priority",x],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",x],fill:[2,"fill","fill",x],placeholder:[2,"placeholder","placeholder",rn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[ke,re]});let t=e;return t})();function tn(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((s,n)=>s-n)),Object.assign({},Be,t,e)}function nn(t){return typeof t=="string"?t:Re(t)}function rn(t){return typeof t=="string"&&t.startsWith("data:")?t:x(t)}export{ae as a,bn as b,Ge as c,ee as d,vn as e,te as f,ut as g,_n as h,at as i,wt as j,In as k,Mn as l,Bn as m,Ln as n,Rn as o,rt as p,On as q,Tn as r,Pn as s,kn as t,Nn as u,$n as v,xn as w,Un as x,zn as y,Vt as z,Gt as A,Ht as B,Vn as C,Xe as D,jn as E}; +import{$ as Se,Ga as Ie,Gb as ke,La as k,Na as Me,Rb as Ne,Sa as se,Va as Be,Wa as Le,Ya as Re,aa as be,ad as Ue,bd as ze,ca as F,da as ve,fa as B,ha as S,hd as V,ia as p,ic as $e,id as j,jc as E,jd as Ve,kb as Oe,kc as xe,kd as je,lc as D,mb as h,nd as x,oa as _e,ob as N,od as oe,pa as b,qa as P,qd as ue,rb as $,sb as Te,tb as Pe,xa as re,xb as O}from"./chunk-6U7QZ4SV.js";var Qe=null;function ae(){return Qe}function bn(t){Qe??=t}var Ge=class{};var ee=new B(""),Fe=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:()=>p(ot),providedIn:"platform"});let t=e;return t})(),vn=new B(""),ot=(()=>{let e=class e extends Fe{constructor(){super(),this._doc=p(ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ae().getBaseHref(this._doc)}onPopState(n){let i=ae().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=ae().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,r){this._history.pushState(n,i,r)}replaceState(n,i,r){this._history.replaceState(n,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Ee(t,e){if(t.length==0)return e;if(e.length==0)return t;let s=0;return t.endsWith("/")&&s++,e.startsWith("/")&&s++,s==2?t+e.substring(1):s==1?t+e:t+"/"+e}function He(t){let e=t.match(/#|\?|$/),s=e&&e.index||t.length,n=s-(t[s-1]==="/"?1:0);return t.slice(0,n)+t.slice(s)}function _(t){return t&&t[0]!=="?"?"?"+t:t}var te=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:()=>p(ut),providedIn:"root"});let t=e;return t})(),Je=new B(""),ut=(()=>{let e=class e extends te{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ee(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+_(this._platformLocation.search),r=this._platformLocation.hash;return r&&n?`${i}${r}`:i}pushState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));this._platformLocation.pushState(n,i,u)}replaceState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));this._platformLocation.replaceState(n,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(S(Fe),S(Je,8))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_n=(()=>{let e=class e extends te{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Ee(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));u.length==0&&(u=this._platformLocation.pathname),this._platformLocation.pushState(n,i,u)}replaceState(n,i,r,o){let u=this.prepareExternalUrl(r+_(o));u.length==0&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(S(Fe),S(Je,8))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),at=(()=>{let e=class e{constructor(n){this._subject=new Me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=lt(He(Ye(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+_(i))}normalize(n){return e.stripTrailingSlash(dt(this._basePath,Ye(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",r=null){this._locationStrategy.pushState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+_(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+_(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(r=>r(n,i))}subscribe(n,i,r){return this._subject.subscribe({next:n,error:i,complete:r})}};e.normalizeQueryParams=_,e.joinWithSlash=Ee,e.stripTrailingSlash=He,e.\u0275fac=function(i){return new(i||e)(S(te))},e.\u0275prov=F({token:e,factory:()=>ct(),providedIn:"root"});let t=e;return t})();function ct(){return new at(S(te))}function dt(t,e){if(!t||!e.startsWith(t))return e;let s=e.substring(t.length);return s===""||["/",";","?","#"].includes(s[0])?s:e}function Ye(t){return t.replace(/\/index.html$/,"")}function lt(t){if(new RegExp("^(https?:)?//").test(t)){let[,s]=t.split(/\/\/[^\/]+/);return s}return t}var T=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(T||{}),m=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(m||{}),d=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(d||{}),C=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(C||{}),L={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ht(t){return E(t)[D.LocaleId]}function ft(t,e,s){let n=E(t),i=[n[D.DayPeriodsFormat],n[D.DayPeriodsStandalone]],r=y(i,e);return y(r,s)}function Dt(t,e,s){let n=E(t),i=[n[D.DaysFormat],n[D.DaysStandalone]],r=y(i,e);return y(r,s)}function gt(t,e,s){let n=E(t),i=[n[D.MonthsFormat],n[D.MonthsStandalone]],r=y(i,e);return y(r,s)}function pt(t,e){let n=E(t)[D.Eras];return y(n,e)}function G(t,e){let s=E(t);return y(s[D.DateFormat],e)}function H(t,e){let s=E(t);return y(s[D.TimeFormat],e)}function Y(t,e){let n=E(t)[D.DateTimeFormat];return y(n,e)}function ne(t,e){let s=E(t),n=s[D.NumberSymbols][e];if(typeof n>"u"){if(e===L.CurrencyDecimal)return s[D.NumberSymbols][L.Decimal];if(e===L.CurrencyGroup)return s[D.NumberSymbols][L.Group]}return n}var mt=xe;function et(t){if(!t[D.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[D.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ct(t){let e=E(t);return et(e),(e[D.ExtraData][2]||[]).map(n=>typeof n=="string"?ce(n):[ce(n[0]),ce(n[1])])}function Ft(t,e,s){let n=E(t);et(n);let i=[n[D.ExtraData][0],n[D.ExtraData][1]],r=y(i,e)||[];return y(r,s)||[]}function y(t,e){for(let s=e;s>-1;s--)if(typeof t[s]<"u")return t[s];throw new Error("Locale data API: locale data undefined")}function ce(t){let[e,s]=t.split(":");return{hours:+e,minutes:+s}}var Et=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z={},yt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,I=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(I||{}),c=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(c||{}),a=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(a||{});function wt(t,e,s,n){let i=Lt(t);e=v(s,e)||e;let o=[],u;for(;e;)if(u=yt.exec(e),u){o=o.concat(u.slice(1));let A=o.pop();if(!A)break;e=A}else{o.push(e);break}let f=i.getTimezoneOffset();n&&(f=nt(n,f),i=Bt(i,n,!0));let M="";return o.forEach(A=>{let R=It(A);M+=R?R(i,s,f):A==="''"?"'":A.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),M}function Q(t,e,s){let n=new Date(0);return n.setFullYear(t,e,s),n.setHours(0,0,0),n}function v(t,e){let s=ht(t);if(Z[s]??={},Z[s][e])return Z[s][e];let n="";switch(e){case"shortDate":n=G(t,C.Short);break;case"mediumDate":n=G(t,C.Medium);break;case"longDate":n=G(t,C.Long);break;case"fullDate":n=G(t,C.Full);break;case"shortTime":n=H(t,C.Short);break;case"mediumTime":n=H(t,C.Medium);break;case"longTime":n=H(t,C.Long);break;case"fullTime":n=H(t,C.Full);break;case"short":let i=v(t,"shortTime"),r=v(t,"shortDate");n=W(Y(t,C.Short),[i,r]);break;case"medium":let o=v(t,"mediumTime"),u=v(t,"mediumDate");n=W(Y(t,C.Medium),[o,u]);break;case"long":let f=v(t,"longTime"),M=v(t,"longDate");n=W(Y(t,C.Long),[f,M]);break;case"full":let A=v(t,"fullTime"),R=v(t,"fullDate");n=W(Y(t,C.Full),[A,R]);break}return n&&(Z[s][e]=n),n}function W(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(s,n){return e!=null&&n in e?e[n]:s})),t}function w(t,e,s="-",n,i){let r="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,r=s));let o=String(t);for(;o.length0||u>-s)&&(u+=s),t===c.Hours)u===0&&s===-12&&(u=12);else if(t===c.FractionalSeconds)return At(u,e);let f=ne(o,L.MinusSign);return w(u,e,f,n,i)}}function St(t,e){switch(t){case c.FullYear:return e.getFullYear();case c.Month:return e.getMonth();case c.Date:return e.getDate();case c.Hours:return e.getHours();case c.Minutes:return e.getMinutes();case c.Seconds:return e.getSeconds();case c.FractionalSeconds:return e.getMilliseconds();case c.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function l(t,e,s=m.Format,n=!1){return function(i,r){return bt(i,r,t,e,s,n)}}function bt(t,e,s,n,i,r){switch(s){case a.Months:return gt(e,i,n)[t.getMonth()];case a.Days:return Dt(e,i,n)[t.getDay()];case a.DayPeriods:let o=t.getHours(),u=t.getMinutes();if(r){let M=Ct(e),A=Ft(e,i,n),R=M.findIndex(U=>{if(Array.isArray(U)){let[ie,z]=U,we=o>=ie.hours&&u>=ie.minutes,Ae=o0?Math.floor(i/60):Math.ceil(i/60);switch(t){case I.Short:return(i>=0?"+":"")+w(o,2,r)+w(Math.abs(i%60),2,r);case I.ShortGMT:return"GMT"+(i>=0?"+":"")+w(o,1,r);case I.Long:return"GMT"+(i>=0?"+":"")+w(o,2,r)+":"+w(Math.abs(i%60),2,r);case I.Extended:return n===0?"Z":(i>=0?"+":"")+w(o,2,r)+":"+w(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}var vt=0,X=4;function _t(t){let e=Q(t,vt,1).getDay();return Q(t,0,1+(e<=X?X:X+7)-e)}function tt(t){let e=t.getDay(),s=e===0?-3:X-e;return Q(t.getFullYear(),t.getMonth(),t.getDate()+s)}function de(t,e=!1){return function(s,n){let i;if(e){let r=new Date(s.getFullYear(),s.getMonth(),1).getDay()-1,o=s.getDate();i=1+Math.floor((o+r)/7)}else{let r=tt(s),o=_t(r.getFullYear()),u=r.getTime()-o.getTime();i=1+Math.round(u/6048e5)}return w(i,t,ne(n,L.MinusSign))}}function q(t,e=!1){return function(s,n){let r=tt(s).getFullYear();return w(r,t,ne(n,L.MinusSign),e)}}var le={};function It(t){if(le[t])return le[t];let e;switch(t){case"G":case"GG":case"GGG":e=l(a.Eras,d.Abbreviated);break;case"GGGG":e=l(a.Eras,d.Wide);break;case"GGGGG":e=l(a.Eras,d.Narrow);break;case"y":e=g(c.FullYear,1,0,!1,!0);break;case"yy":e=g(c.FullYear,2,0,!0,!0);break;case"yyy":e=g(c.FullYear,3,0,!1,!0);break;case"yyyy":e=g(c.FullYear,4,0,!1,!0);break;case"Y":e=q(1);break;case"YY":e=q(2,!0);break;case"YYY":e=q(3);break;case"YYYY":e=q(4);break;case"M":case"L":e=g(c.Month,1,1);break;case"MM":case"LL":e=g(c.Month,2,1);break;case"MMM":e=l(a.Months,d.Abbreviated);break;case"MMMM":e=l(a.Months,d.Wide);break;case"MMMMM":e=l(a.Months,d.Narrow);break;case"LLL":e=l(a.Months,d.Abbreviated,m.Standalone);break;case"LLLL":e=l(a.Months,d.Wide,m.Standalone);break;case"LLLLL":e=l(a.Months,d.Narrow,m.Standalone);break;case"w":e=de(1);break;case"ww":e=de(2);break;case"W":e=de(1,!0);break;case"d":e=g(c.Date,1);break;case"dd":e=g(c.Date,2);break;case"c":case"cc":e=g(c.Day,1);break;case"ccc":e=l(a.Days,d.Abbreviated,m.Standalone);break;case"cccc":e=l(a.Days,d.Wide,m.Standalone);break;case"ccccc":e=l(a.Days,d.Narrow,m.Standalone);break;case"cccccc":e=l(a.Days,d.Short,m.Standalone);break;case"E":case"EE":case"EEE":e=l(a.Days,d.Abbreviated);break;case"EEEE":e=l(a.Days,d.Wide);break;case"EEEEE":e=l(a.Days,d.Narrow);break;case"EEEEEE":e=l(a.Days,d.Short);break;case"a":case"aa":case"aaa":e=l(a.DayPeriods,d.Abbreviated);break;case"aaaa":e=l(a.DayPeriods,d.Wide);break;case"aaaaa":e=l(a.DayPeriods,d.Narrow);break;case"b":case"bb":case"bbb":e=l(a.DayPeriods,d.Abbreviated,m.Standalone,!0);break;case"bbbb":e=l(a.DayPeriods,d.Wide,m.Standalone,!0);break;case"bbbbb":e=l(a.DayPeriods,d.Narrow,m.Standalone,!0);break;case"B":case"BB":case"BBB":e=l(a.DayPeriods,d.Abbreviated,m.Format,!0);break;case"BBBB":e=l(a.DayPeriods,d.Wide,m.Format,!0);break;case"BBBBB":e=l(a.DayPeriods,d.Narrow,m.Format,!0);break;case"h":e=g(c.Hours,1,-12);break;case"hh":e=g(c.Hours,2,-12);break;case"H":e=g(c.Hours,1);break;case"HH":e=g(c.Hours,2);break;case"m":e=g(c.Minutes,1);break;case"mm":e=g(c.Minutes,2);break;case"s":e=g(c.Seconds,1);break;case"ss":e=g(c.Seconds,2);break;case"S":e=g(c.FractionalSeconds,1);break;case"SS":e=g(c.FractionalSeconds,2);break;case"SSS":e=g(c.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=K(I.Short);break;case"ZZZZZ":e=K(I.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=K(I.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=K(I.Long);break;default:return null}return le[t]=e,e}function nt(t,e){t=t.replace(/:/g,"");let s=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(s)?e:s}function Mt(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function Bt(t,e,s){let n=s?-1:1,i=t.getTimezoneOffset(),r=nt(e,i);return Mt(t,n*(r-i))}function Lt(t){if(Ze(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,r=1,o=1]=t.split("-").map(u=>+u);return Q(i,r-1,o)}let s=parseFloat(t);if(!isNaN(t-s))return new Date(s);let n;if(n=t.match(Et))return Rt(n)}let e=new Date(t);if(!Ze(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function Rt(t){let e=new Date(0),s=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(s=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-s,u=Number(t[5]||0)-n,f=Number(t[6]||0),M=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return r.call(e,o,u,f,M),e}function Ze(t){return t instanceof Date&&!isNaN(t.valueOf())}var it=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:function(i){let r=null;return i?r=new i:r=(o=>new Tt(o))(S(V)),r},providedIn:"root"});let t=e;return t})();function Ot(t,e,s,n){let i=`=${t}`;if(e.indexOf(i)>-1||(i=s.getPluralCategory(t,n),e.indexOf(i)>-1))return i;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}var Tt=(()=>{let e=class e extends it{constructor(n){super(),this.locale=n}getPluralCategory(n,i){switch(mt(i||this.locale)(n)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}};e.\u0275fac=function(i){return new(i||e)(S(V))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})();function In(t,e,s){return $e(t,e,s)}function Mn(t,e){e=encodeURIComponent(e);for(let s of t.split(";")){let n=s.indexOf("="),[i,r]=n==-1?[s,""]:[s.slice(0,n),s.slice(n+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}var he=/\s+/,We=[],Bn=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=We,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(he):We}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(he):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(he).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(i){return new(i||e)(h(k),h($))},e.\u0275dir=b({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var fe=class{constructor(e,s,n,i){this.$implicit=e,this.ngForOf=s,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ln=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,o,u)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new fe(r.item,this._ngForOf,-1,-1),u===null?void 0:u);else if(u==null)i.remove(o===null?void 0:o);else if(o!==null){let f=i.get(o);i.move(f,u),Ke(f,r)}});for(let r=0,o=i.length;r{let o=i.get(r.currentIndex);Ke(o,r)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N),h(Ve))},e.\u0275dir=b({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Ke(t,e){t.context.$implicit=e.item}var Rn=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new De,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){qe("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){qe("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N))},e.\u0275dir=b({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),De=class{constructor(){this.$implicit=null,this.ngIf=null}};function qe(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${be(e)}'.`)}var Pt=!0,J=class{constructor(e,s){this._viewContainerRef=e,this._templateRef=s,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},rt=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=Pt?n===this._ngSwitch:n==this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=b({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),On=(()=>{let e=class e{constructor(n,i,r){this.ngSwitch=r,r._addCase(),this._view=new J(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N),h(rt,9))},e.\u0275dir=b({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})(),Tn=(()=>{let e=class e{constructor(n,i,r){r._addDefault(new J(n,i))}};e.\u0275fac=function(i){return new(i||e)(h(O),h(N),h(rt,9))},e.\u0275dir=b({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let t=e;return t})();var Pn=(()=>{let e=class e{constructor(n,i,r){this._ngEl=n,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[r,o]=n.split("."),u=r.indexOf("-")===-1?void 0:Oe.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,u):this._renderer.removeStyle(this._ngEl.nativeElement,r,u)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};e.\u0275fac=function(i){return new(i||e)(h(k),h(je),h($))},e.\u0275dir=b({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),kn=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}};e.\u0275fac=function(i){return new(i||e)(h(O))},e.\u0275dir=b({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[re]});let t=e;return t})();function ye(t,e){return new Se(2100,!1)}var ge=class{createSubscription(e,s){return ue(()=>e.subscribe({next:s,error:n=>{throw n}}))}dispose(e){ue(()=>e.unsubscribe())}},pe=class{createSubscription(e,s){return e.then(s,n=>{throw n})}dispose(e){}},kt=new pe,Nt=new ge,Nn=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Ue(n))return kt;if(ze(n))return Nt;throw ye(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(h(j,16))},e.\u0275pipe=P({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var $t="mediumDate",xt=new B(""),Ut=new B(""),$n=(()=>{let e=class e{constructor(n,i,r){this.locale=n,this.defaultTimezone=i,this.defaultOptions=r}transform(n,i,r,o){if(n==null||n===""||n!==n)return null;try{let u=i??this.defaultOptions?.dateFormat??$t,f=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return wt(n,u,o||this.locale,f)}catch(u){throw ye(e,u.message)}}};e.\u0275fac=function(i){return new(i||e)(h(V,16),h(xt,24),h(Ut,24))},e.\u0275pipe=P({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})(),zt=/#/g,xn=(()=>{let e=class e{constructor(n){this._localization=n}transform(n,i,r){if(n==null)return"";if(typeof i!="object"||i===null)throw ye(e,i);let o=Ot(n,Object.keys(i),this._localization,r);return i[o].replace(zt,n.toString())}};e.\u0275fac=function(i){return new(i||e)(h(it,16))},e.\u0275pipe=P({name:"i18nPlural",type:e,pure:!0,standalone:!0});let t=e;return t})();var Un=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=P({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var zn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=_e({type:e}),e.\u0275inj=ve({});let t=e;return t})(),Vt="browser",jt="server";function Gt(t){return t===Vt}function Ht(t){return t===jt}var Vn=(()=>{let e=class e{};e.\u0275prov=F({token:e,providedIn:"root",factory:()=>Gt(p(se))?new me(p(ee),window):new Ce});let t=e;return t})(),me=class{constructor(e,s){this.document=e,this.window=s,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let s=Yt(this.document,e);s&&(this.scrollToElement(s),s.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let s=e.getBoundingClientRect(),n=s.left+this.window.pageXOffset,i=s.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}};function Yt(t,e){let s=t.getElementById(e)||t.getElementsByName(e)[0];if(s)return s;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let r=i.shadowRoot;if(r){let o=r.getElementById(e)||r.querySelector(`[name="${e}"]`);if(o)return o}i=n.nextNode()}}return null}var Ce=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Xe=class{};var st=t=>t.src,Zt=new B("",{providedIn:"root",factory:()=>st});var Wt=new B("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),Kt=(()=>{let e=class e{constructor(){this.preloadedImages=p(Wt),this.document=p(ee)}createPreloadLinkTag(n,i,r,o){if(this.preloadedImages.has(i))return;this.preloadedImages.add(i);let u=n.createElement("link");n.setAttribute(u,"as","image"),n.setAttribute(u,"href",i),n.setAttribute(u,"rel","preload"),n.setAttribute(u,"fetchpriority","high"),o&&n.setAttribute(u,"imageSizes",o),r&&n.setAttribute(u,"imageSrcset",r),n.appendChild(this.document.head,u)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var qt=/^((\s*\d+w\s*(,|$)){1,})$/;var Xt=[1,2],Qt=640;var Jt=1920,en=1080;var jn=(()=>{let e=class e{constructor(){this.imageLoader=p(Zt),this.config=tn(p(Le)),this.renderer=p($),this.imgElement=p(k).nativeElement,this.injector=p(Ie),this.isServer=Ht(p(se)),this.preloadLinkCreator=p(Kt),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Te("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let i=this._renderedSrc;this.updateSrcAndSrcset(!0);let r=this._renderedSrc;this.lcpObserver!==null&&i&&r&&i!==r&&this.injector.get(Pe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(i,r)})}}callImageLoader(n){let i=n;return this.loaderParams&&(i.loaderParams=this.loaderParams),this.imageLoader(i)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=qt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let o=n?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,i=n;return this.sizes?.trim()==="100vw"&&(i=n.filter(o=>o>=Qt)),i.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let i=this.getRewrittenSrc();this.setHostAttribute("src",i);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return Xt.map(i=>`${this.callImageLoader({src:this.ngSrc,width:this.width*i})} ${i}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>Jt||this.height>en),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==st&&!n}generatePlaceholder(n){let{placeholderResolution:i}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:i,isPlaceholder:!0})})`:typeof n=="string"&&n.startsWith("data:")?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let i=()=>{let u=this.injector.get(j);r(),o(),this.placeholder=!1,u.markForCheck()},r=this.renderer.listen(n,"load",i),o=this.renderer.listen(n,"error",i)}ngOnDestroy(){}setHostAttribute(n,i){this.renderer.setAttribute(this.imgElement,n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=b({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(i,r){i&2&&Ne("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",nn],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",oe],height:[2,"height","height",oe],loading:"loading",priority:[2,"priority","priority",x],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",x],fill:[2,"fill","fill",x],placeholder:[2,"placeholder","placeholder",rn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[ke,re]});let t=e;return t})();function tn(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((s,n)=>s-n)),Object.assign({},Be,t,e)}function nn(t){return typeof t=="string"?t:Re(t)}function rn(t){return typeof t=="string"&&t.startsWith("data:")?t:x(t)}export{ae as a,bn as b,Ge as c,ee as d,vn as e,te as f,ut as g,_n as h,at as i,wt as j,In as k,Mn as l,Bn as m,Ln as n,Rn as o,rt as p,On as q,Tn as r,Pn as s,kn as t,Nn as u,$n as v,xn as w,Un as x,zn as y,Vt as z,Gt as A,Ht as B,Vn as C,Xe as D,jn as E}; diff --git a/angular/docs/chunk-BBXB6IKX.js b/angular/docs/chunk-XIKXT37U.js similarity index 92% rename from angular/docs/chunk-BBXB6IKX.js rename to angular/docs/chunk-XIKXT37U.js index f619fe5e59a..02c8ee93ef6 100644 --- a/angular/docs/chunk-BBXB6IKX.js +++ b/angular/docs/chunk-XIKXT37U.js @@ -1,4 +1,4 @@ -import{a as m}from"./chunk-J4FX3WSX.js";import{a as g}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{g as E}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as b}from"./chunk-SWYVARVN.js";import{r as C}from"./chunk-JJFVMVK7.js";import{c as x,d as w}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as i,Bc as s,Cc as y,Dc as S,Oc as c,Pc as f,Qb as u,ac as o,bc as r,lb as l,mb as v,na as p}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var F=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner07"]],standalone:!0,features:[c],decls:5,vars:0,consts:[["cButton","","disabled","",1,"m-1"],["aria-hidden","true","size","sm","variant","grow"]],template:function(n,d){n&1&&(i(0,"button",0),r(1,"c-spinner",1),o(),i(2,"button",0),r(3,"c-spinner",1),s(4,` Loading... +import{a as m}from"./chunk-I7ZDH35V.js";import{a as g}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{g as E}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as b}from"./chunk-MH6VOBXJ.js";import{r as C}from"./chunk-Q5WIR6QR.js";import{c as x,d as w}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as i,Bc as s,Cc as y,Dc as S,Oc as c,Pc as f,Qb as u,ac as o,bc as r,lb as l,mb as v,na as p}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var F=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner07"]],standalone:!0,features:[c],decls:5,vars:0,consts:[["cButton","","disabled","",1,"m-1"],["aria-hidden","true","size","sm","variant","grow"]],template:function(n,d){n&1&&(i(0,"button",0),r(1,"c-spinner",1),o(),i(2,"button",0),r(3,"c-spinner",1),s(4,` Loading... `),o())},dependencies:[g,m],encapsulation:2});let t=e;return t})();var M=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner06"]],standalone:!0,features:[c],decls:5,vars:0,consts:[["cButton","","disabled","",1,"m-1"],["aria-hidden","true","size","sm"]],template:function(n,d){n&1&&(i(0,"button",0),r(1,"c-spinner",1),o(),i(2,"button",0),r(3,"c-spinner",1),s(4,` Loading... `),o())},dependencies:[g,m],encapsulation:2});let t=e;return t})();var D=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner05"]],standalone:!0,features:[c],decls:2,vars:0,consts:[["size","sm"],["size","sm","variant","grow"]],template:function(n,d){n&1&&r(0,"c-spinner",0)(1,"c-spinner",1)},dependencies:[m],encapsulation:2});let t=e;return t})();var T=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner04"]],standalone:!0,features:[c],decls:8,vars:0,consts:[["color","primary","variant","grow"],["color","secondary","variant","grow"],["color","success","variant","grow"],["color","danger","variant","grow"],["color","warning","variant","grow"],["color","info","variant","grow"],["color","light","variant","grow"],["color","dark","variant","grow"]],template:function(n,d){n&1&&r(0,"c-spinner",0)(1,"c-spinner",1)(2,"c-spinner",2)(3,"c-spinner",3)(4,"c-spinner",4)(5,"c-spinner",5)(6,"c-spinner",6)(7,"c-spinner",7)},dependencies:[m],encapsulation:2});let t=e;return t})();var k=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner03"]],standalone:!0,features:[c],decls:1,vars:0,consts:[["variant","grow"]],template:function(n,d){n&1&&r(0,"c-spinner",0)},dependencies:[m],encapsulation:2});let t=e;return t})();var I=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner02"]],standalone:!0,features:[c],decls:8,vars:0,consts:[["color","primary"],["color","secondary"],["color","success"],["color","danger"],["color","warning"],["color","info"],["color","light"],["color","dark"]],template:function(n,d){n&1&&r(0,"c-spinner",0)(1,"c-spinner",1)(2,"c-spinner",2)(3,"c-spinner",3)(4,"c-spinner",4)(5,"c-spinner",5)(6,"c-spinner",6)(7,"c-spinner",7)},dependencies:[m],encapsulation:2});let t=e;return t})();var z=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=p({type:e,selectors:[["docs-spinner01"]],standalone:!0,features:[c],decls:1,vars:0,template:function(n,d){n&1&&r(0,"c-spinner")},dependencies:[m],encapsulation:2});let t=e;return t})();var A=`\`\`\`typescript import { SpinnerModule } from '@coreui/angular'; diff --git a/angular/docs/chunk-XPMARKUH.js b/angular/docs/chunk-XPMARKUH.js new file mode 100644 index 00000000000..d6e4461523d --- /dev/null +++ b/angular/docs/chunk-XPMARKUH.js @@ -0,0 +1 @@ +import{a as V,i as Ae}from"./chunk-LZN2HRQX.js";import{c as Ee,d as Ke,g as Q,h as W,i as we}from"./chunk-DTADTSJV.js";import{t as R}from"./chunk-XHR4TYVD.js";import{$b as x,A as se,Ac as w,Bb as ue,Bc as Z,Cb as he,Db as be,Dc as Te,Gb as ve,Ia as O,Ja as de,Jb as v,Ka as l,Kb as z,La as fe,Lb as U,Mb as ye,Nc as De,Ob as ge,Oc as C,Pb as F,Qb as y,Ub as k,X as re,Y as M,Yb as G,Zb as J,_b as X,_c as ee,ac as I,bc as Y,ca as ce,da as le,ec as K,gc as L,hc as _e,ia as p,lb as j,mc as Ce,na as b,nc as xe,nd as Ie,oa as me,ob as N,oc as S,od as Se,pa as pe,pc as g,pd as m,qc as _,qd as $,rd as E,x as q,xc as P,z as ae,zb as D,zc as H}from"./chunk-6U7QZ4SV.js";import{e as s,f as u,g as h}from"./chunk-MGAX33HK.js";var d=(()=>{let t=class t{constructor(){this.activeItem=D(void 0),this.activeItemKey=D(void 0),this.id=D(void 0)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=ce({token:t,factory:t.\u0275fac});let e=t;return e})();var Fe=["*"],ke=0,te=(()=>{let t=class t{constructor(){this.tabsService=p(d),this.activeItemKey=be(),this.tabsId=`tabs-${ke++}`,this.id=l(this.tabsId),this.activeItemEffect=E(()=>{this.tabsService.id.set(this.id()),this.tabsService.activeItemKey.set(this.activeItemKey())},{allowSignalWrites:!0}),this.tabsServiceEffect=E(()=>{this.activeItemKey.set(this.tabsService.activeItemKey())},{allowSignalWrites:!0})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=b({type:t,selectors:[["c-tabs"]],hostAttrs:[1,"tabs"],hostVars:1,hostBindings:function(o,n){o&2&&L("id",n.id())},inputs:{activeItemKey:[1,"activeItemKey"],id:[1,"id"]},outputs:{activeItemKey:"activeItemKeyChange"},exportAs:["cTabs"],standalone:!0,features:[De([d]),C],ngContentSelectors:Fe,decls:1,vars:0,template:function(o,n){o&1&&(g(),_(0))},styles:["[_nghost-%COMP%]{display:block}"]});let e=t;return e})();var B=(()=>{var t,i,a,o;let n=class n{constructor(){u(this,t);u(this,i);u(this,a);u(this,o);h(this,t,p(O)),h(this,i,p(fe)),h(this,a,p(d)),h(this,o,D(!1)),this.attrDisabled=m(()=>s(this,o).call(this)||null),this.itemKey=l.required(),this.id=l(),this.ariaControls=l(void 0,{alias:"aria-controls"}),this.isActive=m(()=>!s(this,o).call(this)&&s(this,a).activeItemKey()===this.itemKey()),this.hostClasses=m(()=>({"nav-link":!0,active:this.isActive(),disabled:s(this,o).call(this)})),this.propId=m(()=>this.id()??`${s(this,a).id()}-tab-${this.itemKey()}`),this.attrAriaControls=m(()=>this.ariaControls()??`${s(this,a).id()}-panel-${this.itemKey()}`),this.disabledEffect=E(()=>{if(!s(this,o).call(this)){let r=q(s(this,i).nativeElement,"click"),T=q(s(this,i).nativeElement,"focusin");ae(T,r).pipe(se(f=>!s(this,o).call(this)),M(f=>{s(this,a).activeItemKey.set($(this.itemKey))}),re(()=>!s(this,o).call(this)),V(s(this,t))).subscribe()}},{allowSignalWrites:!0})}set disabled(r){s(this,o).set(r)}get disabled(){return s(this,o).call(this)}focus(r){s(this,i).nativeElement.focus()}};t=new WeakMap,i=new WeakMap,a=new WeakMap,o=new WeakMap,n.\u0275fac=function(T){return new(T||n)},n.\u0275dir=pe({type:n,selectors:[["button","cTab",""]],hostAttrs:["type","button","role","tab"],hostVars:7,hostBindings:function(T,f){T&2&&(L("id",f.propId())("tabindex",f.isActive()?0:-1),F("aria-selected",f.isActive())("aria-controls",f.attrAriaControls())("disabled",f.attrDisabled()||null),k(f.hostClasses()))},inputs:{disabled:[2,"disabled","disabled",Ie],itemKey:[1,"itemKey"],id:[1,"id"],ariaControls:[1,"aria-controls","ariaControls"]},exportAs:["cTab"],standalone:!0,features:[ve]});let e=n;return e})();var Le=["*"],ie=(()=>{var t,i;let a=class a{constructor(){u(this,t);u(this,i);h(this,t,p(O)),this.tabsService=p(d),this.layout=l(),this.variant=l(),this.role=l("tablist"),this.hostClasses=m(()=>({nav:!0,[`nav-${this.layout()}`]:this.layout(),[`nav-${this.variant()}`]:this.variant()})),this.tabs=he(B),this.tabsEffect=E(()=>{if(this.tabs().length===0)return;h(this,i,new Ae(this.tabs()).skipPredicate(r=>r.disabled===!0).withHorizontalOrientation("ltr").withHomeAndEnd().withWrap()),s(this,i).change.pipe(M(r=>{this.tabsService.activeItemKey.set(s(this,i).activeItem?.itemKey()),this.tabsService.activeItem.set(s(this,i).activeItem)}),V(s(this,t))).subscribe();let n=this.tabs().find(r=>$(r.isActive))??this.tabs().find(r=>!r.disabled),c=this.tabs().findIndex(r=>r===n);s(this,i)?.updateActiveItem(c<0?0:c),this.tabsService.activeItemKey.set(s(this,i).activeItem?.itemKey()),this.tabsService.activeItem.set(s(this,i).activeItem)},{allowSignalWrites:!0}),this.tabsServiceEffect=E(()=>{let n=this.tabs().findIndex(c=>$(c.isActive)&&$(c.itemKey)===this.tabsService.activeItemKey());s(this,i)?.updateActiveItem(n<0?0:n)})}onKeydown(n){if(["ArrowLeft","ArrowRight"].includes(n.key)){s(this,i).onKeydown(n);return}["Tab"].includes(n.key)&&s(this,i)?.tabOut.next()}};t=new WeakMap,i=new WeakMap,a.\u0275fac=function(c){return new(c||a)},a.\u0275cmp=b({type:a,selectors:[["c-tabs-list"]],contentQueries:function(c,r,T){c&1&&P(T,r.tabs,B,4),c&2&&H()},hostVars:3,hostBindings:function(c,r){c&1&&Ce("keydown",function(f){return r.onKeydown(f)}),c&2&&(F("role",r.role()),k(r.hostClasses()))},inputs:{layout:[1,"layout"],variant:[1,"variant"],role:[1,"role"]},exportAs:["cTabsList"],standalone:!0,features:[C],ngContentSelectors:Le,decls:1,vars:0,template:function(c,r){c&1&&(g(),_(0))},encapsulation:2});let e=a;return e})();var $e=["*"],ne=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=b({type:t,selectors:[["c-tabs-content"]],hostAttrs:[1,"tab-content"],exportAs:["cTabsContent"],standalone:!0,features:[C],ngContentSelectors:$e,decls:1,vars:0,template:function(o,n){o&1&&(g(),_(0))},encapsulation:2});let e=t;return e})();var Be=["*"],oe=(()=>{let t=class t{constructor(){this.tabsService=p(d),this.ariaLabelledBy=l(void 0,{alias:"aria-labelledby"}),this.id=l(),this.itemKey=l.required(),this.tabindex=l(0,{transform:Se}),this.transition=l(!0),this.visibleChange=de(),this.show=D(!1),this.visible=m(()=>{let a=this.tabsService.activeItemKey()===this.itemKey()&&!this.tabsService.activeItem()?.disabled;return this.visibleChange.emit({itemKey:this.itemKey(),visible:a}),a}),this.propId=m(()=>this.id()??`${this.tabsService.id()}-panel-${this.itemKey()}`),this.attrAriaLabelledBy=m(()=>this.ariaLabelledBy()??`${this.tabsService.id()}-tab-${this.itemKey()}`),this.hostClasses=m(()=>({"tab-pane":!0,active:this.show(),fade:this.transition(),show:this.show(),invisible:this.tabsService.activeItem()?.disabled}))}get animationDisabled(){return!this.transition()}get animateType(){return this.visible()?"show":"hide"}onAnimationDone(a){this.show.set(this.visible())}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=b({type:t,selectors:[["c-tab-panel"]],hostAttrs:["role","tabpanel"],hostVars:7,hostBindings:function(o,n){o&1&&xe("@fadeInOut.done",function(r){return n.onAnimationDone(r)}),o&2&&(L("tabindex",n.visible()?n.tabindex():-1)("id",n.propId()),_e("@.disabled",n.animationDisabled)("@fadeInOut",n.animateType),F("aria-labelledby",n.attrAriaLabelledBy()),k(n.hostClasses()))},inputs:{ariaLabelledBy:[1,"aria-labelledby","ariaLabelledBy"],id:[1,"id"],itemKey:[1,"itemKey"],tabindex:[1,"tabindex"],transition:[1,"transition"]},outputs:{visibleChange:"visibleChange"},exportAs:["cTabPanel"],standalone:!0,features:[C],ngContentSelectors:Be,decls:1,vars:0,template:function(o,n){o&1&&(g(),_(0))},encapsulation:2,data:{animation:[Ee("fadeInOut",[W("show",Q({opacity:1})),W("hide",Q({opacity:0})),W("void",Q({opacity:0})),we("* => *",[Ke("150ms linear")])])]}});let e=t;return e})();var je=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=me({type:t}),t.\u0275inj=le({providers:[d]});let e=t;return e})();var Me=["docsExample"],Oe=["*"],Pe=()=>[R],He=()=>[R,import("./chunk-EBKHKKNH.js").then(e=>e.MarkdownComponent)];function Re(e,t){e&1&&K(0)}function Qe(e,t){if(e&1&&v(0,Re,1,0,"ng-container",8),e&2){let i=S(),a=w(16);y("ngTemplateOutlet",i.docsExampleTemplateRef()||a)}}function We(e,t){e&1&&K(0)}function Ve(e,t){if(e&1&&v(0,We,1,0,"ng-container",8),e&2){S();let i=w(18);y("ngTemplateOutlet",i)}}function qe(e,t){e&1&&K(0)}function Ne(e,t){if(e&1&&v(0,qe,1,0,"ng-container",8),e&2){S();let i=w(18);y("ngTemplateOutlet",i)}}function ze(e,t){if(e&1&&(x(0,"button",6),Z(1),I()),e&2){let i=t.$implicit,a=t.$index;y("itemKey",a),j(),Te(" ",i.split("/").pop()," ")}}function Ue(e,t){e&1&&K(0)}function Ge(e,t){if(e&1&&(x(0,"markdown",9),v(1,Ue,1,0,"ng-container",8),I()),e&2){let i=S().$implicit;S();let a=w(18);y("src",i),j(),y("ngTemplateOutlet",a)}}function Je(e,t){e&1&&K(0)}function Xe(e,t){if(e&1&&v(0,Je,1,0,"ng-container",8),e&2){S(2);let i=w(18);y("ngTemplateOutlet",i)}}function Ye(e,t){e&1&&K(0)}function Ze(e,t){if(e&1&&v(0,Ye,1,0,"ng-container",8),e&2){S(2);let i=w(18);y("ngTemplateOutlet",i)}}function et(e,t){if(e&1&&(x(0,"c-tab-panel",7),v(1,Ge,2,2)(2,Xe,1,1)(3,Ze,1,1),U(4,1,He,2,3,null,3,4,z),ye(),I()),e&2){let i=t.$index;y("itemKey",i)("transition",!1)}}function tt(e,t){e&1&&(x(0,"div",10),_(1),I())}function it(e,t){e&1&&(x(0,"div",11),Y(1,"i",12),x(2,"span",13),Z(3,"Loading..."),I()())}var nt=(()=>{var t;let i=class i{constructor(){u(this,t);h(this,t,[]),this.files=l(),this.docsExampleTemplateRef=ue("docsExample",{read:N})}};t=new WeakMap,i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=b({type:i,selectors:[["docs-example"]],contentQueries:function(n,c,r){n&1&&P(r,c.docsExampleTemplateRef,Me,5,N),n&2&&H()},inputs:{files:[1,"files"]},standalone:!0,features:[C],ngContentSelectors:Oe,decls:19,vars:0,consts:[["start",""],["docsExampleDefault",""],["loading",""],[10,null],[10],[1,"docs-code-group","mb-1","text-bg-dark",2,"min-height","15rem"],["cTab","",3,"itemKey"],[3,"itemKey","transition"],[4,"ngTemplateOutlet"],["lineNumbers","",3,"src"],[1,"docs-example"],[2,"min-height","10rem","padding","2rem"],[1,"spinner-grow","spinner-grow-sm"],[1,"m-1"]],template:function(n,c){n&1&&(g(),Y(0,"div",null,0),v(2,Qe,1,1)(3,Ve,1,1)(4,Ne,1,1),U(5,2,Pe,3,4,null,3,4,z),ge(0),x(7,"div",5)(8,"c-tabs")(9,"c-tabs-list"),J(10,ze,2,2,"button",6,G),I(),x(12,"c-tabs-content"),J(13,et,6,2,"c-tab-panel",7,G),I()()(),v(15,tt,2,0,"ng-template",null,1,ee)(17,it,4,0,"ng-template",null,2,ee)),n&2&&(j(10),X(c.files()),j(3),X(c.files()))},dependencies:[R,te,ie,B,ne,oe],styles:[".docs-code-group .nav{background-color:#282c34;color:#ccc;padding:10px 0} .docs-code-group .nav-link{border:0;margin:0 1rem;padding:.5rem .25rem;cursor:pointer;background-color:transparent;font-size:.85em;line-height:1.4;color:#ffffffe6;font-weight:600} .docs-code-group .nav-link.active{border-bottom:2px solid #cf2f4c} .docs-code-group markdown>pre{max-height:500px;margin:0 0 1.5rem;border-top-left-radius:0;border-top-right-radius:0}"]});let e=i;return e})();export{te as a,B as b,ie as c,ne as d,oe as e,je as f,nt as g}; diff --git a/angular/docs/chunk-NEQOHQJO.js b/angular/docs/chunk-XU4RTE5H.js similarity index 93% rename from angular/docs/chunk-NEQOHQJO.js rename to angular/docs/chunk-XU4RTE5H.js index 0e87242ab2c..44aeea6dafa 100644 --- a/angular/docs/chunk-NEQOHQJO.js +++ b/angular/docs/chunk-XU4RTE5H.js @@ -1,4 +1,4 @@ -import{a as d}from"./chunk-TUX4GOME.js";import{$b as e,Bc as i,Oc as a,ac as t,na as r}from"./chunk-O6V6MKDU.js";var f=(()=>{let o=class o{};o.\u0275fac=function(l){return new(l||o)},o.\u0275cmp=r({type:o,selectors:[["docs-callout01-example"]],standalone:!0,features:[a],decls:16,vars:0,consts:[["color","primary"],["color","secondary"],["color","success"],["color","danger"],["color","warning"],["color","info"],["color","light"],["color","dark"]],template:function(l,s){l&1&&(e(0,"c-callout",0),i(1,` New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets. +import{a as d}from"./chunk-2NTR63DE.js";import{$b as e,Bc as i,Oc as a,ac as t,na as r}from"./chunk-6U7QZ4SV.js";var f=(()=>{let o=class o{};o.\u0275fac=function(l){return new(l||o)},o.\u0275cmp=r({type:o,selectors:[["docs-callout01-example"]],standalone:!0,features:[a],decls:16,vars:0,consts:[["color","primary"],["color","secondary"],["color","success"],["color","danger"],["color","warning"],["color","info"],["color","light"],["color","dark"]],template:function(l,s){l&1&&(e(0,"c-callout",0),i(1,` New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets. `),t(),e(2,"c-callout",1),i(3,` New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets. `),t(),e(4,"c-callout",2),i(5,` New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets. `),t(),e(6,"c-callout",3),i(7,` New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets. diff --git a/angular/docs/chunk-DOUQMV72.js b/angular/docs/chunk-Y4VP6P5I.js similarity index 96% rename from angular/docs/chunk-DOUQMV72.js rename to angular/docs/chunk-Y4VP6P5I.js index 4b45ab2dbfc..64b9cf27f37 100644 --- a/angular/docs/chunk-DOUQMV72.js +++ b/angular/docs/chunk-Y4VP6P5I.js @@ -1 +1 @@ -import{Gb as a,La as u,Pb as d,Ub as n,mb as h,nd as l,pa as o}from"./chunk-O6V6MKDU.js";var p=(()=>{let t=class t{constructor(){this.flush=!1}get hostClasses(){return{"list-group":!0,"list-group-horizontal":this.horizontal===!0||this.horizontal==="",[`list-group-horizontal-${this.horizontal}`]:!!this.horizontal&&typeof this.horizontal!="boolean","list-group-flush":this.flush}}};t.\u0275fac=function(s){return new(s||t)},t.\u0275dir=o({type:t,selectors:[["","cListGroup",""]],hostVars:2,hostBindings:function(s,r){s&2&&n(r.hostClasses)},inputs:{flush:[2,"flush","flush",l],horizontal:"horizontal"},standalone:!0,features:[a]});let e=t;return e})();var f=(()=>{let t=class t{constructor(i){this.hostElement=i,this.disabled=!1}get isDisabled(){return this.disabled||null}get attrDisabled(){return this.disabled?"":null}get getTabindex(){return this.disabled?"-1":null}get ariaCurrent(){return!!this.active}get hostClasses(){let i=this.hostElement.nativeElement;return{"list-group-item":!0,"list-group-item-action":i.nodeName==="A"||i.nodeName==="BUTTON",active:!!this.active,disabled:this.isDisabled,[`list-group-item-${this.color}`]:!!this.color}}};t.\u0275fac=function(s){return new(s||t)(h(u))},t.\u0275dir=o({type:t,selectors:[["","cListGroupItem",""],["c-list-group-item"]],hostVars:6,hostBindings:function(s,r){s&2&&(d("aria-disabled",r.isDisabled)("disabled",r.attrDisabled)("tabindex",r.getTabindex)("aria-current",r.ariaCurrent),n(r.hostClasses))},inputs:{active:"active",color:"color",disabled:[2,"disabled","disabled",l]},exportAs:["cListGroupItem"],standalone:!0,features:[a]});let e=t;return e})();export{p as a,f as b}; +import{Gb as a,La as u,Pb as d,Ub as n,mb as h,nd as l,pa as o}from"./chunk-6U7QZ4SV.js";var p=(()=>{let t=class t{constructor(){this.flush=!1}get hostClasses(){return{"list-group":!0,"list-group-horizontal":this.horizontal===!0||this.horizontal==="",[`list-group-horizontal-${this.horizontal}`]:!!this.horizontal&&typeof this.horizontal!="boolean","list-group-flush":this.flush}}};t.\u0275fac=function(s){return new(s||t)},t.\u0275dir=o({type:t,selectors:[["","cListGroup",""]],hostVars:2,hostBindings:function(s,r){s&2&&n(r.hostClasses)},inputs:{flush:[2,"flush","flush",l],horizontal:"horizontal"},standalone:!0,features:[a]});let e=t;return e})();var f=(()=>{let t=class t{constructor(i){this.hostElement=i,this.disabled=!1}get isDisabled(){return this.disabled||null}get attrDisabled(){return this.disabled?"":null}get getTabindex(){return this.disabled?"-1":null}get ariaCurrent(){return!!this.active}get hostClasses(){let i=this.hostElement.nativeElement;return{"list-group-item":!0,"list-group-item-action":i.nodeName==="A"||i.nodeName==="BUTTON",active:!!this.active,disabled:this.isDisabled,[`list-group-item-${this.color}`]:!!this.color}}};t.\u0275fac=function(s){return new(s||t)(h(u))},t.\u0275dir=o({type:t,selectors:[["","cListGroupItem",""],["c-list-group-item"]],hostVars:6,hostBindings:function(s,r){s&2&&(d("aria-disabled",r.isDisabled)("disabled",r.attrDisabled)("tabindex",r.getTabindex)("aria-current",r.ariaCurrent),n(r.hostClasses))},inputs:{active:"active",color:"color",disabled:[2,"disabled","disabled",l]},exportAs:["cListGroupItem"],standalone:!0,features:[a]});let e=t;return e})();export{p as a,f as b}; diff --git a/angular/docs/chunk-Y6X7IJBC.js b/angular/docs/chunk-YBCST65W.js similarity index 92% rename from angular/docs/chunk-Y6X7IJBC.js rename to angular/docs/chunk-YBCST65W.js index fc0dfddfce1..7af1e5d42a3 100644 --- a/angular/docs/chunk-Y6X7IJBC.js +++ b/angular/docs/chunk-YBCST65W.js @@ -1,4 +1,4 @@ -import{a as x,d as A,e as d,f as D,g as E,h as k,i as p,j as y}from"./chunk-C5JPXVV5.js";import{A as F,B as w,f as v,i as h,m as b,t as P,u as B}from"./chunk-JZLZFTWK.js";import{a as S}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{c as H,e as R,f as G}from"./chunk-EBCID5MY.js";import{g as U}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as j}from"./chunk-SWYVARVN.js";import{r as V}from"./chunk-JJFVMVK7.js";import{c as L,d as O}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as i,Bc as o,Cc as T,Dc as N,Oc as m,Pc as g,Qb as f,ac as t,bc as a,lb as c,mb as M,na as l}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var q=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview05"]],standalone:!0,features:[m],decls:23,vars:0,consts:[["cForm",""],["disabled",""],[1,"mb-3"],["cLabel","","for","disabledTextInput-5"],["cFormControl","","id","disabledTextInput-5","type","text","placeholder","Disabled input"],["cLabel","","for","disabledSelect-5"],["id","disabledSelect-5","cSelect","","disabled",""],["cFormCheckInput","","id","disabledFieldsetCheck-5","type","checkbox"],["cFormCheckLabel","","for","disabledFieldsetCheck-5"],["cButton","","type","submit","color",""]],template:function(n,u){n&1&&(i(0,"form",0)(1,"fieldset",1)(2,"div",2)(3,"label",3),o(4,"Disabled input"),t(),a(5,"input",4),t(),i(6,"div",2)(7,"label",5),o(8,"Disabled select"),t(),i(9,"select",6)(10,"option"),o(11,"Open this select menu"),t(),i(12,"option"),o(13,"Disabled select"),t(),i(14,"option"),o(15,"Two"),t(),i(16,"option"),o(17,"Three"),t()()(),i(18,"c-form-check",2),a(19,"input",7),i(20,"label",8),o(21,"Can't touch this"),t()(),a(22,"input",9),t()())},dependencies:[w,b,P,B,v,F,h,x,d,p,A,E,k,D,S],encapsulation:2});let r=e;return r})();var z=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview04"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["cLabel",""],["cFormControl","","type","text","placeholder","Disabled input here...","disabled",""]],template:function(n,u){n&1&&(i(0,"label",0),o(1,"Disabled input"),t(),a(2,"input",1))},dependencies:[d,p],encapsulation:2});let r=e;return r})();var K=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview03"]],standalone:!0,features:[m],decls:10,vars:1,consts:[["cForm",""],[1,"align-items-center",3,"gutter"],["xs","auto"],["cLabel","col","for","inputPassword-3"],["aria-describedby","passwordHelpInline-3","cFormControl","","id","inputPassword-3","type","password"],["cFormText","","id","passwordHelpInline-3"]],template:function(n,u){n&1&&(i(0,"form",0)(1,"c-row",1)(2,"c-col",2)(3,"label",3),o(4," Password "),t()(),i(5,"c-col",2),a(6,"input",4),t(),i(7,"c-col",2)(8,"span",5),o(9," Must be 8-20 characters long. "),t()()()()),n&2&&(c(),f("gutter",3))},dependencies:[w,b,v,F,h,x,R,G,H,d,p,y],encapsulation:2});let r=e;return r})();var W=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview02"]],standalone:!0,features:[m],decls:7,vars:0,consts:[["cForm",""],[1,"mb-3"],["cLabel","","for","inputPassword-2"],["aria-describedby","passwordHelpBlock-2","cFormControl","","id","inputPassword-2","type","password"],["cFormText","","id","passwordHelpBlock-2"]],template:function(n,u){n&1&&(i(0,"form",0)(1,"div",1)(2,"label",2),o(3,"Password"),t(),a(4,"input",3),i(5,"span",4),o(6," Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji. "),t()()())},dependencies:[w,b,v,F,h,x,d,p,y],encapsulation:2});let r=e;return r})();var Y=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview01"]],standalone:!0,features:[m],decls:16,vars:0,consts:[["cForm",""],[1,"mb-3"],["cLabel","","for","inputEmail-1"],["cFormControl","","id","inputEmail-1","type","email"],["cFormText",""],["cLabel","","for","inputPassword-1"],["cFormControl","","id","inputPassword-1","type","password"],["cFormCheckInput","","id","checkMeOut-1","type","checkbox"],["cFormCheckLabel","","for","checkMeOut-1"],["cButton","","color","primary","type","submit"]],template:function(n,u){n&1&&(i(0,"form",0)(1,"div",1)(2,"label",2),o(3,"Email address"),t(),a(4,"input",3),i(5,"div",4),o(6," We'll never share your email with anyone else "),t()(),i(7,"div",1)(8,"label",5),o(9,"Password"),t(),a(10,"input",6),t(),i(11,"c-form-check",1),a(12,"input",7),i(13,"label",8),o(14,"Check me out"),t()(),a(15,"input",9),t())},dependencies:[w,b,v,F,h,x,d,p,y,E,k,D,S],encapsulation:2});let r=e;return r})();var J=`\`\`\`typescript +import{a as x,d as A,e as d,f as D,g as E,h as k,i as p,j as y}from"./chunk-ZGGOM75Q.js";import{A as F,B as w,f as v,i as h,m as b,t as P,u as B}from"./chunk-WFHPAILT.js";import{a as S}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{c as H,e as R,f as G}from"./chunk-PZ32EFID.js";import{g as U}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as j}from"./chunk-MH6VOBXJ.js";import{r as V}from"./chunk-Q5WIR6QR.js";import{c as L,d as O}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as i,Bc as o,Cc as T,Dc as N,Oc as m,Pc as g,Qb as f,ac as t,bc as a,lb as c,mb as M,na as l}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var q=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview05"]],standalone:!0,features:[m],decls:23,vars:0,consts:[["cForm",""],["disabled",""],[1,"mb-3"],["cLabel","","for","disabledTextInput-5"],["cFormControl","","id","disabledTextInput-5","type","text","placeholder","Disabled input"],["cLabel","","for","disabledSelect-5"],["id","disabledSelect-5","cSelect","","disabled",""],["cFormCheckInput","","id","disabledFieldsetCheck-5","type","checkbox"],["cFormCheckLabel","","for","disabledFieldsetCheck-5"],["cButton","","type","submit","color",""]],template:function(n,u){n&1&&(i(0,"form",0)(1,"fieldset",1)(2,"div",2)(3,"label",3),o(4,"Disabled input"),t(),a(5,"input",4),t(),i(6,"div",2)(7,"label",5),o(8,"Disabled select"),t(),i(9,"select",6)(10,"option"),o(11,"Open this select menu"),t(),i(12,"option"),o(13,"Disabled select"),t(),i(14,"option"),o(15,"Two"),t(),i(16,"option"),o(17,"Three"),t()()(),i(18,"c-form-check",2),a(19,"input",7),i(20,"label",8),o(21,"Can't touch this"),t()(),a(22,"input",9),t()())},dependencies:[w,b,P,B,v,F,h,x,d,p,A,E,k,D,S],encapsulation:2});let r=e;return r})();var z=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview04"]],standalone:!0,features:[m],decls:3,vars:0,consts:[["cLabel",""],["cFormControl","","type","text","placeholder","Disabled input here...","disabled",""]],template:function(n,u){n&1&&(i(0,"label",0),o(1,"Disabled input"),t(),a(2,"input",1))},dependencies:[d,p],encapsulation:2});let r=e;return r})();var K=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview03"]],standalone:!0,features:[m],decls:10,vars:1,consts:[["cForm",""],[1,"align-items-center",3,"gutter"],["xs","auto"],["cLabel","col","for","inputPassword-3"],["aria-describedby","passwordHelpInline-3","cFormControl","","id","inputPassword-3","type","password"],["cFormText","","id","passwordHelpInline-3"]],template:function(n,u){n&1&&(i(0,"form",0)(1,"c-row",1)(2,"c-col",2)(3,"label",3),o(4," Password "),t()(),i(5,"c-col",2),a(6,"input",4),t(),i(7,"c-col",2)(8,"span",5),o(9," Must be 8-20 characters long. "),t()()()()),n&2&&(c(),f("gutter",3))},dependencies:[w,b,v,F,h,x,R,G,H,d,p,y],encapsulation:2});let r=e;return r})();var W=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview02"]],standalone:!0,features:[m],decls:7,vars:0,consts:[["cForm",""],[1,"mb-3"],["cLabel","","for","inputPassword-2"],["aria-describedby","passwordHelpBlock-2","cFormControl","","id","inputPassword-2","type","password"],["cFormText","","id","passwordHelpBlock-2"]],template:function(n,u){n&1&&(i(0,"form",0)(1,"div",1)(2,"label",2),o(3,"Password"),t(),a(4,"input",3),i(5,"span",4),o(6," Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji. "),t()()())},dependencies:[w,b,v,F,h,x,d,p,y],encapsulation:2});let r=e;return r})();var Y=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=l({type:e,selectors:[["docs-overview01"]],standalone:!0,features:[m],decls:16,vars:0,consts:[["cForm",""],[1,"mb-3"],["cLabel","","for","inputEmail-1"],["cFormControl","","id","inputEmail-1","type","email"],["cFormText",""],["cLabel","","for","inputPassword-1"],["cFormControl","","id","inputPassword-1","type","password"],["cFormCheckInput","","id","checkMeOut-1","type","checkbox"],["cFormCheckLabel","","for","checkMeOut-1"],["cButton","","color","primary","type","submit"]],template:function(n,u){n&1&&(i(0,"form",0)(1,"div",1)(2,"label",2),o(3,"Email address"),t(),a(4,"input",3),i(5,"div",4),o(6," We'll never share your email with anyone else "),t()(),i(7,"div",1)(8,"label",5),o(9,"Password"),t(),a(10,"input",6),t(),i(11,"c-form-check",1),a(12,"input",7),i(13,"label",8),o(14,"Check me out"),t()(),a(15,"input",9),t())},dependencies:[w,b,v,F,h,x,d,p,y,E,k,D,S],encapsulation:2});let r=e;return r})();var J=`\`\`\`typescript import { FormModule } from '@coreui/angular'; @NgModule({ diff --git a/angular/docs/chunk-32VAZHQT.js b/angular/docs/chunk-YDRGUCUS.js similarity index 98% rename from angular/docs/chunk-32VAZHQT.js rename to angular/docs/chunk-YDRGUCUS.js index 0026a70759e..091b02b5788 100644 --- a/angular/docs/chunk-32VAZHQT.js +++ b/angular/docs/chunk-YDRGUCUS.js @@ -1 +1 @@ -import{b as Ne}from"./chunk-J37AVTJX.js";import{d as _e,h as oe,i as xe,j as ye,p as ke}from"./chunk-SPMMWGWV.js";import{b as E}from"./chunk-R2HXWLDR.js";import{h as Ze}from"./chunk-QNSTT6ST.js";import{c as Ke,d as Xe,g as Ae,h as De,i as Ye}from"./chunk-NNMKHZUS.js";import{d as Ce,m as j,s as We,t as Se}from"./chunk-FIXU3TFH.js";import{$b as S,A as pe,Aa as V,Ac as X,Ba as R,Bc as T,Ca as ue,Cc as w,Fb as Ge,Gb as ne,Jb as u,La as U,Na as fe,Nc as re,Oc as v,Pb as he,Pc as L,Qb as l,Qc as Y,Sb as ve,Tb as $e,Ub as H,Wb as f,Wc as g,Xc as C,Yb as Ve,Zb as Re,_b as Ue,_c as ge,ac as _,bc as h,ca as G,cc as J,da as je,dc as W,ec as q,fc as K,g as ce,ha as Le,hb as be,lb as p,mb as m,mc as O,na as b,nd as A,oa as Ee,oc as d,pa as de,pc as B,qa as $,qc as F,rb as z,rc as ze,uc as qe,vc as Qe,wc as Je,xa as me}from"./chunk-O6V6MKDU.js";import{a as le,b as Oe,e as M,f as Q,g as P}from"./chunk-MGAX33HK.js";var D=(()=>{let e=class e{constructor(){this.sidebarState=new ce({}),this.sidebarState$=this.sidebarState.asObservable()}toggle(t){this.sidebarState.next(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Me=(()=>{let e=class e{constructor(t){this.sidebarService=t,this.toggle="visible"}toggleOpen(t){t.preventDefault(),this.sidebarService.toggle({toggle:this.toggle,id:this.id})}};e.\u0275fac=function(n){return new(n||e)(m(D))},e.\u0275dir=de({type:e,selectors:[["","cSidebarToggle",""]],hostBindings:function(n,o){n&1&&O("click",function(N){return o.toggleOpen(N)})},inputs:{id:[0,"cSidebarToggle","id"],toggle:"toggle"},exportAs:["cSidebarToggle"],standalone:!0});let i=e;return i})();var et=(()=>{let e=class e{constructor(t,n){this.document=t,this.sidebarService=n,this.clickListener=()=>{}}setBackdrop(t){this.document.getElementsByClassName("sidebar-backdrop").length===0&&(this.backdrop=this.renderer.createElement("div"),this.renderer.addClass(this.backdrop,"sidebar-backdrop"),this.renderer.appendChild(this.document.body,this.backdrop),this.clickListener=this.renderer.listen(this.backdrop,"click",o=>{this.sidebarService.toggle({toggle:"visible",sidebar:t})})),this.backdrop&&t.sidebarState.mobile&&t.sidebarState.visible?(this.renderer.addClass(this.backdrop,"fade"),this.renderer.addClass(this.backdrop,"show")):(this.renderer.removeClass(this.backdrop,"show"),this.renderer.removeClass(this.backdrop,"fade"))}clearBackdrop(){this.backdrop&&(this.clickListener(),this.renderer.removeChild(this.document.body,this.backdrop),this.backdrop=void 0)}};e.\u0275fac=function(n){return new(n||e)(Le(Ce),Le(D))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ct=["*"],Pe=(()=>{var e,r,t,n,o;let s=class s{constructor(c,a,I,ie,k){Q(this,e);Q(this,r);Q(this,t);Q(this,n);Q(this,o);this.document=c,this.renderer=a,this.breakpointObserver=I,this.sidebarService=ie,this.backdropService=k,P(this,e,!1),P(this,r,!1),this.state={sidebar:this},P(this,o,{narrow:!1,visible:!1,unfoldable:!1}),this.narrow=!1,this.overlaid=!1,this.position="fixed",this.unfoldable=!1,this.visibleChange=new fe,this.backdropService.renderer=a}set visible(c){let a=c;M(this,e)!==a&&(P(this,e,a),this.visibleChange.emit(M(this,e)))}get visible(){return M(this,e)}set sidebarState(c){let a=c;"toggle"in a?a.toggle==="visible"?(a.visible=!this.state.visible,this.visible=a.visible):a.toggle==="unfoldable"&&(a.unfoldable=!this.state.unfoldable,this.unfoldable=a.unfoldable):this.visible=(a.visible??this.visible)&&!this.overlaid,this.state=le(le({},this.state),a),this.state.mobile&&this.state.visible?this.backdropService.setBackdrop(this):this.backdropService.clearBackdrop()}get sidebarState(){return this.state}get getMobileBreakpoint(){let c=this.document.documentElement,a=this.document.defaultView?.getComputedStyle(c)?.getPropertyValue("--cui-mobile-breakpoint")??"md",I=this.document.defaultView?.getComputedStyle(c)?.getPropertyValue(`--cui-breakpoint-${a.trim()}`)??"768px";return`${parseFloat(I.trim())-.02}px`||"767.98px"}get getClasses(){let{mobile:c,visible:a}=this.sidebarState;return{sidebar:!0,"sidebar-fixed":this.position==="fixed"&&!c,"sidebar-narrow":this.narrow&&!this.unfoldable,"sidebar-narrow-unfoldable":this.unfoldable,"sidebar-overlaid":this.overlaid,[`sidebar-${this.placement}`]:!!this.placement,[`sidebar-${this.colorScheme}`]:!!this.colorScheme,[`sidebar-${this.size}`]:!!this.size,show:a,hide:!a}}ngOnInit(){this.setInitialState(),this.layoutChangeSubscribe(),this.stateToggleSubscribe()}ngOnDestroy(){this.stateToggleSubscribe(!1),this.layoutChangeSubscribe(!1)}ngOnChanges(c){let a=new Map(Object.entries(this.state)),I=new Map;I.set("sidebar",this);let ie=["visible","unfoldable","narrow"];for(let k in c)if(ie.includes(k)&&c[k]&&!c[k].firstChange){let se=A(c[k].currentValue);a.get(k)!==se&&I.set(k,se)}if(I.size>1){let k=Object.fromEntries(I.entries());this.sidebarService.toggle(k)}}setInitialState(){P(this,o,{narrow:this.narrow,visible:this.visible,unfoldable:this.unfoldable}),this.sidebarService.toggle(Oe(le({},M(this,o)),{sidebar:this}))}stateToggleSubscribe(c=!0){c?P(this,n,this.sidebarService.sidebarState$.subscribe(a=>{(this===a.sidebar||this.id===a.id)&&(this.sidebarState=a)})):M(this,n)?.unsubscribe()}layoutChangeSubscribe(c=!0){let a=`(max-width: ${this.getMobileBreakpoint})`;if(c){let I=this.breakpointObserver.observe([a]);P(this,t,I.subscribe(ie=>{let k=ie.breakpoints[a],se=k?!1:this.unfoldable;M(this,r)!==k&&(P(this,r,k),this.sidebarService.toggle({mobile:k,unfoldable:se,visible:k?!k:M(this,o).visible,sidebar:this}))}))}else M(this,t)?.unsubscribe()}};e=new WeakMap,r=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakMap,s.\u0275fac=function(a){return new(a||s)(m(Ce),m(z),m(Ze),m(D),m(et))},s.\u0275cmp=b({type:s,selectors:[["c-sidebar"]],hostVars:2,hostBindings:function(a,I){a&2&&H(I.getClasses)},inputs:{colorScheme:"colorScheme",id:"id",narrow:[2,"narrow","narrow",A],overlaid:[2,"overlaid","overlaid",A],placement:"placement",position:"position",size:"size",unfoldable:[2,"unfoldable","unfoldable",A],visible:[2,"visible","visible",A]},outputs:{visibleChange:"visibleChange"},exportAs:["cSidebar"],standalone:!0,features:[ne,me,v],ngContentSelectors:ct,decls:1,vars:0,template:function(a,I){a&1&&(B(),F(0))},encapsulation:2});let i=s;return i})();var dt=["*"];function mt(i,e){if(i&1&&h(0,"img",1),i&2){let r=d(2);l("cHtmlAttr",r.brandFull)("ngClass","sidebar-brand-full")}}function ut(i,e){if(i&1&&h(0,"img",1),i&2){let r=d(2);l("cHtmlAttr",r.brandNarrow)("ngClass","sidebar-brand-narrow")}}function ft(i,e){if(i&1&&(S(0,"a",0),u(1,mt,1,2,"img",1)(2,ut,1,2,"img",1),_()),i&2){let r=d();l("routerLink",r.routerLink),p(),f(r.brandFull?1:-1),p(),f(r.brandNarrow?2:-1)}}function bt(i,e){i&1&&F(0)}var ht=(()=>{let e=class e{constructor(){this.sidebarBrandClass=!0,this.brandImg=!1}ngOnInit(){this.brandImg=!!(this.brandFull||this.brandNarrow)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-brand"]],hostVars:2,hostBindings:function(n,o){n&2&&ve("sidebar-brand",o.sidebarBrandClass)},inputs:{brandFull:"brandFull",brandNarrow:"brandNarrow",routerLink:"routerLink"},standalone:!0,features:[v],ngContentSelectors:dt,decls:2,vars:1,consts:[[3,"routerLink"],[3,"cHtmlAttr","ngClass"]],template:function(n,o){n&1&&(B(),u(0,ft,3,3,"a",0)(1,bt,1,0)),n&2&&f(o.brandImg?0:1)},dependencies:[xe,E,j],encapsulation:2});let i=e;return i})();var vt=(()=>{let e=class e{constructor(){this.role="button",this.sidebarTogglerClass=!0}get getStyles(){return{appearance:"button","align-items":"flex-start",cursor:"pointer"}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=de({type:e,selectors:[["","cSidebarToggler",""]],hostVars:5,hostBindings:function(n,o){n&2&&(he("role",o.role),$e(o.getStyles),ve("sidebar-toggler",o.sidebarTogglerClass))},inputs:{role:"role"},standalone:!0,features:[Ge([{directive:Me,inputs:["cSidebarToggle","cSidebarToggler","toggle","toggle"]}])]});let i=e;return i})();var gt=["*"],Ct=(()=>{let e=class e{get hostClasses(){return{"sidebar-header":!0}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-header"]],hostVars:2,hostBindings:function(n,o){n&2&&H(o.hostClasses)},standalone:!0,features:[v],ngContentSelectors:gt,decls:1,vars:0,template:function(n,o){n&1&&(B(),F(0))},encapsulation:2});let i=e;return i})();var St=["*"],_t=(()=>{let e=class e{constructor(){}get hostClasses(){return{"sidebar-footer":!0}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-footer"]],hostVars:2,hostBindings:function(n,o){n&2&&H(o.hostClasses)},standalone:!0,features:[v],ngContentSelectors:St,decls:1,vars:0,template:function(n,o){n&1&&(B(),F(0))},encapsulation:2});let i=e;return i})();var y=(()=>{let e=class e{constructor(){this.hasBadge=t=>!!t.badge,this.hasIcon=t=>!!t.icon||t.icon==="",this.hasIconComponent=t=>!!t.iconComponent}itemType(t){return t.divider?"divider":t.title?"title":t.children&&t.children.length>0?"group":t.label?"label":Object.keys(t).length?"link":"empty"}isActive(t,n){return t.isActive(n.url,!1)}getIconClass(t){let n={"nav-icon":!0},o=t.icon;return n[o]=this.hasIcon(t),n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac});let i=e;return i})();var Z=(()=>{let e=class e{constructor(){this.sidebarNavGroupState=new ce({}),this.sidebarNavGroupState$=this.sidebarNavGroupState.asObservable()}toggle(t){this.sidebarNavGroupState.next(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac});let i=e;return i})();var we=(()=>{let e=class e{transform(t,n){let o=t.icon;return{"nav-icon":!0,[`${o}`]:!!o}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=$({name:"cSidebarNavIcon",type:e,pure:!0,standalone:!0});let i=e;return i})();var ee=(()=>{let e=class e{transform(t,n){let o=t.badge;return{badge:!0,"ms-auto":!0,"badge-sm":!o.size,[`badge-${o.size}`]:!!o.size,[`bg-${o.color}`]:!!o.color,[`${o.class}`]:!!o.class}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=$({name:"cSidebarNavBadge",type:e,pure:!0,standalone:!0});let i=e;return i})();var tt=(()=>{let e=class e{transform(t){let n=t?.attributes?.disabled;return{"nav-link":!0,disabled:n,"btn-link":n,[`nav-link-${t.variant}`]:!!t.variant}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=$({name:"cSidebarNavLink",type:e,pure:!0,standalone:!0});let i=e;return i})();function kt(i,e){if(i&1&&(J(0),T(1),W()),i&2){let r,t=d();p(),w((r=t.item==null?null:t.item.name)!==null&&r!==void 0?r:"")}}var Be=()=>({}),He=i=>({$implicit:i}),Nt=()=>({exact:!1});function It(i,e){i&1&&q(0)}function Tt(i,e){if(i&1&&(S(0,"span",6),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d(2);l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge==null?null:r.item.badge.text)}}function wt(i,e){if(i&1&&(S(0,"a",1),g(1,"cSidebarNavLink"),u(2,It,1,0,"ng-container",4),h(3,"c-sidebar-nav-link-content",5),u(4,Tt,3,4,"span",6),_()),i&2){let r,t=d(),n=X(4);l("cHtmlAttr",(r=t.item.attributes)!==null&&r!==void 0?r:L(8,Be))("ngClass",C(1,6,t.item)),p(2),l("ngTemplateOutlet",n)("ngTemplateOutletContext",Y(9,He,t.item)),p(),l("item",t.item),p(),f(t.item.badge?4:-1)}}function Bt(i,e){i&1&&q(0)}function Ft(i,e){if(i&1&&(S(0,"span",6),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d(2);l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge==null?null:r.item.badge.text)}}function Lt(i,e){if(i&1){let r=K();S(0,"a",7),g(1,"cSidebarNavLink"),O("click",function(){V(r);let n=d();return R(n.linkClicked())}),u(2,Bt,1,0,"ng-container",4),h(3,"c-sidebar-nav-link-content",5),u(4,Ft,3,4,"span",6),_()}if(i&2){let r,t=d(),n=X(4);l("cHtmlAttr",(r=t.item.attributes)!==null&&r!==void 0?r:L(9,Be))("href",t.href,be)("ngClass",C(1,7,t.item)),p(2),l("ngTemplateOutlet",n)("ngTemplateOutletContext",Y(10,He,t.item)),p(),l("item",t.item),p(),f(t.item.badge?4:-1)}}function At(i,e){i&1&&q(0)}function Dt(i,e){if(i&1&&(S(0,"span",6),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d(2);l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge==null?null:r.item.badge.text)}}function Mt(i,e){if(i&1){let r=K();S(0,"a",8),g(1,"cSidebarNavLink"),O("click",function(){V(r);let n=d();return R(n.linkClicked())}),u(2,At,1,0,"ng-container",4),h(3,"c-sidebar-nav-link-content",5),u(4,Dt,3,4,"span",6),_()}if(i&2){let r,t,n,o,s,N,c,a=d(),I=X(4);l("cHtmlAttr",(r=a.item.attributes)!==null&&r!==void 0?r:L(18,Be))("fragment",a.item.linkProps==null?null:a.item.linkProps.fragment)("ngClass",C(1,16,a.item))("preserveFragment",(t=a.item.linkProps==null?null:a.item.linkProps.preserveFragment)!==null&&t!==void 0?t:!1)("queryParamsHandling",a.item.linkProps==null?null:a.item.linkProps.queryParamsHandling)("queryParams",(n=a.item.linkProps==null?null:a.item.linkProps.queryParams)!==null&&n!==void 0?n:null)("replaceUrl",(o=a.item.linkProps==null?null:a.item.linkProps.replaceUrl)!==null&&o!==void 0?o:!1)("routerLinkActiveOptions",(s=a.item.linkProps==null?null:a.item.linkProps.routerLinkActiveOptions)!==null&&s!==void 0?s:L(19,Nt))("routerLink",a.item.url)("skipLocationChange",(N=a.item.linkProps==null?null:a.item.linkProps.skipLocationChange)!==null&&N!==void 0?N:!1)("state",(c=a.item.linkProps==null?null:a.item.linkProps.state)!==null&&c!==void 0?c:L(20,Be))("target",a.item.attributes==null?null:a.item.attributes.target),p(2),l("ngTemplateOutlet",I)("ngTemplateOutletContext",Y(21,He,a.item)),p(),l("item",a.item),p(),f(a.item.badge?4:-1)}}function Pt(i,e){if(i&1&&(S(0,"span",9),h(1,"span",6),_()),i&2){let r,t=d().$implicit;p(),l("ngClass",(r=t.icon)!==null&&r!==void 0?r:"")}}function Ht(i,e){if(i&1&&(ue(),h(0,"svg",10),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("cIcon",r.iconComponent==null?null:r.iconComponent.content)("customClasses",C(1,3,r))("name",r.iconComponent==null?null:r.iconComponent.name)}}function Ot(i,e){if(i&1&&(h(0,"span",6),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("ngClass",C(1,1,r))}}function jt(i,e){if(i&1&&u(0,Pt,2,1,"span",9)(1,Ht,2,5,":svg:svg",10)(2,Ot,2,3,"span",6),i&2){let r=e.$implicit;f(r!=null&&r.icon?0:-1),p(),f(r!=null&&r.iconComponent?1:-1),p(),f(!(r!=null&&r.icon)&&!(r!=null&&r.iconComponent)?2:-1)}}var Et=(()=>{let e=class e{constructor(t){this.helper=t}};e.\u0275fac=function(n){return new(n||e)(m(y))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-link-content"]],inputs:{item:"item"},standalone:!0,features:[re([y]),v],decls:1,vars:1,template:function(n,o){n&1&&u(0,kt,2,1,"ng-container"),n&2&&f(0)},encapsulation:2});let i=e;return i})(),ae=(()=>{let e=class e{set item(t){this._item=JSON.parse(JSON.stringify(t))}get item(){return this._item}constructor(t){this.router=t,this._item={},this.linkClick=new fe,this.navigationEndObservable=t.events.pipe(pe(n=>n instanceof _e))}ngOnInit(){this.url=typeof this.item.url=="string"?this.item.url:this.router.serializeUrl(this.router.createUrlTree(this.item.url)),this.linkType=this.getLinkType(),this.href=this.isDisabled()?"":this.item.href||this.url,this.linkActive=this.router.url.split(/[?#(;]/)[0]===this.href.split(/[?#(;]/)[0],this.navSubscription=this.navigationEndObservable.subscribe(t=>{let n=this.href.split(/[?#(;]/)[0].split("/"),o=t.urlAfterRedirects.split(/[?#(;]/)[0].split("/");this.linkActive=n.every((s,N)=>s===o[N])})}ngOnDestroy(){this.navSubscription?.unsubscribe()}getLinkType(){return this.isDisabled()?"disabled":this.isExternalLink()?"external":"link"}isDisabled(){return this.item?.attributes?.disabled}isExternalLink(){let t=Array.isArray(this.item.url)?this.item.url[0]:this.item.url;return!!this.item.href||t.substring(0,4)==="http"}linkClicked(){this.linkClick.emit()}};e.\u0275fac=function(n){return new(n||e)(m(oe))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-link"]],inputs:{item:"item"},outputs:{linkClick:"linkClick"},standalone:!0,features:[re([y]),v],decls:5,vars:1,consts:[["iconTemplate",""],[3,"cHtmlAttr","ngClass"],[3,"cHtmlAttr","href","ngClass"],["routerLinkActive","active",3,"cHtmlAttr","fragment","ngClass","preserveFragment","queryParamsHandling","queryParams","replaceUrl","routerLinkActiveOptions","routerLink","skipLocationChange","state","target"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"item"],[3,"ngClass"],[3,"click","cHtmlAttr","href","ngClass"],["routerLinkActive","active",3,"click","cHtmlAttr","fragment","ngClass","preserveFragment","queryParamsHandling","queryParams","replaceUrl","routerLinkActiveOptions","routerLink","skipLocationChange","state","target"],[1,"nav-icon"],[3,"cIcon","customClasses","name"]],template:function(n,o){if(n&1&&u(0,wt,5,11,"a",1)(1,Lt,5,12,"a",2)(2,Mt,5,23,"a",3)(3,jt,3,3,"ng-template",null,0,ge),n&2){let s;f((s=o.linkType)==="disabled"?0:s==="external"?1:2)}},dependencies:[ke,xe,ye,E,Ne,Et,tt,ee,we,Se,j],encapsulation:2});let i=e;return i})();function Gt(i,e){if(i&1&&h(0,"i",1),i&2){let r=d();l("ngClass",r.getLabelIconClass())}}function $t(i,e){if(i&1&&(S(0,"span",1),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d();l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge.text)}}var it=(()=>{let e=class e{constructor(t){this.helper=t,this.classes={"c-nav-label":!0,"c-active":!0},this.iconClasses={}}ngOnInit(){this.iconClasses=this.helper.getIconClass(this.item)}getItemClass(){let t=this.item.class;return this.classes[t]=!!t,this.classes}getLabelIconClass(){let t=`text-${this.item.label.variant}`;this.iconClasses[t]=!!this.item.label.variant;let n=this.item.label.class;return this.iconClasses[n]=!!n,this.iconClasses}};e.\u0275fac=function(n){return new(n||e)(m(y))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-label"]],inputs:{item:"item"},standalone:!0,features:[v],decls:5,vars:6,consts:[[3,"cHtmlAttr","ngClass","href"],[3,"ngClass"]],template:function(n,o){n&1&&(S(0,"a",0),u(1,Gt,1,1,"i",1),J(2),T(3),W(),u(4,$t,3,4,"span",1),_()),n&2&&(ze("href",o.item.url,be),l("cHtmlAttr",o.item.attributes)("ngClass",o.getItemClass()),p(),f(o.helper.hasIcon(o.item)?1:-1),p(2),w(o.item.name),p(),f(o.helper.hasBadge(o.item)?4:-1))},dependencies:[E,ee,j],encapsulation:2});let i=e;return i})();var nt=(()=>{let e=class e{constructor(t,n){this.el=t,this.renderer=n}ngOnInit(){let t=this.el.nativeElement,n=this.renderer.createText(this.item.name);if(this.item.class){let o=this.item.class;this.renderer.addClass(t,o)}if(this.item.wrapper){let o=this.renderer.createElement(this.item.wrapper.element);this.addAttribs(this.item.wrapper.attributes,o),this.renderer.appendChild(o,n),this.renderer.appendChild(t,o)}else this.renderer.appendChild(t,n)}addAttribs(t,n){if(t)for(let o in t)o==="style"&&typeof t[o]=="object"?this.setStyle(t[o],n):o==="class"?this.addClass(t[o],n):this.setAttrib(o,t[o],n)}setStyle(t,n){for(let o in t)o&&this.renderer.setStyle(n,o,t[o])}addClass(t,n){(Array.isArray(t)?t:t.split(" ")).filter(s=>s.length>0).forEach(s=>{this.renderer.addClass(n,s)})}setAttrib(t,n,o){this.renderer.setAttribute(o,t,n)}};e.\u0275fac=function(n){return new(n||e)(m(U),m(z))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-title"]],inputs:{item:"item"},standalone:!0,features:[v],decls:0,vars:0,template:function(n,o){},encapsulation:2});let i=e;return i})();var rt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-divider"]],inputs:{item:"item"},standalone:!0,features:[v],decls:0,vars:0,template:function(n,o){},encapsulation:2});let i=e;return i})();var ot=(()=>{let e=class e{constructor(t){this.helper=t}transform(t,n){let o=this.helper.itemType(t),s;return["divider","title"].includes(o)?s=`nav-${o}`:o==="group"?s="":s="nav-item",t.class?`${s} ${t.class}`:s}};e.\u0275fac=function(n){return new(n||e)(m(y,16))},e.\u0275pipe=$({name:"cSidebarNavItemClass",type:e,pure:!0,standalone:!0});let i=e;return i})();var Vt=i=>({$implicit:i});function Rt(i,e){i&1&&q(0)}function Ut(i,e){if(i&1&&(S(0,"span",3),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d();l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge.text)}}function zt(i,e){if(i&1&&(S(0,"span",5),h(1,"span",3),_()),i&2){let r,t=d().$implicit;p(),l("ngClass",(r=t.icon)!==null&&r!==void 0?r:"")}}function qt(i,e){if(i&1&&(ue(),h(0,"svg",6),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("cIcon",r.iconComponent==null?null:r.iconComponent.content)("customClasses",C(1,3,r))("name",r.iconComponent==null?null:r.iconComponent.name)}}function Qt(i,e){if(i&1&&(h(0,"span",3),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("ngClass",C(1,1,r))}}function Jt(i,e){if(i&1&&u(0,zt,2,1,"span",5)(1,qt,2,5,":svg:svg",6)(2,Qt,2,3,"span",3),i&2){let r=e.$implicit;f(r!=null&&r.icon?0:-1),p(),f(r!=null&&r.iconComponent?1:-1),p(),f(!(r!=null&&r.icon)&&!(r!=null&&r.iconComponent)?2:-1)}}var Wt=["*"],Kt=()=>({exact:!0}),at=()=>({});function Xt(i,e){if(i&1&&(h(0,"c-sidebar-nav-group",1,0),g(2,"cSidebarNavItemClass")),i&2){let r=d().$implicit,t=d();l("dropdownMode",t.dropdownMode)("item",r)("ngClass",C(2,5,r))("routerLinkActiveOptions",L(7,Kt))("compact",t.compact)}}function Yt(i,e){if(i&1&&(h(0,"c-sidebar-nav-divider",2),g(1,"cSidebarNavItemClass")),i&2){let r,t=d().$implicit;l("cHtmlAttr",(r=t.attributes)!==null&&r!==void 0?r:L(5,at))("item",t)("ngClass",C(1,3,t))}}function Zt(i,e){if(i&1&&(h(0,"c-sidebar-nav-title",2),g(1,"cSidebarNavItemClass")),i&2){let r,t=d().$implicit;l("cHtmlAttr",(r=t.attributes)!==null&&r!==void 0?r:L(5,at))("item",t)("ngClass",C(1,3,t))}}function ei(i,e){if(i&1&&(h(0,"c-sidebar-nav-label",3),g(1,"cSidebarNavItemClass")),i&2){let r=d().$implicit;l("item",r)("ngClass",C(1,2,r))}}function ti(i,e){i&1&&q(0)}function ii(i,e){if(i&1){let r=K();S(0,"c-sidebar-nav-link",4),g(1,"cSidebarNavItemClass"),O("linkClick",function(){V(r);let n=d(2);return R(n.hideMobile())}),_()}if(i&2){let r=d().$implicit;l("item",r)("ngClass",C(1,2,r))}}function ni(i,e){if(i&1&&u(0,Xt,3,8,"c-sidebar-nav-group",1)(1,Yt,2,6,"c-sidebar-nav-divider",2)(2,Zt,2,6,"c-sidebar-nav-title",2)(3,ei,2,4,"c-sidebar-nav-label",3)(4,ti,1,0,"ng-container")(5,ii,2,4,"c-sidebar-nav-link",3),i&2){let r,t=e.$implicit,n=d();f((r=n.helper.itemType(t))==="group"?0:r==="divider"?1:r==="title"?2:r==="label"?3:r==="empty"?4:5)}}var Fe=(()=>{let e=class e{constructor(t,n,o,s,N){this.router=t,this.renderer=n,this.hostElement=o,this.helper=s,this.sidebarNavGroupService=N,this.dropdownMode="path",this.navItems=[],this.display={display:"block"},this.navigationEndObservable=t.events.pipe(pe(c=>c instanceof _e))}get hostClasses(){return{"nav-group":!0,show:this.open}}ngOnInit(){this.navItems=[...this.item.children],this.navSubscription=this.navigationEndObservable.subscribe(t=>{if(this.dropdownMode!=="none"){let n=this.samePath(t.url);this.openGroup(n)}}),this.samePath(this.router.routerState.snapshot.url)&&this.openGroup(!0),this.navGroupSubscription=this.sidebarNavGroupService.sidebarNavGroupState$.subscribe(t=>{if(this.dropdownMode==="close"&&t.sidebarNavGroup&&t.sidebarNavGroup!==this){if(t.sidebarNavGroup.item.url.startsWith(this.item.url))return;if(this.samePath(this.router.routerState.snapshot.url)){this.openGroup(!0);return}this.openGroup(!1)}})}samePath(t){let n=this.item.url?.split("/"),o=t.split("/");return n?.every((s,N)=>s===o[N])}openGroup(t){this.open=t}toggleGroup(t){t.preventDefault(),this.openGroup(!this.open),this.open&&this.sidebarNavGroupService.toggle({open:this.open,sidebarNavGroup:this})}ngOnDestroy(){this.navSubscription?.unsubscribe()}onAnimationStart(t){if(this.display={display:"block"},t.toState==="open"){let n=this.sidebarNav.nativeElement;this.renderer.setStyle(n,"height",`${n.scrollHeight}px`)}}onAnimationDone(t){if(t.toState==="open"){let n=this.sidebarNav.nativeElement;this.renderer.setStyle(n,"height","auto")}t.toState==="closed"&&setTimeout(()=>{this.display=null})}};e.\u0275fac=function(n){return new(n||e)(m(oe),m(z),m(U),m(y),m(Z))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-group"]],viewQuery:function(n,o){if(n&1&&qe(te,5,U),n&2){let s;Qe(s=Je())&&(o.sidebarNav=s.first)}},hostVars:2,hostBindings:function(n,o){n&2&&H(o.hostClasses)},inputs:{item:"item",dropdownMode:"dropdownMode",show:"show",compact:[2,"compact","compact",A]},standalone:!0,features:[re([y,Z]),ne,v],decls:8,vars:13,consts:[["iconTemplate",""],["href","",1,"nav-link","nav-group-toggle",3,"click","cHtmlAttr"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],[3,"compact","dropdownMode","groupItems","navItems","ngStyle"],[1,"nav-icon"],[3,"cIcon","customClasses","name"]],template:function(n,o){if(n&1){let s=K();S(0,"a",1),O("click",function(c){return V(s),R(o.toggleGroup(c))}),u(1,Rt,1,0,"ng-container",2),J(2),T(3),W(),u(4,Ut,3,4,"span",3),_(),S(5,"c-sidebar-nav",4),O("@openClose.done",function(c){return V(s),R(o.onAnimationDone(c))})("@openClose.start",function(c){return V(s),R(o.onAnimationStart(c))}),_(),u(6,Jt,3,3,"ng-template",null,0,ge)}if(n&2){let s=X(7);l("cHtmlAttr",o.item.attributes),p(),l("ngTemplateOutlet",s)("ngTemplateOutletContext",Y(11,Vt,o.item)),p(2),w(o.item.name),p(),f(o.helper.hasBadge(o.item)?4:-1),p(),l("@openClose",o.open?"open":"closed")("compact",o.compact)("dropdownMode",o.dropdownMode)("groupItems",!0)("navItems",o.navItems)("ngStyle",o.display)}},dependencies:()=>[E,Ne,Se,j,we,ee,te,We],styles:[".nav-group-toggle[_ngcontent-%COMP%]{cursor:pointer}.nav-group-items[_ngcontent-%COMP%]{display:block}"],data:{animation:[Ke("openClose",[De("open",Ae({height:"*"})),De("closed",Ae({height:"0px"})),Ye("open <=> closed",[Xe(".15s ease")])])]}});let i=e;return i})(),te=(()=>{let e=class e{constructor(t,n,o,s,N,c){this.sidebar=t,this.helper=n,this.router=o,this.renderer=s,this.hostElement=N,this.sidebarService=c,this.navItems=[],this.dropdownMode="path",this.role="navigation",this.navItemsArray=[]}get hostClasses(){return{"sidebar-nav":!this.groupItems,"nav-group-items":this.groupItems,compact:this.groupItems&&this.compact}}ngOnChanges(t){this.navItemsArray=Array.isArray(this.navItems)?this.navItems.slice():[]}hideMobile(){this.sidebar&&this.sidebar.sidebarState.mobile&&this.sidebarService.toggle({toggle:"visible",sidebar:this.sidebar})}};e.\u0275fac=function(n){return new(n||e)(m(Pe,8),m(y),m(oe),m(z),m(U),m(D))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav"]],hostVars:3,hostBindings:function(n,o){n&2&&(he("role",o.role),H(o.hostClasses))},inputs:{navItems:"navItems",dropdownMode:"dropdownMode",groupItems:[2,"groupItems","groupItems",A],compact:[2,"compact","compact",A],role:"role"},standalone:!0,features:[ne,me,v],ngContentSelectors:Wt,decls:3,vars:0,consts:[["rla","routerLinkActive"],["routerLinkActive","show",3,"dropdownMode","item","ngClass","routerLinkActiveOptions","compact"],[3,"cHtmlAttr","item","ngClass"],[3,"item","ngClass"],[3,"linkClick","item","ngClass"]],template:function(n,o){n&1&&(B(),Re(0,ni,6,1,null,null,Ve),F(2)),n&2&&Ue(o.navItemsArray)},dependencies:[j,E,ae,it,nt,rt,Fe,ot,ke,ye],encapsulation:2});let i=e;return i})();var ri=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ee({type:e}),e.\u0275inj=je({providers:[D,y,Z],imports:[te,Fe,ae]});let i=e;return i})();export{Pe as a,ht as b,Me as c,vt as d,Ct as e,_t as f,te as g,ri as h}; +import{b as Ne}from"./chunk-OLTS3WRU.js";import{d as _e,h as oe,i as xe,j as ye,p as ke}from"./chunk-FULSUUPP.js";import{b as E}from"./chunk-UYIAOCXU.js";import{h as Ze}from"./chunk-LZN2HRQX.js";import{c as Ke,d as Xe,g as Ae,h as De,i as Ye}from"./chunk-DTADTSJV.js";import{d as Ce,m as j,s as We,t as Se}from"./chunk-XHR4TYVD.js";import{$b as S,A as pe,Aa as V,Ac as X,Ba as R,Bc as T,Ca as ue,Cc as w,Fb as Ge,Gb as ne,Jb as u,La as U,Na as fe,Nc as re,Oc as v,Pb as he,Pc as L,Qb as l,Qc as Y,Sb as ve,Tb as $e,Ub as H,Wb as f,Wc as g,Xc as C,Yb as Ve,Zb as Re,_b as Ue,_c as ge,ac as _,bc as h,ca as G,cc as J,da as je,dc as W,ec as q,fc as K,g as ce,ha as Le,hb as be,lb as p,mb as m,mc as O,na as b,nd as A,oa as Ee,oc as d,pa as de,pc as B,qa as $,qc as F,rb as z,rc as ze,uc as qe,vc as Qe,wc as Je,xa as me}from"./chunk-6U7QZ4SV.js";import{a as le,b as Oe,e as M,f as Q,g as P}from"./chunk-MGAX33HK.js";var D=(()=>{let e=class e{constructor(){this.sidebarState=new ce({}),this.sidebarState$=this.sidebarState.asObservable()}toggle(t){this.sidebarState.next(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Me=(()=>{let e=class e{constructor(t){this.sidebarService=t,this.toggle="visible"}toggleOpen(t){t.preventDefault(),this.sidebarService.toggle({toggle:this.toggle,id:this.id})}};e.\u0275fac=function(n){return new(n||e)(m(D))},e.\u0275dir=de({type:e,selectors:[["","cSidebarToggle",""]],hostBindings:function(n,o){n&1&&O("click",function(N){return o.toggleOpen(N)})},inputs:{id:[0,"cSidebarToggle","id"],toggle:"toggle"},exportAs:["cSidebarToggle"],standalone:!0});let i=e;return i})();var et=(()=>{let e=class e{constructor(t,n){this.document=t,this.sidebarService=n,this.clickListener=()=>{}}setBackdrop(t){this.document.getElementsByClassName("sidebar-backdrop").length===0&&(this.backdrop=this.renderer.createElement("div"),this.renderer.addClass(this.backdrop,"sidebar-backdrop"),this.renderer.appendChild(this.document.body,this.backdrop),this.clickListener=this.renderer.listen(this.backdrop,"click",o=>{this.sidebarService.toggle({toggle:"visible",sidebar:t})})),this.backdrop&&t.sidebarState.mobile&&t.sidebarState.visible?(this.renderer.addClass(this.backdrop,"fade"),this.renderer.addClass(this.backdrop,"show")):(this.renderer.removeClass(this.backdrop,"show"),this.renderer.removeClass(this.backdrop,"fade"))}clearBackdrop(){this.backdrop&&(this.clickListener(),this.renderer.removeChild(this.document.body,this.backdrop),this.backdrop=void 0)}};e.\u0275fac=function(n){return new(n||e)(Le(Ce),Le(D))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ct=["*"],Pe=(()=>{var e,r,t,n,o;let s=class s{constructor(c,a,I,ie,k){Q(this,e);Q(this,r);Q(this,t);Q(this,n);Q(this,o);this.document=c,this.renderer=a,this.breakpointObserver=I,this.sidebarService=ie,this.backdropService=k,P(this,e,!1),P(this,r,!1),this.state={sidebar:this},P(this,o,{narrow:!1,visible:!1,unfoldable:!1}),this.narrow=!1,this.overlaid=!1,this.position="fixed",this.unfoldable=!1,this.visibleChange=new fe,this.backdropService.renderer=a}set visible(c){let a=c;M(this,e)!==a&&(P(this,e,a),this.visibleChange.emit(M(this,e)))}get visible(){return M(this,e)}set sidebarState(c){let a=c;"toggle"in a?a.toggle==="visible"?(a.visible=!this.state.visible,this.visible=a.visible):a.toggle==="unfoldable"&&(a.unfoldable=!this.state.unfoldable,this.unfoldable=a.unfoldable):this.visible=(a.visible??this.visible)&&!this.overlaid,this.state=le(le({},this.state),a),this.state.mobile&&this.state.visible?this.backdropService.setBackdrop(this):this.backdropService.clearBackdrop()}get sidebarState(){return this.state}get getMobileBreakpoint(){let c=this.document.documentElement,a=this.document.defaultView?.getComputedStyle(c)?.getPropertyValue("--cui-mobile-breakpoint")??"md",I=this.document.defaultView?.getComputedStyle(c)?.getPropertyValue(`--cui-breakpoint-${a.trim()}`)??"768px";return`${parseFloat(I.trim())-.02}px`||"767.98px"}get getClasses(){let{mobile:c,visible:a}=this.sidebarState;return{sidebar:!0,"sidebar-fixed":this.position==="fixed"&&!c,"sidebar-narrow":this.narrow&&!this.unfoldable,"sidebar-narrow-unfoldable":this.unfoldable,"sidebar-overlaid":this.overlaid,[`sidebar-${this.placement}`]:!!this.placement,[`sidebar-${this.colorScheme}`]:!!this.colorScheme,[`sidebar-${this.size}`]:!!this.size,show:a,hide:!a}}ngOnInit(){this.setInitialState(),this.layoutChangeSubscribe(),this.stateToggleSubscribe()}ngOnDestroy(){this.stateToggleSubscribe(!1),this.layoutChangeSubscribe(!1)}ngOnChanges(c){let a=new Map(Object.entries(this.state)),I=new Map;I.set("sidebar",this);let ie=["visible","unfoldable","narrow"];for(let k in c)if(ie.includes(k)&&c[k]&&!c[k].firstChange){let se=A(c[k].currentValue);a.get(k)!==se&&I.set(k,se)}if(I.size>1){let k=Object.fromEntries(I.entries());this.sidebarService.toggle(k)}}setInitialState(){P(this,o,{narrow:this.narrow,visible:this.visible,unfoldable:this.unfoldable}),this.sidebarService.toggle(Oe(le({},M(this,o)),{sidebar:this}))}stateToggleSubscribe(c=!0){c?P(this,n,this.sidebarService.sidebarState$.subscribe(a=>{(this===a.sidebar||this.id===a.id)&&(this.sidebarState=a)})):M(this,n)?.unsubscribe()}layoutChangeSubscribe(c=!0){let a=`(max-width: ${this.getMobileBreakpoint})`;if(c){let I=this.breakpointObserver.observe([a]);P(this,t,I.subscribe(ie=>{let k=ie.breakpoints[a],se=k?!1:this.unfoldable;M(this,r)!==k&&(P(this,r,k),this.sidebarService.toggle({mobile:k,unfoldable:se,visible:k?!k:M(this,o).visible,sidebar:this}))}))}else M(this,t)?.unsubscribe()}};e=new WeakMap,r=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakMap,s.\u0275fac=function(a){return new(a||s)(m(Ce),m(z),m(Ze),m(D),m(et))},s.\u0275cmp=b({type:s,selectors:[["c-sidebar"]],hostVars:2,hostBindings:function(a,I){a&2&&H(I.getClasses)},inputs:{colorScheme:"colorScheme",id:"id",narrow:[2,"narrow","narrow",A],overlaid:[2,"overlaid","overlaid",A],placement:"placement",position:"position",size:"size",unfoldable:[2,"unfoldable","unfoldable",A],visible:[2,"visible","visible",A]},outputs:{visibleChange:"visibleChange"},exportAs:["cSidebar"],standalone:!0,features:[ne,me,v],ngContentSelectors:ct,decls:1,vars:0,template:function(a,I){a&1&&(B(),F(0))},encapsulation:2});let i=s;return i})();var dt=["*"];function mt(i,e){if(i&1&&h(0,"img",1),i&2){let r=d(2);l("cHtmlAttr",r.brandFull)("ngClass","sidebar-brand-full")}}function ut(i,e){if(i&1&&h(0,"img",1),i&2){let r=d(2);l("cHtmlAttr",r.brandNarrow)("ngClass","sidebar-brand-narrow")}}function ft(i,e){if(i&1&&(S(0,"a",0),u(1,mt,1,2,"img",1)(2,ut,1,2,"img",1),_()),i&2){let r=d();l("routerLink",r.routerLink),p(),f(r.brandFull?1:-1),p(),f(r.brandNarrow?2:-1)}}function bt(i,e){i&1&&F(0)}var ht=(()=>{let e=class e{constructor(){this.sidebarBrandClass=!0,this.brandImg=!1}ngOnInit(){this.brandImg=!!(this.brandFull||this.brandNarrow)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-brand"]],hostVars:2,hostBindings:function(n,o){n&2&&ve("sidebar-brand",o.sidebarBrandClass)},inputs:{brandFull:"brandFull",brandNarrow:"brandNarrow",routerLink:"routerLink"},standalone:!0,features:[v],ngContentSelectors:dt,decls:2,vars:1,consts:[[3,"routerLink"],[3,"cHtmlAttr","ngClass"]],template:function(n,o){n&1&&(B(),u(0,ft,3,3,"a",0)(1,bt,1,0)),n&2&&f(o.brandImg?0:1)},dependencies:[xe,E,j],encapsulation:2});let i=e;return i})();var vt=(()=>{let e=class e{constructor(){this.role="button",this.sidebarTogglerClass=!0}get getStyles(){return{appearance:"button","align-items":"flex-start",cursor:"pointer"}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=de({type:e,selectors:[["","cSidebarToggler",""]],hostVars:5,hostBindings:function(n,o){n&2&&(he("role",o.role),$e(o.getStyles),ve("sidebar-toggler",o.sidebarTogglerClass))},inputs:{role:"role"},standalone:!0,features:[Ge([{directive:Me,inputs:["cSidebarToggle","cSidebarToggler","toggle","toggle"]}])]});let i=e;return i})();var gt=["*"],Ct=(()=>{let e=class e{get hostClasses(){return{"sidebar-header":!0}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-header"]],hostVars:2,hostBindings:function(n,o){n&2&&H(o.hostClasses)},standalone:!0,features:[v],ngContentSelectors:gt,decls:1,vars:0,template:function(n,o){n&1&&(B(),F(0))},encapsulation:2});let i=e;return i})();var St=["*"],_t=(()=>{let e=class e{constructor(){}get hostClasses(){return{"sidebar-footer":!0}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-footer"]],hostVars:2,hostBindings:function(n,o){n&2&&H(o.hostClasses)},standalone:!0,features:[v],ngContentSelectors:St,decls:1,vars:0,template:function(n,o){n&1&&(B(),F(0))},encapsulation:2});let i=e;return i})();var y=(()=>{let e=class e{constructor(){this.hasBadge=t=>!!t.badge,this.hasIcon=t=>!!t.icon||t.icon==="",this.hasIconComponent=t=>!!t.iconComponent}itemType(t){return t.divider?"divider":t.title?"title":t.children&&t.children.length>0?"group":t.label?"label":Object.keys(t).length?"link":"empty"}isActive(t,n){return t.isActive(n.url,!1)}getIconClass(t){let n={"nav-icon":!0},o=t.icon;return n[o]=this.hasIcon(t),n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac});let i=e;return i})();var Z=(()=>{let e=class e{constructor(){this.sidebarNavGroupState=new ce({}),this.sidebarNavGroupState$=this.sidebarNavGroupState.asObservable()}toggle(t){this.sidebarNavGroupState.next(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac});let i=e;return i})();var we=(()=>{let e=class e{transform(t,n){let o=t.icon;return{"nav-icon":!0,[`${o}`]:!!o}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=$({name:"cSidebarNavIcon",type:e,pure:!0,standalone:!0});let i=e;return i})();var ee=(()=>{let e=class e{transform(t,n){let o=t.badge;return{badge:!0,"ms-auto":!0,"badge-sm":!o.size,[`badge-${o.size}`]:!!o.size,[`bg-${o.color}`]:!!o.color,[`${o.class}`]:!!o.class}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=$({name:"cSidebarNavBadge",type:e,pure:!0,standalone:!0});let i=e;return i})();var tt=(()=>{let e=class e{transform(t){let n=t?.attributes?.disabled;return{"nav-link":!0,disabled:n,"btn-link":n,[`nav-link-${t.variant}`]:!!t.variant}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=$({name:"cSidebarNavLink",type:e,pure:!0,standalone:!0});let i=e;return i})();function kt(i,e){if(i&1&&(J(0),T(1),W()),i&2){let r,t=d();p(),w((r=t.item==null?null:t.item.name)!==null&&r!==void 0?r:"")}}var Be=()=>({}),He=i=>({$implicit:i}),Nt=()=>({exact:!1});function It(i,e){i&1&&q(0)}function Tt(i,e){if(i&1&&(S(0,"span",6),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d(2);l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge==null?null:r.item.badge.text)}}function wt(i,e){if(i&1&&(S(0,"a",1),g(1,"cSidebarNavLink"),u(2,It,1,0,"ng-container",4),h(3,"c-sidebar-nav-link-content",5),u(4,Tt,3,4,"span",6),_()),i&2){let r,t=d(),n=X(4);l("cHtmlAttr",(r=t.item.attributes)!==null&&r!==void 0?r:L(8,Be))("ngClass",C(1,6,t.item)),p(2),l("ngTemplateOutlet",n)("ngTemplateOutletContext",Y(9,He,t.item)),p(),l("item",t.item),p(),f(t.item.badge?4:-1)}}function Bt(i,e){i&1&&q(0)}function Ft(i,e){if(i&1&&(S(0,"span",6),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d(2);l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge==null?null:r.item.badge.text)}}function Lt(i,e){if(i&1){let r=K();S(0,"a",7),g(1,"cSidebarNavLink"),O("click",function(){V(r);let n=d();return R(n.linkClicked())}),u(2,Bt,1,0,"ng-container",4),h(3,"c-sidebar-nav-link-content",5),u(4,Ft,3,4,"span",6),_()}if(i&2){let r,t=d(),n=X(4);l("cHtmlAttr",(r=t.item.attributes)!==null&&r!==void 0?r:L(9,Be))("href",t.href,be)("ngClass",C(1,7,t.item)),p(2),l("ngTemplateOutlet",n)("ngTemplateOutletContext",Y(10,He,t.item)),p(),l("item",t.item),p(),f(t.item.badge?4:-1)}}function At(i,e){i&1&&q(0)}function Dt(i,e){if(i&1&&(S(0,"span",6),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d(2);l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge==null?null:r.item.badge.text)}}function Mt(i,e){if(i&1){let r=K();S(0,"a",8),g(1,"cSidebarNavLink"),O("click",function(){V(r);let n=d();return R(n.linkClicked())}),u(2,At,1,0,"ng-container",4),h(3,"c-sidebar-nav-link-content",5),u(4,Dt,3,4,"span",6),_()}if(i&2){let r,t,n,o,s,N,c,a=d(),I=X(4);l("cHtmlAttr",(r=a.item.attributes)!==null&&r!==void 0?r:L(18,Be))("fragment",a.item.linkProps==null?null:a.item.linkProps.fragment)("ngClass",C(1,16,a.item))("preserveFragment",(t=a.item.linkProps==null?null:a.item.linkProps.preserveFragment)!==null&&t!==void 0?t:!1)("queryParamsHandling",a.item.linkProps==null?null:a.item.linkProps.queryParamsHandling)("queryParams",(n=a.item.linkProps==null?null:a.item.linkProps.queryParams)!==null&&n!==void 0?n:null)("replaceUrl",(o=a.item.linkProps==null?null:a.item.linkProps.replaceUrl)!==null&&o!==void 0?o:!1)("routerLinkActiveOptions",(s=a.item.linkProps==null?null:a.item.linkProps.routerLinkActiveOptions)!==null&&s!==void 0?s:L(19,Nt))("routerLink",a.item.url)("skipLocationChange",(N=a.item.linkProps==null?null:a.item.linkProps.skipLocationChange)!==null&&N!==void 0?N:!1)("state",(c=a.item.linkProps==null?null:a.item.linkProps.state)!==null&&c!==void 0?c:L(20,Be))("target",a.item.attributes==null?null:a.item.attributes.target),p(2),l("ngTemplateOutlet",I)("ngTemplateOutletContext",Y(21,He,a.item)),p(),l("item",a.item),p(),f(a.item.badge?4:-1)}}function Pt(i,e){if(i&1&&(S(0,"span",9),h(1,"span",6),_()),i&2){let r,t=d().$implicit;p(),l("ngClass",(r=t.icon)!==null&&r!==void 0?r:"")}}function Ht(i,e){if(i&1&&(ue(),h(0,"svg",10),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("cIcon",r.iconComponent==null?null:r.iconComponent.content)("customClasses",C(1,3,r))("name",r.iconComponent==null?null:r.iconComponent.name)}}function Ot(i,e){if(i&1&&(h(0,"span",6),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("ngClass",C(1,1,r))}}function jt(i,e){if(i&1&&u(0,Pt,2,1,"span",9)(1,Ht,2,5,":svg:svg",10)(2,Ot,2,3,"span",6),i&2){let r=e.$implicit;f(r!=null&&r.icon?0:-1),p(),f(r!=null&&r.iconComponent?1:-1),p(),f(!(r!=null&&r.icon)&&!(r!=null&&r.iconComponent)?2:-1)}}var Et=(()=>{let e=class e{constructor(t){this.helper=t}};e.\u0275fac=function(n){return new(n||e)(m(y))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-link-content"]],inputs:{item:"item"},standalone:!0,features:[re([y]),v],decls:1,vars:1,template:function(n,o){n&1&&u(0,kt,2,1,"ng-container"),n&2&&f(0)},encapsulation:2});let i=e;return i})(),ae=(()=>{let e=class e{set item(t){this._item=JSON.parse(JSON.stringify(t))}get item(){return this._item}constructor(t){this.router=t,this._item={},this.linkClick=new fe,this.navigationEndObservable=t.events.pipe(pe(n=>n instanceof _e))}ngOnInit(){this.url=typeof this.item.url=="string"?this.item.url:this.router.serializeUrl(this.router.createUrlTree(this.item.url)),this.linkType=this.getLinkType(),this.href=this.isDisabled()?"":this.item.href||this.url,this.linkActive=this.router.url.split(/[?#(;]/)[0]===this.href.split(/[?#(;]/)[0],this.navSubscription=this.navigationEndObservable.subscribe(t=>{let n=this.href.split(/[?#(;]/)[0].split("/"),o=t.urlAfterRedirects.split(/[?#(;]/)[0].split("/");this.linkActive=n.every((s,N)=>s===o[N])})}ngOnDestroy(){this.navSubscription?.unsubscribe()}getLinkType(){return this.isDisabled()?"disabled":this.isExternalLink()?"external":"link"}isDisabled(){return this.item?.attributes?.disabled}isExternalLink(){let t=Array.isArray(this.item.url)?this.item.url[0]:this.item.url;return!!this.item.href||t.substring(0,4)==="http"}linkClicked(){this.linkClick.emit()}};e.\u0275fac=function(n){return new(n||e)(m(oe))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-link"]],inputs:{item:"item"},outputs:{linkClick:"linkClick"},standalone:!0,features:[re([y]),v],decls:5,vars:1,consts:[["iconTemplate",""],[3,"cHtmlAttr","ngClass"],[3,"cHtmlAttr","href","ngClass"],["routerLinkActive","active",3,"cHtmlAttr","fragment","ngClass","preserveFragment","queryParamsHandling","queryParams","replaceUrl","routerLinkActiveOptions","routerLink","skipLocationChange","state","target"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"item"],[3,"ngClass"],[3,"click","cHtmlAttr","href","ngClass"],["routerLinkActive","active",3,"click","cHtmlAttr","fragment","ngClass","preserveFragment","queryParamsHandling","queryParams","replaceUrl","routerLinkActiveOptions","routerLink","skipLocationChange","state","target"],[1,"nav-icon"],[3,"cIcon","customClasses","name"]],template:function(n,o){if(n&1&&u(0,wt,5,11,"a",1)(1,Lt,5,12,"a",2)(2,Mt,5,23,"a",3)(3,jt,3,3,"ng-template",null,0,ge),n&2){let s;f((s=o.linkType)==="disabled"?0:s==="external"?1:2)}},dependencies:[ke,xe,ye,E,Ne,Et,tt,ee,we,Se,j],encapsulation:2});let i=e;return i})();function Gt(i,e){if(i&1&&h(0,"i",1),i&2){let r=d();l("ngClass",r.getLabelIconClass())}}function $t(i,e){if(i&1&&(S(0,"span",1),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d();l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge.text)}}var it=(()=>{let e=class e{constructor(t){this.helper=t,this.classes={"c-nav-label":!0,"c-active":!0},this.iconClasses={}}ngOnInit(){this.iconClasses=this.helper.getIconClass(this.item)}getItemClass(){let t=this.item.class;return this.classes[t]=!!t,this.classes}getLabelIconClass(){let t=`text-${this.item.label.variant}`;this.iconClasses[t]=!!this.item.label.variant;let n=this.item.label.class;return this.iconClasses[n]=!!n,this.iconClasses}};e.\u0275fac=function(n){return new(n||e)(m(y))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-label"]],inputs:{item:"item"},standalone:!0,features:[v],decls:5,vars:6,consts:[[3,"cHtmlAttr","ngClass","href"],[3,"ngClass"]],template:function(n,o){n&1&&(S(0,"a",0),u(1,Gt,1,1,"i",1),J(2),T(3),W(),u(4,$t,3,4,"span",1),_()),n&2&&(ze("href",o.item.url,be),l("cHtmlAttr",o.item.attributes)("ngClass",o.getItemClass()),p(),f(o.helper.hasIcon(o.item)?1:-1),p(2),w(o.item.name),p(),f(o.helper.hasBadge(o.item)?4:-1))},dependencies:[E,ee,j],encapsulation:2});let i=e;return i})();var nt=(()=>{let e=class e{constructor(t,n){this.el=t,this.renderer=n}ngOnInit(){let t=this.el.nativeElement,n=this.renderer.createText(this.item.name);if(this.item.class){let o=this.item.class;this.renderer.addClass(t,o)}if(this.item.wrapper){let o=this.renderer.createElement(this.item.wrapper.element);this.addAttribs(this.item.wrapper.attributes,o),this.renderer.appendChild(o,n),this.renderer.appendChild(t,o)}else this.renderer.appendChild(t,n)}addAttribs(t,n){if(t)for(let o in t)o==="style"&&typeof t[o]=="object"?this.setStyle(t[o],n):o==="class"?this.addClass(t[o],n):this.setAttrib(o,t[o],n)}setStyle(t,n){for(let o in t)o&&this.renderer.setStyle(n,o,t[o])}addClass(t,n){(Array.isArray(t)?t:t.split(" ")).filter(s=>s.length>0).forEach(s=>{this.renderer.addClass(n,s)})}setAttrib(t,n,o){this.renderer.setAttribute(o,t,n)}};e.\u0275fac=function(n){return new(n||e)(m(U),m(z))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-title"]],inputs:{item:"item"},standalone:!0,features:[v],decls:0,vars:0,template:function(n,o){},encapsulation:2});let i=e;return i})();var rt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-divider"]],inputs:{item:"item"},standalone:!0,features:[v],decls:0,vars:0,template:function(n,o){},encapsulation:2});let i=e;return i})();var ot=(()=>{let e=class e{constructor(t){this.helper=t}transform(t,n){let o=this.helper.itemType(t),s;return["divider","title"].includes(o)?s=`nav-${o}`:o==="group"?s="":s="nav-item",t.class?`${s} ${t.class}`:s}};e.\u0275fac=function(n){return new(n||e)(m(y,16))},e.\u0275pipe=$({name:"cSidebarNavItemClass",type:e,pure:!0,standalone:!0});let i=e;return i})();var Vt=i=>({$implicit:i});function Rt(i,e){i&1&&q(0)}function Ut(i,e){if(i&1&&(S(0,"span",3),g(1,"cSidebarNavBadge"),T(2),_()),i&2){let r=d();l("ngClass",C(1,2,r.item)),p(2),w(r.item.badge.text)}}function zt(i,e){if(i&1&&(S(0,"span",5),h(1,"span",3),_()),i&2){let r,t=d().$implicit;p(),l("ngClass",(r=t.icon)!==null&&r!==void 0?r:"")}}function qt(i,e){if(i&1&&(ue(),h(0,"svg",6),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("cIcon",r.iconComponent==null?null:r.iconComponent.content)("customClasses",C(1,3,r))("name",r.iconComponent==null?null:r.iconComponent.name)}}function Qt(i,e){if(i&1&&(h(0,"span",3),g(1,"cSidebarNavIcon")),i&2){let r=d().$implicit;l("ngClass",C(1,1,r))}}function Jt(i,e){if(i&1&&u(0,zt,2,1,"span",5)(1,qt,2,5,":svg:svg",6)(2,Qt,2,3,"span",3),i&2){let r=e.$implicit;f(r!=null&&r.icon?0:-1),p(),f(r!=null&&r.iconComponent?1:-1),p(),f(!(r!=null&&r.icon)&&!(r!=null&&r.iconComponent)?2:-1)}}var Wt=["*"],Kt=()=>({exact:!0}),at=()=>({});function Xt(i,e){if(i&1&&(h(0,"c-sidebar-nav-group",1,0),g(2,"cSidebarNavItemClass")),i&2){let r=d().$implicit,t=d();l("dropdownMode",t.dropdownMode)("item",r)("ngClass",C(2,5,r))("routerLinkActiveOptions",L(7,Kt))("compact",t.compact)}}function Yt(i,e){if(i&1&&(h(0,"c-sidebar-nav-divider",2),g(1,"cSidebarNavItemClass")),i&2){let r,t=d().$implicit;l("cHtmlAttr",(r=t.attributes)!==null&&r!==void 0?r:L(5,at))("item",t)("ngClass",C(1,3,t))}}function Zt(i,e){if(i&1&&(h(0,"c-sidebar-nav-title",2),g(1,"cSidebarNavItemClass")),i&2){let r,t=d().$implicit;l("cHtmlAttr",(r=t.attributes)!==null&&r!==void 0?r:L(5,at))("item",t)("ngClass",C(1,3,t))}}function ei(i,e){if(i&1&&(h(0,"c-sidebar-nav-label",3),g(1,"cSidebarNavItemClass")),i&2){let r=d().$implicit;l("item",r)("ngClass",C(1,2,r))}}function ti(i,e){i&1&&q(0)}function ii(i,e){if(i&1){let r=K();S(0,"c-sidebar-nav-link",4),g(1,"cSidebarNavItemClass"),O("linkClick",function(){V(r);let n=d(2);return R(n.hideMobile())}),_()}if(i&2){let r=d().$implicit;l("item",r)("ngClass",C(1,2,r))}}function ni(i,e){if(i&1&&u(0,Xt,3,8,"c-sidebar-nav-group",1)(1,Yt,2,6,"c-sidebar-nav-divider",2)(2,Zt,2,6,"c-sidebar-nav-title",2)(3,ei,2,4,"c-sidebar-nav-label",3)(4,ti,1,0,"ng-container")(5,ii,2,4,"c-sidebar-nav-link",3),i&2){let r,t=e.$implicit,n=d();f((r=n.helper.itemType(t))==="group"?0:r==="divider"?1:r==="title"?2:r==="label"?3:r==="empty"?4:5)}}var Fe=(()=>{let e=class e{constructor(t,n,o,s,N){this.router=t,this.renderer=n,this.hostElement=o,this.helper=s,this.sidebarNavGroupService=N,this.dropdownMode="path",this.navItems=[],this.display={display:"block"},this.navigationEndObservable=t.events.pipe(pe(c=>c instanceof _e))}get hostClasses(){return{"nav-group":!0,show:this.open}}ngOnInit(){this.navItems=[...this.item.children],this.navSubscription=this.navigationEndObservable.subscribe(t=>{if(this.dropdownMode!=="none"){let n=this.samePath(t.url);this.openGroup(n)}}),this.samePath(this.router.routerState.snapshot.url)&&this.openGroup(!0),this.navGroupSubscription=this.sidebarNavGroupService.sidebarNavGroupState$.subscribe(t=>{if(this.dropdownMode==="close"&&t.sidebarNavGroup&&t.sidebarNavGroup!==this){if(t.sidebarNavGroup.item.url.startsWith(this.item.url))return;if(this.samePath(this.router.routerState.snapshot.url)){this.openGroup(!0);return}this.openGroup(!1)}})}samePath(t){let n=this.item.url?.split("/"),o=t.split("/");return n?.every((s,N)=>s===o[N])}openGroup(t){this.open=t}toggleGroup(t){t.preventDefault(),this.openGroup(!this.open),this.open&&this.sidebarNavGroupService.toggle({open:this.open,sidebarNavGroup:this})}ngOnDestroy(){this.navSubscription?.unsubscribe()}onAnimationStart(t){if(this.display={display:"block"},t.toState==="open"){let n=this.sidebarNav.nativeElement;this.renderer.setStyle(n,"height",`${n.scrollHeight}px`)}}onAnimationDone(t){if(t.toState==="open"){let n=this.sidebarNav.nativeElement;this.renderer.setStyle(n,"height","auto")}t.toState==="closed"&&setTimeout(()=>{this.display=null})}};e.\u0275fac=function(n){return new(n||e)(m(oe),m(z),m(U),m(y),m(Z))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav-group"]],viewQuery:function(n,o){if(n&1&&qe(te,5,U),n&2){let s;Qe(s=Je())&&(o.sidebarNav=s.first)}},hostVars:2,hostBindings:function(n,o){n&2&&H(o.hostClasses)},inputs:{item:"item",dropdownMode:"dropdownMode",show:"show",compact:[2,"compact","compact",A]},standalone:!0,features:[re([y,Z]),ne,v],decls:8,vars:13,consts:[["iconTemplate",""],["href","",1,"nav-link","nav-group-toggle",3,"click","cHtmlAttr"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],[3,"compact","dropdownMode","groupItems","navItems","ngStyle"],[1,"nav-icon"],[3,"cIcon","customClasses","name"]],template:function(n,o){if(n&1){let s=K();S(0,"a",1),O("click",function(c){return V(s),R(o.toggleGroup(c))}),u(1,Rt,1,0,"ng-container",2),J(2),T(3),W(),u(4,Ut,3,4,"span",3),_(),S(5,"c-sidebar-nav",4),O("@openClose.done",function(c){return V(s),R(o.onAnimationDone(c))})("@openClose.start",function(c){return V(s),R(o.onAnimationStart(c))}),_(),u(6,Jt,3,3,"ng-template",null,0,ge)}if(n&2){let s=X(7);l("cHtmlAttr",o.item.attributes),p(),l("ngTemplateOutlet",s)("ngTemplateOutletContext",Y(11,Vt,o.item)),p(2),w(o.item.name),p(),f(o.helper.hasBadge(o.item)?4:-1),p(),l("@openClose",o.open?"open":"closed")("compact",o.compact)("dropdownMode",o.dropdownMode)("groupItems",!0)("navItems",o.navItems)("ngStyle",o.display)}},dependencies:()=>[E,Ne,Se,j,we,ee,te,We],styles:[".nav-group-toggle[_ngcontent-%COMP%]{cursor:pointer}.nav-group-items[_ngcontent-%COMP%]{display:block}"],data:{animation:[Ke("openClose",[De("open",Ae({height:"*"})),De("closed",Ae({height:"0px"})),Ye("open <=> closed",[Xe(".15s ease")])])]}});let i=e;return i})(),te=(()=>{let e=class e{constructor(t,n,o,s,N,c){this.sidebar=t,this.helper=n,this.router=o,this.renderer=s,this.hostElement=N,this.sidebarService=c,this.navItems=[],this.dropdownMode="path",this.role="navigation",this.navItemsArray=[]}get hostClasses(){return{"sidebar-nav":!this.groupItems,"nav-group-items":this.groupItems,compact:this.groupItems&&this.compact}}ngOnChanges(t){this.navItemsArray=Array.isArray(this.navItems)?this.navItems.slice():[]}hideMobile(){this.sidebar&&this.sidebar.sidebarState.mobile&&this.sidebarService.toggle({toggle:"visible",sidebar:this.sidebar})}};e.\u0275fac=function(n){return new(n||e)(m(Pe,8),m(y),m(oe),m(z),m(U),m(D))},e.\u0275cmp=b({type:e,selectors:[["c-sidebar-nav"]],hostVars:3,hostBindings:function(n,o){n&2&&(he("role",o.role),H(o.hostClasses))},inputs:{navItems:"navItems",dropdownMode:"dropdownMode",groupItems:[2,"groupItems","groupItems",A],compact:[2,"compact","compact",A],role:"role"},standalone:!0,features:[ne,me,v],ngContentSelectors:Wt,decls:3,vars:0,consts:[["rla","routerLinkActive"],["routerLinkActive","show",3,"dropdownMode","item","ngClass","routerLinkActiveOptions","compact"],[3,"cHtmlAttr","item","ngClass"],[3,"item","ngClass"],[3,"linkClick","item","ngClass"]],template:function(n,o){n&1&&(B(),Re(0,ni,6,1,null,null,Ve),F(2)),n&2&&Ue(o.navItemsArray)},dependencies:[j,E,ae,it,nt,rt,Fe,ot,ke,ye],encapsulation:2});let i=e;return i})();var ri=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ee({type:e}),e.\u0275inj=je({providers:[D,y,Z],imports:[te,Fe,ae]});let i=e;return i})();export{Pe as a,ht as b,Me as c,vt as d,Ct as e,_t as f,te as g,ri as h}; diff --git a/angular/docs/chunk-FHDSBCC2.js b/angular/docs/chunk-YN74WUSE.js similarity index 93% rename from angular/docs/chunk-FHDSBCC2.js rename to angular/docs/chunk-YN74WUSE.js index 86780c19852..aa94f24893f 100644 --- a/angular/docs/chunk-FHDSBCC2.js +++ b/angular/docs/chunk-YN74WUSE.js @@ -1 +1 @@ -import{c as G}from"./chunk-R2HXWLDR.js";import{b as J}from"./chunk-TVRAGCHV.js";import{c as z,d,g as f,h as g,i as c}from"./chunk-NNMKHZUS.js";import{t as q}from"./chunk-FIXU3TFH.js";import{$b as O,Aa as w,Ac as j,Ba as T,Gb as B,Jb as p,Na as x,Oc as P,Pb as D,Qb as H,Ub as l,Wb as v,_c as $,ac as I,ec as S,fc as E,hc as k,mc as M,na as y,nc as V,nd as u,oc as h,pa as m,pc as F,qc as L,tc as Q,vc as N,wc as R}from"./chunk-O6V6MKDU.js";import{e as _,f as A,g as b}from"./chunk-MGAX33HK.js";var U=(()=>{let e=class e{get hostClasses(){return{"alert-heading":!0}}constructor(){}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=m({type:e,selectors:[["","cAlertHeading",""]],hostVars:2,hostBindings:function(t,n){t&2&&l(n.hostClasses)},standalone:!0});let i=e;return i})();var W=(()=>{let e=class e{get hostClasses(){return{"alert-link":!0}}constructor(){}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=m({type:e,selectors:[["","cAlertLink",""]],hostVars:2,hostBindings:function(t,n){t&2&&l(n.hostClasses)},standalone:!0});let i=e;return i})();var X=["*"];function Y(i,e){i&1&&S(0)}function Z(i,e){if(i&1&&p(0,Y,1,0,"ng-container",1),i&2){let o=h(2),r=j(2);H("ngTemplateOutlet",(o.templates==null?null:o.templates.alertButtonCloseTemplate)||r)}}function tt(i,e){if(i&1&&(p(0,Z,1,1,"ng-container"),L(1)),i&2){let o=h();v(o.dismissible?0:-1)}}function et(i,e){if(i&1){let o=E();O(0,"button",2),M("click",function(){w(o);let t=h();return T(t.visible=!1)}),I()}}var it=(()=>{var e;let o=class o{constructor(){A(this,e);this.color="primary",this.role="alert",this.visibleChange=new x,this.templates={},this.dismissible=!1,this.fade=!1,b(this,e,!0)}set visible(t){_(this,e)!==t&&(b(this,e,t),this.visibleChange.emit(t))}get visible(){return _(this,e)}get animationDisabled(){return!this.fade}get animateType(){return this.visible?"show":"hide"}get hostClasses(){return{alert:!0,"alert-dismissible":this.dismissible,fade:this.fade,show:!this.hide,[`alert-${this.color}`]:!!this.color&&this.variant!=="solid",[`bg-${this.color}`]:!!this.color&&this.variant==="solid","text-white":!!this.color&&this.variant==="solid"}}onAnimationStart(t){this.onAnimationEvent(t)}onAnimationDone(t){this.onAnimationEvent(t)}ngAfterContentInit(){this.contentTemplates.forEach(t=>{this.templates[t.id]=t.templateRef})}onAnimationEvent(t){this.hide=t.phaseName==="start"&&t.toState==="show",t.phaseName==="done"&&(this.hide=t.toState==="hide"||t.toState==="void",t.toState==="show"&&(this.hide=!1))}};e=new WeakMap,o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=y({type:o,selectors:[["c-alert"]],contentQueries:function(n,s,C){if(n&1&&Q(C,G,5),n&2){let a;N(a=R())&&(s.contentTemplates=a)}},hostVars:5,hostBindings:function(n,s){n&1&&V("@fadeInOut.start",function(a){return s.onAnimationStart(a)})("@fadeInOut.done",function(a){return s.onAnimationDone(a)}),n&2&&(k("@.disabled",s.animationDisabled)("@fadeInOut",s.animateType),D("role",s.role),l(s.hostClasses))},inputs:{color:"color",role:"role",variant:"variant",dismissible:[2,"dismissible","dismissible",u],fade:[2,"fade","fade",u],visible:[2,"visible","visible",u]},outputs:{visibleChange:"visibleChange"},exportAs:["cAlert"],standalone:!0,features:[B,P],ngContentSelectors:X,decls:3,vars:1,consts:[["defaultAlertButtonCloseTemplate",""],[4,"ngTemplateOutlet"],["aria-label","Close","cButtonClose","",3,"click"]],template:function(n,s){n&1&&(F(),p(0,tt,2,1)(1,et,1,0,"ng-template",null,0,$)),n&2&&v(s.visible||!s.hide?0:-1)},dependencies:[q,J],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"],data:{animation:[z("fadeInOut",[g("show",f({opacity:1,height:"*",padding:"*",border:"*",margin:"*"})),g("hide",f({opacity:0,height:0,padding:0,border:0,margin:0})),g("void",f({opacity:0,height:0,padding:0,border:0,margin:0})),c("show => hide",[d(".3s ease-out")]),c("hide => show",[d(".3s ease-in")]),c("show => void",[d(".3s ease-out")]),c("void => show",[d(".3s ease-in")])])]}});let i=o;return i})();export{U as a,W as b,it as c}; +import{c as G}from"./chunk-UYIAOCXU.js";import{b as J}from"./chunk-2CL7LP6W.js";import{c as z,d,g as f,h as g,i as c}from"./chunk-DTADTSJV.js";import{t as q}from"./chunk-XHR4TYVD.js";import{$b as O,Aa as w,Ac as j,Ba as T,Gb as B,Jb as p,Na as x,Oc as P,Pb as D,Qb as H,Ub as l,Wb as v,_c as $,ac as I,ec as S,fc as E,hc as k,mc as M,na as y,nc as V,nd as u,oc as h,pa as m,pc as F,qc as L,tc as Q,vc as N,wc as R}from"./chunk-6U7QZ4SV.js";import{e as _,f as A,g as b}from"./chunk-MGAX33HK.js";var U=(()=>{let e=class e{get hostClasses(){return{"alert-heading":!0}}constructor(){}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=m({type:e,selectors:[["","cAlertHeading",""]],hostVars:2,hostBindings:function(t,n){t&2&&l(n.hostClasses)},standalone:!0});let i=e;return i})();var W=(()=>{let e=class e{get hostClasses(){return{"alert-link":!0}}constructor(){}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=m({type:e,selectors:[["","cAlertLink",""]],hostVars:2,hostBindings:function(t,n){t&2&&l(n.hostClasses)},standalone:!0});let i=e;return i})();var X=["*"];function Y(i,e){i&1&&S(0)}function Z(i,e){if(i&1&&p(0,Y,1,0,"ng-container",1),i&2){let o=h(2),r=j(2);H("ngTemplateOutlet",(o.templates==null?null:o.templates.alertButtonCloseTemplate)||r)}}function tt(i,e){if(i&1&&(p(0,Z,1,1,"ng-container"),L(1)),i&2){let o=h();v(o.dismissible?0:-1)}}function et(i,e){if(i&1){let o=E();O(0,"button",2),M("click",function(){w(o);let t=h();return T(t.visible=!1)}),I()}}var it=(()=>{var e;let o=class o{constructor(){A(this,e);this.color="primary",this.role="alert",this.visibleChange=new x,this.templates={},this.dismissible=!1,this.fade=!1,b(this,e,!0)}set visible(t){_(this,e)!==t&&(b(this,e,t),this.visibleChange.emit(t))}get visible(){return _(this,e)}get animationDisabled(){return!this.fade}get animateType(){return this.visible?"show":"hide"}get hostClasses(){return{alert:!0,"alert-dismissible":this.dismissible,fade:this.fade,show:!this.hide,[`alert-${this.color}`]:!!this.color&&this.variant!=="solid",[`bg-${this.color}`]:!!this.color&&this.variant==="solid","text-white":!!this.color&&this.variant==="solid"}}onAnimationStart(t){this.onAnimationEvent(t)}onAnimationDone(t){this.onAnimationEvent(t)}ngAfterContentInit(){this.contentTemplates.forEach(t=>{this.templates[t.id]=t.templateRef})}onAnimationEvent(t){this.hide=t.phaseName==="start"&&t.toState==="show",t.phaseName==="done"&&(this.hide=t.toState==="hide"||t.toState==="void",t.toState==="show"&&(this.hide=!1))}};e=new WeakMap,o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=y({type:o,selectors:[["c-alert"]],contentQueries:function(n,s,C){if(n&1&&Q(C,G,5),n&2){let a;N(a=R())&&(s.contentTemplates=a)}},hostVars:5,hostBindings:function(n,s){n&1&&V("@fadeInOut.start",function(a){return s.onAnimationStart(a)})("@fadeInOut.done",function(a){return s.onAnimationDone(a)}),n&2&&(k("@.disabled",s.animationDisabled)("@fadeInOut",s.animateType),D("role",s.role),l(s.hostClasses))},inputs:{color:"color",role:"role",variant:"variant",dismissible:[2,"dismissible","dismissible",u],fade:[2,"fade","fade",u],visible:[2,"visible","visible",u]},outputs:{visibleChange:"visibleChange"},exportAs:["cAlert"],standalone:!0,features:[B,P],ngContentSelectors:X,decls:3,vars:1,consts:[["defaultAlertButtonCloseTemplate",""],[4,"ngTemplateOutlet"],["aria-label","Close","cButtonClose","",3,"click"]],template:function(n,s){n&1&&(F(),p(0,tt,2,1)(1,et,1,0,"ng-template",null,0,$)),n&2&&v(s.visible||!s.hide?0:-1)},dependencies:[q,J],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"],data:{animation:[z("fadeInOut",[g("show",f({opacity:1,height:"*",padding:"*",border:"*",margin:"*"})),g("hide",f({opacity:0,height:0,padding:0,border:0,margin:0})),g("void",f({opacity:0,height:0,padding:0,border:0,margin:0})),c("show => hide",[d(".3s ease-out")]),c("hide => show",[d(".3s ease-in")]),c("show => void",[d(".3s ease-out")]),c("void => show",[d(".3s ease-in")])])]}});let i=o;return i})();export{U as a,W as b,it as c}; diff --git a/angular/docs/chunk-OITPDOPG.js b/angular/docs/chunk-YZGUR6JB.js similarity index 95% rename from angular/docs/chunk-OITPDOPG.js rename to angular/docs/chunk-YZGUR6JB.js index 8d2a95dfbd7..fdeae831a38 100644 --- a/angular/docs/chunk-OITPDOPG.js +++ b/angular/docs/chunk-YZGUR6JB.js @@ -1,4 +1,4 @@ -import{c as u}from"./chunk-6VQYNMHT.js";import"./chunk-4EHRG2WJ.js";import{a as ie}from"./chunk-YDIXRUSA.js";import"./chunk-C5JPXVV5.js";import{A as ee,B as I,e as P,f as M,g as U,i as q,j as Q,l as X,m as T,q as Z,r as $}from"./chunk-JZLZFTWK.js";import{c as J}from"./chunk-R2HXWLDR.js";import{h as te}from"./chunk-KASAEZY4.js";import"./chunk-QUYVWFHK.js";import{a as K}from"./chunk-TVRAGCHV.js";import"./chunk-2IKSDGSZ.js";import{c as g,e as f}from"./chunk-EBCID5MY.js";import{g as oe}from"./chunk-QWXOJRTG.js";import"./chunk-QNSTT6ST.js";import"./chunk-T5CNCUEW.js";import"./chunk-NNMKHZUS.js";import"./chunk-DPZ7BZKP.js";import{a as ae}from"./chunk-SWYVARVN.js";import{r as ne}from"./chunk-JJFVMVK7.js";import{c as W,d as H}from"./chunk-FX553NHW.js";import"./chunk-ATBE6YUJ.js";import{v as O,x as b}from"./chunk-FIXU3TFH.js";import"./chunk-IOURQETH.js";import{$b as n,Aa as S,Ac as L,Ba as E,Bc as m,Cc as z,Dc as v,Fc as V,Jb as h,Kc as Y,Lc as j,Mc as G,Oc as d,Pc as D,Qb as p,Wc as _,Xc as x,_c as k,ac as a,bc as i,fc as B,lb as l,mb as A,mc as N,na as s,oc as F}from"./chunk-O6V6MKDU.js";import"./chunk-MGAX33HK.js";var re=(()=>{let e=class e{ngOnInit(){let r=new Date;this.startDate=new Date(r.getFullYear(),r.getMonth(),r.getDate()-6),this.endDate=new Date(r.getFullYear(),r.getMonth(),r.getDate())}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=s({type:e,selectors:[["docs-date-range-picker15"]],standalone:!0,features:[d],decls:9,vars:5,consts:[["form","ngForm"],["lg","5"],["ngModel","","name","dateRangePicker",3,"startDate","endDate"]],template:function(o,c){if(o&1&&(n(0,"c-row")(1,"c-col",1)(2,"form",null,0),i(4,"c-date-range-picker",2),a()()(),i(5,"br"),m(6),_(7,"json"),i(8,"br")),o&2){let R=L(3);l(4),p("startDate",c.startDate)("endDate",c.endDate),l(2),v(` +import{c as u}from"./chunk-WFOV5FNG.js";import"./chunk-S3TRUWXX.js";import{a as ie}from"./chunk-IV3JRMWS.js";import"./chunk-ZGGOM75Q.js";import{A as ee,B as I,e as P,f as M,g as U,i as q,j as Q,l as X,m as T,q as Z,r as $}from"./chunk-WFHPAILT.js";import{c as J}from"./chunk-UYIAOCXU.js";import{h as te}from"./chunk-DSAGLKP4.js";import"./chunk-QUYVWFHK.js";import{a as K}from"./chunk-2CL7LP6W.js";import"./chunk-D272JSA3.js";import{c as g,e as f}from"./chunk-PZ32EFID.js";import{g as oe}from"./chunk-XPMARKUH.js";import"./chunk-LZN2HRQX.js";import"./chunk-DADCTN7Z.js";import"./chunk-DTADTSJV.js";import"./chunk-DPZ7BZKP.js";import{a as ae}from"./chunk-MH6VOBXJ.js";import{r as ne}from"./chunk-Q5WIR6QR.js";import{c as W,d as H}from"./chunk-54DQ6PNU.js";import"./chunk-D6CLLZIZ.js";import{v as O,x as b}from"./chunk-XHR4TYVD.js";import"./chunk-3GUKBTAZ.js";import{$b as n,Aa as S,Ac as L,Ba as E,Bc as m,Cc as z,Dc as v,Fc as V,Jb as h,Kc as Y,Lc as j,Mc as G,Oc as d,Pc as D,Qb as p,Wc as _,Xc as x,_c as k,ac as a,bc as i,fc as B,lb as l,mb as A,mc as N,na as s,oc as F}from"./chunk-6U7QZ4SV.js";import"./chunk-MGAX33HK.js";var re=(()=>{let e=class e{ngOnInit(){let r=new Date;this.startDate=new Date(r.getFullYear(),r.getMonth(),r.getDate()-6),this.endDate=new Date(r.getFullYear(),r.getMonth(),r.getDate())}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=s({type:e,selectors:[["docs-date-range-picker15"]],standalone:!0,features:[d],decls:9,vars:5,consts:[["form","ngForm"],["lg","5"],["ngModel","","name","dateRangePicker",3,"startDate","endDate"]],template:function(o,c){if(o&1&&(n(0,"c-row")(1,"c-col",1)(2,"form",null,0),i(4,"c-date-range-picker",2),a()()(),i(5,"br"),m(6),_(7,"json"),i(8,"br")),o&2){let R=L(3);l(4),p("startDate",c.startDate)("endDate",c.endDate),l(2),v(` Form value: `,x(7,3,R.value),` `)}},dependencies:[f,g,I,T,P,M,ee,X,q,u,b],encapsulation:2});let t=e;return t})();var le=(()=>{let e=class e{constructor(){this.startDate=new Date,this.endDate=new Date}get toLocaleDateString(){return this.formGroup.value.dateRangePicker.startDate?.toLocaleDateString()+" -> "+this.formGroup.value.dateRangePicker.endDate?.toLocaleDateString()}ngOnInit(){let r=new Date(this.startDate.getFullYear(),this.startDate.getMonth(),this.startDate.getDate()),o=new Date(this.endDate.getFullYear(),this.endDate.getMonth(),this.endDate.getDate()+6),c={startDate:r,endDate:o};this.formGroup=new U({dateRangePicker:new Q(c,{nonNullable:!1})})}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=s({type:e,selectors:[["docs-date-range-picker14"]],standalone:!0,features:[d],decls:9,vars:5,consts:[["lg","5"],[3,"formGroup"],["formControlName","dateRangePicker"]],template:function(o,c){o&1&&(n(0,"c-row")(1,"c-col",0)(2,"form",1),i(3,"c-date-range-picker",2),a()()(),i(4,"br"),m(5),_(6,"json"),i(7,"br"),m(8)),o&2&&(l(2),p("formGroup",c.formGroup),l(3),v(` Form value: `,x(6,3,c.formGroup.value),` diff --git a/angular/docs/chunk-C5JPXVV5.js b/angular/docs/chunk-ZGGOM75Q.js similarity index 99% rename from angular/docs/chunk-C5JPXVV5.js rename to angular/docs/chunk-ZGGOM75Q.js index 3c76b9e8a12..1924b15a447 100644 --- a/angular/docs/chunk-C5JPXVV5.js +++ b/angular/docs/chunk-ZGGOM75Q.js @@ -1 +1 @@ -import{Gb as c,La as v,Oc as m,Pb as C,Ub as o,mb as d,na as p,nd as a,pa as r,pc as u,qc as f,rb as B,tc as b,vc as I,wc as w}from"./chunk-O6V6MKDU.js";import{e as D,f as k,g as F}from"./chunk-MGAX33HK.js";var H=(()=>{let t=class t{constructor(){this.validated=!1}get hostClasses(){return{"was-validated":this.validated}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r({type:t,selectors:[["form","cForm",""]],hostVars:2,hostBindings:function(e,n){e&2&&o(n.hostClasses)},inputs:{validated:[2,"validated","validated",a]},standalone:!0,features:[c]});let i=t;return i})();var M=["*"],T=(()=>{let t=class t{constructor(){this.tooltip=!1}get hostClasses(){return{"valid-feedback":this.valid===!0&&!this.tooltip,"valid-tooltip":this.valid===!0&&this.tooltip,"invalid-feedback":this.valid!==!0&&!this.tooltip,"invalid-tooltip":this.valid!==!0&&this.tooltip}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["c-form-feedback"]],hostVars:2,hostBindings:function(e,n){e&2&&o(n.hostClasses)},inputs:{tooltip:[2,"tooltip","tooltip",a],valid:"valid"},standalone:!0,features:[c,m],ngContentSelectors:M,decls:1,vars:0,template:function(e,n){e&1&&(u(),f(0))},encapsulation:2});let i=t;return i})();var E=["*"],V=(()=>{let t=class t{constructor(){this.sizing=""}get hostClasses(){return{"input-group":!0,[`input-group-${this.sizing}`]:!!this.sizing}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p({type:t,selectors:[["c-input-group"]],hostVars:2,hostBindings:function(e,n){e&2&&o(n.hostClasses)},inputs:{sizing:"sizing"},standalone:!0,features:[m],ngContentSelectors:E,decls:1,vars:0,template:function(e,n){e&1&&(u(),f(0))},encapsulation:2});let i=t;return i})();var j=(()=>{let t=class t{get hostClasses(){return{"form-select":!0,[`form-select-${this.sizing}`]:!!this.sizing,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}constructor(){this.sizing=""}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r({type:t,selectors:[["select","cSelect",""]],hostVars:2,hostBindings:function(e,n){e&2&&o(n.hostClasses)},inputs:{sizing:"sizing",valid:"valid"},standalone:!0});let i=t;return i})();var L=(()=>{let t=class t{get hostClasses(){return{"form-label":!0,"col-form-label":this.col==="col",[`col-form-label-${this.sizing}`]:!!this.sizing&&this.col==="col"}}constructor(){this.col="",this.sizing=""}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r({type:t,selectors:[["","cLabel",""]],hostVars:2,hostBindings:function(e,n){e&2&&o(n.hostClasses)},inputs:{col:[0,"cLabel","col"],sizing:"sizing"},standalone:!0});let i=t;return i})();var y=(()=>{let t=class t{get hostClasses(){return{"form-check-label":!0}}};t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r({type:t,selectors:[["label","cFormCheckLabel",""]],hostVars:2,hostBindings:function(e,n){e&2&&o(n.hostClasses)},standalone:!0});let i=t;return i})();var A=["*"],S=(()=>{var t;let h=class h{constructor(){k(this,t);this.inline=!1,this.reverse=!1,this.sizing="",this.switch=!1,F(this,t,!0)}get hostClasses(){return{"form-check":this.formCheckClass,"form-switch":this.switch,[`form-switch-${this.sizing}`]:this.switch&&!!this.sizing,"form-check-inline":this.inline,"form-check-reverse":this.reverse}}get formCheckClass(){return D(this,t)}ngAfterContentInit(){F(this,t,!!this.formCheckLabel)}};t=new WeakMap,h.\u0275fac=function(n){return new(n||h)},h.\u0275cmp=p({type:h,selectors:[["c-form-check"]],contentQueries:function(n,g,z){if(n&1&&b(z,y,5),n&2){let x;I(x=w())&&(g.formCheckLabel=x.first)}},hostVars:2,hostBindings:function(n,g){n&2&&o(g.hostClasses)},inputs:{inline:[2,"inline","inline",a],reverse:[2,"reverse","reverse",a],sizing:"sizing",switch:[2,"switch","switch",a]},exportAs:["cFormCheck"],standalone:!0,features:[c,m],ngContentSelectors:A,decls:1,vars:0,template:function(n,g){n&1&&(u(),f(0))},encapsulation:2});let i=h;return i})();var $=(()=>{let t=class t{set indeterminate(s){let e=s;if(this._indeterminate!==e){this._indeterminate=e;let n=this.hostElement.nativeElement;e&&this.renderer.setProperty(n,"checked",!1),this.renderer.setProperty(n,"indeterminate",e)}}get indeterminate(){return this._indeterminate}get hostClasses(){return{"form-check-input":!0,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}set checked(s){let e=s,n=this.hostElement?.nativeElement;n&&this.renderer.setProperty(n,"checked",e)}get checked(){return this.hostElement?.nativeElement?.checked}constructor(s,e){this.renderer=s,this.hostElement=e,this.type="checkbox",this._indeterminate=!1}};t.\u0275fac=function(e){return new(e||t)(d(B),d(v))},t.\u0275dir=r({type:t,selectors:[["input","cFormCheckInput",""]],hostVars:3,hostBindings:function(e,n){e&2&&(C("type",n.type),o(n.hostClasses))},inputs:{type:"type",indeterminate:[2,"indeterminate","indeterminate",a],valid:"valid",checked:[2,"checked","checked",a]},standalone:!0,features:[c]});let i=t;return i})();var R=(()=>{let t=class t{constructor(s){this.hostElement=s,this.sizing="",this.type="text",this.plaintext=!1}get hostClasses(){let s=this.type==="range";return{"form-control":!s&&!this.plaintext,"form-control-plaintext":!s&&this.plaintext,"form-control-color":this.type==="color","form-range":s,[`form-control-${this.sizing}`]:!!this.sizing&&!s,"is-valid":this.valid===!0,"is-invalid":this.valid===!1}}get hostTag(){return this.hostElement.nativeElement.tagName}ngOnInit(){let s=this.hostTag.toLowerCase();s!=="input"&&s!=="textarea"&&console.warn(`CoreUI [cFormControl] works with '' and '