@esri/solutions-components 5.1.0-next.110 → 5.1.0-next.112

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 (515) hide show
  1. package/dist/cdn/2JUKGS2K.js +2 -0
  2. package/dist/cdn/37Z6XQVC.js +2 -0
  3. package/dist/cdn/54AE7WD2.js +2 -0
  4. package/dist/cdn/5CONX4G5.js +2 -0
  5. package/dist/cdn/6F3ZITXR.js +2 -0
  6. package/dist/cdn/6VMC6VU3.js +2 -0
  7. package/dist/cdn/7X32DUXU.js +2 -0
  8. package/dist/cdn/A72KNPDC.js +2 -0
  9. package/dist/cdn/AGQHVMKE.js +2 -0
  10. package/dist/cdn/BYX4GLKL.js +2 -0
  11. package/dist/cdn/DFYZSN43.js +2 -0
  12. package/dist/cdn/DVIDBBJX.js +2 -0
  13. package/dist/cdn/GQSGFD3A.js +2 -0
  14. package/dist/cdn/LMSRZ4U3.js +2 -0
  15. package/dist/cdn/MJTM44UR.js +2 -0
  16. package/dist/cdn/QKVV2HDV.js +2 -0
  17. package/dist/cdn/R4CWTPJM.js +2 -0
  18. package/dist/cdn/{R5EBB32O.js → RF3IQI3Z.js} +118 -118
  19. package/dist/cdn/{LUPN4QGH.js → UV6ETUNG.js} +1 -1
  20. package/dist/cdn/WNWWPP3L.js +2 -0
  21. package/dist/cdn/XFIT6JYM.js +2 -0
  22. package/dist/cdn/YERZQ5GL.js +4 -0
  23. package/dist/cdn/YJMN3BSG.js +2 -0
  24. package/dist/cdn/{ZKWM223Q.js → YN7GO7C7.js} +1 -1
  25. package/dist/cdn/{WDHXTOWG.js → ZUDEZGGC.js} +1 -1
  26. package/dist/cdn/assets/buffer-tools/t9n/messages.ar.json +1 -1
  27. package/dist/cdn/assets/buffer-tools/t9n/messages.bg.json +1 -1
  28. package/dist/cdn/assets/buffer-tools/t9n/messages.bs.json +1 -1
  29. package/dist/cdn/assets/buffer-tools/t9n/messages.ca.json +1 -1
  30. package/dist/cdn/assets/buffer-tools/t9n/messages.cs.json +1 -1
  31. package/dist/cdn/assets/buffer-tools/t9n/messages.da.json +1 -1
  32. package/dist/cdn/assets/buffer-tools/t9n/messages.de.json +1 -1
  33. package/dist/cdn/assets/buffer-tools/t9n/messages.el.json +1 -1
  34. package/dist/cdn/assets/buffer-tools/t9n/messages.es.json +1 -1
  35. package/dist/cdn/assets/buffer-tools/t9n/messages.et.json +1 -1
  36. package/dist/cdn/assets/buffer-tools/t9n/messages.fi.json +1 -1
  37. package/dist/cdn/assets/buffer-tools/t9n/messages.fr.json +1 -1
  38. package/dist/cdn/assets/buffer-tools/t9n/messages.he.json +1 -1
  39. package/dist/cdn/assets/buffer-tools/t9n/messages.hr.json +1 -1
  40. package/dist/cdn/assets/buffer-tools/t9n/messages.hu.json +1 -1
  41. package/dist/cdn/assets/buffer-tools/t9n/messages.id.json +1 -1
  42. package/dist/cdn/assets/buffer-tools/t9n/messages.it.json +1 -1
  43. package/dist/cdn/assets/buffer-tools/t9n/messages.ja.json +1 -1
  44. package/dist/cdn/assets/buffer-tools/t9n/messages.ko.json +1 -1
  45. package/dist/cdn/assets/buffer-tools/t9n/messages.lt.json +1 -1
  46. package/dist/cdn/assets/buffer-tools/t9n/messages.lv.json +1 -1
  47. package/dist/cdn/assets/buffer-tools/t9n/messages.nl.json +1 -1
  48. package/dist/cdn/assets/buffer-tools/t9n/messages.no.json +1 -1
  49. package/dist/cdn/assets/buffer-tools/t9n/messages.pl.json +1 -1
  50. package/dist/cdn/assets/buffer-tools/t9n/messages.pt-BR.json +1 -1
  51. package/dist/cdn/assets/buffer-tools/t9n/messages.pt-PT.json +1 -1
  52. package/dist/cdn/assets/buffer-tools/t9n/messages.ro.json +1 -1
  53. package/dist/cdn/assets/buffer-tools/t9n/messages.ru.json +1 -1
  54. package/dist/cdn/assets/buffer-tools/t9n/messages.sk.json +1 -1
  55. package/dist/cdn/assets/buffer-tools/t9n/messages.sl.json +1 -1
  56. package/dist/cdn/assets/buffer-tools/t9n/messages.sr.json +1 -1
  57. package/dist/cdn/assets/buffer-tools/t9n/messages.sv.json +1 -1
  58. package/dist/cdn/assets/buffer-tools/t9n/messages.th.json +1 -1
  59. package/dist/cdn/assets/buffer-tools/t9n/messages.tr.json +1 -1
  60. package/dist/cdn/assets/buffer-tools/t9n/messages.uk.json +1 -1
  61. package/dist/cdn/assets/buffer-tools/t9n/messages.vi.json +1 -1
  62. package/dist/cdn/assets/buffer-tools/t9n/messages.zh-CN.json +1 -1
  63. package/dist/cdn/assets/buffer-tools/t9n/messages.zh-HK.json +1 -1
  64. package/dist/cdn/assets/buffer-tools/t9n/messages.zh-TW.json +1 -1
  65. package/dist/cdn/assets/card-manager/t9n/messages.ar.json +1 -1
  66. package/dist/cdn/assets/card-manager/t9n/messages.bg.json +1 -1
  67. package/dist/cdn/assets/card-manager/t9n/messages.bs.json +1 -1
  68. package/dist/cdn/assets/card-manager/t9n/messages.ca.json +1 -1
  69. package/dist/cdn/assets/card-manager/t9n/messages.cs.json +1 -1
  70. package/dist/cdn/assets/card-manager/t9n/messages.da.json +1 -1
  71. package/dist/cdn/assets/card-manager/t9n/messages.de.json +1 -1
  72. package/dist/cdn/assets/card-manager/t9n/messages.el.json +1 -1
  73. package/dist/cdn/assets/card-manager/t9n/messages.en.json +1 -1
  74. package/dist/cdn/assets/card-manager/t9n/messages.es.json +1 -1
  75. package/dist/cdn/assets/card-manager/t9n/messages.et.json +1 -1
  76. package/dist/cdn/assets/card-manager/t9n/messages.fi.json +1 -1
  77. package/dist/cdn/assets/card-manager/t9n/messages.fr.json +1 -1
  78. package/dist/cdn/assets/card-manager/t9n/messages.he.json +1 -1
  79. package/dist/cdn/assets/card-manager/t9n/messages.hr.json +1 -1
  80. package/dist/cdn/assets/card-manager/t9n/messages.hu.json +1 -1
  81. package/dist/cdn/assets/card-manager/t9n/messages.id.json +1 -1
  82. package/dist/cdn/assets/card-manager/t9n/messages.it.json +1 -1
  83. package/dist/cdn/assets/card-manager/t9n/messages.ja.json +1 -1
  84. package/dist/cdn/assets/card-manager/t9n/messages.json +1 -1
  85. package/dist/cdn/assets/card-manager/t9n/messages.ko.json +1 -1
  86. package/dist/cdn/assets/card-manager/t9n/messages.lt.json +1 -1
  87. package/dist/cdn/assets/card-manager/t9n/messages.lv.json +1 -1
  88. package/dist/cdn/assets/card-manager/t9n/messages.nl.json +1 -1
  89. package/dist/cdn/assets/card-manager/t9n/messages.no.json +1 -1
  90. package/dist/cdn/assets/card-manager/t9n/messages.pl.json +1 -1
  91. package/dist/cdn/assets/card-manager/t9n/messages.pt-BR.json +1 -1
  92. package/dist/cdn/assets/card-manager/t9n/messages.pt-PT.json +1 -1
  93. package/dist/cdn/assets/card-manager/t9n/messages.ro.json +1 -1
  94. package/dist/cdn/assets/card-manager/t9n/messages.ru.json +1 -1
  95. package/dist/cdn/assets/card-manager/t9n/messages.sk.json +1 -1
  96. package/dist/cdn/assets/card-manager/t9n/messages.sl.json +1 -1
  97. package/dist/cdn/assets/card-manager/t9n/messages.sr.json +1 -1
  98. package/dist/cdn/assets/card-manager/t9n/messages.sv.json +1 -1
  99. package/dist/cdn/assets/card-manager/t9n/messages.th.json +1 -1
  100. package/dist/cdn/assets/card-manager/t9n/messages.tr.json +1 -1
  101. package/dist/cdn/assets/card-manager/t9n/messages.uk.json +1 -1
  102. package/dist/cdn/assets/card-manager/t9n/messages.vi.json +1 -1
  103. package/dist/cdn/assets/card-manager/t9n/messages.zh-CN.json +1 -1
  104. package/dist/cdn/assets/card-manager/t9n/messages.zh-HK.json +1 -1
  105. package/dist/cdn/assets/card-manager/t9n/messages.zh-TW.json +1 -1
  106. package/dist/cdn/assets/create-feature/t9n/messages.en.json +1 -1
  107. package/dist/cdn/assets/create-feature/t9n/messages.json +1 -1
  108. package/dist/cdn/assets/create-related-feature/t9n/messages.ar.json +1 -1
  109. package/dist/cdn/assets/create-related-feature/t9n/messages.bg.json +1 -1
  110. package/dist/cdn/assets/create-related-feature/t9n/messages.bs.json +1 -1
  111. package/dist/cdn/assets/create-related-feature/t9n/messages.ca.json +1 -1
  112. package/dist/cdn/assets/create-related-feature/t9n/messages.cs.json +1 -1
  113. package/dist/cdn/assets/create-related-feature/t9n/messages.da.json +1 -1
  114. package/dist/cdn/assets/create-related-feature/t9n/messages.de.json +1 -1
  115. package/dist/cdn/assets/create-related-feature/t9n/messages.el.json +1 -1
  116. package/dist/cdn/assets/create-related-feature/t9n/messages.es.json +1 -1
  117. package/dist/cdn/assets/create-related-feature/t9n/messages.et.json +1 -1
  118. package/dist/cdn/assets/create-related-feature/t9n/messages.fi.json +1 -1
  119. package/dist/cdn/assets/create-related-feature/t9n/messages.fr.json +1 -1
  120. package/dist/cdn/assets/create-related-feature/t9n/messages.he.json +1 -1
  121. package/dist/cdn/assets/create-related-feature/t9n/messages.hr.json +1 -1
  122. package/dist/cdn/assets/create-related-feature/t9n/messages.hu.json +1 -1
  123. package/dist/cdn/assets/create-related-feature/t9n/messages.id.json +1 -1
  124. package/dist/cdn/assets/create-related-feature/t9n/messages.it.json +1 -1
  125. package/dist/cdn/assets/create-related-feature/t9n/messages.ja.json +1 -1
  126. package/dist/cdn/assets/create-related-feature/t9n/messages.ko.json +1 -1
  127. package/dist/cdn/assets/create-related-feature/t9n/messages.lt.json +1 -1
  128. package/dist/cdn/assets/create-related-feature/t9n/messages.lv.json +1 -1
  129. package/dist/cdn/assets/create-related-feature/t9n/messages.nl.json +1 -1
  130. package/dist/cdn/assets/create-related-feature/t9n/messages.no.json +1 -1
  131. package/dist/cdn/assets/create-related-feature/t9n/messages.pl.json +1 -1
  132. package/dist/cdn/assets/create-related-feature/t9n/messages.pt-BR.json +1 -1
  133. package/dist/cdn/assets/create-related-feature/t9n/messages.pt-PT.json +1 -1
  134. package/dist/cdn/assets/create-related-feature/t9n/messages.ro.json +1 -1
  135. package/dist/cdn/assets/create-related-feature/t9n/messages.ru.json +1 -1
  136. package/dist/cdn/assets/create-related-feature/t9n/messages.sk.json +1 -1
  137. package/dist/cdn/assets/create-related-feature/t9n/messages.sl.json +1 -1
  138. package/dist/cdn/assets/create-related-feature/t9n/messages.sr.json +1 -1
  139. package/dist/cdn/assets/create-related-feature/t9n/messages.sv.json +1 -1
  140. package/dist/cdn/assets/create-related-feature/t9n/messages.th.json +1 -1
  141. package/dist/cdn/assets/create-related-feature/t9n/messages.tr.json +1 -1
  142. package/dist/cdn/assets/create-related-feature/t9n/messages.uk.json +1 -1
  143. package/dist/cdn/assets/create-related-feature/t9n/messages.vi.json +1 -1
  144. package/dist/cdn/assets/create-related-feature/t9n/messages.zh-CN.json +1 -1
  145. package/dist/cdn/assets/create-related-feature/t9n/messages.zh-HK.json +1 -1
  146. package/dist/cdn/assets/create-related-feature/t9n/messages.zh-TW.json +1 -1
  147. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ar.json +1 -1
  148. package/dist/cdn/assets/crowdsource-manager/t9n/messages.bg.json +1 -1
  149. package/dist/cdn/assets/crowdsource-manager/t9n/messages.bs.json +1 -1
  150. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ca.json +1 -1
  151. package/dist/cdn/assets/crowdsource-manager/t9n/messages.cs.json +1 -1
  152. package/dist/cdn/assets/crowdsource-manager/t9n/messages.da.json +1 -1
  153. package/dist/cdn/assets/crowdsource-manager/t9n/messages.de.json +1 -1
  154. package/dist/cdn/assets/crowdsource-manager/t9n/messages.el.json +1 -1
  155. package/dist/cdn/assets/crowdsource-manager/t9n/messages.es.json +1 -1
  156. package/dist/cdn/assets/crowdsource-manager/t9n/messages.et.json +1 -1
  157. package/dist/cdn/assets/crowdsource-manager/t9n/messages.fi.json +1 -1
  158. package/dist/cdn/assets/crowdsource-manager/t9n/messages.fr.json +1 -1
  159. package/dist/cdn/assets/crowdsource-manager/t9n/messages.he.json +1 -1
  160. package/dist/cdn/assets/crowdsource-manager/t9n/messages.hr.json +1 -1
  161. package/dist/cdn/assets/crowdsource-manager/t9n/messages.hu.json +1 -1
  162. package/dist/cdn/assets/crowdsource-manager/t9n/messages.id.json +1 -1
  163. package/dist/cdn/assets/crowdsource-manager/t9n/messages.it.json +1 -1
  164. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ja.json +1 -1
  165. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ko.json +1 -1
  166. package/dist/cdn/assets/crowdsource-manager/t9n/messages.lt.json +1 -1
  167. package/dist/cdn/assets/crowdsource-manager/t9n/messages.lv.json +1 -1
  168. package/dist/cdn/assets/crowdsource-manager/t9n/messages.nl.json +1 -1
  169. package/dist/cdn/assets/crowdsource-manager/t9n/messages.no.json +1 -1
  170. package/dist/cdn/assets/crowdsource-manager/t9n/messages.pl.json +1 -1
  171. package/dist/cdn/assets/crowdsource-manager/t9n/messages.pt-BR.json +1 -1
  172. package/dist/cdn/assets/crowdsource-manager/t9n/messages.pt-PT.json +1 -1
  173. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ro.json +1 -1
  174. package/dist/cdn/assets/crowdsource-manager/t9n/messages.ru.json +1 -1
  175. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sk.json +1 -1
  176. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sl.json +1 -1
  177. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sr.json +1 -1
  178. package/dist/cdn/assets/crowdsource-manager/t9n/messages.sv.json +1 -1
  179. package/dist/cdn/assets/crowdsource-manager/t9n/messages.th.json +1 -1
  180. package/dist/cdn/assets/crowdsource-manager/t9n/messages.tr.json +1 -1
  181. package/dist/cdn/assets/crowdsource-manager/t9n/messages.uk.json +1 -1
  182. package/dist/cdn/assets/crowdsource-manager/t9n/messages.vi.json +1 -1
  183. package/dist/cdn/assets/crowdsource-manager/t9n/messages.zh-CN.json +1 -1
  184. package/dist/cdn/assets/crowdsource-manager/t9n/messages.zh-HK.json +1 -1
  185. package/dist/cdn/assets/crowdsource-manager/t9n/messages.zh-TW.json +1 -1
  186. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ar.json +1 -1
  187. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bg.json +1 -1
  188. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bs.json +1 -1
  189. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ca.json +1 -1
  190. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.cs.json +1 -1
  191. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.da.json +1 -1
  192. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.de.json +1 -1
  193. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.el.json +1 -1
  194. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.es.json +1 -1
  195. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.et.json +1 -1
  196. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fi.json +1 -1
  197. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fr.json +1 -1
  198. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.he.json +1 -1
  199. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hr.json +1 -1
  200. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hu.json +1 -1
  201. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.id.json +1 -1
  202. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.it.json +1 -1
  203. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ja.json +1 -1
  204. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ko.json +1 -1
  205. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lt.json +1 -1
  206. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lv.json +1 -1
  207. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.nl.json +1 -1
  208. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.no.json +1 -1
  209. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pl.json +1 -1
  210. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-BR.json +1 -1
  211. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-PT.json +1 -1
  212. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ro.json +1 -1
  213. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ru.json +1 -1
  214. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sk.json +1 -1
  215. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sl.json +1 -1
  216. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sr.json +1 -1
  217. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sv.json +1 -1
  218. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.th.json +1 -1
  219. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.tr.json +1 -1
  220. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.uk.json +1 -1
  221. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.vi.json +1 -1
  222. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-CN.json +1 -1
  223. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-HK.json +1 -1
  224. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-TW.json +1 -1
  225. package/dist/cdn/assets/edit-card/t9n/messages.ar.json +1 -1
  226. package/dist/cdn/assets/edit-card/t9n/messages.bg.json +1 -1
  227. package/dist/cdn/assets/edit-card/t9n/messages.bs.json +1 -1
  228. package/dist/cdn/assets/edit-card/t9n/messages.ca.json +1 -1
  229. package/dist/cdn/assets/edit-card/t9n/messages.cs.json +1 -1
  230. package/dist/cdn/assets/edit-card/t9n/messages.da.json +1 -1
  231. package/dist/cdn/assets/edit-card/t9n/messages.de.json +1 -1
  232. package/dist/cdn/assets/edit-card/t9n/messages.el.json +1 -1
  233. package/dist/cdn/assets/edit-card/t9n/messages.es.json +1 -1
  234. package/dist/cdn/assets/edit-card/t9n/messages.et.json +1 -1
  235. package/dist/cdn/assets/edit-card/t9n/messages.fi.json +1 -1
  236. package/dist/cdn/assets/edit-card/t9n/messages.fr.json +1 -1
  237. package/dist/cdn/assets/edit-card/t9n/messages.he.json +1 -1
  238. package/dist/cdn/assets/edit-card/t9n/messages.hr.json +1 -1
  239. package/dist/cdn/assets/edit-card/t9n/messages.hu.json +1 -1
  240. package/dist/cdn/assets/edit-card/t9n/messages.id.json +1 -1
  241. package/dist/cdn/assets/edit-card/t9n/messages.it.json +1 -1
  242. package/dist/cdn/assets/edit-card/t9n/messages.ja.json +1 -1
  243. package/dist/cdn/assets/edit-card/t9n/messages.ko.json +1 -1
  244. package/dist/cdn/assets/edit-card/t9n/messages.lt.json +1 -1
  245. package/dist/cdn/assets/edit-card/t9n/messages.lv.json +1 -1
  246. package/dist/cdn/assets/edit-card/t9n/messages.nl.json +1 -1
  247. package/dist/cdn/assets/edit-card/t9n/messages.no.json +1 -1
  248. package/dist/cdn/assets/edit-card/t9n/messages.pl.json +1 -1
  249. package/dist/cdn/assets/edit-card/t9n/messages.pt-BR.json +1 -1
  250. package/dist/cdn/assets/edit-card/t9n/messages.pt-PT.json +1 -1
  251. package/dist/cdn/assets/edit-card/t9n/messages.ro.json +1 -1
  252. package/dist/cdn/assets/edit-card/t9n/messages.ru.json +1 -1
  253. package/dist/cdn/assets/edit-card/t9n/messages.sk.json +1 -1
  254. package/dist/cdn/assets/edit-card/t9n/messages.sl.json +1 -1
  255. package/dist/cdn/assets/edit-card/t9n/messages.sr.json +1 -1
  256. package/dist/cdn/assets/edit-card/t9n/messages.sv.json +1 -1
  257. package/dist/cdn/assets/edit-card/t9n/messages.th.json +1 -1
  258. package/dist/cdn/assets/edit-card/t9n/messages.tr.json +1 -1
  259. package/dist/cdn/assets/edit-card/t9n/messages.uk.json +1 -1
  260. package/dist/cdn/assets/edit-card/t9n/messages.vi.json +1 -1
  261. package/dist/cdn/assets/edit-card/t9n/messages.zh-CN.json +1 -1
  262. package/dist/cdn/assets/edit-card/t9n/messages.zh-HK.json +1 -1
  263. package/dist/cdn/assets/edit-card/t9n/messages.zh-TW.json +1 -1
  264. package/dist/cdn/assets/info-card/t9n/messages.ar.json +1 -1
  265. package/dist/cdn/assets/info-card/t9n/messages.bg.json +1 -1
  266. package/dist/cdn/assets/info-card/t9n/messages.bs.json +1 -1
  267. package/dist/cdn/assets/info-card/t9n/messages.ca.json +1 -1
  268. package/dist/cdn/assets/info-card/t9n/messages.cs.json +1 -1
  269. package/dist/cdn/assets/info-card/t9n/messages.da.json +1 -1
  270. package/dist/cdn/assets/info-card/t9n/messages.de.json +1 -1
  271. package/dist/cdn/assets/info-card/t9n/messages.el.json +1 -1
  272. package/dist/cdn/assets/info-card/t9n/messages.en.json +1 -1
  273. package/dist/cdn/assets/info-card/t9n/messages.es.json +1 -1
  274. package/dist/cdn/assets/info-card/t9n/messages.et.json +1 -1
  275. package/dist/cdn/assets/info-card/t9n/messages.fi.json +1 -1
  276. package/dist/cdn/assets/info-card/t9n/messages.fr.json +1 -1
  277. package/dist/cdn/assets/info-card/t9n/messages.he.json +1 -1
  278. package/dist/cdn/assets/info-card/t9n/messages.hr.json +1 -1
  279. package/dist/cdn/assets/info-card/t9n/messages.hu.json +1 -1
  280. package/dist/cdn/assets/info-card/t9n/messages.id.json +1 -1
  281. package/dist/cdn/assets/info-card/t9n/messages.it.json +1 -1
  282. package/dist/cdn/assets/info-card/t9n/messages.ja.json +1 -1
  283. package/dist/cdn/assets/info-card/t9n/messages.json +1 -1
  284. package/dist/cdn/assets/info-card/t9n/messages.ko.json +1 -1
  285. package/dist/cdn/assets/info-card/t9n/messages.lt.json +1 -1
  286. package/dist/cdn/assets/info-card/t9n/messages.lv.json +1 -1
  287. package/dist/cdn/assets/info-card/t9n/messages.nl.json +1 -1
  288. package/dist/cdn/assets/info-card/t9n/messages.no.json +1 -1
  289. package/dist/cdn/assets/info-card/t9n/messages.pl.json +1 -1
  290. package/dist/cdn/assets/info-card/t9n/messages.pt-BR.json +1 -1
  291. package/dist/cdn/assets/info-card/t9n/messages.pt-PT.json +1 -1
  292. package/dist/cdn/assets/info-card/t9n/messages.ro.json +1 -1
  293. package/dist/cdn/assets/info-card/t9n/messages.ru.json +1 -1
  294. package/dist/cdn/assets/info-card/t9n/messages.sk.json +1 -1
  295. package/dist/cdn/assets/info-card/t9n/messages.sl.json +1 -1
  296. package/dist/cdn/assets/info-card/t9n/messages.sr.json +1 -1
  297. package/dist/cdn/assets/info-card/t9n/messages.sv.json +1 -1
  298. package/dist/cdn/assets/info-card/t9n/messages.th.json +1 -1
  299. package/dist/cdn/assets/info-card/t9n/messages.tr.json +1 -1
  300. package/dist/cdn/assets/info-card/t9n/messages.uk.json +1 -1
  301. package/dist/cdn/assets/info-card/t9n/messages.vi.json +1 -1
  302. package/dist/cdn/assets/info-card/t9n/messages.zh-CN.json +1 -1
  303. package/dist/cdn/assets/info-card/t9n/messages.zh-HK.json +1 -1
  304. package/dist/cdn/assets/info-card/t9n/messages.zh-TW.json +1 -1
  305. package/dist/cdn/assets/layer-table/t9n/messages.en.json +1 -1
  306. package/dist/cdn/assets/layer-table/t9n/messages.json +1 -1
  307. package/dist/cdn/assets/map-card/t9n/messages.en.json +1 -1
  308. package/dist/cdn/assets/map-card/t9n/messages.json +1 -1
  309. package/dist/cdn/assets/map-picker/t9n/messages.ar.json +1 -1
  310. package/dist/cdn/assets/map-picker/t9n/messages.bg.json +1 -1
  311. package/dist/cdn/assets/map-picker/t9n/messages.bs.json +1 -1
  312. package/dist/cdn/assets/map-picker/t9n/messages.ca.json +1 -1
  313. package/dist/cdn/assets/map-picker/t9n/messages.cs.json +1 -1
  314. package/dist/cdn/assets/map-picker/t9n/messages.da.json +1 -1
  315. package/dist/cdn/assets/map-picker/t9n/messages.de.json +1 -1
  316. package/dist/cdn/assets/map-picker/t9n/messages.el.json +1 -1
  317. package/dist/cdn/assets/map-picker/t9n/messages.es.json +1 -1
  318. package/dist/cdn/assets/map-picker/t9n/messages.et.json +1 -1
  319. package/dist/cdn/assets/map-picker/t9n/messages.fi.json +1 -1
  320. package/dist/cdn/assets/map-picker/t9n/messages.fr.json +1 -1
  321. package/dist/cdn/assets/map-picker/t9n/messages.he.json +1 -1
  322. package/dist/cdn/assets/map-picker/t9n/messages.hr.json +1 -1
  323. package/dist/cdn/assets/map-picker/t9n/messages.hu.json +1 -1
  324. package/dist/cdn/assets/map-picker/t9n/messages.id.json +1 -1
  325. package/dist/cdn/assets/map-picker/t9n/messages.it.json +1 -1
  326. package/dist/cdn/assets/map-picker/t9n/messages.ja.json +1 -1
  327. package/dist/cdn/assets/map-picker/t9n/messages.ko.json +1 -1
  328. package/dist/cdn/assets/map-picker/t9n/messages.lt.json +1 -1
  329. package/dist/cdn/assets/map-picker/t9n/messages.lv.json +1 -1
  330. package/dist/cdn/assets/map-picker/t9n/messages.nl.json +1 -1
  331. package/dist/cdn/assets/map-picker/t9n/messages.no.json +1 -1
  332. package/dist/cdn/assets/map-picker/t9n/messages.pl.json +1 -1
  333. package/dist/cdn/assets/map-picker/t9n/messages.pt-BR.json +1 -1
  334. package/dist/cdn/assets/map-picker/t9n/messages.pt-PT.json +1 -1
  335. package/dist/cdn/assets/map-picker/t9n/messages.ro.json +1 -1
  336. package/dist/cdn/assets/map-picker/t9n/messages.ru.json +1 -1
  337. package/dist/cdn/assets/map-picker/t9n/messages.sk.json +1 -1
  338. package/dist/cdn/assets/map-picker/t9n/messages.sl.json +1 -1
  339. package/dist/cdn/assets/map-picker/t9n/messages.sr.json +1 -1
  340. package/dist/cdn/assets/map-picker/t9n/messages.sv.json +1 -1
  341. package/dist/cdn/assets/map-picker/t9n/messages.th.json +1 -1
  342. package/dist/cdn/assets/map-picker/t9n/messages.tr.json +1 -1
  343. package/dist/cdn/assets/map-picker/t9n/messages.uk.json +1 -1
  344. package/dist/cdn/assets/map-picker/t9n/messages.vi.json +1 -1
  345. package/dist/cdn/assets/map-picker/t9n/messages.zh-CN.json +1 -1
  346. package/dist/cdn/assets/map-picker/t9n/messages.zh-HK.json +1 -1
  347. package/dist/cdn/assets/map-picker/t9n/messages.zh-TW.json +1 -1
  348. package/dist/cdn/assets/solution-builder-assistant/images/conduct-field-inspections.png +0 -0
  349. package/dist/cdn/assets/solution-builder-assistant/images/locate-points-of-interest.png +0 -0
  350. package/dist/cdn/assets/solution-builder-assistant/images/manage-spatial-data.png +0 -0
  351. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ar.json +1 -1
  352. package/dist/cdn/assets/solutions-all-shell/t9n/messages.bg.json +1 -1
  353. package/dist/cdn/assets/solutions-all-shell/t9n/messages.bs.json +1 -1
  354. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ca.json +1 -1
  355. package/dist/cdn/assets/solutions-all-shell/t9n/messages.cs.json +1 -1
  356. package/dist/cdn/assets/solutions-all-shell/t9n/messages.da.json +1 -1
  357. package/dist/cdn/assets/solutions-all-shell/t9n/messages.de.json +1 -1
  358. package/dist/cdn/assets/solutions-all-shell/t9n/messages.el.json +1 -1
  359. package/dist/cdn/assets/solutions-all-shell/t9n/messages.es.json +1 -1
  360. package/dist/cdn/assets/solutions-all-shell/t9n/messages.et.json +1 -1
  361. package/dist/cdn/assets/solutions-all-shell/t9n/messages.fi.json +1 -1
  362. package/dist/cdn/assets/solutions-all-shell/t9n/messages.fr.json +1 -1
  363. package/dist/cdn/assets/solutions-all-shell/t9n/messages.he.json +1 -1
  364. package/dist/cdn/assets/solutions-all-shell/t9n/messages.hr.json +1 -1
  365. package/dist/cdn/assets/solutions-all-shell/t9n/messages.hu.json +1 -1
  366. package/dist/cdn/assets/solutions-all-shell/t9n/messages.id.json +1 -1
  367. package/dist/cdn/assets/solutions-all-shell/t9n/messages.it.json +1 -1
  368. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ja.json +1 -1
  369. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ko.json +1 -1
  370. package/dist/cdn/assets/solutions-all-shell/t9n/messages.lt.json +1 -1
  371. package/dist/cdn/assets/solutions-all-shell/t9n/messages.lv.json +1 -1
  372. package/dist/cdn/assets/solutions-all-shell/t9n/messages.nl.json +1 -1
  373. package/dist/cdn/assets/solutions-all-shell/t9n/messages.no.json +1 -1
  374. package/dist/cdn/assets/solutions-all-shell/t9n/messages.pl.json +1 -1
  375. package/dist/cdn/assets/solutions-all-shell/t9n/messages.pt-BR.json +1 -1
  376. package/dist/cdn/assets/solutions-all-shell/t9n/messages.pt-PT.json +1 -1
  377. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ro.json +1 -1
  378. package/dist/cdn/assets/solutions-all-shell/t9n/messages.ru.json +1 -1
  379. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sk.json +1 -1
  380. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sl.json +1 -1
  381. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sr.json +1 -1
  382. package/dist/cdn/assets/solutions-all-shell/t9n/messages.sv.json +1 -1
  383. package/dist/cdn/assets/solutions-all-shell/t9n/messages.th.json +1 -1
  384. package/dist/cdn/assets/solutions-all-shell/t9n/messages.tr.json +1 -1
  385. package/dist/cdn/assets/solutions-all-shell/t9n/messages.uk.json +1 -1
  386. package/dist/cdn/assets/solutions-all-shell/t9n/messages.vi.json +1 -1
  387. package/dist/cdn/assets/solutions-all-shell/t9n/messages.zh-CN.json +1 -1
  388. package/dist/cdn/assets/solutions-all-shell/t9n/messages.zh-HK.json +1 -1
  389. package/dist/cdn/assets/solutions-all-shell/t9n/messages.zh-TW.json +1 -1
  390. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ar.json +1 -1
  391. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bg.json +1 -1
  392. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bs.json +1 -1
  393. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ca.json +1 -1
  394. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.cs.json +1 -1
  395. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.da.json +1 -1
  396. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.de.json +1 -1
  397. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.el.json +1 -1
  398. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.es.json +1 -1
  399. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.et.json +1 -1
  400. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fi.json +1 -1
  401. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fr.json +1 -1
  402. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.he.json +1 -1
  403. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hr.json +1 -1
  404. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hu.json +1 -1
  405. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.id.json +1 -1
  406. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.it.json +1 -1
  407. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ja.json +1 -1
  408. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ko.json +1 -1
  409. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lt.json +1 -1
  410. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lv.json +1 -1
  411. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.nl.json +1 -1
  412. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.no.json +1 -1
  413. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pl.json +1 -1
  414. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-BR.json +1 -1
  415. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-PT.json +1 -1
  416. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ro.json +1 -1
  417. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ru.json +1 -1
  418. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sk.json +1 -1
  419. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sl.json +1 -1
  420. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sr.json +1 -1
  421. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sv.json +1 -1
  422. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.th.json +1 -1
  423. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.tr.json +1 -1
  424. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.uk.json +1 -1
  425. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.vi.json +1 -1
  426. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-CN.json +1 -1
  427. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-HK.json +1 -1
  428. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-TW.json +1 -1
  429. package/dist/cdn/index.js +1 -1
  430. package/dist/chunks/designSolution.js +1 -1
  431. package/dist/chunks/popupUtils.js +1 -1
  432. package/dist/chunks/solution-deploy-dialog.js +1 -1
  433. package/dist/chunks/templates.js +65 -0
  434. package/dist/chunks/validators.js +5 -5
  435. package/dist/components/arcgis-solutions-assistant/customElement.js +5748 -5793
  436. package/dist/components/card-manager/customElement.d.ts +30 -0
  437. package/dist/components/card-manager/customElement.js +89 -21
  438. package/dist/components/card-manager/index.js +1 -0
  439. package/dist/components/create-feature/customElement.d.ts +8 -0
  440. package/dist/components/create-feature/customElement.js +226 -255
  441. package/dist/components/create-feature/index.js +2 -0
  442. package/dist/components/crowdsource-manager/customElement.d.ts +6 -0
  443. package/dist/components/crowdsource-manager/customElement.js +47 -38
  444. package/dist/components/delete-button/customElement.js +1 -1
  445. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  446. package/dist/components/edit-card/customElement.d.ts +3 -3
  447. package/dist/components/edit-card/customElement.js +37 -42
  448. package/dist/components/edit-card/index.js +1 -0
  449. package/dist/components/field-selection/customElement.js +1 -1
  450. package/dist/components/info-card/customElement.d.ts +27 -6
  451. package/dist/components/info-card/customElement.js +93 -86
  452. package/dist/components/info-card/index.js +1 -0
  453. package/dist/components/layer-list-widget/customElement.d.ts +4 -8
  454. package/dist/components/layer-list-widget/customElement.js +12 -29
  455. package/dist/components/layer-list-widget/index.js +1 -0
  456. package/dist/components/layer-table/customElement.d.ts +33 -0
  457. package/dist/components/layer-table/customElement.js +128 -66
  458. package/dist/components/map-basemap-gallery/customElement.d.ts +4 -7
  459. package/dist/components/map-basemap-gallery/customElement.js +30 -37
  460. package/dist/components/map-basemap-gallery/index.js +1 -0
  461. package/dist/components/map-card/customElement.d.ts +37 -5
  462. package/dist/components/map-card/customElement.js +54 -37
  463. package/dist/components/map-card/index.js +1 -0
  464. package/dist/components/map-floor-filter/customElement.d.ts +4 -7
  465. package/dist/components/map-floor-filter/customElement.js +22 -45
  466. package/dist/components/map-floor-filter/index.js +1 -0
  467. package/dist/components/map-fullscreen/customElement.d.ts +4 -3
  468. package/dist/components/map-fullscreen/customElement.js +14 -34
  469. package/dist/components/map-fullscreen/index.js +1 -0
  470. package/dist/components/map-layer-picker/customElement.js +10 -6
  471. package/dist/components/map-legend/customElement.d.ts +4 -7
  472. package/dist/components/map-legend/customElement.js +14 -30
  473. package/dist/components/map-legend/index.js +1 -0
  474. package/dist/components/map-search/customElement.d.ts +6 -5
  475. package/dist/components/map-search/customElement.js +25 -52
  476. package/dist/components/map-search/index.js +1 -0
  477. package/dist/components/map-tools/customElement.d.ts +9 -3
  478. package/dist/components/map-tools/customElement.js +95 -102
  479. package/dist/components/map-tools/index.js +1 -1
  480. package/dist/components/selection-tool/customElement.d.ts +1 -1
  481. package/dist/components/selection-tool/customElement.js +1 -1
  482. package/dist/components/solution-builder-assistant/customElement.js +99 -94
  483. package/dist/docs/api.json +1 -1
  484. package/dist/docs/docs.json +1 -1
  485. package/dist/docs/vscode.html-custom-data.json +1 -1
  486. package/dist/docs/web-types.json +1 -1
  487. package/dist/index.d.ts +0 -6
  488. package/dist/loader.js +12 -12
  489. package/dist/solutions-components_commit.txt +5 -8
  490. package/dist/types/lumina.d.ts +24 -13
  491. package/dist/types/preact.d.ts +24 -13
  492. package/dist/types/react.d.ts +24 -13
  493. package/dist/types/stencil.d.ts +24 -13
  494. package/dist/utils/interfaces.d.ts +22 -0
  495. package/package.json +1 -1
  496. package/dist/cdn/25VAC27I.js +0 -2
  497. package/dist/cdn/4RJ456O7.js +0 -2
  498. package/dist/cdn/5TJMXQ6I.js +0 -2
  499. package/dist/cdn/74KPJ6CS.js +0 -2
  500. package/dist/cdn/DXETUMPR.js +0 -2
  501. package/dist/cdn/FJ7ETLF7.js +0 -2
  502. package/dist/cdn/GWKYLTEJ.js +0 -2
  503. package/dist/cdn/JDVRT3UI.js +0 -2
  504. package/dist/cdn/JHEOWKJP.js +0 -2
  505. package/dist/cdn/NUWPSA4Q.js +0 -2
  506. package/dist/cdn/PD2CPL77.js +0 -2
  507. package/dist/cdn/POPVAM3V.js +0 -2
  508. package/dist/cdn/QOJ6NBZ7.js +0 -2
  509. package/dist/cdn/RYM3WNKW.js +0 -2
  510. package/dist/cdn/T5U3U2IF.js +0 -2
  511. package/dist/cdn/T5VGITRO.js +0 -2
  512. package/dist/cdn/TUB2CVLR.js +0 -4
  513. package/dist/cdn/TZXVSQVZ.js +0 -2
  514. package/dist/cdn/UQVDQ3RW.js +0 -2
  515. package/dist/cdn/X2TQEFX2.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as o}from"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import{b as d}from"./4F57JHMM.js";import{G as n,h as l,i as e,l as a,q as t}from"./3ITZDI72.js";import"./QPIMTXPL.js";var h=l`:host{display:block}`,s=class extends n{constructor(){super(...arguments),this.buttonType="button",this.disabled=!1,this.ids=[],this.showDeleteCount=!0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=!1,this._translations=o({name:"delete-button",blocking:!0}),this.editsComplete=t(),this.deleteClicked=t()}static{this.properties={deleteDialog:1,buttonType:1,disabled:5,icon:1,ids:0,layer:0,showDeleteCount:5,_confirmDelete:16,_deleteEndabled:16,_supportsDelete:16,_translations:16}}static{this.styles=h}willUpdate(i){i.has("ids")&&(this.hasUpdated||this.ids?.length>0)&&this.idsWatchHandler(),i.has("layer")&&this.layerWatchHandler()}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}render(){return e`${this.buttonType==="button"?e`<calcite-button appearance=outline .disabled=${!this._deleteEndabled} id=solutions-delete kind=danger @click=${()=>this._delete()} width=full>${this.showDeleteCount?this._translations.deleteCount?.replace("{{n}}",this.ids?.length.toString()):this._translations.delete}</calcite-button>`:e`<calcite-action appearance=solid .disabled=${!this._deleteEndabled} id=${this.icon??a} @click=${()=>this._delete()} scale=s .text=${this._translations.delete}><calcite-button appearance=transparent aria-hidden=true .iconStart=${this.icon} kind=danger>${this._translations.delete}</calcite-button></calcite-action>`}${this._deleteMessage()}<calcite-tooltip placement=bottom .referenceElement=${this.buttonType==="button"?"solutions-delete":this.icon}><span>${this._translations.delete}</span></calcite-tooltip>`}loaded(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=!!(this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete),this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids?.length>0}_delete(){this.deleteClicked.emit(),this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:e`<delete-dialog id=solution-delete-dialog .ids=${this.ids} .layer=${this.layer} @deleteDialogClose=${()=>this._confirmDelete=!1} .open=${this._confirmDelete}></delete-dialog>`}};d("delete-button",s);export{s as DeleteButton};
