@arcgis/map-components 5.0.0-next.5 → 5.0.0-next.50

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 (731) hide show
  1. package/dist/cdn/22EJFQA3.js +4 -0
  2. package/dist/cdn/{QQ7NXCBU.js → 2552S7TN.js} +2 -2
  3. package/dist/cdn/{A7BICR4O.js → 2CDBOTOD.js} +2 -2
  4. package/dist/cdn/2FFCR3WK.js +4 -0
  5. package/dist/cdn/{FON2DRNE.js → 2KHTCDTT.js} +2 -2
  6. package/dist/cdn/2MAXVAYG.js +4 -0
  7. package/dist/cdn/2QPPR4SF.js +4 -0
  8. package/dist/cdn/2X3QZJ2G.js +4 -0
  9. package/dist/cdn/34SUNVNN.js +4 -0
  10. package/dist/cdn/3EKEVDCN.js +4 -0
  11. package/dist/cdn/3GM4UCRN.js +4 -0
  12. package/dist/cdn/{B3BDZMK4.js → 3JD6NDKX.js} +2 -2
  13. package/dist/cdn/{DK6N3VRZ.js → 3LF246WI.js} +2 -2
  14. package/dist/cdn/3M2UECAM.js +4 -0
  15. package/dist/cdn/{5RONE6G5.js → 3RYCCDWO.js} +2 -2
  16. package/dist/cdn/3SHZ222B.js +4 -0
  17. package/dist/cdn/47EDHC6U.js +4 -0
  18. package/dist/cdn/4DEHSIZC.js +4 -0
  19. package/dist/cdn/4ONELZYV.js +4 -0
  20. package/dist/cdn/{A2W2SQO4.js → 4YDCZM2V.js} +2 -2
  21. package/dist/cdn/{H3LWJIDF.js → 5F3ZBBNJ.js} +2 -2
  22. package/dist/cdn/5IWKMLAS.js +4 -0
  23. package/dist/cdn/5MBFHIAX.js +4 -0
  24. package/dist/cdn/{PD2HATHB.js → 5O3WPUFV.js} +2 -2
  25. package/dist/cdn/5VKCHFDP.js +4 -0
  26. package/dist/cdn/{466INVOH.js → 646M3XKC.js} +2 -2
  27. package/dist/cdn/{F26G26OG.js → 65TFIVRA.js} +2 -2
  28. package/dist/cdn/{6P4FNYFK.js → 66UL2VHD.js} +2 -2
  29. package/dist/cdn/6GDJV2BR.js +4 -0
  30. package/dist/cdn/6I3V6MNF.js +4 -0
  31. package/dist/cdn/6LVRO4RA.js +4 -0
  32. package/dist/cdn/{IURKMZB2.js → 6OY6X4HM.js} +2 -2
  33. package/dist/cdn/{34OUIPI6.js → 7FCMAEXM.js} +2 -2
  34. package/dist/cdn/7N5LDFPW.js +4 -0
  35. package/dist/cdn/{U3KXM6JN.js → 7NL3RPF3.js} +1 -1
  36. package/dist/cdn/{UTKHOHKS.js → 7POX3S4I.js} +2 -2
  37. package/dist/cdn/7V7S7CCH.js +4 -0
  38. package/dist/cdn/7YY657FV.js +4 -0
  39. package/dist/cdn/7ZZWMYJZ.js +4 -0
  40. package/dist/cdn/{PHS7UW45.js → A2DJ5QV6.js} +2 -2
  41. package/dist/cdn/AQQ4IJSA.js +4 -0
  42. package/dist/cdn/{RQIUPQN4.js → B6EYKL3W.js} +2 -2
  43. package/dist/cdn/{YA5LAKIG.js → BPFCVN3N.js} +2 -2
  44. package/dist/cdn/{PIH3NRT7.js → BSCK636J.js} +2 -2
  45. package/dist/cdn/BUIGWZLN.js +4 -0
  46. package/dist/cdn/BXFTYU6B.js +4 -0
  47. package/dist/cdn/{4TPCMFWZ.js → C2S5Q3QQ.js} +2 -2
  48. package/dist/cdn/{WVWW5FTO.js → C5V56QB2.js} +2 -2
  49. package/dist/cdn/C5WDTNGW.js +4 -0
  50. package/dist/cdn/{AWI3K6XR.js → CIZFZWAM.js} +2 -2
  51. package/dist/cdn/CSZZU2SN.js +4 -0
  52. package/dist/cdn/{E734O7ZN.js → D5MKLTGH.js} +2 -2
  53. package/dist/cdn/{NCDGWPV7.js → D7LBTUJD.js} +2 -2
  54. package/dist/cdn/{I52NZLXX.js → DE3HGA3W.js} +2 -2
  55. package/dist/cdn/DGUQLDGC.js +4 -0
  56. package/dist/cdn/DSANSYU7.js +4 -0
  57. package/dist/cdn/{Y5ECN5RN.js → DVQS46GU.js} +2 -2
  58. package/dist/cdn/E3NALOTD.js +4 -0
  59. package/dist/cdn/E5IDX7Q3.js +4 -0
  60. package/dist/cdn/{4LHPWTSQ.js → E6FF6DBL.js} +2 -2
  61. package/dist/cdn/{QJQTAHNS.js → EE55ZK2A.js} +2 -2
  62. package/dist/cdn/EGGL7Z2R.js +4 -0
  63. package/dist/cdn/EHDTMDN6.js +4 -0
  64. package/dist/cdn/EIF252V6.js +4 -0
  65. package/dist/cdn/{FENOD7H6.js → EMPVEOEM.js} +2 -2
  66. package/dist/cdn/EPHCA6YC.js +4 -0
  67. package/dist/cdn/{V27L2ZBV.js → ETZYF4HD.js} +2 -2
  68. package/dist/cdn/F6EXNNGE.js +4 -0
  69. package/dist/cdn/FCPYVACN.js +4 -0
  70. package/dist/cdn/FD66EEY3.js +4 -0
  71. package/dist/cdn/{IN4RK6U7.js → FGRQ5OJY.js} +2 -2
  72. package/dist/cdn/FJJF7IY7.js +4 -0
  73. package/dist/cdn/{XSRIC2UT.js → FKN5F5DP.js} +2 -2
  74. package/dist/cdn/FRPECK4L.js +4 -0
  75. package/dist/cdn/G2GICTH7.js +4 -0
  76. package/dist/cdn/{AEQ2EA5V.js → G4MNRG5J.js} +2 -2
  77. package/dist/cdn/{6TR3C4W7.js → G4UI7FTV.js} +2 -2
  78. package/dist/cdn/G5DPKPMX.js +4 -0
  79. package/dist/cdn/G5UU3U7V.js +4 -0
  80. package/dist/cdn/GDK2O7ML.js +4 -0
  81. package/dist/cdn/{AFQCY6M5.js → GIHSIKR7.js} +2 -2
  82. package/dist/cdn/GMWNUBMY.js +4 -0
  83. package/dist/cdn/{LUGLNVKJ.js → GSPTV7LS.js} +2 -2
  84. package/dist/cdn/GWH6CLMG.js +4 -0
  85. package/dist/cdn/H3HX4U4A.js +4 -0
  86. package/dist/cdn/H6KX7BI6.js +4 -0
  87. package/dist/cdn/H7Z7Q333.js +4 -0
  88. package/dist/cdn/HHHVEKPC.js +4 -0
  89. package/dist/cdn/HLDCLA6W.js +4 -0
  90. package/dist/cdn/HNLZKWMD.js +4 -0
  91. package/dist/cdn/{REQDDBVN.js → HNN7ILDY.js} +1 -1
  92. package/dist/cdn/HUVVO7RV.js +4 -0
  93. package/dist/cdn/HYL7OPOR.js +4 -0
  94. package/dist/cdn/I34RGBR7.js +4 -0
  95. package/dist/cdn/IBE4RYG7.js +4 -0
  96. package/dist/cdn/IEILJ3IG.js +4 -0
  97. package/dist/cdn/{3BKVP63O.js → IGGOQYSO.js} +2 -2
  98. package/dist/cdn/{ZXFC3OPO.js → IJRWPAVO.js} +2 -2
  99. package/dist/cdn/INKCXO6L.js +4 -0
  100. package/dist/cdn/{ZQLSVPWL.js → INNHOO4N.js} +2 -2
  101. package/dist/cdn/{UEGRTPH3.js → IWBEDREE.js} +2 -2
  102. package/dist/cdn/IYQA6UQT.js +4 -0
  103. package/dist/cdn/{FRWCQ2AN.js → J3S54ODM.js} +1 -1
  104. package/dist/cdn/{UODLYZYS.js → J7NVMVYP.js} +2 -2
  105. package/dist/cdn/JAVUSUSN.js +4 -0
  106. package/dist/cdn/JAY4MRTJ.js +4 -0
  107. package/dist/cdn/JVJ5EIWH.js +4 -0
  108. package/dist/cdn/K6AAGZWM.js +4 -0
  109. package/dist/cdn/KBPU7HBF.js +4 -0
  110. package/dist/cdn/{UL7MLQKU.js → KDHKRP7Y.js} +2 -2
  111. package/dist/cdn/KF2NRWDA.js +4 -0
  112. package/dist/cdn/KX53I3PU.js +4 -0
  113. package/dist/cdn/{R47O2BDP.js → KXGPSCU3.js} +2 -2
  114. package/dist/cdn/KYNVUKEO.js +4 -0
  115. package/dist/cdn/{WK5SF3NM.js → KZP4ZJO4.js} +2 -2
  116. package/dist/cdn/L5CJKTGE.js +4 -0
  117. package/dist/cdn/{TUU22AO6.js → LVTLDQRA.js} +2 -2
  118. package/dist/cdn/M4EPETKM.js +4 -0
  119. package/dist/cdn/MDP2QMXY.js +4 -0
  120. package/dist/cdn/MFZDBUW2.js +4 -0
  121. package/dist/cdn/{Q6JTY2DJ.js → MOKYAZ5A.js} +1 -1
  122. package/dist/cdn/MVJOS6OA.js +4 -0
  123. package/dist/cdn/MWUCMJ2C.js +4 -0
  124. package/dist/cdn/N4AQOI5W.js +4 -0
  125. package/dist/cdn/{O7W3JZFF.js → NAPKZQSB.js} +2 -2
  126. package/dist/cdn/{X2P2BANB.js → NBW76VEY.js} +2 -2
  127. package/dist/cdn/NBWMRH5T.js +5 -0
  128. package/dist/cdn/NFO3P3SG.js +4 -0
  129. package/dist/cdn/NG2OOWKJ.js +4 -0
  130. package/dist/cdn/{UNORCWD2.js → NQQ4X5LJ.js} +2 -2
  131. package/dist/cdn/NSGVZY5H.js +4 -0
  132. package/dist/cdn/{C7DCQBPT.js → NWJNICMV.js} +2 -2
  133. package/dist/cdn/{RYP3YAQU.js → O5AGD4Q2.js} +2 -2
  134. package/dist/cdn/{HNRGCE2E.js → OCQRHJGG.js} +2 -2
  135. package/dist/cdn/OPVOXCXP.js +4 -0
  136. package/dist/cdn/OR3JXZIY.js +4 -0
  137. package/dist/cdn/{PQFM7YFO.js → OSDRTOSG.js} +2 -2
  138. package/dist/cdn/{3LTZOKPZ.js → P4QDKFSO.js} +1 -1
  139. package/dist/cdn/PC4KI623.js +4 -0
  140. package/dist/cdn/PCUP3GVD.js +4 -0
  141. package/dist/cdn/{6DTQPNPV.js → PGFTK4XG.js} +2 -2
  142. package/dist/cdn/PH52RU2E.js +4 -0
  143. package/dist/cdn/{EBH3NORE.js → PRWYOY6V.js} +2 -2
  144. package/dist/cdn/{4J7UXW4V.js → PVIU5CKI.js} +1 -1
  145. package/dist/cdn/{VFF44TJ6.js → PW64HQIJ.js} +2 -2
  146. package/dist/cdn/{JY63CMAB.js → Q24AASG2.js} +2 -2
  147. package/dist/cdn/{B4YSX2BI.js → Q26EAKYK.js} +1 -1
  148. package/dist/cdn/Q3OGWCHR.js +4 -0
  149. package/dist/cdn/Q4RFATVD.js +4 -0
  150. package/dist/cdn/Q77ZJGUY.js +4 -0
  151. package/dist/cdn/{ZXUX6MFW.js → QD3TTLK7.js} +2 -2
  152. package/dist/cdn/{J6KG2Z45.js → QIEEG657.js} +2 -2
  153. package/dist/cdn/QQFFFD5W.js +4 -0
  154. package/dist/cdn/{ADXVD42H.js → QRJTASDQ.js} +2 -2
  155. package/dist/cdn/QX4XNWPY.js +4 -0
  156. package/dist/cdn/QXB4K6I3.js +4 -0
  157. package/dist/cdn/{7BBQPJCM.js → RCG3NDM4.js} +2 -2
  158. package/dist/cdn/{C63TPNGG.js → RESL63EF.js} +2 -2
  159. package/dist/cdn/{Q3ICPLQZ.js → RPEBP4JY.js} +2 -2
  160. package/dist/cdn/{GRCPMP5I.js → S4URGOCU.js} +2 -2
  161. package/dist/cdn/S53PYRAV.js +4 -0
  162. package/dist/cdn/SETGZM6K.js +4 -0
  163. package/dist/cdn/SMFYDVY4.js +4 -0
  164. package/dist/cdn/{C3PGIIHL.js → SQALZT73.js} +2 -2
  165. package/dist/cdn/{HQRMKPHR.js → SSE3UXIJ.js} +2 -2
  166. package/dist/cdn/STFNXGNF.js +4 -0
  167. package/dist/cdn/{AN73DPMU.js → SVL5D73B.js} +1 -1
  168. package/dist/cdn/T4JL6JM7.js +4 -0
  169. package/dist/cdn/{OR5HVPGI.js → T4O44H5O.js} +2 -2
  170. package/dist/cdn/TAZP7HOH.js +4 -0
  171. package/dist/cdn/{WAQVWOOL.js → THO5FW3Z.js} +2 -2
  172. package/dist/cdn/TIHDAREN.js +4 -0
  173. package/dist/cdn/{LUIM6R3C.js → TIKJZVKU.js} +2 -2
  174. package/dist/cdn/TNNTYOKT.js +4 -0
  175. package/dist/cdn/TR5KANC7.js +4 -0
  176. package/dist/cdn/{BXK33PBZ.js → TUSRIHUK.js} +1 -1
  177. package/dist/cdn/TZJWH436.js +4 -0
  178. package/dist/cdn/U6KQSKUM.js +4 -0
  179. package/dist/cdn/UBSQLMCM.js +9 -0
  180. package/dist/cdn/{GIBKNUFW.js → UBYRQTVD.js} +2 -2
  181. package/dist/cdn/UEQKP7ER.js +4 -0
  182. package/dist/cdn/{A7EK4YU5.js → UFHIQCA7.js} +2 -2
  183. package/dist/cdn/UHYBCCWR.js +4 -0
  184. package/dist/cdn/{VSZ6MWHR.js → UL2A42VF.js} +2 -2
  185. package/dist/cdn/{5PSO47CO.js → UM7JKW3A.js} +2 -2
  186. package/dist/cdn/UPAOBJRF.js +4 -0
  187. package/dist/cdn/{I6QIB7JC.js → UTGU63V4.js} +2 -2
  188. package/dist/cdn/V3ARDBG4.js +4 -0
  189. package/dist/cdn/VFQLMQ77.js +4 -0
  190. package/dist/cdn/VINTC2MB.js +4 -0
  191. package/dist/cdn/VJIWITUJ.js +4 -0
  192. package/dist/cdn/VMZIMSUB.js +4 -0
  193. package/dist/cdn/{WQTDRNT3.js → VSVCPTPZ.js} +2 -2
  194. package/dist/cdn/VTLBT44Y.js +4 -0
  195. package/dist/cdn/{L5R3WRXO.js → VZOXMFQJ.js} +2 -2
  196. package/dist/cdn/{B3TRMHSU.js → W5ICVIVH.js} +2 -2
  197. package/dist/cdn/W7SKQWJO.js +4 -0
  198. package/dist/cdn/WGGM6PEB.js +4 -0
  199. package/dist/cdn/{TRGKRUEY.js → WH6NRJUB.js} +2 -2
  200. package/dist/cdn/{66XP7ISP.js → WJ322XM2.js} +2 -2
  201. package/dist/cdn/WM3GRNHB.js +4 -0
  202. package/dist/cdn/{M57KTCMF.js → WQUXOJ6K.js} +2 -2
  203. package/dist/cdn/WT77ZKLM.js +4 -0
  204. package/dist/cdn/X43CYNQI.js +4 -0
  205. package/dist/cdn/X4HK55ZN.js +4 -0
  206. package/dist/cdn/XAWGK42X.js +4 -0
  207. package/dist/cdn/XEMZO4M7.js +4 -0
  208. package/dist/cdn/XEXGUQSP.js +4 -0
  209. package/dist/cdn/{LHZIRPAB.js → XJFCWOTP.js} +2 -2
  210. package/dist/cdn/XQASFJWZ.js +4 -0
  211. package/dist/cdn/{5AFYPDDT.js → XQJD2O4Y.js} +2 -2
  212. package/dist/cdn/XS4A64DB.js +4 -0
  213. package/dist/cdn/{ZG5YI3R5.js → XWSUHUY3.js} +2 -2
  214. package/dist/cdn/XYZK654D.js +4 -0
  215. package/dist/cdn/YCA7PPCW.js +4 -0
  216. package/dist/cdn/YCTLI7T4.js +4 -0
  217. package/dist/cdn/YJKIV3ZU.js +4 -0
  218. package/dist/cdn/YP7WQYDY.js +4 -0
  219. package/dist/cdn/{LPV53QOR.js → YSD2GY77.js} +2 -2
  220. package/dist/cdn/{VX7UD4NL.js → YUYTDDAR.js} +1 -1
  221. package/dist/cdn/{HBH2NXCY.js → YVMAHJVO.js} +2 -2
  222. package/dist/cdn/YYVGPHDO.js +4 -0
  223. package/dist/cdn/ZCYVKR6L.js +4 -0
  224. package/dist/cdn/ZFGSORSH.js +4 -0
  225. package/dist/cdn/ZUFGJ4KN.js +4 -0
  226. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  227. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
  228. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
  229. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  230. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  231. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  232. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
  233. package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
  234. package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
  235. package/dist/cdn/index.js +2 -2
  236. package/dist/cdn/main.css +1 -1
  237. package/dist/chunks/AnalysisViewModel.js +42 -38
  238. package/dist/chunks/action-utils.js +2 -2
  239. package/dist/chunks/async-utils.js +79 -61
  240. package/dist/chunks/basemap-gallery-resources.js +1 -1
  241. package/dist/chunks/chart-utils.js +1 -1
  242. package/dist/chunks/chartCommon.js +1 -1
  243. package/dist/chunks/component-utils.js +1 -1
  244. package/dist/chunks/createCloseEvent.js +1 -1
  245. package/dist/chunks/esri-main.js +2 -2
  246. package/dist/chunks/feature-utils.js +152 -107
  247. package/dist/chunks/globalCss.js +1 -1
  248. package/dist/chunks/handle.js +14 -0
  249. package/dist/chunks/heading.js +1 -1
  250. package/dist/chunks/layer-list.js +1 -1
  251. package/dist/chunks/legacyIcon.js +1 -1
  252. package/dist/chunks/maybe.js +1 -1
  253. package/dist/chunks/measurementUtils.js +24 -10
  254. package/dist/chunks/runtime.js +1 -1
  255. package/dist/chunks/screenLocation.js +1 -1
  256. package/dist/chunks/slots.js +5 -5
  257. package/dist/chunks/svgUtils.js +1 -1
  258. package/dist/chunks/univariateUtils.js +1 -1
  259. package/dist/chunks/useArcgisViewReadyError.js +91 -0
  260. package/dist/chunks/useHandles.js +1 -1
  261. package/dist/chunks/useT9n.js +1 -1
  262. package/dist/chunks/useView.js +1 -1
  263. package/dist/chunks/useViewModel.js +1 -1
  264. package/dist/chunks/useWidget.js +1 -1
  265. package/dist/chunks/utils.js +11 -16
  266. package/dist/chunks/utils2.js +1 -1
  267. package/dist/chunks/visible-element.js +9 -0
  268. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
  269. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
  270. package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
  271. package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
  272. package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
  273. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
  274. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  275. package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
  276. package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
  277. package/dist/components/arcgis-attachments/customElement.js +6 -6
  278. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  279. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
  281. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
  282. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  283. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
  284. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  285. package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
  286. package/dist/components/arcgis-bookmarks/customElement.js +57 -55
  287. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  288. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  289. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
  290. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  291. package/dist/components/arcgis-compass/customElement.d.ts +4 -4
  292. package/dist/components/arcgis-compass/customElement.js +6 -6
  293. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
  294. package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
  295. package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
  296. package/dist/components/arcgis-daylight/customElement.js +158 -160
  297. package/dist/components/arcgis-daylight/index.d.ts +1 -0
  298. package/dist/components/arcgis-daylight/index.js +1 -0
  299. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
  300. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
  301. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
  302. package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
  303. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  304. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  305. package/dist/components/arcgis-directions/customElement.js +1 -1
  306. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
  307. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
  308. package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
  309. package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
  310. package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
  311. package/dist/components/arcgis-editor/customElement.d.ts +29 -7
  312. package/dist/components/arcgis-editor/customElement.js +4 -4
  313. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +30 -19
  314. package/dist/components/arcgis-elevation-profile/customElement.d.ts +192 -79
  315. package/dist/components/arcgis-elevation-profile/customElement.js +576 -16
  316. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
  317. package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
  318. package/dist/components/arcgis-elevation-profile/index.js +5 -0
  319. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
  320. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  321. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  322. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  323. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  324. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
  325. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  326. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  327. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  328. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
  329. package/dist/components/arcgis-expand/customElement.d.ts +13 -12
  330. package/dist/components/arcgis-expand/customElement.js +152 -45
  331. package/dist/components/arcgis-feature/customElement.d.ts +20 -24
  332. package/dist/components/arcgis-feature/customElement.js +90 -77
  333. package/dist/components/arcgis-feature/index.d.ts +1 -0
  334. package/dist/components/arcgis-feature/index.js +1 -0
  335. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  336. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  337. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  338. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  339. package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
  340. package/dist/components/arcgis-feature-fields/customElement.js +36 -32
  341. package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
  342. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  343. package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
  344. package/dist/components/arcgis-feature-media/customElement.js +179 -178
  345. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  346. package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
  347. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  348. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
  349. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  350. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
  351. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
  352. package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
  353. package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
  354. package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
  355. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
  356. package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.d.ts +4 -3
  357. package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.js +4 -3
  358. package/dist/components/arcgis-features/customElement.d.ts +29 -14
  359. package/dist/components/arcgis-features/customElement.js +8 -8
  360. package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
  361. package/dist/components/arcgis-floor-filter/customElement.js +7 -7
  362. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  363. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  364. package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -4
  365. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  366. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
  367. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  368. package/dist/components/arcgis-home/customElement.d.ts +4 -4
  369. package/dist/components/arcgis-home/customElement.js +2 -2
  370. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  371. package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
  372. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  373. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  374. package/dist/components/arcgis-legend/customElement.d.ts +19 -4
  375. package/dist/components/arcgis-legend/customElement.js +1 -1
  376. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  377. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  378. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  379. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  380. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  381. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  382. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
  383. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  384. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  385. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
  386. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
  387. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  388. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  389. package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
  390. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
  391. package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
  392. package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
  393. package/dist/components/arcgis-link-chart/customElement.js +22 -27
  394. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
  395. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  396. package/dist/components/arcgis-locate/customElement.d.ts +2 -2
  397. package/dist/components/arcgis-locate/customElement.js +3 -3
  398. package/dist/components/arcgis-map/customElement.d.ts +479 -64
  399. package/dist/components/arcgis-map/customElement.js +28 -33
  400. package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
  401. package/dist/components/arcgis-measurement/customElement.js +1 -1
  402. package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
  403. package/dist/components/arcgis-measurement-content/customElement.js +25 -34
  404. package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
  405. package/dist/components/arcgis-measurement-content/index.js +1 -0
  406. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
  407. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
  408. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
  409. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  410. package/dist/components/arcgis-placement/customElement.d.ts +2 -2
  411. package/dist/components/arcgis-placement/customElement.js +1 -1
  412. package/dist/components/arcgis-popup/customElement.d.ts +43 -10
  413. package/dist/components/arcgis-popup/customElement.js +8 -5
  414. package/dist/components/arcgis-print/customElement.d.ts +22 -6
  415. package/dist/components/arcgis-print/customElement.js +22 -19
  416. package/dist/components/arcgis-print/utils.d.ts +1 -2
  417. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  418. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  419. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  420. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
  421. package/dist/components/arcgis-print-exports-panel/customElement.js +75 -18
  422. package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
  423. package/dist/components/arcgis-print-exports-panel/index.js +4 -1
  424. package/dist/components/arcgis-print-format-select/customElement.js +15 -16
  425. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
  426. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
  427. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
  428. package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
  429. package/dist/components/arcgis-print-main-panel/customElement.d.ts +5 -1
  430. package/dist/components/arcgis-print-main-panel/customElement.js +10 -10
  431. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  432. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
  433. package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
  434. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
  435. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  436. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  437. package/dist/components/arcgis-print-template-select/customElement.js +23 -22
  438. package/dist/components/arcgis-print-template-selector/customElement.js +16 -17
  439. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
  440. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  441. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
  442. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  443. package/dist/components/arcgis-scene/customElement.d.ts +66 -11
  444. package/dist/components/arcgis-scene/customElement.js +25 -30
  445. package/dist/components/arcgis-search/customElement.d.ts +19 -21
  446. package/dist/components/arcgis-search/customElement.js +1 -1
  447. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
  448. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  449. package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
  450. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  451. package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
  452. package/dist/components/arcgis-sketch/customElement.js +18 -10
  453. package/dist/components/arcgis-slice/customElement.d.ts +3 -3
  454. package/dist/components/arcgis-slice/customElement.js +14 -15
  455. package/dist/components/arcgis-spinner/customElement.js +1 -1
  456. package/dist/components/arcgis-swipe/customElement.d.ts +5 -3
  457. package/dist/components/arcgis-swipe/customElement.js +2 -2
  458. package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
  459. package/dist/components/arcgis-table-list/customElement.js +1 -1
  460. package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
  461. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  462. package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
  463. package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
  464. package/dist/components/arcgis-track/customElement.d.ts +3 -3
  465. package/dist/components/arcgis-track/customElement.js +2 -2
  466. package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
  467. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  468. package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
  469. package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
  470. package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
  471. package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
  472. package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
  473. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
  474. package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
  475. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  476. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  477. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  478. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  479. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  480. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
  481. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  482. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
  483. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +38 -52
  484. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
  485. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
  486. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
  487. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
  488. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
  489. package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
  490. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
  491. package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
  492. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
  493. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
  494. package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
  495. package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
  496. package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
  497. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
  498. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  499. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
  500. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  501. package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
  502. package/dist/components/arcgis-version-management/customElement.js +2 -2
  503. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  504. package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
  505. package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
  506. package/dist/components/arcgis-version-management-version-list/index.js +2 -1
  507. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  508. package/dist/components/arcgis-video/customElement.d.ts +4 -4
  509. package/dist/components/arcgis-video/customElement.js +1 -1
  510. package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
  511. package/dist/components/arcgis-video-player/customElement.js +4 -4
  512. package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
  513. package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
  514. package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
  515. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  516. package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
  517. package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
  518. package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
  519. package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
  520. package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
  521. package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
  522. package/dist/components/arcgis-volume-measurement/index.js +10 -0
  523. package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
  524. package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
  525. package/dist/components/arcgis-weather/customElement.d.ts +18 -2
  526. package/dist/components/arcgis-weather/customElement.js +150 -132
  527. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  528. package/dist/components/arcgis-zoom/customElement.js +2 -2
  529. package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
  530. package/dist/controllers/uiController.d.ts +5 -0
  531. package/dist/controllers/useArcgisLoadError.d.ts +27 -0
  532. package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
  533. package/dist/controllers/useHandles.d.ts +1 -1
  534. package/dist/controllers/useViewModel.d.ts +1 -1
  535. package/dist/controllers/useWidget.d.ts +1 -1
  536. package/dist/docs/api.json +11667 -10489
  537. package/dist/docs/docs.json +6659 -5580
  538. package/dist/docs/vscode.css-custom-data.json +16 -16
  539. package/dist/docs/vscode.html-custom-data.json +555 -506
  540. package/dist/docs/web-types.json +1375 -1117
  541. package/dist/index.d.ts +59 -40
  542. package/dist/index.js +1 -1
  543. package/dist/loader.js +33 -30
  544. package/dist/support/AnalysisViewModel.d.ts +2 -1
  545. package/dist/support/handle.d.ts +1 -1
  546. package/dist/support/measurementUtils.d.ts +7 -4
  547. package/dist/types/lumina.d.ts +48 -29
  548. package/dist/types/preact.d.ts +52 -31
  549. package/dist/types/preact10.d.ts +56 -33
  550. package/dist/types/react.d.ts +56 -33
  551. package/dist/types/stencil.d.ts +48 -29
  552. package/dist/utils/async-utils.d.ts +19 -0
  553. package/dist/utils/feature-utils.d.ts +16 -1
  554. package/dist/utils/highlight-utils.d.ts +22 -0
  555. package/dist/utils/layer-utils.d.ts +4 -0
  556. package/package.json +5 -5
  557. package/dist/cdn/26MREIVX.js +0 -4
  558. package/dist/cdn/2HCAQJDA.js +0 -4
  559. package/dist/cdn/2NGYP2TU.js +0 -4
  560. package/dist/cdn/2OPKEDRF.js +0 -4
  561. package/dist/cdn/2QQXT6S3.js +0 -4
  562. package/dist/cdn/2U56XZA5.js +0 -4
  563. package/dist/cdn/3LFISTCL.js +0 -4
  564. package/dist/cdn/3QEGCSXN.js +0 -4
  565. package/dist/cdn/3TXEUTMX.js +0 -4
  566. package/dist/cdn/4ELLMRLV.js +0 -4
  567. package/dist/cdn/4LG44MCV.js +0 -4
  568. package/dist/cdn/52TIW2GW.js +0 -4
  569. package/dist/cdn/5K7B7ZV3.js +0 -4
  570. package/dist/cdn/6OBLJBSZ.js +0 -4
  571. package/dist/cdn/6UIGZRW5.js +0 -4
  572. package/dist/cdn/6V2MNKRP.js +0 -4
  573. package/dist/cdn/6WKL7XXK.js +0 -4
  574. package/dist/cdn/752MVXWG.js +0 -4
  575. package/dist/cdn/7HIVI5W6.js +0 -4
  576. package/dist/cdn/7IIYFAL2.js +0 -4
  577. package/dist/cdn/7LENP7UQ.js +0 -4
  578. package/dist/cdn/7M3YBBT4.js +0 -4
  579. package/dist/cdn/7OXV6AQA.js +0 -4
  580. package/dist/cdn/AT7HVKEZ.js +0 -4
  581. package/dist/cdn/BU6LB2N4.js +0 -4
  582. package/dist/cdn/CI7PXTLU.js +0 -4
  583. package/dist/cdn/CP23UGPK.js +0 -4
  584. package/dist/cdn/CP2HQZUP.js +0 -9
  585. package/dist/cdn/D332NHX4.js +0 -4
  586. package/dist/cdn/DELN7ZGL.js +0 -5
  587. package/dist/cdn/DHEMTNFY.js +0 -4
  588. package/dist/cdn/EBLK7WAD.js +0 -4
  589. package/dist/cdn/EEVS67WB.js +0 -4
  590. package/dist/cdn/EHSC3ELP.js +0 -4
  591. package/dist/cdn/F67NPTF5.js +0 -4
  592. package/dist/cdn/FESFNS34.js +0 -4
  593. package/dist/cdn/FFQ5PPQJ.js +0 -4
  594. package/dist/cdn/FHIPTY2Q.js +0 -4
  595. package/dist/cdn/FSHOPPLQ.js +0 -4
  596. package/dist/cdn/FSU3E6AQ.js +0 -4
  597. package/dist/cdn/FVILGVFZ.js +0 -4
  598. package/dist/cdn/G4H5D4DJ.js +0 -4
  599. package/dist/cdn/G54Y3XZX.js +0 -4
  600. package/dist/cdn/GFOOUTML.js +0 -4
  601. package/dist/cdn/GLOIWZ3O.js +0 -4
  602. package/dist/cdn/H3JJOTON.js +0 -4
  603. package/dist/cdn/H7YNL2TB.js +0 -4
  604. package/dist/cdn/HJU6AZMW.js +0 -4
  605. package/dist/cdn/HK3XAWSI.js +0 -4
  606. package/dist/cdn/HQCVE2GO.js +0 -4
  607. package/dist/cdn/HVWVEPEF.js +0 -4
  608. package/dist/cdn/HYQZEUBU.js +0 -4
  609. package/dist/cdn/HYTYRGG4.js +0 -4
  610. package/dist/cdn/IC6SSSQO.js +0 -4
  611. package/dist/cdn/IDDFJ4DV.js +0 -4
  612. package/dist/cdn/ILRNOAV4.js +0 -4
  613. package/dist/cdn/IT3LUX3O.js +0 -4
  614. package/dist/cdn/IUY6HYRA.js +0 -4
  615. package/dist/cdn/JQ5GUQ7P.js +0 -4
  616. package/dist/cdn/JQMPF5IV.js +0 -4
  617. package/dist/cdn/KRGNBQ5Z.js +0 -4
  618. package/dist/cdn/KRM4ZBQX.js +0 -4
  619. package/dist/cdn/LDR7F5EQ.js +0 -4
  620. package/dist/cdn/LHRDTGQY.js +0 -4
  621. package/dist/cdn/LJGUZAHH.js +0 -4
  622. package/dist/cdn/LYR5T5U2.js +0 -4
  623. package/dist/cdn/M5TG4CFU.js +0 -4
  624. package/dist/cdn/MBMBYUJM.js +0 -4
  625. package/dist/cdn/MDSY3NEJ.js +0 -4
  626. package/dist/cdn/MIILDVMA.js +0 -4
  627. package/dist/cdn/MJTBUONI.js +0 -4
  628. package/dist/cdn/MROG6VEE.js +0 -4
  629. package/dist/cdn/N4IL4AAP.js +0 -4
  630. package/dist/cdn/NAUZASE4.js +0 -4
  631. package/dist/cdn/NKFSCGG6.js +0 -4
  632. package/dist/cdn/NSWHZFRT.js +0 -4
  633. package/dist/cdn/O6ETD4MH.js +0 -4
  634. package/dist/cdn/OKDOTHSU.js +0 -4
  635. package/dist/cdn/OM64AHWG.js +0 -4
  636. package/dist/cdn/PDTW4YVA.js +0 -4
  637. package/dist/cdn/PIAPT753.js +0 -4
  638. package/dist/cdn/PLSSYDMD.js +0 -4
  639. package/dist/cdn/PQELEFJN.js +0 -4
  640. package/dist/cdn/PTBGNUJM.js +0 -4
  641. package/dist/cdn/PTVDQWLH.js +0 -4
  642. package/dist/cdn/PV45DKP7.js +0 -4
  643. package/dist/cdn/QL45S7N3.js +0 -4
  644. package/dist/cdn/R52GAK7D.js +0 -4
  645. package/dist/cdn/RESW7W5U.js +0 -4
  646. package/dist/cdn/RGWLLT5R.js +0 -4
  647. package/dist/cdn/RR5AN2LO.js +0 -4
  648. package/dist/cdn/RRFZLG2A.js +0 -4
  649. package/dist/cdn/RRSFGBWH.js +0 -4
  650. package/dist/cdn/RRTNNJPP.js +0 -4
  651. package/dist/cdn/RVLHZ2VH.js +0 -4
  652. package/dist/cdn/RZEP2TRT.js +0 -4
  653. package/dist/cdn/S6KB7IUN.js +0 -4
  654. package/dist/cdn/SAUW35NW.js +0 -4
  655. package/dist/cdn/SNL2OTTM.js +0 -4
  656. package/dist/cdn/SSWX5ZC5.js +0 -4
  657. package/dist/cdn/STEBIRS4.js +0 -4
  658. package/dist/cdn/SVWGIDDU.js +0 -4
  659. package/dist/cdn/SWZPUBX6.js +0 -4
  660. package/dist/cdn/SXGMPEP3.js +0 -4
  661. package/dist/cdn/TELHVYR4.js +0 -4
  662. package/dist/cdn/UKIS5KFN.js +0 -4
  663. package/dist/cdn/V3W3XWBZ.js +0 -4
  664. package/dist/cdn/VD6BHESH.js +0 -4
  665. package/dist/cdn/VS3WT3CK.js +0 -4
  666. package/dist/cdn/W75DFBEN.js +0 -4
  667. package/dist/cdn/WFURIXQT.js +0 -4
  668. package/dist/cdn/WPILMPPG.js +0 -4
  669. package/dist/cdn/WVIM6FIJ.js +0 -4
  670. package/dist/cdn/X262DH36.js +0 -4
  671. package/dist/cdn/X3ERGEZW.js +0 -4
  672. package/dist/cdn/X54JTEIS.js +0 -4
  673. package/dist/cdn/XGEGIP2X.js +0 -4
  674. package/dist/cdn/XI2OTXXN.js +0 -4
  675. package/dist/cdn/Y363VSHL.js +0 -4
  676. package/dist/cdn/YKC76WL2.js +0 -4
  677. package/dist/cdn/YWUALWAR.js +0 -4
  678. package/dist/cdn/ZCOROTYT.js +0 -4
  679. package/dist/cdn/ZJXPCSTB.js +0 -4
  680. package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
  681. package/dist/chunks/uiController.js +0 -50
  682. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
  683. package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
  684. package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
  685. package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
  686. package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
  687. package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
  688. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
  689. package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
  690. package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
  691. package/dist/components/arcgis-version-management-version-item/index.js +0 -5
  692. package/dist/utils/mapping-utils.d.ts +0 -2
  693. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
  694. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
  695. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
  696. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
  697. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
  698. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
  699. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
  700. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
  701. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
  702. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
  703. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
  704. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
  705. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
  706. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
  707. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
  708. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
  709. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
  710. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
  711. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
  712. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
  713. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
  714. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
  715. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
  716. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
  717. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
  718. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
  719. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
  720. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
  721. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
  722. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
  723. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
  724. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
  725. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
  726. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
  727. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
  728. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
  729. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
  730. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
  731. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
