@esri/solutions-components 0.10.24 → 0.10.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (387) hide show
  1. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
  2. package/dist/cjs/calcite-block_5.cjs.entry.js +5 -7
  3. package/dist/cjs/{calcite-carousel.cjs.entry.js → calcite-carousel_2.cjs.entry.js} +52 -18
  4. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +106 -0
  5. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
  6. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  7. package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
  8. package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
  9. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  10. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -3
  11. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
  12. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +2 -2
  13. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +7 -7
  14. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
  15. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  16. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
  17. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +34 -14
  18. package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
  19. package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
  20. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  21. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +1 -1
  22. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  23. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +59 -29
  24. package/dist/cjs/loader.cjs.js +1 -1
  25. package/dist/cjs/solutions-components.cjs.js +1 -1
  26. package/dist/cjs/{utils-9343bd5b.js → utils-62072741.js} +23 -0
  27. package/dist/collection/collection-manifest.json +1 -0
  28. package/dist/components/calcite-carousel-item.js +1 -54
  29. package/dist/components/calcite-carousel.js +1 -517
  30. package/dist/{esm/calcite-carousel-item.entry.js → components/carousel-item.js} +28 -9
  31. package/dist/{esm/calcite-carousel.entry.js → components/carousel.js} +76 -19
  32. package/dist/components/instant-apps-app-guide.js +184 -0
  33. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  34. package/dist/components/instant-apps-control-panel.js +1 -1
  35. package/dist/components/instant-apps-export-views.js +1 -1
  36. package/dist/components/instant-apps-export.js +1 -1
  37. package/dist/components/instant-apps-filter-list2.js +3 -5
  38. package/dist/components/instant-apps-header2.js +1 -1
  39. package/dist/components/instant-apps-interactive-legend-classic2.js +8 -3
  40. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +2 -2
  41. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
  42. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
  43. package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
  44. package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
  45. package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
  46. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  47. package/dist/components/instant-apps-landing-page.js +1 -1
  48. package/dist/components/instant-apps-language-switcher.js +3 -3
  49. package/dist/components/instant-apps-language-translator-item2.js +1 -1
  50. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  51. package/dist/components/instant-apps-language-translator2.js +33 -13
  52. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  53. package/dist/components/instant-apps-measurement.js +1 -1
  54. package/dist/components/instant-apps-popover.js +1 -1
  55. package/dist/components/instant-apps-scoreboard.js +1 -1
  56. package/dist/components/instant-apps-sign-in2.js +1 -1
  57. package/dist/components/instant-apps-social-share2.js +2 -2
  58. package/dist/components/instant-apps-splash.js +1 -1
  59. package/dist/components/instant-apps-time-filter.js +59 -29
  60. package/dist/components/utils4.js +22 -1
  61. package/dist/esm/{ExpandToggle-9289b7ca.js → ExpandToggle-076b4360.js} +1 -1
  62. package/dist/esm/{ar-8dded5d5.js → ar-3e3c0d14.js} +8 -8
  63. package/dist/esm/{bg-c1cdf619.js → bg-a872736b.js} +8 -8
  64. package/dist/esm/{bs-a40506a4.js → bs-fe545c28.js} +8 -8
  65. package/dist/esm/buffer-tools_3.entry.js +1 -1
  66. package/dist/esm/{ca-67879a0c.js → ca-8a2abdaa.js} +8 -8
  67. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  68. package/dist/esm/calcite-action-bar.entry.js +4 -4
  69. package/dist/esm/calcite-action-group.entry.js +3 -3
  70. package/dist/esm/calcite-action-menu_2.entry.js +3 -3
  71. package/dist/esm/calcite-action-pad_2.entry.js +6 -6
  72. package/dist/esm/calcite-action_2.entry.js +6 -6
  73. package/dist/esm/calcite-alert_5.entry.js +4 -4
  74. package/dist/esm/calcite-avatar.entry.js +1 -1
  75. package/dist/esm/calcite-block-section.entry.js +3 -3
  76. package/dist/esm/calcite-block_5.entry.js +14 -16
  77. package/dist/esm/calcite-button.entry.js +5 -5
  78. package/dist/esm/calcite-card-group.entry.js +1 -1
  79. package/dist/esm/calcite-card.entry.js +3 -3
  80. package/dist/esm/calcite-carousel_2.entry.js +500 -0
  81. package/dist/esm/calcite-checkbox.entry.js +3 -3
  82. package/dist/esm/calcite-chip-group.entry.js +1 -1
  83. package/dist/esm/calcite-chip_2.entry.js +4 -4
  84. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
  85. package/dist/esm/calcite-color-picker.entry.js +3 -3
  86. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  87. package/dist/esm/calcite-combobox_3.entry.js +8 -8
  88. package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
  89. package/dist/esm/calcite-dialog.entry.js +5 -5
  90. package/dist/esm/calcite-dropdown_2.entry.js +3 -3
  91. package/dist/esm/calcite-fab.entry.js +1 -1
  92. package/dist/esm/calcite-filter_5.entry.js +3 -3
  93. package/dist/esm/calcite-graph_2.entry.js +4 -4
  94. package/dist/esm/calcite-icon_2.entry.js +2 -2
  95. package/dist/esm/calcite-inline-editable.entry.js +4 -4
  96. package/dist/esm/calcite-input-number.entry.js +5 -5
  97. package/dist/esm/calcite-input-text.entry.js +5 -5
  98. package/dist/esm/{calcite-input-time-picker-37845feb.js → calcite-input-time-picker-2fbabd28.js} +56 -56
  99. package/dist/esm/calcite-input-time-picker.entry.js +8 -8
  100. package/dist/esm/calcite-input-time-zone.entry.js +5 -5
  101. package/dist/esm/calcite-input_2.entry.js +5 -5
  102. package/dist/esm/calcite-label.entry.js +2 -2
  103. package/dist/esm/calcite-link.entry.js +1 -1
  104. package/dist/esm/calcite-menu-item.entry.js +3 -3
  105. package/dist/esm/calcite-menu.entry.js +3 -3
  106. package/dist/esm/calcite-meter.entry.js +3 -3
  107. package/dist/esm/calcite-modal_3.entry.js +5 -5
  108. package/dist/esm/calcite-navigation.entry.js +1 -1
  109. package/dist/esm/calcite-notice.entry.js +4 -4
  110. package/dist/esm/calcite-option_2.entry.js +3 -3
  111. package/dist/esm/calcite-pagination.entry.js +3 -3
  112. package/dist/esm/calcite-pick-list-group.entry.js +1 -1
  113. package/dist/esm/calcite-pick-list-item.entry.js +3 -3
  114. package/dist/esm/calcite-pick-list.entry.js +2 -2
  115. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  116. package/dist/esm/calcite-radio-button.entry.js +3 -3
  117. package/dist/esm/calcite-rating.entry.js +5 -5
  118. package/dist/esm/calcite-scrim.entry.js +3 -3
  119. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  120. package/dist/esm/calcite-sheet.entry.js +3 -3
  121. package/dist/esm/calcite-shell-center-row.entry.js +1 -1
  122. package/dist/esm/calcite-shell-panel_14.entry.js +4 -4
  123. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  124. package/dist/esm/calcite-stepper-item.entry.js +3 -3
  125. package/dist/esm/calcite-stepper.entry.js +3 -3
  126. package/dist/esm/calcite-switch.entry.js +3 -3
  127. package/dist/esm/calcite-table-cell_2.entry.js +3 -3
  128. package/dist/esm/calcite-table-row.entry.js +1 -1
  129. package/dist/esm/calcite-table.entry.js +3 -3
  130. package/dist/esm/calcite-text-area.entry.js +5 -5
  131. package/dist/esm/calcite-tile-group.entry.js +1 -1
  132. package/dist/esm/calcite-tile.entry.js +1 -1
  133. package/dist/esm/calcite-time-picker.entry.js +4 -4
  134. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  135. package/dist/esm/calcite-tip.entry.js +3 -3
  136. package/dist/esm/calcite-tooltip.entry.js +3 -3
  137. package/dist/esm/calcite-tree_2.entry.js +1 -1
  138. package/dist/esm/{cs-b01aecfc.js → cs-f9bfb6dd.js} +8 -8
  139. package/dist/esm/{da-87ac64be.js → da-0528de8d.js} +8 -8
  140. package/dist/esm/{date-7a1345c1.js → date-f0c83d13.js} +1 -1
  141. package/dist/esm/{de-at-2db1a5d5.js → de-at-c7c45014.js} +8 -8
  142. package/dist/esm/{de-ch-063c0a6b.js → de-ch-e9338f1b.js} +8 -8
  143. package/dist/esm/{de-0eb6c065.js → de-d149b983.js} +8 -8
  144. package/dist/esm/{dom-451ed293.js → dom-42a638f6.js} +1 -1
  145. package/dist/esm/{el-eb29e645.js → el-d86fff8e.js} +8 -8
  146. package/dist/esm/{en-au-00f884ad.js → en-au-e722c119.js} +8 -8
  147. package/dist/esm/{en-ca-1e7456d7.js → en-ca-8f38a3b8.js} +8 -8
  148. package/dist/esm/{en-gb-60a33692.js → en-gb-24dd064c.js} +8 -8
  149. package/dist/esm/{es-74f8b164.js → es-39a9e113.js} +8 -8
  150. package/dist/esm/{es-mx-2bfa704a.js → es-mx-fa0cbd42.js} +8 -8
  151. package/dist/esm/{et-b1a2d978.js → et-51eabe80.js} +8 -8
  152. package/dist/esm/{fi-70441d5b.js → fi-64ca8666.js} +8 -8
  153. package/dist/esm/{floating-ui-4b1f5138.js → floating-ui-a14930d0.js} +1 -1
  154. package/dist/esm/{focusTrapComponent-b9709e71.js → focusTrapComponent-c1def619.js} +1 -1
  155. package/dist/esm/{form-fa4c471b.js → form-46367137.js} +1 -1
  156. package/dist/esm/{fr-ch-8faa2fcf.js → fr-ch-6fe6a6e6.js} +8 -8
  157. package/dist/esm/{fr-cea05ec9.js → fr-e20306bf.js} +8 -8
  158. package/dist/esm/{he-058ece46.js → he-32ec6cce.js} +8 -8
  159. package/dist/esm/{hi-163a268e.js → hi-da2b085c.js} +8 -8
  160. package/dist/esm/{hr-2b69b2ad.js → hr-5a52222a.js} +8 -8
  161. package/dist/esm/{hu-e46e0cb6.js → hu-d3bbacef.js} +8 -8
  162. package/dist/esm/{id-ebccdbbb.js → id-dcdac250.js} +8 -8
  163. package/dist/esm/instant-apps-app-guide.entry.js +102 -0
  164. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
  165. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  166. package/dist/esm/instant-apps-export-views.entry.js +1 -1
  167. package/dist/esm/instant-apps-export.entry.js +1 -1
  168. package/dist/esm/instant-apps-header.entry.js +1 -1
  169. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -3
  170. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
  171. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +2 -2
  172. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +7 -7
  173. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
  174. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  175. package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
  176. package/dist/esm/instant-apps-language-translator.entry.js +34 -14
  177. package/dist/esm/instant-apps-measurement.entry.js +1 -1
  178. package/dist/esm/instant-apps-popover.entry.js +1 -1
  179. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  180. package/dist/esm/instant-apps-sign-in.entry.js +1 -1
  181. package/dist/esm/instant-apps-splash.entry.js +1 -1
  182. package/dist/esm/instant-apps-time-filter.entry.js +59 -29
  183. package/dist/esm/{it-813be6d0.js → it-360f430f.js} +8 -8
  184. package/dist/esm/{it-ch-bc95119e.js → it-ch-0ec68776.js} +8 -8
  185. package/dist/esm/{ja-3488d28c.js → ja-a95cae4c.js} +8 -8
  186. package/dist/esm/{ko-54faa268.js → ko-f0edd78f.js} +8 -8
  187. package/dist/esm/{label-414f1003.js → label-f2ec1100.js} +1 -1
  188. package/dist/esm/loader.js +1 -1
  189. package/dist/esm/{locale-337dc231.js → locale-a53a7bc6.js} +1 -1
  190. package/dist/esm/{lt-8c773940.js → lt-bff432da.js} +8 -8
  191. package/dist/esm/{lv-4882a326.js → lv-0c7edf32.js} +8 -8
  192. package/dist/esm/{mk-d045a827.js → mk-876446b8.js} +8 -8
  193. package/dist/esm/{nb-529fd6f8.js → nb-25537e87.js} +8 -8
  194. package/dist/esm/{nl-ebd398ac.js → nl-8be84da3.js} +8 -8
  195. package/dist/esm/{openCloseComponent-80c6ee4b.js → openCloseComponent-9d44719e.js} +1 -1
  196. package/dist/esm/{pl-4cd334ed.js → pl-8d4fe5a7.js} +8 -8
  197. package/dist/esm/{pt-br-29226fc3.js → pt-br-3015e62b.js} +8 -8
  198. package/dist/esm/{pt-be0c86a5.js → pt-dcc887b4.js} +8 -8
  199. package/dist/esm/{ro-6555f5dd.js → ro-b973c654.js} +8 -8
  200. package/dist/esm/{ru-67b5c59c.js → ru-59a7f10b.js} +8 -8
  201. package/dist/esm/{shared-list-render-c8da5fde.js → shared-list-render-097ee366.js} +1 -1
  202. package/dist/esm/{sk-81f19081.js → sk-a00e5b97.js} +8 -8
  203. package/dist/esm/{sl-4b892d99.js → sl-55c8a748.js} +8 -8
  204. package/dist/esm/solutions-components.js +1 -1
  205. package/dist/esm/{sr-6cb6f797.js → sr-e4fc3293.js} +8 -8
  206. package/dist/esm/{sv-aacab364.js → sv-f0782d2a.js} +8 -8
  207. package/dist/esm/{t9n-7d4462c0.js → t9n-b33c486a.js} +1 -1
  208. package/dist/esm/{th-6b423678.js → th-d2abb499.js} +8 -8
  209. package/dist/esm/{time-b0bba3f9.js → time-f99aceff.js} +1 -1
  210. package/dist/esm/{tr-0e2b854e.js → tr-512413e1.js} +8 -8
  211. package/dist/esm/{uk-af0a30cc.js → uk-79fe44f1.js} +8 -8
  212. package/dist/esm/{utils-6493bff2.js → utils-6f13e31e.js} +22 -1
  213. package/dist/esm/{utils-37bc2853.js → utils-d67a6d71.js} +1 -1
  214. package/dist/esm/{vi-62071c6f.js → vi-53b51e7a.js} +8 -8
  215. package/dist/esm/{zh-cn-8f53db2f.js → zh-cn-7d19a53a.js} +8 -8
  216. package/dist/esm/{zh-hk-a8c68b9c.js → zh-hk-4fb6c3eb.js} +8 -8
  217. package/dist/esm/{zh-tw-3006115d.js → zh-tw-6a5d2c2b.js} +8 -8
  218. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +75 -0
  219. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +16 -0
  220. package/dist/solutions-components/{p-bb9492ed.js → p-022d51db.js} +1 -1
  221. package/dist/solutions-components/{p-beba6703.js → p-03f3cf77.js} +1 -1
  222. package/dist/solutions-components/{p-3955461a.js → p-03ffbb1b.js} +1 -1
  223. package/dist/solutions-components/{p-db2c82ad.js → p-0a1a9ff1.js} +1 -1
  224. package/dist/solutions-components/p-0a64be62.js +6 -0
  225. package/dist/solutions-components/{p-a0ef9cee.js → p-0ded20f0.js} +1 -1
  226. package/dist/solutions-components/{p-abc30e04.js → p-12be6545.js} +1 -1
  227. package/dist/solutions-components/{p-6384a9a5.entry.js → p-1692858b.entry.js} +1 -1
  228. package/dist/solutions-components/{p-4182a628.js → p-174aa4da.js} +3 -3
  229. package/dist/solutions-components/{p-981afe9e.entry.js → p-1826154b.entry.js} +1 -1
  230. package/dist/solutions-components/{p-109cabd8.entry.js → p-18307307.entry.js} +1 -1
  231. package/dist/solutions-components/{p-593a6f17.js → p-1a047db6.js} +1 -1
  232. package/dist/solutions-components/{p-d1371897.js → p-1df2d94d.js} +1 -1
  233. package/dist/solutions-components/{p-8badcaf5.entry.js → p-216ae423.entry.js} +1 -1
  234. package/dist/solutions-components/{p-7586e1de.entry.js → p-219f0273.entry.js} +1 -1
  235. package/dist/solutions-components/{p-ae8ed06a.entry.js → p-283e344a.entry.js} +1 -1
  236. package/dist/solutions-components/{p-7f090468.entry.js → p-2a059548.entry.js} +1 -1
  237. package/dist/solutions-components/{p-118e1989.entry.js → p-2bb9b365.entry.js} +1 -1
  238. package/dist/solutions-components/{p-fd730974.js → p-2caf1f94.js} +2 -2
  239. package/dist/solutions-components/{p-92de7cd3.entry.js → p-2cb47eff.entry.js} +2 -2
  240. package/dist/solutions-components/{p-e5736093.entry.js → p-2d2b06db.entry.js} +1 -1
  241. package/dist/solutions-components/{p-4d97016e.js → p-2d2dcf8a.js} +1 -1
  242. package/dist/solutions-components/{p-472be784.js → p-2d5e428d.js} +1 -1
  243. package/dist/solutions-components/{p-89ddc916.js → p-2e7d005f.js} +1 -1
  244. package/dist/solutions-components/{p-ef360459.entry.js → p-3016bf77.entry.js} +1 -1
  245. package/dist/solutions-components/{p-a2d4c97e.js → p-3244e59a.js} +2 -2
  246. package/dist/solutions-components/{p-54fa7a94.js → p-365169c2.js} +1 -1
  247. package/dist/solutions-components/{p-e013e797.js → p-372e4640.js} +1 -1
  248. package/dist/solutions-components/p-3d6f8c9e.entry.js +29 -0
  249. package/dist/solutions-components/{p-458a3f01.entry.js → p-3de85f54.entry.js} +1 -1
  250. package/dist/solutions-components/{p-5fe92f6e.entry.js → p-3e9a487b.entry.js} +1 -1
  251. package/dist/solutions-components/{p-2756e4ac.entry.js → p-42710186.entry.js} +1 -1
  252. package/dist/solutions-components/{p-16d721ef.entry.js → p-44270ade.entry.js} +1 -1
  253. package/dist/solutions-components/{p-d6c50190.entry.js → p-47398e76.entry.js} +1 -1
  254. package/dist/solutions-components/{p-20393dcf.entry.js → p-4881885b.entry.js} +3 -3
  255. package/dist/solutions-components/{p-5a76a4c8.entry.js → p-496b7a1f.entry.js} +1 -1
  256. package/dist/solutions-components/{p-89f14b8a.entry.js → p-4aafcac7.entry.js} +1 -1
  257. package/dist/solutions-components/{p-5d4efa42.entry.js → p-4cfe3d80.entry.js} +1 -1
  258. package/dist/solutions-components/{p-19697807.entry.js → p-4feaf7db.entry.js} +1 -1
  259. package/dist/solutions-components/{p-c8325ead.entry.js → p-50323300.entry.js} +1 -1
  260. package/dist/solutions-components/{p-f4e30ab2.js → p-50ab7903.js} +1 -1
  261. package/dist/solutions-components/{p-960a4993.entry.js → p-50c2d3e5.entry.js} +1 -1
  262. package/dist/solutions-components/{p-33fe9a28.js → p-50e2a33b.js} +1 -1
  263. package/dist/solutions-components/{p-6e0b76ce.js → p-51abfcb7.js} +1 -1
  264. package/dist/solutions-components/{p-1a7c4e9a.js → p-524a996f.js} +1 -1
  265. package/dist/solutions-components/{p-00cfce5b.entry.js → p-54879c84.entry.js} +1 -1
  266. package/dist/solutions-components/{p-8ae73529.entry.js → p-5550f101.entry.js} +2 -2
  267. package/dist/solutions-components/{p-040b6e44.entry.js → p-5714f5ca.entry.js} +1 -1
  268. package/dist/solutions-components/{p-67392838.entry.js → p-57be85fb.entry.js} +1 -1
  269. package/dist/solutions-components/{p-48c58b28.js → p-58d8ee47.js} +1 -1
  270. package/dist/solutions-components/{p-71c0a413.js → p-5959580d.js} +1 -1
  271. package/dist/solutions-components/{p-acf135cc.js → p-59695ccc.js} +1 -1
  272. package/dist/solutions-components/{p-116927af.entry.js → p-59b3e946.entry.js} +3 -3
  273. package/dist/solutions-components/{p-9c6f2672.entry.js → p-5a997dc9.entry.js} +1 -1
  274. package/dist/solutions-components/{p-c58ec2d0.js → p-5ba9df82.js} +3 -3
  275. package/dist/solutions-components/{p-78c438c0.entry.js → p-5d398871.entry.js} +1 -1
  276. package/dist/solutions-components/{p-5d8a5e53.entry.js → p-5d58d70c.entry.js} +1 -1
  277. package/dist/solutions-components/{p-4336e44a.js → p-62dadb51.js} +1 -1
  278. package/dist/solutions-components/{p-981ab7fc.entry.js → p-62ed6a7a.entry.js} +1 -1
  279. package/dist/solutions-components/{p-ea119eee.js → p-63f9004a.js} +1 -1
  280. package/dist/solutions-components/{p-b955a19b.entry.js → p-64906bb5.entry.js} +2 -2
  281. package/dist/solutions-components/{p-f7680693.js → p-65fe42ef.js} +1 -1
  282. package/dist/solutions-components/{p-441f1992.js → p-66cee72b.js} +1 -1
  283. package/dist/solutions-components/{p-da6e25cb.entry.js → p-6b1d1546.entry.js} +1 -1
  284. package/dist/solutions-components/{p-f14d11f1.js → p-6b21efce.js} +1 -1
  285. package/dist/solutions-components/{p-a8d4a522.entry.js → p-6cf1225a.entry.js} +1 -1
  286. package/dist/solutions-components/{p-a9f65057.entry.js → p-6d4db88b.entry.js} +8 -2
  287. package/dist/solutions-components/{p-c3782a7e.entry.js → p-6d894d47.entry.js} +1 -1
  288. package/dist/solutions-components/{p-26a3ba5e.entry.js → p-6e0439fa.entry.js} +1 -1
  289. package/dist/solutions-components/{p-16261018.js → p-6e118057.js} +2 -2
  290. package/dist/solutions-components/{p-0bd7752a.entry.js → p-6f594492.entry.js} +2 -2
  291. package/dist/solutions-components/{p-30903105.entry.js → p-70f2898c.entry.js} +1 -1
  292. package/dist/solutions-components/p-72bce122.entry.js +6 -0
  293. package/dist/solutions-components/{p-ddc97e93.entry.js → p-72ee63b0.entry.js} +1 -1
  294. package/dist/solutions-components/{p-24192cfe.js → p-754a5334.js} +1 -1
  295. package/dist/solutions-components/{p-fbf86656.entry.js → p-76efd680.entry.js} +1 -1
  296. package/dist/solutions-components/{p-5c0d42e9.entry.js → p-7758a533.entry.js} +1 -1
  297. package/dist/solutions-components/{p-c1242d4b.js → p-7a820f38.js} +1 -1
  298. package/dist/solutions-components/{p-a68f4775.entry.js → p-7b122a6e.entry.js} +1 -1
  299. package/dist/solutions-components/{p-3fb350ea.js → p-7e762fa7.js} +1 -1
  300. package/dist/solutions-components/{p-004d601f.entry.js → p-7f147e8b.entry.js} +1 -1
  301. package/dist/solutions-components/{p-41744516.entry.js → p-82185ebf.entry.js} +1 -1
  302. package/dist/solutions-components/{p-a16449b2.entry.js → p-827037ce.entry.js} +1 -1
  303. package/dist/solutions-components/{p-8419b5a1.entry.js → p-88c6ece3.entry.js} +1 -1
  304. package/dist/solutions-components/{p-cba777d2.js → p-8a683cdc.js} +1 -1
  305. package/dist/solutions-components/{p-42552409.js → p-8d453a3a.js} +1 -1
  306. package/dist/solutions-components/{p-886fbbe3.entry.js → p-8ef003ec.entry.js} +1 -1
  307. package/dist/solutions-components/p-8fb651e5.entry.js +6 -0
  308. package/dist/solutions-components/{p-4a35785b.js → p-92008b90.js} +1 -1
  309. package/dist/solutions-components/{p-203b4081.js → p-94397114.js} +1 -1
  310. package/dist/solutions-components/{p-50203a2d.entry.js → p-94805d7f.entry.js} +1 -1
  311. package/dist/solutions-components/p-94c518ff.entry.js +6 -0
  312. package/dist/solutions-components/{p-c5520bba.js → p-97aa6766.js} +1 -1
  313. package/dist/solutions-components/{p-2afb3a2b.js → p-984ce9da.js} +1 -1
  314. package/dist/solutions-components/{p-96919110.js → p-99e6cb74.js} +1 -1
  315. package/dist/solutions-components/{p-075a3c9d.entry.js → p-9d12b3f1.entry.js} +1 -1
  316. package/dist/solutions-components/{p-ff96d7ee.entry.js → p-9ee72dba.entry.js} +3 -3
  317. package/dist/solutions-components/{p-86ca6cfe.entry.js → p-9f3aebd0.entry.js} +1 -1
  318. package/dist/solutions-components/p-a1093fee.entry.js +6 -0
  319. package/dist/solutions-components/{p-bc86c87d.entry.js → p-a2a2c6a2.entry.js} +2 -2
  320. package/dist/solutions-components/{p-b9eefee6.entry.js → p-a2dbc38b.entry.js} +2 -2
  321. package/dist/solutions-components/{p-f4d6771a.js → p-a4255b97.js} +1 -1
  322. package/dist/solutions-components/{p-6518727d.js → p-a4e73041.js} +1 -1
  323. package/dist/solutions-components/{p-6e3f1d71.js → p-a5fc6ab7.js} +1 -1
  324. package/dist/solutions-components/{p-25ee25ea.entry.js → p-a60a2c8b.entry.js} +2 -2
  325. package/dist/solutions-components/{p-254f6e23.entry.js → p-a6a0df5c.entry.js} +1 -1
  326. package/dist/solutions-components/p-a7395caf.js +6 -0
  327. package/dist/solutions-components/{p-8eacc640.js → p-a7761371.js} +1 -1
  328. package/dist/solutions-components/{p-bdc425fc.js → p-a8b70e9a.js} +1 -1
  329. package/dist/solutions-components/{p-728ec094.entry.js → p-a8d83bc3.entry.js} +1 -1
  330. package/dist/solutions-components/p-aa36f70e.entry.js +6 -0
  331. package/dist/solutions-components/{p-57b673e2.js → p-ac92679c.js} +1 -1
  332. package/dist/solutions-components/{p-dbcfdc6d.entry.js → p-ad441ffa.entry.js} +1 -1
  333. package/dist/solutions-components/{p-01510268.entry.js → p-add869b6.entry.js} +1 -1
  334. package/dist/solutions-components/{p-9232245b.entry.js → p-b310402f.entry.js} +1 -1
  335. package/dist/solutions-components/{p-996daf05.entry.js → p-b4d708cd.entry.js} +1 -1
  336. package/dist/solutions-components/{p-6f39a13f.js → p-b7e63ac2.js} +1 -1
  337. package/dist/solutions-components/{p-c26ac7d9.entry.js → p-b9b2f7a9.entry.js} +1 -1
  338. package/dist/solutions-components/{p-2fafe489.entry.js → p-bb040eab.entry.js} +1 -1
  339. package/dist/solutions-components/{p-c5d26e3a.js → p-bcc2d4ff.js} +1 -1
  340. package/dist/solutions-components/{p-8846430d.entry.js → p-bcce9d28.entry.js} +3 -3
  341. package/dist/solutions-components/{p-b6b4c707.entry.js → p-c60c5991.entry.js} +1 -1
  342. package/dist/solutions-components/{p-ec59efb8.js → p-c6ef8cca.js} +1 -1
  343. package/dist/solutions-components/{p-7b63f249.entry.js → p-c718930a.entry.js} +1 -1
  344. package/dist/solutions-components/{p-d8a54947.js → p-c94b0e1a.js} +1 -1
  345. package/dist/solutions-components/{p-e5ec69a4.js → p-cba6953c.js} +1 -1
  346. package/dist/solutions-components/{p-976ad17d.entry.js → p-d00ca970.entry.js} +1 -1
  347. package/dist/solutions-components/p-d2033cfa.entry.js +6 -0
  348. package/dist/solutions-components/{p-4993c7b1.js → p-d2ee8b82.js} +1 -1
  349. package/dist/solutions-components/{p-228c3bf3.entry.js → p-d4ab82e3.entry.js} +1 -1
  350. package/dist/solutions-components/{p-8f840208.entry.js → p-d7711a84.entry.js} +1 -1
  351. package/dist/solutions-components/{p-b7a49673.entry.js → p-d7871f0d.entry.js} +1 -1
  352. package/dist/solutions-components/{p-1794a1aa.entry.js → p-dc264663.entry.js} +1 -1
  353. package/dist/solutions-components/{p-2ace1fe7.entry.js → p-dcaae1e9.entry.js} +2 -2
  354. package/dist/solutions-components/{p-7f31be6a.js → p-dcebc541.js} +1 -1
  355. package/dist/solutions-components/{p-faf7740b.entry.js → p-de3719f2.entry.js} +1 -1
  356. package/dist/solutions-components/{p-32cf5a71.entry.js → p-e068dfb9.entry.js} +1 -1
  357. package/dist/solutions-components/{p-1cfc581f.js → p-e0b65115.js} +1 -1
  358. package/dist/solutions-components/{p-9901e971.js → p-e0fd4006.js} +1 -1
  359. package/dist/solutions-components/{p-bd3c130b.entry.js → p-e26cf5f5.entry.js} +1 -1
  360. package/dist/solutions-components/{p-e3bb02cc.js → p-e6798e38.js} +1 -1
  361. package/dist/solutions-components/{p-546a2802.js → p-ea8d2558.js} +1 -1
  362. package/dist/solutions-components/{p-d726e895.js → p-ef187f1d.js} +1 -1
  363. package/dist/solutions-components/{p-b4d92441.entry.js → p-efca5cea.entry.js} +1 -1
  364. package/dist/solutions-components/{p-ab8f4820.entry.js → p-f4360468.entry.js} +2 -2
  365. package/dist/solutions-components/{p-35f33a32.js → p-f4d7f757.js} +1 -1
  366. package/dist/solutions-components/{p-2b212cd0.entry.js → p-f72fa647.entry.js} +1 -1
  367. package/dist/solutions-components/{p-328fbcb5.js → p-f7e45464.js} +1 -1
  368. package/dist/solutions-components/{p-4f4f00a9.js → p-f7ffcd95.js} +1 -1
  369. package/dist/solutions-components/{p-30b555dc.entry.js → p-fa7c50f8.entry.js} +1 -1
  370. package/dist/solutions-components/{p-fb95ec69.entry.js → p-fd9fb1ba.entry.js} +1 -1
  371. package/dist/solutions-components/{p-9957c7b8.entry.js → p-fdb201ff.entry.js} +1 -1
  372. package/dist/solutions-components/{p-b3b042df.js → p-fe0add26.js} +1 -1
  373. package/dist/solutions-components/{p-3f6d5f14.entry.js → p-ff105078.entry.js} +1 -1
  374. package/dist/solutions-components/{p-451b483d.entry.js → p-ff639390.entry.js} +1 -1
  375. package/dist/solutions-components/solutions-components.esm.js +1 -1
  376. package/dist/types/preact.d.ts +2 -0
  377. package/package.json +2 -2
  378. package/dist/cjs/calcite-carousel-item.cjs.entry.js +0 -46
  379. package/dist/solutions-components/p-27a25ece.entry.js +0 -6
  380. package/dist/solutions-components/p-2c00221b.js +0 -6
  381. package/dist/solutions-components/p-41c34a67.js +0 -6
  382. package/dist/solutions-components/p-72d0eda0.entry.js +0 -29
  383. package/dist/solutions-components/p-743ad3a7.entry.js +0 -6
  384. package/dist/solutions-components/p-93d8ef73.entry.js +0 -6
  385. package/dist/solutions-components/p-a0b62b46.entry.js +0 -6
  386. package/dist/solutions-components/p-aef41a6d.entry.js +0 -11
  387. package/dist/solutions-components/p-af8a7aff.entry.js +0 -6
