@arcgis/map-components 5.0.0-next.32 → 5.0.0-next.34

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 (395) hide show
  1. package/dist/cdn/{P2FZUDYZ.js → 2D5ILTQJ.js} +2 -2
  2. package/dist/cdn/{57FRFA7O.js → 2DMU5QSW.js} +2 -2
  3. package/dist/cdn/{IRBOOKFY.js → 2FARWPNR.js} +2 -2
  4. package/dist/cdn/2I3KOL2A.js +4 -0
  5. package/dist/cdn/{VMH7OOSE.js → 2P3HJGIM.js} +2 -2
  6. package/dist/cdn/{HR5HOQMZ.js → 2SDDPZ4T.js} +2 -2
  7. package/dist/cdn/{NN2X735Q.js → 3457Z5KN.js} +1 -1
  8. package/dist/cdn/{7CLUJRNY.js → 35TJXNR2.js} +2 -2
  9. package/dist/cdn/{WLFIXFMI.js → 3DKDY5A3.js} +2 -2
  10. package/dist/cdn/{J7L3BPW5.js → 3GCBXEM3.js} +2 -2
  11. package/dist/cdn/{BHCWGDRN.js → 3IBZJEUI.js} +2 -2
  12. package/dist/cdn/{NO7THMCS.js → 3JAJ6TK2.js} +2 -2
  13. package/dist/cdn/{TSYQKTXW.js → 3JJSZEFG.js} +2 -2
  14. package/dist/cdn/{TKXXF4OO.js → 3KNSBK55.js} +2 -2
  15. package/dist/cdn/{HYOWGJMM.js → 3RUYGSUK.js} +2 -2
  16. package/dist/cdn/{HHE5IWHA.js → 42DVQ2YN.js} +2 -2
  17. package/dist/cdn/{IS7QRHPO.js → 47YFE74A.js} +2 -2
  18. package/dist/cdn/{QAFD5UBK.js → 4AUQ7NUM.js} +2 -2
  19. package/dist/cdn/{IJVMDOOV.js → 4CKLFI6V.js} +2 -2
  20. package/dist/cdn/{5CQF3JB5.js → 4DUCYOWE.js} +2 -2
  21. package/dist/cdn/{II73U7PI.js → 4M3DTWKL.js} +1 -1
  22. package/dist/cdn/{WAT2RMDP.js → 4MDE7YER.js} +2 -2
  23. package/dist/cdn/{NAAYAVAP.js → 4QOFZQPA.js} +2 -2
  24. package/dist/cdn/{5ARNNCOX.js → 4RG2FO4C.js} +2 -2
  25. package/dist/cdn/{ETG3XRO3.js → 5BSNLFTS.js} +2 -2
  26. package/dist/cdn/{TKQZODT7.js → 5CJ3GL27.js} +2 -2
  27. package/dist/cdn/{5SJ6HP3Q.js → 5I2XDFCR.js} +2 -2
  28. package/dist/cdn/{4T6C57DS.js → 5JUDGT45.js} +2 -2
  29. package/dist/cdn/{5PBIVBCI.js → 5PUCJBXT.js} +2 -2
  30. package/dist/cdn/{YF6N5TJM.js → 5VBEXTJN.js} +2 -2
  31. package/dist/cdn/{GQ6H5GGF.js → 5YN5SKCG.js} +2 -2
  32. package/dist/cdn/{WP4IBNQO.js → 63Y2JZDA.js} +2 -2
  33. package/dist/cdn/{SZIGVITW.js → 67YH6KEL.js} +2 -2
  34. package/dist/cdn/{5MYSHWYM.js → 6MDSIEL5.js} +3 -3
  35. package/dist/cdn/{RAR3BCVV.js → 6X4UNFA7.js} +2 -2
  36. package/dist/cdn/{FXW5JMXQ.js → 736CFRW2.js} +2 -2
  37. package/dist/cdn/{3O46PT32.js → 7B7Q4BNY.js} +2 -2
  38. package/dist/cdn/{YDS7A3GL.js → 7LQRNBSK.js} +2 -2
  39. package/dist/cdn/{RVXGWU2F.js → 7S2ZTMKZ.js} +2 -2
  40. package/dist/cdn/{WAF3HWY5.js → A36DX5US.js} +2 -2
  41. package/dist/cdn/{35UD4VQT.js → AADZCYS3.js} +2 -2
  42. package/dist/cdn/{RTKGXV2J.js → ACJZ2FDS.js} +2 -2
  43. package/dist/cdn/{5N5NHAGG.js → AF6GNIJZ.js} +2 -2
  44. package/dist/cdn/{HHS3S24G.js → AFKNRDPK.js} +2 -2
  45. package/dist/cdn/{OXHWUBNX.js → AGC46XXA.js} +2 -2
  46. package/dist/cdn/{6HN6UTV4.js → AN2WVK5W.js} +2 -2
  47. package/dist/cdn/{CDBV4KG7.js → AWSO5VYT.js} +2 -2
  48. package/dist/cdn/{ZXKAJPFK.js → BF32HW7I.js} +2 -2
  49. package/dist/cdn/{UMUME4WO.js → BK2AG5CL.js} +2 -2
  50. package/dist/cdn/{YH7SP46I.js → BMWWXVAS.js} +2 -2
  51. package/dist/cdn/{JJ3VFSYA.js → BOGJY5TB.js} +2 -2
  52. package/dist/cdn/{NN47WFCA.js → BPVCHI7N.js} +2 -2
  53. package/dist/cdn/{C66E24ZR.js → BQSDF4NS.js} +2 -2
  54. package/dist/cdn/{M33BOZTZ.js → BRB6DKBM.js} +2 -2
  55. package/dist/cdn/{55TNDMUS.js → BSWGIMHR.js} +1 -1
  56. package/dist/cdn/{TM6KU5LV.js → BV7TFUO6.js} +2 -2
  57. package/dist/cdn/{RUJC3ZR7.js → CGP3PHQM.js} +2 -2
  58. package/dist/cdn/{RIRQX2JJ.js → COJEWJVQ.js} +2 -2
  59. package/dist/cdn/{HNUQJFAK.js → CUQ3ZXV5.js} +2 -2
  60. package/dist/cdn/{NC5TPFHV.js → CVO3ZQMC.js} +2 -2
  61. package/dist/cdn/{L6AMW7QK.js → CYCCGMZR.js} +2 -2
  62. package/dist/cdn/{ODM6AEQ3.js → D2XVEG7F.js} +2 -2
  63. package/dist/cdn/{APTWIVD4.js → D3BPUBLP.js} +1 -1
  64. package/dist/cdn/{LYZ5TXUR.js → DHN2M3ZD.js} +2 -2
  65. package/dist/cdn/{HNNQRXLU.js → DMQ2D3ED.js} +2 -2
  66. package/dist/cdn/{OHUPTLDS.js → DWLKAEQL.js} +2 -2
  67. package/dist/cdn/{YMHLPZCH.js → DXL5K22B.js} +2 -2
  68. package/dist/cdn/{TTP5KAH4.js → EBKU5C2G.js} +2 -2
  69. package/dist/cdn/{MLPIE3IG.js → EKSYJQIT.js} +2 -2
  70. package/dist/cdn/{C7MOJ4OL.js → EQVC7B6L.js} +2 -2
  71. package/dist/cdn/{WJDDPVSD.js → ERLMOZPT.js} +2 -2
  72. package/dist/cdn/{I545W7IP.js → EZBXJ42N.js} +2 -2
  73. package/dist/cdn/{JPHBEVAU.js → F2VWKLFJ.js} +2 -2
  74. package/dist/cdn/{E6YRH53O.js → F4OWN5O6.js} +2 -2
  75. package/dist/cdn/{V4JVNVQD.js → FACF24YR.js} +2 -2
  76. package/dist/cdn/{SFBMULYA.js → FG3X2XLL.js} +2 -2
  77. package/dist/cdn/{WQN4LOGX.js → FIHFZS53.js} +2 -2
  78. package/dist/cdn/{QNHVSZK6.js → FLGPXMVL.js} +2 -2
  79. package/dist/cdn/{QL23MGDY.js → FPKSZAXZ.js} +2 -2
  80. package/dist/cdn/{3B75VFRH.js → FUAHEB5T.js} +1 -1
  81. package/dist/cdn/{R4SDZEOP.js → G5XNPKER.js} +2 -2
  82. package/dist/cdn/{TDTXZVX7.js → GB6NIWHH.js} +2 -2
  83. package/dist/cdn/{KTFBMLYN.js → GB7SMXNT.js} +2 -2
  84. package/dist/cdn/{LR77QYVQ.js → GOCEFJL7.js} +2 -2
  85. package/dist/cdn/{U4YI57QE.js → GUO2PYFC.js} +2 -2
  86. package/dist/cdn/{GPE5KYA7.js → GXHNGRNT.js} +2 -2
  87. package/dist/cdn/{IS2HCMFG.js → GYIKFQTG.js} +2 -2
  88. package/dist/cdn/{4XFVLHH7.js → H2BXQL6R.js} +2 -2
  89. package/dist/cdn/{RRIU5SYB.js → HHV664F5.js} +2 -2
  90. package/dist/cdn/{HSR2LKEQ.js → HLWGCLF7.js} +2 -2
  91. package/dist/cdn/{WGPHRCIE.js → HMMNMQOO.js} +1 -1
  92. package/dist/cdn/{6FYLMGCT.js → HPWTOIWC.js} +2 -2
  93. package/dist/cdn/{PJTKARHH.js → HQ2AI7WK.js} +2 -2
  94. package/dist/cdn/{KOATS2BK.js → HVFFPAVX.js} +2 -2
  95. package/dist/cdn/{5ZGFDX3X.js → HWGAHO5L.js} +2 -2
  96. package/dist/cdn/{HDH6CQ3P.js → I24BPIVH.js} +2 -2
  97. package/dist/cdn/{KTKICQ4M.js → IKHHMPDM.js} +2 -2
  98. package/dist/cdn/{53FMVPHP.js → ISHL6SWE.js} +2 -2
  99. package/dist/cdn/{ER5OGEJG.js → ISTYHTDF.js} +2 -2
  100. package/dist/cdn/{6LMM4W6V.js → IVMVZZG6.js} +2 -2
  101. package/dist/cdn/{AHQGRKHI.js → IYA4E5RX.js} +2 -2
  102. package/dist/cdn/{ELS3P2WS.js → J72SYVZF.js} +2 -2
  103. package/dist/cdn/{HNOYYHJL.js → JGCV7QA7.js} +2 -2
  104. package/dist/cdn/{NG2LBZ2C.js → JJYEPP2I.js} +2 -2
  105. package/dist/cdn/{I6WNCKGQ.js → JKHUKWNU.js} +2 -2
  106. package/dist/cdn/{6ZF5Y4OA.js → JROQTQK7.js} +2 -2
  107. package/dist/cdn/{LK6TBCAY.js → JSP7MMCV.js} +2 -2
  108. package/dist/cdn/{5GJQ5R6C.js → JWQYBLQX.js} +2 -2
  109. package/dist/cdn/{4LZKYNPA.js → KDY45YRH.js} +2 -2
  110. package/dist/cdn/{GVT4DHLZ.js → KK5NPF7T.js} +2 -2
  111. package/dist/cdn/{J67QLMP7.js → KPGSALKT.js} +2 -2
  112. package/dist/cdn/{VAH4233E.js → KPL2ZSZG.js} +2 -2
  113. package/dist/cdn/{4WIA3SQP.js → KR4NMFBS.js} +2 -2
  114. package/dist/cdn/{OCJYQALK.js → KULWAH2C.js} +2 -2
  115. package/dist/cdn/{EKHKDHOE.js → KXOUXLI2.js} +2 -2
  116. package/dist/cdn/{X5B7I5V7.js → KZE5MZN4.js} +2 -2
  117. package/dist/cdn/{3CVW7OMG.js → L7OHRNHG.js} +2 -2
  118. package/dist/cdn/{IAF7LPRE.js → LE7HEMA4.js} +2 -2
  119. package/dist/cdn/{VDNBDRJM.js → LQIBCP7I.js} +2 -2
  120. package/dist/cdn/{TR6JGVKQ.js → LTTQKAER.js} +2 -2
  121. package/dist/cdn/{AWSKYQI6.js → LUB7UTTU.js} +2 -2
  122. package/dist/cdn/{CM56KXVU.js → LVTU7XNT.js} +2 -2
  123. package/dist/cdn/{JHJQ3GWA.js → LYS47EUS.js} +2 -2
  124. package/dist/cdn/{RJF3TARL.js → M7TCFYX6.js} +2 -2
  125. package/dist/cdn/{SGTCPH4O.js → MFY7PVYK.js} +2 -2
  126. package/dist/cdn/{G6VA6QNE.js → MGPU4KKV.js} +2 -2
  127. package/dist/cdn/{LIJVGK4Y.js → MINC7WRH.js} +2 -2
  128. package/dist/cdn/{OQCPCWNG.js → MNZ46E7G.js} +2 -2
  129. package/dist/cdn/{NH5DW4NW.js → NFE3M6ZX.js} +2 -2
  130. package/dist/cdn/{K5F75E6W.js → NPML2W4Z.js} +2 -2
  131. package/dist/cdn/{MWMG7QPF.js → NQN7ESIE.js} +2 -2
  132. package/dist/cdn/{3S7Y2VAX.js → NQTDLEK3.js} +2 -2
  133. package/dist/cdn/{4YNXOZOB.js → NT75QBVA.js} +2 -2
  134. package/dist/cdn/{A72G4Q6X.js → NUZNIOHW.js} +2 -2
  135. package/dist/cdn/{GCG4T3MP.js → NWY6EWE6.js} +2 -2
  136. package/dist/cdn/{VOKWQ4S5.js → NXNEBE6I.js} +2 -2
  137. package/dist/cdn/{LRVGHBBE.js → O3AFVVMY.js} +2 -2
  138. package/dist/cdn/{UTIWENBE.js → O5D76G3J.js} +1 -1
  139. package/dist/cdn/{DV2QM6SU.js → OGLZLXK6.js} +2 -2
  140. package/dist/cdn/{IU4OWDP6.js → OJFHO6W3.js} +2 -2
  141. package/dist/cdn/{NPZYNJCM.js → OLLD6L7J.js} +2 -2
  142. package/dist/cdn/{27WL544W.js → ONMB4IY2.js} +2 -2
  143. package/dist/cdn/{4RQOMC7P.js → OSDQLYEI.js} +2 -2
  144. package/dist/cdn/{6BNGVQ7J.js → OSWAWXPB.js} +2 -2
  145. package/dist/cdn/{TMFUWV53.js → OVP7QEYQ.js} +1 -1
  146. package/dist/cdn/{HNFRMBQJ.js → P4J7QPCH.js} +2 -2
  147. package/dist/cdn/{J3GSZOKI.js → P54UX33Z.js} +2 -2
  148. package/dist/cdn/{U5XJI4JL.js → P7MOQTL5.js} +2 -2
  149. package/dist/cdn/{WSEJTG4B.js → PA3NYT5E.js} +2 -2
  150. package/dist/cdn/{E3OPMOQE.js → PMTT2HH6.js} +2 -2
  151. package/dist/cdn/{B2DQCFD5.js → PND3CUPL.js} +2 -2
  152. package/dist/cdn/{UQQE52PW.js → PPUX27ID.js} +2 -2
  153. package/dist/cdn/{IJSYHHFZ.js → PW2PBM6L.js} +2 -2
  154. package/dist/cdn/{M4P5Q4XW.js → Q4QRPLOR.js} +2 -2
  155. package/dist/cdn/{DUSA4QX5.js → QBCHK24A.js} +2 -2
  156. package/dist/cdn/{NIYTGJUB.js → QEXRVLWY.js} +2 -2
  157. package/dist/cdn/{KQXNGIH3.js → QIBBQR36.js} +2 -2
  158. package/dist/cdn/{Y5ZQXPW2.js → QLSXPW7I.js} +2 -2
  159. package/dist/cdn/{FWXJNWJV.js → QMOTOQID.js} +2 -2
  160. package/dist/cdn/{X4SYPHP2.js → QPBWIMFD.js} +2 -2
  161. package/dist/cdn/{XNVE26KC.js → QRJJOYQ5.js} +2 -2
  162. package/dist/cdn/{PX54SZBH.js → QRZLVXV7.js} +2 -2
  163. package/dist/cdn/{UQ2HO4JC.js → QWXRXSUE.js} +2 -2
  164. package/dist/cdn/{5WE6777A.js → RBU2YJFH.js} +2 -2
  165. package/dist/cdn/{LJPEVIIA.js → RMBKZXJQ.js} +2 -2
  166. package/dist/cdn/{ZNJCNBYA.js → RNOCW5TP.js} +2 -2
  167. package/dist/cdn/{6WOQBLNG.js → RQCKJKGC.js} +1 -1
  168. package/dist/cdn/{V5FZN75Q.js → RTR476NM.js} +2 -2
  169. package/dist/cdn/{D6QJKAK5.js → RYRNGPNT.js} +2 -2
  170. package/dist/cdn/{6JATIPHA.js → S7T6NPAJ.js} +2 -2
  171. package/dist/cdn/{V4NAOSP3.js → SAOQSJZ6.js} +2 -2
  172. package/dist/cdn/{6U5UZ75P.js → SFGFOD6A.js} +2 -2
  173. package/dist/cdn/{K5TMPKUZ.js → SQ4PJZSP.js} +2 -2
  174. package/dist/cdn/{YYCKWN7I.js → SQDYAP3J.js} +2 -2
  175. package/dist/cdn/{RXLMVRNK.js → SUBU3DIB.js} +2 -2
  176. package/dist/cdn/{PYEMINAR.js → TA642UC4.js} +2 -2
  177. package/dist/cdn/{QMZ2CQ2D.js → TJDSTA76.js} +2 -2
  178. package/dist/cdn/{A7KKZCED.js → TMR6TELJ.js} +2 -2
  179. package/dist/cdn/{XVIN3XWL.js → TTGPTSFG.js} +2 -2
  180. package/dist/cdn/{MQIKFOGB.js → TTWHLJCQ.js} +2 -2
  181. package/dist/cdn/{6MMYGD3O.js → TVJNU6CM.js} +2 -2
  182. package/dist/cdn/{6SC3F2CW.js → TWCA6WQX.js} +2 -2
  183. package/dist/cdn/{7DACD5RO.js → UKO3LGYQ.js} +2 -2
  184. package/dist/cdn/{XZ363IBS.js → V5GMWCTF.js} +1 -1
  185. package/dist/cdn/V6APIMPL.js +4 -0
  186. package/dist/cdn/{KN6YYIZP.js → VCQGTD24.js} +2 -2
  187. package/dist/cdn/{7RRUQC5K.js → VJJIPCK3.js} +2 -2
  188. package/dist/cdn/{IDEHN3HQ.js → VKLP2SWQ.js} +2 -2
  189. package/dist/cdn/{IMKQNDII.js → VPIFHIMR.js} +2 -2
  190. package/dist/cdn/{KTJFB7KU.js → VVGVKN3P.js} +2 -2
  191. package/dist/cdn/{TE6PYVSZ.js → W3BOJTC2.js} +2 -2
  192. package/dist/cdn/{XN75A2AO.js → W5S6JHE3.js} +2 -2
  193. package/dist/cdn/{L7YE6JC4.js → WDV4UO2C.js} +2 -2
  194. package/dist/cdn/{2F2K3SJN.js → WGSI5K6Y.js} +2 -2
  195. package/dist/cdn/{B7WRR74P.js → WHGAVCVQ.js} +2 -2
  196. package/dist/cdn/{GJG6UNDT.js → WLPAJJTY.js} +1 -1
  197. package/dist/cdn/{FHENHMGM.js → WN3DHV54.js} +2 -2
  198. package/dist/cdn/{YKOT4F42.js → WRJXPTFH.js} +2 -2
  199. package/dist/cdn/{VTKPG6IQ.js → WSVJQPF4.js} +2 -2
  200. package/dist/cdn/{MFUDXTRF.js → WTM5RONP.js} +2 -2
  201. package/dist/cdn/{X22S7RGV.js → WYJ2LSJI.js} +2 -2
  202. package/dist/cdn/{MZ6CHNUG.js → X2K3TMXK.js} +2 -2
  203. package/dist/cdn/{N2YODYKZ.js → X3UBMMJV.js} +2 -2
  204. package/dist/cdn/{VSAKIYC7.js → X4GIRU45.js} +2 -2
  205. package/dist/cdn/{ULHATBWA.js → X6JP6HWG.js} +1 -1
  206. package/dist/cdn/{PQEMWXDB.js → XECZMFDS.js} +2 -2
  207. package/dist/cdn/{GAFNTBMC.js → XYCYTG42.js} +1 -1
  208. package/dist/cdn/{GJ63U4PO.js → Y52Y2XWU.js} +2 -2
  209. package/dist/cdn/{I6ICLYFK.js → Y75VKAGD.js} +2 -2
  210. package/dist/cdn/{P56UTFX4.js → YDCSSLXW.js} +2 -2
  211. package/dist/cdn/{C2EI7DSY.js → YK6ZIHVN.js} +2 -2
  212. package/dist/cdn/YOG4HDCO.js +4 -0
  213. package/dist/cdn/{4M5W4PET.js → YVVZWBNI.js} +2 -2
  214. package/dist/cdn/{ZGZXJHLW.js → YWRDXJ53.js} +2 -2
  215. package/dist/cdn/{HVLL5J2O.js → YZCMETTU.js} +1 -1
  216. package/dist/cdn/{YDOIWLBR.js → Z6NYKKLE.js} +2 -2
  217. package/dist/cdn/{6IGZRULF.js → ZCIIBC6Z.js} +2 -2
  218. package/dist/cdn/{Z65DIGTW.js → ZEYV7EBF.js} +2 -2
  219. package/dist/cdn/{EFYQWVUJ.js → ZHK6AEAR.js} +2 -2
  220. package/dist/cdn/{DD6IXKAB.js → ZJORKVVV.js} +1 -1
  221. package/dist/cdn/{JYVEFSVZ.js → ZLFUSBID.js} +2 -2
  222. package/dist/cdn/{XGFFIFX5.js → ZLWCSUKZ.js} +2 -2
  223. package/dist/cdn/{TUI2OURV.js → ZQKOROBY.js} +2 -2
  224. package/dist/cdn/{HBIFIZKG.js → ZV4PZHFD.js} +2 -2
  225. package/dist/cdn/index.js +2 -2
  226. package/dist/chunks/AnalysisViewModel.js +1 -1
  227. package/dist/chunks/action-utils.js +1 -1
  228. package/dist/chunks/async-utils.js +1 -1
  229. package/dist/chunks/basemap-gallery-resources.js +1 -1
  230. package/dist/chunks/chart-utils.js +1 -1
  231. package/dist/chunks/chartCommon.js +1 -1
  232. package/dist/chunks/component-utils.js +1 -1
  233. package/dist/chunks/createCloseEvent.js +1 -1
  234. package/dist/chunks/esri-main.js +1 -1
  235. package/dist/chunks/feature-utils.js +1 -1
  236. package/dist/chunks/globalCss.js +1 -1
  237. package/dist/chunks/handle.js +1 -1
  238. package/dist/chunks/heading.js +1 -1
  239. package/dist/chunks/layer-list.js +1 -1
  240. package/dist/chunks/legacyIcon.js +1 -1
  241. package/dist/chunks/maybe.js +1 -1
  242. package/dist/chunks/measurementUtils.js +1 -1
  243. package/dist/chunks/runtime.js +1 -1
  244. package/dist/chunks/screenLocation.js +1 -1
  245. package/dist/chunks/slots.js +1 -1
  246. package/dist/chunks/svgUtils.js +1 -1
  247. package/dist/chunks/univariateUtils.js +1 -1
  248. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  249. package/dist/chunks/useHandles.js +1 -1
  250. package/dist/chunks/useT9n.js +1 -1
  251. package/dist/chunks/useView.js +1 -1
  252. package/dist/chunks/useViewModel.js +1 -1
  253. package/dist/chunks/useWidget.js +1 -1
  254. package/dist/chunks/utils.js +1 -1
  255. package/dist/chunks/utils2.js +1 -1
  256. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  257. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  258. package/dist/components/arcgis-attachments/customElement.js +1 -1
  259. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  260. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  261. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  262. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  263. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  264. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  265. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  266. package/dist/components/arcgis-compass/customElement.js +1 -1
  267. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  268. package/dist/components/arcgis-daylight/customElement.js +1 -1
  269. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  270. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  271. package/dist/components/arcgis-directions/customElement.js +1 -1
  272. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  273. package/dist/components/arcgis-editor/customElement.js +1 -1
  274. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  275. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  276. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  277. package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  279. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  280. package/dist/components/arcgis-expand/customElement.js +1 -1
  281. package/dist/components/arcgis-feature/customElement.js +1 -1
  282. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  283. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  284. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  285. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  294. package/dist/components/arcgis-features/customElement.js +1 -1
  295. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  296. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  297. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  298. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  299. package/dist/components/arcgis-home/customElement.js +1 -1
  300. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  301. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  302. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  303. package/dist/components/arcgis-legend/customElement.js +1 -1
  304. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  305. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  306. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  307. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  319. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  320. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  321. package/dist/components/arcgis-locate/customElement.js +1 -1
  322. package/dist/components/arcgis-map/customElement.js +1 -1
  323. package/dist/components/arcgis-measurement/customElement.js +1 -1
  324. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  325. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  326. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  327. package/dist/components/arcgis-placement/customElement.js +1 -1
  328. package/dist/components/arcgis-popup/customElement.js +1 -1
  329. package/dist/components/arcgis-print/customElement.js +1 -1
  330. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  331. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  332. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  333. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  334. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  335. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  336. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  337. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  338. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  339. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  340. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  341. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  342. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  343. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  344. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  345. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  346. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  347. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  348. package/dist/components/arcgis-scene/customElement.js +1 -1
  349. package/dist/components/arcgis-search/customElement.js +1 -1
  350. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  351. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  352. package/dist/components/arcgis-sketch/customElement.js +1 -1
  353. package/dist/components/arcgis-slice/customElement.js +1 -1
  354. package/dist/components/arcgis-spinner/customElement.js +1 -1
  355. package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
  356. package/dist/components/arcgis-swipe/customElement.js +1 -1
  357. package/dist/components/arcgis-table-list/customElement.js +1 -1
  358. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  359. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  360. package/dist/components/arcgis-track/customElement.js +1 -1
  361. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  362. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  363. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  364. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  365. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  366. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  367. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  368. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  369. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  370. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  371. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  372. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  373. package/dist/components/arcgis-version-management/customElement.js +1 -1
  374. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  375. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  376. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  377. package/dist/components/arcgis-video/customElement.js +1 -1
  378. package/dist/components/arcgis-video-player/customElement.js +1 -1
  379. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  380. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  381. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  382. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  383. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  384. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  385. package/dist/components/arcgis-weather/customElement.js +1 -1
  386. package/dist/components/arcgis-zoom/customElement.js +1 -1
  387. package/dist/docs/api.json +3 -3
  388. package/dist/docs/docs.json +3 -3
  389. package/dist/docs/web-types.json +1 -1
  390. package/dist/index.js +1 -1
  391. package/dist/loader.js +1 -1
  392. package/package.json +3 -3
  393. package/dist/cdn/BQMRWMR7.js +0 -4
  394. package/dist/cdn/SOUBXY44.js +0 -4
  395. package/dist/cdn/WLC3ML3U.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
