@esri/solutions-components 1.0.0-next.20250530.1 → 1.0.0-next.20250603
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/{FHVWZYRK.js → 2A4GEMAW.js} +2 -2
- package/dist/cdn/{JM6ORLVQ.js → 2FAWIR6P.js} +2 -2
- package/dist/cdn/{CMOLOAHQ.js → 2UN6IWSF.js} +2 -2
- package/dist/cdn/{472AWOX3.js → 2VM7OA5E.js} +1 -1
- package/dist/cdn/{3EVL4T45.js → 2ZA57CGC.js} +2 -2
- package/dist/cdn/{UZC6O522.js → 33FSCQFR.js} +2 -2
- package/dist/cdn/{MYGSYGYU.js → 33K737QJ.js} +2 -2
- package/dist/cdn/{223GEOHY.js → 366RGXYU.js} +2 -2
- package/dist/cdn/{BEBIPBJB.js → 37XXJM5S.js} +1 -1
- package/dist/cdn/{6ZIUZPW6.js → 3AUAAUJV.js} +2 -2
- package/dist/cdn/{XHQDXY4H.js → 3CMDAXPK.js} +2 -2
- package/dist/cdn/3FBV55H2.js +18 -0
- package/dist/cdn/{PHA5TYOC.js → 3FNKOWZ6.js} +1 -1
- package/dist/cdn/{2T7OWYJF.js → 3J7INGHN.js} +1 -1
- package/dist/cdn/{I5YXI6G2.js → 3MFVOQAG.js} +2 -2
- package/dist/cdn/{XZBB2UEX.js → 3QLFODAB.js} +1 -1
- package/dist/cdn/{7D7PABFH.js → 44H7S4RI.js} +2 -2
- package/dist/cdn/{VHCT5ETZ.js → 4A3IVB2K.js} +1 -1
- package/dist/cdn/{5LMXTWC2.js → 4CFJ2SMT.js} +2 -2
- package/dist/cdn/{H77B36RA.js → 4FJS36XM.js} +2 -2
- package/dist/cdn/{USUJ3LC6.js → 4GDXQTTJ.js} +2 -2
- package/dist/cdn/{2JM5ZUYC.js → 4GVXF3RJ.js} +2 -2
- package/dist/cdn/{ILUBVWJF.js → 4HXEQA7V.js} +1 -1
- package/dist/cdn/{YY23O533.js → 4N7K4EPV.js} +1 -1
- package/dist/cdn/{HCVBMJG5.js → 4N7Y4SLD.js} +2 -2
- package/dist/cdn/{5T6A2NT3.js → 4NEYX376.js} +2 -2
- package/dist/cdn/{2ED5S63G.js → 4VW6QB4P.js} +2 -2
- package/dist/cdn/{7P23QXUP.js → 4ZO64GTY.js} +2 -2
- package/dist/cdn/{KCN6JCXH.js → 52AYXYEN.js} +2 -2
- package/dist/cdn/{HQ4JF5OI.js → 5756YADX.js} +2 -2
- package/dist/cdn/{JAG5YFJB.js → 57BGJBOO.js} +2 -2
- package/dist/cdn/{6KYFPVWD.js → 5GKR6FQH.js} +1 -1
- package/dist/cdn/{2C2446YO.js → 5JNNNRPL.js} +2 -2
- package/dist/cdn/{P6B7MWVF.js → 5JUK3RD2.js} +2 -2
- package/dist/cdn/{EUKMNMGH.js → 5L7SETEA.js} +2 -2
- package/dist/cdn/{5A7G5CA4.js → 5PURYCNE.js} +2 -2
- package/dist/cdn/{UWYX3KLQ.js → 5PY2QCXV.js} +2 -2
- package/dist/cdn/{Z42LHLHR.js → 5PZG4WZ2.js} +1 -1
- package/dist/cdn/{XLMYFJTK.js → 5U3O5R7Y.js} +2 -2
- package/dist/cdn/{FPPXUL5B.js → 5UT6LXX2.js} +2 -2
- package/dist/cdn/{DZSY5JZN.js → 5X5QWLK4.js} +2 -2
- package/dist/cdn/{CH5PRHPR.js → 5ZXK637K.js} +2 -2
- package/dist/cdn/{AAQNZMHM.js → 625KI7RI.js} +2 -2
- package/dist/cdn/{U5GNKKAT.js → 6BNB663M.js} +2 -2
- package/dist/cdn/{PND2W5YW.js → 6EAMLBZU.js} +2 -2
- package/dist/cdn/{EL4X5ULJ.js → 6GMUYDHZ.js} +2 -2
- package/dist/cdn/{RVQUWOMM.js → 6GZFUPXS.js} +1 -1
- package/dist/cdn/{CTUHVTSA.js → 6LE4JC6W.js} +2 -2
- package/dist/cdn/{UY5WXQ65.js → 6O7FQOIX.js} +1 -1
- package/dist/cdn/{YMHHSIXK.js → 6R5LTHVO.js} +2 -2
- package/dist/cdn/{QF5QELVM.js → 6VGQW5MK.js} +2 -2
- package/dist/cdn/{6BYYEA3R.js → 6VSNZOZV.js} +2 -2
- package/dist/cdn/{I5VSPGGJ.js → 6Y7X5HKR.js} +2 -2
- package/dist/cdn/{5DFDVK6H.js → 72374WTO.js} +2 -2
- package/dist/cdn/{RSMTUN7I.js → 74JXQPXY.js} +2 -2
- package/dist/cdn/{CQFA3WBO.js → 75V45OM3.js} +2 -2
- package/dist/cdn/{VPRU3HQD.js → 7UK3LDOL.js} +2 -2
- package/dist/cdn/{GE3L6RLR.js → 7UUANWXQ.js} +2 -2
- package/dist/cdn/{C34H6SGK.js → 7XDQ6QJZ.js} +1 -1
- package/dist/cdn/{HYIN2EAD.js → A24PAMGW.js} +2 -2
- package/dist/cdn/{6M5LLBFV.js → A6BPCOYC.js} +2 -2
- package/dist/cdn/{2B4ODL4I.js → A6HBKPQC.js} +1 -1
- package/dist/cdn/{HQW4WYSH.js → A6LXL735.js} +2 -2
- package/dist/cdn/{MWA7BHLK.js → ABLJTPNB.js} +2 -2
- package/dist/cdn/{ZFWMGQUB.js → AEWLEC5R.js} +2 -2
- package/dist/cdn/{LATOYW5P.js → AIJ5IYXI.js} +1 -1
- package/dist/cdn/{RY37AQKX.js → AMYCKO4M.js} +2 -2
- package/dist/cdn/{KQCFHFAG.js → APRZLZCN.js} +2 -2
- package/dist/cdn/{XCCD5RBC.js → APZSVZBW.js} +2 -2
- package/dist/cdn/{YR5E3HFV.js → AQYHVXUQ.js} +2 -2
- package/dist/cdn/{V3NJ7RMG.js → ARGDR2B4.js} +1 -1
- package/dist/cdn/{R7OODGTN.js → ASKMOKLW.js} +2 -2
- package/dist/cdn/{O5IG7QMW.js → ATDAOWND.js} +2 -2
- package/dist/cdn/{7PDUKDDV.js → AV45F7BZ.js} +2 -2
- package/dist/cdn/AXFC7FMV.js +18 -0
- package/dist/cdn/{FDZTWT7F.js → BA6IXACI.js} +2 -2
- package/dist/cdn/{SGGIVA63.js → BDT7Z5VR.js} +1 -1
- package/dist/cdn/{EK4MS2HQ.js → BEOJ6WGN.js} +2 -2
- package/dist/cdn/{NNRPVDMT.js → BGXUK5SF.js} +2 -2
- package/dist/cdn/{VKCASX3G.js → BKUY276R.js} +2 -2
- package/dist/cdn/{GWV77TVF.js → BQTXWTTW.js} +2 -2
- package/dist/cdn/{5S33W4IV.js → BTBLSPFB.js} +2 -2
- package/dist/cdn/{JTDXHRQI.js → BTV6ZEWW.js} +2 -2
- package/dist/cdn/{3GNSS25V.js → BUVWZH45.js} +2 -2
- package/dist/cdn/{AX3FGYBT.js → BZDTBACE.js} +2 -2
- package/dist/cdn/BZJZ6IXS.js +18 -0
- package/dist/cdn/{MDHH56JU.js → C57X3EHF.js} +2 -2
- package/dist/cdn/{QSCPIFBP.js → C7LCT6L6.js} +2 -2
- package/dist/cdn/{TTJLCKXQ.js → CC4YYOYD.js} +2 -2
- package/dist/cdn/{Z3QNUQDB.js → CGOBCP3P.js} +2 -2
- package/dist/cdn/{VN7EOIEM.js → CI4LQLVW.js} +2 -2
- package/dist/cdn/{NTHWDWQ4.js → CNKJYGTH.js} +2 -2
- package/dist/cdn/{CCKIOTSJ.js → CSZGFTFE.js} +1 -1
- package/dist/cdn/{M6XUGB2Z.js → CTIVVKPV.js} +2 -2
- package/dist/cdn/{JFKJRB56.js → DBDPNXPQ.js} +2 -2
- package/dist/cdn/{F3IRPQCO.js → DBR5OOXL.js} +2 -2
- package/dist/cdn/{HITNOOU3.js → DFKIBEIZ.js} +2 -2
- package/dist/cdn/{QU3EEVJP.js → DHYY26PS.js} +2 -2
- package/dist/cdn/{OVK3TD4M.js → DLY245BW.js} +2 -2
- package/dist/cdn/{YB3XRPJ5.js → DPWTZQFE.js} +2 -2
- package/dist/cdn/{6DT74H27.js → DTXUMQ6N.js} +2 -2
- package/dist/cdn/{GJKEPLSZ.js → DUMZWQHJ.js} +1 -1
- package/dist/cdn/{XZEDAG2T.js → DWO237TU.js} +2 -2
- package/dist/cdn/{UZ7Z2JVT.js → E7CHZ6T4.js} +1 -1
- package/dist/cdn/{QMT7LNSC.js → EG6MMGUU.js} +2 -2
- package/dist/cdn/{SAQTFWRS.js → EHLYUUVS.js} +2 -2
- package/dist/cdn/EN7UO6LR.js +4 -0
- package/dist/cdn/{24TZCC7K.js → ET6AHSSP.js} +2 -2
- package/dist/cdn/{H3O4ORNM.js → EUPMJ7XB.js} +2 -2
- package/dist/cdn/{73DTRGE3.js → EXON27GM.js} +2 -2
- package/dist/cdn/{TIPFSDZA.js → F2J5Y7E5.js} +2 -2
- package/dist/cdn/{BGVLMLWE.js → F3X2BLQJ.js} +2 -2
- package/dist/cdn/{TWSV65O2.js → F4DJRFSB.js} +2 -2
- package/dist/cdn/{ORPALJYI.js → F7WITYQU.js} +2 -2
- package/dist/cdn/{YUAPYYIK.js → FMHPOGCM.js} +2 -2
- package/dist/cdn/{VF44ZDU6.js → FQ5JTH4I.js} +2 -2
- package/dist/cdn/{RRKWVYF6.js → FSBIFQHD.js} +2 -2
- package/dist/cdn/G5JN5E37.js +4 -0
- package/dist/cdn/{ON477UD5.js → GIVVHLJ5.js} +2 -2
- package/dist/cdn/{SGUBT5JB.js → GPQOLN4J.js} +2 -2
- package/dist/cdn/{VE4I5REF.js → GRCGJF6L.js} +1 -1
- package/dist/cdn/{OPHPZAWR.js → H542B5JM.js} +2 -2
- package/dist/cdn/{FZXH5UDA.js → H6ETAJI7.js} +2 -2
- package/dist/cdn/{TQM2UAMN.js → HAAZRTY4.js} +2 -2
- package/dist/cdn/{D6EOKX53.js → HCXLUG62.js} +2 -2
- package/dist/cdn/{WSDY2CHI.js → HGZ2ZRG2.js} +1 -1
- package/dist/cdn/HID27YYE.js +4 -0
- package/dist/cdn/{A5KMT3LM.js → HNMWLQ4P.js} +2 -2
- package/dist/cdn/{MHOAA6P3.js → HP47KQIL.js} +2 -2
- package/dist/cdn/{CBQHTAYP.js → HQMCVYLV.js} +2 -2
- package/dist/cdn/{OSW5BFUP.js → HQR4DBRY.js} +2 -2
- package/dist/cdn/{GDZS5JMN.js → HZZSNBS3.js} +2 -2
- package/dist/cdn/{EXXZSWW2.js → I65GKBFK.js} +2 -2
- package/dist/cdn/{3VKOIUB3.js → IH7CEDCW.js} +2 -2
- package/dist/cdn/{LWP7WX74.js → IHNKHDTN.js} +1 -1
- package/dist/cdn/{UE3MOFNO.js → IINUYE7O.js} +2 -2
- package/dist/cdn/{JQEVQ7FX.js → IMRODQTR.js} +2 -2
- package/dist/cdn/{P4QZUNYY.js → ISDGBZLI.js} +2 -2
- package/dist/cdn/{MNA6JCMZ.js → ISGD7DRK.js} +2 -2
- package/dist/cdn/{AFD4RBBU.js → IV5W2LR4.js} +2 -2
- package/dist/cdn/{64FZOXAN.js → J57JECBB.js} +2 -2
- package/dist/cdn/{BD737FGF.js → JDRWWKDW.js} +2 -2
- package/dist/cdn/{VMWRKCHU.js → JGJJH7WF.js} +2 -2
- package/dist/cdn/{WBJLCNZG.js → JOMS47IX.js} +2 -2
- package/dist/cdn/{7CR6HYTL.js → JSM2S2QS.js} +2 -2
- package/dist/cdn/{GJWN4WP3.js → JYGCMVNR.js} +2 -2
- package/dist/cdn/{EMCOKOZ5.js → K2VGV4UZ.js} +2 -2
- package/dist/cdn/{DRGQGDS6.js → K3SJYM4F.js} +2 -2
- package/dist/cdn/{O2HIRP5H.js → KAWZEU6O.js} +2 -2
- package/dist/cdn/{OPPO4362.js → KFM7WUAQ.js} +2 -2
- package/dist/cdn/{NEMP2EEG.js → KL7DRDW2.js} +2 -2
- package/dist/cdn/{QCU33RPV.js → KNCDLA4E.js} +1 -1
- package/dist/cdn/{RC47QK6Z.js → KRV3SETB.js} +2 -2
- package/dist/cdn/{HMGYITJ2.js → KSDOE35B.js} +2 -2
- package/dist/cdn/{7TZWE6K3.js → KW7ESGLJ.js} +2 -2
- package/dist/cdn/{QUVQBXCE.js → KWZCQ3VD.js} +1 -1
- package/dist/cdn/{WAQJ4IC3.js → KXEMWZO6.js} +2 -2
- package/dist/cdn/{L4KM5BWJ.js → L4ISV5RK.js} +2 -2
- package/dist/cdn/{T2TH26PQ.js → L6CX44Z5.js} +2 -2
- package/dist/cdn/LA6STTUP.js +18 -0
- package/dist/cdn/{YUQ2VNA6.js → LCECO72T.js} +2 -2
- package/dist/cdn/{NTASDALK.js → LCQZYUYU.js} +2 -2
- package/dist/cdn/{4TE3RTYX.js → LDHWWP3O.js} +2 -2
- package/dist/cdn/{ES6XKTKK.js → LLCIDIID.js} +1 -1
- package/dist/cdn/{OF5XRF7X.js → LQRRCB3C.js} +2 -2
- package/dist/cdn/{F7SKZ7TX.js → LR47QHYS.js} +2 -2
- package/dist/cdn/{6FUII4JI.js → LVIZMINF.js} +2 -2
- package/dist/cdn/{VVQFUKSX.js → LXPHCBM5.js} +2 -2
- package/dist/cdn/{RCFE6H7G.js → LXS2AJEK.js} +2 -2
- package/dist/cdn/{EDTDPGLP.js → LYFNBASL.js} +2 -2
- package/dist/cdn/{VFHITJHF.js → M26MNGCL.js} +2 -2
- package/dist/cdn/{55EBYUZN.js → M5WEVKK2.js} +2 -2
- package/dist/cdn/{C556IKNJ.js → M7ITS5EC.js} +1 -1
- package/dist/cdn/{V2CTNIEN.js → M7TM6DL5.js} +2 -2
- package/dist/cdn/{PDWNCQED.js → MBKEEFO3.js} +2 -2
- package/dist/cdn/{7LTABIRE.js → MEW36LMS.js} +2 -2
- package/dist/cdn/{77VHGJGG.js → MTAFSOZF.js} +1 -1
- package/dist/cdn/{F45IOLFK.js → MZ3C3PLC.js} +2 -2
- package/dist/cdn/{AOPVDS2B.js → N2TNRWJF.js} +2 -2
- package/dist/cdn/{CPBYDRAF.js → NB2AKH3A.js} +2 -2
- package/dist/cdn/NCNFBZEY.js +4 -0
- package/dist/cdn/{MCM7XWTF.js → NJS2CKEO.js} +2 -2
- package/dist/cdn/{X6MD346Y.js → NKM5PHRC.js} +2 -2
- package/dist/cdn/{NIXMWDPM.js → NNZZATKY.js} +1 -1
- package/dist/cdn/{DA5DY7HY.js → NQ4ICIBR.js} +1 -1
- package/dist/cdn/{GMHH44W3.js → NWZYZHBH.js} +2 -2
- package/dist/cdn/{UCRJGUPR.js → NZC7ZEDD.js} +2 -2
- package/dist/cdn/{UQ6BMBWB.js → OHOSKCFF.js} +2 -2
- package/dist/cdn/{C3P3IFUU.js → OOS7Q5BR.js} +2 -2
- package/dist/cdn/{VZJ4LWYJ.js → OPSLTU2D.js} +2 -2
- package/dist/cdn/{MKROWF52.js → ORS7WW2L.js} +2 -2
- package/dist/cdn/{GZU2CPZN.js → OXLCWOZZ.js} +1 -1
- package/dist/cdn/{3J33WXHY.js → OZM5FWRV.js} +2 -2
- package/dist/cdn/{NBHU4HTV.js → PHD2JCWF.js} +2 -2
- package/dist/cdn/{JSIYTPMP.js → PLHROWIR.js} +2 -2
- package/dist/cdn/{W6GET7ZB.js → POKUL5TH.js} +2 -2
- package/dist/cdn/{IDBD7LSX.js → PRAQJCBD.js} +1 -1
- package/dist/cdn/{BMXZA6UO.js → PWEVKIZK.js} +2 -2
- package/dist/cdn/{O5STABPN.js → Q56UGEXW.js} +3 -3
- package/dist/cdn/{45VAALBN.js → Q5NAOGAD.js} +2 -2
- package/dist/cdn/{2TFAMRO4.js → QH2NM2LV.js} +2 -2
- package/dist/cdn/{HAQYF5US.js → QNCDHG6M.js} +2 -2
- package/dist/cdn/{QEWSNHU7.js → QSLPNYME.js} +2 -2
- package/dist/cdn/{T4BAASGD.js → QUD76AE3.js} +2 -2
- package/dist/cdn/{TP3QX5HT.js → QXSB5XMK.js} +2 -2
- package/dist/cdn/QY23GFSQ.js +18 -0
- package/dist/cdn/{GUTIVTWX.js → QY45MM6H.js} +2 -2
- package/dist/cdn/{6XR6SHED.js → QZX4UFCY.js} +2 -2
- package/dist/cdn/{OONRY2LS.js → R53AHPX5.js} +2 -2
- package/dist/cdn/{7NWNTAMW.js → R6NTO3Q6.js} +2 -2
- package/dist/cdn/{ZXPEMYN2.js → RFHDRFGS.js} +2 -2
- package/dist/cdn/RFWDAEX2.js +4 -0
- package/dist/cdn/{I5SZYEIS.js → RGCRUPHX.js} +2 -2
- package/dist/cdn/{KLKHZZWM.js → RHGYSJQA.js} +2 -2
- package/dist/cdn/{F56VXVXX.js → RVHAU3CH.js} +2 -2
- package/dist/cdn/{JKNNOYXC.js → RWFF5YID.js} +2 -2
- package/dist/cdn/{BV76MPA5.js → RWRLALYY.js} +1 -1
- package/dist/cdn/{NNQEWRZP.js → S4TXVKLA.js} +2 -2
- package/dist/cdn/{SLLAIEW4.js → SAR7MN33.js} +2 -2
- package/dist/cdn/{CCBFE5GN.js → SAZR5JKX.js} +2 -2
- package/dist/cdn/{JI5ZRG7H.js → SDRAN3OH.js} +2 -2
- package/dist/cdn/{VGOCUCWJ.js → SG7ASNOB.js} +2 -2
- package/dist/cdn/{W6QIPNCT.js → SH3K2KFX.js} +2 -2
- package/dist/cdn/{CXJ53YNZ.js → SIQSKU2H.js} +2 -2
- package/dist/cdn/{WS4WNRNQ.js → SJTUSB4R.js} +2 -2
- package/dist/cdn/{YF65GC7S.js → SZFRG5K6.js} +2 -2
- package/dist/cdn/TALVCF4P.js +4 -0
- package/dist/cdn/{UFW2PO2K.js → THS6LBCN.js} +2 -2
- package/dist/cdn/{BOKYBROP.js → TMHRPUNK.js} +2 -2
- package/dist/cdn/{DV3SVW2J.js → TN5EFH2C.js} +2 -2
- package/dist/cdn/{MVQ6IP26.js → TOKE63N3.js} +2 -2
- package/dist/cdn/TQMRSAFA.js +4 -0
- package/dist/cdn/{N33BUUYD.js → TUAWE5EN.js} +2 -2
- package/dist/cdn/{RX6Y3JHB.js → TUCFY7YQ.js} +2 -2
- package/dist/cdn/{3YMTKEK5.js → TUHWQGYN.js} +1 -1
- package/dist/cdn/{46KNGUML.js → TV65JGDX.js} +2 -2
- package/dist/cdn/{ZKX2RDI2.js → U4GLVCNY.js} +2 -2
- package/dist/cdn/{NUFMCKHA.js → UHUD34X4.js} +2 -2
- package/dist/cdn/{IRHPLBFA.js → URYZV6SO.js} +2 -2
- package/dist/cdn/{J3RU5GJE.js → UUR3FD45.js} +2 -2
- package/dist/cdn/UWKI6HOQ.js +4 -0
- package/dist/cdn/{2ZIEEWZM.js → UWWBX26U.js} +2 -2
- package/dist/cdn/{LSMRI35A.js → V22D7OG6.js} +2 -2
- package/dist/cdn/{KK5SXYNF.js → V25OBM3C.js} +2 -2
- package/dist/cdn/{BVIFPMNY.js → VBK4PPCQ.js} +2 -2
- package/dist/cdn/{RHQK4LTS.js → VCDZZS27.js} +2 -2
- package/dist/cdn/{EJS4EUMP.js → VEQOPFAV.js} +2 -2
- package/dist/cdn/{FNI2QU5Z.js → VG3BBGRI.js} +2 -2
- package/dist/cdn/{NLJSCFKM.js → VG7H22YB.js} +2 -2
- package/dist/cdn/{GV3IWFPF.js → VNTYBTCD.js} +1 -1
- package/dist/cdn/{4NUVQZAI.js → W2CO36SV.js} +1 -1
- package/dist/cdn/{WSUH3PG3.js → W56TSBOM.js} +2 -2
- package/dist/cdn/{XVDOUKNJ.js → WDA64WDT.js} +1 -1
- package/dist/cdn/{Y52LUZET.js → WLKBA7CG.js} +4 -4
- package/dist/cdn/{RWFMDK27.js → WPNPWQ6R.js} +2 -2
- package/dist/cdn/{VLHN4DFG.js → WZJ3BDMJ.js} +2 -2
- package/dist/cdn/{NS4YKFI7.js → XBKSHO76.js} +1 -1
- package/dist/cdn/{JN5YR3C5.js → XEIWNXWX.js} +2 -2
- package/dist/cdn/{7BQXCVHW.js → XGOYCHBF.js} +2 -2
- package/dist/cdn/{KXIA4444.js → XPAOEXYI.js} +2 -2
- package/dist/cdn/{DIYKH756.js → XXG6OZIV.js} +2 -2
- package/dist/cdn/{WQSGEAXH.js → XY2CJESI.js} +2 -2
- package/dist/cdn/{K7LCWOS7.js → XZGQVKSJ.js} +2 -2
- package/dist/cdn/YCQOF3LL.js +18 -0
- package/dist/cdn/{OWDWZHMV.js → YEMJYN23.js} +2 -2
- package/dist/cdn/{4J4NUK33.js → YGZJNXB4.js} +2 -2
- package/dist/cdn/{DTXY6OOO.js → YKBIMKAF.js} +2 -2
- package/dist/cdn/{RTFLMETG.js → YOSKFWVD.js} +1 -1
- package/dist/cdn/{FAND47WD.js → YT5XHWKF.js} +2 -2
- package/dist/cdn/{I5QBLE4N.js → Z5DFQP25.js} +2 -2
- package/dist/cdn/{P5R5UYXR.js → ZA5OWP4Z.js} +2 -2
- package/dist/cdn/{DP5KDHDS.js → ZCGJANKZ.js} +1 -1
- package/dist/cdn/{WO34BPRA.js → ZE3BYAS5.js} +2 -2
- package/dist/cdn/{YO2OX52L.js → ZRXETQUW.js} +2 -2
- package/dist/cdn/{VIJEHZLK.js → ZSUMA456.js} +2 -2
- package/dist/cdn/{MLZ4RTHG.js → ZXH6RGBE.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.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/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/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.d.ts +6 -0
- package/dist/components/edit-card/customElement.js +21 -27
- 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 +78 -63
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +21 -18
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +2 -0
- package/dist/components/layer-table/customElement.js +106 -80
- package/dist/components/map-card/customElement.js +34 -31
- package/dist/components/map-card/index.d.ts +3 -1
- package/dist/components/map-card/index.js +3 -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 +18 -15
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +2 -2
- 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-panel/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 +1 -1
- package/dist/components/solution-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/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-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/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-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-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 +46 -1
- package/dist/docs/docs.json +43 -1
- package/dist/docs/vscode.html-custom-data.json +6 -1
- package/dist/docs/web-types.json +25 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cdn/2AEJNC2Y.js +0 -4
- package/dist/cdn/2BATVN26.js +0 -18
- package/dist/cdn/2N6IKQAJ.js +0 -4
- package/dist/cdn/6Z5XKLIH.js +0 -4
- package/dist/cdn/CZCNKDL6.js +0 -4
- package/dist/cdn/DVMPKT5N.js +0 -4
- package/dist/cdn/GH3PRS32.js +0 -18
- package/dist/cdn/GXKAH7DD.js +0 -18
- package/dist/cdn/HTW2BPA3.js +0 -18
- package/dist/cdn/IDRORHF7.js +0 -18
- package/dist/cdn/L2QQ7XWU.js +0 -4
- package/dist/cdn/N3A5PMYA.js +0 -4
- package/dist/cdn/PRILEYGG.js +0 -4
- package/dist/cdn/UWFHS56N.js +0 -18
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250603 */
|
4
4
|
var p="::",r="|";function c(t){return t.indexOf(r)>-1&&(t=t.replace(r,p)),t}var u="~",R=256,o="slug";function _(t,e,n=0){return[o,e.toLowerCase(),t].join("|").substring(0,R-n).replace(/-+$/,"").replace(new RegExp(`^${o}\\|`),"")}function l(t){let e=`${o}|${t}|`;return R-e.length}var s=(t,e)=>`${t.split(r).pop()}${u}${e}`;export{c as a,o as b,_ as c,l as d,s as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as b}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as b}from"./PHD2JCWF.js";import{b as c}from"./3J7INGHN.js";import{a as u}from"./4HXEQA7V.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as s}from"./BGXUK5SF.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{p as h}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{p as h}from"./OOS7Q5BR.js";import{e as n}from"./NQ4ICIBR.js";export default $arcgis.t(([l,u,c])=>{var b="WNufTOT96eMYwAik",S="https://www.arcgis.com",w="966b251241bb4e3bb9ee3f2b92921aa5",f="1d3a7ed66deb47269beea05ff9afd4c1",y="en";var p=class{constructor(t,e,r){this._credential=null,this._locale="en",this._portalSubset=null,this._isEnterprise=!1,this._portalUserSubset=null,this._clientId=t,this._locale=r,this._portalUrl=e,this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:e;let s=new u({appId:t,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});l.registerOAuthInfos([s]),this._portal=new c({url:this._portalUrl})}async init(){try{await this._init()}catch{this.destroy()}return this}async _init(){this._credential=await l.checkSignInStatus(this._portalUrl+"/sharing");try{let t=await l.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}catch{window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl,portalUrl:this._portal.url,urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&(this._portalSubset.workflowURL=await h(this._portal.restUrl,this.RestUserSession||new n({}))),this._portal.user?.roleId&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}get SignedIn(){return this._credential!==null}get Credential(){return this._credential}get Portal(){return this._portal}get PortalUrl(){return this._portalUrl}get PortalSubset(){return this._portalSubset}get PortalUserSubset(){return this._portalUserSubset}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserCulture(){return this._portalUserSubset&&this._portalUserSubset.culture||""}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get IsEnterprisePortal(){return this._isEnterprise}get RestUserSession(){let t=this.Credential;if(!t)return null;let e={server:this.PortalUrl,hasPortal:this.IsEnterprisePortal,hasServer:this.IsEnterprisePortal},r=n.fromCredential(t,e);return r.clientId=this._credential._oAuthCred?.appId,r._refreshToken=this._credential._oAuthCred?.refreshToken,r}refreshSession(){let t=this.RestUserSession;return t?t.exchangeRefreshToken():null}signIn(t=""){l.setOAuthRedirectionHandler(e=>{let r=e.authorizeParams.redirect_uri;if(t.length>0){let s=r.split("?"),i=s[0],a="";if(s[1]){let o=new URLSearchParams(s[1]);o.append("signInParam",t),a="?"+o.toString()}e.authorizeParams.redirect_uri=i+a}window.location.href=e.authorizeUrl+"?"+this._objectToQuery(e.authorizeParams)}),l.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(()=>{window.location.reload()})}signOut(){let t="https://"+this._portalSubset?.hostName;window.location.hostname===this._portalSubset?.hostName?t+="/index.html":this._portalSubset?.urlKey&&window.location.hostname.indexOf(this._portalSubset?.urlKey)>-1?t=window.location.origin+"/home/index.html":t=this._portalUrl+"/home",this.signOutAndRedirect(t)}signOutAndRedirect(t){let e=`${this._portalSubset?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(t)}`;this.destroy(),window.location.replace(e)}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,l.destroyCredentials()}_getOrgUrl(t,e,r){return e&&r?window.location.protocol+"//"+e.toLowerCase()+"."+r:t}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,e){return t?e&&typeof e=="function"?Object.keys(t).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(e(r,t[r]))).join("&"):Object.keys(t).map(r=>{let s=t[r];if(s==null)return"";let i=encodeURIComponent(r)+"=",a=e&&e[r];return a?i+encodeURIComponent(a(s)):Array.isArray(s)?s.map(o=>this._isSerializable(o)?i+encodeURIComponent(JSON.stringify(o)):i+encodeURIComponent(o)).join("&"):this._isSerializable(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)}).filter(r=>r).join("&"):""}};return{a:b,b:S,c:w,d:f,e:y,f:p}},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250603 */
|
4
4
|
var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{d as b,e as I,k as E,l as w,w as k}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{d as b,e as I,k as E,l as w,w as k}from"./OOS7Q5BR.js";import{e as P}from"./NQ4ICIBR.js";import{n as A}from"./5GKR6FQH.js";export default $arcgis.t(([])=>{function M(s,r){let e=[];return s.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(s,r,e){if(r<1||s.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:s.length}};let t=Math.min(r+e,s.length+1),a=t<s.length?t:-1;return{cards:s.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:a,total:s.length}}}function N(s,r){let e=L(s);return T(e,r)}function T(s,r){let e=[];return r.forEach(t=>{let a=x(t);a&&s.indexOf(a)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function x(s){let r="solutionid-",e=s.typeKeywords.filter(a=>a.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function L(s){let r=[];return s.forEach(e=>{let t=x(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function y(s,r,e){let t,a=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>a*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>a*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>a*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return s.sort(t),s}function Y(s){return s?k(s,{}).then(r=>Promise.resolve(!!r)):Promise.resolve(!1)}function j(s){if(s){let r=s.trim();return r?"<div>"+r+"</div>":""}else return""}function K(s){let r="",e="?";return s.forEach(t=>{t.k&&t.v&&(r+=e+t.k+"="+t.v,e="&")}),r}function G(s,r,e,t){let a="";return r?a=t+"/sharing/rest/content/items/"+s+"/info/"+r+K([{k:"w",v:"400"}]):a=e,a}function V(s,r="en"){return new Intl.DateTimeFormat(r,{year:"numeric",month:"long",day:"numeric"}).format(s)}function D(s,r){let e="";return s.some(t=>t.startsWith(r)?(e=t.substring(r.length),!0):!1),e}var R=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new P({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,a,o,i){let l=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",m=this.agolPortalUrl+"/sharing/rest",B=this.anonAgolSession,S=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==S||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:S,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let n=M(this.cardCache,i);c=u(n,l,h)}else c=u(this.cardCache,l,h);return Promise.resolve(c)}let U={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},p=[];if(e){let c=a||new P({});p.push(w(e,r.q,c,U,g))}return t&&p.push(w(t,r.q,B,U,m)),Promise.allSettled(p).then(c=>{let n=[];c.forEach((d,J)=>{let O=!!e&&J===0;if(d.status==="fulfilled"){let F=d.value,f="",v=!1;O?f=this.portalUrl:(f=this.agolPortalUrl,v=!0),F.results.forEach(q=>{q.sourcePortalUrl=f,q.knownToBePublicSource=v}),n.push(F)}else if(d.status==="rejected")throw new Error(O?d.reason.message:"enterpriseCannotAccessAGO")}),n.length===0?this.cardCache=[]:n.length===1?this.cardCache=this.getCardsFromResponse(n[0]):this.cardCache=y(this.getCardsFromResponse(this.mergeResponses(n)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let C;if(i&&i.size>0){let d=M(this.cardCache,i);C=u(d,l,h)}else C=u(this.cardCache,l,h);return Promise.resolve(C)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let a={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return E(a).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?b(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+K([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:G(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:V(e.created,this.locale),modified:V(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:j(e.licenseInfo),deployCommonId:D(e.typeKeywords||[],"solutionid-"),deployVersion:D(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(a=>e+=a.total);let t=[];return r.forEach(a=>t=t.concat(a.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(a=>(a.format==="image"&&(a.name=t+"/sharing/rest/content/items/"+r+"/resources/"+a.name),a)):[]}};async function Z(s,r,e,t,a=A,o="created",i="desc",l=!1,h=[],g=[]){if(!s?.SignedIn)return;let m={q:a,filter:"type:Solution",sortField:o,sortOrder:i,delay:l,categories:h};return m.q+=z(s),await W(r,m,t,g)}function z(s){let r="",e=s.PortalUserOrg,t=s.PortalUserName;return e&&(r+=" orgid:"+e),t&&(r+=" owner:"+t),r}async function W(s,r,e,t){let a=await e.requestDeployedSolutionCards(r,s),o=N(a.cards,t);return{cards:a.cards,relatedSolutions:o}}return{a:Y,b:R,c:Z}},"intl")
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as h}from"./QXSB5XMK.js";import{D as d,I as p,c as a,d as l,g as c,o as n}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var y=a`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as r}from"./QXSB5XMK.js";import{D as n,I as o,c as i,d as t,q as s}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var a=i`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import"./WDA64WDT.js";import{b as A}from"./WLKBA7CG.js";import"./OOS7Q5BR.js";import"./4ZO64GTY.js";import"./3QLFODAB.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./4HXEQA7V.js";import"./5PZG4WZ2.js";import{a as C}from"./XY2CJESI.js";import"./72374WTO.js";import{c as F,d as O,j as y}from"./JOMS47IX.js";import"./5GKR6FQH.js";import{c as S}from"./TUHWQGYN.js";import{a as _,b as p}from"./ASKMOKLW.js";import{b as x}from"./CSZGFTFE.js";import{a as E}from"./QXSB5XMK.js";import{D as v,E as g,I as T,c as w,d,g as o,o as c,q as I}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var $=w`@layer{/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{--calcite-label-margin-bottom: 0px}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{--calcite-label-text-color: var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,m=class extends v{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=_(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=_(),this._toolbar=_(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=_(),this.featureSelectionChange=c(),this.toggleFilter=c(),this.showDelete=c(),this.relatedRecordToggled=c(),this.editMultipleFeatures=c(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=$}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&this._resetColumnTemplates()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl(),this._fetchingData=!1})}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,r=this.mapView.allLayerViews.toArray(),h;r.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(h=n,this.mapView&&await y([i],h,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",r=this._canShowFullTextSearch();return this._validateActiveActions(),d`<div><calcite-scrim class=${g(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&d`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${r&&d`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${h=>void this._searchTextChanged(h)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??o} type=search ${p(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${g(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${g(e)} ${p(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:d`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return d`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??o}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return d`<div class="display-flex" slot=${e??o}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return d`<div class=${"height-51-px width-full display-flex"} slot=${e??o} ${p(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return d`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??o} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading)),e),[])}_validateEnabledActions(){let e=this._featuresSelected(),t=this._multipleFeaturesSelected(),i=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(s=>{s&&i.indexOf(s.icon)>-1&&(s.disabled=s.icon==="pencil"?!t:!e)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._featuresSelected(),t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=!this.mapHidden&&!t,a=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),l=this._featuresEmpty(),r=this.featureSelectionMode==="single",h=this.enableCSV;if(this._relatedFeatureTable){let u=await this._queryRelatedFeatures();h=u&&Object.keys(u).length>0}let n=[];a&&n.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1}),s&&n.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),i&&n.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:!this._multipleFeaturesSelected()}),this._deleteEnabled&&n.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0}),n.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e}),this._relatedFeatureTable||n.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e}),!r&&!this._relatedFeatureTable&&n.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:l}),!r&&!this._relatedFeatureTable&&n.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:l}),n.push({active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1}),h&&n.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:l}),this._toolInfos=[...n]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresSelected(){return this._relatedFeatureTable?this._relatedFeatureTable.highlightIds.items.length>0:this.selectedIds.length>0}_multipleFeaturesSelected(){return this._relatedFeatureTable?this._relatedFeatureTable.highlightIds.items.length>1:this.selectedIds.length>1}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,r){let h=this._layer===void 0?!0:l;return d`<calcite-action .active=${e} appearance=solid .disabled=${h} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${r} @click=${a} text text-enabled><div class="display-flex"><calcite-label class="label-override padding-start-1-4">${s}</calcite-label></div></calcite-action>`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&d`<div id=${this._getId(e)??o}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${p(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this._shareNode.value&&(this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return document.getElementById(t)?d`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`:void 0}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return d`<div class="display-flex" id=${this._getId(e)??o}>${d`<calcite-action appearance=solid .disabled=${a} id=${e??o} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><calcite-label class="label-override padding-start-1-4 danger-label-color">${t}</calcite-label></calcite-action>`}${this._getToolTip("bottom",e,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:this.hasAttachmentsEnabled(this._layer),visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.attachmentsEnabled=this.hasAttachmentsEnabled(s),i.relatedRecordsEnabled=!0,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos||i.layer.fields,l=this._getColumnTemplates(i.layer.id,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleOnChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos||this._layer.fields,t=this._getColumnTemplates(this._layer.id,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos||this._layer.fields,t=this._getColumnTemplates(this._layer.id,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.attachmentsEnabled=this.hasAttachmentsEnabled(this._layer),this._table.relatedRecordsEnabled=!0,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),r=this._table?.highlightIds.indexOf(l);r&&r<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let r=await this._queryRelatedFeatures(),h=[];r&&r[l]?.features&&(r[l].features.forEach(n=>{n.attributes&&h.push(n.attributes[e.objectIdField])}),i=h.length>0?h:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,r)=>{if(!r.hidden){let h=r?.name||r?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(r=>r.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let e=this._getSelectedLayer(this.selectedRelatedIds);e&&this.relatedRecordToggled.emit(e);let t=this._getSelectedIds();this.featureSelectionChange.emit(t)}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await y(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t){let i;this.mapInfo?.layerOptions?.layers.some(h=>h.id===e?(i=h,!0):!1);let s=this._layer?.attributeTableTemplate?.elements,a=[];s?.length>0&&this.honorMapFieldSettings&&(a=s.map(h=>h.fieldName));let l=i?.fields&&i?.fieldOrder?i.fieldOrder.filter(h=>i?.fields&&i.fields.indexOf(h)>-1):a.length>0?a:void 0,r;return t&&(r=t.reduce((h,n)=>{let u="fieldName"in n?n.fieldName:n.name,H="label"in n?n.label:n.alias,f="label"in n?n.label:n.name,b={type:"field",fieldName:u,label:H,menuConfig:this._getMenuConfig(f||"")};return i&&i.fields&&i?.fields?.length>0?i.fields.indexOf(f||"")>-1&&h.push(b):a.length>0?a.indexOf(f)>-1&&h.push(b):h.push(b),h},[])),r?l?r?.sort(this._sortFields.bind(this,l)):r:[]}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};T("layer-table",m);export{m as LayerTable};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./GZU2CPZN.js";var{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object,{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});var le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let N=l(T);N!==T&&(Bt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){let o=_t(null);for(let[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){let s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}var ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i),pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn}),J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn(),o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),Dt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="",{implementation:me,createNodeIterator:Nt,createDocumentFragment:bt,getElementsByTagName:It}=l,{importNode:Mt}=s,h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt,{IS_ALLOWED_URI:ke}=pt,m=null,Ue=a({},[...ct,...be,...Ie,...Me,...ft]),d=null,Fe=a({},[...ut,...Ce,...mt,...ce]),f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1,vt="user-content-",Ae=!0,X=!1,k={},U=null,Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,je=a({},["audio","video","img","source","image","track"]),Se=null,Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xhtml",F=b,Re=!1,ye=null,kt=a({},[ie,ae,b],Ne),re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]),Ut=a({},["title","style","font","a","script"]),j=null,Ft=["application/xhtml+xml","text/html"],Ht="text/html",p=null,H=null,zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?Ne:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||b,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,be),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...be,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===b?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===b?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===b?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===b&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=g?g.createHTML(e):e;if(F===b)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===b?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Nt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}let et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return D(e),!0;let n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=ee(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&c){let u=_.length;for(let y=u-1;y>=0;--y){let M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return D(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),De=M,E=u==="value"?De:qt(De);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});let it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?D(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null,n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof N&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){let M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&D(t.firstChild);let u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof N&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=bt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import"./OXLCWOZZ.js";var{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object,{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});var le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let N=l(T);N!==T&&(Bt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){let o=_t(null);for(let[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){let s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}var ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i),pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn}),J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn(),o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),Dt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="",{implementation:me,createNodeIterator:Nt,createDocumentFragment:bt,getElementsByTagName:It}=l,{importNode:Mt}=s,h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt,{IS_ALLOWED_URI:ke}=pt,m=null,Ue=a({},[...ct,...be,...Ie,...Me,...ft]),d=null,Fe=a({},[...ut,...Ce,...mt,...ce]),f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1,vt="user-content-",Ae=!0,X=!1,k={},U=null,Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,je=a({},["audio","video","img","source","image","track"]),Se=null,Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xhtml",F=b,Re=!1,ye=null,kt=a({},[ie,ae,b],Ne),re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]),Ut=a({},["title","style","font","a","script"]),j=null,Ft=["application/xhtml+xml","text/html"],Ht="text/html",p=null,H=null,zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?Ne:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||b,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,be),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...be,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===b?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===b?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===b?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===b&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=g?g.createHTML(e):e;if(F===b)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===b?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Nt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}let et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return D(e),!0;let n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=ee(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&c){let u=_.length;for(let y=u-1;y>=0;--y){let M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return D(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),De=M,E=u==="value"?De:qt(De);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});let it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?D(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null,n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof N&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){let M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&D(t.firstChild);let u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof N&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=bt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
5
5
|
`+y),P&&le([pe,de,Te],M=>{y=q(y,M," ")}),g&&oe?g.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Oe(i),ge=!0},o.clearConfig=function(){H=null,ge=!1},o.isValidAttribute=function(i,e,t){H||Oe({});let n=p(i),c=p(e);return tt(n,c,t)},o.addHook=function(i,e){typeof e=="function"&&$(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){let t=jt(h[i],e);return t===-1?void 0:Vt(h[i],t,1)[0]}return st(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=dt()},o}var un=ht();export{un as default};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as l,f as I}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{e as l,f as I}from"./OOS7Q5BR.js";import{h}from"./5GKR6FQH.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as o}from"./4NEYX376.js";import{a as r}from"./RVHAU3CH.js";import"./ARGDR2B4.js";import"./PHD2JCWF.js";import"./4HXEQA7V.js";import{a as s}from"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250603 */
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import"./OXLCWOZZ.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as s}from"./ZCGJANKZ.js";import{a as r}from"./BZDTBACE.js";import"./6VGQW5MK.js";import"./DUMZWQHJ.js";import"./3QLFODAB.js";import"./A6HBKPQC.js";import{a as o}from"./THS6LBCN.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./4HXEQA7V.js";import"./OXLCWOZZ.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a as s}from"./RVHAU3CH.js";import"./ARGDR2B4.js";import"./PHD2JCWF.js";import"./4HXEQA7V.js";import"./VNTYBTCD.js";import"./OXLCWOZZ.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a}from"./
|
3
|
+
v1.0.0-next.20250603 */
|
4
|
+
import{a}from"./BZDTBACE.js";import"./6VGQW5MK.js";import"./DUMZWQHJ.js";import"./3QLFODAB.js";import"./A6HBKPQC.js";import{a as s,b as r}from"./4CFJ2SMT.js";import"./75V45OM3.js";import"./3AUAAUJV.js";import{a as o}from"./H542B5JM.js";import{a as i}from"./THS6LBCN.js";import"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./3J7INGHN.js";import"./4HXEQA7V.js";import"./5ZXK637K.js";import"./PRAQJCBD.js";import"./CNKJYGTH.js";import"./VNTYBTCD.js";import"./KSDOE35B.js";import"./GPQOLN4J.js";import"./SIQSKU2H.js";import"./CTIVVKPV.js";import"./R6NTO3Q6.js";import"./NB2AKH3A.js";import"./OHOSKCFF.js";import"./6Y7X5HKR.js";import"./RWRLALYY.js";import"./A24PAMGW.js";import"./4A3IVB2K.js";import"./AQYHVXUQ.js";import"./BEOJ6WGN.js";import"./JYGCMVNR.js";import"./7XDQ6QJZ.js";import"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{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:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
|