2
+ import{a as o}from"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import{b as d}from"./4F57JHMM.js";import{G as n,h as l,i as e,l as a,q as t}from"./3ITZDI72.js";import"./QPIMTXPL.js";var h=l`:host{display:block}`,s=class extends n{constructor(){super(...arguments),this.buttonType="button",this.disabled=!1,this.ids=[],this.showDeleteCount=!0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=!1,this._translations=o({name:"delete-button",blocking:!0}),this.editsComplete=t(),this.deleteClicked=t()}static{this.properties={deleteDialog:1,buttonType:1,disabled:5,icon:1,ids:0,layer:0,showDeleteCount:5,_confirmDelete:16,_deleteEndabled:16,_supportsDelete:16,_translations:16}}static{this.styles=h}willUpdate(i){i.has("ids")&&(this.hasUpdated||this.ids?.length>0)&&this.idsWatchHandler(),i.has("layer")&&this.layerWatchHandler()}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}render(){return e`${this.buttonType==="button"?e`<calcite-button appearance=outline .disabled=${!this._deleteEndabled} id=solutions-delete kind=danger @click=${()=>this._delete()} width=full>${this.showDeleteCount?this._translations.deleteCount?.replace("{{n}}",this.ids?.length.toString()):this._translations.delete}</calcite-button>`:e`<calcite-action .disabled=${!this._deleteEndabled} id=${this.icon??a} @click=${()=>this._delete()} scale=s .text=${this._translations.delete}><calcite-button appearance=transparent aria-hidden=true .iconStart=${this.icon} kind=danger>${this._translations.delete}</calcite-button></calcite-action>`}${this._deleteMessage()}<calcite-tooltip placement=bottom .referenceElement=${this.buttonType==="button"?"solutions-delete":this.icon}><span>${this._translations.delete}</span></calcite-tooltip>`}loaded(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=!!(this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete),this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids?.length>0}_delete(){this.deleteClicked.emit(),this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:e`<delete-dialog id=solution-delete-dialog .ids=${this.ids} .layer=${this.layer} @deleteDialogClose=${()=>this._confirmDelete=!1} .open=${this._confirmDelete}></delete-dialog>`}};d("delete-button",s);export{s as DeleteButton};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import y from"./VJCNI3S6.js";import x from"./RTEEGE26.js";import t from"./Q2I3FISB.js";import s from"./4SU2ROO4.js";import r from"./X3AFBSXC.js";import q from"./QK5JWCPU.js";import n from"./QCXFCAG2.js";import m from"./MBLK4P7W.js";import l from"./WNZGZMLN.js";import k from"./VLTIETO7.js";import j from"./AGQHVMKE.js";import i from"./PERCQYO6.js";import"./LS5WOH7V.js";import"./DGUS2OKW.js";import g from"./4LXJECAT.js";import"./6ZKZSCOA.js";import{a as L}from"./QSNXXNJX.js";import"./54AE7WD2.js";import"./WPGT2HLS.js";import e from"./VEZDLO5O.js";import c from"./BMF7MU4P.js";import b from"./AVRGQSFV.js";import{a as S,b as D,c as A}from"./2B4SGB3I.js";import{a as u}from"./E3C3HXK2.js";import"./A4RZESK7.js";import{a as w}from"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import{b as C}from"./4F57JHMM.js";import{E as o,F as a,G as f,I as p,K as T,h as v,i as h,q as d}from"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,{c:x,g:I,k:F,l:O,o:c},,{b:$},,,,{g:P,h:k},,,,,m,B,{a:y}])=>{var M=v`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--panel-edge-adjustment: 2vw;--assistant-panel-min-width: 420px;--assistant-panel-width: max(var(--assistant-panel-min-width), calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment) - 15px))}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-right:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel{margin-left:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));margin-right:0;width:auto;max-width:1440px}.builder-panel{position:fixed;top:65px;left:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));right:var(--assistant-panel-width);bottom:0;z-index:400;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.4,0,.2,1);transform:translate(0);pointer-events:auto}.builder-panel.display-none{display:flex!important;transform:translate(100%);pointer-events:none}.builder-panel.display-none:has(~.assistant-panel.display-none){display:none!important;transition:none}.assistant-panel{position:fixed;top:65px;right:0;bottom:0;width:var(--assistant-panel-width);min-width:var(--assistant-panel-min-width);z-index:400;display:flex;flex-direction:column}@media(max-width:800px){.builder-panel{display:none!important}.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-right:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);right:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}`,R={solution:{title:"Bus Stop ADA Compliance Inspections",description:"Bus Stop ADA Compliance Inspections can be used to perform routine inspections of bus stops for ADA compliance and monitor inspection progress.",tags:["Bus Stop","ADA Compliance","Inspection","Field","Monitor","ArcGIS Solutions"],strings:[{key:"inspectionsByMonth",value:"Inspections by Month",description:"Descriptive title of dashboard chart displaying the number of inspections completed by month."},{key:"inspectionsCompleted",value:"Inspections Completed",description:"Descriptive title of dashboard indicator displaying the total number of inspections completed."},{key:"assetInventory",value:"Bus Stop Inventory",description:"Descriptive title of dashboard indicator displaying the total number of bus stops."}]},items:[{id:"b21885d38b3c4924922ce36c90112737",title:"Bus Stop ADA Inspection Dashboard",description:"An ArcGIS Dashboards app used to monitor bus stop ADA compliance inspections.",type:"Dashboard"},{id:"54f69b6af00b4f06b1c1eef05e80dc93",title:"Bus Stop ADA Inspection Map",description:"A map used by the Bus Stop ADA Inspection Dashboard app to monitor inspections.",type:"Web Map"},{id:"2fc93fa4e07e42508669d02acb837a75",title:"Bus Stop ADA Inspection Field Map",description:"A map used in ArcGIS Field Maps to inspect bus stops in the field for ADA compliance.",type:"Web Map"},{id:"0bd4ecf9c95e4dcd8ff1744adc12f323",title:"BusStops_field",description:"A hosted feature layer view used to inspect bus stops for ADA compliance.",type:"Feature Layer (hosted, view)"},{id:"0bd4ecf9c95e4dcd8ff1744adc12f324",title:"BusStops_dashboard",description:"A hosted feature layer view used to monitor bus stop ADA inspections.",type:"Feature Layer (hosted, view)"},{id:"36d0bdce3a74436f8314c88c9667003e",title:"BusStops",description:"A hosted feature layer used to store bus stop and ADA inspection details.",type:"Feature Layer (hosted)"}],featureLayer:{itemId:"36d0bdce3a74436f8314c88c9667003e",addLayers:!0,layers:[{id:"0",type:"Point",name:"BusStops",description:"Point layer containing bus stop locations and ADA compliance information.",customFields:[{name:"stop_id",type:"string",alias:"Stop ID",description:"Identifier for the bus stop.",choiceList:null,length:255},{name:"location_description",type:"string",alias:"Location Description",description:"Description of the bus stop location.",choiceList:null,length:255},{name:"shelter_present",type:"string",alias:"Shelter Present",description:"Indicates if a waiting shelter is present at the bus stop.",choiceList:["Yes","No"],length:5},{name:"bench_present",type:"string",alias:"Bench Present",description:"Indicates if a bench is present at the bus stop.",choiceList:["Yes","No"],length:5},{name:"ada_compliant",type:"string",alias:"ADA Compliant",description:"Indicates if the bus stop meets ADA compliance requirements.",choiceList:["Yes","No"],length:5},{name:"capacity",type:"integer",alias:"Seating Capacity",description:"Number of people that can be seated at the bus stop."},{name:"distance_from_curb",type:"double",alias:"Distance from Curb (ft)",description:"Distance in feet from the curb to the shelter."},{name:"last_inspection_date",type:"date",alias:"Last Inspection Date",description:"Date of the most recent inspection."},{name:"installation_date",type:"date",alias:"Installation Date",description:"Date when the bus stop was installed."}],requiredFields:[{name:"route_number",type:"string",alias:"Route Number",description:"Number of the bus route that uses this stop.",choiceList:null,length:50},{name:"average_daily_riders",type:"integer",alias:"Average Daily Riders",description:"Average number of riders using this stop per day."},{name:"inspection_priority",type:"string",alias:"Inspection Priority",description:"Priority level for scheduling inspections.",choiceList:["High","Medium","Low"],length:10}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]},{id:"1",type:"Polyline",name:"Routes",description:"Polyline layer containing bus route paths.",customFields:[{name:"route_name",type:"string",alias:"Route Name",description:"Name of the bus route.",choiceList:null,length:100},{name:"route_type",type:"string",alias:"Route Type",description:"Type of bus route service.",choiceList:["Express","Local","Rapid"],length:20},{name:"frequency_minutes",type:"integer",alias:"Frequency (minutes)",description:"How often buses run on this route in minutes."},{name:"route_length_miles",type:"double",alias:"Route Length (miles)",description:"Total length of the route in miles."}],requiredFields:[{name:"route_id",type:"string",alias:"Route ID",description:"Unique identifier for the route.",choiceList:null,length:50},{name:"active",type:"string",alias:"Active Status",description:"Whether the route is currently active.",choiceList:["Yes","No"],length:3}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]},{id:"2",type:"Polygon",name:"ServiceAreas",description:"Polygon layer defining bus service coverage areas.",customFields:[{name:"area_name",type:"string",alias:"Area Name",description:"Name of the service area.",choiceList:null,length:100},{name:"service_level",type:"string",alias:"Service Level",description:"Level of service provided in this area.",choiceList:["High Frequency","Standard","Limited"],length:20},{name:"population",type:"integer",alias:"Population",description:"Estimated population within the service area."},{name:"area_sq_miles",type:"double",alias:"Area (sq miles)",description:"Size of the service area in square miles."}],requiredFields:[{name:"district_id",type:"string",alias:"District ID",description:"Unique identifier for the service district.",choiceList:null,length:50}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]},{id:"3",type:"Table",name:"Inspections",description:"Table containing inspection records and findings.",customFields:[{name:"inspection_id",type:"string",alias:"Inspection ID",description:"Unique identifier for the inspection.",choiceList:null,length:50},{name:"stop_id",type:"string",alias:"Bus Stop ID",description:"ID of the bus stop that was inspected.",choiceList:null,length:255},{name:"inspector_name",type:"string",alias:"Inspector Name",description:"Name of the person who performed the inspection.",choiceList:null,length:100},{name:"inspection_date",type:"date",alias:"Inspection Date",description:"Date when the inspection was performed."},{name:"overall_condition",type:"string",alias:"Overall Condition",description:"Overall condition assessment of the bus stop.",choiceList:["Excellent","Good","Fair","Poor","Critical"],length:20},{name:"issues_found",type:"integer",alias:"Issues Found",description:"Number of issues identified during inspection."},{name:"notes",type:"string",alias:"Inspection Notes",description:"Additional notes or comments about the inspection.",choiceList:null,length:1e3}],requiredFields:[{name:"inspection_status",type:"string",alias:"Inspection Status",description:"Current status of the inspection.",choiceList:["Scheduled","In Progress","Completed","Cancelled"],length:20}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]}]}},g=class extends f{constructor(){super(),this.initTitleOrId="",this.sortType="relevance",this.useLocalAppConfig=!1,this.loadExampleBuilderData=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._isAssistantOpen=!1,this._builderVisible=!1,this._hasActiveBuilderDesign=!1,this._showFabTooltip=!0,this._activeTab="all-solutions",this._showDeployedCardFetchFailed=!1,this._globalAlerts=[],this._translations=w({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${O}`,this._allCards=[],this._allShell=o(),this._allTab=o(),this._allTabTitle=o(),this._resourcesTab=o(),this._resourcesTabTitle=o(),this._categories=[],this._configContextProvider=u({context:D}),this._delay=!1,this._deployAppNav=o(),this._deployedCardPanel=o(),this._deployCardFetchFailedMessage="",this._deployedCardTab=o(),this._deployedCardTabTitle=o(),this._detailsShell=o(),this._detailsTab=o(),this._detailsTabTitle=o(),this._forceInit=!1,this._getSuggested=!1,this._tabpanelsFixed=!1,this._solutionBuilderPanel=o(),this._builderDesignContextProvider=u({context:A}),this._isMobileContextProvider=u({context:S}),this._mainContentRef=o(),this._mySolutionsShell=o(),this._mySolutionsTab=o(),this._mySolutionsTabTitle=o(),this._sortField="relevance",this._sortOrder="desc",this._telemetryManager=new y,this.deployAppTabSelected=d(),this.deployedCardFetchFailed=d(),this.detailsCardSelected=d(),this.deployedCardSelected=d(),this.metaTagStringsReady=d(),this.sessionRefreshed=d(),this.tabChanged=d(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"displayDeployedCard",this._handleDeployedCardDisplay),this.listenOn(window,"navTabSelected",this._setActiveTab),this.listenOn(window,"forceSelectTab",t=>this.selectTab(t.detail,{})),this.listenOn(window,"showGlobalAlert",this._handleShowGlobalAlert),this.listenOn(window,"openAssistant",()=>{this._openAssistant()}),this.listenOn(window,"closeAssistant",()=>{this._isAssistantOpen=!1,this._builderVisible=!1}),this.listenOn(window,"toggleSolutionBuilder",()=>{this._builderVisible=!this._builderVisible}),this.listenOn(window,"arcgis-solution-design-update",this._solutionBuilderSelected),this._builderDesignContextProvider.value={design:this.loadExampleBuilderData?R:null,updateDesign:t=>{this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,design:t}},isBuilderVisible:!1,setBuilderVisible:t=>{this._builderVisible=t,this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,isBuilderVisible:t}}},this.loadExampleBuilderData&&(this._hasActiveBuilderDesign=!0)}static{this.properties={appConfig:1,initTab:1,initTitleOrId:1,sortType:1,useLocalAppConfig:5,loadExampleBuilderData:5,authentication:16,_isLoaded:16,isMobile:16,_isAssistantOpen:16,_builderVisible:16,_hasActiveBuilderDesign:16,_showFabTooltip:16,_activeTab:16,_showDeployedCardFetchFailed:16,_globalAlerts:16,_translations:16}}static{this.styles=M}get _telemetry(){return this._configContextProvider.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextProvider.value?.isEnterprise===!0&&this._configContextProvider.value?.authentication?.CanSearchArcGISOnline===!1}_openAssistant(){this._telemetry?.logEvent({category:c.ASSISTANT,action:"Open"}),this._isAssistantOpen=!0}async selectTab(t,e){if(this._isLoaded||this._forceInit){let i=this._getDefaultSearchOptions(e);switch(this._searchSortToolbar&&(this._searchSortToolbar.scope=t.tabType),t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,i&&await this._allShell.value?.searchSolutions(i);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":if(this.authentication?.IsSignedIn){if(this._forceInit=!0,this._isLoaded=!1,this._cardFetcherDeployed&&await this._getDeployedSolution(t.tabTitleOrId),this._deployedSolutions?.cards?.length>0){let s;this._deployedSolutions.cards.some(l=>l.id===t.tabTitleOrId?(s=l,this.deployedCardSelected.emit({card:s}),!0):!1),this._isLoaded=!0,this._forceInit=!1}else return this._isLoaded=!0,this._forceInit=!1,this.selectTab({tabTitleOrId:"",tabType:"deployments"},e);break}else await this.authentication?.signIn();case"details":if(this._allCards){let s=P(this._allCards,t.tabTitleOrId);s=s||k(this._allCards,t.tabTitleOrId),s?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(s)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,this._searchSortToolbar&&i?.filter&&this._searchSortToolbar.changeOwnerFilter(i.filter!=="Organization"),i&&await this._mySolutionsShell.value?.searchSolutions(i);break}return this._builderVisible=!1,this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs(),this._showDeployedCardFetchFailed&&(this.deployedCardFetchFailed.emit({message:this._deployCardFetchFailedMessage,title:this._translations.failedToOpen}),this._showDeployedCardFetchFailed=!1),!0}else return this._initTab=t,this._initFilters=e,!1}updated(t){this._fixTabpanelFocus(),t.has("_isAssistantOpen")&&this._setScrollbarGutters(this._isAssistantOpen?"stable":"stable both-edges"),!this._resizeObserver&&this._mainContentRef.value&&(this._resizeObserver=new ResizeObserver(e=>{for(let i of e){let s=i.contentRect.width<=800;this.isMobile!==s&&(this.isMobile=s,this._isMobileContextProvider.setValue(s))}}),this._resizeObserver.observe(this._mainContentRef.value))}_fixTabpanelFocus(){if(!this._tabpanelsFixed&&this._allTab.value){let t=[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab];Promise.all(t.map(async e=>{let i=e.value;if(i&&(await i.componentOnReady?.(),i.shadowRoot)){let s=i.shadowRoot.querySelector('[role="tabpanel"]');s&&(s.tabIndex=-1)}})).then(()=>{this._tabpanelsFixed=!0,this._setupTabpanelObserver()}).catch(()=>{this._tabpanelsFixed=!0})}}_setupTabpanelObserver(){this._tabpanelObserver||(this._tabpanelObserver=new MutationObserver(t=>{t.forEach(e=>{if(e.type==="attributes"&&e.attributeName==="tabindex"){let i=e.target;i.getAttribute("role")==="tabpanel"&&i.tabIndex===0&&(i.tabIndex=-1)}})}),[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(t=>{let e=t.value;if(e?.shadowRoot){let i=e.shadowRoot.querySelector('[role="tabpanel"]');i&&this._tabpanelObserver.observe(i,{attributes:!0,attributeFilter:["tabindex"]})}}))}async load(){this.useLocalAppConfig&&(this.appConfig=$)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return h`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen?" assistant-open":""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing()&&h`<div class="border"></div>`||""}<solutions-searchsort-toolbar ${a(async i=>{i&&(await this._deployAppNav.value?.componentOnReady(),this._searchSortToolbar=i)})}></solutions-searchsort-toolbar><calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell .assistantOpen=${this._isAssistantOpen} class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise&&h`<div class=${`builder-panel${this._builderVisible?"":" display-none"}`}><solution-builder-assistant class="height-100" ${a(this._solutionBuilderPanel)}></solution-builder-assistant></div><div class=${`assistant-panel${this._isAssistantOpen?"":" display-none"}`}><arcgis-solutions-assistant class="height-100" .builderVisible=${this._builderVisible} .hasActiveBuilderDesign=${this._hasActiveBuilderDesign}></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip??T} class=${`assistant-fab${this._isAssistantOpen?" display-none":""}`} icon=effects id=assistant-fab-button @click=${()=>{this._openAssistant(),this._showFabTooltip=!1}} scale=l></calcite-fab><calcite-tooltip class=${p(this._isAssistantOpen?"display-none":"")} .open=${this._showFabTooltip&&!this._isAssistantOpen} placement=leading reference-element=assistant-fab-button><span>${this._translations.assistantFabTooltip}</span></calcite-tooltip>`||""}</calcite-shell>`}loaded(){this._setScrollbarGutters()}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect(),this._tabpanelObserver?.disconnect()}_renderGlobalAlerts(){return L(this._globalAlerts,t=>t.id,t=>h`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title||""} @calciteAlertClose=${()=>this._removeGlobalAlert(t.id)} open>${t.title&&h`<div slot=title>${t.title}</div>`||""}<div slot=message>${t.message}</div></calcite-alert>`)}async _handleAuthInit(t){let e=t.detail;e.telemetrySession||(e.telemetrySession=y.getDisabledSession()),this._configContextProvider.setValue(e),e.authentication&&(this.authentication=e.authentication),this._cardFetcherDeployed=new m(e.locale,e.orgUrl,e.portalURL),this._cardsFetcher=new m(e.locale,e.orgUrl,e.portalURL),this._isDisconnectedEnvironment||await this._getSolutions(e.primarySolutionsGroupId,e.agoBasedEnterpriseSolutionsGroupId),this._configContextProvider.value.allCards=this._allCards,this._configContextProvider.value.anonAgolSession=this._cardsFetcher.anonAgolSession,this._configContextProvider.value.agolPortalUrl=this._cardsFetcher.agolPortalUrl,await this._initializeTelemetry(),this._isLoaded=!0,this._setRefreshInterval(),this._initTab?(this.selectTab(this._initTab,this._initFilters),this._logTabViewTelemetry(this._initTab.tabType),this._initTab=void 0,this._initFilters=void 0):this.authentication?.IsSignedIn&&(this.initTab==="details"||this.initTab==="deployed-card"||(this._logTabViewTelemetry(this._activeTab),this._emitMetaTagStrings(this._activeTab)))}_setActiveTab(t){let e=t.detail.tabType,i=this._activeTab!==e;switch(this._activeTab=e,i&&this._logTabViewTelemetry(e),e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}this._builderVisible=!1,e!=="details"&&e!=="deployed-card"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e),this._emitMetaTagStrings(e))}_logTabViewTelemetry(t,e){let i;switch(t){case"all-solutions":i=c.ALL_SOLUTIONS;break;case"deployments":i=c.DEPLOYMENTS;break;case"resources":i=c.RESOURCES;break;case"details":i=c.SOLUTION_DETAILS;break;case"deployed-card":i=c.DEPLOYMENTS;break}if(!((t==="details"||t==="deployed-card")&&!e)&&i){let s=[];if((t==="details"||t==="deployed-card")&&e){let n=e;s.push(n.title||""),s.push(n.deployCommonId||""),s.push(n.deployVersion||"")}let l=t==="deployed-card"?"Open":"View";this._telemetry?.logEvent({category:i,action:l,dimensions:s.length>0?s:void 0})}}_emitMetaTagStrings(t,e){let i="",s="";switch(t){case"all-solutions":i=this._translations.metaAllSolutionsTitle,s=this._translations.metaAllSolutionsDescription;break;case"deployments":case"deployed-card":i=this._translations.metaDeploymentsTitle,s=this._translations.metaDeploymentsDescription;break;case"resources":i=this._translations.metaResourcesTitle,s=this._translations.metaResourcesDescription;break;case"details":e&&(i=this._translations.metaDetailsTitle.replace("{title}",e.title),s=e.snippet);break}this.metaTagStringsReady.emit({pageType:t,title:i,description:s,detailTemplate:e})}_handleCalciteTabChanged(){this.tabChanged.emit(this._activeTab)}_detailsCardSelected(t){this._activeTab="details",this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail&&(this._selectedDetailsCard=t.detail),this._logTabViewTelemetry("details",this._selectedDetailsCard),this._emitMetaTagStrings("details",this._selectedDetailsCard)}_deployedCardSelected(t){this._activeTab="deployed-card",this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail?.card&&(this._selectedDeployedCard=t.detail.card),this._logTabViewTelemetry("deployed-card",this._selectedDeployedCard),this._emitMetaTagStrings("deployed-card")}_solutionBuilderSelected(t){t?.detail&&(this._builderVisible=!0,this._hasActiveBuilderDesign=!0,this._builderDesignContextProvider.value={design:t.detail,updateDesign:e=>{this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,design:e}},isBuilderVisible:!0,setBuilderVisible:e=>{this._builderVisible=e,this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,isBuilderVisible:e}}})}_handleDeployedCardDisplay(t){let{card:e,cardRef:i}=t.detail;this.deployedCardSelected.emit({card:e,cardRef:i})}_handleShowGlobalAlert(t){let e=t.detail,i=e.id||`alert-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;this._globalAlerts=[...this._globalAlerts,{...e,id:i}]}_removeGlobalAlert(t){this._globalAlerts=this._globalAlerts.filter(e=>e.id!==t)}async _initializeTelemetry(){let t=this._configContextProvider.value;if(!this.authentication||!t)return;let e=await this._telemetryManager.initializeTelemetry(this.authentication,t);this._configContextProvider.value.telemetrySession=e}async _getSolutions(t,e){if(this._isDisconnectedEnvironment)return[];this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let i=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},t,e,this._configContextProvider.value.userSession,this._configContextProvider.value.isEnterprise,this._abortController.signal,{num:1e3});return this._abortController=void 0,this._allCards.length===0&&i?.cards&&(this._allCards=i?.cards),this._allCards}async _getDeployedSolution(t){let e=this._configContextProvider.value.authentication,i=this._configContextProvider.value.userSession;if(e&&i&&e.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let s=x(e);try{let l=await B(e,i,this._cardsFetcher,this._cardFetcherDeployed,F,"created","desc",!1,[],[],this._abortControllerDeployed.signal,s?"My organization's solutions":"My solutions",t);l.cards.length===0||l.cards[0].typeKeywords.indexOf("Deployed")<0?(this._deployCardFetchFailedMessage=this._translations.failedToFetchNotSolution.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):this._deployedSolutions=l}catch(l){let n=l.message;n.indexOf("CONT_0001")>-1||n.indexOf("Item does not exist or is inaccessible.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongId.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):n.indexOf("GWM_0003")>-1||n.indexOf("You do not have permissions to access this resource or perform this operation.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):(this._showDeployedCardFetchFailed=!0,this._deployCardFetchFailedMessage=""),console.warn(l)}}}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_isSearchToolbarShowing(){return this._activeTab==="all-solutions"||this._activeTab==="deployments"&&this.authentication?.IsSignedIn===!0}_getDefaultSearchOptions(t){let e;if(t){let i=t.domain,s=t.industry==="AEC"?I.AEC:t.industry,l=t.offerType,n=t.searchTerm,E="",r=t.sortField,b=t.owner,_=t.filter;r==="suggested"&&!this.authentication?.IsSignedIn&&(r=this.sortType),e=i||s?{type:i?"domain":s?"industry":""}:void 0,i&&(e=e?{...e,domain:i}:{domain:i}),s&&(e=e?{...e,industry:s}:{industry:s}),n&&(e=e?{...e,searchTerm:n}:{searchTerm:n}),e&&(e={...e,displayValue:E}),r&&(e=e?{...e,sortType:r}:{sortType:r}),l&&(r=l.toLowerCase(),e=e?{...e,sortType:r}:{sortType:r}),b&&(e=e?{...e,owner:b}:{owner:b}),_&&(e=e?{...e,filter:_}:{filter:_})}return e}_setScrollbarGutters(t="stable both-edges"){[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(e=>{let i=e.value?.shadowRoot?.firstElementChild;i?.style&&(i.style.scrollbarGutter=t)})}_setRefreshInterval(){let{userSession:t,authentication:e}=this._configContextProvider.value;if(t&&t.tokenDuration&&e?.IsSignedIn){let i=Date.now(),s=(e.Credential?.expires-i)*.95;setInterval(async()=>{if(e.Credential&&e.Credential.expires){await e.Credential?.refreshToken();let l=new Date(e.Credential.expires);t.updateToken(e.Credential.token,l),this.sessionRefreshed.emit(t.token)}},s)}}};C("solutions-deploy-app",g);return g},"identity/IdentityManager","identity/OAuthInfo","portal/Portal","intl",b,c,e,g,i,j,k,l,m,n,q,r,s,t,x,y)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{b as c}from"./4F57JHMM.js";import{E as s,F as a,G as r,J as l,h as t,i as e}from"./3ITZDI72.js";import"./QPIMTXPL.js";var y=t`:host{display:block}`,i=class extends r{constructor(){super(...arguments),this.layerListRef=s(),this.visibilityIcon="eyeball"}static{this.properties={mapView:0,layerListRef:0,visibilityIcon:1}}static{this.styles=y}willUpdate(o){o.has("visibilityIcon")&&this.visibilityIconWatchHandler()}async visibilityIconWatchHandler(){this.layerListRef.value&&(this.layerListRef.value.visibilityAppearance=this.visibilityIcon==="checkbox"?"checkbox":"default")}render(){return this.mapView&&e`<arcgis-layer-list style=${l(document.dir==="rtl"?"direction: rtl;":"direction: ltr;")} auto-destroy-disabled .view=${this.mapView} .visibilityAppearance=${this.visibilityIcon==="checkbox"?"checkbox":"default"} ${a(this.layerListRef)}></arcgis-layer-list>`||""}};c("layer-list-widget",i);export{i as LayerListWidget};
@@ -0,0 +1,4 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{a as nt}from"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import{b as at}from"./4F57JHMM.js";import{E,F as V,G as st,I as Me,h as tt,i as w,l as re,q as T,t as it}from"./3ITZDI72.js";import{a as Te}from"./QPIMTXPL.js";export default $arcgis.t(([Jt,Qt,Zt,ei,ti,ii,xe,si,ai,ni,{g:rt},{d:De,e:ot}])=>{var Ie=typeof self<"u"?self:global,ae=typeof navigator<"u",Dt=ae&&typeof HTMLImageElement>"u",he=!(typeof global>"u"||typeof process>"u"||!process.versions||!process.versions.node),Pe=Ie.Buffer,oe=Ie.BigInt,ke=!!Pe,Ot=a=>a;function ce(a,e=Ot){if(he)try{return typeof Te=="function"?Promise.resolve(e(Te(a))):import(a).then(e)}catch{console.warn(`Couldn't load ${a}`)}}var We=Ie.fetch,Lt=a=>We=a;if(!Ie.fetch){let a=ce("http",(i=>i)),e=ce("https",(i=>i)),t=(i,{headers:s}={})=>new Promise((async(n,r)=>{let{port:o,hostname:l,pathname:c,protocol:d,search:u}=new URL(i),p={method:"GET",hostname:l,path:encodeURI(c)+u,headers:s};o!==""&&(p.port=Number(o));let x=(d==="https:"?await e:await a).request(p,(_=>{if(_.statusCode===301||_.statusCode===302){let _e=new URL(_.headers.location,i).toString();return t(_e,{headers:s}).then(n).catch(r)}n({status:_.statusCode,arrayBuffer:()=>new Promise((_e=>{let et=[];_.on("data",(Mt=>et.push(Mt))),_.on("end",(()=>_e(Buffer.concat(et))))}))})}));x.on("error",r),x.end()}));Lt(t)}function h(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var de=a=>bt(a)?void 0:a,Rt=a=>a!==void 0;function bt(a){return a===void 0||(a instanceof Map?a.size===0:Object.values(a).filter(Rt).length===0)}function y(a){let e=new Error(a);throw delete e.stack,e}function N(a){return(a=(function(e){for(;e.endsWith("\0");)e=e.slice(0,-1);return e})(a).trim())===""?void 0:a}function Fe(a){let e=(function(t){let i=0;return t.ifd0.enabled&&(i+=1024),t.exif.enabled&&(i+=2048),t.makerNote&&(i+=2048),t.userComment&&(i+=1024),t.gps.enabled&&(i+=512),t.interop.enabled&&(i+=100),t.ifd1.enabled&&(i+=1024),i+2048})(a);return a.jfif.enabled&&(e+=50),a.xmp.enabled&&(e+=2e4),a.iptc.enabled&&(e+=14e3),a.icc.enabled&&(e+=6e3),e}var Ue=a=>String.fromCharCode.apply(null,a),lt=typeof TextDecoder<"u"?new TextDecoder("utf-8"):void 0;function It(a){return lt?lt.decode(a):ke?Buffer.from(a).toString("utf8"):decodeURIComponent(escape(Ue(a)))}var P=class a{static from(e,t){return e instanceof this&&e.le===t?e:new a(e,void 0,void 0,t)}constructor(e,t=0,i,s){if(typeof s=="boolean"&&(this.le=s),Array.isArray(e)&&(e=new Uint8Array(e)),e===0)this.byteOffset=0,this.byteLength=0;else if(e instanceof ArrayBuffer){i===void 0&&(i=e.byteLength-t);let n=new DataView(e,t,i);this._swapDataView(n)}else if(e instanceof Uint8Array||e instanceof DataView||e instanceof a){i===void 0&&(i=e.byteLength-t),(t+=e.byteOffset)+i>e.byteOffset+e.byteLength&&y("Creating view outside of available memory in ArrayBuffer");let n=new DataView(e.buffer,t,i);this._swapDataView(n)}else if(typeof e=="number"){let n=new DataView(new ArrayBuffer(e));this._swapDataView(n)}else y("Invalid input argument for BufferView: "+e)}_swapArrayBuffer(e){this._swapDataView(new DataView(e))}_swapBuffer(e){this._swapDataView(new DataView(e.buffer,e.byteOffset,e.byteLength))}_swapDataView(e){this.dataView=e,this.buffer=e.buffer,this.byteOffset=e.byteOffset,this.byteLength=e.byteLength}_lengthToEnd(e){return this.byteLength-e}set(e,t,i=a){return e instanceof DataView||e instanceof a?e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Uint8Array||y("BufferView.set(): Invalid data argument."),this.toUint8().set(e,t),new i(this,t,e.byteLength)}subarray(e,t){return t=t||this._lengthToEnd(e),new a(this,e,t)}toUint8(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}getUint8Array(e,t){return new Uint8Array(this.buffer,this.byteOffset+e,t)}getString(e=0,t=this.byteLength){return It(this.getUint8Array(e,t))}getLatin1String(e=0,t=this.byteLength){let i=this.getUint8Array(e,t);return Ue(i)}getUnicodeString(e=0,t=this.byteLength){let i=[];for(let s=0;s<t&&e+s<this.byteLength;s+=2)i.push(this.getUint16(e+s));return Ue(i)}getInt8(e){return this.dataView.getInt8(e)}getUint8(e){return this.dataView.getUint8(e)}getInt16(e,t=this.le){return this.dataView.getInt16(e,t)}getInt32(e,t=this.le){return this.dataView.getInt32(e,t)}getUint16(e,t=this.le){return this.dataView.getUint16(e,t)}getUint32(e,t=this.le){return this.dataView.getUint32(e,t)}getFloat32(e,t=this.le){return this.dataView.getFloat32(e,t)}getFloat64(e,t=this.le){return this.dataView.getFloat64(e,t)}getFloat(e,t=this.le){return this.dataView.getFloat32(e,t)}getDouble(e,t=this.le){return this.dataView.getFloat64(e,t)}getUintBytes(e,t,i){switch(t){case 1:return this.getUint8(e,i);case 2:return this.getUint16(e,i);case 4:return this.getUint32(e,i);case 8:return this.getUint64&&this.getUint64(e,i)}}getUint(e,t,i){switch(t){case 8:return this.getUint8(e,i);case 16:return this.getUint16(e,i);case 32:return this.getUint32(e,i);case 64:return this.getUint64&&this.getUint64(e,i)}}toString(e){return this.dataView.toString(e,this.constructor.name)}ensureChunk(){}};function Ee(a,e){y(`${a} '${e}' was not loaded, try using full build of exifr.`)}var ne=class extends Map{constructor(e){super(),this.kind=e}get(e,t){return this.has(e)||Ee(this.kind,e),t&&(e in t||(function(i,s){y(`Unknown ${i} '${s}'.`)})(this.kind,e),t[e].enabled||Ee(this.kind,e)),super.get(e)}keyList(){return Array.from(this.keys())}},k=new ne("file parser"),m=new ne("segment parser"),v=new ne("file reader");function Ft(a,e){return typeof a=="string"?ht(a,e):ae&&!Dt&&a instanceof HTMLImageElement?ht(a.src,e):a instanceof Uint8Array||a instanceof ArrayBuffer||a instanceof DataView?new P(a):ae&&a instanceof Blob?Ve(a,e,"blob",$):void y("Invalid input argument")}function ht(a,e){return(t=a).startsWith("data:")||t.length>1e4?Be(a,e,"base64"):he&&a.includes("://")?Ve(a,e,"url",H):he?Be(a,e,"fs"):ae?Ve(a,e,"url",H):void y("Invalid input argument");var t}async function Ve(a,e,t,i){return v.has(t)?Be(a,e,t):i?(async function(s,n){let r=await n(s);return new P(r)})(a,i):void y(`Parser ${t} is not loaded`)}async function Be(a,e,t){let i=new(v.get(t))(a,e);return await i.read(),i}var H=a=>We(a).then((e=>e.arrayBuffer())),$=a=>new Promise(((e,t)=>{let i=new FileReader;i.onloadend=()=>e(i.result||new ArrayBuffer),i.onerror=t,i.readAsArrayBuffer(a)})),Ne=class extends Map{get tagKeys(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}get tagValues(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}};function g(a,e,t){let i=new Ne;for(let[s,n]of t)i.set(s,n);if(Array.isArray(e))for(let s of e)a.set(s,i);else a.set(e,i);return i}function j(a,e,t){let i,s=a.get(e);for(i of t)s.set(i[0],i[1])}var S=new Map,I=new Map,U=new Map,O=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],J=["jfif","xmp","icc","iptc","ihdr"],W=["tiff",...J],f=["ifd0","ifd1","exif","gps","interop"],L=[...W,...f],R=["makerNote","userComment"],Q=["translateKeys","translateValues","reviveValues","multiSegment"],F=[...Q,"sanitize","mergeOutput","silentErrors"],ue=class{get translate(){return this.translateKeys||this.translateValues||this.reviveValues}},B=class extends ue{get needed(){return this.enabled||this.deps.size>0}constructor(e,t,i,s){if(super(),h(this,"enabled",!1),h(this,"skip",new Set),h(this,"pick",new Set),h(this,"deps",new Set),h(this,"translateKeys",!1),h(this,"translateValues",!1),h(this,"reviveValues",!1),this.key=e,this.enabled=t,this.parse=this.enabled,this.applyInheritables(s),this.canBeFiltered=f.includes(e),this.canBeFiltered&&(this.dict=S.get(e)),i!==void 0)if(Array.isArray(i))this.parse=this.enabled=!0,this.canBeFiltered&&i.length>0&&this.translateTagSet(i,this.pick);else if(typeof i=="object"){if(this.enabled=!0,this.parse=i.parse!==!1,this.canBeFiltered){let{pick:n,skip:r}=i;n&&n.length>0&&this.translateTagSet(n,this.pick),r&&r.length>0&&this.translateTagSet(r,this.skip)}this.applyInheritables(i)}else i===!0||i===!1?this.parse=this.enabled=i:y(`Invalid options argument: ${i}`)}applyInheritables(e){let t,i;for(t of Q)i=e[t],i!==void 0&&(this[t]=i)}translateTagSet(e,t){if(this.dict){let i,s,{tagKeys:n,tagValues:r}=this.dict;for(i of e)typeof i=="string"?(s=r.indexOf(i),s===-1&&(s=n.indexOf(Number(i))),s!==-1&&t.add(Number(n[s]))):t.add(i)}else for(let i of e)t.add(i)}finalizeFilters(){!this.enabled&&this.deps.size>0?(this.enabled=!0,pe(this.pick,this.deps)):this.enabled&&this.pick.size>0&&pe(this.pick,this.deps)}},C={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},ct=new Map,D=class extends ue{static useCached(e){let t=ct.get(e);return t!==void 0||(t=new this(e),ct.set(e,t)),t}constructor(e){super(),e===!0?this.setupFromTrue():e===void 0?this.setupFromUndefined():Array.isArray(e)?this.setupFromArray(e):typeof e=="object"?this.setupFromObject(e):y(`Invalid options argument ${e}`),this.firstChunkSize===void 0&&(this.firstChunkSize=ae?this.firstChunkSizeBrowser:this.firstChunkSizeNode),this.mergeOutput&&(this.ifd1.enabled=!1),this.filterNestedSegmentTags(),this.traverseTiffDependencyTree(),this.checkLoadedPlugins()}setupFromUndefined(){let e;for(e of O)this[e]=C[e];for(e of F)this[e]=C[e];for(e of R)this[e]=C[e];for(e of L)this[e]=new B(e,C[e],void 0,this)}setupFromTrue(){let e;for(e of O)this[e]=C[e];for(e of F)this[e]=C[e];for(e of R)this[e]=!0;for(e of L)this[e]=new B(e,!0,void 0,this)}setupFromArray(e){let t;for(t of O)this[t]=C[t];for(t of F)this[t]=C[t];for(t of R)this[t]=C[t];for(t of L)this[t]=new B(t,!1,void 0,this);this.setupGlobalFilters(e,void 0,f)}setupFromObject(e){let t;for(t of(f.ifd0=f.ifd0||f.image,f.ifd1=f.ifd1||f.thumbnail,Object.assign(this,e),O))this[t]=Oe(e[t],C[t]);for(t of F)this[t]=Oe(e[t],C[t]);for(t of R)this[t]=Oe(e[t],C[t]);for(t of W)this[t]=new B(t,C[t],e[t],this);for(t of f)this[t]=new B(t,C[t],e[t],this.tiff);this.setupGlobalFilters(e.pick,e.skip,f,L),e.tiff===!0?this.batchEnableWithBool(f,!0):e.tiff===!1?this.batchEnableWithUserValue(f,e):Array.isArray(e.tiff)?this.setupGlobalFilters(e.tiff,void 0,f):typeof e.tiff=="object"&&this.setupGlobalFilters(e.tiff.pick,e.tiff.skip,f)}batchEnableWithBool(e,t){for(let i of e)this[i].enabled=t}batchEnableWithUserValue(e,t){for(let i of e){let s=t[i];this[i].enabled=s!==!1&&s!==void 0}}setupGlobalFilters(e,t,i,s=i){if(e&&e.length){for(let r of s)this[r].enabled=!1;let n=dt(e,i);for(let[r,o]of n)pe(this[r].pick,o),this[r].enabled=!0}else if(t&&t.length){let n=dt(t,i);for(let[r,o]of n)pe(this[r].skip,o)}}filterNestedSegmentTags(){let{ifd0:e,exif:t,xmp:i,iptc:s,icc:n}=this;this.makerNote?t.deps.add(37500):t.skip.add(37500),this.userComment?t.deps.add(37510):t.skip.add(37510),i.enabled||e.skip.add(700),s.enabled||e.skip.add(33723),n.enabled||e.skip.add(34675)}traverseTiffDependencyTree(){let{ifd0:e,exif:t,gps:i,interop:s}=this;s.needed&&(t.deps.add(40965),e.deps.add(40965)),t.needed&&e.deps.add(34665),i.needed&&e.deps.add(34853),this.tiff.enabled=f.some((n=>this[n].enabled===!0))||this.makerNote||this.userComment;for(let n of f)this[n].finalizeFilters()}get onlyTiff(){return!J.map((e=>this[e].enabled)).some((e=>e===!0))&&this.tiff.enabled}checkLoadedPlugins(){for(let e of W)this[e].enabled&&!m.has(e)&&Ee("segment parser",e)}};function dt(a,e){let t,i,s,n,r=[];for(s of e){for(n of(t=S.get(s),i=[],t))(a.includes(n[0])||a.includes(n[1]))&&i.push(n[0]);i.length&&r.push([s,i])}return r}function Oe(a,e){return a!==void 0?a:e!==void 0?e:void 0}function pe(a,e){for(let t of e)a.add(t)}h(D,"default",C);var A=class{constructor(e){h(this,"parsers",{}),h(this,"output",{}),h(this,"errors",[]),h(this,"pushToErrors",(t=>this.errors.push(t))),this.options=D.useCached(e)}async read(e){this.file=await Ft(e,this.options)}setup(){if(this.fileParser)return;let{file:e}=this,t=e.getUint16(0);for(let[i,s]of k)if(s.canHandle(e,t))return this.fileParser=new s(this.options,this.file,this.parsers),e[i]=!0;this.file.close&&this.file.close(),y("Unknown file format")}async parse(){let{output:e,errors:t}=this;return this.setup(),this.options.silentErrors?(await this.executeParsers().catch(this.pushToErrors),t.push(...this.fileParser.errors)):await this.executeParsers(),this.file.close&&this.file.close(),this.options.silentErrors&&t.length>0&&(e.errors=t),de(e)}async executeParsers(){let{output:e}=this;await this.fileParser.parse();let t=Object.values(this.parsers).map((async i=>{let s=await i.parse();i.assignToOutput(e,s)}));this.options.silentErrors&&(t=t.map((i=>i.catch(this.pushToErrors)))),await Promise.all(t)}async extractThumbnail(){this.setup();let{options:e,file:t}=this,i=m.get("tiff",e);var s;if(t.tiff?s={start:0,type:"tiff"}:t.jpeg&&(s=await this.fileParser.getOrFindSegment("tiff")),s===void 0)return;let n=await this.fileParser.ensureSegmentChunk(s),r=this.parsers.tiff=new i(n,e,t),o=await r.extractThumbnail();return t.close&&t.close(),o}};async function Ae(a,e){let t=new A(e);return await t.read(a),t.parse()}var Ut=Object.freeze({__proto__:null,parse:Ae,Exifr:A,fileParsers:k,segmentParsers:m,fileReaders:v,tagKeys:S,tagValues:I,tagRevivers:U,createDictionary:g,extendDictionary:j,fetchUrlAsArrayBuffer:H,readBlobAsArrayBuffer:$,chunkedProps:O,otherSegments:J,segments:W,tiffBlocks:f,segmentsAndBlocks:L,tiffExtractables:R,inheritables:Q,allFormatters:F,Options:D}),q=class{constructor(e,t,i){h(this,"errors",[]),h(this,"ensureSegmentChunk",(async s=>{let n=s.start,r=s.size||65536;if(this.file.chunked)if(this.file.available(n,r))s.chunk=this.file.subarray(n,r);else try{s.chunk=await this.file.readChunk(n,r)}catch(o){y(`Couldn't read segment: ${JSON.stringify(s)}. ${o.message}`)}else this.file.byteLength>n+r?s.chunk=this.file.subarray(n,r):s.size===void 0?s.chunk=this.file.subarray(n):y("Segment unreachable: "+JSON.stringify(s));return s.chunk})),this.extendOptions&&this.extendOptions(e),this.options=e,this.file=t,this.parsers=i}injectSegment(e,t){this.options[e].enabled&&this.createParser(e,t)}createParser(e,t){let i=new(m.get(e))(t,this.options,this.file);return this.parsers[e]=i}createParsers(e){for(let t of e){let{type:i,chunk:s}=t,n=this.options[i];if(n&&n.enabled){let r=this.parsers[i];r&&r.append||r||this.createParser(i,s)}}}async readSegments(e){let t=e.map(this.ensureSegmentChunk);await Promise.all(t)}},b=class{static findPosition(e,t){let i=e.getUint16(t+2)+2,s=typeof this.headerLength=="function"?this.headerLength(e,t,i):this.headerLength,n=t+s,r=i-s;return{offset:t,length:i,headerLength:s,start:n,size:r,end:n+r}}static parse(e,t={}){return new this(e,new D({[this.type]:t}),e).parse()}normalizeInput(e){return e instanceof P?e:new P(e)}constructor(e,t={},i){h(this,"errors",[]),h(this,"raw",new Map),h(this,"handleError",(s=>{if(!this.options.silentErrors)throw s;this.errors.push(s.message)})),this.chunk=this.normalizeInput(e),this.file=i,this.type=this.constructor.type,this.globalOptions=this.options=t,this.localOptions=t[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}translate(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}get output(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}translateBlock(e,t){let i=U.get(t),s=I.get(t),n=S.get(t),r=this.options[t],o=r.reviveValues&&!!i,l=r.translateValues&&!!s,c=r.translateKeys&&!!n,d={};for(let[u,p]of e)o&&i.has(u)?p=i.get(u)(p):l&&s.has(u)&&(p=this.translateValue(p,s.get(u))),c&&n.has(u)&&(u=n.get(u)||u),d[u]=p;return d}translateValue(e,t){return t[e]||t.DEFAULT||e}assignToOutput(e,t){this.assignObjectToOutput(e,this.constructor.type,t)}assignObjectToOutput(e,t,i){if(this.globalOptions.mergeOutput)return Object.assign(e,i);e[t]?Object.assign(e[t],i):e[t]=i}};h(b,"headerLength",4),h(b,"type",void 0),h(b,"multiSegment",!1),h(b,"canHandle",(()=>!1));function Et(a){return a===192||a===194||a===196||a===219||a===221||a===218||a===254}function Vt(a){return a>=224&&a<=239}function Bt(a,e,t){for(let[i,s]of m)if(s.canHandle(a,e,t))return i}var fe=class extends q{constructor(...e){super(...e),h(this,"appSegments",[]),h(this,"jpegSegments",[]),h(this,"unknownSegments",[])}static canHandle(e,t){return t===65496}async parse(){await this.findAppSegments(),await this.readSegments(this.appSegments),this.mergeMultiSegments(),this.createParsers(this.mergedAppSegments||this.appSegments)}setupSegmentFinderArgs(e){e===!0?(this.findAll=!0,this.wanted=new Set(m.keyList())):(e=e===void 0?m.keyList().filter((t=>this.options[t].enabled)):e.filter((t=>this.options[t].enabled&&m.has(t))),this.findAll=!1,this.remaining=new Set(e),this.wanted=new Set(e)),this.unfinishedMultiSegment=!1}async findAppSegments(e=0,t){this.setupSegmentFinderArgs(t);let{file:i,findAll:s,wanted:n,remaining:r}=this;if(!s&&this.file.chunked&&(s=Array.from(n).some((o=>{let l=m.get(o),c=this.options[o];return l.multiSegment&&c.multiSegment})),s&&await this.file.readWhole()),e=this.findAppSegmentsInRange(e,i.byteLength),!this.options.onlyTiff&&i.chunked){let o=!1;for(;r.size>0&&!o&&(i.canReadNextChunk||this.unfinishedMultiSegment);){let{nextChunkOffset:l}=i,c=this.appSegments.some((d=>!this.file.available(d.offset||d.start,d.length||d.size)));if(o=e>l&&!c?!await i.readNextChunk(e):!await i.readNextChunk(l),(e=this.findAppSegmentsInRange(e,i.byteLength))===void 0)return}}}findAppSegmentsInRange(e,t){t-=2;let i,s,n,r,o,l,{file:c,findAll:d,wanted:u,remaining:p,options:x}=this;for(;e<t;e++)if(c.getUint8(e)===255){if(i=c.getUint8(e+1),Vt(i)){if(s=c.getUint16(e+2),n=Bt(c,e,s),n&&u.has(n)&&(r=m.get(n),o=r.findPosition(c,e),l=x[n],o.type=n,this.appSegments.push(o),!d&&(r.multiSegment&&l.multiSegment?(this.unfinishedMultiSegment=o.chunkNumber<o.chunkCount,this.unfinishedMultiSegment||p.delete(n)):p.delete(n),p.size===0)))break;x.recordUnknownSegments&&(o=b.findPosition(c,e),o.marker=i,this.unknownSegments.push(o)),e+=s+1}else if(Et(i)){if(s=c.getUint16(e+2),i===218&&x.stopAfterSos!==!1)return;x.recordJpegSegments&&this.jpegSegments.push({offset:e,length:s,marker:i}),e+=s+1}}return e}mergeMultiSegments(){if(!this.appSegments.some((t=>t.multiSegment)))return;let e=(function(t,i){let s,n,r,o=new Map;for(let l=0;l<t.length;l++)s=t[l],n=s[i],o.has(n)?r=o.get(n):o.set(n,r=[]),r.push(s);return Array.from(o)})(this.appSegments,"type");this.mergedAppSegments=e.map((([t,i])=>{let s=m.get(t,this.options);return s.handleMultiSegments?{type:t,chunk:s.handleMultiSegments(i)}:i[0]}))}getSegment(e){return this.appSegments.find((t=>t.type===e))}async getOrFindSegment(e){let t=this.getSegment(e);return t===void 0&&(await this.findAppSegments(0,[e]),t=this.getSegment(e)),t}};h(fe,"type","jpeg"),k.set("jpeg",fe);var Nt=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4],Ge=class extends b{parseHeader(){var e=this.chunk.getUint16();e===18761?this.le=!0:e===19789&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}parseTags(e,t,i=new Map){let{pick:s,skip:n}=this.options[t];s=new Set(s);let r=s.size>0,o=n.size===0,l=this.chunk.getUint16(e);e+=2;for(let c=0;c<l;c++){let d=this.chunk.getUint16(e);if(r){if(s.has(d)&&(i.set(d,this.parseTag(e,d,t)),s.delete(d),s.size===0))break}else!o&&n.has(d)||i.set(d,this.parseTag(e,d,t));e+=12}return i}parseTag(e,t,i){let{chunk:s}=this,n=s.getUint16(e+2),r=s.getUint32(e+4),o=Nt[n];if(o*r<=4?e+=8:e=s.getUint32(e+8),(n<1||n>13)&&y(`Invalid TIFF value type. block: ${i.toUpperCase()}, tag: ${t.toString(16)}, type: ${n}, offset ${e}`),e>s.byteLength&&y(`Invalid TIFF value offset. block: ${i.toUpperCase()}, tag: ${t.toString(16)}, type: ${n}, offset ${e} is outside of chunk size ${s.byteLength}`),n===1)return s.getUint8Array(e,r);if(n===2)return N(s.getString(e,r));if(n===7)return s.getUint8Array(e,r);if(r===1)return this.parseTagValue(n,e);{let l=new((function(d){switch(d){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 10:return Array;case 11:return Float32Array;case 12:return Float64Array;default:return Array}})(n))(r),c=o;for(let d=0;d<r;d++)l[d]=this.parseTagValue(n,e),e+=c;return l}}parseTagValue(e,t){let{chunk:i}=this;switch(e){case 1:return i.getUint8(t);case 3:return i.getUint16(t);case 4:return i.getUint32(t);case 5:return i.getUint32(t)/i.getUint32(t+4);case 6:return i.getInt8(t);case 8:return i.getInt16(t);case 9:return i.getInt32(t);case 10:return i.getInt32(t)/i.getInt32(t+4);case 11:return i.getFloat(t);case 12:return i.getDouble(t);case 13:return i.getUint32(t);default:y(`Invalid tiff type ${e}`)}}},ee=class extends Ge{static canHandle(e,t){return e.getUint8(t+1)===225&&e.getUint32(t+4)===1165519206&&e.getUint16(t+8)===0}async parse(){this.parseHeader();let{options:e}=this;return e.ifd0.enabled&&await this.parseIfd0Block(),e.exif.enabled&&await this.safeParse("parseExifBlock"),e.gps.enabled&&await this.safeParse("parseGpsBlock"),e.interop.enabled&&await this.safeParse("parseInteropBlock"),e.ifd1.enabled&&await this.safeParse("parseThumbnailBlock"),this.createOutput()}safeParse(e){let t=this[e]();return t.catch!==void 0&&(t=t.catch(this.handleError)),t}findIfd0Offset(){this.ifd0Offset===void 0&&(this.ifd0Offset=this.chunk.getUint32(4))}findIfd1Offset(){if(this.ifd1Offset===void 0){this.findIfd0Offset();let e=this.chunk.getUint16(this.ifd0Offset),t=this.ifd0Offset+2+12*e;this.ifd1Offset=this.chunk.getUint32(t)}}parseBlock(e,t){let i=new Map;return this[t]=i,this.parseTags(e,t,i),i}async parseIfd0Block(){if(this.ifd0)return;let{file:e}=this;this.findIfd0Offset(),this.ifd0Offset<8&&y("Malformed EXIF data"),!e.chunked&&this.ifd0Offset>e.byteLength&&y(`IFD0 offset points to outside of file.
3
+ this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${e.byteLength}`),e.tiff&&await e.ensureChunk(this.ifd0Offset,Fe(this.options));let t=this.parseBlock(this.ifd0Offset,"ifd0");return t.size!==0?(this.exifOffset=t.get(34665),this.interopOffset=t.get(40965),this.gpsOffset=t.get(34853),this.xmp=t.get(700),this.iptc=t.get(33723),this.icc=t.get(34675),this.options.sanitize&&(t.delete(34665),t.delete(40965),t.delete(34853),t.delete(700),t.delete(33723),t.delete(34675)),t):void 0}async parseExifBlock(){if(this.exif||(this.ifd0||await this.parseIfd0Block(),this.exifOffset===void 0))return;this.file.tiff&&await this.file.ensureChunk(this.exifOffset,Fe(this.options));let e=this.parseBlock(this.exifOffset,"exif");return this.interopOffset||(this.interopOffset=e.get(40965)),this.makerNote=e.get(37500),this.userComment=e.get(37510),this.options.sanitize&&(e.delete(40965),e.delete(37500),e.delete(37510)),this.unpack(e,41728),this.unpack(e,41729),e}unpack(e,t){let i=e.get(t);i&&i.length===1&&e.set(t,i[0])}async parseGpsBlock(){if(this.gps||(this.ifd0||await this.parseIfd0Block(),this.gpsOffset===void 0))return;let e=this.parseBlock(this.gpsOffset,"gps");return e&&e.has(2)&&e.has(4)&&(e.set("latitude",ut(...e.get(2),e.get(1))),e.set("longitude",ut(...e.get(4),e.get(3)))),e}async parseInteropBlock(){if(!this.interop&&(this.ifd0||await this.parseIfd0Block(),this.interopOffset!==void 0||this.exif||await this.parseExifBlock(),this.interopOffset!==void 0))return this.parseBlock(this.interopOffset,"interop")}async parseThumbnailBlock(e=!1){if(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||e))return this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1}async extractThumbnail(){if(this.headerParsed||this.parseHeader(),this.ifd1Parsed||await this.parseThumbnailBlock(!0),this.ifd1===void 0)return;let e=this.ifd1.get(513),t=this.ifd1.get(514);return this.chunk.getUint8Array(e,t)}get image(){return this.ifd0}get thumbnail(){return this.ifd1}createOutput(){let e,t,i,s={};for(t of f)if(e=this[t],!bt(e))if(i=this.canTranslate?this.translateBlock(e,t):Object.fromEntries(e),this.options.mergeOutput){if(t==="ifd1")continue;Object.assign(s,i)}else s[t]=i;return this.makerNote&&(s.makerNote=this.makerNote),this.userComment&&(s.userComment=this.userComment),s}assignToOutput(e,t){if(this.globalOptions.mergeOutput)Object.assign(e,t);else for(let[i,s]of Object.entries(t))this.assignObjectToOutput(e,i,s)}};function ut(a,e,t,i){var s=a+e/60+t/3600;return i!=="S"&&i!=="W"||(s*=-1),s}h(ee,"type","tiff"),h(ee,"headerLength",10),m.set("tiff",ee);var Gt=Object.freeze({__proto__:null,default:Ut,Exifr:A,fileParsers:k,segmentParsers:m,fileReaders:v,tagKeys:S,tagValues:I,tagRevivers:U,createDictionary:g,extendDictionary:j,fetchUrlAsArrayBuffer:H,readBlobAsArrayBuffer:$,chunkedProps:O,otherSegments:J,segments:W,tiffBlocks:f,segmentsAndBlocks:L,tiffExtractables:R,inheritables:Q,allFormatters:F,Options:D,parse:Ae}),Ke={ifd0:!1,ifd1:!1,exif:!1,gps:!1,interop:!1,sanitize:!1,reviveValues:!0,translateKeys:!1,translateValues:!1,mergeOutput:!1},Xe=Object.assign({},Ke,{firstChunkSize:4e4,gps:[1,2,3,4]});async function ve(a){let e=new A(Xe);await e.read(a);let t=await e.parse();if(t&&t.gps){let{latitude:i,longitude:s}=t.gps;return{latitude:i,longitude:s}}}var qe=Object.assign({},Ke,{tiff:!1,ifd1:!0,mergeOutput:!1});async function Pt(a){let e=new A(qe);await e.read(a);let t=await e.extractThumbnail();return t&&ke?Pe.from(t):t}async function kt(a){let e=await this.thumbnail(a);if(e!==void 0){let t=new Blob([e]);return URL.createObjectURL(t)}}var Ye=Object.assign({},Ke,{firstChunkSize:4e4,ifd0:[274]});async function Je(a){let e=new A(Ye);await e.read(a);let t=await e.parse();if(t&&t.ifd0)return t.ifd0[274]}var Qe=Object.freeze({1:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:0,rad:0},2:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:0,rad:0},3:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:180,rad:180*Math.PI/180},4:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:180,rad:180*Math.PI/180},5:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:90,rad:90*Math.PI/180},6:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:90,rad:90*Math.PI/180},7:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:270,rad:270*Math.PI/180},8:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:270,rad:270*Math.PI/180}}),G=!0,z=!0;if(typeof navigator=="object"){let a=navigator.userAgent;if(a.includes("iPad")||a.includes("iPhone")){let e=a.match(/OS (\d+)_(\d+)/);if(e){let[,t,i]=e;G=Number(t)+.1*Number(i)<13.4,z=!1}}else if(a.includes("OS X 10")){let[,e]=a.match(/OS X 10[_.](\d+)/);G=z=Number(e)<15}if(a.includes("Chrome/")){let[,e]=a.match(/Chrome\/(\d+)/);G=z=Number(e)<81}else if(a.includes("Firefox/")){let[,e]=a.match(/Firefox\/(\d+)/);G=z=Number(e)<77}}async function At(a){let e=await Je(a);return Object.assign({canvas:G,css:z},Qe[e])}var ze=class extends P{constructor(...e){super(...e),h(this,"ranges",new He),this.byteLength!==0&&this.ranges.add(0,this.byteLength)}_tryExtend(e,t,i){if(e===0&&this.byteLength===0&&i){let s=new DataView(i.buffer||i,i.byteOffset,i.byteLength);this._swapDataView(s)}else{let s=e+t;if(s>this.byteLength){let{dataView:n}=this._extend(s);this._swapDataView(n)}}}_extend(e){let t;t=ke?Pe.allocUnsafe(e):new Uint8Array(e);let i=new DataView(t.buffer,t.byteOffset,t.byteLength);return t.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:t,dataView:i}}subarray(e,t,i=!1){return t=t||this._lengthToEnd(e),i&&this._tryExtend(e,t),this.ranges.add(e,t),super.subarray(e,t)}set(e,t,i=!1){i&&this._tryExtend(t,e.byteLength,e);let s=super.set(e,t);return this.ranges.add(t,s.byteLength),s}async ensureChunk(e,t){this.chunked&&(this.ranges.available(e,t)||await this.readChunk(e,t))}available(e,t){return this.ranges.available(e,t)}},He=class{constructor(){h(this,"list",[])}get length(){return this.list.length}add(e,t,i=0){let s=e+t,n=this.list.filter((r=>pt(e,r.offset,s)||pt(e,r.end,s)));if(n.length>0){e=Math.min(e,...n.map((o=>o.offset))),s=Math.max(s,...n.map((o=>o.end))),t=s-e;let r=n.shift();r.offset=e,r.length=t,r.end=s,this.list=this.list.filter((o=>!n.includes(o)))}else this.list.push({offset:e,length:t,end:s})}available(e,t){let i=e+t;return this.list.some((s=>s.offset<=e&&i<=s.end))}};function pt(a,e,t){return a<=e&&e<=t}var Y=class extends ze{constructor(e,t){super(0),h(this,"chunksRead",0),this.input=e,this.options=t}async readWhole(){this.chunked=!1,await this.readChunk(this.nextChunkOffset)}async readChunked(){this.chunked=!0,await this.readChunk(0,this.options.firstChunkSize)}async readNextChunk(e=this.nextChunkOffset){if(this.fullyRead)return this.chunksRead++,!1;let t=this.options.chunkSize,i=await this.readChunk(e,t);return!!i&&i.byteLength===t}async readChunk(e,t){if(this.chunksRead++,(t=this.safeWrapAddress(e,t))!==0)return this._readChunk(e,t)}safeWrapAddress(e,t){return this.size!==void 0&&e+t>this.size?Math.max(0,this.size-e):t}get nextChunkOffset(){if(this.ranges.list.length!==0)return this.ranges.list[0].length}get canReadNextChunk(){return this.chunksRead<this.options.chunkLimit}get fullyRead(){return this.size!==void 0&&this.nextChunkOffset===this.size}read(){return this.options.chunked?this.readChunked():this.readWhole()}close(){}};v.set("blob",class extends Y{async readWhole(){this.chunked=!1;let a=await $(this.input);this._swapArrayBuffer(a)}readChunked(){return this.chunked=!0,this.size=this.input.size,super.readChunked()}async _readChunk(a,e){let t=e?a+e:void 0,i=this.input.slice(a,t),s=await $(i);return this.set(s,a,!0)}});var zt=Object.freeze({__proto__:null,default:Gt,Exifr:A,fileParsers:k,segmentParsers:m,fileReaders:v,tagKeys:S,tagValues:I,tagRevivers:U,createDictionary:g,extendDictionary:j,fetchUrlAsArrayBuffer:H,readBlobAsArrayBuffer:$,chunkedProps:O,otherSegments:J,segments:W,tiffBlocks:f,segmentsAndBlocks:L,tiffExtractables:R,inheritables:Q,allFormatters:F,Options:D,parse:Ae,gpsOnlyOptions:Xe,gps:ve,thumbnailOnlyOptions:qe,thumbnail:Pt,thumbnailUrl:kt,orientationOnlyOptions:Ye,orientation:Je,rotations:Qe,get rotateCanvas(){return G},get rotateCss(){return z},rotation:At});v.set("url",class extends Y{async readWhole(){this.chunked=!1;let a=await H(this.input);a instanceof ArrayBuffer?this._swapArrayBuffer(a):a instanceof Uint8Array&&this._swapBuffer(a)}async _readChunk(a,e){let t=e?a+e-1:void 0,i=this.options.httpHeaders||{};(a||t)&&(i.range=`bytes=${[a,t].join("-")}`);let s=await We(this.input,{headers:i}),n=await s.arrayBuffer(),r=n.byteLength;if(s.status!==416)return r!==e&&(this.size=a+r),this.set(n,a,!0)}});P.prototype.getUint64=function(a){let e=this.getUint32(a),t=this.getUint32(a+4);return e<1048575?e<<32|t:typeof oe!==void 0?(console.warn("Using BigInt because of type 64uint but JS can only handle 53b numbers."),oe(e)<<oe(32)|oe(t)):void y("Trying to read 64b value but JS can only handle 53b numbers.")};var $e=class extends q{parseBoxes(e=0){let t=[];for(;e<this.file.byteLength-4;){let i=this.parseBoxHead(e);if(t.push(i),i.length===0)break;e+=i.length}return t}parseSubBoxes(e){e.boxes=this.parseBoxes(e.start)}findBox(e,t){return e.boxes===void 0&&this.parseSubBoxes(e),e.boxes.find((i=>i.kind===t))}parseBoxHead(e){let t=this.file.getUint32(e),i=this.file.getString(e+4,4),s=e+8;return t===1&&(t=this.file.getUint64(e+8),s+=8),{offset:e,length:t,kind:i,start:s}}parseBoxFullHead(e){if(e.version!==void 0)return;let t=this.file.getUint32(e.start);e.version=t>>24,e.start+=4}},ge=class extends $e{static canHandle(e,t){if(t!==0)return!1;let i=e.getUint16(2);if(i>50)return!1;let s=16,n=[];for(;s<i;)n.push(e.getString(s,4)),s+=4;return n.includes(this.type)}async parse(){let e=this.file.getUint32(0),t=this.parseBoxHead(e);for(;t.kind!=="meta";)e+=t.length,await this.file.ensureChunk(e,16),t=this.parseBoxHead(e);await this.file.ensureChunk(t.offset,t.length),this.parseBoxFullHead(t),this.parseSubBoxes(t),this.options.icc.enabled&&await this.findIcc(t),this.options.tiff.enabled&&await this.findExif(t)}async registerSegment(e,t,i){await this.file.ensureChunk(t,i);let s=this.file.subarray(t,i);this.createParser(e,s)}async findIcc(e){let t=this.findBox(e,"iprp");if(t===void 0)return;let i=this.findBox(t,"ipco");if(i===void 0)return;let s=this.findBox(i,"colr");s!==void 0&&await this.registerSegment("icc",s.offset+12,s.length)}async findExif(e){let t=this.findBox(e,"iinf");if(t===void 0)return;let i=this.findBox(e,"iloc");if(i===void 0)return;let s=this.findExifLocIdInIinf(t),n=this.findExtentInIloc(i,s);if(n===void 0)return;let[r,o]=n;await this.file.ensureChunk(r,o);let l=4+this.file.getUint32(r);r+=l,o-=l,await this.registerSegment("tiff",r,o)}findExifLocIdInIinf(e){this.parseBoxFullHead(e);let t,i,s,n,r=e.start,o=this.file.getUint16(r);for(r+=2;o--;){if(t=this.parseBoxHead(r),this.parseBoxFullHead(t),i=t.start,t.version>=2&&(s=t.version===3?4:2,n=this.file.getString(i+s+2,4),n==="Exif"))return this.file.getUintBytes(i,s);r+=t.length}}get8bits(e){let t=this.file.getUint8(e);return[t>>4,15&t]}findExtentInIloc(e,t){this.parseBoxFullHead(e);let i=e.start,[s,n]=this.get8bits(i++),[r,o]=this.get8bits(i++),l=e.version===2?4:2,c=e.version===1||e.version===2?2:0,d=o+s+n,u=e.version===2?4:2,p=this.file.getUintBytes(i,u);for(i+=u;p--;){let x=this.file.getUintBytes(i,l);i+=l+c+2+r;let _=this.file.getUint16(i);if(i+=2,x===t)return _>1&&console.warn(`ILOC box has more than one extent but we're only processing one
4
+ Please create an issue at https://github.com/MikeKovarik/exifr with this file`),[this.file.getUintBytes(i+o,s),this.file.getUintBytes(i+o+s,n)];i+=_*d}}},me=class extends ge{};h(me,"type","heic");var ye=class extends ge{};h(ye,"type","avif"),k.set("heic",me),k.set("avif",ye),g(S,["ifd0","ifd1"],[[256,"ImageWidth"],[257,"ImageHeight"],[258,"BitsPerSample"],[259,"Compression"],[262,"PhotometricInterpretation"],[270,"ImageDescription"],[271,"Make"],[272,"Model"],[273,"StripOffsets"],[274,"Orientation"],[277,"SamplesPerPixel"],[278,"RowsPerStrip"],[279,"StripByteCounts"],[282,"XResolution"],[283,"YResolution"],[284,"PlanarConfiguration"],[296,"ResolutionUnit"],[301,"TransferFunction"],[305,"Software"],[306,"ModifyDate"],[315,"Artist"],[316,"HostComputer"],[317,"Predictor"],[318,"WhitePoint"],[319,"PrimaryChromaticities"],[513,"ThumbnailOffset"],[514,"ThumbnailLength"],[529,"YCbCrCoefficients"],[530,"YCbCrSubSampling"],[531,"YCbCrPositioning"],[532,"ReferenceBlackWhite"],[700,"ApplicationNotes"],[33432,"Copyright"],[33723,"IPTC"],[34665,"ExifIFD"],[34675,"ICC"],[34853,"GpsIFD"],[330,"SubIFD"],[40965,"InteropIFD"],[40091,"XPTitle"],[40092,"XPComment"],[40093,"XPAuthor"],[40094,"XPKeywords"],[40095,"XPSubject"]]),g(S,"exif",[[33434,"ExposureTime"],[33437,"FNumber"],[34850,"ExposureProgram"],[34852,"SpectralSensitivity"],[34855,"ISO"],[34858,"TimeZoneOffset"],[34859,"SelfTimerMode"],[34864,"SensitivityType"],[34865,"StandardOutputSensitivity"],[34866,"RecommendedExposureIndex"],[34867,"ISOSpeed"],[34868,"ISOSpeedLatitudeyyy"],[34869,"ISOSpeedLatitudezzz"],[36864,"ExifVersion"],[36867,"DateTimeOriginal"],[36868,"CreateDate"],[36873,"GooglePlusUploadCode"],[36880,"OffsetTime"],[36881,"OffsetTimeOriginal"],[36882,"OffsetTimeDigitized"],[37121,"ComponentsConfiguration"],[37122,"CompressedBitsPerPixel"],[37377,"ShutterSpeedValue"],[37378,"ApertureValue"],[37379,"BrightnessValue"],[37380,"ExposureCompensation"],[37381,"MaxApertureValue"],[37382,"SubjectDistance"],[37383,"MeteringMode"],[37384,"LightSource"],[37385,"Flash"],[37386,"FocalLength"],[37393,"ImageNumber"],[37394,"SecurityClassification"],[37395,"ImageHistory"],[37396,"SubjectArea"],[37500,"MakerNote"],[37510,"UserComment"],[37520,"SubSecTime"],[37521,"SubSecTimeOriginal"],[37522,"SubSecTimeDigitized"],[37888,"AmbientTemperature"],[37889,"Humidity"],[37890,"Pressure"],[37891,"WaterDepth"],[37892,"Acceleration"],[37893,"CameraElevationAngle"],[40960,"FlashpixVersion"],[40961,"ColorSpace"],[40962,"ExifImageWidth"],[40963,"ExifImageHeight"],[40964,"RelatedSoundFile"],[41483,"FlashEnergy"],[41486,"FocalPlaneXResolution"],[41487,"FocalPlaneYResolution"],[41488,"FocalPlaneResolutionUnit"],[41492,"SubjectLocation"],[41493,"ExposureIndex"],[41495,"SensingMethod"],[41728,"FileSource"],[41729,"SceneType"],[41730,"CFAPattern"],[41985,"CustomRendered"],[41986,"ExposureMode"],[41987,"WhiteBalance"],[41988,"DigitalZoomRatio"],[41989,"FocalLengthIn35mmFormat"],[41990,"SceneCaptureType"],[41991,"GainControl"],[41992,"Contrast"],[41993,"Saturation"],[41994,"Sharpness"],[41996,"SubjectDistanceRange"],[42016,"ImageUniqueID"],[42032,"OwnerName"],[42033,"SerialNumber"],[42034,"LensInfo"],[42035,"LensMake"],[42036,"LensModel"],[42037,"LensSerialNumber"],[42080,"CompositeImage"],[42081,"CompositeImageCount"],[42082,"CompositeImageExposureTimes"],[42240,"Gamma"],[59932,"Padding"],[59933,"OffsetSchema"],[65e3,"OwnerName"],[65001,"SerialNumber"],[65002,"Lens"],[65100,"RawFile"],[65101,"Converter"],[65102,"WhiteBalance"],[65105,"Exposure"],[65106,"Shadows"],[65107,"Brightness"],[65108,"Contrast"],[65109,"Saturation"],[65110,"Sharpness"],[65111,"Smoothness"],[65112,"MoireFilter"],[40965,"InteropIFD"]]),g(S,"gps",[[0,"GPSVersionID"],[1,"GPSLatitudeRef"],[2,"GPSLatitude"],[3,"GPSLongitudeRef"],[4,"GPSLongitude"],[5,"GPSAltitudeRef"],[6,"GPSAltitude"],[7,"GPSTimeStamp"],[8,"GPSSatellites"],[9,"GPSStatus"],[10,"GPSMeasureMode"],[11,"GPSDOP"],[12,"GPSSpeedRef"],[13,"GPSSpeed"],[14,"GPSTrackRef"],[15,"GPSTrack"],[16,"GPSImgDirectionRef"],[17,"GPSImgDirection"],[18,"GPSMapDatum"],[19,"GPSDestLatitudeRef"],[20,"GPSDestLatitude"],[21,"GPSDestLongitudeRef"],[22,"GPSDestLongitude"],[23,"GPSDestBearingRef"],[24,"GPSDestBearing"],[25,"GPSDestDistanceRef"],[26,"GPSDestDistance"],[27,"GPSProcessingMethod"],[28,"GPSAreaInformation"],[29,"GPSDateStamp"],[30,"GPSDifferential"],[31,"GPSHPositioningError"]]),g(I,["ifd0","ifd1"],[[274,{1:"Horizontal (normal)",2:"Mirror horizontal",3:"Rotate 180",4:"Mirror vertical",5:"Mirror horizontal and rotate 270 CW",6:"Rotate 90 CW",7:"Mirror horizontal and rotate 90 CW",8:"Rotate 270 CW"}],[296,{1:"None",2:"inches",3:"cm"}]]);var te=g(I,"exif",[[34850,{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"}],[37121,{0:"-",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}],[37383,{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"}],[37384,{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"}],[37385,{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"}],[41495,{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"}],[41728,{1:"Film Scanner",2:"Reflection Print Scanner",3:"Digital Camera"}],[41729,{1:"Directly photographed"}],[41985,{0:"Normal",1:"Custom",2:"HDR (no original saved)",3:"HDR (original saved)",4:"Original (for HDR)",6:"Panorama",7:"Portrait HDR",8:"Portrait"}],[41986,{0:"Auto",1:"Manual",2:"Auto bracket"}],[41987,{0:"Auto",1:"Manual"}],[41990,{0:"Standard",1:"Landscape",2:"Portrait",3:"Night",4:"Other"}],[41991,{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"}],[41996,{0:"Unknown",1:"Macro",2:"Close",3:"Distant"}],[42080,{0:"Unknown",1:"Not a Composite Image",2:"General Composite Image",3:"Composite Image Captured While Shooting"}]]),ft={1:"No absolute unit of measurement",2:"Inch",3:"Centimeter"};te.set(37392,ft),te.set(41488,ft);var Le={0:"Normal",1:"Low",2:"High"};function gt(a){return typeof a=="object"&&a.length!==void 0?a[0]:a}function mt(a){let e=Array.from(a).slice(1);return e[1]>15&&(e=e.map((t=>String.fromCharCode(t)))),e[2]!=="0"&&e[2]!==0||e.pop(),e.join(".")}function Re(a){if(typeof a=="string"){var[e,t,i,s,n,r]=a.trim().split(/[-: ]/g).map(Number),o=new Date(e,t-1,i);return Number.isNaN(s)||Number.isNaN(n)||Number.isNaN(r)||(o.setHours(s),o.setMinutes(n),o.setSeconds(r)),Number.isNaN(+o)?a:o}}function Z(a){if(typeof a=="string")return a;let e=[];if(a[1]===0&&a[a.length-1]===0)for(let t=0;t<a.length;t+=2)e.push(yt(a[t+1],a[t]));else for(let t=0;t<a.length;t+=2)e.push(yt(a[t],a[t+1]));return N(String.fromCodePoint(...e))}function yt(a,e){return a<<8|e}te.set(41992,Le),te.set(41993,Le),te.set(41994,Le),g(U,["ifd0","ifd1"],[[50827,function(a){return typeof a!="string"?It(a):a}],[306,Re],[40091,Z],[40092,Z],[40093,Z],[40094,Z],[40095,Z]]),g(U,"exif",[[40960,mt],[36864,mt],[36867,Re],[36868,Re],[40962,gt],[40963,gt]]),g(U,"gps",[[0,a=>Array.from(a).join(".")],[7,a=>Array.from(a).join(":")]]);var ie=class extends b{static canHandle(e,t){return e.getUint8(t+1)===225&&e.getUint32(t+4)===1752462448&&e.getString(t+4,20)==="http://ns.adobe.com/"}static headerLength(e,t){return e.getString(t+4,34)==="http://ns.adobe.com/xmp/extension/"?79:33}static findPosition(e,t){let i=super.findPosition(e,t);return i.multiSegment=i.extended=i.headerLength===79,i.multiSegment?(i.chunkCount=e.getUint8(t+72),i.chunkNumber=e.getUint8(t+76),e.getUint8(t+77)!==0&&i.chunkNumber++):(i.chunkCount=1/0,i.chunkNumber=-1),i}static handleMultiSegments(e){return e.map((t=>t.chunk.getString())).join("")}normalizeInput(e){return typeof e=="string"?e:P.from(e).getString()}parse(e=this.chunk){if(!this.localOptions.parse)return e;e=(function(n){let r={},o={};for(let l of Tt)r[l]=[],o[l]=0;return n.replace(Wt,((l,c,d)=>{if(c==="<"){let u=++o[d];return r[d].push(u),`${l}#${u}`}return`${l}#${r[d].pop()}`}))})(e);let t=Se.findAll(e,"rdf","Description");t.length===0&&t.push(new Se("rdf","Description",void 0,e));let i,s={};for(let n of t)for(let r of n.properties)i=jt(r.ns,s),vt(r,i);return(function(n){let r;for(let o in n)r=n[o]=de(n[o]),r===void 0&&delete n[o];return de(n)})(s)}assignToOutput(e,t){if(this.localOptions.parse)for(let[i,s]of Object.entries(t))switch(i){case"tiff":this.assignObjectToOutput(e,"ifd0",s);break;case"exif":this.assignObjectToOutput(e,"exif",s);break;case"xmlns":break;default:this.assignObjectToOutput(e,i,s)}else e.xmp=t}};h(ie,"type","xmp"),h(ie,"multiSegment",!0),m.set("xmp",ie);var je=class a{static findAll(e){return xt(e,/([a-zA-Z0-9-]+):([a-zA-Z0-9-]+)=("[^"]*"|'[^']*')/gm).map(a.unpackMatch)}static unpackMatch(e){let t=e[1],i=e[2],s=e[3].slice(1,-1);return s=_t(s),new a(t,i,s)}constructor(e,t,i){this.ns=e,this.name=t,this.value=i}serialize(){return this.value}},Se=class a{static findAll(e,t,i){if(t!==void 0||i!==void 0){t=t||"[\\w\\d-]+",i=i||"[\\w\\d-]+";var s=new RegExp(`<(${t}):(${i})(#\\d+)?((\\s+?[\\w\\d-:]+=("[^"]*"|'[^']*'))*\\s*)(\\/>|>([\\s\\S]*?)<\\/\\1:\\2\\3>)`,"gm")}else s=/<([\w\d-]+):([\w\d-]+)(#\d+)?((\s+?[\w\d-:]+=("[^"]*"|'[^']*'))*\s*)(\/>|>([\s\S]*?)<\/\1:\2\3>)/gm;return xt(e,s).map(a.unpackMatch)}static unpackMatch(e){let t=e[1],i=e[2],s=e[4],n=e[8];return new a(t,i,s,n)}constructor(e,t,i,s){this.ns=e,this.name=t,this.attrString=i,this.innerXml=s,this.attrs=je.findAll(i),this.children=a.findAll(s),this.value=this.children.length===0?_t(s):void 0,this.properties=[...this.attrs,...this.children]}get isPrimitive(){return this.value!==void 0&&this.attrs.length===0&&this.children.length===0}get isListContainer(){return this.children.length===1&&this.children[0].isList}get isList(){let{ns:e,name:t}=this;return e==="rdf"&&(t==="Seq"||t==="Bag"||t==="Alt")}get isListItem(){return this.ns==="rdf"&&this.name==="li"}serialize(){if(this.properties.length===0&&this.value===void 0)return;if(this.isPrimitive)return this.value;if(this.isListContainer)return this.children[0].serialize();if(this.isList)return $t(this.children.map(Ht));if(this.isListItem&&this.children.length===1&&this.attrs.length===0)return this.children[0].serialize();let e={};for(let t of this.properties)vt(t,e);return this.value!==void 0&&(e.value=this.value),de(e)}};function vt(a,e){let t=a.serialize();t!==void 0&&(e[a.name]=t)}var Ht=a=>a.serialize(),$t=a=>a.length===1?a[0]:a,jt=(a,e)=>e[a]?e[a]:e[a]={};function xt(a,e){let t,i=[];if(!a)return i;for(;(t=e.exec(a))!==null;)i.push(t);return i}function _t(a){if((function(i){return i==null||i==="null"||i==="undefined"||i===""||i.trim()===""})(a))return;let e=Number(a);if(!Number.isNaN(e))return e;let t=a.toLowerCase();return t==="true"||t!=="false"&&a.trim()}var Tt=["rdf:li","rdf:Seq","rdf:Bag","rdf:Alt","rdf:Description"],Wt=new RegExp(`(<|\\/)(${Tt.join("|")})`,"g"),oi=Object.freeze({__proto__:null,default:zt,Exifr:A,fileParsers:k,segmentParsers:m,fileReaders:v,tagKeys:S,tagValues:I,tagRevivers:U,createDictionary:g,extendDictionary:j,fetchUrlAsArrayBuffer:H,readBlobAsArrayBuffer:$,chunkedProps:O,otherSegments:J,segments:W,tiffBlocks:f,segmentsAndBlocks:L,tiffExtractables:R,inheritables:Q,allFormatters:F,Options:D,parse:Ae,gpsOnlyOptions:Xe,gps:ve,thumbnailOnlyOptions:qe,thumbnail:Pt,thumbnailUrl:kt,orientationOnlyOptions:Ye,orientation:Je,rotations:Qe,get rotateCanvas(){return G},get rotateCss(){return z},rotation:At});var St=ce("fs",(a=>a.promises));v.set("fs",class extends Y{async readWhole(){this.chunked=!1,this.fs=await St;let a=await this.fs.readFile(this.input);this._swapBuffer(a)}async readChunked(){this.chunked=!0,this.fs=await St,await this.open(),await this.readChunk(0,this.options.firstChunkSize)}async open(){this.fh===void 0&&(this.fh=await this.fs.open(this.input,"r"),this.size=(await this.fh.stat(this.input)).size)}async _readChunk(a,e){this.fh===void 0&&await this.open(),a+e>this.size&&(e=this.size-a);var t=this.subarray(a,e,!0);return await this.fh.read(t.dataView,0,e,a),t}async close(){if(this.fh){let a=this.fh;this.fh=void 0,await a.close()}}});v.set("base64",class extends Y{constructor(...a){super(...a),this.input=this.input.replace(/^data:([^;]+);base64,/gim,""),this.size=this.input.length/4*3,this.input.endsWith("==")?this.size-=2:this.input.endsWith("=")&&(this.size-=1)}async _readChunk(a,e){let t,i,s=this.input;a===void 0?(a=0,t=0,i=0):(t=4*Math.floor(a/3),i=a-t/4*3),e===void 0&&(e=this.size);let n=a+e,r=t+4*Math.ceil(n/3);s=s.slice(t,r);let o=Math.min(e,this.size-a);if(ke){let l=Pe.from(s,"base64").slice(i,i+o);return this.set(l,a,!0)}{let l=this.subarray(a,o,!0),c=atob(s),d=l.toUint8();for(let u=0;u<o;u++)d[u]=c.charCodeAt(i+u);return l}}});var we=class extends q{static canHandle(e,t){return t===18761||t===19789}extendOptions(e){let{ifd0:t,xmp:i,iptc:s,icc:n}=e;i.enabled&&t.deps.add(700),s.enabled&&t.deps.add(33723),n.enabled&&t.deps.add(34675),t.finalizeFilters()}async parse(){let{tiff:e,xmp:t,iptc:i,icc:s}=this.options;if(e.enabled||t.enabled||i.enabled||s.enabled){let n=Math.max(Fe(this.options),this.options.chunkSize);await this.file.ensureChunk(0,n),this.createParser("tiff",this.file),this.parsers.tiff.parseHeader(),await this.parsers.tiff.parseIfd0Block(),this.adaptTiffPropAsSegment("xmp"),this.adaptTiffPropAsSegment("iptc"),this.adaptTiffPropAsSegment("icc")}}adaptTiffPropAsSegment(e){if(this.parsers.tiff[e]){let t=this.parsers.tiff[e];this.injectSegment(e,t)}}};h(we,"type","tiff"),k.set("tiff",we);var Kt=ce("zlib"),Xt=["ihdr","iccp","text","itxt","exif"],Ce=class extends q{constructor(...e){super(...e),h(this,"catchError",(t=>this.errors.push(t))),h(this,"metaChunks",[]),h(this,"unknownChunks",[])}static canHandle(e,t){return t===35152&&e.getUint32(0)===2303741511&&e.getUint32(4)===218765834}async parse(){let{file:e}=this;await this.findPngChunksInRange(8,e.byteLength),await this.readSegments(this.metaChunks),this.findIhdr(),this.parseTextChunks(),await this.findExif().catch(this.catchError),await this.findXmp().catch(this.catchError),await this.findIcc().catch(this.catchError)}async findPngChunksInRange(e,t){let{file:i}=this;for(;e<t;){let s=i.getUint32(e),n=i.getUint32(e+4),r=i.getString(e+4,4).toLowerCase(),o=s+4+4+4,l={type:r,offset:e,length:o,start:e+4+4,size:s,marker:n};Xt.includes(r)?this.metaChunks.push(l):this.unknownChunks.push(l),e+=o}}parseTextChunks(){let e=this.metaChunks.filter((t=>t.type==="text"));for(let t of e){let[i,s]=this.file.getString(t.start,t.size).split("\0");this.injectKeyValToIhdr(i,s)}}injectKeyValToIhdr(e,t){let i=this.parsers.ihdr;i&&i.raw.set(e,t)}findIhdr(){let e=this.metaChunks.find((t=>t.type==="ihdr"));e&&this.options.ihdr.enabled!==!1&&this.createParser("ihdr",e.chunk)}async findExif(){let e=this.metaChunks.find((t=>t.type==="exif"));e&&this.injectSegment("tiff",e.chunk)}async findXmp(){let e=this.metaChunks.filter((t=>t.type==="itxt"));for(let t of e)t.chunk.getString(0,17)==="XML:com.adobe.xmp"&&this.injectSegment("xmp",t.chunk)}async findIcc(){let e=this.metaChunks.find((o=>o.type==="iccp"));if(!e)return;let{chunk:t}=e,i=t.getUint8Array(0,81),s=0;for(;s<80&&i[s]!==0;)s++;let n=s+2,r=t.getString(0,s);if(this.injectKeyValToIhdr("ProfileName",r),he){let o=await Kt,l=t.getUint8Array(n);l=o.inflateSync(l),this.injectSegment("icc",l)}}};h(Ce,"type","png"),k.set("png",Ce),g(S,"interop",[[1,"InteropIndex"],[2,"InteropVersion"],[4096,"RelatedImageFileFormat"],[4097,"RelatedImageWidth"],[4098,"RelatedImageHeight"]]),j(S,"ifd0",[[11,"ProcessingSoftware"],[254,"SubfileType"],[255,"OldSubfileType"],[263,"Thresholding"],[264,"CellWidth"],[265,"CellLength"],[266,"FillOrder"],[269,"DocumentName"],[280,"MinSampleValue"],[281,"MaxSampleValue"],[285,"PageName"],[286,"XPosition"],[287,"YPosition"],[290,"GrayResponseUnit"],[297,"PageNumber"],[321,"HalftoneHints"],[322,"TileWidth"],[323,"TileLength"],[332,"InkSet"],[337,"TargetPrinter"],[18246,"Rating"],[18249,"RatingPercent"],[33550,"PixelScale"],[34264,"ModelTransform"],[34377,"PhotoshopSettings"],[50706,"DNGVersion"],[50707,"DNGBackwardVersion"],[50708,"UniqueCameraModel"],[50709,"LocalizedCameraModel"],[50736,"DNGLensInfo"],[50739,"ShadowScale"],[50740,"DNGPrivateData"],[33920,"IntergraphMatrix"],[33922,"ModelTiePoint"],[34118,"SEMInfo"],[34735,"GeoTiffDirectory"],[34736,"GeoTiffDoubleParams"],[34737,"GeoTiffAsciiParams"],[50341,"PrintIM"],[50721,"ColorMatrix1"],[50722,"ColorMatrix2"],[50723,"CameraCalibration1"],[50724,"CameraCalibration2"],[50725,"ReductionMatrix1"],[50726,"ReductionMatrix2"],[50727,"AnalogBalance"],[50728,"AsShotNeutral"],[50729,"AsShotWhiteXY"],[50730,"BaselineExposure"],[50731,"BaselineNoise"],[50732,"BaselineSharpness"],[50734,"LinearResponseLimit"],[50735,"CameraSerialNumber"],[50741,"MakerNoteSafety"],[50778,"CalibrationIlluminant1"],[50779,"CalibrationIlluminant2"],[50781,"RawDataUniqueID"],[50827,"OriginalRawFileName"],[50828,"OriginalRawFileData"],[50831,"AsShotICCProfile"],[50832,"AsShotPreProfileMatrix"],[50833,"CurrentICCProfile"],[50834,"CurrentPreProfileMatrix"],[50879,"ColorimetricReference"],[50885,"SRawType"],[50898,"PanasonicTitle"],[50899,"PanasonicTitle2"],[50931,"CameraCalibrationSig"],[50932,"ProfileCalibrationSig"],[50933,"ProfileIFD"],[50934,"AsShotProfileName"],[50936,"ProfileName"],[50937,"ProfileHueSatMapDims"],[50938,"ProfileHueSatMapData1"],[50939,"ProfileHueSatMapData2"],[50940,"ProfileToneCurve"],[50941,"ProfileEmbedPolicy"],[50942,"ProfileCopyright"],[50964,"ForwardMatrix1"],[50965,"ForwardMatrix2"],[50966,"PreviewApplicationName"],[50967,"PreviewApplicationVersion"],[50968,"PreviewSettingsName"],[50969,"PreviewSettingsDigest"],[50970,"PreviewColorSpace"],[50971,"PreviewDateTime"],[50972,"RawImageDigest"],[50973,"OriginalRawFileDigest"],[50981,"ProfileLookTableDims"],[50982,"ProfileLookTableData"],[51043,"TimeCodes"],[51044,"FrameRate"],[51058,"TStop"],[51081,"ReelName"],[51089,"OriginalDefaultFinalSize"],[51090,"OriginalBestQualitySize"],[51091,"OriginalDefaultCropSize"],[51105,"CameraLabel"],[51107,"ProfileHueSatMapEncoding"],[51108,"ProfileLookTableEncoding"],[51109,"BaselineExposureOffset"],[51110,"DefaultBlackRender"],[51111,"NewRawImageDigest"],[51112,"RawToPreviewGain"]]);var wt=[[273,"StripOffsets"],[279,"StripByteCounts"],[288,"FreeOffsets"],[289,"FreeByteCounts"],[291,"GrayResponseCurve"],[292,"T4Options"],[293,"T6Options"],[300,"ColorResponseUnit"],[320,"ColorMap"],[324,"TileOffsets"],[325,"TileByteCounts"],[326,"BadFaxLines"],[327,"CleanFaxData"],[328,"ConsecutiveBadFaxLines"],[330,"SubIFD"],[333,"InkNames"],[334,"NumberofInks"],[336,"DotRange"],[338,"ExtraSamples"],[339,"SampleFormat"],[340,"SMinSampleValue"],[341,"SMaxSampleValue"],[342,"TransferRange"],[343,"ClipPath"],[344,"XClipPathUnits"],[345,"YClipPathUnits"],[346,"Indexed"],[347,"JPEGTables"],[351,"OPIProxy"],[400,"GlobalParametersIFD"],[401,"ProfileType"],[402,"FaxProfile"],[403,"CodingMethods"],[404,"VersionYear"],[405,"ModeNumber"],[433,"Decode"],[434,"DefaultImageColor"],[435,"T82Options"],[437,"JPEGTables"],[512,"JPEGProc"],[515,"JPEGRestartInterval"],[517,"JPEGLosslessPredictors"],[518,"JPEGPointTransforms"],[519,"JPEGQTables"],[520,"JPEGDCTables"],[521,"JPEGACTables"],[559,"StripRowCounts"],[999,"USPTOMiscellaneous"],[18247,"XP_DIP_XML"],[18248,"StitchInfo"],[28672,"SonyRawFileType"],[28688,"SonyToneCurve"],[28721,"VignettingCorrection"],[28722,"VignettingCorrParams"],[28724,"ChromaticAberrationCorrection"],[28725,"ChromaticAberrationCorrParams"],[28726,"DistortionCorrection"],[28727,"DistortionCorrParams"],[29895,"SonyCropTopLeft"],[29896,"SonyCropSize"],[32781,"ImageID"],[32931,"WangTag1"],[32932,"WangAnnotation"],[32933,"WangTag3"],[32934,"WangTag4"],[32953,"ImageReferencePoints"],[32954,"RegionXformTackPoint"],[32955,"WarpQuadrilateral"],[32956,"AffineTransformMat"],[32995,"Matteing"],[32996,"DataType"],[32997,"ImageDepth"],[32998,"TileDepth"],[33300,"ImageFullWidth"],[33301,"ImageFullHeight"],[33302,"TextureFormat"],[33303,"WrapModes"],[33304,"FovCot"],[33305,"MatrixWorldToScreen"],[33306,"MatrixWorldToCamera"],[33405,"Model2"],[33421,"CFARepeatPatternDim"],[33422,"CFAPattern2"],[33423,"BatteryLevel"],[33424,"KodakIFD"],[33445,"MDFileTag"],[33446,"MDScalePixel"],[33447,"MDColorTable"],[33448,"MDLabName"],[33449,"MDSampleInfo"],[33450,"MDPrepDate"],[33451,"MDPrepTime"],[33452,"MDFileUnits"],[33589,"AdventScale"],[33590,"AdventRevision"],[33628,"UIC1Tag"],[33629,"UIC2Tag"],[33630,"UIC3Tag"],[33631,"UIC4Tag"],[33918,"IntergraphPacketData"],[33919,"IntergraphFlagRegisters"],[33921,"INGRReserved"],[34016,"Site"],[34017,"ColorSequence"],[34018,"IT8Header"],[34019,"RasterPadding"],[34020,"BitsPerRunLength"],[34021,"BitsPerExtendedRunLength"],[34022,"ColorTable"],[34023,"ImageColorIndicator"],[34024,"BackgroundColorIndicator"],[34025,"ImageColorValue"],[34026,"BackgroundColorValue"],[34027,"PixelIntensityRange"],[34028,"TransparencyIndicator"],[34029,"ColorCharacterization"],[34030,"HCUsage"],[34031,"TrapIndicator"],[34032,"CMYKEquivalent"],[34152,"AFCP_IPTC"],[34232,"PixelMagicJBIGOptions"],[34263,"JPLCartoIFD"],[34306,"WB_GRGBLevels"],[34310,"LeafData"],[34687,"TIFF_FXExtensions"],[34688,"MultiProfiles"],[34689,"SharedData"],[34690,"T88Options"],[34732,"ImageLayer"],[34750,"JBIGOptions"],[34856,"Opto-ElectricConvFactor"],[34857,"Interlace"],[34908,"FaxRecvParams"],[34909,"FaxSubAddress"],[34910,"FaxRecvTime"],[34929,"FedexEDR"],[34954,"LeafSubIFD"],[37387,"FlashEnergy"],[37388,"SpatialFrequencyResponse"],[37389,"Noise"],[37390,"FocalPlaneXResolution"],[37391,"FocalPlaneYResolution"],[37392,"FocalPlaneResolutionUnit"],[37397,"ExposureIndex"],[37398,"TIFF-EPStandardID"],[37399,"SensingMethod"],[37434,"CIP3DataFile"],[37435,"CIP3Sheet"],[37436,"CIP3Side"],[37439,"StoNits"],[37679,"MSDocumentText"],[37680,"MSPropertySetStorage"],[37681,"MSDocumentTextPosition"],[37724,"ImageSourceData"],[40965,"InteropIFD"],[40976,"SamsungRawPointersOffset"],[40977,"SamsungRawPointersLength"],[41217,"SamsungRawByteOrder"],[41218,"SamsungRawUnknown"],[41484,"SpatialFrequencyResponse"],[41485,"Noise"],[41489,"ImageNumber"],[41490,"SecurityClassification"],[41491,"ImageHistory"],[41494,"TIFF-EPStandardID"],[41995,"DeviceSettingDescription"],[42112,"GDALMetadata"],[42113,"GDALNoData"],[44992,"ExpandSoftware"],[44993,"ExpandLens"],[44994,"ExpandFilm"],[44995,"ExpandFilterLens"],[44996,"ExpandScanner"],[44997,"ExpandFlashLamp"],[46275,"HasselbladRawImage"],[48129,"PixelFormat"],[48130,"Transformation"],[48131,"Uncompressed"],[48132,"ImageType"],[48256,"ImageWidth"],[48257,"ImageHeight"],[48258,"WidthResolution"],[48259,"HeightResolution"],[48320,"ImageOffset"],[48321,"ImageByteCount"],[48322,"AlphaOffset"],[48323,"AlphaByteCount"],[48324,"ImageDataDiscard"],[48325,"AlphaDataDiscard"],[50215,"OceScanjobDesc"],[50216,"OceApplicationSelector"],[50217,"OceIDNumber"],[50218,"OceImageLogic"],[50255,"Annotations"],[50459,"HasselbladExif"],[50547,"OriginalFileName"],[50560,"USPTOOriginalContentType"],[50656,"CR2CFAPattern"],[50710,"CFAPlaneColor"],[50711,"CFALayout"],[50712,"LinearizationTable"],[50713,"BlackLevelRepeatDim"],[50714,"BlackLevel"],[50715,"BlackLevelDeltaH"],[50716,"BlackLevelDeltaV"],[50717,"WhiteLevel"],[50718,"DefaultScale"],[50719,"DefaultCropOrigin"],[50720,"DefaultCropSize"],[50733,"BayerGreenSplit"],[50737,"ChromaBlurRadius"],[50738,"AntiAliasStrength"],[50752,"RawImageSegmentation"],[50780,"BestQualityScale"],[50784,"AliasLayerMetadata"],[50829,"ActiveArea"],[50830,"MaskedAreas"],[50935,"NoiseReductionApplied"],[50974,"SubTileBlockSize"],[50975,"RowInterleaveFactor"],[51008,"OpcodeList1"],[51009,"OpcodeList2"],[51022,"OpcodeList3"],[51041,"NoiseProfile"],[51114,"CacheVersion"],[51125,"DefaultUserCrop"],[51157,"NikonNEFInfo"],[65024,"KdcIFD"]];j(S,"ifd0",wt),j(S,"exif",wt),g(I,"gps",[[23,{M:"Magnetic North",T:"True North"}],[25,{K:"Kilometers",M:"Miles",N:"Nautical Miles"}]]);var se=class extends b{static canHandle(e,t){return e.getUint8(t+1)===224&&e.getUint32(t+4)===1246120262&&e.getUint8(t+8)===0}parse(){return this.parseTags(),this.translate(),this.output}parseTags(){this.raw=new Map([[0,this.chunk.getUint16(0)],[2,this.chunk.getUint8(2)],[3,this.chunk.getUint16(3)],[5,this.chunk.getUint16(5)],[7,this.chunk.getUint8(7)],[8,this.chunk.getUint8(8)]])}};h(se,"type","jfif"),h(se,"headerLength",9),m.set("jfif",se),g(S,"jfif",[[0,"JFIFVersion"],[2,"ResolutionUnit"],[3,"XResolution"],[5,"YResolution"],[7,"ThumbnailWidth"],[8,"ThumbnailHeight"]]);var be=class extends b{parse(){return this.parseTags(),this.translate(),this.output}parseTags(){this.raw=new Map([[0,this.chunk.getUint32(0)],[4,this.chunk.getUint32(4)],[8,this.chunk.getUint8(8)],[9,this.chunk.getUint8(9)],[10,this.chunk.getUint8(10)],[11,this.chunk.getUint8(11)],[12,this.chunk.getUint8(12)],...Array.from(this.raw)])}};h(be,"type","ihdr"),m.set("ihdr",be),g(S,"ihdr",[[0,"ImageWidth"],[4,"ImageHeight"],[8,"BitDepth"],[9,"ColorType"],[10,"Compression"],[11,"Filter"],[12,"Interlace"]]),g(I,"ihdr",[[9,{0:"Grayscale",2:"RGB",3:"Palette",4:"Grayscale with Alpha",6:"RGB with Alpha",DEFAULT:"Unknown"}],[10,{0:"Deflate/Inflate",DEFAULT:"Unknown"}],[11,{0:"Adaptive",DEFAULT:"Unknown"}],[12,{0:"Noninterlaced",1:"Adam7 Interlace",DEFAULT:"Unknown"}]]);var X=class extends b{static canHandle(e,t){return e.getUint8(t+1)===226&&e.getUint32(t+4)===1229144927}static findPosition(e,t){let i=super.findPosition(e,t);return i.chunkNumber=e.getUint8(t+16),i.chunkCount=e.getUint8(t+17),i.multiSegment=i.chunkCount>1,i}static handleMultiSegments(e){return(function(t){let i=(function(s){let n=s[0].constructor,r=0;for(let c of s)r+=c.length;let o=new n(r),l=0;for(let c of s)o.set(c,l),l+=c.length;return o})(t.map((s=>s.chunk.toUint8())));return new P(i)})(e)}parse(){return this.raw=new Map,this.parseHeader(),this.parseTags(),this.translate(),this.output}parseHeader(){let{raw:e}=this;this.chunk.byteLength<84&&y("ICC header is too short");for(let[t,i]of Object.entries(qt)){t=parseInt(t,10);let s=i(this.chunk,t);s!=="\0\0\0\0"&&e.set(t,s)}}parseTags(){let e,t,i,s,n,{raw:r}=this,o=this.chunk.getUint32(128),l=132,c=this.chunk.byteLength;for(;o--;){if(e=this.chunk.getString(l,4),t=this.chunk.getUint32(l+4),i=this.chunk.getUint32(l+8),s=this.chunk.getString(t,4),t+i>c)return void console.warn("reached the end of the first ICC chunk. Enable options.tiff.multiSegment to read all ICC segments.");n=this.parseTag(s,t,i),n!==void 0&&n!=="\0\0\0\0"&&r.set(e,n),l+=12}}parseTag(e,t,i){switch(e){case"desc":return this.parseDesc(t);case"mluc":return this.parseMluc(t);case"text":return this.parseText(t,i);case"sig ":return this.parseSig(t)}if(!(t+i>this.chunk.byteLength))return this.chunk.getUint8Array(t,i)}parseDesc(e){let t=this.chunk.getUint32(e+8)-1;return N(this.chunk.getString(e+12,t))}parseText(e,t){return N(this.chunk.getString(e+8,t-8))}parseSig(e){return N(this.chunk.getString(e+8,4))}parseMluc(e){let{chunk:t}=this,i=t.getUint32(e+8),s=t.getUint32(e+12),n=e+16,r=[];for(let o=0;o<i;o++){let l=t.getString(n+0,2),c=t.getString(n+2,2),d=t.getUint32(n+4),u=t.getUint32(n+8)+e,p=N(t.getUnicodeString(u,d));r.push({lang:l,country:c,text:p}),n+=s}return i===1?r[0].text:r}translateValue(e,t){return typeof e=="string"?t[e]||t[e.toLowerCase()]||e:t[e]||e}};h(X,"type","icc"),h(X,"multiSegment",!0),h(X,"headerLength",18);var qt={4:M,8:function(a,e){return[a.getUint8(e),a.getUint8(e+1)>>4,a.getUint8(e+1)%16].map((t=>t.toString(10))).join(".")},12:M,16:M,20:M,24:function(a,e){let t=a.getUint16(e),i=a.getUint16(e+2)-1,s=a.getUint16(e+4),n=a.getUint16(e+6),r=a.getUint16(e+8),o=a.getUint16(e+10);return new Date(Date.UTC(t,i,s,n,r,o))},36:M,40:M,48:M,52:M,64:(a,e)=>a.getUint32(e),80:M};function M(a,e){return N(a.getString(e,4))}m.set("icc",X),g(S,"icc",[[4,"ProfileCMMType"],[8,"ProfileVersion"],[12,"ProfileClass"],[16,"ColorSpaceData"],[20,"ProfileConnectionSpace"],[24,"ProfileDateTime"],[36,"ProfileFileSignature"],[40,"PrimaryPlatform"],[44,"CMMFlags"],[48,"DeviceManufacturer"],[52,"DeviceModel"],[56,"DeviceAttributes"],[64,"RenderingIntent"],[68,"ConnectionSpaceIlluminant"],[80,"ProfileCreator"],[84,"ProfileID"],["Header","ProfileHeader"],["MS00","WCSProfiles"],["bTRC","BlueTRC"],["bXYZ","BlueMatrixColumn"],["bfd","UCRBG"],["bkpt","MediaBlackPoint"],["calt","CalibrationDateTime"],["chad","ChromaticAdaptation"],["chrm","Chromaticity"],["ciis","ColorimetricIntentImageState"],["clot","ColorantTableOut"],["clro","ColorantOrder"],["clrt","ColorantTable"],["cprt","ProfileCopyright"],["crdi","CRDInfo"],["desc","ProfileDescription"],["devs","DeviceSettings"],["dmdd","DeviceModelDesc"],["dmnd","DeviceMfgDesc"],["dscm","ProfileDescriptionML"],["fpce","FocalPlaneColorimetryEstimates"],["gTRC","GreenTRC"],["gXYZ","GreenMatrixColumn"],["gamt","Gamut"],["kTRC","GrayTRC"],["lumi","Luminance"],["meas","Measurement"],["meta","Metadata"],["mmod","MakeAndModel"],["ncl2","NamedColor2"],["ncol","NamedColor"],["ndin","NativeDisplayInfo"],["pre0","Preview0"],["pre1","Preview1"],["pre2","Preview2"],["ps2i","PS2RenderingIntent"],["ps2s","PostScript2CSA"],["psd0","PostScript2CRD0"],["psd1","PostScript2CRD1"],["psd2","PostScript2CRD2"],["psd3","PostScript2CRD3"],["pseq","ProfileSequenceDesc"],["psid","ProfileSequenceIdentifier"],["psvm","PS2CRDVMSize"],["rTRC","RedTRC"],["rXYZ","RedMatrixColumn"],["resp","OutputResponse"],["rhoc","ReflectionHardcopyOrigColorimetry"],["rig0","PerceptualRenderingIntentGamut"],["rig2","SaturationRenderingIntentGamut"],["rpoc","ReflectionPrintOutputColorimetry"],["sape","SceneAppearanceEstimates"],["scoe","SceneColorimetryEstimates"],["scrd","ScreeningDesc"],["scrn","Screening"],["targ","CharTarget"],["tech","Technology"],["vcgt","VideoCardGamma"],["view","ViewingConditions"],["vued","ViewingCondDesc"],["wtpt","MediaWhitePoint"]]);var le={"4d2p":"Erdt Systems",AAMA:"Aamazing Technologies",ACER:"Acer",ACLT:"Acolyte Color Research",ACTI:"Actix Sytems",ADAR:"Adara Technology",ADBE:"Adobe",ADI:"ADI Systems",AGFA:"Agfa Graphics",ALMD:"Alps Electric",ALPS:"Alps Electric",ALWN:"Alwan Color Expertise",AMTI:"Amiable Technologies",AOC:"AOC International",APAG:"Apago",APPL:"Apple Computer",AST:"AST","AT&T":"AT&T",BAEL:"BARBIERI electronic",BRCO:"Barco NV",BRKP:"Breakpoint",BROT:"Brother",BULL:"Bull",BUS:"Bus Computer Systems","C-IT":"C-Itoh",CAMR:"Intel",CANO:"Canon",CARR:"Carroll Touch",CASI:"Casio",CBUS:"Colorbus PL",CEL:"Crossfield",CELx:"Crossfield",CGS:"CGS Publishing Technologies International",CHM:"Rochester Robotics",CIGL:"Colour Imaging Group, London",CITI:"Citizen",CL00:"Candela",CLIQ:"Color IQ",CMCO:"Chromaco",CMiX:"CHROMiX",COLO:"Colorgraphic Communications",COMP:"Compaq",COMp:"Compeq/Focus Technology",CONR:"Conrac Display Products",CORD:"Cordata Technologies",CPQ:"Compaq",CPRO:"ColorPro",CRN:"Cornerstone",CTX:"CTX International",CVIS:"ColorVision",CWC:"Fujitsu Laboratories",DARI:"Darius Technology",DATA:"Dataproducts",DCP:"Dry Creek Photo",DCRC:"Digital Contents Resource Center, Chung-Ang University",DELL:"Dell Computer",DIC:"Dainippon Ink and Chemicals",DICO:"Diconix",DIGI:"Digital","DL&C":"Digital Light & Color",DPLG:"Doppelganger",DS:"Dainippon Screen",DSOL:"DOOSOL",DUPN:"DuPont",EPSO:"Epson",ESKO:"Esko-Graphics",ETRI:"Electronics and Telecommunications Research Institute",EVER:"Everex Systems",EXAC:"ExactCODE",Eizo:"Eizo",FALC:"Falco Data Products",FF:"Fuji Photo Film",FFEI:"FujiFilm Electronic Imaging",FNRD:"Fnord Software",FORA:"Fora",FORE:"Forefront Technology",FP:"Fujitsu",FPA:"WayTech Development",FUJI:"Fujitsu",FX:"Fuji Xerox",GCC:"GCC Technologies",GGSL:"Global Graphics Software",GMB:"Gretagmacbeth",GMG:"GMG",GOLD:"GoldStar Technology",GOOG:"Google",GPRT:"Giantprint",GTMB:"Gretagmacbeth",GVC:"WayTech Development",GW2K:"Sony",HCI:"HCI",HDM:"Heidelberger Druckmaschinen",HERM:"Hermes",HITA:"Hitachi America",HP:"Hewlett-Packard",HTC:"Hitachi",HiTi:"HiTi Digital",IBM:"IBM",IDNT:"Scitex",IEC:"Hewlett-Packard",IIYA:"Iiyama North America",IKEG:"Ikegami Electronics",IMAG:"Image Systems",IMI:"Ingram Micro",INTC:"Intel",INTL:"N/A (INTL)",INTR:"Intra Electronics",IOCO:"Iocomm International Technology",IPS:"InfoPrint Solutions Company",IRIS:"Scitex",ISL:"Ichikawa Soft Laboratory",ITNL:"N/A (ITNL)",IVM:"IVM",IWAT:"Iwatsu Electric",Idnt:"Scitex",Inca:"Inca Digital Printers",Iris:"Scitex",JPEG:"Joint Photographic Experts Group",JSFT:"Jetsoft Development",JVC:"JVC Information Products",KART:"Scitex",KFC:"KFC Computek Components",KLH:"KLH Computers",KMHD:"Konica Minolta",KNCA:"Konica",KODA:"Kodak",KYOC:"Kyocera",Kart:"Scitex",LCAG:"Leica",LCCD:"Leeds Colour",LDAK:"Left Dakota",LEAD:"Leading Technology",LEXM:"Lexmark International",LINK:"Link Computer",LINO:"Linotronic",LITE:"Lite-On",Leaf:"Leaf",Lino:"Linotronic",MAGC:"Mag Computronic",MAGI:"MAG Innovision",MANN:"Mannesmann",MICN:"Micron Technology",MICR:"Microtek",MICV:"Microvitec",MINO:"Minolta",MITS:"Mitsubishi Electronics America",MITs:"Mitsuba",MNLT:"Minolta",MODG:"Modgraph",MONI:"Monitronix",MONS:"Monaco Systems",MORS:"Morse Technology",MOTI:"Motive Systems",MSFT:"Microsoft",MUTO:"MUTOH INDUSTRIES",Mits:"Mitsubishi Electric",NANA:"NANAO",NEC:"NEC",NEXP:"NexPress Solutions",NISS:"Nissei Sangyo America",NKON:"Nikon",NONE:"none",OCE:"Oce Technologies",OCEC:"OceColor",OKI:"Oki",OKID:"Okidata",OKIP:"Okidata",OLIV:"Olivetti",OLYM:"Olympus",ONYX:"Onyx Graphics",OPTI:"Optiquest",PACK:"Packard Bell",PANA:"Matsushita Electric Industrial",PANT:"Pantone",PBN:"Packard Bell",PFU:"PFU",PHIL:"Philips Consumer Electronics",PNTX:"HOYA",POne:"Phase One A/S",PREM:"Premier Computer Innovations",PRIN:"Princeton Graphic Systems",PRIP:"Princeton Publishing Labs",QLUX:"Hong Kong",QMS:"QMS",QPCD:"QPcard AB",QUAD:"QuadLaser",QUME:"Qume",RADI:"Radius",RDDx:"Integrated Color Solutions",RDG:"Roland DG",REDM:"REDMS Group",RELI:"Relisys",RGMS:"Rolf Gierling Multitools",RICO:"Ricoh",RNLD:"Edmund Ronald",ROYA:"Royal",RPC:"Ricoh Printing Systems",RTL:"Royal Information Electronics",SAMP:"Sampo",SAMS:"Samsung",SANT:"Jaime Santana Pomares",SCIT:"Scitex",SCRN:"Dainippon Screen",SDP:"Scitex",SEC:"Samsung",SEIK:"Seiko Instruments",SEIk:"Seikosha",SGUY:"ScanGuy.com",SHAR:"Sharp Laboratories",SICC:"International Color Consortium",SONY:"Sony",SPCL:"SpectraCal",STAR:"Star",STC:"Sampo Technology",Scit:"Scitex",Sdp:"Scitex",Sony:"Sony",TALO:"Talon Technology",TAND:"Tandy",TATU:"Tatung",TAXA:"TAXAN America",TDS:"Tokyo Denshi Sekei",TECO:"TECO Information Systems",TEGR:"Tegra",TEKT:"Tektronix",TI:"Texas Instruments",TMKR:"TypeMaker",TOSB:"Toshiba",TOSH:"Toshiba",TOTK:"TOTOKU ELECTRIC",TRIU:"Triumph",TSBT:"Toshiba",TTX:"TTX Computer Products",TVM:"TVM Professional Monitor",TW:"TW Casper",ULSX:"Ulead Systems",UNIS:"Unisys",UTZF:"Utz Fehlau & Sohn",VARI:"Varityper",VIEW:"Viewsonic",VISL:"Visual communication",VIVO:"Vivo Mobile Communication",WANG:"Wang",WLBR:"Wilbur Imaging",WTG2:"Ware To Go",WYSE:"WYSE Technology",XERX:"Xerox",XRIT:"X-Rite",ZRAN:"Zoran",Zebr:"Zebra Technologies",appl:"Apple Computer",bICC:"basICColor",berg:"bergdesign",ceyd:"Integrated Color Solutions",clsp:"MacDermid ColorSpan",ds:"Dainippon Screen",dupn:"DuPont",ffei:"FujiFilm Electronic Imaging",flux:"FluxData",iris:"Scitex",kart:"Scitex",lcms:"Little CMS",lino:"Linotronic",none:"none",ob4d:"Erdt Systems",obic:"Medigraph",quby:"Qubyx Sarl",scit:"Scitex",scrn:"Dainippon Screen",sdp:"Scitex",siwi:"SIWI GRAFIKA",yxym:"YxyMaster"},Ct={scnr:"Scanner",mntr:"Monitor",prtr:"Printer",link:"Device Link",abst:"Abstract",spac:"Color Space Conversion Profile",nmcl:"Named Color",cenc:"ColorEncodingSpace profile",mid:"MultiplexIdentification profile",mlnk:"MultiplexLink profile",mvis:"MultiplexVisualization profile",nkpf:"Nikon Input Device Profile (NON-STANDARD!)"};g(I,"icc",[[4,le],[12,Ct],[40,Object.assign({},le,Ct)],[48,le],[80,le],[64,{0:"Perceptual",1:"Relative Colorimetric",2:"Saturation",3:"Absolute Colorimetric"}],["tech",{amd:"Active Matrix Display",crt:"Cathode Ray Tube Display",kpcd:"Photo CD",pmd:"Passive Matrix Display",dcam:"Digital Camera",dcpj:"Digital Cinema Projector",dmpc:"Digital Motion Picture Camera",dsub:"Dye Sublimation Printer",epho:"Electrophotographic Printer",esta:"Electrostatic Printer",flex:"Flexography",fprn:"Film Writer",fscn:"Film Scanner",grav:"Gravure",ijet:"Ink Jet Printer",imgs:"Photo Image Setter",mpfr:"Motion Picture Film Recorder",mpfs:"Motion Picture Film Scanner",offs:"Offset Lithography",pjtv:"Projection Television",rpho:"Photographic Paper Printer",rscn:"Reflective Scanner",silk:"Silkscreen",twax:"Thermal Wax Printer",vidc:"Video Camera",vidm:"Video Monitor"}]]);var K=class extends b{static canHandle(e,t,i){return e.getUint8(t+1)===237&&e.getString(t+4,9)==="Photoshop"&&this.containsIptc8bim(e,t,i)!==void 0}static headerLength(e,t,i){let s,n=this.containsIptc8bim(e,t,i);if(n!==void 0)return s=e.getUint8(t+n+7),s%2!=0&&(s+=1),s===0&&(s=4),n+8+s}static containsIptc8bim(e,t,i){for(let s=0;s<i;s++)if(this.isIptcSegmentHead(e,t+s))return s}static isIptcSegmentHead(e,t){return e.getUint8(t)===56&&e.getUint32(t)===943868237&&e.getUint16(t+4)===1028}parse(){let{raw:e}=this,t=this.chunk.byteLength-1,i=!1;for(let s=0;s<t;s++)if(this.chunk.getUint8(s)===28&&this.chunk.getUint8(s+1)===2){i=!0;let n=this.chunk.getUint16(s+3),r=this.chunk.getUint8(s+2),o=this.chunk.getLatin1String(s+5,n);e.set(r,this.pluralizeValue(e.get(r),o)),s+=4+n}else if(i)break;return this.translate(),this.output}pluralizeValue(e,t){return e!==void 0?e instanceof Array?(e.push(t),e):[e,t]:t}};h(K,"type","iptc"),h(K,"translateValues",!1),h(K,"reviveValues",!1),m.set("iptc",K),g(S,"iptc",[[0,"ApplicationRecordVersion"],[3,"ObjectTypeReference"],[4,"ObjectAttributeReference"],[5,"ObjectName"],[7,"EditStatus"],[8,"EditorialUpdate"],[10,"Urgency"],[12,"SubjectReference"],[15,"Category"],[20,"SupplementalCategories"],[22,"FixtureIdentifier"],[25,"Keywords"],[26,"ContentLocationCode"],[27,"ContentLocationName"],[30,"ReleaseDate"],[35,"ReleaseTime"],[37,"ExpirationDate"],[38,"ExpirationTime"],[40,"SpecialInstructions"],[42,"ActionAdvised"],[45,"ReferenceService"],[47,"ReferenceDate"],[50,"ReferenceNumber"],[55,"DateCreated"],[60,"TimeCreated"],[62,"DigitalCreationDate"],[63,"DigitalCreationTime"],[65,"OriginatingProgram"],[70,"ProgramVersion"],[75,"ObjectCycle"],[80,"Byline"],[85,"BylineTitle"],[90,"City"],[92,"Sublocation"],[95,"State"],[100,"CountryCode"],[101,"Country"],[103,"OriginalTransmissionReference"],[105,"Headline"],[110,"Credit"],[115,"Source"],[116,"CopyrightNotice"],[118,"Contact"],[120,"Caption"],[121,"LocalCaption"],[122,"Writer"],[125,"RasterizedCaption"],[130,"ImageType"],[131,"ImageOrientation"],[135,"LanguageIdentifier"],[150,"AudioType"],[151,"AudioSamplingRate"],[152,"AudioSamplingResolution"],[153,"AudioDuration"],[154,"AudioOutcue"],[184,"JobID"],[185,"MasterDocumentID"],[186,"ShortDocumentID"],[187,"UniqueDocumentID"],[188,"OwnerID"],[200,"ObjectPreviewFileFormat"],[201,"ObjectPreviewFileVersion"],[202,"ObjectPreviewData"],[221,"Prefs"],[225,"ClassifyState"],[228,"SimilarityIndex"],[230,"DocumentNotes"],[231,"DocumentHistory"],[232,"ExifCameraInfo"],[255,"CatalogSets"]]),g(I,"iptc",[[10,{0:"0 (reserved)",1:"1 (most urgent)",2:"2",3:"3",4:"4",5:"5 (normal urgency)",6:"6",7:"7",8:"8 (least urgent)",9:"9 (user-defined priority)"}],[75,{a:"Morning",b:"Both Morning and Evening",p:"Evening"}],[131,{L:"Landscape",P:"Portrait",S:"Square"}]]);var ri=tt`@layer{:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%!important;visibility:hidden;position:static!important}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}.image-preview-container{padding:10px}.esri-editor{height:auto!important}.height-fit-content{height:fit-content!important}.content-container{padding:1.5rem}.instruction-text{margin-bottom:1.5rem;font-size:1rem}.selected-card{border:2px solid var(--calcite-ui-brand)}.upload-img-footer-container{width:100%;gap:5px;display:grid}.info-container{display:flex;align-items:center;gap:6px;margin-bottom:10px}.info-container calcite-icon{--calcite-icon-color: var(--calcite-color-brand)}.info-container span{font-size:12px;color:var(--calcite-ui-text-3)}.padding-10{padding:10px}.report-selection-container{display:flex;flex-direction:column;padding:10px;--calcite-card-border-color: var(--calcite-color-border-1)}.pb-12{padding-bottom:12px!important}.pt-0{padding-top:0!important}.pt-15{padding-top:15px!important}.cursor-pointer{cursor:pointer;padding:6px 0}.card-body-content{display:flex;flex-direction:row;align-items:center;padding:10px 5px;gap:15px}.text-stack{display:flex;flex-direction:column;gap:2px}.option-title{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size--1)}.option-description{color:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--1)}.action-footer{display:flex;justify-content:center;margin-top:16px}.analysis-wrapper{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;margin:auto}.analyzing-icon{--calcite-icon-color: var(--calcite-color-brand);animation:sparkle 2s infinite ease-in-out}.adjusted-height{height:30px!important;min-height:auto!important}@keyframes sparkle{0%,to{transform:scale(1)}50%{transform:scale(1.5)}}@media only screen and (max-width:600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,Ze=class extends st{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this.popupEnabled=!1,this.showLayerVisibilityMsg=!1,this.enablePhotoLocation=!1,this._currentPage="templatePicker",this._showSearchComponent=this.enableSearch,this._layerInfos=[],this._inValidGeometryDrawn=!1,this._selectedImageBase64="",this._analysisFailed=!1,this._translations=nt({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._uploadedImage=null,this._calciteNotice=E(),this._editor=E(),this._isSubmitBtnClicked=!1,this._mapViewContainer=E(),this._searchRef=E(),this._inputImageForAI=E(),this._guidingMessageRefNode=E(),this._abortController=new AbortController,this.success=T(),this.fail=T(),this.drawComplete=T(),this.editingLocation=T(),this.editingAttachment=T(),this.progressStatus=T(),this.modeChanged=T(),this.activeFeatureCountChange=T()}static{this.properties={appName:1,customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,popupEnabled:5,showLayerVisibilityMsg:5,enablePhotoLocation:5,aiImageExtraction:0,_currentPage:16,_showSearchComponent:16,_layerInfos:16,_inValidGeometryDrawn:16,_selectedImageBase64:16,_analysisFailed:16,_updatedMapView:16,_translations:16}}static{this.styles=ri}static{this.shadowRootOptions=it}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("enableSearch")&&this.hasUpdated&&this.searchHandler(),e.has("searchConfiguration")&&this.hasUpdated&&this.searchConfigurationHandler(this.searchConfiguration,e.get("searchConfiguration"))}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{this._aiAnalysisInfo&&!this._aiAnalysisInfo.canUseAI&&await this.init()})}async isMobileHandler(){this.modeChanged.emit()}searchHandler(){this._showSearchComponent=this.enableSearch,this.isMobile&&this._adjustPanelContentHeight()}async searchConfigurationHandler(e,t){!this._searchRef.value||!e||!t||(e.allPlaceholder!==t.allPlaceholder?this._searchRef.value.allPlaceholder=e.allPlaceholder||"":!this._searchRef.value.searchAllDisabled!==e.searchAllEnabled?this._searchRef.value.searchAllDisabled=!e.searchAllEnabled:this._updatedMapView&&JSON.stringify(e.sources)!==JSON.stringify(t.sources)&&(this._searchRef.value.sources=this._getSearchConfig(e,this._updatedMapView)?.sources||[]))}async submit(){let e=this._editor.value?.activeWorkflow;e?.formViewModel?.submit&&(this._isSubmitBtnClicked=!0,e.formViewModel.submit())}async refresh(e){this._editor.value&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeometryDrawn=!1,this.drawComplete.emit(this._inValidGeometryDrawn)))}async showForm(){this.progressStatus.emit(100),this._editor.value?.classList.remove("display-none"),this._mapViewContainer.value?.classList.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){this._showSearchComponent=this.enableSearch,this._aiAnalysisInfo=await this._getAIAnalysisInfo(),this._currentPage=this._aiAnalysisInfo.canUseAI?"chooseReportType":"templatePicker"}async loaded(){this._aiAnalysisInfo&&!this._aiAnalysisInfo.canUseAI&&await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30;await this._searchRef.value?.componentOnReady();let t=this._showSearchComponent?this._searchRef.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor.value&&(this._editor.value.destroy(),this.enableSnapping&&this.mapView?.ui.view&&(this.mapView.ui.view.grid=null),this._removeHandlers())}render(){let e=this._currentPage==="loading"?"":"display-none",t=this.isMobile&&this.updateMapPosition?"show-map":"display-none",i=this._inValidGeometryDrawn?"danger":"success",s=this._inValidGeometryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showLayerVisibilityMsg&&this._currentPage==="templatePicker",r=(this.showGuidingMsg||n)&&this._currentPage!=="loading"&&this._currentPage!=="drawingMultipleFeatures",o=this._translations.chooseCategoryMsg,l=this._aiAnalysisInfo?.results?.filter(p=>!p.success),c=l?.length?!0:this._analysisFailed,d=this._getAnalysisErrorMessage(l?.length),u=this._aiAnalysisInfo?.canUseAI&&["chooseReportType","analyzingImage","imageUpload","messageInput"].includes(this._currentPage);return this._inValidGeometryDrawn?o=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?o=this._translations.provideLocationMsg:this._currentPage==="featureForm"?o=this._aiAnalysisInfo?.results?.filter(p=>p.success).length?this._translations.formReviewMsg:this._translations.provideDetailsMsg:n&&(o=this._translations.enableFeatureTemplatesMessage),w`${c&&w`<calcite-alert auto-close icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._analysisFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${d}</div></calcite-alert>`||""}${u&&w`<calcite-panel>${this._currentPage==="chooseReportType"&&this._getReportTypePage()||""}${this._currentPage==="imageUpload"&&this._aiImageExtractionPage()||""}${this._currentPage==="analyzingImage"&&this._getAnalyzingImagePage()||""}</calcite-panel>`||""}${!u&&w`${r&&w`<calcite-notice class="notice-msg" .icon=${s} .kind=${i} open ${V(this._calciteNotice)}><div slot=message .innerHTML=${o??""} ${V(this._guidingMessageRefNode)}></div></calcite-notice>`||""}${this._selectedImageBase64&&this._currentPage==="featureForm"&&w`<div class="image-preview-container"><calcite-label>${this._translations.photo}</calcite-label><img class="width-full" src=${this._selectedImageBase64??re}></div>`||""}<calcite-loader class=${Me(e)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&w`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}${this._showSearchComponent&&this._updatedMapView&&this._selectedLayer&&this._getSearchComponent()||""}${this._updatedMapView&&this._selectedLayer&&this._getEditor()||""}`||""}<div class=${Me(t)} ${V(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadLayerInfos()))}async createMobileMapView(){this._mapViewContainer.value&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new ti({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center,popupEnabled:this.popupEnabled}).when(e=>{this._updatedMapView=e;let t=document.createElement("arcgis-home");t.view=this._updatedMapView,this._updatedMapView.ui.add(t,"top-left"),this._loadLayerInfos()},e=>{console.log(e)}))}async _loadLayerInfos(){let e=[],t=this._updatedMapView&&await ot(this._updatedMapView),i=this.mapView&&await De(this.mapView,this.selectedLayerId);i&&(this._selectedLayer=i,!this._selectedLayer.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s.type==="feature"&&s.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._layerInfos=e}_getReportTypePage(){let e=this._hasImageExtraction();return w`<div class="report-selection-container"><calcite-label class="pb-12">${this._translations.createReportHeading}</calcite-label>${e&&w`<calcite-card class="cursor-pointer" @click=${()=>{this.progressStatus.emit(35),this._currentPage="imageUpload"}}><div slot=description class="card-body-content"><calcite-icon aria-hidden=true icon=effects scale=m style="color: var(--calcite-ui-text-2)"></calcite-icon><div class="text-stack"><span class="option-title">${this._translations.aiImgExtractionLabel}</span><span class="option-description">${this._translations.aiAssistantDescription}</span></div></div></calcite-card>`||""}<calcite-card class="cursor-pointer pt-0" @click=${()=>{this._currentPage="templatePicker",this.init()}}><div slot=description class="card-body-content"><calcite-icon aria-hidden=true icon=pencil scale=m></calcite-icon><div class="text-stack"><span class="option-title">${this._translations.fillOutManually}</span><span class="option-description">${this._translations.startBlank}</span></div></div></calcite-card></div>`}_getEditor(){return w`<arcgis-editor class=height-fit-content .view=${this._updatedMapView} .layerInfos=${this._layerInfos} hide-edit-features-section .hideSettingsMenu=${!this.enableSnapping} .hideSketch=${!this.showSketchWidgets||this._selectedLayer?.geometryType==="point"} .hideSnappingControlsElementsEnabledToggle=${!this.enableSnapping} @arcgisReady=${this._onEditorComponentReady} @arcgisPropertyChange=${this._onEditorPropertyChange} @arcgisSketchUpdate=${this._onSketchUpdate} ${V(this._editor)}></arcgis-editor>`}_getSearchComponent(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this.searchConfiguration&&this._updatedMapView?this._getSearchConfig(this.searchConfiguration,this._updatedMapView):void 0;return w`<arcgis-search class=${`search-widget ${e}`} .view=${this._updatedMapView} @arcgisSearchComplete=${this.searchComplete} popup-disabled result-graphic-disabled .sources=${t?.sources||[]} .allPlaceholder=${t?.allPlaceholder} .searchAllDisabled=${!t?.searchAllEnabled} ${V(this._searchRef)}></arcgis-search>`}_aiImageExtractionPage(){let e=this._selectedImageBase64!=="",t=e?this._translations.replaceImage:this._translations.imageUploadLimitHint;return w`<calcite-notice class="notice-msg" icon=effects kind=brand open><div slot=message>${this._translations.aiAssistantProcessingHint}</div></calcite-notice><div class="padding-10"><calcite-label><div>${this._translations.photo}<span style="color: var(--calcite-color-status-danger)">*</span></div><calcite-input type=file accept="image/*;capture=camera" @calciteInputInput=${this._onImageUpload} ${V(this._inputImageForAI)}></calcite-input></calcite-label><div class="info-container"><calcite-icon aria-hidden=true icon=information scale=s></calcite-icon><span>${t}</span></div>${e&&w`<img alt=${this._translations.photo??re} class="width-full" src=${this._selectedImageBase64??re}>`||""}</div><div slot=footer class="upload-img-footer-container"><calcite-button width=full .disabled=${!e} id=next-btn @click=${this._analyzeImage}>${this._translations.next}</calcite-button><calcite-button width=full appearance=outline kind=brand @click=${()=>this.modeChanged.emit()}>${this._translations.cancel}</calcite-button></div>`}_getAnalyzingImagePage(){return w`<div class="analysis-wrapper"><calcite-label layout=inline><calcite-icon class="analyzing-icon" icon=effects scale=s></calcite-icon><span>${this._translations.analyzingImage}</span></calcite-label><calcite-button class="skip-btn" appearance=transparent @click=${()=>{this._abortController.abort(),this._currentPage="templatePicker"}}>${this._translations.skip}</calcite-button></div>`}_onImageUpload(e){let t=e.target;if(t){let i=t.files[0],s=new FileReader;s.onload=n=>{this._selectedImageBase64=n.target?.result},i?(s.readAsDataURL(i),this._uploadedImage=i):(this._selectedImageBase64="",this._uploadedImage=null)}}async _analyzeImage(){this._abortController=new AbortController;let e=this._abortController.signal,t=await this._getAIAnalysisInfo();if(!t.canUseAI||!t.imageUrl||!this._inputImageForAI.value?.files?.length){this._analysisFailed=!0,console.error(this._translations.error),this._resetAIAnalysisInfo(),await this.init();return}try{this._currentPage="analyzingImage",this.progressStatus.emit(45);let i=this._inputImageForAI.value.files[0],s=await new Promise((r,o)=>{let l=new FileReader;l.onloadend=()=>r(l.result),l.onerror=o,this._inputImageForAI.value&&l.readAsDataURL(i)});if(this.enablePhotoLocation){let r=await ve(i);if(r?.longitude&&r.latitude&&this.mapView?.spatialReference){let o=new ai({longitude:r.longitude,latitude:r.latitude,spatialReference:new ni({wkid:4326})}),l=await rt(o,this.mapView.spatialReference);this._aiAnalysisInfo&&(this._aiAnalysisInfo.location=l)}}let n=this._getImageExtractionData();if(n.length){let r={input:s,data:n},o=await si(t.imageUrl,{method:"post",headers:{"Content-Type":"application/json","x-esri-authorization":`Bearer ${t.token}`,"x-esri-request-source":`instantapps/${this.appName}`},body:JSON.stringify(r),responseType:"json",signal:e});this._aiAnalysisInfo&&(this._aiAnalysisInfo.results=o.data.results)}this._currentPage="loading",await this.init()}catch(i){i.name==="AbortError"?console.error("Aborted",i):(this._analysisFailed=!0,console.error("Analyzing failed",i)),this._resetAIAnalysisInfo(),this.init()}}_resetAIAnalysisInfo(){let e={imageUrl:"",textUrl:"",token:"",canUseAI:!1,location:void 0,results:[]};this._selectedImageBase64="",this._aiAnalysisInfo=e}async _getAIAnalysisInfo(){let e={imageUrl:"",textUrl:"",token:"",canUseAI:!1};if(this._hasImageExtraction()){let t=(this.mapView?.map).portalItem.portal;if(t){let i=await t.fetchSettings(),s=t?.helperServices.aiUtilityServices;s?.url&&(s.api?.image_analyze&&(e.imageUrl=s.url+s.api.image_analyze),s.api?.text_analyze?e.textUrl=s.url+s.api.text_analyze:e.textUrl=`${s.url}/api/text/analyze`),t.credential&&(e.token=t.credential.token),i?.aiAssistantsEnabled&&!i.blockBetaApps&&t?.user?.privileges?.includes("portal:user:useAIAssistants")&&(e.canUseAI=!0)}}return e}async queryIntersectingFeatures(){let e=this.mapView&&await De(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeometryDrawn=i,this.drawComplete.emit(this._inValidGeometryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._editor.value?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async _onEditorComponentReady(){if(this._currentPage="templatePicker",this._selectedLayer&&this._selectedLayer.templates?.length===1&&this._editor.value){let e=this._selectedLayer.templates[0],t={layer:this._selectedLayer,template:e};await this._editor.value.startCreateFeaturesWorkflowAtFeatureCreation(t)}await this.hideEditorsElements()}async _onEditorPropertyChange(){let e=this._editor.value;e?.state&&(this._drawingHandler||(this._drawingHandler=xe.watch(()=>e.state,async t=>{let i=this._editor.value?.activeWorkflow;t==="creating-features"&&i?.formViewModel?.state==="disabled"&&(this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing",this.progressStatus.emit(50),i?.sketchViewModel?.createGraphic&&this._aiAnalysisInfo?.location&&(await this._updatedMapView?.goTo({center:this._aiAnalysisInfo.location}),this._selectedLayer.geometryType==="point"&&await this._initializeSketchPoint(this._aiAnalysisInfo.location.clone()))),this.isMobile&&this._adjustPanelContentHeight()),t==="adding-attachment"||t==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)})),this._featureFormHandler||(this._featureFormHandler=xe.watch(()=>e.activeWorkflow?.formViewModel?.state,t=>{t==="ready"&&this._currentPage!=="editing"?(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),e.activeWorkflow?.formViewModel?.addHandles(e.activeWorkflow?.formViewModel?.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel),this._aiAnalysisInfo?.results&&this._setAttributeValuesFromAIAnalysis()},500),!this.allowMultipleCreation&&this._editor.value?.activeWorkflow&&(this._editor.value.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1)):t==="disabled"&&this.allowMultipleCreation&&this._currentPage!=="editing"&&(this._currentPage="drawingMultipleFeatures")})),this.allowMultipleCreation&&e.activeWorkflow&&(this._activeFeatureCountHandler||(this._activeFeatureCountHandler=xe.watch(()=>e.activeWorkflow?.data?.viewModel?.activeFeatureCount,t=>{t===0&&(this._currentPage="drawing"),this.activeFeatureCountChange.emit(t)}))),await this.hideEditorsElements())}_adjustPanelContentHeight(){setTimeout(()=>{let e=document.querySelector("arcgis-editor");e?.shadowRoot&&e.shadowRoot.querySelectorAll(".esri-editor__panel-content").forEach(t=>{t.style.minHeight="auto",t.style.height=this._showSearchComponent?"30px":"auto",t.style.padding=this._showSearchComponent?"0px":"18px 15px"})},500)}async _onSketchUpdate(e){clearTimeout(this._sketchUpdateDebounceTimer),this._sketchUpdateDebounceTimer=window.setTimeout(async()=>{let t=e?.detail?.detail?.graphics?.[0]?.geometry;t&&(this._drawnGeometry=t,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())},50)}async searchComplete(e){let t=e.detail.results[0].results[0].feature,i;t&&(await this._updatedMapView?.goTo(t.geometry),this._selectedLayer?.geometryType==="point"&&t?.geometry&&(i=t.geometry));let s=this._editor.value?.activeWorkflow;if(i&&s?.sketchViewModel?.createGraphic)await this._initializeSketchPoint(i);else if(s?.sketchViewModel&&s.sketchViewModel.updateGraphics.length>0&&i){let n=s.sketchViewModel.updateGraphics.getItemAt(0);n&&(n.set("geometry",i),s.sketchViewModel.update(n))}}async _initializeSketchPoint(e){let t=this._editor.value?.activeWorkflow,i=t.sketchViewModel.createGraphic.set("geometry",e).clone();t.sketchViewModel.addGraphic(i),t.sketchViewModel.emit("create",{graphic:i,state:"complete",toolEventInfo:null,type:"create"}),await t.sketchViewModel.update(i)}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(n=>{if(n.hasOwnProperty("layer")){let r=n,o=r.layer?.id,l=o?t.map?.findLayerById(o):"",c=r?.layer?.url;l?r.layer=l:c&&(r.layer=new Qt(c))}}),s?.forEach(n=>{if(n.hasOwnProperty("locator")){let r=n;if(r?.name==="ArcGIS World Geocoding Service"){let o=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=o,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(n=>n.name===i);if(s&&!t?.formTemplate){let n=this._editor.value?.activeWorkflow;n?.formViewModel&&(n.formViewModel?.setValue?.(s.name,e),s.editable=!1)}else if(t.formTemplate&&this.formElements){let n=new Jt({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new Zt({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:n.name});this._updatedMapView?.map.editableLayers.forEach(o=>{let l=this.formElements.orgElements,c=this.formElements.orgExpressionInfos,d=[...l];if(d.push(r),o.type==="feature"){let u=o,p=new ei({title:u?.formTemplate?.title,description:u?.formTemplate?.description,elements:d,expressionInfos:[n].concat(c)});o.formTemplate=p}})}}}_setAttributeValuesFromAIAnalysis(){this._aiAnalysisInfo?.results&&this._aiAnalysisInfo.results.forEach(e=>{let t=this._editor?.value?.activeWorkflow;t?.formViewModel&&e.key&&e.success&&t.formViewModel.setValue(e.key,e.value)})}_getImageExtractionData(){let e=[];return this.aiImageExtraction?.forEach(t=>{t?.field&&t.prompt&&t.id===this.selectedLayerId&&e.push({key:t.field,context:t.prompt})}),e}_hasImageExtraction(){return!!this.aiImageExtraction?.some(e=>e?.field&&e.prompt&&e.id===this.selectedLayerId)}_getAnalysisErrorMessage(e){let t=this._aiAnalysisInfo?.results?.length||0;return e&&e===t?this._translations.imageExtractionError:this._translations.imageExtractionPartialError}async hideEditorsElements(){!this.customizeSubmit||this._editor.value?.state==="editing-attachment"||this._editor.value?.state==="adding-attachment"||(await this.timeout(800),this.el.querySelector("arcgis-editor")?.shadowRoot?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){let t=!1;if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{if(this._editor.value?.activeWorkflow){if(this._selectedLayer&&this._selectedLayer.capabilities.data.supportsAttachment&&this._selectedImageBase64&&(t=!0),t){let i=this._selectedLayer?.on("edits",async s=>{if(s.addedFeatures.length>0){let n=s.addedFeatures[0].objectId;try{if(this._uploadedImage&&this._selectedLayer){let r=this._uploadedImage,o=new FormData;o.set("keywords","ai-image"),o.set("attachment",r),o.append("f","json");let l=new ii({attributes:{[this._selectedLayer.objectIdField]:n}});await this._selectedLayer.addAttachment(l,o)}}catch(r){console.error("Attachment upload failed",r)}i?.remove(),this.success.emit()}})}await this._editor.value.activeWorkflow.commit(),this._editor.value.activeWorkflow.failures?.length&&this._editor.value.activeWorkflow.failures.some(i=>{if(i.error)throw i.error})}}catch(i){this.fail.emit(i);return}t||this.success.emit()}}async timeout(e){return await new Promise(t=>setTimeout(t,e))}_removeHandlers(){this._drawingHandler?.remove(),this._featureFormHandler?.remove(),this._activeFeatureCountHandler?.remove()}};at("create-feature",Ze);return Ze},"form/ExpressionInfo","layers/FeatureLayer","form/elements/FieldElement","form/FormTemplate","views/MapView","Graphic","core/reactiveUtils","request","geometry/Point","geometry/SpatialReference",a,b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{b as l}from"./4F57JHMM.js";import{G as c,h as o,q as s,t as r}from"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([p,m,,{c:h}])=>{var w=o`@layer{:host{display:block;pointer-events:all!important}}`,a=class extends c{constructor(){super(...arguments),this.selectedLayerId="",this.tool="rectangle",this.drawingComplete=s(),this.featuresSelected=s()}static{this.properties={mapView:0,selectedLayerId:1,tool:1}}static{this.styles=w}static{this.shadowRootOptions=r}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSketchViewModel()})}async toggleSelectionTool(e,t){if(this._graphicsLayer?.removeAll(),this._selectionTool?.state==="active"&&this._selectionTool.cancel(),t){let i=e??this.tool;await this._selectionTool?.create(i)}}async loaded(){await this.init()}render(){return""}async init(){this.mapView&&this._initSketchViewModel()}_initSketchViewModel(){this._graphicsLayer=new p({listMode:"hide"}),this._selectionTool=new m({layer:this._graphicsLayer,view:this.mapView}),this._selectionTool&&this._selectionTool.on("create",e=>{if(e.state==="complete"){this.drawingComplete.emit();let t=e.graphic?.geometry;t&&this._selectFeatures(t),this._graphicsLayer&&this._graphicsLayer.removeAll()}}),this.mapView?.map&&this._graphicsLayer&&this.mapView.map.layers.add(this._graphicsLayer)}async _selectFeatures(e){let t=this.mapView&&await h(this.mapView,this.selectedLayerId);try{let i={geometry:e},n=t&&await t.queryObjectIds(i);this.featuresSelected.emit(n)}catch(i){console.error("Error selecting features:",i)}}};l("selection-tool",a);return a},"layers/GraphicsLayer","widgets/Sketch/SketchViewModel",a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import g from"./GWKYLTEJ.js";import f from"./3JVQG3QA.js";import"./US5FON7D.js";import"./QZJGSWNM.js";import"./VVZAS55G.js";import"./HNF4PBGT.js";import e from"./VEZDLO5O.js";import d from"./BMF7MU4P.js";import c from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./4F57JHMM.js";import"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,a])=>{return a},a,b,c,d,e,f,g)
2
+ import g from"./DFYZSN43.js";import f from"./3JVQG3QA.js";import"./US5FON7D.js";import"./QZJGSWNM.js";import"./VVZAS55G.js";import"./HNF4PBGT.js";import e from"./VEZDLO5O.js";import d from"./BMF7MU4P.js";import c from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./4F57JHMM.js";import"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,a])=>{return a},a,b,c,d,e,f,g)
@@ -20,7 +20,7 @@ You must follow all rules below at all times. If a request conflicts with these
20
20
  User: I want to build a bus stop inspection solution\r
