@esri/solutions-components 1.1.0 → 1.1.2

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 (473) hide show
  1. package/dist/cdn/{H5AWEVBV.js → 23IRBL5F.js} +2 -2
  2. package/dist/cdn/{3JNOCCQ5.js → 2BG54SQT.js} +2 -2
  3. package/dist/cdn/{TECM5QWP.js → 2NNSKNYF.js} +2 -2
  4. package/dist/cdn/{TPNMSWQT.js → 2PCYWVDT.js} +2 -2
  5. package/dist/cdn/{D6XWLOBU.js → 2SPXLWJO.js} +2 -2
  6. package/dist/cdn/{M7PDEIFC.js → 2TPODPFQ.js} +1 -1
  7. package/dist/cdn/{N4BEAJUM.js → 2TSN3PFX.js} +9 -4
  8. package/dist/cdn/{IZ3E7B3U.js → 2X27XYSX.js} +1 -1
  9. package/dist/cdn/{VIKAFJOW.js → 2YJKIAGN.js} +2 -2
  10. package/dist/cdn/{O2H7SA7K.js → 2Z3MNBH3.js} +2 -2
  11. package/dist/cdn/{LTJJAN4Y.js → 3AIKEAXO.js} +2 -2
  12. package/dist/cdn/{E6WOGJ7F.js → 3CXAQKWJ.js} +2 -2
  13. package/dist/cdn/{T2LTMFFQ.js → 3D6XZSQQ.js} +2 -2
  14. package/dist/cdn/{NZFFMH5C.js → 3NOB3U76.js} +2 -2
  15. package/dist/cdn/{TQIQUUNR.js → 3Q67Q7SB.js} +1 -1
  16. package/dist/cdn/{3WWK4QH7.js → 3V7OTVXH.js} +2 -2
  17. package/dist/cdn/{3JHRLX63.js → 46CVQ75Q.js} +2 -2
  18. package/dist/cdn/{VRT6IWG7.js → 4ATJSWKM.js} +2 -2
  19. package/dist/cdn/{GWXJIXZK.js → 4CQTDBOU.js} +2 -2
  20. package/dist/cdn/{3S2J6YOU.js → 4HHR7PZR.js} +2 -2
  21. package/dist/cdn/{FAFYE3RG.js → 4KTBRCKI.js} +2 -2
  22. package/dist/cdn/4LC4KY4J.js +18 -0
  23. package/dist/cdn/{USRMDL2X.js → 4RFYINXZ.js} +2 -2
  24. package/dist/cdn/{J6BTZ55D.js → 4S5VXIST.js} +2 -2
  25. package/dist/cdn/{PT5AV3WQ.js → 4VNLVOPL.js} +1 -1
  26. package/dist/cdn/{52OASXL7.js → 4WXC25SR.js} +2 -2
  27. package/dist/cdn/{LHZ6WPMD.js → 52W3R4RL.js} +2 -2
  28. package/dist/cdn/{DNW5Y7XF.js → 52YHWBMR.js} +2 -2
  29. package/dist/cdn/{2LIVMQO2.js → 54DZZUSQ.js} +2 -2
  30. package/dist/cdn/{MX6FACCZ.js → 56BEAQZV.js} +1 -1
  31. package/dist/cdn/{KDGLKJHT.js → 56F5USQF.js} +2 -2
  32. package/dist/cdn/{C2K74RDX.js → 57D4BUE5.js} +2 -2
  33. package/dist/cdn/{HGNTIYQT.js → 5AT5TJIP.js} +1 -1
  34. package/dist/cdn/{L42OF72U.js → 5ES6SYN7.js} +2 -2
  35. package/dist/cdn/{P4QP3FN6.js → 5HDRNMQJ.js} +2 -2
  36. package/dist/cdn/{5G7ROHGR.js → 5L5QLMGU.js} +2 -2
  37. package/dist/cdn/{6CYD25YN.js → 5MR2SW5F.js} +2 -2
  38. package/dist/cdn/{S3REU44G.js → 5OTGWJLM.js} +2 -2
  39. package/dist/cdn/{ENCPN6WR.js → 5SL47RKJ.js} +2 -2
  40. package/dist/cdn/{3O2T33CU.js → 5SPE3LHH.js} +2 -2
  41. package/dist/cdn/623KYN7N.js +18 -0
  42. package/dist/cdn/{G2MFQY2I.js → 65O4PRAV.js} +2 -2
  43. package/dist/cdn/{NM2FEB5M.js → 6LCAW5ML.js} +2 -2
  44. package/dist/cdn/{EMULILDA.js → 6QBHMCGQ.js} +2 -2
  45. package/dist/cdn/{FPVWCIO7.js → 6S7UIEGR.js} +2 -2
  46. package/dist/cdn/{UMADWE7A.js → 6SKVVL25.js} +2 -2
  47. package/dist/cdn/{MADKV4CG.js → 6TLN7QJA.js} +2 -2
  48. package/dist/cdn/{OM24RA5F.js → 6UG5WDWV.js} +2 -2
  49. package/dist/cdn/{QJ4VMFHY.js → 6XOYHC7J.js} +2 -2
  50. package/dist/cdn/{YXVNPTAG.js → 76VH62DU.js} +2 -2
  51. package/dist/cdn/{KVXSGN5R.js → 77DDT2NZ.js} +2 -2
  52. package/dist/cdn/{UJH4XQR3.js → 7JQBDEYQ.js} +2 -2
  53. package/dist/cdn/{SJZ7QSP6.js → 7LGPOI25.js} +2 -2
  54. package/dist/cdn/{AMY5TGXW.js → 7MR2GERG.js} +2 -2
  55. package/dist/cdn/{46SKFEV5.js → 7MU53L6J.js} +2 -2
  56. package/dist/cdn/{FQHTZYT7.js → 7QLTAN6E.js} +2 -2
  57. package/dist/cdn/{AFTTIRBK.js → 7SQLFBYH.js} +2 -2
  58. package/dist/cdn/{57NVVPZ6.js → 7SVO5H2S.js} +2 -2
  59. package/dist/cdn/{3MC7JXDY.js → 7SW2TDGW.js} +2 -2
  60. package/dist/cdn/{RTQDMFCR.js → A2YLMAEB.js} +1 -1
  61. package/dist/cdn/A5SRIAVS.js +18 -0
  62. package/dist/cdn/{KZKIRXHE.js → AD4DWMVS.js} +1 -1
  63. package/dist/cdn/{PPY4LTAA.js → AJ4JBY3E.js} +2 -2
  64. package/dist/cdn/{RAGAUFN5.js → AKNFGCOO.js} +2 -2
  65. package/dist/cdn/{PWR2V4FP.js → ALPBERVX.js} +2 -2
  66. package/dist/cdn/{QEQTLIXM.js → AQCUMS2V.js} +2 -2
  67. package/dist/cdn/{CHUHLOJP.js → AQYGK2BV.js} +2 -2
  68. package/dist/cdn/{IWBODHPW.js → AUZAHXSQ.js} +2 -2
  69. package/dist/cdn/{YK2QLYVS.js → AWBHRN6T.js} +2 -2
  70. package/dist/cdn/{QTR2B74Q.js → AWV7PNON.js} +2 -2
  71. package/dist/cdn/{2ZJRDJJK.js → AWYME7F7.js} +2 -2
  72. package/dist/cdn/{B4BAMNQZ.js → AXAW5ILZ.js} +2 -2
  73. package/dist/cdn/{WX6BU4WB.js → B6OALUXR.js} +2 -2
  74. package/dist/cdn/{OIC5TDYB.js → BBQYN3N7.js} +2 -2
  75. package/dist/cdn/{66RUIDW2.js → BDEGFKHR.js} +2 -2
  76. package/dist/cdn/{G27RLQ73.js → BFPWVVHF.js} +2 -2
  77. package/dist/cdn/{B2YABCF7.js → BFZS6QRQ.js} +2 -2
  78. package/dist/cdn/{2XTYWT3B.js → BJQAP3O2.js} +2 -2
  79. package/dist/cdn/{737LKBTG.js → BMSCYDPC.js} +1 -1
  80. package/dist/cdn/{5VLZX43L.js → BOOF3NBM.js} +2 -2
  81. package/dist/cdn/{37HGSBPX.js → BQIRDUCX.js} +2 -2
  82. package/dist/cdn/{UXBAVP5Z.js → BSKFNFRN.js} +1 -1
  83. package/dist/cdn/BTK7H2UX.js +18 -0
  84. package/dist/cdn/{EAKI67WF.js → BVKE6BFN.js} +1 -1
  85. package/dist/cdn/{KCYMVFRG.js → C3RJP556.js} +1 -1
  86. package/dist/cdn/{BYTSY4W5.js → C72XLEL7.js} +2 -2
  87. package/dist/cdn/{EFMAKPKZ.js → CBGO2YBX.js} +2 -2
  88. package/dist/cdn/{WDUN66AL.js → CBVSJH3I.js} +2 -2
  89. package/dist/cdn/{GFUALEHA.js → CD46MAFQ.js} +2 -2
  90. package/dist/cdn/{AFHWOLNP.js → CD4VLBIG.js} +2 -2
  91. package/dist/cdn/{LU3PYJCN.js → CEKBH7TV.js} +2 -2
  92. package/dist/cdn/{E3VAATPC.js → CEORPQJR.js} +2 -2
  93. package/dist/cdn/{SGKUZEBX.js → CIVTXV63.js} +2 -2
  94. package/dist/cdn/{SYOBCQGB.js → CWP75JYL.js} +2 -2
  95. package/dist/cdn/{HLQQ6TR4.js → CZRJGD6M.js} +2 -2
  96. package/dist/cdn/{JN54IUSM.js → D2BNLIR4.js} +2 -2
  97. package/dist/cdn/{BEXEPRS5.js → D33EIGNT.js} +2 -2
  98. package/dist/cdn/{TWXPA723.js → DADQEBSP.js} +2 -2
  99. package/dist/cdn/{FXCOD63W.js → DCM6XZAR.js} +1 -1
  100. package/dist/cdn/{IWW5ZJYG.js → DDBL2HDT.js} +1 -1
  101. package/dist/cdn/{ZXRM4JEP.js → DE3YUG4H.js} +2 -2
  102. package/dist/cdn/{O4VMCJVT.js → DHMSET7H.js} +2 -2
  103. package/dist/cdn/{YWR5SHTJ.js → DOX3JTNJ.js} +1 -1
  104. package/dist/cdn/{7JFSYU6C.js → DOZB6DFJ.js} +2 -2
  105. package/dist/cdn/{R54KEIUU.js → DRUIQVWC.js} +2 -2
  106. package/dist/cdn/{27OQI5JT.js → DV3WDXZ7.js} +2 -2
  107. package/dist/cdn/{3LABEKOR.js → DZI3NZZS.js} +2 -2
  108. package/dist/cdn/{SBGU3NDZ.js → EEBZHKDM.js} +2 -2
  109. package/dist/cdn/{BMJZ7SJU.js → EGOHOQ75.js} +2 -2
  110. package/dist/cdn/{QUA2MZPE.js → EHUHNBX5.js} +2 -2
  111. package/dist/cdn/{KZZHJTPP.js → ELHKOYWS.js} +2 -2
  112. package/dist/cdn/{VAFHXQDA.js → ENIYIB7V.js} +2 -2
  113. package/dist/cdn/{7HGENER4.js → EPZ7O3EU.js} +2 -2
  114. package/dist/cdn/{UO3LLU6M.js → EQFPI3FP.js} +2 -2
  115. package/dist/cdn/{NABAVD67.js → ES5BMMHS.js} +2 -2
  116. package/dist/cdn/{KHHVMDSQ.js → ESCVJT5H.js} +2 -2
  117. package/dist/cdn/{Q7PQM4SB.js → EY67YJ3O.js} +2 -2
  118. package/dist/cdn/{SMB3FN37.js → FBIVVIPK.js} +2 -2
  119. package/dist/cdn/{GDSDHDUW.js → FCX66S7M.js} +2 -2
  120. package/dist/cdn/{OUIS7DTF.js → FHWM6U56.js} +1 -1
  121. package/dist/cdn/{PSGW263P.js → FNFLIMK4.js} +2 -2
  122. package/dist/cdn/{TL4JJSFM.js → FPMQYHKA.js} +2 -2
  123. package/dist/cdn/{VVKCAW2O.js → FQ4OKLWN.js} +1 -1
  124. package/dist/cdn/{EXVYTJWZ.js → FRQXGBUS.js} +2 -2
  125. package/dist/cdn/{PFYUGFSL.js → FRUFK6VO.js} +2 -2
  126. package/dist/cdn/{2KKFZ7KY.js → FTXGL447.js} +2 -2
  127. package/dist/cdn/G2I5HABN.js +4 -0
  128. package/dist/cdn/{A5WNDAV3.js → G2Z7STGZ.js} +2 -2
  129. package/dist/cdn/{DVFWIJKG.js → G4YRJUBG.js} +2 -2
  130. package/dist/cdn/{DFGZSNVP.js → GCTPCYBJ.js} +2 -2
  131. package/dist/cdn/GD4QMW4I.js +4 -0
  132. package/dist/cdn/{L6IAJ72L.js → GF5KUEBW.js} +1 -1
  133. package/dist/cdn/GKH6SK5J.js +4 -0
  134. package/dist/cdn/{2PFP4SVP.js → GLO46OKK.js} +2 -2
  135. package/dist/cdn/{5MIJQHLO.js → GMIPLZOK.js} +2 -2
  136. package/dist/cdn/{PTWIQDSC.js → GPTGQ7YV.js} +2 -2
  137. package/dist/cdn/{JY3NCY33.js → GQSDM4R7.js} +2 -2
  138. package/dist/cdn/{PAKHX3I6.js → GUT2FDGN.js} +1 -1
  139. package/dist/cdn/{GPB44MSI.js → GV62Y43A.js} +2 -2
  140. package/dist/cdn/{7ODMOYJD.js → GX3BMYNP.js} +2 -2
  141. package/dist/cdn/{Q4UWG3UN.js → GYQVTQNA.js} +2 -2
  142. package/dist/cdn/{R5P4ZBIZ.js → H2CI7OUX.js} +2 -2
  143. package/dist/cdn/{Y5WIF3RY.js → H6HF6HSD.js} +2 -2
  144. package/dist/cdn/{HEHSIXHI.js → H7VJRQAW.js} +2 -2
  145. package/dist/cdn/{G3PBPFWO.js → HAZITU6Q.js} +2 -2
  146. package/dist/cdn/{KLZMOMHU.js → HBUDH3U6.js} +2 -2
  147. package/dist/cdn/{IQUWACDD.js → HDRPW73J.js} +2 -2
  148. package/dist/cdn/{OTASRO63.js → HEBJZ2UQ.js} +2 -2
  149. package/dist/cdn/{LVUNXO2O.js → HKJUYDHF.js} +2 -2
  150. package/dist/cdn/{J2M33U55.js → HKY6SY7D.js} +2 -2
  151. package/dist/cdn/{L3KHD2KE.js → HOP2FWBH.js} +2 -2
  152. package/dist/cdn/{CISIY5U6.js → HPI4FZPC.js} +2 -2
  153. package/dist/cdn/{NPMQPRZI.js → HQVMLALO.js} +2 -2
  154. package/dist/cdn/{65W7HSK5.js → HRLLJHAS.js} +2 -2
  155. package/dist/cdn/{Z7I2RSQY.js → HSNA2TI3.js} +2 -2
  156. package/dist/cdn/{ABUXWFTT.js → HUCMZEDU.js} +2 -2
  157. package/dist/cdn/{WIBEUGB3.js → HUOOT4GV.js} +2 -2
  158. package/dist/cdn/{LGLWUNU4.js → HX72RMB7.js} +2 -2
  159. package/dist/cdn/{63LGZYFE.js → HXCAD5K5.js} +2 -2
  160. package/dist/cdn/{U3VSDXKL.js → HYIFXLL5.js} +2 -2
  161. package/dist/cdn/{ZYNT7ILM.js → HZLUYQD7.js} +2 -2
  162. package/dist/cdn/{JXWALA62.js → I5MORTV6.js} +2 -2
  163. package/dist/cdn/{NNQ5VAQF.js → I66U7ET6.js} +1 -1
  164. package/dist/cdn/{XOYOBJTE.js → IE3XKNUU.js} +2 -2
  165. package/dist/cdn/{LAS2MWM5.js → IH5CADVW.js} +2 -2
  166. package/dist/cdn/{KABQHXRV.js → IIMUYPMO.js} +2 -2
  167. package/dist/cdn/{WCNIUU7L.js → IJNJBT7T.js} +2 -2
  168. package/dist/cdn/{CLAJ2XOW.js → IMQR7CXF.js} +2 -2
  169. package/dist/cdn/IMXNLCKH.js +18 -0
  170. package/dist/cdn/{CF54Q5YE.js → IQVE6W6Y.js} +2 -2
  171. package/dist/cdn/{UIUUSTJI.js → IRHKLM6Z.js} +2 -2
  172. package/dist/cdn/{J47QX26L.js → J33QV26U.js} +2 -2
  173. package/dist/cdn/{STMQZU4D.js → J6F3J2Q6.js} +2 -2
  174. package/dist/cdn/{5RWKIDK3.js → JB5YQ3CN.js} +2 -2
  175. package/dist/cdn/{XUG6L42S.js → JCAPW2PV.js} +2 -2
  176. package/dist/cdn/{WIKE26UP.js → JKGMH4J5.js} +2 -2
  177. package/dist/cdn/{2BQCOVME.js → JN5XM3AT.js} +2 -2
  178. package/dist/cdn/{KQ6BMUH2.js → JRUXKUE3.js} +2 -2
  179. package/dist/cdn/{KXTNCTMP.js → JZXBOMMZ.js} +1 -1
  180. package/dist/cdn/{7T2EBM7A.js → KC24JR4A.js} +2 -2
  181. package/dist/cdn/{YQCVFX4Z.js → KDWK7NRY.js} +2 -2
  182. package/dist/cdn/{UQVZXYNW.js → KERDLSZH.js} +2 -2
  183. package/dist/cdn/{CRPP5JXO.js → KR7ZU66F.js} +2 -2
  184. package/dist/cdn/KTHJ4VRR.js +4 -0
  185. package/dist/cdn/{OVL7QMZH.js → LDFEZP62.js} +2 -2
  186. package/dist/cdn/{LNLTESOF.js → LGYZHAI4.js} +2 -2
  187. package/dist/cdn/{HCNCUGZS.js → LN54IQWS.js} +2 -2
  188. package/dist/cdn/{XTFCV5HG.js → LNTE2YQ6.js} +2 -2
  189. package/dist/cdn/{BZLXK5A3.js → LOKI5I7L.js} +2 -2
  190. package/dist/cdn/{6GVUSF7Y.js → LOLBOPYH.js} +2 -2
  191. package/dist/cdn/{4CQVWVRQ.js → LTSBVHHD.js} +2 -2
  192. package/dist/cdn/{VLOZ5FU3.js → LW3YV4M2.js} +2 -2
  193. package/dist/cdn/{I4WH544G.js → LWU5XFP4.js} +2 -2
  194. package/dist/cdn/{M23LVYVA.js → LXFYLAHF.js} +1 -1
  195. package/dist/cdn/{I37HZ5SF.js → LXMUEGOO.js} +2 -2
  196. package/dist/cdn/{G34G6TIZ.js → LYLKQ45A.js} +1 -1
  197. package/dist/cdn/{I6EXN7WV.js → M2L26H4Z.js} +2 -2
  198. package/dist/cdn/{5PI2LBL6.js → MAFZV4UM.js} +1 -1
  199. package/dist/cdn/{54NFAZPM.js → MBF3EUPM.js} +2 -2
  200. package/dist/cdn/{N5TXBTFE.js → MDL7NF2I.js} +2 -2
  201. package/dist/cdn/{VLH6CM7M.js → MIJ52CTW.js} +2 -2
  202. package/dist/cdn/{NWWECZ3X.js → MO5DXYLP.js} +2 -2
  203. package/dist/cdn/{N7VU2XX4.js → MSUAXEZP.js} +2 -2
  204. package/dist/cdn/{5SS6W6NK.js → MUZWUHB6.js} +2 -2
  205. package/dist/cdn/{6RIMAYT3.js → MVZNCHUV.js} +2 -2
  206. package/dist/cdn/{7XJEVL4H.js → MW5CGGVU.js} +2 -2
  207. package/dist/cdn/{DMQN2SPN.js → MXOYXNB4.js} +2 -2
  208. package/dist/cdn/{4OJUMAO5.js → NAV7MYUI.js} +2 -2
  209. package/dist/cdn/{JUYYKVTE.js → NBT5QLPO.js} +2 -2
  210. package/dist/cdn/{VJVK7CEI.js → NBTALLIF.js} +1 -1
  211. package/dist/cdn/{POPBLQGD.js → NBW47T6S.js} +1 -1
  212. package/dist/cdn/{RYIFMIE7.js → NGDFUBVG.js} +2 -2
  213. package/dist/cdn/{D64WOL2G.js → NKGKBATM.js} +2 -2
  214. package/dist/cdn/{IUEMG5YD.js → NSRTVCII.js} +2 -2
  215. package/dist/cdn/{B5TRNVXS.js → NV3PO22N.js} +2 -2
  216. package/dist/cdn/{77NM6UZI.js → O3VQFZ3Z.js} +2 -2
  217. package/dist/cdn/{SYXNXG42.js → O4MSW7YU.js} +2 -2
  218. package/dist/cdn/{KHFJW53Q.js → ODOM2KDI.js} +1 -1
  219. package/dist/cdn/{73SD6Y3C.js → OL34ZYRL.js} +2 -2
  220. package/dist/cdn/{7UNMXF34.js → OOPF4GJM.js} +2 -2
  221. package/dist/cdn/{FCGQOSCY.js → OR63XKHD.js} +2 -2
  222. package/dist/cdn/{ZFY3PCIZ.js → OSKD73JO.js} +2 -2
  223. package/dist/cdn/OSPMSWIL.js +4 -0
  224. package/dist/cdn/{T7MHCIUS.js → OY53JN5E.js} +2 -2
  225. package/dist/cdn/{FFTVUIP7.js → OYZGMLSA.js} +2 -2
  226. package/dist/cdn/{M6AVBUON.js → P7LLQPML.js} +2 -2
  227. package/dist/cdn/{K6GQIHMH.js → PCMVKKEJ.js} +2 -2
  228. package/dist/cdn/{VPOYZ64Q.js → PI7FQ7L6.js} +2 -2
  229. package/dist/cdn/{DFS7UUPH.js → PKCH4S3D.js} +1 -1
  230. package/dist/cdn/{VBYNMOYE.js → PODGSK2R.js} +2 -2
  231. package/dist/cdn/{Y5LQVUYC.js → PPRAWJ2S.js} +4 -4
  232. package/dist/cdn/{SMTMWRRV.js → PR5LDTTA.js} +1 -1
  233. package/dist/cdn/{FDAMAPG2.js → PRLO77AT.js} +2 -2
  234. package/dist/cdn/{UOQT6ENI.js → PTROR6FA.js} +2 -2
  235. package/dist/cdn/{XLR4XEQX.js → Q2PF3RGD.js} +2 -2
  236. package/dist/cdn/{6NWHOOTK.js → Q5RZXHBC.js} +1 -1
  237. package/dist/cdn/{I5A7IN5I.js → Q7XKQTSB.js} +2 -2
  238. package/dist/cdn/{34LPRBJE.js → QA44KCLS.js} +4 -4
  239. package/dist/cdn/{NDCEYZWS.js → QC4PNSX4.js} +1 -1
  240. package/dist/cdn/{QOQCIJ52.js → QG2MAKZO.js} +9 -9
  241. package/dist/cdn/{6QX7DZ4M.js → QJFIQKTM.js} +2 -2
  242. package/dist/cdn/{TQ6ZXCIR.js → QJFO73DP.js} +2 -2
  243. package/dist/cdn/{XDM3XQ2V.js → QJRRAYAE.js} +2 -2
  244. package/dist/cdn/{QSAM3WTZ.js → QJSXBPEC.js} +2 -2
  245. package/dist/cdn/{OTMGXPHO.js → QKMXHBVJ.js} +2 -2
  246. package/dist/cdn/{JNSGECLI.js → QSQJSM3O.js} +3 -3
  247. package/dist/cdn/{RRH7CX4W.js → R2D3W4KP.js} +2 -2
  248. package/dist/cdn/{GM6B5U7P.js → R5S6AVJ2.js} +1 -1
  249. package/dist/cdn/{ZMRMSTWH.js → RC3M6OYO.js} +2 -2
  250. package/dist/cdn/{HBEIE66Z.js → RDQHY6XC.js} +2 -2
  251. package/dist/cdn/{PZWKB64K.js → RIVQ5IKO.js} +2 -2
  252. package/dist/cdn/{RQHMM2TV.js → RP3IBJUX.js} +2 -2
  253. package/dist/cdn/{2G3HCFJ7.js → RQSJTZA3.js} +2 -2
  254. package/dist/cdn/RTKZDB23.js +4 -0
  255. package/dist/cdn/{KFZSBDTM.js → SA7UFUQH.js} +1 -1
  256. package/dist/cdn/{A7SGX5YT.js → SIOIWWJS.js} +2 -2
  257. package/dist/cdn/{GPZYE77D.js → SRLF2FFI.js} +2 -2
  258. package/dist/cdn/{MH32IF4W.js → SRRYBFQR.js} +2 -2
  259. package/dist/cdn/{WLLF2K4A.js → SWSTQ6IK.js} +2 -2
  260. package/dist/cdn/{TV2CKUCU.js → SXCMOFR2.js} +2 -2
  261. package/dist/cdn/{EUKEOESV.js → SXDHIKYQ.js} +2 -2
  262. package/dist/cdn/{MFPSQMUN.js → SZ4MNX2Y.js} +2 -2
  263. package/dist/cdn/T2YBAYAQ.js +4 -0
  264. package/dist/cdn/{GNTR7EXR.js → TEXTVYR5.js} +2 -2
  265. package/dist/cdn/{23S4BMNB.js → TGCFM7NB.js} +2 -2
  266. package/dist/cdn/{HMYGFTDB.js → THCDH2C7.js} +2 -2
  267. package/dist/cdn/{2J6BGZWE.js → TPVBZJZ3.js} +2 -2
  268. package/dist/cdn/{7CUPT6B7.js → TQ4AHDWR.js} +2 -2
  269. package/dist/cdn/{6CR3ELYN.js → TRYF7AHT.js} +2 -2
  270. package/dist/cdn/{EIX5TZGC.js → U4IWP4JS.js} +2 -2
  271. package/dist/cdn/{PYO4MUPX.js → U4RWFIG7.js} +2 -2
  272. package/dist/cdn/U4TVHDBS.js +18 -0
  273. package/dist/cdn/{W3Y7CW6D.js → UB7R344I.js} +2 -2
  274. package/dist/cdn/{XOCIK5BM.js → UC6BRLFU.js} +2 -2
  275. package/dist/cdn/{O56WT525.js → UDMGJJ2R.js} +2 -2
  276. package/dist/cdn/{4FKOEYT7.js → UKMB2MXN.js} +2 -2
  277. package/dist/cdn/{RPQOJQTT.js → UMHBVDVZ.js} +2 -2
  278. package/dist/cdn/{CAQOBV5A.js → UN7RXMMP.js} +2 -2
  279. package/dist/cdn/{22OA2X7F.js → UNBB5ILE.js} +2 -2
  280. package/dist/cdn/{UWRBXQ2H.js → UOBW4X3G.js} +2 -2
  281. package/dist/cdn/{IYTOH2LC.js → UOKZMNT4.js} +2 -2
  282. package/dist/cdn/{6ELJSTOG.js → UPEGEW7Y.js} +2 -2
  283. package/dist/cdn/{STXL6NIE.js → UQMZINRC.js} +2 -2
  284. package/dist/cdn/UQXXXPST.js +4 -0
  285. package/dist/cdn/{2CIRIU3Q.js → UTPRTU5R.js} +2 -2
  286. package/dist/cdn/UUSA5NAZ.js +4 -0
  287. package/dist/cdn/{7WT26OPO.js → UUVWV7UY.js} +2 -2
  288. package/dist/cdn/{ZHXAFBKY.js → UUZDYC3J.js} +2 -2
  289. package/dist/cdn/{TVUO3PT2.js → UWHVRT6G.js} +2 -2
  290. package/dist/cdn/{XVBUVOHC.js → UXGY5MYQ.js} +2 -2
  291. package/dist/cdn/{KPBMYOZ7.js → UXZ5Q6KA.js} +2 -2
  292. package/dist/cdn/{B5PO5VTY.js → UYHOMAD5.js} +2 -2
  293. package/dist/cdn/{Q5GAJOPN.js → UZMTPRP5.js} +2 -2
  294. package/dist/cdn/{3PD2HBG5.js → V4BMTWGU.js} +2 -2
  295. package/dist/cdn/{B5FFRI4V.js → V5VD2VNR.js} +2 -2
  296. package/dist/cdn/{XRC6NCOB.js → VAL2SJOM.js} +2 -2
  297. package/dist/cdn/{6BN55UJC.js → VCYRSDYS.js} +2 -2
  298. package/dist/cdn/{AOXMRIER.js → VDBTV44L.js} +2 -2
  299. package/dist/cdn/{YBTELYNL.js → VDO2G3KJ.js} +2 -2
  300. package/dist/cdn/{6WB4Q4JY.js → VDPD373C.js} +2 -2
  301. package/dist/cdn/{HBOQ63ZP.js → VIAYFIIF.js} +2 -2
  302. package/dist/cdn/{K4CXKC7Z.js → VJOMTPB6.js} +2 -2
  303. package/dist/cdn/{GEKASHAI.js → VMXZ6QEC.js} +2 -2
  304. package/dist/cdn/{AA5OWGXP.js → VOFERCBL.js} +2 -2
  305. package/dist/cdn/{UL5SFE3L.js → VON5LFYC.js} +2 -2
  306. package/dist/cdn/{3MPDK4WK.js → VRUSOROS.js} +2 -2
  307. package/dist/cdn/{UYYJV75W.js → VT6BSI7M.js} +2 -2
  308. package/dist/cdn/{DGDKGAQK.js → VUDTWZ6S.js} +2 -2
  309. package/dist/cdn/{OJCMPRDV.js → VXZZHQOR.js} +2 -2
  310. package/dist/cdn/{HO32BNLM.js → VYL5GQJJ.js} +2 -2
  311. package/dist/cdn/{G5D25KB4.js → W2OWW2KK.js} +2 -2
  312. package/dist/cdn/{UBSP4SH4.js → WBKVVBEW.js} +2 -2
  313. package/dist/cdn/WCA4MTBT.js +18 -0
  314. package/dist/cdn/{AIH4IM4R.js → WCEXT5V3.js} +1 -1
  315. package/dist/cdn/{32HJ7U6I.js → WEE2GK4X.js} +2 -2
  316. package/dist/cdn/{7UCBWXL5.js → WGKEN6KZ.js} +2 -2
  317. package/dist/cdn/{BD4Z5LKE.js → WLVI4UZX.js} +2 -2
  318. package/dist/cdn/{F7FFT7ZB.js → WMISCC5A.js} +2 -2
  319. package/dist/cdn/{DTDQRALM.js → WPJSV2F5.js} +1 -1
  320. package/dist/cdn/{NFBVFXNO.js → WRY74OLQ.js} +2 -2
  321. package/dist/cdn/{TSJRADBL.js → X3JYPDB3.js} +2 -2
  322. package/dist/cdn/{ITS5XU77.js → XALSX54V.js} +2 -2
  323. package/dist/cdn/{ZVEZP7FG.js → XFFSGMQM.js} +2 -2
  324. package/dist/cdn/{IN6U55HN.js → XGCOB2WB.js} +2 -2
  325. package/dist/cdn/{3AZTP5O6.js → XJWO2VWT.js} +2 -2
  326. package/dist/cdn/{L2LNLN2J.js → XKSMKJKC.js} +2 -2
  327. package/dist/cdn/{LWMOWGIK.js → XOFA6EHO.js} +1 -1
  328. package/dist/cdn/{BDGS3VJY.js → XZJXTTWM.js} +2 -2
  329. package/dist/cdn/{BSIAQJUA.js → Y3LUWNH6.js} +2 -2
  330. package/dist/cdn/{6TV3KIXK.js → Y3PZZL73.js} +2 -2
  331. package/dist/cdn/{KEFZ5YNV.js → Y55AAFJG.js} +2 -2
  332. package/dist/cdn/{E7R7Q7EG.js → Y6UXZU6F.js} +2 -2
  333. package/dist/cdn/{J6MD6K4M.js → YGPLVBPY.js} +2 -2
  334. package/dist/cdn/{GNRM32HC.js → YKXQPUZE.js} +2 -2
  335. package/dist/cdn/{TYLEZAG2.js → YPTLSCLI.js} +2 -2
  336. package/dist/cdn/{JZXCUVBD.js → YQKRAZFZ.js} +2 -2
  337. package/dist/cdn/{3WJFXADS.js → YSP7FBQ7.js} +1 -1
  338. package/dist/cdn/{WIFVASZC.js → YVUWCUQ5.js} +2 -2
  339. package/dist/cdn/{4YJSVXJ5.js → ZF7EIUJK.js} +1 -1
  340. package/dist/cdn/{NZVQGLFO.js → ZJDQWSA7.js} +2 -2
  341. package/dist/cdn/{VRZO33HJ.js → ZSJ6IAKN.js} +2 -2
  342. package/dist/cdn/{XIWV3EMG.js → ZWHWHHWW.js} +2 -2
  343. package/dist/cdn/{77FI7XPK.js → ZZ4AZSZG.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +1 -1
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +1 -1
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +1 -1
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  369. package/dist/components/basemap-gallery/customElement.js +1 -1
  370. package/dist/components/buffer-tools/customElement.js +1 -1
  371. package/dist/components/card-manager/customElement.js +1 -1
  372. package/dist/components/consent-manager/customElement.js +1 -1
  373. package/dist/components/create-feature/customElement.js +1 -1
  374. package/dist/components/create-related-feature/customElement.js +1 -1
  375. package/dist/components/crowdsource-manager/customElement.js +7 -7
  376. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  377. package/dist/components/deduct-calculator/customElement.js +1 -1
  378. package/dist/components/delete-button/customElement.js +1 -1
  379. package/dist/components/delete-dialog/customElement.js +1 -1
  380. package/dist/components/edit-card/customElement.js +1 -1
  381. package/dist/components/feature-details/customElement.js +1 -1
  382. package/dist/components/feature-list/customElement.js +1 -1
  383. package/dist/components/field-selection/customElement.js +1 -1
  384. package/dist/components/floor-filter/customElement.js +1 -1
  385. package/dist/components/info-card/customElement.js +1 -1
  386. package/dist/components/json-editor/customElement.js +1 -1
  387. package/dist/components/layer-list/customElement.js +1 -1
  388. package/dist/components/layer-table/customElement.js +4 -3
  389. package/dist/components/map-card/customElement.d.ts +1 -1
  390. package/dist/components/map-card/customElement.js +5 -4
  391. package/dist/components/map-draw-tools/customElement.js +1 -1
  392. package/dist/components/map-fullscreen/customElement.js +1 -1
  393. package/dist/components/map-layer-picker/customElement.js +1 -1
  394. package/dist/components/map-legend/customElement.js +1 -1
  395. package/dist/components/map-picker/customElement.js +1 -1
  396. package/dist/components/map-search/customElement.js +1 -1
  397. package/dist/components/map-select-tools/customElement.js +1 -1
  398. package/dist/components/map-tools/customElement.d.ts +1 -1
  399. package/dist/components/map-tools/customElement.js +2 -2
  400. package/dist/components/pci-calculator/customElement.js +1 -1
  401. package/dist/components/pdf-download/customElement.js +1 -1
  402. package/dist/components/public-notification/customElement.js +1 -1
  403. package/dist/components/refine-selection/customElement.js +1 -1
  404. package/dist/components/selection-tool/customElement.js +1 -1
  405. package/dist/components/solution-article-card/customElement.js +1 -1
  406. package/dist/components/solution-configuration/customElement.js +1 -1
  407. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  408. package/dist/components/solution-configure-titles/customElement.js +1 -1
  409. package/dist/components/solution-contents/customElement.js +1 -1
  410. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  411. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  412. package/dist/components/solution-deployed-card/customElement.js +1 -1
  413. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  414. package/dist/components/solution-details-card/customElement.js +1 -1
  415. package/dist/components/solution-details-panel/customElement.js +2 -2
  416. package/dist/components/solution-item/customElement.js +1 -1
  417. package/dist/components/solution-item-accordion/customElement.js +1 -1
  418. package/dist/components/solution-item-details/customElement.js +1 -1
  419. package/dist/components/solution-item-diagram/customElement.js +101 -97
  420. package/dist/components/solution-item-icon/customElement.js +1 -1
  421. package/dist/components/solution-item-sharing/customElement.js +1 -1
  422. package/dist/components/solution-organization-variables/customElement.js +1 -1
  423. package/dist/components/solution-resource-item/customElement.js +1 -1
  424. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  425. package/dist/components/solution-social-share/customElement.js +1 -1
  426. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  427. package/dist/components/solution-template-data/customElement.js +1 -1
  428. package/dist/components/solution-variables/customElement.js +1 -1
  429. package/dist/components/solutions-all-panel/customElement.js +1 -1
  430. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  431. package/dist/components/solutions-all-shell/customElement.js +11 -14
  432. package/dist/components/solutions-article-panel/customElement.js +1 -1
  433. package/dist/components/solutions-articles/customElement.js +1 -1
  434. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  435. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
  436. package/dist/components/solutions-deploy-app/customElement.js +39 -38
  437. package/dist/components/solutions-deploy-app-nav/customElement.js +9 -9
  438. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  439. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  440. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  441. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  442. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  443. package/dist/components/spatial-ref/customElement.js +1 -1
  444. package/dist/components/store-manager/customElement.js +1 -1
  445. package/dist/docs/api.json +18 -15
  446. package/dist/docs/docs.json +13 -22
  447. package/dist/docs/vscode.html-custom-data.json +2 -2
  448. package/dist/docs/web-types.json +5 -15
  449. package/dist/index.d.ts +0 -1
  450. package/dist/index.js +1 -1
  451. package/dist/loader.js +2 -2
  452. package/dist/types/lumina.d.ts +0 -1
  453. package/dist/types/preact.d.ts +0 -1
  454. package/dist/types/preact10.d.ts +0 -1
  455. package/dist/types/react.d.ts +0 -1
  456. package/dist/types/stencil.d.ts +0 -1
  457. package/package.json +6 -6
  458. package/dist/cdn/3WH4NYCV.js +0 -18
  459. package/dist/cdn/6HYASXTD.js +0 -18
  460. package/dist/cdn/7BXNJPWD.js +0 -4
  461. package/dist/cdn/BE572B5U.js +0 -4
  462. package/dist/cdn/CB76NLMT.js +0 -18
  463. package/dist/cdn/DCWBNROW.js +0 -4
  464. package/dist/cdn/ELHIFSH4.js +0 -18
  465. package/dist/cdn/GJFL7VU5.js +0 -4
  466. package/dist/cdn/HMWODJBR.js +0 -18
  467. package/dist/cdn/KM3EU4G7.js +0 -4
  468. package/dist/cdn/PZJBWNEZ.js +0 -4
  469. package/dist/cdn/R5WVUHHQ.js +0 -18
  470. package/dist/cdn/SA6PEP6X.js +0 -4
  471. package/dist/cdn/SFWX3UGH.js +0 -4
  472. package/dist/cdn/XWQ6H7GZ.js +0 -4
  473. package/dist/cdn/ZD2NK7QI.js +0 -18
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as r}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as o}from"./PZWKB64K.js";import{E as n,h as l,i as a,o as i}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var c=l`/** @license
3
+ v1.1.2 */
4
+ import{a as r}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as o}from"./RIVQ5IKO.js";import{E as n,h as l,i as a,o as i}from"./C3RJP556.js";import"./PR5LDTTA.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as u}from"./LNLTESOF.js";import{a as g,c as m}from"./4YJSVXJ5.js";import{b as l}from"./PSGW263P.js";import"./RYIFMIE7.js";import"./KZZHJTPP.js";import"./KZKIRXHE.js";import"./B5TRNVXS.js";import"./QJ4VMFHY.js";import"./E7R7Q7EG.js";import"./AIH4IM4R.js";import"./DTDQRALM.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import"./G34G6TIZ.js";import"./IWW5ZJYG.js";import"./GFUALEHA.js";import"./NZFFMH5C.js";import"./IYTOH2LC.js";import"./M23LVYVA.js";import"./EAKI67WF.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import"./RTQDMFCR.js";import{a as p}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as h}from"./PZWKB64K.js";import{C as o,D as s,E as d,I as i,h as r,i as t,j as c}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var f=r`/** @license
3
+ v1.1.2 */
4
+ import{a as u}from"./LGYZHAI4.js";import{a as g,c as m}from"./ZF7EIUJK.js";import{b as l}from"./FNFLIMK4.js";import"./NGDFUBVG.js";import"./ELHKOYWS.js";import"./AD4DWMVS.js";import"./NV3PO22N.js";import"./6XOYHC7J.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import{a as p}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as h}from"./RIVQ5IKO.js";import{C as o,D as s,E as d,I as i,h as r,i as t,j as c}from"./C3RJP556.js";import"./PR5LDTTA.js";var f=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import"./SMTMWRRV.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.1.2 */
4
+ import"./PR5LDTTA.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as e}from"./EIX5TZGC.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
3
+ v1.1.2 */
4
+ import{a as e}from"./U4IWP4JS.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as e}from"./L2LNLN2J.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.1.2 */
4
+ import{a as e}from"./XKSMKJKC.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
3
+ v1.1.2 */
4
4
  var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};
