@esri/solutions-components 1.0.0-next.20250521 → 1.0.0-next.20250527

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.
Files changed (413) hide show
  1. package/dist/{components/solutions-all-shell/assets → assets/config}/appConfig.json.d.ts +2 -2
  2. package/dist/cdn/{RVOXAFUD.js → 25JX6PU3.js} +2 -2
  3. package/dist/cdn/{U7X224JI.js → 2CR5YP5T.js} +2 -2
  4. package/dist/cdn/{AEBIJJDB.js → 2FPSFYMR.js} +2 -2
  5. package/dist/cdn/{H7MMUDQA.js → 2FR3WWO6.js} +2 -2
  6. package/dist/cdn/2OAMBM74.js +4 -0
  7. package/dist/cdn/{7LT3YMUL.js → 3A4PIGXU.js} +2 -2
  8. package/dist/cdn/{RBUZ7BMT.js → 3BSQVMIG.js} +2 -2
  9. package/dist/cdn/{VBJ6UGFM.js → 44RI6E5S.js} +2 -2
  10. package/dist/cdn/{CNNGW5MH.js → 46S7SJ4W.js} +1 -1
  11. package/dist/cdn/{7F7OU5LY.js → 4DEUX5UD.js} +2 -2
  12. package/dist/cdn/{SV73C7FZ.js → 4PKBB5DI.js} +1 -1
  13. package/dist/cdn/{PGON6AUG.js → 4S4I2WWJ.js} +2 -2
  14. package/dist/cdn/{XP2DPI47.js → 4VEVP7VR.js} +2 -2
  15. package/dist/cdn/{WV2NFXS4.js → 537RGAI2.js} +2 -2
  16. package/dist/cdn/{27VZRIN5.js → 5BZMMIGZ.js} +2 -2
  17. package/dist/cdn/{Y5GMJUNS.js → 5IN5TCHB.js} +2 -2
  18. package/dist/cdn/{GCYQ6YCF.js → 5JR6OKML.js} +2 -2
  19. package/dist/cdn/{LWTWMRMU.js → 5QKSZ4OI.js} +2 -2
  20. package/dist/cdn/{M7HKGN5F.js → 5SDXXIBS.js} +2 -2
  21. package/dist/cdn/{DWFC2YA2.js → 5TCI4UUE.js} +2 -2
  22. package/dist/cdn/{6DOZYB66.js → 5TYU5CYW.js} +2 -2
  23. package/dist/cdn/{2K7DGSFB.js → 5UDBH3AJ.js} +2 -2
  24. package/dist/cdn/{C2E3A23D.js → 5V2ALVQG.js} +2 -2
  25. package/dist/cdn/{H2S3BYD2.js → 5VZIXTV2.js} +1 -1
  26. package/dist/cdn/{VGZGGNPC.js → 63VMIWOD.js} +2 -2
  27. package/dist/cdn/{T2JUS4TO.js → 64JCPDPG.js} +1 -1
  28. package/dist/cdn/{ZUNWS4PF.js → 6J7BXCVQ.js} +1 -1
  29. package/dist/cdn/{VIYZL3B7.js → 6LNJ6PAK.js} +2 -2
  30. package/dist/cdn/{4Z26DFOL.js → 6O7AHIQD.js} +2 -2
  31. package/dist/cdn/{LRP67MH5.js → 6SBCRAD2.js} +2 -2
  32. package/dist/cdn/{Q57FIV26.js → 6UHZHKBX.js} +2 -2
  33. package/dist/cdn/{6E4ERRKW.js → 6UJMA4B7.js} +1 -1
  34. package/dist/cdn/{QDI6ECEG.js → 6X7IR5JR.js} +2 -2
  35. package/dist/cdn/{VWQY7M2H.js → 7U3JDJ6D.js} +1 -1
  36. package/dist/cdn/{GO5RRYI6.js → 7VJ6VE65.js} +2 -2
  37. package/dist/cdn/{YMZI2I7I.js → 7Z6THPNR.js} +2 -2
  38. package/dist/cdn/{XJ4IACYP.js → A7A3AQBP.js} +2 -2
  39. package/dist/cdn/{2RRWLFYL.js → AGHLWJCI.js} +2 -2
  40. package/dist/cdn/{EBNAV3Y7.js → AIAURVDF.js} +2 -2
  41. package/dist/cdn/{VHRYIIEE.js → ALJDMHRR.js} +1 -1
  42. package/dist/cdn/{LTJRIZ42.js → ANUWXCJE.js} +2 -2
  43. package/dist/cdn/{2BAANPWO.js → AOTMR5JH.js} +2 -2
  44. package/dist/cdn/{HEIPP7RV.js → APXPR3UA.js} +2 -2
  45. package/dist/cdn/{IUOYLDK2.js → AST5SYZZ.js} +2 -2
  46. package/dist/cdn/{YYUD7YK5.js → AVGQ37VZ.js} +2 -2
  47. package/dist/cdn/{XCYELAZU.js → AXC7Q5YN.js} +2 -2
  48. package/dist/cdn/{6JBHPPCE.js → B5XNLTLN.js} +2 -2
  49. package/dist/cdn/{Y6BHXC2R.js → BBLUY3P6.js} +2 -2
  50. package/dist/cdn/{NMVGGIT5.js → BG42TE2C.js} +2 -2
  51. package/dist/cdn/{KKNWWLKQ.js → BHLQUDJE.js} +2 -2
  52. package/dist/cdn/{7Q35EK3R.js → BUKUYGGP.js} +1 -1
  53. package/dist/cdn/{AQWDAX6O.js → BWGMZL4P.js} +2 -2
  54. package/dist/cdn/{DQFWRA4G.js → BX7YA2BC.js} +2 -2
  55. package/dist/cdn/{7L6VHBLR.js → BXHY7M2I.js} +2 -2
  56. package/dist/cdn/{57ND4IBZ.js → BYOIV2MC.js} +2 -2
  57. package/dist/cdn/{CECW3E26.js → C44UX3EI.js} +2 -2
  58. package/dist/cdn/{OID7NDBF.js → C7SX5PIG.js} +2 -2
  59. package/dist/cdn/{HFRCYYXR.js → CAOIDDMV.js} +2 -2
  60. package/dist/cdn/{DAELPIWJ.js → CAPR2OBA.js} +2 -2
  61. package/dist/cdn/{7HCUEAV4.js → CNIL25LT.js} +2 -2
  62. package/dist/cdn/{RUUFDMAP.js → CPFZ7C7R.js} +2 -2
  63. package/dist/cdn/{4NN4MG2R.js → CRWYDAPO.js} +1 -1
  64. package/dist/cdn/{SW5IQ7XO.js → CXKBIPNN.js} +2 -2
  65. package/dist/cdn/{EJ6M46PY.js → CYCDBJBR.js} +2 -2
  66. package/dist/cdn/{YLP7M2HK.js → DCRNCJR3.js} +1 -1
  67. package/dist/cdn/{2ME5MQM2.js → DHCPRRPJ.js} +2 -2
  68. package/dist/cdn/{LVY3WUSX.js → DIWAGHL2.js} +2 -2
  69. package/dist/cdn/{GHF3VSYV.js → DJUGU6F3.js} +2 -2
  70. package/dist/cdn/{3APWL446.js → DPK5JP5Z.js} +2 -2
  71. package/dist/cdn/{VXPY22JC.js → DPNVOK37.js} +2 -2
  72. package/dist/cdn/{3DB3ODZ5.js → DQXSWU2C.js} +2 -2
  73. package/dist/cdn/{AB7YZSC4.js → E2RH7ORD.js} +1 -1
  74. package/dist/cdn/{ZJZZ27A4.js → E5LACIWR.js} +2 -2
  75. package/dist/cdn/{XL3QH5JD.js → EFAQK6LU.js} +2 -2
  76. package/dist/cdn/{CV35X56P.js → EVPML3KI.js} +2 -2
  77. package/dist/cdn/{WCPYDJKL.js → EWIDYPOD.js} +2 -2
  78. package/dist/cdn/{HK6GQTIP.js → F62R4ACI.js} +2 -2
  79. package/dist/cdn/{DBCECF2B.js → FAMQZBXX.js} +2 -2
  80. package/dist/cdn/{NKHXO7E3.js → FCCUMLZS.js} +2 -2
  81. package/dist/cdn/{2WHDR7EZ.js → FDS6BXSK.js} +2 -2
  82. package/dist/cdn/{SF4B7M4A.js → FDWSOFET.js} +2 -2
  83. package/dist/cdn/FEDM5I6K.js +18 -0
  84. package/dist/cdn/{K6CGYWKI.js → FG37V7AM.js} +2 -2
  85. package/dist/cdn/{FV4JCJSW.js → FK6PXAFK.js} +2 -2
  86. package/dist/cdn/FTUS3ZZD.js +18 -0
  87. package/dist/cdn/FVT5NB5I.js +4 -0
  88. package/dist/cdn/{ESV3CXI2.js → FX3UFEOX.js} +2 -2
  89. package/dist/cdn/{LPC72AFO.js → G4OVP2GL.js} +2 -2
  90. package/dist/cdn/{PKCZXRFD.js → GCOMYMDE.js} +1 -1
  91. package/dist/cdn/{S673JDUL.js → GG2O6M6F.js} +2 -2
  92. package/dist/cdn/{4RGGJHFA.js → GIZLPR4F.js} +2 -2
  93. package/dist/cdn/{DHYIQDTW.js → GLEU726R.js} +2 -2
  94. package/dist/cdn/{PACFBFZI.js → GNZLER6U.js} +1 -1
  95. package/dist/cdn/{TAJSNUTI.js → GRZ5ZWHL.js} +2 -2
  96. package/dist/cdn/{GHPQJY63.js → GSH3IQC7.js} +2 -2
  97. package/dist/cdn/{B35DEHBP.js → GTBF26FU.js} +2 -2
  98. package/dist/cdn/{YC2B6HXG.js → GW6GEGTU.js} +2 -2
  99. package/dist/cdn/{7BU4RNKA.js → GZUQL4BQ.js} +1 -1
  100. package/dist/cdn/{V6ARYYKV.js → HF3QJXW2.js} +2 -2
  101. package/dist/cdn/{XJMSVZRM.js → HMK3OJVH.js} +2 -2
  102. package/dist/cdn/{XS4B5XRB.js → HRYYLGCK.js} +2 -2
  103. package/dist/cdn/{YAPVS6P2.js → HTRK44BK.js} +2 -2
  104. package/dist/cdn/{E5SEWVK4.js → HWP7XSKU.js} +2 -2
  105. package/dist/cdn/{5PFKGFCK.js → HYP3LJUB.js} +2 -2
  106. package/dist/cdn/{LEGUC5TT.js → I5XFVPIL.js} +2 -2
  107. package/dist/cdn/{MNNJPYBV.js → I6ADTVPV.js} +1 -1
  108. package/dist/cdn/{U4HS5ENT.js → IEHPZCNW.js} +1 -1
  109. package/dist/cdn/{LYNNKR32.js → IILFAB4B.js} +2 -2
  110. package/dist/cdn/{WANZ57VI.js → IISFOSAT.js} +2 -2
  111. package/dist/cdn/{ZAER32FT.js → IS4PTDJ6.js} +2 -2
  112. package/dist/cdn/J3XMDBBQ.js +4 -0
  113. package/dist/cdn/{6UG7C3TR.js → JB3LMWPB.js} +2 -2
  114. package/dist/cdn/JCDOFY7S.js +4 -0
  115. package/dist/cdn/{LS72LBRH.js → JDEUATYQ.js} +1 -1
  116. package/dist/cdn/{2EXQ56RF.js → JFMG5CPF.js} +2 -2
  117. package/dist/cdn/{BFK5P4H6.js → JIDGAGLR.js} +2 -2
  118. package/dist/cdn/{VDUSHAW5.js → JIXASV3Y.js} +2 -2
  119. package/dist/cdn/{AVJL2GFG.js → JJFLJJVV.js} +2 -2
  120. package/dist/cdn/{KV6B4JKU.js → JJQY7KYC.js} +2 -2
  121. package/dist/cdn/{MZJP3FIW.js → JL3XW6D5.js} +2 -2
  122. package/dist/cdn/{W56OR4B5.js → JSXL76GE.js} +1 -1
  123. package/dist/cdn/{G3G55BG6.js → JTVVD77L.js} +2 -2
  124. package/dist/cdn/{F7QLLECP.js → JXPQTJK7.js} +2 -2
  125. package/dist/cdn/{ULRYUA62.js → K333B4K6.js} +2 -2
  126. package/dist/cdn/{Y2JLI2XM.js → K63JNYJV.js} +2 -2
  127. package/dist/cdn/KAX3GFY3.js +4 -0
  128. package/dist/cdn/{D56F66YP.js → KBHUDHV4.js} +2 -2
  129. package/dist/cdn/{JNJEU67D.js → KE7BGL2M.js} +1 -1
  130. package/dist/cdn/{3IGBLVGB.js → KEV7F3I7.js} +2 -2
  131. package/dist/cdn/{R6Q7LXCW.js → KKQCFG46.js} +2 -2
  132. package/dist/cdn/KLTKP44P.js +18 -0
  133. package/dist/cdn/{TKFYVUEB.js → KNGWUUE5.js} +2 -2
  134. package/dist/cdn/KQPNTN77.js +4 -0
  135. package/dist/cdn/{JCGTMHDX.js → KSWUZAKY.js} +2 -2
  136. package/dist/cdn/{2U2RXQXU.js → KZFCEPFO.js} +2 -2
  137. package/dist/cdn/{ONPYY5TZ.js → L2SSX7FR.js} +2 -2
  138. package/dist/cdn/{KJT2MUWI.js → L3MXQ3JY.js} +2 -2
  139. package/dist/cdn/{FJIAFDKB.js → L5OD2PRY.js} +2 -2
  140. package/dist/cdn/{2K22YMUV.js → LCATSOQE.js} +2 -2
  141. package/dist/cdn/{FA2YAWHF.js → LCYX3FH3.js} +2 -2
  142. package/dist/cdn/{SSNAJI27.js → LDW2HYY6.js} +1 -1
  143. package/dist/cdn/{GCCEX2EM.js → LERO6KZ3.js} +2 -2
  144. package/dist/cdn/{SXNJKD62.js → LH2OOZVN.js} +1 -1
  145. package/dist/cdn/{3F77DKKE.js → LIDCP5J3.js} +2 -2
  146. package/dist/cdn/{LWXXGZP2.js → LIHE32UV.js} +1 -1
  147. package/dist/cdn/{ROAC6LDL.js → LMZ4LEFD.js} +1 -1
  148. package/dist/cdn/{EM33S2YC.js → LQGK36AL.js} +2 -2
  149. package/dist/cdn/{EHSF2PHZ.js → LS4RJUFW.js} +2 -2
  150. package/dist/cdn/{ELTW2XEW.js → LSQLZC5R.js} +2 -2
  151. package/dist/cdn/{VPSKNEUJ.js → MAKHYGHW.js} +1 -1
  152. package/dist/cdn/{SWOLF6SR.js → MBSD4LFU.js} +2 -2
  153. package/dist/cdn/{LPVPGWBP.js → MDMSXOJI.js} +2 -2
  154. package/dist/cdn/{FCERBRLE.js → MHAFURF2.js} +2 -2
  155. package/dist/cdn/{2KD6DXZ7.js → MHM6LX52.js} +2 -2
  156. package/dist/cdn/{ACRGKPWC.js → MJQQWZ2I.js} +2 -2
  157. package/dist/cdn/{IWA7VN2A.js → MTZ7UR3K.js} +2 -2
  158. package/dist/cdn/{3HVW5UQM.js → MUMQOFEJ.js} +2 -2
  159. package/dist/cdn/{WQUL53Q5.js → MVWFRNDQ.js} +2 -2
  160. package/dist/cdn/MXUR2RDQ.js +4 -0
  161. package/dist/cdn/{DO6UOUZQ.js → N5SGBWA5.js} +2 -2
  162. package/dist/cdn/{NXSX7IHR.js → NA5P6M4G.js} +1 -1
  163. package/dist/cdn/{LNENTW73.js → NAYBTVB7.js} +2 -2
  164. package/dist/cdn/{Y6CIXH5E.js → NFJQ2Y5K.js} +2 -2
  165. package/dist/cdn/{O5IPTC4U.js → NIAHRYPX.js} +2 -2
  166. package/dist/cdn/{ZMEYP6O5.js → NIPSOKTV.js} +2 -2
  167. package/dist/cdn/{LSWZVOP2.js → NMFETHT2.js} +2 -2
  168. package/dist/cdn/{GMQ6DEY4.js → NNZOVLIE.js} +2 -2
  169. package/dist/cdn/{M5UYAWRE.js → NQ3SUJZP.js} +2 -2
  170. package/dist/cdn/{LZYYPD7R.js → NSD7QWT5.js} +2 -2
  171. package/dist/cdn/{O7I7OGXT.js → NTPMI2XK.js} +2 -2
  172. package/dist/cdn/{KHA6XWL7.js → NV7RQ6AS.js} +2 -2
  173. package/dist/cdn/{DQ5TSMZ4.js → NW6QJZPB.js} +2 -2
  174. package/dist/cdn/{6EIHODNG.js → NWQYXV7R.js} +1 -1
  175. package/dist/cdn/{MBUHNSTZ.js → O4FBWTRU.js} +4 -4
  176. package/dist/cdn/{WVT27UPL.js → OAIG3A5C.js} +2 -2
  177. package/dist/cdn/{ENAJZOXJ.js → ODQJCHUF.js} +2 -2
  178. package/dist/cdn/{WBQWHY3S.js → OEF5KO25.js} +2 -2
  179. package/dist/cdn/{DE3A5NJQ.js → OII6ULBO.js} +2 -2
  180. package/dist/cdn/{LLAYW4K7.js → OLMYFVXS.js} +2 -2
  181. package/dist/cdn/{K4FECCC2.js → OLX7SYQT.js} +2 -2
  182. package/dist/cdn/{DHBPFMCR.js → OMDZIRBF.js} +2 -2
  183. package/dist/cdn/{R75X3FLO.js → OOEQOO4R.js} +4 -4
  184. package/dist/cdn/{BY5Y2DNE.js → OU23PWPG.js} +2 -2
  185. package/dist/cdn/{5NFJ7RS2.js → OXMMTI72.js} +2 -2
  186. package/dist/cdn/{5QHR547V.js → OXSGOW5F.js} +2 -2
  187. package/dist/cdn/{YZ42HQYG.js → OZAC6527.js} +2 -2
  188. package/dist/cdn/{UYZXNOJX.js → P7DNXORC.js} +2 -2
  189. package/dist/cdn/{FF62NTPZ.js → PA4OX5AE.js} +2 -2
  190. package/dist/cdn/{KSL35IAB.js → PC4K557A.js} +2 -2
  191. package/dist/cdn/PDF537RL.js +4 -0
  192. package/dist/cdn/{2A2OCNEI.js → PFVETMVP.js} +2 -2
  193. package/dist/cdn/{T6TALN7D.js → PLOMKUYS.js} +2 -2
  194. package/dist/cdn/{KSA37XLR.js → PRMAOD3Y.js} +2 -2
  195. package/dist/cdn/{VCJJR4TK.js → PYTQBHHA.js} +2 -2
  196. package/dist/cdn/{CF3T2MF5.js → PZ2CELOG.js} +2 -2
  197. package/dist/cdn/{EIV3DXVX.js → Q2HLT5H7.js} +1 -1
  198. package/dist/cdn/{47G6FBO5.js → Q3JYAQZB.js} +2 -2
  199. package/dist/cdn/{BOUZ3FH6.js → Q7ET6ENS.js} +2 -2
  200. package/dist/cdn/QB2W5UUD.js +18 -0
  201. package/dist/cdn/{Q3TAJJU3.js → QIPEXDJZ.js} +2 -2
  202. package/dist/cdn/{MWD6GECG.js → QM2YR4NU.js} +2 -2
  203. package/dist/cdn/{Y3HZIU5J.js → QOT3V2NC.js} +2 -2
  204. package/dist/cdn/{7DTTJ6XF.js → QQ7X6CB7.js} +2 -2
  205. package/dist/cdn/{UXWDS6MR.js → QXSLNBB7.js} +2 -2
  206. package/dist/cdn/{LAQNZDRK.js → R7LQHAK6.js} +2 -2
  207. package/dist/cdn/{4JWQ7FCB.js → R7ZQ3AWG.js} +2 -2
  208. package/dist/cdn/{STGRFEM3.js → RAREZBUC.js} +2 -2
  209. package/dist/cdn/{SVS67XXF.js → RBV4DYA7.js} +2 -2
  210. package/dist/cdn/{3KG65DHY.js → REY2MYT4.js} +2 -2
  211. package/dist/cdn/{JD4I4FDB.js → RKQPPIVQ.js} +2 -2
  212. package/dist/cdn/{HFFKBS55.js → ROPLPM6H.js} +1 -1
  213. package/dist/cdn/{KI4AAB7Q.js → RP6G34AS.js} +2 -2
  214. package/dist/cdn/{KRFEYMMF.js → RWWI53WR.js} +1 -1
  215. package/dist/cdn/{EASKU6IL.js → S2JKF4KM.js} +2 -2
  216. package/dist/cdn/SF3CBIXU.js +18 -0
  217. package/dist/cdn/{J77NPQYU.js → SI2LQ7QK.js} +2 -2
  218. package/dist/cdn/{MGSEHG3F.js → SLRLJFCN.js} +2 -2
  219. package/dist/cdn/{Y37XTU24.js → SUM6FGHT.js} +2 -2
  220. package/dist/cdn/{LHV635NF.js → SYVF64KF.js} +2 -2
  221. package/dist/cdn/{U42JI37N.js → SZF3N6BX.js} +2 -2
  222. package/dist/cdn/{FHC7XWWV.js → T2KBMHNQ.js} +2 -2
  223. package/dist/cdn/{LVGSS7OM.js → TDH3SPXE.js} +2 -2
  224. package/dist/cdn/{KMXTJPWK.js → THLFRRBP.js} +2 -2
  225. package/dist/cdn/{FP46U5U5.js → TI2Y6JJI.js} +2 -2
  226. package/dist/cdn/{7Q5GFHJU.js → TJK3RWHW.js} +1 -1
  227. package/dist/cdn/{6K2KSAYP.js → TLJSKEF2.js} +2 -2
  228. package/dist/cdn/{IUH2VZXW.js → TQ4BYZJK.js} +2 -2
  229. package/dist/cdn/{IRUPQ64H.js → TUYT7BM6.js} +1 -1
  230. package/dist/cdn/{HQKHXY53.js → TXKGE7ZQ.js} +2 -2
  231. package/dist/cdn/{XSBEWAUF.js → U4LLR3MN.js} +2 -2
  232. package/dist/cdn/{QJKNCR6A.js → UMT5U2EI.js} +2 -2
  233. package/dist/cdn/{AC2LBIGW.js → UNVKZZCI.js} +2 -2
  234. package/dist/cdn/{HGOC6CO4.js → UQGEHP44.js} +2 -2
  235. package/dist/cdn/{U2LMZPFA.js → USDB7GLV.js} +2 -2
  236. package/dist/cdn/{7SVPCQNH.js → UVCZC4HS.js} +2 -2
  237. package/dist/cdn/{2SH4JASC.js → UW72AJWR.js} +2 -2
  238. package/dist/cdn/{RYK7QXBJ.js → V4Z3RSZX.js} +2 -2
  239. package/dist/cdn/{J5MCJSA4.js → V6MXF4ZU.js} +2 -2
  240. package/dist/cdn/{X6SDOZI2.js → VBFSJCXY.js} +2 -2
  241. package/dist/cdn/{S57CAXVX.js → VJS7MQRJ.js} +2 -2
  242. package/dist/cdn/{XDVUXKUA.js → VXMZHNM5.js} +1 -1
  243. package/dist/cdn/{IRV53C7Q.js → VXV6RF6H.js} +2 -2
  244. package/dist/cdn/{K75YNK4P.js → W5F5KJOV.js} +1 -1
  245. package/dist/cdn/{7GRMI52O.js → WBIR3R5J.js} +2 -2
  246. package/dist/cdn/{RZZEMAXG.js → WCOLYJKR.js} +2 -2
  247. package/dist/cdn/{EWLBN5NG.js → WEDSERWT.js} +2 -2
  248. package/dist/cdn/{YBF7SXFW.js → WIB266LQ.js} +2 -2
  249. package/dist/cdn/{VB6M2WNG.js → WKEWPVQS.js} +2 -2
  250. package/dist/cdn/{PKKTKHZX.js → WL6XGE7F.js} +2 -2
  251. package/dist/cdn/{QWYBS5JR.js → WUSTNVO6.js} +2 -2
  252. package/dist/cdn/{GVZAZ45P.js → X4ZR26LK.js} +1 -1
  253. package/dist/cdn/{CQBTEXB7.js → X6NR7NXP.js} +1 -1
  254. package/dist/cdn/{ZWBUELZ3.js → X77AXWEV.js} +2 -2
  255. package/dist/cdn/{G5LXVZNY.js → XC7P62BS.js} +2 -2
  256. package/dist/cdn/{M35BWF4P.js → XD5VDXU5.js} +2 -2
  257. package/dist/cdn/{LRS2MDCL.js → XDBUQLWI.js} +2 -2
  258. package/dist/cdn/{QQG5I4RW.js → XMPWXXAF.js} +2 -2
  259. package/dist/cdn/{MENGUY4H.js → XN42T3TF.js} +2 -2
  260. package/dist/cdn/XO7PUYQN.js +4 -0
  261. package/dist/cdn/{MVIN4223.js → XPY333GL.js} +2 -2
  262. package/dist/cdn/{4DWLBN6E.js → XUMWU7UL.js} +2 -2
  263. package/dist/cdn/{QUYGI4H7.js → XVUBWS3R.js} +2 -2
  264. package/dist/cdn/{U6PBNDHL.js → YGK4XFKQ.js} +1 -1
  265. package/dist/cdn/{XOABMMJJ.js → YHL3W2BR.js} +2 -2
  266. package/dist/cdn/{DYZR46J2.js → YHVV3MQK.js} +2 -2
  267. package/dist/cdn/{VBF5NJZP.js → YMDOT325.js} +2 -2
  268. package/dist/cdn/{XROLTWSS.js → YOEFZWD7.js} +1 -1
  269. package/dist/cdn/{EDF6RBKC.js → YPBPLW3U.js} +2 -2
  270. package/dist/cdn/{TDLJE5IW.js → YVZMTTO6.js} +2 -2
  271. package/dist/cdn/YWYAMPHA.js +18 -0
  272. package/dist/cdn/{TOAZF57I.js → ZJNFYOEQ.js} +2 -2
  273. package/dist/cdn/{WP7P5VNB.js → ZLIHWJKM.js} +1 -1
  274. package/dist/cdn/{KJJPTASW.js → ZLW7KZZA.js} +2 -2
  275. package/dist/cdn/{C2HR5NM7.js → ZN6K2475.js} +2 -2
  276. package/dist/cdn/ZQMBCL52.js +4 -0
  277. package/dist/cdn/{R6SL3N5H.js → ZS5IBKPP.js} +2 -2
  278. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -1
  279. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -1
  280. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  281. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  282. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -1
  283. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -1
  284. package/dist/cdn/index.js +2 -2
  285. package/dist/chunks/Auth.js +249 -0
  286. package/dist/chunks/cardFetchingUtils.js +476 -0
  287. package/dist/chunks/common.js +1 -1
  288. package/dist/chunks/deployAppContexts.js +1 -1
  289. package/dist/chunks/downloadUtils.js +1 -1
  290. package/dist/chunks/index.js +1 -1
  291. package/dist/chunks/interfaces.js +21 -17
  292. package/dist/chunks/loadModules.js +1 -1
  293. package/dist/chunks/mapViewUtils.js +1 -1
  294. package/dist/chunks/pciUtils.js +1 -1
  295. package/dist/chunks/popupUtils.js +1 -1
  296. package/dist/chunks/publicNotificationStore.js +1 -1
  297. package/dist/chunks/queryUtils.js +1 -1
  298. package/dist/chunks/runtime.js +1 -1
  299. package/dist/chunks/solution-store.js +1 -1
  300. package/dist/chunks/templates.js +1 -1
  301. package/dist/chunks/useT9n.js +1 -1
  302. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  303. package/dist/components/basemap-gallery/customElement.js +1 -1
  304. package/dist/components/buffer-tools/customElement.js +1 -1
  305. package/dist/components/card-manager/customElement.js +1 -1
  306. package/dist/components/consent-manager/customElement.js +1 -1
  307. package/dist/components/create-feature/customElement.js +1 -1
  308. package/dist/components/create-related-feature/customElement.js +1 -1
  309. package/dist/components/crowdsource-manager/customElement.js +10 -10
  310. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  311. package/dist/components/deduct-calculator/customElement.js +1 -1
  312. package/dist/components/delete-button/customElement.js +1 -1
  313. package/dist/components/delete-dialog/customElement.js +1 -1
  314. package/dist/components/edit-card/customElement.js +1 -1
  315. package/dist/components/feature-details/customElement.js +1 -1
  316. package/dist/components/feature-list/customElement.js +1 -1
  317. package/dist/components/field-selection/customElement.js +1 -1
  318. package/dist/components/floor-filter/customElement.js +1 -1
  319. package/dist/components/info-card/customElement.js +1 -1
  320. package/dist/components/json-editor/customElement.js +1 -1
  321. package/dist/components/layer-list/customElement.js +1 -1
  322. package/dist/components/layer-table/customElement.js +1 -1
  323. package/dist/components/map-card/customElement.js +1 -1
  324. package/dist/components/map-draw-tools/customElement.js +2 -2
  325. package/dist/components/map-fullscreen/customElement.js +1 -1
  326. package/dist/components/map-layer-picker/customElement.js +1 -1
  327. package/dist/components/map-legend/customElement.js +1 -1
  328. package/dist/components/map-picker/customElement.js +1 -1
  329. package/dist/components/map-search/customElement.js +1 -1
  330. package/dist/components/map-select-tools/customElement.js +1 -1
  331. package/dist/components/map-tools/customElement.js +1 -1
  332. package/dist/components/pci-calculator/customElement.js +1 -1
  333. package/dist/components/pdf-download/customElement.js +1 -1
  334. package/dist/components/public-notification/customElement.js +14 -14
  335. package/dist/components/refine-selection/customElement.js +2 -2
  336. package/dist/components/selection-tool/customElement.js +1 -1
  337. package/dist/components/solution-article-card/customElement.js +1 -1
  338. package/dist/components/solution-configuration/customElement.js +1 -1
  339. package/dist/components/solution-configure-panel/customElement.js +1 -1
  340. package/dist/components/solution-configure-titles/customElement.js +1 -1
  341. package/dist/components/solution-contents/customElement.js +1 -1
  342. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  343. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  344. package/dist/components/solution-deploy-panel/customElement.d.ts +12 -0
  345. package/dist/components/solution-deploy-panel/customElement.js +44 -16
  346. package/dist/components/solution-deploy-panel/index.d.ts +10 -0
  347. package/dist/components/solution-deploy-panel/index.js +10 -0
  348. package/dist/components/solution-deployed-card/customElement.js +1 -1
  349. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  350. package/dist/components/solution-details-card/customElement.js +1 -1
  351. package/dist/components/solution-details-panel/customElement.js +1 -1
  352. package/dist/components/solution-item/customElement.js +1 -1
  353. package/dist/components/solution-item-accordion/customElement.js +1 -1
  354. package/dist/components/solution-item-details/customElement.js +1 -1
  355. package/dist/components/solution-item-icon/customElement.js +1 -1
  356. package/dist/components/solution-item-sharing/customElement.js +1 -1
  357. package/dist/components/solution-items-diagram/customElement.js +1 -1
  358. package/dist/components/solution-organization-variables/customElement.js +1 -1
  359. package/dist/components/solution-resource-item/customElement.js +1 -1
  360. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  361. package/dist/components/solution-spatial-ref/customElement.js +2 -2
  362. package/dist/components/solution-template-data/customElement.js +1 -1
  363. package/dist/components/solution-variables/customElement.js +1 -1
  364. package/dist/components/solutions-all-panel/customElement.d.ts +2 -3
  365. package/dist/components/solutions-all-panel/customElement.js +84 -521
  366. package/dist/components/solutions-all-shell/customElement.d.ts +1 -0
  367. package/dist/components/solutions-all-shell/customElement.js +29 -24
  368. package/dist/components/solutions-article-panel/customElement.js +1 -1
  369. package/dist/components/solutions-articles/customElement.js +1 -1
  370. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  371. package/dist/components/solutions-deployed-panel/customElement.d.ts +54 -0
  372. package/dist/components/solutions-deployed-panel/customElement.js +66 -17
  373. package/dist/components/solutions-deployed-panel/index.d.ts +2 -0
  374. package/dist/components/solutions-deployed-panel/index.js +2 -0
  375. package/dist/components/solutions-deployed-shell/customElement.d.ts +19 -0
  376. package/dist/components/solutions-deployed-shell/customElement.js +111 -17
  377. package/dist/components/solutions-deployed-shell/index.d.ts +10 -0
  378. package/dist/components/solutions-deployed-shell/index.js +10 -0
  379. package/dist/components/solutions-filter-panel/customElement.js +2 -2
  380. package/dist/components/spatial-ref/customElement.js +1 -1
  381. package/dist/components/store-manager/customElement.js +1 -1
  382. package/dist/docs/api.json +660 -66
  383. package/dist/docs/docs.json +503 -15
  384. package/dist/docs/vscode.html-custom-data.json +105 -7
  385. package/dist/docs/web-types.json +207 -18
  386. package/dist/index.d.ts +31 -2
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +4 -4
  389. package/dist/types/lumina.d.ts +6 -3
  390. package/dist/types/preact.d.ts +6 -3
  391. package/dist/types/react.d.ts +6 -3
  392. package/dist/types/stencil.d.ts +6 -3
  393. package/dist/utils/CardsFetcher.d.ts +5 -22
  394. package/dist/utils/cardFetchingUtils.d.ts +24 -0
  395. package/dist/utils/cardsHelpers.d.ts +2 -47
  396. package/dist/utils/helpers.d.ts +1 -21
  397. package/dist/utils/interfaces.d.ts +94 -1
  398. package/package.json +148 -147
  399. package/dist/cdn/2DP6OMTG.js +0 -4
  400. package/dist/cdn/4BDP4U52.js +0 -4
  401. package/dist/cdn/7ICACTIO.js +0 -4
  402. package/dist/cdn/BWISN2EI.js +0 -18
  403. package/dist/cdn/CS3QUAQD.js +0 -4
  404. package/dist/cdn/DOUWGSKA.js +0 -18
  405. package/dist/cdn/H5Q3K3Q6.js +0 -4
  406. package/dist/cdn/HCK4TVJU.js +0 -18
  407. package/dist/cdn/IONHPS7Z.js +0 -18
  408. package/dist/cdn/K5QZD6FH.js +0 -4
  409. package/dist/cdn/KE33RJNK.js +0 -18
  410. package/dist/cdn/NHJ7E4Q4.js +0 -4
  411. package/dist/cdn/TPBLXSTH.js +0 -18
  412. package/dist/cdn/XEJZXWBI.js +0 -4
  413. package/dist/cdn/assets/solutions-all-shell/appConfig.json +0 -1