4
- import{a as m}from"./GAFNTBMC.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./TDTXZVX7.js";import{a as q}from"./II73U7PI.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
3
+ v5.0.0-next.34 */
4
+ import{a as m}from"./XYCYTG42.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./GB6NIWHH.js";import{a as q}from"./4M3DTWKL.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
3
+ v5.0.0-next.34 */
4
4
  var r=["metric","imperial"],t=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],s=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],i=[...r,...s],u=[...r,...t];function l(e,a=!0){return a?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function m(e,a){switch(a.type){case"length":return e.formatLength(a);case"area":return e.formatArea(a);default:return""}}function n(e){return e==="imperial"||e==="metric"}export{i as a,u as b,l as c,m as d,n as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
4
- import{a as y}from"./NO7THMCS.js";import"./YDOIWLBR.js";import d from"./HHS3S24G.js";import{a as P}from"./7RRUQC5K.js";import{a as x}from"./APTWIVD4.js";import c from"./2F2K3SJN.js";import b from"./WAF3HWY5.js";import{g as M}from"./IAF7LPRE.js";import"./HVLL5J2O.js";import{b as f}from"./GJG6UNDT.js";import{H as z,I,J as F,K as s,M as a,P as B,a as T,b as h,s as _}from"./XZ363IBS.js";import"./II73U7PI.js";export default $arcgis.t(([{hasDisplayProperties:$},L,D,E,,,S])=>{var l="arcgis-coordinate-conversion",r={base:l,expandUp:`${l}__conversions-view--expand-up`,expandDown:`${l}__conversions-view--expand-down`,noBasemap:`${l}__no-basemap`,coordDisplay:`${l}__coordinate-display`,conversionRow:`${l}__conversion-row`,rowSelect:`${l}__row-select`,conversionsView:`${l}__conversions-view`,conversionsList:`${l}__conversion-list`,toolDisplay:`${l}__tool-display`,copyButton:`${l}__copy-button`,coordinateConversionAlert:`${l}__alert`,coordinateInput:`${l}__coordinate-input`,inputForm:`${l}__input-form`,sectionHeading:`${l}__section-heading`,inputFormGroup:`${l}__coordinate-input__form-group`,inputSelect:`${l}__coordinate-input__select`,sectionTitle:`${l}__section-title`,patternInput:`${l}__pattern-input`,previewCoordinate:`${l}__preview-coordinate`,settings:`${l}__settings`,firstSettingsGroup:`${l}__settings__form-group-first`,settingsFormGroup:`${l}__settings__form-group`,settingsFormGroupHorizontal:`${l}__settings__form-group-horizontal`},A=T`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);--coordinate-conversion-width: 425px;--coordinate-font-size: var(--calcite-font-size-sm);--alert-width: 225px;--arcgis-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}calcite-alert{width:var(--alert-width);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-top:12.5%}.arcgis-coordinate-conversion__no-basemap{padding:var(--calcite-spacing-xxs)}.arcgis-coordinate-conversion{background-color:var(--calcite-color-foreground-1);position:relative;width:var(--coordinate-conversion-width)}.arcgis-coordinate-conversion__conversions-view{display:flex;flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversion-list{flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversions-view--expand-down{display:flex;flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-down .arcgis-coordinate-conversion__conversion-list{flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-up{display:flex;flex-direction:column-reverse}.arcgis-coordinate-conversion__conversions-view--expand-up .arcgis-coordinate-conversion__conversion-list{flex-direction:column-reverse}.arcgis-coordinate-conversion__conversion-list{display:flex;padding-left:0;margin:0}.arcgis-coordinate-conversion__tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.arcgis-coordinate-conversion__conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.arcgis-coordinate-conversion__conversion-row:hover .arcgis-coordinate-conversion__copy-button{display:block}.arcgis-coordinate-conversion__conversions-view{padding:var(--calcite-spacing-md)}.arcgis-coordinate-conversion__coordinate-display{font-size:var(--coordinate-font-size);word-break:break-word;word-wrap:break-word;direction:ltr;flex:auto;display:flex;align-items:center;padding-left:var(--calcite-spacing-sm);min-height:var(--calcite-spacing-xxxl)}.arcgis-coordinate-conversion__coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.arcgis-coordinate-conversion__copy-button{display:none}.arcgis-coordinate-conversion__row-select{width:5rem;flex-shrink:0;text-align-last:center}.arcgis-coordinate-conversion__section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.arcgis-coordinate-conversion__section-title{margin:0 auto!important}.arcgis-coordinate-conversion__coordinate-input__form-group{display:flex;align-items:center;justify-content:space-between;margin:var(--calcite-spacing-md) auto var(--calcite-spacing-md) auto;width:80%}.arcgis-coordinate-conversion__input-form{display:flex;flex-direction:column}.arcgis-coordinate-conversion__coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.arcgis-coordinate-conversion__settings{display:flex;flex-direction:column;align-items:center}.arcgis-coordinate-conversion__settings__form-group{display:flex;flex-direction:column;align-items:center;width:60%}.arcgis-coordinate-conversion__settings__form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.arcgis-coordinate-conversion__settings__form-group-first{margin-top:var(--calcite-spacing-sm)}.arcgis-coordinate-conversion__settings__form-group:last-child{width:100%;text-align:center}.arcgis-coordinate-conversion__preview-coordinate{min-height:var(--calcite-spacing-xl)}`,O=2500,U=1e3,G=new L({x:0,y:0}),g={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},j=S(E),k=class extends F{constructor(){super(...arguments),this.alertTimer=-1,this.messages=P(),this._coordinateInput=z(),this._currentView="conversions",this._multipleConversionsDisabled=!1,this.viewModel=j(this),this.clearAlertTimeout=()=>{window.clearTimeout(this.alertTimer),this.alertProperties={...this.alertProperties,open:!1}},this.alertProperties={kind:"brand",message:null,title:null,open:!1},this.invalidInput=!1,this.goToEnabled=!1,this.inputFormat=null,this.previewConversion=null,this.settingsFormat=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.conversions=this.viewModel.conversions,this.currentLocation=this.viewModel.currentLocation,this.expanded=!1,this.formats=this.viewModel.formats,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=4,this.hideCaptureButton=!1,this.hideInputButton=!1,this.hideExpandButton=!1,this.hideSettingsButton=!1,this.icon="coordinate-system",this.label=this.messages?.componentLabel,this.locationSymbol=this.viewModel.locationSymbol,this.mode=this.viewModel.mode,this.orientation="auto",this.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=_(),this.arcgisPropertyChange=M()("currentLocation","state","expanded","mode"),this.arcgisReady=_()}static{this.properties={alertProperties:16,invalidInput:16,currentView:16,goToEnabled:16,inputFormat:16,previewConversion:16,settingsFormat:16,view:0,autoDestroyDisabled:5,conversions:0,currentLocation:0,expanded:7,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:7,hideInputButton:7,hideExpandButton:7,hideSettingsButton:7,icon:1,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,position:3,referenceElement:1,state:3,storageDisabled:7,storageType:1}}static{this.styles=A}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),this._currentView=e}get multipleConversionsDisabled(){return this._multipleConversionsDisabled}set multipleConversionsDisabled(e){e&&(this.expanded=!1,this.conversions.splice(1,this.conversions.length-1)),this._multipleConversionsDisabled=e}async destroy(){this.clearAlertTimeout(),await this.manager.destroy()}async reverseConvert(e,o){return await this.viewModel.reverseConvert(e,o)}addConversion(e){let o=e.target,t=o.selectedOption.value,i=R(o);if(t==null||i==null)return;let n=new D({format:t});o.value="default",i>=0?(this.conversions.removeAt(i),this.conversions.add(n,i)):this.conversions.add(n),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(/‎/gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",U))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,o)=>{let t=o.format;return t&&$(t)?t:e},null)||this.formats.find(e=>$(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,o){let{viewModel:t}=this;try{let i=await this._reverseConvert(e,o);if(!i)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=i??void 0,t.setLocation(i),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(i){console.error(i),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:o}=e;if(o==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;if(!t||!i)return;await this.processUserInput(i,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;!e||!o||await this.processUserInput(o,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,o){let t=this.viewModel,i=await o.reverseConvert(e);return this.goToEnabled&&i&&t.goToLocation(i).catch(n=>{console.warn(n),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),i}setDefaultPattern(e){e.stopPropagation();let o=this.findSettingsFormat();o?.defaultPattern&&(o.currentPattern=o.defaultPattern)}setInputFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.inputFormat=o)}setPreviewConversion(){let e=this.findSettingsFormat(),o=this.viewModel;if(e){let t=this.conversions.find(i=>i.format===e);this.previewConversion=new D({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||o.previewConversion(this.previewConversion,o.currentLocation??G)}}setSettingsFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.settingsFormat=o,this.setPreviewConversion())}showAlertMessage(e,o,t,i=O){this.alertProperties={...this.alertProperties,title:e,message:o,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},i)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let o=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=o.value)}render(){let{currentView:e}=this,o;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?o=this.renderCoordinateInputView():e==="settings"?o=this.renderSettingsView():o=this.renderConversionsView(),h`<div class=${s(f(r.base))}>${o}${this.renderAlert()}</div>`}renderAlert(){let{messages:e}=this,{open:o,message:t,title:i,kind:n}=this.alertProperties;return h`<calcite-alert class=${s(r.coordinateConversionAlert)} .open=${o} scale=s .kind=${n} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout}>${i?h`<div slot=title>${i}</div>`:null}${t?h`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,o,t){let i=this.conversions.at(0),n=i?.format?.name;return e.map((c,p)=>{let u=o??!i?!1:n===c.name||this.conversions.map(d=>d.format?.name).includes(c.name);return h`<calcite-option .disabled=${u} .label=${c.label.toUpperCase()} .selected=${p===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,o){let{messages:t}=this,{format:i}=e,n=i?.label??"",c=o===0,p=this.getId(`list-item-${o}`),u=t.conversionOutput.replace("{format name}",n),d=c||this.expanded,b=c?this.renderFirstConversionTools(e):this.renderTools(e,p),v=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,m=h`<div aria-label=${v??a} class=${s(r.coordDisplay)} data-conversion=${e??a} tabindex=0 title=${v??""??a}>${v}</div>`,w=this.renderConversionOptions(this.formats.filter(V=>V!==i));return d?h`<li aria-label=${u??a} class=${s(r.conversionRow)} id=${p??a} tabindex=0><calcite-select aria-controls=${p??a} class=${s(r.rowSelect)} data-index=${String(o)??a} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}><calcite-option .label=${n.toUpperCase()} selected>${n.toUpperCase()}</calcite-option>${w}</calcite-select>${m}${b}</li>`:null}renderConversionsView(){let{messages:e}=this,o=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),i=this.expanded?h`<div class=${s(r.conversionRow)}><calcite-select aria-controls=${t??a} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??a}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,n={[r.expandUp]:this.orientation==="expand-up",[r.expandDown]:this.orientation==="expand-down"};return h`<div class=${s(f(r.conversionsView,n))}><ul aria-expanded=${this.expanded??a} class=${s(r.conversionsList)} id=${t??a}>${o}</ul>${i}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,o=this.formats.findIndex(d=>d.name===e?.name),t=this.getId(r.coordinateInput),i=this.getId(`${r.coordinateInput}__header`),n=this.renderConversionOptions(this.formats,!1,o),{messages:c,headingLevel:p}=this;if(!c)return null;let u=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:c.back,title:c.back});return h`<div aria-labelledby=${i??a} class=${s(r.inputForm)} role=search><div class=${s(r.sectionHeading)}>${u}${y({class:f(r.sectionTitle,x.heading),id:i,level:p,children:c.inputCoordTitle})}</div><div class=${s(r.inputFormGroup)}><calcite-select aria-controls=${t??a} class=${s(r.inputSelect)} .label=${c.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${n}</calcite-select><calcite-input aria-labelledby=${i??a} class=${s(r.coordinateInput)} data-format=${e??a} id=${t??a} @keydown=${this.processUserKeyboardInput} .placeholder=${c.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${I(this._coordinateInput)}></calcite-input></div><div class=${s(r.inputFormGroup)}><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${c.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${c.convert}</calcite-button></div></div>`}renderCopyButton(e){let{messages:o}=this;return this.renderIconButton({iconType:g.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:[r.copyButton],ariaLabel:o.copy,title:o.copy})}renderFirstConversionTools(e){let{messages:o,multipleConversionsDisabled:t,hideCaptureButton:i,hideExpandButton:n}=this;if(!o)return null;let c=this.mode==="live"?o.captureMode:o.liveMode,p=this.expanded?o.collapse:o.expand,u=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,d=!t&&!n?this.renderIconButton({iconType:this.expanded?g.chevronDown:g.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:p,title:p}):null,b=t&&!i?this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return h`<ul class=${s(r.toolDisplay)}><li>${u}</li><li>${d}</li><li>${b}</li></ul>`}renderIconButton(e){let{iconType:o,clickFunction:t,buttonClasses:i,ariaLabel:n,ariaControls:c,label:p,flipRtl:u,title:d}=e;return h`<calcite-button appearance=transparent aria-label=${n??a} aria-controls=${c??a} class=${s(f(i))} .iconFlipRtl=${u?"start":void 0} .iconStart=${o} kind=neutral .label=${p} @click=${t} title=${d??a}></calcite-button>`}renderNoBasemapView(){return h`<div class=${s(f(r.noBasemap,r.base))}>${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:o,hideCaptureButton:t,hideSettingsButton:i}=this;if(!e)return null;let n=this.mode==="live"?e.captureMode:e.liveMode,c=o?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),p=t?null:this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:n,title:n}),u=i?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return h`<ul class=${s(r.toolDisplay)}><li>${c}</li><li>${p}</li><li>${u}</li></ul>`}renderSettingsView(){let e=this.getId(r.patternInput),o=this.getId(`${r.patternInput}__header`),t=this.getId(r.previewCoordinate),i=this.formats.filter(w=>$(w)),n=this.findSettingsFormat(),c=n?i.indexOf(n):-1,p=this.renderConversionOptions(i,!0,c),u=n?.currentPattern,{messages:d,headingLevel:b}=this;if(!d)return null;let v=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:d.back,title:d.back}),m=this.renderIconButton({iconType:g.refresh,clickFunction:this.setDefaultPattern,label:d.defaultPattern,title:d.defaultPattern});return h`<div aria-labelledby=${o??a} class=${s(r.settings)}><div class=${s(r.sectionHeading)}>${v}${y({class:f(r.sectionTitle,x.heading),id:o,level:b,children:d.settingsTitle})}</div><div class=${s(f(r.settingsFormGroup,r.firstSettingsGroup))}><calcite-label alignment=center .for=${e} scale=s>${d.changeCoordinateDisplay}<calcite-select .label=${d.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${p}</calcite-select><div class=${s(r.settingsFormGroupHorizontal)}><calcite-input aria-controls=${t??a} class=${s(r.patternInput)} id=${e??a} type=text .value=${u} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${m}</div></calcite-label></div><div class=${s(r.settingsFormGroup)}><calcite-label alignment=center scale=s>${d.preview}<div class=${s(r.previewCoordinate)} id=${t??a} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`}renderTools(e,o){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:i}=this;if(!i)return null;let n=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:o,label:i.removeConversion,title:i.removeConversion});return h`<ul class=${s(r.toolDisplay)}><li>${t}</li><li>${n}</li></ul>`}};function R(C){let e=C.getAttribute("data-index");return e?window.parseInt(e):null}B("arcgis-coordinate-conversion",k);return k},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",b,c,d)
3
+ v5.0.0-next.34 */
4
+ import{a as y}from"./3JAJ6TK2.js";import"./Z6NYKKLE.js";import d from"./AFKNRDPK.js";import{a as P}from"./VJJIPCK3.js";import{a as x}from"./D3BPUBLP.js";import c from"./WGSI5K6Y.js";import b from"./A36DX5US.js";import{g as M}from"./LE7HEMA4.js";import"./YZCMETTU.js";import{b as f}from"./WLPAJJTY.js";import{H as z,I,J as F,K as s,M as a,P as B,a as T,b as h,s as _}from"./V5GMWCTF.js";import"./4M3DTWKL.js";export default $arcgis.t(([{hasDisplayProperties:$},L,D,E,,,S])=>{var l="arcgis-coordinate-conversion",r={base:l,expandUp:`${l}__conversions-view--expand-up`,expandDown:`${l}__conversions-view--expand-down`,noBasemap:`${l}__no-basemap`,coordDisplay:`${l}__coordinate-display`,conversionRow:`${l}__conversion-row`,rowSelect:`${l}__row-select`,conversionsView:`${l}__conversions-view`,conversionsList:`${l}__conversion-list`,toolDisplay:`${l}__tool-display`,copyButton:`${l}__copy-button`,coordinateConversionAlert:`${l}__alert`,coordinateInput:`${l}__coordinate-input`,inputForm:`${l}__input-form`,sectionHeading:`${l}__section-heading`,inputFormGroup:`${l}__coordinate-input__form-group`,inputSelect:`${l}__coordinate-input__select`,sectionTitle:`${l}__section-title`,patternInput:`${l}__pattern-input`,previewCoordinate:`${l}__preview-coordinate`,settings:`${l}__settings`,firstSettingsGroup:`${l}__settings__form-group-first`,settingsFormGroup:`${l}__settings__form-group`,settingsFormGroupHorizontal:`${l}__settings__form-group-horizontal`},A=T`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);--coordinate-conversion-width: 425px;--coordinate-font-size: var(--calcite-font-size-sm);--alert-width: 225px;--arcgis-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}calcite-alert{width:var(--alert-width);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-top:12.5%}.arcgis-coordinate-conversion__no-basemap{padding:var(--calcite-spacing-xxs)}.arcgis-coordinate-conversion{background-color:var(--calcite-color-foreground-1);position:relative;width:var(--coordinate-conversion-width)}.arcgis-coordinate-conversion__conversions-view{display:flex;flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversion-list{flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversions-view--expand-down{display:flex;flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-down .arcgis-coordinate-conversion__conversion-list{flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-up{display:flex;flex-direction:column-reverse}.arcgis-coordinate-conversion__conversions-view--expand-up .arcgis-coordinate-conversion__conversion-list{flex-direction:column-reverse}.arcgis-coordinate-conversion__conversion-list{display:flex;padding-left:0;margin:0}.arcgis-coordinate-conversion__tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.arcgis-coordinate-conversion__conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.arcgis-coordinate-conversion__conversion-row:hover .arcgis-coordinate-conversion__copy-button{display:block}.arcgis-coordinate-conversion__conversions-view{padding:var(--calcite-spacing-md)}.arcgis-coordinate-conversion__coordinate-display{font-size:var(--coordinate-font-size);word-break:break-word;word-wrap:break-word;direction:ltr;flex:auto;display:flex;align-items:center;padding-left:var(--calcite-spacing-sm);min-height:var(--calcite-spacing-xxxl)}.arcgis-coordinate-conversion__coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.arcgis-coordinate-conversion__copy-button{display:none}.arcgis-coordinate-conversion__row-select{width:5rem;flex-shrink:0;text-align-last:center}.arcgis-coordinate-conversion__section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.arcgis-coordinate-conversion__section-title{margin:0 auto!important}.arcgis-coordinate-conversion__coordinate-input__form-group{display:flex;align-items:center;justify-content:space-between;margin:var(--calcite-spacing-md) auto var(--calcite-spacing-md) auto;width:80%}.arcgis-coordinate-conversion__input-form{display:flex;flex-direction:column}.arcgis-coordinate-conversion__coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.arcgis-coordinate-conversion__settings{display:flex;flex-direction:column;align-items:center}.arcgis-coordinate-conversion__settings__form-group{display:flex;flex-direction:column;align-items:center;width:60%}.arcgis-coordinate-conversion__settings__form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.arcgis-coordinate-conversion__settings__form-group-first{margin-top:var(--calcite-spacing-sm)}.arcgis-coordinate-conversion__settings__form-group:last-child{width:100%;text-align:center}.arcgis-coordinate-conversion__preview-coordinate{min-height:var(--calcite-spacing-xl)}`,O=2500,U=1e3,G=new L({x:0,y:0}),g={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},j=S(E),k=class extends F{constructor(){super(...arguments),this.alertTimer=-1,this.messages=P(),this._coordinateInput=z(),this._currentView="conversions",this._multipleConversionsDisabled=!1,this.viewModel=j(this),this.clearAlertTimeout=()=>{window.clearTimeout(this.alertTimer),this.alertProperties={...this.alertProperties,open:!1}},this.alertProperties={kind:"brand",message:null,title:null,open:!1},this.invalidInput=!1,this.goToEnabled=!1,this.inputFormat=null,this.previewConversion=null,this.settingsFormat=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.conversions=this.viewModel.conversions,this.currentLocation=this.viewModel.currentLocation,this.expanded=!1,this.formats=this.viewModel.formats,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=4,this.hideCaptureButton=!1,this.hideInputButton=!1,this.hideExpandButton=!1,this.hideSettingsButton=!1,this.icon="coordinate-system",this.label=this.messages?.componentLabel,this.locationSymbol=this.viewModel.locationSymbol,this.mode=this.viewModel.mode,this.orientation="auto",this.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=_(),this.arcgisPropertyChange=M()("currentLocation","state","expanded","mode"),this.arcgisReady=_()}static{this.properties={alertProperties:16,invalidInput:16,currentView:16,goToEnabled:16,inputFormat:16,previewConversion:16,settingsFormat:16,view:0,autoDestroyDisabled:5,conversions:0,currentLocation:0,expanded:7,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:7,hideInputButton:7,hideExpandButton:7,hideSettingsButton:7,icon:1,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,position:3,referenceElement:1,state:3,storageDisabled:7,storageType:1}}static{this.styles=A}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),this._currentView=e}get multipleConversionsDisabled(){return this._multipleConversionsDisabled}set multipleConversionsDisabled(e){e&&(this.expanded=!1,this.conversions.splice(1,this.conversions.length-1)),this._multipleConversionsDisabled=e}async destroy(){this.clearAlertTimeout(),await this.manager.destroy()}async reverseConvert(e,o){return await this.viewModel.reverseConvert(e,o)}addConversion(e){let o=e.target,t=o.selectedOption.value,i=R(o);if(t==null||i==null)return;let n=new D({format:t});o.value="default",i>=0?(this.conversions.removeAt(i),this.conversions.add(n,i)):this.conversions.add(n),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(/‎/gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",U))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,o)=>{let t=o.format;return t&&$(t)?t:e},null)||this.formats.find(e=>$(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,o){let{viewModel:t}=this;try{let i=await this._reverseConvert(e,o);if(!i)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=i??void 0,t.setLocation(i),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(i){console.error(i),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:o}=e;if(o==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;if(!t||!i)return;await this.processUserInput(i,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;!e||!o||await this.processUserInput(o,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,o){let t=this.viewModel,i=await o.reverseConvert(e);return this.goToEnabled&&i&&t.goToLocation(i).catch(n=>{console.warn(n),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),i}setDefaultPattern(e){e.stopPropagation();let o=this.findSettingsFormat();o?.defaultPattern&&(o.currentPattern=o.defaultPattern)}setInputFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.inputFormat=o)}setPreviewConversion(){let e=this.findSettingsFormat(),o=this.viewModel;if(e){let t=this.conversions.find(i=>i.format===e);this.previewConversion=new D({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||o.previewConversion(this.previewConversion,o.currentLocation??G)}}setSettingsFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.settingsFormat=o,this.setPreviewConversion())}showAlertMessage(e,o,t,i=O){this.alertProperties={...this.alertProperties,title:e,message:o,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},i)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let o=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=o.value)}render(){let{currentView:e}=this,o;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?o=this.renderCoordinateInputView():e==="settings"?o=this.renderSettingsView():o=this.renderConversionsView(),h`<div class=${s(f(r.base))}>${o}${this.renderAlert()}</div>`}renderAlert(){let{messages:e}=this,{open:o,message:t,title:i,kind:n}=this.alertProperties;return h`<calcite-alert class=${s(r.coordinateConversionAlert)} .open=${o} scale=s .kind=${n} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout}>${i?h`<div slot=title>${i}</div>`:null}${t?h`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,o,t){let i=this.conversions.at(0),n=i?.format?.name;return e.map((c,p)=>{let u=o??!i?!1:n===c.name||this.conversions.map(d=>d.format?.name).includes(c.name);return h`<calcite-option .disabled=${u} .label=${c.label.toUpperCase()} .selected=${p===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,o){let{messages:t}=this,{format:i}=e,n=i?.label??"",c=o===0,p=this.getId(`list-item-${o}`),u=t.conversionOutput.replace("{format name}",n),d=c||this.expanded,b=c?this.renderFirstConversionTools(e):this.renderTools(e,p),v=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,m=h`<div aria-label=${v??a} class=${s(r.coordDisplay)} data-conversion=${e??a} tabindex=0 title=${v??""??a}>${v}</div>`,w=this.renderConversionOptions(this.formats.filter(V=>V!==i));return d?h`<li aria-label=${u??a} class=${s(r.conversionRow)} id=${p??a} tabindex=0><calcite-select aria-controls=${p??a} class=${s(r.rowSelect)} data-index=${String(o)??a} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}><calcite-option .label=${n.toUpperCase()} selected>${n.toUpperCase()}</calcite-option>${w}</calcite-select>${m}${b}</li>`:null}renderConversionsView(){let{messages:e}=this,o=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),i=this.expanded?h`<div class=${s(r.conversionRow)}><calcite-select aria-controls=${t??a} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??a}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,n={[r.expandUp]:this.orientation==="expand-up",[r.expandDown]:this.orientation==="expand-down"};return h`<div class=${s(f(r.conversionsView,n))}><ul aria-expanded=${this.expanded??a} class=${s(r.conversionsList)} id=${t??a}>${o}</ul>${i}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,o=this.formats.findIndex(d=>d.name===e?.name),t=this.getId(r.coordinateInput),i=this.getId(`${r.coordinateInput}__header`),n=this.renderConversionOptions(this.formats,!1,o),{messages:c,headingLevel:p}=this;if(!c)return null;let u=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:c.back,title:c.back});return h`<div aria-labelledby=${i??a} class=${s(r.inputForm)} role=search><div class=${s(r.sectionHeading)}>${u}${y({class:f(r.sectionTitle,x.heading),id:i,level:p,children:c.inputCoordTitle})}</div><div class=${s(r.inputFormGroup)}><calcite-select aria-controls=${t??a} class=${s(r.inputSelect)} .label=${c.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${n}</calcite-select><calcite-input aria-labelledby=${i??a} class=${s(r.coordinateInput)} data-format=${e??a} id=${t??a} @keydown=${this.processUserKeyboardInput} .placeholder=${c.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${I(this._coordinateInput)}></calcite-input></div><div class=${s(r.inputFormGroup)}><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${c.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${c.convert}</calcite-button></div></div>`}renderCopyButton(e){let{messages:o}=this;return this.renderIconButton({iconType:g.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:[r.copyButton],ariaLabel:o.copy,title:o.copy})}renderFirstConversionTools(e){let{messages:o,multipleConversionsDisabled:t,hideCaptureButton:i,hideExpandButton:n}=this;if(!o)return null;let c=this.mode==="live"?o.captureMode:o.liveMode,p=this.expanded?o.collapse:o.expand,u=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,d=!t&&!n?this.renderIconButton({iconType:this.expanded?g.chevronDown:g.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:p,title:p}):null,b=t&&!i?this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return h`<ul class=${s(r.toolDisplay)}><li>${u}</li><li>${d}</li><li>${b}</li></ul>`}renderIconButton(e){let{iconType:o,clickFunction:t,buttonClasses:i,ariaLabel:n,ariaControls:c,label:p,flipRtl:u,title:d}=e;return h`<calcite-button appearance=transparent aria-label=${n??a} aria-controls=${c??a} class=${s(f(i))} .iconFlipRtl=${u?"start":void 0} .iconStart=${o} kind=neutral .label=${p} @click=${t} title=${d??a}></calcite-button>`}renderNoBasemapView(){return h`<div class=${s(f(r.noBasemap,r.base))}>${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:o,hideCaptureButton:t,hideSettingsButton:i}=this;if(!e)return null;let n=this.mode==="live"?e.captureMode:e.liveMode,c=o?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),p=t?null:this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:n,title:n}),u=i?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return h`<ul class=${s(r.toolDisplay)}><li>${c}</li><li>${p}</li><li>${u}</li></ul>`}renderSettingsView(){let e=this.getId(r.patternInput),o=this.getId(`${r.patternInput}__header`),t=this.getId(r.previewCoordinate),i=this.formats.filter(w=>$(w)),n=this.findSettingsFormat(),c=n?i.indexOf(n):-1,p=this.renderConversionOptions(i,!0,c),u=n?.currentPattern,{messages:d,headingLevel:b}=this;if(!d)return null;let v=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:d.back,title:d.back}),m=this.renderIconButton({iconType:g.refresh,clickFunction:this.setDefaultPattern,label:d.defaultPattern,title:d.defaultPattern});return h`<div aria-labelledby=${o??a} class=${s(r.settings)}><div class=${s(r.sectionHeading)}>${v}${y({class:f(r.sectionTitle,x.heading),id:o,level:b,children:d.settingsTitle})}</div><div class=${s(f(r.settingsFormGroup,r.firstSettingsGroup))}><calcite-label alignment=center .for=${e} scale=s>${d.changeCoordinateDisplay}<calcite-select .label=${d.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${p}</calcite-select><div class=${s(r.settingsFormGroupHorizontal)}><calcite-input aria-controls=${t??a} class=${s(r.patternInput)} id=${e??a} type=text .value=${u} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${m}</div></calcite-label></div><div class=${s(r.settingsFormGroup)}><calcite-label alignment=center scale=s>${d.preview}<div class=${s(r.previewCoordinate)} id=${t??a} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`}renderTools(e,o){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:i}=this;if(!i)return null;let n=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:o,label:i.removeConversion,title:i.removeConversion});return h`<ul class=${s(r.toolDisplay)}><li>${t}</li><li>${n}</li></ul>`}};function R(C){let e=C.getAttribute("data-index");return e?window.parseInt(e):null}B("arcgis-coordinate-conversion",k);return k},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
3
+ v5.0.0-next.34 */
4
4
  var n=class t{constructor(e){Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._value=e}get value(){return this._value/100}get percent(){return this._value}toString(){return""+this._value+"%"}interpolate(e,r){return e+this.value*(r-e)}static normalize(e,r,o){return e instanceof t?e:r===o?new t(0):new t(Math.min(Math.max((e-r)*(1/(o-r)),0),1)*100)}};function u(t){return new n(t)}var a=u(0),i=u(100),s=u(50);function l(t){return t instanceof n}export{n as a,u as b,a as c,i as d,s as e,l as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
4
- import e from"./HHS3S24G.js";import{a as v}from"./7RRUQC5K.js";import{a as _}from"./APTWIVD4.js";import b from"./2F2K3SJN.js";import a from"./WAF3HWY5.js";import{g as m}from"./IAF7LPRE.js";import"./HVLL5J2O.js";import{b as g}from"./GJG6UNDT.js";import{H as l,I as n,J as h,K as c,P as u,a as d,b as i,s}from"./XZ363IBS.js";import"./II73U7PI.js";export default $arcgis.t(([p,{watch:t},,,f])=>{var w=d`:host{--arcgis-video-player-controls-spacing: 16px;width:531px;height:100%}.arcgis-video-player{height:100%}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,V={base:"arcgis-video-player"},M=f(p),a=class extends h{constructor(){super(...arguments),this.messages=v({blocking:!0}),this.viewModel=M(this),this._videoViewRef=l(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5,view:0}}static{this.styles=w}get followingMode(){return this.viewModel.followingMode}set followingMode(e){this.viewModel.followingMode=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:e,currentTime:o,duration:r,ended:y}=this.viewModel;this._duration=r,this._currentTime=o,this._bufferedValue=e/(r||1),this._currentValue=o/(r||1),this._isBuffering=!y&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,e=>{this._videoViewReady=!!e},{initial:!0}),t(()=>this.layer?.title,e=>{this._layerTitle=e??void 0},{initial:!0}),t(()=>this.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return i`<div class=${c(g(V.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:i`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?i`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return i`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${n(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return i`<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?i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",a);return a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,e)
3
+ v5.0.0-next.34 */
4
+ import e from"./AFKNRDPK.js";import{a as v}from"./VJJIPCK3.js";import{a as _}from"./D3BPUBLP.js";import b from"./WGSI5K6Y.js";import a from"./A36DX5US.js";import{g as m}from"./LE7HEMA4.js";import"./YZCMETTU.js";import{b as g}from"./WLPAJJTY.js";import{H as l,I as n,J as h,K as c,P as u,a as d,b as i,s}from"./V5GMWCTF.js";import"./4M3DTWKL.js";export default $arcgis.t(([p,{watch:t},,,f])=>{var w=d`:host{--arcgis-video-player-controls-spacing: 16px;width:531px;height:100%}.arcgis-video-player{height:100%}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,V={base:"arcgis-video-player"},M=f(p),a=class extends h{constructor(){super(...arguments),this.messages=v({blocking:!0}),this.viewModel=M(this),this._videoViewRef=l(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5,view:0}}static{this.styles=w}get followingMode(){return this.viewModel.followingMode}set followingMode(e){this.viewModel.followingMode=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:e,currentTime:o,duration:r,ended:y}=this.viewModel;this._duration=r,this._currentTime=o,this._bufferedValue=e/(r||1),this._currentValue=o/(r||1),this._isBuffering=!y&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,e=>{this._videoViewReady=!!e},{initial:!0}),t(()=>this.layer?.title,e=>{this._layerTitle=e??void 0},{initial:!0}),t(()=>this.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return i`<div class=${c(g(V.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:i`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?i`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return i`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${n(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return i`<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?i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",a);return a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
4
- import{a as r}from"./IAF7LPRE.js";import{u as c}from"./XZ363IBS.js";export default $arcgis.t(([{watch:s},e])=>{var a=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:n}=this.component;return t&&o&&n?[t,n,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>void this._updateScreenLocation(),{initial:!0}))}async _updateScreenLocation(){{e.isLoaded()||await e.load();let{location:o,view:t}=this.component,n=t?.spatialReference,i=n&&o?e.execute(o,n):null;this.exports=this.component.trackLocation&&i&&t?.ready?t.toScreen(i):null}}},d=r(a);return d},"core/reactiveUtils","geometry/operators/projectOperator")
3
+ v5.0.0-next.34 */
4
+ import{a as r}from"./LE7HEMA4.js";import{u as c}from"./V5GMWCTF.js";export default $arcgis.t(([{watch:s},e])=>{var a=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:n}=this.component;return t&&o&&n?[t,n,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>void this._updateScreenLocation(),{initial:!0}))}async _updateScreenLocation(){{e.isLoaded()||await e.load();let{location:o,view:t}=this.component,n=t?.spatialReference,i=n&&o?e.execute(o,n):null;this.exports=this.component.trackLocation&&i&&t?.ready?t.toScreen(i):null}}},d=r(a);return d},"core/reactiveUtils","geometry/operators/projectOperator")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
4
- import"./II73U7PI.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u03BC.\u03A7.",_era_bc:"\u03C0.\u03A7.",A:"\u03C0\u03BC",P:"\u03BC\u03BC",AM:"\u03C0.\u03BC.",PM:"\u03BC.\u03BC.","A.M.":"\u03C0.\u03BC.","P.M.":"\u03BC.\u03BC.",January:"\u0399\u03B1\u03BD\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",February:"\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",March:"\u039C\u03B1\u03C1\u03C4\u03AF\u03BF\u03C5",April:"\u0391\u03C0\u03C1\u03B9\u03BB\u03AF\u03BF\u03C5",May:"\u039C\u03B1\u0390\u03BF\u03C5",June:"\u0399\u03BF\u03C5\u03BD\u03AF\u03BF\u03C5",July:"\u0399\u03BF\u03C5\u03BB\u03AF\u03BF\u03C5",August:"\u0391\u03C5\u03B3\u03BF\u03CD\u03C3\u03C4\u03BF\u03C5",September:"\u03A3\u03B5\u03C0\u03C4\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",October:"\u039F\u03BA\u03C4\u03C9\u03B2\u03C1\u03AF\u03BF\u03C5",November:"\u039D\u03BF\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",December:"\u0394\u03B5\u03BA\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",Jan:"\u0399\u03B1\u03BD",Feb:"\u03A6\u03B5\u03B2",Mar:"\u039C\u03B1\u03C1",Apr:"\u0391\u03C0\u03C1","May(short)":"\u039C\u03B1\u0390",Jun:"\u0399\u03BF\u03C5\u03BD",Jul:"\u0399\u03BF\u03C5\u03BB",Aug:"\u0391\u03C5\u03B3",Sep:"\u03A3\u03B5\u03C0",Oct:"\u039F\u03BA\u03C4",Nov:"\u039D\u03BF\u03B5",Dec:"\u0394\u03B5\u03BA",Sunday:"\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE",Monday:"\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1",Tuesday:"\u03A4\u03C1\u03AF\u03C4\u03B7",Wednesday:"\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7",Thursday:"\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7",Friday:"\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE",Saturday:"\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF",Sun:"\u039A\u03C5\u03C1",Mon:"\u0394\u03B5\u03C5",Tue:"\u03A4\u03C1\u03AF",Wed:"\u03A4\u03B5\u03C4",Thu:"\u03A0\u03AD\u03BC",Fri:"\u03A0\u03B1\u03C1",Sat:"\u03A3\u03AC\u03B2",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0395\u03C3\u03C4\u03AF\u03B1\u03C3\u03B7",Play:"\u0391\u03BD\u03B1\u03C0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE",Stop:"\u03A3\u03C4\u03AC\u03C3\u03B7",Legend:"\u03A5\u03C0\u03CC\u03BC\u03BD\u03B7\u03BC\u03B1","Press ENTER to toggle":"",Loading:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7",Home:"\u0391\u03C1\u03C7\u03B9\u03BA\u03AE",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7",Image:"Image",Data:"\u0394\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03B1",Print:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0391\u03C0\u03CC %1 \u03AD\u03C9\u03C2 %2","From %1":"\u0391\u03C0\u03CC %1","To %1":"\u0388\u03C9\u03C2 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.34 */
4
+ import"./4M3DTWKL.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u03BC.\u03A7.",_era_bc:"\u03C0.\u03A7.",A:"\u03C0\u03BC",P:"\u03BC\u03BC",AM:"\u03C0.\u03BC.",PM:"\u03BC.\u03BC.","A.M.":"\u03C0.\u03BC.","P.M.":"\u03BC.\u03BC.",January:"\u0399\u03B1\u03BD\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",February:"\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",March:"\u039C\u03B1\u03C1\u03C4\u03AF\u03BF\u03C5",April:"\u0391\u03C0\u03C1\u03B9\u03BB\u03AF\u03BF\u03C5",May:"\u039C\u03B1\u0390\u03BF\u03C5",June:"\u0399\u03BF\u03C5\u03BD\u03AF\u03BF\u03C5",July:"\u0399\u03BF\u03C5\u03BB\u03AF\u03BF\u03C5",August:"\u0391\u03C5\u03B3\u03BF\u03CD\u03C3\u03C4\u03BF\u03C5",September:"\u03A3\u03B5\u03C0\u03C4\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",October:"\u039F\u03BA\u03C4\u03C9\u03B2\u03C1\u03AF\u03BF\u03C5",November:"\u039D\u03BF\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",December:"\u0394\u03B5\u03BA\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",Jan:"\u0399\u03B1\u03BD",Feb:"\u03A6\u03B5\u03B2",Mar:"\u039C\u03B1\u03C1",Apr:"\u0391\u03C0\u03C1","May(short)":"\u039C\u03B1\u0390",Jun:"\u0399\u03BF\u03C5\u03BD",Jul:"\u0399\u03BF\u03C5\u03BB",Aug:"\u0391\u03C5\u03B3",Sep:"\u03A3\u03B5\u03C0",Oct:"\u039F\u03BA\u03C4",Nov:"\u039D\u03BF\u03B5",Dec:"\u0394\u03B5\u03BA",Sunday:"\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE",Monday:"\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1",Tuesday:"\u03A4\u03C1\u03AF\u03C4\u03B7",Wednesday:"\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7",Thursday:"\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7",Friday:"\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE",Saturday:"\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF",Sun:"\u039A\u03C5\u03C1",Mon:"\u0394\u03B5\u03C5",Tue:"\u03A4\u03C1\u03AF",Wed:"\u03A4\u03B5\u03C4",Thu:"\u03A0\u03AD\u03BC",Fri:"\u03A0\u03B1\u03C1",Sat:"\u03A3\u03AC\u03B2",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0395\u03C3\u03C4\u03AF\u03B1\u03C3\u03B7",Play:"\u0391\u03BD\u03B1\u03C0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE",Stop:"\u03A3\u03C4\u03AC\u03C3\u03B7",Legend:"\u03A5\u03C0\u03CC\u03BC\u03BD\u03B7\u03BC\u03B1","Press ENTER to toggle":"",Loading:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7",Home:"\u0391\u03C1\u03C7\u03B9\u03BA\u03AE",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7",Image:"Image",Data:"\u0394\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03B1",Print:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0391\u03C0\u03CC %1 \u03AD\u03C9\u03C2 %2","From %1":"\u0391\u03C0\u03CC %1","To %1":"\u0388\u03C9\u03C2 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
4
- import{J as s,K as n,P as a,a as i,b as e}from"./XZ363IBS.js";import"./II73U7PI.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
3
+ v5.0.0-next.34 */
4
+ import{J as s,K as n,P as a,a as i,b as e}from"./V5GMWCTF.js";import"./4M3DTWKL.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.34 */
4
+ import{j as m}from"./SUBU3DIB.js";import"./736CFRW2.js";import"./OSDQLYEI.js";import{t as p}from"./VKLP2SWQ.js";import"./X4GIRU45.js";import"./XYCYTG42.js";import"./GB6NIWHH.js";import"./4M3DTWKL.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./ZEYV7EBF.js")],["bg-BG",()=>import("./YWRDXJ53.js")],["bs-BA",()=>import("./FLGPXMVL.js")],["ca-ES",()=>import("./W3BOJTC2.js")],["cs-CZ",()=>import("./O3AFVVMY.js")],["da-DK",()=>import("./LYS47EUS.js")],["de-DE",()=>import("./QEXRVLWY.js")],["de-CH",()=>import("./QWXRXSUE.js")],["el-GR",()=>import("./YDCSSLXW.js")],["en-US",()=>import("./NT75QBVA.js")],["en-CA",()=>import("./KDY45YRH.js")],["es-ES",()=>import("./X2K3TMXK.js")],["et-EE",()=>import("./2P3HJGIM.js")],["fi-FI",()=>import("./ISHL6SWE.js")],["fr-FR",()=>import("./CYCCGMZR.js")],["he-IL",()=>import("./GYIKFQTG.js")],["hr-HR",()=>import("./DMQ2D3ED.js")],["hu-HU",()=>import("./3IBZJEUI.js")],["id-ID",()=>import("./BOGJY5TB.js")],["it-IT",()=>import("./WDV4UO2C.js")],["ja-JP",()=>import("./4MDE7YER.js")],["ko-KR",()=>import("./VPIFHIMR.js")],["lt-LT",()=>import("./IKHHMPDM.js")],["lv-LV",()=>import("./LTTQKAER.js")],["no-NO",()=>import("./UKO3LGYQ.js")],["nb-NO",()=>import("./UKO3LGYQ.js")],["nl-NL",()=>import("./G5XNPKER.js")],["pl-PL",()=>import("./QPBWIMFD.js")],["pt-BR",()=>import("./5CJ3GL27.js")],["pt-PT",()=>import("./GUO2PYFC.js")],["ro-RO",()=>import("./P54UX33Z.js")],["ru-RU",()=>import("./JKHUKWNU.js")],["sk-SK",()=>import("./ZQKOROBY.js")],["sl-SL",()=>import("./4AUQ7NUM.js")],["sr-RS",()=>import("./LVTU7XNT.js")],["sv-SE",()=>import("./KULWAH2C.js")],["th-TH",()=>import("./FACF24YR.js")],["tr-TR",()=>import("./BQSDF4NS.js")],["uk-UA",()=>import("./JROQTQK7.js")],["vi-VN",()=>import("./OJFHO6W3.js")],["zh-CN",()=>import("./AGC46XXA.js")],["zh-HK",()=>import("./DWLKAEQL.js")],["zh-TW",()=>import("./DWLKAEQL.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.32 */
4
- import g from"./I6ICLYFK.js";import e from"./JYVEFSVZ.js";import{a as T}from"./6U5UZ75P.js";import d from"./HHS3S24G.js";import{a as F}from"./7RRUQC5K.js";import"./APTWIVD4.js";import c from"./2F2K3SJN.js";import a from"./WAF3HWY5.js";import{g as L}from"./IAF7LPRE.js";import"./HVLL5J2O.js";import{b as x,f as $}from"./GJG6UNDT.js";import{H as f,I as b,J as A,K as v,L as B,P as E,a as z,b as m,s as w}from"./XZ363IBS.js";import"./II73U7PI.js";export default $arcgis.t(([R,{stripHTML:V},{watch:g},I,,,P,,N])=>{var p="arcgis-popup",u=`${p}--is-docked`,r={base:p,baseHidden:`${p}--hidden`,main:`${p}__main-container`,shadow:`${p}--shadow`,isDocked:u,isDockedTopLeft:`${u}-top-left`,isDockedTopCenter:`${u}-top-center`,isDockedTopRight:`${u}-top-right`,isDockedBottomLeft:`${u}-bottom-left`,isDockedBottomCenter:`${u}-bottom-center`,isDockedBottomRight:`${u}-bottom-right`,isXlWidthBreakpoint:`${p}--is-xl-width-breakpoint`,isLgWidthBreakpoint:`${p}--is-lg-width-breakpoint`,isMdWidthBreakpoint:`${p}--is-md-width-breakpoint`,isSmWidthBreakpoint:`${p}--is-sm-width-breakpoint`,isXsWidthBreakpoint:`${p}--is-xs-width-breakpoint`,isXlHeightBreakpoint:`${p}--is-xl-height-breakpoint`,isLgHeightBreakpoint:`${p}--is-lg-height-breakpoint`,isMdHeightBreakpoint:`${p}--is-md-height-breakpoint`,isSmHeightBreakpoint:`${p}--is-sm-height-breakpoint`,isXsHeightBreakpoint:`${p}--is-xs-height-breakpoint`,alignTopCenter:`${p}--aligned-top-center`,alignBottomCenter:`${p}--aligned-bottom-center`,alignTopLeft:`${p}--aligned-top-left`,alignBottomLeft:`${p}--aligned-bottom-left`,alignTopRight:`${p}--aligned-top-right`,alignBottomRight:`${p}--aligned-bottom-right`,pointer:`${p}__pointer`,pointerDirection:`${p}__pointer-direction`},j=z`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media (prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media (prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;function y(C){return C&&Number.parseInt(C.replaceAll(/[^-\d.]/gu,""),10)||0}var X=P(R),H={buttonEnabled:!0,position:"auto",breakpoint:{width:544}},D=class extends A{constructor(){super(...arguments),this._featuresComponent=f(),this._dockAction=new I({id:"popup-dock-action"}),this._mainContainerNode=f(),this._pointerNode=f(),this.messages=F({}),this.viewModel=X(this),this._containerNode=f(),this.screenLocation=N(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.alignment="auto",this.autoCloseEnabled=this.viewModel.autoCloseEnabled,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.dockEnabled=!1,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.features=this.viewModel.features,this.goToOverride=this.viewModel.goToOverride,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideCollapseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.promises=this.viewModel.promises,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.state=this.viewModel.state,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=L()("active","collapsed","currentAlignment","dockEnabled","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=w(),this.arcgisClose=w(),this.arcgisTriggerAction=w()}static{this.properties={screenLocation:16,positionStyle:16,_featureNavigationTop:16,actions:0,active:0,alignment:1,autoCloseEnabled:5,autoDestroyDisabled:5,collapsed:0,content:1,currentAlignment:32,currentDockPosition:32,defaultPopupTemplateEnabled:5,dockEnabled:5,dockOptions:0,featureCount:0,featureMenuOpen:5,features:0,goToOverride:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideCollapseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,messageOverrides:0,promises:0,referenceElement:1,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,state:3,updateLocationEnabled:5,view:0,visible:5}}static{this.styles=j}get trackLocation(){return this.viewModel.active&&!this.dockEnabled}get _featureNavigationTop(){let{currentAlignment:t,currentDockPosition:e}=this;return t==="bottom-left"||t==="bottom-center"||t==="bottom-right"||e==="top-left"||e==="top-center"||e==="top-right"}get currentAlignment(){return this._getCurrentAlignment()}get currentDockPosition(){return this._getCurrentDockPosition()}get dockOptions(){return this._dockOptions||H}set dockOptions(t){let e={...H},o=this.viewModel?.view?.breakpoints,a={};o&&(a.width=o.xsmall,a.height=o.xsmall);let i={...e,...t},n={...e.breakpoint,...a},{breakpoint:s}=i;typeof s=="object"?i.breakpoint={...n,...s}:s&&(i.breakpoint=n),this._dockOptions=i}get selectedDrillInFeature(){return this._featuresComponent.value?.selectedDrillInFeature??null}get selectedFeatureComponent(){return this._featuresComponent.value?.selectedFeatureComponent??null}async handleViewClick(t){return this.viewModel.handleViewClick(t)}async clear(){return this.viewModel.clear()}async destroy(){await this.manager.destroy(),this._dockAction.destroy()}async fetchFeatures(t,e){return await this.viewModel.fetchFeatures(t,e)}async next(){return this.viewModel.next()}async open(t){this.viewModel.open(t)}async previous(){return this.viewModel.previous()}async setFocus(){this._featuresComponent.value?.setFocus()}async triggerAction(t){return await this._featuresComponent.value?.triggerAction(t)}loaded(){this.manager.onLifecycle(()=>[g(()=>[this.viewModel?.view?.widthBreakpoint,this.dockEnabled],()=>this._handleDockIcon(),{initial:!0}),g(()=>[this.dockEnabled,this.messages?.undock,this.messages?.dock],()=>this._handleDockEnabled(),{initial:!0}),g(()=>this.dockOptions,t=>{let{_dockAction:e}=this,o=this._featuresComponent.value?.headerActions;o?.remove(e),t.buttonEnabled&&o?.add(e)},{initial:!0}),g(()=>[this._featuresComponent.value,this._mainContainerNode.value,this._pointerNode.value,this.alignment,this.currentAlignment,this.dockEnabled,this.dockOptions,this.screenLocation,this.viewModel?.active,this.viewModel?.location,this.viewModel?.view?.padding,this.viewModel?.view?.size],()=>this._positionContainer(),{initial:!0}),g(()=>this.viewModel?.view?.size,(t,e)=>this._updateDockEnabledForViewSize(t,e)),g(()=>this.viewModel?.view?.ready,()=>this._setDockEnabledForViewSize(this.dockOptions),{initial:!0}),g(()=>this.view?.map,t=>{this.viewModel.map=t},{initial:!0}),g(()=>this.screenLocation,(t,e)=>this._autoClose(t,e))])}_handleClose(t){t.stopPropagation(),this.arcgisClose.emit()}_autoClose(t,e){this.autoCloseEnabled&&t!=null&&e!=null&&(this.visible=!1)}_handleArcgisPropertyChange(t){t.detail.name==="collapsed"&&(this.collapsed=t.target.collapsed)}_handleArcgisTriggerAction(t){t.stopPropagation(),t.detail.action===this._dockAction&&(this.dockEnabled=!this.dockEnabled),this.arcgisTriggerAction.emit({action:t.detail.action})}_isOutsideView(t){let{popupHeight:e,popupWidth:o,screenLocation:a,side:i,view:n}=t;if(Number.isNaN(o)||Number.isNaN(e)||!n||!a)return!1;let s=n.padding;return i==="right"&&a.x+o/2>n.width-(s?.right??0)||i==="left"&&a.x-o/2<(s?.left??0)||i==="top"&&a.y-e<(s?.top??0)||i==="bottom"&&a.y+e>n.height-(s?.bottom??0)}_getPointerSize(){let{_pointerNode:t}=this,e=t.value?window.getComputedStyle(t.value):null,o=y(e?.height),a=y(e?.width);return Math.hypot(o,a)}_calculateAutoAlignment(t){if(t!=="auto")return t;let{_mainContainerNode:e,viewModel:o}=this,{view:a}=o,{screenLocation:i}=this;if(i==null||!a||!e.value)return"top-center";let n=window.getComputedStyle(e.value),s=y(n.maxHeight),l=y(n.height),c=this._getPointerSize(),{height:h,width:d}=e.value.getBoundingClientRect(),k=d+c,_=Math.max(h,s,l)+c,S=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"right",view:a}),O=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"left",view:a}),M=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"top",view:a}),W=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"bottom",view:a});return O?M?"bottom-right":"top-right":S?M?"bottom-left":"top-left":M?W?"top-center":"bottom-center":"top-center"}_callCurrentAlignment(t){return typeof t=="function"?t.call(this):t}_getCurrentAlignment(){return this.dockEnabled||!this.viewModel.active||!this._mainContainerNode.value?null:this._calculatePositionResult(this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment)))}_calculatePositionResult(t){let e=["left","right"];return $(this.el)==="rtl"&&e.reverse(),t?.replace(/start/giu,e[0]).replace(/end/giu,e[1])}_callDockPosition(t){return typeof t=="function"?t.call(this):t}_getDockPosition(){return this._calculatePositionResult(this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position)))}_getCurrentDockPosition(){return this.dockEnabled&&this.viewModel.active?this._getDockPosition():null}_calculateAutoDockPosition(t){if(t!=="auto")return t;let e=this.viewModel?.view,o=$(this.el)==="rtl"?"top-left":"top-right";if(!e)return o;let a=e.padding,i=e.width-(a?.left??0)-(a?.right??0),{breakpoints:n}=e;return n?.xsmall&&i<=n.xsmall?"bottom-center":o}_getDockIcon(){let t=this._getDockPosition();if(this.dockEnabled)return"minimize";switch(t){case"top-left":case"bottom-left":return"dock-left";case"top-center":return"maximize";case"bottom-center":return"dock-bottom";case"top-right":case"bottom-right":default:return"dock-right"}}_handleDockIcon(){this._dockAction.icon=this._getDockIcon()}_handleDockEnabled(){this._dockAction.title=this.dockEnabled?this.messages?.undock:this.messages?.dock}_positionContainer(){this.positionStyle=this._calculatePositionStyle()}_calculateFullWidth(t){let{currentAlignment:e}=this;return e==="top-left"||e==="bottom-left"||e==="top-right"||e==="bottom-right"?t+this._getPointerSize():t}_calculateAlignmentPosition(t,e,o,a){let{currentAlignment:i}=this;if(!o)return;let{padding:n}=o,s=a/2,l=o.height-e,c=o.width-t,h=this._getPointerSize(),d=h/2;if(i==="bottom-center")return{top:e+h-(n?.top??0),left:t-s-(n?.left??0)};if(i==="top-left")return{bottom:l+d-(n?.bottom??0),right:c+d-(n?.right??0)};if(i==="bottom-left")return{top:e+d-(n?.top??0),right:c+d-(n?.right??0)};if(i==="top-right")return{bottom:l+d-(n?.bottom??0),left:t+d-(n?.left??0)};if(i==="bottom-right")return{top:e+d-(n?.top??0),left:t+d-(n?.left??0)};if(i==="top-center")return{bottom:l+h-(n?.bottom??0),left:t-s-(n?.left??0)}}_calculatePositionStyle(){let{screenLocation:t}=this,{view:e}=this.viewModel,o=this._mainContainerNode.value?.getBoundingClientRect().width??0;if(!e||this.dockEnabled||t==null||!o)return;let a=this._calculateFullWidth(o),i=this._calculateAlignmentPosition(t.x,t.y,e,a);if(i)return{top:i.top!==void 0?`${i.top}px`:"auto",left:i.left!==void 0?`${i.left}px`:"auto",bottom:i.bottom!==void 0?`${i.bottom}px`:"auto",right:i.right!==void 0?`${i.right}px`:"auto"}}_dockingThresholdCrossed(t,e,o){let[a,i]=t,[n,s]=e,{width:l=0,height:c=0}=o??{};return a<=l&&n>l||a>l&&n<=l||i<=c&&s>c||i>c&&s<=c}_updateDockEnabledForViewSize(t,e){if(!t||!e)return;let o=this.viewModel?.view?.padding,a=(o?.left??0)+(o?.right??0),i=(o?.top??0)+(o?.bottom??0),n=[],s=[];n[0]=t[0]-a,n[1]=t[1]-i,s[0]=e[0]-a,s[1]=e[1]-i;let{dockOptions:l}=this,c=l.breakpoint;typeof c=="object"&&this._dockingThresholdCrossed(n,s,c)&&this._setDockEnabledForViewSize(l)}_shouldDockAtCurrentViewSize(t){let e=t.breakpoint,o=this.viewModel?.view?.ui;if(!o)return!1;let{width:a,height:i}=o;if(Number.isNaN(a)||Number.isNaN(i)||typeof e!="object")return!1;let n=typeof e.width=="number"&&a<=(e.width??0),s=typeof e.height=="number"&&i<=(e.height??0);return n||s}_setDockEnabledForViewSize(t){this.viewModel?.view?.ready&&typeof t.breakpoint=="object"&&(this.dockEnabled=this._shouldDockAtCurrentViewSize(t))}render(){let{dockEnabled:t,currentAlignment:e,currentDockPosition:o,positionStyle:a}=this,{active:i,view:n}=this.viewModel,s=i&&t,l=i&&!t,c=n?.widthBreakpoint,h=n?.heightBreakpoint,d={[r.alignTopCenter]:e==="top-center",[r.alignBottomCenter]:e==="bottom-center",[r.alignTopLeft]:e==="top-left",[r.alignBottomLeft]:e==="bottom-left",[r.alignTopRight]:e==="top-right",[r.alignBottomRight]:e==="bottom-right",[r.isDocked]:s,[r.shadow]:l,[r.isDockedTopLeft]:o==="top-left",[r.isDockedTopCenter]:o==="top-center",[r.isDockedTopRight]:o==="top-right",[r.isDockedBottomLeft]:o==="bottom-left",[r.isDockedBottomCenter]:o==="bottom-center",[r.isDockedBottomRight]:o==="bottom-right",[r.isXlWidthBreakpoint]:c==="xlarge",[r.isLgWidthBreakpoint]:c==="large",[r.isMdWidthBreakpoint]:c==="medium",[r.isSmWidthBreakpoint]:c==="small",[r.isXsWidthBreakpoint]:c==="xsmall",[r.isXlHeightBreakpoint]:h==="xlarge",[r.isLgHeightBreakpoint]:h==="large",[r.isMdHeightBreakpoint]:h==="medium",[r.isSmHeightBreakpoint]:h==="small",[r.isXsHeightBreakpoint]:h==="xsmall"};return m`<div style=${B(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${V(this.heading??"")} class=${v(x(r.base,d,{[r.baseHidden]:!i||!a&&!t}))} role=dialog ${b(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`}_renderPointer(){return!this.dockEnabled||!this.active?m`<div class=${v(r.pointer)} role=presentation><div class=${v(x(r.pointerDirection,r.shadow))} ${b(this._pointerNode)}></div></div>`:null}_renderMainContainer(){let t={[r.shadow]:this.dockEnabled};return m`<div class=${v(x(r.main,t))} ${b(this._mainContainerNode)}>${T(this.viewModel,m`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${b(this._featuresComponent)}></arcgis-features>`)}</div>`}};E("arcgis-popup",D);return D},"widgets/Features/FeaturesViewModel","applications/Components/stringUtils","core/reactiveUtils","support/actions/ActionButton",a,c,d,e,g)
3
+ v5.0.0-next.34 */
4
+ import g from"./Y75VKAGD.js";import e from"./ZLFUSBID.js";import{a as T}from"./SFGFOD6A.js";import d from"./AFKNRDPK.js";import{a as F}from"./VJJIPCK3.js";import"./D3BPUBLP.js";import c from"./WGSI5K6Y.js";import a from"./A36DX5US.js";import{g as L}from"./LE7HEMA4.js";import"./YZCMETTU.js";import{b as x,f as $}from"./WLPAJJTY.js";import{H as f,I as b,J as A,K as v,L as B,P as E,a as z,b as m,s as w}from"./V5GMWCTF.js";import"./4M3DTWKL.js";export default $arcgis.t(([R,{stripHTML:V},{watch:g},I,,,P,,N])=>{var p="arcgis-popup",u=`${p}--is-docked`,r={base:p,baseHidden:`${p}--hidden`,main:`${p}__main-container`,shadow:`${p}--shadow`,isDocked:u,isDockedTopLeft:`${u}-top-left`,isDockedTopCenter:`${u}-top-center`,isDockedTopRight:`${u}-top-right`,isDockedBottomLeft:`${u}-bottom-left`,isDockedBottomCenter:`${u}-bottom-center`,isDockedBottomRight:`${u}-bottom-right`,isXlWidthBreakpoint:`${p}--is-xl-width-breakpoint`,isLgWidthBreakpoint:`${p}--is-lg-width-breakpoint`,isMdWidthBreakpoint:`${p}--is-md-width-breakpoint`,isSmWidthBreakpoint:`${p}--is-sm-width-breakpoint`,isXsWidthBreakpoint:`${p}--is-xs-width-breakpoint`,isXlHeightBreakpoint:`${p}--is-xl-height-breakpoint`,isLgHeightBreakpoint:`${p}--is-lg-height-breakpoint`,isMdHeightBreakpoint:`${p}--is-md-height-breakpoint`,isSmHeightBreakpoint:`${p}--is-sm-height-breakpoint`,isXsHeightBreakpoint:`${p}--is-xs-height-breakpoint`,alignTopCenter:`${p}--aligned-top-center`,alignBottomCenter:`${p}--aligned-bottom-center`,alignTopLeft:`${p}--aligned-top-left`,alignBottomLeft:`${p}--aligned-bottom-left`,alignTopRight:`${p}--aligned-top-right`,alignBottomRight:`${p}--aligned-bottom-right`,pointer:`${p}__pointer`,pointerDirection:`${p}__pointer-direction`},j=z`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media (prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media (prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;function y(C){return C&&Number.parseInt(C.replaceAll(/[^-\d.]/gu,""),10)||0}var X=P(R),H={buttonEnabled:!0,position:"auto",breakpoint:{width:544}},D=class extends A{constructor(){super(...arguments),this._featuresComponent=f(),this._dockAction=new I({id:"popup-dock-action"}),this._mainContainerNode=f(),this._pointerNode=f(),this.messages=F({}),this.viewModel=X(this),this._containerNode=f(),this.screenLocation=N(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.alignment="auto",this.autoCloseEnabled=this.viewModel.autoCloseEnabled,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.dockEnabled=!1,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.features=this.viewModel.features,this.goToOverride=this.viewModel.goToOverride,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideCollapseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.promises=this.viewModel.promises,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.state=this.viewModel.state,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=L()("active","collapsed","currentAlignment","dockEnabled","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=w(),this.arcgisClose=w(),this.arcgisTriggerAction=w()}static{this.properties={screenLocation:16,positionStyle:16,_featureNavigationTop:16,actions:0,active:0,alignment:1,autoCloseEnabled:5,autoDestroyDisabled:5,collapsed:0,content:1,currentAlignment:32,currentDockPosition:32,defaultPopupTemplateEnabled:5,dockEnabled:5,dockOptions:0,featureCount:0,featureMenuOpen:5,features:0,goToOverride:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideCollapseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,messageOverrides:0,promises:0,referenceElement:1,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,state:3,updateLocationEnabled:5,view:0,visible:5}}static{this.styles=j}get trackLocation(){return this.viewModel.active&&!this.dockEnabled}get _featureNavigationTop(){let{currentAlignment:t,currentDockPosition:e}=this;return t==="bottom-left"||t==="bottom-center"||t==="bottom-right"||e==="top-left"||e==="top-center"||e==="top-right"}get currentAlignment(){return this._getCurrentAlignment()}get currentDockPosition(){return this._getCurrentDockPosition()}get dockOptions(){return this._dockOptions||H}set dockOptions(t){let e={...H},o=this.viewModel?.view?.breakpoints,a={};o&&(a.width=o.xsmall,a.height=o.xsmall);let i={...e,...t},n={...e.breakpoint,...a},{breakpoint:s}=i;typeof s=="object"?i.breakpoint={...n,...s}:s&&(i.breakpoint=n),this._dockOptions=i}get selectedDrillInFeature(){return this._featuresComponent.value?.selectedDrillInFeature??null}get selectedFeatureComponent(){return this._featuresComponent.value?.selectedFeatureComponent??null}async handleViewClick(t){return this.viewModel.handleViewClick(t)}async clear(){return this.viewModel.clear()}async destroy(){await this.manager.destroy(),this._dockAction.destroy()}async fetchFeatures(t,e){return await this.viewModel.fetchFeatures(t,e)}async next(){return this.viewModel.next()}async open(t){this.viewModel.open(t)}async previous(){return this.viewModel.previous()}async setFocus(){this._featuresComponent.value?.setFocus()}async triggerAction(t){return await this._featuresComponent.value?.triggerAction(t)}loaded(){this.manager.onLifecycle(()=>[g(()=>[this.viewModel?.view?.widthBreakpoint,this.dockEnabled],()=>this._handleDockIcon(),{initial:!0}),g(()=>[this.dockEnabled,this.messages?.undock,this.messages?.dock],()=>this._handleDockEnabled(),{initial:!0}),g(()=>this.dockOptions,t=>{let{_dockAction:e}=this,o=this._featuresComponent.value?.headerActions;o?.remove(e),t.buttonEnabled&&o?.add(e)},{initial:!0}),g(()=>[this._featuresComponent.value,this._mainContainerNode.value,this._pointerNode.value,this.alignment,this.currentAlignment,this.dockEnabled,this.dockOptions,this.screenLocation,this.viewModel?.active,this.viewModel?.location,this.viewModel?.view?.padding,this.viewModel?.view?.size],()=>this._positionContainer(),{initial:!0}),g(()=>this.viewModel?.view?.size,(t,e)=>this._updateDockEnabledForViewSize(t,e)),g(()=>this.viewModel?.view?.ready,()=>this._setDockEnabledForViewSize(this.dockOptions),{initial:!0}),g(()=>this.view?.map,t=>{this.viewModel.map=t},{initial:!0}),g(()=>this.screenLocation,(t,e)=>this._autoClose(t,e))])}_handleClose(t){t.stopPropagation(),this.arcgisClose.emit()}_autoClose(t,e){this.autoCloseEnabled&&t!=null&&e!=null&&(this.visible=!1)}_handleArcgisPropertyChange(t){t.detail.name==="collapsed"&&(this.collapsed=t.target.collapsed)}_handleArcgisTriggerAction(t){t.stopPropagation(),t.detail.action===this._dockAction&&(this.dockEnabled=!this.dockEnabled),this.arcgisTriggerAction.emit({action:t.detail.action})}_isOutsideView(t){let{popupHeight:e,popupWidth:o,screenLocation:a,side:i,view:n}=t;if(Number.isNaN(o)||Number.isNaN(e)||!n||!a)return!1;let s=n.padding;return i==="right"&&a.x+o/2>n.width-(s?.right??0)||i==="left"&&a.x-o/2<(s?.left??0)||i==="top"&&a.y-e<(s?.top??0)||i==="bottom"&&a.y+e>n.height-(s?.bottom??0)}_getPointerSize(){let{_pointerNode:t}=this,e=t.value?window.getComputedStyle(t.value):null,o=y(e?.height),a=y(e?.width);return Math.hypot(o,a)}_calculateAutoAlignment(t){if(t!=="auto")return t;let{_mainContainerNode:e,viewModel:o}=this,{view:a}=o,{screenLocation:i}=this;if(i==null||!a||!e.value)return"top-center";let n=window.getComputedStyle(e.value),s=y(n.maxHeight),l=y(n.height),c=this._getPointerSize(),{height:h,width:d}=e.value.getBoundingClientRect(),k=d+c,_=Math.max(h,s,l)+c,S=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"right",view:a}),O=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"left",view:a}),M=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"top",view:a}),W=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"bottom",view:a});return O?M?"bottom-right":"top-right":S?M?"bottom-left":"top-left":M?W?"top-center":"bottom-center":"top-center"}_callCurrentAlignment(t){return typeof t=="function"?t.call(this):t}_getCurrentAlignment(){return this.dockEnabled||!this.viewModel.active||!this._mainContainerNode.value?null:this._calculatePositionResult(this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment)))}_calculatePositionResult(t){let e=["left","right"];return $(this.el)==="rtl"&&e.reverse(),t?.replace(/start/giu,e[0]).replace(/end/giu,e[1])}_callDockPosition(t){return typeof t=="function"?t.call(this):t}_getDockPosition(){return this._calculatePositionResult(this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position)))}_getCurrentDockPosition(){return this.dockEnabled&&this.viewModel.active?this._getDockPosition():null}_calculateAutoDockPosition(t){if(t!=="auto")return t;let e=this.viewModel?.view,o=$(this.el)==="rtl"?"top-left":"top-right";if(!e)return o;let a=e.padding,i=e.width-(a?.left??0)-(a?.right??0),{breakpoints:n}=e;return n?.xsmall&&i<=n.xsmall?"bottom-center":o}_getDockIcon(){let t=this._getDockPosition();if(this.dockEnabled)return"minimize";switch(t){case"top-left":case"bottom-left":return"dock-left";case"top-center":return"maximize";case"bottom-center":return"dock-bottom";case"top-right":case"bottom-right":default:return"dock-right"}}_handleDockIcon(){this._dockAction.icon=this._getDockIcon()}_handleDockEnabled(){this._dockAction.title=this.dockEnabled?this.messages?.undock:this.messages?.dock}_positionContainer(){this.positionStyle=this._calculatePositionStyle()}_calculateFullWidth(t){let{currentAlignment:e}=this;return e==="top-left"||e==="bottom-left"||e==="top-right"||e==="bottom-right"?t+this._getPointerSize():t}_calculateAlignmentPosition(t,e,o,a){let{currentAlignment:i}=this;if(!o)return;let{padding:n}=o,s=a/2,l=o.height-e,c=o.width-t,h=this._getPointerSize(),d=h/2;if(i==="bottom-center")return{top:e+h-(n?.top??0),left:t-s-(n?.left??0)};if(i==="top-left")return{bottom:l+d-(n?.bottom??0),right:c+d-(n?.right??0)};if(i==="bottom-left")return{top:e+d-(n?.top??0),right:c+d-(n?.right??0)};if(i==="top-right")return{bottom:l+d-(n?.bottom??0),left:t+d-(n?.left??0)};if(i==="bottom-right")return{top:e+d-(n?.top??0),left:t+d-(n?.left??0)};if(i==="top-center")return{bottom:l+h-(n?.bottom??0),left:t-s-(n?.left??0)}}_calculatePositionStyle(){let{screenLocation:t}=this,{view:e}=this.viewModel,o=this._mainContainerNode.value?.getBoundingClientRect().width??0;if(!e||this.dockEnabled||t==null||!o)return;let a=this._calculateFullWidth(o),i=this._calculateAlignmentPosition(t.x,t.y,e,a);if(i)return{top:i.top!==void 0?`${i.top}px`:"auto",left:i.left!==void 0?`${i.left}px`:"auto",bottom:i.bottom!==void 0?`${i.bottom}px`:"auto",right:i.right!==void 0?`${i.right}px`:"auto"}}_dockingThresholdCrossed(t,e,o){let[a,i]=t,[n,s]=e,{width:l=0,height:c=0}=o??{};return a<=l&&n>l||a>l&&n<=l||i<=c&&s>c||i>c&&s<=c}_updateDockEnabledForViewSize(t,e){if(!t||!e)return;let o=this.viewModel?.view?.padding,a=(o?.left??0)+(o?.right??0),i=(o?.top??0)+(o?.bottom??0),n=[],s=[];n[0]=t[0]-a,n[1]=t[1]-i,s[0]=e[0]-a,s[1]=e[1]-i;let{dockOptions:l}=this,c=l.breakpoint;typeof c=="object"&&this._dockingThresholdCrossed(n,s,c)&&this._setDockEnabledForViewSize(l)}_shouldDockAtCurrentViewSize(t){let e=t.breakpoint,o=this.viewModel?.view?.ui;if(!o)return!1;let{width:a,height:i}=o;if(Number.isNaN(a)||Number.isNaN(i)||typeof e!="object")return!1;let n=typeof e.width=="number"&&a<=(e.width??0),s=typeof e.height=="number"&&i<=(e.height??0);return n||s}_setDockEnabledForViewSize(t){this.viewModel?.view?.ready&&typeof t.breakpoint=="object"&&(this.dockEnabled=this._shouldDockAtCurrentViewSize(t))}render(){let{dockEnabled:t,currentAlignment:e,currentDockPosition:o,positionStyle:a}=this,{active:i,view:n}=this.viewModel,s=i&&t,l=i&&!t,c=n?.widthBreakpoint,h=n?.heightBreakpoint,d={[r.alignTopCenter]:e==="top-center",[r.alignBottomCenter]:e==="bottom-center",[r.alignTopLeft]:e==="top-left",[r.alignBottomLeft]:e==="bottom-left",[r.alignTopRight]:e==="top-right",[r.alignBottomRight]:e==="bottom-right",[r.isDocked]:s,[r.shadow]:l,[r.isDockedTopLeft]:o==="top-left",[r.isDockedTopCenter]:o==="top-center",[r.isDockedTopRight]:o==="top-right",[r.isDockedBottomLeft]:o==="bottom-left",[r.isDockedBottomCenter]:o==="bottom-center",[r.isDockedBottomRight]:o==="bottom-right",[r.isXlWidthBreakpoint]:c==="xlarge",[r.isLgWidthBreakpoint]:c==="large",[r.isMdWidthBreakpoint]:c==="medium",[r.isSmWidthBreakpoint]:c==="small",[r.isXsWidthBreakpoint]:c==="xsmall",[r.isXlHeightBreakpoint]:h==="xlarge",[r.isLgHeightBreakpoint]:h==="large",[r.isMdHeightBreakpoint]:h==="medium",[r.isSmHeightBreakpoint]:h==="small",[r.isXsHeightBreakpoint]:h==="xsmall"};return m`<div style=${B(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${V(this.heading??"")} class=${v(x(r.base,d,{[r.baseHidden]:!i||!a&&!t}))} role=dialog ${b(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`}_renderPointer(){return!this.dockEnabled||!this.active?m`<div class=${v(r.pointer)} role=presentation><div class=${v(x(r.pointerDirection,r.shadow))} ${b(this._pointerNode)}></div></div>`:null}_renderMainContainer(){let t={[r.shadow]:this.dockEnabled};return m`<div class=${v(x(r.main,t))} ${b(this._mainContainerNode)}>${T(this.viewModel,m`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${b(this._featuresComponent)}></arcgis-features>`)}</div>`}};E("arcgis-popup",D);return D},"widgets/Features/FeaturesViewModel","applications/Components/stringUtils","core/reactiveUtils","support/actions/ActionButton",a,c,d,e,g)