@@ -1,13 +1,18 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as yt}from"./DFGZSNVP.js";import{a as L}from"./KXTNCTMP.js";import{a as G}from"./GWXJIXZK.js";import{c as J,n as X,t as K,z as Q}from"./U3VSDXKL.js";import{b as q}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{C as m,D as d,E as j,G as h,h as V,i as c,l as $,o as z}from"./KCYMVFRG.js";import{d as vt}from"./SMTMWRRV.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var v=null;function T(e={}){return v||(e.includeStyleProperties?(v=e.includeStyleProperties,v):(v=w(window.getComputedStyle(document.documentElement)),v))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function F(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function R(e,t){return`data:${t};base64,${e}`}async function D(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await D(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=R(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=R(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function A(e){return e.search(ot)!==-1}async function k(e,t,i){if(!A(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>B(r,t));await Promise.all(n).then(()=>e)}async function B(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),D(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(x=>ht(x,t)).then(x=>dt(x).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(xt){console.error("Error inserting rule from remote css",{rule:I,error:xt})}})).catch(x=>{console.error("Error loading remote css",x.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>A(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
5
- `)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=F(e,t),r=await P(e,t,!0);return await gt(r,t),await B(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=F(e,t),r=await ee(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,x=t.canvasHeight||n;return a.width=f*p,a.height=x*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${x}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function wt(e,t={}){return(await ft(e,t)).toDataURL()}async function H(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var O=vt(yt(),1);var ie=`
3
+ v1.1.2 */
4
+ import{a as yt}from"./GCTPCYBJ.js";import{a as L}from"./JZXBOMMZ.js";import{a as G}from"./4CQTDBOU.js";import{c as J,n as X,t as K,z as Q}from"./HYIFXLL5.js";import{b as j}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{C as m,D as d,E as z,G as h,h as V,i as c,l as I,o as q}from"./C3RJP556.js";import{d as vt}from"./PR5LDTTA.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var v=null;function T(e={}){return v||(e.includeStyleProperties?(v=e.includeStyleProperties,v):(v=w(window.getComputedStyle(document.documentElement)),v))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function F(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function $t(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function R(e,t){return`data:${t};base64,${e}`}async function D(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function It(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=It(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await D(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),$t(o)));r=R(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ut(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ht(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ut(e,t),Ht(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,qt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function zt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function jt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=R(p,a)}else o=await E(s,a,n);return e.replace(zt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(qt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function A(e){return e.search(ot)!==-1}async function k(e,t,i){if(!A(e))return e;let n=Jt(e,i);return jt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>B(r,t));await Promise.all(n).then(()=>e)}async function B(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),D(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(x=>ht(x,t)).then(x=>dt(x).forEach($=>{try{r.insertRule($,$.startsWith("@import")?o+=1:r.cssRules.length)}catch(xt){console.error("Error inserting rule from remote css",{rule:$,error:xt})}})).catch(x=>{console.error("Error loading remote css",x.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>A(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
5
+ `)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=F(e,t),r=await P(e,t,!0);return await gt(r,t),await B(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=F(e,t),r=await ee(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,x=t.canvasHeight||n;return a.width=f*p,a.height=x*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${x}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function wt(e,t={}){return(await ft(e,t)).toDataURL()}async function U(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var O=vt(yt(),1);var ie=`
6
6
  @media print {
7
7
  @page {
8
8
  size: Portrait;
9
9
  margin: .25in;
10
10
  }
11
+
12
+ body {
13
+ background: #fff;
14
+ overflow: unset;
15
+ }
11
16
 
12
17
  html, body {
13
18
  padding: 0;
@@ -377,4 +382,4 @@ import{a as yt}from"./DFGZSNVP.js";import{a as L}from"./KXTNCTMP.js";import{a as
377
382
 
378
383
  .screenshot-img-container calcite-button {
379
384
  margin: 5px;
380
- }`,re=V`:host{display:block;--instant-apps-export-action-background: var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-export-action-background-press: var(--calcite-color-foreground-3);--instant-apps-export-action-height: 100%;--instant-apps-export-action-width: fit-content;--instant-apps-export-action-icon-color: var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-export-background: var(--calcite-color-foreground-1);--instant-apps-export-text-color: var(--calcite-color-text-1);--instant-apps-export-popover-width: 250px;--instant-apps-export-button-text-dark-hover-color: #fff}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1: var(--instant-apps-export-action-background);--calcite-color-foreground-2: var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3: var(--instant-apps-export-action-background-press);--calcite-color-text-3: var(--instant-apps-export-action-icon-color);--calcite-color-text-1: var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1: var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1: var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1: #fff;--calcite-color-foreground-2: #f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:.5rem}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover: #fff}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1: #2b2b2b;--calcite-color-foreground-2: #202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px #0000004d}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}`,l={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",setMapArea:"instant-apps-export__set-map-area",print:{pdfBase:"instant-apps-export-print instant-apps-export-print__pdf",imgBase:"instant-apps-export-print instant-apps-export-print__img",imgExtraContent:"instant-apps-export-print__img--extra-content",contentContainer:"instant-apps-export-print__content-container",extraContainer:"instant-apps-export-print__extra-container",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewWrapper:"instant-apps-export-print__view-wrapper",attribution:"instant-apps-export-print__attribution"}},U="instant-app-export-drag",W=class extends j{constructor(){super(...arguments),this._messages=G({name:"instant-apps-export",blocking:!0}),this.compassContainerEl=m(),this.extraContainerEl=m(),this.popoverEl=m(),this.popupContainerEl=m(),this.popupContentEl=m(),this.popupTitleEl=m(),this.printContainerEl=m(),this.printEl=m(),this.scaleBarContainerEl=m(),this.viewWrapperEl=m(),this.viewContainerEl=m(),this.viewEl=m(),this.attributionEl=m(),this.baseClass=l.baseLight,this.exportIsLoading=void 0,this.allowedFileTypes=["PDF","JPG","PNG"],this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.headerTitle="",this.logoImage="",this.mapAltText="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.exportOutputUpdated=z()}static{this.properties={baseClass:16,exportIsLoading:16,selectedFileType:16,allowedFileTypes:0,output:0,beforeExport:0,popoverIcon:1,extraContent:0,extraContentLabel:1,headerTitle:1,logoImage:1,logoAltText:1,mapAltText:1,includeExtraContent:5,showExtraContentInImg:5,includeLegend:5,includeMap:5,includePopup:5,includeFileFormat:5,mode:3,popoverPositioning:1,popoverPlacement:1,scale:1,showHeaderTitle:5,showIncludeLegend:5,showIncludeMap:5,showIncludePopup:5,showScaleBar:5,view:0,maskBackground:1,maskBorder:1,defaultFileType:1}}static{this.styles=re}async load(){this.selectedFileType=this.getDefaultFileType(),this.pdfIncludeMap=this.includeMap,this.baseClass=L(this.el)==="dark"?l.baseDark:l.baseLight,await this.initializeModules()}willUpdate(t){t.has("view")?this.handleIncludePopup():t.has("allowedFileTypes")&&(this.allowedFileTypes?.length||(this.allowedFileTypes=["PDF","JPG","PNG"]),this.selectedFileType=this.getDefaultFileType())}loaded(){this.printEl.value&&(this.printContainerEl.value?.prepend(this.printEl.value),this.handleIncludePopup())}getDefaultFileType(){return this.defaultFileType??this.allowedFileTypes?.[0]??"PDF"}async initializeModules(){let t=await Q();this.handles=await J(),this.reactiveUtils=t}optionOnChange(t){let i=t.target,n=i.value;this[n]=i.checked,this.updateExportOutput()}updateHeaderTitle(t){let i=t.target;this.headerTitle=i.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1)}async exportPreviewOnClick(){this.selectedFileType==="PDF"?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1)}exportImg(){if(this.resetPopupVisibility(),!this.dataUrl)return;let t=document.createElement("a");t.id="download-link",t.href=this.dataUrl;let i=this.headerTitle??document.title,n=this.selectedFileType?.toLowerCase()??"jpg";t.download=`${i}.${n}`,t.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){this.view?(this.addPrintStyling(),this.printEl.value&&document.body.prepend(this.printEl.value),this.handleExtraContent(),this.includeMap?(this.updateAttribution(),this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):this.popoverEl.value&&(this.popoverEl.value.open=!1)}addPrintStyling(){this.printStyleEl||(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=ie,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.selectedFileType==="PDF"&&(this.exportIsLoading=!1),this.setupViewPrintElements()},1500)}handleExtraContent(){if(!this.printEl.value)return;let t=this.printEl.value.querySelector("#export-content");if(t){t.innerHTML="";let i=this.extraContent&&this.includeExtraContent,n=this.selectedFileType!=="PDF"&&this.showExtraContentInImg&&i;this.printEl.value.classList.toggle(l.print.imgExtraContent,n),i?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&this.selectedFileType!=="PDF"&&!this.includeExtraContent&&this.printEl.value.classList.toggle(l.print.imgExtraContent,!1)}resetPrintContent(){if(!this.view||!this.printEl.value)return;this.screenshot=null,this.printContainerEl.value?.prepend(this.printEl.value),this.printStyleEl?.remove(),this.tmpPopupTitleEl?.remove(),this.printStyleEl=void 0;let t=this.printEl.value.querySelector("#export-content");t&&(t.innerHTML="")}async updatePopupToPrint(){if(!this.view||!this.popupContainerEl.value||!this.printEl.value)return;this.popupContainerEl.value.style.display=this.includePopup&&this.view?.popup?.visible?"block":"none",this.checkPopupOpen();let t=this.includePopup&&(this.view?.popup?.visible||this.popupHiddenByMapArea)&&this.view?.popup?.selectedFeature;if(this.printEl.value.classList.toggle(l.print.imgExtraContent,this.selectedFileType!=="PDF"&&!!t),t){let i=document.createElement(`h${this.view?.popup?.headingLevel??2}`);i.innerHTML=this.view?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title",this.popupTitleEl.value?(this.popupTitleEl.value.style.display=this.view?.popup?.title?"block":"none",this.popupTitleEl.value.innerHTML="",this.popupTitleEl.value.prepend(i)):(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupContainerEl.value.prepend(this.tmpPopupTitleEl))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(this.view)if(this.handleLegendSetup(),this.selectedFileType==="PDF"){let t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1e3)}else this.convertToImage()}async convertToImage(){/^((?!chrome|android).)*safari/iu.test(navigator?.userAgent)?await this.handleSafariToImage():await this.handleToImage()}async handleSafariToImage(){if(!this.printEl.value)return;let t={allowTaint:!0,logging:!1},i=this.selectedFileType==="PNG"?"image/png":"image/jpeg",n="";try{n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}catch{this.logoImage=void 0;let r=500;await new Promise(s=>setTimeout(s,r)),n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}finally{this.handleSetupImage(n)}}async handleToImage(){if(!this.printEl.value)return;let t={backgroundColor:"#FFF",skipFonts:!0},i="";try{this.selectedFileType==="JPG"?i=await H(this.printEl.value,t):i=await wt(this.printEl.value,t)}catch{this.logoImage=void 0;let n=500;await new Promise(r=>setTimeout(r,n)),i=await H(this.printEl.value,t)}finally{this.handleSetupImage(i)}}handleSetupImage(t){this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){if(this.showIncludeLegend&&this.view&&this.includeMap&&this.legendContainerEl){let t=this.legend&&this.legend.activeLayerInfos?.length>0;this.legendContainerEl.style.display=this.includeLegend&&t?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){if(!this.handles||!this.reactiveUtils||!this.view||!this.showIncludePopup)return;let t="includePopup";this.handles.remove(t),this.reactiveUtils.whenOnce(()=>this.view?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>this.view?.popup?.visible===!0,i=>{this.settingMapArea||(this.includePopup=i)}),t)})}handleLegendContainer(t){this.legendContainerEl=t,this.updateLegend()}handleLegendCreation(){if(this.view&&this.showIncludeLegend&&this.legendContainerEl){let t=this.view.map,i=this.legend?.view?.map;t?.portalItem?.id&&t?.portalItem?.id===i?.portalItem?.id||this.updateLegend()}}updateLegend(){this.view?.when(async t=>{if(!this.legendContainerEl)return;this.legendContainerEl.innerHTML="";let i=document.createElement("div");this.legendContainerEl.append(i),this.legend!=null?(this.legend.container=i,this.legend.view=t):this.legend=await K({container:i,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})})}handleCompassCreation(){if(this.view&&this.compassContainerEl.value){let t=this.view.map,i=this.compass?.view?.map;t?.portalItem?.id===i?.portalItem?.id||this.updateCompass()}}updateCompass(){this.view?.when(async t=>{this.compass&&(this.compass.destroy(),this.compass=null);let i=document.createElement("div");this.compassContainerEl.value?.append(i),this.compass=await X({container:i,view:t})})}updateScaleBar(){if(this.scaleBarContainerEl.value&&this.view&&(this.scaleBarContainerEl.value.innerHTML="",this.showScaleBar)){let t=this.view?.ui?.getComponents()?.find(({container:i})=>i?.className?.includes("esri-scale-bar"));t?.container&&typeof t.container!="string"&&this.scaleBarContainerEl.value.append(t.container.cloneNode(!0))}}updateAttribution(){if(!this.attributionEl.value||!this.view)return;this.attributionEl.value.innerHTML="";let t=this.view.ui.find("attribution");if(!t?.attributionText)return;let i=t.viewModel.items.map(r=>this.getAttributionText(r)).filter((r,s,a)=>!!r&&a.indexOf(r)===s),n=" | ";this.attributionEl.value.innerHTML=i.join(n)}getAttributionText(t){if(!t.text)return"";let i=t.text,n=t.layerView.layer,r="copyright"in n&&n.copyright?n.copyright:"";if("portalItem"in n&&n.portalItem!=null){let s=n.portalItem;if(s.accessInformation&&i===s.accessInformation)return i.replace(s.accessInformation,r)}return i}async viewScreenshot(){if(this.view&&this.includeMap&&(this.screenshot||(this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:this.view.width*2,height:this.view.height*2})),this.handleScaleBarSize(),this.viewEl.value&&this.viewWrapperEl.value)){let{height:t,width:i}=this.screenshot.data;t>i?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.value.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.selectedFileType==="PDF"&&this.printEl.value&&(this.printEl.value.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.value&&(this.viewEl.value.style.height="100%",this.viewEl.value.style.width=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="100%",this.viewWrapperEl.value.style.width="fit-content")}setMaxWidthOnViewContainer(){this.printEl.value&&(this.printEl.value.style.gridTemplateRows=""),this.viewEl.value&&(this.viewEl.value.style.width="100%",this.viewEl.value.style.height=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="fit-content",this.viewWrapperEl.value.style.width="100%")}checkPopupOpen(){if(this.view){let t=this.view?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(t&&this.popupContentEl.value){let i=t.querySelectorAll("canvas");this.popupContentEl.value.innerHTML="",this.popupContentEl.value.append(t.cloneNode(!0));let n=this.popupContentEl.value.querySelectorAll("canvas");i.forEach((r,s)=>{let a=r.toDataURL(),o=document.createElement("img");o.src=a;let p=r.getAttribute("style");p&&o.setAttribute("style",p);let f=n[s];f&&(f.replaceWith(o),L(this.el)==="dark"&&o.parentElement?.parentElement&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))})}}}createScreenshot(){if(this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img"),this.screenshotImg.alt=this.mapAltText||"";let t=document.createElement("div"),i=document.createElement("calcite-button"),n=document.createElement("calcite-button");i.innerHTML=this.selectedFileType==="PDF"?this._messages.export:this._messages.downloadImage,n.innerHTML=this._messages.returnToMap,n.appearance="outline-fill",i.onclick=this.exportPreviewOnClick.bind(this),n.onclick=this.screenshotReturn.bind(this),t.append(n,i),this.screenshotImgContainer.append(this.screenshotImg,t),this.screenshotPreview.append(this.screenshotImgContainer),this.view?.container?.append(this.screenshotPreview)}}createMaskDiv(){this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML=ne,this.view?.container?.append(this.screenshotStyle),this.view?.container?.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){if(this.view){if(this.settingMapArea=!0,t&&this.view?.popup?.visible){this.popupHiddenByMapArea=!0;let i=this.view?.popup?.container;i&&(i.style.display="none")}this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view?.container?.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",i=>{this.view&&(i.stopPropagation(),i.action!=="end"?this.updateMaskSize(i):this.maskScreenshot())}),U)}}updateMaskSize(t){if(this.view){let i=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),n=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),r=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),s=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:i,y:r,width:n-i,height:s-r},this.setMaskPosition(this.area)}}maskScreenshot(){if(this.view&&this.area){this.view.removeHandles(U);let t=this.area.height,i=this.area.width;if(this.showScaleBar){let n=this.view.width>1e3&&this.view.width*.75<i;this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",n)}this.view.takeScreenshot({area:this.area,width:i*2,height:t*2,format:"jpg"}).then(n=>{this.screenshot=n,this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null),this.selectedFileType==="PDF"?(this.showPreview(n?.dataUrl),this.resetPopupVisibility()):(this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick(),this.popoverEl.value&&(this.popoverEl.value.open=!1))})}}setMaskPosition(t){this.maskDivEl&&(t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove())}clamp(t,i,n){return t<i?i:t>n?n:t}showPreview(t){t&&(this.screenshotPreview?.classList.remove("hide"),this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){if(this.showScaleBar&&this.view?.type==="2d"&&this.scaleBarContainerEl.value){let t=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--top"),i=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(t,"top"),this.setScaleBarWidth(i,"bottom")}}setScaleBarWidth(t,i){if(t&&this.screenshot){let n=this.screenshot.data.width/2,r=Number(t.style.width.replace("px",""))/n*100;this.scaleBarContainerEl.value?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${r}%`)}}removeScreenshotElements(){this.view?.removeHandles(U),this.screenshotPreview?.remove(),this.screenshotStyle?.remove()}resetPopupVisibility(){if(this.view&&this.settingMapArea&&this.popupHiddenByMapArea){let t=this.view?.popup?.container;t&&(t.style.display="")}this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){let i=t.target;this.selectedFileType=i.value,this.selectedFileType==="PDF"?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel(),i=this.renderCompass();return c`<div class=${h(this.baseClass)} @mouseenter=${this.handleWidgetCreation} @focusin=${this.handleWidgetCreation}>${t}<div class=${h(l.hidden)}>${i}</div></div>`}renderPopover(){let t=this.renderPanel();return[c`<calcite-popover reference-element=export-popover-btn .label=${this._messages.exportPopover} .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close ${d(this.popoverEl)}>${t}</calcite-popover>`,c`<calcite-action id=export-popover-btn alignment=center .icon=${this.popoverIcon} .scale=${this.scale} title=${this._messages.exportBtn??$} .text=${this._messages.exportBtn}></calcite-action>`]}renderPanel(){let t=this.showHeaderTitle?this.renderTitle():null,i=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,this.selectedFileType!=="PDF"&&!this.showExtraContentInImg):null,n=this.showIncludeMap?this.renderSwitch("includeMap",void 0,this.selectedFileType!=="PDF"):null,r=this.includeMap?this.renderMapOptions():null,s=this.includeFileFormat?this.renderSelectFileType():null,a=this.selectedFileType==="PDF"?this.renderPrint():this.renderImg(),o=this.mode==="inline"?l.inlineContainer:l.popoverContainer;return c`<div class=${h(o)}>${t}${i}${n}${r}${s}${this.includeMap?c`<calcite-button class=${h(l.setMapArea)} appearance=transparent width=full @click=${this.setMapAreaOnClick.bind(this,!0)} .disabled=${this.exportIsLoading}>${this._messages.setMapArea}</calcite-button>`:null}<calcite-button width=full @click=${this.exportOnClick} .disabled=${this.exportIsLoading}>${this.selectedFileType==="PDF"?this._messages.export:this._messages.preview}</calcite-button>${a}</div>`}renderTitle(){return c`<calcite-label>${this._messages.title}<calcite-input .value=${this.headerTitle} @calciteInputInput=${this.updateHeaderTitle}></calcite-input></calcite-label>`}renderSwitch(t,i,n){let r=this[t],s=t,a=i||this._messages[s];return c`<calcite-label layout=inline-space-between>${a}<calcite-switch .checked=${r} .value=${t} @calciteSwitchChange=${this.optionOnChange} .disabled=${n}></calcite-switch></calcite-label>`}renderSelectFileType(){return c`<calcite-label>${this._messages.fileType}<calcite-select label @calciteSelectChange=${this.handleSelectFileType}>${this.allowedFileTypes.map(t=>c`<calcite-option .value=${t} .selected=${t===this.selectedFileType}>${t}</calcite-option>`)}</calcite-select></calcite-label>`}renderMapOptions(){let t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,i=this.showIncludePopup?this.renderSwitch("includePopup"):null;return c`<div>${t}${i}</div>`}renderPrint(){let t=this.includeMap?this.renderPrintMap():null,i=this.renderExtraContent(),n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,r=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return c`<div ${d(this.printContainerEl)}><div class=${h(l.print.pdfBase)} ${d(this.printEl)}>${t}${n}<div class=${h(l.print.contentContainer)}>${r}${i}</div></div></div>`}renderPrintMap(){return c`<div class=${h(l.print.viewContainer)} ${d(this.viewContainerEl)}><div class=${h(l.print.viewWrapper)} ${d(this.viewWrapperEl)}>${this.headerTitle?c`<instant-apps-header .logoImage=${this.logoImage} .logoImageAltText=${this.logoAltText} logo-scale=s .titleText=${this.headerTitle} background-color=#fff text-color=#323232></instant-apps-header>`:null}<img class=${h(l.print.view)} alt=${this.mapAltText??$} ${d(this.viewEl)}><div class=${h(l.print.scaleBarContainer)} ${d(this.scaleBarContainerEl)}></div></div>${this.renderAttribution()}</div>`}renderAttribution(){return c`<div class=${h(l.print.attribution)} ${d(this.attributionEl)}></div>`}renderLegend(){return c`<div class=${h(l.print.legendContainer)} ${d(this.handleLegendContainer)}></div>`}renderCompass(){return c`<div class=${h(l.print.compassContainer)} ${d(this.compassContainerEl)}></div>`}renderPopup(){return c`<div class=${h(l.print.popupContainer)} ${d(this.popupContainerEl)}><div class=${h(l.print.popupTitle)} ${d(this.popupTitleEl)}></div><div class=${h(l.print.popupContent)} ${d(this.popupContentEl)}></div></div>`}renderExtraContent(){return c`<div class=${h(l.print.extraContainer)} id=export-content ${d(this.extraContainerEl)}></div>`}renderImg(){let t=this.includeMap?this.renderPrintMap():null,i=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,n;return this.includeMap&&this.showIncludePopup?n=this.renderPopup():this.showExtraContentInImg&&this.extraContent&&this.includeExtraContent&&(n=this.renderExtraContent()),c`<div ${d(this.printContainerEl)}><div class=${h(l.print.imgBase)} ${d(this.printEl)}>${t}${i}${n}</div></div>`}};q("instant-apps-export",W);export{W as InstantAppsExport};
385
+ }`,re=V`:host{display:block;--instant-apps-export-action-background: var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-export-action-background-press: var(--calcite-color-foreground-3);--instant-apps-export-action-height: 100%;--instant-apps-export-action-width: fit-content;--instant-apps-export-action-icon-color: var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-export-background: var(--calcite-color-foreground-1);--instant-apps-export-text-color: var(--calcite-color-text-1);--instant-apps-export-popover-width: 250px;--instant-apps-export-button-text-dark-hover-color: #fff}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1: var(--instant-apps-export-action-background);--calcite-color-foreground-2: var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3: var(--instant-apps-export-action-background-press);--calcite-color-text-3: var(--instant-apps-export-action-icon-color);--calcite-color-text-1: var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1: var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1: var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1: #fff;--calcite-color-foreground-2: #f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:.5rem}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover: #fff}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1: #2b2b2b;--calcite-color-foreground-2: #202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px #0000004d}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}`,l={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",hidden:"instant-apps-export__visually-hidden",setMapArea:"instant-apps-export__set-map-area",print:{pdfBase:"instant-apps-export-print instant-apps-export-print__pdf",imgBase:"instant-apps-export-print instant-apps-export-print__img",imgExtraContent:"instant-apps-export-print__img--extra-content",contentContainer:"instant-apps-export-print__content-container",extraContainer:"instant-apps-export-print__extra-container",legendContainer:"instant-apps-export-print__legend-container",compassContainer:"instant-apps-export-print__compass-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewWrapper:"instant-apps-export-print__view-wrapper",attribution:"instant-apps-export-print__attribution"}},H="instant-app-export-drag",W=class extends z{constructor(){super(...arguments),this._messages=G({name:"instant-apps-export",blocking:!0}),this.compassContainerEl=m(),this.extraContainerEl=m(),this.legendContainerEl=m(),this.popoverEl=m(),this.popupContainerEl=m(),this.popupContentEl=m(),this.popupTitleEl=m(),this.printContainerEl=m(),this.printEl=m(),this.scaleBarContainerEl=m(),this.viewWrapperEl=m(),this.viewContainerEl=m(),this.viewEl=m(),this.attributionEl=m(),this.baseClass=l.baseLight,this.exportIsLoading=void 0,this.allowedFileTypes=["PDF","JPG","PNG"],this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.headerTitle="",this.logoImage="",this.mapAltText="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.exportOutputUpdated=q()}static{this.properties={baseClass:16,exportIsLoading:16,selectedFileType:16,allowedFileTypes:0,output:0,beforeExport:0,popoverIcon:1,extraContent:0,extraContentLabel:1,headerTitle:1,logoImage:1,logoAltText:1,mapAltText:1,includeExtraContent:5,showExtraContentInImg:5,includeLegend:5,includeMap:5,includePopup:5,includeFileFormat:5,mode:3,popoverPositioning:1,popoverPlacement:1,scale:1,showHeaderTitle:5,showIncludeLegend:5,showIncludeMap:5,showIncludePopup:5,showScaleBar:5,view:0,maskBackground:1,maskBorder:1,defaultFileType:1}}static{this.styles=re}async load(){this.selectedFileType=this.getDefaultFileType(),this.pdfIncludeMap=this.includeMap,this.baseClass=L(this.el)==="dark"?l.baseDark:l.baseLight,await this.initializeModules()}willUpdate(t){t.has("view")?this.handleIncludePopup():t.has("allowedFileTypes")&&(this.allowedFileTypes?.length||(this.allowedFileTypes=["PDF","JPG","PNG"]),this.selectedFileType=this.getDefaultFileType())}loaded(){this.printEl.value&&(this.printContainerEl.value?.prepend(this.printEl.value),this.handleIncludePopup())}getDefaultFileType(){return this.defaultFileType??this.allowedFileTypes?.[0]??"PDF"}async initializeModules(){let t=await Q();this.handles=await J(),this.reactiveUtils=t}optionOnChange(t){let i=t.target,n=i.value;this[n]=i.checked,this.updateExportOutput()}updateHeaderTitle(t){let i=t.target;this.headerTitle=i.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),this.popoverEl.value&&(this.popoverEl.value.open=!1),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick()}async exportPreviewOnClick(){this.selectedFileType==="PDF"?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick()}exportImg(){if(this.resetPopupVisibility(),!this.dataUrl)return;let t=document.createElement("a");t.id="download-link",t.href=this.dataUrl;let i=this.headerTitle??document.title,n=this.selectedFileType?.toLowerCase()??"jpg";t.download=`${i}.${n}`,t.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){this.updateExportOutput(),this.view?(this.addPrintStyling(),this.printEl.value&&document.body.prepend(this.printEl.value),this.handleExtraContent(),this.includeMap?(this.updateAttribution(),this.updateScaleBar(),this.viewScreenshot(),this.requestUpdate(),this.handleImgLoaded()):(this.requestUpdate(),this.handleImgLoaded())):this.popoverEl.value&&(this.popoverEl.value.open=!1)}addPrintStyling(){this.printStyleEl||(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=ie,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.selectedFileType==="PDF"&&(this.exportIsLoading=!1),this.setupViewPrintElements()},1500)}handleExtraContent(){if(!this.printEl.value)return;let t=this.printEl.value.querySelector("#export-content");if(t){t.innerHTML="";let i=this.extraContent&&this.includeExtraContent,n=this.selectedFileType!=="PDF"&&this.showExtraContentInImg&&i;this.printEl.value.classList.toggle(l.print.imgExtraContent,n),i?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&this.selectedFileType!=="PDF"&&!this.includeExtraContent&&this.printEl.value.classList.toggle(l.print.imgExtraContent,!1)}resetPrintContent(){if(!this.view||!this.printEl.value)return;this.screenshot=null,this.printContainerEl.value?.prepend(this.printEl.value),this.printStyleEl?.remove(),this.tmpPopupTitleEl?.remove(),this.printStyleEl=void 0;let t=this.printEl.value.querySelector("#export-content");t&&(t.innerHTML="")}async updatePopupToPrint(){if(!this.view||!this.popupContainerEl.value||!this.printEl.value)return;this.popupContainerEl.value.style.display=this.includePopup&&this.view?.popup?.visible?"block":"none",this.checkPopupOpen();let t=this.includePopup&&(this.view?.popup?.visible||this.popupHiddenByMapArea)&&this.view?.popup?.selectedFeature;if(this.printEl.value.classList.toggle(l.print.imgExtraContent,this.selectedFileType!=="PDF"&&!!t),t){let i=document.createElement(`h${this.view?.popup?.headingLevel??2}`);i.innerHTML=this.view?.popup?.title??"",i.className="esri-widget__heading esri-popup__header-title",this.popupTitleEl.value?(this.popupTitleEl.value.style.display=this.view?.popup?.title?"block":"none",this.popupTitleEl.value.innerHTML="",this.popupTitleEl.value.prepend(i)):(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view?.popup?.title?"block":"none",this.popupContainerEl.value.prepend(this.tmpPopupTitleEl))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(this.view)if(this.handleLegendSetup(),this.selectedFileType==="PDF"){let t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1e3)}else this.convertToImage()}async convertToImage(){/^((?!chrome|android).)*safari/iu.test(navigator?.userAgent)?await this.handleSafariToImage():await this.handleToImage()}async handleSafariToImage(){if(!this.printEl.value)return;let t={allowTaint:!0,logging:!1},i=this.selectedFileType==="PNG"?"image/png":"image/jpeg",n="";try{n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}catch{this.logoImage=void 0;let r=500;await new Promise(s=>setTimeout(s,r)),n=(await(0,O.default)(this.printEl.value,t)).toDataURL(i)}finally{this.handleSetupImage(n)}}async handleToImage(){if(!this.printEl.value)return;let t={backgroundColor:"#FFF",skipFonts:!0},i="";try{this.selectedFileType==="JPG"?i=await U(this.printEl.value,t):i=await wt(this.printEl.value,t)}catch{this.logoImage=void 0;let n=500;await new Promise(r=>setTimeout(r,n)),i=await U(this.printEl.value,t)}finally{this.handleSetupImage(i)}}handleSetupImage(t){this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){if(this.showIncludeLegend&&this.view&&this.includeMap&&this.legendContainerEl.value){let t=this.legend&&this.legend.activeLayerInfos?.length>0;this.legendContainerEl.value.style.display=this.includeLegend&&t?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){if(!this.handles||!this.reactiveUtils||!this.view||!this.showIncludePopup)return;let t="includePopup";this.handles.remove(t),this.reactiveUtils.whenOnce(()=>this.view?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>this.view?.popup?.visible===!0,i=>{this.settingMapArea||(this.includePopup=i)}),t)})}handleLegendCreation(){this.view&&this.showIncludeLegend&&this.legendContainerEl&&this.updateLegend()}updateLegend(){this.view?.when(async t=>{if(!this.legendContainerEl.value)return;this.legend?.destroy(),this.legend=null,this.legendContainerEl.value.innerHTML="";let i=document.createElement("div");this.legendContainerEl.value.append(i),this.legend=await K({container:i,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})})}handleCompassCreation(){if(this.view&&this.compassContainerEl.value){let t=this.view.map,i=this.compass?.view?.map;t?.portalItem?.id===i?.portalItem?.id||this.updateCompass()}}updateCompass(){this.view?.when(async t=>{this.compass&&(this.compass.destroy(),this.compass=null);let i=document.createElement("div");this.compassContainerEl.value?.append(i),this.compass=await X({container:i,view:t})})}updateScaleBar(){if(this.scaleBarContainerEl.value&&this.view&&(this.scaleBarContainerEl.value.innerHTML="",this.showScaleBar)){let t=this.view?.ui?.getComponents()?.find(({container:i})=>i?.className?.includes("esri-scale-bar"));t?.container&&typeof t.container!="string"&&this.scaleBarContainerEl.value.append(t.container.cloneNode(!0))}}updateAttribution(){if(!this.attributionEl.value||!this.view)return;this.attributionEl.value.innerHTML="";let t=this.view.ui.find("attribution");if(!t?.attributionText)return;let i=t.viewModel.items.map(r=>this.getAttributionText(r)).filter((r,s,a)=>!!r&&a.indexOf(r)===s),n=" | ";this.attributionEl.value.innerHTML=i.join(n)}getAttributionText(t){if(!t.text)return"";let i=t.text,n=t.layerView.layer,r="copyright"in n&&n.copyright?n.copyright:"";if("portalItem"in n&&n.portalItem!=null){let s=n.portalItem;if(s.accessInformation&&i===s.accessInformation)return i.replace(s.accessInformation,r)}return i}async viewScreenshot(){if(this.view&&this.includeMap&&(this.screenshot||(this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:this.view.width*2,height:this.view.height*2})),this.handleScaleBarSize(),this.viewEl.value&&this.viewWrapperEl.value)){let{height:t,width:i}=this.screenshot.data;t>i?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.value.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.selectedFileType==="PDF"&&this.printEl.value&&(this.printEl.value.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.value&&(this.viewEl.value.style.height="100%",this.viewEl.value.style.width=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="100%",this.viewWrapperEl.value.style.width="fit-content")}setMaxWidthOnViewContainer(){this.printEl.value&&(this.printEl.value.style.gridTemplateRows=""),this.viewEl.value&&(this.viewEl.value.style.width="100%",this.viewEl.value.style.height=""),this.viewWrapperEl.value&&(this.viewWrapperEl.value.style.height="fit-content",this.viewWrapperEl.value.style.width="100%")}checkPopupOpen(){if(this.view){let t=this.view?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(t&&this.popupContentEl.value){let i=t.querySelectorAll("canvas");this.popupContentEl.value.innerHTML="",this.popupContentEl.value.append(t.cloneNode(!0));let n=this.popupContentEl.value.querySelectorAll("canvas");i.forEach((r,s)=>{let a=r.toDataURL(),o=document.createElement("img");o.src=a;let p=r.getAttribute("style");p&&o.setAttribute("style",p);let f=n[s];f&&(f.replaceWith(o),L(this.el)==="dark"&&o.parentElement?.parentElement&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))})}}}createScreenshot(){if(this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img"),this.screenshotImg.alt=this.mapAltText||"";let t=document.createElement("div"),i=document.createElement("calcite-button"),n=document.createElement("calcite-button");i.innerHTML=this.selectedFileType==="PDF"?this._messages.export:this._messages.downloadImage,n.innerHTML=this._messages.returnToMap,n.appearance="outline-fill",i.onclick=this.exportPreviewOnClick.bind(this),n.onclick=this.screenshotReturn.bind(this),t.append(n,i),this.screenshotImgContainer.append(this.screenshotImg,t),this.screenshotPreview.append(this.screenshotImgContainer),this.view?.container?.append(this.screenshotPreview)}}createMaskDiv(){this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML=ne,this.view?.container?.append(this.screenshotStyle),this.view?.container?.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){if(this.view){if(this.settingMapArea=!0,t&&this.view?.popup?.visible){this.popupHiddenByMapArea=!0;let i=this.view?.popup?.container;i&&(i.style.display="none")}this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view?.container?.classList.add("screenshot-cursor","relative"),this.popoverEl.value&&(this.popoverEl.value.open=!1),this.view.addHandles(this.view.on("drag",i=>{this.view&&(i.stopPropagation(),i.action!=="end"?this.updateMaskSize(i):this.maskScreenshot())}),H)}}updateMaskSize(t){if(this.view){let i=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),n=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),r=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),s=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:i,y:r,width:n-i,height:s-r},this.setMaskPosition(this.area)}}maskScreenshot(){if(this.view&&this.area){this.view.removeHandles(H);let t=this.area.height,i=this.area.width;if(this.showScaleBar){let n=this.view.width>1e3&&this.view.width*.75<i;this.scaleBarContainerEl.value?.classList.toggle("instant-apps-export-print__scale-bar-container--position",n)}this.view.takeScreenshot({area:this.area,width:i*2,height:t*2,format:"jpg"}).then(n=>{this.screenshot=n,this.view?.container?.classList.remove("screenshot-cursor"),this.setMaskPosition(null),this.selectedFileType==="PDF"?(this.showPreview(n?.dataUrl),this.resetPopupVisibility()):(this.viewWrapperEl.value&&this.compassContainerEl.value&&!this.viewWrapperEl.value.contains(this.compassContainerEl.value)&&this.viewWrapperEl.value.append(this.compassContainerEl.value),this.handleViewExportOnClick())})}}setMaskPosition(t){this.maskDivEl&&(t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove())}clamp(t,i,n){return t<i?i:t>n?n:t}showPreview(t){t&&(this.screenshotPreview?.classList.remove("hide"),this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){if(this.showScaleBar&&this.view?.type==="2d"&&this.scaleBarContainerEl.value){let t=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--top"),i=this.scaleBarContainerEl.value.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(t,"top"),this.setScaleBarWidth(i,"bottom")}}setScaleBarWidth(t,i){if(t&&this.screenshot){let n=this.screenshot.data.width/2,r=Number(t.style.width.replace("px",""))/n*100;this.scaleBarContainerEl.value?.style.setProperty(`--instant-apps-scale-bar-${i}`,`${r}%`)}}removeScreenshotElements(){this.view?.removeHandles(H),this.screenshotPreview?.remove(),this.screenshotStyle?.remove()}resetPopupVisibility(){if(this.view&&this.settingMapArea&&this.popupHiddenByMapArea){let t=this.view?.popup?.container;t&&(t.style.display="")}this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){let i=t.target;this.selectedFileType=i.value,this.selectedFileType==="PDF"?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel(),i=this.renderCompass();return c`<div class=${h(this.baseClass)} @mouseenter=${this.handleWidgetCreation} @focusin=${this.handleWidgetCreation}>${t}<div class=${h(l.hidden)}>${i}</div></div>`}renderPopover(){let t=this.renderPanel();return[c`<calcite-popover reference-element=export-popover-btn .label=${this._messages.exportPopover} .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close ${d(this.popoverEl)}>${t}</calcite-popover>`,c`<calcite-action id=export-popover-btn alignment=center .icon=${this.popoverIcon} .scale=${this.scale} title=${this._messages.exportBtn??I} .text=${this._messages.exportBtn}></calcite-action>`]}renderPanel(){let t=this.showHeaderTitle?this.renderTitle():null,i=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,this.selectedFileType!=="PDF"&&!this.showExtraContentInImg):null,n=this.showIncludeMap?this.renderSwitch("includeMap",void 0,this.selectedFileType!=="PDF"):null,r=this.includeMap?this.renderMapOptions():null,s=this.includeFileFormat?this.renderSelectFileType():null,a=this.selectedFileType==="PDF"?this.renderPrint():this.renderImg(),o=this.mode==="inline"?l.inlineContainer:l.popoverContainer;return c`<div class=${h(o)}>${t}${i}${n}${r}${s}${this.includeMap?c`<calcite-button class=${h(l.setMapArea)} appearance=transparent width=full @click=${this.setMapAreaOnClick.bind(this,!0)} .disabled=${this.exportIsLoading}>${this._messages.setMapArea}</calcite-button>`:null}<calcite-button width=full @click=${this.exportOnClick} .disabled=${this.exportIsLoading}>${this.selectedFileType==="PDF"?this._messages.export:this._messages.preview}</calcite-button>${a}</div>`}renderTitle(){return c`<calcite-label>${this._messages.title}<calcite-input .value=${this.headerTitle} @calciteInputInput=${this.updateHeaderTitle}></calcite-input></calcite-label>`}renderSwitch(t,i,n){let r=this[t],s=t,a=i||this._messages[s];return c`<calcite-label layout=inline-space-between>${a}<calcite-switch .checked=${r} .value=${t} @calciteSwitchChange=${this.optionOnChange} .disabled=${n}></calcite-switch></calcite-label>`}renderSelectFileType(){return c`<calcite-label>${this._messages.fileType}<calcite-select label @calciteSelectChange=${this.handleSelectFileType}>${this.allowedFileTypes.map(t=>c`<calcite-option .value=${t} .selected=${t===this.selectedFileType}>${t}</calcite-option>`)}</calcite-select></calcite-label>`}renderMapOptions(){let t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,i=this.showIncludePopup?this.renderSwitch("includePopup"):null;return c`<div>${t}${i}</div>`}renderPrint(){let t=this.includeMap?this.renderPrintMap():null,i=this.renderExtraContent(),n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,r=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return c`<div ${d(this.printContainerEl)}><div class=${h(l.print.pdfBase)} ${d(this.printEl)}>${t}${n}<div class=${h(l.print.contentContainer)}>${r}${i}</div></div></div>`}renderPrintMap(){return c`<div class=${h(l.print.viewContainer)} ${d(this.viewContainerEl)}><div class=${h(l.print.viewWrapper)} ${d(this.viewWrapperEl)}>${this.headerTitle?c`<instant-apps-header .logoImage=${this.logoImage} .logoImageAltText=${this.logoAltText} logo-scale=s .titleText=${this.headerTitle} background-color=#fff text-color=#323232></instant-apps-header>`:null}<img class=${h(l.print.view)} alt=${this.mapAltText??I} ${d(this.viewEl)}><div class=${h(l.print.scaleBarContainer)} ${d(this.scaleBarContainerEl)}></div></div>${this.renderAttribution()}</div>`}renderAttribution(){return c`<div class=${h(l.print.attribution)} ${d(this.attributionEl)}></div>`}renderLegend(){return c`<div class=${h(l.print.legendContainer)} ${d(this.legendContainerEl)}></div>`}renderCompass(){return c`<div class=${h(l.print.compassContainer)} ${d(this.compassContainerEl)}></div>`}renderPopup(){return c`<div class=${h(l.print.popupContainer)} ${d(this.popupContainerEl)}><div class=${h(l.print.popupTitle)} ${d(this.popupTitleEl)}></div><div class=${h(l.print.popupContent)} ${d(this.popupContentEl)}></div></div>`}renderExtraContent(){return c`<div class=${h(l.print.extraContainer)} id=export-content ${d(this.extraContainerEl)}></div>`}renderImg(){let t=this.includeMap?this.renderPrintMap():null,i=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,n;return this.includeMap&&this.showIncludePopup?n=this.renderPopup():this.showExtraContentInImg&&this.extraContent&&this.includeExtraContent&&(n=this.renderExtraContent()),c`<div ${d(this.printContainerEl)}><div class=${h(l.print.imgBase)} ${d(this.printEl)}>${t}${i}${n}</div></div>`}};j("instant-apps-export",W);export{W as InstantAppsExport};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
3
+ v1.1.2 */
4
4
  var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),E=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(E||{}),t=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(t||{});var i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),I="{{params.wkid||",N="}}",u=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{});var T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{});var S='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",C="portal:user:addExternalMembersToGroup",O="portal:user:createItem",p="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",P="portal:publisher:publishServerGPServices",m="portal:publisher:publishRealTimeAnalytics",b="portal:user:shareToGroup",g="solutions:hubPremium",G="solutions:notebook",M="solutions:locationtracking:admin:tracking",h="solutions:locationtracking:tracking",F="solutions:locationtracking:admin",k="solutions:velocity",y="solutions:workflowManager",H=250;export{e as a,o as b,E as c,t as d,i as e,n as f,r as g,I as h,N as i,u as j,l as k,A as l,T as m,R as n,S as o,s as p,c as q,C as r,O as s,p as t,L as u,D as v,d as w,P as x,m as y,b as z,g as A,G as B,M as C,h as D,F as E,k as F,y as G,H};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as D}from"./YWR5SHTJ.js";import{b as F}from"./PSGW263P.js";import{c as y,g as O,j as $}from"./5VLZX43L.js";import{e as d}from"./IZ3E7B3U.js";import{a as k,d as E,f as T}from"./PT5AV3WQ.js";import{b as G}from"./FXCOD63W.js";import{a as I}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as V}from"./PZWKB64K.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var N=w`@layer{/** @license
3
+ v1.1.2 */
4
+ import{a as D}from"./DOX3JTNJ.js";import{b as F}from"./FNFLIMK4.js";import{c as y,g as O,j as $}from"./BOOF3NBM.js";import{e as d}from"./2X27XYSX.js";import{a as k,d as E,f as T}from"./4VNLVOPL.js";import{b as G}from"./DCM6XZAR.js";import{a as I}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as V}from"./RIVQ5IKO.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./C3RJP556.js";import"./PR5LDTTA.js";var N=w`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{b as e}from"./VJVK7CEI.js";import{a as r}from"./7T2EBM7A.js";import{a as t}from"./M7PDEIFC.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
3
+ v1.1.2 */
4
+ import{b as e}from"./NBTALLIF.js";import{a as r}from"./KC24JR4A.js";import{a as t}from"./2TPODPFQ.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};