@@ -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.50 */
4
+ import{J as i,a as s,b as c}from"./PVIU5CKI.js";var a="arcgis-map",e={base:a,containerUI:`${a}-container-ui`,containerElement:`${a}-container-ui__element`,containerElementDefaultSlot:`${a}-container-ui__element-default`,containerElementPopupSlot:`${a}-container-ui__element-popup`,containerTopLeftColumn:`${a}-container-ui__top-left-column`,containerTopRightColumn:`${a}-container-ui__top-right-column`,containerBottomLeftRow:`${a}-container-ui__bottom-left-row`,containerBottomRightRow:`${a}-container-ui__bottom-right-row`,containerElementTopLeft:`${a}-container-ui__element-top-left`,containerElementTopRight:`${a}-container-ui__element-top-right`,containerElementBottomLeft:`${a}-container-ui__element-bottom-left`,containerElementBottomRight:`${a}-container-ui__element-bottom-right`,containerElementTopStart:`${a}-container-ui__element-top-start`,containerElementTopEnd:`${a}-container-ui__element-top-end`,containerElementBottomStart:`${a}-container-ui__element-bottom-start`,containerElementBottomEnd:`${a}-container-ui__element-bottom-end`},t={topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",topStart:"top-start",topEnd:"top-end",bottomStart:"bottom-start",bottomEnd:"bottom-end",popup:"popup"};function d(r,n,l){return c`<div class=${i({[e.containerElementPopupSlot]:!0})}><slot name=${t.popup} @slotchange=${n}></slot></div><div class=${i({[e.containerElementDefaultSlot]:!0})}>${l}<slot></slot></div><div class=${i({[e.containerTopLeftColumn]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementTopLeft]:!0})}><slot name=${t.topLeft}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementTopStart]:!0})}><slot name=${r==="ltr"?t.topStart:t.topEnd}></slot></div></div><div class=${i({[e.containerTopRightColumn]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementTopRight]:!0})}><slot name=${t.topRight}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementTopEnd]:!0})}><slot name=${r==="ltr"?t.topEnd:t.topStart}></slot></div></div><div class=${i({[e.containerBottomLeftRow]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementBottomLeft]:!0})}><slot name=${t.bottomLeft}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementBottomStart]:!0})}><slot name=${r==="ltr"?t.bottomStart:t.bottomEnd}></slot></div></div><div class=${i({[e.containerBottomRightRow]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementBottomRight]:!0})}><slot name=${t.bottomRight}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementBottomEnd]:!0})}><slot name=${r==="ltr"?t.bottomEnd:t.bottomStart}></slot></div></div>`}var m=s`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-expand-max-height: var(--calcite-spacing-xxxl);--arcgis-collapse-icon-flip: scaleX(1);--arcgis-row-direction: row;--arcgis-legend-internal-width: 300px;--arcgis-layout-overlay-space-top: 0px;--arcgis-layout-overlay-space-bottom: 0px;--arcgis-layout-overlay-space-left: 0px;--arcgis-layout-overlay-space-right: 0px;--arcgis-internal-sketch-justify-content: flex-start}:host{display:block;position:relative;height:100%;width:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);container:arcgis-map-container/size;contain:layout}::slotted(:is([closed],[closed="true"])){display:none}:dir(rtl) ::slotted(:not(arcgis-swipe)){direction:rtl}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-attachments,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-coordinate-conversion,arcgis-daylight,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-elevation-profile,arcgis-expand,arcgis-feature-form,arcgis-features,arcgis-feature-table,arcgis-fullscreen,arcgis-grid-controls,arcgis-home,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-link-chart-layout-switcher,arcgis-locate,arcgis-measurement,arcgis-navigation-toggle,arcgis-oriented-imagery-viewer,arcgis-print,arcgis-search,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-time-slider,arcgis-time-zone-label,arcgis-track,arcgis-utility-network-associations,arcgis-utility-network-trace,arcgis-utility-network-validate-topology,arcgis-version-management,arcgis-video-player,arcgis-weather,arcgis-zoom)){box-shadow:var(--arcgis-internal-box-shadow)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-map-container-ui{position:absolute;inset:var(--calcite-spacing-none);padding:var(--calcite-spacing-none);z-index:var(--calcite-z-index);pointer-events:none;background:none}.arcgis-map-container-ui__element{display:flex;flex-direction:column;pointer-events:none;width:max-content;max-width:100%}.arcgis-map-container-ui__element .esri-widget--panel{min-width:var(--arcgis-internal-panel-width)}.arcgis-map-container-ui__element-popup,.arcgis-map-container-ui__element-default{pointer-events:none;max-width:100%;position:absolute;display:block;inset:var(--calcite-spacing-none);width:100%;::slotted(:not(arcgis-swipe)){pointer-events:auto}}.arcgis-map-container-ui__top-left-column{position:absolute;top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;margin-top:var(--calcite-spacing-lg);margin-left:var(--calcite-spacing-lg);padding-top:var(--arcgis-layout-overlay-space-top);padding-left:var(--arcgis-layout-overlay-space-left);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}}.arcgis-map-container-ui__top-left-column:dir(rtl){align-items:flex-end;::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}}.arcgis-map-container-ui__top-right-column{position:absolute;top:var(--calcite-spacing-none);right:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;margin-top:var(--calcite-spacing-lg);margin-right:var(--calcite-spacing-lg);padding-top:var(--arcgis-layout-overlay-space-top);padding-right:var(--arcgis-layout-overlay-space-right);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__top-right-column:dir(rtl){align-items:flex-start;::slotted(arcgis-floor-filter){--arcgis-row-direction: row}}.arcgis-map-container-ui__element-top-left{top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-left:dir(rtl){align-items:flex-end}.arcgis-map-container-ui__element-top-right{position:relative;justify-content:flex-start;align-items:flex-end;margin-left:auto;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-right:dir(rtl){align-items:flex-start}.arcgis-map-container-ui__element-top-start{position:relative;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-start:dir(rtl){align-items:flex-end;--arcgis-internal-sketch-justify-content: flex-start;::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}}.arcgis-map-container-ui__element-top-end{position:relative;justify-content:flex-start;align-items:flex-end;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-end:dir(rtl){align-items:flex-start;--arcgis-internal-sketch-justify-content: flex-end}.arcgis-map-container-ui__bottom-left-row{position:absolute;bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:row;align-items:flex-end;max-width:100%;margin-left:var(--calcite-spacing-lg);margin-bottom:var(--calcite-spacing-xxxl);padding-left:var(--arcgis-layout-overlay-space-left);padding-bottom:var(--arcgis-layout-overlay-space-bottom);::slotted(:last-child){margin-right:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}}.arcgis-map-container-ui__bottom-left-row:dir(rtl){flex-direction:row-reverse;::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}}.arcgis-map-container-ui__bottom-right-row{position:absolute;bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);display:flex;flex-direction:row-reverse;align-items:flex-end;max-width:100%;margin-right:var(--calcite-spacing-lg);margin-bottom:var(--calcite-spacing-xxxl);padding-right:var(--arcgis-layout-overlay-space-right);padding-bottom:var(--arcgis-layout-overlay-space-bottom);::slotted(:last-child){margin-left:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}}.arcgis-map-container-ui__bottom-right-row:dir(rtl){flex-direction:row;::slotted(arcgis-floor-filter){--arcgis-row-direction: row}}.arcgis-map-container-ui__element-bottom-left{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-right{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end;--arcgis-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-start{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-right:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-start}}.arcgis-map-container-ui__element-bottom-end{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end;--arcgis-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-left:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__element>*{pointer-events:auto}@container arcgis-map-container (height >= 0){::slotted(arcgis-sketch){--responsive-toolbar-vert-width: var(--calcite-spacing-none);--responsive-toolbar-vert-height: min(100vh - 120px, 100cqh - 120px);--responsive-toolbar-horiz-width: min(100vw - 60px, 100cqw - 60px);--responsive-toolbar-horiz-height: var(--calcite-spacing-none)}}@container arcgis-map-container (max-height: 544px) or (max-width: 544px){::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-button-display: none;--arcgis-internal-floor-filter-menu-width: 225px}}@container arcgis-map-container (max-height: 499.99px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-sm);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-sm)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-sm)}}@container arcgis-map-container (min-height: 500px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-md);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 320px;--arcgis-internal-floor-filter-levels-max-height: 320px}}@container arcgis-map-container (min-height: 768px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 420px;--arcgis-internal-floor-filter-levels-max-height: 420px}}@container arcgis-map-container (min-height: 992px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}}@container arcgis-map-container (min-height: 1200px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-xl);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-xl)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-xl)}}@container arcgis-map-container (min-width: 544px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 768px){::slotted(:is(arcgis-legend[card-style-layout="auto"])){--arcgis-legend-internal-width: auto}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 992px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 1200px){::slotted(:is(arcgis-basemap-gallery)){width:var(--arcgis-internal-basemap-gallery-width-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}`;export{e as a,d as b,m as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.5 */
4
- import b from"./4LHPWTSQ.js";import"./I6QIB7JC.js";import"./AN73DPMU.js";import{I as n,K as l,O as c,a,b as r}from"./4J7UXW4V.js";import"./BXK33PBZ.js";export default $arcgis.t(([p])=>{var h=a`:host{display:contents}calcite-loader{position:absolute}`,e=class extends n{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.trackLocation=!1,this.screenLocation=p(this)}static{this.properties={autoDestroyDisabled:5,trackLocation:5,screenLocation:32,label:1,location:0,view:0}}static{this.styles=h}async destroy(){await this.manager.destroy()}_getPositionStyles(){let{screenLocation:t,view:i}=this;if(i==null||t==null)return{};let{padding:o}=i,s=16;return{"--calcite-loader-size":`${s}px`,left:`${t.x-(o.left??0)-s/2}px`,top:`${t.y-(o.top??0)-s/2}px`}}render(){return this.screenLocation?r`<calcite-loader .label=${this.label??""} inline style=${l(this._getPositionStyles())}></calcite-loader>`:null}};c("arcgis-spinner",e);return e},b)
3
+ v5.0.0-next.50 */
4
+ import b from"./E6FF6DBL.js";import"./UTGU63V4.js";import"./SVL5D73B.js";import{I as n,K as l,O as c,a,b as r}from"./PVIU5CKI.js";import"./TUSRIHUK.js";export default $arcgis.t(([p])=>{var h=a`:host{display:contents}calcite-loader{position:absolute}`,e=class extends n{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.trackLocation=!1,this.screenLocation=p(this)}static{this.properties={autoDestroyDisabled:5,trackLocation:5,screenLocation:32,label:1,location:0,view:0}}static{this.styles=h}async destroy(){await this.manager.destroy()}_getPositionStyles(){let{screenLocation:t,view:i}=this;if(i==null||t==null)return{};let{padding:o}=i,s=16;return{"--calcite-loader-size":`${s}px`,left:`${t.x-(o.left??0)-s/2}px`,top:`${t.y-(o.top??0)-s/2}px`}}render(){return this.screenLocation?r`<calcite-loader .label=${this.label??""} inline style=${l(this._getPositionStyles())}></calcite-loader>`:null}};c("arcgis-spinner",e);return e},b)
@@ -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.50 */
4
+ import{e as r}from"./UTGU63V4.js";import"./SVL5D73B.js";import{I as o,O as n,b as t}from"./PVIU5CKI.js";import"./TUSRIHUK.js";export default $arcgis.t(([h,{watch:v}])=>{var _=["Auto"],g=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],d=new h([255,127,0]),s=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._direction=r(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,a=this._direction==="rtl"?"chevron-left":"chevron-right",p=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({label:i,value:c})=>t`<calcite-list-item .disabled=${l?.layer?.isLive&&c!==1} .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${_.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,$=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??d.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new h(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??d.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?p:null}${this._active==="quality"?m:null}${this._active==="color"?$:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",s);return s},"Color","core/reactiveUtils")
@@ -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.5 */
4
- import{a as u}from"./B4YSX2BI.js";import e from"./TRGKRUEY.js";import{a as y}from"./E734O7ZN.js";import{a as $}from"./REQDDBVN.js";import d from"./L5R3WRXO.js";import c from"./4TPCMFWZ.js";import{g as S}from"./I6QIB7JC.js";import"./VX7UD4NL.js";import{b as x}from"./AN73DPMU.js";import{H as _,I as v,J as a,L as w,M as f,O as b,a as p,b as s,s as m}from"./4J7UXW4V.js";import"./BXK33PBZ.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.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-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-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,e)
3
+ v5.0.0-next.50 */
4
+ import{a as u}from"./Q26EAKYK.js";import e from"./WH6NRJUB.js";import{a as y}from"./D5MKLTGH.js";import{a as $}from"./HNN7ILDY.js";import d from"./VZOXMFQJ.js";import c from"./C2S5Q3QQ.js";import{g as S}from"./UTGU63V4.js";import"./YUYTDDAR.js";import{b as x}from"./SVL5D73B.js";import{H as _,I as v,J as a,L as w,M as f,O as b,a as p,b as s,s as m}from"./PVIU5CKI.js";import"./TUSRIHUK.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.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-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-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,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.5 */
4
- import{a as ve}from"./A2W2SQO4.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./YWUALWAR.js";import{N as O,a as H,u as k}from"./PIH3NRT7.js";import{a as ge,b as ee,d as T,e as f}from"./FRWCQ2AN.js";import{U as j,V as ye,g as X,o as w}from"./NKFSCGG6.js";import"./BXK33PBZ.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
3
+ v5.0.0-next.50 */
4
+ import{a as ve}from"./4YDCZM2V.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./KF2NRWDA.js";import{N as O,a as H,u as k}from"./BSCK636J.js";import{a as ge,b as ee,d as T,e as f}from"./J3S54ODM.js";import{U as j,V as ye,g as X,o as w}from"./MDP2QMXY.js";import"./TUSRIHUK.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
@@ -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.5 */
4
- import{a as m}from"./FRWCQ2AN.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./NKFSCGG6.js";import{a as q}from"./BXK33PBZ.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.50 */
4
+ import{a as m}from"./J3S54ODM.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./MDP2QMXY.js";import{a as q}from"./TUSRIHUK.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};
@@ -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.50 */
4
+ import c from"./IYQA6UQT.js";import{a as w,c as u}from"./7ZZWMYJZ.js";import{a as y}from"./7YY657FV.js";import b from"./VZOXMFQJ.js";import"./UTGU63V4.js";import{d as g,e as d}from"./YUYTDDAR.js";import"./SVL5D73B.js";import{G as r,H as h,I as p,J as n,O as v,b as s,s as a}from"./PVIU5CKI.js";import"./TUSRIHUK.js";export default $arcgis.t(([{watch:c},E,C,{a:e,b:o,f:m},{a:V,b:f,c:b}])=>{var _=o(C,{}),k=o(E,{}),l=class extends p{constructor(){super(),this._containerRef=r(),this._mapRef=r(),this._uiController=new V(this),this.arcgisLoadError=f(this),this.arcgisViewReadyError=b(this),this._map=_(this),this.view=k(this),this.animationsDisabled=this.view.animationsEnabled,this.allLayerViews=this.view.allLayerViews,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewAnalysisViewCreate=e(()=>this.view,"analysis-view-create"),this.arcgisViewAnalysisViewCreateError=e(()=>this.view,"analysis-view-create-error"),this.arcgisViewAnalysisViewDestroy=e(()=>this.view,"analysis-view-destroy"),this.arcgisViewChange=a(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=a(),this.view.ui={components:[]}}static{this.properties={_map:16,view:32,animationsDisabled:5,aria:0,attributionItems:32,allLayerViews:0,analyses:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,focusAreas:0,graphics:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:4,viewpoint:0,zoom:9,loadErrorSources:0}}static{this.styles=[y,u]}get aria(){return this.view?.aria}set aria(i){this.view&&(this.view.aria=i)}get attributionItems(){return this.view?.attributionItems??[]}get center(){return this.view.center}set center(i){let t=d(i,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(i){this.extent?.equals(i)||(this.view.extent=i)}get focusAreas(){return this.map?this.map?.focusAreas:{areas:[],style:"bright"}}set focusAreas(i){this.map&&(this.map.focusAreas=i)}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){m(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,t){this.map?.add(i,t)}async addLayers(i,t){this.map?.addMany(i,t)}async closePopup(){this._uiController.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view.goTo(i,t)}async openPopup(i){this._uiController.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(i,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(t)}async whenAnalysisView(i){return await this.view.whenAnalysisView(i)}async whenLayerView(i){return await this.view.whenLayerView(i)}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.map||=this._map,this.manager.onLifecycle(()=>[c(()=>this.map,t=>{t&&(this._map=t)},{initial:!0,sync:!0}),c(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),c(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}renderMain(){return s`<div class=${n(w.base)} ${h(this._mapRef)}></div>`}render(){return s`<section class=${n(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>${this.renderMain()}`}};v("arcgis-link-chart",l);return l},"core/reactiveUtils","views/LinkChartView","WebLinkChart",b,c)
@@ -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.50 */
4
+ import"./TUSRIHUK.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_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:"i. sz.",_era_bc:"i. e.",A:"de.",P:"du.",AM:"de.",PM:"du.","A.M.":"de.","P.M.":"du.",January:"janu\xE1r",February:"febru\xE1r",March:"m\xE1rcius",April:"\xE1prilis",May:"m\xE1jus",June:"j\xFAnius",July:"j\xFAlius",August:"augusztus",September:"szeptember",October:"okt\xF3ber",November:"november",December:"december",Jan:"jan.",Feb:"febr.",Mar:"m\xE1rc.",Apr:"\xE1pr.","May(short)":"m\xE1j.",Jun:"j\xFAn.",Jul:"j\xFAl.",Aug:"aug.",Sep:"szept.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"vas\xE1rnap",Monday:"h\xE9tf\u0151",Tuesday:"kedd",Wednesday:"szerda",Thursday:"cs\xFCt\xF6rt\xF6k",Friday:"p\xE9ntek",Saturday:"szombat",Sun:"V",Mon:"H",Tue:"K",Wed:"Sze",Thu:"Cs",Fri:"P",Sat:"Szo",_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":"Nagy\xEDt\xE1s/kicsiny\xEDt\xE9s",Play:"Lej\xE1tsz\xE1s",Stop:"Meg\xE1ll\xF3",Legend:"Jelmagyar\xE1zat","Press ENTER to toggle":"",Loading:"Bet\xF6lt\xE9s",Home:"Kezd\u0151lap",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:"Nyomtat\xE1s",Image:"K\xE9p",Data:"Adatok",Print:"Nyomtat\xE1s","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":"Ett\u0151l %1 eddig %2","From %1":"Ett\u0151l %1","To %1":"Eddig %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.5 */
4
- import{a as i}from"./I6QIB7JC.js";import{a as t}from"./VX7UD4NL.js";import{u as s}from"./4J7UXW4V.js";export default $arcgis.t(([c])=>{var p=n=>m(n),e=class extends s{#o;constructor(o){super(o),this.setProvisionalExports(void 0)}hostConnected(){this.component.manager.loadedCalled&&t(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:o}=this.component,h=o.shadowRoot?.firstElementChild??o.firstElementChild??void 0;o.childElem??=h,this.#o=c.when(()=>this.component.view!=null,()=>{this.component.arcgisReady.emit()},{once:!0,initial:!0,sync:!0}),o.isConnected&&t(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.view?.ui?.remove(this.component.el.childElem),this.#o?.remove()}hostUpdate(o){o.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&t(this.component),o.has("referenceElement")&&t(this.component)}},m=i(e);return{a:p,b:e}},"core/reactiveUtils")
3
+ v5.0.0-next.50 */
4
+ import{a as i}from"./UTGU63V4.js";import{a as t}from"./YUYTDDAR.js";import{u as s}from"./PVIU5CKI.js";export default $arcgis.t(([c])=>{var p=n=>m(n),e=class extends s{#o;constructor(o){super(o),this.setProvisionalExports(void 0)}hostConnected(){this.component.manager.loadedCalled&&t(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:o}=this.component,h=o.shadowRoot?.firstElementChild??o.firstElementChild??void 0;o.childElem??=h,this.#o=c.when(()=>this.component.view!=null,()=>{this.component.arcgisReady.emit()},{once:!0,initial:!0,sync:!0}),o.isConnected&&t(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.view?.ui?.remove(this.component.el.childElem),this.#o?.remove()}hostUpdate(o){o.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&t(this.component),o.has("referenceElement")&&t(this.component)}},m=i(e);return{a:p,b:e}},"core/reactiveUtils")