@arcgis/map-components 5.0.0-next.43 → 5.0.0-next.44

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 (405) hide show
  1. package/dist/cdn/{HYMVA5OI.js → 22VXRYXR.js} +2 -2
  2. package/dist/cdn/{B3EZ6EKX.js → 232FSO6P.js} +2 -2
  3. package/dist/cdn/{OOKJXX5T.js → 237VUFOT.js} +2 -2
  4. package/dist/cdn/{Y4OZOFDJ.js → 2NPH7TXU.js} +2 -2
  5. package/dist/cdn/{33W6VOF6.js → 2SKF2LQL.js} +2 -2
  6. package/dist/cdn/{BPEO3URI.js → 3BLII4OZ.js} +2 -2
  7. package/dist/cdn/{YZN7APKW.js → 3DUHEL7H.js} +2 -2
  8. package/dist/cdn/{PLV4UBZQ.js → 3K22I45N.js} +2 -2
  9. package/dist/cdn/{YANBKM2N.js → 3LXQSHOL.js} +2 -2
  10. package/dist/cdn/{WJQKWQDW.js → 3T6KN3IS.js} +2 -2
  11. package/dist/cdn/{RGSKAHYD.js → 3UE3R5RK.js} +2 -2
  12. package/dist/cdn/{LN4KASUC.js → 3VUYU3LE.js} +2 -2
  13. package/dist/cdn/{T63Z7E5A.js → 42EKWBDT.js} +2 -2
  14. package/dist/cdn/{33QZQPI2.js → 43UUKTLI.js} +2 -2
  15. package/dist/cdn/{ZIXNVI5T.js → 4CIR63HD.js} +2 -2
  16. package/dist/cdn/{WLY3BOOF.js → 4JD2L4P7.js} +2 -2
  17. package/dist/cdn/{GAJBVQUT.js → 4PMRSKFV.js} +2 -2
  18. package/dist/cdn/{EZ3CJLOG.js → 4TEQPTTK.js} +2 -2
  19. package/dist/cdn/{7EEIGU7N.js → 53AQDTKK.js} +2 -2
  20. package/dist/cdn/5DNLSO7G.js +4 -0
  21. package/dist/cdn/{TCRJYUWY.js → 5JVLGY7X.js} +2 -2
  22. package/dist/cdn/{HJ5QLBR6.js → 5OH3B3EG.js} +2 -2
  23. package/dist/cdn/{6MSQCNIN.js → 5Q4E3RBL.js} +2 -2
  24. package/dist/cdn/{6IMO5VGU.js → 5RBFVQ2M.js} +1 -1
  25. package/dist/cdn/{6NQHQVJI.js → 5WQT57OW.js} +2 -2
  26. package/dist/cdn/{UQCC2YIW.js → 5XPK2LAW.js} +2 -2
  27. package/dist/cdn/{5CF6LDOO.js → 5YYXZB5Y.js} +2 -2
  28. package/dist/cdn/{ZOSGNTNO.js → 63INT6LS.js} +2 -2
  29. package/dist/cdn/{6CURHT3M.js → 67U7DKPI.js} +2 -2
  30. package/dist/cdn/{P6DYBDRZ.js → 6HJPVV3S.js} +2 -2
  31. package/dist/cdn/{TLYZIA7Q.js → 6KJVDCQ4.js} +2 -2
  32. package/dist/cdn/{FFXGU54D.js → 6NO5EFB5.js} +2 -2
  33. package/dist/cdn/{PMPAH45A.js → 6QQ3AKIM.js} +2 -2
  34. package/dist/cdn/{V5K4V7LW.js → 6RGHXPIT.js} +2 -2
  35. package/dist/cdn/{OJFIV5HK.js → 6URV54JL.js} +2 -2
  36. package/dist/cdn/{6TCXD7EW.js → 6VL2DY35.js} +2 -2
  37. package/dist/cdn/{ULSATASX.js → 6XWQJHOH.js} +1 -1
  38. package/dist/cdn/{A37GYYED.js → 7DZFGZNO.js} +2 -2
  39. package/dist/cdn/{5C2ZPIZP.js → 7NJOLAM2.js} +2 -2
  40. package/dist/cdn/{RMU5FTAM.js → 7OB7J3IA.js} +2 -2
  41. package/dist/cdn/{IBV63N7C.js → 7TX6H65Z.js} +2 -2
  42. package/dist/cdn/{6BKIRPX5.js → 7ZN4FOWD.js} +2 -2
  43. package/dist/cdn/{MWHAVX4E.js → A5Q27VUC.js} +2 -2
  44. package/dist/cdn/{5DIXHWWP.js → AAALXKYY.js} +2 -2
  45. package/dist/cdn/{R23F5OTV.js → AC5DXKHH.js} +2 -2
  46. package/dist/cdn/{WZD4KEWX.js → AEX423GM.js} +2 -2
  47. package/dist/cdn/{XA6GRUTS.js → AHAY5ATT.js} +2 -2
  48. package/dist/cdn/{IATFXUHC.js → AHWI3HJ3.js} +1 -1
  49. package/dist/cdn/{RYFB436P.js → AQY65VFD.js} +1 -1
  50. package/dist/cdn/{DXLYPDMV.js → B345LFJK.js} +2 -2
  51. package/dist/cdn/{34KACFWH.js → B5YMXLM6.js} +2 -2
  52. package/dist/cdn/{WAGO67VQ.js → BEUBPLTD.js} +2 -2
  53. package/dist/cdn/{FOW2QEHF.js → BLM7S66S.js} +1 -1
  54. package/dist/cdn/{O6ZBEHVG.js → BQYA5UEC.js} +2 -2
  55. package/dist/cdn/{2V4EL2KW.js → BVBVCBWF.js} +2 -2
  56. package/dist/cdn/{SCRS5NPI.js → C7QJH7CI.js} +2 -2
  57. package/dist/cdn/{M3ATLBWD.js → CEG4XLOT.js} +2 -2
  58. package/dist/cdn/{K47TNQSX.js → CFKWDLCD.js} +2 -2
  59. package/dist/cdn/{24JWQHKD.js → CHTIXENV.js} +2 -2
  60. package/dist/cdn/{ORJMTAO7.js → CROBP7NP.js} +2 -2
  61. package/dist/cdn/{FXTOFHXX.js → CSCFMH62.js} +2 -2
  62. package/dist/cdn/{CMZTENW4.js → CVTTLQC7.js} +2 -2
  63. package/dist/cdn/{IUBM3ACC.js → CX5DNWRK.js} +2 -2
  64. package/dist/cdn/{UO64DLHL.js → CYU22I3A.js} +2 -2
  65. package/dist/cdn/{QWMMDUPQ.js → D2QVHMBY.js} +2 -2
  66. package/dist/cdn/{XR2KHAB3.js → DRVOUUMV.js} +2 -2
  67. package/dist/cdn/{HGFC3WVS.js → DUSZ3MGS.js} +2 -2
  68. package/dist/cdn/{FAZP3PWL.js → DVNKOBBP.js} +2 -2
  69. package/dist/cdn/{BWVR5BM7.js → DVXUOW2M.js} +2 -2
  70. package/dist/cdn/{N7VZ5NPP.js → DWRNLUF7.js} +2 -2
  71. package/dist/cdn/{R62VZ4BN.js → DXIS5YJG.js} +2 -2
  72. package/dist/cdn/{PFDOYIRJ.js → DXQUWGVB.js} +2 -2
  73. package/dist/cdn/{ELI3GEPG.js → DXYBLF5M.js} +2 -2
  74. package/dist/cdn/{CCVIGB45.js → DYJT3TA5.js} +2 -2
  75. package/dist/cdn/{75MNEKB5.js → DZZP7CVI.js} +2 -2
  76. package/dist/cdn/E2QGMZ63.js +9 -0
  77. package/dist/cdn/{KD7SWDEN.js → E6X7YKBT.js} +2 -2
  78. package/dist/cdn/{R4QNUUMG.js → EDPM634A.js} +2 -2
  79. package/dist/cdn/{JAWUCMJM.js → F5QRLW6V.js} +2 -2
  80. package/dist/cdn/{33FPFSNA.js → F7VNLOVI.js} +2 -2
  81. package/dist/cdn/{MOVSTX4M.js → F7XBRE7C.js} +2 -2
  82. package/dist/cdn/{62NPNLEN.js → F7XEWPXZ.js} +2 -2
  83. package/dist/cdn/{SQOQ4C2Q.js → FCC4Y2U5.js} +2 -2
  84. package/dist/cdn/{JPFJANJW.js → FLBBYHVV.js} +2 -2
  85. package/dist/cdn/{PP764MI7.js → FUJJJVVM.js} +2 -2
  86. package/dist/cdn/{XJFSXJ4G.js → G5O6WPGS.js} +2 -2
  87. package/dist/cdn/{GIFW6OHN.js → G7BF5UEX.js} +2 -2
  88. package/dist/cdn/{A2VDIJTH.js → GJAX4RAH.js} +2 -2
  89. package/dist/cdn/{YSBCIFMN.js → GMW63QVF.js} +2 -2
  90. package/dist/cdn/{UD3CEQYY.js → GQSTSAOP.js} +2 -2
  91. package/dist/cdn/{YQ6SLUVJ.js → GVCNAFR5.js} +1 -1
  92. package/dist/cdn/{XTAP3GPA.js → GWAR7HKA.js} +2 -2
  93. package/dist/cdn/{74L636QP.js → GZKH6LVD.js} +2 -2
  94. package/dist/cdn/{3QHA3NKB.js → H5ZWTCSN.js} +2 -2
  95. package/dist/cdn/{W7KN3ZR4.js → H6CCOME3.js} +2 -2
  96. package/dist/cdn/{2YKMEZZG.js → HCOELAYK.js} +2 -2
  97. package/dist/cdn/{YHMJ32NI.js → HHUIW2OS.js} +2 -2
  98. package/dist/cdn/{4ZQX2GJU.js → HMBOBPQJ.js} +2 -2
  99. package/dist/cdn/{RBUMO4XG.js → HWM6NYR2.js} +2 -2
  100. package/dist/cdn/{AOCBZL24.js → IOK4DFEX.js} +1 -1
  101. package/dist/cdn/{AQLGI5SD.js → ISJMDKOF.js} +2 -2
  102. package/dist/cdn/{FWPN7E5A.js → J2FDVZUS.js} +2 -2
  103. package/dist/cdn/{7FNLDAPD.js → J4RASCO3.js} +2 -2
  104. package/dist/cdn/{DLUEEI7I.js → J63OXNTN.js} +2 -2
  105. package/dist/cdn/{MDSBA5I6.js → JDMSBKHG.js} +2 -2
  106. package/dist/cdn/{MS2G73QR.js → JG2TR3KM.js} +2 -2
  107. package/dist/cdn/{YL2P2CS4.js → JII54GWG.js} +2 -2
  108. package/dist/cdn/{IFDQTDBJ.js → JXCY6AXA.js} +2 -2
  109. package/dist/cdn/{5X6VJBFY.js → K6WZPHM2.js} +2 -2
  110. package/dist/cdn/{C6UH6DY6.js → KCXVJ6LL.js} +2 -2
  111. package/dist/cdn/{HTKT2ABF.js → KGMVOHHZ.js} +2 -2
  112. package/dist/cdn/{22VN7M36.js → KWTKJE7C.js} +2 -2
  113. package/dist/cdn/{HQRWP3NC.js → L6X2V6Z3.js} +2 -2
  114. package/dist/cdn/{35N6QZPT.js → LCF64Z5O.js} +2 -2
  115. package/dist/cdn/{LPZZKB5M.js → LKGPSVOO.js} +2 -2
  116. package/dist/cdn/{25SUM4WT.js → LY7ST2HZ.js} +2 -2
  117. package/dist/cdn/{EGHRX3AU.js → M4BHMPMJ.js} +2 -2
  118. package/dist/cdn/{4KIQDDYI.js → M6HMUGN2.js} +2 -2
  119. package/dist/cdn/{WDSQ2S5T.js → ML7XQ6GI.js} +2 -2
  120. package/dist/cdn/{G3ZVAFR2.js → MMWWRDCN.js} +2 -2
  121. package/dist/cdn/{22LKLS66.js → MN3US2N3.js} +2 -2
  122. package/dist/cdn/{SBD2BZCS.js → MNQAKXQR.js} +3 -3
  123. package/dist/cdn/{5IGXAUIM.js → MQFFYI3X.js} +2 -2
  124. package/dist/cdn/{OQIOVPDB.js → MV7HY6D7.js} +2 -2
  125. package/dist/cdn/{INHM7HNQ.js → MW5CE2NO.js} +2 -2
  126. package/dist/cdn/{66INSL2S.js → MWXWZDMU.js} +2 -2
  127. package/dist/cdn/{5LOCB54X.js → N6GEBETP.js} +2 -2
  128. package/dist/cdn/{ZDMX5NDQ.js → NHM4UZPK.js} +2 -2
  129. package/dist/cdn/{SOKIJXEM.js → NIBX72AR.js} +2 -2
  130. package/dist/cdn/{324UFGN3.js → NSZBUYYI.js} +2 -2
  131. package/dist/cdn/{PWY6EKJH.js → O4JKKYIZ.js} +2 -2
  132. package/dist/cdn/{7E3QL2XJ.js → O6YG6EXH.js} +2 -2
  133. package/dist/cdn/{MQOLVQSW.js → OCKQZKIU.js} +2 -2
  134. package/dist/cdn/OHOOXYSB.js +4 -0
  135. package/dist/cdn/{KKG6AB32.js → OTWE6ZBM.js} +2 -2
  136. package/dist/cdn/{7AWWRDIP.js → P3XL3L5O.js} +2 -2
  137. package/dist/cdn/{4AQ3HUJJ.js → PARJGGQV.js} +2 -2
  138. package/dist/cdn/{PA7GOKG3.js → PU4ULMW6.js} +1 -1
  139. package/dist/cdn/{R6XYDWNC.js → PX4RA6JL.js} +1 -1
  140. package/dist/cdn/{WTB4V3PH.js → PXUPBI5I.js} +2 -2
  141. package/dist/cdn/{DIHGUHGF.js → Q2YFHGDU.js} +1 -1
  142. package/dist/cdn/{N7H7GSOD.js → Q4SXYS5I.js} +2 -2
  143. package/dist/cdn/{ZZJ6CNS2.js → QG7ODLBB.js} +2 -2
  144. package/dist/cdn/{KNAUEQEN.js → QLCA656K.js} +2 -2
  145. package/dist/cdn/{ZHHPTAW6.js → QNZNKLQJ.js} +2 -2
  146. package/dist/cdn/{QAY4RSUX.js → QVEFB2FN.js} +2 -2
  147. package/dist/cdn/{H3FNCSQA.js → QZYVA2MH.js} +2 -2
  148. package/dist/cdn/{DY55HYCX.js → R2SNFMAP.js} +2 -2
  149. package/dist/cdn/{7LNNUII4.js → RBZGP54L.js} +2 -2
  150. package/dist/cdn/{5KLUNNBZ.js → REZMKIHT.js} +2 -2
  151. package/dist/cdn/{B2NS26VF.js → RFKF7K2A.js} +2 -2
  152. package/dist/cdn/{TRAMJJ3K.js → RLRICK7I.js} +2 -2
  153. package/dist/cdn/{Y4U3A5J4.js → RMYIMSM5.js} +2 -2
  154. package/dist/cdn/{SK2XC25K.js → RRVMZ5ZS.js} +2 -2
  155. package/dist/cdn/{WZ3NXFSD.js → RU4EUS6K.js} +2 -2
  156. package/dist/cdn/{O4R6UILK.js → RY6FVK4S.js} +2 -2
  157. package/dist/cdn/{7Q25WFY7.js → SBAULKZP.js} +2 -2
  158. package/dist/cdn/{LY6IV5CX.js → SBLDNREE.js} +2 -2
  159. package/dist/cdn/{N3W2KX6I.js → SD4T6WCV.js} +2 -2
  160. package/dist/cdn/{TZ6I6LD7.js → SDNY5PWG.js} +2 -2
  161. package/dist/cdn/{SES5O4YE.js → SKQ2Q7OI.js} +2 -2
  162. package/dist/cdn/{PEH4SWX7.js → SQXKD2RJ.js} +2 -2
  163. package/dist/cdn/{5LKUFB6E.js → SR77IQWP.js} +2 -2
  164. package/dist/cdn/{VR76LK2W.js → SUWIKE56.js} +2 -2
  165. package/dist/cdn/{GBYOKUMA.js → T22TCZEV.js} +2 -2
  166. package/dist/cdn/{WWEQZCAX.js → T3VZAXZZ.js} +2 -2
  167. package/dist/cdn/{PTZYYV32.js → TBD5MSUN.js} +2 -2
  168. package/dist/cdn/{DQRF6EKP.js → TBTGCYIK.js} +2 -2
  169. package/dist/cdn/{TMRQUUSV.js → TDFE5K6Y.js} +1 -1
  170. package/dist/cdn/{WAWYEPLC.js → TKEW5YLX.js} +2 -2
  171. package/dist/cdn/{AC23VZ6J.js → TL2WTROO.js} +2 -2
  172. package/dist/cdn/{D4FHOFZY.js → TLGZRPF7.js} +2 -2
  173. package/dist/cdn/{4NNLRZ4K.js → TMTNHLPA.js} +2 -2
  174. package/dist/cdn/{7WN3CWPU.js → TOJGMO37.js} +2 -2
  175. package/dist/cdn/{6CTEM4LH.js → TQP5UU27.js} +2 -2
  176. package/dist/cdn/{KA2UT4B7.js → U4ODZBRO.js} +1 -1
  177. package/dist/cdn/{TJXXVYKF.js → U5W2J7FR.js} +2 -2
  178. package/dist/cdn/U7SIH4M5.js +4 -0
  179. package/dist/cdn/{SCJ4F3LH.js → U7U2BC2Y.js} +2 -2
  180. package/dist/cdn/{Z7ZM3ZUO.js → UB5S2BEU.js} +2 -2
  181. package/dist/cdn/{VXWECXNV.js → UG7CJFQB.js} +2 -2
  182. package/dist/cdn/{YTLJS4SI.js → UJRVUGKM.js} +1 -1
  183. package/dist/cdn/{PH7W4A4X.js → UOMVSBQQ.js} +2 -2
  184. package/dist/cdn/{OB3GPP25.js → V3QT4FQO.js} +2 -2
  185. package/dist/cdn/{O76NN3RS.js → V5H5NCBQ.js} +2 -2
  186. package/dist/cdn/{3OHN7DRV.js → VEH7HHNF.js} +2 -2
  187. package/dist/cdn/{FE276JTC.js → VLMFOCFL.js} +2 -2
  188. package/dist/cdn/{J3VPSL2S.js → VNLLCF3E.js} +2 -2
  189. package/dist/cdn/{Z6DVMJY4.js → VSZ7A6BU.js} +1 -1
  190. package/dist/cdn/{KI4DOJI3.js → VWSLWOIY.js} +2 -2
  191. package/dist/cdn/{OHBXM2NF.js → VZ63CWX3.js} +2 -2
  192. package/dist/cdn/{RLMYC2J3.js → VZNCPQNL.js} +2 -2
  193. package/dist/cdn/{QQBUNQUW.js → VZX5GK5X.js} +2 -2
  194. package/dist/cdn/{QYI4BHX6.js → W333CLKX.js} +2 -2
  195. package/dist/cdn/{YYF5B2LV.js → X6HHOR2F.js} +1 -1
  196. package/dist/cdn/{EBTI7T46.js → X7DZ23U4.js} +2 -2
  197. package/dist/cdn/{65YV6TYY.js → XCQX3UKL.js} +2 -2
  198. package/dist/cdn/{YXH3MPES.js → XI4CNNIC.js} +2 -2
  199. package/dist/cdn/{MKDJBSUB.js → XIHEAA6H.js} +2 -2
  200. package/dist/cdn/{HFZARGRD.js → XKAWF2ZI.js} +2 -2
  201. package/dist/cdn/{SLW3QTFQ.js → XRA67ACR.js} +2 -2
  202. package/dist/cdn/{G7EU2FXV.js → XYD2ZQ34.js} +2 -2
  203. package/dist/cdn/{NDV5AFC5.js → Y22IQVYF.js} +2 -2
  204. package/dist/cdn/{RRZ4NUMQ.js → Y2GRJL4M.js} +2 -2
  205. package/dist/cdn/{X6BNFYKJ.js → Y33YJU7D.js} +2 -2
  206. package/dist/cdn/{4OJAGUGJ.js → Y7HBDG4Y.js} +2 -2
  207. package/dist/cdn/{EKTHC2YA.js → Y7HO3AGA.js} +2 -2
  208. package/dist/cdn/{ROO562DD.js → YF55ZFUG.js} +2 -2
  209. package/dist/cdn/{5FJM7MED.js → YHJOKRS2.js} +2 -2
  210. package/dist/cdn/{IINJSPYU.js → YID2PHWH.js} +2 -2
  211. package/dist/cdn/{WYY73TWO.js → YO6NQUMX.js} +2 -2
  212. package/dist/cdn/{RRO62FHP.js → YUQC2D4X.js} +2 -2
  213. package/dist/cdn/{OLECZ5SR.js → YYSDOUOH.js} +2 -2
  214. package/dist/cdn/{IVG5YQ5B.js → Z5Z4T2AA.js} +2 -2
  215. package/dist/cdn/{M3R3ZXTY.js → Z7HF7DMB.js} +2 -2
  216. package/dist/cdn/{DBNVMCP6.js → ZAJGSGSY.js} +2 -2
  217. package/dist/cdn/{FDFGX75U.js → ZGRS4Q3I.js} +2 -2
  218. package/dist/cdn/{LVF3YTES.js → ZJKCSH5Z.js} +2 -2
  219. package/dist/cdn/{EDKYZNAR.js → ZKHB2LL5.js} +2 -2
  220. package/dist/cdn/{EJR7KBXE.js → ZORTR2XC.js} +2 -2
  221. package/dist/cdn/{D5LPPPZ4.js → ZQ7ITEIE.js} +2 -2
  222. package/dist/cdn/{APH7UWGR.js → ZSX32HKS.js} +2 -2
  223. package/dist/cdn/{VNPA7BA4.js → ZTJ4CU6C.js} +2 -2
  224. package/dist/cdn/{KITOCCGI.js → ZZ27UP6N.js} +2 -2
  225. package/dist/cdn/index.js +2 -2
  226. package/dist/chunks/AnalysisViewModel.js +2 -2
  227. package/dist/chunks/action-utils.js +1 -1
  228. package/dist/chunks/async-utils.js +1 -1
  229. package/dist/chunks/basemap-gallery-resources.js +1 -1
  230. package/dist/chunks/chart-utils.js +1 -1
  231. package/dist/chunks/chartCommon.js +1 -1
  232. package/dist/chunks/component-utils.js +1 -1
  233. package/dist/chunks/createCloseEvent.js +1 -1
  234. package/dist/chunks/esri-main.js +1 -1
  235. package/dist/chunks/feature-utils.js +1 -1
  236. package/dist/chunks/globalCss.js +1 -1
  237. package/dist/chunks/handle.js +1 -1
  238. package/dist/chunks/heading.js +1 -1
  239. package/dist/chunks/layer-list.js +1 -1
  240. package/dist/chunks/legacyIcon.js +1 -1
  241. package/dist/chunks/maybe.js +1 -1
  242. package/dist/chunks/measurementUtils.js +1 -1
  243. package/dist/chunks/runtime.js +1 -1
  244. package/dist/chunks/screenLocation.js +1 -1
  245. package/dist/chunks/slots.js +1 -1
  246. package/dist/chunks/svgUtils.js +1 -1
  247. package/dist/chunks/univariateUtils.js +1 -1
  248. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  249. package/dist/chunks/useHandles.js +1 -1
  250. package/dist/chunks/useT9n.js +1 -1
  251. package/dist/chunks/useView.js +1 -1
  252. package/dist/chunks/useViewModel.js +1 -1
  253. package/dist/chunks/useWidget.js +1 -1
  254. package/dist/chunks/utils.js +1 -1
  255. package/dist/chunks/utils2.js +1 -1
  256. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +3 -2
  257. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  258. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +3 -2
  259. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  260. package/dist/components/arcgis-attachments/customElement.js +1 -1
  261. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  262. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  263. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  264. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  265. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  266. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  267. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  268. package/dist/components/arcgis-compass/customElement.js +1 -1
  269. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  270. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  271. package/dist/components/arcgis-daylight/customElement.js +86 -83
  272. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +3 -2
  273. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  274. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  275. package/dist/components/arcgis-directions/customElement.js +1 -1
  276. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +3 -2
  277. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  278. package/dist/components/arcgis-editor/customElement.js +1 -1
  279. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  280. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  281. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  282. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  283. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  284. package/dist/components/arcgis-expand/customElement.js +1 -1
  285. package/dist/components/arcgis-feature/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  298. package/dist/components/arcgis-features/customElement.js +1 -1
  299. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  300. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  301. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  302. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  303. package/dist/components/arcgis-home/customElement.js +1 -1
  304. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  305. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  306. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  307. package/dist/components/arcgis-legend/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  322. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  323. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  324. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  325. package/dist/components/arcgis-locate/customElement.js +1 -1
  326. package/dist/components/arcgis-map/customElement.js +1 -1
  327. package/dist/components/arcgis-measurement/customElement.js +1 -1
  328. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  329. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  330. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  331. package/dist/components/arcgis-placement/customElement.js +1 -1
  332. package/dist/components/arcgis-popup/customElement.js +1 -1
  333. package/dist/components/arcgis-print/customElement.js +1 -1
  334. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  335. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  336. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  337. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  338. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  339. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  340. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  341. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  342. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  343. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  344. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  345. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  346. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  347. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  348. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  349. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  350. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  351. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  352. package/dist/components/arcgis-scene/customElement.js +1 -1
  353. package/dist/components/arcgis-search/customElement.js +1 -1
  354. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  355. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  356. package/dist/components/arcgis-sketch/customElement.js +1 -1
  357. package/dist/components/arcgis-slice/customElement.js +1 -1
  358. package/dist/components/arcgis-spinner/customElement.js +1 -1
  359. package/dist/components/arcgis-swipe/customElement.js +1 -1
  360. package/dist/components/arcgis-table-list/customElement.js +1 -1
  361. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  362. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  363. package/dist/components/arcgis-track/customElement.js +1 -1
  364. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  365. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  366. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  367. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  368. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  369. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  370. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  371. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  372. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  373. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  374. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  375. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  376. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  377. package/dist/components/arcgis-version-management/customElement.js +1 -1
  378. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  379. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  380. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  381. package/dist/components/arcgis-video/customElement.js +1 -1
  382. package/dist/components/arcgis-video-player/customElement.js +1 -1
  383. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  384. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  385. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  386. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  387. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  388. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  389. package/dist/components/arcgis-weather/customElement.js +1 -1
  390. package/dist/components/arcgis-zoom/customElement.js +1 -1
  391. package/dist/controllers/useHandles.d.ts +1 -1
  392. package/dist/controllers/useViewModel.d.ts +1 -1
  393. package/dist/controllers/useWidget.d.ts +1 -1
  394. package/dist/docs/api.json +3 -3
  395. package/dist/docs/docs.json +3 -3
  396. package/dist/docs/vscode.html-custom-data.json +1 -1
  397. package/dist/docs/web-types.json +2 -2
  398. package/dist/index.js +1 -1
  399. package/dist/loader.js +1 -1
  400. package/dist/support/measurementUtils.d.ts +0 -1
  401. package/package.json +3 -3
  402. package/dist/cdn/7VUMTDVR.js +0 -9
  403. package/dist/cdn/A6CLPSRG.js +0 -4
  404. package/dist/cdn/E4POSBGS.js +0 -4
  405. package/dist/cdn/WSYGJAHC.js +0 -4
