@arcgis/map-components 4.33.0-next.104 → 4.33.0-next.105

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 (487) hide show
  1. package/dist/arcgis-map-components/{WQIAWHI5.js → 27T45VL5.js} +2 -2
  2. package/dist/arcgis-map-components/{3YLPRWYP.js.LEGAL.txt → 27T45VL5.js.LEGAL.txt} +1 -1
  3. package/dist/arcgis-map-components/{NODHBA2E.js → 2J5SJTGN.js} +1 -1
  4. package/dist/arcgis-map-components/{23OJ3QL5.js.LEGAL.txt → 2J5SJTGN.js.LEGAL.txt} +1 -1
  5. package/dist/arcgis-map-components/{GOEXGA2B.js → 322WE65X.js} +2 -2
  6. package/dist/arcgis-map-components/{46N4JDKF.js.LEGAL.txt → 322WE65X.js.LEGAL.txt} +1 -1
  7. package/dist/arcgis-map-components/{ZZ32NOXG.js → 34YVPILV.js} +2 -2
  8. package/dist/arcgis-map-components/{4XF67YZ4.js → 35BP4C33.js} +2 -2
  9. package/dist/arcgis-map-components/{3E67KOIE.js.LEGAL.txt → 35BP4C33.js.LEGAL.txt} +1 -1
  10. package/dist/arcgis-map-components/{VCR2FFWU.js → 3L37K4B4.js} +2 -2
  11. package/dist/arcgis-map-components/3L37K4B4.js.LEGAL.txt +3 -0
  12. package/dist/arcgis-map-components/{KDCL363N.js → 4WPEUWGU.js} +2 -2
  13. package/dist/arcgis-map-components/4WPEUWGU.js.LEGAL.txt +3 -0
  14. package/dist/arcgis-map-components/{ARCEBC24.js → 54KKEP2N.js} +2 -2
  15. package/dist/arcgis-map-components/54KKEP2N.js.LEGAL.txt +3 -0
  16. package/dist/arcgis-map-components/{VAGBAC6H.js → 5ZWEVAX7.js} +2 -2
  17. package/dist/arcgis-map-components/5ZWEVAX7.js.LEGAL.txt +3 -0
  18. package/dist/arcgis-map-components/{5IHHX2ZN.js → 6GUSCYCU.js} +2 -2
  19. package/dist/arcgis-map-components/6GUSCYCU.js.LEGAL.txt +3 -0
  20. package/dist/arcgis-map-components/{BORYYQAQ.js → 6LGM6QJ3.js} +2 -2
  21. package/dist/arcgis-map-components/6LGM6QJ3.js.LEGAL.txt +3 -0
  22. package/dist/arcgis-map-components/{46N4JDKF.js → 6MVSAQCH.js} +2 -2
  23. package/dist/arcgis-map-components/6MVSAQCH.js.LEGAL.txt +3 -0
  24. package/dist/arcgis-map-components/{YUGKR7NE.js → 6MZKD7LR.js} +2 -2
  25. package/dist/arcgis-map-components/6MZKD7LR.js.LEGAL.txt +3 -0
  26. package/dist/arcgis-map-components/{MQMCL2OB.js → 6SUVRWWH.js} +2 -2
  27. package/dist/arcgis-map-components/6SUVRWWH.js.LEGAL.txt +3 -0
  28. package/dist/arcgis-map-components/{JM6NCISV.js → 6UL5UCJU.js} +2 -2
  29. package/dist/arcgis-map-components/6UL5UCJU.js.LEGAL.txt +3 -0
  30. package/dist/arcgis-map-components/{JGOBXINS.js → 6XBJWW2U.js} +2 -2
  31. package/dist/arcgis-map-components/6XBJWW2U.js.LEGAL.txt +3 -0
  32. package/dist/arcgis-map-components/{NYK54UPT.js → 75QUUFHU.js} +2 -2
  33. package/dist/arcgis-map-components/75QUUFHU.js.LEGAL.txt +3 -0
  34. package/dist/arcgis-map-components/{JVP7CEGS.js → 7VFBNSHT.js} +2 -2
  35. package/dist/arcgis-map-components/7VFBNSHT.js.LEGAL.txt +3 -0
  36. package/dist/arcgis-map-components/{HKFFPWE5.js → 7Z6JJ2IG.js} +2 -2
  37. package/dist/arcgis-map-components/7Z6JJ2IG.js.LEGAL.txt +3 -0
  38. package/dist/arcgis-map-components/{XRFCPNTI.js → A7XID3VR.js} +2 -2
  39. package/dist/arcgis-map-components/A7XID3VR.js.LEGAL.txt +3 -0
  40. package/dist/arcgis-map-components/{IPNG2LYD.js → AIFXAVZT.js} +1 -1
  41. package/dist/arcgis-map-components/AIFXAVZT.js.LEGAL.txt +3 -0
  42. package/dist/arcgis-map-components/{DMH5AWCT.js → AKBBUDBH.js} +2 -2
  43. package/dist/arcgis-map-components/AKBBUDBH.js.LEGAL.txt +3 -0
  44. package/dist/arcgis-map-components/{FHK2UTLN.js → AS2WRV2L.js} +2 -2
  45. package/dist/arcgis-map-components/AS2WRV2L.js.LEGAL.txt +3 -0
  46. package/dist/arcgis-map-components/{HEEVMSHB.js → AVUD5UFF.js} +1 -1
  47. package/dist/arcgis-map-components/AVUD5UFF.js.LEGAL.txt +3 -0
  48. package/dist/arcgis-map-components/{O2O7VTGA.js → B7VD3KPS.js} +2 -2
  49. package/dist/arcgis-map-components/B7VD3KPS.js.LEGAL.txt +3 -0
  50. package/dist/arcgis-map-components/{7PJXGCSH.js → BK6F3BUF.js} +2 -2
  51. package/dist/arcgis-map-components/BK6F3BUF.js.LEGAL.txt +3 -0
  52. package/dist/arcgis-map-components/{YIVYD25A.js → BOOUN3DB.js} +2 -2
  53. package/dist/arcgis-map-components/BOOUN3DB.js.LEGAL.txt +3 -0
  54. package/dist/arcgis-map-components/{PV5BF6X2.js → BXBXFO2E.js} +2 -2
  55. package/dist/arcgis-map-components/BXBXFO2E.js.LEGAL.txt +3 -0
  56. package/dist/arcgis-map-components/{54HZFPC6.js → BZDCWBDI.js} +2 -2
  57. package/dist/arcgis-map-components/BZDCWBDI.js.LEGAL.txt +3 -0
  58. package/dist/arcgis-map-components/{RAVHTOAD.js → C2X3MHKJ.js} +2 -2
  59. package/dist/arcgis-map-components/C2X3MHKJ.js.LEGAL.txt +3 -0
  60. package/dist/arcgis-map-components/{4FGC6HSU.js → CVFRDD3F.js} +2 -2
  61. package/dist/arcgis-map-components/CVFRDD3F.js.LEGAL.txt +3 -0
  62. package/dist/arcgis-map-components/{XUGTTI27.js → CY2UEEJN.js} +2 -2
  63. package/dist/arcgis-map-components/CY2UEEJN.js.LEGAL.txt +3 -0
  64. package/dist/arcgis-map-components/{PDLPHCLQ.js → DE2ANCQQ.js} +2 -2
  65. package/dist/arcgis-map-components/DE2ANCQQ.js.LEGAL.txt +3 -0
  66. package/dist/arcgis-map-components/{AGPU5XX6.js → EP3IAJHB.js} +2 -2
  67. package/dist/arcgis-map-components/EP3IAJHB.js.LEGAL.txt +3 -0
  68. package/dist/arcgis-map-components/{IQEDHIF3.js → ESYN2K3B.js} +2 -2
  69. package/dist/arcgis-map-components/ESYN2K3B.js.LEGAL.txt +3 -0
  70. package/dist/arcgis-map-components/{6RKWQNNV.js → FBYVZH32.js} +2 -2
  71. package/dist/arcgis-map-components/FBYVZH32.js.LEGAL.txt +3 -0
  72. package/dist/arcgis-map-components/{I6RZV5NG.js → FMKM5LJO.js} +2 -2
  73. package/dist/arcgis-map-components/FMKM5LJO.js.LEGAL.txt +3 -0
  74. package/dist/arcgis-map-components/{A533BFO2.js → FPSNLWBH.js} +2 -2
  75. package/dist/arcgis-map-components/FPSNLWBH.js.LEGAL.txt +3 -0
  76. package/dist/arcgis-map-components/{UENIDQPF.js → G3JPCYGS.js} +2 -2
  77. package/dist/arcgis-map-components/G3JPCYGS.js.LEGAL.txt +3 -0
  78. package/dist/arcgis-map-components/{MV274UUL.js → G4ILI5ZA.js} +2 -2
  79. package/dist/arcgis-map-components/G4ILI5ZA.js.LEGAL.txt +3 -0
  80. package/dist/arcgis-map-components/{5DHRYDDO.js → GFJLEDVA.js} +2 -2
  81. package/dist/arcgis-map-components/GFJLEDVA.js.LEGAL.txt +3 -0
  82. package/dist/arcgis-map-components/{MW3OCBG3.js → H2MYHCSG.js} +2 -2
  83. package/dist/arcgis-map-components/H2MYHCSG.js.LEGAL.txt +3 -0
  84. package/dist/arcgis-map-components/{OQ3FNPCY.js → H2TKPOHZ.js} +2 -2
  85. package/dist/arcgis-map-components/H2TKPOHZ.js.LEGAL.txt +3 -0
  86. package/dist/arcgis-map-components/{4J6XOAHM.js → HDNZWJL3.js} +2 -2
  87. package/dist/arcgis-map-components/HDNZWJL3.js.LEGAL.txt +3 -0
  88. package/dist/arcgis-map-components/{JWF5SB72.js → HEV2QOZF.js} +1 -1
  89. package/dist/arcgis-map-components/HEV2QOZF.js.LEGAL.txt +3 -0
  90. package/dist/arcgis-map-components/{BUJBEC64.js → HFZLVRBU.js} +2 -2
  91. package/dist/arcgis-map-components/HFZLVRBU.js.LEGAL.txt +3 -0
  92. package/dist/arcgis-map-components/{H6FRRDXQ.js → HNFHP6R7.js} +2 -2
  93. package/dist/arcgis-map-components/HNFHP6R7.js.LEGAL.txt +3 -0
  94. package/dist/arcgis-map-components/{GMYQALIX.js → I3JWH6PS.js} +2 -2
  95. package/dist/arcgis-map-components/I3JWH6PS.js.LEGAL.txt +3 -0
  96. package/dist/arcgis-map-components/{DDY3JM6E.js → I5JA7O3H.js} +2 -2
  97. package/dist/arcgis-map-components/I5JA7O3H.js.LEGAL.txt +3 -0
  98. package/dist/arcgis-map-components/{KR3ANL45.js → I5UKTBO2.js} +2 -2
  99. package/dist/arcgis-map-components/I5UKTBO2.js.LEGAL.txt +3 -0
  100. package/dist/arcgis-map-components/{JCNJH2BL.js → IHJNZP42.js} +2 -2
  101. package/dist/arcgis-map-components/IHJNZP42.js.LEGAL.txt +3 -0
  102. package/dist/arcgis-map-components/{M5DZYNQX.js → J4GCUYJO.js} +2 -2
  103. package/dist/arcgis-map-components/J4GCUYJO.js.LEGAL.txt +3 -0
  104. package/dist/arcgis-map-components/{ZN4OA2HF.js → J6AFY3JP.js} +2 -2
  105. package/dist/arcgis-map-components/J6AFY3JP.js.LEGAL.txt +3 -0
  106. package/dist/arcgis-map-components/{GEDTI4SA.js → J6YX3SWQ.js} +2 -2
  107. package/dist/arcgis-map-components/J6YX3SWQ.js.LEGAL.txt +3 -0
  108. package/dist/arcgis-map-components/{5LIBPDGN.js → JEZDTMWQ.js} +2 -2
  109. package/dist/arcgis-map-components/JEZDTMWQ.js.LEGAL.txt +3 -0
  110. package/dist/arcgis-map-components/{7VSR2F55.js → JQMSVX7I.js} +2 -2
  111. package/dist/arcgis-map-components/JQMSVX7I.js.LEGAL.txt +3 -0
  112. package/dist/arcgis-map-components/{5FUHM2PB.js → KEFPOWS6.js} +1 -1
  113. package/dist/arcgis-map-components/KEFPOWS6.js.LEGAL.txt +3 -0
  114. package/dist/arcgis-map-components/{LYVMZ3AV.js → KWIPGFO4.js} +2 -2
  115. package/dist/arcgis-map-components/{HLQYQYIY.js → KZOF5XGY.js} +2 -2
  116. package/dist/arcgis-map-components/KZOF5XGY.js.LEGAL.txt +3 -0
  117. package/dist/arcgis-map-components/{AAZGJDYK.js → LM7HW6ON.js} +2 -2
  118. package/dist/arcgis-map-components/LM7HW6ON.js.LEGAL.txt +3 -0
  119. package/dist/arcgis-map-components/{3YLPRWYP.js → LN2HSSNZ.js} +2 -2
  120. package/dist/arcgis-map-components/LN2HSSNZ.js.LEGAL.txt +3 -0
  121. package/dist/arcgis-map-components/{SPJY5PKS.js → MC4M7CFW.js} +2 -2
  122. package/dist/arcgis-map-components/{WWWOZMHE.js → MLMUFVCF.js} +2 -2
  123. package/dist/arcgis-map-components/MLMUFVCF.js.LEGAL.txt +3 -0
  124. package/dist/arcgis-map-components/{5JQTQ25A.js → MQN63KSD.js} +2 -2
  125. package/dist/arcgis-map-components/MQN63KSD.js.LEGAL.txt +3 -0
  126. package/dist/arcgis-map-components/{3E67KOIE.js → MR4VR35O.js} +2 -2
  127. package/dist/arcgis-map-components/MR4VR35O.js.LEGAL.txt +3 -0
  128. package/dist/arcgis-map-components/{MQI2TBDN.js → MTUERUT6.js} +2 -2
  129. package/dist/arcgis-map-components/MTUERUT6.js.LEGAL.txt +3 -0
  130. package/dist/arcgis-map-components/{7Z3TN72D.js → MU6CJ2VW.js} +2 -2
  131. package/dist/arcgis-map-components/MU6CJ2VW.js.LEGAL.txt +3 -0
  132. package/dist/arcgis-map-components/{CRMLE76V.js → NWPTYVRN.js} +2 -2
  133. package/dist/arcgis-map-components/NWPTYVRN.js.LEGAL.txt +3 -0
  134. package/dist/arcgis-map-components/{XVO2F27H.js → O26W52UM.js} +2 -2
  135. package/dist/arcgis-map-components/O26W52UM.js.LEGAL.txt +3 -0
  136. package/dist/arcgis-map-components/{UZXOLTW2.js → ODQNYGOC.js} +2 -2
  137. package/dist/arcgis-map-components/ODQNYGOC.js.LEGAL.txt +3 -0
  138. package/dist/arcgis-map-components/{S3WYJQX2.js → OMBNVBSF.js} +2 -2
  139. package/dist/arcgis-map-components/OMBNVBSF.js.LEGAL.txt +3 -0
  140. package/dist/arcgis-map-components/{ASC4ACY7.js → ONKOQZOI.js} +1 -1
  141. package/dist/arcgis-map-components/ONKOQZOI.js.LEGAL.txt +3 -0
  142. package/dist/arcgis-map-components/{PCWKY5M6.js → P3UHPBHD.js} +2 -2
  143. package/dist/arcgis-map-components/P3UHPBHD.js.LEGAL.txt +3 -0
  144. package/dist/arcgis-map-components/{D4MM6STW.js → PL6N4E32.js} +2 -2
  145. package/dist/arcgis-map-components/PL6N4E32.js.LEGAL.txt +3 -0
  146. package/dist/arcgis-map-components/{O4MT4RIC.js → PLBISJL2.js} +2 -2
  147. package/dist/arcgis-map-components/PLBISJL2.js.LEGAL.txt +3 -0
  148. package/dist/arcgis-map-components/{XU6DRO53.js → QBFCD2AX.js} +2 -2
  149. package/dist/arcgis-map-components/QBFCD2AX.js.LEGAL.txt +3 -0
  150. package/dist/arcgis-map-components/{NLTUSEGC.js → R5NWNEGY.js} +2 -2
  151. package/dist/arcgis-map-components/{LXVMPL5B.js → RDHRDLM7.js} +2 -2
  152. package/dist/arcgis-map-components/RDHRDLM7.js.LEGAL.txt +3 -0
  153. package/dist/arcgis-map-components/{OXYSX5NE.js → RHWRJORV.js} +2 -2
  154. package/dist/arcgis-map-components/RHWRJORV.js.LEGAL.txt +3 -0
  155. package/dist/arcgis-map-components/{B7TONSAV.js → RLZNNWV7.js} +2 -2
  156. package/dist/arcgis-map-components/RLZNNWV7.js.LEGAL.txt +3 -0
  157. package/dist/arcgis-map-components/{G4DNRFZS.js → S3IHGYW7.js} +2 -2
  158. package/dist/arcgis-map-components/S3IHGYW7.js.LEGAL.txt +3 -0
  159. package/dist/arcgis-map-components/{23OJ3QL5.js → SF2U3TGH.js} +2 -2
  160. package/dist/arcgis-map-components/SF2U3TGH.js.LEGAL.txt +3 -0
  161. package/dist/arcgis-map-components/{OVXWVDMJ.js → SMY3Q2RY.js} +2 -2
  162. package/dist/arcgis-map-components/SMY3Q2RY.js.LEGAL.txt +3 -0
  163. package/dist/arcgis-map-components/{HZ5LXWUH.js → SWSW7HDA.js} +2 -2
  164. package/dist/arcgis-map-components/SWSW7HDA.js.LEGAL.txt +3 -0
  165. package/dist/arcgis-map-components/{CAZ676KT.js → SXTZ73JC.js} +2 -2
  166. package/dist/arcgis-map-components/{JDJMLH6O.js → TBUH4J5T.js} +2 -2
  167. package/dist/arcgis-map-components/TBUH4J5T.js.LEGAL.txt +3 -0
  168. package/dist/arcgis-map-components/{JCZCIBI3.js → TCQWUUHP.js} +2 -2
  169. package/dist/arcgis-map-components/TCQWUUHP.js.LEGAL.txt +3 -0
  170. package/dist/arcgis-map-components/{UQRRH6NK.js → TIYF7DQP.js} +2 -2
  171. package/dist/arcgis-map-components/TIYF7DQP.js.LEGAL.txt +3 -0
  172. package/dist/arcgis-map-components/{NDMVO4KP.js → TJ6JFNTY.js} +2 -2
  173. package/dist/arcgis-map-components/TJ6JFNTY.js.LEGAL.txt +3 -0
  174. package/dist/arcgis-map-components/{LG3OYXMY.js → TOTBBTH2.js} +2 -2
  175. package/dist/arcgis-map-components/TOTBBTH2.js.LEGAL.txt +3 -0
  176. package/dist/arcgis-map-components/{RTENEMFM.js → TRQPR35F.js} +2 -2
  177. package/dist/arcgis-map-components/TRQPR35F.js.LEGAL.txt +3 -0
  178. package/dist/arcgis-map-components/{IHDGDMM7.js → UDVMFGZM.js} +2 -2
  179. package/dist/arcgis-map-components/UDVMFGZM.js.LEGAL.txt +3 -0
  180. package/dist/arcgis-map-components/{AZL53J4H.js → UKBWPTFM.js} +2 -2
  181. package/dist/arcgis-map-components/UKBWPTFM.js.LEGAL.txt +3 -0
  182. package/dist/arcgis-map-components/{MNA3NKD7.js → UMTFFEGH.js} +2 -2
  183. package/dist/arcgis-map-components/UMTFFEGH.js.LEGAL.txt +3 -0
  184. package/dist/arcgis-map-components/{JZBPMQXU.js → UNPW3XS5.js} +2 -2
  185. package/dist/arcgis-map-components/UNPW3XS5.js.LEGAL.txt +3 -0
  186. package/dist/arcgis-map-components/{HRUUBNWB.js → US7HFHZD.js} +2 -2
  187. package/dist/arcgis-map-components/{GE5NP3YB.js → USRQYUN3.js} +2 -2
  188. package/dist/arcgis-map-components/USRQYUN3.js.LEGAL.txt +3 -0
  189. package/dist/arcgis-map-components/{IKMLJOKO.js → UTN5R7M7.js} +2 -2
  190. package/dist/arcgis-map-components/UTN5R7M7.js.LEGAL.txt +3 -0
  191. package/dist/arcgis-map-components/{5O6OZWS5.js → UXIHLZFV.js} +2 -2
  192. package/dist/arcgis-map-components/UXIHLZFV.js.LEGAL.txt +3 -0
  193. package/dist/arcgis-map-components/{5J4QZ27Z.js → V2NOQGLK.js} +2 -2
  194. package/dist/arcgis-map-components/V2NOQGLK.js.LEGAL.txt +3 -0
  195. package/dist/arcgis-map-components/{MRD3Y7OI.js → VM62V3WR.js} +2 -2
  196. package/dist/arcgis-map-components/VM62V3WR.js.LEGAL.txt +3 -0
  197. package/dist/arcgis-map-components/{Y52QMRYX.js → VRIK7VTQ.js} +2 -2
  198. package/dist/arcgis-map-components/VRIK7VTQ.js.LEGAL.txt +3 -0
  199. package/dist/arcgis-map-components/{RUSRPDCV.js → WOO2NRIA.js} +2 -2
  200. package/dist/arcgis-map-components/WOO2NRIA.js.LEGAL.txt +3 -0
  201. package/dist/arcgis-map-components/{S74GJ7H6.js → WU3PEZ6C.js} +2 -2
  202. package/dist/arcgis-map-components/WU3PEZ6C.js.LEGAL.txt +3 -0
  203. package/dist/arcgis-map-components/{SQMUGKWL.js → WZ6JYAQ5.js} +2 -2
  204. package/dist/arcgis-map-components/WZ6JYAQ5.js.LEGAL.txt +3 -0
  205. package/dist/arcgis-map-components/{V3S3AH7Q.js → XK3FMJAH.js} +2 -2
  206. package/dist/arcgis-map-components/XK3FMJAH.js.LEGAL.txt +3 -0
  207. package/dist/arcgis-map-components/{WUXC2N6S.js → XPDBMMUU.js} +2 -2
  208. package/dist/arcgis-map-components/XPDBMMUU.js.LEGAL.txt +3 -0
  209. package/dist/arcgis-map-components/{WIDSS44I.js → XPWVQDNX.js} +2 -2
  210. package/dist/arcgis-map-components/XPWVQDNX.js.LEGAL.txt +3 -0
  211. package/dist/arcgis-map-components/{B24C3B7J.js → Y4S4TXVH.js} +1 -1
  212. package/dist/arcgis-map-components/{B24C3B7J.js.LEGAL.txt → Y4S4TXVH.js.LEGAL.txt} +1 -1
  213. package/dist/arcgis-map-components/{V24HXGW7.js → YC7W4N7S.js} +2 -2
  214. package/dist/arcgis-map-components/YC7W4N7S.js.LEGAL.txt +3 -0
  215. package/dist/arcgis-map-components/{G47WF3CE.js → YNSBQBBZ.js} +2 -2
  216. package/dist/arcgis-map-components/YNSBQBBZ.js.LEGAL.txt +3 -0
  217. package/dist/arcgis-map-components/{C3GF63HP.js → YSZVJOZC.js} +2 -2
  218. package/dist/arcgis-map-components/YSZVJOZC.js.LEGAL.txt +3 -0
  219. package/dist/arcgis-map-components/{NHKEUI2U.js → ZKJI4CU6.js} +2 -2
  220. package/dist/arcgis-map-components/ZKJI4CU6.js.LEGAL.txt +3 -0
  221. package/dist/arcgis-map-components/{SJ7MEKZG.js → ZVVHMXYP.js} +2 -2
  222. package/dist/arcgis-map-components/ZVVHMXYP.js.LEGAL.txt +3 -0
  223. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  224. package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +1 -1
  225. package/dist/chunks/basemap-gallery-resources.js +1 -1
  226. package/dist/chunks/component-utils.js +1 -1
  227. package/dist/chunks/createCloseEvent.js +1 -1
  228. package/dist/chunks/globalCss.js +1 -1
  229. package/dist/chunks/heading.js +1 -1
  230. package/dist/chunks/layer-list.js +1 -1
  231. package/dist/chunks/legacyIcon.js +1 -1
  232. package/dist/chunks/maybe.js +1 -1
  233. package/dist/chunks/runtime.js +1 -1
  234. package/dist/chunks/useHandles.js +1 -1
  235. package/dist/chunks/useT9n.js +1 -1
  236. package/dist/chunks/useView.js +1 -1
  237. package/dist/chunks/useViewModel.js +1 -1
  238. package/dist/chunks/useWidget.js +1 -1
  239. package/dist/chunks/utils.js +1 -1
  240. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -2
  241. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  242. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
  243. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  244. package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
  245. package/dist/components/arcgis-attachments/customElement.js +1 -1
  246. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  247. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  248. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  249. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  250. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  251. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  252. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  253. package/dist/components/arcgis-building-explorer/customElement.d.ts +9 -1
  254. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  255. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
  256. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  257. package/dist/components/arcgis-compass/customElement.js +1 -1
  258. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -9
  259. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  260. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  261. package/dist/components/arcgis-daylight/customElement.js +1 -1
  262. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  263. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  264. package/dist/components/arcgis-directions/customElement.js +1 -1
  265. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +1 -1
  266. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  267. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
  268. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  269. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  270. package/dist/components/arcgis-editor/customElement.js +1 -1
  271. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  272. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  273. package/dist/components/arcgis-expand/customElement.d.ts +1 -1
  274. package/dist/components/arcgis-expand/customElement.js +1 -1
  275. package/dist/components/arcgis-feature/customElement.d.ts +1 -1
  276. package/dist/components/arcgis-feature/customElement.js +1 -1
  277. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
  278. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  279. package/dist/components/arcgis-feature-table/customElement.d.ts +1 -2
  280. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  281. package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
  282. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  283. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  284. package/dist/components/arcgis-features/customElement.js +1 -1
  285. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  286. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  287. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  288. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  289. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  290. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  291. package/dist/components/arcgis-home/customElement.js +1 -1
  292. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  293. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  294. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  295. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  296. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  297. package/dist/components/arcgis-legend/customElement.js +1 -1
  298. package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
  299. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  300. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  301. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  302. package/dist/components/arcgis-locate/customElement.js +1 -1
  303. package/dist/components/arcgis-map/customElement.js +1 -1
  304. package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
  305. package/dist/components/arcgis-measurement/customElement.js +1 -1
  306. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  307. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
  308. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  309. package/dist/components/arcgis-placement/customElement.js +1 -1
  310. package/dist/components/arcgis-print/customElement.js +1 -1
  311. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  312. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  313. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  314. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  315. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  316. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  317. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  318. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  319. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  320. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  321. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  322. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  323. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  324. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  325. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  326. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  327. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  328. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
  329. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  330. package/dist/components/arcgis-scene/customElement.js +1 -1
  331. package/dist/components/arcgis-search/customElement.js +1 -1
  332. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  333. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  334. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  335. package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
  336. package/dist/components/arcgis-sketch/customElement.js +1 -1
  337. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  338. package/dist/components/arcgis-slice/customElement.js +1 -1
  339. package/dist/components/arcgis-slider/customElement.d.ts +1 -1
  340. package/dist/components/arcgis-slider/customElement.js +1 -1
  341. package/dist/components/arcgis-swipe/customElement.js +1 -1
  342. package/dist/components/arcgis-table-list/customElement.d.ts +2 -10
  343. package/dist/components/arcgis-table-list/customElement.js +1 -1
  344. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
  345. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  346. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  347. package/dist/components/arcgis-track/customElement.js +1 -1
  348. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  349. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  350. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  351. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  352. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
  353. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  354. package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
  355. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  356. package/dist/components/arcgis-version-management/customElement.js +1 -1
  357. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  358. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  359. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  360. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  361. package/dist/components/arcgis-video/customElement.js +1 -1
  362. package/dist/components/arcgis-video-player/customElement.js +1 -1
  363. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  364. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  365. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  366. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  367. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  368. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  369. package/dist/components/arcgis-weather/customElement.js +1 -1
  370. package/dist/components/arcgis-zoom/customElement.js +1 -1
  371. package/dist/controllers/useViewModel.d.ts +1 -1
  372. package/dist/controllers/useWidget.d.ts +3 -3
  373. package/dist/docs/api.json +2 -2
  374. package/dist/docs/docs.json +2 -2
  375. package/dist/docs/web-types.json +1 -1
  376. package/dist/index.js +1 -1
  377. package/dist/loader.js +1 -1
  378. package/package.json +4 -4
  379. package/dist/arcgis-map-components/4FGC6HSU.js.LEGAL.txt +0 -3
  380. package/dist/arcgis-map-components/4J6XOAHM.js.LEGAL.txt +0 -3
  381. package/dist/arcgis-map-components/4XF67YZ4.js.LEGAL.txt +0 -3
  382. package/dist/arcgis-map-components/54HZFPC6.js.LEGAL.txt +0 -3
  383. package/dist/arcgis-map-components/5DHRYDDO.js.LEGAL.txt +0 -3
  384. package/dist/arcgis-map-components/5FUHM2PB.js.LEGAL.txt +0 -3
  385. package/dist/arcgis-map-components/5IHHX2ZN.js.LEGAL.txt +0 -3
  386. package/dist/arcgis-map-components/5J4QZ27Z.js.LEGAL.txt +0 -3
  387. package/dist/arcgis-map-components/5JQTQ25A.js.LEGAL.txt +0 -3
  388. package/dist/arcgis-map-components/5LIBPDGN.js.LEGAL.txt +0 -3
  389. package/dist/arcgis-map-components/5O6OZWS5.js.LEGAL.txt +0 -3
  390. package/dist/arcgis-map-components/6RKWQNNV.js.LEGAL.txt +0 -3
  391. package/dist/arcgis-map-components/7PJXGCSH.js.LEGAL.txt +0 -3
  392. package/dist/arcgis-map-components/7VSR2F55.js.LEGAL.txt +0 -3
  393. package/dist/arcgis-map-components/7Z3TN72D.js.LEGAL.txt +0 -3
  394. package/dist/arcgis-map-components/A533BFO2.js.LEGAL.txt +0 -3
  395. package/dist/arcgis-map-components/AAZGJDYK.js.LEGAL.txt +0 -3
  396. package/dist/arcgis-map-components/AGPU5XX6.js.LEGAL.txt +0 -3
  397. package/dist/arcgis-map-components/ARCEBC24.js.LEGAL.txt +0 -3
  398. package/dist/arcgis-map-components/ASC4ACY7.js.LEGAL.txt +0 -3
  399. package/dist/arcgis-map-components/AZL53J4H.js.LEGAL.txt +0 -3
  400. package/dist/arcgis-map-components/B7TONSAV.js.LEGAL.txt +0 -3
  401. package/dist/arcgis-map-components/BORYYQAQ.js.LEGAL.txt +0 -3
  402. package/dist/arcgis-map-components/BUJBEC64.js.LEGAL.txt +0 -3
  403. package/dist/arcgis-map-components/C3GF63HP.js.LEGAL.txt +0 -3
  404. package/dist/arcgis-map-components/CRMLE76V.js.LEGAL.txt +0 -3
  405. package/dist/arcgis-map-components/D4MM6STW.js.LEGAL.txt +0 -3
  406. package/dist/arcgis-map-components/DDY3JM6E.js.LEGAL.txt +0 -3
  407. package/dist/arcgis-map-components/DMH5AWCT.js.LEGAL.txt +0 -3
  408. package/dist/arcgis-map-components/FHK2UTLN.js.LEGAL.txt +0 -3
  409. package/dist/arcgis-map-components/G47WF3CE.js.LEGAL.txt +0 -3
  410. package/dist/arcgis-map-components/G4DNRFZS.js.LEGAL.txt +0 -3
  411. package/dist/arcgis-map-components/GE5NP3YB.js.LEGAL.txt +0 -3
  412. package/dist/arcgis-map-components/GEDTI4SA.js.LEGAL.txt +0 -3
  413. package/dist/arcgis-map-components/GMYQALIX.js.LEGAL.txt +0 -3
  414. package/dist/arcgis-map-components/GOEXGA2B.js.LEGAL.txt +0 -3
  415. package/dist/arcgis-map-components/H6FRRDXQ.js.LEGAL.txt +0 -3
  416. package/dist/arcgis-map-components/HEEVMSHB.js.LEGAL.txt +0 -3
  417. package/dist/arcgis-map-components/HKFFPWE5.js.LEGAL.txt +0 -3
  418. package/dist/arcgis-map-components/HLQYQYIY.js.LEGAL.txt +0 -3
  419. package/dist/arcgis-map-components/HZ5LXWUH.js.LEGAL.txt +0 -3
  420. package/dist/arcgis-map-components/I6RZV5NG.js.LEGAL.txt +0 -3
  421. package/dist/arcgis-map-components/IHDGDMM7.js.LEGAL.txt +0 -3
  422. package/dist/arcgis-map-components/IKMLJOKO.js.LEGAL.txt +0 -3
  423. package/dist/arcgis-map-components/IPNG2LYD.js.LEGAL.txt +0 -3
  424. package/dist/arcgis-map-components/IQEDHIF3.js.LEGAL.txt +0 -3
  425. package/dist/arcgis-map-components/JCNJH2BL.js.LEGAL.txt +0 -3
  426. package/dist/arcgis-map-components/JCZCIBI3.js.LEGAL.txt +0 -3
  427. package/dist/arcgis-map-components/JDJMLH6O.js.LEGAL.txt +0 -3
  428. package/dist/arcgis-map-components/JGOBXINS.js.LEGAL.txt +0 -3
  429. package/dist/arcgis-map-components/JM6NCISV.js.LEGAL.txt +0 -3
  430. package/dist/arcgis-map-components/JVP7CEGS.js.LEGAL.txt +0 -3
  431. package/dist/arcgis-map-components/JWF5SB72.js.LEGAL.txt +0 -3
  432. package/dist/arcgis-map-components/JZBPMQXU.js.LEGAL.txt +0 -3
  433. package/dist/arcgis-map-components/KDCL363N.js.LEGAL.txt +0 -3
  434. package/dist/arcgis-map-components/KR3ANL45.js.LEGAL.txt +0 -3
  435. package/dist/arcgis-map-components/LG3OYXMY.js.LEGAL.txt +0 -3
  436. package/dist/arcgis-map-components/LXVMPL5B.js.LEGAL.txt +0 -3
  437. package/dist/arcgis-map-components/M5DZYNQX.js.LEGAL.txt +0 -3
  438. package/dist/arcgis-map-components/MNA3NKD7.js.LEGAL.txt +0 -3
  439. package/dist/arcgis-map-components/MQI2TBDN.js.LEGAL.txt +0 -3
  440. package/dist/arcgis-map-components/MQMCL2OB.js.LEGAL.txt +0 -3
  441. package/dist/arcgis-map-components/MRD3Y7OI.js.LEGAL.txt +0 -3
  442. package/dist/arcgis-map-components/MV274UUL.js.LEGAL.txt +0 -3
  443. package/dist/arcgis-map-components/MW3OCBG3.js.LEGAL.txt +0 -3
  444. package/dist/arcgis-map-components/NDMVO4KP.js.LEGAL.txt +0 -3
  445. package/dist/arcgis-map-components/NHKEUI2U.js.LEGAL.txt +0 -3
  446. package/dist/arcgis-map-components/NODHBA2E.js.LEGAL.txt +0 -3
  447. package/dist/arcgis-map-components/NYK54UPT.js.LEGAL.txt +0 -3
  448. package/dist/arcgis-map-components/O2O7VTGA.js.LEGAL.txt +0 -3
  449. package/dist/arcgis-map-components/O4MT4RIC.js.LEGAL.txt +0 -3
  450. package/dist/arcgis-map-components/OQ3FNPCY.js.LEGAL.txt +0 -3
  451. package/dist/arcgis-map-components/OVXWVDMJ.js.LEGAL.txt +0 -3
  452. package/dist/arcgis-map-components/OXYSX5NE.js.LEGAL.txt +0 -3
  453. package/dist/arcgis-map-components/PCWKY5M6.js.LEGAL.txt +0 -3
  454. package/dist/arcgis-map-components/PDLPHCLQ.js.LEGAL.txt +0 -3
  455. package/dist/arcgis-map-components/PV5BF6X2.js.LEGAL.txt +0 -3
  456. package/dist/arcgis-map-components/RAVHTOAD.js.LEGAL.txt +0 -3
  457. package/dist/arcgis-map-components/RTENEMFM.js.LEGAL.txt +0 -3
  458. package/dist/arcgis-map-components/RUSRPDCV.js.LEGAL.txt +0 -3
  459. package/dist/arcgis-map-components/S3WYJQX2.js.LEGAL.txt +0 -3
  460. package/dist/arcgis-map-components/S74GJ7H6.js.LEGAL.txt +0 -3
  461. package/dist/arcgis-map-components/SJ7MEKZG.js.LEGAL.txt +0 -3
  462. package/dist/arcgis-map-components/SQMUGKWL.js.LEGAL.txt +0 -3
  463. package/dist/arcgis-map-components/UENIDQPF.js.LEGAL.txt +0 -3
  464. package/dist/arcgis-map-components/UQRRH6NK.js.LEGAL.txt +0 -3
  465. package/dist/arcgis-map-components/UZXOLTW2.js.LEGAL.txt +0 -3
  466. package/dist/arcgis-map-components/V24HXGW7.js.LEGAL.txt +0 -3
  467. package/dist/arcgis-map-components/V3S3AH7Q.js.LEGAL.txt +0 -3
  468. package/dist/arcgis-map-components/VAGBAC6H.js.LEGAL.txt +0 -3
  469. package/dist/arcgis-map-components/VCR2FFWU.js.LEGAL.txt +0 -3
  470. package/dist/arcgis-map-components/WIDSS44I.js.LEGAL.txt +0 -3
  471. package/dist/arcgis-map-components/WQIAWHI5.js.LEGAL.txt +0 -3
  472. package/dist/arcgis-map-components/WUXC2N6S.js.LEGAL.txt +0 -3
  473. package/dist/arcgis-map-components/WWWOZMHE.js.LEGAL.txt +0 -3
  474. package/dist/arcgis-map-components/XRFCPNTI.js.LEGAL.txt +0 -3
  475. package/dist/arcgis-map-components/XU6DRO53.js.LEGAL.txt +0 -3
  476. package/dist/arcgis-map-components/XUGTTI27.js.LEGAL.txt +0 -3
  477. package/dist/arcgis-map-components/XVO2F27H.js.LEGAL.txt +0 -3
  478. package/dist/arcgis-map-components/Y52QMRYX.js.LEGAL.txt +0 -3
  479. package/dist/arcgis-map-components/YIVYD25A.js.LEGAL.txt +0 -3
  480. package/dist/arcgis-map-components/YUGKR7NE.js.LEGAL.txt +0 -3
  481. package/dist/arcgis-map-components/ZN4OA2HF.js.LEGAL.txt +0 -3
  482. /package/dist/arcgis-map-components/{HRUUBNWB.js.LEGAL.txt → 34YVPILV.js.LEGAL.txt} +0 -0
  483. /package/dist/arcgis-map-components/{LYVMZ3AV.js.LEGAL.txt → KWIPGFO4.js.LEGAL.txt} +0 -0
  484. /package/dist/arcgis-map-components/{SPJY5PKS.js.LEGAL.txt → MC4M7CFW.js.LEGAL.txt} +0 -0
  485. /package/dist/arcgis-map-components/{NLTUSEGC.js.LEGAL.txt → R5NWNEGY.js.LEGAL.txt} +0 -0
  486. /package/dist/arcgis-map-components/{CAZ676KT.js.LEGAL.txt → SXTZ73JC.js.LEGAL.txt} +0 -0
  487. /package/dist/arcgis-map-components/{ZZ32NOXG.js.LEGAL.txt → US7HFHZD.js.LEGAL.txt} +0 -0
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{$$ as _0,a as f}from"./5J4QZ27Z.js";import{$$ as _1}from"./UQRRH6NK.js";import{a as u}from"./NYK54UPT.js";import{a as i}from"./HEEVMSHB.js";import{$$ as _2}from"./ZZ32NOXG.js";import{e as g}from"./HRUUBNWB.js";import"./SPJY5PKS.js";import"./5FUHM2PB.js";import{D as d,J as m,K as s,L as h,M as e,O as p,a as r,i as n,j as c,z as l}from"./B24C3B7J.js";var _3,$$=$arcgis.t(([$])=>{var b=n`@layer{arcgis-compass{display:block}}`,v="esri-compass",y={base:v,iconContainer:`${v}__icon-container`},C=f($),o=class extends m{constructor(){super(...arguments),this.messages=u(),this.viewModel=C(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=g()("state","orientation"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=b}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:w}=this;return c`<div class=${s(r(y.base,i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??e}><div aria-hidden=true class=${s(y.iconContainer)} title=${t.reset??e}><calcite-icon .icon=${w} style=${h(M(this.orientation))}></calcite-icon></div></calcite-button></div>`}},M=a=>({transform:`rotateZ(${a.z}deg)`});p("arcgis-compass",o);_3=o},"widgets/Compass/CompassViewModel",_0,_1,_2)
3
+ v4.33.0-next.105 */
4
+ import{$$ as _0,a as f}from"./V2NOQGLK.js";import{$$ as _1}from"./TIYF7DQP.js";import{a as u}from"./75QUUFHU.js";import{a as i}from"./AVUD5UFF.js";import{$$ as _2}from"./34YVPILV.js";import{e as g}from"./US7HFHZD.js";import"./MC4M7CFW.js";import"./KEFPOWS6.js";import{D as d,J as m,K as s,L as h,M as e,O as p,a as r,i as n,j as c,z as l}from"./Y4S4TXVH.js";var _3,$$=$arcgis.t(([$])=>{var b=n`@layer{arcgis-compass{display:block}}`,v="esri-compass",y={base:v,iconContainer:`${v}__icon-container`},C=f($),o=class extends m{constructor(){super(...arguments),this.messages=u(),this.viewModel=C(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=g()("state","orientation"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=b}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:w}=this;return c`<div class=${s(r(y.base,i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??e}><div aria-hidden=true class=${s(y.iconContainer)} title=${t.reset??e}><calcite-icon .icon=${w} style=${h(M(this.orientation))}></calcite-icon></div></calcite-button></div>`}},M=a=>({transform:`rotateZ(${a.z}deg)`});p("arcgis-compass",o);_3=o},"widgets/Compass/CompassViewModel",_0,_1,_2)
5
5
  export{$$,_3 as ArcgisCompass}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{b}from"./CAZ676KT.js";import{$$ as _0,a as x}from"./5J4QZ27Z.js";import{$$ as _1}from"./UQRRH6NK.js";import{a as E}from"./NYK54UPT.js";import{a as _}from"./HEEVMSHB.js";import{$$ as _2}from"./ZZ32NOXG.js";import{e as T}from"./HRUUBNWB.js";import"./SPJY5PKS.js";import"./5FUHM2PB.js";import{D as C,J as I,K as o,M as m,O as M,a as h,e as S,i as w,j as n,z as y}from"./B24C3B7J.js";var _3,$$=$arcgis.t(([O,p,{substitute:D},{watch:L},B])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(R(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:R(Math.trunc(e),360)-180}function R(l,e){return(l%e+e)%e}var P={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=w`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=x(B),$=class extends I{constructor(){super(...arguments),this._labelUid=S(),this._messages=E({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this._warningIconTooltipRef=void 0,this._themePopoverRef=void 0,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.customColor=null,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=T()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:3,customColor:[3,{converter:P}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:P}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let{customColor:t}=this,i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":t==null&&(this.customColor=i?.theme?.accentColor??new O().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[L(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${o(h(c.base,_.widget,_.panel))}><div class=${o(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:s,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,s?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,s=i!=null&&i!==t;return n`<div class=${o(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${s?n`<calcite-icon class=${o(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${s&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${o(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${s=>{s.stopPropagation(),this.dynamicScaling=s.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${o(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${o(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],s=`${this._labelUid}--theme_tile_${a}`,d=`${s}__label`,g=u.gridTheme[a];return n`<div class=${o(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${s??m} .name=${`${this._labelUid}--theme`} @change=${k=>{this.theme=a,k.currentTarget.focus()}} tabindex=0 type=radio><div class=${o(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${s} id=${d??m}>${r}</calcite-label></div></div>`}};M("arcgis-grid-controls",$);_3=$},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",_0,_1,_2)
3
+ v4.33.0-next.105 */
4
+ import{b}from"./SXTZ73JC.js";import{$$ as _0,a as x}from"./V2NOQGLK.js";import{$$ as _1}from"./TIYF7DQP.js";import{a as E}from"./75QUUFHU.js";import{a as _}from"./AVUD5UFF.js";import{$$ as _2}from"./34YVPILV.js";import{e as T}from"./US7HFHZD.js";import"./MC4M7CFW.js";import"./KEFPOWS6.js";import{D as C,J as I,K as o,M as m,O as M,a as h,e as S,i as w,j as n,z as y}from"./Y4S4TXVH.js";var _3,$$=$arcgis.t(([O,p,{substitute:D},{watch:L},B])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(R(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:R(Math.trunc(e),360)-180}function R(l,e){return(l%e+e)%e}var P={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=w`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=x(B),$=class extends I{constructor(){super(...arguments),this._labelUid=S(),this._messages=E({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this._warningIconTooltipRef=void 0,this._themePopoverRef=void 0,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.customColor=null,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=T()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:3,customColor:[3,{converter:P}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:P}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let{customColor:t}=this,i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":t==null&&(this.customColor=i?.theme?.accentColor??new O().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[L(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${o(h(c.base,_.widget,_.panel))}><div class=${o(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:s,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,s?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,s=i!=null&&i!==t;return n`<div class=${o(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${s?n`<calcite-icon class=${o(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${s&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${o(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${s=>{s.stopPropagation(),this.dynamicScaling=s.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${o(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${o(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],s=`${this._labelUid}--theme_tile_${a}`,d=`${s}__label`,g=u.gridTheme[a];return n`<div class=${o(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${s??m} .name=${`${this._labelUid}--theme`} @change=${k=>{this.theme=a,k.currentTarget.focus()}} tabindex=0 type=radio><div class=${o(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${s} id=${d??m}>${r}</calcite-label></div></div>`}};M("arcgis-grid-controls",$);_3=$},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",_0,_1,_2)
5
5
  export{$$,_3 as ArcgisGridControls}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{a as P,b as N}from"./CAZ676KT.js";import{$$ as _0,a as y}from"./5J4QZ27Z.js";import{$$ as _1}from"./UQRRH6NK.js";import{a as C}from"./NYK54UPT.js";import{$$ as _2}from"./ZZ32NOXG.js";import"./HRUUBNWB.js";import"./SPJY5PKS.js";import"./5FUHM2PB.js";import{D as E,J as S,K as L,O as _,i as w,j as d,n as V,z as f}from"./B24C3B7J.js";var _3,$$=$arcgis.t(([{once:$,watch:U},T])=>{var O=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,R=y(T),k="map-components:version-management",u=class extends S{constructor(){super(...arguments),this.flowElement=P(),this.messages=C({blocking:!0}),this.viewModel=R(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=O}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){$(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[U(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:s}=this,t=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){t&&this._removeVersionPropertiesFlowItem(i),s&&this._removeVersionListFlowItem(i);return}s&&(s.versionListElementProps={...s.versionListElementProps,executionError:this.viewModel.executionError},s.versionListElementProps={...s.versionListElementProps,state:e}),t&&(t.versionPropertiesElementProps={...t.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:s,viewModel:t,viewModel:{state:n}}=this,o={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:s}=this,{alterVersionParameters:t}=e.detail;await s.alterVersion(t).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:t.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:s}=this,{createVersionParameters:t,switchToVersion:n}=e.detail;s.createVersion(t).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),n&&await this.viewModel.changeVersion(t.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)})}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:s}=this,{url:t,name:n}=e,o=s.versioningStateLookup.get(t);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${k} - no versioning state found for feature service ${t}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(t,!0),new Error(`${k} - version ${n} not found in the versioning state for feature service ${t}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&s.changeVersion(t,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:t}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(s,t);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:s,viewModel:t}=this;if(i){let n=await t.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},initialVersionInfos:t,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,F=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),b=m!=="disabled"?F.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:v.advancedEditingUserTypeExtensionLookup.get(l.url),heading:o,initialVersionInfos:t,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{s&&(this._removeVersionListFlowItem(s),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,A=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode==="dialog"?"":"component-container-flow")} ${N(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${A}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${b}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};_("arcgis-version-management",u);_3=u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",_0,_1,_2)
3
+ v4.33.0-next.105 */
4
+ import{a as P,b as N}from"./SXTZ73JC.js";import{$$ as _0,a as y}from"./V2NOQGLK.js";import{$$ as _1}from"./TIYF7DQP.js";import{a as C}from"./75QUUFHU.js";import{$$ as _2}from"./34YVPILV.js";import"./US7HFHZD.js";import"./MC4M7CFW.js";import"./KEFPOWS6.js";import{D as E,J as S,K as L,O as _,i as w,j as d,n as V,z as f}from"./Y4S4TXVH.js";var _3,$$=$arcgis.t(([{once:$,watch:U},T])=>{var O=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,R=y(T),k="map-components:version-management",u=class extends S{constructor(){super(...arguments),this.flowElement=P(),this.messages=C({blocking:!0}),this.viewModel=R(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=O}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){$(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[U(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:s}=this,t=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){t&&this._removeVersionPropertiesFlowItem(i),s&&this._removeVersionListFlowItem(i);return}s&&(s.versionListElementProps={...s.versionListElementProps,executionError:this.viewModel.executionError},s.versionListElementProps={...s.versionListElementProps,state:e}),t&&(t.versionPropertiesElementProps={...t.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:s,viewModel:t,viewModel:{state:n}}=this,o={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:s}=this,{alterVersionParameters:t}=e.detail;await s.alterVersion(t).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:t.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:s}=this,{createVersionParameters:t,switchToVersion:n}=e.detail;s.createVersion(t).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),n&&await this.viewModel.changeVersion(t.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)})}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:s}=this,{url:t,name:n}=e,o=s.versioningStateLookup.get(t);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${k} - no versioning state found for feature service ${t}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(t,!0),new Error(`${k} - version ${n} not found in the versioning state for feature service ${t}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&s.changeVersion(t,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:t}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(s,t);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:s,viewModel:t}=this;if(i){let n=await t.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},initialVersionInfos:t,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,F=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),b=m!=="disabled"?F.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:v.advancedEditingUserTypeExtensionLookup.get(l.url),heading:o,initialVersionInfos:t,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{s&&(this._removeVersionListFlowItem(s),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,A=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode==="dialog"?"":"component-container-flow")} ${N(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${A}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${b}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};_("arcgis-version-management",u);_3=u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",_0,_1,_2)
5
5
  export{$$,_3 as ArcgisVersionManagement}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
3
+ v4.33.0-next.105 */
4
4
  function ms(...o){let t=[];for(let s=0;s<o.length;s++){let n=o[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let e=t.join(" ");return t.length=0,e}var _=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function ye(o,t){let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1}function ge(o,t,e){let{subscribe:s}=ve(t);return s(n=>{n.some(i=>ye(o,i.target))&&e()})}var mt={};function ve(o){let t=o.join(","),e=mt[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),mt[t]=void 0)}}};return mt[t]=r,r}function _e(o,t){let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null}function be(o,t,e){return _e(o,`[${t}]`)?.getAttribute(t)??e}function Ee(o){return typeof o.setFocus=="function"}async function ys(o){o!=null&&(Ee(o)?await o.setFocus():o.focus())}function u(o,t,...e){try{return o?.call(t,...e)}catch(s){console.error(s,o)}}async function j(o,t,...e){try{return await o?.call(t,...e)}catch(s){console.error(s,o)}}function M(o){let t="";for(let e=0;e<o;e++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function gs(){return[M(2),M(1),M(1),M(1),M(3)].join("-")}var Ce=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],$e=new Set(Ce),J="en",Ae={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function we(o,t,e=""){let s=`${t}/${e}`,n=`${s}${o}.json`;return yt[n]??(yt[n]=Dt(o,s)),await yt[n]}var yt={};async function Dt(o,t){let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===J?{}:await Dt(J,t)}function xe(o){let t=be(o,"lang",globalThis.navigator?.language||J);return{lang:t,t9nLocale:Ut(t)}}function Ut(o){let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=Ae[n]??n,$e.has(n)?n:e?Ut(s):J}function vs(o,t,e,s){let n,r=()=>void Se(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),ge(o,["lang"],r)}async function Se(o,t,e=o.localName.split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=xe(o),r=`${t}/${e}/t9n`,c=e===null?{}:await we(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var Y=o=>o.replace(Te,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Te=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(o,t){let e=t>Oe?Le:t/Pe,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n}var Oe=4e3,Le=2e3,Pe=4;function _s(o,t,e=!1){if(!o||!t)return!1;let s=new URL(o),n=new URL(t);return!e&&s.protocol!==n.protocol||s.host==null||n.host==null?!1:s.host.toLowerCase()===n.host.toLowerCase()&&s.port===n.port}var Z=globalThis,Q=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Mt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Q&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Mt.set(e,t))}return t}toString(){return this.cssText}},jt=o=>new z(typeof o=="string"?o:o+"",void 0,gt),Ne=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new z(e,o,gt)},vt=(o,t)=>{if(Q)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Z.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},X=Q?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var bt=globalThis,tt=bt.trustedTypes,zt=tt?tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Et="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+E,Re=`<${Ct}>`,S=document,H=()=>S.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",$t=Array.isArray,Gt=o=>$t(o)||typeof o?.[Symbol.iterator]=="function",_t=`[
5
5
  \f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Ht=/>/g,w=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,qt=/"/g,Ft=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Cs=At(1),$s=At(2),As=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Wt=new WeakMap,x=S.createTreeWalker(S,129);function Kt(o,t){if(!$t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}var Jt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=V;for(let c=0;c<e;c++){let a=o[c],l,p,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,p=i.exec(a),p!==null);)m=i.lastIndex,i===V?p[1]==="!--"?i=Vt:p[1]!==void 0?i=Ht:p[2]!==void 0?(Ft.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??V,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?qt:Bt):i===qt||i===Bt?i=w:i===Vt||i===Ht?i=V:(i=w,n=void 0);let y=i===w&&o[c+1].startsWith("/>")?" ":"";r+=i===V?a+Re:h>=0?(s.push(l),a.slice(0,h)+Et+a.slice(h)+E+y):a+E+(h===-2?c:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},q=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,p]=Jt(t,e);if(this.el=o.createElement(l,s),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Et)){let m=p[i++],y=n.getAttribute(h).split(E),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:y,ctor:g[1]==="."?st:g[1]==="?"?ot:g[1]==="@"?nt:O}),n.removeAttribute(h)}else h.startsWith(E)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Ft.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=tt?tt.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],H()),x.nextNode(),a.push({type:2,index:++r});n.append(h[m],H())}}}else if(n.nodeType===8)if(n.data===Ct)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)a.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=S.createElement("template");return s.innerHTML=t,s}};function T(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=B(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=T(o,n._$AS(o,t.values),n,s)),t}var et=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??S).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new N(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new rt(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=x.nextNode(),i++)}return x.currentNode=S,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},N=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=q.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new et(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Wt.get(t.strings);return e===void 0&&Wt.set(t.strings,e=new q(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(H()),this.O(H()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=T(this,t,e,0),i=!B(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=T(this,c[s+a],e,a),l===f&&(l=this._$AH[a]),i||=!B(l)||l!==this._$AH[a],l===d?t=d:t!==d&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends O{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},Yt={M:Et,P:E,A:Ct,C:1,L:Jt,R:et,D:Gt,V:T,I:N,H:O,N:ot,U:nt,B:st,F:rt},ke=bt.litHtmlPolyfillSupport;ke?.(q,N),(bt.litHtmlVersions??=[]).push("3.2.1");var wt=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new N(t.insertBefore(H(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:De,defineProperty:Ue,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Me,getOwnPropertySymbols:je,getPrototypeOf:ze}=Object,at=globalThis,Zt=at.trustedTypes,Ve=Zt?Zt.emptyScript:"",He=at.reactiveElementPolyfillSupport,W=(o,t)=>o,it={toAttribute(o,t){switch(t){case Boolean:o=o?Ve:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},xt=(o,t)=>!De(o,t),Qt={attribute:!0,type:String,converter:it,reflect:!1,hasChanged:xt};Symbol.metadata??=Symbol("metadata"),at.litPropertyMetadata??=new WeakMap;var C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Qt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&Ue(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ie(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Qt}static _$Ei(){if(this.hasOwnProperty(W("elementProperties")))return;let t=ze(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(W("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(W("properties"))){let e=this.properties,s=[...Me(e),...je(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(X(n))}else t!==void 0&&e.push(X(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return vt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:it).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:it;this._$Em=n,this[n]=i.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??xt)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(e=>this._$EC(e,this[e])),this._$EU()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[W("elementProperties")]=new Map,C[W("finalized")]=new Map,He?.({ReactiveElement:C}),(at.reactiveElementVersions??=[]).push("2.0.4");var b=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=wt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:b});var Be=globalThis.litElementPolyfillSupport;Be?.({LitElement:b});(globalThis.litElementVersions??=[]).push("4.1.1");var ht=Symbol.for("controller");var qe=o=>typeof o=="object"&&o!==null&&(ht in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o);function Bs(o){return typeof o?.then=="function"}var G;function R(o){G!==o&&(G=o,queueMicrotask(()=>{G===o&&(G=void 0)}))}function F(o){return G}var L=[];function We(o){if(o===void 0){L=[];return}let t=L.indexOf(o);L=t===-1?[...L,o]:L.slice(0,t+1),queueMicrotask(()=>{L=[]})}function Ge(){return L}var k;function qs(o){k!==o&&(k=o,queueMicrotask(()=>{k===o&&(k=void 0)}))}function Fe(){let o=k;return k=void 0,o}var Ke=async(o,t)=>{let e=Tt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Je=async o=>{let t=Tt(o);return await t.ready,t},Tt=o=>{let e=F().manager._resolveExports(o);if(e!==void 0)return e;if(qe(o))return o;let s=Fe();if(s!==void 0)return s},ct=!1,lt=!1;function Ws(o){lt=!0;try{return o()}finally{lt=!1}}function Gs(o){ct=!0;try{return o()}finally{ct=!1}}function Ye(o,t,e){let s=Object.keys(o),n=s.length;D===void 0&&queueMicrotask(dt),D??=new Map;let r=D.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},D.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(t,null,l),a=i[n];a===void 0?c(void 0):o[a]===e?c(a):c(void 0)}),e}var D;function dt(){D?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),D=void 0}function Ze(o,t,e){let s=o.manager;return s._trackedValue!==d&&s._trackedValue!==e&&s._firePropTrackers(void 0,void 0),s._keyTrackers.length===0&&queueMicrotask(()=>s._firePropTrackers(void 0,void 0)),s._trackedValue=e,s._keyTrackers.push((n,r)=>u(t,void 0,e===r?n:void 0)),e}function Qe(o=[F(),...Ge()],t,e){let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ye(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&typeof i.manager=="object"&&i.manager.component===i){Ze(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),e);break}return e}var Xe=(o="",t={},e=F())=>{let s={emit:n=>{o===""&&dt();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>{o=n.key},s),s},ts=Xe.bind(null,""),ee;ee=ht;var St=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=te(this),this._exportWatchers=new Set;let e=t??F(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(We(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?te(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return R(this.component),Ke}get useRef(){return R(this.component),Je}get useRefSync(){return R(this.component),Tt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await j(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(j)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(Xt,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(Xt,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){R(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function Xt(o){u(o,void 0,this)}var se=St;function te(o){if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t=new Proxy(o,{get(e,s,n){if(!((s==="exports"||s==="_exports")&&s in e&&e[s]===t)&&(s in e||s in Promise.prototype||typeof s=="symbol"))return typeof e=="function"?e[s]:Reflect.get(e,s,n)},set:(e,s,n,r)=>Reflect.set(e,s,n,r)});return t}var oe=";",ut=",",ne=":",$=(o=>(o[o.ATTRIBUTE=1]="ATTRIBUTE",o[o.REFLECT=2]="REFLECT",o[o.BOOLEAN=4]="BOOLEAN",o[o.NUMBER=8]="NUMBER",o[o.STATE=16]="STATE",o[o.READ_ONLY=32]="READ_ONLY",o[o.NO_ACCESSOR=64]="NO_ACCESSOR",o))($||{});function Lt(o){let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||e._offspring.push(o),e._postLoad.promise}return!1}var es=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i),Object.entries(t).forEach(ss)};function ss([o,[t,e=""]]){if(customElements.get(o))return;let[s,n,r]=e.split(oe),i=s?s?.split(ut).map(re):void 0,c=i?.map(([l])=>l),a=class extends Ot{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ut):void 0}static{this._syncMethods=r?.split(ut)}static{this._name=o}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(o,a)}var pt=Object.defineProperty;function re(o){let t=o.split(ne);return t.length===1?[t[0],Y(t[0])]:t}var os=globalThis.HTMLElement??re,Ot=class extends os{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(is).then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){pt(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){pt(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=e[s],delete e[s])})}attributeChangedCallback(t,e,s){this._litElement?.attributeChangedCallback(t,e,s),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Lt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,s=e._name,n=this._store,r=Object.values(t).find(h=>h.tagName===s),i=`${s}--lazy`,c=r;for(;c&&!Object.hasOwn(c,"lumina");)c=Object.getPrototypeOf(c);rs(c),!e._LitConstructor&&(e._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let m=this.getAttribute(h);l.attributeChangedCallback(h,null,m)}),Object.entries(n).forEach(ns,l);let p=this.isConnected;(p||this._ancestorLoad)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function ns([o,t]){this[o]=t}function rs(o){let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))}var is=async o=>(await o.$$,o),Pt={};var v={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=o=>(...t)=>({_$litDirective$:o,values:t}),A=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var ce=P(class extends A{constructor(o){if(super(o),o.type!==v.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var le="important",cs=" !"+le,he=P(class extends A{constructor(o){if(super(o),o.type!==v.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(cs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?le:""):e[s]=n}}return f}});var{I:qo}=Yt;var de=o=>o.strings===void 0;var ls={},ue=(o,t=ls)=>o._$AH=t;var hs=P(class extends A{constructor(o){if(super(o),o.type!==v.PROPERTY&&o.type!==v.ATTRIBUTE&&o.type!==v.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!de(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===v.PROPERTY){if(t===e[s])return f}else if(o.type===v.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===v.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ue(o),t}});var Rt=class extends se{constructor(t){super(t),this.destroyed=!1,this._enforceReadonly=!1,this._trackedValue=d,this._keyTrackers=[],this._accessorGetter={},this._accessorSetter={},this._exportsStore=new WeakMap,this.exports=void 0,this.hasDestroy=kt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${kt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),dt();for(let e of t._controllers)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t._controllers)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this._setAutoDestroyTimeout()},hostUpdate:()=>{for(let e of t._controllers)"triggerUpdate"in e?e.triggerUpdate(this._changes):u(e.hostUpdate,e,this._changes)},hostUpdated:()=>{for(let e of t._controllers)"triggerUpdated"in e?e.triggerUpdated(this._changes):u(e.hostUpdated,e,this._changes);this._changes=void 0}}),t.constructor.elementProperties.forEach((e,s)=>{e.noAccessor||(this._accessorGetter[s]=pe,this._accessorSetter[s]=pe,this._getSetProxy(s,e.readOnly))}),queueMicrotask(()=>{this._enforceReadonly=!0}),R(t)}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0;for(let t of this.component._controllers)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.component._controllers.clear()}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.component.destroy();this._autoDestroyTimeout=It(t,us)}}_firePropTrackers(t,e){let s=this._keyTrackers;this._trackedValue=d,this._keyTrackers=[],s.forEach(n=>n(t,e))}_getSetProxy(t,e){let s=this.component.constructor.prototype,n;do n=Object.getOwnPropertyDescriptor(s,t);while(!n&&(s=Object.getPrototypeOf(s)));if(!n)return;let r=n.get,i=n.set,c=ft in r,a=ft in i;if(c&&a)return;let l=!c,p=!a,h=l?function(){let g=r.call(this);return ct?g:this.manager._accessorGetter[t](g,t)}:r,m=p?function(g){let K=r.call(this),U=g??void 0,I=this.manager;if(U!==K){if(e&&!lt&&(I._enforceReadonly||I.connectedCalled))throw new Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${String(U)}"`);U=I._accessorSetter[t](U,K,t)}i.call(this,U),I._keyTrackers.length>0&&I?._firePropTrackers(t,g)}:i;l&&(h[ft]=!0),p&&(m[ft]=!0),Object.defineProperty(s,t,{...n,get:h,set:m})}_markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exportsStore.set(e,t)}_resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exportsStore.get(t)}},us=1e3,kt="autoDestroyDisabled",pe=o=>o,ft=Symbol(),ps=()=>{},fe=class o extends b{constructor(){super(),this.el=this.constructor.lazy??this,this._controllers=new Set,this.manager=new Rt(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=ps;let t=o.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Pt;return this.runtime?.commonStyles===void 0||s?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:s&$.ATTRIBUTE&&typeof t=="string"?Y(t):!1,reflect:!!(s&$.REFLECT),type:s&$.BOOLEAN?Boolean:s&$.NUMBER?Number:void 0,state:!!(s&$.STATE),readOnly:!!(s&$.READ_ONLY),noAccessor:!!(s&$.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})}))}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Pt?this.el:this.el.attachShadow(s));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??Lt(this.el);t&&await t;let e=[];for(let n of this._controllers)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(j(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(kt)&&this.manager._setAutoDestroyTimeout()),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"");for(let n of this._controllers)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this._postLoaded.resolve()}shouldUpdate(t){return this.manager._changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}addController(t){this._controllers.add(t),!(ht in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this._controllers.delete(t),t.controllerRemoved?.()}};function me(o){let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s}var mn=o=>typeof o=="object"&&o!=null?ce(o):o,yn=o=>typeof o=="object"&&o!=null?he(o):o;var gn=d;var fs=me({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:bn,getAssetPath:En,setAssetPath:Cn}=fs;export{ms as a,ge as b,be as c,ys as d,gs as e,xe as f,vs as g,_s as h,Ne as i,Cs as j,$s as k,As as l,d as m,wt as n,Bs as o,R as p,F as q,We as r,Ge as s,qs as t,Ws as u,Gs as v,Ze as w,Qe as x,Xe as y,ts as z,St as A,se as B,es as C,Pt as D,v as E,P as F,A as G,de as H,ue as I,fe as J,mn as K,yn as L,gn as M,fs as N,bn as O,En as P};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
3
+ v4.33.0-next.105 */
4
4
 
5
5
  Bundled license information:
6
6
 
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{$$ as _0,a as A}from"./SJ7MEKZG.js";import{$$ as _1}from"./ZZ32NOXG.js";import"./HRUUBNWB.js";import"./SPJY5PKS.js";import"./5FUHM2PB.js";import{D as c,J as h,O as r,z as l}from"./B24C3B7J.js";var _2,$$=$arcgis.t(([S])=>{var g=A(S),a=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.position="bottom-left",this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.shadowRootOptions=c}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let t=this.el.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}willUpdate(t){this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(t,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(t,n){let s=`show${n}`,o=`hide${n}`,e=`visibleElements${n}`,i=this;t.has(s)?i[e]=!!i[s]:t.has(o)?i[e]=!i[o]:t.has(e)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i?s:o} instead.`),s in i?i[s]=!!i[e]:o in i&&(i[o]=!i[e]))}};r("arcgis-utility-network-associations",a);_2=a},"widgets/UtilityNetworkAssociations",_0,_1)
3
+ v4.33.0-next.105 */
4
+ import{$$ as _0,a as A}from"./ZVVHMXYP.js";import{$$ as _1}from"./34YVPILV.js";import"./US7HFHZD.js";import"./MC4M7CFW.js";import"./KEFPOWS6.js";import{D as c,J as h,O as r,z as l}from"./Y4S4TXVH.js";var _2,$$=$arcgis.t(([S])=>{var g=A(S),a=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.position="bottom-left",this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.shadowRootOptions=c}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let t=this.el.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}willUpdate(t){this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(t,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(t,n){let s=`show${n}`,o=`hide${n}`,e=`visibleElements${n}`,i=this;t.has(s)?i[e]=!!i[s]:t.has(o)?i[e]=!i[o]:t.has(e)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i?s:o} instead.`),s in i?i[s]=!!i[e]:o in i&&(i[o]=!i[e]))}};r("arcgis-utility-network-associations",a);_2=a},"widgets/UtilityNetworkAssociations",_0,_1)
5
5
  export{$$,_2 as ArcgisUtilityNetworkAssociations}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{$$ as _0,a as y}from"./SJ7MEKZG.js";import{$$ as _1}from"./ZZ32NOXG.js";import{e as l}from"./HRUUBNWB.js";import"./SPJY5PKS.js";import{c as w}from"./5FUHM2PB.js";import{D as h,J as d,O as n,i as o,z as r}from"./B24C3B7J.js";var _2,$$=$arcgis.t(([{watch:c},m,g])=>{var u=o`@layer{arcgis-directions{display:block}}`,p=y(g),i="map-components:arcgis-directions",s=class extends d{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=l()("lastRoute","state"),this.arcgisReady=r()}static{this.properties={apiKey:1,autoDestroyDisabled:5,goToOverride:0,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=h}static{this.styles=u}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(e,t){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(e,t)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(e){if(e.has("routeLayerItemId")){let t=this.routeLayerItemId;if(w(t)&&!this.useDefaultRouteLayer){let{layer:a}=this;a&&this.widget.view?.map.remove(a),this._setDefaultLayer()}else t&&this.widget&&(this.layer=new m({portalItem:{id:t}}),this.widget.view?.map.add(this.layer))}e.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&(this.layer=new m,c(()=>this.widget.view,()=>this.widget.view?.map.add(this.layer),{once:!0}))}};n("arcgis-directions",s);_2=s},"core/reactiveUtils","layers/RouteLayer","widgets/Directions",_0,_1)
3
+ v4.33.0-next.105 */
4
+ import{$$ as _0,a as y}from"./ZVVHMXYP.js";import{$$ as _1}from"./34YVPILV.js";import{e as l}from"./US7HFHZD.js";import"./MC4M7CFW.js";import{c as w}from"./KEFPOWS6.js";import{D as h,J as d,O as n,i as o,z as r}from"./Y4S4TXVH.js";var _2,$$=$arcgis.t(([{watch:c},m,g])=>{var u=o`@layer{arcgis-directions{display:block}}`,p=y(g),i="map-components:arcgis-directions",s=class extends d{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=l()("lastRoute","state"),this.arcgisReady=r()}static{this.properties={apiKey:1,autoDestroyDisabled:5,goToOverride:0,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=h}static{this.styles=u}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(e,t){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(e,t)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(e){if(e.has("routeLayerItemId")){let t=this.routeLayerItemId;if(w(t)&&!this.useDefaultRouteLayer){let{layer:a}=this;a&&this.widget.view?.map.remove(a),this._setDefaultLayer()}else t&&this.widget&&(this.layer=new m({portalItem:{id:t}}),this.widget.view?.map.add(this.layer))}e.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&(this.layer=new m,c(()=>this.widget.view,()=>this.widget.view?.map.add(this.layer),{once:!0}))}};n("arcgis-directions",s);_2=s},"core/reactiveUtils","layers/RouteLayer","widgets/Directions",_0,_1)
5
5
  export{$$,_2 as ArcgisDirections}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{a as g,b as p}from"./CAZ676KT.js";import{$$ as _0,a as m}from"./5J4QZ27Z.js";import{$$ as _1}from"./UQRRH6NK.js";import{a as u}from"./NYK54UPT.js";import{a as v}from"./HEEVMSHB.js";import{$$ as _2}from"./ZZ32NOXG.js";import{e as h}from"./HRUUBNWB.js";import"./SPJY5PKS.js";import"./5FUHM2PB.js";import{D as l,J as n,K as t,O as c,a as o,i as d,j as e,z as r}from"./B24C3B7J.js";var _3,$$=$arcgis.t(([V,{watch:$}])=>{var b=d`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,f="arcgis-video-player",_={base:f,videoView:`${f}__video-view`},M=m(V),a=class extends n{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=M(this),this._videoViewRef=g(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=h()("state","layer"),this.arcgisReady=r(),this.arcgisVideoReady=r()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,referenceElement:1,position:3,icon:3,state:0,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3}}static{this.styles=b}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:y,currentTime:s,duration:i,ended:w}=this.viewModel;this._duration=i,this._currentTime=s,this._bufferedValue=y/(i||1),this._currentValue=s/(i||1),this._isBuffering=!w&&this._bufferedValue<this._currentValue})])}render(){return e`<div class=${t(o(_.base,v.widget))}><calcite-panel .heading=${this.layer?.title||"Video Player"}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewRef?.value?.ready?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${t(_.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${p(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};c("arcgis-video-player",a);_3=a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",_0,_1,_2)
3
+ v4.33.0-next.105 */
4
+ import{a as g,b as p}from"./SXTZ73JC.js";import{$$ as _0,a as m}from"./V2NOQGLK.js";import{$$ as _1}from"./TIYF7DQP.js";import{a as u}from"./75QUUFHU.js";import{a as v}from"./AVUD5UFF.js";import{$$ as _2}from"./34YVPILV.js";import{e as h}from"./US7HFHZD.js";import"./MC4M7CFW.js";import"./KEFPOWS6.js";import{D as l,J as n,K as t,O as c,a as o,i as d,j as e,z as r}from"./Y4S4TXVH.js";var _3,$$=$arcgis.t(([V,{watch:$}])=>{var b=d`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,f="arcgis-video-player",_={base:f,videoView:`${f}__video-view`},M=m(V),a=class extends n{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=M(this),this._videoViewRef=g(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=h()("state","layer"),this.arcgisReady=r(),this.arcgisVideoReady=r()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,referenceElement:1,position:3,icon:3,state:0,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3}}static{this.styles=b}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:y,currentTime:s,duration:i,ended:w}=this.viewModel;this._duration=i,this._currentTime=s,this._bufferedValue=y/(i||1),this._currentValue=s/(i||1),this._isBuffering=!w&&this._bufferedValue<this._currentValue})])}render(){return e`<div class=${t(o(_.base,v.widget))}><calcite-panel .heading=${this.layer?.title||"Video Player"}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewRef?.value?.ready?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${t(_.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${p(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};c("arcgis-video-player",a);_3=a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",_0,_1,_2)
5
5
  export{$$,_3 as ArcgisVideoPlayer}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{$$ as _0,a as d}from"./SJ7MEKZG.js";import{$$ as _1,d as r}from"./ZZ32NOXG.js";import{e as n}from"./HRUUBNWB.js";import"./SPJY5PKS.js";import"./5FUHM2PB.js";import{D as o,J as a,O as h,i as e,z as s}from"./B24C3B7J.js";var _2,$$=$arcgis.t(([l])=>{var m=e`@layer{arcgis-time-slider{display:block}}`,c=d(l),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};h("arcgis-time-slider",i);_2=i},"widgets/TimeSlider",_0,_1)
3
+ v4.33.0-next.105 */
4
+ import{$$ as _0,a as d}from"./ZVVHMXYP.js";import{$$ as _1,d as r}from"./34YVPILV.js";import{e as n}from"./US7HFHZD.js";import"./MC4M7CFW.js";import"./KEFPOWS6.js";import{D as o,J as a,O as h,i as e,z as s}from"./Y4S4TXVH.js";var _2,$$=$arcgis.t(([l])=>{var m=e`@layer{arcgis-time-slider{display:block}}`,c=d(l),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};h("arcgis-time-slider",i);_2=i},"widgets/TimeSlider",_0,_1)
5
5
  export{$$,_2 as ArcgisTimeSlider}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.104 */
4
- import{$$ as _0,b as _,c as l}from"./ZZ32NOXG.js";import{a as y}from"./SPJY5PKS.js";import{a as h}from"./5FUHM2PB.js";import{w}from"./B24C3B7J.js";var _1,$$=$arcgis.t(([{watch:f,when:v}])=>{var P=(m,i)=>(t,s)=>u(t,m,s),d=class extends _{constructor(i,t,s){super(i,t,s),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:l.makeGetterProxy(i,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&h(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this.onLifecycle(()=>f(()=>this._instance.viewModel,s=>{this.component.viewModel=s},{initial:!0}));let i=this._instance.viewModel;typeof i=="object"&&(l.watchComponentUpdates(this,i,this._watchedViewModelProperties),l.watchAccessorUpdates(this,i,this._watchedViewModelProperties));let t=Object.entries(this._watchedVisibleElementsProperties);if(t.length>0){let s=new Set;t.forEach(([e,n])=>{let o=this._instance.visibleElements??{},c;for(let a of n.slice(0,-1))if(typeof o[a]=="object"&&o[a]!==null)o=o[a];else{c=!!o[a];break}c===void 0&&(c=!!(o[n.slice(-1)[0]]??!0)),e.startsWith("hide");let r=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):c,p=this.component;typeof p[e]=="boolean"?this._updateWidgetVisibleElement(n,p[e],r):p[e]=!1,r&&s.add(e)}),this.onUpdate(e=>t.forEach(([n,o])=>{if(e.has(n)){let c=this.component[n],r=s.has(n);this._updateWidgetVisibleElement(o,c,r)}}))}}_updateWidgetVisibleElement(i,t,s){let e=this._instance.visibleElements??{};for(let o of i.slice(0,-1))(typeof e[o]!="object"||e[o]===null)&&(e[o]={}),e=e[o];let n=!!(s?!t:t);e[i.at(-1)]=n}hostLoaded(){let{el:i}=this.component;i.childElem??=document.createElement("div"),this._instance.container=i.childElem;let t=!1,s=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:e=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=e:this._instance.view=e,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=e.map:this._instance.map=e.map,this._watchViewDestroy(),e&&!t&&(t=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),s&&(this._instance.view=s),this.component.el.isConnected&&(h(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}hostUpdated(i){i.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&h(this.component),i.has("referenceElement")&&h(this.component)}_makeVisibleElementsBinder(){return new Proxy({},{has:(i,t)=>typeof t=="string"||Reflect.has(i,t),get:(i,t)=>{if(typeof t=="symbol"||t in Promise.prototype)return Reflect.get(i,t);let s=[t],e=this._makeRecursiveProxy(s);return w(this.component,n=>{let o=n;this.component[o]=!1,this._watchedVisibleElementsProperties[o]=s},e)}})}_makeRecursiveProxy(i){let t=new Proxy({},{get:(s,e)=>{let n=Reflect.get(s,e);return typeof e=="symbol"||e in Promise.prototype?n:(i.push(e),t)}});return t}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=v(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},u=y(d);_1=P},"core/reactiveUtils",_0)
3
+ v4.33.0-next.105 */
4
+ import{$$ as _0,b as _,c as l}from"./34YVPILV.js";import{a as y}from"./MC4M7CFW.js";import{a as h}from"./KEFPOWS6.js";import{w}from"./Y4S4TXVH.js";var _1,$$=$arcgis.t(([{watch:f,when:v}])=>{var P=(m,i)=>(t,s)=>u(t,m,s),d=class extends _{constructor(i,t,s){super(i,t,s),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:l.makeGetterProxy(i,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&h(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this.onLifecycle(()=>f(()=>this._instance.viewModel,s=>{this.component.viewModel=s},{initial:!0}));let i=this._instance.viewModel;typeof i=="object"&&(l.watchComponentUpdates(this,i,this._watchedViewModelProperties),l.watchAccessorUpdates(this,i,this._watchedViewModelProperties));let t=Object.entries(this._watchedVisibleElementsProperties);if(t.length>0){let s=new Set;t.forEach(([e,n])=>{let o=this._instance.visibleElements??{},c;for(let a of n.slice(0,-1))if(typeof o[a]=="object"&&o[a]!==null)o=o[a];else{c=!!o[a];break}c===void 0&&(c=!!(o[n.slice(-1)[0]]??!0)),e.startsWith("hide");let r=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):c,p=this.component;typeof p[e]=="boolean"?this._updateWidgetVisibleElement(n,p[e],r):p[e]=!1,r&&s.add(e)}),this.onUpdate(e=>t.forEach(([n,o])=>{if(e.has(n)){let c=this.component[n],r=s.has(n);this._updateWidgetVisibleElement(o,c,r)}}))}}_updateWidgetVisibleElement(i,t,s){let e=this._instance.visibleElements??{};for(let o of i.slice(0,-1))(typeof e[o]!="object"||e[o]===null)&&(e[o]={}),e=e[o];let n=!!(s?!t:t);e[i.at(-1)]=n}hostLoaded(){let{el:i}=this.component;i.childElem??=document.createElement("div"),this._instance.container=i.childElem;let t=!1,s=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:e=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=e:this._instance.view=e,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=e.map:this._instance.map=e.map,this._watchViewDestroy(),e&&!t&&(t=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),s&&(this._instance.view=s),this.component.el.isConnected&&(h(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}hostUpdated(i){i.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&h(this.component),i.has("referenceElement")&&h(this.component)}_makeVisibleElementsBinder(){return new Proxy({},{has:(i,t)=>typeof t=="string"||Reflect.has(i,t),get:(i,t)=>{if(typeof t=="symbol"||t in Promise.prototype)return Reflect.get(i,t);let s=[t],e=this._makeRecursiveProxy(s);return w(this.component,n=>{let o=n;this.component[o]=!1,this._watchedVisibleElementsProperties[o]=s},e)}})}_makeRecursiveProxy(i){let t=new Proxy({},{get:(s,e)=>{let n=Reflect.get(s,e);return typeof e=="symbol"||e in Promise.prototype?n:(i.push(e),t)}});return t}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=v(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},u=y(d);_1=P},"core/reactiveUtils",_0)
5
5
  export{$$,_1 as a}
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
+ v4.33.0-next.105 */