21
21
  Assistant: Here is your Bus Stop Inspections solution which can be used to help you inventory bus stops, perform routine inspections in the field, and monitor inspection progress in a dashboard. \r
22
22
  \r
23
- Please review the draft design and let me know if you\u2019d like to make any changes to the items or layers. When everything looks right, click **Deploy** to deploy the solution to your organization.\r
23
+ Please review the draft design and let me know if you\u2019d like to make any changes to the items or layers. When everything looks right, deploy the solution to your organization.\r
24
24
  \r
25
25
  # Language and Localization Rules\r
26
26
  - Detect the primary language of the User Query\r
@@ -1 +1 @@
1
- {"feet":"قدم","meters":"متر","miles":"ميل","kilometers":"كيلومترات"}
1
+ {"feet":"قدم","meters":"متر","miles":"ميل","kilometers":"كيلومترات","unit":"بيت_Unit_________لاحقة"}
@@ -1 +1 @@
1
- {"feet":"Фута","meters":"Метри","miles":"Мили","kilometers":"Километри"}
1
+ {"feet":"Фута","meters":"Метри","miles":"Мили","kilometers":"Километри","unit":"й_Unit_________й"}
@@ -1 +1 @@
1
- {"feet":"Stope","meters":"Metri","miles":"Milje","kilometers":"Kilometri"}
1
+ {"feet":"Stope","meters":"Metri","miles":"Milje","kilometers":"Kilometri","unit":"Č_Unit_________ž"}
@@ -1 +1 @@
1
- {"feet":"Peus","meters":"Metres","miles":"Milles","kilometers":"Quilòmetres"}
1
+ {"feet":"Peus","meters":"Metres","miles":"Milles","kilometers":"Quilòmetres","unit":"ó_Unit_________à"}
@@ -1 +1 @@
1
- {"feet":"stopy","meters":"metry","miles":"míle","kilometers":"kilometry"}
1
+ {"feet":"stopy","meters":"metry","miles":"míle","kilometers":"kilometry","unit":"Ř_Unit_________ů"}
@@ -1 +1 @@
1
- {"feet":"Fod","meters":"Meter","miles":"Miles","kilometers":"Kilometer"}
1
+ {"feet":"Fod","meters":"Meter","miles":"Miles","kilometers":"Kilometer","unit":"ø_Unit_________å"}
@@ -1 +1 @@
1
- {"feet":"Fuß","meters":"Meter","miles":"Meilen","kilometers":"Kilometer"}
1
+ {"feet":"Fuß","meters":"Meter","miles":"Meilen","kilometers":"Kilometer","unit":"ä_Unit_________Ü"}
@@ -1 +1 @@
1
- {"feet":"Πόδια","meters":"Μέτρα","miles":"Μίλια","kilometers":"Χιλιόμετρα"}
1
+ {"feet":"Πόδια","meters":"Μέτρα","miles":"Μίλια","kilometers":"Χιλιόμετρα","unit":"π_Unit_________Ω"}
@@ -1 +1 @@
1
- {"feet":"Pies","meters":"Metros","miles":"Millas","kilometers":"Kilómetros"}
1
+ {"feet":"Pies","meters":"Metros","miles":"Millas","kilometers":"Kilómetros","unit":"á_Unit_________Ó"}
@@ -1 +1 @@
1
- {"feet":"Jalad","meters":"Meetrid","miles":"Miilid","kilometers":"Kilomeetrid"}
1
+ {"feet":"Jalad","meters":"Meetrid","miles":"Miilid","kilometers":"Kilomeetrid","unit":"Š_Unit_________ä"}
@@ -1 +1 @@
1
- {"feet":"Jalkaa","meters":"Metriä","miles":"Mailia","kilometers":"Kilometriä"}
1
+ {"feet":"Jalkaa","meters":"Metriä","miles":"Mailia","kilometers":"Kilometriä","unit":"Å_Unit_________ö"}
@@ -1 +1 @@
1
- {"feet":"Pieds","meters":"Mètres","miles":"Miles","kilometers":"Kilomètres"}
1
+ {"feet":"Pieds","meters":"Mètres","miles":"Miles","kilometers":"Kilomètres","unit":"æ_Unit_________Â"}
@@ -1 +1 @@
1
- {"feet":"רגל","meters":"מטרים","miles":"מיילים","kilometers":"קילומטרים"}
1
+ {"feet":"רגל","meters":"מטרים","miles":"מיילים","kilometers":"קילומטרים","unit":"כן_Unit_________ש"}
@@ -1 +1 @@
1
- {"feet":"Stope","meters":"Metri","miles":"Milje","kilometers":"Kilometri"}
1
+ {"feet":"Stope","meters":"Metri","miles":"Milje","kilometers":"Kilometri","unit":"Č_Unit_________ž"}
@@ -1 +1 @@
1
- {"feet":"Láb","meters":"Méter","miles":"Mérföld","kilometers":"Kilométer"}
1
+ {"feet":"Láb","meters":"Méter","miles":"Mérföld","kilometers":"Kilométer","unit":"í_Unit_________ő"}
@@ -1 +1 @@
1
- {"feet":"Kaki","meters":"Meter","miles":"Mil","kilometers":"Kilometer"}
1
+ {"feet":"Kaki","meters":"Meter","miles":"Mil","kilometers":"Kilometer","unit":"ng_Unit_________ny"}
@@ -1 +1 @@
1
- {"feet":"Piedi","meters":"Metri","miles":"Miglia","kilometers":"Chilometri"}
1
+ {"feet":"Piedi","meters":"Metri","miles":"Miglia","kilometers":"Chilometri","unit":"é_Unit_________È"}
@@ -1 +1 @@
1
- {"feet":"フィート","meters":"メートル","miles":"マイル","kilometers":"キロメートル"}
1
+ {"feet":"フィート","meters":"メートル","miles":"マイル","kilometers":"キロメートル","unit":"須_Unit_________鷗"}
@@ -1 +1 @@
1
- {"feet":"피트","meters":"미터","miles":"마일","kilometers":"킬로미터"}
1
+ {"feet":"피트","meters":"미터","miles":"마일","kilometers":"킬로미터","unit":"한_Unit_________빠"}
@@ -1 +1 @@
1
- {"feet":"Pėdos","meters":"Metrai","miles":"Mylios","kilometers":"Kilometrai"}
1
+ {"feet":"Pėdos","meters":"Metrai","miles":"Mylios","kilometers":"Kilometrai","unit":"Į_Unit_________š"}
@@ -1 +1 @@
1
- {"feet":"Pēdas","meters":"Metri","miles":"Jūdzes","kilometers":"Kilometri"}
1
+ {"feet":"Pēdas","meters":"Metri","miles":"Jūdzes","kilometers":"Kilometri","unit":"ķ_Unit_________ū"}
@@ -1 +1 @@
1
- {"feet":"Voet","meters":"Meter","miles":"Mijl","kilometers":"Kilometer"}
1
+ {"feet":"Voet","meters":"Meter","miles":"Mijl","kilometers":"Kilometer","unit":"IJ_Unit_________ä"}
@@ -1 +1 @@
1
- {"feet":"Fot","meters":"Meter","miles":"Miles","kilometers":"Kilometer"}
1
+ {"feet":"Fot","meters":"Meter","miles":"Miles","kilometers":"Kilometer","unit":"å_Unit_________ø"}
@@ -1 +1 @@
1
- {"feet":"Stopy","meters":"Metry","miles":"Mile","kilometers":"Kilometry"}
1
+ {"feet":"Stopy","meters":"Metry","miles":"Mile","kilometers":"Kilometry","unit":"ł_Unit_________ą"}
@@ -1 +1 @@
1
- {"feet":"Pés","meters":"Metros","miles":"Milhas","kilometers":"Quilômetros"}
1
+ {"feet":"Pés","meters":"Metros","miles":"Milhas","kilometers":"Quilômetros","unit":"ã_Unit_________Ç"}
@@ -1 +1 @@
1
- {"feet":"Pés","meters":"Metros","miles":"Milhas","kilometers":"Quilómetros"}
1
+ {"feet":"Pés","meters":"Metros","miles":"Milhas","kilometers":"Quilómetros","unit":"õ_Unit_________ç"}
@@ -1 +1 @@
1
- {"feet":"Ft","meters":"Metri","miles":"Mile","kilometers":"Kilometri"}
1
+ {"feet":"Ft","meters":"Metri","miles":"Mile","kilometers":"Kilometri","unit":"Ă_Unit_________ș"}
@@ -1 +1 @@
1
- {"feet":"Футы","meters":"Метры","miles":"Мили","kilometers":"Километры"}
1
+ {"feet":"Футы","meters":"Метры","miles":"Мили","kilometers":"Километры","unit":"Ж_Unit_________Я"}
@@ -1 +1 @@
1
- {"feet":"Stopy","meters":"Metre","miles":"Míle","kilometers":"Kilometre"}
1
+ {"feet":"Stopy","meters":"Metre","miles":"Míle","kilometers":"Kilometre","unit":"ĺ_Unit_________ľ"}
@@ -1 +1 @@
1
- {"feet":"Čevlji","meters":"Metri","miles":"Milje","kilometers":"Kilometri"}
1
+ {"feet":"Čevlji","meters":"Metri","miles":"Milje","kilometers":"Kilometri","unit":"Š_Unit_________č"}
@@ -1 +1 @@
1
- {"feet":"Stope","meters":"Metri","miles":"Milje","kilometers":"Kilometri"}
1
+ {"feet":"Stope","meters":"Metri","miles":"Milje","kilometers":"Kilometri","unit":"Č_Unit_________ž"}
@@ -1 +1 @@
1
- {"feet":"Fot","meters":"Meter","miles":"Engelska mil","kilometers":"Kilometer"}
1
+ {"feet":"Fot","meters":"Meter","miles":"Engelska mil","kilometers":"Kilometer","unit":"Å_Unit_________ö"}