@@ -1,6 +1,6 @@
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.43 */
3
+ v5.0.0-next.44 */
4
4
  var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),It=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=It.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&It.set(e,t))}return t}toString(){return this.cssText}},kt=o=>new I(typeof o=="string"?o:o+"",void 0,yt),gt=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new I(e,o,yt)},jt=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},vt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return kt(e)})(o):o;var{is:ve,defineProperty:Ee,getOwnPropertyDescriptor:$e,getOwnPropertyNames:be,getOwnPropertySymbols:_e,getPrototypeOf:Ae}=Object,tt=globalThis,Ht=tt.trustedTypes,Ce=Ht?Ht.emptyScript:"",we=tt.reactiveElementPolyfillSupport,k=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?Ce:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},j=(o,t)=>!ve(o,t),zt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Ee(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=$e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...be(e),..._e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(vt(r))}else t!==void 0&&e.push(vt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return jt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??j)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,we?.({ReactiveElement:b}),(tt.reactiveElementVersions??=[]).push("2.1.0");var $t=globalThis,et=$t.trustedTypes,Vt=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,bt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,_t="?"+_,Oe=`<${_t}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",At=Array.isArray,Kt=o=>At(o)||typeof o?.[Symbol.iterator]=="function",Et=`[
5
5
  \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,Wt=/>/g,w=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Ft=/'/g,qt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),vs=Ct(1),Es=Ct(2),$s=Ct(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Gt=new WeakMap,O=T.createTreeWalker(T,129);function Qt(o,t){if(!At(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vt!==void 0?Vt.createHTML(t):t}var Yt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=Bt:u[1]!==void 0?n=Wt:u[2]!==void 0?(Jt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??H,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?qt:Ft):n===qt||n===Ft?n=w:n===Bt||n===Wt?n=H:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===H?c+Oe:h>=0?(s.push(l),c.slice(0,h)+bt+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Qt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Yt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(bt)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Jt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===_t)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=V(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new L(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new nt(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},L=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Kt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Qt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Gt.get(t.strings);return e===void 0&&Gt.set(t.strings,e=new B(t)),e}k(t){At(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Zt={M:bt,P:_,A:_t,C:1,L:Yt,R:st,D:Kt,V:S,I:L,H:P,N:rt,U:it,B:ot,F:nt},Te=$t.litHtmlPolyfillSupport;Te?.(B,L),($t.litHtmlVersions??=[]).push("3.3.0");var at=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new L(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var wt=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,wt.litElementHydrateSupport?.({LitElement:A});var Se=wt.litElementPolyfillSupport;Se?.({LitElement:A});(wt.litElementVersions??=[]).push("4.2.0");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var q=Symbol.for("controller"),Pe=o=>typeof o=="object"&&o!==null&&(q in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ls=o=>typeof o?.then=="function",Rs=o=>o.M.length,F,N=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},G=o=>F,x=[],Xt=o=>{if(o===void 0){x=[];return}let t=x.indexOf(o);x=t===-1?[...x,o]:x.slice(0,t+1),queueMicrotask(()=>x=[])},te=()=>x,R,Ms=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},xe=()=>{let o=R;return R=void 0,o},ee=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},se=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=G().manager.X(o);if(e!==void 0)return e;if(Pe(o))return o;let s=xe();if(s!==void 0)return s},ct=!1,Is=o=>{ct=!0;try{return o()}finally{ct=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},oe=(o,t)=>{let e=t>Ne?De:t/Ue,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Ne=4e3,De=2e3,Ue=4;var Le=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Re=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Me=(o=[G(),...te()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Le(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ie=(o="",t={},e=G())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Me(void 0,r=>o=r.key,s),s},ke=Ie.bind(null,""),ne;ne=q;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[ne]=!0,this.#a=[];let e=this,s=t??G(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=ie(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Xt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ie(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return N(this.#i),ee}get useRef(){return N(this.#i),se}get useRefSync(){return N(this.#i),lt}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(re,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(re,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){N(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function re(o){p(o,void 0,this)}var ae=Ot,ie=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ht=o=>o.replace(je,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),je=/[A-Z]+(?![a-z])|[A-Z]/gu;var qs=o=>`\u200E${o??""}\u200E`,He="randomUUID"in crypto,Gs=()=>{if(He)return crypto.randomUUID();let o=crypto.getRandomValues(new Uint16Array(8));o[3]=o[3]&4095|16384,o[4]=o[4]&16383|32768;let t=e=>o[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`};var ce=";",dt=",",le=":";var St=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Pt={};function xt(){}var ze=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(ce),g=u?u?.split(dt).map(Ve):void 0,C=g?.map(([U])=>U),D=class extends Tt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(dt):void 0}static{this.D=y?.split(dt)}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},pt=Object.defineProperty,Ve=o=>{let t=o.split(le);return t.length===1?[t[0],ht(t[0])]:t},Be=globalThis.HTMLElement??xt,Tt=class extends Be{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])pt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])pt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=St(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Fe(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(We,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function We([o,t]){this[o]=t}var Fe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var{I:qe}=Zt;var ut=o=>o.strings===void 0,he=()=>document.createComment(""),so=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(he(),r),n=s.insertBefore(he(),r);e=new qe(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},oo=(o,t,e=o)=>(o._$AI(t,e),o),Ge={},de=(o,t=Ge)=>o._$AH=t,ro=o=>o._$AH,io=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},ft=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Qe(t)}};function Ke(o){this._$AN!==void 0?(ft(this),this._$AM=o,pe(this)):this._$AM=o}function Je(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),ft(s[i]);else s!=null&&(J(s,!1),ft(s));else J(this,o)}var Qe=o=>{o.type==m.CHILD&&(o._$AP??=Je,o._$AQ??=Ke)},mt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),ft(this))}setValue(t){if(ut(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var yo=()=>new Dt,Dt=class{},Nt=new WeakMap,Ut=E(class extends mt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Nt.get(t);e===void 0&&(e=new WeakMap,Nt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Nt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ue=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var fe="important",Ze=" !"+fe,me=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Ze);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?fe:""):e[s]=r}}return f}});var Xe=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ut(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var Lt=class extends ae{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Rt in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Rt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),N(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=oe(t,cs)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},cs=1e3,Rt="autoDestroyDisabled",ye=class o extends A{constructor(){super(),this.M=[],this.manager=new Lt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=xt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Pt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ht(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Pt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??St(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Rt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ge=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var yr=o=>typeof o=="object"&&o!=null?ue(o):o,gr=o=>typeof o=="object"&&o!=null?me(o):o;var Mt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Ut(this.#e)):Ut(t)}},vr=E(Mt);var Er=d;var $r=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var us=gt`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`,Q=ge({defaultAssetPath:"https://jsdev.arcgis.com/next/map-components/",hydratedAttribute:"hydrated",commonStyles:us}),{customElement:Or,getAssetPath:Tr,setAssetPath:Sr}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{gt as a,vs as b,Es as c,$s as d,f as e,d as f,at as g,Ls as h,Rs as i,N as j,G as k,Xt as l,te as m,Ms as n,Is as o,Re as p,Me as q,Ie as r,ke as s,Ot as t,ae as u,qs as v,Gs as w,Pt as x,ze as y,m as z,E as A,v as B,so as C,oo as D,de as E,ro as F,io as G,yo as H,Ut as I,ye as J,yr as K,gr as L,Er as M,$r as N,Q as O,Or as P,Tr as Q};
@@ -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.43 */
4
- import c from"./LY6IV5CX.js";import{a as g}from"./B3EZ6EKX.js";import b from"./MQOLVQSW.js";import a from"./O4R6UILK.js";import{g as m}from"./UQCC2YIW.js";import"./R6XYDWNC.js";import"./TMRQUUSV.js";import{J as n,K as h,P as d,a as s,b as e,s as l}from"./YYF5B2LV.js";import"./DIHGUHGF.js";export default $arcgis.t(([v,,{a:p},u])=>{var $=s``,y={basicLayoutCategory:["basic-grid"],organicLayoutCategory:["organic-standard","organic-community","geographic-organic-standard"],treeLayoutCategory:["tree-left-to-right","radial-root-centric"],hierarchicalLayoutCategory:["hierarchical-bottom-to-top"],chronologicalLayoutCategory:["chronological-mono-timeline","chronological-multi-timeline"]},w={"organic-standard":"force-directed-link-chart-layout","organic-community":"community-link-chart-layout","basic-grid":"simple-link-chart-layout","hierarchical-bottom-to-top":"hierarchical-link-chart-layout","radial-root-centric":"radial-tree-link-chart-layout","tree-left-to-right":"smart-tree-link-chart-layout","geographic-organic-standard":"geographic-link-chart-layout","chronological-mono-timeline":"single-timeline","chronological-multi-timeline":"multi-timeline"},b={"organic-standard":"forceDirected","organic-community":"community","basic-grid":"simple","hierarchical-bottom-to-top":"hierarchical","radial-root-centric":"radialTree","tree-left-to-right":"smartTree","geographic-organic-standard":"geographic","chronological-mono-timeline":"chronologicalSingle","chronological-multi-timeline":"chronologicalMultiple"},L={base:"link-chart-layout-switcher"},f=u(v),c=class extends n{constructor(){super(...arguments),this.messages=g(),this.viewModel=f(this),this.view=this.viewModel.view,this.appearance="dropdown",this.autoDestroyDisabled=!1,this.closeOnSelectDisabled=!1,this.icon="nodes-link",this.layout=this.viewModel.layout,this.preventExtentUpdate=this.viewModel.preventExtentUpdate,this.state=this.viewModel.state,this.arcgisSwitchLayout=p(()=>this.viewModel,"switchLayout"),this.arcgisPropertyChange=m()("state"),this.arcgisReady=l()}static{this.properties={view:0,appearance:1,autoDestroyDisabled:5,closeOnSelectDisabled:5,icon:1,label:1,layout:32,messageOverrides:0,position:3,preventExtentUpdate:5,referenceElement:1,state:3}}static{this.styles=$}async destroy(){await this.manager.destroy()}async switchLayout(t){this.viewModel.switchLayout(t)}_renderDropdown(){let{messages:t,icon:a}=this;return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-action slot=trigger .disabled=${this.viewModel.state==="disabled"} .icon=${a??void 0} .label=${t.layoutOptions??"Layout"} appearance=solid scale=s .text=${t.layoutOptions??"Layout"}></calcite-action>${Object.entries(y).map(([r,i])=>e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map(o=>e`<calcite-dropdown-item .iconStart=${w[o]} .selected=${o===this.layout?!0:void 0} @click=${()=>void this.switchLayout(o)}>${t[b[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`}_renderMenuBar(){let{messages:t}=this;return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(y).map(([a,r])=>e`<calcite-action-group .label=${this.messages[a]}>${r.map(i=>e`<calcite-action scale=s .icon=${w[i]} .active=${i===this.layout?!0:void 0} @click=${()=>void this.switchLayout(i)} .text=${t[b[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`}render(){let{appearance:t}=this,a=t==="menu-bar"?this._renderMenuBar():this._renderDropdown();return e`<div class=${h(L.base)}>${a}</div>`}};d("arcgis-link-chart-layout-switcher",c);return c},"widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel",a,b,c)
3
+ v5.0.0-next.44 */
4
+ import c from"./SBLDNREE.js";import{a as g}from"./232FSO6P.js";import b from"./OCKQZKIU.js";import a from"./RY6FVK4S.js";import{g as m}from"./5XPK2LAW.js";import"./PX4RA6JL.js";import"./TDFE5K6Y.js";import{J as n,K as h,P as d,a as s,b as e,s as l}from"./X6HHOR2F.js";import"./Q2YFHGDU.js";export default $arcgis.t(([v,,{a:p},u])=>{var $=s``,y={basicLayoutCategory:["basic-grid"],organicLayoutCategory:["organic-standard","organic-community","geographic-organic-standard"],treeLayoutCategory:["tree-left-to-right","radial-root-centric"],hierarchicalLayoutCategory:["hierarchical-bottom-to-top"],chronologicalLayoutCategory:["chronological-mono-timeline","chronological-multi-timeline"]},w={"organic-standard":"force-directed-link-chart-layout","organic-community":"community-link-chart-layout","basic-grid":"simple-link-chart-layout","hierarchical-bottom-to-top":"hierarchical-link-chart-layout","radial-root-centric":"radial-tree-link-chart-layout","tree-left-to-right":"smart-tree-link-chart-layout","geographic-organic-standard":"geographic-link-chart-layout","chronological-mono-timeline":"single-timeline","chronological-multi-timeline":"multi-timeline"},b={"organic-standard":"forceDirected","organic-community":"community","basic-grid":"simple","hierarchical-bottom-to-top":"hierarchical","radial-root-centric":"radialTree","tree-left-to-right":"smartTree","geographic-organic-standard":"geographic","chronological-mono-timeline":"chronologicalSingle","chronological-multi-timeline":"chronologicalMultiple"},L={base:"link-chart-layout-switcher"},f=u(v),c=class extends n{constructor(){super(...arguments),this.messages=g(),this.viewModel=f(this),this.view=this.viewModel.view,this.appearance="dropdown",this.autoDestroyDisabled=!1,this.closeOnSelectDisabled=!1,this.icon="nodes-link",this.layout=this.viewModel.layout,this.preventExtentUpdate=this.viewModel.preventExtentUpdate,this.state=this.viewModel.state,this.arcgisSwitchLayout=p(()=>this.viewModel,"switchLayout"),this.arcgisPropertyChange=m()("state"),this.arcgisReady=l()}static{this.properties={view:0,appearance:1,autoDestroyDisabled:5,closeOnSelectDisabled:5,icon:1,label:1,layout:32,messageOverrides:0,position:3,preventExtentUpdate:5,referenceElement:1,state:3}}static{this.styles=$}async destroy(){await this.manager.destroy()}async switchLayout(t){this.viewModel.switchLayout(t)}_renderDropdown(){let{messages:t,icon:a}=this;return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-action slot=trigger .disabled=${this.viewModel.state==="disabled"} .icon=${a??void 0} .label=${t.layoutOptions??"Layout"} appearance=solid scale=s .text=${t.layoutOptions??"Layout"}></calcite-action>${Object.entries(y).map(([r,i])=>e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map(o=>e`<calcite-dropdown-item .iconStart=${w[o]} .selected=${o===this.layout?!0:void 0} @click=${()=>void this.switchLayout(o)}>${t[b[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`}_renderMenuBar(){let{messages:t}=this;return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(y).map(([a,r])=>e`<calcite-action-group .label=${this.messages[a]}>${r.map(i=>e`<calcite-action scale=s .icon=${w[i]} .active=${i===this.layout?!0:void 0} @click=${()=>void this.switchLayout(i)} .text=${t[b[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`}render(){let{appearance:t}=this,a=t==="menu-bar"?this._renderMenuBar():this._renderDropdown();return e`<div class=${h(L.base)}>${a}</div>`}};d("arcgis-link-chart-layout-switcher",c);return c},"widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel",a,b,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.43 */
4
- import e from"./LY6IV5CX.js";import{a as I}from"./B3EZ6EKX.js";import{a as f}from"./6IMO5VGU.js";import d from"./MQOLVQSW.js";import a from"./O4R6UILK.js";import{g as k}from"./UQCC2YIW.js";import"./R6XYDWNC.js";import{b as p}from"./TMRQUUSV.js";import{I as b,J as S,K as c,M as m,P as C,a as x,b as r,s as y,w as $}from"./YYF5B2LV.js";import"./DIHGUHGF.js";export default $arcgis.t(([O,h,{substitute:D},{watch:R},z,,,M])=>{function L(n){if(n==null||Number.isNaN(n))return 0;let e=n+180;return Math.trunc(T(e,360))}function B(n){let e=n;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:T(Math.trunc(e),360)-180}function T(n,e){return(n%e+e)%e}var E={fromAttribute:n=>h.fromHex(n),toAttribute:n=>typeof n=="string"?n:n?.toHex()??""},N=x`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);overflow-y:auto;width:100%;.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}`,W="arcgis-grid-controls",s={base:W,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=h.fromArray([115,115,115]),_=h.fromArray([200,200,200]),j=["interactive","place","rotate"],A=M(z),w=class extends S{constructor(){super(...arguments),this._labelUid=$(),this._messages=I({}),this._viewModel=A(this),this._placementModeButtonRefs=new Map,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.view=this._viewModel.view,this.icon=u.componentIcon,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=k()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,view:0,referenceElement:1,position:3,icon:1,customColor:[3,{converter:E}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:E}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=N}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":_.equals(e)?"light":"custom"}set theme(e){let i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=i?.theme?.accentColor??new O().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=_;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[R(()=>this._viewModel.gridColor,e=>{let i=e instanceof h?e:typeof e=="string"?h.fromHex(e):null;i&&!v.equals(e)&&!_.equals(i)?this.customColor=i:v.equals(i)?this.theme="dark":_.equals(i)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let i=e.dataset.placementAction;this._placementModeButtonRefs.set(i,e)}else this._placementModeButtonRefs.clear()}render(){return r`<div class=${c(p(s.base,f.widget,f.panel))}><div class=${c(s.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:i,hideNumericInputs:t,hideLineIntervalInput:a,hideGridSnapEnabledToggle:o,hideDynamicScaleToggle:l,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),i?void 0:this._renderGridPlacementButtons(),t?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!o&&this.snappingOptions?this._renderSnappingToggle():void 0,l?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:i,gridControlsEnabled:t}=this,a=i||!t;return r`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(o=>this._renderPlacementModeButton(o,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,i,t){let a=this._messages?.placementState?.[e],o=this._placementModeButtonRefs.get(e);return r`<div><calcite-action .active=${t===e} alignment=center .disabled=${i} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${o?r`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${o}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:i,effectiveSpacingAfterDynamicScaling:t,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:o}=this,l=t!=null&&t!==i;return r`<div class=${c(p(s.numericInputsContainer))}>${[a?r`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${l?r`<calcite-icon class=${c(p(s.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!o} number-button-type=none .value=${i?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${l&&this._warningIconTooltipRef?r`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:t},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,r`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!o} integer number-button-type=none suffix-text=\u00B0 .value=${`${L(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=B(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:i}=this;return r`<div class=${c(p(s.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!i} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:t})=>{let a=Number.parseInt(t.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(t.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:i}=this,t=e?.gridEnabled??!1;return r`<arcgis-labeled-switch .checked=${!!t} .disabled=${!(i&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:i,dynamicScaling:t,gridControlsEnabled:a}=this,o=!this.hideOutOfScaleWarning&&i;return r`<arcgis-labeled-switch .checked=${t} .disabled=${!a} .hint=${o?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${l=>{l.stopPropagation(),this.dynamicScaling=l.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:i}=this;return r`<arcgis-labeled-switch .checked=${i} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${t=>{t.stopPropagation(),this.rotateWithMap=t.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return r`<div class=${c(s.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return r`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${c(s.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?r`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${i=>{let t=h.fromHex(i.currentTarget.value);t&&(this.customColor=t,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:i,gridControlsEnabled:t}=this,{value:a}=e,o=this._messages?.gridTheme?.[a],l=`${this._labelUid}--theme_tile_${a}`,d=`${l}__label`,g=u.gridTheme[a];return r`<div class=${c(p({[s.tile]:!0,[s.tileDisabled]:!t}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${i===a} .disabled=${!t} id=${l??m} .name=${`${this._labelUid}--theme`} @change=${P=>{this.theme=a,P.currentTarget.focus()}} tabindex=0 type=radio><div class=${c(s.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${l} id=${d??m}>${o}</calcite-label></div></div>`}};C("arcgis-grid-controls",w);return w},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,d,e)
3
+ v5.0.0-next.44 */
4
+ import e from"./SBLDNREE.js";import{a as I}from"./232FSO6P.js";import{a as f}from"./5RBFVQ2M.js";import d from"./OCKQZKIU.js";import a from"./RY6FVK4S.js";import{g as k}from"./5XPK2LAW.js";import"./PX4RA6JL.js";import{b as p}from"./TDFE5K6Y.js";import{I as b,J as S,K as c,M as m,P as C,a as x,b as r,s as y,w as $}from"./X6HHOR2F.js";import"./Q2YFHGDU.js";export default $arcgis.t(([O,h,{substitute:D},{watch:R},z,,,M])=>{function L(n){if(n==null||Number.isNaN(n))return 0;let e=n+180;return Math.trunc(T(e,360))}function B(n){let e=n;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:T(Math.trunc(e),360)-180}function T(n,e){return(n%e+e)%e}var E={fromAttribute:n=>h.fromHex(n),toAttribute:n=>typeof n=="string"?n:n?.toHex()??""},N=x`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);overflow-y:auto;width:100%;.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}`,W="arcgis-grid-controls",s={base:W,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=h.fromArray([115,115,115]),_=h.fromArray([200,200,200]),j=["interactive","place","rotate"],A=M(z),w=class extends S{constructor(){super(...arguments),this._labelUid=$(),this._messages=I({}),this._viewModel=A(this),this._placementModeButtonRefs=new Map,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.view=this._viewModel.view,this.icon=u.componentIcon,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=k()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,view:0,referenceElement:1,position:3,icon:1,customColor:[3,{converter:E}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:E}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=N}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":_.equals(e)?"light":"custom"}set theme(e){let i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=i?.theme?.accentColor??new O().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=_;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[R(()=>this._viewModel.gridColor,e=>{let i=e instanceof h?e:typeof e=="string"?h.fromHex(e):null;i&&!v.equals(e)&&!_.equals(i)?this.customColor=i:v.equals(i)?this.theme="dark":_.equals(i)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let i=e.dataset.placementAction;this._placementModeButtonRefs.set(i,e)}else this._placementModeButtonRefs.clear()}render(){return r`<div class=${c(p(s.base,f.widget,f.panel))}><div class=${c(s.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:i,hideNumericInputs:t,hideLineIntervalInput:a,hideGridSnapEnabledToggle:o,hideDynamicScaleToggle:l,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),i?void 0:this._renderGridPlacementButtons(),t?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!o&&this.snappingOptions?this._renderSnappingToggle():void 0,l?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:i,gridControlsEnabled:t}=this,a=i||!t;return r`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(o=>this._renderPlacementModeButton(o,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,i,t){let a=this._messages?.placementState?.[e],o=this._placementModeButtonRefs.get(e);return r`<div><calcite-action .active=${t===e} alignment=center .disabled=${i} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${o?r`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${o}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:i,effectiveSpacingAfterDynamicScaling:t,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:o}=this,l=t!=null&&t!==i;return r`<div class=${c(p(s.numericInputsContainer))}>${[a?r`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${l?r`<calcite-icon class=${c(p(s.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!o} number-button-type=none .value=${i?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${l&&this._warningIconTooltipRef?r`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:t},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,r`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!o} integer number-button-type=none suffix-text=\u00B0 .value=${`${L(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=B(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:i}=this;return r`<div class=${c(p(s.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!i} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:t})=>{let a=Number.parseInt(t.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(t.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:i}=this,t=e?.gridEnabled??!1;return r`<arcgis-labeled-switch .checked=${!!t} .disabled=${!(i&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:i,dynamicScaling:t,gridControlsEnabled:a}=this,o=!this.hideOutOfScaleWarning&&i;return r`<arcgis-labeled-switch .checked=${t} .disabled=${!a} .hint=${o?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${l=>{l.stopPropagation(),this.dynamicScaling=l.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:i}=this;return r`<arcgis-labeled-switch .checked=${i} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${t=>{t.stopPropagation(),this.rotateWithMap=t.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return r`<div class=${c(s.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return r`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${c(s.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?r`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${i=>{let t=h.fromHex(i.currentTarget.value);t&&(this.customColor=t,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:i,gridControlsEnabled:t}=this,{value:a}=e,o=this._messages?.gridTheme?.[a],l=`${this._labelUid}--theme_tile_${a}`,d=`${l}__label`,g=u.gridTheme[a];return r`<div class=${c(p({[s.tile]:!0,[s.tileDisabled]:!t}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${i===a} .disabled=${!t} id=${l??m} .name=${`${this._labelUid}--theme`} @change=${P=>{this.theme=a,P.currentTarget.focus()}} tabindex=0 type=radio><div class=${c(s.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${l} id=${d??m}>${o}</calcite-label></div></div>`}};C("arcgis-grid-controls",w);return w},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,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.43 */
4
- import{a as c,b as p}from"./KA2UT4B7.js";export default $arcgis.t(([f,{property:s,subclass:d},h])=>{var m=Object.defineProperty,w=Object.getOwnPropertyDescriptor,a=(t,r,o,e)=>{for(var n=e>1?void 0:e?w(r,o):r,l=t.length-1,u;l>=0;l--)(u=t[l])&&(n=(e?u(r,o,n):u(n))||n);return e&&n&&m(r,o,n),n};function _(t="Aborted"){return new h("AbortError",t)}function q(t,r="Aborted"){if(v(t))throw _(r)}function b(t){return t instanceof AbortSignal?t:t?.signal??void 0}function v(t){return b(t)?.aborted??!1}function y(t){return t?.name==="AbortError"}function C(t){return{ok:!0,value:t}}function g(t){return{ok:!1,error:t}}function k(t){return t?.ok?t.value:null}function A(t){return t!=null&&!t.ok?t.error:null}function E(t,r){let o=b(t);if(o==null)return;if(o.aborted){r();return}let e=()=>r();return o.addEventListener("abort",e,{once:!0}),{remove:()=>o.removeEventListener("abort",e)}}function D(t,r){return new i(t,r)}var i=class extends f{constructor(t,r){super({}),this._abortHandle=null,this.abort=()=>{this._abortController=c(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:o}=this._abortController;this.promise=t(o),this.promise.then(e=>{this._result=C(e),this._cleanup()},e=>{this._result=g(e),this._cleanup()}),this._abortHandle=E(r,this.abort)}get value(){return k(this._result)}get error(){return A(this._result)}get finished(){return this._result!=null}destroy(){this.abort()}_cleanup(){this._abortHandle=p(this._abortHandle),this._abortController=null}[Symbol.dispose](){this._cleanup()}};a([s()],i.prototype,"value",1);a([s()],i.prototype,"error",1);a([s()],i.prototype,"finished",1);a([s()],i.prototype,"promise",2);a([s()],i.prototype,"_result",2);i=a([d("esri.components.asyncUtils.ReactiveTask")],i);function O(t){return t.catch(r=>{if(!y(r))throw r})}function P(t,r={}){if("requestIdleCallback"in window)return window.requestIdleCallback(t,r);let o=r.timeout!=null?r.timeout:50,e=typeof performance<"u"&&performance.now?performance.now.bind(performance):Date.now,n=e();return window.setTimeout(()=>{t({didTimeout:!1,timeRemaining(){return Math.max(0,o-(e()-n))}})},1)}function j(t){"cancelIdleCallback"in window&&window.cancelIdleCallback(t),window.clearTimeout(t)}return{a:q,b:v,c:y,d:D,e:O,f:P,g:j}},"core/Accessor","core/accessorSupport/decorators","core/Error")
3
+ v5.0.0-next.44 */
4
+ import{a as c,b as p}from"./U4ODZBRO.js";export default $arcgis.t(([f,{property:s,subclass:d},h])=>{var m=Object.defineProperty,w=Object.getOwnPropertyDescriptor,a=(t,r,o,e)=>{for(var n=e>1?void 0:e?w(r,o):r,l=t.length-1,u;l>=0;l--)(u=t[l])&&(n=(e?u(r,o,n):u(n))||n);return e&&n&&m(r,o,n),n};function _(t="Aborted"){return new h("AbortError",t)}function q(t,r="Aborted"){if(v(t))throw _(r)}function b(t){return t instanceof AbortSignal?t:t?.signal??void 0}function v(t){return b(t)?.aborted??!1}function y(t){return t?.name==="AbortError"}function C(t){return{ok:!0,value:t}}function g(t){return{ok:!1,error:t}}function k(t){return t?.ok?t.value:null}function A(t){return t!=null&&!t.ok?t.error:null}function E(t,r){let o=b(t);if(o==null)return;if(o.aborted){r();return}let e=()=>r();return o.addEventListener("abort",e,{once:!0}),{remove:()=>o.removeEventListener("abort",e)}}function D(t,r){return new i(t,r)}var i=class extends f{constructor(t,r){super({}),this._abortHandle=null,this.abort=()=>{this._abortController=c(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:o}=this._abortController;this.promise=t(o),this.promise.then(e=>{this._result=C(e),this._cleanup()},e=>{this._result=g(e),this._cleanup()}),this._abortHandle=E(r,this.abort)}get value(){return k(this._result)}get error(){return A(this._result)}get finished(){return this._result!=null}destroy(){this.abort()}_cleanup(){this._abortHandle=p(this._abortHandle),this._abortController=null}[Symbol.dispose](){this._cleanup()}};a([s()],i.prototype,"value",1);a([s()],i.prototype,"error",1);a([s()],i.prototype,"finished",1);a([s()],i.prototype,"promise",2);a([s()],i.prototype,"_result",2);i=a([d("esri.components.asyncUtils.ReactiveTask")],i);function O(t){return t.catch(r=>{if(!y(r))throw r})}function P(t,r={}){if("requestIdleCallback"in window)return window.requestIdleCallback(t,r);let o=r.timeout!=null?r.timeout:50,e=typeof performance<"u"&&performance.now?performance.now.bind(performance):Date.now,n=e();return window.setTimeout(()=>{t({didTimeout:!1,timeRemaining(){return Math.max(0,o-(e()-n))}})},1)}function j(t){"cancelIdleCallback"in window&&window.cancelIdleCallback(t),window.clearTimeout(t)}return{a:q,b:v,c:y,d:D,e:O,f:P,g:j}},"core/Accessor","core/accessorSupport/decorators","core/Error")
@@ -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.43 */
4
- import{a as r}from"./5C2ZPIZP.js";import{a as i}from"./H3FNCSQA.js";import"./UQCC2YIW.js";import"./TMRQUUSV.js";import{J as n,K as o,P as l,a as s,b as t}from"./YYF5B2LV.js";import"./DIHGUHGF.js";export default $arcgis.t(([{watch:c}])=>{var h=s`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,p="arcgis-print",d={advancedOptionsContainer:`${p}__advanced-options-container`},a=class extends n{constructor(){super(...arguments),this._handles=r("disconnect")}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(c(()=>[this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length],()=>{this._showAuthorInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText??!0,this._showCopyrightInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText??!0,this._showLegendInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend??!0,this._showNorthArrowInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length,this._showScaleBarInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length},{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${o(d.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?i("author-info",t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author??""} @calciteInputInput=${e=>this.viewModel.templateOptions.author=e.target.value}></calcite-input></calcite-label></div>`):null}_renderCopyrightSection(){return this._showCopyrightInput?i("copyright-text",t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright??""} @calciteInputInput=${e=>this.viewModel.templateOptions.copyright=e.target.value}></calcite-input></calcite-label></div>`):null}_renderDpiSection(){return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return t`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderCustomTextElementSection(){return t`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}_renderLegendSection(){return this._showLegendInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.legendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.legendEnabled=e.target.checked}></calcite-checkbox>${this.messages.legend}</calcite-label></div>`:null}_renderNorthArrowSection(){return this._showNorthArrowInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.northArrowEnabled=e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>`:null}_renderScaleBarSection(){return this._showScaleBarInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.scaleBarEnabled=e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>`:null}};l("arcgis-print-layout-advanced-options",a);return a},"core/reactiveUtils")
3
+ v5.0.0-next.44 */
4
+ import{a as r}from"./7NJOLAM2.js";import{a as i}from"./QZYVA2MH.js";import"./5XPK2LAW.js";import"./TDFE5K6Y.js";import{J as n,K as o,P as l,a as s,b as t}from"./X6HHOR2F.js";import"./Q2YFHGDU.js";export default $arcgis.t(([{watch:c}])=>{var h=s`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,p="arcgis-print",d={advancedOptionsContainer:`${p}__advanced-options-container`},a=class extends n{constructor(){super(...arguments),this._handles=r("disconnect")}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(c(()=>[this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length],()=>{this._showAuthorInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText??!0,this._showCopyrightInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText??!0,this._showLegendInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend??!0,this._showNorthArrowInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length,this._showScaleBarInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length},{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${o(d.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?i("author-info",t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author??""} @calciteInputInput=${e=>this.viewModel.templateOptions.author=e.target.value}></calcite-input></calcite-label></div>`):null}_renderCopyrightSection(){return this._showCopyrightInput?i("copyright-text",t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright??""} @calciteInputInput=${e=>this.viewModel.templateOptions.copyright=e.target.value}></calcite-input></calcite-label></div>`):null}_renderDpiSection(){return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return t`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderCustomTextElementSection(){return t`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}_renderLegendSection(){return this._showLegendInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.legendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.legendEnabled=e.target.checked}></calcite-checkbox>${this.messages.legend}</calcite-label></div>`:null}_renderNorthArrowSection(){return this._showNorthArrowInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.northArrowEnabled=e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>`:null}_renderScaleBarSection(){return this._showScaleBarInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.scaleBarEnabled=e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>`:null}};l("arcgis-print-layout-advanced-options",a);return a},"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.43 */
4
- import{a as h}from"./H3FNCSQA.js";import j from"./LY6IV5CX.js";import{a as w}from"./B3EZ6EKX.js";import{a as d}from"./6IMO5VGU.js";import i from"./MQOLVQSW.js";import e from"./O4R6UILK.js";import{g as f}from"./UQCC2YIW.js";import{g as R}from"./R6XYDWNC.js";import{h as $}from"./TMRQUUSV.js";import{I as m,J as b,K as a,L as v,M as c,P as _,a as p,b as o,s as g}from"./YYF5B2LV.js";import"./DIHGUHGF.js";export default $arcgis.t(([{watch:y},M,,,C])=>{var x=[-45,0,45,-90,90,-135,180,135],B={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},S=p`:host{outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`;function E(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=C(M),u=class extends b{constructor(){super(...arguments),this.messages=w({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=f()("state"),this.arcgisReady=g()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,view:0,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.styles=S}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?R(this)?.focus():$(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=E(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return h("directional-buttons-container",o`<calcite-action-bar expand-disabled floating layout=grid overflow-actions-disabled><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${m(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-bar>`)}_renderButton(t){let{label:e,iconName:i}=B[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${v(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return h("slider-container",o`<calcite-action-bar expand-disabled floating layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`)}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};_("arcgis-directional-pad",u);return u},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,i,j)
3
+ v5.0.0-next.44 */
4
+ import{a as h}from"./QZYVA2MH.js";import j from"./SBLDNREE.js";import{a as w}from"./232FSO6P.js";import{a as d}from"./5RBFVQ2M.js";import i from"./OCKQZKIU.js";import e from"./RY6FVK4S.js";import{g as f}from"./5XPK2LAW.js";import{g as R}from"./PX4RA6JL.js";import{h as $}from"./TDFE5K6Y.js";import{I as m,J as b,K as a,L as v,M as c,P as _,a as p,b as o,s as g}from"./X6HHOR2F.js";import"./Q2YFHGDU.js";export default $arcgis.t(([{watch:y},M,,,C])=>{var x=[-45,0,45,-90,90,-135,180,135],B={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},S=p`:host{outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`;function E(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=C(M),u=class extends b{constructor(){super(...arguments),this.messages=w({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=f()("state"),this.arcgisReady=g()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,view:0,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.styles=S}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?R(this)?.focus():$(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=E(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return h("directional-buttons-container",o`<calcite-action-bar expand-disabled floating layout=grid overflow-actions-disabled><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${m(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-bar>`)}_renderButton(t){let{label:e,iconName:i}=B[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${v(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return h("slider-container",o`<calcite-action-bar expand-disabled floating layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`)}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};_("arcgis-directional-pad",u);return u},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,i,j)
@@ -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.43 */
4
- import"./DIHGUHGF.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_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 - d MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - d MMM",_date_day:"d MMM",_date_day_full:"d MMM",_date_week:"ww",_date_week_full:"d MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"v.C.",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"a.m.","P.M.":"p.m.",January:"januari",February:"februari",March:"maart",April:"april",May:"mei",June:"juni",July:"juli",August:"augustus",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan",Feb:"feb",Mar:"mrt",Apr:"apr","May(short)":"mei",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"zondag",Monday:"maandag",Tuesday:"dinsdag",Wednesday:"woensdag",Thursday:"donderdag",Friday:"vrijdag",Saturday:"zaterdag",Sun:"Zo",Mon:"Ma",Tue:"Di",Wed:"Wo",Thu:"Do",Fri:"Vr",Sat:"Za",_dateOrd:function(e){let t="de";return(e==1||e==8||e>19)&&(t="ste"),t},"Zoom Out":"Uitzoomen",Play:"Afspelen",Stop:"Stoppen",Legend:"Legenda","Press ENTER to toggle":"Klik, tik of druk op Enter om aan of uit te zetten",Loading:"Laden",Home:"Home",Chart:"Grafiek","Serial chart":"Periodieke grafiek","X/Y chart":"X-Y grafiek","Pie chart":"Taartdiagram","Gauge chart":"Meterdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankey-diagram","Chord diagram":"Chord-diagram","Flow diagram":"Flow-diagram","TreeMap chart":"Treemap-grafiek",Series:"Reeks","Candlestick Series":"Candlestick-reeks","Column Series":"Kolomreeks","Line Series":"Lijnreeks","Pie Slice Series":"Taartpuntreeks","X/Y Series":"XY reeks",Map:"Kaart","Press ENTER to zoom in":"Druk op Enter om in te zoomen","Press ENTER to zoom out":"Druk op Enter om uit te zoomen","Use arrow keys to zoom in and out":"Zoom in of uit met de pijltjestoetsen","Use plus and minus keys on your keyboard to zoom in and out":"Zoom in of uit met de plus- en minustoetsen",Export:"Exporteren",Image:"Afbeelding",Data:"Data",Print:"Printen","Press ENTER to open":"Klik, tik of druk op Enter om te openen","Press ENTER to print.":"Klik, tik of druk op Enter om te printen","Press ENTER to export as %1.":"Klik, tik of druk op Enter om te exporteren als %1","(Press ESC to close this message)":"(Druk op ESC om dit bericht te sluiten)","Image Export Complete":"Afbeelding exporteren gereed","Export operation took longer than expected. Something might have gone wrong.":"Exportproces duurt langer dan verwacht. Er is misschien iets fout gegaan.","Saved from":"Opgeslagen via:",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Gebruik Tab om de hendels te selecteren of linker- en rechterpijltje om de selectie te veranderen","Use left and right arrows to move selection":"Gebruik linker- en rechterpijltje om de selectie te verplaatsen","Use left and right arrows to move left selection":"Gebruik linker- en rechterpijltje om de linkerselectie te verplaatsen","Use left and right arrows to move right selection":"Gebruik linker- en rechterpijltje om de rechterselectie te verplaatsen","Use TAB select grip buttons or up and down arrows to change selection":"Gebruik Tab om de hendels te selecteren of pijltje omhoog en omlaag om de selectie te veranderen","Use up and down arrows to move selection":"Gebruik pijltje omhoog en omlaag om de selectie te verplaatsen","Use up and down arrows to move lower selection":"Gebruik pijltje omhoog en omlaag om de onderste selectie te verplaatsen","Use up and down arrows to move upper selection":"Gebruik pijltje omhoog en omlaag om de bovenste selectie te verplaatsen","From %1 to %2":"Van %1 tot %2","From %1":"Van %1","To %1":"Tot %1","No parser available for file: %1":"Geen data-parser beschikbaar voor dit bestand: %1","Error parsing file: %1":"Fout tijdens parsen van bestand: %1","Unable to load file: %1":"Kan bestand niet laden: %1","Invalid date":"Ongeldige datum",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.44 */
4
+ import"./Q2YFHGDU.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_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 - d MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - d MMM",_date_day:"d MMM",_date_day_full:"d MMM",_date_week:"ww",_date_week_full:"d MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"v.C.",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"a.m.","P.M.":"p.m.",January:"januari",February:"februari",March:"maart",April:"april",May:"mei",June:"juni",July:"juli",August:"augustus",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan",Feb:"feb",Mar:"mrt",Apr:"apr","May(short)":"mei",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"zondag",Monday:"maandag",Tuesday:"dinsdag",Wednesday:"woensdag",Thursday:"donderdag",Friday:"vrijdag",Saturday:"zaterdag",Sun:"Zo",Mon:"Ma",Tue:"Di",Wed:"Wo",Thu:"Do",Fri:"Vr",Sat:"Za",_dateOrd:function(e){let t="de";return(e==1||e==8||e>19)&&(t="ste"),t},"Zoom Out":"Uitzoomen",Play:"Afspelen",Stop:"Stoppen",Legend:"Legenda","Press ENTER to toggle":"Klik, tik of druk op Enter om aan of uit te zetten",Loading:"Laden",Home:"Home",Chart:"Grafiek","Serial chart":"Periodieke grafiek","X/Y chart":"X-Y grafiek","Pie chart":"Taartdiagram","Gauge chart":"Meterdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankey-diagram","Chord diagram":"Chord-diagram","Flow diagram":"Flow-diagram","TreeMap chart":"Treemap-grafiek",Series:"Reeks","Candlestick Series":"Candlestick-reeks","Column Series":"Kolomreeks","Line Series":"Lijnreeks","Pie Slice Series":"Taartpuntreeks","X/Y Series":"XY reeks",Map:"Kaart","Press ENTER to zoom in":"Druk op Enter om in te zoomen","Press ENTER to zoom out":"Druk op Enter om uit te zoomen","Use arrow keys to zoom in and out":"Zoom in of uit met de pijltjestoetsen","Use plus and minus keys on your keyboard to zoom in and out":"Zoom in of uit met de plus- en minustoetsen",Export:"Exporteren",Image:"Afbeelding",Data:"Data",Print:"Printen","Press ENTER to open":"Klik, tik of druk op Enter om te openen","Press ENTER to print.":"Klik, tik of druk op Enter om te printen","Press ENTER to export as %1.":"Klik, tik of druk op Enter om te exporteren als %1","(Press ESC to close this message)":"(Druk op ESC om dit bericht te sluiten)","Image Export Complete":"Afbeelding exporteren gereed","Export operation took longer than expected. Something might have gone wrong.":"Exportproces duurt langer dan verwacht. Er is misschien iets fout gegaan.","Saved from":"Opgeslagen via:",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Gebruik Tab om de hendels te selecteren of linker- en rechterpijltje om de selectie te veranderen","Use left and right arrows to move selection":"Gebruik linker- en rechterpijltje om de selectie te verplaatsen","Use left and right arrows to move left selection":"Gebruik linker- en rechterpijltje om de linkerselectie te verplaatsen","Use left and right arrows to move right selection":"Gebruik linker- en rechterpijltje om de rechterselectie te verplaatsen","Use TAB select grip buttons or up and down arrows to change selection":"Gebruik Tab om de hendels te selecteren of pijltje omhoog en omlaag om de selectie te veranderen","Use up and down arrows to move selection":"Gebruik pijltje omhoog en omlaag om de selectie te verplaatsen","Use up and down arrows to move lower selection":"Gebruik pijltje omhoog en omlaag om de onderste selectie te verplaatsen","Use up and down arrows to move upper selection":"Gebruik pijltje omhoog en omlaag om de bovenste selectie te verplaatsen","From %1 to %2":"Van %1 tot %2","From %1":"Van %1","To %1":"Tot %1","No parser available for file: %1":"Geen data-parser beschikbaar voor dit bestand: %1","Error parsing file: %1":"Fout tijdens parsen van bestand: %1","Unable to load file: %1":"Kan bestand niet laden: %1","Invalid date":"Ongeldige datum",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.43 */
4
- import e from"./LY6IV5CX.js";import{a as v}from"./B3EZ6EKX.js";import{a as _}from"./6IMO5VGU.js";import b from"./MQOLVQSW.js";import a from"./O4R6UILK.js";import{g as m}from"./UQCC2YIW.js";import"./R6XYDWNC.js";import{b as g}from"./TMRQUUSV.js";import{H as l,I as n,J as h,K as c,P as u,a as d,b as i,s}from"./YYF5B2LV.js";import"./DIHGUHGF.js";export default $arcgis.t(([p,{watch:t},,,f])=>{var w=d`:host{--arcgis-video-player-controls-spacing: 16px;width:531px;height:100%}.arcgis-video-player{height:100%}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,V={base:"arcgis-video-player"},M=f(p),a=class extends h{constructor(){super(...arguments),this.messages=v({blocking:!0}),this.viewModel=M(this),this._videoViewRef=l(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5,view:0}}static{this.styles=w}get followingMode(){return this.viewModel.followingMode}set followingMode(e){this.viewModel.followingMode=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:e,currentTime:o,duration:r,ended:y}=this.viewModel;this._duration=r,this._currentTime=o,this._bufferedValue=e/(r||1),this._currentValue=o/(r||1),this._isBuffering=!y&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,e=>{this._videoViewReady=!!e},{initial:!0}),t(()=>this.layer?.title,e=>{this._layerTitle=e??void 0},{initial:!0}),t(()=>this.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return i`<div class=${c(g(V.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:i`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?i`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return i`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${n(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",a);return a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,e)
3
+ v5.0.0-next.44 */
4
+ import e from"./SBLDNREE.js";import{a as v}from"./232FSO6P.js";import{a as _}from"./5RBFVQ2M.js";import b from"./OCKQZKIU.js";import a from"./RY6FVK4S.js";import{g as m}from"./5XPK2LAW.js";import"./PX4RA6JL.js";import{b as g}from"./TDFE5K6Y.js";import{H as l,I as n,J as h,K as c,P as u,a as d,b as i,s}from"./X6HHOR2F.js";import"./Q2YFHGDU.js";export default $arcgis.t(([p,{watch:t},,,f])=>{var w=d`:host{--arcgis-video-player-controls-spacing: 16px;width:531px;height:100%}.arcgis-video-player{height:100%}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,V={base:"arcgis-video-player"},M=f(p),a=class extends h{constructor(){super(...arguments),this.messages=v({blocking:!0}),this.viewModel=M(this),this._videoViewRef=l(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5,view:0}}static{this.styles=w}get followingMode(){return this.viewModel.followingMode}set followingMode(e){this.viewModel.followingMode=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:e,currentTime:o,duration:r,ended:y}=this.viewModel;this._duration=r,this._currentTime=o,this._bufferedValue=e/(r||1),this._currentValue=o/(r||1),this._isBuffering=!y&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,e=>{this._videoViewReady=!!e},{initial:!0}),t(()=>this.layer?.title,e=>{this._layerTitle=e??void 0},{initial:!0}),t(()=>this.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return i`<div class=${c(g(V.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:i`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?i`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return i`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${n(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",a);return a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.43 */
4
- import f from"./ZIXNVI5T.js";import e from"./MQOLVQSW.js";import b from"./O4R6UILK.js";import{g as l}from"./UQCC2YIW.js";import{b as d}from"./R6XYDWNC.js";import"./TMRQUUSV.js";import{J as c,P as n,a,s}from"./YYF5B2LV.js";import"./DIHGUHGF.js";export default $arcgis.t(([{watch:h},p,m,,,g])=>{var _=a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-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)}:host{display:flex}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directios calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`,f=g(m),t="map-components:arcgis-directions",r=class extends c{constructor(){super(...arguments),this.widget=f(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=l()("lastRoute","state"),this.arcgisReady=s()}static{this.properties={view:0,apiKey:1,autoDestroyDisabled:5,goToOverride:0,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:3,unit:1,useDefaultRouteLayer:5}}static{this.styles=_}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to save directions`);return await this.widget?.save()}async saveAs(i,e){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(i,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(i){if(i.has("routeLayerItemId")){let e=this.routeLayerItemId;if(d(e)&&!this.useDefaultRouteLayer){let{layer:o}=this;o&&this.widget.view?.map?.remove(o),this._setDefaultLayer()}else e&&this.widget&&(this.layer=new p({portalItem:{id:e}}),this.widget.view?.map?.add(this.layer))}i.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&(this.layer=new p,h(()=>this.widget.view,()=>this.widget.view?.map?.add(this.layer),{once:!0}))}};n("arcgis-directions",r);return r},"core/reactiveUtils","layers/RouteLayer","widgets/Directions",b,e,f)
3
+ v5.0.0-next.44 */
4
+ import f from"./4CIR63HD.js";import e from"./OCKQZKIU.js";import b from"./RY6FVK4S.js";import{g as l}from"./5XPK2LAW.js";import{b as d}from"./PX4RA6JL.js";import"./TDFE5K6Y.js";import{J as c,P as n,a,s}from"./X6HHOR2F.js";import"./Q2YFHGDU.js";export default $arcgis.t(([{watch:h},p,m,,,g])=>{var _=a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-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)}:host{display:flex}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directios calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`,f=g(m),t="map-components:arcgis-directions",r=class extends c{constructor(){super(...arguments),this.widget=f(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=l()("lastRoute","state"),this.arcgisReady=s()}static{this.properties={view:0,apiKey:1,autoDestroyDisabled:5,goToOverride:0,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:3,unit:1,useDefaultRouteLayer:5}}static{this.styles=_}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to save directions`);return await this.widget?.save()}async saveAs(i,e){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(i,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${t} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(i){if(i.has("routeLayerItemId")){let e=this.routeLayerItemId;if(d(e)&&!this.useDefaultRouteLayer){let{layer:o}=this;o&&this.widget.view?.map?.remove(o),this._setDefaultLayer()}else e&&this.widget&&(this.layer=new p({portalItem:{id:e}}),this.widget.view?.map?.add(this.layer))}i.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&(this.layer=new p,h(()=>this.widget.view,()=>this.widget.view?.map?.add(this.layer),{once:!0}))}};n("arcgis-directions",r);return r},"core/reactiveUtils","layers/RouteLayer","widgets/Directions",b,e,f)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.43 */
4
- import{C as V,D as R,K as y,M as k,h as x}from"./324UFGN3.js";import{N as v,Q as G,d as D,f as O,o as C,q as $,u as w}from"./34KACFWH.js";import{a as B}from"./YQ6SLUVJ.js";import{N as E,g as m,o as M}from"./TJXXVYKF.js";var c=class extends R{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let e=this.width(),t=this.height(),i=e/Math.abs(e),n=t/Math.abs(t),s=0,r=0,l=this.get("strokeWidth",0);this.get("containStroke",!1)&&(e-=i*l,t-=n*l,s+=i*l/2,r+=n*l/2);let a=e,h=t;if(m(a)&&m(h)){let o=Math.min(a,h)/2,d=w(this.get("cornerRadiusTL",8),o),u=w(this.get("cornerRadiusTR",8),o),g=w(this.get("cornerRadiusBR",8),o),f=w(this.get("cornerRadiusBL",8),o),b=Math.min(Math.abs(a/2),Math.abs(h/2));d=x(d,0,b),u=x(u,0,b),g=x(g,0,b),f=x(f,0,b);let p=this._display;p.moveTo(s+d*i,r),p.lineTo(s+a-u*i,r),u>0&&p.arcTo(s+a,r,s+a,r+u*n,u),p.lineTo(s+a,r+h-g*n),g>0&&p.arcTo(s+a,r+h,s+a-g*i,r+h,g),p.lineTo(s+f*i,r+h),f>0&&p.arcTo(s,r+h,s,r+h-f*n,f),p.lineTo(s,r+d*n),d>0&&p.arcTo(s,r,s+d*i,r,d),p.closePath()}}};Object.defineProperty(c,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(c,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:R.classNames.concat([c.className])});var _=class extends y{_afterNew(){this._settings.themeTags=v(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",c.new(this._root,{themeTags:v(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let e=this._prevSettings.icon,t=this.get("icon");t!==e&&(this._disposeProperty("icon"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.icon=t)}if(this.isDirty("label")){let e=this._prevSettings.label,t=this.get("label");t!==e&&(this._disposeProperty("label"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.label=t)}}};Object.defineProperty(_,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(_,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([_.className])});var T=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"_editOnEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew();let e=this.children.push(y.new(this._root,{html:'<textarea class="am5-editable-label"></textarea>',isMeasured:!1}));e.hide(),this.setPrivate("input",e);let t=this.get("background");t?t.set("themeTags",["editablelabel","background"]):t=this.set("background",c.new(this._root,{themeTags:["editablelabel","background"]}))}_beforeChanged(){if(super._beforeChanged(),this.isDirty("editOn")){this._editOnEvents&&this._editOnEvents.dispose();let e=this.get("editOn","click");e!="none"&&(this._editOnEvents=new E([this.getPrivate("input").events.on(e,t=>{}),this.events.on(e,t=>{this.set("active",!0)})]))}}_prepareChildren(){super._prepareChildren(),this._maybeInitTextarea()}_updateChildren(){if(super._updateChildren(),this.isDirty("active")){let e=this.get("active",!1);e?this._startEditing():this._stopEditing();let t=this.get("background");t&&t.set("active",e)}this._syncText(),this._syncStyle()}_maybeInitTextarea(){if(!this._isInited()){let e=this.getPrivate("input");if(e&&e.getPrivate("htmlElement")){let i=e.getPrivate("htmlElement").querySelector(".am5-editable-label");i&&(this.setPrivate("textarea",i),i.addEventListener("input",n=>{this.get("multiLine")===!1&&(i.value=i.value.replace(/\n/g," ")),this.set("text",i.value),this._syncStyle()}),i.addEventListener("blur",n=>this.set("active",!1)),O("keyboardevents")&&this._disposers.push(D(document,"keydown",n=>{$(n)=="Escape"&&this.set("active",!1)})),this._disposers.push(D(document,"keydown",n=>{$(n)=="Enter"&&this.get("multiLine")===!1&&(n.preventDefault(),this.set("active",!1))})),this.events.dispatch("inited",{type:"inited",target:this}))}}}_isInited(){return!!this.getPrivate("textarea")}_startEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._startEditing()});return}this._text.set("opacity",0);let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.get("text","")==""&&this.set("text"," "),e.show(0),this.setTimeout(()=>{this._syncStyle(),t.focus()},100))}_stopEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._stopEditing()});return}let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.set("text",t.value),e.hide(0),this._text.set("opacity",1))}_syncStyle(){let e=this.getPrivate("input"),t=this.getPrivate("textarea"),i=e.getPrivate("htmlElement");if(t&&i){let n=window.getComputedStyle(t);M(n,u=>{t.style[u]="initial"}),t.style.color=this.get("fill",G(0)).toCSS(this.get("fillOpacity",1)),t.style.backgroundColor="rgba(0, 0, 0, 0)",t.style.border="none",t.style.outline="none",t.style.padding="0",t.wrap="off",t.style.resize="none",t.style.overflow="hidden";let s=this.get("maxWidth",0)-this.get("paddingLeft",0)-this.get("paddingRight",0);s>0?t.style.maxWidth=s+"px":t.style.minWidth="",t.style.height="auto",t.style.minHeight=t.scrollHeight+"px",this.get("width")&&(t.style.width=this.width()-this.get("paddingLeft",0)-this.get("paddingRight",0)+"px",t.style.minWidth="");let r=this.get("lineHeight");r?r instanceof B?t.style.lineHeight=r.value+"":m(r)&&(t.style.lineHeight=r+""):t.style.lineHeight="1.2";let l=this.get("fontFamily");l||(l=getComputedStyle(i,"font-family").getPropertyValue("font-family")),t.style.fontFamily=l;let a=this.get("fontSize");a?m(a)?a=a+"px":a=a:a=getComputedStyle(i,"font-size").getPropertyValue("font-size"),t.style.fontSize=a;let h=this.get("fontWeight");h?h=h:h=getComputedStyle(i,"font-weight").getPropertyValue("font-weight"),t.style.fontWeight=h;let o=this.get("fontStyle");o?o=o:o=getComputedStyle(i,"font-style").getPropertyValue("font-style"),t.style.fontStyle=o,this.get("oversizedBehavior")=="wrap"?t.style.whiteSpace="pre-wrap":t.style.whiteSpace="nowrap",this._root.events.on("frameended",()=>{t.style.minWidth==""&&(t.style.minWidth=t.scrollWidth+20+"px");let u=this.get("textAlign","start");u=="center"?(t.style.textAlign="center",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-50%)")):u=="end"?(t.style.textAlign="right",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-100%)")):t.style.textAlign=u})}}_syncText(){let e=this.getPrivate("textarea"),t=this.get("text","");t==" "&&(t=""),e&&(e.value=t)}};Object.defineProperty(T,"className",{enumerable:!0,configurable:!0,writable:!0,value:"EditableLabel"});Object.defineProperty(T,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([T.className])});var P=class extends y{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=v(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=c.new(this._root,{themeTags:v(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(_.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:V.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(c.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(e){e&&this._disposers.push(e.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let e=this.startGrip,t=this.endGrip,i=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",s=>{this.setPrivateRaw("isBusy",!0);let r=this._display.toLocal(s.point),l=this.width(),a=this.height(),h=this.get("orientation"),o;h=="vertical"?o=(r.y-i.height()/2)/a:o=(r.x-i.width()/2)/l;let d,u;h=="vertical"?(d=o*a,u="y"):(d=o*l,u="x");let g=this.get("animationDuration",0);g>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:u,to:d,duration:g,easing:this.get("animationEasing")}))):(this.thumb.set(u,d),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(i.events.on("dblclick",s=>{if(!C(s.originalEvent,this))return;let r=this.get("animationDuration",0),l=this.get("animationEasing");this.animate({key:"start",to:0,duration:r,easing:l}),this.animate({key:"end",to:1,duration:r,easing:l})})),this._disposers.push(e.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(i.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(e.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(t.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(i.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(e.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(e.on("y",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(i.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(e.set("x",0),t.set("x",0),this._disposers.push(i.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()-i.height()),0))),this._disposers.push(i.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("x",s=>this.width()/2)),this._disposers.push(t.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0))),this._disposers.push(t.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0)))):(e.set("y",0),t.set("y",0),this._disposers.push(i.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()-i.width()),0))),this._disposers.push(i.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("y",s=>this.height()/2)),this._disposers.push(t.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))),this._disposers.push(t.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let e="rangechanged";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let e="released";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}updateGrips(){let e=this.startGrip,t=this.endGrip,i=this.get("orientation"),n=this.height(),s=this.width();i=="vertical"?(e.set("y",n*this.get("start",0)),t.set("y",n*this.get("end",1))):(e.set("x",s*this.get("start",0)),t.set("x",s*this.get("end",1)));let r=this.getPrivate("positionTextFunction"),l=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,o;r?(h=r.call(this,this.get("start",0)),o=r.call(this,this.get("end",0))):(h=l+"%",o=a+"%"),e.set("ariaLabel",this._t("From %1",void 0,h)),e.set("ariaValueNow",""+l),e.set("ariaValueText",l+"%"),e.set("ariaValueMin","0"),e.set("ariaValueMax","100"),t.set("ariaLabel",this._t("To %1",void 0,o)),t.set("ariaValueNow",""+a),t.set("ariaValueText",a+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100")}_updateThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip,n=this.height(),s=this.width(),r=t.x(),l=i.x(),a=t.y(),h=i.y(),o=0,d=1;this.get("orientation")=="vertical"?m(a)&&m(h)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("height",h-a),e.set("y",a)),o=a/n,d=h/n):m(r)&&m(l)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("width",l-r),e.set("x",r)),o=r/s,d=l/s),this.getPrivate("isBusy")&&(this.get("start")!=o||this.get("end")!=d)&&(this.set("start",o),this.set("end",d));let u=this.getPrivate("positionTextFunction"),g=Math.round(this.get("start",0)*100),f=Math.round(this.get("end",0)*100),b,p;u?(b=u.call(this,this.get("start",0)),p=u.call(this,this.get("end",0))):(b=g+"%",p=f+"%"),e.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),e.set("ariaValueNow",""+g),e.set("ariaValueText",g+"%")}_updateGripsByThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip;if(this.get("orientation")=="vertical"){let n=e.height();t.set("y",e.y()),i.set("y",e.y()+n)}else{let n=e.width();t.set("x",e.x()),i.set("x",e.x()+n)}}};Object.defineProperty(P,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(P,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([P.className])});export{c as a,_ as b,T as c,P as d};
3
+ v5.0.0-next.44 */
4
+ import{C as V,D as R,K as y,M as k,h as x}from"./NSZBUYYI.js";import{N as v,Q as G,d as D,f as O,o as C,q as $,u as w}from"./B5YMXLM6.js";import{a as B}from"./GVCNAFR5.js";import{N as E,g as m,o as M}from"./U5W2J7FR.js";var c=class extends R{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let e=this.width(),t=this.height(),i=e/Math.abs(e),n=t/Math.abs(t),s=0,r=0,l=this.get("strokeWidth",0);this.get("containStroke",!1)&&(e-=i*l,t-=n*l,s+=i*l/2,r+=n*l/2);let a=e,h=t;if(m(a)&&m(h)){let o=Math.min(a,h)/2,d=w(this.get("cornerRadiusTL",8),o),u=w(this.get("cornerRadiusTR",8),o),g=w(this.get("cornerRadiusBR",8),o),f=w(this.get("cornerRadiusBL",8),o),b=Math.min(Math.abs(a/2),Math.abs(h/2));d=x(d,0,b),u=x(u,0,b),g=x(g,0,b),f=x(f,0,b);let p=this._display;p.moveTo(s+d*i,r),p.lineTo(s+a-u*i,r),u>0&&p.arcTo(s+a,r,s+a,r+u*n,u),p.lineTo(s+a,r+h-g*n),g>0&&p.arcTo(s+a,r+h,s+a-g*i,r+h,g),p.lineTo(s+f*i,r+h),f>0&&p.arcTo(s,r+h,s,r+h-f*n,f),p.lineTo(s,r+d*n),d>0&&p.arcTo(s,r,s+d*i,r,d),p.closePath()}}};Object.defineProperty(c,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(c,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:R.classNames.concat([c.className])});var _=class extends y{_afterNew(){this._settings.themeTags=v(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",c.new(this._root,{themeTags:v(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let e=this._prevSettings.icon,t=this.get("icon");t!==e&&(this._disposeProperty("icon"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.icon=t)}if(this.isDirty("label")){let e=this._prevSettings.label,t=this.get("label");t!==e&&(this._disposeProperty("label"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.label=t)}}};Object.defineProperty(_,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(_,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([_.className])});var T=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"_editOnEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew();let e=this.children.push(y.new(this._root,{html:'<textarea class="am5-editable-label"></textarea>',isMeasured:!1}));e.hide(),this.setPrivate("input",e);let t=this.get("background");t?t.set("themeTags",["editablelabel","background"]):t=this.set("background",c.new(this._root,{themeTags:["editablelabel","background"]}))}_beforeChanged(){if(super._beforeChanged(),this.isDirty("editOn")){this._editOnEvents&&this._editOnEvents.dispose();let e=this.get("editOn","click");e!="none"&&(this._editOnEvents=new E([this.getPrivate("input").events.on(e,t=>{}),this.events.on(e,t=>{this.set("active",!0)})]))}}_prepareChildren(){super._prepareChildren(),this._maybeInitTextarea()}_updateChildren(){if(super._updateChildren(),this.isDirty("active")){let e=this.get("active",!1);e?this._startEditing():this._stopEditing();let t=this.get("background");t&&t.set("active",e)}this._syncText(),this._syncStyle()}_maybeInitTextarea(){if(!this._isInited()){let e=this.getPrivate("input");if(e&&e.getPrivate("htmlElement")){let i=e.getPrivate("htmlElement").querySelector(".am5-editable-label");i&&(this.setPrivate("textarea",i),i.addEventListener("input",n=>{this.get("multiLine")===!1&&(i.value=i.value.replace(/\n/g," ")),this.set("text",i.value),this._syncStyle()}),i.addEventListener("blur",n=>this.set("active",!1)),O("keyboardevents")&&this._disposers.push(D(document,"keydown",n=>{$(n)=="Escape"&&this.set("active",!1)})),this._disposers.push(D(document,"keydown",n=>{$(n)=="Enter"&&this.get("multiLine")===!1&&(n.preventDefault(),this.set("active",!1))})),this.events.dispatch("inited",{type:"inited",target:this}))}}}_isInited(){return!!this.getPrivate("textarea")}_startEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._startEditing()});return}this._text.set("opacity",0);let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.get("text","")==""&&this.set("text"," "),e.show(0),this.setTimeout(()=>{this._syncStyle(),t.focus()},100))}_stopEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._stopEditing()});return}let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.set("text",t.value),e.hide(0),this._text.set("opacity",1))}_syncStyle(){let e=this.getPrivate("input"),t=this.getPrivate("textarea"),i=e.getPrivate("htmlElement");if(t&&i){let n=window.getComputedStyle(t);M(n,u=>{t.style[u]="initial"}),t.style.color=this.get("fill",G(0)).toCSS(this.get("fillOpacity",1)),t.style.backgroundColor="rgba(0, 0, 0, 0)",t.style.border="none",t.style.outline="none",t.style.padding="0",t.wrap="off",t.style.resize="none",t.style.overflow="hidden";let s=this.get("maxWidth",0)-this.get("paddingLeft",0)-this.get("paddingRight",0);s>0?t.style.maxWidth=s+"px":t.style.minWidth="",t.style.height="auto",t.style.minHeight=t.scrollHeight+"px",this.get("width")&&(t.style.width=this.width()-this.get("paddingLeft",0)-this.get("paddingRight",0)+"px",t.style.minWidth="");let r=this.get("lineHeight");r?r instanceof B?t.style.lineHeight=r.value+"":m(r)&&(t.style.lineHeight=r+""):t.style.lineHeight="1.2";let l=this.get("fontFamily");l||(l=getComputedStyle(i,"font-family").getPropertyValue("font-family")),t.style.fontFamily=l;let a=this.get("fontSize");a?m(a)?a=a+"px":a=a:a=getComputedStyle(i,"font-size").getPropertyValue("font-size"),t.style.fontSize=a;let h=this.get("fontWeight");h?h=h:h=getComputedStyle(i,"font-weight").getPropertyValue("font-weight"),t.style.fontWeight=h;let o=this.get("fontStyle");o?o=o:o=getComputedStyle(i,"font-style").getPropertyValue("font-style"),t.style.fontStyle=o,this.get("oversizedBehavior")=="wrap"?t.style.whiteSpace="pre-wrap":t.style.whiteSpace="nowrap",this._root.events.on("frameended",()=>{t.style.minWidth==""&&(t.style.minWidth=t.scrollWidth+20+"px");let u=this.get("textAlign","start");u=="center"?(t.style.textAlign="center",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-50%)")):u=="end"?(t.style.textAlign="right",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-100%)")):t.style.textAlign=u})}}_syncText(){let e=this.getPrivate("textarea"),t=this.get("text","");t==" "&&(t=""),e&&(e.value=t)}};Object.defineProperty(T,"className",{enumerable:!0,configurable:!0,writable:!0,value:"EditableLabel"});Object.defineProperty(T,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([T.className])});var P=class extends y{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=v(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=c.new(this._root,{themeTags:v(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(_.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:V.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(c.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(e){e&&this._disposers.push(e.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let e=this.startGrip,t=this.endGrip,i=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",s=>{this.setPrivateRaw("isBusy",!0);let r=this._display.toLocal(s.point),l=this.width(),a=this.height(),h=this.get("orientation"),o;h=="vertical"?o=(r.y-i.height()/2)/a:o=(r.x-i.width()/2)/l;let d,u;h=="vertical"?(d=o*a,u="y"):(d=o*l,u="x");let g=this.get("animationDuration",0);g>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:u,to:d,duration:g,easing:this.get("animationEasing")}))):(this.thumb.set(u,d),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(i.events.on("dblclick",s=>{if(!C(s.originalEvent,this))return;let r=this.get("animationDuration",0),l=this.get("animationEasing");this.animate({key:"start",to:0,duration:r,easing:l}),this.animate({key:"end",to:1,duration:r,easing:l})})),this._disposers.push(e.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(i.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(e.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(t.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(i.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(e.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(e.on("y",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(i.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(e.set("x",0),t.set("x",0),this._disposers.push(i.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()-i.height()),0))),this._disposers.push(i.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("x",s=>this.width()/2)),this._disposers.push(t.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0))),this._disposers.push(t.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0)))):(e.set("y",0),t.set("y",0),this._disposers.push(i.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()-i.width()),0))),this._disposers.push(i.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("y",s=>this.height()/2)),this._disposers.push(t.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))),this._disposers.push(t.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let e="rangechanged";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let e="released";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}updateGrips(){let e=this.startGrip,t=this.endGrip,i=this.get("orientation"),n=this.height(),s=this.width();i=="vertical"?(e.set("y",n*this.get("start",0)),t.set("y",n*this.get("end",1))):(e.set("x",s*this.get("start",0)),t.set("x",s*this.get("end",1)));let r=this.getPrivate("positionTextFunction"),l=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,o;r?(h=r.call(this,this.get("start",0)),o=r.call(this,this.get("end",0))):(h=l+"%",o=a+"%"),e.set("ariaLabel",this._t("From %1",void 0,h)),e.set("ariaValueNow",""+l),e.set("ariaValueText",l+"%"),e.set("ariaValueMin","0"),e.set("ariaValueMax","100"),t.set("ariaLabel",this._t("To %1",void 0,o)),t.set("ariaValueNow",""+a),t.set("ariaValueText",a+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100")}_updateThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip,n=this.height(),s=this.width(),r=t.x(),l=i.x(),a=t.y(),h=i.y(),o=0,d=1;this.get("orientation")=="vertical"?m(a)&&m(h)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("height",h-a),e.set("y",a)),o=a/n,d=h/n):m(r)&&m(l)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("width",l-r),e.set("x",r)),o=r/s,d=l/s),this.getPrivate("isBusy")&&(this.get("start")!=o||this.get("end")!=d)&&(this.set("start",o),this.set("end",d));let u=this.getPrivate("positionTextFunction"),g=Math.round(this.get("start",0)*100),f=Math.round(this.get("end",0)*100),b,p;u?(b=u.call(this,this.get("start",0)),p=u.call(this,this.get("end",0))):(b=g+"%",p=f+"%"),e.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),e.set("ariaValueNow",""+g),e.set("ariaValueText",g+"%")}_updateGripsByThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip;if(this.get("orientation")=="vertical"){let n=e.height();t.set("y",e.y()),i.set("y",e.y()+n)}else{let n=e.width();t.set("x",e.x()),i.set("x",e.x()+n)}}};Object.defineProperty(P,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(P,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([P.className])});export{c as a,_ as b,T as c,P as d};