@arcgis/map-components 5.0.0-next.70 → 5.0.0-next.72

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 (411) hide show
  1. package/dist/cdn/{K4EDGGAZ.js → 273DDENM.js} +2 -2
  2. package/dist/cdn/{4QFDEOJV.js → 2G72FOQB.js} +2 -2
  3. package/dist/cdn/{OIH7Z44X.js → 2JEK54GF.js} +1 -1
  4. package/dist/cdn/{3WLAD7LO.js → 2KAWYR5E.js} +2 -2
  5. package/dist/cdn/{YL46ZGI7.js → 2WABMQI5.js} +2 -2
  6. package/dist/cdn/{7OKJO4UV.js → 36O5VWLU.js} +2 -2
  7. package/dist/cdn/{ZTTPPLL7.js → 37FJ47YA.js} +1 -1
  8. package/dist/cdn/{T6TGCFG7.js → 3CSQWYCV.js} +2 -2
  9. package/dist/cdn/{IGQ465ND.js → 3PRWBJR4.js} +2 -2
  10. package/dist/cdn/{VD6WYQAO.js → 3XJ6KOZ2.js} +2 -2
  11. package/dist/cdn/{5EJAJJWW.js → 3Z6KVIFL.js} +2 -2
  12. package/dist/cdn/{VPUDRNGS.js → 45BZLBZK.js} +2 -2
  13. package/dist/cdn/{GTB4J7HB.js → 47ALUPNC.js} +2 -2
  14. package/dist/cdn/{6YMKAHHH.js → 47KRCPV4.js} +2 -2
  15. package/dist/cdn/{7GJCEI7A.js → 4DX2XYFJ.js} +2 -2
  16. package/dist/cdn/{KWB2XBVW.js → 4DYTZHM3.js} +2 -2
  17. package/dist/cdn/{3AGTEZSO.js → 4FPTVRDP.js} +2 -2
  18. package/dist/cdn/{CBDZUDRK.js → 4FQOHHLU.js} +2 -2
  19. package/dist/cdn/{KOAR72C3.js → 4ICWN7VF.js} +2 -2
  20. package/dist/cdn/{AXLD7LHL.js → 4TJZESD6.js} +1 -1
  21. package/dist/cdn/{AFZKSRRK.js → 55J7LME5.js} +2 -2
  22. package/dist/cdn/{5VOMHDB7.js → 5WANHF7F.js} +2 -2
  23. package/dist/cdn/{3XWZ6VTM.js → 63LVG7GB.js} +2 -2
  24. package/dist/cdn/{642IX6IV.js → 64W2JE4R.js} +2 -2
  25. package/dist/cdn/{ZZCFJWBZ.js → 64Y7VHRK.js} +2 -2
  26. package/dist/cdn/{47NRTALC.js → 674IABNG.js} +2 -2
  27. package/dist/cdn/{DLW2QIMH.js → 6AQIHQKS.js} +2 -2
  28. package/dist/cdn/{RRW66XPY.js → 6ESNWMSE.js} +2 -2
  29. package/dist/cdn/{UUEGE5Y5.js → 6F7QJWYH.js} +2 -2
  30. package/dist/cdn/{LJOZM4XY.js → 6GGNOXM2.js} +2 -2
  31. package/dist/cdn/{RN6SAKBH.js → 6HH6JSLT.js} +2 -2
  32. package/dist/cdn/{AOKEANVL.js → 6Z6GVGI4.js} +2 -2
  33. package/dist/cdn/{AC2JD3CK.js → 7HPWDU66.js} +2 -2
  34. package/dist/cdn/{SCSCH3MP.js → 7JKCKNDC.js} +2 -2
  35. package/dist/cdn/{3BQAMPCB.js → 7KLA4JKZ.js} +2 -2
  36. package/dist/cdn/{TBLNSXF2.js → 7NQ5QTYW.js} +2 -2
  37. package/dist/cdn/{D3SE5OEB.js → 7RK4JLA7.js} +2 -2
  38. package/dist/cdn/{YMLGTPNZ.js → 7USEHAUK.js} +2 -2
  39. package/dist/cdn/{UEURLSTH.js → 7Z6W2LMY.js} +2 -2
  40. package/dist/cdn/{GI6NWNBB.js → A4HDXQK4.js} +2 -2
  41. package/dist/cdn/{V2ZJN2EQ.js → A5TVGBYZ.js} +2 -2
  42. package/dist/cdn/{RDSEQEH7.js → AATBDOAO.js} +2 -2
  43. package/dist/cdn/{NRLOZN2M.js → AD3HHRRD.js} +2 -2
  44. package/dist/cdn/{TLX43SVR.js → ARLMSS5A.js} +2 -2
  45. package/dist/cdn/{VELO7EJB.js → ASRXYO6Q.js} +2 -2
  46. package/dist/cdn/{V7CU6RAM.js → B7GLQ3OM.js} +2 -2
  47. package/dist/cdn/{AVDQ26F4.js → B7SIC5XJ.js} +2 -2
  48. package/dist/cdn/{ONAAWLOK.js → B7UN5VEX.js} +2 -2
  49. package/dist/cdn/{3K4DN3GL.js → BFYZKQUL.js} +1 -1
  50. package/dist/cdn/{66QM2WHT.js → BGLXJ2UK.js} +2 -2
  51. package/dist/cdn/{K3ZRL7WQ.js → BJTB6Z7D.js} +1 -1
  52. package/dist/cdn/{PLFMIHV5.js → BM63ZBWL.js} +2 -2
  53. package/dist/cdn/{SUWAGE26.js → BONHHF4F.js} +2 -2
  54. package/dist/cdn/{2WZJ6CY5.js → BONSASDC.js} +2 -2
  55. package/dist/cdn/{3RBQ5WZE.js → BSATGGNF.js} +2 -2
  56. package/dist/cdn/{JEX6DX4K.js → BV5SZJAF.js} +2 -2
  57. package/dist/cdn/{SLPG2QJI.js → BZJEZSHZ.js} +2 -2
  58. package/dist/cdn/{3UTWAWE7.js → CA5B56QA.js} +2 -2
  59. package/dist/cdn/{RANIQHZ4.js → CAQSBU4E.js} +2 -2
  60. package/dist/cdn/{6QQIJAKC.js → CFZOWZP3.js} +2 -2
  61. package/dist/cdn/{N53JW3QQ.js → CIFANJTD.js} +2 -2
  62. package/dist/cdn/{V23GY43X.js → CK2KWYTE.js} +2 -2
  63. package/dist/cdn/{KTIJ34V2.js → CLXPCIZH.js} +2 -2
  64. package/dist/cdn/{67ELDB4C.js → CQ6SZF62.js} +1 -1
  65. package/dist/cdn/{VF3HNFXS.js → CQP5OKAV.js} +2 -2
  66. package/dist/cdn/{QTZTRCFQ.js → CXWADRKQ.js} +2 -2
  67. package/dist/cdn/{X5MID63J.js → DDAYMQHX.js} +2 -2
  68. package/dist/cdn/{6MYPQWW3.js → DDQVYCGW.js} +2 -2
  69. package/dist/cdn/{BH7IVSSS.js → DHKWSWTU.js} +2 -2
  70. package/dist/cdn/{DUDYF23J.js → DIK4YMDS.js} +2 -2
  71. package/dist/cdn/{RW4X2SEO.js → DRNRJYXF.js} +1 -1
  72. package/dist/cdn/{QGG4672J.js → DTXREBKJ.js} +2 -2
  73. package/dist/cdn/{7U2I7LPD.js → DWL5HBBY.js} +2 -2
  74. package/dist/cdn/{M43QDY5I.js → DXTMEY6E.js} +2 -2
  75. package/dist/cdn/{OEGG7JYK.js → E32KBITG.js} +2 -2
  76. package/dist/cdn/{7WHFFM3P.js → E3VVCZY7.js} +2 -2
  77. package/dist/cdn/{26JDOX7L.js → E4MXFBJB.js} +2 -2
  78. package/dist/cdn/{J7U7GHA2.js → EOE7JNGS.js} +2 -2
  79. package/dist/cdn/{XHBSYQZG.js → ETNE3OKS.js} +2 -2
  80. package/dist/cdn/{35C6NAQW.js → EZIM4YAQ.js} +2 -2
  81. package/dist/cdn/{KD56ZTQN.js → F434Q6QV.js} +2 -2
  82. package/dist/cdn/{CNK22TYD.js → FA2ESCZY.js} +2 -2
  83. package/dist/cdn/{ZGENAH5M.js → FBTZPVCD.js} +2 -2
  84. package/dist/cdn/{UTWX5BSO.js → FCOSOKYR.js} +2 -2
  85. package/dist/cdn/{JW37BB6N.js → G3Y2PD3W.js} +2 -2
  86. package/dist/cdn/{BQ3OSZEY.js → GIHQBWOE.js} +2 -2
  87. package/dist/cdn/{FGG5MJGR.js → GSKDFCVG.js} +2 -2
  88. package/dist/cdn/{YPHRNTBJ.js → GTF7HZOV.js} +2 -2
  89. package/dist/cdn/{LRNDH6QK.js → H5A7GYUL.js} +2 -2
  90. package/dist/cdn/{ROPQZ7K7.js → H73JCZ4G.js} +2 -2
  91. package/dist/cdn/{YIB7ZARM.js → HFIHNEXI.js} +2 -2
  92. package/dist/cdn/{EZBDKHUZ.js → HIBKH376.js} +2 -2
  93. package/dist/cdn/{QG4FYH3Q.js → HJ6XPSOM.js} +2 -2
  94. package/dist/cdn/{MBIXNRNI.js → HJSLALF4.js} +2 -2
  95. package/dist/cdn/{WP66R2PP.js → HK6Q6BCM.js} +2 -2
  96. package/dist/cdn/{DKVC5ZTZ.js → HLSQJLXK.js} +2 -2
  97. package/dist/cdn/HOWATBOT.js +4 -0
  98. package/dist/cdn/{3XIC34TR.js → I4KQVULX.js} +1 -1
  99. package/dist/cdn/{DRBLZV5C.js → IA7GKY4R.js} +1 -1
  100. package/dist/cdn/{KKLFZLKV.js → IDZMHDMW.js} +2 -2
  101. package/dist/cdn/{ZTLLZOVS.js → IL5IXBOC.js} +1 -1
  102. package/dist/cdn/{F7TFRUFQ.js → IO4ZJHH6.js} +2 -2
  103. package/dist/cdn/{MCNMNJIK.js → IUEJN22Y.js} +2 -2
  104. package/dist/cdn/{F44KLDGR.js → IVYBSY6S.js} +2 -2
  105. package/dist/cdn/{MZ7ODPR6.js → J3VROTKZ.js} +2 -2
  106. package/dist/cdn/{HZ7GUEYG.js → J5GRSJLU.js} +2 -2
  107. package/dist/cdn/{ZJEOOMMW.js → JBH7Q2NX.js} +2 -2
  108. package/dist/cdn/{LOW526NN.js → JCB2KQV5.js} +2 -2
  109. package/dist/cdn/{W6NJ2BQN.js → JKGTDVFT.js} +2 -2
  110. package/dist/cdn/{NPVKF7VQ.js → JKTUQMUY.js} +2 -2
  111. package/dist/cdn/{NVJVCGNK.js → JVQJU4JA.js} +2 -2
  112. package/dist/cdn/{XQZ65RP5.js → JYWZVCZG.js} +2 -2
  113. package/dist/cdn/{YU4YB6HY.js → JZJXD3I5.js} +2 -2
  114. package/dist/cdn/{UK2YKIWP.js → K4AIYWL4.js} +2 -2
  115. package/dist/cdn/{L6PNLMMM.js → K4CAAZPB.js} +2 -2
  116. package/dist/cdn/{JVAMZW4L.js → K65EOQJP.js} +2 -2
  117. package/dist/cdn/{EWZ4CYCK.js → K6AHBRBS.js} +2 -2
  118. package/dist/cdn/{BFKHKQBK.js → KE32M4ZL.js} +2 -2
  119. package/dist/cdn/{3FQA3QGZ.js → KG3P4PFB.js} +2 -2
  120. package/dist/cdn/{HW7Z5DYR.js → KRVIAP5U.js} +2 -2
  121. package/dist/cdn/{OTNCPINR.js → KX72QAWM.js} +2 -2
  122. package/dist/cdn/{2TA36KJT.js → L5POG2UZ.js} +2 -2
  123. package/dist/cdn/{75HGBLMW.js → LB66ZX5X.js} +2 -2
  124. package/dist/cdn/{34HU6TI2.js → LG3VVADA.js} +2 -2
  125. package/dist/cdn/LJGLWTDU.js +4 -0
  126. package/dist/cdn/{OLM5Q453.js → LJQQAIUW.js} +2 -2
  127. package/dist/cdn/{SS5Y2UXD.js → LOALMM2V.js} +2 -2
  128. package/dist/cdn/{5NKMRAL2.js → LQ6FXLRW.js} +1 -1
  129. package/dist/cdn/{JKEMA75Q.js → MBE3DXZ4.js} +2 -2
  130. package/dist/cdn/{NTRX63A3.js → MEDCOUQB.js} +2 -2
  131. package/dist/cdn/{C6SGYWIQ.js → MFQZPJ4O.js} +2 -2
  132. package/dist/cdn/{RLKAOX5V.js → MGRGH4WU.js} +2 -2
  133. package/dist/cdn/{ZICBTD4H.js → MJ4FDUPX.js} +2 -2
  134. package/dist/cdn/{RJIZLC65.js → MJQWJNP4.js} +2 -2
  135. package/dist/cdn/{MSABHDZU.js → MK3XZ6ZH.js} +2 -2
  136. package/dist/cdn/{44WDA746.js → MKGXU7RL.js} +2 -2
  137. package/dist/cdn/{6SOJHDIW.js → MOC26MRF.js} +2 -2
  138. package/dist/cdn/{TYZB7JH2.js → MYK66Y2Z.js} +2 -2
  139. package/dist/cdn/{54WMH2QG.js → MZDUXJJ2.js} +2 -2
  140. package/dist/cdn/{UXGGIILT.js → N25HGDS6.js} +2 -2
  141. package/dist/cdn/{MXJC7T2K.js → N43GEBCB.js} +1 -1
  142. package/dist/cdn/{YVI2EXKN.js → N77SN7OV.js} +2 -2
  143. package/dist/cdn/{WJ5NJGR3.js → NR4LWSOF.js} +2 -2
  144. package/dist/cdn/{M6OL4LHV.js → NS545YK3.js} +2 -2
  145. package/dist/cdn/{646PEYNE.js → NS7U5CD6.js} +2 -2
  146. package/dist/cdn/{5TPECAPS.js → NTULDHTP.js} +2 -2
  147. package/dist/cdn/{X2JWUDA6.js → O3JFHL5C.js} +2 -2
  148. package/dist/cdn/{2FI6P6JF.js → O5PCHKIM.js} +2 -2
  149. package/dist/cdn/{DZQO5R35.js → OBB73LYP.js} +2 -2
  150. package/dist/cdn/{IT57KQ22.js → OGJPLGAN.js} +1 -1
  151. package/dist/cdn/{OCRBNRBA.js → ORGZX35M.js} +2 -2
  152. package/dist/cdn/{HSR3USTR.js → P5XJBRD4.js} +2 -2
  153. package/dist/cdn/{2AJBU37K.js → PEFVNYKG.js} +2 -2
  154. package/dist/cdn/{6XQMMZWJ.js → PLNRIL3R.js} +2 -2
  155. package/dist/cdn/{YNGW6WKP.js → Q5SGUY2L.js} +2 -2
  156. package/dist/cdn/{2UKQAYDD.js → QA3ALLY4.js} +2 -2
  157. package/dist/cdn/{QQLJPVLE.js → QDUJUP36.js} +1 -1
  158. package/dist/cdn/{ZAKIAMLE.js → QI2TM23X.js} +2 -2
  159. package/dist/cdn/{UL5YFGP3.js → QIE4FYAI.js} +2 -2
  160. package/dist/cdn/{6L4H7QK6.js → QTI43I7T.js} +2 -2
  161. package/dist/cdn/{M4LH7UWT.js → QYRW2LJY.js} +3 -3
  162. package/dist/cdn/{ITVAMUHE.js → R2ESNEGW.js} +2 -2
  163. package/dist/cdn/{C72625A3.js → R2PINTB7.js} +2 -2
  164. package/dist/cdn/{WJQROPTI.js → RFJT5SVK.js} +2 -2
  165. package/dist/cdn/{PZQELMQA.js → RWV3GDPZ.js} +2 -2
  166. package/dist/cdn/{STROR4FC.js → S2RCJ3CM.js} +2 -2
  167. package/dist/cdn/{2L2FYB47.js → SRDGCMOT.js} +2 -2
  168. package/dist/cdn/{IDRJXBOL.js → TAX3N6JS.js} +2 -2
  169. package/dist/cdn/{XZKAH7ZG.js → TBIXOTO3.js} +2 -2
  170. package/dist/cdn/{IG67TAIB.js → TFLNCYRZ.js} +2 -2
  171. package/dist/cdn/{OF3AOV7G.js → TLMWUXBT.js} +2 -2
  172. package/dist/cdn/{GZT3DNI3.js → TU2JICSI.js} +2 -2
  173. package/dist/cdn/{WUG3IPPC.js → TUJWDHGB.js} +2 -2
  174. package/dist/cdn/{NLFOQYWM.js → TVUKNR55.js} +2 -2
  175. package/dist/cdn/{VZXJFENF.js → TWD2FYIY.js} +2 -2
  176. package/dist/cdn/{MY2Z6SIV.js → TWIGZ4WB.js} +2 -2
  177. package/dist/cdn/{FRAOBD7G.js → TYDYLRCA.js} +2 -2
  178. package/dist/cdn/{ZFH2RDZ5.js → TZLXG5KF.js} +2 -2
  179. package/dist/cdn/{UVTTVQE2.js → U3XUSGDP.js} +2 -2
  180. package/dist/cdn/{R5PKGS3Z.js → ULDTQK7Z.js} +2 -2
  181. package/dist/cdn/{GCLTYYCU.js → ULIHUNZH.js} +2 -2
  182. package/dist/cdn/{RJ25LWM5.js → UNKTAFAX.js} +2 -2
  183. package/dist/cdn/{F72WCJPL.js → UV55Z7IA.js} +2 -2
  184. package/dist/cdn/UVIQNWZT.js +4 -0
  185. package/dist/cdn/{6NCALKSE.js → UZXFVEPD.js} +2 -2
  186. package/dist/cdn/{SNQ3EGHO.js → V3LKOF2A.js} +2 -2
  187. package/dist/cdn/{3POSBXMK.js → V7EZCS6B.js} +2 -2
  188. package/dist/cdn/{SHODV7PA.js → V7JK5675.js} +2 -2
  189. package/dist/cdn/{WO46A22R.js → VIRWCFF7.js} +2 -2
  190. package/dist/cdn/{QTWERGPS.js → VIW2MBV2.js} +2 -2
  191. package/dist/cdn/{OXAM5OE4.js → VNHXVAK5.js} +2 -2
  192. package/dist/cdn/{LFT7AXGU.js → VQAVTJ2Q.js} +2 -2
  193. package/dist/cdn/{6HQYEHV5.js → VZC6WAYC.js} +2 -2
  194. package/dist/cdn/{TNQRG57C.js → W4TBK532.js} +2 -2
  195. package/dist/cdn/{3ZA45V4L.js → W6YJDCKX.js} +1 -1
  196. package/dist/cdn/{LJMG57ZP.js → WAORN4NC.js} +2 -2
  197. package/dist/cdn/{Z4UKEPUJ.js → WGCUHRHY.js} +2 -2
  198. package/dist/cdn/{I722W7SV.js → WUJW7C6H.js} +2 -2
  199. package/dist/cdn/{ADYBFWVK.js → WUNSXNX7.js} +2 -2
  200. package/dist/cdn/{2MJ4VSTM.js → WX3SIFLD.js} +2 -2
  201. package/dist/cdn/{FLMPRMYV.js → WXWITI3M.js} +2 -2
  202. package/dist/cdn/{EG5OHCCW.js → WYMKN43C.js} +1 -1
  203. package/dist/cdn/{SVKL7SCS.js → X32U4A7S.js} +2 -2
  204. package/dist/cdn/{CQFRP7G6.js → X6UV76LW.js} +2 -2
  205. package/dist/cdn/{K3T3AIC2.js → X7NV5KEK.js} +2 -2
  206. package/dist/cdn/{2UADLYTZ.js → X7RXIFT3.js} +2 -2
  207. package/dist/cdn/{KTW7RC5D.js → XG54UTOU.js} +2 -2
  208. package/dist/cdn/{JSW6KUN3.js → XGPNC3HE.js} +1 -1
  209. package/dist/cdn/{DQAAY45V.js → XI2DZW4M.js} +2 -2
  210. package/dist/cdn/{TO7VDGWR.js → XKYQT7GZ.js} +2 -2
  211. package/dist/cdn/{NZ7LFDFP.js → XLNMW74P.js} +2 -2
  212. package/dist/cdn/{VWYAA2N2.js → XMZ2Y23R.js} +2 -2
  213. package/dist/cdn/{LSXLR62A.js → XRBPATZD.js} +2 -2
  214. package/dist/cdn/{DT4JCC4I.js → XS2IB3C6.js} +2 -2
  215. package/dist/cdn/{H7WN46AE.js → XUCLKFN4.js} +2 -2
  216. package/dist/cdn/{VJYZNOOA.js → XWXJEP5M.js} +2 -2
  217. package/dist/cdn/{A6G446TB.js → XYNLPAKL.js} +2 -2
  218. package/dist/cdn/{IYBRQA7K.js → YJPRGBUU.js} +2 -2
  219. package/dist/cdn/{HDRAXLH5.js → YNVLFJDY.js} +2 -2
  220. package/dist/cdn/YQFNKKZS.js +4 -0
  221. package/dist/cdn/{XPT3EQAZ.js → YX57LFO4.js} +2 -2
  222. package/dist/cdn/{4FT42X2X.js → YZP4RUT5.js} +2 -2
  223. package/dist/cdn/{LKLFY5KR.js → Z35N4NPP.js} +2 -2
  224. package/dist/cdn/{J64TAA2Z.js → Z5K5CKDE.js} +2 -2
  225. package/dist/cdn/{3JBMVB3V.js → Z7FTHDD4.js} +2 -2
  226. package/dist/cdn/{NH52DS6I.js → ZFFLYFOO.js} +2 -2
  227. package/dist/cdn/{UEMQ6HIM.js → ZGQNNJFV.js} +2 -2
  228. package/dist/cdn/{S4EDMZ6S.js → ZRCHQ3XZ.js} +2 -2
  229. package/dist/cdn/{LLOLRVEA.js → ZRO2XQWQ.js} +2 -2
  230. package/dist/cdn/{YVBL6VCO.js → ZRTFQRKT.js} +2 -2
  231. package/dist/cdn/{XX4MFLJZ.js → ZUBRJ3ZN.js} +2 -2
  232. package/dist/cdn/{EPU6W2Q7.js → ZWOO2C25.js} +2 -2
  233. package/dist/cdn/{NIN4O3AV.js → ZZSEDGH7.js} +2 -2
  234. package/dist/cdn/index.js +2 -2
  235. package/dist/chunks/AnalysisViewModel.js +1 -1
  236. package/dist/chunks/action-utils.js +1 -1
  237. package/dist/chunks/async-utils.js +1 -1
  238. package/dist/chunks/basemap-gallery-resources.js +1 -1
  239. package/dist/chunks/chart-utils.js +1 -1
  240. package/dist/chunks/chartCommon.js +1 -1
  241. package/dist/chunks/component-utils.js +1 -1
  242. package/dist/chunks/constants.js +1 -1
  243. package/dist/chunks/createCloseEvent.js +1 -1
  244. package/dist/chunks/esri-main.js +1 -1
  245. package/dist/chunks/feature-utils.js +1 -1
  246. package/dist/chunks/globalCss.js +1 -1
  247. package/dist/chunks/handle.js +1 -1
  248. package/dist/chunks/heading.js +1 -1
  249. package/dist/chunks/layer-list.js +1 -1
  250. package/dist/chunks/legacyIcon.js +1 -1
  251. package/dist/chunks/maybe.js +1 -1
  252. package/dist/chunks/measurementUtils.js +1 -1
  253. package/dist/chunks/runtime.js +1 -1
  254. package/dist/chunks/screenLocation.js +1 -1
  255. package/dist/chunks/slots.js +1 -1
  256. package/dist/chunks/svgUtils.js +1 -1
  257. package/dist/chunks/time-utils.js +1 -1
  258. package/dist/chunks/univariateUtils.js +1 -1
  259. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  260. package/dist/chunks/useHandles.js +1 -1
  261. package/dist/chunks/useT9n.js +1 -1
  262. package/dist/chunks/useView.js +1 -1
  263. package/dist/chunks/useViewModel.js +1 -1
  264. package/dist/chunks/useWidget.js +1 -1
  265. package/dist/chunks/utils.js +1 -1
  266. package/dist/chunks/utils2.js +1 -1
  267. package/dist/chunks/visible-element.js +1 -1
  268. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  269. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  270. package/dist/components/arcgis-attachments/customElement.js +1 -1
  271. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  272. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  273. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  275. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  276. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  277. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  278. package/dist/components/arcgis-color-select/customElement.js +1 -1
  279. package/dist/components/arcgis-compass/customElement.js +1 -1
  280. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  281. package/dist/components/arcgis-daylight/customElement.js +1 -1
  282. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  283. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  284. package/dist/components/arcgis-directions/customElement.js +1 -1
  285. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  286. package/dist/components/arcgis-editor/customElement.js +1 -1
  287. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  288. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  289. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  290. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  291. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  292. package/dist/components/arcgis-expand/customElement.js +1 -1
  293. package/dist/components/arcgis-feature/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  298. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  299. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  304. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  306. package/dist/components/arcgis-features/customElement.js +1 -1
  307. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  308. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  309. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  310. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  311. package/dist/components/arcgis-home/customElement.js +1 -1
  312. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  313. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  314. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  315. package/dist/components/arcgis-legend/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  330. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  331. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  332. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  333. package/dist/components/arcgis-locate/customElement.js +1 -1
  334. package/dist/components/arcgis-map/customElement.js +1 -1
  335. package/dist/components/arcgis-measurement/customElement.js +1 -1
  336. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  337. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  338. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  339. package/dist/components/arcgis-placement/customElement.js +1 -1
  340. package/dist/components/arcgis-popup/customElement.js +1 -1
  341. package/dist/components/arcgis-presentation/customElement.js +1 -1
  342. package/dist/components/arcgis-print/customElement.js +1 -1
  343. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  344. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  345. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  346. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  347. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  348. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  349. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  350. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  351. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  352. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  353. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  354. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  355. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  356. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  357. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  358. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  359. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  360. package/dist/components/arcgis-scene/customElement.js +1 -1
  361. package/dist/components/arcgis-search/customElement.js +1 -1
  362. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  363. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  364. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  365. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +1 -1
  366. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +1 -1
  367. package/dist/components/arcgis-sketch/customElement.js +1 -1
  368. package/dist/components/arcgis-slice/customElement.js +1 -1
  369. package/dist/components/arcgis-spinner/customElement.js +1 -1
  370. package/dist/components/arcgis-swipe/customElement.js +1 -1
  371. package/dist/components/arcgis-table-list/customElement.js +1 -1
  372. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  373. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  374. package/dist/components/arcgis-track/customElement.js +1 -1
  375. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  376. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  381. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  382. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  383. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  385. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  386. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  387. package/dist/components/arcgis-version-management/customElement.js +1 -1
  388. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  389. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  390. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  391. package/dist/components/arcgis-video/customElement.js +1 -1
  392. package/dist/components/arcgis-video-player/customElement.js +1 -1
  393. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  394. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  395. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  396. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  397. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  398. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  399. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  400. package/dist/components/arcgis-weather/customElement.js +1 -1
  401. package/dist/components/arcgis-zoom/customElement.js +1 -1
  402. package/dist/docs/api.json +2 -2
  403. package/dist/docs/docs.json +2 -2
  404. package/dist/docs/web-types.json +1 -1
  405. package/dist/index.js +1 -1
  406. package/dist/loader.js +1 -1
  407. package/package.json +3 -3
  408. package/dist/cdn/5J56Z2TL.js +0 -4
  409. package/dist/cdn/J4R3TJOA.js +0 -4
  410. package/dist/cdn/MM4OXIXL.js +0 -4
  411. package/dist/cdn/SFMPIUNY.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.70 */
