@esri/solutions-components 1.1.0-next.20250827 → 1.1.0-next.20250828.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{NXFFCAR3.js → 26YCICDN.js} +2 -2
- package/dist/cdn/{2GGGYTSK.js → 2AV67A2T.js} +2 -2
- package/dist/cdn/{PRJODTJQ.js → 2EF374XU.js} +2 -2
- package/dist/cdn/{R7UBXNSY.js → 2FSPJE7Q.js} +2 -2
- package/dist/cdn/{4UEY7UQK.js → 2GSLR45C.js} +2 -2
- package/dist/cdn/{RPPVQISX.js → 2O374BAL.js} +2 -2
- package/dist/cdn/{42ABLPTV.js → 2OMEBD46.js} +1 -1
- package/dist/cdn/{ZVUZQ5W7.js → 2QAV2QYW.js} +2 -2
- package/dist/cdn/{DKCKFJDN.js → 2QNTOEJK.js} +2 -2
- package/dist/cdn/{5VWV5TYC.js → 2VNHCYRT.js} +1 -1
- package/dist/cdn/{6VO5SKR3.js → 33JDCGQY.js} +2 -2
- package/dist/cdn/{TOQSTROG.js → 33VV6P5Q.js} +1 -1
- package/dist/cdn/{LE3LTL7Z.js → 35TW43QQ.js} +2 -2
- package/dist/cdn/{E2NOR2HB.js → 36WDBEGR.js} +2 -2
- package/dist/cdn/{6GZIIGYC.js → 3BQDKOMZ.js} +2 -2
- package/dist/cdn/{GXFK3UCL.js → 3DWKHE5O.js} +2 -2
- package/dist/cdn/{XWPJDMG7.js → 3MC2LO4F.js} +2 -2
- package/dist/cdn/{TO66BS4X.js → 3QO6PGBY.js} +2 -2
- package/dist/cdn/{BITTOHCX.js → 3TQTGTKN.js} +2 -2
- package/dist/cdn/{EJSL5D4S.js → 3VPIT7EP.js} +2 -2
- package/dist/cdn/3X4Q2NHM.js +4 -0
- package/dist/cdn/{S5LFEUFW.js → 3Y6AKV3A.js} +2 -2
- package/dist/cdn/{V2WQMGKF.js → 44QYZ3R3.js} +1 -1
- package/dist/cdn/{WSTODQK6.js → 47FR5LH6.js} +4 -4
- package/dist/cdn/{DN6RBQAY.js → 4ABVYOCU.js} +2 -2
- package/dist/cdn/4ATWDBCE.js +4 -0
- package/dist/cdn/{TYZCCC74.js → 4CW5ZN2J.js} +1 -1
- package/dist/cdn/{QDJNWFHE.js → 4DPKXEG2.js} +2 -2
- package/dist/cdn/{TO2EI765.js → 4E7KLTF4.js} +1 -1
- package/dist/cdn/{Q7VX66U3.js → 4IVAVDMB.js} +2 -2
- package/dist/cdn/{72KJNJUF.js → 4UJYA5HN.js} +2 -2
- package/dist/cdn/{YT5K7YB3.js → 4VZPNPGU.js} +2 -2
- package/dist/cdn/{6SAXQW32.js → 4X5NYKWT.js} +1 -1
- package/dist/cdn/{HKBV6E2R.js → 4XZES4HL.js} +2 -2
- package/dist/cdn/{B65G3U33.js → 546RNG3Y.js} +2 -2
- package/dist/cdn/{UM4TF6EP.js → 57DIBSIO.js} +2 -2
- package/dist/cdn/{VFTGXA7X.js → 5BTDYNM7.js} +1 -1
- package/dist/cdn/{Z7Y2RQEW.js → 5HBQ7FWX.js} +2 -2
- package/dist/cdn/{ZMWTIGNU.js → 5KTLKU3X.js} +2 -2
- package/dist/cdn/{4B2YGZVH.js → 5NNDG6J5.js} +2 -2
- package/dist/cdn/{Q3UAE3PQ.js → 5OJ6RVYY.js} +2 -2
- package/dist/cdn/{2QPO6WBI.js → 5QXXUZUB.js} +2 -2
- package/dist/cdn/{JYZKLWFE.js → 5U74KT53.js} +2 -2
- package/dist/cdn/{LQGRGOEO.js → 5VD3HZ7O.js} +2 -2
- package/dist/cdn/{FGTK47K3.js → 652JQXQ3.js} +2 -2
- package/dist/cdn/{X6UPHTN5.js → 6ET6C4H7.js} +2 -2
- package/dist/cdn/{BCNWLERJ.js → 6HAMUWST.js} +2 -2
- package/dist/cdn/{U5CLOSGY.js → 6IGWNKKM.js} +2 -2
- package/dist/cdn/{PBL4GE2D.js → 6NJ46TBU.js} +1 -1
- package/dist/cdn/{VWP7WZYJ.js → 6OZU72YD.js} +2 -2
- package/dist/cdn/{3Z2LUWXV.js → 6VQVRVJN.js} +2 -2
- package/dist/cdn/{FSZNQWLJ.js → 6ZC5QJES.js} +2 -2
- package/dist/cdn/{VKVNRJC4.js → 7BO3ANFM.js} +1 -1
- package/dist/cdn/{XMMOVBA2.js → 7DFAPLNH.js} +2 -2
- package/dist/cdn/7GCPH6WD.js +4 -0
- package/dist/cdn/{HM4KB6CF.js → 7HM3TCVT.js} +2 -2
- package/dist/cdn/{KBGRXOOG.js → 7HOQOHLS.js} +2 -2
- package/dist/cdn/{CDP24SRW.js → 7IRGUM5P.js} +2 -2
- package/dist/cdn/{JO5BTB2N.js → 7IULIN3X.js} +2 -2
- package/dist/cdn/{PDAPRJZT.js → 7J3S3PEI.js} +2 -2
- package/dist/cdn/{NDLFKZLQ.js → 7LLYRYCX.js} +2 -2
- package/dist/cdn/{CKGLSF5S.js → 7T5SAWSV.js} +2 -2
- package/dist/cdn/{MPDPELXB.js → 7UGYT2BA.js} +2 -2
- package/dist/cdn/{MX4VX6UT.js → A62GG2CR.js} +2 -2
- package/dist/cdn/{RUQ4ULAX.js → A6QKATD2.js} +1 -1
- package/dist/cdn/{BCYE7SLF.js → A7DFEGZ7.js} +2 -2
- package/dist/cdn/{LMSQ6QYV.js → AH6FHXER.js} +2 -2
- package/dist/cdn/{L4LA3QS7.js → AHRMZDNR.js} +2 -2
- package/dist/cdn/{56OZKJMF.js → AKGLKYCK.js} +2 -2
- package/dist/cdn/{NLDZAEVH.js → AKROK5I6.js} +2 -2
- package/dist/cdn/{VQ2MIMSZ.js → ALBAP5B2.js} +1 -1
- package/dist/cdn/AMF6ECXI.js +4 -0
- package/dist/cdn/{UXBQKCZL.js → AQ2FH3YW.js} +2 -2
- package/dist/cdn/{SN2AHVW7.js → AR3C2LAV.js} +2 -2
- package/dist/cdn/{O674BOTY.js → ATIYZX6B.js} +2 -2
- package/dist/cdn/{5MIOBRDN.js → AUKH3VVM.js} +1 -1
- package/dist/cdn/{2EMNUVGI.js → AXPQH4ZJ.js} +2 -2
- package/dist/cdn/{W3T3PBW2.js → B27CBFJS.js} +2 -2
- package/dist/cdn/B2TVCPX3.js +4 -0
- package/dist/cdn/{TEJOPCNO.js → B3KIEGNA.js} +2 -2
- package/dist/cdn/{Q35GO2GB.js → B4UPJLXC.js} +2 -2
- package/dist/cdn/{3HKP3UZV.js → B6PWNM4K.js} +2 -2
- package/dist/cdn/{WGN5DCPW.js → B7ICGJ37.js} +1 -1
- package/dist/cdn/{QLGNETM3.js → B7USG2HH.js} +2 -2
- package/dist/cdn/{RV6BMNVM.js → BDMJVTHY.js} +2 -2
- package/dist/cdn/{WY3CF6XU.js → BFQBJPK6.js} +2 -2
- package/dist/cdn/{HVLXKZED.js → BIV2TJKS.js} +2 -2
- package/dist/cdn/{RDD6K2IB.js → BKWRFO6A.js} +2 -2
- package/dist/cdn/{NVSUEBGI.js → BRW5L22J.js} +2 -2
- package/dist/cdn/{PHZI3UCV.js → BSLRHAFV.js} +2 -2
- package/dist/cdn/{UDBHIWAQ.js → BSTRVEYV.js} +2 -2
- package/dist/cdn/{IYKARSAW.js → BX4JV3MY.js} +2 -2
- package/dist/cdn/{EVXPAKGQ.js → BYQH46XN.js} +1 -1
- package/dist/cdn/{IXE2RCCX.js → C4FUQ72E.js} +1 -1
- package/dist/cdn/{NQOP33PO.js → C4LQJEYB.js} +2 -2
- package/dist/cdn/{4JP22ZB2.js → C6AQF4XB.js} +2 -2
- package/dist/cdn/{VNMKDG4X.js → C7PXZ5XP.js} +2 -2
- package/dist/cdn/{VHWUYUSU.js → CA7A63KC.js} +2 -2
- package/dist/cdn/{7RGXA4TO.js → CANGP6IW.js} +2 -2
- package/dist/cdn/{ZMC36ZP3.js → CBO2RDTT.js} +2 -2
- package/dist/cdn/{JWCQMP4N.js → CCMZNDQA.js} +2 -2
- package/dist/cdn/{TECZUTWG.js → CDR5VU6V.js} +2 -2
- package/dist/cdn/{LQKFDH35.js → CGBG5PZ2.js} +2 -2
- package/dist/cdn/{62EXG3W5.js → CPGNQTY2.js} +2 -2
- package/dist/cdn/{WV2QWUDT.js → CRYUFEFZ.js} +2 -2
- package/dist/cdn/{4VY45EEM.js → CYOCNOEQ.js} +2 -2
- package/dist/cdn/{VSJSRFOM.js → CYZAAUHK.js} +2 -2
- package/dist/cdn/{P3ZCJWOC.js → CZ6OLVPL.js} +2 -2
- package/dist/cdn/{S5E33LPI.js → D3OD3224.js} +2 -2
- package/dist/cdn/{7MWB4HVF.js → DBXZYHOM.js} +2 -2
- package/dist/cdn/{KXQ35XCN.js → DEYLCJSP.js} +2 -2
- package/dist/cdn/{HCOV7GIV.js → DJRMK3VA.js} +2 -2
- package/dist/cdn/{42HEJHI6.js → DKYVAGTI.js} +2 -2
- package/dist/cdn/{3R73JLSD.js → DLL675FL.js} +2 -2
- package/dist/cdn/{Z6H7IRQE.js → DMEFAZ76.js} +2 -2
- package/dist/cdn/{3PHDPXAJ.js → DQEVDO3H.js} +2 -2
- package/dist/cdn/{GKZ6QUAP.js → DR5TXETU.js} +2 -2
- package/dist/cdn/{OM6KDIHE.js → DRX3Q557.js} +2 -2
- package/dist/cdn/{PLVL5DCZ.js → DW2OGWTW.js} +2 -2
- package/dist/cdn/{Y2HYEQH3.js → DW46VKBZ.js} +2 -2
- package/dist/cdn/{NMQGESGT.js → DWP43GP4.js} +2 -2
- package/dist/cdn/{L7REH4GS.js → DX455HUC.js} +2 -2
- package/dist/cdn/{FPMWQKWP.js → DXLKZIT5.js} +2 -2
- package/dist/cdn/{7ILSYUVG.js → DYVBRMAK.js} +2 -2
- package/dist/cdn/{MRK57PD2.js → E37AIEUX.js} +2 -2
- package/dist/cdn/{U6JSNIWW.js → E3V7CI2N.js} +2 -2
- package/dist/cdn/{Y6LR2LCC.js → E6KYG4V7.js} +2 -2
- package/dist/cdn/{PG6MW32C.js → E7RVVEW4.js} +2 -2
- package/dist/cdn/{NVILLYDB.js → EB2QGHVR.js} +2 -2
- package/dist/cdn/{LXH5E4ZY.js → EBB534UJ.js} +2 -2
- package/dist/cdn/{HN3LHEND.js → EBIVM2FW.js} +2 -2
- package/dist/cdn/{FU54TKFE.js → EDUOSZ6M.js} +2 -2
- package/dist/cdn/{JFBVEJI5.js → ENH2ONZ4.js} +2 -2
- package/dist/cdn/{TK3FUWDS.js → ENPHJ77X.js} +2 -2
- package/dist/cdn/{Q7JI6DI6.js → ESLJFPTI.js} +2 -2
- package/dist/cdn/{6NELRJ2H.js → EWEKPBJH.js} +1 -1
- package/dist/cdn/{AZW2NXEX.js → F2FLEL5E.js} +1 -1
- package/dist/cdn/{KI5GDRPD.js → FAW6QK4L.js} +2 -2
- package/dist/cdn/{C2EJZCLH.js → FDJ43PSI.js} +2 -2
- package/dist/cdn/{FBJVP34R.js → FJCYNY4E.js} +2 -2
- package/dist/cdn/{VZVLU7SB.js → FLHJNKOE.js} +2 -2
- package/dist/cdn/{5JFVMBO2.js → FPNOAZMV.js} +2 -2
- package/dist/cdn/{PHD2JXXS.js → FQ6Z6D2R.js} +2 -2
- package/dist/cdn/{UEMZOJP7.js → FRQ67D6R.js} +2 -2
- package/dist/cdn/{7RD27NRL.js → FRSDFIQ7.js} +2 -2
- package/dist/cdn/{3TF5G4KA.js → FSR2DZ4R.js} +2 -2
- package/dist/cdn/{ZKKCHYBT.js → FXPO6BYH.js} +2 -2
- package/dist/cdn/{DGFTUMQV.js → G2GKYW5R.js} +2 -2
- package/dist/cdn/{2F7ALXUX.js → G76OWTXG.js} +2 -2
- package/dist/cdn/{ZDL6PLMR.js → GB5ZF5RN.js} +2 -2
- package/dist/cdn/{RI7CFHHT.js → GGN2FCCL.js} +1 -1
- package/dist/cdn/{HIZSG3H7.js → GHQDCMRA.js} +2 -2
- package/dist/cdn/{6GA4TTU6.js → GI7CHY4L.js} +2 -2
- package/dist/cdn/{UAQ4ENZD.js → GK3DRXAZ.js} +1 -1
- package/dist/cdn/{IM4TFY2P.js → GK44TAEU.js} +2 -2
- package/dist/cdn/{WSUEFFYO.js → GMSVYDIH.js} +2 -2
- package/dist/cdn/{VRMI4ZHP.js → GOHR47DB.js} +2 -2
- package/dist/cdn/{3DTIANCI.js → GQ7VWBI5.js} +2 -2
- package/dist/cdn/{JX4HPXM5.js → GSRYDGAV.js} +2 -2
- package/dist/cdn/{24T2UJRZ.js → H2TYXGET.js} +2 -2
- package/dist/cdn/{MFCI7VHS.js → H5JB4A4Q.js} +2 -2
- package/dist/cdn/{YI25E4UP.js → H5KGEGEJ.js} +2 -2
- package/dist/cdn/{XHKWA64N.js → HGLGHIDT.js} +2 -2
- package/dist/cdn/{SAG2RN6G.js → HS44XI6I.js} +2 -2
- package/dist/cdn/{OFYEAURI.js → HVY3WEAO.js} +2 -2
- package/dist/cdn/{3WWG56IF.js → HXDKDUWT.js} +2 -2
- package/dist/cdn/{23KXTS2Y.js → I6UOZCLY.js} +2 -2
- package/dist/cdn/{YZIJDNAN.js → IIR2GL4O.js} +2 -2
- package/dist/cdn/{JH3RY3D6.js → IK6T3CHJ.js} +2 -2
- package/dist/cdn/{7A3NYGL6.js → IMZUKA44.js} +2 -2
- package/dist/cdn/{D7PHPMMV.js → IPEIHK7F.js} +2 -2
- package/dist/cdn/{KRXVBCKO.js → IPIEVCV4.js} +2 -2
- package/dist/cdn/{VUBNDO4U.js → IR5XIL33.js} +2 -2
- package/dist/cdn/{K5QAR5IE.js → IXLH6PQM.js} +2 -2
- package/dist/cdn/{JYX4AQP3.js → JIZNITTB.js} +1 -1
- package/dist/cdn/{VL4CZC5A.js → JKFFGWIS.js} +2 -2
- package/dist/cdn/{U73R26ME.js → JMKECZSQ.js} +2 -2
- package/dist/cdn/{I6SQG26N.js → JMMK6ZMC.js} +2 -2
- package/dist/cdn/{THZNSUZ3.js → JPXLZZXS.js} +2 -2
- package/dist/cdn/{JKP7J4MY.js → JSGVVQLI.js} +2 -2
- package/dist/cdn/{7L5PTVSC.js → JSWGE7IT.js} +2 -2
- package/dist/cdn/{TOLYTYSJ.js → JXX4ZCZS.js} +2 -2
- package/dist/cdn/{HJE5Y2QL.js → JYBGDTJG.js} +2 -2
- package/dist/cdn/{L7FVT5L6.js → K26FULAO.js} +2 -2
- package/dist/cdn/{2CSV5S6B.js → K2SZM3RN.js} +1 -1
- package/dist/cdn/{TTSMP3QZ.js → K2TYLDFY.js} +2 -2
- package/dist/cdn/{ANQYFRBA.js → K6LFIJVD.js} +1 -1
- package/dist/cdn/{UH63RORK.js → K6YVVZZW.js} +2 -2
- package/dist/cdn/{MVKWSNOG.js → KBJVTI7N.js} +2 -2
- package/dist/cdn/{G74CBTNP.js → KF5JPRED.js} +2 -2
- package/dist/cdn/{ZHHGES6V.js → KIBTIL2M.js} +2 -2
- package/dist/cdn/{3DHJOW6U.js → KIZ6DB22.js} +2 -2
- package/dist/cdn/{BKARLQDQ.js → KJPAONFN.js} +2 -2
- package/dist/cdn/{LKAOJJOA.js → KJYG76JE.js} +2 -2
- package/dist/cdn/{BBQBX5GC.js → KPNT7J4P.js} +2 -2
- package/dist/cdn/{DUKTYSCP.js → KYOUFKRO.js} +2 -2
- package/dist/cdn/{F4XBGVXB.js → KYXJAPUO.js} +2 -2
- package/dist/cdn/{G2PUK7M7.js → L4UUJ7LK.js} +2 -2
- package/dist/cdn/{LJNHHMWR.js → LFYMUU2V.js} +2 -2
- package/dist/cdn/{ZKZQWG65.js → LH4BUNTY.js} +1 -1
- package/dist/cdn/{PAUUEQ7C.js → LI4VAQDX.js} +2 -2
- package/dist/cdn/{FKA4MJJG.js → LWDXOC4I.js} +2 -2
- package/dist/cdn/{XS26234E.js → LWQPYTCG.js} +2 -2
- package/dist/cdn/{UYJVLNBB.js → M54JSW3C.js} +2 -2
- package/dist/cdn/{NNDX2ITU.js → M72RT7HM.js} +1 -1
- package/dist/cdn/{HYG6KEUR.js → MEGQ6KRM.js} +2 -2
- package/dist/cdn/{Q3Y5X3CB.js → MIFZPSBO.js} +2 -2
- package/dist/cdn/{JT3QFTQD.js → MK7PM652.js} +2 -2
- package/dist/cdn/{4YLFWLNL.js → MKDT3Q7R.js} +2 -2
- package/dist/cdn/{TXXGRPTX.js → MLTX6O43.js} +2 -2
- package/dist/cdn/{7WIU5W3K.js → MMY2DKGT.js} +2 -2
- package/dist/cdn/{33PF5U5D.js → MX3TETVN.js} +2 -2
- package/dist/cdn/{5AAX26HN.js → MXD2VYNV.js} +2 -2
- package/dist/cdn/{42SZO5HE.js → MXJ7HWJS.js} +2 -2
- package/dist/cdn/{WX5CMBDC.js → MZSMLOVX.js} +2 -2
- package/dist/cdn/{ON2RPFRY.js → N22YJXXP.js} +2 -2
- package/dist/cdn/{CA6BFUGF.js → N2GS7B2K.js} +2 -2
- package/dist/cdn/{LNGJCRSK.js → N7HAI6WO.js} +2 -2
- package/dist/cdn/{KSD5UON3.js → NEJTX4GW.js} +2 -2
- package/dist/cdn/{SNDNNU4N.js → NHVC4YL2.js} +2 -2
- package/dist/cdn/{R37SYLOS.js → NIOKVXIH.js} +2 -2
- package/dist/cdn/{UJQJT2QU.js → NLH6AXUG.js} +2 -2
- package/dist/cdn/{7CLHES5O.js → NLID5CZE.js} +1 -1
- package/dist/cdn/{MMYJBMW4.js → NN3GJEFI.js} +2 -2
- package/dist/cdn/{ONIZDZMH.js → NQLUFBVG.js} +2 -2
- package/dist/cdn/{QNKVMLMV.js → NS7GJVVE.js} +2 -2
- package/dist/cdn/{NDBPZYRM.js → NTBVDB22.js} +2 -2
- package/dist/cdn/{OBVY6RXL.js → NY3225HU.js} +2 -2
- package/dist/cdn/NZ46RO5H.js +4 -0
- package/dist/cdn/{KCZAMIX5.js → O2J5OZHB.js} +2 -2
- package/dist/cdn/{OJ7AWUAC.js → O5BVM6GK.js} +2 -2
- package/dist/cdn/{4EG3XCO3.js → O63PPDNK.js} +2 -2
- package/dist/cdn/{A62HJDFV.js → OAW2LEQA.js} +2 -2
- package/dist/cdn/{P7OO44D7.js → ONCEFFGM.js} +1 -1
- package/dist/cdn/{3TQRZCUD.js → OPN7TLOX.js} +2 -2
- package/dist/cdn/{GAFR57GT.js → OTIO2N65.js} +1 -1
- package/dist/cdn/{LA4OK6NM.js → OZGOA53Z.js} +2 -2
- package/dist/cdn/P4RKKCIM.js +18 -0
- package/dist/cdn/{5TEXL4WE.js → P5ZMJP4V.js} +2 -2
- package/dist/cdn/{OFZX44EJ.js → PALJBSCG.js} +2 -2
- package/dist/cdn/{T77CMITV.js → PHL5FZXU.js} +2 -2
- package/dist/cdn/{JO2SUDF2.js → PN5GHDUD.js} +2 -2
- package/dist/cdn/{BEF54WQE.js → POHZFGWD.js} +2 -2
- package/dist/cdn/{UWFYHJQK.js → PQGFGPWX.js} +2 -2
- package/dist/cdn/PYZJLCSG.js +21 -0
- package/dist/cdn/{XMVIE566.js → Q2W2KV6V.js} +1 -1
- package/dist/cdn/{6WFASGQE.js → Q3VSD5OV.js} +2 -2
- package/dist/cdn/{ACLLRLYL.js → QB6CDCJD.js} +2 -2
- package/dist/cdn/{RXJ74C67.js → QLTL5AOZ.js} +2 -2
- package/dist/cdn/{ENY23UBT.js → QMUABZZ3.js} +2 -2
- package/dist/cdn/{4KGSOJYS.js → QR3L46D5.js} +2 -2
- package/dist/cdn/{ROFLULEZ.js → QV5VEINV.js} +2 -2
- package/dist/cdn/{ZXOTYGC2.js → RAB5X7AK.js} +2 -2
- package/dist/cdn/{SWNWQGWZ.js → RAZSWOEJ.js} +1 -1
- package/dist/cdn/{5P3YHKR4.js → RDI3HGUX.js} +2 -2
- package/dist/cdn/{JSFZNTRY.js → REQK6J2O.js} +1 -1
- package/dist/cdn/{77NPZ3EN.js → RF7GC7DM.js} +2 -2
- package/dist/cdn/{WH66M4HS.js → RI7XLU67.js} +2 -2
- package/dist/cdn/{KLEVGTVA.js → RJEZ6XWV.js} +2 -2
- package/dist/cdn/{CGMZ6N7V.js → RPW7AYSZ.js} +2 -2
- package/dist/cdn/{VGVTAFWC.js → RXVLH3D5.js} +2 -2
- package/dist/cdn/{AT7FRZO4.js → SEJEWX5Q.js} +2 -2
- package/dist/cdn/SGGGHGPT.js +4 -0
- package/dist/cdn/{4LPIPBUJ.js → SH5VQIC3.js} +2 -2
- package/dist/cdn/{EIW5R2HH.js → SJNT3XEY.js} +1 -1
- package/dist/cdn/{NQ4IXP2N.js → SLPPCCNN.js} +2 -2
- package/dist/cdn/{W6GHXLLI.js → SNLBW6KW.js} +2 -2
- package/dist/cdn/{W3Q55YM4.js → SONGFV3C.js} +2 -2
- package/dist/cdn/{JIDJ6OHU.js → STIQHGIK.js} +2 -2
- package/dist/cdn/{TW5PXCJZ.js → T62E5YW4.js} +2 -2
- package/dist/cdn/{R54VQUOZ.js → T6JOLUZG.js} +2 -2
- package/dist/cdn/{FJW6HZH7.js → TE5HWEFM.js} +2 -2
- package/dist/cdn/{LTXJ67HX.js → THAGNM2K.js} +2 -2
- package/dist/cdn/{7VTLIZPS.js → TJ7CBY32.js} +2 -2
- package/dist/cdn/{RELEWHKU.js → TTZL3K3E.js} +2 -2
- package/dist/cdn/{WHFIDBDK.js → TUVQYS2V.js} +2 -2
- package/dist/cdn/{ZJQG3QRK.js → TXYY3CZT.js} +2 -2
- package/dist/cdn/{XZZO3LEZ.js → TZBL6REQ.js} +2 -2
- package/dist/cdn/{CFYWNESC.js → U3OP2U6Z.js} +2 -2
- package/dist/cdn/{DIHMLGDI.js → U3XV5EYZ.js} +2 -2
- package/dist/cdn/{KR6KZ6YQ.js → UBZYZM33.js} +1 -1
- package/dist/cdn/{54Q7XCUA.js → UC3D77A5.js} +2 -2
- package/dist/cdn/{3UUEGJAX.js → UCPRRFQA.js} +2 -2
- package/dist/cdn/{PHYDKT7R.js → UJ6JDB4C.js} +2 -2
- package/dist/cdn/{SOJH6ART.js → UKMDLZPH.js} +2 -2
- package/dist/cdn/{NWMDBUOR.js → UO7OBDGW.js} +2 -2
- package/dist/cdn/{PQHVUFRW.js → UPPH5CBR.js} +2 -2
- package/dist/cdn/{ORQAVVPC.js → UQYGCFWX.js} +2 -2
- package/dist/cdn/{IZYMJLKT.js → UTTDAUUZ.js} +2 -2
- package/dist/cdn/{7GECVVKE.js → UY24LHY4.js} +2 -2
- package/dist/cdn/{PPTHIIKF.js → V3GKYXYA.js} +2 -2
- package/dist/cdn/{BPQUBZT7.js → V7PUCGHN.js} +2 -2
- package/dist/cdn/{V7ZDOEFI.js → VAAUVFHY.js} +2 -2
- package/dist/cdn/{Y2KGXGVR.js → VAOCCS73.js} +2 -2
- package/dist/cdn/{WORYPRED.js → VCIMKIQT.js} +2 -2
- package/dist/cdn/{5SV7SDN7.js → VHOSEV73.js} +2 -2
- package/dist/cdn/{SJZORYGU.js → VHUGNL45.js} +1 -1
- package/dist/cdn/{4KNNTHWK.js → VLVX734B.js} +1 -1
- package/dist/cdn/{LK25ZMER.js → VN3XEST3.js} +2 -2
- package/dist/cdn/{LNRE6HLQ.js → VPTBKBV5.js} +2 -2
- package/dist/cdn/{VMIK7WW5.js → VWLK7PTP.js} +2 -2
- package/dist/cdn/{5XAWRL5A.js → VY3IHGPV.js} +2 -2
- package/dist/cdn/{PV3PVCOT.js → W2ENMANA.js} +2 -2
- package/dist/cdn/{YW3B543X.js → W5C6XYPZ.js} +2 -2
- package/dist/cdn/{BLFJVRBD.js → WBHZGQ22.js} +2 -2
- package/dist/cdn/{PJU2MSEG.js → WEJPHZ6X.js} +1 -1
- package/dist/cdn/{JPSVIVXD.js → WF7TSEQJ.js} +2 -2
- package/dist/cdn/{554DSTXJ.js → WG7Q4BDA.js} +2 -2
- package/dist/cdn/{6XIAEGPC.js → WVPI3EEQ.js} +2 -2
- package/dist/cdn/{QYNK7LZC.js → X4RL35IN.js} +2 -2
- package/dist/cdn/{GLA2TUD2.js → X5V5AZ3Q.js} +1 -1
- package/dist/cdn/{X4DMCESP.js → XEQGV3GM.js} +2 -2
- package/dist/cdn/{4NISMYAP.js → XG2S3RYT.js} +2 -2
- package/dist/cdn/{DCM7PX7I.js → XGYMWH32.js} +2 -2
- package/dist/cdn/{QOMCKCGK.js → XJJOOJ6G.js} +2 -2
- package/dist/cdn/{A26MH4FT.js → XPLRTVAH.js} +2 -2
- package/dist/cdn/{NZ4X5KLT.js → XQAJKZ6C.js} +2 -2
- package/dist/cdn/{SHWTAJ6P.js → XSR3H3JE.js} +2 -2
- package/dist/cdn/{5GW4RTJF.js → XUR5SZQD.js} +2 -2
- package/dist/cdn/{VZJKTZYX.js → XX5RRYQ6.js} +2 -2
- package/dist/cdn/{VXSBPACS.js → XXXAZZZG.js} +2 -2
- package/dist/cdn/Y2IMB6QO.js +4 -0
- package/dist/cdn/{I5BN3W5V.js → YCORTFS7.js} +2 -2
- package/dist/cdn/{YBP2DH3I.js → YFVTFHHS.js} +2 -2
- package/dist/cdn/{S42DWOUI.js → YLMBFPLK.js} +2 -2
- package/dist/cdn/{GF6CTCWW.js → YN2WZXU6.js} +2 -2
- package/dist/cdn/{5IU2HQQH.js → YNKROYSZ.js} +2 -2
- package/dist/cdn/{76ZAB6L4.js → YNTK6QG4.js} +2 -2
- package/dist/cdn/{LZLSRA5W.js → YRHFGE4P.js} +1 -1
- package/dist/cdn/{NSARP2RF.js → YUPQSIMB.js} +2 -2
- package/dist/cdn/{CDAEAFDO.js → YX75OIOE.js} +2 -2
- package/dist/cdn/{2BNTQ6LN.js → YYHOJE6C.js} +2 -2
- package/dist/cdn/{QX2NBXJD.js → Z2TEZ7WH.js} +2 -2
- package/dist/cdn/{HQ4PXF77.js → Z35UNYVL.js} +2 -2
- package/dist/cdn/{FAOROQKT.js → ZE7HW2JM.js} +2 -2
- package/dist/cdn/{CQGXIOE7.js → ZHQ6ROUR.js} +2 -2
- package/dist/cdn/{T3MYKPCV.js → ZLUMLQMX.js} +2 -2
- package/dist/cdn/{KNCG6Q2J.js → ZTM3CDGV.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +3 -3
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +25 -9
- package/dist/components/solutions-deploy-app/customElement.js +26 -20
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +113 -42
- package/dist/docs/docs.json +69 -25
- package/dist/docs/vscode.html-custom-data.json +19 -4
- package/dist/docs/web-types.json +48 -14
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/package.json +6 -2
- package/dist/cdn/2UOIM3VP.js +0 -21
- package/dist/cdn/7ILIMXRZ.js +0 -4
- package/dist/cdn/D7PUM5DB.js +0 -4
- package/dist/cdn/EFTR3MFO.js +0 -4
- package/dist/cdn/GVL456QM.js +0 -4
- package/dist/cdn/OB3UET5F.js +0 -4
- package/dist/cdn/PMDEKKXF.js +0 -18
- package/dist/cdn/QAREBT4N.js +0 -4
- package/dist/cdn/UO6CSLS6.js +0 -4
- package/dist/cdn/XCFWYEW7.js +0 -4
@@ -1,6 +1,6 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
4
|
var Q=globalThis,Y=Q.ShadowRoot&&(Q.ShadyCSS===void 0||Q.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),Rt=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ut)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Y&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Rt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new I(typeof o=="string"?o:o+"",void 0,ut),ue=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new I(e,o,ut)},It=(o,t)=>{if(Y)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Q.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},ft=Y?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var{is:fe,defineProperty:me,getOwnPropertyDescriptor:ye,getOwnPropertyNames:ge,getOwnPropertySymbols:ve,getPrototypeOf:Ee}=Object,X=globalThis,kt=X.trustedTypes,$e=kt?kt.emptyScript:"",be=X.reactiveElementPolyfillSupport,k=(o,t)=>o,Z={toAttribute(o,t){switch(t){case Boolean:o=o?$e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},j=(o,t)=>!fe(o,t),jt={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),X.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&me(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=ye(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ee(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...ge(e),...ve(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(ft(r))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.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((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:Z).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Z;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??j)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,be?.({ReactiveElement:b}),(X.reactiveElementVersions??=[]).push("2.1.1");var yt=globalThis,tt=yt.trustedTypes,Ht=tt?tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,gt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,vt="?"+_,_e=`<${vt}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",Et=Array.isArray,qt=o=>Et(o)||typeof o?.[Symbol.iterator]=="function",mt=`[
|
5
5
|
\f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zt=/-->/g,Vt=/>/g,w=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Wt=/"/g,Gt=/^(?:script|style|textarea|title)$/i,$t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),hs=$t(1),ds=$t(2),ps=$t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Ft=new WeakMap,O=T.createTreeWalker(T,129);function Kt(o,t){if(!Et(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(t):t}var Jt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=zt:u[1]!==void 0?n=Vt:u[2]!==void 0?(Gt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??H,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Wt:Bt):n===Wt||n===Bt?n=w:n===zt||n===Vt?n=H:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===H?c+_e:h>=0?(s.push(l),c.slice(0,h)+gt+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Kt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Jt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(gt)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?st:C[1]==="?"?ot:C[1]==="@"?rt:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Gt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=tt?tt.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===vt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=V(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var et=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new L(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new it(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},L=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new et(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Ft.get(t.strings);return e===void 0&&Ft.set(t.strings,e=new B(t)),e}k(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},it=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Qt={M:gt,P:_,A:vt,C:1,L:Jt,R:et,D:qt,V:S,I:L,H:P,N:ot,U:rt,B:st,F:it},Ae=yt.litHtmlPolyfillSupport;Ae?.(B,L),(yt.litHtmlVersions??=[]).push("3.3.1");var bt=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new L(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var _t=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,_t.litElementHydrateSupport?.({LitElement:A});var Ce=_t.litElementPolyfillSupport;Ce?.({LitElement:A});(_t.litElementVersions??=[]).push("4.2.1");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var q=Symbol.for("controller"),we=o=>typeof o=="object"&&o!==null&&(q in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Os=o=>typeof o?.then=="function";var F,x=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},G=o=>F,N=[],Yt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Zt=()=>N,R,Ts=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},Oe=()=>{let o=R;return R=void 0,o},Xt=async(o,t)=>{let e=at(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},te=async o=>{let t=at(o);return await t.ready,t},at=o=>{let e=G().manager.X(o);if(e!==void 0)return e;if(we(o))return o;let s=Oe();if(s!==void 0)return s},nt=!1,Ss=o=>{nt=!0;try{return o()}finally{nt=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ee=(o,t)=>{let e=t>Te?Se:t/Pe,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Te=4e3,Se=2e3,Pe=4;var Ne=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},xe=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},De=(o=[G(),...Zt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ne(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){xe(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ue=(o="",t={},e=G())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&De(void 0,r=>o=r.key,s),s},Le=Ue.bind(null,""),re;re=q;var At=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[re]=!0,this.#a=[];let e=this,s=t??G(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=oe(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Yt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?oe(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#i),Xt}get useRef(){return x(this.#i),te}get useRefSync(){return x(this.#i),at}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(se,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(se,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function se(o){p(o,void 0,this)}var ie=At,oe=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(Re,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Re=/[A-Z]+(?![a-z])|[A-Z]/gu;var Is="randomUUID"in crypto;var Ot=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function St(){}var ke=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(je):void 0,C=g?.map(([U])=>U),D=class extends wt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},lt=Object.defineProperty,je=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},He=globalThis.HTMLElement??St,wt=class extends He{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ot(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Ve(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(ze,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ze([o,t]){this[o]=t}var Ve=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Be}=Qt;var ht=o=>o.strings===void 0,ne=()=>document.createComment(""),Gs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ne(),r),n=s.insertBefore(ne(),r);e=new Be(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Ks=(o,t,e=o)=>(o._$AI(t,e),o),We={},ae=(o,t=We)=>o._$AH=t,Js=o=>o._$AH,Qs=o=>{o._$AR(),o._$AA.remove()};var Fe=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ae(o),t}});var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ce=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Ke(t)}};function qe(o){this._$AN!==void 0?(dt(this),this._$AM=o,ce(this)):this._$AM=o}function Ge(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),dt(s[i]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Ke=o=>{o.type==m.CHILD&&(o._$AP??=Ge,o._$AQ??=qe)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ce(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var uo=()=>new Nt,Nt=class{},Pt=new WeakMap,xt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var le=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var he="important",Qe=" !"+he,de=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Qe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?he:""):e[s]=r}}return f}});var Dt=class extends ie{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Ut in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.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 ${Ut} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ee(t,is)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},is=1e3,Ut="autoDestroyDisabled",pe=class o extends A{constructor(){super(),this.M=[],this.manager=new Dt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!nt&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Tt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Ot(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Ut)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var nr=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var ar=o=>typeof o=="object"&&o!=null?le(o):o,cr=o=>typeof o=="object"&&o!=null?de(o):o;var Lt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},lr=E(Lt);var hr=d;export{Os as a,x as b,G as c,Yt as d,Zt as e,Ts as f,Ss as g,ue as h,hs as i,ds as j,f as k,d as l,xe as m,De as n,Le as o,At as p,ie as q,Tt as r,ke as s,m as t,E as u,v,Gs as w,Ks as x,ae as y,Js as z,Qs as A,Fe as B,uo as C,xt as D,pe as E,nr as F,ar as G,cr as H,hr as I};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import"./33VV6P5Q.js";import{a as m}from"./NY3225HU.js";import"./OPN7TLOX.js";import"./JMKECZSQ.js";import{b as p}from"./XEQGV3GM.js";import{D as c,E as h,h as r,i as d}from"./K2SZM3RN.js";import"./A6QKATD2.js";var u=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
4
|
var s="calcite-mode-light",c="calcite-mode-dark";function a(e){let t=e?.closest(`.${c}, .${s}`);return t==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t?.classList.contains(c)?"dark":"light"}export{a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{a as e}from"./B7ICGJ37.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import"./A6QKATD2.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",u="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",c="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",m="Fehler beim Laden des Layers.",g="Layer ist nicht verf\xFCgbar.",f="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",S="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",b="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",y="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",E="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",p="Fehler beim Abschlie\xDFen der Anforderung.",F="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",k="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",L="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",I="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <a href='${docLink}' target='_blank'>Mehr erfahren</a>",$="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",A="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",N="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:g,maxItems:f,mbFailedToSave:S,minItems:b,minLength:y,modelNotFound:E,networkError:p,noPermissionToAccessTool:F,portalLoadError:v,queryFeaturesError:P,requiredProperty:k,serviceNameExistsError:L,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:$,toolValidationError:A,whiteSpacePattern:N};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,g as layerUnavailable,f as maxItems,S as mbFailedToSave,b as minItems,y as minLength,E as modelNotFound,p as networkError,F as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,k as requiredProperty,L as serviceNameExistsError,I as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,A as toolValidationError,N as whiteSpacePattern};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import"./A6QKATD2.js";var e="\u60A8\u6CA1\u6709\u8DB3\u591F\u7684\u914D\u989D\u6765\u6267\u884C\u6B64\u64CD\u4F5C\u3002 \u8BF7\u8054\u7CFB ArcGIS \u7CFB\u7EDF\u7BA1\u7406\u5458\u83B7\u53D6\u5E2E\u52A9\u3002",a="\u8FD9\u4E2A\u5DE5\u5177\u662F\u4ECE\u7B14\u8BB0\u672C\u4E2D\u53D1\u5E03\u7684\u3002 \u60A8\u7684\u7EC4\u7EC7\u65E0\u6CD5\u8BBF\u95EE ArcGIS Notebooks\u3002 \u8BF7\u8054\u7CFB\u60A8\u7684\u7BA1\u7406\u5458\u6765\u8C03\u6574\u8BBE\u7F6E\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u987B\u4E0E\u4E0B\u5217\u5404\u9879\u4E4B\u4E00\u7684\u65B9\u6848\u5339\u914D\uFF1A${ schemaOptions }\u3002",o="\u8BF7\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u8BE5\u5730\u56FE\u3002",s="\u914D\u989D\u4F30\u7B97\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\uFF0C\u7136\u540E\u518D\u6B21\u4F30\u7B97\u914D\u989D\u3002",i="\u8FD0\u884C\u5206\u6790\u65F6\u51FA\u9519\u3002",l="${ dataPath } \u5FC5\u987B\u7B49\u4E8E\u4EE5\u4E0B\u5141\u8BB8\u503C\u4E4B\u4E00\uFF1A${ allowedValues }\u3002",d="\u65E0\u6CD5\u4FDD\u5B58\u5206\u6790\u5386\u53F2\u8BB0\u5F55",n="\u5386\u53F2\u8BB0\u5F55\u5B58\u50A8\u5DF2\u6EE1\u3002 \u8BF7\u4ECE\u5206\u6790\u5386\u53F2\u8BB0\u5F55\u4E2D\u79FB\u9664\u4E00\u4E9B\u9879\u76EE\u5E76\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u3002",c="\u670D\u52A1\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002",m="\u5C06\u4E34\u65F6\u56FE\u5C42\u4FDD\u5B58\u4E3A\u672A\u5B8C\u6210\u7684\u6258\u7BA1\u8981\u7D20\u56FE\u5C42\u3002",u="\u65E0\u6CD5\u83B7\u53D6\u5173\u952E\u5C5E\u6027\u3002",E="\u65E0\u6CD5\u52A0\u8F7D\u56FE\u5C42\u3002",h="\u56FE\u5C42\u4E0D\u53EF\u7528\u3002",y="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u591A\u4E8E ${ limit } \u4E2A\u3002",P="\u4FDD\u5B58\u6A21\u578B\u65F6\u53D1\u751F\u9519\u8BEF\u3002 \u8BF7\u518D\u6B21\u5C1D\u8BD5\u4FDD\u5B58\u3002",p="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u5C11\u4E8E ${ limit } \u4E2A\u3002",S="${ dataPath } \u4E0D\u5E94\u77ED\u4E8E ${ limit } \u4E2A\u5B57\u7B26\u3002",$="\u65E0\u6CD5\u52A0\u8F7D\u6A21\u578B\u9879\u3002 \u786E\u4FDD\u6A21\u578B\u5B58\u5728\u5E76\u4E14\u5DF2\u6388\u4E88\u8BBF\u95EE\u6743\u9650\u3002",v="\u65E0\u6CD5\u5B8C\u6210\u8BF7\u6C42\u3002",f="\u60A8\u6CA1\u6709\u8FD0\u884C\u6B64\u5DE5\u5177\u7684\u6743\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F</calcite-link>",F="\u65E0\u6CD5\u767B\u5F55\u95E8\u6237\u3002",I="\u65E0\u6CD5\u8BFB\u53D6\u8F93\u5165\u6570\u636E\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u4E3A ${ missingProperty } \u7684\u5C5E\u6027\u3002",T="\u5DF2\u5B58\u5728\u5177\u6709\u6B64\u540D\u79F0\u7684\u7ED3\u679C\u56FE\u5C42\u3002 \u5728\u6574\u4E2A\u7EC4\u7EC7\u4E2D\u7ED3\u679C\u56FE\u5C42\u540D\u79F0\u5FC5\u987B\u552F\u4E00\u3002 \u8BF7\u4F7F\u7528\u5176\u4ED6\u540D\u79F0\u3002",L="\u8F93\u51FA\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002 <a href='${docLink}' target='_blank'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F\u3002</a>",b="\u7531\u4E8E\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u6BB5\uFF0C\u5C06\u4E34\u65F6\u56FE\u5C42\u53D1\u5E03\u4E3A\u6258\u7BA1\u56FE\u5C42\u5931\u8D25\u3002 \u91CD\u65B0\u8FD0\u884C\u8BE5\u5DE5\u5177\u4EE5\u521B\u5EFA\u5177\u6709\u6709\u6548\u5B57\u6BB5\u7684\u56FE\u5C42\u3002",N="\u4F5C\u4E1A\u63D0\u4EA4\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\u5E76\u518D\u6B21\u8FD0\u884C\u8BE5\u5206\u6790\u3002",g="${ dataPath } \u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u7A7A\u767D\u5B57\u7B26\u3002",C={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,C as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{a as l}from"./MXD2VYNV.js";import"./YRHFGE4P.js";import"./K6YVVZZW.js";import"./B7ICGJ37.js";import{a as o}from"./K26FULAO.js";import"./FAW6QK4L.js";import"./7BO3ANFM.js";import"./4UJYA5HN.js";import"./DWP43GP4.js";import"./XQAJKZ6C.js";import"./PN5GHDUD.js";import"./LFYMUU2V.js";import"./P5ZMJP4V.js";import"./UKMDLZPH.js";import"./SJNT3XEY.js";import"./IIR2GL4O.js";import"./GGN2FCCL.js";import"./GK3DRXAZ.js";import"./ZTM3CDGV.js";import"./BX4JV3MY.js";import"./L4UUJ7LK.js";import"./VHUGNL45.js";import"./YLMBFPLK.js";import"./JMMK6ZMC.js";import"./MEGQ6KRM.js";import"./ALBAP5B2.js";import"./AUKH3VVM.js";import"./A6QKATD2.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as S}from"./R7UBXNSY.js";import{b as d,c as g,i as y,j as N}from"./56OZKJMF.js";import{a as I}from"./6NELRJ2H.js";import{a as M,e as E,f as T,g as F}from"./JPSVIVXD.js";import{a as $,b as R}from"./7WIU5W3K.js";import{d as l,e as p,f as c}from"./TO2EI765.js";import{a as A}from"./LZLSRA5W.js";import{a as x}from"./WGN5DCPW.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{a as S}from"./2FSPJE7Q.js";import{b as d,c as g,i as y,j as N}from"./AKGLKYCK.js";import{a as I}from"./EWEKPBJH.js";import{a as M,e as E,f as T,g as F}from"./WF7TSEQJ.js";import{a as $,b as R}from"./MMY2DKGT.js";import{d as l,e as p,f as c}from"./4E7KLTF4.js";import{a as A}from"./YRHFGE4P.js";import{a as x}from"./B7ICGJ37.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{a as o}from"./CCMZNDQA.js";import{d as r}from"./2EF374XU.js";import"./K6YVVZZW.js";import"./B7ICGJ37.js";import{a as s}from"./K26FULAO.js";import"./FAW6QK4L.js";import"./7BO3ANFM.js";import"./4UJYA5HN.js";import"./DWP43GP4.js";import"./XQAJKZ6C.js";import"./PN5GHDUD.js";import"./LFYMUU2V.js";import"./P5ZMJP4V.js";import"./UKMDLZPH.js";import"./SJNT3XEY.js";import"./IIR2GL4O.js";import"./GGN2FCCL.js";import"./GK3DRXAZ.js";import"./ZTM3CDGV.js";import"./BX4JV3MY.js";import"./L4UUJ7LK.js";import"./VHUGNL45.js";import"./YLMBFPLK.js";import"./JMMK6ZMC.js";import"./MEGQ6KRM.js";import"./ALBAP5B2.js";import"./AUKH3VVM.js";import"./A6QKATD2.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as f}from"./5XAWRL5A.js";import{a as _}from"./ANQYFRBA.js";import{a as S}from"./54Q7XCUA.js";import{B as D,C as I}from"./UXBQKCZL.js";import{b as L}from"./PHZI3UCV.js";import"./3TQRZCUD.js";import"./U73R26ME.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./2CSV5S6B.js";import"./RUQ4ULAX.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{a as f}from"./VY3IHGPV.js";import{a as _}from"./K6LFIJVD.js";import{a as S}from"./UC3D77A5.js";import{B as D,C as I}from"./AQ2FH3YW.js";import{b as L}from"./BSLRHAFV.js";import"./OPN7TLOX.js";import"./JMKECZSQ.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./K2SZM3RN.js";import"./A6QKATD2.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,u={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as h}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{b as h}from"./XEQGV3GM.js";import{E as d,h as n,i as s,l as c,o as l,r as o}from"./K2SZM3RN.js";import"./A6QKATD2.js";var p=n`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{la as n,na as a,pa as m}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{la as n,na as a,pa as m}from"./YFVTFHHS.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as u,e as h}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{a as u,e as h}from"./E3V7CI2N.js";import{a}from"./WBHZGQ22.js";import"./X5V5AZ3Q.js";import"./YFVTFHHS.js";import"./6NJ46TBU.js";import"./I6UOZCLY.js";import"./V7PUCGHN.js";import"./KIZ6DB22.js";import"./2FSPJE7Q.js";import"./M72RT7HM.js";import"./4X5NYKWT.js";import"./AKGLKYCK.js";import"./F2FLEL5E.js";import"./EWEKPBJH.js";import"./44QYZ3R3.js";import"./WF7TSEQJ.js";import"./2EF374XU.js";import"./MMY2DKGT.js";import"./4E7KLTF4.js";import"./YRHFGE4P.js";import"./K6YVVZZW.js";import"./B7ICGJ37.js";import"./7BO3ANFM.js";import"./JIZNITTB.js";import{b as l}from"./XEQGV3GM.js";import{E as i,o,r as n}from"./K2SZM3RN.js";import"./A6QKATD2.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as e}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{b as e}from"./VHUGNL45.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{a as e}from"./MEGQ6KRM.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
4
|
function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{k as a}from"./
|
3
|
+
v1.1.0-next.20250828.1 */
|
4
|
+
import{k as a}from"./AKGLKYCK.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
|