@@ -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.20250521 */
4
- import{a as S}from"./JCGTMHDX.js";import"./6K2KSAYP.js";import{a as v,c as u,d as c,e as m,f as C,g as x}from"./IRV53C7Q.js";import"./BY5Y2DNE.js";import{b as $}from"./LS72LBRH.js";import{a as h,b as o}from"./KV6B4JKU.js";import{b as F}from"./GVZAZ45P.js";import{a as I}from"./VDUSHAW5.js";import{D as b,E as p,I as L,c as g,d as l,g as d,o as w,q as y}from"./CQBTEXB7.js";import"./PACFBFZI.js";var V=g`@layer{/** @license
3
+ v1.0.0-next.20250527 */
4
+ import{a as S}from"./KSWUZAKY.js";import"./TLJSKEF2.js";import{a as v,c as u,d as c,e as m,f as C,g as x}from"./VXV6RF6H.js";import"./OU23PWPG.js";import{b as $}from"./JDEUATYQ.js";import{a as h,b as o}from"./JJQY7KYC.js";import{b as F}from"./X4ZR26LK.js";import{a as I}from"./JIXASV3Y.js";import{D as b,E as p,I as L,c as g,d as l,g as d,o as w,q as y}from"./X6NR7NXP.js";import"./GNZLER6U.js";var V=g`@layer{/** @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.20250521 */
4
- import{a as f}from"./YLP7M2HK.js";import{e as b}from"./3KG65DHY.js";import{c as u,n as g,t as _,z as x}from"./LWXXGZP2.js";import"./7Q35EK3R.js";import{a as m,c as a,d as w,e as v,f as y}from"./6K2KSAYP.js";import"./PACFBFZI.js";var k=`
3
+ v1.0.0-next.20250527 */
4
+ import{a as f}from"./DCRNCJR3.js";import{e as b}from"./REY2MYT4.js";import{c as u,n as g,t as _,z as x}from"./LIHE32UV.js";import"./BUKUYGGP.js";import{a as m,c as a,d as w,e as v,f as y}from"./TLJSKEF2.js";import"./GNZLER6U.js";var k=`
5
5
  @media print {
6
6
  @page {
7
7
  size: Portrait;
@@ -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.20250521 */
4
- import{a as e}from"./Q3TAJJU3.js";import{b as t,g as s,m as i}from"./K75YNK4P.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
3
+ v1.0.0-next.20250527 */
4
+ import{a as e}from"./QIPEXDJZ.js";import{b as t,g as s,m as i}from"./W5F5KJOV.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a 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.20250521 */
3
+ v1.0.0-next.20250527 */
4
4
  function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w 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.20250521 */
4
- import{a as s}from"./QDI6ECEG.js";import"./W56OR4B5.js";import"./EHSF2PHZ.js";import"./6EIHODNG.js";import"./T2JUS4TO.js";import"./PACFBFZI.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};
3
+ v1.0.0-next.20250527 */
4
+ import{a as s}from"./6X7IR5JR.js";import"./JSXL76GE.js";import"./LS4RJUFW.js";import"./NWQYXV7R.js";import"./64JCPDPG.js";import"./GNZLER6U.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,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.20250521 */
4
- import{a as n}from"./VDUSHAW5.js";import{D as o,I as r,c as s,d as t,q as i}from"./CQBTEXB7.js";import"./PACFBFZI.js";var a=s`@layer{/** @license
3
+ v1.0.0-next.20250527 */
4
+ import{a as n}from"./JIXASV3Y.js";import{D as o,I as r,c as s,d as t,q as i}from"./X6NR7NXP.js";import"./GNZLER6U.js";var a=s`@layer{/** @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.20250521 */
4
- import{b as m,c as h}from"./MBUHNSTZ.js";import"./R75X3FLO.js";import"./Y3HZIU5J.js";import"./7BU4RNKA.js";import"./VGZGGNPC.js";import"./SXNJKD62.js";import"./6EIHODNG.js";import"./VPSKNEUJ.js";import"./LS72LBRH.js";import{a as b,b as g}from"./KV6B4JKU.js";import{b as d}from"./GVZAZ45P.js";import{a as c}from"./VDUSHAW5.js";import{D as o,I as p,c as n,d as r}from"./CQBTEXB7.js";import"./PACFBFZI.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
3
+ v1.0.0-next.20250527 */
4
+ import{b as m,c as h}from"./O4FBWTRU.js";import"./OOEQOO4R.js";import"./QOT3V2NC.js";import"./GZUQL4BQ.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./NWQYXV7R.js";import"./MAKHYGHW.js";import"./JDEUATYQ.js";import{a as b,b as g}from"./JJQY7KYC.js";import{b as d}from"./X4ZR26LK.js";import{a as c}from"./JIXASV3Y.js";import{D as o,I as p,c as n,d as r}from"./X6NR7NXP.js";import"./GNZLER6U.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{a}from"./SSNAJI27.js";import{a as d}from"./XDVUXKUA.js";import{m as b,n as m}from"./VGZGGNPC.js";import"./SXNJKD62.js";import{a as l}from"./6EIHODNG.js";import{a as i}from"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.0.0-next.20250527 */
4
+ import{a}from"./LDW2HYY6.js";import{a as d}from"./VXMZHNM5.js";import{m as b,n as m}from"./63VMIWOD.js";import"./LH2OOZVN.js";import{a as l}from"./NWQYXV7R.js";import{a as i}from"./F62R4ACI.js";import"./5VZIXTV2.js";import"./PFVETMVP.js";import"./64JCPDPG.js";import"./ANUWXCJE.js";import"./B5XNLTLN.js";import"./NV7RQ6AS.js";import"./FX3UFEOX.js";import"./MHAFURF2.js";import"./MJQQWZ2I.js";import"./PC4K557A.js";import"./SZF3N6BX.js";import"./E2RH7ORD.js";import"./7VJ6VE65.js";import"./NA5P6M4G.js";import"./S2JKF4KM.js";import"./V4Z3RSZX.js";import"./SUM6FGHT.js";import"./CRWYDAPO.js";import"./DQXSWU2C.js";import"./QIPEXDJZ.js";import"./TUYT7BM6.js";import"./W5F5KJOV.js";import"./GNZLER6U.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ 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.20250521 */
4
- import{a as v}from"./H2S3BYD2.js";import{a as y}from"./2A2OCNEI.js";import{a as p}from"./LTJRIZ42.js";import{a as d}from"./6JBHPPCE.js";import{a as E}from"./KHA6XWL7.js";import{a as s}from"./ESV3CXI2.js";import{a as n}from"./FCERBRLE.js";import{a}from"./ACRGKPWC.js";import{a as l}from"./KSL35IAB.js";import{a as e}from"./U42JI37N.js";import{a as r}from"./EASKU6IL.js";import{a as t}from"./RYK7QXBJ.js";import{a as i}from"./3DB3ODZ5.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.0.0-next.20250527 */
4
+ import{a as v}from"./5VZIXTV2.js";import{a as y}from"./PFVETMVP.js";import{a as p}from"./ANUWXCJE.js";import{a as d}from"./B5XNLTLN.js";import{a as E}from"./NV7RQ6AS.js";import{a as s}from"./FX3UFEOX.js";import{a as n}from"./MHAFURF2.js";import{a}from"./MJQQWZ2I.js";import{a as l}from"./PC4K557A.js";import{a as e}from"./SZF3N6BX.js";import{a as r}from"./S2JKF4KM.js";import{a as t}from"./V4Z3RSZX.js";import{a as i}from"./DQXSWU2C.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
@@ -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.20250521 */
4
- import{a as e}from"./IWA7VN2A.js";import"./U4HS5ENT.js";import"./R75X3FLO.js";import"./Y3HZIU5J.js";import"./7BU4RNKA.js";import"./VGZGGNPC.js";import"./SXNJKD62.js";import"./6EIHODNG.js";import"./BY5Y2DNE.js";import{a,b as s}from"./KV6B4JKU.js";import{a as p}from"./VDUSHAW5.js";import{D as c,I as h,c as m,d as l,e as o,q as r}from"./CQBTEXB7.js";import"./PACFBFZI.js";var u=m`@layer{/** @license
3
+ v1.0.0-next.20250527 */
4
+ import{a as e}from"./MTZ7UR3K.js";import"./IEHPZCNW.js";import"./OOEQOO4R.js";import"./QOT3V2NC.js";import"./GZUQL4BQ.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./NWQYXV7R.js";import"./OU23PWPG.js";import{a,b as s}from"./JJQY7KYC.js";import{a as p}from"./JIXASV3Y.js";import{D as c,I as h,c as m,d as l,e as o,q as r}from"./X6NR7NXP.js";import"./GNZLER6U.js";var u=m`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{a as x}from"./Y3HZIU5J.js";import{a as I}from"./AVJL2GFG.js";import{a as d}from"./SV73C7FZ.js";import{b as p,d as v,e as M}from"./D56F66YP.js";import{a as y}from"./7BU4RNKA.js";import{a as k,e as R,f as A,g as E}from"./HGOC6CO4.js";import{a as U}from"./U6PBNDHL.js";import{a as c}from"./6EIHODNG.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
3
+ v1.0.0-next.20250527 */
4
+ import{a as x}from"./QOT3V2NC.js";import{a as I}from"./JJFLJJVV.js";import{a as d}from"./4PKBB5DI.js";import{b as p,d as v,e as M}from"./KBHUDHV4.js";import{a as y}from"./GZUQL4BQ.js";import{a as k,e as R,f as A,g as E}from"./UQGEHP44.js";import{a as U}from"./YGK4XFKQ.js";import{a as c}from"./NWQYXV7R.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
@@ -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.20250521 */
4
- import{b as i}from"./SXNJKD62.js";import{a}from"./HK6GQTIP.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
3
+ v1.0.0-next.20250527 */
4
+ import{b as i}from"./LH2OOZVN.js";import{a}from"./F62R4ACI.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h 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.20250521 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./ELTW2XEW.js";import{a as r}from"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250527 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./LSQLZC5R.js";import{a as r}from"./F62R4ACI.js";import"./5VZIXTV2.js";import"./PFVETMVP.js";import"./64JCPDPG.js";import"./ANUWXCJE.js";import"./B5XNLTLN.js";import"./NV7RQ6AS.js";import"./FX3UFEOX.js";import"./MHAFURF2.js";import"./MJQQWZ2I.js";import"./PC4K557A.js";import"./SZF3N6BX.js";import"./E2RH7ORD.js";import"./7VJ6VE65.js";import"./NA5P6M4G.js";import"./S2JKF4KM.js";import"./V4Z3RSZX.js";import"./SUM6FGHT.js";import"./CRWYDAPO.js";import"./DQXSWU2C.js";import"./QIPEXDJZ.js";import"./TUYT7BM6.js";import"./W5F5KJOV.js";import"./GNZLER6U.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -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.20250527 */
4
+ import{a as I}from"./KSWUZAKY.js";import"./TLJSKEF2.js";import{d as C}from"./VXV6RF6H.js";import{a as s}from"./OU23PWPG.js";import"./JDEUATYQ.js";import{a as h,b as r}from"./JJQY7KYC.js";import{a as x}from"./JIXASV3Y.js";import{D as $,E as m,F as v,I as L,c as f,d as l,g as w,o as b,q as y}from"./X6NR7NXP.js";import"./GNZLER6U.js";var F=f`@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;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-1{z-index:1}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,_=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=x({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerExpressions=[],this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=b(),this.showCoverPage=b(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"idsFound",this.idsFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),I(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerExpressions:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16}}static{this.styles=F}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.value&&this._layerTable.value.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),await this._mapChange?.mapView.when(async()=>{await this._setMapView()})}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await C(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async idsFound(e){this._layerIds=e.detail.layerIds}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"";return l`<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){let i="";switch(e){case s.HORIZONTAL:i=t?"chevrons-up":"chevrons-down";break;case s.VERTICAL:i=t?"chevrons-left":"chevrons-right";break;case s.GRID:i=t?"chevrons-left":"chevrons-right";break}return i}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class="floating-container" @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class="floating-container" @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-1`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer,n=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,d=["home","legend","search","fullscreen","basemap","floorfilter","selectiontool"],p=["map-picker","map-layer-picker"];return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSelectionTool=${n} .enableShare=${this.enableShare} enable-single-expand .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(c=>c.visible!==!1)} map-widgets-index=0 map-widgets-position=top-left mobile-map-widgets-position=top-right map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .mapToolsOrder=${d} .mobileToolsOrder=${p} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${v({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${this._layer} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=this._layer?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${this._layer?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isMobile?"visibility-hidden":a?"display-none":"",d=a?"height-full width-full z-index-0":"display-none",p=this._getTableSizeClass(e,t),c=e===s.HORIZONTAL?"horizontal":"vertical",T=e===s.HORIZONTAL?"header":"panel-start",u=this.defaultWebmap&&this.defaultLayer,g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,S=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(M=>Number.parseInt(M,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${p} border-bottom z-index-1`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${c} slot=${T??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${u?g:void 0} .defaultLayerId=${u?this.defaultLayer:""} .defaultOid=${u&&!g?S:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${m(d)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${m(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0;return console.log("!this._layer?.isTable"),console.log(!this._layer?.isTable),console.log("showFilterModal"),console.log(e),l`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};L("crowdsource-manager",_);export{_ as CrowdsourceManager};
@@ -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.20250521 */
4
- import{a as n}from"./XROLTWSS.js";import{a as s}from"./EBNAV3Y7.js";import"./D56F66YP.js";import"./XDVUXKUA.js";import"./7BU4RNKA.js";import"./WP7P5VNB.js";import{a as r,b as a}from"./Y6CIXH5E.js";import"./4DWLBN6E.js";import"./HGOC6CO4.js";import{a as o}from"./2WHDR7EZ.js";import{a as i}from"./EWLBN5NG.js";import"./VGZGGNPC.js";import"./SXNJKD62.js";import"./U6PBNDHL.js";import"./6EIHODNG.js";import"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.js";var d=async(e,l,t)=>({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.siteEntityTitleValidatorError`}]}},{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"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{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(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.0.0-next.20250527 */
4
+ import{a as n}from"./YOEFZWD7.js";import{a as s}from"./AIAURVDF.js";import"./KBHUDHV4.js";import"./VXMZHNM5.js";import"./GZUQL4BQ.js";import"./ZLIHWJKM.js";import{a as r,b as a}from"./NFJQ2Y5K.js";import"./XUMWU7UL.js";import"./UQGEHP44.js";import{a as o}from"./FDS6BXSK.js";import{a as i}from"./WEDSERWT.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./YGK4XFKQ.js";import"./NWQYXV7R.js";import"./F62R4ACI.js";import"./5VZIXTV2.js";import"./PFVETMVP.js";import"./64JCPDPG.js";import"./ANUWXCJE.js";import"./B5XNLTLN.js";import"./NV7RQ6AS.js";import"./FX3UFEOX.js";import"./MHAFURF2.js";import"./MJQQWZ2I.js";import"./PC4K557A.js";import"./SZF3N6BX.js";import"./E2RH7ORD.js";import"./7VJ6VE65.js";import"./NA5P6M4G.js";import"./S2JKF4KM.js";import"./V4Z3RSZX.js";import"./SUM6FGHT.js";import"./CRWYDAPO.js";import"./DQXSWU2C.js";import"./QIPEXDJZ.js";import"./TUYT7BM6.js";import"./W5F5KJOV.js";import"./GNZLER6U.js";var d=async(e,l,t)=>({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.siteEntityTitleValidatorError`}]}},{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"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{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(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d 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.20250521 */
4
- import{a as n,e as c,f as d}from"./2RRWLFYL.js";import{a as r}from"./QDI6ECEG.js";import"./W56OR4B5.js";import"./EHSF2PHZ.js";import"./D56F66YP.js";import"./XDVUXKUA.js";import"./7BU4RNKA.js";import"./WP7P5VNB.js";import"./VGZGGNPC.js";import"./SXNJKD62.js";import"./6EIHODNG.js";import{a as o,b as i}from"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
3
+ v1.0.0-next.20250527 */
4
+ import{a as n,e as c,f as d}from"./AGHLWJCI.js";import{a as r}from"./6X7IR5JR.js";import"./JSXL76GE.js";import"./LS4RJUFW.js";import"./KBHUDHV4.js";import"./VXMZHNM5.js";import"./GZUQL4BQ.js";import"./ZLIHWJKM.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./NWQYXV7R.js";import{a as o,b as i}from"./F62R4ACI.js";import"./5VZIXTV2.js";import"./PFVETMVP.js";import"./64JCPDPG.js";import"./ANUWXCJE.js";import"./B5XNLTLN.js";import"./NV7RQ6AS.js";import"./FX3UFEOX.js";import"./MHAFURF2.js";import"./MJQQWZ2I.js";import"./PC4K557A.js";import"./SZF3N6BX.js";import"./E2RH7ORD.js";import"./7VJ6VE65.js";import"./NA5P6M4G.js";import"./S2JKF4KM.js";import"./V4Z3RSZX.js";import"./SUM6FGHT.js";import"./CRWYDAPO.js";import"./DQXSWU2C.js";import"./QIPEXDJZ.js";import"./TUYT7BM6.js";import"./W5F5KJOV.js";import"./GNZLER6U.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
@@ -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.20250527 */
4
+ import a from"./KAX3GFY3.js";import{a as y,c as f}from"./ROPLPM6H.js";import"./OOEQOO4R.js";import"./QOT3V2NC.js";import"./GZUQL4BQ.js";import"./63VMIWOD.js";import"./LH2OOZVN.js";import"./NWQYXV7R.js";import{j as g,k as m,n as r}from"./OU23PWPG.js";import{a as p}from"./JIXASV3Y.js";import{C as i,D as c,G as d,I as u,c as n,d as s,e as l,o as h}from"./X6NR7NXP.js";import"./GNZLER6U.js";export default $arcgis.t(([{b:a,c:_}])=>{var x=n`/** @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
+ */calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}.display-flex{display:flex}.flex-direction-column{flex-direction:column}`,o=class extends c{constructor(){super(...arguments),this.authContextConsumer=i({context:f,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="created",this.userSessionContextConsumer=i({context:y,subscribe:!0}),this.cards=[],this._translations=p({name:"solutions-deployed-panel",blocking:!0}),this._allCards=[],this._agoTerms=r,this._baseAgoTerms=r,this._categories=[],this._delay=!1,this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=h()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=x}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async load(){this._cardsFetcher=new a(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new a(this.locale,this.orgUrl,this.portalUrl),await this._getDeployedSolutions()}render(){return s`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>s`<solution-deployed-card .deployedDate=${e.created} .description=${e.snippet} .heading=${e.title} itemId=${e.id??d} .owner=${e.owner} .thumbnail=${e.thumbnailUrl}></solution-deployed-card>`):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}async _getDeployedSolutions(){let e=await _(this.authContextConsumer.value,this.userSessionContextConsumer.value,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards);this.cards=e?.cards??[],e?.relatedSolutions&&(this._relatedSolutions=e?.relatedSolutions,console.log(this._relatedSolutions)),this.deployedCardsFetched.emit(this.cards.length)}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${l`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;(t==="relevance"||t==="title")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let C=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${C}`]}else this._categories=[`/Categories/${t}`];this._getDeployedSolutions()}}_getDomainValue(e){return m[e]}_getIndustryValue(e){return e==="AEC"?"AEC":g[e]}_clearFilterCategories(){this._categories=[]}};u("solutions-deployed-panel",o);return o},a)
@@ -0,0 +1,4 @@
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.20250527 */
4
+ import{p as h}from"./OOEQOO4R.js";import{e as n}from"./LH2OOZVN.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.20250521 */
4
- import{a as e}from"./Q3TAJJU3.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.0.0-next.20250527 */
4
+ import{a as e}from"./QIPEXDJZ.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
@@ -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.20250521 */
4
- import{a as r}from"./VDUSHAW5.js";import{D as l,G as i,I as n,c as o,d as t}from"./CQBTEXB7.js";import"./PACFBFZI.js";var s=o`/** @license
3
+ v1.0.0-next.20250527 */
4
+ import{a as r}from"./JIXASV3Y.js";import{D as l,G as i,I as n,c as o,d as t}from"./X6NR7NXP.js";import"./GNZLER6U.js";var s=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
3
+ v1.0.0-next.20250527 */
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.20250521 */
4
- import{a as e}from"./U4HS5ENT.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{a};
3
+ v1.0.0-next.20250527 */
4
+ import{a as e}from"./IEHPZCNW.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{a as V}from"./7DTTJ6XF.js";import{a as s}from"./7Q5GFHJU.js";import{a as k}from"./JNJEU67D.js";import{b as x}from"./EIV3DXVX.js";import{d as H,e as X,g as z,h as Q}from"./YMZI2I7I.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./NKHXO7E3.js";import{a as U,b as M,d as I}from"./Y3HZIU5J.js";import"./AVJL2GFG.js";import"./SSNAJI27.js";import"./6E4ERRKW.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./2RRWLFYL.js";import"./SV73C7FZ.js";import{d as G}from"./D56F66YP.js";import"./XDVUXKUA.js";import{a as m}from"./7BU4RNKA.js";import"./WP7P5VNB.js";import"./4DWLBN6E.js";import"./HGOC6CO4.js";import{f as O,h as j}from"./VGZGGNPC.js";import"./SXNJKD62.js";import"./U6PBNDHL.js";import{a as d}from"./6EIHODNG.js";import"./IRUPQ64H.js";import"./PACFBFZI.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};
3
+ v1.0.0-next.20250527 */
4
+ import{a as V}from"./QQ7X6CB7.js";import{a as s}from"./TJK3RWHW.js";import{a as k}from"./KE7BGL2M.js";import{b as x}from"./Q2HLT5H7.js";import{d as H,e as X,g as z,h as Q}from"./7Z6THPNR.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./FCCUMLZS.js";import{a as U,b as M,d as I}from"./QOT3V2NC.js";import"./JJFLJJVV.js";import"./LDW2HYY6.js";import"./6UJMA4B7.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./AGHLWJCI.js";import"./4PKBB5DI.js";import{d as G}from"./KBHUDHV4.js";import"./VXMZHNM5.js";import{a as m}from"./GZUQL4BQ.js";import"./ZLIHWJKM.js";import"./XUMWU7UL.js";import"./UQGEHP44.js";import{f as O,h as j}from"./63VMIWOD.js";import"./LH2OOZVN.js";import"./YGK4XFKQ.js";import{a as d}from"./NWQYXV7R.js";import"./TUYT7BM6.js";import"./GNZLER6U.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};