@@ -3,14 +3,14 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{j as n,k as t,l as e,m as r,n as o,d as i,o as u}from"./p-441f1992.js";import{f as a}from"./p-0ef9d36b.js";
6
+ import{j as n,k as t,l as e,m as r,n as o,d as i,o as u}from"./p-66cee72b.js";import{f as a}from"./p-0ef9d36b.js";
7
7
  /*!
8
8
  * focus-trap 7.5.4
9
9
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
10
- */function c(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function f(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?c(Object(e),!0).forEach((function(t){var r,o,i;r=n,i=e[t],(o=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var s=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},v=function(n){return s(n)&&!n.shiftKey},l=function(n){return s(n)&&n.shiftKey},d=function(n){return setTimeout(n,0)},b=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},p=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},w=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},m=[];
10
+ */function c(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function s(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?c(Object(e),!0).forEach((function(t){var r,o,i;r=n,i=e[t],(o=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var f=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},v=function(n){return f(n)&&!n.shiftKey},l=function(n){return f(n)&&n.shiftKey},d=function(n){return setTimeout(n,0)},b=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},p=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},w=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},m=[];
11
11
  /*!
12
12
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
13
13
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
14
14
  * v2.12.2
15
15
  */
16
- function h(c,h){const{el:y}=c,F=h?.focusTrapEl||y;if(!F)return;const k={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:F,setReturnFocus:n=>(i(n),!1),...h?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:a};var O,j,D,T,g,E,N,P,A,x,B,R,S,C,I,G,K,M,U,Y,L,q,z,H;c.focusTrap=(O=F,T=(null==(j=k)?void 0:j.document)||document,g=(null==j?void 0:j.trapStack)||m,E=f({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:v,isKeyBackward:l},j),N={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},P=function(n,t,e){return n&&void 0!==n[t]?n[t]:E[e||t]},A=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return N.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},x=function(n){var t=E[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=T.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var t=x("initialFocus");if(!1===t)return!1;if(void 0===t||!n(t,E.tabbableOptions))if(A(T.activeElement)>=0)t=T.activeElement;else{var e=N.tabbableGroups[0];t=e&&e.firstTabbableNode||x("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},R=function(){if(N.containerGroups=N.containers.map((function(n){var i=t(n,E.tabbableOptions),u=e(n,E.tabbableOptions),a=i.length>0?i[0]:void 0,c=i.length>0?i[i.length-1]:void 0,f=u.find((function(n){return r(n)})),s=u.slice().reverse().find((function(n){return r(n)})),v=!!i.find((function(n){return o(n)>0}));return{container:n,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:v,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:f,lastDomTabbableNode:s,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=i.indexOf(n);return e<0?t?u.slice(u.indexOf(n)+1).find((function(n){return r(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return r(n)})):i[e+(t?1:-1)]}}})),N.tabbableGroups=N.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),N.tabbableGroups.length<=0&&!x("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(N.containerGroups.find((function(n){return n.posTabIndexesFound}))&&N.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function n(t){var e=t.activeElement;if(e)return e.shadowRoot&&null!==e.shadowRoot.activeElement?n(e.shadowRoot):e},C=function n(t){!1!==t&&t!==S(document)&&(t&&t.focus?(t.focus({preventScroll:!!E.preventScroll}),N.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(B()))},I=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},G=function(t){var e=t.target,i=t.event,u=t.isBackward,a=void 0!==u&&u;e=e||w(i),R();var c=null;if(N.tabbableGroups.length>0){var f=A(e,i),v=f>=0?N.containerGroups[f]:void 0;if(f<0)c=a?N.tabbableGroups[N.tabbableGroups.length-1].lastTabbableNode:N.tabbableGroups[0].firstTabbableNode;else if(a){var l=b(N.tabbableGroups,(function(n){return e===n.firstTabbableNode}));if(l<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e,!1))&&(l=f),l>=0){var d=N.tabbableGroups[0===l?N.tabbableGroups.length-1:l-1];c=o(e)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else s(i)||(c=v.nextTabbableNode(e,!1))}else{var p=b(N.tabbableGroups,(function(n){return e===n.lastTabbableNode}));if(p<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e))&&(p=f),p>=0){var m=N.tabbableGroups[p===N.tabbableGroups.length-1?0:p+1];c=o(e)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else s(i)||(c=v.nextTabbableNode(e))}}else c=x("fallbackFocus");return c},K=function(n){var t=w(n);A(t,n)>=0||(p(E.clickOutsideDeactivates,n)?D.deactivate({returnFocus:E.returnFocusOnDeactivate}):p(E.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=w(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(o(N.mostRecentlyFocusedNode)>0){var u=A(N.mostRecentlyFocusedNode),a=N.containerGroups[u].tabbableNodes;if(a.length>0){var c=a.findIndex((function(n){return n===N.mostRecentlyFocusedNode}));c>=0&&(E.isKeyForward(N.recentNavEvent)?c+1<a.length&&(r=a[c+1],i=!1):c-1>=0&&(r=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return o(n)>0}))}))||(i=!1);else i=!1;i&&(r=G({target:N.mostRecentlyFocusedNode,isBackward:E.isKeyBackward(N.recentNavEvent)})),C(r||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},U=function(n){if(("Escape"===(null==(t=n)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==p(E.escapeDeactivates,n))return n.preventDefault(),void D.deactivate();var t;(E.isKeyForward(n)||E.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=G({event:n,isBackward:t});e&&(s(n)&&n.preventDefault(),C(e))}(n,E.isKeyBackward(n))},Y=function(n){var t=w(n);A(t,n)>=0||p(E.clickOutsideDeactivates,n)||p(E.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},L=function(){if(N.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(g,D),N.delayInitialFocusTimer=E.delayInitialFocus?d((function(){C(B())})):C(B()),T.addEventListener("focusin",M,!0),T.addEventListener("mousedown",K,{capture:!0,passive:!1}),T.addEventListener("touchstart",K,{capture:!0,passive:!1}),T.addEventListener("click",Y,{capture:!0,passive:!1}),T.addEventListener("keydown",U,{capture:!0,passive:!1}),D},q=function(){if(N.active)return T.removeEventListener("focusin",M,!0),T.removeEventListener("mousedown",K,!0),T.removeEventListener("touchstart",K,!0),T.removeEventListener("click",Y,!0),T.removeEventListener("keydown",U,!0),D},z="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===N.mostRecentlyFocusedNode}))}))&&C(B())})):void 0,H=function(){z&&(z.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){z.observe(n,{subtree:!0,childList:!0})})))},(D={get active(){return N.active},get paused(){return N.paused},activate:function(n){if(N.active)return this;var t=P(n,"onActivate"),e=P(n,"onPostActivate"),r=P(n,"checkCanFocusTrap");r||R(),N.active=!0,N.paused=!1,N.nodeFocusedBeforeActivation=T.activeElement,null==t||t();var o=function(){r&&R(),L(),H(),null==e||e()};return r?(r(N.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!N.active)return this;var t=f({onDeactivate:E.onDeactivate,onPostDeactivate:E.onPostDeactivate,checkCanReturnFocus:E.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,q(),N.active=!1,N.paused=!1,H(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(g,D);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){d((function(){i&&C(I(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(I(N.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(n){if(N.paused||!N.active)return this;var t=P(n,"onPause"),e=P(n,"onPostPause");return N.paused=!0,null==t||t(),q(),H(),null==e||e(),this},unpause:function(n){if(!N.paused||!N.active)return this;var t=P(n,"onUnpause"),e=P(n,"onPostUnpause");return N.paused=!1,null==t||t(),R(),L(),H(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?T.querySelector(n):n})),N.active&&R(),H(),this}}).updateContainerElements(O),D)}function y(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function k(n){n.focusTrap?.updateContainerElements(n.el)}export{y as a,h as c,F as d,k as u}
16
+ function h(c,h){const{el:y}=c,F=h?.focusTrapEl||y;if(!F)return;const k={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:F,setReturnFocus:n=>(i(n),!1),...h?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:a};var O,j,D,T,g,E,N,P,A,x,B,R,S,C,I,G,K,M,U,Y,L,q,z,H;c.focusTrap=(O=F,T=(null==(j=k)?void 0:j.document)||document,g=(null==j?void 0:j.trapStack)||m,E=s({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:v,isKeyBackward:l},j),N={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},P=function(n,t,e){return n&&void 0!==n[t]?n[t]:E[e||t]},A=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return N.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},x=function(n){var t=E[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=T.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var t=x("initialFocus");if(!1===t)return!1;if(void 0===t||!n(t,E.tabbableOptions))if(A(T.activeElement)>=0)t=T.activeElement;else{var e=N.tabbableGroups[0];t=e&&e.firstTabbableNode||x("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},R=function(){if(N.containerGroups=N.containers.map((function(n){var i=t(n,E.tabbableOptions),u=e(n,E.tabbableOptions),a=i.length>0?i[0]:void 0,c=i.length>0?i[i.length-1]:void 0,s=u.find((function(n){return r(n)})),f=u.slice().reverse().find((function(n){return r(n)})),v=!!i.find((function(n){return o(n)>0}));return{container:n,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:v,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:s,lastDomTabbableNode:f,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=i.indexOf(n);return e<0?t?u.slice(u.indexOf(n)+1).find((function(n){return r(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return r(n)})):i[e+(t?1:-1)]}}})),N.tabbableGroups=N.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),N.tabbableGroups.length<=0&&!x("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(N.containerGroups.find((function(n){return n.posTabIndexesFound}))&&N.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function n(t){var e=t.activeElement;if(e)return e.shadowRoot&&null!==e.shadowRoot.activeElement?n(e.shadowRoot):e},C=function n(t){!1!==t&&t!==S(document)&&(t&&t.focus?(t.focus({preventScroll:!!E.preventScroll}),N.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(B()))},I=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},G=function(t){var e=t.target,i=t.event,u=t.isBackward,a=void 0!==u&&u;e=e||w(i),R();var c=null;if(N.tabbableGroups.length>0){var s=A(e,i),v=s>=0?N.containerGroups[s]:void 0;if(s<0)c=a?N.tabbableGroups[N.tabbableGroups.length-1].lastTabbableNode:N.tabbableGroups[0].firstTabbableNode;else if(a){var l=b(N.tabbableGroups,(function(n){return e===n.firstTabbableNode}));if(l<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e,!1))&&(l=s),l>=0){var d=N.tabbableGroups[0===l?N.tabbableGroups.length-1:l-1];c=o(e)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else f(i)||(c=v.nextTabbableNode(e,!1))}else{var p=b(N.tabbableGroups,(function(n){return e===n.lastTabbableNode}));if(p<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e))&&(p=s),p>=0){var m=N.tabbableGroups[p===N.tabbableGroups.length-1?0:p+1];c=o(e)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else f(i)||(c=v.nextTabbableNode(e))}}else c=x("fallbackFocus");return c},K=function(n){var t=w(n);A(t,n)>=0||(p(E.clickOutsideDeactivates,n)?D.deactivate({returnFocus:E.returnFocusOnDeactivate}):p(E.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=w(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(o(N.mostRecentlyFocusedNode)>0){var u=A(N.mostRecentlyFocusedNode),a=N.containerGroups[u].tabbableNodes;if(a.length>0){var c=a.findIndex((function(n){return n===N.mostRecentlyFocusedNode}));c>=0&&(E.isKeyForward(N.recentNavEvent)?c+1<a.length&&(r=a[c+1],i=!1):c-1>=0&&(r=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return o(n)>0}))}))||(i=!1);else i=!1;i&&(r=G({target:N.mostRecentlyFocusedNode,isBackward:E.isKeyBackward(N.recentNavEvent)})),C(r||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},U=function(n){if(("Escape"===(null==(t=n)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==p(E.escapeDeactivates,n))return n.preventDefault(),void D.deactivate();var t;(E.isKeyForward(n)||E.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=G({event:n,isBackward:t});e&&(f(n)&&n.preventDefault(),C(e))}(n,E.isKeyBackward(n))},Y=function(n){var t=w(n);A(t,n)>=0||p(E.clickOutsideDeactivates,n)||p(E.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},L=function(){if(N.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(g,D),N.delayInitialFocusTimer=E.delayInitialFocus?d((function(){C(B())})):C(B()),T.addEventListener("focusin",M,!0),T.addEventListener("mousedown",K,{capture:!0,passive:!1}),T.addEventListener("touchstart",K,{capture:!0,passive:!1}),T.addEventListener("click",Y,{capture:!0,passive:!1}),T.addEventListener("keydown",U,{capture:!0,passive:!1}),D},q=function(){if(N.active)return T.removeEventListener("focusin",M,!0),T.removeEventListener("mousedown",K,!0),T.removeEventListener("touchstart",K,!0),T.removeEventListener("click",Y,!0),T.removeEventListener("keydown",U,!0),D},z="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===N.mostRecentlyFocusedNode}))}))&&C(B())})):void 0,H=function(){z&&(z.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){z.observe(n,{subtree:!0,childList:!0})})))},(D={get active(){return N.active},get paused(){return N.paused},activate:function(n){if(N.active)return this;var t=P(n,"onActivate"),e=P(n,"onPostActivate"),r=P(n,"checkCanFocusTrap");r||R(),N.active=!0,N.paused=!1,N.nodeFocusedBeforeActivation=T.activeElement,null==t||t();var o=function(){r&&R(),L(),H(),null==e||e()};return r?(r(N.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!N.active)return this;var t=s({onDeactivate:E.onDeactivate,onPostDeactivate:E.onPostDeactivate,checkCanReturnFocus:E.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,q(),N.active=!1,N.paused=!1,H(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(g,D);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){d((function(){i&&C(I(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(I(N.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(n){if(N.paused||!N.active)return this;var t=P(n,"onPause"),e=P(n,"onPostPause");return N.paused=!0,null==t||t(),q(),H(),null==e||e(),this},unpause:function(n){if(!N.paused||!N.active)return this;var t=P(n,"onUnpause"),e=P(n,"onPostUnpause");return N.paused=!1,null==t||t(),R(),L(),H(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?T.querySelector(n):n})),N.active&&R(),H(),this}}).updateContainerElements(O),D)}function y(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function k(n){n.focusTrap?.updateContainerElements(n.el)}export{y as a,h as c,F as d,k as u}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{g as a}from"./p-441f1992.js";import{c,d as o,u as n,I as h}from"./p-1ce2608d.js";import{c as r,d as l,g as d}from"./p-fd730974.js";import{s as b,a as p,c as f}from"./p-3e828614.js";import{c as u,d as m}from"./p-42552409.js";import{c as y}from"./p-1c249530.js";import{c as g,s as k,d as w,u as v}from"./p-6e3f1d71.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-27d462c0.js";import"./p-64a34d92.js";
6
+ import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{g as a}from"./p-66cee72b.js";import{c,d as o,u as n,I as h}from"./p-1ce2608d.js";import{c as r,d as l,g as d}from"./p-2caf1f94.js";import{s as b,a as p,c as f}from"./p-3e828614.js";import{c as u,d as m}from"./p-8d453a3a.js";import{c as y}from"./p-1c249530.js";import{c as g,s as k,d as w,u as v}from"./p-a5fc6ab7.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-27d462c0.js";import"./p-64a34d92.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,f as a,g as o,H as s,d as n,F as l}from"./p-6eb37ed2.js";import{c,d as r}from"./p-f8d23498.js";import{h as d,i as h,e as b,s as p,y as u,b as f,B as m,t as v,C as g,d as w,g as y}from"./p-441f1992.js";import{c as x,d as k}from"./p-42552409.js";import{c as z}from"./p-d9e930c8.js";import{c as C,s as _,d as I,u as T}from"./p-6e3f1d71.js";import{C as L}from"./p-8bfa18b7.js";import{g as H}from"./p-aaa56cbf.js";import{c as S,a as j,b as W}from"./p-e3196917.js";import{c as D}from"./p-1c249530.js";import{c as A,d as E,I as F,u as M}from"./p-1ce2608d.js";import{g as R}from"./p-27d462c0.js";import{i as $}from"./p-4b9b7778.js";import{s as N,a as B,c as O}from"./p-3e828614.js";import{q as P,m as V,d as U,a as J,s as q,h as G,b as K,g as X,k as Y,t as Q,i as Z,c as tt,f as et,e as it,n as at,r as ot,j as st,l as nt,o as lt,p as ct,L as rt}from"./p-d8a54947.js";import{d as dt,c as ht}from"./p-0a165419.js";import{l as bt}from"./p-b5b66530.js";import{C as pt,S as ut}from"./p-a471ceb6.js";import{I as ft}from"./p-5de67b86.js";import{g as mt}from"./p-2058b5d9.js";import{s as vt}from"./p-36e59391.js";import{d as gt}from"./p-80cb7c73.js";import{E as wt}from"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-64a34d92.js";import"./p-8bce991a.js";import"./p-38a87c63.js";import"./p-c8d3207e.js";import"./p-0ef9d36b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";import"./p-9bb44f57.js";
6
+ import{r as t,c as e,h as i,f as a,g as o,H as s,d as n,F as l}from"./p-6eb37ed2.js";import{c,d as r}from"./p-f8d23498.js";import{h as d,i as h,e as b,s as p,y as u,b as f,B as m,t as v,C as g,d as w,g as y}from"./p-66cee72b.js";import{c as x,d as k}from"./p-8d453a3a.js";import{c as z}from"./p-d9e930c8.js";import{c as C,s as _,d as I,u as T}from"./p-a5fc6ab7.js";import{C as L}from"./p-8bfa18b7.js";import{g as H}from"./p-aaa56cbf.js";import{c as S,a as j,b as W}from"./p-e3196917.js";import{c as D}from"./p-1c249530.js";import{c as A,d as E,I as F,u as M}from"./p-1ce2608d.js";import{g as R}from"./p-27d462c0.js";import{i as $}from"./p-4b9b7778.js";import{s as N,a as B,c as O}from"./p-3e828614.js";import{q as P,m as V,d as U,a as J,s as q,h as G,b as K,g as X,k as Y,t as Q,i as Z,c as tt,f as et,e as it,n as at,r as ot,j as st,l as nt,o as lt,p as ct,L as rt}from"./p-c94b0e1a.js";import{d as dt,c as ht}from"./p-0a165419.js";import{l as bt}from"./p-b5b66530.js";import{C as pt,S as ut}from"./p-a471ceb6.js";import{I as ft}from"./p-5de67b86.js";import{g as mt}from"./p-2058b5d9.js";import{s as vt}from"./p-36e59391.js";import{d as gt}from"./p-80cb7c73.js";import{E as wt}from"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-64a34d92.js";import"./p-8bce991a.js";import"./p-38a87c63.js";import"./p-c8d3207e.js";import"./p-0ef9d36b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";import"./p-9bb44f57.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(m,null,!0);export{m as default}
6
+ import{d as e}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(m,null,!0);export{m as default}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as o}from"./p-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};o.locale(m,null,!0);export{m as default}
6
+ import{d as o}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var e={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};o.locale(e,null,!0);export{e as default}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,f as s,H as a,g as o}from"./p-6eb37ed2.js";import{c as r,d as n,H as c}from"./p-54fa7a94.js";import{c as l,d as h,g as d}from"./p-fd730974.js";import{t as f,s as p}from"./p-441f1992.js";import{c as b,d as m,n as g}from"./p-42552409.js";import{c as u}from"./p-1c249530.js";import{b as v,s as x,a as y,c as k}from"./p-3e828614.js";import{c as z,s as w,d as j,u as L}from"./p-6e3f1d71.js";import{c as H,u as C,d as A,I as M}from"./p-1ce2608d.js";import{g as W}from"./p-aaa56cbf.js";import{V as I}from"./p-ef67c743.js";import{s as S}from"./p-14f027b5.js";import{t as D}from"./p-29edb87c.js";import"./p-27d462c0.js";import"./p-8bfa18b7.js";import"./p-64a34d92.js";import"./p-4b9b7778.js";import"./p-c8d3207e.js";
6
+ import{r as t,c as e,h as i,f as s,H as a,g as o}from"./p-6eb37ed2.js";import{c as r,d as n,H as c}from"./p-365169c2.js";import{c as l,d as h,g as d}from"./p-2caf1f94.js";import{t as f,s as p}from"./p-66cee72b.js";import{c as b,d as m,n as g}from"./p-8d453a3a.js";import{c as u}from"./p-1c249530.js";import{b as v,s as x,a as y,c as k}from"./p-3e828614.js";import{c as z,s as w,d as j,u as L}from"./p-a5fc6ab7.js";import{c as H,u as C,d as A,I as M}from"./p-1ce2608d.js";import{g as W}from"./p-aaa56cbf.js";import{V as I}from"./p-ef67c743.js";import{s as S}from"./p-14f027b5.js";import{t as D}from"./p-29edb87c.js";import"./p-27d462c0.js";import"./p-8bfa18b7.js";import"./p-64a34d92.js";import"./p-4b9b7778.js";import"./p-c8d3207e.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as a,H as s,g as i}from"./p-6eb37ed2.js";import{g as n}from"./p-ac122d9e.js";import{S as h}from"./p-7530a02f.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"4b3b100dce96ff66679c1d9354dc220cf898b947"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),Promise.resolve()}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
6
+ import{r as t,c as e,h as a,H as s,g as i}from"./p-6eb37ed2.js";import{g as n}from"./p-ac122d9e.js";import{S as h}from"./p-7530a02f.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"f2d1760c4a1345ef24c913a24f95691d0de6867d"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),Promise.resolve()}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as n,c as t,h as i,H as e,g as a}from"./p-6eb37ed2.js";import{l as o}from"./p-4cd4cb85.js";import{g as s}from"./p-3d0e9be4.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p="instant-apps-export calcite-mode-light",l="instant-apps-export-print",c="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await o(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"1b0428743837a0f1c176cba3e58af38104f4ac7b"},i("div",{key:"8d39535015a0e5ab498a66c8757c28ae556bd326",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const a=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},a),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,a=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),a)}renderSwitch(n,t){var e;const a=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},a,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:l,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var a,o;const s=null===(o=null===(a=t.map)||void 0===a?void 0:a.portalItem)||void 0===o?void 0:o.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,l=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,l)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:c})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const a=this.printEl.querySelector(`#popup-${t}`);if(null!=a&&(a.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const a=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);a.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",a.className="esri-widget__heading esri-popup__header-title";const o=this.printEl.querySelector(`#popup-title-${t}`);null!=o&&(o.style.display=n.popup.title?"block":"none",o.innerHTML="",o.prepend(a))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],a=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&a?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const a=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(a),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),a)}))}}handleLegendCreation(n,t){var i,e,a,o;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],l=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(a=null==r?void 0:r.portalItem)||void 0===a?void 0:a.id)===(null===(o=null==l?void 0:l.portalItem)||void 0===o?void 0:o.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[a]=await o(["esri/widgets/Legend"]);this.legends[t]=new a({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,a;const o=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=o){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(a=null==p?void 0:p.portalItem)||void 0===a?void 0:a.id)||this.updateCompass(n,t,o)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[a]=await o(["esri/widgets/Compass"]);this.compasses[t]=new a({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const a=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=a&&(a.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const a=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),o=document.createElement("img");o.src=e;const s=n.getAttribute("style");s&&o.setAttribute("style",s);const r=a[t];null!=r&&(r.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=o.parentElement)||void 0===i?void 0:i.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const a=n.data.width/2,o=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,o/a*100+"%")}}get el(){return a(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":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{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__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:0.5rem}.instant-apps-export .calcite-mode-dark 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 rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
6
+ import{r as n,c as t,h as i,H as e,g as o}from"./p-6eb37ed2.js";import{l as a}from"./p-4cd4cb85.js";import{g as s}from"./p-3d0e9be4.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p="instant-apps-export calcite-mode-light",c="instant-apps-export-print",l="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await a(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"52f53735afba2085f45bdd8ba64e8e37b48318bb"},i("div",{key:"ac8fc3e66ccc5f9c27e25642bbe640c3fc8c7d33",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const o=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},o),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,o=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),o)}renderSwitch(n,t){var e;const o=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:c,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var o,a;const s=null===(a=null===(o=t.map)||void 0===o?void 0:o.portalItem)||void 0===a?void 0:a.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,c=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,c)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:l})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const o=this.printEl.querySelector(`#popup-${t}`);if(null!=o&&(o.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const o=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);o.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",o.className="esri-widget__heading esri-popup__header-title";const a=this.printEl.querySelector(`#popup-title-${t}`);null!=a&&(a.style.display=n.popup.title?"block":"none",a.innerHTML="",a.prepend(o))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],o=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&o?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const o=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(o),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),o)}))}}handleLegendCreation(n,t){var i,e,o,a;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],c=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(o=null==r?void 0:r.portalItem)||void 0===o?void 0:o.id)===(null===(a=null==c?void 0:c.portalItem)||void 0===a?void 0:a.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[o]=await a(["esri/widgets/Legend"]);this.legends[t]=new o({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,o;const a=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=a){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(o=null==p?void 0:p.portalItem)||void 0===o?void 0:o.id)||this.updateCompass(n,t,a)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[o]=await a(["esri/widgets/Compass"]);this.compasses[t]=new o({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const o=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=o&&(o.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const o=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),a=document.createElement("img");a.src=e;const s=n.getAttribute("style");s&&a.setAttribute("style",s);const r=o[t];null!=r&&(r.replaceWith(a),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=a.parentElement)||void 0===i?void 0:i.parentElement)&&(a.parentElement.style.background="#242424",a.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const o=n.data.width/2,a=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,a/o*100+"%")}}get el(){return o(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":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{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__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:0.5rem}.instant-apps-export .calcite-mode-dark 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 rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as t,h as c,H as o,g as i}from"./p-6eb37ed2.js";import{s as a,g as n,t as r}from"./p-441f1992.js";import{c as s,d as l}from"./p-42552409.js";import{c as d,d as h,s as p,u as b}from"./p-6e3f1d71.js";import{c as f,a as m,s as v}from"./p-3e828614.js";import{c as g,u,d as k,I as w}from"./p-1ce2608d.js";import{i as x}from"./p-64a34d92.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
6
+ import{r as e,c as t,h as c,H as o,g as i}from"./p-6eb37ed2.js";import{s as a,g as n,t as r}from"./p-66cee72b.js";import{c as s,d as l}from"./p-8d453a3a.js";import{c as d,d as h,s as p,u as b}from"./p-a5fc6ab7.js";import{c as f,a as m,s as v}from"./p-3e828614.js";import{c as g,u,d as k,I as w}from"./p-1ce2608d.js";import{i as x}from"./p-64a34d92.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,g as s}from"./p-6eb37ed2.js";import{n as a}from"./p-64a34d92.js";import{i as c,c as o,d as h}from"./p-42552409.js";import{u as n,c as r,s as l,d}from"./p-6e3f1d71.js";import{a as u,p as b,i as p,b as m,g as f,c as k,d as v,e as w,h as g,j as y,m as x}from"./p-abc30e04.js";import{g as S}from"./p-27d462c0.js";import{c as D,s as $,a as I}from"./p-3e828614.js";import{d as z,g as A}from"./p-d9e930c8.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
6
+ import{r as t,c as i,h as e,g as s}from"./p-6eb37ed2.js";import{n as a}from"./p-64a34d92.js";import{i as c,c as o,d as h}from"./p-8d453a3a.js";import{u as n,c as r,s as l,d}from"./p-a5fc6ab7.js";import{a as u,p as b,i as p,b as m,g as f,c as k,d as v,e as w,h as g,j as y,m as x}from"./p-12be6545.js";import{g as S}from"./p-27d462c0.js";import{c as D,s as $,a as I}from"./p-3e828614.js";import{d as z,g as A}from"./p-d9e930c8.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{q as n,r as t,a as e}from"./p-441f1992.js";import{c}from"./p-27d462c0.js";
6
+ import{p as n,q as t,a as e}from"./p-66cee72b.js";import{c}from"./p-27d462c0.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
10
  * v2.12.2
11
- */const o="calciteInternalLabelClick",s="calciteInternalLabelConnected",a="calciteInternalLabelDisconnected",r="calcite-label",i=new WeakMap,u=new WeakMap,f=new WeakMap,l=new WeakMap,m=new Set,d=n=>{const{id:c}=n,o=c&&t(n,{selector:`${r}[for="${c}"]`});if(o)return o;const s=e(n,r);return!s||function(n,t){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(t),o.indexOf(n))};n.addEventListener(c,o,{once:!0}),t.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),n.removeEventListener(c,o);return e.filter((e=>e!==t&&e!==n)).filter((n=>n.tagName?.includes("-"))).length>0}(s,n)?null:s};function p(n){if(!n)return;const t=d(n.el);if(u.has(t)&&t===n.labelEl||!t&&m.has(n))return;const e=W.bind(n);if(t){n.labelEl=t;const c=i.get(t)||[];c.push(n),i.set(t,c.sort(h)),u.has(n.labelEl)||(u.set(n.labelEl,w),n.labelEl.addEventListener(o,w)),m.delete(n),document.removeEventListener(s,f.get(n)),l.set(n,e),document.addEventListener(a,e)}else m.has(n)||(e(),document.removeEventListener(a,l.get(n)))}function b(n){if(!n)return;if(m.delete(n),document.removeEventListener(s,f.get(n)),document.removeEventListener(a,l.get(n)),f.delete(n),l.delete(n),!n.labelEl)return;const t=i.get(n.labelEl);1===t.length&&(n.labelEl.removeEventListener(o,u.get(n.labelEl)),u.delete(n.labelEl)),i.set(n.labelEl,t.filter((t=>t!==n)).sort(h)),n.labelEl=null}function h(t,e){return n(t.el,e.el)?-1:1}function k(n){return n.label||n.labelEl?.textContent?.trim()||""}function w(n){const t=n.detail.sourceEvent.target,e=i.get(this),c=e.find((n=>n.el===t));if(e.includes(c))return;const o=e[0];o.disabled||o.onLabelClick(n)}function M(){m.has(this)&&p(this)}function W(){m.add(this);const n=f.get(this)||M.bind(this);f.set(this,n),document.addEventListener(s,n)}async function C(n){if(await c(n),i.has(n))return;const t=n.ownerDocument?.getElementById(n.for);t&&requestAnimationFrame((()=>{for(const n of m)if(n.el===t){p(n);break}}))}export{C as a,a as b,p as c,b as d,k as g,s as l}
11
+ */const o="calciteInternalLabelClick",s="calciteInternalLabelConnected",a="calciteInternalLabelDisconnected",i="calcite-label",r=new WeakMap,u=new WeakMap,f=new WeakMap,l=new WeakMap,m=new Set,d=n=>{const{id:c}=n,o=c&&t(n,{selector:`${i}[for="${c}"]`});if(o)return o;const s=e(n,i);return!s||function(n,t){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(t),o.indexOf(n))};n.addEventListener(c,o,{once:!0}),t.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),n.removeEventListener(c,o);return e.filter((e=>e!==t&&e!==n)).filter((n=>n.tagName?.includes("-"))).length>0}(s,n)?null:s};function p(n){if(!n)return;const t=d(n.el);if(u.has(t)&&t===n.labelEl||!t&&m.has(n))return;const e=W.bind(n);if(t){n.labelEl=t;const c=r.get(t)||[];c.push(n),r.set(t,c.sort(h)),u.has(n.labelEl)||(u.set(n.labelEl,w),n.labelEl.addEventListener(o,w)),m.delete(n),document.removeEventListener(s,f.get(n)),l.set(n,e),document.addEventListener(a,e)}else m.has(n)||(e(),document.removeEventListener(a,l.get(n)))}function b(n){if(!n)return;if(m.delete(n),document.removeEventListener(s,f.get(n)),document.removeEventListener(a,l.get(n)),f.delete(n),l.delete(n),!n.labelEl)return;const t=r.get(n.labelEl);1===t.length&&(n.labelEl.removeEventListener(o,u.get(n.labelEl)),u.delete(n.labelEl)),r.set(n.labelEl,t.filter((t=>t!==n)).sort(h)),n.labelEl=null}function h(t,e){return n(t.el,e.el)?-1:1}function k(n){return n.label||n.labelEl?.textContent?.trim()||""}function w(n){const t=n.detail.sourceEvent.target,e=r.get(this),c=e.find((n=>n.el===t));if(e.includes(c))return;const o=e[0];o.disabled||o.onLabelClick(n)}function M(){m.has(this)&&p(this)}function W(){m.add(this);const n=f.get(this)||M.bind(this);f.set(this,n),document.addEventListener(s,n)}async function C(n){if(await c(n),r.has(n))return;const t=n.ownerDocument?.getElementById(n.for);t&&requestAnimationFrame((()=>{for(const n of m)if(n.el===t){p(n);break}}))}export{C as a,a as b,p as c,b as d,k as g,s as l}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,c as e,h as t,H as a,g as n}from"./p-6eb37ed2.js";import{v as s,h as o,f as c}from"./p-441f1992.js";import{d as l,a as h,c as r,u as d}from"./p-4182a628.js";import{s as p,a as m,c as b}from"./p-3e828614.js";import{c as x}from"./p-1c249530.js";import{o as v}from"./p-16261018.js";import{C as g}from"./p-8bfa18b7.js";import"./p-aaa56cbf.js";import"./p-0ef9d36b.js";import"./p-4b9b7778.js";
6
+ import{r as i,c as e,h as t,H as a,g as n}from"./p-6eb37ed2.js";import{u as s,h as o,f as c}from"./p-66cee72b.js";import{d as l,a as h,c as r,u as d}from"./p-174aa4da.js";import{s as p,a as m,c as b}from"./p-3e828614.js";import{c as x}from"./p-1c249530.js";import{o as v}from"./p-6e118057.js";import{C as g}from"./p-8bfa18b7.js";import"./p-aaa56cbf.js";import"./p-0ef9d36b.js";import"./p-4b9b7778.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
10
  * v2.12.2
11
- */const f="container",w="container--open",y="content",u="container--embedded",k=class{constructor(t){i(this,t),this.calciteSheetBeforeClose=e(this,"calciteSheetBeforeClose",6),this.calciteSheetClose=e(this,"calciteSheetClose",6),this.calciteSheetBeforeOpen=e(this,"calciteSheetBeforeOpen",6),this.calciteSheetOpen=e(this,"calciteSheetOpen",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=x("mutation",(()=>this.handleMutationObserver())),this.setContentId=i=>{this.contentId=s(i)},this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeSheet=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.opened=!1,this.removeOverflowHiddenClass()},this.beforeClose=void 0,this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.heightScale="m",this.focusTrapDisabled=!1,this.label=void 0,this.open=!1,this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.widthScale="m"}handleFocusTrapDisabled(i){this.open&&(i?l(this):h(this))}toggleSheet(i){this.ignoreOpenChange||(i?this.openSheet():this.closeSheet())}handleOpenedChange(){v(this)}async componentWillLoad(){p(this),this.open&&requestAnimationFrame((()=>this.openSheet()))}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),r(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),l(this),this.embedded=!1}render(){const i=o(this.el);return t(a,{key:"682efb5e9586947743259232dfed9a90ef44b4c2","aria-describedby":this.contentId,"aria-label":this.label,"aria-modal":"true",role:"dialog"},t("div",{key:"ed1647113f217d7fe34ec91fdbc7fa60310c33a2",class:{[f]:!0,[w]:this.opened,[u]:this.embedded,[g.rtl]:"rtl"===i},ref:this.setTransitionEl},t("calcite-scrim",{key:"a5dd8c8d81bb5d5536a43113f09120dfb708cf14",class:"scrim",onClick:this.handleOutsideClose}),t("div",{key:"350faeae89f75b8e52079cd68c28ee66c1162762",class:{[y]:!0},ref:this.setContentId},t("slot",{key:"8a0e9e782232088a62efa78881f6f165e2d01d4e"}))))}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await b(this),c(this.el)}async updateFocusTrapElements(){d(this)}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),h(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),l(this)}openSheet(){this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.embedded||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],open:["toggleSheet"],opened:["handleOpenedChange"]}}};k.style=":host{position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden !important;--calcite-sheet-scrim-background-internal:rgba(0, 0, 0, 0.85);--calcite-scrim-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04)}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);display:flex;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal:translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal:translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .container,:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .container,:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([display-mode=float][position^=inline]) .container{block-size:calc(100% - 1.5rem);max-block-size:calc(100% - 1.5rem);min-block-size:calc(100% - 1.5rem)}:host([display-mode=float][position^=block]) .container{inline-size:calc(100% - 1.5rem);max-inline-size:calc(100% - 1.5rem);min-inline-size:calc(100% - 1.5rem)}:host([position^=inline][width-scale=s]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 260px)}:host([position^=inline][width-scale=m]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 300px)}:host([position^=inline][width-scale=l]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 340px)}:host([position^=block][height-scale=s]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 30vh)}:host([position^=block][height-scale=m]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 50vh)}:host([position^=block][height-scale=l]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background:var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}:host([opened]){visibility:visible !important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:block;max-inline-size:100%;overflow-y:hidden;padding:0px;background-color:var(--calcite-color-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transform:var(--calcite-sheet-hidden-position-internal)}.container--open .content{transform:translate3d(0, 0, 0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container{border-radius:0.25rem}:host([display-mode=float]) .container{padding:0.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_sheet}
11
+ */const w="container",f="container--open",y="content",u="container--embedded",k=class{constructor(t){i(this,t),this.calciteSheetBeforeClose=e(this,"calciteSheetBeforeClose",6),this.calciteSheetClose=e(this,"calciteSheetClose",6),this.calciteSheetBeforeOpen=e(this,"calciteSheetBeforeOpen",6),this.calciteSheetOpen=e(this,"calciteSheetOpen",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=x("mutation",(()=>this.handleMutationObserver())),this.setContentId=i=>{this.contentId=s(i)},this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeSheet=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.opened=!1,this.removeOverflowHiddenClass()},this.beforeClose=void 0,this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.heightScale="m",this.focusTrapDisabled=!1,this.label=void 0,this.open=!1,this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.widthScale="m"}handleFocusTrapDisabled(i){this.open&&(i?l(this):h(this))}toggleSheet(i){this.ignoreOpenChange||(i?this.openSheet():this.closeSheet())}handleOpenedChange(){v(this)}async componentWillLoad(){p(this),this.open&&requestAnimationFrame((()=>this.openSheet()))}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),r(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),l(this),this.embedded=!1}render(){const i=o(this.el);return t(a,{key:"682efb5e9586947743259232dfed9a90ef44b4c2","aria-describedby":this.contentId,"aria-label":this.label,"aria-modal":"true",role:"dialog"},t("div",{key:"ed1647113f217d7fe34ec91fdbc7fa60310c33a2",class:{[w]:!0,[f]:this.opened,[u]:this.embedded,[g.rtl]:"rtl"===i},ref:this.setTransitionEl},t("calcite-scrim",{key:"a5dd8c8d81bb5d5536a43113f09120dfb708cf14",class:"scrim",onClick:this.handleOutsideClose}),t("div",{key:"350faeae89f75b8e52079cd68c28ee66c1162762",class:{[y]:!0},ref:this.setContentId},t("slot",{key:"8a0e9e782232088a62efa78881f6f165e2d01d4e"}))))}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await b(this),c(this.el)}async updateFocusTrapElements(){d(this)}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),h(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),l(this)}openSheet(){this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.embedded||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],open:["toggleSheet"],opened:["handleOpenedChange"]}}};k.style=":host{position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden !important;--calcite-sheet-scrim-background-internal:rgba(0, 0, 0, 0.85);--calcite-scrim-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04)}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);display:flex;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal:translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal:translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .container,:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .container,:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([display-mode=float][position^=inline]) .container{block-size:calc(100% - 1.5rem);max-block-size:calc(100% - 1.5rem);min-block-size:calc(100% - 1.5rem)}:host([display-mode=float][position^=block]) .container{inline-size:calc(100% - 1.5rem);max-inline-size:calc(100% - 1.5rem);min-inline-size:calc(100% - 1.5rem)}:host([position^=inline][width-scale=s]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 260px)}:host([position^=inline][width-scale=m]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 300px)}:host([position^=inline][width-scale=l]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 340px)}:host([position^=block][height-scale=s]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 30vh)}:host([position^=block][height-scale=m]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 50vh)}:host([position^=block][height-scale=l]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background:var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}:host([opened]){visibility:visible !important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:block;max-inline-size:100%;overflow-y:hidden;padding:0px;background-color:var(--calcite-color-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transform:var(--calcite-sheet-hidden-position-internal)}.container--open .content{transform:translate3d(0, 0, 0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container{border-radius:0.25rem}:host([display-mode=float]) .container{padding:0.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_sheet}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as n,h as t,g as a}from"./p-6eb37ed2.js";import{v as i,g as s}from"./p-1e4aca17.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";const p=class{constructor(t){e(this,t),this.groupLayerCaptionElementExpandUpdatedEvent=n(this,"groupLayerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){var e,n,a,p;const l=i(this.activeLayerInfo),{expanded:c}=this,r=c?null===(e=this.messages)||void 0===e?void 0:e.collapse:null===(n=this.messages)||void 0===n?void 0:n.expand,d=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t("header",{key:"09f5ee7f348855813f75b775b87f2f9de12e3792",class:`instant-apps-interactive-legend__header ${s(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},t("span",{key:"2a720ba9d488b06550ed955d84a150501aa03a2f"},t("span",{key:"17c9b3a7e76ad853844d1c4cdbfd4aa74470a524",class:"instant-apps-interactive-legend__header-action-container"},t("calcite-action",{key:"7bc8909822ef97fe40721b80ce062abf93d825db",onClick:this.toggleExpanded(),icon:c?"chevron-down":"chevron-up",appearance:"transparent",text:r,label:r,scale:"s"}),t("h3",{key:"0a30cf8669b622aeb47c595f30df3a26202c5111",class:`esri-widget__heading esri-legend__service-label${d}`,title:null===(a=this.activeLayerInfo)||void 0===a?void 0:a.title},null===(p=this.activeLayerInfo)||void 0===p?void 0:p.title)),this.featureCount&&l?t("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return a(this)}};p.style=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden;margin:0;overflow-x:hidden;display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}";export{p as instant_apps_interactive_legend_group_legend_element_caption}
6
+ import{r as e,c as n,h as t,g as i}from"./p-6eb37ed2.js";import{v as a,g as s}from"./p-1e4aca17.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";const p=class{constructor(t){e(this,t),this.groupLayerCaptionElementExpandUpdatedEvent=n(this,"groupLayerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){var e,n,i,p;const c=a(this.activeLayerInfo),{expanded:l}=this,d=l?null===(e=this.messages)||void 0===e?void 0:e.collapse:null===(n=this.messages)||void 0===n?void 0:n.expand,r=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t("header",{key:"f7fc15a482577d3dc46bf2c75a7e3349d7565654",class:`instant-apps-interactive-legend__header ${s(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},t("span",{key:"e8652d3efbba23460e516c7a482b9c58711bfd6e"},t("span",{key:"0b3aa10dd2da8634101fca455b5a611f6d3e4436",class:"instant-apps-interactive-legend__header-action-container"},t("calcite-action",{key:"3f311642dd154822d105fa5ecd21bd5cfe7dcf0c",onClick:this.toggleExpanded(),icon:l?"chevron-down":"chevron-up",appearance:"transparent",text:d,label:d,scale:"s"}),t("h3",{key:"0d7eb0a5958b4f661772f59faf287836818aaeeb",class:`esri-widget__heading esri-legend__service-label${r}`,title:null===(i=this.activeLayerInfo)||void 0===i?void 0:i.title},null===(p=this.activeLayerInfo)||void 0===p?void 0:p.title)),this.featureCount&&c?t("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return i(this)}};p.style=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden;margin:0;overflow-x:hidden;display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}";export{p as instant_apps_interactive_legend_group_legend_element_caption}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};_.locale(m,null,!0);export{m as default}
6
+ import{d as _}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};_.locale(m,null,!0);export{m as default}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),p="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),m="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),s=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function o(_,r,t){var p,m;return"m"===t?r?"минута":"минуту":_+" "+(p=+_,m={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),p%10==1&&p%100!=11?m[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?m[1]:m[2])}var e=function(_,p){return s.test(p)?r[_.month()]:t[_.month()]};e.s=t,e.f=r;var i=function(_,r){return s.test(r)?p[_.month()]:m[_.month()]};i.s=m,i.f=p;var a={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:e,monthsShort:i,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:o,mm:o,h:"час",hh:o,d:"день",dd:o,M:"месяц",MM:o,y:"год",yy:o},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(a,null,!0);export{a as default}
6
+ import{d as _}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),p="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),m="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),s=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function o(_,r,t){var p,m;return"m"===t?r?"минута":"минуту":_+" "+(p=+_,m={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),p%10==1&&p%100!=11?m[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?m[1]:m[2])}var e=function(_,p){return s.test(p)?r[_.month()]:t[_.month()]};e.s=t,e.f=r;var a=function(_,r){return s.test(r)?p[_.month()]:m[_.month()]};a.s=m,a.f=p;var i={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:e,monthsShort:a,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:o,mm:o,h:"час",hh:o,d:"день",dd:o,M:"месяц",MM:o,y:"год",yy:o},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(i,null,!0);export{i as default}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export{m as default}
6
+ import{d as _}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export{m as default}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,H as s,g as o}from"./p-6eb37ed2.js";import{f as a,t as n,b as c,d as r}from"./p-441f1992.js";import{f as l,c as d,d as h,a as p,F as m,r as f}from"./p-2afb3a2b.js";import{g as b}from"./p-aaa56cbf.js";import{c as u,u as w,d as g,I as v}from"./p-1ce2608d.js";import{i as y}from"./p-64a34d92.js";import{c as k,s as x,a as D}from"./p-3e828614.js";import{c as I}from"./p-1c249530.js";import{o as z}from"./p-16261018.js";import{g as E}from"./p-27d462c0.js";import{C}from"./p-b5575639.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-c8d3207e.js";
6
+ import{r as t,c as e,h as i,H as s,g as o}from"./p-6eb37ed2.js";import{f as a,t as n,b as c,d as r}from"./p-66cee72b.js";import{f as l,c as d,d as h,a as p,F as m,r as f}from"./p-984ce9da.js";import{g as b}from"./p-aaa56cbf.js";import{c as u,u as w,d as g,I as v}from"./p-1ce2608d.js";import{i as y}from"./p-64a34d92.js";import{c as k,s as x,a as D}from"./p-3e828614.js";import{c as I}from"./p-1c249530.js";import{o as z}from"./p-6e118057.js";import{g as E}from"./p-27d462c0.js";import{C}from"./p-b5575639.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-c8d3207e.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{f as t,h as e}from"./p-6eb37ed2.js";import{h as o}from"./p-441f1992.js";import{S as a}from"./p-150394be.js";import{S as n}from"./p-fa56b7c2.js";
6
+ import{f as t,h as e}from"./p-6eb37ed2.js";import{h as o}from"./p-66cee72b.js";import{S as a}from"./p-150394be.js";import{S as n}from"./p-fa56b7c2.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
10
  * v2.12.2
11
- */const i=t=>t.reduce(((t,e)=>t+e),0)/t.length,c=t=>{const e=t.filter((t=>t.slot!==a.menuActions)),o=e?.length;return{actionWidth:o?i(e.map((t=>t.clientWidth||0))):0,actionHeight:o?i(e.map((t=>t.clientHeight||0))):0}},l=({layout:t,actionCount:e,actionWidth:o,width:a,actionHeight:n,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:a,actionHeight:n,groupCount:i})=>Math.floor((("horizontal"===o?t:a)-2*i)/("horizontal"===o?e:n)))({width:a,actionWidth:o,layout:t,height:i,actionHeight:n,groupCount:c}),0),r=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),s=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=r(e).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(e)}))};function p({el:t,expanded:e}){r(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const h=({expanded:t,expandText:a,collapseText:n,expandLabel:i,collapseLabel:c,toggle:l,el:r,position:s,tooltip:p,ref:h,scale:d})=>{const u="rtl"===o(r),f=t?n:a,g=t?c:i,m=["chevrons-left","chevrons-right"];u&&m.reverse();const x="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(s,r),b=e("calcite-action",{icon:t?x?m[1]:m[0]:x?m[0]:m[1],id:"expand-toggle",label:g,onClick:l,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:a})=>(t&&(t.referenceElement=!o&&e?e:null),a&&a(e),e))({tooltip:p,referenceElement:e,expanded:t,ref:h}),scale:d,text:f,textEnabled:t,title:t||p?null:f});return b};export{h as E,l as a,c as g,s as o,r as q,p as t}
11
+ */const i=t=>t.reduce(((t,e)=>t+e),0)/t.length,c=t=>{const e=t.filter((t=>t.slot!==a.menuActions)),o=e?.length;return{actionWidth:o?i(e.map((t=>t.clientWidth||0))):0,actionHeight:o?i(e.map((t=>t.clientHeight||0))):0}},l=({layout:t,actionCount:e,actionWidth:o,width:a,actionHeight:n,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:a,actionHeight:n,groupCount:i})=>Math.floor((("horizontal"===o?t:a)-2*i)/("horizontal"===o?e:n)))({width:a,actionWidth:o,layout:t,height:i,actionHeight:n,groupCount:c}),0),r=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),s=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=r(e).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(e)}))};function p({el:t,expanded:e}){r(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const h=({expanded:t,expandText:a,collapseText:n,expandLabel:i,collapseLabel:c,toggle:l,el:r,position:s,tooltip:p,ref:h,scale:d})=>{const u="rtl"===o(r),g=t?n:a,f=t?c:i,m=["chevrons-left","chevrons-right"];u&&m.reverse();const x="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(s,r),b=e("calcite-action",{icon:t?x?m[1]:m[0]:x?m[0]:m[1],id:"expand-toggle",label:f,onClick:l,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:a})=>(t&&(t.referenceElement=!o&&e?e:null),a&&a(e),e))({tooltip:p,referenceElement:e,expanded:t,ref:h}),scale:d,text:g,textEnabled:t,title:t||p?null:g});return b};export{h as E,l as a,c as g,s as o,r as q,p as t}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{h as n}from"./p-6eb37ed2.js";import{r as t,a as i}from"./p-441f1992.js";
6
+ import{h as n}from"./p-6eb37ed2.js";import{q as t,a as i}from"./p-66cee72b.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-b3b042df.js";import"./p-6eb37ed2.js";import"./p-54fa7a94.js";import"./p-441f1992.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-fd730974.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-42552409.js";import"./p-1c249530.js";import"./p-4182a628.js";import"./p-0ef9d36b.js";import"./p-abc30e04.js";import"./p-d9e930c8.js";import"./p-6e3f1d71.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var o={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(o,null,!0);export{o as default}
6
+ import{d as a}from"./p-fe0add26.js";import"./p-6eb37ed2.js";import"./p-365169c2.js";import"./p-66cee72b.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-2caf1f94.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-8d453a3a.js";import"./p-1c249530.js";import"./p-174aa4da.js";import"./p-0ef9d36b.js";import"./p-12be6545.js";import"./p-d9e930c8.js";import"./p-a5fc6ab7.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var e={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};a.locale(e,null,!0);export{e as default}