@esri/calcite-components 3.0.0-next.22 → 3.0.0-next.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/{IMFHAXN7.js → 26VL7UQF.js} +1 -1
- package/dist/calcite/{IFI2LSY5.js → 2733KMWL.js} +2 -2
- package/dist/calcite/{4SQ5O6M2.js → 2DAA5MLN.js} +9 -9
- package/dist/calcite/{SISHCY3Q.js → 2FTR42K7.js} +10 -10
- package/dist/calcite/{WVREUXHA.js → 2HMSJKQL.js} +2 -2
- package/dist/calcite/{LE2ODPPS.js → 2JUUDORK.js} +8 -8
- package/dist/calcite/{VEAWUUUB.js → 2OAIOHX4.js} +2 -2
- package/dist/calcite/{5MBQGFCF.js → 2QHJSXKF.js} +8 -8
- package/dist/calcite/{L2P6JK4W.js → 2VDEHQSK.js} +1 -1
- package/dist/calcite/{K2YG5F2N.js → 3CBTMMDY.js} +15 -15
- package/dist/calcite/{RUWGRWW2.js → 3E2AID3K.js} +7 -7
- package/dist/calcite/{CU3OZHKG.js → 3FLVYM4F.js} +1 -1
- package/dist/calcite/{JNZRV2O3.js → 3HIWBMFB.js} +2 -2
- package/dist/calcite/{S4OQM6ZA.js → 3HWNH6ID.js} +13 -13
- package/dist/calcite/{ZOQGVVTR.js → 3ICLDS2P.js} +16 -16
- package/dist/calcite/{LNJCZP4A.js → 3KO6WWVW.js} +8 -8
- package/dist/calcite/{LHDB23VG.js → 3RFJ4KNL.js} +1 -1
- package/dist/calcite/{AAREV5AH.js → 4LAY4UUY.js} +2 -2
- package/dist/calcite/{4FHKJV26.js → 4M47UW7D.js} +2 -2
- package/dist/calcite/{FWKNVT34.js → 4ZT4BISM.js} +10 -10
- package/dist/calcite/{TWLNKBCY.js → 4ZVHMPEI.js} +2 -2
- package/dist/calcite/{U6SMRPV3.js → 5BXRHGMM.js} +1 -1
- package/dist/calcite/{WDFLD74Y.js → 5MUG36UN.js} +8 -8
- package/dist/calcite/{LYDLA4GR.js → 5WXAKPA5.js} +2 -2
- package/dist/calcite/{PSXFMGPY.js → 637TG7XF.js} +11 -11
- package/dist/calcite/{DWIIWYIJ.js → 6CMFBUMW.js} +10 -10
- package/dist/calcite/{MKRACO4X.js → 6K4CWNR2.js} +7 -7
- package/dist/calcite/{GNVMZVQT.js → 6KBN7KYK.js} +2 -2
- package/dist/calcite/{WHJVNDAG.js → 6SQF4US2.js} +2 -2
- package/dist/calcite/{SVFGMVOI.js → 6YV3RNFX.js} +8 -8
- package/dist/calcite/{KWNZUVUJ.js → 7BZ6IH2L.js} +1 -1
- package/dist/calcite/{5K7RPMV7.js → 7EVCWCQU.js} +2 -2
- package/dist/calcite/{EYQY76G3.js → 7MORJ7UI.js} +1 -1
- package/dist/calcite/{J6YMMYBV.js → 7WGUMABT.js} +2 -2
- package/dist/calcite/{AQE6FYP7.js → 7XY2DT76.js} +2 -2
- package/dist/calcite/{5I6LRLTU.js → AFE62D5L.js} +2 -2
- package/dist/calcite/{B7IFD2ZF.js → AGPCSOF5.js} +2 -2
- package/dist/calcite/{HEON6PMR.js → AIPDAVTW.js} +9 -9
- package/dist/calcite/{4N6S5H25.js → ALDH3BJG.js} +7 -7
- package/dist/calcite/{P6T2H37B.js → ASVKF2MU.js} +2 -2
- package/dist/calcite/{45TAHYXP.js → AULLVYXG.js} +21 -21
- package/dist/calcite/{XQ42S2TK.js → B65T4UCZ.js} +2 -2
- package/dist/calcite/{NSXY3R4V.js → BJFZX5EB.js} +7 -7
- package/dist/calcite/{SQLZXDBL.js → BL6ZVXU5.js} +2 -2
- package/dist/calcite/{DA3WTYOI.js → BQ74NYAA.js} +10 -10
- package/dist/calcite/{Y6CIG4L2.js → BWADUIVP.js} +8 -8
- package/dist/calcite/{7CENWATF.js → C75EC4ZH.js} +8 -8
- package/dist/calcite/{5YHUOE3Z.js → CDJFUMHN.js} +13 -13
- package/dist/calcite/{XUUPFWVG.js → CMCWUJLV.js} +7 -7
- package/dist/calcite/{LJ5S5E4O.js → CMTO447R.js} +1 -1
- package/dist/calcite/{ALKPYWOZ.js → DDUYTZE7.js} +1 -1
- package/dist/calcite/{Q5W7JHPU.js → DL5HUJZT.js} +9 -9
- package/dist/calcite/{7MT3WQC2.js → DN4EAI4J.js} +1 -1
- package/dist/calcite/{DN5LT2DS.js → DNX25GPR.js} +8 -8
- package/dist/calcite/{AGT7TYQZ.js → DOLM23RT.js} +2 -2
- package/dist/calcite/{Y5PLEOPG.js → DVSTJQ6Q.js} +2 -2
- package/dist/calcite/{X4LDXVZS.js → DZCUJS7E.js} +7 -7
- package/dist/calcite/{PKTAEGWF.js → DZYKIBMP.js} +2 -2
- package/dist/calcite/{CH4KM6LO.js → E2BVGR4H.js} +51 -41
- package/dist/calcite/{YGFL2TXO.js → ECT4Q5KC.js} +2 -2
- package/dist/calcite/{NQVQM6QU.js → ED4BISZH.js} +2 -2
- package/dist/calcite/{7NUD3PA6.js → EVL56CME.js} +2 -2
- package/dist/calcite/{55LNXUCZ.js → EY7QJEA2.js} +2 -2
- package/dist/calcite/{5ADZIPGL.js → F4UJVL4E.js} +9 -9
- package/dist/calcite/{ABILARRK.js → FIVAABCA.js} +8 -8
- package/dist/calcite/{SQSH5VWS.js → FPBRRT3L.js} +10 -10
- package/dist/calcite/{W4TYU6FA.js → FQQB7PZI.js} +10 -10
- package/dist/calcite/{4HHEYEJ2.js → FSWBT3SC.js} +1 -1
- package/dist/calcite/{J4SZPFUQ.js → FWAOFVBZ.js} +2 -2
- package/dist/calcite/{AJCOATTO.js → FZRIZCRB.js} +2 -2
- package/dist/calcite/{JMSPKZSL.js → G5FFYS4E.js} +13 -13
- package/dist/calcite/{SRZ3YYAS.js → G7EHJRYG.js} +2 -2
- package/dist/calcite/{G7IAXSKB.js → GEGOWRIG.js} +2 -2
- package/dist/calcite/{25TAFDX3.js → GNAZABVA.js} +12 -12
- package/dist/calcite/{AGA6SSAU.js → GPR4ST36.js} +10 -10
- package/dist/calcite/{2C2NTERN.js → GTT5FYWB.js} +2 -2
- package/dist/calcite/{VEX2ISZG.js → GV5TGEFX.js} +2 -2
- package/dist/calcite/{UEJB5TNS.js → GWKLWQVE.js} +12 -12
- package/dist/calcite/{ALMYGYG6.js → H6LXEPIA.js} +10 -10
- package/dist/calcite/{ZDAOOQFS.js → H7XGEHBC.js} +2 -2
- package/dist/calcite/{67KCXYLG.js → HA4RG4MN.js} +9 -9
- package/dist/calcite/{SHJJT3F2.js → HKY25TIX.js} +2 -2
- package/dist/calcite/{ADVUXHPX.js → HP62HFHP.js} +14 -14
- package/dist/calcite/HR2XFWWK.js +6 -0
- package/dist/calcite/{WN2PHMUV.js → HRSMVHMS.js} +2 -2
- package/dist/calcite/{UX6ZWPE2.js → HVUBDQHM.js} +8 -8
- package/dist/calcite/ICNME4XN.js +454 -0
- package/dist/calcite/{SJVFOPFP.js → IHDH4F3T.js} +7 -7
- package/dist/calcite/{HG5MAF5W.js → IMHVCPOY.js} +7 -7
- package/dist/calcite/{BO3URAJP.js → IOJ4PZVG.js} +8 -8
- package/dist/calcite/{2VN3B4UH.js → IQ36VYZ2.js} +11 -11
- package/dist/calcite/{PANYOEQO.js → IRNPOQTG.js} +2 -2
- package/dist/calcite/{EDTXMTXR.js → IY2LJ4BX.js} +2 -2
- package/dist/calcite/{XJZ3A2XK.js → IYWIM2WF.js} +15 -15
- package/dist/calcite/{VUDAOBYY.js → J4PJANBI.js} +9 -9
- package/dist/calcite/{LLIEL5DY.js → J734KK5H.js} +7 -7
- package/dist/calcite/{PPDQXZBM.js → JIXFSNLD.js} +7 -7
- package/dist/calcite/{FUS2Q3V6.js → JPDPCAXS.js} +2 -2
- package/dist/calcite/{MHTOEUBY.js → JQ6DTW62.js} +2 -2
- package/dist/calcite/{OJLTFQ5D.js → JW2VT72D.js} +8 -8
- package/dist/calcite/{F4O67SJT.js → KAIVD7LU.js} +9 -9
- package/dist/calcite/{6PJD35JS.js → KEGQO5EJ.js} +17 -17
- package/dist/calcite/{LXOXCWKV.js → KHEBQKRY.js} +2 -2
- package/dist/calcite/{RGW52EAJ.js → KJ7NRXCR.js} +8 -8
- package/dist/calcite/{VYOA7CEM.js → KM5LZBNB.js} +11 -11
- package/dist/calcite/{FKRKRWZR.js → KNJ6TK6L.js} +2 -2
- package/dist/calcite/{VF7X4EUJ.js → KUNYUPGZ.js} +9 -9
- package/dist/calcite/{73GRD74S.js → KUPKWKQU.js} +7 -7
- package/dist/calcite/{7I3Y6H2Z.js → KWHSSWNH.js} +2 -2
- package/dist/calcite/{H6ZBM6LR.js → KWYB24MP.js} +13 -13
- package/dist/calcite/{Q7EP67PY.js → LAAYPZYK.js} +9 -9
- package/dist/calcite/{5G6Y7E63.js → LCW4AGEB.js} +10 -10
- package/dist/calcite/{JO2TF6J6.js → LFZF2IOX.js} +14 -14
- package/dist/calcite/{57EAM3BB.js → LIV4T5SF.js} +10 -10
- package/dist/calcite/{GL4RGTVM.js → LO6AFOCN.js} +2 -2
- package/dist/calcite/{OVQZ3XKC.js → LOECECHC.js} +2 -2
- package/dist/calcite/{7KN4AUVQ.js → LY42LIEH.js} +11 -11
- package/dist/calcite/{I5MVO4XO.js → LY6U5GKV.js} +2 -2
- package/dist/calcite/{WZCZHONC.js → LZS2B77R.js} +1 -1
- package/dist/calcite/{SSLEHSWY.js → MCJXAUX4.js} +10 -10
- package/dist/calcite/{KZDFLDDC.js → MIXFDBMN.js} +2 -2
- package/dist/calcite/{VW2LVOY2.js → MMYSDT3G.js} +2 -2
- package/dist/calcite/{OJ25B4LK.js → MNPBIVVW.js} +2 -2
- package/dist/calcite/{O5O6YXV2.js → MPQQNFB5.js} +2 -2
- package/dist/calcite/{G6JFTR4K.js → MPVG5GPS.js} +12 -12
- package/dist/calcite/{25D5SCOM.js → NVVHGUDA.js} +10 -10
- package/dist/calcite/{5ITJ4C6I.js → O2OQSVNA.js} +8 -8
- package/dist/calcite/{42GDR6SC.js → O6PEEOCZ.js} +2 -2
- package/dist/calcite/{4SZMIXII.js → OCHQEYRA.js} +2 -2
- package/dist/calcite/{KPSI2CWM.js → OEHGZR2K.js} +8 -8
- package/dist/calcite/{6QFQBLT2.js → OIJ7SO3I.js} +1 -1
- package/dist/calcite/{GY274UYS.js → OIV47V3G.js} +2 -2
- package/dist/calcite/{JDMKC4OZ.js → OM5BCSX4.js} +7 -7
- package/dist/calcite/{LR5JDJRJ.js → OOBARBR3.js} +2 -2
- package/dist/calcite/{2SZUUBWF.js → OTHZ3OT2.js} +7 -7
- package/dist/calcite/{DVQ5YTTM.js → OUI6TNN2.js} +2 -2
- package/dist/calcite/{QAJTVHH4.js → P4ZEHUY6.js} +12 -12
- package/dist/calcite/{K3STTJ72.js → PCBQ3ZHJ.js} +12 -12
- package/dist/calcite/{XHBZX37N.js → PCT7VTOI.js} +1 -1
- package/dist/calcite/{7LQZSGVW.js → PKIEDWIA.js} +2 -2
- package/dist/calcite/{PB5SGQT2.js → PLCEINKP.js} +2 -2
- package/dist/calcite/{2O5RPIUD.js → PUF5MLJK.js} +2 -2
- package/dist/calcite/{OJVJSRQE.js → Q3NQR2QT.js} +8 -8
- package/dist/calcite/{5IUELJWF.js → Q3T3FI2O.js} +2 -2
- package/dist/calcite/{MFXY5F4G.js → Q4RLAO5K.js} +7 -7
- package/dist/calcite/{BVUJCE5Y.js → Q4UVVKRS.js} +9 -9
- package/dist/calcite/{RBKJUOZG.js → Q6LB76PU.js} +16 -16
- package/dist/calcite/{44NVO5GP.js → QGHHZGWA.js} +2 -2
- package/dist/calcite/{UP7FWH5A.js → QHL5LGFS.js} +8 -8
- package/dist/calcite/{L35M4L26.js → QKUZCVUI.js} +2 -2
- package/dist/calcite/{QJVAP6OS.js → QWO6ILSG.js} +2 -2
- package/dist/calcite/{HEGXJOWO.js → QYQJIH7V.js} +2 -2
- package/dist/calcite/{W4GBGF7T.js → R5FUKXAO.js} +1 -1
- package/dist/calcite/{OXBMT3FD.js → R7JO5Q3A.js} +2 -2
- package/dist/calcite/{73WX7PU2.js → RAE27HBD.js} +2 -2
- package/dist/calcite/{S3R75GIY.js → RCK5CEYY.js} +10 -10
- package/dist/calcite/{UGRFXAKM.js → RDEBHZSO.js} +7 -7
- package/dist/calcite/{R2PGASB2.js → RIGRPUPB.js} +2 -2
- package/dist/calcite/{F4GJ2SYT.js → RKJJZ5OX.js} +2 -2
- package/dist/calcite/{JPR7CLXM.js → RLTQPAQG.js} +2 -2
- package/dist/calcite/{M5NTW7KX.js → ROWB5EWC.js} +2 -2
- package/dist/calcite/{5M7ABVB3.js → RTBFSIFZ.js} +2 -2
- package/dist/calcite/{3WDXGI73.js → S2VJPJEF.js} +8 -8
- package/dist/calcite/{FEXGJQJV.js → S54ATOPZ.js} +2 -2
- package/dist/calcite/{LZY4XZ4N.js → S7AFWJHF.js} +8 -8
- package/dist/calcite/{XPBTY5HD.js → SA6V53MW.js} +60 -48
- package/dist/calcite/{Z6REMIJK.js → SFPWEB5E.js} +13 -13
- package/dist/calcite/{ZWOY2JDV.js → SI7H6IT4.js} +11 -11
- package/dist/calcite/{NBPGN6JH.js → SITJWYZU.js} +2 -2
- package/dist/calcite/{O2PR6RU2.js → SLRXSMPE.js} +9 -9
- package/dist/calcite/{6VSM5BRY.js → SMY2C3WD.js} +2 -2
- package/dist/calcite/{YCNUX5KR.js → SNJPH3QL.js} +9 -9
- package/dist/calcite/{GJILWUOP.js → SRNMDLIP.js} +2 -2
- package/dist/calcite/{7MKMOXBG.js → T7GF2GMB.js} +1 -1
- package/dist/calcite/{WALKLLRH.js → T7WX3RZG.js} +2 -2
- package/dist/calcite/{N63D6EN6.js → TBKOALCE.js} +7 -7
- package/dist/calcite/{53SAM72J.js → TBSY6AKD.js} +7 -7
- package/dist/calcite/{CG2S65FH.js → TDLTMRKT.js} +2 -2
- package/dist/calcite/{ZUTCNPG5.js → TKUGAMTN.js} +2 -2
- package/dist/calcite/{DZP62FUQ.js → TTJHPHGG.js} +15 -15
- package/dist/calcite/{EXUXAUAJ.js → TYE2KZ33.js} +2 -2
- package/dist/calcite/{IB7LOWWC.js → TYLWVFTW.js} +7 -7
- package/dist/calcite/{H3NQNW2S.js → TZOXRNKB.js} +2 -2
- package/dist/calcite/{K3NNZZKW.js → U2D3P2EF.js} +29 -29
- package/dist/calcite/{ONZTOFLW.js → U2FRSIXN.js} +1 -1
- package/dist/calcite/{2IE2M2I3.js → UBWSW7HK.js} +11 -11
- package/dist/calcite/{MG656MCG.js → UIDTZ3PY.js} +8 -8
- package/dist/calcite/{WTI62Z5A.js → UJBMOVAW.js} +2 -2
- package/dist/calcite/{WNKJUXAW.js → UN4TXKLA.js} +9 -9
- package/dist/calcite/{K3VQNHMG.js → US37HAMA.js} +2 -2
- package/dist/calcite/{ZABLP4SX.js → V2R4ERZV.js} +1 -1
- package/dist/calcite/{5FYUMT4O.js → V3ZXJ7HJ.js} +8 -8
- package/dist/calcite/{5GDZ7JM5.js → VB6VGNP2.js} +10 -10
- package/dist/calcite/{DU3LHI5V.js → VCB2LQO3.js} +2 -2
- package/dist/calcite/{ZHFZQVJN.js → VHEKAXOP.js} +2 -2
- package/dist/calcite/{QTAYDVJN.js → VKWTNY23.js} +1 -1
- package/dist/calcite/{Y3QVVWDT.js → VL3GFXUA.js} +11 -11
- package/dist/calcite/{IKBSQB4C.js → VP7F4QAT.js} +9 -9
- package/dist/calcite/{JBGZGNZP.js → VQIJZEBJ.js} +2 -2
- package/dist/calcite/{4S5CL45L.js → VSCHR26D.js} +2 -2
- package/dist/calcite/{BEZBI57A.js → VWPKMPK7.js} +2 -2
- package/dist/calcite/{K2675DID.js → VWZOGHKI.js} +2 -2
- package/dist/calcite/{LCZVQ3D7.js → W74VMMEJ.js} +7 -7
- package/dist/calcite/{2XVL6O4T.js → WUWPMH7R.js} +2 -2
- package/dist/calcite/{PFOYIDOP.js → WXQACW7O.js} +1 -1
- package/dist/calcite/{ZOSB2BBW.js → X3UY3Y5T.js} +10 -10
- package/dist/calcite/{OKQ3I37O.js → X3X72PMF.js} +7 -7
- package/dist/calcite/{C3JRUH5R.js → X6G75V6J.js} +10 -10
- package/dist/calcite/{FWXPYUNV.js → XF3UWGKU.js} +9 -9
- package/dist/calcite/{ZLC34MHR.js → XHUY5YN3.js} +7 -7
- package/dist/calcite/{DAPYKTY2.js → XQYWAEJX.js} +7 -7
- package/dist/calcite/{G4W3WCJX.js → Y3E6G5HP.js} +10 -10
- package/dist/calcite/{X4NWDUVA.js → Z42QPIRU.js} +18 -18
- package/dist/calcite/{ZY2ETONK.js → ZBJ4FV62.js} +10 -10
- package/dist/calcite/{FNMBC252.js → ZIWOTELU.js} +2 -2
- package/dist/calcite/{HRD57O2O.js → ZOIOH42T.js} +2 -2
- package/dist/calcite/calcite.css +13 -13
- package/dist/calcite/calcite.esm.js +16 -16
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/focusTrapComponent.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/loadable.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +3 -2
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +6 -6
- package/dist/components/calcite-action/customElement.js +6 -6
- package/dist/components/calcite-action-bar/customElement.js +6 -6
- package/dist/components/calcite-action-group/customElement.js +6 -6
- package/dist/components/calcite-action-menu/customElement.js +6 -6
- package/dist/components/calcite-action-pad/customElement.js +6 -6
- package/dist/components/calcite-alert/customElement.js +6 -6
- package/dist/components/calcite-avatar/customElement.js +6 -6
- package/dist/components/calcite-block/customElement.d.ts +0 -2
- package/dist/components/calcite-block/customElement.js +6 -6
- package/dist/components/calcite-block-section/customElement.js +6 -6
- package/dist/components/calcite-button/customElement.js +6 -6
- package/dist/components/calcite-card/customElement.js +6 -6
- package/dist/components/calcite-card-group/customElement.js +6 -6
- package/dist/components/calcite-carousel/customElement.js +6 -6
- package/dist/components/calcite-carousel-item/customElement.js +6 -6
- package/dist/components/calcite-checkbox/customElement.js +6 -6
- package/dist/components/calcite-chip/customElement.js +6 -6
- package/dist/components/calcite-chip-group/customElement.js +6 -6
- package/dist/components/calcite-color-picker/customElement.js +6 -6
- package/dist/components/calcite-color-picker-hex-input/customElement.js +6 -6
- package/dist/components/calcite-color-picker-swatch/customElement.js +6 -6
- package/dist/components/calcite-combobox/customElement.js +6 -6
- package/dist/components/calcite-combobox-item/customElement.js +6 -6
- package/dist/components/calcite-combobox-item-group/customElement.js +6 -6
- package/dist/components/calcite-date-picker/customElement.js +6 -6
- package/dist/components/calcite-date-picker-day/customElement.js +6 -6
- package/dist/components/calcite-date-picker-month/customElement.js +6 -6
- package/dist/components/calcite-date-picker-month-header/customElement.js +6 -6
- package/dist/components/calcite-dialog/customElement.js +8 -8
- package/dist/components/calcite-dropdown/customElement.js +6 -6
- package/dist/components/calcite-dropdown-group/customElement.js +6 -6
- package/dist/components/calcite-dropdown-item/customElement.js +6 -6
- package/dist/components/calcite-fab/customElement.js +6 -6
- package/dist/components/calcite-filter/customElement.js +6 -6
- package/dist/components/calcite-flow/customElement.js +6 -6
- package/dist/components/calcite-flow-item/customElement.js +6 -6
- package/dist/components/calcite-graph/customElement.js +6 -6
- package/dist/components/calcite-handle/customElement.js +6 -6
- package/dist/components/calcite-icon/customElement.js +6 -6
- package/dist/components/calcite-inline-editable/customElement.js +6 -6
- package/dist/components/calcite-input/customElement.js +6 -6
- package/dist/components/calcite-input-date-picker/customElement.js +6 -6
- package/dist/components/calcite-input-message/customElement.js +6 -6
- package/dist/components/calcite-input-number/customElement.js +6 -6
- package/dist/components/calcite-input-text/customElement.js +6 -6
- package/dist/components/calcite-input-time-picker/customElement.js +6 -6
- package/dist/components/calcite-input-time-zone/customElement.js +6 -6
- package/dist/components/calcite-label/customElement.js +6 -6
- package/dist/components/calcite-link/customElement.js +6 -6
- package/dist/components/calcite-list/customElement.js +6 -6
- package/dist/components/calcite-list-item/customElement.js +6 -6
- package/dist/components/calcite-list-item-group/customElement.js +6 -6
- package/dist/components/calcite-loader/customElement.js +6 -6
- package/dist/components/calcite-menu/customElement.js +6 -6
- package/dist/components/calcite-menu-item/customElement.js +6 -6
- package/dist/components/calcite-meter/customElement.js +6 -6
- package/dist/components/calcite-modal/customElement.js +6 -6
- package/dist/components/calcite-navigation/customElement.js +6 -6
- package/dist/components/calcite-navigation-logo/customElement.js +44 -34
- package/dist/components/calcite-navigation-user/customElement.js +54 -42
- package/dist/components/calcite-notice/customElement.js +6 -6
- package/dist/components/calcite-option/customElement.js +6 -6
- package/dist/components/calcite-option-group/customElement.js +6 -6
- package/dist/components/calcite-pagination/customElement.js +6 -6
- package/dist/components/calcite-panel/customElement.js +76 -44
- package/dist/components/calcite-panel/resources.d.ts +1 -0
- package/dist/components/calcite-popover/customElement.js +6 -6
- package/dist/components/calcite-progress/customElement.js +6 -6
- package/dist/components/calcite-radio-button/customElement.d.ts +0 -6
- package/dist/components/calcite-radio-button/customElement.js +9 -11
- package/dist/components/calcite-radio-button-group/customElement.js +6 -6
- package/dist/components/calcite-rating/customElement.js +6 -6
- package/dist/components/calcite-scrim/customElement.js +6 -6
- package/dist/components/calcite-segmented-control/customElement.js +6 -6
- package/dist/components/calcite-segmented-control-item/customElement.js +6 -6
- package/dist/components/calcite-select/customElement.js +6 -6
- package/dist/components/calcite-sheet/customElement.js +6 -6
- package/dist/components/calcite-shell/customElement.js +6 -6
- package/dist/components/calcite-shell-center-row/customElement.js +6 -6
- package/dist/components/calcite-shell-panel/customElement.js +6 -6
- package/dist/components/calcite-slider/customElement.js +6 -6
- package/dist/components/calcite-sort-handle/customElement.js +6 -6
- package/dist/components/calcite-sortable-list/customElement.js +6 -6
- package/dist/components/calcite-split-button/customElement.js +6 -6
- package/dist/components/calcite-stack/customElement.js +6 -6
- package/dist/components/calcite-stepper/customElement.js +6 -6
- package/dist/components/calcite-stepper-item/customElement.js +6 -6
- package/dist/components/calcite-switch/customElement.js +6 -6
- package/dist/components/calcite-tab/customElement.js +6 -6
- package/dist/components/calcite-tab-nav/customElement.js +6 -6
- package/dist/components/calcite-tab-title/customElement.js +6 -6
- package/dist/components/calcite-table/customElement.js +6 -6
- package/dist/components/calcite-table-cell/customElement.js +6 -6
- package/dist/components/calcite-table-header/customElement.js +6 -6
- package/dist/components/calcite-table-row/customElement.js +6 -6
- package/dist/components/calcite-tabs/customElement.js +6 -6
- package/dist/components/calcite-text-area/customElement.js +6 -6
- package/dist/components/calcite-tile/customElement.js +6 -6
- package/dist/components/calcite-tile-group/customElement.js +6 -6
- package/dist/components/calcite-tile-select/customElement.js +6 -6
- package/dist/components/calcite-tile-select-group/customElement.js +6 -6
- package/dist/components/calcite-time-picker/customElement.js +6 -6
- package/dist/components/calcite-tip/customElement.js +6 -6
- package/dist/components/calcite-tip-group/customElement.js +6 -6
- package/dist/components/calcite-tip-manager/customElement.js +6 -6
- package/dist/components/calcite-tooltip/customElement.js +6 -6
- package/dist/components/calcite-tree/customElement.js +6 -6
- package/dist/components/calcite-tree-item/customElement.js +6 -6
- package/dist/custom-theme/navigation-logo.d.ts +7 -0
- package/dist/custom-theme/navigation-user.d.ts +9 -0
- package/dist/docs/api.json +112 -43
- package/dist/docs/docs.json +139 -38
- package/dist/docs/vscode.css-custom-data.json +106 -6
- package/dist/docs/vscode.html-custom-data.json +3 -8
- package/dist/docs/web-types.json +110 -22
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +2 -2
- package/dist/calcite/GTPE22NJ.js +0 -6
- package/dist/calcite/JZH23DA3.js +0 -422
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.24
|
|
5
5
|
*/
|
|
6
6
|
function o(n){return n==="l"?"m":"s"}async function c(n){await(t(n)?n.componentOnReady():new Promise(e=>requestAnimationFrame(()=>e())))}function t(n){return typeof n.componentOnReady=="function"}export{o as a,c as b};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.24
|
|
5
5
|
*/
|
|
6
|
-
import{a as E,b as W,c as X,d as T,e as j,f as Z,q as _}from"./TWLNKBCY.js";import{H as Q}from"./WVREUXHA.js";function se(i,a,u){return(a=fe(a))in i?Object.defineProperty(i,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[a]=u,i}function ee(i,a){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);a&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(i,b).enumerable})),u.push.apply(u,o)}return u}function te(i){for(var a=1;a<arguments.length;a++){var u=arguments[a]!=null?arguments[a]:{};a%2?ee(Object(u),!0).forEach(function(o){se(i,o,u[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):ee(Object(u)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(u,o))})}return i}function ce(i,a){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var o=u.call(i,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}function fe(i){var a=ce(i,"string");return typeof a=="symbol"?a:a+""}var ae={activateTrap:function(a,u){if(a.length>0){var o=a[a.length-1];o!==u&&o.pause()}var b=a.indexOf(u);b===-1||a.splice(b,1),a.push(u)},deactivateTrap:function(a,u){var o=a.indexOf(u);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},le=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},de=function(a){return a?.key==="Escape"||a?.key==="Esc"||a?.keyCode===27},B=function(a){return a?.key==="Tab"||a?.keyCode===9},ve=function(a){return B(a)&&!a.shiftKey},be=function(a){return B(a)&&a.shiftKey},ne=function(a){return setTimeout(a,0)},re=function(a,u){var o=-1;return a.every(function(b,s){return u(b)?(o=s,!1):!0}),o},L=function(a){for(var u=arguments.length,o=new Array(u>1?u-1:0),b=1;b<u;b++)o[b-1]=arguments[b];return typeof a=="function"?a.apply(void 0,o):a},A=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},pe=[],oe=function(a,u){var o=u?.document||document,b=u?.trapStack||pe,s=te({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ve,isKeyBackward:be},u),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,h=function(e,t,r){return e&&e[t]!==void 0?e[t]:s[r||t]},N=function(e,t){var r=typeof t?.composedPath=="function"?t.composedPath():void 0;return n.containerGroups.findIndex(function(c){var f=c.container,d=c.tabbableNodes;return f.contains(e)||r?.includes(f)||d.find(function(v){return v===e})})},k=function(e){var t=s[e];if(typeof t=="function"){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];t=t.apply(void 0,c)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var d=t;if(typeof t=="string"&&(d=o.querySelector(t),!d))throw new Error("`".concat(e,"` as selector refers to no known node"));return d},D=function(){var e=k("initialFocus");if(e===!1)return!1;if(e===void 0||!j(e,s.tabbableOptions))if(N(o.activeElement)>=0)e=o.activeElement;else{var t=n.tabbableGroups[0],r=t&&t.firstTabbableNode;e=r||k("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},P=function(){if(n.containerGroups=n.containers.map(function(e){var t=W(e,s.tabbableOptions),r=X(e,s.tabbableOptions),c=t.length>0?t[0]:void 0,f=t.length>0?t[t.length-1]:void 0,d=r.find(function(p){return T(p)}),v=r.slice().reverse().find(function(p){return T(p)}),m=!!t.find(function(p){return E(p)>0});return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:m,firstTabbableNode:c,lastTabbableNode:f,firstDomTabbableNode:d,lastDomTabbableNode:v,nextTabbableNode:function(F){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,w=t.indexOf(F);return w<0?R?r.slice(r.indexOf(F)+1).find(function(K){return T(K)}):r.slice(0,r.indexOf(F)).reverse().find(function(K){return T(K)}):t[w+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(e){return e.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?S(t.shadowRoot):t},g=function(e){if(e!==!1&&e!==S(document)){if(!e||!e.focus){g(D());return}e.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=e,le(e)&&e.select()}},U=function(e){var t=k("setReturnFocus",e);return t||(t===!1?!1:e)},q=function(e){var t=e.target,r=e.event,c=e.isBackward,f=c===void 0?!1:c;t=t||A(r),P();var d=null;if(n.tabbableGroups.length>0){var v=N(t,r),m=v>=0?n.containerGroups[v]:void 0;if(v<0)f?d=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:d=n.tabbableGroups[0].firstTabbableNode;else if(f){var p=re(n.tabbableGroups,function(I){var G=I.firstTabbableNode;return t===G});if(p<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t,!1))&&(p=v),p>=0){var F=p===0?n.tabbableGroups.length-1:p-1,R=n.tabbableGroups[F];d=E(t)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t,!1))}else{var w=re(n.tabbableGroups,function(I){var G=I.lastTabbableNode;return t===G});if(w<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t))&&(w=v),w>=0){var K=w===n.tabbableGroups.length-1?0:w+1,J=n.tabbableGroups[K];d=E(t)>=0?J.firstTabbableNode:J.firstDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t))}}else d=k("fallbackFocus");return d},C=function(e){var t=A(e);if(!(N(t,e)>=0)){if(L(s.clickOutsideDeactivates,e)){y.deactivate({returnFocus:s.returnFocusOnDeactivate});return}L(s.allowOutsideClick,e)||e.preventDefault()}},H=function(e){var t=A(e),r=N(t,e)>=0;if(r||t instanceof Document)r&&(n.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var c,f=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var d=N(n.mostRecentlyFocusedNode),v=n.containerGroups[d].tabbableNodes;if(v.length>0){var m=v.findIndex(function(p){return p===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<v.length&&(c=v[m+1],f=!1):m-1>=0&&(c=v[m-1],f=!1))}}else n.containerGroups.some(function(p){return p.tabbableNodes.some(function(F){return E(F)>0})})||(f=!1);else f=!1;f&&(c=q({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),g(c||n.mostRecentlyFocusedNode||D())}n.recentNavEvent=void 0},ie=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=e;var r=q({event:e,isBackward:t});r&&(B(e)&&e.preventDefault(),g(r))},M=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&ie(e,s.isKeyBackward(e))},Y=function(e){de(e)&&L(s.escapeDeactivates,e)!==!1&&(e.preventDefault(),y.deactivate())},V=function(e){var t=A(e);N(t,e)>=0||L(s.clickOutsideDeactivates,e)||L(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},$=function(){if(n.active)return ae.activateTrap(b,y),n.delayInitialFocusTimer=s.delayInitialFocus?ne(function(){g(D())}):g(D()),o.addEventListener("focusin",H,!0),o.addEventListener("mousedown",C,{capture:!0,passive:!1}),o.addEventListener("touchstart",C,{capture:!0,passive:!1}),o.addEventListener("click",V,{capture:!0,passive:!1}),o.addEventListener("keydown",M,{capture:!0,passive:!1}),o.addEventListener("keydown",Y),y},z=function(){if(n.active)return o.removeEventListener("focusin",H,!0),o.removeEventListener("mousedown",C,!0),o.removeEventListener("touchstart",C,!0),o.removeEventListener("click",V,!0),o.removeEventListener("keydown",M,!0),o.removeEventListener("keydown",Y),y},ue=function(e){var t=e.some(function(r){var c=Array.from(r.removedNodes);return c.some(function(f){return f===n.mostRecentlyFocusedNode})});t&&g(D())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ue):void 0,O=function(){x&&(x.disconnect(),n.active&&!n.paused&&n.containers.map(function(e){x.observe(e,{subtree:!0,childList:!0})}))};return y={get active(){return n.active},get paused(){return n.paused},activate:function(e){if(n.active)return this;var t=h(e,"onActivate"),r=h(e,"onPostActivate"),c=h(e,"checkCanFocusTrap");c||P(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=o.activeElement,t?.();var f=function(){c&&P(),$(),O(),r?.()};return c?(c(n.containers.concat()).then(f,f),this):(f(),this)},deactivate:function(e){if(!n.active)return this;var t=te({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,z(),n.active=!1,n.paused=!1,O(),ae.deactivateTrap(b,y);var r=h(t,"onDeactivate"),c=h(t,"onPostDeactivate"),f=h(t,"checkCanReturnFocus"),d=h(t,"returnFocus","returnFocusOnDeactivate");r?.();var v=function(){ne(function(){d&&g(U(n.nodeFocusedBeforeActivation)),c?.()})};return d&&f?(f(U(n.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(e){if(n.paused||!n.active)return this;var t=h(e,"onPause"),r=h(e,"onPostPause");return n.paused=!0,t?.(),z(),O(),r?.(),this},unpause:function(e){if(!n.paused||!n.active)return this;var t=h(e,"onUnpause"),r=h(e,"onPostUnpause");return n.paused=!1,t?.(),P(),$(),O(),r?.(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return n.containers=t.map(function(r){return typeof r=="string"?o.querySelector(r):r}),n.active&&P(),O(),this}},y.updateContainerElements(a),y};function Fe(i,a){let{el:u}=i,o=a?.focusTrapEl||u;if(!o)return;let b={fallbackFocus:o,setReturnFocus:s=>(_(s),!1),...a?.focusTrapOptions,document:u.ownerDocument,tabbableOptions:Z,trapStack:Q};i.focusTrap=oe(o,b)}function Te(i,a){i.focusTrapDisabled||i.focusTrap?.activate(a)}function Ne(i,a){i.focusTrap?.deactivate(a)}function Ee(i){i.focusTrap?.updateContainerElements(i.el)}export{Fe as a,Te as b,Ne as c,Ee as d};
|
|
6
|
+
import{a as E,b as W,c as X,d as T,e as j,f as Z,q as _}from"./4ZVHMPEI.js";import{H as Q}from"./2HMSJKQL.js";function se(i,a,u){return(a=fe(a))in i?Object.defineProperty(i,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[a]=u,i}function ee(i,a){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);a&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(i,b).enumerable})),u.push.apply(u,o)}return u}function te(i){for(var a=1;a<arguments.length;a++){var u=arguments[a]!=null?arguments[a]:{};a%2?ee(Object(u),!0).forEach(function(o){se(i,o,u[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):ee(Object(u)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(u,o))})}return i}function ce(i,a){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var o=u.call(i,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}function fe(i){var a=ce(i,"string");return typeof a=="symbol"?a:a+""}var ae={activateTrap:function(a,u){if(a.length>0){var o=a[a.length-1];o!==u&&o.pause()}var b=a.indexOf(u);b===-1||a.splice(b,1),a.push(u)},deactivateTrap:function(a,u){var o=a.indexOf(u);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},le=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},de=function(a){return a?.key==="Escape"||a?.key==="Esc"||a?.keyCode===27},B=function(a){return a?.key==="Tab"||a?.keyCode===9},ve=function(a){return B(a)&&!a.shiftKey},be=function(a){return B(a)&&a.shiftKey},ne=function(a){return setTimeout(a,0)},re=function(a,u){var o=-1;return a.every(function(b,s){return u(b)?(o=s,!1):!0}),o},L=function(a){for(var u=arguments.length,o=new Array(u>1?u-1:0),b=1;b<u;b++)o[b-1]=arguments[b];return typeof a=="function"?a.apply(void 0,o):a},A=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},pe=[],oe=function(a,u){var o=u?.document||document,b=u?.trapStack||pe,s=te({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ve,isKeyBackward:be},u),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,h=function(e,t,r){return e&&e[t]!==void 0?e[t]:s[r||t]},N=function(e,t){var r=typeof t?.composedPath=="function"?t.composedPath():void 0;return n.containerGroups.findIndex(function(c){var f=c.container,d=c.tabbableNodes;return f.contains(e)||r?.includes(f)||d.find(function(v){return v===e})})},k=function(e){var t=s[e];if(typeof t=="function"){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];t=t.apply(void 0,c)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var d=t;if(typeof t=="string"&&(d=o.querySelector(t),!d))throw new Error("`".concat(e,"` as selector refers to no known node"));return d},D=function(){var e=k("initialFocus");if(e===!1)return!1;if(e===void 0||!j(e,s.tabbableOptions))if(N(o.activeElement)>=0)e=o.activeElement;else{var t=n.tabbableGroups[0],r=t&&t.firstTabbableNode;e=r||k("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},P=function(){if(n.containerGroups=n.containers.map(function(e){var t=W(e,s.tabbableOptions),r=X(e,s.tabbableOptions),c=t.length>0?t[0]:void 0,f=t.length>0?t[t.length-1]:void 0,d=r.find(function(p){return T(p)}),v=r.slice().reverse().find(function(p){return T(p)}),m=!!t.find(function(p){return E(p)>0});return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:m,firstTabbableNode:c,lastTabbableNode:f,firstDomTabbableNode:d,lastDomTabbableNode:v,nextTabbableNode:function(F){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,w=t.indexOf(F);return w<0?R?r.slice(r.indexOf(F)+1).find(function(K){return T(K)}):r.slice(0,r.indexOf(F)).reverse().find(function(K){return T(K)}):t[w+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(e){return e.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?S(t.shadowRoot):t},g=function(e){if(e!==!1&&e!==S(document)){if(!e||!e.focus){g(D());return}e.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=e,le(e)&&e.select()}},U=function(e){var t=k("setReturnFocus",e);return t||(t===!1?!1:e)},q=function(e){var t=e.target,r=e.event,c=e.isBackward,f=c===void 0?!1:c;t=t||A(r),P();var d=null;if(n.tabbableGroups.length>0){var v=N(t,r),m=v>=0?n.containerGroups[v]:void 0;if(v<0)f?d=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:d=n.tabbableGroups[0].firstTabbableNode;else if(f){var p=re(n.tabbableGroups,function(I){var G=I.firstTabbableNode;return t===G});if(p<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t,!1))&&(p=v),p>=0){var F=p===0?n.tabbableGroups.length-1:p-1,R=n.tabbableGroups[F];d=E(t)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t,!1))}else{var w=re(n.tabbableGroups,function(I){var G=I.lastTabbableNode;return t===G});if(w<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t))&&(w=v),w>=0){var K=w===n.tabbableGroups.length-1?0:w+1,J=n.tabbableGroups[K];d=E(t)>=0?J.firstTabbableNode:J.firstDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t))}}else d=k("fallbackFocus");return d},C=function(e){var t=A(e);if(!(N(t,e)>=0)){if(L(s.clickOutsideDeactivates,e)){y.deactivate({returnFocus:s.returnFocusOnDeactivate});return}L(s.allowOutsideClick,e)||e.preventDefault()}},H=function(e){var t=A(e),r=N(t,e)>=0;if(r||t instanceof Document)r&&(n.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var c,f=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var d=N(n.mostRecentlyFocusedNode),v=n.containerGroups[d].tabbableNodes;if(v.length>0){var m=v.findIndex(function(p){return p===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<v.length&&(c=v[m+1],f=!1):m-1>=0&&(c=v[m-1],f=!1))}}else n.containerGroups.some(function(p){return p.tabbableNodes.some(function(F){return E(F)>0})})||(f=!1);else f=!1;f&&(c=q({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),g(c||n.mostRecentlyFocusedNode||D())}n.recentNavEvent=void 0},ie=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=e;var r=q({event:e,isBackward:t});r&&(B(e)&&e.preventDefault(),g(r))},M=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&ie(e,s.isKeyBackward(e))},Y=function(e){de(e)&&L(s.escapeDeactivates,e)!==!1&&(e.preventDefault(),y.deactivate())},V=function(e){var t=A(e);N(t,e)>=0||L(s.clickOutsideDeactivates,e)||L(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},$=function(){if(n.active)return ae.activateTrap(b,y),n.delayInitialFocusTimer=s.delayInitialFocus?ne(function(){g(D())}):g(D()),o.addEventListener("focusin",H,!0),o.addEventListener("mousedown",C,{capture:!0,passive:!1}),o.addEventListener("touchstart",C,{capture:!0,passive:!1}),o.addEventListener("click",V,{capture:!0,passive:!1}),o.addEventListener("keydown",M,{capture:!0,passive:!1}),o.addEventListener("keydown",Y),y},z=function(){if(n.active)return o.removeEventListener("focusin",H,!0),o.removeEventListener("mousedown",C,!0),o.removeEventListener("touchstart",C,!0),o.removeEventListener("click",V,!0),o.removeEventListener("keydown",M,!0),o.removeEventListener("keydown",Y),y},ue=function(e){var t=e.some(function(r){var c=Array.from(r.removedNodes);return c.some(function(f){return f===n.mostRecentlyFocusedNode})});t&&g(D())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ue):void 0,O=function(){x&&(x.disconnect(),n.active&&!n.paused&&n.containers.map(function(e){x.observe(e,{subtree:!0,childList:!0})}))};return y={get active(){return n.active},get paused(){return n.paused},activate:function(e){if(n.active)return this;var t=h(e,"onActivate"),r=h(e,"onPostActivate"),c=h(e,"checkCanFocusTrap");c||P(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=o.activeElement,t?.();var f=function(){c&&P(),$(),O(),r?.()};return c?(c(n.containers.concat()).then(f,f),this):(f(),this)},deactivate:function(e){if(!n.active)return this;var t=te({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,z(),n.active=!1,n.paused=!1,O(),ae.deactivateTrap(b,y);var r=h(t,"onDeactivate"),c=h(t,"onPostDeactivate"),f=h(t,"checkCanReturnFocus"),d=h(t,"returnFocus","returnFocusOnDeactivate");r?.();var v=function(){ne(function(){d&&g(U(n.nodeFocusedBeforeActivation)),c?.()})};return d&&f?(f(U(n.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(e){if(n.paused||!n.active)return this;var t=h(e,"onPause"),r=h(e,"onPostPause");return n.paused=!0,t?.(),z(),O(),r?.(),this},unpause:function(e){if(!n.paused||!n.active)return this;var t=h(e,"onUnpause"),r=h(e,"onPostUnpause");return n.paused=!1,t?.(),P(),$(),O(),r?.(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return n.containers=t.map(function(r){return typeof r=="string"?o.querySelector(r):r}),n.active&&P(),O(),this}},y.updateContainerElements(a),y};function Fe(i,a){let{el:u}=i,o=a?.focusTrapEl||u;if(!o)return;let b={fallbackFocus:o,setReturnFocus:s=>(_(s),!1),...a?.focusTrapOptions,document:u.ownerDocument,tabbableOptions:Z,trapStack:Q};i.focusTrap=oe(o,b)}function Te(i,a){i.focusTrapDisabled||i.focusTrap?.activate(a)}function Ne(i,a){i.focusTrap?.deactivate(a)}function Ee(i){i.focusTrap?.updateContainerElements(i.el)}export{Fe as a,Te as b,Ne as c,Ee as d};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.24
|
|
5
5
|
*/
|
|
6
|
-
import{a as D}from"./
|
|
6
|
+
import{a as D}from"./R5FUKXAO.js";import{a as N}from"./HRSMVHMS.js";import{j as n}from"./GEGOWRIG.js";import{c as T,e as I,h as M}from"./VWZOGHKI.js";import{c as F,d as G,e as W}from"./TYE2KZ33.js";import{a as $,b as A}from"./HKY25TIX.js";import"./26VL7UQF.js";import{d as O}from"./V2R4ERZV.js";import"./OIJ7SO3I.js";import{a as L}from"./RTBFSIFZ.js";import{a as H}from"./7XY2DT76.js";import{a as S,b as m}from"./Q3T3FI2O.js";import{z as p}from"./4ZVHMPEI.js";import{a as E,b as C,c as f,d as k}from"./DVSTJQ6Q.js";import{a as w}from"./VKWTNY23.js";import{A as i,C as o,E as y,M as z,a as l,u as g,w as x,x as v,y as h,z as b}from"./2HMSJKQL.js";import"./DN4EAI4J.js";var a={assistiveText:"assistive-text",characterLimit:"character-limit",content:"content",container:"container",footer:"footer",resizeDisabled:"resize--disabled",resizeDisabledX:"resize--disabled-x",resizeDisabledY:"resize--disabled-y",characterOverLimit:"character--over-limit",readOnly:"readonly",textAreaInvalid:"text-area--invalid",footerSlotted:"footer--slotted",hide:"hide",footerEndSlotOnly:"footer--end-only",textArea:"text-area",textAreaOnly:"text-area--only"},j={validationMessage:"textAreaValidationMessage"},B={footerStart:"footer-start",footerEnd:"footer-end"},V=100,q=x`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 04:38:06 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -323,12 +323,12 @@ import{a as D}from"./W4GBGF7T.js";import{a as N}from"./WN2PHMUV.js";import{j as
|
|
|
323
323
|
|
|
324
324
|
[hidden] {
|
|
325
325
|
display: none;
|
|
326
|
-
}`,u=class extends b{constructor(){super(...arguments),this.attributeWatch=g(["autofocus","spellcheck"],this.handleGlobalAttributesChanged),this.footerEl=S(),this.guid=w(),this.resizeObserver=L("resize",async()=>{await f(this);let{textAreaHeight:e,textAreaWidth:t,elHeight:r,elWidth:c,footerHeight:d,footerWidth:s}=this.getHeightAndWidthOfElements();s>0&&s!==t&&(this.footerEl.value.style.width=`${t}px`),(c!==t||r!==e+(d||0))&&this.setHeightAndWidthToAuto()}),this.setHeightAndWidthToAuto=O(()=>{(this.resize==="vertical"||this.resize==="both")&&(this.el.style.height="auto"),(this.resize==="horizontal"||this.resize==="both")&&(this.el.style.width="auto")},V,{leading:!1}),this.disabled=!1,this.groupSeparator=!1,this.messages=H({blocking:!0}),this.readOnly=!1,this.required=!1,this.resize="both",this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value="",this.wrap="soft",this.calciteTextAreaChange=h(),this.calciteTextAreaInput=h()}static{this.properties={endSlotHasElements:[16,{state:!0}],startSlotHasElements:[16,{state:!0}],columns:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],label:1,maxLength:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],minLength:[11,{reflect:!0,type:Number}],name:[3,{reflect:!0}],numberingSystem:1,placeholder:1,readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],resize:[3,{reflect:!0}],rows:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:y}],validationMessage:1,validity:[0,{attribute:!1}],value:1,wrap:[3,{reflect:!0}]}}static{this.styles=q}async selectText(){await f(this),this.textAreaEl.select()}async setFocus(){await k(this),this.textAreaEl.focus()}connectedCallback(){super.connectedCallback(),
|
|
326
|
+
}`,u=class extends b{constructor(){super(...arguments),this.attributeWatch=g(["autofocus","spellcheck"],this.handleGlobalAttributesChanged),this.footerEl=S(),this.guid=w(),this.resizeObserver=L("resize",async()=>{await f(this);let{textAreaHeight:e,textAreaWidth:t,elHeight:r,elWidth:c,footerHeight:d,footerWidth:s}=this.getHeightAndWidthOfElements();s>0&&s!==t&&(this.footerEl.value.style.width=`${t}px`),(c!==t||r!==e+(d||0))&&this.setHeightAndWidthToAuto()}),this.setHeightAndWidthToAuto=O(()=>{(this.resize==="vertical"||this.resize==="both")&&(this.el.style.height="auto"),(this.resize==="horizontal"||this.resize==="both")&&(this.el.style.width="auto")},V,{leading:!1}),this.disabled=!1,this.groupSeparator=!1,this.messages=H({blocking:!0}),this.readOnly=!1,this.required=!1,this.resize="both",this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value="",this.wrap="soft",this.calciteTextAreaChange=h(),this.calciteTextAreaInput=h()}static{this.properties={endSlotHasElements:[16,{state:!0}],startSlotHasElements:[16,{state:!0}],columns:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],label:1,maxLength:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],minLength:[11,{reflect:!0,type:Number}],name:[3,{reflect:!0}],numberingSystem:1,placeholder:1,readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],resize:[3,{reflect:!0}],rows:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:y}],validationMessage:1,validity:[0,{attribute:!1}],value:1,wrap:[3,{reflect:!0}]}}static{this.styles=q}async selectText(){await f(this),this.textAreaEl.select()}async setFocus(){await k(this),this.textAreaEl.focus()}connectedCallback(){super.connectedCallback(),F(this),T(this)}async load(){E(this)}updated(){$(this),this.setTextAreaHeight()}loaded(){C(this)}disconnectedCallback(){super.disconnectedCallback(),G(this),I(this),this.resizeObserver?.disconnect()}handleGlobalAttributesChanged(){this.requestUpdate()}onLabelClick(){this.setFocus()}handleInput(e){this.value=e.target.value,this.calciteTextAreaInput.emit()}handleChange(){this.calciteTextAreaChange.emit()}contentSlotChangeHandler(){this.value||this.el.childNodes.forEach(t=>{t.nodeName==="#text"&&(this.value=t.nodeValue.trim())})}getLocalizedCharacterLength(){let e=this.value?this.value.length.toString():"0",t=this.maxLength.toString();return this.numberingSystem==="latn"?{currentLength:e,maxLength:t}:(n.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:n.localize(e),maxLength:n.localize(t)})}syncHiddenFormInput(e){e.setCustomValidity(""),this.isCharacterLimitExceeded()&&e.setCustomValidity(this.replacePlaceholdersInMessages()),D("textarea",this,e)}setTextAreaEl(e){e&&(this.textAreaEl=e,this.resizeObserver?.observe(e))}setTextAreaHeight(){let{textAreaHeight:e,elHeight:t,footerHeight:r}=this.getHeightAndWidthOfElements();r>0&&e+r!=t&&(this.textAreaEl.style.height=`${t-r}px`)}getHeightAndWidthOfElements(){let{height:e,width:t}=this.textAreaEl.getBoundingClientRect(),{height:r,width:c}=this.el.getBoundingClientRect(),{height:d,width:s}=this.footerEl.value?this.footerEl.value.getBoundingClientRect():{height:0,width:0};return{textAreaHeight:e,textAreaWidth:t,elHeight:r,elWidth:c,footerHeight:d,footerWidth:s}}replacePlaceholdersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}render(){let e=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return A({disabled:this.disabled,children:l`
|
|
327
327
|
<textarea
|
|
328
328
|
aria-describedby=${this.guid??o}
|
|
329
329
|
aria-errormessage=${j.validationMessage}
|
|
330
330
|
.ariaInvalid=${this.status==="invalid"||this.isCharacterLimitExceeded()}
|
|
331
|
-
.ariaLabel=${
|
|
331
|
+
.ariaLabel=${W(this)}
|
|
332
332
|
.autofocus=${this.el.autofocus}
|
|
333
333
|
class=${i({[a.textArea]:!0,[a.readOnly]:this.readOnly,[a.textAreaInvalid]:this.isCharacterLimitExceeded(),[a.footerSlotted]:this.endSlotHasElements&&this.startSlotHasElements,[a.textAreaOnly]:!e})}
|
|
334
334
|
.cols=${this.columns}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.24
|
|
5
5
|
*/
|
|
6
|
-
import{b as P,d as
|
|
6
|
+
import{b as P,d as F}from"./OIV47V3G.js";import{a as n,b as v,d as m,e as x}from"./T7GF2GMB.js";import{a as M,b as T}from"./HKY25TIX.js";import{a as h}from"./VHEKAXOP.js";import{a as G}from"./7XY2DT76.js";import{a as b,b as C}from"./Q3T3FI2O.js";import{j as A,r as I,z as g}from"./4ZVHMPEI.js";import{a as B,b as O,d as D}from"./DVSTJQ6Q.js";import"./VKWTNY23.js";import{A as a,M as k,a as i,e as w,w as H,y as c,z as L}from"./2HMSJKQL.js";import"./DN4EAI4J.js";var j=H`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 04:38:06 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -365,7 +365,7 @@ import{b as P,d as z}from"./GY274UYS.js";import{a as n,b as v,d as m,e as x}from
|
|
|
365
365
|
|
|
366
366
|
[hidden] {
|
|
367
367
|
display: none;
|
|
368
|
-
}`,E=new Map,q="calcite-list",y=class extends L{constructor(){super(),this.actionsEndEl=b(),this.actionsStartEl=b(),this.containerEl=b(),this.contentEl=b(),this.defaultSlotEl=b(),this.handleGridEl=b(),this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasContentBottom=!1,this.hasContentEnd=!1,this.hasContentStart=!1,this.hasCustomContent=!1,this.level=null,this.openable=!1,this.active=!1,this.bordered=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.filterHidden=!1,this.interactionMode=null,this.messages=G(),this.moveToItems=[],this.open=!1,this.selected=!1,this.selectionAppearance=null,this.selectionMode=null,this.setPosition=null,this.setSize=null,this.sortHandleOpen=!1,this.unavailable=!1,this.calciteInternalFocusPreviousItem=c({cancelable:!1}),this.calciteInternalListItemActive=c({cancelable:!1}),this.calciteInternalListItemChange=c({cancelable:!1}),this.calciteInternalListItemSelect=c({cancelable:!1}),this.calciteInternalListItemSelectMultiple=c({cancelable:!1}),this.calciteInternalListItemToggle=c({cancelable:!1}),this.calciteListItemClose=c({cancelable:!1}),this.calciteListItemSelect=c({cancelable:!1}),this.calciteListItemSortHandleBeforeClose=c({cancelable:!1}),this.calciteListItemSortHandleBeforeOpen=c({cancelable:!1}),this.calciteListItemSortHandleClose=c({cancelable:!1}),this.calciteListItemSortHandleOpen=c({cancelable:!1}),this.calciteListItemToggle=c({cancelable:!1}),this.listen("calciteInternalListItemGroupDefaultSlotChange",this.handleCalciteInternalListDefaultSlotChanges),this.listen("calciteInternalListDefaultSlotChange",this.handleCalciteInternalListDefaultSlotChanges)}static{this.properties={hasActionsEnd:[16,{state:!0}],hasActionsStart:[16,{state:!0}],hasContentBottom:[16,{state:!0}],hasContentEnd:[16,{state:!0}],hasContentStart:[16,{state:!0}],hasCustomContent:[16,{state:!0}],level:[16,{state:!0}],openable:[16,{state:!0}],parentListEl:[16,{state:!0}],active:[5,{type:Boolean}],bordered:[5,{type:Boolean}],closable:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],dragDisabled:[7,{reflect:!0,type:Boolean}],dragHandle:[5,{type:Boolean}],filterHidden:[7,{reflect:!0,type:Boolean}],interactionMode:1,label:1,messageOverrides:[0,{attribute:!1}],metadata:[0,{attribute:!1}],moveToItems:[0,{attribute:!1}],open:[7,{reflect:!0,type:Boolean}],selected:[7,{reflect:!0,type:Boolean}],selectionAppearance:1,selectionMode:1,setPosition:[9,{type:Number}],setSize:[9,{type:Number}],sortHandleOpen:[5,{type:Boolean}],unavailable:[7,{reflect:!0,type:Boolean}],value:1}}static{this.styles=j}async setFocus(){await D(this);let{containerEl:{value:e},parentListEl:t}=this,o=E.get(t);if(typeof o=="number"){let l=this.getGridCells();l[o]?this.focusCell(l[o]):e?.focus();return}e?.focus()}connectedCallback(){super.connectedCallback();let{el:e}=this;this.parentListEl=e.closest(q),this.level=
|
|
368
|
+
}`,E=new Map,q="calcite-list",y=class extends L{constructor(){super(),this.actionsEndEl=b(),this.actionsStartEl=b(),this.containerEl=b(),this.contentEl=b(),this.defaultSlotEl=b(),this.handleGridEl=b(),this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasContentBottom=!1,this.hasContentEnd=!1,this.hasContentStart=!1,this.hasCustomContent=!1,this.level=null,this.openable=!1,this.active=!1,this.bordered=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.filterHidden=!1,this.interactionMode=null,this.messages=G(),this.moveToItems=[],this.open=!1,this.selected=!1,this.selectionAppearance=null,this.selectionMode=null,this.setPosition=null,this.setSize=null,this.sortHandleOpen=!1,this.unavailable=!1,this.calciteInternalFocusPreviousItem=c({cancelable:!1}),this.calciteInternalListItemActive=c({cancelable:!1}),this.calciteInternalListItemChange=c({cancelable:!1}),this.calciteInternalListItemSelect=c({cancelable:!1}),this.calciteInternalListItemSelectMultiple=c({cancelable:!1}),this.calciteInternalListItemToggle=c({cancelable:!1}),this.calciteListItemClose=c({cancelable:!1}),this.calciteListItemSelect=c({cancelable:!1}),this.calciteListItemSortHandleBeforeClose=c({cancelable:!1}),this.calciteListItemSortHandleBeforeOpen=c({cancelable:!1}),this.calciteListItemSortHandleClose=c({cancelable:!1}),this.calciteListItemSortHandleOpen=c({cancelable:!1}),this.calciteListItemToggle=c({cancelable:!1}),this.listen("calciteInternalListItemGroupDefaultSlotChange",this.handleCalciteInternalListDefaultSlotChanges),this.listen("calciteInternalListDefaultSlotChange",this.handleCalciteInternalListDefaultSlotChanges)}static{this.properties={hasActionsEnd:[16,{state:!0}],hasActionsStart:[16,{state:!0}],hasContentBottom:[16,{state:!0}],hasContentEnd:[16,{state:!0}],hasContentStart:[16,{state:!0}],hasCustomContent:[16,{state:!0}],level:[16,{state:!0}],openable:[16,{state:!0}],parentListEl:[16,{state:!0}],active:[5,{type:Boolean}],bordered:[5,{type:Boolean}],closable:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],dragDisabled:[7,{reflect:!0,type:Boolean}],dragHandle:[5,{type:Boolean}],filterHidden:[7,{reflect:!0,type:Boolean}],interactionMode:1,label:1,messageOverrides:[0,{attribute:!1}],metadata:[0,{attribute:!1}],moveToItems:[0,{attribute:!1}],open:[7,{reflect:!0,type:Boolean}],selected:[7,{reflect:!0,type:Boolean}],selectionAppearance:1,selectionMode:1,setPosition:[9,{type:Number}],setSize:[9,{type:Number}],sortHandleOpen:[5,{type:Boolean}],unavailable:[7,{reflect:!0,type:Boolean}],value:1}}static{this.styles=j}async setFocus(){await D(this);let{containerEl:{value:e},parentListEl:t}=this,o=E.get(t);if(typeof o=="number"){let l=this.getGridCells();l[o]?this.focusCell(l[o]):e?.focus();return}e?.focus()}connectedCallback(){super.connectedCallback();let{el:e}=this;this.parentListEl=e.closest(q),this.level=F(e)+1,this.setSelectionDefaults()}async load(){B(this)}willUpdate(e){e.has("active")&&(this.hasUpdated||this.active!==!1)&&this.activeHandler(this.active),e.has("closed")&&(this.hasUpdated||this.closed!==!1)&&this.handleClosedChange(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.handleOpenChange(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(),e.has("sortHandleOpen")&&(this.hasUpdated||this.sortHandleOpen!==!1)&&this.sortHandleOpenHandler()}updated(){M(this)}loaded(){O(this)}activeHandler(e){e||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleOpenChange(){this.emitCalciteInternalListItemToggle()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}sortHandleOpenHandler(){this.sortHandleEl&&(this.sortHandleEl.open=this.sortHandleOpen)}handleCalciteInternalListDefaultSlotChanges(e){e.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl.value)}setSortHandleEl(e){this.sortHandleEl=e,this.sortHandleOpenHandler()}handleSortHandleBeforeOpen(e){e.stopPropagation(),this.calciteListItemSortHandleBeforeOpen.emit()}handleSortHandleBeforeClose(e){e.stopPropagation(),this.calciteListItemSortHandleBeforeClose.emit()}handleSortHandleClose(e){e.stopPropagation(),this.sortHandleOpen=!1,this.calciteListItemSortHandleClose.emit()}handleSortHandleOpen(e){e.stopPropagation(),this.sortHandleOpen=!0,this.calciteListItemSortHandleOpen.emit()}emitInternalListItemActive(){this.calciteInternalListItemActive.emit()}focusCellHandle(){this.handleCellFocusIn(this.handleGridEl.value)}focusCellActionsStart(){this.handleCellFocusIn(this.actionsStartEl.value)}focusCellContent(){this.handleCellFocusIn(this.contentEl.value)}focusCellActionsEnd(){this.handleCellFocusIn(this.actionsEndEl.value)}emitCalciteInternalListItemToggle(){this.calciteInternalListItemToggle.emit()}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}handleCloseClick(){this.closed=!0,this.calciteListItemClose.emit()}handleContentSlotChange(e){this.hasCustomContent=g(e)}handleActionsStartSlotChange(e){this.hasActionsStart=g(e)}handleActionsEndSlotChange(e){this.hasActionsEnd=g(e)}handleContentStartSlotChange(e){this.hasContentStart=g(e)}handleContentEndSlotChange(e){this.hasContentEnd=g(e)}handleContentBottomSlotChange(e){this.hasContentBottom=g(e)}setSelectionDefaults(){let{parentListEl:e,selectionMode:t,selectionAppearance:o}=this;e&&(t||(this.selectionMode=e.selectionMode),o||(this.selectionAppearance=e.selectionAppearance))}handleOpenableChange(e){e&&(this.openable=P(e))}handleDefaultSlotChange(e){this.handleOpenableChange(e.target)}handleToggleClick(){this.toggle()}toggle(e=!this.open){this.open=e,this.calciteListItemToggle.emit()}handleItemClick(e){e.defaultPrevented||this.toggleSelected(e.shiftKey)}toggleSelected(e){let{selectionMode:t,selected:o}=this;this.disabled||(t==="multiple"||t==="single"?this.selected=!o:t==="single-persist"&&(this.selected=!0),this.calciteInternalListItemSelectMultiple.emit({selectMultiple:e&&t==="multiple"}),this.calciteListItemSelect.emit())}getGridCells(){return[this.handleGridEl.value,this.actionsStartEl.value,this.contentEl.value,this.actionsEndEl.value].filter(e=>e&&!e.hidden)}handleItemKeyDown(e){if(e.defaultPrevented)return;let{key:t}=e,o=e.composedPath(),{containerEl:{value:l},actionsStartEl:{value:r},actionsEndEl:{value:s},open:p,openable:S}=this,d=this.getGridCells(),u=d.findIndex(f=>o.includes(f));if(t==="Enter"&&!o.includes(r)&&!o.includes(s))e.preventDefault(),this.toggleSelected(e.shiftKey);else if(t==="ArrowRight"){e.preventDefault();let f=u+1;u===-1?!p&&S?(this.toggle(!0),this.focusCell(null)):d[0]&&this.focusCell(d[0]):d[u]&&d[f]&&this.focusCell(d[f])}else if(t==="ArrowLeft"){e.preventDefault();let f=u-1;u===-1?(this.focusCell(null),p&&S?this.toggle(!1):this.calciteInternalFocusPreviousItem.emit()):u===0?(this.focusCell(null),l.focus()):d[u]&&d[f]&&this.focusCell(d[f])}}focusCellNull(){this.focusCell(null)}handleCellFocusIn(e){this.setFocusCell(e,I(e),!0)}setFocusCell(e,t,o){let{parentListEl:l}=this;o&&E.set(l,null);let r=this.getGridCells();r.forEach(s=>{s.tabIndex=-1,s.removeAttribute(x)}),e&&(e.tabIndex=e===t?0:-1,e.setAttribute(x,""),o&&E.set(l,r.indexOf(e)))}focusCell(e,t=!0){let o=I(e);this.setFocusCell(e,o,t),o?.focus()}renderSelected(){let{selected:e,selectionMode:t,selectionAppearance:o}=this;return t==="none"||o==="border"?null:h("selection-container",i`<div
|
|
369
369
|
class=${a({[n.selectionContainer]:!0,[n.selectionContainerSingle]:t==="single"||t==="single-persist"})}
|
|
370
370
|
@click=${this.handleItemClick}>
|
|
371
371
|
<calcite-icon
|
|
@@ -443,8 +443,8 @@ import{b as P,d as z}from"./GY274UYS.js";import{a as n,b as v,d as m,e as x}from
|
|
|
443
443
|
role=gridcell
|
|
444
444
|
${C(this.contentEl)}>
|
|
445
445
|
${p}
|
|
446
|
-
</div>`)}render(){let{openable:e,open:t,level:o,active:l,label:r,selected:s,selectionAppearance:p,selectionMode:S,interactionMode:d,closed:u,filterHidden:f,bordered:
|
|
447
|
-
<div class=${a({[n.wrapper]:!0,[n.wrapperBordered]:
|
|
446
|
+
</div>`)}render(){let{openable:e,open:t,level:o,active:l,label:r,selected:s,selectionAppearance:p,selectionMode:S,interactionMode:d,closed:u,filterHidden:f,bordered:z,disabled:U}=this,$=S!=="none"&&p==="border",N=$&&s,K=$&&!s,R=d==="interactive"||d==="static"&&S!=="none"&&p==="border";return T({disabled:U,children:i`
|
|
447
|
+
<div class=${a({[n.wrapper]:!0,[n.wrapperBordered]:z})}>
|
|
448
448
|
<div
|
|
449
449
|
.ariaExpanded=${e?t:null}
|
|
450
450
|
.ariaLabel=${r}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.24
|
|
5
5
|
*/
|
|
6
6
|
var Ct=globalThis,tt=Ct.trustedTypes,Ht=tt?tt.createPolicy("lit-html",{createHTML:t=>t}):void 0,$t="$lit$",w=`lit$${Math.random().toFixed(9).slice(2)}$`,wt="?"+w,Be=`<${wt}>`,T=document,W=()=>T.createComment(""),q=t=>t===null||typeof t!="object"&&typeof t!="function",xt=Array.isArray,Kt=t=>xt(t)||typeof t?.[Symbol.iterator]=="function",Et=`[
|
|
7
7
|
\f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wt=/-->/g,qt=/>/g,S=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
|
|
8
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Ft=/"/g,Jt=/^(?:script|style|textarea|title)$/i,At=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),os=At(1),ss=At(2),ns=At(3),y=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),Gt=new WeakMap,P=T.createTreeWalker(T,129);function Yt(t,e){if(!xt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(e):e}var Zt=(t,e)=>{let o=t.length-1,s=[],n,r=e===2?"<svg>":e===3?"<math>":"",i=H;for(let c=0;c<o;c++){let a=t[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===H?d[1]==="!--"?i=Wt:d[1]!==void 0?i=qt:d[2]!==void 0?(Jt.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=S):d[3]!==void 0&&(i=S):i===S?d[0]===">"?(i=n??H,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?S:d[3]==='"'?Ft:Bt):i===Ft||i===Bt?i=S:i===Wt||i===qt?i=H:(i=S,n=void 0);let p=i===S&&t[c+1].startsWith("/>")?" ":"";r+=i===H?a+Be:h>=0?(s.push(l),a.slice(0,h)+$t+a.slice(h)+w+p):a+w+(h===-2?c:p)}return[Yt(t,r+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),s]},B=class t{constructor({strings:e,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=e.length-1,a=this.parts,[l,d]=Zt(e,o);if(this.el=t.createElement(l,s),P.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=P.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith($t)){let m=d[i++],p=n.getAttribute(h).split(w),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:p,ctor:g[1]==="."?ot:g[1]==="?"?st:g[1]==="@"?nt:k}),n.removeAttribute(h)}else h.startsWith(w)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Jt.test(n.tagName)){let h=n.textContent.split(w),m=h.length-1;if(m>0){n.textContent=tt?tt.emptyScript:"";for(let p=0;p<m;p++)n.append(h[p],W()),P.nextNode(),a.push({type:2,index:++r});n.append(h[m],W())}}}else if(n.nodeType===8)if(n.data===wt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(w,h+1))!==-1;)a.push({type:7,index:r}),h+=w.length-1}r++}}static createElement(e,o){let s=T.createElement("template");return s.innerHTML=e,s}};function D(t,e,o=t,s){if(e===y)return e;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=q(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(t),n._$AT(t,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(e=D(t,n._$AS(t,e.values),n,s)),e}var et=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:s}=this._$AD,n=(e?.creationScope??T).importNode(o,!0);P.currentNode=n;let r=P.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new j(r,r.nextSibling,this,e):a.type===1?l=new a.ctor(r,a.name,a.strings,this,e):a.type===6&&(l=new rt(r,this,e)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=P.nextNode(),i++)}return P.currentNode=T,n}p(e){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(e,s,o),o+=s.strings.length-2):s._$AI(e[o])),o++}},j=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,s,n){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=D(this,e,o),q(e)?e===f||e==null||e===""?(this._$AH!==f&&this._$AR(),this._$AH=f):e!==this._$AH&&e!==y&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Kt(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==f&&q(this._$AH)?this._$AA.nextSibling.data=e:this.T(T.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:s}=e,n=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=B.createElement(Yt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new et(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(e){let o=Gt.get(e.strings);return o===void 0&&Gt.set(e.strings,o=new B(e)),o}k(e){xt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of e)n===o.length?o.push(s=new t(this.O(W()),this.O(W()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let s=e.nextSibling;e.remove(),e=s}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},k=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,s,n,r){this.type=1,this._$AH=f,this._$AN=void 0,this.element=e,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=f}_$AI(e,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)e=D(this,e,o,0),i=!q(e)||e!==this._$AH&&e!==y,i&&(this._$AH=e);else{let c=e,a,l;for(e=r[0],a=0;a<r.length-1;a++)l=D(this,c[s+a],o,a),l===y&&(l=this._$AH[a]),i||=!q(l)||l!==this._$AH[a],l===f?e=f:e!==f&&(e+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(e)}j(e){e===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ot=class extends k{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===f?void 0:e}},st=class extends k{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==f)}},nt=class extends k{constructor(e,o,s,n,r){super(e,o,s,n,r),this.type=5}_$AI(e,o=this){if((e=D(this,e,o,0)??f)===y)return;let s=this._$AH,n=e===f&&s!==f||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==f&&(s===f||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},rt=class{constructor(e,o,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){D(this,e)}},Qt={M:$t,P:w,A:wt,C:1,L:Zt,R:et,D:Kt,V:D,I:j,H:k,N:st,U:nt,B:ot,F:rt},Fe=Ct.litHtmlPolyfillSupport;Fe?.(B,j),(Ct.litHtmlVersions??=[]).push("3.2.1");var Xt=(t,e,o)=>{let s=o?.renderBefore??e,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new j(e.insertBefore(W(),r),r,void 0,o??{})}return n._$AI(t),n};var _=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function Ge(t,e){let o=t;for(;o;){if(o===e)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Ke(t,e,o){let{subscribe:s}=Je(e);return s(n=>{n.some(i=>Ge(t,i.target))&&o()})}var Lt={};function Je(t){let e=t.join(","),o=Lt[e];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let r={subscribe(i){return s.add(i),{remove:()=>{s.delete(i),s.size===0&&(n.disconnect(),Lt[e]=void 0)}}}};return Lt[e]=r,r}function Ye(t,e){let o=t;for(;o;){let s=o.closest?.(e);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function Ze(t,e,o){return Ye(t,`[${e}]`)?.getAttribute(e)??o}function u(t,e,...o){try{return t?.call(e,...o)}catch(s){console.error(s,t)}}async function F(t,e,...o){try{let s=t?.call(e,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,t)}}var Qe=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Xe=new Set(Qe),it="en",to={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function eo(t,e,o=""){let s=`${e}/${o}`,n=`${s}${t}.json`;return Ot[n]??(Ot[n]=te(t,s)),await Ot[n]}var Ot={};async function te(t,e){let o=`${e}${t}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return t===it?{}:await te(it,e)}function St(t,e){let o=Ze(t,"lang",globalThis.navigator?.language||it);return{lang:o,t9nLocale:ee(o,e)}}function ee(t,e){let[o,s]=t.split("-"),n=o.toLowerCase(),r=n;return s&&(r=`${n}-${s.toUpperCase()}`),r=to[r]??r,e&&r==="nb"?"no":Xe.has(r)?r:s?ee(n):it}function oe(t,e,o,s,n){let r,i=()=>void oo(t,e,s,n).then(c=>{(r?.lang!==c.lang||r.t9nLocale!==c.t9nLocale||r.t9nStrings!==c.t9nStrings)&&o(c),r=c}).catch(console.error);return i(),Ke(t,["lang"],i)}async function oo(t,e,o=t.tagName.toLowerCase().split("-").slice(1).join("-"),s){let{lang:n,t9nLocale:r}=St(t,s),i=`${e}/${o}/t9n`,c=`${o}.t9n.`,a=o===null?{}:await eo(r,i,c);return{lang:n,t9nLocale:r,t9nStrings:a}}var at=t=>t.replace(so,(e,o)=>`${o===0?"":"-"}${e.toLowerCase()}`),so=/[A-Z]+(?![a-z])|[A-Z]/gu;function se(t,e){let o=e>no?ro:e/io,s=0,n=setInterval(()=>{s+=o,s>=e&&(clearInterval(n),t())},o);return n}var no=4e3,ro=2e3,io=4;function ne(t){return t!==void 0}function re(t,e){if(e){let o=t.constructor.elementProperties;t.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(ne))}else{let o=t.constructor,s=o.__registerControllers?.(t)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");t.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function ie(t,e=8){return t==null||typeof t=="object"||typeof t=="function"?t:e&4?t==="false"?!1:t===""||!!t:e&2?Number.parseFloat(t):e&1?String(t):t}var ae=(t,e)=>t.manager.internals.members?.[e]?.[0];var lt=Symbol.for("controller");var he=t=>typeof t=="object"&&t!==null&&(lt in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t);var G;function U(t){G!==t&&(G=t,queueMicrotask(()=>{G===t&&(G=void 0)}))}function I(t){return G}var N=[];function ht(t){if(t===void 0){N=[];return}let e=N.indexOf(t);N=e===-1?[...N,t]:N.slice(0,e+1),queueMicrotask(()=>{N=[]})}function de(){return N}var V;function ao(t){V!==t&&(V=t,queueMicrotask(()=>{V===t&&(V=void 0)}))}function co(){let t=V;return V=void 0,t}var lo=async(t,e)=>{let o=Dt(t);if(o===void 0)return t;if(await o.ready,typeof e=="function"){let s=o.watchExports(n=>e(n,s))}return o.exports},ho=async t=>{let e=Dt(t);return await e.ready,e},Dt=t=>{let e=co();if(e!==void 0)return e;let s=I().manager.internals.resolveExports(t);if(s!==void 0)return s;if(he(t))return t},K={setter:!1,getter:!1,readOnly:!1},J=new WeakMap,ue;ue=lt;var dt=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ue]=!0,this.ready=this._ready.promise,this._exports=le(this),this._exportWatchers=new Set;let e=t??I(new.target.name);this.component=e,this.component.addController(this),ht(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?le(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return U(this.component),lo}get useRef(){return U(this.component),ho}get useRefSync(){return U(this.component),Dt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await F(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(F)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(ce,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(ce,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){U(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function ce(t){u(t,void 0,this)}var pe=dt;function le(t){if(typeof t!="object"&&typeof t!="function"||t===null)return t;let e=new Proxy(t,{get(o,s,n){if(!(uo.has(s)&&s in o&&o[s]===e)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return e}var uo=new Set(["exports","_exports"]);function ut(t,e,o){let s=Object.keys(t),n=s.length;R===void 0&&queueMicrotask(Y),R??(R=new Map);let r=R.get(t);return r===void 0&&(r={callbacks:[],keyCount:n},R.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(e,null,l),a=i[n];a===void 0?c(void 0):t[a]===o?c(a):c(void 0)}),o}var R=void 0;function Y(){Array.from(R?.entries()??[]).forEach(([t,{callbacks:e}])=>{let o=Object.keys(t);e.forEach(s=>s(o))}),R=void 0}function pt(t,e,o){var s;let n=e,r=t.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>u(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var fe=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let e=this.component.manager.internals;Object.entries(e.members).forEach(([o,[s]])=>{var n;s&2048&&((n=e.setters)[o]??(n[o]=[]),e.setters[o].push(e.readonlySetter))})},this.trackedValue=Tt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(e,o,s)=>{if(K.readOnly)return e;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(e)}"`)},this.component=t}firePropTrackers(t,e){let o=this.keyTrackers;this.trackedValue=Tt,this.keyTrackers=[],o.forEach(s=>s(t,e))}getSetProxy(t){let e=this.component,o=e.constructor.prototype;if(this._getSetProxy(o,t,"class"),e.manager.isLit)return;let s=e.el.constructor.prototype;o!==s&&this._getSetProxy(s,t,"html")}_getSetProxy(t,e,o){let s=this.component,n=ae(s,e),r;do r=Object.getOwnPropertyDescriptor(t,e);while(!r&&(t=Object.getPrototypeOf(t)));if(!r)return;let i=r.get,c=r.set,a=ct in i,l=ct in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let b=i.call(this),C=J.get(this);if(K.getter||C===void 0)return b;let L=C.manager.internals;b=L.accessorGetter[e](b,e);let v=L.getters[e]??Pt;for(let $=0;$<v.length;$++)b=v[$](b,e);return b}:i,p=h?function(b){let C=i.call(this),L=J.get(this);if(L===void 0){c.call(this,b);return}let v=L.manager.isLit?b??void 0:ie(b,n),$=L.manager.internals;if(v===C)c.call(this,v);else{let zt=K.setter?Pt:$.setters[e]??Pt;for(let z=0;z<zt.length&&(v=zt[z](v,C,e),v!==C);z++);v=$.accessorSetter[e](v,C,e),c.call(this,v),v!==C&&$.enabledWatchers[e]?.forEach(z=>z(v,C,e))}$.keyTrackers.length>0&&$?.firePropTrackers(e,b)}:c;d&&(m[ct]=!0),h&&(p[ct]=!0),Object.defineProperty(t,e,{...r,get:m,set:p})}markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exports.set(e,t)}resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exports.get(t)}},Pt=[],ct=Symbol(),Tt=Symbol();function me(t,e,o){let s=t.manager.internals;return s.trackedValue!==Tt&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>u(e,void 0,o===r?n:void 0)),o}function ye(t,e,o){let s=Array.isArray(t)?t:[t],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&e(c)};s.forEach(c=>ut(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&me(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function ge(t){K.readOnly=!0;try{return t()}finally{K.readOnly=!1}}var ve=t=>(...e)=>{let o=de(),s=new t(...e),n=s.exports;ht(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),ao(s);let i=[s.component,...o].reverse();return ye(i,c=>c===void 0?void 0:po(s,c,n),n)};function po(t,{host:e,key:o,isReactive:s},n){let r=e,i=r[o]!==t.exports,c=r[o]!==n,a=n!==t.exports;if(i&&!c&&a&&(r[o]=t.exports),e===t.component){if(s){let d=t.component.manager.internals;c&&d.markExports(t,r[o]),pt(t.component,o,h=>{h!==t.exports&&d.markExports(t,h)})}t.assignedProperty=s?void 0:o}t.watchExports(()=>{if(r[o]===t.exports)return;let d=t.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?ge(()=>{r[o]=t.exports}):r[o]=t.exports})}var _e=(t,e)=>new fo(t,e),fo=class extends pe{constructor(t,e){let o="addController"in t,s=new Set;function n(a){s.add(a),!(lt in a)&&t.renderRoot&&t.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=t;if(i.addController=n,i.removeController=r,!o){let a=e??t.constructor.__forceUpdate;i.requestUpdate=()=>a(t)}super(t),this.internals=new fe(this.component),this.destroyed=!1,this._updatePromise=new _,this._originalLifecycles={},this.isLit=o,this.component.manager=this,re(t,o),this._controllers=s,this.exports=void 0,this.hasDestroy=kt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=be,c.accessorSetter[a]=be,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),ht(void 0),U(t),J.set(t.el,t),J.set(t,t)}_bindLifecycleMethods(){let t=this.component,e=this.isLit,o=t.el===t;this._originalLifecycles={_connectedCallback:e||o?void 0:t.connectedCallback,_disconnectedCallback:e||o?void 0:t.disconnectedCallback,_load:e?t.load:t.componentWillLoad,_loaded:e?t.loaded:t.componentDidLoad,_willUpdate:e?void 0:t.componentWillUpdate,_updated:e?void 0:t.componentDidUpdate,_destroy:t.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);e?t.constructor.prototype.addController.call(t,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(t.connectedCallback=s,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=r,t.componentDidUpdate=i),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let e=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${kt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let t=this.internals;t.enabledWatchers=t.allWatchers,Y(),t.enableReadonly?.(),this._controllers.forEach(yo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(go),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,vo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&pt(this.component,kt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(bo),this._originalLifecycles._loaded?.call(this.component)}_update(){let t=this.component;this._controllers.forEach(_o,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let t=this.component;if(this._controllers.forEach(Eo,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{let e=this._updatePromise;this._updatePromise=new _,e.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(Co),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=se(t,mo)}}},kt="autoDestroyDisabled",mo=1e3;var be=t=>t;function yo(t){"triggerConnected"in t?t.triggerConnected():u(t.hostConnected,t)}function go(t){"triggerDisconnected"in t?t.triggerDisconnected():u(t.hostDisconnected,t)}async function vo(t){"triggerLoad"in t?await t.triggerLoad():await F(t.hostLoad,t)}function bo(t){"triggerLoaded"in t?t.triggerLoaded():u(t.hostLoaded,t)}function _o(t){"triggerUpdate"in t?t.triggerUpdate(this):u(t.hostUpdate,t,this)}function Eo(t){"triggerUpdated"in t?t.triggerUpdated(this):u(t.hostUpdated,t,this)}function Co(t){"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t)}var $o=t=>xo(void 0,t);var wo=class extends dt{constructor(t,e){super(t);let o=this.exports;try{U(this.component);let s=e(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},xo=ve(wo),Os=(t,e)=>new Ao(t,e),Ao=class extends dt{constructor(t,e){super(),this._attributes=t,this._callback=e,this._observer=new MutationObserver(o=>{o.forEach(s=>{t.includes(s.attributeName)&&e.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})})}hostConnected(){this._attributes.forEach(t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var Ps=(t,e)=>(o={})=>$o((s,n)=>{let r=St(s.el),i={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},c=s;queueMicrotask(()=>n.onLifecycle(()=>oe(s.el,t("./assets"),({t9nLocale:l,t9nStrings:d,lang:h})=>{let m={...d,_lang:h,_t9nLocale:l,_loading:!1};n.exports=m;let p=d.componentLabel??d.widgetLabel;typeof p=="string"&&"label"in s&&s.label==null&&(s.label??(s.label=p)),a(c.messageOverrides)},o.name,e)));function a(l){let d=n.exports,h=d._original??d,m=Ee(h,l);l&&(m._original=h),n.exports=m}return"messageOverrides"in c&&n.onLifecycle(()=>pt(c,"messageOverrides",a)),o.blocking?(n.setProvisionalExports(i,!1),n.ready):i});function Ee(t,e){if(!e)return t;let o={...t};return Object.entries(e).forEach(([s,n])=>{typeof n=="object"?o[s]=Ee(t[s],n):o[s]=n??t[s]}),o}var ft=globalThis,mt=ft.ShadowRoot&&(ft.ShadyCSS===void 0||ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Nt=Symbol(),Ce=new WeakMap,Z=class{constructor(e,o,s){if(this._$cssResult$=!0,s!==Nt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(mt&&e===void 0){let s=o!==void 0&&o.length===1;s&&(e=Ce.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&Ce.set(o,e))}return e}toString(){return this.cssText}},$e=t=>new Z(typeof t=="string"?t:t+"",void 0,Nt),Lo=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1],t[0]);return new Z(o,t,Nt)},Rt=(t,e)=>{if(mt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let s=document.createElement("style"),n=ft.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,t.appendChild(s)}},yt=mt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let s of e.cssRules)o+=s.cssText;return $e(o)})(t):t;var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:Do,getPrototypeOf:ko}=Object,vt=globalThis,we=vt.trustedTypes,No=we?we.emptyScript:"",Ro=vt.reactiveElementPolyfillSupport,Q=(t,e)=>t,gt={toAttribute(t,e){switch(e){case Boolean:t=t?No:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Ut=(t,e)=>!Oo(t,e),xe={attribute:!0,type:String,converter:gt,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;var x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=xe){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(e,s,o);n!==void 0&&So(this.prototype,e,n)}}static getPropertyDescriptor(e,o,s){let{get:n,set:r}=Po(this.prototype,e)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(e,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??xe}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let e=ko(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let o=this.properties,s=[...To(o),...Do(o)];for(let n of s)this.createProperty(n,o[n])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let s=new Set(e.flat(1/0).reverse());for(let n of s)o.unshift(yt(n))}else e!==void 0&&o.push(yt(e));return o}static _$Eu(e,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Rt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,s){this._$AK(e,s)}_$EC(e,o){let s=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:gt).toAttribute(o,s.type);this._$Em=e,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(e,o){let s=this.constructor,n=s._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:gt;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(e,o,s){if(e!==void 0){if(s??=this.constructor.getPropertyOptions(e),!(s.hasChanged??Ut)(this[e],o))return;this.P(e,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,o,s){this._$AL.has(e)||this._$AL.set(e,o),s.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw e=!1,this._$EU(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[Q("elementProperties")]=new Map,x[Q("finalized")]=new Map,Ro?.({ReactiveElement:x}),(vt.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Xt(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return y}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");var E={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=t=>(...e)=>({_$litDirective$:t,values:e}),O=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,s){this._$Ct=e,this._$AM=o,this._$Ci=s}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Mo}=Qt,Qs=t=>t===null||typeof t!="object"&&typeof t!="function";var Xs=(t,e)=>e===void 0?t?._$litType$!==void 0:t?._$litType$===e,tn=t=>t?._$litType$?.h!=null;var Le=t=>t.strings===void 0,Ae=()=>document.createComment(""),en=(t,e,o)=>{let s=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(o===void 0){let r=s.insertBefore(Ae(),n),i=s.insertBefore(Ae(),n);o=new Mo(r,i,t,t.options)}else{let r=o._$AB.nextSibling,i=o._$AM,c=i!==t;if(c){let a;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(a=t._$AU)!==i._$AU&&o._$AP(a)}if(r!==n||c){let a=o._$AA;for(;a!==r;){let l=a.nextSibling;s.insertBefore(a,n),a=l}}}return o},on=(t,e,o=t)=>(t._$AI(e,o),t),jo={},Oe=(t,e=jo)=>t._$AH=e,sn=t=>t._$AH,nn=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let s=e.nextSibling;e.remove(),e=s}};var Vo=M(class extends O{constructor(t){if(super(t),t.type!==E.PROPERTY&&t.type!==E.ATTRIBUTE&&t.type!==E.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Le(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===y||e===f)return e;let o=t.element,s=t.name;if(t.type===E.PROPERTY){if(e===o[s])return y}else if(t.type===E.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(s))return y}else if(t.type===E.ATTRIBUTE&&o.getAttribute(s)===e+"")return y;return Oe(t),e}});var Se=";",bt=",",Pe=":";function Mt(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){let o=e;return o.manager?.loadedCalled||o._offspring.push(t),o._postLoad.promise}return!1}var Io=(t,e)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&t.setAssetPath(i),Object.entries(e).forEach(zo)};function zo([t,[e,o=""]]){if(customElements.get(t))return;let[s,n,r]=o.split(Se),i=s?s?.split(bt).map(Te):void 0,c=i?.map(([l])=>l),a=class extends Wo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(bt):void 0}static{this._syncMethods=r?.split(bt)}static{this._name=t}constructor(){!a._loadPromise&&(a._loadPromise=e(),a._initializePrototype()),super()}};customElements.define(t,a)}var _t=Object.defineProperty;function Te(t){let e=t.split(Pe);return e.length===1?[e[0],at(e[0])]:e}var Ho=globalThis.HTMLElement??Te,Wo=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){_t(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){_t(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){_t(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=e[o],delete e[o])})}attributeChangedCallback(t,e,o){this._litElement?.attributeChangedCallback(t,e,o),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Mt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,o=e._name,s=this._store,n=Object.values(t).find(p=>p.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let c=i.prototype,a=Element.prototype;Object.hasOwn(c,"isConnected")||(c.setAttribute=function(p,g){a.setAttribute.call(this.el,p,g)},c.removeAttribute=function(p){a.removeAttribute.call(this.el,p)},_t(c,"isConnected",{get(){return Reflect.get(a,"isConnected",this.el)}})),!e._LitConstructor&&(e._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let h=document.createElement(r);n.lazy=void 0,this._litElement=h,this._store=h,this._pendingAttributes.forEach(p=>{let g=this.getAttribute(p);h.attributeChangedCallback(p,null,g)}),Object.entries(s).forEach(qo,h);let m=this.isConnected;(m||this._ancestorLoad)&&(h.connectedCallback?.(),m||h.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function qo([t,e]){this[t]=e}var jt={};var Ne=M(class extends O{constructor(t){if(super(t),t.type!==E.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in e)e[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(e)}let o=t.element.classList;for(let s of this.st)s in e||(o.remove(s),this.st.delete(s));for(let s in e){let n=!!e[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return y}});var Re="important",Fo=" !"+Re,Ue=M(class extends O{constructor(t){if(super(t),t.type!==E.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let s=t[o];return s==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let s of this.ft)e[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in e){let n=e[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Fo);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Re:""):o[s]=n}}return y}});var Me=(t="",e={},o=I())=>{let s={emit:n=>{t===""&&Y();let r=new CustomEvent(t,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...e});return o.el.dispatchEvent(r),r}};return t===""&&ut(o,n=>{t=n},s),s},dr=Me.bind(null,"");var Go=()=>{},Ko=class je extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=_e(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=Go;let e=je.prototype.shouldUpdate;this.shouldUpdate!==e&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=e),!1}static finalizeStyles(e){let o=super.finalizeStyles(e),s=this.shadowRootOptions===jt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(e,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(e,{attribute:s&1&&typeof e=="string"?at(e):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let e=!this.manager.connectedCalled;super.connectedCallback(),e&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let e=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=e??(s===jt?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),e)return A.prototype.createRenderRoot.call(this),e;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let e=this.el._ancestorLoad??Mt(this.el);e&&await e,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(e){return this.$changes=e,this._originalShouldUpdate?.(e)??!0}listen(e,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(e,n,s),()=>this.el.removeEventListener(e,n,s)))}listenOn(e,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(e.addEventListener(o,r,n),()=>e.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Ko.$createEvent=Me;function Ve(t){let e,o=n=>{e=new URL(n,globalThis.location?.href).href},s={...t,getAssetPath(n){let r=new URL(n,e);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(t.defaultAssetPath),s}var Er=t=>typeof t=="object"&&t!=null?Ne(t):t,Cr=t=>typeof t=="object"&&t!=null?Ue(t):t;var wr=f;function xr(t,e,o){o==null?t.removeAttribute(e):t.setAttribute(e,o)}var Ar={toAttribute:t=>t===!0?"":t===!1?null:t};var He="calcite-mode-auto",We="calcite-mode-dark",Jo="calcite-mode-light",Pr={autoMode:He,darkMode:We,lightMode:Jo,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"},Tr={filter:250,nextTick:0,resize:150,reposition:100};function Ie(){let{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>t.contains(We)||t.contains(He)&&e?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var X=globalThis.calciteConfig,Dr=X?.focusTrapStack||[],kr=X?.logLevel||"info",ze="3.0.0-next.22",Yo="2024-11-21",Zo="3b4e0af4f";function Qo(){if(X&&X.version)return;console.info(`Using Calcite Components ${ze} [Date: ${Yo}, Revision: ${Zo}]`);let t=X||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:ze,writable:!1}),globalThis.calciteConfig=t}var qe=()=>!!1&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;function Xo(){return navigator.userAgentData}function Nr(){if(!qe())return"";let t=Xo();return t?.brands?t.brands.map(({brand:e,version:o})=>`${e}/${o}`).join(" "):navigator.userAgent}function ts(){qe()&&(document.readyState==="interactive"?Ie():document.addEventListener("DOMContentLoaded",()=>Ie(),{once:!0})),Qo()}ts();var es=Ve({defaultAssetPath:"https://jsdev.arcgis.com/calcite-components/next/",hydratedAttribute:"calcite-hydrated"}),{customElement:Rr,getAssetPath:Ur,setAssetPath:Mr}=es;export{os as a,ss as b,ns as c,y as d,f as e,Qt as f,Xt as g,E as h,M as i,O as j,Qs as k,Xs as l,tn as m,Le as n,en as o,on as p,Oe as q,sn as r,nn as s,Io as t,Os as u,Ps as v,Lo as w,Vo as x,dr as y,Ko as z,Er as A,Cr as B,wr as C,xr as D,Ar as E,Pr as F,Tr as G,Dr as H,kr as I,qe as J,Nr as K,es as L,Rr as M,Ur as N};
|
|
8
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Ft=/"/g,Jt=/^(?:script|style|textarea|title)$/i,At=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),os=At(1),ss=At(2),ns=At(3),y=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),Gt=new WeakMap,P=T.createTreeWalker(T,129);function Yt(t,e){if(!xt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(e):e}var Zt=(t,e)=>{let o=t.length-1,s=[],n,r=e===2?"<svg>":e===3?"<math>":"",i=H;for(let c=0;c<o;c++){let a=t[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===H?d[1]==="!--"?i=Wt:d[1]!==void 0?i=qt:d[2]!==void 0?(Jt.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=S):d[3]!==void 0&&(i=S):i===S?d[0]===">"?(i=n??H,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?S:d[3]==='"'?Ft:Bt):i===Ft||i===Bt?i=S:i===Wt||i===qt?i=H:(i=S,n=void 0);let p=i===S&&t[c+1].startsWith("/>")?" ":"";r+=i===H?a+Be:h>=0?(s.push(l),a.slice(0,h)+$t+a.slice(h)+w+p):a+w+(h===-2?c:p)}return[Yt(t,r+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),s]},B=class t{constructor({strings:e,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=e.length-1,a=this.parts,[l,d]=Zt(e,o);if(this.el=t.createElement(l,s),P.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=P.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith($t)){let m=d[i++],p=n.getAttribute(h).split(w),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:p,ctor:g[1]==="."?ot:g[1]==="?"?st:g[1]==="@"?nt:k}),n.removeAttribute(h)}else h.startsWith(w)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Jt.test(n.tagName)){let h=n.textContent.split(w),m=h.length-1;if(m>0){n.textContent=tt?tt.emptyScript:"";for(let p=0;p<m;p++)n.append(h[p],W()),P.nextNode(),a.push({type:2,index:++r});n.append(h[m],W())}}}else if(n.nodeType===8)if(n.data===wt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(w,h+1))!==-1;)a.push({type:7,index:r}),h+=w.length-1}r++}}static createElement(e,o){let s=T.createElement("template");return s.innerHTML=e,s}};function D(t,e,o=t,s){if(e===y)return e;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=q(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(t),n._$AT(t,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(e=D(t,n._$AS(t,e.values),n,s)),e}var et=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:s}=this._$AD,n=(e?.creationScope??T).importNode(o,!0);P.currentNode=n;let r=P.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new j(r,r.nextSibling,this,e):a.type===1?l=new a.ctor(r,a.name,a.strings,this,e):a.type===6&&(l=new rt(r,this,e)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=P.nextNode(),i++)}return P.currentNode=T,n}p(e){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(e,s,o),o+=s.strings.length-2):s._$AI(e[o])),o++}},j=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,s,n){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=D(this,e,o),q(e)?e===f||e==null||e===""?(this._$AH!==f&&this._$AR(),this._$AH=f):e!==this._$AH&&e!==y&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Kt(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==f&&q(this._$AH)?this._$AA.nextSibling.data=e:this.T(T.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:s}=e,n=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=B.createElement(Yt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new et(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(e){let o=Gt.get(e.strings);return o===void 0&&Gt.set(e.strings,o=new B(e)),o}k(e){xt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of e)n===o.length?o.push(s=new t(this.O(W()),this.O(W()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let s=e.nextSibling;e.remove(),e=s}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},k=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,s,n,r){this.type=1,this._$AH=f,this._$AN=void 0,this.element=e,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=f}_$AI(e,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)e=D(this,e,o,0),i=!q(e)||e!==this._$AH&&e!==y,i&&(this._$AH=e);else{let c=e,a,l;for(e=r[0],a=0;a<r.length-1;a++)l=D(this,c[s+a],o,a),l===y&&(l=this._$AH[a]),i||=!q(l)||l!==this._$AH[a],l===f?e=f:e!==f&&(e+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(e)}j(e){e===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ot=class extends k{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===f?void 0:e}},st=class extends k{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==f)}},nt=class extends k{constructor(e,o,s,n,r){super(e,o,s,n,r),this.type=5}_$AI(e,o=this){if((e=D(this,e,o,0)??f)===y)return;let s=this._$AH,n=e===f&&s!==f||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==f&&(s===f||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},rt=class{constructor(e,o,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){D(this,e)}},Qt={M:$t,P:w,A:wt,C:1,L:Zt,R:et,D:Kt,V:D,I:j,H:k,N:st,U:nt,B:ot,F:rt},Fe=Ct.litHtmlPolyfillSupport;Fe?.(B,j),(Ct.litHtmlVersions??=[]).push("3.2.1");var Xt=(t,e,o)=>{let s=o?.renderBefore??e,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new j(e.insertBefore(W(),r),r,void 0,o??{})}return n._$AI(t),n};var _=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function Ge(t,e){let o=t;for(;o;){if(o===e)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Ke(t,e,o){let{subscribe:s}=Je(e);return s(n=>{n.some(i=>Ge(t,i.target))&&o()})}var Lt={};function Je(t){let e=t.join(","),o=Lt[e];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let r={subscribe(i){return s.add(i),{remove:()=>{s.delete(i),s.size===0&&(n.disconnect(),Lt[e]=void 0)}}}};return Lt[e]=r,r}function Ye(t,e){let o=t;for(;o;){let s=o.closest?.(e);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function Ze(t,e,o){return Ye(t,`[${e}]`)?.getAttribute(e)??o}function u(t,e,...o){try{return t?.call(e,...o)}catch(s){console.error(s,t)}}async function F(t,e,...o){try{let s=t?.call(e,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,t)}}var Qe=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Xe=new Set(Qe),it="en",to={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function eo(t,e,o=""){let s=`${e}/${o}`,n=`${s}${t}.json`;return Ot[n]??(Ot[n]=te(t,s)),await Ot[n]}var Ot={};async function te(t,e){let o=`${e}${t}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return t===it?{}:await te(it,e)}function St(t,e){let o=Ze(t,"lang",globalThis.navigator?.language||it);return{lang:o,t9nLocale:ee(o,e)}}function ee(t,e){let[o,s]=t.split("-"),n=o.toLowerCase(),r=n;return s&&(r=`${n}-${s.toUpperCase()}`),r=to[r]??r,e&&r==="nb"?"no":Xe.has(r)?r:s?ee(n):it}function oe(t,e,o,s,n){let r,i=()=>void oo(t,e,s,n).then(c=>{(r?.lang!==c.lang||r.t9nLocale!==c.t9nLocale||r.t9nStrings!==c.t9nStrings)&&o(c),r=c}).catch(console.error);return i(),Ke(t,["lang"],i)}async function oo(t,e,o=t.tagName.toLowerCase().split("-").slice(1).join("-"),s){let{lang:n,t9nLocale:r}=St(t,s),i=`${e}/${o}/t9n`,c=`${o}.t9n.`,a=o===null?{}:await eo(r,i,c);return{lang:n,t9nLocale:r,t9nStrings:a}}var at=t=>t.replace(so,(e,o)=>`${o===0?"":"-"}${e.toLowerCase()}`),so=/[A-Z]+(?![a-z])|[A-Z]/gu;function se(t,e){let o=e>no?ro:e/io,s=0,n=setInterval(()=>{s+=o,s>=e&&(clearInterval(n),t())},o);return n}var no=4e3,ro=2e3,io=4;function ne(t){return t!==void 0}function re(t,e){if(e){let o=t.constructor.elementProperties;t.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(ne))}else{let o=t.constructor,s=o.__registerControllers?.(t)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");t.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function ie(t,e=8){return t==null||typeof t=="object"||typeof t=="function"?t:e&4?t==="false"?!1:t===""||!!t:e&2?Number.parseFloat(t):e&1?String(t):t}var ae=(t,e)=>t.manager.internals.members?.[e]?.[0];var lt=Symbol.for("controller");var he=t=>typeof t=="object"&&t!==null&&(lt in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t);var G;function U(t){G!==t&&(G=t,queueMicrotask(()=>{G===t&&(G=void 0)}))}function I(t){return G}var N=[];function ht(t){if(t===void 0){N=[];return}let e=N.indexOf(t);N=e===-1?[...N,t]:N.slice(0,e+1),queueMicrotask(()=>{N=[]})}function de(){return N}var V;function ao(t){V!==t&&(V=t,queueMicrotask(()=>{V===t&&(V=void 0)}))}function co(){let t=V;return V=void 0,t}var lo=async(t,e)=>{let o=Dt(t);if(o===void 0)return t;if(await o.ready,typeof e=="function"){let s=o.watchExports(n=>e(n,s))}return o.exports},ho=async t=>{let e=Dt(t);return await e.ready,e},Dt=t=>{let e=co();if(e!==void 0)return e;let s=I().manager.internals.resolveExports(t);if(s!==void 0)return s;if(he(t))return t},K={setter:!1,getter:!1,readOnly:!1},J=new WeakMap,ue;ue=lt;var dt=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ue]=!0,this.ready=this._ready.promise,this._exports=le(this),this._exportWatchers=new Set;let e=t??I(new.target.name);this.component=e,this.component.addController(this),ht(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?le(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return U(this.component),lo}get useRef(){return U(this.component),ho}get useRefSync(){return U(this.component),Dt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await F(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(F)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(ce,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(ce,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){U(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function ce(t){u(t,void 0,this)}var pe=dt;function le(t){if(typeof t!="object"&&typeof t!="function"||t===null)return t;let e=new Proxy(t,{get(o,s,n){if(!(uo.has(s)&&s in o&&o[s]===e)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return e}var uo=new Set(["exports","_exports"]);function ut(t,e,o){let s=Object.keys(t),n=s.length;R===void 0&&queueMicrotask(Y),R??(R=new Map);let r=R.get(t);return r===void 0&&(r={callbacks:[],keyCount:n},R.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(e,null,l),a=i[n];a===void 0?c(void 0):t[a]===o?c(a):c(void 0)}),o}var R=void 0;function Y(){Array.from(R?.entries()??[]).forEach(([t,{callbacks:e}])=>{let o=Object.keys(t);e.forEach(s=>s(o))}),R=void 0}function pt(t,e,o){var s;let n=e,r=t.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>u(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var fe=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let e=this.component.manager.internals;Object.entries(e.members).forEach(([o,[s]])=>{var n;s&2048&&((n=e.setters)[o]??(n[o]=[]),e.setters[o].push(e.readonlySetter))})},this.trackedValue=Tt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(e,o,s)=>{if(K.readOnly)return e;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(e)}"`)},this.component=t}firePropTrackers(t,e){let o=this.keyTrackers;this.trackedValue=Tt,this.keyTrackers=[],o.forEach(s=>s(t,e))}getSetProxy(t){let e=this.component,o=e.constructor.prototype;if(this._getSetProxy(o,t,"class"),e.manager.isLit)return;let s=e.el.constructor.prototype;o!==s&&this._getSetProxy(s,t,"html")}_getSetProxy(t,e,o){let s=this.component,n=ae(s,e),r;do r=Object.getOwnPropertyDescriptor(t,e);while(!r&&(t=Object.getPrototypeOf(t)));if(!r)return;let i=r.get,c=r.set,a=ct in i,l=ct in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let b=i.call(this),C=J.get(this);if(K.getter||C===void 0)return b;let L=C.manager.internals;b=L.accessorGetter[e](b,e);let v=L.getters[e]??Pt;for(let $=0;$<v.length;$++)b=v[$](b,e);return b}:i,p=h?function(b){let C=i.call(this),L=J.get(this);if(L===void 0){c.call(this,b);return}let v=L.manager.isLit?b??void 0:ie(b,n),$=L.manager.internals;if(v===C)c.call(this,v);else{let zt=K.setter?Pt:$.setters[e]??Pt;for(let z=0;z<zt.length&&(v=zt[z](v,C,e),v!==C);z++);v=$.accessorSetter[e](v,C,e),c.call(this,v),v!==C&&$.enabledWatchers[e]?.forEach(z=>z(v,C,e))}$.keyTrackers.length>0&&$?.firePropTrackers(e,b)}:c;d&&(m[ct]=!0),h&&(p[ct]=!0),Object.defineProperty(t,e,{...r,get:m,set:p})}markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exports.set(e,t)}resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exports.get(t)}},Pt=[],ct=Symbol(),Tt=Symbol();function me(t,e,o){let s=t.manager.internals;return s.trackedValue!==Tt&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>u(e,void 0,o===r?n:void 0)),o}function ye(t,e,o){let s=Array.isArray(t)?t:[t],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&e(c)};s.forEach(c=>ut(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&me(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function ge(t){K.readOnly=!0;try{return t()}finally{K.readOnly=!1}}var ve=t=>(...e)=>{let o=de(),s=new t(...e),n=s.exports;ht(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),ao(s);let i=[s.component,...o].reverse();return ye(i,c=>c===void 0?void 0:po(s,c,n),n)};function po(t,{host:e,key:o,isReactive:s},n){let r=e,i=r[o]!==t.exports,c=r[o]!==n,a=n!==t.exports;if(i&&!c&&a&&(r[o]=t.exports),e===t.component){if(s){let d=t.component.manager.internals;c&&d.markExports(t,r[o]),pt(t.component,o,h=>{h!==t.exports&&d.markExports(t,h)})}t.assignedProperty=s?void 0:o}t.watchExports(()=>{if(r[o]===t.exports)return;let d=t.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?ge(()=>{r[o]=t.exports}):r[o]=t.exports})}var _e=(t,e)=>new fo(t,e),fo=class extends pe{constructor(t,e){let o="addController"in t,s=new Set;function n(a){s.add(a),!(lt in a)&&t.renderRoot&&t.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=t;if(i.addController=n,i.removeController=r,!o){let a=e??t.constructor.__forceUpdate;i.requestUpdate=()=>a(t)}super(t),this.internals=new fe(this.component),this.destroyed=!1,this._updatePromise=new _,this._originalLifecycles={},this.isLit=o,this.component.manager=this,re(t,o),this._controllers=s,this.exports=void 0,this.hasDestroy=kt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=be,c.accessorSetter[a]=be,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),ht(void 0),U(t),J.set(t.el,t),J.set(t,t)}_bindLifecycleMethods(){let t=this.component,e=this.isLit,o=t.el===t;this._originalLifecycles={_connectedCallback:e||o?void 0:t.connectedCallback,_disconnectedCallback:e||o?void 0:t.disconnectedCallback,_load:e?t.load:t.componentWillLoad,_loaded:e?t.loaded:t.componentDidLoad,_willUpdate:e?void 0:t.componentWillUpdate,_updated:e?void 0:t.componentDidUpdate,_destroy:t.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);e?t.constructor.prototype.addController.call(t,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(t.connectedCallback=s,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=r,t.componentDidUpdate=i),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let e=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${kt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let t=this.internals;t.enabledWatchers=t.allWatchers,Y(),t.enableReadonly?.(),this._controllers.forEach(yo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(go),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,vo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&pt(this.component,kt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(bo),this._originalLifecycles._loaded?.call(this.component)}_update(){let t=this.component;this._controllers.forEach(_o,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let t=this.component;if(this._controllers.forEach(Eo,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{let e=this._updatePromise;this._updatePromise=new _,e.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(Co),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=se(t,mo)}}},kt="autoDestroyDisabled",mo=1e3;var be=t=>t;function yo(t){"triggerConnected"in t?t.triggerConnected():u(t.hostConnected,t)}function go(t){"triggerDisconnected"in t?t.triggerDisconnected():u(t.hostDisconnected,t)}async function vo(t){"triggerLoad"in t?await t.triggerLoad():await F(t.hostLoad,t)}function bo(t){"triggerLoaded"in t?t.triggerLoaded():u(t.hostLoaded,t)}function _o(t){"triggerUpdate"in t?t.triggerUpdate(this):u(t.hostUpdate,t,this)}function Eo(t){"triggerUpdated"in t?t.triggerUpdated(this):u(t.hostUpdated,t,this)}function Co(t){"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t)}var $o=t=>xo(void 0,t);var wo=class extends dt{constructor(t,e){super(t);let o=this.exports;try{U(this.component);let s=e(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},xo=ve(wo),Os=(t,e)=>new Ao(t,e),Ao=class extends dt{constructor(t,e){super(),this._attributes=t,this._callback=e,this._observer=new MutationObserver(o=>{o.forEach(s=>{t.includes(s.attributeName)&&e.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})})}hostConnected(){this._attributes.forEach(t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var Ps=(t,e)=>(o={})=>$o((s,n)=>{let r=St(s.el),i={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},c=s;queueMicrotask(()=>n.onLifecycle(()=>oe(s.el,t("./assets"),({t9nLocale:l,t9nStrings:d,lang:h})=>{let m={...d,_lang:h,_t9nLocale:l,_loading:!1};n.exports=m;let p=d.componentLabel??d.widgetLabel;typeof p=="string"&&"label"in s&&s.label==null&&(s.label??(s.label=p)),a(c.messageOverrides)},o.name,e)));function a(l){let d=n.exports,h=d._original??d,m=Ee(h,l);l&&(m._original=h),n.exports=m}return"messageOverrides"in c&&n.onLifecycle(()=>pt(c,"messageOverrides",a)),o.blocking?(n.setProvisionalExports(i,!1),n.ready):i});function Ee(t,e){if(!e)return t;let o={...t};return Object.entries(e).forEach(([s,n])=>{typeof n=="object"?o[s]=Ee(t[s],n):o[s]=n??t[s]}),o}var ft=globalThis,mt=ft.ShadowRoot&&(ft.ShadyCSS===void 0||ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Nt=Symbol(),Ce=new WeakMap,Z=class{constructor(e,o,s){if(this._$cssResult$=!0,s!==Nt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(mt&&e===void 0){let s=o!==void 0&&o.length===1;s&&(e=Ce.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&Ce.set(o,e))}return e}toString(){return this.cssText}},$e=t=>new Z(typeof t=="string"?t:t+"",void 0,Nt),Lo=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1],t[0]);return new Z(o,t,Nt)},Rt=(t,e)=>{if(mt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let s=document.createElement("style"),n=ft.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,t.appendChild(s)}},yt=mt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let s of e.cssRules)o+=s.cssText;return $e(o)})(t):t;var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:Do,getPrototypeOf:ko}=Object,vt=globalThis,we=vt.trustedTypes,No=we?we.emptyScript:"",Ro=vt.reactiveElementPolyfillSupport,Q=(t,e)=>t,gt={toAttribute(t,e){switch(e){case Boolean:t=t?No:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Ut=(t,e)=>!Oo(t,e),xe={attribute:!0,type:String,converter:gt,reflect:!1,hasChanged:Ut};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;var x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=xe){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(e,s,o);n!==void 0&&So(this.prototype,e,n)}}static getPropertyDescriptor(e,o,s){let{get:n,set:r}=Po(this.prototype,e)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(e,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??xe}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let e=ko(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let o=this.properties,s=[...To(o),...Do(o)];for(let n of s)this.createProperty(n,o[n])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let s=new Set(e.flat(1/0).reverse());for(let n of s)o.unshift(yt(n))}else e!==void 0&&o.push(yt(e));return o}static _$Eu(e,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Rt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,s){this._$AK(e,s)}_$EC(e,o){let s=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:gt).toAttribute(o,s.type);this._$Em=e,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(e,o){let s=this.constructor,n=s._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:gt;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(e,o,s){if(e!==void 0){if(s??=this.constructor.getPropertyOptions(e),!(s.hasChanged??Ut)(this[e],o))return;this.P(e,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,o,s){this._$AL.has(e)||this._$AL.set(e,o),s.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw e=!1,this._$EU(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[Q("elementProperties")]=new Map,x[Q("finalized")]=new Map,Ro?.({ReactiveElement:x}),(vt.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Xt(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return y}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");var E={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=t=>(...e)=>({_$litDirective$:t,values:e}),O=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,s){this._$Ct=e,this._$AM=o,this._$Ci=s}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Mo}=Qt,Qs=t=>t===null||typeof t!="object"&&typeof t!="function";var Xs=(t,e)=>e===void 0?t?._$litType$!==void 0:t?._$litType$===e,tn=t=>t?._$litType$?.h!=null;var Le=t=>t.strings===void 0,Ae=()=>document.createComment(""),en=(t,e,o)=>{let s=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(o===void 0){let r=s.insertBefore(Ae(),n),i=s.insertBefore(Ae(),n);o=new Mo(r,i,t,t.options)}else{let r=o._$AB.nextSibling,i=o._$AM,c=i!==t;if(c){let a;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(a=t._$AU)!==i._$AU&&o._$AP(a)}if(r!==n||c){let a=o._$AA;for(;a!==r;){let l=a.nextSibling;s.insertBefore(a,n),a=l}}}return o},on=(t,e,o=t)=>(t._$AI(e,o),t),jo={},Oe=(t,e=jo)=>t._$AH=e,sn=t=>t._$AH,nn=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let s=e.nextSibling;e.remove(),e=s}};var Vo=M(class extends O{constructor(t){if(super(t),t.type!==E.PROPERTY&&t.type!==E.ATTRIBUTE&&t.type!==E.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Le(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===y||e===f)return e;let o=t.element,s=t.name;if(t.type===E.PROPERTY){if(e===o[s])return y}else if(t.type===E.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(s))return y}else if(t.type===E.ATTRIBUTE&&o.getAttribute(s)===e+"")return y;return Oe(t),e}});var Se=";",bt=",",Pe=":";function Mt(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){let o=e;return o.manager?.loadedCalled||o._offspring.push(t),o._postLoad.promise}return!1}var Io=(t,e)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&t.setAssetPath(i),Object.entries(e).forEach(zo)};function zo([t,[e,o=""]]){if(customElements.get(t))return;let[s,n,r]=o.split(Se),i=s?s?.split(bt).map(Te):void 0,c=i?.map(([l])=>l),a=class extends Wo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(bt):void 0}static{this._syncMethods=r?.split(bt)}static{this._name=t}constructor(){!a._loadPromise&&(a._loadPromise=e(),a._initializePrototype()),super()}};customElements.define(t,a)}var _t=Object.defineProperty;function Te(t){let e=t.split(Pe);return e.length===1?[e[0],at(e[0])]:e}var Ho=globalThis.HTMLElement??Te,Wo=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){_t(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){_t(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){_t(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=e[o],delete e[o])})}attributeChangedCallback(t,e,o){this._litElement?.attributeChangedCallback(t,e,o),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Mt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,o=e._name,s=this._store,n=Object.values(t).find(p=>p.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let c=i.prototype,a=Element.prototype;Object.hasOwn(c,"isConnected")||(c.setAttribute=function(p,g){a.setAttribute.call(this.el,p,g)},c.removeAttribute=function(p){a.removeAttribute.call(this.el,p)},_t(c,"isConnected",{get(){return Reflect.get(a,"isConnected",this.el)}})),!e._LitConstructor&&(e._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let h=document.createElement(r);n.lazy=void 0,this._litElement=h,this._store=h,this._pendingAttributes.forEach(p=>{let g=this.getAttribute(p);h.attributeChangedCallback(p,null,g)}),Object.entries(s).forEach(qo,h);let m=this.isConnected;(m||this._ancestorLoad)&&(h.connectedCallback?.(),m||h.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function qo([t,e]){this[t]=e}var jt={};var Ne=M(class extends O{constructor(t){if(super(t),t.type!==E.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in e)e[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(e)}let o=t.element.classList;for(let s of this.st)s in e||(o.remove(s),this.st.delete(s));for(let s in e){let n=!!e[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return y}});var Re="important",Fo=" !"+Re,Ue=M(class extends O{constructor(t){if(super(t),t.type!==E.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let s=t[o];return s==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let s of this.ft)e[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in e){let n=e[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Fo);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Re:""):o[s]=n}}return y}});var Me=(t="",e={},o=I())=>{let s={emit:n=>{t===""&&Y();let r=new CustomEvent(t,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...e});return o.el.dispatchEvent(r),r}};return t===""&&ut(o,n=>{t=n},s),s},dr=Me.bind(null,"");var Go=()=>{},Ko=class je extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=_e(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=Go;let e=je.prototype.shouldUpdate;this.shouldUpdate!==e&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=e),!1}static finalizeStyles(e){let o=super.finalizeStyles(e),s=this.shadowRootOptions===jt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(e,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(e,{attribute:s&1&&typeof e=="string"?at(e):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let e=!this.manager.connectedCalled;super.connectedCallback(),e&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let e=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=e??(s===jt?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),e)return A.prototype.createRenderRoot.call(this),e;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let e=this.el._ancestorLoad??Mt(this.el);e&&await e,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(e){return this.$changes=e,this._originalShouldUpdate?.(e)??!0}listen(e,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(e,n,s),()=>this.el.removeEventListener(e,n,s)))}listenOn(e,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(e.addEventListener(o,r,n),()=>e.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Ko.$createEvent=Me;function Ve(t){let e,o=n=>{e=new URL(n,globalThis.location?.href).href},s={...t,getAssetPath(n){let r=new URL(n,e);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(t.defaultAssetPath),s}var Er=t=>typeof t=="object"&&t!=null?Ne(t):t,Cr=t=>typeof t=="object"&&t!=null?Ue(t):t;var wr=f;function xr(t,e,o){o==null?t.removeAttribute(e):t.setAttribute(e,o)}var Ar={toAttribute:t=>t===!0?"":t===!1?null:t};var He="calcite-mode-auto",We="calcite-mode-dark",Jo="calcite-mode-light",Pr={autoMode:He,darkMode:We,lightMode:Jo,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"},Tr={filter:250,nextTick:0,resize:150,reposition:100};function Ie(){let{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>t.contains(We)||t.contains(He)&&e?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var X=globalThis.calciteConfig,Dr=X?.focusTrapStack||[],kr=X?.logLevel||"info",ze="3.0.0-next.24",Yo="2024-11-22",Zo="92815a4dd";function Qo(){if(X&&X.version)return;console.info(`Using Calcite Components ${ze} [Date: ${Yo}, Revision: ${Zo}]`);let t=X||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:ze,writable:!1}),globalThis.calciteConfig=t}var qe=()=>!!1&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;function Xo(){return navigator.userAgentData}function Nr(){if(!qe())return"";let t=Xo();return t?.brands?t.brands.map(({brand:e,version:o})=>`${e}/${o}`).join(" "):navigator.userAgent}function ts(){qe()&&(document.readyState==="interactive"?Ie():document.addEventListener("DOMContentLoaded",()=>Ie(),{once:!0})),Qo()}ts();var es=Ve({defaultAssetPath:"https://jsdev.arcgis.com/calcite-components/next/",hydratedAttribute:"calcite-hydrated"}),{customElement:Rr,getAssetPath:Ur,setAssetPath:Mr}=es;export{os as a,ss as b,ns as c,y as d,f as e,Qt as f,Xt as g,E as h,M as i,O as j,Qs as k,Xs as l,tn as m,Le as n,en as o,on as p,Oe as q,sn as r,nn as s,Io as t,Os as u,Ps as v,Lo as w,Vo as x,dr as y,Ko as z,Er as A,Cr as B,wr as C,xr as D,Ar as E,Pr as F,Tr as G,Dr as H,kr as I,qe as J,Nr as K,es as L,Rr as M,Ur as N};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.24
|
|
5
5
|
*/
|
|
6
|
-
import{a as c}from"./
|
|
6
|
+
import{a as c}from"./RTBFSIFZ.js";import{M as h,a as s,w as r,y as o,z as d}from"./2HMSJKQL.js";import"./DN4EAI4J.js";var u=r`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 04:38:09 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 04:38:06 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -38,4 +38,4 @@ import{a as c}from"./5M7ABVB3.js";import{M as h,a as s,w as o,y as r,z as d}from
|
|
|
38
38
|
|
|
39
39
|
[hidden] {
|
|
40
40
|
display: none
|
|
41
|
-
}`,l=class extends d{constructor(){super(...arguments),this.mutationObserver=c("mutation",()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}),this.disabled=!1,this.calciteInternalOptionChange=
|
|
41
|
+
}`,l=class extends d{constructor(){super(...arguments),this.mutationObserver=c("mutation",()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}),this.disabled=!1,this.calciteInternalOptionChange=o({cancelable:!1})}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1,selected:[7,{reflect:!0,type:Boolean}],value:1}}static{this.styles=u}connectedCallback(){super.connectedCallback(),this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}willUpdate(e){e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handlePropChange(this.disabled,e.get("disabled"),"disabled"),e.has("label")&&this.handlePropChange(this.label,e.get("label"),"label"),e.has("selected")&&this.handlePropChange(this.selected,e.get("selected"),"selected"),e.has("value")&&this.handlePropChange(this.value,e.get("value"),"value")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}handlePropChange(e,n,t){(t==="label"||t==="value")&&this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){let{el:{textContent:e},internallySetLabel:n,internallySetValue:t,label:i,value:a}=this;(!i||i===n)&&(this.label=e,this.internallySetLabel=e),(a==null||a===t)&&(this.value=e,this.internallySetValue=e)}render(){return s`<slot>${this.label}</slot>`}};h("calcite-option",l);export{l as Option};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.24
|
|
5
5
|
*/
|
|
6
|
-
import{b as a}from"./
|
|
6
|
+
import{b as a}from"./S54ATOPZ.js";import"./PCT7VTOI.js";import"./DN4EAI4J.js";var s={name:"hu",weekdays:"vas\xE1rnap_h\xE9tf\u0151_kedd_szerda_cs\xFCt\xF6rt\xF6k_p\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\xE9t_kedd_sze_cs\xFCt_p\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xE1r_febru\xE1r_m\xE1rcius_\xE1prilis_m\xE1jus_j\xFAnius_j\xFAlius_augusztus_szeptember_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_m\xE1rc_\xE1pr_m\xE1j_j\xFAn_j\xFAl_aug_szept_okt_nov_dec".split("_"),ordinal:function(n){return n+"."},weekStart:1,relativeTime:{future:"%s m\xFAlva",past:"%s",s:function(n,_,t,e){return"n\xE9h\xE1ny m\xE1sodperc"+(e||_?"":"e")},m:function(n,_,t,e){return"egy perc"+(e||_?"":"e")},mm:function(n,_,t,e){return n+" perc"+(e||_?"":"e")},h:function(n,_,t,e){return"egy "+(e||_?"\xF3ra":"\xF3r\xE1ja")},hh:function(n,_,t,e){return n+" "+(e||_?"\xF3ra":"\xF3r\xE1ja")},d:function(n,_,t,e){return"egy "+(e||_?"nap":"napja")},dd:function(n,_,t,e){return n+" "+(e||_?"nap":"napja")},M:function(n,_,t,e){return"egy "+(e||_?"h\xF3nap":"h\xF3napja")},MM:function(n,_,t,e){return n+" "+(e||_?"h\xF3nap":"h\xF3napja")},y:function(n,_,t,e){return"egy "+(e||_?"\xE9v":"\xE9ve")},yy:function(n,_,t,e){return n+" "+(e||_?"\xE9v":"\xE9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};a.locale(s,null,!0);var o=s;export{o as default};
|