4
- import a from"./3K4DN3GL.js";import{I as R,J as r,K as k,O as x,a as $,b}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([{e:_,g:y,h:L}])=>{var X=$`.arcgis-spike-ramp__container{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm-plus);margin-left:var(--calcite-spacing-sm)}.arcgis-spike-ramp__preview-container{display:flex;position:relative;gap:var(--calcite-spacing-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding:0 var(--calcite-spacing-xl)}.arcgis-spike-ramp__preview{display:flex;gap:var(--calcite-spacing-sm-plus);align-items:end}.arcgis-spike-ramp__symbol-preview{display:flex}.arcgis-spike-ramp__lines{display:flex;position:absolute;bottom:0}.arcgis-spike-ramp__labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.arcgis-spike-ramp__label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.arcgis-spike-ramp__label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`,p={spikeRampContainer:"arcgis-spike-ramp__container",spikeRampPreviewContainer:"arcgis-spike-ramp__preview-container",spikeRampPreview:"arcgis-spike-ramp__preview",spikeRampSymbolPreview:"arcgis-spike-ramp__symbol-preview",spikeRampLines:"arcgis-spike-ramp__lines",spikeRampLabelsContainer:"arcgis-spike-ramp__labels-container",spikeRampLabel:"arcgis-spike-ramp__label"},Y="#ddd",e=window.devicePixelRatio;function u(v){return v.infos.filter((m,t)=>t%2===0)}function S(v){return!!(v&&typeof v=="object")}var f=class extends R{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=X}render(){return this.legendElement.infos.length!==5?null:b`<div class=${r(p.spikeRampContainer)}><div class=${r(p.spikeRampPreviewContainer)}>${this._renderSpikeRampLines()}${this._renderSpikeRampPreview()}</div>${this._renderSpikeRampLabels()}</div>`}_renderSpikeRampPreview(){let m=this.legendElement,[t,l,d]=u(m).map(({preview:c,label:n})=>{if(!c)return null;let s=c.cloneNode(!0);return s.classList.add(p.spikeRampSymbolPreview),L(s,y(this.messages,n)),s});return!t||!l||!d?null:b`<div class=${r(p.spikeRampPreview)}><div>${d}</div><div>${l}</div><div>${t}</div></div>`}_renderSpikeRampLines(){let m=this.legendElement,[{width:t,height:l},{width:d},{width:c,height:n}]=u(m).map(({size:w})=>S(w)?{width:_(w.width),height:_(w.height)}:{width:0,height:0}),s=10,g=8,o=t+d+c+s*3,h=l,a=document.createElement("canvas");a.width=(o+s)*e,a.height=h*e,a.style.width=`${a.width/e}px`,a.style.height=`${a.height/e}px`;let i=a.getContext("2d");i.beginPath();let P=o-(t/2+s),C=0,E=o+g;i.moveTo(P*e,C*e),i.lineTo(E*e,0*e);let T=(o-g)/2,z=(l-n)/2,M=o+g,j=(l-n)/2;i.moveTo(T*e,z*e),i.lineTo(M*e,j*e);let A=c/2,W=h-n,H=o+g,I=h-n;return i.moveTo(A*e,W*e),i.lineTo(H*e,I*e),i.strokeStyle=Y,i.lineWidth=.5*e,i.stroke(),b`<div class=${r(p.spikeRampLines)}>${a}</div>`}_renderSpikeRampLabels(){let m=this.legendElement,[{label:t,height:l},{label:d},{label:c,height:n}]=u(m).map(({label:a,size:i})=>({label:a,height:S(i)?_(i.height):0})),s=l-n,g={position:"absolute",top:"0"},o={position:"absolute",top:`${s/2}px`},h={position:"absolute",top:`${s}px`};return b`<div class=${r(p.spikeRampLabelsContainer)}><div class=${r(p.spikeRampLabel)} style=${k(g)}>${t}</div><div class=${r(p.spikeRampLabel)} style=${k(o)}>${d}</div><div class=${r(p.spikeRampLabel)} style=${k(h)}>${c}</div></div>`}};x("arcgis-legend-spike-ramp",f);return f},a)
3
+ v5.0.0-next.72 */
4
+ import a from"./BFYZKQUL.js";import{I as R,J as r,K as k,O as x,a as $,b}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([{e:_,g:y,h:L}])=>{var X=$`.arcgis-spike-ramp__container{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm-plus);margin-left:var(--calcite-spacing-sm)}.arcgis-spike-ramp__preview-container{display:flex;position:relative;gap:var(--calcite-spacing-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding:0 var(--calcite-spacing-xl)}.arcgis-spike-ramp__preview{display:flex;gap:var(--calcite-spacing-sm-plus);align-items:end}.arcgis-spike-ramp__symbol-preview{display:flex}.arcgis-spike-ramp__lines{display:flex;position:absolute;bottom:0}.arcgis-spike-ramp__labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.arcgis-spike-ramp__label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.arcgis-spike-ramp__label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`,p={spikeRampContainer:"arcgis-spike-ramp__container",spikeRampPreviewContainer:"arcgis-spike-ramp__preview-container",spikeRampPreview:"arcgis-spike-ramp__preview",spikeRampSymbolPreview:"arcgis-spike-ramp__symbol-preview",spikeRampLines:"arcgis-spike-ramp__lines",spikeRampLabelsContainer:"arcgis-spike-ramp__labels-container",spikeRampLabel:"arcgis-spike-ramp__label"},Y="#ddd",e=window.devicePixelRatio;function u(v){return v.infos.filter((m,t)=>t%2===0)}function S(v){return!!(v&&typeof v=="object")}var f=class extends R{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=X}render(){return this.legendElement.infos.length!==5?null:b`<div class=${r(p.spikeRampContainer)}><div class=${r(p.spikeRampPreviewContainer)}>${this._renderSpikeRampLines()}${this._renderSpikeRampPreview()}</div>${this._renderSpikeRampLabels()}</div>`}_renderSpikeRampPreview(){let m=this.legendElement,[t,l,d]=u(m).map(({preview:c,label:n})=>{if(!c)return null;let s=c.cloneNode(!0);return s.classList.add(p.spikeRampSymbolPreview),L(s,y(this.messages,n)),s});return!t||!l||!d?null:b`<div class=${r(p.spikeRampPreview)}><div>${d}</div><div>${l}</div><div>${t}</div></div>`}_renderSpikeRampLines(){let m=this.legendElement,[{width:t,height:l},{width:d},{width:c,height:n}]=u(m).map(({size:w})=>S(w)?{width:_(w.width),height:_(w.height)}:{width:0,height:0}),s=10,g=8,o=t+d+c+s*3,h=l,a=document.createElement("canvas");a.width=(o+s)*e,a.height=h*e,a.style.width=`${a.width/e}px`,a.style.height=`${a.height/e}px`;let i=a.getContext("2d");i.beginPath();let P=o-(t/2+s),C=0,E=o+g;i.moveTo(P*e,C*e),i.lineTo(E*e,0*e);let T=(o-g)/2,z=(l-n)/2,M=o+g,j=(l-n)/2;i.moveTo(T*e,z*e),i.lineTo(M*e,j*e);let A=c/2,W=h-n,H=o+g,I=h-n;return i.moveTo(A*e,W*e),i.lineTo(H*e,I*e),i.strokeStyle=Y,i.lineWidth=.5*e,i.stroke(),b`<div class=${r(p.spikeRampLines)}>${a}</div>`}_renderSpikeRampLabels(){let m=this.legendElement,[{label:t,height:l},{label:d},{label:c,height:n}]=u(m).map(({label:a,size:i})=>({label:a,height:S(i)?_(i.height):0})),s=l-n,g={position:"absolute",top:"0"},o={position:"absolute",top:`${s/2}px`},h={position:"absolute",top:`${s}px`};return b`<div class=${r(p.spikeRampLabelsContainer)}><div class=${r(p.spikeRampLabel)} style=${k(g)}>${t}</div><div class=${r(p.spikeRampLabel)} style=${k(o)}>${d}</div><div class=${r(p.spikeRampLabel)} style=${k(h)}>${c}</div></div>`}};x("arcgis-legend-spike-ramp",f);return f},a)
@@ -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.70 */
4
- import"./RW4X2SEO.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:"%",_percentSuffix:null,_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"MS",_era_bc:"M\xD6",A:"\xF6\xF6",P:"\xF6s",AM:"\xD6\xD6",PM:"\xD6S","A.M.":"\xD6\xD6","P.M.":"\xD6S",January:"Ocak",February:"\u015Eubat",March:"Mart",April:"Nisan",May:"May\u0131s",June:"Haziran",July:"Temmuz",August:"A\u011Fustos",September:"Eyl\xFCl",October:"Ekim",November:"Kas\u0131m",December:"Aral\u0131k",Jan:"Oca",Feb:"\u015Eub",Mar:"Mar",Apr:"Nis","May(short)":"May",Jun:"Haz",Jul:"Tem",Aug:"A\u011Fu",Sep:"Eyl",Oct:"Eki",Nov:"Kas",Dec:"Ara",Sunday:"Pazar",Monday:"Pazartesi",Tuesday:"Sal\u0131",Wednesday:"\xC7ar\u015Famba",Thursday:"Per\u015Fembe",Friday:"Cuma",Saturday:"Cumartesi",Sun:"Paz",Mon:"Pzt",Tue:"Sal",Wed:"\xC7ar",Thu:"Per",Fri:"Cum",Sat:"Cmt",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Yak\u0131nla\u015Ft\u0131r",Play:"Oynat",Stop:"Durdur",Legend:"G\xF6sterge","Press ENTER to toggle":"",Loading:"Y\xFCkleniyor",Home:"Giri\u015F Sayfas\u0131",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Yazd\u0131r",Image:"G\xF6r\xFCnt\xFC",Data:"Veri",Print:"Yazd\u0131r","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Kaynak %1 hedef %2","From %1":"Kaynak %1","To %1":"Hedef %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.72 */
4
+ import"./DRNRJYXF.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:"%",_percentSuffix:null,_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"MS",_era_bc:"M\xD6",A:"\xF6\xF6",P:"\xF6s",AM:"\xD6\xD6",PM:"\xD6S","A.M.":"\xD6\xD6","P.M.":"\xD6S",January:"Ocak",February:"\u015Eubat",March:"Mart",April:"Nisan",May:"May\u0131s",June:"Haziran",July:"Temmuz",August:"A\u011Fustos",September:"Eyl\xFCl",October:"Ekim",November:"Kas\u0131m",December:"Aral\u0131k",Jan:"Oca",Feb:"\u015Eub",Mar:"Mar",Apr:"Nis","May(short)":"May",Jun:"Haz",Jul:"Tem",Aug:"A\u011Fu",Sep:"Eyl",Oct:"Eki",Nov:"Kas",Dec:"Ara",Sunday:"Pazar",Monday:"Pazartesi",Tuesday:"Sal\u0131",Wednesday:"\xC7ar\u015Famba",Thursday:"Per\u015Fembe",Friday:"Cuma",Saturday:"Cumartesi",Sun:"Paz",Mon:"Pzt",Tue:"Sal",Wed:"\xC7ar",Thu:"Per",Fri:"Cum",Sat:"Cmt",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Yak\u0131nla\u015Ft\u0131r",Play:"Oynat",Stop:"Durdur",Legend:"G\xF6sterge","Press ENTER to toggle":"",Loading:"Y\xFCkleniyor",Home:"Giri\u015F Sayfas\u0131",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Yazd\u0131r",Image:"G\xF6r\xFCnt\xFC",Data:"Veri",Print:"Yazd\u0131r","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Kaynak %1 hedef %2","From %1":"Kaynak %1","To %1":"Hedef %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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.70 */
4
- import b from"./3ZA45V4L.js";import{a as v}from"./H7WN46AE.js";import"./7WHFFM3P.js";import"./PZQELMQA.js";import"./IT57KQ22.js";import{I as u,J as a,L as h,O as g,a as p,b as l}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([{watch:T},{a:f,b:_,c:$,d:w,f:d}])=>{var x=p`:host{overflow-y:hidden;display:flex;flex:1 0}.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}`,n="arcgis-print",i={templateSelectError:`${n}__template-select-error`,templateButtonContainer:`${n}__template-button-container`,templateDoneButton:`${n}__template-done-button`,templateSelectFlowItemContainer:`${n}__template-select-flow-item-container`,templateSelectFlowItemContent:`${n}__template-select-flow-item-content`,templateSelectFlowItemListHeading:`${n}__template-select-flow-item-list-heading`},m=class extends u{constructor(){super(...arguments),this._handles=v("disconnect")}static{this.properties={_selectedTemplate:16,excludeOrganizationTemplates:5,viewModel:0,messages:0,hideTemplateSelector:0}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[T(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(T(()=>this._selectedTemplate?.state,()=>this.requestUpdate(),{initial:!0}),"template-handle")},{initial:!0})])}_getPortalTemplates(){return this.viewModel.includeDefaultTemplates&&!this.excludeOrganizationTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:e,layoutItem:s})=>!d(e)&&!!s?.id):[]}_getDefaultTemplates(){return this.viewModel.includeDefaultTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:e,layoutItem:s})=>!d(e)&&!s?.id):[]}_getPrintServiceTemplates(){return!this.viewModel.includeDefaultTemplates||!this._getDefaultTemplates().length?this.viewModel.printServiceTemplates.toArray().filter(({layout:e})=>!d(e)):[]}render(){let{messages:e}=this,s=f.test(this.viewModel.portal?.url),t=this.viewModel.browseTemplates.toArray(),o=this._getPortalTemplates(),c=this._getDefaultTemplates(),r=this._getPrintServiceTemplates(),y=t.length+o.length+c.length+r.length>15;return l`<div class=${a(i.templateSelectFlowItemContainer)}><div class=${a(i.templateSelectFlowItemContent)}><slot></slot><calcite-list .filterEnabled=${y} .filterProps=${["label"]} .label=${e.templateList} selection-mode=single-persist @calciteListChange=${({currentTarget:b})=>this.viewModel.applyTemplate(b.selectedItems[0]?.value)}>${t.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.myTemplates}${s?l`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(t,!0)}</div>`:null}${o.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.organizationTemplates}${s?l`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(o)}</div>`:null}${t.length||o.length?c.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(c)}</div>`:null:this._renderLayoutTemplates(c)}${t.length||o.length?r.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(r)}</div>`:null:this._renderLayoutTemplates(r)}</calcite-list></div><div class=${a(i.templateButtonContainer)}><calcite-button class=${a(i.templateDoneButton)} @click=${this.hideTemplateSelector}>Done</calcite-button></div></div>`}_renderLayoutTemplates(e,s=!1){return e.map(t=>l`<calcite-list-item .description=${_(t)} .label=${$(t,this.messages)} .selected=${t.id===this.viewModel.templateOptions.id} title=${t.description??""??h} .value=${t}><calcite-icon .icon=${(t.layout?w(t.layout):null)||"custom-print"} slot=content-start></calcite-icon>${t.state==="loading"?l`<calcite-loader inline label=loading scale=s slot=content-end></calcite-loader>`:null}${t?.state==="error"?l`<calcite-icon class=${a(i.templateSelectError)} icon=exclamation-mark-circle scale=s slot=content-end></calcite-icon>`:null}${s?l`<calcite-action icon=trash @click=${()=>this.viewModel.removePortalTemplate(t)} slot=actions-end text=delete></calcite-action>`:null}</calcite-list-item>`)}};g("arcgis-print-template-selector",m);return m},"core/reactiveUtils",b)
3
+ v5.0.0-next.72 */
4
+ import b from"./W6YJDCKX.js";import{a as v}from"./XUCLKFN4.js";import"./E3VVCZY7.js";import"./RWV3GDPZ.js";import"./OGJPLGAN.js";import{I as u,J as a,L as h,O as g,a as p,b as l}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([{watch:T},{a:f,b:_,c:$,d:w,f:d}])=>{var x=p`:host{overflow-y:hidden;display:flex;flex:1 0}.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}`,n="arcgis-print",i={templateSelectError:`${n}__template-select-error`,templateButtonContainer:`${n}__template-button-container`,templateDoneButton:`${n}__template-done-button`,templateSelectFlowItemContainer:`${n}__template-select-flow-item-container`,templateSelectFlowItemContent:`${n}__template-select-flow-item-content`,templateSelectFlowItemListHeading:`${n}__template-select-flow-item-list-heading`},m=class extends u{constructor(){super(...arguments),this._handles=v("disconnect")}static{this.properties={_selectedTemplate:16,excludeOrganizationTemplates:5,viewModel:0,messages:0,hideTemplateSelector:0}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[T(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(T(()=>this._selectedTemplate?.state,()=>this.requestUpdate(),{initial:!0}),"template-handle")},{initial:!0})])}_getPortalTemplates(){return this.viewModel.includeDefaultTemplates&&!this.excludeOrganizationTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:e,layoutItem:s})=>!d(e)&&!!s?.id):[]}_getDefaultTemplates(){return this.viewModel.includeDefaultTemplates?this.viewModel.defaultTemplates.toArray().filter(({layout:e,layoutItem:s})=>!d(e)&&!s?.id):[]}_getPrintServiceTemplates(){return!this.viewModel.includeDefaultTemplates||!this._getDefaultTemplates().length?this.viewModel.printServiceTemplates.toArray().filter(({layout:e})=>!d(e)):[]}render(){let{messages:e}=this,s=f.test(this.viewModel.portal?.url),t=this.viewModel.browseTemplates.toArray(),o=this._getPortalTemplates(),c=this._getDefaultTemplates(),r=this._getPrintServiceTemplates(),y=t.length+o.length+c.length+r.length>15;return l`<div class=${a(i.templateSelectFlowItemContainer)}><div class=${a(i.templateSelectFlowItemContent)}><slot></slot><calcite-list .filterEnabled=${y} .filterProps=${["label"]} .label=${e.templateList} selection-mode=single-persist @calciteListChange=${({currentTarget:b})=>this.viewModel.applyTemplate(b.selectedItems[0]?.value)}>${t.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.myTemplates}${s?l`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(t,!0)}</div>`:null}${o.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.organizationTemplates}${s?l`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>`:null}</div>${this._renderLayoutTemplates(o)}</div>`:null}${t.length||o.length?c.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(c)}</div>`:null:this._renderLayoutTemplates(c)}${t.length||o.length?r.length?l`<div><div class=${a(i.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(r)}</div>`:null:this._renderLayoutTemplates(r)}</calcite-list></div><div class=${a(i.templateButtonContainer)}><calcite-button class=${a(i.templateDoneButton)} @click=${this.hideTemplateSelector}>Done</calcite-button></div></div>`}_renderLayoutTemplates(e,s=!1){return e.map(t=>l`<calcite-list-item .description=${_(t)} .label=${$(t,this.messages)} .selected=${t.id===this.viewModel.templateOptions.id} title=${t.description??""??h} .value=${t}><calcite-icon .icon=${(t.layout?w(t.layout):null)||"custom-print"} slot=content-start></calcite-icon>${t.state==="loading"?l`<calcite-loader inline label=loading scale=s slot=content-end></calcite-loader>`:null}${t?.state==="error"?l`<calcite-icon class=${a(i.templateSelectError)} icon=exclamation-mark-circle scale=s slot=content-end></calcite-icon>`:null}${s?l`<calcite-action icon=trash @click=${()=>this.viewModel.removePortalTemplate(t)} slot=actions-end text=delete></calcite-action>`:null}</calcite-list-item>`)}};g("arcgis-print-template-selector",m);return m},"core/reactiveUtils",b)
@@ -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.70 */
4
- import{e as r}from"./7WHFFM3P.js";import"./PZQELMQA.js";import"./IT57KQ22.js";import{I as o,O as n,b as t}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([h,{watch:v}])=>{var _=["Auto"],g=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],d=new h([255,127,0]),s=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._direction=r(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,a=this._direction==="rtl"?"chevron-left":"chevron-right",p=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({label:i,value:c})=>t`<calcite-list-item .disabled=${l?.layer?.isLive&&c!==1} .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${_.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,$=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??d.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new h(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??d.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?p:null}${this._active==="quality"?m:null}${this._active==="color"?$:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",s);return s},"Color","core/reactiveUtils")
3
+ v5.0.0-next.72 */
4
+ import{e as r}from"./E3VVCZY7.js";import"./RWV3GDPZ.js";import"./OGJPLGAN.js";import{I as o,O as n,b as t}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([h,{watch:v}])=>{var _=["Auto"],g=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],d=new h([255,127,0]),s=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._direction=r(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,a=this._direction==="rtl"?"chevron-left":"chevron-right",p=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({label:i,value:c})=>t`<calcite-list-item .disabled=${l?.layer?.isLive&&c!==1} .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${_.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,$=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??d.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new h(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??d.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?p:null}${this._active==="quality"?m:null}${this._active==="color"?$:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",s);return s},"Color","core/reactiveUtils")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.72 */
4
+ import a from"./IO4ZJHH6.js";import"./IDZMHDMW.js";import"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([a])=>{return a},a)
@@ -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.70 */
4
- import{a as _}from"./QGG4672J.js";import"./7WHFFM3P.js";import"./PZQELMQA.js";import"./IT57KQ22.js";import{G as m,H as y,I as p,O as f,a as g,b as a,s as d}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([{queryAllJSON:$},w])=>{var v=g`:host{max-height:calc(100vh - 150px);min-height:300px}#results-list,#features-list{min-height:300px}.results-heading{display:flex;flex-direction:column;padding:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,c="map-components:arcgis-utility-network-trace-results",u=class extends p{constructor(){super(...arguments),this._messages=_({blocking:!0}),this._elementsWithoutLayer=[],this._featuresComponentRef=m(),this._layerIdToFeatures=new Map,this._layerIdToLayer=new Map,this._subtypeCodeToFeatures=new Map,this._sourceIdToElements=new Map,this._unLayers=[],this._comapreByFeatureTitle=(e,t)=>e.label.localeCompare(t.label,void 0,{numeric:!0}),this._compareByLayerTitle=([,e],[,t])=>{let s=e[0].feature.layer,i=t[0].feature.layer,r=s?.title??"",n=i?.title??"";return r.localeCompare(n,void 0,{numeric:!0})},this._queryFeaturesOnLayer=async([e,t])=>{let s=this.utilityNetwork?.getLayerIdBySourceId(e),i=this._getLayerByLayerId(s);if(s==null||!i){this._elementsWithoutLayer.push(...t);return}let r=i.createQuery();r.gdbVersion=this.utilityNetwork?.gdbVersion,r.objectIds=t.map(l=>l.objectId),r.outFields=["*"];let{features:n}=w.fromJSON(await $(i,r)),h=await Promise.all(n.map(async l=>{l.layer=i.type==="subtype-group"?i.findSublayerForFeature(l):i;let o=l.layer;if(o&&"getFeatureTitle"in o){let L=await o.getFeatureTitle(l)||this._getFeatureTitle(l);return{feature:l,label:L}}return{feature:l,label:this._getFeatureTitle(l)}}));i.type==="subtype-group"?h.forEach(l=>this._addOrCreateMapValue(this._subtypeCodeToFeatures,l.feature.layer.subtypeCode,l)):this._layerIdToFeatures.set(s,h)},this.featuresFromSelectedLayer=[],this.isElementsSelected=!1,this.layers=[],this.state="ready",this.arcgisSelectedResultTypeChange=d(),this.arcgisSelectedLayerChange=d(),this._renderElementsListItem=e=>a`<calcite-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${()=>this.isElementsSelected=!0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${e.elements.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`,this._renderLayerListItem=([,e])=>{if(!e.length)return null;let t=e[0].feature.layer,s=t?.title||this._messages.unknown;return a`<calcite-list-item .label=${s} @calciteListItemSelect=${()=>this._setSelectedLayerAndFeatures(t)}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`},this._renderFeatureListItem=e=>{let{feature:t,label:s}=e;return a`<calcite-list-item .label=${s} @calciteListItemSelect=${()=>this.selectedFeature=t}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}}static{this.properties={featuresFromSelectedLayer:0,isElementsSelected:5,layers:0,messageOverrides:0,referenceElement:1,selectedFeature:0,selectedLayer:0,state:1,traceConfigTitle:1,traceResult:0,utilityNetwork:0,view:0}}static{this.styles=v}load(){this._setSourceIdToElements(),this._loadDependencies().then(()=>this._queryTraceResultsFeatures()).finally(()=>this.state="ready")}loaded(){this.utilityNetwork||console.warn(`${c} was rendered without the required \`utilityNetwork\` property.`),this.layers.length===0&&console.warn(`${c} was rendered without any layers set for the \`layers\` property.`),this.view||console.warn(`${c} was rendered without the required \`view\` property.`)}willUpdate(e){e.has("isElementsSelected")&&this.arcgisSelectedResultTypeChange.emit(),e.has("selectedLayer")&&this.arcgisSelectedLayerChange.emit(),e.has("traceResult")&&(this.isElementsSelected=!1),(e.has("layers")||e.has("utilityNetwork"))&&this._loadDependencies()}_addOrCreateMapValue(e,t,s){let i=e.get(t);i==null?e.set(t,[s]):i.push(s)}_getFeatureTitle(e){let t=e.attributes,s=e.layer;if(!t||!s)return"";let i="displayField"in s?s.displayField:null,r=i!=null?t[i]:null,n=e.getObjectId()?.toString();return r?.toString()||n||this._messages.unknown}_getLayerByLayerId(e){if(e==null)return;let{_layerIdToLayer:t,_unLayers:s}=this;if(t.get(e))return t.get(e);let i=s.find(r=>"layerId"in r&&r.layerId===e);return i&&t.set(e,i),i}async _loadDependencies(){let{layers:e,utilityNetwork:t}=this;if(!t)return;t.loaded||(this.state="loading",await t.load()),this._unLayers=e.filter(i=>t.isUtilityLayer(i));let s=this._unLayers.filter(i=>!i.loaded).map(i=>i.load());s.length>0&&(this.state="loading",await Promise.allSettled(s))}async _queryTraceResultsFeatures(){let e=Array.from(this._sourceIdToElements.entries());e.length>0&&(this.state="loading");let t=e.map(this._queryFeaturesOnLayer);(await Promise.allSettled(t)).forEach((s,i)=>{if(s.status==="rejected"){let[r]=e[i];console.error(`${c}: Failed to query features for source ${r}:`,s.reason)}})}_setSelectedLayerAndFeatures(e){let t;if(!e)t=[];else if(e.type==="subtype-sublayer"){let{subtypeCode:s}=e;t=this._subtypeCodeToFeatures.get(s)??[]}else{let{layerId:s}=e;t=this._layerIdToFeatures.get(s)??[]}this.featuresFromSelectedLayer=t.sort(this._comapreByFeatureTitle),this.selectedLayer=e}_setSourceIdToElements(){this.traceResult?.elements?.forEach(e=>this._addOrCreateMapValue(this._sourceIdToElements,e.networkSourceId,e))}render(){let{traceResult:e}=this;if(e){if(!e.elements?.length&&!e.globalFunctionResults?.length)return a`<div>${this._renderTraceResultsHeading()}${this._renderNoResultsLanding()}</div>`}else return a`<div>${this._renderTraceResultsHeading()}${this._renderNoTraceLanding()}</div>`;if(this.state==="loading")return a`<calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader>`;if(this.selectedFeature){let r=this._featuresComponentRef.value,n=r?.selectedFeature?[r.selectedFeature]:[this.selectedFeature];return a`<arcgis-features .referenceElement=${this.referenceElement} .features=${n} .view=${this.view} visible @arcgisClose=${()=>this.selectedFeature=void 0} ${y(this._featuresComponentRef)}></arcgis-features>`}let{elements:t,globalFunctionResults:s}=e,i=t&&t.length>0&&(!s||s.length===0);return a`<calcite-flow>${i?null:a`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(e)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}",t.length.toString())} .selected=${(i||this.isElementsSelected)&&!this.selectedLayer} @calciteFlowItemBack=${()=>this.isElementsSelected=!1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title??void 0} .description=${this._messages.headings.totalFeatures.replace("{number}",this.featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${()=>this.selectedLayer=void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`}_renderLanding(e){return a`${this._renderTraceResultsHeading()}<calcite-list id=results-list .label=${this._messages.headings.traceResultsGeneric}>${this._renderElementsListItem(e)}</calcite-list>`}_renderLayerList(){let e=Array.from(this._layerIdToFeatures.entries()),t=Array.from(this._subtypeCodeToFeatures.entries()),s=e.concat(t).sort(this._compareByLayerTitle).map(this._renderLayerListItem);return this._elementsWithoutLayer.length>0&&s.push(this._renderUnknownListItem()),a`<calcite-list .label=${this._messages.labels.traceResultElementsByLayer} .loading=${this.state==="loading"}>${s}</calcite-list>`}_renderUnknownListItem(){return a`<calcite-list-item .label=${this._messages.unknown}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end>${this._elementsWithoutLayer.length}</calcite-chip></calcite-list-item>`}_renderFeaturesList(){return a`<calcite-list id=features-list .label=${this._messages.headings.traceResultsGeneric}>${this.featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list>`}_renderTraceResultsHeading(){return a`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?a`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}_renderNoResultsLanding(){return a`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div>`}_renderNoTraceLanding(){return a`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div>`}};f("arcgis-utility-network-trace-results",u);return u},"applications/Components/featureUtils","rest/support/FeatureSet")
3
+ v5.0.0-next.72 */
4
+ import{a as _}from"./DTXREBKJ.js";import"./E3VVCZY7.js";import"./RWV3GDPZ.js";import"./OGJPLGAN.js";import{G as m,H as y,I as p,O as f,a as g,b as a,s as d}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([{queryAllJSON:$},w])=>{var v=g`:host{max-height:calc(100vh - 150px);min-height:300px}#results-list,#features-list{min-height:300px}.results-heading{display:flex;flex-direction:column;padding:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,c="map-components:arcgis-utility-network-trace-results",u=class extends p{constructor(){super(...arguments),this._messages=_({blocking:!0}),this._elementsWithoutLayer=[],this._featuresComponentRef=m(),this._layerIdToFeatures=new Map,this._layerIdToLayer=new Map,this._subtypeCodeToFeatures=new Map,this._sourceIdToElements=new Map,this._unLayers=[],this._comapreByFeatureTitle=(e,t)=>e.label.localeCompare(t.label,void 0,{numeric:!0}),this._compareByLayerTitle=([,e],[,t])=>{let s=e[0].feature.layer,i=t[0].feature.layer,r=s?.title??"",n=i?.title??"";return r.localeCompare(n,void 0,{numeric:!0})},this._queryFeaturesOnLayer=async([e,t])=>{let s=this.utilityNetwork?.getLayerIdBySourceId(e),i=this._getLayerByLayerId(s);if(s==null||!i){this._elementsWithoutLayer.push(...t);return}let r=i.createQuery();r.gdbVersion=this.utilityNetwork?.gdbVersion,r.objectIds=t.map(l=>l.objectId),r.outFields=["*"];let{features:n}=w.fromJSON(await $(i,r)),h=await Promise.all(n.map(async l=>{l.layer=i.type==="subtype-group"?i.findSublayerForFeature(l):i;let o=l.layer;if(o&&"getFeatureTitle"in o){let L=await o.getFeatureTitle(l)||this._getFeatureTitle(l);return{feature:l,label:L}}return{feature:l,label:this._getFeatureTitle(l)}}));i.type==="subtype-group"?h.forEach(l=>this._addOrCreateMapValue(this._subtypeCodeToFeatures,l.feature.layer.subtypeCode,l)):this._layerIdToFeatures.set(s,h)},this.featuresFromSelectedLayer=[],this.isElementsSelected=!1,this.layers=[],this.state="ready",this.arcgisSelectedResultTypeChange=d(),this.arcgisSelectedLayerChange=d(),this._renderElementsListItem=e=>a`<calcite-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${()=>this.isElementsSelected=!0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${e.elements.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`,this._renderLayerListItem=([,e])=>{if(!e.length)return null;let t=e[0].feature.layer,s=t?.title||this._messages.unknown;return a`<calcite-list-item .label=${s} @calciteListItemSelect=${()=>this._setSelectedLayerAndFeatures(t)}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`},this._renderFeatureListItem=e=>{let{feature:t,label:s}=e;return a`<calcite-list-item .label=${s} @calciteListItemSelect=${()=>this.selectedFeature=t}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}}static{this.properties={featuresFromSelectedLayer:0,isElementsSelected:5,layers:0,messageOverrides:0,referenceElement:1,selectedFeature:0,selectedLayer:0,state:1,traceConfigTitle:1,traceResult:0,utilityNetwork:0,view:0}}static{this.styles=v}load(){this._setSourceIdToElements(),this._loadDependencies().then(()=>this._queryTraceResultsFeatures()).finally(()=>this.state="ready")}loaded(){this.utilityNetwork||console.warn(`${c} was rendered without the required \`utilityNetwork\` property.`),this.layers.length===0&&console.warn(`${c} was rendered without any layers set for the \`layers\` property.`),this.view||console.warn(`${c} was rendered without the required \`view\` property.`)}willUpdate(e){e.has("isElementsSelected")&&this.arcgisSelectedResultTypeChange.emit(),e.has("selectedLayer")&&this.arcgisSelectedLayerChange.emit(),e.has("traceResult")&&(this.isElementsSelected=!1),(e.has("layers")||e.has("utilityNetwork"))&&this._loadDependencies()}_addOrCreateMapValue(e,t,s){let i=e.get(t);i==null?e.set(t,[s]):i.push(s)}_getFeatureTitle(e){let t=e.attributes,s=e.layer;if(!t||!s)return"";let i="displayField"in s?s.displayField:null,r=i!=null?t[i]:null,n=e.getObjectId()?.toString();return r?.toString()||n||this._messages.unknown}_getLayerByLayerId(e){if(e==null)return;let{_layerIdToLayer:t,_unLayers:s}=this;if(t.get(e))return t.get(e);let i=s.find(r=>"layerId"in r&&r.layerId===e);return i&&t.set(e,i),i}async _loadDependencies(){let{layers:e,utilityNetwork:t}=this;if(!t)return;t.loaded||(this.state="loading",await t.load()),this._unLayers=e.filter(i=>t.isUtilityLayer(i));let s=this._unLayers.filter(i=>!i.loaded).map(i=>i.load());s.length>0&&(this.state="loading",await Promise.allSettled(s))}async _queryTraceResultsFeatures(){let e=Array.from(this._sourceIdToElements.entries());e.length>0&&(this.state="loading");let t=e.map(this._queryFeaturesOnLayer);(await Promise.allSettled(t)).forEach((s,i)=>{if(s.status==="rejected"){let[r]=e[i];console.error(`${c}: Failed to query features for source ${r}:`,s.reason)}})}_setSelectedLayerAndFeatures(e){let t;if(!e)t=[];else if(e.type==="subtype-sublayer"){let{subtypeCode:s}=e;t=this._subtypeCodeToFeatures.get(s)??[]}else{let{layerId:s}=e;t=this._layerIdToFeatures.get(s)??[]}this.featuresFromSelectedLayer=t.sort(this._comapreByFeatureTitle),this.selectedLayer=e}_setSourceIdToElements(){this.traceResult?.elements?.forEach(e=>this._addOrCreateMapValue(this._sourceIdToElements,e.networkSourceId,e))}render(){let{traceResult:e}=this;if(e){if(!e.elements?.length&&!e.globalFunctionResults?.length)return a`<div>${this._renderTraceResultsHeading()}${this._renderNoResultsLanding()}</div>`}else return a`<div>${this._renderTraceResultsHeading()}${this._renderNoTraceLanding()}</div>`;if(this.state==="loading")return a`<calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader>`;if(this.selectedFeature){let r=this._featuresComponentRef.value,n=r?.selectedFeature?[r.selectedFeature]:[this.selectedFeature];return a`<arcgis-features .referenceElement=${this.referenceElement} .features=${n} .view=${this.view} visible @arcgisClose=${()=>this.selectedFeature=void 0} ${y(this._featuresComponentRef)}></arcgis-features>`}let{elements:t,globalFunctionResults:s}=e,i=t&&t.length>0&&(!s||s.length===0);return a`<calcite-flow>${i?null:a`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(e)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}",t.length.toString())} .selected=${(i||this.isElementsSelected)&&!this.selectedLayer} @calciteFlowItemBack=${()=>this.isElementsSelected=!1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title??void 0} .description=${this._messages.headings.totalFeatures.replace("{number}",this.featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${()=>this.selectedLayer=void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`}_renderLanding(e){return a`${this._renderTraceResultsHeading()}<calcite-list id=results-list .label=${this._messages.headings.traceResultsGeneric}>${this._renderElementsListItem(e)}</calcite-list>`}_renderLayerList(){let e=Array.from(this._layerIdToFeatures.entries()),t=Array.from(this._subtypeCodeToFeatures.entries()),s=e.concat(t).sort(this._compareByLayerTitle).map(this._renderLayerListItem);return this._elementsWithoutLayer.length>0&&s.push(this._renderUnknownListItem()),a`<calcite-list .label=${this._messages.labels.traceResultElementsByLayer} .loading=${this.state==="loading"}>${s}</calcite-list>`}_renderUnknownListItem(){return a`<calcite-list-item .label=${this._messages.unknown}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end>${this._elementsWithoutLayer.length}</calcite-chip></calcite-list-item>`}_renderFeaturesList(){return a`<calcite-list id=features-list .label=${this._messages.headings.traceResultsGeneric}>${this.featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list>`}_renderTraceResultsHeading(){return a`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?a`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}_renderNoResultsLanding(){return a`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div>`}_renderNoTraceLanding(){return a`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div>`}};f("arcgis-utility-network-trace-results",u);return u},"applications/Components/featureUtils","rest/support/FeatureSet")
@@ -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.70 */
4
- import{a as p}from"./H7WN46AE.js";import"./7WHFFM3P.js";import"./PZQELMQA.js";import"./IT57KQ22.js";import{I as c,J as r,O as h,a as n,b as t}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([{watch:l}])=>{var u=n`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,m="arcgis-print",g={advancedOptionsContainer:`${m}__advanced-options-container`},v=["catalog-footprint","geojson","csv","graphics","kml","map-notes","stream"];function w(i){if(!i)return!1;let{map:e,graphics:d}=i;return d?.length?!0:e?.allLayers.some(a=>{if(a.type==="feature"&&"source"in a){let{type:o}=a.source;return o!=="feature-layer"&&o!=="ogc-feature"}return v.includes(a.type)})??!1}function b(i){let e=i?.map;return!!e&&e.tables.length>0}var s=class extends c{constructor(){super(...arguments),this._handles=p("disconnect"),this.autoPopulateAuthor=!1}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,_showForceFeatureAttributes:16,_showTablesInput:16,autoPopulateAuthor:5,viewModel:0,messages:0}}static{this.styles=u}loaded(){this.manager.onLifecycle(()=>[l(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(l(()=>[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,this._showForceFeatureAttributes=w(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id,this._showTablesInput=b(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id},{initial:!0}),"template-handle")},{initial:!0}),l(()=>[this.viewModel.portal?.user,this.autoPopulateAuthor],()=>{!this.viewModel.templateOptions.author&&this.autoPopulateAuthor&&this.viewModel.portal?.user?.username&&(this.viewModel.templateOptions.author=this.viewModel.portal.user.username,this.requestUpdate())},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${r(g.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}${this._renderForceFeatureAttributesSection()}${this._renderIncludeTablesSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?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?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>${this.viewModel.templateOptions.legendEnabled?t`<calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.dynamicLegendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.dynamicLegendEnabled=e.target.checked}></calcite-checkbox>${this.messages.dynamicLegend}</calcite-label>`:null}</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>${this.viewModel.templateOptions.scaleBarEnabled?t`<calcite-label>${this.messages.scaleBarUnit}<calcite-select label="Scale bar unit" .value=${this.viewModel.templateOptions.scaleBarUnit||void 0} @calciteSelectChange=${e=>{this.viewModel.templateOptions.scaleBarUnit=e.target.value}}><calcite-option value=miles>Miles</calcite-option><calcite-option value=kilometers>Kilometers</calcite-option><calcite-option value=meters>Meters</calcite-option><calcite-option value=feet>Feet</calcite-option></calcite-select></calcite-label>`:null}</div>`:null}_renderForceFeatureAttributesSection(){return this._showForceFeatureAttributes?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.forceFeatureAttributes} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.forceFeatureAttributes=e.target.checked}></calcite-checkbox>${this.messages.forceFeatureAttributes}</calcite-label></div>`:null}_renderIncludeTablesSection(){return this._showTablesInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.includeTables} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.includeTables=e.target.checked}></calcite-checkbox>${this.messages.includeTables}</calcite-label></div>`:null}};h("arcgis-print-layout-advanced-options",s);return s},"core/reactiveUtils")
3
+ v5.0.0-next.72 */
4
+ import{a as p}from"./XUCLKFN4.js";import"./E3VVCZY7.js";import"./RWV3GDPZ.js";import"./OGJPLGAN.js";import{I as c,J as r,O as h,a as n,b as t}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([{watch:l}])=>{var u=n`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,m="arcgis-print",g={advancedOptionsContainer:`${m}__advanced-options-container`},v=["catalog-footprint","geojson","csv","graphics","kml","map-notes","stream"];function w(i){if(!i)return!1;let{map:e,graphics:d}=i;return d?.length?!0:e?.allLayers.some(a=>{if(a.type==="feature"&&"source"in a){let{type:o}=a.source;return o!=="feature-layer"&&o!=="ogc-feature"}return v.includes(a.type)})??!1}function b(i){let e=i?.map;return!!e&&e.tables.length>0}var s=class extends c{constructor(){super(...arguments),this._handles=p("disconnect"),this.autoPopulateAuthor=!1}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,_showForceFeatureAttributes:16,_showTablesInput:16,autoPopulateAuthor:5,viewModel:0,messages:0}}static{this.styles=u}loaded(){this.manager.onLifecycle(()=>[l(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(l(()=>[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,this._showForceFeatureAttributes=w(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id,this._showTablesInput=b(this.viewModel.view)&&!!this._selectedTemplate?.layoutItem?.id},{initial:!0}),"template-handle")},{initial:!0}),l(()=>[this.viewModel.portal?.user,this.autoPopulateAuthor],()=>{!this.viewModel.templateOptions.author&&this.autoPopulateAuthor&&this.viewModel.portal?.user?.username&&(this.viewModel.templateOptions.author=this.viewModel.portal.user.username,this.requestUpdate())},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${r(g.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}${this._renderForceFeatureAttributesSection()}${this._renderIncludeTablesSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?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?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>${this.viewModel.templateOptions.legendEnabled?t`<calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.dynamicLegendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.dynamicLegendEnabled=e.target.checked}></calcite-checkbox>${this.messages.dynamicLegend}</calcite-label>`:null}</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>${this.viewModel.templateOptions.scaleBarEnabled?t`<calcite-label>${this.messages.scaleBarUnit}<calcite-select label="Scale bar unit" .value=${this.viewModel.templateOptions.scaleBarUnit||void 0} @calciteSelectChange=${e=>{this.viewModel.templateOptions.scaleBarUnit=e.target.value}}><calcite-option value=miles>Miles</calcite-option><calcite-option value=kilometers>Kilometers</calcite-option><calcite-option value=meters>Meters</calcite-option><calcite-option value=feet>Feet</calcite-option></calcite-select></calcite-label>`:null}</div>`:null}_renderForceFeatureAttributesSection(){return this._showForceFeatureAttributes?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.forceFeatureAttributes} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.forceFeatureAttributes=e.target.checked}></calcite-checkbox>${this.messages.forceFeatureAttributes}</calcite-label></div>`:null}_renderIncludeTablesSection(){return this._showTablesInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.includeTables} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.includeTables=e.target.checked}></calcite-checkbox>${this.messages.includeTables}</calcite-label></div>`:null}};h("arcgis-print-layout-advanced-options",s);return s},"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.70 */
4
- import f from"./KOAR72C3.js";import e from"./YPHRNTBJ.js";import b from"./RANIQHZ4.js";import{g as l}from"./7WHFFM3P.js";import"./PZQELMQA.js";import{b as d}from"./MXJC7T2K.js";import"./IT57KQ22.js";import{I as c,O as n,a,s}from"./EG5OHCCW.js";import"./RW4X2SEO.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.72 */
4
+ import f from"./4ICWN7VF.js";import e from"./GTF7HZOV.js";import b from"./CAQSBU4E.js";import{g as l}from"./E3VVCZY7.js";import"./RWV3GDPZ.js";import{b as d}from"./N43GEBCB.js";import"./OGJPLGAN.js";import{I as c,O as n,a,s}from"./WYMKN43C.js";import"./DRNRJYXF.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.70 */
4
- import d from"./KOAR72C3.js";import c from"./YPHRNTBJ.js";import b from"./RANIQHZ4.js";import{g as n}from"./7WHFFM3P.js";import"./PZQELMQA.js";import"./MXJC7T2K.js";import"./IT57KQ22.js";import{I as o,O as a,a as t,s as r}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([l,,{a:e},s])=>{var c=t`.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-feature-form{letter-spacing:0em;background:var(--calcite-color-background);padding:var(--esri-widget-padding)}.esri-feature-form__disabled-notice{margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form .esri-feature-utility-network-associations,.esri-feature-form .esri-feature-form-utility-network-association-list{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info__description{color:var(--calcite-color-text-2)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info h5{font-size:inherit}.esri-feature-form__form{flex-direction:column;display:flex}.esri-feature-form__centered-button{align-self:center}.esri-feature-form__description-text{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-sm)}.esri-feature-form__list-observer{z-index:2;text-align:center;position:relative;bottom:var(--calcite-spacing-xxl)}.esri-feature-form__related-records_header{margin-bottom:var(--calcite-spacing-xs);display:flex}.esri-feature-form__related-records_header span{flex-grow:1}.esri-feature-form__related-records_label calcite-notice,.esri-feature-form__related-records_label .esri-feature-form__description-text{margin-bottom:var(--calcite-spacing-xs)}.esri-feature-form__related-records_list{min-height:40px;margin-bottom:var(--calcite-spacing-xs)}label.esri-feature-form__label{gap:.5em;margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__label{opacity:1;flex-direction:column;justify-content:space-between;margin-bottom:var(--calcite-spacing-xs);transition:opacity .25s,margin .25s;display:flex;position:relative}.esri-feature-form__label:last-child{margin-bottom:0}.esri-feature-form__label-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;align-items:center;display:flex}.esri-feature-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__form-header .esri-feature-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-feature-form__input{width:100%}.esri-feature-form__input:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}textarea.esri-feature-form__input{resize:vertical}.esri-feature-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__field-error-message{padding:7px 0;font-size:var(--calcite-font-size-sm)}.esri-feature-form__date-input-container{flex-direction:column;display:flex}.esri-feature-form__date-input-container .esri-feature-form__input{margin-bottom:3px}.esri-feature-form__date-input-container :last-child{margin-bottom:0}.esri-feature-form__input--radio-group{flex-direction:column;display:flex}.esri-feature-form__input--radio-label{align-items:center;display:flex}.esri-feature-form__input--switch{margin:7px 0}.esri-feature-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-feature-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-feature-form__group--active{border-inline-start-color:var(--calcite-color-status-info)}.esri-feature-form__text-element{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}.esri-feature-form__text-element a{transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;background-color:var(--calcite-color-background);background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));color:var(--calcite-color-text-link);background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;border-style:none;padding:0;text-decoration:none;display:inline;position:relative}.esri-feature-form__text-element a:hover,.esri-feature-form__text-element a:focus{background-size:100% 1px,100% 1px}.esri-feature-form__text-element a:active{background-size:100% 2px,100% 2px}.esri-feature-form__text-element a.calcite--rtl{background-position:100% 100%,100% 100%}.esri-feature-form__text-element code{border:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-3);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);border-radius:var(--calcite-spacing-base);padding:.25em;font-size:85%}.esri-feature-form__text-element h1,.esri-feature-form__text-element h2,.esri-feature-form__text-element h3,.esri-feature-form__text-element h4,.esri-feature-form__text-element h5{color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element h5{font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__text-element h6{color:var(--calcite-color-text-2);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element p{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form__text-element strong{font-weight:var(--calcite-font-weight-bold)}:dir(rtl) .esri-feature-form__date-input-part:first-child .esri-feature-form__input{border-left:none;border-right:1px solid #adadad4d}.esri-feature-form-utility-network-association-layers{background-color:var(--calcite-color-background)}.esri-feature-form-utility-network-association-layers__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-layers__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-layers__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__list-container{min-height:var(--calcite-spacing-xxxl);margin-bottom:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-feature-form-utility-network-association-layers__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__filter-options-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header{flex-direction:row;align-items:baseline;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header span{flex-grow:1}.esri-feature-form-utility-network-association-layers__spatial-select-container{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.esri-feature-form-utility-network-association-layers__spatial-select-toolbar{--calcite-action-group-border-color: transparent;border-width:var(--calcite-border-width-sm, 1px);border-radius:var(--calcite-corner-radius-round, 4px);border-style:solid;border-color:var(--calcite-color-border-3, var(--calcite-color-inverse));width:100%;min-height:min-content;overflow:hidden}.esri-feature-form-utility-network-association-layers__sticky-loading-container{z-index:2;pointer-events:none;justify-content:center;align-items:center;height:var(--calcite-spacing-xxxl);margin:0;padding:0;display:flex;position:sticky;bottom:10px}.esri-feature-form-utility-network-association-layers__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-feature-form-utility-network-association-list{background-color:var(--calcite-color-foreground-1)}.esri-feature-form-utility-network-association-list__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-list__header calcite-block{margin-block-start:-18px;margin-inline:-15px}.esri-feature-form-utility-network-association-list__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-list__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__list-container{flex-direction:column;min-height:var(--calcite-spacing-xxxl);display:flex}.esri-feature-form-utility-network-association-list__list-container calcite-fab{margin-block:var(--calcite-spacing-md);flex-direction:row;align-self:center;display:flex}.esri-feature-form-utility-network-association-settings{--calcite-block-padding: 0;background-color:var(--calcite-color-foreground-1);flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings calcite-block{border:1px solid var(--calcite-color-border-3);margin-block:0}.esri-feature-form-utility-network-association-settings calcite-block:first-of-type{border-radius:var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 0}.esri-feature-form-utility-network-association-settings calcite-block:last-of-type{border-top:none;border-radius:0 0 var(--calcite-spacing-sm) var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings calcite-block calcite-label{margin-inline:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings__info-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings__info-container>*{margin-block-end:var(--calcite-spacing-md)}`,d=s(l),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.editType=this.viewModel.editType,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("state"),this.arcgisReady=r(),this.arcgisSubmit=e(()=>this.widget,"submit"),this.arcgisValueChange=e(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,editType:1,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.styles=c}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};a("arcgis-feature-form",i);return i},"widgets/FeatureForm",b,c,d)
3
+ v5.0.0-next.72 */
4
+ import d from"./4ICWN7VF.js";import c from"./GTF7HZOV.js";import b from"./CAQSBU4E.js";import{g as n}from"./E3VVCZY7.js";import"./RWV3GDPZ.js";import"./N43GEBCB.js";import"./OGJPLGAN.js";import{I as o,O as a,a as t,s as r}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([l,,{a:e},s])=>{var c=t`.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-feature-form{letter-spacing:0em;background:var(--calcite-color-background);padding:var(--esri-widget-padding)}.esri-feature-form__disabled-notice{margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form .esri-feature-utility-network-associations,.esri-feature-form .esri-feature-form-utility-network-association-list{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info__description{color:var(--calcite-color-text-2)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info h5{font-size:inherit}.esri-feature-form__form{flex-direction:column;display:flex}.esri-feature-form__centered-button{align-self:center}.esri-feature-form__description-text{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-sm)}.esri-feature-form__list-observer{z-index:2;text-align:center;position:relative;bottom:var(--calcite-spacing-xxl)}.esri-feature-form__related-records_header{margin-bottom:var(--calcite-spacing-xs);display:flex}.esri-feature-form__related-records_header span{flex-grow:1}.esri-feature-form__related-records_label calcite-notice,.esri-feature-form__related-records_label .esri-feature-form__description-text{margin-bottom:var(--calcite-spacing-xs)}.esri-feature-form__related-records_list{min-height:40px;margin-bottom:var(--calcite-spacing-xs)}label.esri-feature-form__label{gap:.5em;margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__label{opacity:1;flex-direction:column;justify-content:space-between;margin-bottom:var(--calcite-spacing-xs);transition:opacity .25s,margin .25s;display:flex;position:relative}.esri-feature-form__label:last-child{margin-bottom:0}.esri-feature-form__label-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;align-items:center;display:flex}.esri-feature-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__form-header .esri-feature-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-feature-form__input{width:100%}.esri-feature-form__input:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}textarea.esri-feature-form__input{resize:vertical}.esri-feature-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__field-error-message{padding:7px 0;font-size:var(--calcite-font-size-sm)}.esri-feature-form__date-input-container{flex-direction:column;display:flex}.esri-feature-form__date-input-container .esri-feature-form__input{margin-bottom:3px}.esri-feature-form__date-input-container :last-child{margin-bottom:0}.esri-feature-form__input--radio-group{flex-direction:column;display:flex}.esri-feature-form__input--radio-label{align-items:center;display:flex}.esri-feature-form__input--switch{margin:7px 0}.esri-feature-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-feature-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-feature-form__group--active{border-inline-start-color:var(--calcite-color-status-info)}.esri-feature-form__text-element{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}.esri-feature-form__text-element a{transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;background-color:var(--calcite-color-background);background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));color:var(--calcite-color-text-link);background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;border-style:none;padding:0;text-decoration:none;display:inline;position:relative}.esri-feature-form__text-element a:hover,.esri-feature-form__text-element a:focus{background-size:100% 1px,100% 1px}.esri-feature-form__text-element a:active{background-size:100% 2px,100% 2px}.esri-feature-form__text-element a.calcite--rtl{background-position:100% 100%,100% 100%}.esri-feature-form__text-element code{border:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-3);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);border-radius:var(--calcite-spacing-base);padding:.25em;font-size:85%}.esri-feature-form__text-element h1,.esri-feature-form__text-element h2,.esri-feature-form__text-element h3,.esri-feature-form__text-element h4,.esri-feature-form__text-element h5{color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element h5{font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__text-element h6{color:var(--calcite-color-text-2);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element p{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form__text-element strong{font-weight:var(--calcite-font-weight-bold)}:dir(rtl) .esri-feature-form__date-input-part:first-child .esri-feature-form__input{border-left:none;border-right:1px solid #adadad4d}.esri-feature-form-utility-network-association-layers{background-color:var(--calcite-color-background)}.esri-feature-form-utility-network-association-layers__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-layers__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-layers__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__list-container{min-height:var(--calcite-spacing-xxxl);margin-bottom:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-feature-form-utility-network-association-layers__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__filter-options-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header{flex-direction:row;align-items:baseline;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header span{flex-grow:1}.esri-feature-form-utility-network-association-layers__spatial-select-container{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.esri-feature-form-utility-network-association-layers__spatial-select-toolbar{--calcite-action-group-border-color: transparent;border-width:var(--calcite-border-width-sm, 1px);border-radius:var(--calcite-corner-radius-round, 4px);border-style:solid;border-color:var(--calcite-color-border-3, var(--calcite-color-inverse));width:100%;min-height:min-content;overflow:hidden}.esri-feature-form-utility-network-association-layers__sticky-loading-container{z-index:2;pointer-events:none;justify-content:center;align-items:center;height:var(--calcite-spacing-xxxl);margin:0;padding:0;display:flex;position:sticky;bottom:10px}.esri-feature-form-utility-network-association-layers__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-feature-form-utility-network-association-list{background-color:var(--calcite-color-foreground-1)}.esri-feature-form-utility-network-association-list__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-list__header calcite-block{margin-block-start:-18px;margin-inline:-15px}.esri-feature-form-utility-network-association-list__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-list__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__list-container{flex-direction:column;min-height:var(--calcite-spacing-xxxl);display:flex}.esri-feature-form-utility-network-association-list__list-container calcite-fab{margin-block:var(--calcite-spacing-md);flex-direction:row;align-self:center;display:flex}.esri-feature-form-utility-network-association-settings{--calcite-block-padding: 0;background-color:var(--calcite-color-foreground-1);flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings calcite-block{border:1px solid var(--calcite-color-border-3);margin-block:0}.esri-feature-form-utility-network-association-settings calcite-block:first-of-type{border-radius:var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 0}.esri-feature-form-utility-network-association-settings calcite-block:last-of-type{border-top:none;border-radius:0 0 var(--calcite-spacing-sm) var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings calcite-block calcite-label{margin-inline:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings__info-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings__info-container>*{margin-block-end:var(--calcite-spacing-md)}`,d=s(l),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.editType=this.viewModel.editType,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("state"),this.arcgisReady=r(),this.arcgisSubmit=e(()=>this.widget,"submit"),this.arcgisValueChange=e(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,editType:1,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.styles=c}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};a("arcgis-feature-form",i);return i},"widgets/FeatureForm",b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.70 */
4
- import{a as u}from"./AXLD7LHL.js";import e from"./QTWERGPS.js";import{a as y}from"./QGG4672J.js";import{a as $}from"./5NKMRAL2.js";import d from"./YPHRNTBJ.js";import c from"./RANIQHZ4.js";import{g as S}from"./7WHFFM3P.js";import"./PZQELMQA.js";import"./MXJC7T2K.js";import{b as x}from"./IT57KQ22.js";import{H as _,I as v,J as a,L as w,M as f,O as b,a as p,b as s,s as m}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,e)
3
+ v5.0.0-next.72 */
4
+ import{a as u}from"./4TJZESD6.js";import e from"./VIW2MBV2.js";import{a as y}from"./DTXREBKJ.js";import{a as $}from"./LQ6FXLRW.js";import d from"./GTF7HZOV.js";import c from"./CAQSBU4E.js";import{g as S}from"./E3VVCZY7.js";import"./RWV3GDPZ.js";import"./N43GEBCB.js";import{b as x}from"./OGJPLGAN.js";import{H as _,I as v,J as a,L as w,M as f,O as b,a as p,b as s,s as m}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.70 */
4
- import b from"./YPHRNTBJ.js";import a from"./RANIQHZ4.js";import{a as r}from"./7WHFFM3P.js";export default $arcgis.t(([{watch:a},{b:n},{c:i}])=>{var v=(e,o)=>s=>m(s,e),t=class extends i{#o=void 0;constructor(o,s){super(o,s),new n(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)
3
+ v5.0.0-next.72 */
4
+ import b from"./GTF7HZOV.js";import a from"./CAQSBU4E.js";import{a as r}from"./E3VVCZY7.js";export default $arcgis.t(([{watch:a},{b:n},{c:i}])=>{var v=(e,o)=>s=>m(s,e),t=class extends i{#o=void 0;constructor(o,s){super(o,s),new n(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)
@@ -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.70 */
4
- import{G as s,H as i,I as h,J as n,O as r,a,b as t}from"./EG5OHCCW.js";import"./RW4X2SEO.js";var c=a``,m="arcgis-feature-attachments",d={base:m},e=class extends h{constructor(){super(...arguments),this._attachmentsRef=s(),this.hideSection=!1,this.attachmentsLength=0,this.headingLevel=2}static{this.properties={hideSection:16,attachmentsLength:16,state:16,attachmentKeywords:0,attachmentTypes:0,description:1,displayType:1,graphic:0,heading:1,headingLevel:9,messages:0}}static{this.styles=c}_updateAttachmentsState(){this.state=this._attachmentsRef.value?.state,this.attachmentsLength=this._attachmentsRef.value?.attachmentInfos?.length??0}render(){return t`<div class=${n(d.base)}>${this.renderContent()}</div>`}renderContent(){return t`<div .hidden=${!(this.state==="loading"||this.attachmentsLength>0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} .attachmentKeywords=${this.attachmentKeywords} .attachmentTypes=${this.attachmentTypes} ${i(this._attachmentsRef)}></arcgis-attachments></div>`}};r("arcgis-feature-attachments",e);export{e as ArcgisFeatureAttachments};
3
+ v5.0.0-next.72 */
4
+ import{G as s,H as i,I as h,J as n,O as r,a,b as t}from"./WYMKN43C.js";import"./DRNRJYXF.js";var c=a``,m="arcgis-feature-attachments",d={base:m},e=class extends h{constructor(){super(...arguments),this._attachmentsRef=s(),this.hideSection=!1,this.attachmentsLength=0,this.headingLevel=2}static{this.properties={hideSection:16,attachmentsLength:16,state:16,attachmentKeywords:0,attachmentTypes:0,description:1,displayType:1,graphic:0,heading:1,headingLevel:9,messages:0}}static{this.styles=c}_updateAttachmentsState(){this.state=this._attachmentsRef.value?.state,this.attachmentsLength=this._attachmentsRef.value?.attachmentInfos?.length??0}render(){return t`<div class=${n(d.base)}>${this.renderContent()}</div>`}renderContent(){return t`<div .hidden=${!(this.state==="loading"||this.attachmentsLength>0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} .attachmentKeywords=${this.attachmentKeywords} .attachmentTypes=${this.attachmentTypes} ${i(this._attachmentsRef)}></arcgis-attachments></div>`}};r("arcgis-feature-attachments",e);export{e as ArcgisFeatureAttachments};
@@ -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.70 */
4
- import{a as m}from"./QGG4672J.js";import{a as y}from"./5NKMRAL2.js";import a from"./RANIQHZ4.js";import{g as u}from"./7WHFFM3P.js";import"./PZQELMQA.js";import"./MXJC7T2K.js";import"./IT57KQ22.js";import{I as p,J as h,L as e,O as v,a as l,b as g,s as d}from"./EG5OHCCW.js";import"./RW4X2SEO.js";export default $arcgis.t(([{when:f},{a:b}])=>{var $="arcgis-navigation-toggle",x={base:$,button:"arcgis-button"},_=l`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{display:flex;inline-size:fit-content;block-size:fit-content}`,o={pan:"move",rotate:"rotate"},s=class extends p{constructor(){super(...arguments),this._messages=m(),this._state="disabled",this.autoDestroyDisabled=!1,this.view=b(this),this.icon=o.pan,this.layout="vertical",this.navigationMode="pan",this.arcgisPropertyChange=u()("layout","state"),this.arcgisReady=d()}static{this.properties={_state:16,autoDestroyDisabled:5,view:0,icon:1,label:1,layout:3,messageOverrides:0,navigationMode:3,position:1,referenceElement:1,state:35}}static{this.styles=_}get state(){return this._state}async destroy(){await this.manager.destroy()}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[f(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),f(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this._state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,navigationMode:a,state:M}=this,n=t.pan??"",c=t.rotate??"",i=M==="disabled",r=a==="pan";return g`<calcite-action-bar class=${h({[x.base]:!0,[x.button]:!0,[y.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${o.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${o.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};v("arcgis-navigation-toggle",s);return s},"core/reactiveUtils",a)
3
+ v5.0.0-next.72 */
4
+ import{a as m}from"./DTXREBKJ.js";import{a as y}from"./LQ6FXLRW.js";import a from"./CAQSBU4E.js";import{g as u}from"./E3VVCZY7.js";import"./RWV3GDPZ.js";import"./N43GEBCB.js";import"./OGJPLGAN.js";import{I as p,J as h,L as e,O as v,a as l,b as g,s as d}from"./WYMKN43C.js";import"./DRNRJYXF.js";export default $arcgis.t(([{when:f},{a:b}])=>{var $="arcgis-navigation-toggle",x={base:$,button:"arcgis-button"},_=l`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{display:flex;inline-size:fit-content;block-size:fit-content}`,o={pan:"move",rotate:"rotate"},s=class extends p{constructor(){super(...arguments),this._messages=m(),this._state="disabled",this.autoDestroyDisabled=!1,this.view=b(this),this.icon=o.pan,this.layout="vertical",this.navigationMode="pan",this.arcgisPropertyChange=u()("layout","state"),this.arcgisReady=d()}static{this.properties={_state:16,autoDestroyDisabled:5,view:0,icon:1,label:1,layout:3,messageOverrides:0,navigationMode:3,position:1,referenceElement:1,state:35}}static{this.styles=_}get state(){return this._state}async destroy(){await this.manager.destroy()}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[f(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),f(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this._state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,navigationMode:a,state:M}=this,n=t.pan??"",c=t.rotate??"",i=M==="disabled",r=a==="pan";return g`<calcite-action-bar class=${h({[x.base]:!0,[x.button]:!0,[y.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${o.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${o.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};v("arcgis-navigation-toggle",s);return s},"core/reactiveUtils",a)