@zanichelli/albe-web-components 19.2.2 → 19.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/web-components-library.cjs.js +1 -1
  4. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/z-app-header_12.cjs.entry.js +4 -4
  6. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  7. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  9. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  10. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  11. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  12. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  13. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  14. package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
  15. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  16. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  17. package/dist/cjs/z-notification.cjs.entry.js +3 -2
  18. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  19. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  20. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  21. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  22. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  23. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  24. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  25. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  26. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  27. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  28. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  29. package/dist/cjs/z-tool.cjs.entry.js +2 -2
  30. package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
  31. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  32. package/dist/collection/components/z-input/styles.css +5 -3
  33. package/dist/collection/components/z-notification/index.js +21 -1
  34. package/dist/collection/components/z-notification/index.js.map +1 -1
  35. package/dist/collection/components/z-notification/index.stories.js +31 -5
  36. package/dist/collection/components/z-notification/index.stories.js.map +1 -1
  37. package/dist/collection/components/z-notification/styles.css +18 -7
  38. package/dist/collection/components/z-offcanvas/index.js +2 -2
  39. package/dist/collection/components/z-panel-elem/index.js +2 -2
  40. package/dist/collection/components/z-popover/index.js +1 -1
  41. package/dist/collection/components/z-searchbar/index.js +1 -1
  42. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  43. package/dist/collection/components/z-stepper/index.js +1 -1
  44. package/dist/collection/components/z-stepper-item/index.js +1 -1
  45. package/dist/collection/components/z-toast-notification/index.js +3 -3
  46. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  47. package/dist/collection/components/z-toggle-button/index.js +2 -2
  48. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  49. package/dist/collection/components/z-tool/index.js +2 -2
  50. package/dist/collection/components/z-toolbar/index.js +1 -1
  51. package/dist/collection/components/z-tooltip/index.js +1 -1
  52. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  53. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  54. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  55. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  56. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  57. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  58. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  59. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  60. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  61. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  62. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  63. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  64. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  65. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  66. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  67. package/dist/components/index12.js +1 -1
  68. package/dist/components/index12.js.map +1 -1
  69. package/dist/components/index18.js +1 -1
  70. package/dist/components/index19.js +1 -1
  71. package/dist/components/index20.js +1 -1
  72. package/dist/components/index21.js +1 -1
  73. package/dist/components/index22.js +1 -1
  74. package/dist/components/index23.js +2 -2
  75. package/dist/components/index24.js +1 -1
  76. package/dist/components/index25.js +1 -1
  77. package/dist/components/index27.js +1 -1
  78. package/dist/components/index3.js +1 -1
  79. package/dist/components/z-myz-card-alert.js +1 -1
  80. package/dist/components/z-myz-card-dictionary.js +1 -1
  81. package/dist/components/z-myz-card-footer-sections.js +1 -1
  82. package/dist/components/z-myz-card-footer.js +1 -1
  83. package/dist/components/z-myz-card-icon.js +1 -1
  84. package/dist/components/z-myz-card-info.js +1 -1
  85. package/dist/components/z-myz-card-list.js +1 -1
  86. package/dist/components/z-myz-list.js +1 -1
  87. package/dist/components/z-notification.js +5 -3
  88. package/dist/components/z-notification.js.map +1 -1
  89. package/dist/components/z-otp.js +2 -2
  90. package/dist/components/z-panel-elem.js +2 -2
  91. package/dist/components/z-skip-to-content.js +1 -1
  92. package/dist/components/z-stepper-item.js +1 -1
  93. package/dist/components/z-stepper.js +1 -1
  94. package/dist/components/z-toast-notification-list.js +1 -1
  95. package/dist/components/z-toast-notification.js +3 -3
  96. package/dist/components/z-toggle-button.js +2 -2
  97. package/dist/components/z-toggle-switch.js +3 -3
  98. package/dist/components/z-tool.js +2 -2
  99. package/dist/components/z-toolbar.js +1 -1
  100. package/dist/esm/loader.js +1 -1
  101. package/dist/esm/web-components-library.js +1 -1
  102. package/dist/esm/z-alert.entry.js +1 -1
  103. package/dist/esm/z-app-header_12.entry.js +4 -4
  104. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  105. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  106. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  107. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  108. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  109. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  110. package/dist/esm/z-myz-card-info.entry.js +1 -1
  111. package/dist/esm/z-myz-card-list.entry.js +1 -1
  112. package/dist/esm/z-myz-card_4.entry.js +4 -4
  113. package/dist/esm/z-myz-list-item.entry.js +1 -1
  114. package/dist/esm/z-myz-list.entry.js +1 -1
  115. package/dist/esm/z-notification.entry.js +3 -2
  116. package/dist/esm/z-notification.entry.js.map +1 -1
  117. package/dist/esm/z-otp.entry.js +2 -2
  118. package/dist/esm/z-panel-elem.entry.js +2 -2
  119. package/dist/esm/z-popover.entry.js +1 -1
  120. package/dist/esm/z-skip-to-content.entry.js +1 -1
  121. package/dist/esm/z-stepper-item.entry.js +1 -1
  122. package/dist/esm/z-stepper.entry.js +1 -1
  123. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  124. package/dist/esm/z-toast-notification.entry.js +3 -3
  125. package/dist/esm/z-toggle-button.entry.js +2 -2
  126. package/dist/esm/z-toggle-switch.entry.js +3 -3
  127. package/dist/esm/z-tool.entry.js +2 -2
  128. package/dist/esm/z-toolbar.entry.js +1 -1
  129. package/dist/esm/z-tooltip.entry.js +1 -1
  130. package/dist/types/components/z-notification/index.d.ts +3 -0
  131. package/dist/types/components/z-notification/index.stories.d.ts +12 -1
  132. package/dist/types/components.d.ts +12 -0
  133. package/dist/web-components-library/{p-b7ec2cc4.entry.js → p-08b16bb4.entry.js} +2 -2
  134. package/dist/web-components-library/{p-43adca09.entry.js → p-0b9fc73c.entry.js} +2 -2
  135. package/dist/web-components-library/{p-f662e7ff.entry.js → p-146a4d4b.entry.js} +2 -2
  136. package/dist/web-components-library/{p-0aed3ddc.entry.js → p-2bb84080.entry.js} +2 -2
  137. package/dist/web-components-library/{p-5989465b.entry.js → p-36b84a8e.entry.js} +2 -2
  138. package/dist/web-components-library/p-463e0ac0.entry.js +2 -0
  139. package/{www/build/p-05be939d.entry.js.map → dist/web-components-library/p-463e0ac0.entry.js.map} +1 -1
  140. package/dist/web-components-library/{p-b391211f.entry.js → p-5372d49f.entry.js} +2 -2
  141. package/dist/web-components-library/{p-869295ce.entry.js → p-5b577b6f.entry.js} +2 -2
  142. package/dist/web-components-library/p-5fde1b41.entry.js +2 -0
  143. package/dist/web-components-library/{p-c811b0cf.entry.js → p-64d5fdd8.entry.js} +2 -2
  144. package/dist/web-components-library/{p-fbce9614.entry.js → p-662119bb.entry.js} +2 -2
  145. package/dist/web-components-library/{p-f2c2ad04.entry.js → p-68278c42.entry.js} +2 -2
  146. package/dist/web-components-library/{p-6d15da6f.entry.js → p-78af415b.entry.js} +2 -2
  147. package/{www/build/p-0643d684.entry.js → dist/web-components-library/p-7ade2a71.entry.js} +2 -2
  148. package/dist/web-components-library/p-80b04954.entry.js +2 -0
  149. package/{www/build/p-35d73edf.entry.js → dist/web-components-library/p-8ee2a9d2.entry.js} +2 -2
  150. package/dist/web-components-library/{p-4504375f.entry.js → p-8ff5b76b.entry.js} +2 -2
  151. package/dist/web-components-library/{p-accbc381.entry.js → p-93bb075f.entry.js} +2 -2
  152. package/dist/web-components-library/{p-b54d923e.entry.js → p-a6c07588.entry.js} +2 -2
  153. package/dist/web-components-library/{p-b7056859.entry.js → p-bbc20250.entry.js} +2 -2
  154. package/dist/web-components-library/{p-1b972597.entry.js → p-bd2156cc.entry.js} +2 -2
  155. package/dist/web-components-library/p-be1c414e.entry.js +2 -0
  156. package/dist/web-components-library/p-be1c414e.entry.js.map +1 -0
  157. package/dist/web-components-library/{p-8988eee3.entry.js → p-caced575.entry.js} +2 -2
  158. package/dist/web-components-library/{p-30a78a06.entry.js → p-d080b624.entry.js} +2 -2
  159. package/dist/web-components-library/{p-76d1d0e4.entry.js → p-d6f43903.entry.js} +2 -2
  160. package/dist/web-components-library/{p-e8eacbeb.entry.js → p-f74973b5.entry.js} +3 -3
  161. package/dist/web-components-library/web-components-library.esm.js +1 -1
  162. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  163. package/package.json +1 -1
  164. package/www/build/{p-b7ec2cc4.entry.js → p-08b16bb4.entry.js} +2 -2
  165. package/www/build/{p-43adca09.entry.js → p-0b9fc73c.entry.js} +2 -2
  166. package/www/build/{p-f662e7ff.entry.js → p-146a4d4b.entry.js} +2 -2
  167. package/www/build/{p-0aed3ddc.entry.js → p-2bb84080.entry.js} +2 -2
  168. package/www/build/{p-5989465b.entry.js → p-36b84a8e.entry.js} +2 -2
  169. package/www/build/p-463e0ac0.entry.js +2 -0
  170. package/{dist/web-components-library/p-05be939d.entry.js.map → www/build/p-463e0ac0.entry.js.map} +1 -1
  171. package/www/build/{p-b391211f.entry.js → p-5372d49f.entry.js} +2 -2
  172. package/www/build/{p-869295ce.entry.js → p-5b577b6f.entry.js} +2 -2
  173. package/www/build/p-5fde1b41.entry.js +2 -0
  174. package/www/build/{p-c811b0cf.entry.js → p-64d5fdd8.entry.js} +2 -2
  175. package/www/build/{p-fbce9614.entry.js → p-662119bb.entry.js} +2 -2
  176. package/www/build/{p-f2c2ad04.entry.js → p-68278c42.entry.js} +2 -2
  177. package/www/build/{p-6d15da6f.entry.js → p-78af415b.entry.js} +2 -2
  178. package/{dist/web-components-library/p-0643d684.entry.js → www/build/p-7ade2a71.entry.js} +2 -2
  179. package/www/build/p-80b04954.entry.js +2 -0
  180. package/{dist/web-components-library/p-35d73edf.entry.js → www/build/p-8ee2a9d2.entry.js} +2 -2
  181. package/www/build/{p-4504375f.entry.js → p-8ff5b76b.entry.js} +2 -2
  182. package/www/build/{p-accbc381.entry.js → p-93bb075f.entry.js} +2 -2
  183. package/www/build/{p-b54d923e.entry.js → p-a6c07588.entry.js} +2 -2
  184. package/www/build/{p-b7056859.entry.js → p-bbc20250.entry.js} +2 -2
  185. package/www/build/{p-1b972597.entry.js → p-bd2156cc.entry.js} +2 -2
  186. package/www/build/p-be1c414e.entry.js +2 -0
  187. package/www/build/p-be1c414e.entry.js.map +1 -0
  188. package/www/build/{p-8988eee3.entry.js → p-caced575.entry.js} +2 -2
  189. package/www/build/{p-30a78a06.entry.js → p-d080b624.entry.js} +2 -2
  190. package/www/build/{p-4b38182a.js → p-d3d3edf1.js} +1 -1
  191. package/www/build/{p-76d1d0e4.entry.js → p-d6f43903.entry.js} +2 -2
  192. package/www/build/{p-e8eacbeb.entry.js → p-f74973b5.entry.js} +3 -3
  193. package/www/build/web-components-library.esm.js +1 -1
  194. package/www/build/web-components-library.esm.js.map +1 -1
  195. package/www/index.html +1 -1
  196. package/dist/web-components-library/p-05be939d.entry.js +0 -2
  197. package/dist/web-components-library/p-b71a3f69.entry.js +0 -2
  198. package/dist/web-components-library/p-c89e1f4b.entry.js +0 -2
  199. package/dist/web-components-library/p-c89e1f4b.entry.js.map +0 -1
  200. package/dist/web-components-library/p-f92e0c29.entry.js +0 -2
  201. package/www/build/p-05be939d.entry.js +0 -2
  202. package/www/build/p-b71a3f69.entry.js +0 -2
  203. package/www/build/p-c89e1f4b.entry.js +0 -2
  204. package/www/build/p-c89e1f4b.entry.js.map +0 -1
  205. package/www/build/p-f92e0c29.entry.js +0 -2
  206. /package/dist/web-components-library/{p-b7ec2cc4.entry.js.map → p-08b16bb4.entry.js.map} +0 -0
  207. /package/dist/web-components-library/{p-43adca09.entry.js.map → p-0b9fc73c.entry.js.map} +0 -0
  208. /package/dist/web-components-library/{p-f662e7ff.entry.js.map → p-146a4d4b.entry.js.map} +0 -0
  209. /package/dist/web-components-library/{p-0aed3ddc.entry.js.map → p-2bb84080.entry.js.map} +0 -0
  210. /package/dist/web-components-library/{p-5989465b.entry.js.map → p-36b84a8e.entry.js.map} +0 -0
  211. /package/dist/web-components-library/{p-b391211f.entry.js.map → p-5372d49f.entry.js.map} +0 -0
  212. /package/dist/web-components-library/{p-869295ce.entry.js.map → p-5b577b6f.entry.js.map} +0 -0
  213. /package/dist/web-components-library/{p-f92e0c29.entry.js.map → p-5fde1b41.entry.js.map} +0 -0
  214. /package/dist/web-components-library/{p-c811b0cf.entry.js.map → p-64d5fdd8.entry.js.map} +0 -0
  215. /package/dist/web-components-library/{p-fbce9614.entry.js.map → p-662119bb.entry.js.map} +0 -0
  216. /package/dist/web-components-library/{p-f2c2ad04.entry.js.map → p-68278c42.entry.js.map} +0 -0
  217. /package/dist/web-components-library/{p-6d15da6f.entry.js.map → p-78af415b.entry.js.map} +0 -0
  218. /package/dist/web-components-library/{p-0643d684.entry.js.map → p-7ade2a71.entry.js.map} +0 -0
  219. /package/dist/web-components-library/{p-b71a3f69.entry.js.map → p-80b04954.entry.js.map} +0 -0
  220. /package/dist/web-components-library/{p-35d73edf.entry.js.map → p-8ee2a9d2.entry.js.map} +0 -0
  221. /package/dist/web-components-library/{p-4504375f.entry.js.map → p-8ff5b76b.entry.js.map} +0 -0
  222. /package/dist/web-components-library/{p-accbc381.entry.js.map → p-93bb075f.entry.js.map} +0 -0
  223. /package/dist/web-components-library/{p-b54d923e.entry.js.map → p-a6c07588.entry.js.map} +0 -0
  224. /package/dist/web-components-library/{p-b7056859.entry.js.map → p-bbc20250.entry.js.map} +0 -0
  225. /package/dist/web-components-library/{p-1b972597.entry.js.map → p-bd2156cc.entry.js.map} +0 -0
  226. /package/dist/web-components-library/{p-8988eee3.entry.js.map → p-caced575.entry.js.map} +0 -0
  227. /package/dist/web-components-library/{p-30a78a06.entry.js.map → p-d080b624.entry.js.map} +0 -0
  228. /package/dist/web-components-library/{p-76d1d0e4.entry.js.map → p-d6f43903.entry.js.map} +0 -0
  229. /package/dist/web-components-library/{p-e8eacbeb.entry.js.map → p-f74973b5.entry.js.map} +0 -0
  230. /package/www/build/{p-b7ec2cc4.entry.js.map → p-08b16bb4.entry.js.map} +0 -0
  231. /package/www/build/{p-43adca09.entry.js.map → p-0b9fc73c.entry.js.map} +0 -0
  232. /package/www/build/{p-f662e7ff.entry.js.map → p-146a4d4b.entry.js.map} +0 -0
  233. /package/www/build/{p-0aed3ddc.entry.js.map → p-2bb84080.entry.js.map} +0 -0
  234. /package/www/build/{p-5989465b.entry.js.map → p-36b84a8e.entry.js.map} +0 -0
  235. /package/www/build/{p-b391211f.entry.js.map → p-5372d49f.entry.js.map} +0 -0
  236. /package/www/build/{p-869295ce.entry.js.map → p-5b577b6f.entry.js.map} +0 -0
  237. /package/www/build/{p-f92e0c29.entry.js.map → p-5fde1b41.entry.js.map} +0 -0
  238. /package/www/build/{p-c811b0cf.entry.js.map → p-64d5fdd8.entry.js.map} +0 -0
  239. /package/www/build/{p-fbce9614.entry.js.map → p-662119bb.entry.js.map} +0 -0
  240. /package/www/build/{p-f2c2ad04.entry.js.map → p-68278c42.entry.js.map} +0 -0
  241. /package/www/build/{p-6d15da6f.entry.js.map → p-78af415b.entry.js.map} +0 -0
  242. /package/www/build/{p-0643d684.entry.js.map → p-7ade2a71.entry.js.map} +0 -0
  243. /package/www/build/{p-b71a3f69.entry.js.map → p-80b04954.entry.js.map} +0 -0
  244. /package/www/build/{p-35d73edf.entry.js.map → p-8ee2a9d2.entry.js.map} +0 -0
  245. /package/www/build/{p-4504375f.entry.js.map → p-8ff5b76b.entry.js.map} +0 -0
  246. /package/www/build/{p-accbc381.entry.js.map → p-93bb075f.entry.js.map} +0 -0
  247. /package/www/build/{p-b54d923e.entry.js.map → p-a6c07588.entry.js.map} +0 -0
  248. /package/www/build/{p-b7056859.entry.js.map → p-bbc20250.entry.js.map} +0 -0
  249. /package/www/build/{p-1b972597.entry.js.map → p-bd2156cc.entry.js.map} +0 -0
  250. /package/www/build/{p-8988eee3.entry.js.map → p-caced575.entry.js.map} +0 -0
  251. /package/www/build/{p-30a78a06.entry.js.map → p-d080b624.entry.js.map} +0 -0
  252. /package/www/build/{p-76d1d0e4.entry.js.map → p-d6f43903.entry.js.map} +0 -0
  253. /package/www/build/{p-e8eacbeb.entry.js.map → p-f74973b5.entry.js.map} +0 -0
@@ -1,8 +1,8 @@
1
1
  import{r as t,c as e,h as i,a as n,g as r}from"./p-75c4a726.js";import{r as s,g as o}from"./p-86618221.js";import{c as a}from"./p-4573c419.js";var c={exports:{}};
2
- /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */(function(t,e){(function(e,i){t.exports=i()})(a,(function(){const{entries:t,setPrototypeOf:e,isFrozen:i,getPrototypeOf:n,getOwnPropertyDescriptor:r}=Object;let{freeze:s,seal:o,create:a}=Object;let{apply:c,construct:u}=typeof Reflect!=="undefined"&&Reflect;if(!s){s=function t(e){return e}}if(!o){o=function t(e){return e}}if(!c){c=function t(e,i,n){return e.apply(i,n)}}if(!u){u=function t(e,i){return new e(...i)}}const l=k(Array.prototype.forEach);const f=k(Array.prototype.lastIndexOf);const h=k(Array.prototype.pop);const d=k(Array.prototype.push);const p=k(Array.prototype.splice);const m=k(String.prototype.toLowerCase);const v=k(String.prototype.toString);const g=k(String.prototype.match);const y=k(String.prototype.replace);const b=k(String.prototype.indexOf);const w=k(String.prototype.trim);const T=k(Object.prototype.hasOwnProperty);const x=k(RegExp.prototype.test);const E=A(TypeError);function k(t){return function(e){if(e instanceof RegExp){e.lastIndex=0}for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++){n[r-1]=arguments[r]}return c(t,e,n)}}function A(t){return function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++){i[n]=arguments[n]}return u(t,i)}}function S(t,n){let r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:m;if(e){e(t,null)}let s=n.length;while(s--){let e=n[s];if(typeof e==="string"){const t=r(e);if(t!==e){if(!i(n)){n[s]=t}e=t}}t[e]=true}return t}function R(t){for(let e=0;e<t.length;e++){const i=T(t,e);if(!i){t[e]=null}}return t}function _(e){const i=a(null);for(const[n,r]of t(e)){const t=T(e,n);if(t){if(Array.isArray(r)){i[n]=R(r)}else if(r&&typeof r==="object"&&r.constructor===Object){i[n]=_(r)}else{i[n]=r}}}return i}function I(t,e){while(t!==null){const i=r(t,e);if(i){if(i.get){return k(i.get)}if(typeof i.value==="function"){return k(i.value)}}t=n(t)}function i(){return null}return i}const D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const z=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const M=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const O=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const P=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const C=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const N=s(["#text"]);const L=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const F=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const j=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const U=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const B=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const W=o(/<%[\w\W]*|[\w\W]*%>/gm);const X=o(/\$\{[\w\W]*/gm);const H=o(/^data-[\-\w.\u00B7-\uFFFF]+$/);const Y=o(/^aria-[\-\w]+$/);const q=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const $=o(/^(?:\w+script|data):/i);const G=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const V=o(/^html$/i);const Z=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:Z,DATA_ATTR:H,DOCTYPE_NAME:V,ERB_EXPR:W,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,MUSTACHE_EXPR:B,TMPLIT_EXPR:X});const J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};const Q=function t(){return typeof window==="undefined"?null:window};const tt=function t(e,i){if(typeof e!=="object"||typeof e.createPolicy!=="function"){return null}let n=null;const r="data-tt-policy-suffix";if(i&&i.hasAttribute(r)){n=i.getAttribute(r)}const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML(t){return t},createScriptURL(t){return t}})}catch(t){console.warn("TrustedTypes policy "+s+" could not be created.");return null}};const et=function t(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function it(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:Q();const i=t=>it(t);i.version="3.2.6";i.removed=[];if(!e||!e.document||e.document.nodeType!==J.document||!e.Element){i.isSupported=false;return i}let{document:n}=e;const r=n;const o=r.currentScript;const{DocumentFragment:c,HTMLTemplateElement:u,Node:k,Element:A,NodeFilter:R,NamedNodeMap:B=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:W,DOMParser:X,trustedTypes:H}=e;const Y=A.prototype;const $=I(Y,"cloneNode");const G=I(Y,"remove");const Z=I(Y,"nextSibling");const nt=I(Y,"childNodes");const rt=I(Y,"parentNode");if(typeof u==="function"){const t=n.createElement("template");if(t.content&&t.content.ownerDocument){n=t.content.ownerDocument}}let st;let ot="";const{implementation:at,createNodeIterator:ct,createDocumentFragment:ut,getElementsByTagName:lt}=n;const{importNode:ft}=r;let ht=et();i.isSupported=typeof t==="function"&&typeof rt==="function"&&at&&at.createHTMLDocument!==undefined;const{MUSTACHE_EXPR:dt,ERB_EXPR:pt,TMPLIT_EXPR:mt,DATA_ATTR:vt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:bt,CUSTOM_ELEMENT:wt}=K;let{IS_ALLOWED_URI:Tt}=K;let xt=null;const Et=S({},[...D,...z,...M,...P,...N]);let kt=null;const At=S({},[...L,...F,...j,...U]);let St=Object.seal(a(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let Rt=null;let _t=null;let It=true;let Dt=true;let zt=false;let Mt=true;let Ot=false;let Pt=true;let Ct=false;let Nt=false;let Lt=false;let Ft=false;let jt=false;let Ut=false;let Bt=true;let Wt=false;const Xt="user-content-";let Ht=true;let Yt=false;let qt={};let $t=null;const Gt=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Zt=S({},["audio","video","img","source","image","track"]);let Kt=null;const Jt=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const Qt="http://www.w3.org/1998/Math/MathML";const te="http://www.w3.org/2000/svg";const ee="http://www.w3.org/1999/xhtml";let ie=ee;let ne=false;let re=null;const se=S({},[Qt,te,ee],v);let oe=S({},["mi","mo","mn","ms","mtext"]);let ae=S({},["annotation-xml"]);const ce=S({},["title","style","font","a","script"]);let ue=null;const le=["application/xhtml+xml","text/html"];const fe="text/html";let he=null;let de=null;const pe=n.createElement("form");const me=function t(e){return e instanceof RegExp||e instanceof Function};const ve=function t(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(de&&de===e){return}if(!e||typeof e!=="object"){e={}}e=_(e);ue=le.indexOf(e.PARSER_MEDIA_TYPE)===-1?fe:e.PARSER_MEDIA_TYPE;he=ue==="application/xhtml+xml"?v:m;xt=T(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,he):Et;kt=T(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,he):At;re=T(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,v):se;Kt=T(e,"ADD_URI_SAFE_ATTR")?S(_(Jt),e.ADD_URI_SAFE_ATTR,he):Jt;Vt=T(e,"ADD_DATA_URI_TAGS")?S(_(Zt),e.ADD_DATA_URI_TAGS,he):Zt;$t=T(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,he):Gt;Rt=T(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,he):_({});_t=T(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,he):_({});qt=T(e,"USE_PROFILES")?e.USE_PROFILES:false;It=e.ALLOW_ARIA_ATTR!==false;Dt=e.ALLOW_DATA_ATTR!==false;zt=e.ALLOW_UNKNOWN_PROTOCOLS||false;Mt=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;Ot=e.SAFE_FOR_TEMPLATES||false;Pt=e.SAFE_FOR_XML!==false;Ct=e.WHOLE_DOCUMENT||false;Ft=e.RETURN_DOM||false;jt=e.RETURN_DOM_FRAGMENT||false;Ut=e.RETURN_TRUSTED_TYPE||false;Lt=e.FORCE_BODY||false;Bt=e.SANITIZE_DOM!==false;Wt=e.SANITIZE_NAMED_PROPS||false;Ht=e.KEEP_CONTENT!==false;Yt=e.IN_PLACE||false;Tt=e.ALLOWED_URI_REGEXP||q;ie=e.NAMESPACE||ee;oe=e.MATHML_TEXT_INTEGRATION_POINTS||oe;ae=e.HTML_INTEGRATION_POINTS||ae;St=e.CUSTOM_ELEMENT_HANDLING||{};if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){St.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){St.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){St.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(Ot){Dt=false}if(jt){Ft=true}if(qt){xt=S({},N);kt=[];if(qt.html===true){S(xt,D);S(kt,L)}if(qt.svg===true){S(xt,z);S(kt,F);S(kt,U)}if(qt.svgFilters===true){S(xt,M);S(kt,F);S(kt,U)}if(qt.mathMl===true){S(xt,P);S(kt,j);S(kt,U)}}if(e.ADD_TAGS){if(xt===Et){xt=_(xt)}S(xt,e.ADD_TAGS,he)}if(e.ADD_ATTR){if(kt===At){kt=_(kt)}S(kt,e.ADD_ATTR,he)}if(e.ADD_URI_SAFE_ATTR){S(Kt,e.ADD_URI_SAFE_ATTR,he)}if(e.FORBID_CONTENTS){if($t===Gt){$t=_($t)}S($t,e.FORBID_CONTENTS,he)}if(Ht){xt["#text"]=true}if(Ct){S(xt,["html","head","body"])}if(xt.table){S(xt,["tbody"]);delete Rt.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}st=e.TRUSTED_TYPES_POLICY;ot=st.createHTML("")}else{if(st===undefined){st=tt(H,o)}if(st!==null&&typeof ot==="string"){ot=st.createHTML("")}}if(s){s(e)}de=e};const ge=S({},[...z,...M,...O]);const ye=S({},[...P,...C]);const be=function t(e){let i=rt(e);if(!i||!i.tagName){i={namespaceURI:ie,tagName:"template"}}const n=m(e.tagName);const r=m(i.tagName);if(!re[e.namespaceURI]){return false}if(e.namespaceURI===te){if(i.namespaceURI===ee){return n==="svg"}if(i.namespaceURI===Qt){return n==="svg"&&(r==="annotation-xml"||oe[r])}return Boolean(ge[n])}if(e.namespaceURI===Qt){if(i.namespaceURI===ee){return n==="math"}if(i.namespaceURI===te){return n==="math"&&ae[r]}return Boolean(ye[n])}if(e.namespaceURI===ee){if(i.namespaceURI===te&&!ae[r]){return false}if(i.namespaceURI===Qt&&!oe[r]){return false}return!ye[n]&&(ce[n]||!ge[n])}if(ue==="application/xhtml+xml"&&re[e.namespaceURI]){return true}return false};const we=function t(e){d(i.removed,{element:e});try{rt(e).removeChild(e)}catch(t){G(e)}};const Te=function t(e,n){try{d(i.removed,{attribute:n.getAttributeNode(e),from:n})}catch(t){d(i.removed,{attribute:null,from:n})}n.removeAttribute(e);if(e==="is"){if(Ft||jt){try{we(n)}catch(t){}}else{try{n.setAttribute(e,"")}catch(t){}}}};const xe=function t(e){let i=null;let r=null;if(Lt){e="<remove></remove>"+e}else{const t=g(e,/^[\r\n\t ]+/);r=t&&t[0]}if(ue==="application/xhtml+xml"&&ie===ee){e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>"}const s=st?st.createHTML(e):e;if(ie===ee){try{i=(new X).parseFromString(s,ue)}catch(t){}}if(!i||!i.documentElement){i=at.createDocument(ie,"template",null);try{i.documentElement.innerHTML=ne?ot:s}catch(t){}}const o=i.body||i.documentElement;if(e&&r){o.insertBefore(n.createTextNode(r),o.childNodes[0]||null)}if(ie===ee){return lt.call(i,Ct?"html":"body")[0]}return Ct?i.documentElement:o};const Ee=function t(e){return ct.call(e.ownerDocument||e,e,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)};const ke=function t(e){return e instanceof W&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof B)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};const Ae=function t(e){return typeof k==="function"&&e instanceof k};function Se(t,e,n){l(t,(t=>{t.call(i,e,n,de)}))}const Re=function t(e){let n=null;Se(ht.beforeSanitizeElements,e,null);if(ke(e)){we(e);return true}const r=he(e.nodeName);Se(ht.uponSanitizeElement,e,{tagName:r,allowedTags:xt});if(Pt&&e.hasChildNodes()&&!Ae(e.firstElementChild)&&x(/<[/\w!]/g,e.innerHTML)&&x(/<[/\w!]/g,e.textContent)){we(e);return true}if(e.nodeType===J.progressingInstruction){we(e);return true}if(Pt&&e.nodeType===J.comment&&x(/<[/\w]/g,e.data)){we(e);return true}if(!xt[r]||Rt[r]){if(!Rt[r]&&Ie(r)){if(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,r)){return false}if(St.tagNameCheck instanceof Function&&St.tagNameCheck(r)){return false}}if(Ht&&!$t[r]){const t=rt(e)||e.parentNode;const i=nt(e)||e.childNodes;if(i&&t){const n=i.length;for(let r=n-1;r>=0;--r){const n=$(i[r],true);n.__removalCount=(e.__removalCount||0)+1;t.insertBefore(n,Z(e))}}}we(e);return true}if(e instanceof A&&!be(e)){we(e);return true}if((r==="noscript"||r==="noembed"||r==="noframes")&&x(/<\/no(script|embed|frames)/i,e.innerHTML)){we(e);return true}if(Ot&&e.nodeType===J.text){n=e.textContent;l([dt,pt,mt],(t=>{n=y(n,t," ")}));if(e.textContent!==n){d(i.removed,{element:e.cloneNode()});e.textContent=n}}Se(ht.afterSanitizeElements,e,null);return false};const _e=function t(e,i,r){if(Bt&&(i==="id"||i==="name")&&(r in n||r in pe)){return false}if(Dt&&!_t[i]&&x(vt,i));else if(It&&x(gt,i));else if(!kt[i]||_t[i]){if(Ie(e)&&(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,e)||St.tagNameCheck instanceof Function&&St.tagNameCheck(e))&&(St.attributeNameCheck instanceof RegExp&&x(St.attributeNameCheck,i)||St.attributeNameCheck instanceof Function&&St.attributeNameCheck(i))||i==="is"&&St.allowCustomizedBuiltInElements&&(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,r)||St.tagNameCheck instanceof Function&&St.tagNameCheck(r)));else{return false}}else if(Kt[i]);else if(x(Tt,y(r,bt,"")));else if((i==="src"||i==="xlink:href"||i==="href")&&e!=="script"&&b(r,"data:")===0&&Vt[e]);else if(zt&&!x(yt,y(r,bt,"")));else if(r){return false}else;return true};const Ie=function t(e){return e!=="annotation-xml"&&g(e,wt)};const De=function t(e){Se(ht.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||ke(e)){return}const r={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:kt,forceKeepAttr:undefined};let s=n.length;while(s--){const t=n[s];const{name:o,namespaceURI:a,value:c}=t;const u=he(o);const f=c;let d=o==="value"?f:w(f);r.attrName=u;r.attrValue=d;r.keepAttr=true;r.forceKeepAttr=undefined;Se(ht.uponSanitizeAttribute,e,r);d=r.attrValue;if(Wt&&(u==="id"||u==="name")){Te(o,e);d=Xt+d}if(Pt&&x(/((--!?|])>)|<\/(style|title)/i,d)){Te(o,e);continue}if(r.forceKeepAttr){continue}if(!r.keepAttr){Te(o,e);continue}if(!Mt&&x(/\/>/i,d)){Te(o,e);continue}if(Ot){l([dt,pt,mt],(t=>{d=y(d,t," ")}))}const p=he(e.nodeName);if(!_e(p,u,d)){Te(o,e);continue}if(st&&typeof H==="object"&&typeof H.getAttributeType==="function"){if(a);else{switch(H.getAttributeType(p,u)){case"TrustedHTML":{d=st.createHTML(d);break}case"TrustedScriptURL":{d=st.createScriptURL(d);break}}}}if(d!==f){try{if(a){e.setAttributeNS(a,o,d)}else{e.setAttribute(o,d)}if(ke(e)){we(e)}else{h(i.removed)}}catch(t){Te(o,e)}}}Se(ht.afterSanitizeAttributes,e,null)};const ze=function t(e){let i=null;const n=Ee(e);Se(ht.beforeSanitizeShadowDOM,e,null);while(i=n.nextNode()){Se(ht.uponSanitizeShadowNode,i,null);Re(i);De(i);if(i.content instanceof c){t(i.content)}}Se(ht.afterSanitizeShadowDOM,e,null)};i.sanitize=function(t){let e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let n=null;let s=null;let o=null;let a=null;ne=!t;if(ne){t="\x3c!--\x3e"}if(typeof t!=="string"&&!Ae(t)){if(typeof t.toString==="function"){t=t.toString();if(typeof t!=="string"){throw E("dirty is not a string, aborting")}}else{throw E("toString is not a function")}}if(!i.isSupported){return t}if(!Nt){ve(e)}i.removed=[];if(typeof t==="string"){Yt=false}if(Yt){if(t.nodeName){const e=he(t.nodeName);if(!xt[e]||Rt[e]){throw E("root node is forbidden and cannot be sanitized in-place")}}}else if(t instanceof k){n=xe("\x3c!----\x3e");s=n.ownerDocument.importNode(t,true);if(s.nodeType===J.element&&s.nodeName==="BODY"){n=s}else if(s.nodeName==="HTML"){n=s}else{n.appendChild(s)}}else{if(!Ft&&!Ot&&!Ct&&t.indexOf("<")===-1){return st&&Ut?st.createHTML(t):t}n=xe(t);if(!n){return Ft?null:Ut?ot:""}}if(n&&Lt){we(n.firstChild)}const u=Ee(Yt?t:n);while(o=u.nextNode()){Re(o);De(o);if(o.content instanceof c){ze(o.content)}}if(Yt){return t}if(Ft){if(jt){a=ut.call(n.ownerDocument);while(n.firstChild){a.appendChild(n.firstChild)}}else{a=n}if(kt.shadowroot||kt.shadowrootmode){a=ft.call(r,a,true)}return a}let f=Ct?n.outerHTML:n.innerHTML;if(Ct&&xt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&x(V,n.ownerDocument.doctype.name)){f="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+f}if(Ot){l([dt,pt,mt],(t=>{f=y(f,t," ")}))}return st&&Ut?st.createHTML(f):f};i.setConfig=function(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};ve(t);Nt=true};i.clearConfig=function(){de=null;Nt=false};i.isValidAttribute=function(t,e,i){if(!de){ve({})}const n=he(t);const r=he(e);return _e(n,r,i)};i.addHook=function(t,e){if(typeof e!=="function"){return}d(ht[t],e)};i.removeHook=function(t,e){if(e!==undefined){const i=f(ht[t],e);return i===-1?undefined:p(ht[t],i,1)[0]}return h(ht[t])};i.removeHooks=function(t){ht[t]=[]};i.removeAllHooks=function(){ht=et()};return i}var nt=it();return nt}))})(c);const u=c.exports;var l={exports:{}};
2
+ /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */(function(t,e){(function(e,i){t.exports=i()})(a,(function(){const{entries:t,setPrototypeOf:e,isFrozen:i,getPrototypeOf:n,getOwnPropertyDescriptor:r}=Object;let{freeze:s,seal:o,create:a}=Object;let{apply:c,construct:f}=typeof Reflect!=="undefined"&&Reflect;if(!s){s=function t(e){return e}}if(!o){o=function t(e){return e}}if(!c){c=function t(e,i,n){return e.apply(i,n)}}if(!f){f=function t(e,i){return new e(...i)}}const u=k(Array.prototype.forEach);const l=k(Array.prototype.lastIndexOf);const h=k(Array.prototype.pop);const d=k(Array.prototype.push);const p=k(Array.prototype.splice);const m=k(String.prototype.toLowerCase);const v=k(String.prototype.toString);const g=k(String.prototype.match);const y=k(String.prototype.replace);const b=k(String.prototype.indexOf);const w=k(String.prototype.trim);const T=k(Object.prototype.hasOwnProperty);const x=k(RegExp.prototype.test);const E=A(TypeError);function k(t){return function(e){if(e instanceof RegExp){e.lastIndex=0}for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++){n[r-1]=arguments[r]}return c(t,e,n)}}function A(t){return function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++){i[n]=arguments[n]}return f(t,i)}}function S(t,n){let r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:m;if(e){e(t,null)}let s=n.length;while(s--){let e=n[s];if(typeof e==="string"){const t=r(e);if(t!==e){if(!i(n)){n[s]=t}e=t}}t[e]=true}return t}function R(t){for(let e=0;e<t.length;e++){const i=T(t,e);if(!i){t[e]=null}}return t}function _(e){const i=a(null);for(const[n,r]of t(e)){const t=T(e,n);if(t){if(Array.isArray(r)){i[n]=R(r)}else if(r&&typeof r==="object"&&r.constructor===Object){i[n]=_(r)}else{i[n]=r}}}return i}function I(t,e){while(t!==null){const i=r(t,e);if(i){if(i.get){return k(i.get)}if(typeof i.value==="function"){return k(i.value)}}t=n(t)}function i(){return null}return i}const D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const z=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const M=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const O=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const P=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const C=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const N=s(["#text"]);const L=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const F=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const j=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const U=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const B=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const W=o(/<%[\w\W]*|[\w\W]*%>/gm);const X=o(/\$\{[\w\W]*/gm);const H=o(/^data-[\-\w.\u00B7-\uFFFF]+$/);const Y=o(/^aria-[\-\w]+$/);const q=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const $=o(/^(?:\w+script|data):/i);const G=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const V=o(/^html$/i);const Z=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:Z,DATA_ATTR:H,DOCTYPE_NAME:V,ERB_EXPR:W,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,MUSTACHE_EXPR:B,TMPLIT_EXPR:X});const J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};const Q=function t(){return typeof window==="undefined"?null:window};const tt=function t(e,i){if(typeof e!=="object"||typeof e.createPolicy!=="function"){return null}let n=null;const r="data-tt-policy-suffix";if(i&&i.hasAttribute(r)){n=i.getAttribute(r)}const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML(t){return t},createScriptURL(t){return t}})}catch(t){console.warn("TrustedTypes policy "+s+" could not be created.");return null}};const et=function t(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function it(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:Q();const i=t=>it(t);i.version="3.2.6";i.removed=[];if(!e||!e.document||e.document.nodeType!==J.document||!e.Element){i.isSupported=false;return i}let{document:n}=e;const r=n;const o=r.currentScript;const{DocumentFragment:c,HTMLTemplateElement:f,Node:k,Element:A,NodeFilter:R,NamedNodeMap:B=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:W,DOMParser:X,trustedTypes:H}=e;const Y=A.prototype;const $=I(Y,"cloneNode");const G=I(Y,"remove");const Z=I(Y,"nextSibling");const nt=I(Y,"childNodes");const rt=I(Y,"parentNode");if(typeof f==="function"){const t=n.createElement("template");if(t.content&&t.content.ownerDocument){n=t.content.ownerDocument}}let st;let ot="";const{implementation:at,createNodeIterator:ct,createDocumentFragment:ft,getElementsByTagName:ut}=n;const{importNode:lt}=r;let ht=et();i.isSupported=typeof t==="function"&&typeof rt==="function"&&at&&at.createHTMLDocument!==undefined;const{MUSTACHE_EXPR:dt,ERB_EXPR:pt,TMPLIT_EXPR:mt,DATA_ATTR:vt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:bt,CUSTOM_ELEMENT:wt}=K;let{IS_ALLOWED_URI:Tt}=K;let xt=null;const Et=S({},[...D,...z,...M,...P,...N]);let kt=null;const At=S({},[...L,...F,...j,...U]);let St=Object.seal(a(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let Rt=null;let _t=null;let It=true;let Dt=true;let zt=false;let Mt=true;let Ot=false;let Pt=true;let Ct=false;let Nt=false;let Lt=false;let Ft=false;let jt=false;let Ut=false;let Bt=true;let Wt=false;const Xt="user-content-";let Ht=true;let Yt=false;let qt={};let $t=null;const Gt=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Zt=S({},["audio","video","img","source","image","track"]);let Kt=null;const Jt=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const Qt="http://www.w3.org/1998/Math/MathML";const te="http://www.w3.org/2000/svg";const ee="http://www.w3.org/1999/xhtml";let ie=ee;let ne=false;let re=null;const se=S({},[Qt,te,ee],v);let oe=S({},["mi","mo","mn","ms","mtext"]);let ae=S({},["annotation-xml"]);const ce=S({},["title","style","font","a","script"]);let fe=null;const ue=["application/xhtml+xml","text/html"];const le="text/html";let he=null;let de=null;const pe=n.createElement("form");const me=function t(e){return e instanceof RegExp||e instanceof Function};const ve=function t(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(de&&de===e){return}if(!e||typeof e!=="object"){e={}}e=_(e);fe=ue.indexOf(e.PARSER_MEDIA_TYPE)===-1?le:e.PARSER_MEDIA_TYPE;he=fe==="application/xhtml+xml"?v:m;xt=T(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,he):Et;kt=T(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,he):At;re=T(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,v):se;Kt=T(e,"ADD_URI_SAFE_ATTR")?S(_(Jt),e.ADD_URI_SAFE_ATTR,he):Jt;Vt=T(e,"ADD_DATA_URI_TAGS")?S(_(Zt),e.ADD_DATA_URI_TAGS,he):Zt;$t=T(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,he):Gt;Rt=T(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,he):_({});_t=T(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,he):_({});qt=T(e,"USE_PROFILES")?e.USE_PROFILES:false;It=e.ALLOW_ARIA_ATTR!==false;Dt=e.ALLOW_DATA_ATTR!==false;zt=e.ALLOW_UNKNOWN_PROTOCOLS||false;Mt=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;Ot=e.SAFE_FOR_TEMPLATES||false;Pt=e.SAFE_FOR_XML!==false;Ct=e.WHOLE_DOCUMENT||false;Ft=e.RETURN_DOM||false;jt=e.RETURN_DOM_FRAGMENT||false;Ut=e.RETURN_TRUSTED_TYPE||false;Lt=e.FORCE_BODY||false;Bt=e.SANITIZE_DOM!==false;Wt=e.SANITIZE_NAMED_PROPS||false;Ht=e.KEEP_CONTENT!==false;Yt=e.IN_PLACE||false;Tt=e.ALLOWED_URI_REGEXP||q;ie=e.NAMESPACE||ee;oe=e.MATHML_TEXT_INTEGRATION_POINTS||oe;ae=e.HTML_INTEGRATION_POINTS||ae;St=e.CUSTOM_ELEMENT_HANDLING||{};if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){St.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){St.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){St.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(Ot){Dt=false}if(jt){Ft=true}if(qt){xt=S({},N);kt=[];if(qt.html===true){S(xt,D);S(kt,L)}if(qt.svg===true){S(xt,z);S(kt,F);S(kt,U)}if(qt.svgFilters===true){S(xt,M);S(kt,F);S(kt,U)}if(qt.mathMl===true){S(xt,P);S(kt,j);S(kt,U)}}if(e.ADD_TAGS){if(xt===Et){xt=_(xt)}S(xt,e.ADD_TAGS,he)}if(e.ADD_ATTR){if(kt===At){kt=_(kt)}S(kt,e.ADD_ATTR,he)}if(e.ADD_URI_SAFE_ATTR){S(Kt,e.ADD_URI_SAFE_ATTR,he)}if(e.FORBID_CONTENTS){if($t===Gt){$t=_($t)}S($t,e.FORBID_CONTENTS,he)}if(Ht){xt["#text"]=true}if(Ct){S(xt,["html","head","body"])}if(xt.table){S(xt,["tbody"]);delete Rt.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}st=e.TRUSTED_TYPES_POLICY;ot=st.createHTML("")}else{if(st===undefined){st=tt(H,o)}if(st!==null&&typeof ot==="string"){ot=st.createHTML("")}}if(s){s(e)}de=e};const ge=S({},[...z,...M,...O]);const ye=S({},[...P,...C]);const be=function t(e){let i=rt(e);if(!i||!i.tagName){i={namespaceURI:ie,tagName:"template"}}const n=m(e.tagName);const r=m(i.tagName);if(!re[e.namespaceURI]){return false}if(e.namespaceURI===te){if(i.namespaceURI===ee){return n==="svg"}if(i.namespaceURI===Qt){return n==="svg"&&(r==="annotation-xml"||oe[r])}return Boolean(ge[n])}if(e.namespaceURI===Qt){if(i.namespaceURI===ee){return n==="math"}if(i.namespaceURI===te){return n==="math"&&ae[r]}return Boolean(ye[n])}if(e.namespaceURI===ee){if(i.namespaceURI===te&&!ae[r]){return false}if(i.namespaceURI===Qt&&!oe[r]){return false}return!ye[n]&&(ce[n]||!ge[n])}if(fe==="application/xhtml+xml"&&re[e.namespaceURI]){return true}return false};const we=function t(e){d(i.removed,{element:e});try{rt(e).removeChild(e)}catch(t){G(e)}};const Te=function t(e,n){try{d(i.removed,{attribute:n.getAttributeNode(e),from:n})}catch(t){d(i.removed,{attribute:null,from:n})}n.removeAttribute(e);if(e==="is"){if(Ft||jt){try{we(n)}catch(t){}}else{try{n.setAttribute(e,"")}catch(t){}}}};const xe=function t(e){let i=null;let r=null;if(Lt){e="<remove></remove>"+e}else{const t=g(e,/^[\r\n\t ]+/);r=t&&t[0]}if(fe==="application/xhtml+xml"&&ie===ee){e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>"}const s=st?st.createHTML(e):e;if(ie===ee){try{i=(new X).parseFromString(s,fe)}catch(t){}}if(!i||!i.documentElement){i=at.createDocument(ie,"template",null);try{i.documentElement.innerHTML=ne?ot:s}catch(t){}}const o=i.body||i.documentElement;if(e&&r){o.insertBefore(n.createTextNode(r),o.childNodes[0]||null)}if(ie===ee){return ut.call(i,Ct?"html":"body")[0]}return Ct?i.documentElement:o};const Ee=function t(e){return ct.call(e.ownerDocument||e,e,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)};const ke=function t(e){return e instanceof W&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof B)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};const Ae=function t(e){return typeof k==="function"&&e instanceof k};function Se(t,e,n){u(t,(t=>{t.call(i,e,n,de)}))}const Re=function t(e){let n=null;Se(ht.beforeSanitizeElements,e,null);if(ke(e)){we(e);return true}const r=he(e.nodeName);Se(ht.uponSanitizeElement,e,{tagName:r,allowedTags:xt});if(Pt&&e.hasChildNodes()&&!Ae(e.firstElementChild)&&x(/<[/\w!]/g,e.innerHTML)&&x(/<[/\w!]/g,e.textContent)){we(e);return true}if(e.nodeType===J.progressingInstruction){we(e);return true}if(Pt&&e.nodeType===J.comment&&x(/<[/\w]/g,e.data)){we(e);return true}if(!xt[r]||Rt[r]){if(!Rt[r]&&Ie(r)){if(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,r)){return false}if(St.tagNameCheck instanceof Function&&St.tagNameCheck(r)){return false}}if(Ht&&!$t[r]){const t=rt(e)||e.parentNode;const i=nt(e)||e.childNodes;if(i&&t){const n=i.length;for(let r=n-1;r>=0;--r){const n=$(i[r],true);n.__removalCount=(e.__removalCount||0)+1;t.insertBefore(n,Z(e))}}}we(e);return true}if(e instanceof A&&!be(e)){we(e);return true}if((r==="noscript"||r==="noembed"||r==="noframes")&&x(/<\/no(script|embed|frames)/i,e.innerHTML)){we(e);return true}if(Ot&&e.nodeType===J.text){n=e.textContent;u([dt,pt,mt],(t=>{n=y(n,t," ")}));if(e.textContent!==n){d(i.removed,{element:e.cloneNode()});e.textContent=n}}Se(ht.afterSanitizeElements,e,null);return false};const _e=function t(e,i,r){if(Bt&&(i==="id"||i==="name")&&(r in n||r in pe)){return false}if(Dt&&!_t[i]&&x(vt,i));else if(It&&x(gt,i));else if(!kt[i]||_t[i]){if(Ie(e)&&(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,e)||St.tagNameCheck instanceof Function&&St.tagNameCheck(e))&&(St.attributeNameCheck instanceof RegExp&&x(St.attributeNameCheck,i)||St.attributeNameCheck instanceof Function&&St.attributeNameCheck(i))||i==="is"&&St.allowCustomizedBuiltInElements&&(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,r)||St.tagNameCheck instanceof Function&&St.tagNameCheck(r)));else{return false}}else if(Kt[i]);else if(x(Tt,y(r,bt,"")));else if((i==="src"||i==="xlink:href"||i==="href")&&e!=="script"&&b(r,"data:")===0&&Vt[e]);else if(zt&&!x(yt,y(r,bt,"")));else if(r){return false}else;return true};const Ie=function t(e){return e!=="annotation-xml"&&g(e,wt)};const De=function t(e){Se(ht.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||ke(e)){return}const r={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:kt,forceKeepAttr:undefined};let s=n.length;while(s--){const t=n[s];const{name:o,namespaceURI:a,value:c}=t;const f=he(o);const l=c;let d=o==="value"?l:w(l);r.attrName=f;r.attrValue=d;r.keepAttr=true;r.forceKeepAttr=undefined;Se(ht.uponSanitizeAttribute,e,r);d=r.attrValue;if(Wt&&(f==="id"||f==="name")){Te(o,e);d=Xt+d}if(Pt&&x(/((--!?|])>)|<\/(style|title)/i,d)){Te(o,e);continue}if(r.forceKeepAttr){continue}if(!r.keepAttr){Te(o,e);continue}if(!Mt&&x(/\/>/i,d)){Te(o,e);continue}if(Ot){u([dt,pt,mt],(t=>{d=y(d,t," ")}))}const p=he(e.nodeName);if(!_e(p,f,d)){Te(o,e);continue}if(st&&typeof H==="object"&&typeof H.getAttributeType==="function"){if(a);else{switch(H.getAttributeType(p,f)){case"TrustedHTML":{d=st.createHTML(d);break}case"TrustedScriptURL":{d=st.createScriptURL(d);break}}}}if(d!==l){try{if(a){e.setAttributeNS(a,o,d)}else{e.setAttribute(o,d)}if(ke(e)){we(e)}else{h(i.removed)}}catch(t){Te(o,e)}}}Se(ht.afterSanitizeAttributes,e,null)};const ze=function t(e){let i=null;const n=Ee(e);Se(ht.beforeSanitizeShadowDOM,e,null);while(i=n.nextNode()){Se(ht.uponSanitizeShadowNode,i,null);Re(i);De(i);if(i.content instanceof c){t(i.content)}}Se(ht.afterSanitizeShadowDOM,e,null)};i.sanitize=function(t){let e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let n=null;let s=null;let o=null;let a=null;ne=!t;if(ne){t="\x3c!--\x3e"}if(typeof t!=="string"&&!Ae(t)){if(typeof t.toString==="function"){t=t.toString();if(typeof t!=="string"){throw E("dirty is not a string, aborting")}}else{throw E("toString is not a function")}}if(!i.isSupported){return t}if(!Nt){ve(e)}i.removed=[];if(typeof t==="string"){Yt=false}if(Yt){if(t.nodeName){const e=he(t.nodeName);if(!xt[e]||Rt[e]){throw E("root node is forbidden and cannot be sanitized in-place")}}}else if(t instanceof k){n=xe("\x3c!----\x3e");s=n.ownerDocument.importNode(t,true);if(s.nodeType===J.element&&s.nodeName==="BODY"){n=s}else if(s.nodeName==="HTML"){n=s}else{n.appendChild(s)}}else{if(!Ft&&!Ot&&!Ct&&t.indexOf("<")===-1){return st&&Ut?st.createHTML(t):t}n=xe(t);if(!n){return Ft?null:Ut?ot:""}}if(n&&Lt){we(n.firstChild)}const f=Ee(Yt?t:n);while(o=f.nextNode()){Re(o);De(o);if(o.content instanceof c){ze(o.content)}}if(Yt){return t}if(Ft){if(jt){a=ft.call(n.ownerDocument);while(n.firstChild){a.appendChild(n.firstChild)}}else{a=n}if(kt.shadowroot||kt.shadowrootmode){a=lt.call(r,a,true)}return a}let l=Ct?n.outerHTML:n.innerHTML;if(Ct&&xt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&x(V,n.ownerDocument.doctype.name)){l="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+l}if(Ot){u([dt,pt,mt],(t=>{l=y(l,t," ")}))}return st&&Ut?st.createHTML(l):l};i.setConfig=function(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};ve(t);Nt=true};i.clearConfig=function(){de=null;Nt=false};i.isValidAttribute=function(t,e,i){if(!de){ve({})}const n=he(t);const r=he(e);return _e(n,r,i)};i.addHook=function(t,e){if(typeof e!=="function"){return}d(ht[t],e)};i.removeHook=function(t,e){if(e!==undefined){const i=l(ht[t],e);return i===-1?undefined:p(ht[t],i,1)[0]}return h(ht[t])};i.removeHooks=function(t){ht[t]=[]};i.removeAllHooks=function(){ht=et()};return i}var nt=it();return nt}))})(c);const f=c.exports;var u={exports:{}};
3
3
  /*! Hammer.JS - v2.0.7 - 2016-04-22
4
4
  * http://hammerjs.github.io/
5
5
  *
6
6
  * Copyright (c) 2016 Jorik Tangelder;
7
- * Licensed under the MIT license */(function(t){(function(e,i,n,r){var s=["","webkit","Moz","MS","ms","o"];var o=i.createElement("div");var a="function";var c=Math.round;var u=Math.abs;var l=Date.now;function f(t,e,i){return setTimeout(b(t,i),e)}function h(t,e,i){if(Array.isArray(t)){d(t,i[e],i);return true}return false}function d(t,e,i){var n;if(!t){return}if(t.forEach){t.forEach(e,i)}else if(t.length!==r){n=0;while(n<t.length){e.call(i,t[n],n,t);n++}}else{for(n in t){t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}}}function p(t,i,n){var r="DEPRECATED METHOD: "+i+"\n"+n+" AT \n";return function(){var i=new Error("get-stack-trace");var n=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace";var s=e.console&&(e.console.warn||e.console.log);if(s){s.call(e.console,r,n)}return t.apply(this,arguments)}}var m;if(typeof Object.assign!=="function"){m=function t(e){if(e===r||e===null){throw new TypeError("Cannot convert undefined or null to object")}var i=Object(e);for(var n=1;n<arguments.length;n++){var s=arguments[n];if(s!==r&&s!==null){for(var o in s){if(s.hasOwnProperty(o)){i[o]=s[o]}}}}return i}}else{m=Object.assign}var v=p((function t(e,i,n){var s=Object.keys(i);var o=0;while(o<s.length){if(!n||n&&e[s[o]]===r){e[s[o]]=i[s[o]]}o++}return e}),"extend","Use `assign`.");var g=p((function t(e,i){return v(e,i,true)}),"merge","Use `assign`.");function y(t,e,i){var n=e.prototype,r;r=t.prototype=Object.create(n);r.constructor=t;r._super=n;if(i){m(r,i)}}function b(t,e){return function i(){return t.apply(e,arguments)}}function w(t,e){if(typeof t==a){return t.apply(e?e[0]||r:r,e)}return t}function T(t,e){return t===r?e:t}function x(t,e,i){d(S(e),(function(e){t.addEventListener(e,i,false)}))}function E(t,e,i){d(S(e),(function(e){t.removeEventListener(e,i,false)}))}function k(t,e){while(t){if(t==e){return true}t=t.parentNode}return false}function A(t,e){return t.indexOf(e)>-1}function S(t){return t.trim().split(/\s+/g)}function R(t,e,i){if(t.indexOf&&!i){return t.indexOf(e)}else{var n=0;while(n<t.length){if(i&&t[n][i]==e||!i&&t[n]===e){return n}n++}return-1}}function _(t){return Array.prototype.slice.call(t,0)}function I(t,e,i){var n=[];var r=[];var s=0;while(s<t.length){var o=e?t[s][e]:t[s];if(R(r,o)<0){n.push(t[s])}r[s]=o;s++}if(i){if(!e){n=n.sort()}else{n=n.sort((function t(i,n){return i[e]>n[e]}))}}return n}function D(t,e){var i,n;var o=e[0].toUpperCase()+e.slice(1);var a=0;while(a<s.length){i=s[a];n=i?i+o:e;if(n in t){return n}a++}return r}var z=1;function M(){return z++}function O(t){var i=t.ownerDocument||t;return i.defaultView||i.parentWindow||e}var P=/mobile|tablet|ip(ad|hone|od)|android/i;var C="ontouchstart"in e;var N=D(e,"PointerEvent")!==r;var L=C&&P.test(navigator.userAgent);var F="touch";var j="pen";var U="mouse";var B="kinect";var W=25;var X=1;var H=2;var Y=4;var q=8;var $=1;var G=2;var V=4;var Z=8;var K=16;var J=G|V;var Q=Z|K;var tt=J|Q;var et=["x","y"];var it=["clientX","clientY"];function nt(t,e){var i=this;this.manager=t;this.callback=e;this.element=t.element;this.target=t.options.inputTarget;this.domHandler=function(e){if(w(t.options.enable,[t])){i.handler(e)}};this.init()}nt.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler);this.evTarget&&x(this.target,this.evTarget,this.domHandler);this.evWin&&x(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler);this.evTarget&&E(this.target,this.evTarget,this.domHandler);this.evWin&&E(O(this.element),this.evWin,this.domHandler)}};function rt(t){var e;var i=t.options.inputClass;if(i){e=i}else if(N){e=At}else if(L){e=Ot}else if(!C){e=wt}else{e=Lt}return new e(t,st)}function st(t,e,i){var n=i.pointers.length;var r=i.changedPointers.length;var s=e&X&&n-r===0;var o=e&(Y|q)&&n-r===0;i.isFirst=!!s;i.isFinal=!!o;if(s){t.session={}}i.eventType=e;ot(t,i);t.emit("hammer.input",i);t.recognize(i);t.session.prevInput=i}function ot(t,e){var i=t.session;var n=e.pointers;var r=n.length;if(!i.firstInput){i.firstInput=ut(e)}if(r>1&&!i.firstMultiple){i.firstMultiple=ut(e)}else if(r===1){i.firstMultiple=false}var s=i.firstInput;var o=i.firstMultiple;var a=o?o.center:s.center;var c=e.center=lt(n);e.timeStamp=l();e.deltaTime=e.timeStamp-s.timeStamp;e.angle=pt(a,c);e.distance=dt(a,c);at(i,e);e.offsetDirection=ht(e.deltaX,e.deltaY);var f=ft(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=f.x;e.overallVelocityY=f.y;e.overallVelocity=u(f.x)>u(f.y)?f.x:f.y;e.scale=o?vt(o.pointers,n):1;e.rotation=o?mt(o.pointers,n):0;e.maxPointers=!i.prevInput?e.pointers.length:e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers;ct(i,e);var h=t.element;if(k(e.srcEvent.target,h)){h=e.srcEvent.target}e.target=h}function at(t,e){var i=e.center;var n=t.offsetDelta||{};var r=t.prevDelta||{};var s=t.prevInput||{};if(e.eventType===X||s.eventType===Y){r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0};n=t.offsetDelta={x:i.x,y:i.y}}e.deltaX=r.x+(i.x-n.x);e.deltaY=r.y+(i.y-n.y)}function ct(t,e){var i=t.lastInterval||e,n=e.timeStamp-i.timeStamp,s,o,a,c;if(e.eventType!=q&&(n>W||i.velocity===r)){var l=e.deltaX-i.deltaX;var f=e.deltaY-i.deltaY;var h=ft(n,l,f);o=h.x;a=h.y;s=u(h.x)>u(h.y)?h.x:h.y;c=ht(l,f);t.lastInterval=e}else{s=i.velocity;o=i.velocityX;a=i.velocityY;c=i.direction}e.velocity=s;e.velocityX=o;e.velocityY=a;e.direction=c}function ut(t){var e=[];var i=0;while(i<t.pointers.length){e[i]={clientX:c(t.pointers[i].clientX),clientY:c(t.pointers[i].clientY)};i++}return{timeStamp:l(),pointers:e,center:lt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function lt(t){var e=t.length;if(e===1){return{x:c(t[0].clientX),y:c(t[0].clientY)}}var i=0,n=0,r=0;while(r<e){i+=t[r].clientX;n+=t[r].clientY;r++}return{x:c(i/e),y:c(n/e)}}function ft(t,e,i){return{x:e/t||0,y:i/t||0}}function ht(t,e){if(t===e){return $}if(u(t)>=u(e)){return t<0?G:V}return e<0?Z:K}function dt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function pt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.atan2(r,n)*180/Math.PI}function mt(t,e){return pt(e[1],e[0],it)+pt(t[1],t[0],it)}function vt(t,e){return dt(e[0],e[1],it)/dt(t[0],t[1],it)}var gt={mousedown:X,mousemove:H,mouseup:Y};var yt="mousedown";var bt="mousemove mouseup";function wt(){this.evEl=yt;this.evWin=bt;this.pressed=false;nt.apply(this,arguments)}y(wt,nt,{handler:function t(e){var i=gt[e.type];if(i&X&&e.button===0){this.pressed=true}if(i&H&&e.which!==1){i=Y}if(!this.pressed){return}if(i&Y){this.pressed=false}this.callback(this.manager,i,{pointers:[e],changedPointers:[e],pointerType:U,srcEvent:e})}});var Tt={pointerdown:X,pointermove:H,pointerup:Y,pointercancel:q,pointerout:q};var xt={2:F,3:j,4:U,5:B};var Et="pointerdown";var kt="pointermove pointerup pointercancel";if(e.MSPointerEvent&&!e.PointerEvent){Et="MSPointerDown";kt="MSPointerMove MSPointerUp MSPointerCancel"}function At(){this.evEl=Et;this.evWin=kt;nt.apply(this,arguments);this.store=this.manager.session.pointerEvents=[]}y(At,nt,{handler:function t(e){var i=this.store;var n=false;var r=e.type.toLowerCase().replace("ms","");var s=Tt[r];var o=xt[e.pointerType]||e.pointerType;var a=o==F;var c=R(i,e.pointerId,"pointerId");if(s&X&&(e.button===0||a)){if(c<0){i.push(e);c=i.length-1}}else if(s&(Y|q)){n=true}if(c<0){return}i[c]=e;this.callback(this.manager,s,{pointers:i,changedPointers:[e],pointerType:o,srcEvent:e});if(n){i.splice(c,1)}}});var St={touchstart:X,touchmove:H,touchend:Y,touchcancel:q};var Rt="touchstart";var _t="touchstart touchmove touchend touchcancel";function It(){this.evTarget=Rt;this.evWin=_t;this.started=false;nt.apply(this,arguments)}y(It,nt,{handler:function t(e){var i=St[e.type];if(i===X){this.started=true}if(!this.started){return}var n=Dt.call(this,e,i);if(i&(Y|q)&&n[0].length-n[1].length===0){this.started=false}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Dt(t,e){var i=_(t.touches);var n=_(t.changedTouches);if(e&(Y|q)){i=I(i.concat(n),"identifier",true)}return[i,n]}var zt={touchstart:X,touchmove:H,touchend:Y,touchcancel:q};var Mt="touchstart touchmove touchend touchcancel";function Ot(){this.evTarget=Mt;this.targetIds={};nt.apply(this,arguments)}y(Ot,nt,{handler:function t(e){var i=zt[e.type];var n=Pt.call(this,e,i);if(!n){return}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Pt(t,e){var i=_(t.touches);var n=this.targetIds;if(e&(X|H)&&i.length===1){n[i[0].identifier]=true;return[i,i]}var r,s,o=_(t.changedTouches),a=[],c=this.target;s=i.filter((function(t){return k(t.target,c)}));if(e===X){r=0;while(r<s.length){n[s[r].identifier]=true;r++}}r=0;while(r<o.length){if(n[o[r].identifier]){a.push(o[r])}if(e&(Y|q)){delete n[o[r].identifier]}r++}if(!a.length){return}return[I(s.concat(a),"identifier",true),a]}var Ct=2500;var Nt=25;function Lt(){nt.apply(this,arguments);var t=b(this.handler,this);this.touch=new Ot(this.manager,t);this.mouse=new wt(this.manager,t);this.primaryTouch=null;this.lastTouches=[]}y(Lt,nt,{handler:function t(e,i,n){var r=n.pointerType==F,s=n.pointerType==U;if(s&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents){return}if(r){Ft.call(this,i,n)}else if(s&&Ut.call(this,n)){return}this.callback(e,i,n)},destroy:function t(){this.touch.destroy();this.mouse.destroy()}});function Ft(t,e){if(t&X){this.primaryTouch=e.changedPointers[0].identifier;jt.call(this,e)}else if(t&(Y|q)){jt.call(this,e)}}function jt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;var r=function(){var t=n.indexOf(i);if(t>-1){n.splice(t,1)}};setTimeout(r,Ct)}}function Ut(t){var e=t.srcEvent.clientX,i=t.srcEvent.clientY;for(var n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n];var s=Math.abs(e-r.x),o=Math.abs(i-r.y);if(s<=Nt&&o<=Nt){return true}}return false}var Bt=D(o.style,"touchAction");var Wt=Bt!==r;var Xt="compute";var Ht="auto";var Yt="manipulation";var qt="none";var $t="pan-x";var Gt="pan-y";var Vt=Jt();function Zt(t,e){this.manager=t;this.set(e)}Zt.prototype={set:function(t){if(t==Xt){t=this.compute()}if(Wt&&this.manager.element.style&&Vt[t]){this.manager.element.style[Bt]=t}this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];d(this.manager.recognizers,(function(e){if(w(e.options.enable,[e])){t=t.concat(e.getTouchAction())}}));return Kt(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent;var i=t.offsetDirection;if(this.manager.session.prevented){e.preventDefault();return}var n=this.actions;var r=A(n,qt)&&!Vt[qt];var s=A(n,Gt)&&!Vt[Gt];var o=A(n,$t)&&!Vt[$t];if(r){var a=t.pointers.length===1;var c=t.distance<2;var u=t.deltaTime<250;if(a&&c&&u){return}}if(o&&s){return}if(r||s&&i&J||o&&i&Q){return this.preventSrc(e)}},preventSrc:function(t){this.manager.session.prevented=true;t.preventDefault()}};function Kt(t){if(A(t,qt)){return qt}var e=A(t,$t);var i=A(t,Gt);if(e&&i){return qt}if(e||i){return e?$t:Gt}if(A(t,Yt)){return Yt}return Ht}function Jt(){if(!Wt){return false}var t={};var i=e.CSS&&e.CSS.supports;["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=i?e.CSS.supports("touch-action",n):true}));return t}var Qt=1;var te=2;var ee=4;var ie=8;var ne=ie;var re=16;var se=32;function oe(t){this.options=m({},this.defaults,t||{});this.id=M();this.manager=null;this.options.enable=T(this.options.enable,true);this.state=Qt;this.simultaneous={};this.requireFail=[]}oe.prototype={defaults:{},set:function(t){m(this.options,t);this.manager&&this.manager.touchAction.update();return this},recognizeWith:function(t){if(h(t,"recognizeWith",this)){return this}var e=this.simultaneous;t=ue(t,this);if(!e[t.id]){e[t.id]=t;t.recognizeWith(this)}return this},dropRecognizeWith:function(t){if(h(t,"dropRecognizeWith",this)){return this}t=ue(t,this);delete this.simultaneous[t.id];return this},requireFailure:function(t){if(h(t,"requireFailure",this)){return this}var e=this.requireFail;t=ue(t,this);if(R(e,t)===-1){e.push(t);t.requireFailure(this)}return this},dropRequireFailure:function(t){if(h(t,"dropRequireFailure",this)){return this}t=ue(t,this);var e=R(this.requireFail,t);if(e>-1){this.requireFail.splice(e,1)}return this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this;var i=this.state;function n(i){e.manager.emit(i,t)}if(i<ie){n(e.options.event+ae(i))}n(e.options.event);if(t.additionalEvent){n(t.additionalEvent)}if(i>=ie){n(e.options.event+ae(i))}},tryEmit:function(t){if(this.canEmit()){return this.emit(t)}this.state=se},canEmit:function(){var t=0;while(t<this.requireFail.length){if(!(this.requireFail[t].state&(se|Qt))){return false}t++}return true},recognize:function(t){var e=m({},t);if(!w(this.options.enable,[this,e])){this.reset();this.state=se;return}if(this.state&(ne|re|se)){this.state=Qt}this.state=this.process(e);if(this.state&(te|ee|ie|re)){this.tryEmit(e)}},process:function(t){},getTouchAction:function(){},reset:function(){}};function ae(t){if(t&re){return"cancel"}else if(t&ie){return"end"}else if(t&ee){return"move"}else if(t&te){return"start"}return""}function ce(t){if(t==K){return"down"}else if(t==Z){return"up"}else if(t==G){return"left"}else if(t==V){return"right"}return""}function ue(t,e){var i=e.manager;if(i){return i.get(t)}return t}function le(){oe.apply(this,arguments)}y(le,oe,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return e===0||t.pointers.length===e},process:function(t){var e=this.state;var i=t.eventType;var n=e&(te|ee);var r=this.attrTest(t);if(n&&(i&q||!r)){return e|re}else if(n||r){if(i&Y){return e|ie}else if(!(e&te)){return te}return e|ee}return se}});function fe(){le.apply(this,arguments);this.pX=null;this.pY=null}y(fe,le,{defaults:{event:"pan",threshold:10,pointers:1,direction:tt},getTouchAction:function(){var t=this.options.direction;var e=[];if(t&J){e.push(Gt)}if(t&Q){e.push($t)}return e},directionTest:function(t){var e=this.options;var i=true;var n=t.distance;var r=t.direction;var s=t.deltaX;var o=t.deltaY;if(!(r&e.direction)){if(e.direction&J){r=s===0?$:s<0?G:V;i=s!=this.pX;n=Math.abs(t.deltaX)}else{r=o===0?$:o<0?Z:K;i=o!=this.pY;n=Math.abs(t.deltaY)}}t.direction=r;return i&&n>e.threshold&&r&e.direction},attrTest:function(t){return le.prototype.attrTest.call(this,t)&&(this.state&te||!(this.state&te)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX;this.pY=t.deltaY;var e=ce(t.direction);if(e){t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function he(){le.apply(this,arguments)}y(he,le,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&te)},emit:function(t){if(t.scale!==1){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function de(){oe.apply(this,arguments);this._timer=null;this._input=null}y(de,oe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ht]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime>e.time;this._input=t;if(!n||!i||t.eventType&(Y|q)&&!r){this.reset()}else if(t.eventType&X){this.reset();this._timer=f((function(){this.state=ne;this.tryEmit()}),e.time,this)}else if(t.eventType&Y){return ne}return se},reset:function(){clearTimeout(this._timer)},emit:function(t){if(this.state!==ne){return}if(t&&t.eventType&Y){this.manager.emit(this.options.event+"up",t)}else{this._input.timeStamp=l();this.manager.emit(this.options.event,this._input)}}});function pe(){le.apply(this,arguments)}y(pe,le,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&te)}});function me(){le.apply(this,arguments)}y(me,le,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:J|Q,pointers:1},getTouchAction:function(){return fe.prototype.getTouchAction.call(this)},attrTest:function(t){var e=this.options.direction;var i;if(e&(J|Q)){i=t.overallVelocity}else if(e&J){i=t.overallVelocityX}else if(e&Q){i=t.overallVelocityY}return this._super.attrTest.call(this,t)&&e&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&u(i)>this.options.velocity&&t.eventType&Y},emit:function(t){var e=ce(t.offsetDirection);if(e){this.manager.emit(this.options.event+e,t)}this.manager.emit(this.options.event,t)}});function ve(){oe.apply(this,arguments);this.pTime=false;this.pCenter=false;this._timer=null;this._input=null;this.count=0}y(ve,oe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Yt]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime<e.time;this.reset();if(t.eventType&X&&this.count===0){return this.failTimeout()}if(n&&r&&i){if(t.eventType!=Y){return this.failTimeout()}var s=this.pTime?t.timeStamp-this.pTime<e.interval:true;var o=!this.pCenter||dt(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp;this.pCenter=t.center;if(!o||!s){this.count=1}else{this.count+=1}this._input=t;var a=this.count%e.taps;if(a===0){if(!this.hasRequireFailures()){return ne}else{this._timer=f((function(){this.state=ne;this.tryEmit()}),e.interval,this);return te}}}return se},failTimeout:function(){this._timer=f((function(){this.state=se}),this.options.interval,this);return se},reset:function(){clearTimeout(this._timer)},emit:function(){if(this.state==ne){this._input.tapCount=this.count;this.manager.emit(this.options.event,this._input)}}});function ge(t,e){e=e||{};e.recognizers=T(e.recognizers,ge.defaults.preset);return new we(t,e)}ge.VERSION="2.0.7";ge.defaults={domEvents:false,touchAction:Xt,enable:true,inputTarget:null,inputClass:null,preset:[[pe,{enable:false}],[he,{enable:false},["rotate"]],[me,{direction:J}],[fe,{direction:J},["swipe"]],[ve],[ve,{event:"doubletap",taps:2},["tap"]],[de]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ye=1;var be=2;function we(t,e){this.options=m({},ge.defaults,e||{});this.options.inputTarget=this.options.inputTarget||t;this.handlers={};this.session={};this.recognizers=[];this.oldCssProps={};this.element=t;this.input=rt(this);this.touchAction=new Zt(this,this.options.touchAction);Te(this,true);d(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]);t[3]&&e.requireFailure(t[3])}),this)}we.prototype={set:function(t){m(this.options,t);if(t.touchAction){this.touchAction.update()}if(t.inputTarget){this.input.destroy();this.input.target=t.inputTarget;this.input.init()}return this},stop:function(t){this.session.stopped=t?be:ye},recognize:function(t){var e=this.session;if(e.stopped){return}this.touchAction.preventDefaults(t);var i;var n=this.recognizers;var r=e.curRecognizer;if(!r||r&&r.state&ne){r=e.curRecognizer=null}var s=0;while(s<n.length){i=n[s];if(e.stopped!==be&&(!r||i==r||i.canRecognizeWith(r))){i.recognize(t)}else{i.reset()}if(!r&&i.state&(te|ee|ie)){r=e.curRecognizer=i}s++}},get:function(t){if(t instanceof oe){return t}var e=this.recognizers;for(var i=0;i<e.length;i++){if(e[i].options.event==t){return e[i]}}return null},add:function(t){if(h(t,"add",this)){return this}var e=this.get(t.options.event);if(e){this.remove(e)}this.recognizers.push(t);t.manager=this;this.touchAction.update();return t},remove:function(t){if(h(t,"remove",this)){return this}t=this.get(t);if(t){var e=this.recognizers;var i=R(e,t);if(i!==-1){e.splice(i,1);this.touchAction.update()}}return this},on:function(t,e){if(t===r){return}if(e===r){return}var i=this.handlers;d(S(t),(function(t){i[t]=i[t]||[];i[t].push(e)}));return this},off:function(t,e){if(t===r){return}var i=this.handlers;d(S(t),(function(t){if(!e){delete i[t]}else{i[t]&&i[t].splice(R(i[t],e),1)}}));return this},emit:function(t,e){if(this.options.domEvents){xe(t,e)}var i=this.handlers[t]&&this.handlers[t].slice();if(!i||!i.length){return}e.type=t;e.preventDefault=function(){e.srcEvent.preventDefault()};var n=0;while(n<i.length){i[n](e);n++}},destroy:function(){this.element&&Te(this,false);this.handlers={};this.session={};this.input.destroy();this.element=null}};function Te(t,e){var i=t.element;if(!i.style){return}var n;d(t.options.cssProps,(function(r,s){n=D(i.style,s);if(e){t.oldCssProps[n]=i.style[n];i.style[n]=r}else{i.style[n]=t.oldCssProps[n]||""}}));if(!e){t.oldCssProps={}}}function xe(t,e){var n=i.createEvent("Event");n.initEvent(t,true,true);n.gesture=e;e.target.dispatchEvent(n)}m(ge,{INPUT_START:X,INPUT_MOVE:H,INPUT_END:Y,INPUT_CANCEL:q,STATE_POSSIBLE:Qt,STATE_BEGAN:te,STATE_CHANGED:ee,STATE_ENDED:ie,STATE_RECOGNIZED:ne,STATE_CANCELLED:re,STATE_FAILED:se,DIRECTION_NONE:$,DIRECTION_LEFT:G,DIRECTION_RIGHT:V,DIRECTION_UP:Z,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:J,DIRECTION_VERTICAL:Q,DIRECTION_ALL:tt,Manager:we,Input:nt,TouchAction:Zt,TouchInput:Ot,MouseInput:wt,PointerEventInput:At,TouchMouseInput:Lt,SingleTouchInput:It,Recognizer:oe,AttrRecognizer:le,Tap:ve,Pan:fe,Swipe:me,Pinch:he,Rotate:pe,Press:de,on:x,off:E,each:d,merge:g,extend:v,assign:m,inherit:y,bindFn:b,prefixed:D});var Ee=typeof e!=="undefined"?e:typeof self!=="undefined"?self:{};Ee.Hammer=ge;if(typeof r==="function"&&r.amd){r((function(){return ge}))}else if(t.exports){t.exports=ge}else{e[n]=ge}})(window,document,"Hammer")})(l);const f=l.exports;const h=":host{--percentuale:0;display:flex;width:100%;min-width:200px;max-width:100dvw;box-sizing:border-box;background:var(--color-surface01);border-radius:var(--border-size-large);box-shadow:var(--shadow-3);color:var(--color-default-text);fill:var(--color-primary01-icon);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-rg)}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}.toast-notification-container{display:flex;width:100%;align-items:baseline;justify-content:space-between;padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);gap:calc(var(--space-unit) * 2)}.toast-notification-content{display:flex;width:100%;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:calc(var(--space-unit) * 2)}.toast-notification-content .toast-notification-text{color:inherit;letter-spacing:0.16px;line-height:1.25rem}.toast-notification-content .toast-notification-text .title{margin-right:calc(var(--space-unit) / 2);font-weight:var(--font-sb)}.close-button{height:1.125rem;padding:0;border:none;background-color:transparent;cursor:pointer}.close-button z-icon{--z-icon-width:1.125rem;--z-icon-height:1.125rem;display:inline-block;height:1.25rem}.close-button:focus:focus-visible{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none}:host(.dark){background:var(--color-surface05);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.dark) .close-button:focus:focus-visible{box-shadow:0 0 0 2px var(--gray900),\n 0 0 2px 5px var(--blue25)}:host(.accent){background:var(--color-primary01)}:host(.error){background:var(--color-default-error)}:host(.success){background:var(--color-default-success)}:host(.warning){background:var(--color-default-warning)}:host(.accent),:host(.error),:host(.success){color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.warning) .close-button{fill:var(--color-default-icon)}@media (min-width: 768px){:host{width:fit-content;max-width:50vw}.toast-notification-content{flex-wrap:nowrap}}@media (min-width: 1366px){:host{max-width:33vw}}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}";const d=h;const p={[s.SLIDE_IN_DOWN]:s.SLIDE_OUT_UP,[s.SLIDE_IN_UP]:s.SLIDE_OUT_DOWN,[s.SLIDE_IN_LEFT]:s.SLIDE_OUT_RIGHT,[s.SLIDE_IN_RIGHT]:s.SLIDE_OUT_LEFT};const m=class{constructor(i){t(this,i);this.toastClose=e(this,"toastClose",7);this.isCloseEventCalled=false;this.heading=undefined;this.message=undefined;this.closebutton=undefined;this.autoclose=undefined;this.pauseonfocusloss=true;this.type=undefined;this.isdraggable=true;this.draggablepercentage=80;this.transition=undefined;this.percentage=undefined;this.hasSlottedButton=undefined}watchPropIsdraggable(t){if(t){this.sliderManager.get("pan").set({enable:true})}else{this.sliderManager.get("pan").set({enable:false})}}watchPropAutoclose(t){clearTimeout(this.timeoutHandle);this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){if(this.autoclose){if(t){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}else{document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler)}}}close(t,e){if(e&&this.timeoutHandle){clearTimeout(this.timeoutHandle)}this.timeoutHandle=null;this.elapsedTime=null;this.toastClose.emit();if(t){this.hostElement.classList.add(t)}else{this.hostElement.parentNode.removeChild(this.hostElement)}}visibilityChangeEventHandler(){if(document.visibilityState==="hidden"){this.timeoutHandle&&this.onBlur()}else{this.elapsedTime&&this.onFocus()}}validateAutoclose(){if(!this.autoclose&&!this.closebutton){console.error("At least one between autoclose and closebutton must be present")}}calculateDraggedPercentage(t){const e=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/e.width)}handleSlideOutDragAnimation(){this.sliderManager=new f(this.hostElement);this.sliderManager.get("pan").set({direction:f.DIRECTION_HORIZONTAL});this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t);this.hostElement.style.transition="none";if(this.transition){this.hostElement.classList.remove(this.transition)}const e={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=`${100-Math.abs(this.percentage)}%`;if(t.eventType===f.DIRECTION_LEFT||t.eventType===f.DIRECTION_RIGHT){this.hostElement.style.transform=e.translate;if(Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled){this.isCloseEventCalled=true;this.close(t.direction===f.DIRECTION_LEFT?s.SLIDE_OUT_LEFT:s.SLIDE_OUT_RIGHT,true)}}if(t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage){this.hostElement.style.transform=e.translateBack;this.hostElement.style.transition="all 1s";this.hostElement.style.opacity="100%";this.percentage=0}}))}onFocus(){let t=this.autoclose;if(this.elapsedTime){t=this.autoclose-this.elapsedTime}if(t>0){this.startClosingTimeout(t)}}onBlur(){this.elapsedTime=Date.now()-this.startTime;clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=window.setTimeout((()=>this.close(p[this.transition],false)),t)}checkSlottedButton(){this.hasSlottedButton=!!this.hostElement.querySelector("[slot='button']")}componentWillLoad(){this.validateAutoclose();this.checkSlottedButton();this.percentage=0}componentDidLoad(){this.startTime=Date.now();if(this.autoclose){if(this.pauseonfocusloss){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}if(!this.transition){this.startClosingTimeout(this.autoclose)}}this.isdraggable&&this.handleSlideOutDragAnimation()}render(){return i(n,{key:"4dddb200f4671bbd69e8d1470d0d441678da3039",style:{"--percentuale":`${this.percentage}%`},class:{[this.transition]:!!this.transition,[this.type]:!!this.type},onAnimationEnd:t=>{if(this.autoclose&&t.animationName.includes("slidein")){this.startClosingTimeout(this.autoclose)}if(t.animationName.includes("slideout")){this.hostElement.parentNode.removeChild(this.hostElement)}}},i("div",{key:"424761a172e8f139e35d9c1b2139a4093e5ac48d",class:"toast-notification-container"},i("div",{key:"f1f8f3b2cfb8dde84ba0e136ac94631b47993975",class:"toast-notification-content"},i("div",{key:"75c17b6a15c05dea66744ddb08a9abfcda21be28",class:"toast-notification-text"},this.heading&&i("span",{key:"94eda50ee38a39cec7056ee113b9863b54ed1555",class:"title"},this.heading),i("span",{key:"def713dd54fac1d0332c82c12ec4878672dddf1f",class:"message"},i("slot",{key:"30cd97c7a2381c5a25e1b184524cb2fce29a549c",name:"message"},this.message&&i("span",{key:"fc4c5cf459f595cb3727d5328ecb12419d1ea405",innerHTML:u.sanitize(this.message)})))),i("div",{key:"994505f881dbe43ab69eb42c449afb0dc4d46336",class:"button-container",hidden:!this.hasSlottedButton},i("slot",{key:"b4a78b86c8d3b98750bcafee88d43bb47712558c",name:"button",onSlotchange:()=>this.checkSlottedButton()}))),this.closebutton&&i("button",{key:"6658b9fe87e402ad434afe3bc50d4bf99f19b7a4",class:"close-button","aria-label":"Chiudi notifica",onClick:()=>this.close(p[this.transition],true),onKeyDown:t=>{if(t.code==o.SPACE||t.code==o.ENTER){t.preventDefault();this.close(p[this.transition],true)}}},i("z-icon",{key:"2edf589b7755c20c21217a8161736eeee5859cc9",name:"multiply-circled"}))))}get hostElement(){return r(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};m.style=d;export{m as z_toast_notification};
8
- //# sourceMappingURL=p-e8eacbeb.entry.js.map
7
+ * Licensed under the MIT license */(function(t){(function(e,i,n,r){var s=["","webkit","Moz","MS","ms","o"];var o=i.createElement("div");var a="function";var c=Math.round;var f=Math.abs;var u=Date.now;function l(t,e,i){return setTimeout(b(t,i),e)}function h(t,e,i){if(Array.isArray(t)){d(t,i[e],i);return true}return false}function d(t,e,i){var n;if(!t){return}if(t.forEach){t.forEach(e,i)}else if(t.length!==r){n=0;while(n<t.length){e.call(i,t[n],n,t);n++}}else{for(n in t){t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}}}function p(t,i,n){var r="DEPRECATED METHOD: "+i+"\n"+n+" AT \n";return function(){var i=new Error("get-stack-trace");var n=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace";var s=e.console&&(e.console.warn||e.console.log);if(s){s.call(e.console,r,n)}return t.apply(this,arguments)}}var m;if(typeof Object.assign!=="function"){m=function t(e){if(e===r||e===null){throw new TypeError("Cannot convert undefined or null to object")}var i=Object(e);for(var n=1;n<arguments.length;n++){var s=arguments[n];if(s!==r&&s!==null){for(var o in s){if(s.hasOwnProperty(o)){i[o]=s[o]}}}}return i}}else{m=Object.assign}var v=p((function t(e,i,n){var s=Object.keys(i);var o=0;while(o<s.length){if(!n||n&&e[s[o]]===r){e[s[o]]=i[s[o]]}o++}return e}),"extend","Use `assign`.");var g=p((function t(e,i){return v(e,i,true)}),"merge","Use `assign`.");function y(t,e,i){var n=e.prototype,r;r=t.prototype=Object.create(n);r.constructor=t;r._super=n;if(i){m(r,i)}}function b(t,e){return function i(){return t.apply(e,arguments)}}function w(t,e){if(typeof t==a){return t.apply(e?e[0]||r:r,e)}return t}function T(t,e){return t===r?e:t}function x(t,e,i){d(S(e),(function(e){t.addEventListener(e,i,false)}))}function E(t,e,i){d(S(e),(function(e){t.removeEventListener(e,i,false)}))}function k(t,e){while(t){if(t==e){return true}t=t.parentNode}return false}function A(t,e){return t.indexOf(e)>-1}function S(t){return t.trim().split(/\s+/g)}function R(t,e,i){if(t.indexOf&&!i){return t.indexOf(e)}else{var n=0;while(n<t.length){if(i&&t[n][i]==e||!i&&t[n]===e){return n}n++}return-1}}function _(t){return Array.prototype.slice.call(t,0)}function I(t,e,i){var n=[];var r=[];var s=0;while(s<t.length){var o=e?t[s][e]:t[s];if(R(r,o)<0){n.push(t[s])}r[s]=o;s++}if(i){if(!e){n=n.sort()}else{n=n.sort((function t(i,n){return i[e]>n[e]}))}}return n}function D(t,e){var i,n;var o=e[0].toUpperCase()+e.slice(1);var a=0;while(a<s.length){i=s[a];n=i?i+o:e;if(n in t){return n}a++}return r}var z=1;function M(){return z++}function O(t){var i=t.ownerDocument||t;return i.defaultView||i.parentWindow||e}var P=/mobile|tablet|ip(ad|hone|od)|android/i;var C="ontouchstart"in e;var N=D(e,"PointerEvent")!==r;var L=C&&P.test(navigator.userAgent);var F="touch";var j="pen";var U="mouse";var B="kinect";var W=25;var X=1;var H=2;var Y=4;var q=8;var $=1;var G=2;var V=4;var Z=8;var K=16;var J=G|V;var Q=Z|K;var tt=J|Q;var et=["x","y"];var it=["clientX","clientY"];function nt(t,e){var i=this;this.manager=t;this.callback=e;this.element=t.element;this.target=t.options.inputTarget;this.domHandler=function(e){if(w(t.options.enable,[t])){i.handler(e)}};this.init()}nt.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler);this.evTarget&&x(this.target,this.evTarget,this.domHandler);this.evWin&&x(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler);this.evTarget&&E(this.target,this.evTarget,this.domHandler);this.evWin&&E(O(this.element),this.evWin,this.domHandler)}};function rt(t){var e;var i=t.options.inputClass;if(i){e=i}else if(N){e=At}else if(L){e=Ot}else if(!C){e=wt}else{e=Lt}return new e(t,st)}function st(t,e,i){var n=i.pointers.length;var r=i.changedPointers.length;var s=e&X&&n-r===0;var o=e&(Y|q)&&n-r===0;i.isFirst=!!s;i.isFinal=!!o;if(s){t.session={}}i.eventType=e;ot(t,i);t.emit("hammer.input",i);t.recognize(i);t.session.prevInput=i}function ot(t,e){var i=t.session;var n=e.pointers;var r=n.length;if(!i.firstInput){i.firstInput=ft(e)}if(r>1&&!i.firstMultiple){i.firstMultiple=ft(e)}else if(r===1){i.firstMultiple=false}var s=i.firstInput;var o=i.firstMultiple;var a=o?o.center:s.center;var c=e.center=ut(n);e.timeStamp=u();e.deltaTime=e.timeStamp-s.timeStamp;e.angle=pt(a,c);e.distance=dt(a,c);at(i,e);e.offsetDirection=ht(e.deltaX,e.deltaY);var l=lt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x;e.overallVelocityY=l.y;e.overallVelocity=f(l.x)>f(l.y)?l.x:l.y;e.scale=o?vt(o.pointers,n):1;e.rotation=o?mt(o.pointers,n):0;e.maxPointers=!i.prevInput?e.pointers.length:e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers;ct(i,e);var h=t.element;if(k(e.srcEvent.target,h)){h=e.srcEvent.target}e.target=h}function at(t,e){var i=e.center;var n=t.offsetDelta||{};var r=t.prevDelta||{};var s=t.prevInput||{};if(e.eventType===X||s.eventType===Y){r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0};n=t.offsetDelta={x:i.x,y:i.y}}e.deltaX=r.x+(i.x-n.x);e.deltaY=r.y+(i.y-n.y)}function ct(t,e){var i=t.lastInterval||e,n=e.timeStamp-i.timeStamp,s,o,a,c;if(e.eventType!=q&&(n>W||i.velocity===r)){var u=e.deltaX-i.deltaX;var l=e.deltaY-i.deltaY;var h=lt(n,u,l);o=h.x;a=h.y;s=f(h.x)>f(h.y)?h.x:h.y;c=ht(u,l);t.lastInterval=e}else{s=i.velocity;o=i.velocityX;a=i.velocityY;c=i.direction}e.velocity=s;e.velocityX=o;e.velocityY=a;e.direction=c}function ft(t){var e=[];var i=0;while(i<t.pointers.length){e[i]={clientX:c(t.pointers[i].clientX),clientY:c(t.pointers[i].clientY)};i++}return{timeStamp:u(),pointers:e,center:ut(e),deltaX:t.deltaX,deltaY:t.deltaY}}function ut(t){var e=t.length;if(e===1){return{x:c(t[0].clientX),y:c(t[0].clientY)}}var i=0,n=0,r=0;while(r<e){i+=t[r].clientX;n+=t[r].clientY;r++}return{x:c(i/e),y:c(n/e)}}function lt(t,e,i){return{x:e/t||0,y:i/t||0}}function ht(t,e){if(t===e){return $}if(f(t)>=f(e)){return t<0?G:V}return e<0?Z:K}function dt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function pt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.atan2(r,n)*180/Math.PI}function mt(t,e){return pt(e[1],e[0],it)+pt(t[1],t[0],it)}function vt(t,e){return dt(e[0],e[1],it)/dt(t[0],t[1],it)}var gt={mousedown:X,mousemove:H,mouseup:Y};var yt="mousedown";var bt="mousemove mouseup";function wt(){this.evEl=yt;this.evWin=bt;this.pressed=false;nt.apply(this,arguments)}y(wt,nt,{handler:function t(e){var i=gt[e.type];if(i&X&&e.button===0){this.pressed=true}if(i&H&&e.which!==1){i=Y}if(!this.pressed){return}if(i&Y){this.pressed=false}this.callback(this.manager,i,{pointers:[e],changedPointers:[e],pointerType:U,srcEvent:e})}});var Tt={pointerdown:X,pointermove:H,pointerup:Y,pointercancel:q,pointerout:q};var xt={2:F,3:j,4:U,5:B};var Et="pointerdown";var kt="pointermove pointerup pointercancel";if(e.MSPointerEvent&&!e.PointerEvent){Et="MSPointerDown";kt="MSPointerMove MSPointerUp MSPointerCancel"}function At(){this.evEl=Et;this.evWin=kt;nt.apply(this,arguments);this.store=this.manager.session.pointerEvents=[]}y(At,nt,{handler:function t(e){var i=this.store;var n=false;var r=e.type.toLowerCase().replace("ms","");var s=Tt[r];var o=xt[e.pointerType]||e.pointerType;var a=o==F;var c=R(i,e.pointerId,"pointerId");if(s&X&&(e.button===0||a)){if(c<0){i.push(e);c=i.length-1}}else if(s&(Y|q)){n=true}if(c<0){return}i[c]=e;this.callback(this.manager,s,{pointers:i,changedPointers:[e],pointerType:o,srcEvent:e});if(n){i.splice(c,1)}}});var St={touchstart:X,touchmove:H,touchend:Y,touchcancel:q};var Rt="touchstart";var _t="touchstart touchmove touchend touchcancel";function It(){this.evTarget=Rt;this.evWin=_t;this.started=false;nt.apply(this,arguments)}y(It,nt,{handler:function t(e){var i=St[e.type];if(i===X){this.started=true}if(!this.started){return}var n=Dt.call(this,e,i);if(i&(Y|q)&&n[0].length-n[1].length===0){this.started=false}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Dt(t,e){var i=_(t.touches);var n=_(t.changedTouches);if(e&(Y|q)){i=I(i.concat(n),"identifier",true)}return[i,n]}var zt={touchstart:X,touchmove:H,touchend:Y,touchcancel:q};var Mt="touchstart touchmove touchend touchcancel";function Ot(){this.evTarget=Mt;this.targetIds={};nt.apply(this,arguments)}y(Ot,nt,{handler:function t(e){var i=zt[e.type];var n=Pt.call(this,e,i);if(!n){return}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Pt(t,e){var i=_(t.touches);var n=this.targetIds;if(e&(X|H)&&i.length===1){n[i[0].identifier]=true;return[i,i]}var r,s,o=_(t.changedTouches),a=[],c=this.target;s=i.filter((function(t){return k(t.target,c)}));if(e===X){r=0;while(r<s.length){n[s[r].identifier]=true;r++}}r=0;while(r<o.length){if(n[o[r].identifier]){a.push(o[r])}if(e&(Y|q)){delete n[o[r].identifier]}r++}if(!a.length){return}return[I(s.concat(a),"identifier",true),a]}var Ct=2500;var Nt=25;function Lt(){nt.apply(this,arguments);var t=b(this.handler,this);this.touch=new Ot(this.manager,t);this.mouse=new wt(this.manager,t);this.primaryTouch=null;this.lastTouches=[]}y(Lt,nt,{handler:function t(e,i,n){var r=n.pointerType==F,s=n.pointerType==U;if(s&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents){return}if(r){Ft.call(this,i,n)}else if(s&&Ut.call(this,n)){return}this.callback(e,i,n)},destroy:function t(){this.touch.destroy();this.mouse.destroy()}});function Ft(t,e){if(t&X){this.primaryTouch=e.changedPointers[0].identifier;jt.call(this,e)}else if(t&(Y|q)){jt.call(this,e)}}function jt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;var r=function(){var t=n.indexOf(i);if(t>-1){n.splice(t,1)}};setTimeout(r,Ct)}}function Ut(t){var e=t.srcEvent.clientX,i=t.srcEvent.clientY;for(var n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n];var s=Math.abs(e-r.x),o=Math.abs(i-r.y);if(s<=Nt&&o<=Nt){return true}}return false}var Bt=D(o.style,"touchAction");var Wt=Bt!==r;var Xt="compute";var Ht="auto";var Yt="manipulation";var qt="none";var $t="pan-x";var Gt="pan-y";var Vt=Jt();function Zt(t,e){this.manager=t;this.set(e)}Zt.prototype={set:function(t){if(t==Xt){t=this.compute()}if(Wt&&this.manager.element.style&&Vt[t]){this.manager.element.style[Bt]=t}this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];d(this.manager.recognizers,(function(e){if(w(e.options.enable,[e])){t=t.concat(e.getTouchAction())}}));return Kt(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent;var i=t.offsetDirection;if(this.manager.session.prevented){e.preventDefault();return}var n=this.actions;var r=A(n,qt)&&!Vt[qt];var s=A(n,Gt)&&!Vt[Gt];var o=A(n,$t)&&!Vt[$t];if(r){var a=t.pointers.length===1;var c=t.distance<2;var f=t.deltaTime<250;if(a&&c&&f){return}}if(o&&s){return}if(r||s&&i&J||o&&i&Q){return this.preventSrc(e)}},preventSrc:function(t){this.manager.session.prevented=true;t.preventDefault()}};function Kt(t){if(A(t,qt)){return qt}var e=A(t,$t);var i=A(t,Gt);if(e&&i){return qt}if(e||i){return e?$t:Gt}if(A(t,Yt)){return Yt}return Ht}function Jt(){if(!Wt){return false}var t={};var i=e.CSS&&e.CSS.supports;["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=i?e.CSS.supports("touch-action",n):true}));return t}var Qt=1;var te=2;var ee=4;var ie=8;var ne=ie;var re=16;var se=32;function oe(t){this.options=m({},this.defaults,t||{});this.id=M();this.manager=null;this.options.enable=T(this.options.enable,true);this.state=Qt;this.simultaneous={};this.requireFail=[]}oe.prototype={defaults:{},set:function(t){m(this.options,t);this.manager&&this.manager.touchAction.update();return this},recognizeWith:function(t){if(h(t,"recognizeWith",this)){return this}var e=this.simultaneous;t=fe(t,this);if(!e[t.id]){e[t.id]=t;t.recognizeWith(this)}return this},dropRecognizeWith:function(t){if(h(t,"dropRecognizeWith",this)){return this}t=fe(t,this);delete this.simultaneous[t.id];return this},requireFailure:function(t){if(h(t,"requireFailure",this)){return this}var e=this.requireFail;t=fe(t,this);if(R(e,t)===-1){e.push(t);t.requireFailure(this)}return this},dropRequireFailure:function(t){if(h(t,"dropRequireFailure",this)){return this}t=fe(t,this);var e=R(this.requireFail,t);if(e>-1){this.requireFail.splice(e,1)}return this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this;var i=this.state;function n(i){e.manager.emit(i,t)}if(i<ie){n(e.options.event+ae(i))}n(e.options.event);if(t.additionalEvent){n(t.additionalEvent)}if(i>=ie){n(e.options.event+ae(i))}},tryEmit:function(t){if(this.canEmit()){return this.emit(t)}this.state=se},canEmit:function(){var t=0;while(t<this.requireFail.length){if(!(this.requireFail[t].state&(se|Qt))){return false}t++}return true},recognize:function(t){var e=m({},t);if(!w(this.options.enable,[this,e])){this.reset();this.state=se;return}if(this.state&(ne|re|se)){this.state=Qt}this.state=this.process(e);if(this.state&(te|ee|ie|re)){this.tryEmit(e)}},process:function(t){},getTouchAction:function(){},reset:function(){}};function ae(t){if(t&re){return"cancel"}else if(t&ie){return"end"}else if(t&ee){return"move"}else if(t&te){return"start"}return""}function ce(t){if(t==K){return"down"}else if(t==Z){return"up"}else if(t==G){return"left"}else if(t==V){return"right"}return""}function fe(t,e){var i=e.manager;if(i){return i.get(t)}return t}function ue(){oe.apply(this,arguments)}y(ue,oe,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return e===0||t.pointers.length===e},process:function(t){var e=this.state;var i=t.eventType;var n=e&(te|ee);var r=this.attrTest(t);if(n&&(i&q||!r)){return e|re}else if(n||r){if(i&Y){return e|ie}else if(!(e&te)){return te}return e|ee}return se}});function le(){ue.apply(this,arguments);this.pX=null;this.pY=null}y(le,ue,{defaults:{event:"pan",threshold:10,pointers:1,direction:tt},getTouchAction:function(){var t=this.options.direction;var e=[];if(t&J){e.push(Gt)}if(t&Q){e.push($t)}return e},directionTest:function(t){var e=this.options;var i=true;var n=t.distance;var r=t.direction;var s=t.deltaX;var o=t.deltaY;if(!(r&e.direction)){if(e.direction&J){r=s===0?$:s<0?G:V;i=s!=this.pX;n=Math.abs(t.deltaX)}else{r=o===0?$:o<0?Z:K;i=o!=this.pY;n=Math.abs(t.deltaY)}}t.direction=r;return i&&n>e.threshold&&r&e.direction},attrTest:function(t){return ue.prototype.attrTest.call(this,t)&&(this.state&te||!(this.state&te)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX;this.pY=t.deltaY;var e=ce(t.direction);if(e){t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function he(){ue.apply(this,arguments)}y(he,ue,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&te)},emit:function(t){if(t.scale!==1){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function de(){oe.apply(this,arguments);this._timer=null;this._input=null}y(de,oe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ht]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime>e.time;this._input=t;if(!n||!i||t.eventType&(Y|q)&&!r){this.reset()}else if(t.eventType&X){this.reset();this._timer=l((function(){this.state=ne;this.tryEmit()}),e.time,this)}else if(t.eventType&Y){return ne}return se},reset:function(){clearTimeout(this._timer)},emit:function(t){if(this.state!==ne){return}if(t&&t.eventType&Y){this.manager.emit(this.options.event+"up",t)}else{this._input.timeStamp=u();this.manager.emit(this.options.event,this._input)}}});function pe(){ue.apply(this,arguments)}y(pe,ue,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&te)}});function me(){ue.apply(this,arguments)}y(me,ue,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:J|Q,pointers:1},getTouchAction:function(){return le.prototype.getTouchAction.call(this)},attrTest:function(t){var e=this.options.direction;var i;if(e&(J|Q)){i=t.overallVelocity}else if(e&J){i=t.overallVelocityX}else if(e&Q){i=t.overallVelocityY}return this._super.attrTest.call(this,t)&&e&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&f(i)>this.options.velocity&&t.eventType&Y},emit:function(t){var e=ce(t.offsetDirection);if(e){this.manager.emit(this.options.event+e,t)}this.manager.emit(this.options.event,t)}});function ve(){oe.apply(this,arguments);this.pTime=false;this.pCenter=false;this._timer=null;this._input=null;this.count=0}y(ve,oe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Yt]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime<e.time;this.reset();if(t.eventType&X&&this.count===0){return this.failTimeout()}if(n&&r&&i){if(t.eventType!=Y){return this.failTimeout()}var s=this.pTime?t.timeStamp-this.pTime<e.interval:true;var o=!this.pCenter||dt(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp;this.pCenter=t.center;if(!o||!s){this.count=1}else{this.count+=1}this._input=t;var a=this.count%e.taps;if(a===0){if(!this.hasRequireFailures()){return ne}else{this._timer=l((function(){this.state=ne;this.tryEmit()}),e.interval,this);return te}}}return se},failTimeout:function(){this._timer=l((function(){this.state=se}),this.options.interval,this);return se},reset:function(){clearTimeout(this._timer)},emit:function(){if(this.state==ne){this._input.tapCount=this.count;this.manager.emit(this.options.event,this._input)}}});function ge(t,e){e=e||{};e.recognizers=T(e.recognizers,ge.defaults.preset);return new we(t,e)}ge.VERSION="2.0.7";ge.defaults={domEvents:false,touchAction:Xt,enable:true,inputTarget:null,inputClass:null,preset:[[pe,{enable:false}],[he,{enable:false},["rotate"]],[me,{direction:J}],[le,{direction:J},["swipe"]],[ve],[ve,{event:"doubletap",taps:2},["tap"]],[de]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ye=1;var be=2;function we(t,e){this.options=m({},ge.defaults,e||{});this.options.inputTarget=this.options.inputTarget||t;this.handlers={};this.session={};this.recognizers=[];this.oldCssProps={};this.element=t;this.input=rt(this);this.touchAction=new Zt(this,this.options.touchAction);Te(this,true);d(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]);t[3]&&e.requireFailure(t[3])}),this)}we.prototype={set:function(t){m(this.options,t);if(t.touchAction){this.touchAction.update()}if(t.inputTarget){this.input.destroy();this.input.target=t.inputTarget;this.input.init()}return this},stop:function(t){this.session.stopped=t?be:ye},recognize:function(t){var e=this.session;if(e.stopped){return}this.touchAction.preventDefaults(t);var i;var n=this.recognizers;var r=e.curRecognizer;if(!r||r&&r.state&ne){r=e.curRecognizer=null}var s=0;while(s<n.length){i=n[s];if(e.stopped!==be&&(!r||i==r||i.canRecognizeWith(r))){i.recognize(t)}else{i.reset()}if(!r&&i.state&(te|ee|ie)){r=e.curRecognizer=i}s++}},get:function(t){if(t instanceof oe){return t}var e=this.recognizers;for(var i=0;i<e.length;i++){if(e[i].options.event==t){return e[i]}}return null},add:function(t){if(h(t,"add",this)){return this}var e=this.get(t.options.event);if(e){this.remove(e)}this.recognizers.push(t);t.manager=this;this.touchAction.update();return t},remove:function(t){if(h(t,"remove",this)){return this}t=this.get(t);if(t){var e=this.recognizers;var i=R(e,t);if(i!==-1){e.splice(i,1);this.touchAction.update()}}return this},on:function(t,e){if(t===r){return}if(e===r){return}var i=this.handlers;d(S(t),(function(t){i[t]=i[t]||[];i[t].push(e)}));return this},off:function(t,e){if(t===r){return}var i=this.handlers;d(S(t),(function(t){if(!e){delete i[t]}else{i[t]&&i[t].splice(R(i[t],e),1)}}));return this},emit:function(t,e){if(this.options.domEvents){xe(t,e)}var i=this.handlers[t]&&this.handlers[t].slice();if(!i||!i.length){return}e.type=t;e.preventDefault=function(){e.srcEvent.preventDefault()};var n=0;while(n<i.length){i[n](e);n++}},destroy:function(){this.element&&Te(this,false);this.handlers={};this.session={};this.input.destroy();this.element=null}};function Te(t,e){var i=t.element;if(!i.style){return}var n;d(t.options.cssProps,(function(r,s){n=D(i.style,s);if(e){t.oldCssProps[n]=i.style[n];i.style[n]=r}else{i.style[n]=t.oldCssProps[n]||""}}));if(!e){t.oldCssProps={}}}function xe(t,e){var n=i.createEvent("Event");n.initEvent(t,true,true);n.gesture=e;e.target.dispatchEvent(n)}m(ge,{INPUT_START:X,INPUT_MOVE:H,INPUT_END:Y,INPUT_CANCEL:q,STATE_POSSIBLE:Qt,STATE_BEGAN:te,STATE_CHANGED:ee,STATE_ENDED:ie,STATE_RECOGNIZED:ne,STATE_CANCELLED:re,STATE_FAILED:se,DIRECTION_NONE:$,DIRECTION_LEFT:G,DIRECTION_RIGHT:V,DIRECTION_UP:Z,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:J,DIRECTION_VERTICAL:Q,DIRECTION_ALL:tt,Manager:we,Input:nt,TouchAction:Zt,TouchInput:Ot,MouseInput:wt,PointerEventInput:At,TouchMouseInput:Lt,SingleTouchInput:It,Recognizer:oe,AttrRecognizer:ue,Tap:ve,Pan:le,Swipe:me,Pinch:he,Rotate:pe,Press:de,on:x,off:E,each:d,merge:g,extend:v,assign:m,inherit:y,bindFn:b,prefixed:D});var Ee=typeof e!=="undefined"?e:typeof self!=="undefined"?self:{};Ee.Hammer=ge;if(typeof r==="function"&&r.amd){r((function(){return ge}))}else if(t.exports){t.exports=ge}else{e[n]=ge}})(window,document,"Hammer")})(u);const l=u.exports;const h=":host{--percentuale:0;display:flex;width:100%;min-width:200px;max-width:100dvw;box-sizing:border-box;background:var(--color-surface01);border-radius:var(--border-size-large);box-shadow:var(--shadow-3);color:var(--color-default-text);fill:var(--color-primary01-icon);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-rg)}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}.toast-notification-container{display:flex;width:100%;align-items:baseline;justify-content:space-between;padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);gap:calc(var(--space-unit) * 2)}.toast-notification-content{display:flex;width:100%;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:calc(var(--space-unit) * 2)}.toast-notification-content .toast-notification-text{color:inherit;letter-spacing:0.16px;line-height:1.25rem}.toast-notification-content .toast-notification-text .title{margin-right:calc(var(--space-unit) / 2);font-weight:var(--font-sb)}.close-button{height:1.125rem;padding:0;border:none;background-color:transparent;cursor:pointer}.close-button z-icon{--z-icon-width:1.125rem;--z-icon-height:1.125rem;display:inline-block;height:1.25rem}.close-button:focus:focus-visible{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none}:host(.dark){background:var(--color-surface05);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.dark) .close-button:focus:focus-visible{box-shadow:0 0 0 2px var(--gray900),\n 0 0 2px 5px var(--blue25)}:host(.accent){background:var(--color-primary01)}:host(.error){background:var(--color-default-error)}:host(.success){background:var(--color-default-success)}:host(.warning){background:var(--color-default-warning)}:host(.accent),:host(.error),:host(.success){color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.warning) .close-button{fill:var(--color-default-icon)}@media (min-width: 768px){:host{width:fit-content;max-width:50vw}.toast-notification-content{flex-wrap:nowrap}}@media (min-width: 1366px){:host{max-width:33vw}}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}";const d=h;const p={[s.SLIDE_IN_DOWN]:s.SLIDE_OUT_UP,[s.SLIDE_IN_UP]:s.SLIDE_OUT_DOWN,[s.SLIDE_IN_LEFT]:s.SLIDE_OUT_RIGHT,[s.SLIDE_IN_RIGHT]:s.SLIDE_OUT_LEFT};const m=class{constructor(i){t(this,i);this.toastClose=e(this,"toastClose",7);this.isCloseEventCalled=false;this.heading=undefined;this.message=undefined;this.closebutton=undefined;this.autoclose=undefined;this.pauseonfocusloss=true;this.type=undefined;this.isdraggable=true;this.draggablepercentage=80;this.transition=undefined;this.percentage=undefined;this.hasSlottedButton=undefined}watchPropIsdraggable(t){if(t){this.sliderManager.get("pan").set({enable:true})}else{this.sliderManager.get("pan").set({enable:false})}}watchPropAutoclose(t){clearTimeout(this.timeoutHandle);this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){if(this.autoclose){if(t){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}else{document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler)}}}close(t,e){if(e&&this.timeoutHandle){clearTimeout(this.timeoutHandle)}this.timeoutHandle=null;this.elapsedTime=null;this.toastClose.emit();if(t){this.hostElement.classList.add(t)}else{this.hostElement.parentNode.removeChild(this.hostElement)}}visibilityChangeEventHandler(){if(document.visibilityState==="hidden"){this.timeoutHandle&&this.onBlur()}else{this.elapsedTime&&this.onFocus()}}validateAutoclose(){if(!this.autoclose&&!this.closebutton){console.error("At least one between autoclose and closebutton must be present")}}calculateDraggedPercentage(t){const e=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/e.width)}handleSlideOutDragAnimation(){this.sliderManager=new l(this.hostElement);this.sliderManager.get("pan").set({direction:l.DIRECTION_HORIZONTAL});this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t);this.hostElement.style.transition="none";if(this.transition){this.hostElement.classList.remove(this.transition)}const e={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=`${100-Math.abs(this.percentage)}%`;if(t.eventType===l.DIRECTION_LEFT||t.eventType===l.DIRECTION_RIGHT){this.hostElement.style.transform=e.translate;if(Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled){this.isCloseEventCalled=true;this.close(t.direction===l.DIRECTION_LEFT?s.SLIDE_OUT_LEFT:s.SLIDE_OUT_RIGHT,true)}}if(t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage){this.hostElement.style.transform=e.translateBack;this.hostElement.style.transition="all 1s";this.hostElement.style.opacity="100%";this.percentage=0}}))}onFocus(){let t=this.autoclose;if(this.elapsedTime){t=this.autoclose-this.elapsedTime}if(t>0){this.startClosingTimeout(t)}}onBlur(){this.elapsedTime=Date.now()-this.startTime;clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=window.setTimeout((()=>this.close(p[this.transition],false)),t)}checkSlottedButton(){this.hasSlottedButton=!!this.hostElement.querySelector("[slot='button']")}componentWillLoad(){this.validateAutoclose();this.checkSlottedButton();this.percentage=0}componentDidLoad(){this.startTime=Date.now();if(this.autoclose){if(this.pauseonfocusloss){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}if(!this.transition){this.startClosingTimeout(this.autoclose)}}this.isdraggable&&this.handleSlideOutDragAnimation()}render(){return i(n,{key:"a5863e7ce8d266fba25e2a0503b57413ea276420",style:{"--percentuale":`${this.percentage}%`},class:{[this.transition]:!!this.transition,[this.type]:!!this.type},onAnimationEnd:t=>{if(this.autoclose&&t.animationName.includes("slidein")){this.startClosingTimeout(this.autoclose)}if(t.animationName.includes("slideout")){this.hostElement.parentNode.removeChild(this.hostElement)}}},i("div",{key:"2ff98af17ebad39c00098acfc17b842784b268e0",class:"toast-notification-container"},i("div",{key:"9e12233cc275ad5f4d00b72253005d1b6d45feab",class:"toast-notification-content"},i("div",{key:"a10e179aa0895c1ed51861e8818ae35eaeed195c",class:"toast-notification-text"},this.heading&&i("span",{key:"88d3e049e558a3f107e6a8fcab1f4c3835173def",class:"title"},this.heading),i("span",{key:"73624c5b86d0d842477e9a5f0512d24359b6f939",class:"message"},i("slot",{key:"e7ad8066daef392d83fa77340a16d384204f59fc",name:"message"},this.message&&i("span",{key:"59582a721c306d09cd5c2ca12bfaac649b2e5a1f",innerHTML:f.sanitize(this.message)})))),i("div",{key:"071e7a3a9a85f931bf8cc7d264c76f5109f69cc0",class:"button-container",hidden:!this.hasSlottedButton},i("slot",{key:"3ff74ad6ce9cc2d4fca76032ff0aa68c7553f8de",name:"button",onSlotchange:()=>this.checkSlottedButton()}))),this.closebutton&&i("button",{key:"26e256f736a3b04e5ccc7ed158305f69d806c42d",class:"close-button","aria-label":"Chiudi notifica",onClick:()=>this.close(p[this.transition],true),onKeyDown:t=>{if(t.code==o.SPACE||t.code==o.ENTER){t.preventDefault();this.close(p[this.transition],true)}}},i("z-icon",{key:"25a4e24b16fb29ecd7148700367d319dbb9d9c6d",name:"multiply-circled"}))))}get hostElement(){return r(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};m.style=d;export{m as z_toast_notification};
8
+ //# sourceMappingURL=p-f74973b5.entry.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,H as a,b as t}from"./p-75c4a726.js";export{s as setNonce}from"./p-75c4a726.js";import{g as o}from"./p-e1255160.js";var l=()=>{{i(a.prototype)}const t=import.meta.url;const o={};if(t!==""){o.resourcesUrl=new URL(".",t).href}return e(o)};var i=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const t=a.call(this,false);const o=this.childNodes;if(e){for(let e=0;e<o.length;e++){if(o[e].nodeType!==2){t.appendChild(o[e].cloneNode(true))}}}return t}};l().then((async e=>{await o();return t(JSON.parse('[["p-05be939d",[[1,"z-app-header",{"stuck":[516],"enableOffcanvas":[1540,"enable-offcanvas"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"enableZLogo":[516,"enable-z-logo"],"drawerOpen":[1028,"drawer-open"],"_stuck":[32],"menuLength":[32],"isMobile":[32],"isTablet":[32]},[[5,"focusin","manageMenus"],[5,"click","manageMenus"],[1,"keydown","handleKeydown"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckChange"]}],[1,"z-searchbar",{"htmlid":[513],"preventSubmit":[4,"prevent-submit"],"label":[1],"htmlAriaLabel":[1,"html-aria-label"],"value":[1],"placeholder":[1],"autocomplete":[4],"autocompleteMinChars":[2,"autocomplete-min-chars"],"resultsCount":[2,"results-count"],"searchHelperLabel":[1,"search-helper-label"],"resultsItems":[1,"results-items"],"sortResultsItems":[4,"sort-results-items"],"showSearchButton":[4,"show-search-button"],"searchButtonIconOnly":[4,"search-button-icon-only"],"size":[1],"variant":[1],"searchString":[32],"currResultsCount":[32],"showResults":[32],"isMobile":[32],"selectedItem":[32]},[[4,"click","handleOutsideClick"]],{"resultsItems":["watchItems"],"resultsCount":["watchResultsCount"],"value":["watchValue"],"searchString":["watchSearchString"],"showResults":["watchShowResults"]}],[6,"z-offcanvas",{"variant":[513],"open":[1540],"transitiondirection":[513],"skipLoadAnimation":[4,"skip-load-animation"],"showBackdrop":[4,"show-backdrop"],"skipAnimation":[32]},[[4,"keydown","handleKeyDown"],[2,"click","stopEvent"],[2,"focusin","stopEvent"]],{"variant":["handlePageOverflow"],"open":["onOpenChanged"]}],[6,"z-tag",{"icon":[1],"expandable":[4]}],[1,"z-list-group",{"size":[513],"dividerType":[513,"divider-type"],"dividerSize":[513,"divider-size"],"dividerColor":[513,"divider-color"],"listType":[513,"list-type"],"hasTreeItems":[4,"has-tree-items"],"role":[513]}],[1,"z-list",{"size":[513],"listType":[513,"list-type"],"role":[513]}],[1,"z-list-element",{"alignButton":[513,"align-button"],"clickable":[516],"dividerColor":[1,"divider-color"],"dividerType":[1,"divider-type"],"dividerSize":[1,"divider-size"],"expandable":[516],"expandableStyle":[1,"expandable-style"],"listElementId":[514,"list-element-id"],"size":[513],"color":[513],"disabled":[516],"listElementPosition":[513,"list-element-position"],"listType":[513,"list-type"],"hasTreeItems":[4,"has-tree-items"],"role":[513],"htmlTabindex":[2,"html-tabindex"],"showInnerContent":[32]},[[4,"accessibleFocus","accessibleFocusHandler"]]],[2,"z-input",{"htmlid":[1],"type":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"htmlAriaExpanded":[1,"html-aria-expanded"],"htmlAriaControls":[1,"html-aria-controls"],"htmlAriaAutocomplete":[1,"html-aria-autocomplete"],"htmlAriaActivedescendant":[1,"html-aria-activedescendant"],"value":[1025],"disabled":[516],"readonly":[4],"required":[4],"checked":[1028],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"labelPosition":[1,"label-position"],"autocomplete":[1],"role":[1],"hasclearicon":[4],"icon":[1],"min":[2],"minlength":[2],"max":[2],"maxlength":[2],"step":[2],"pattern":[1],"size":[513],"isTyping":[32],"passwordHidden":[32],"isChecked":[64]},[[4,"inputCheck","inputCheckListener"]]],[1,"z-input-message",{"message":[1],"status":[513],"disabled":[516],"statusRole":[32]},null,{"message":["onMessageChange"],"status":["onMessageChange"]}],[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}],[6,"z-button",{"ariaLabel":[1,"aria-label"],"role":[1],"htmlrole":[1],"href":[1],"target":[1],"htmlid":[1],"name":[1],"disabled":[516],"type":[1],"variant":[513],"icon":[1],"iconPosition":[513,"icon-position"],"size":[513]}],[1,"z-icon",{"name":[1],"height":[8],"width":[8],"iconid":[1],"fill":[1],"indicatorColor":[1,"indicator-color"]}]]],["p-6164feb9",[[1,"z-app-header-deprecated",{"stuck":[516],"hero":[1],"overlay":[516],"flow":[513],"drawerOpen":[516,"drawer-open"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"_stuck":[32],"currentViewport":[32],"menuLength":[32]},[[9,"resize","evaluateViewport"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckMode"]}]]],["p-a8790237",[[2,"z-select",{"htmlid":[1],"items":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"readonly":[4],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"autocomplete":[4],"noresultslabel":[1],"hasGroupItems":[4,"has-group-items"],"hasTreeItems":[4,"has-tree-items"],"showChildrenOfMatchingParent":[4,"show-children-of-matching-parent"],"isfixed":[4],"resetItem":[1,"reset-item"],"size":[1],"isOpen":[32],"selectedItem":[32],"focusedItemId":[32],"searchString":[32],"getSelectedItem":[64],"getValue":[64],"setValue":[64]},null,{"items":["watchItems"]}]]],["p-9814f864",[[1,"z-breadcrumb",{"pathStyle":[513,"path-style"],"homepageVariant":[1,"homepage-variant"],"maxNodesToShow":[2,"max-nodes-to-show"],"preventFollowUrl":[4,"prevent-follow-url"],"overflowMenuItemRows":[2,"overflow-menu-item-rows"],"truncateChar":[2,"truncate-char"],"viewPortWidth":[32],"hasOverflow":[32],"popoverEllipsisOpen":[32]},[[9,"resize","handleResize"]],{"maxNodesToShow":["handlePropChange"],"viewPortWidth":["handleResizeUp"]}]]],["p-c3e03e41",[[1,"z-combobox",{"inputid":[1],"items":[1],"label":[1],"disabled":[516],"hassearch":[4],"searchlabel":[1],"searchplaceholder":[1],"searchtitle":[1],"noresultslabel":[1],"isopen":[1028],"isfixed":[4],"hascheckall":[4],"checkalltext":[1],"uncheckalltext":[1],"maxcheckableitems":[2],"hasgroupitems":[4],"size":[1],"htmlAriaLabel":[1,"html-aria-label"],"searchValue":[32],"selectedCounter":[32],"renderItemsList":[32],"focusedItemId":[32]},null,{"items":["watchItems"],"searchValue":["watchSearchValue"]}]]],["p-30a78a06",[[1,"z-myz-card-dictionary",{"name":[1],"cover":[1],"disabled":[4],"flipped":[1028],"flipbuttonlabel":[1],"hideinfobtn":[4]},[[0,"flipCard","handleFlipCard"]]]]],["p-88a9865c",[[6,"z-file-upload",{"type":[513],"buttonVariant":[1,"button-variant"],"acceptedFormat":[1,"accepted-format"],"fileMaxSize":[2,"file-max-size"],"mainTitle":[1,"main-title"],"description":[1],"uploadBtnLabel":[1,"upload-btn-label"],"dragAndDropLabel":[1,"drag-and-drop-label"],"allowedFilesMessage":[1,"allowed-files-message"],"uploadClickableMessage":[1,"upload-clickable-message"],"uploadMessage":[1,"upload-message"],"errorModalTitle":[1,"error-modal-title"],"errorModalMessage":[1,"error-modal-message"],"uploadedFilesLabel":[1,"uploaded-files-label"],"hasFileSection":[4,"has-file-section"],"inputName":[1,"input-name"],"showErrors":[4,"show-errors"],"_type":[32],"files":[32],"invalidFiles":[32],"input":[32],"getFiles":[64],"removeFile":[64]},[[0,"removeFile","onFileRemoved"],[0,"fileDropped","fileDroppedListener"]]]]],["p-41891d34",[[0,"z-pagination",{"label":[1],"navArrows":[4,"nav-arrows"],"totalPages":[2,"total-pages"],"skip":[2],"edges":[4],"split":[2],"visiblePages":[2,"visible-pages"],"currentPage":[1026,"current-page"],"goToPage":[4,"go-to-page"],"_visiblePages":[32],"isMobile":[32],"goToPageValue":[32]},[[9,"resize","onResize"]],{"_visiblePages":["setPagesContainerWidth"],"visiblePages":["setVisiblePages"],"currentPage":["onPageChanged"],"split":["onSplitChanged"]}]]],["p-a2ee659d",[[1,"z-tree-list",{"items":[1],"htmlAriaLabelledby":[513,"html-aria-labelledby"],"htmlSectionTitle":[513,"html-section-title"]},null,{"items":["watchItems"]}]]],["p-8503c87a",[[1,"z-book-card",{"variant":[513],"cover":[1],"operaTitle":[1,"opera-title"],"volumeTitle":[1,"volume-title"],"authors":[1],"isbn":[1],"isbnLabel":[1,"isbn-label"],"year":[1],"ebookUrl":[1,"ebook-url"],"linkTarget":[1,"link-target"],"fallbackCover":[1,"fallback-cover"],"hasMultipleCovers":[4,"has-multiple-covers"],"titleHtmlTag":[1,"title-html-tag"]}]]],["p-b421424f",[[1,"z-carousel",{"isLoading":[4,"is-loading"],"label":[1],"single":[516],"arrowsPosition":[513,"arrows-position"],"progressMode":[1,"progress-mode"],"fixedArrows":[516,"fixed-arrows"],"ghostLoadingHeight":[2,"ghost-loading-height"],"infinite":[4],"current":[32],"items":[32],"highlightedIndicator":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},null,{"current":["onIndexChange"],"single":["onSingleModeChange"],"infinite":["onInfiniteModeChange"]}]]],["p-aaa96c12",[[4,"z-date-picker",{"datePickerId":[1,"date-picker-id"],"ariaLabel":[1,"aria-label"],"label":[1],"mode":[1],"name":[1],"value":[1],"flatpickrPosition":[32],"inputError":[32]},[[2,"keydown","handleKeyDown"]],{"mode":["setupPickers"]}]]],["p-ff89d630",[[2,"z-file",{"fileNumber":[2,"file-number"],"fileName":[1,"file-name"],"allowPopover":[32],"popoverVisible":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseleave","onMouseLeave"],[0,"interactiveIconClick","onInteractiveIconClick"]]]]],["p-6e13aa8e",[[0,"z-range-picker",{"rangePickerId":[1,"range-picker-id"],"firstAriaLabel":[1,"first-aria-label"],"firstLabel":[1,"first-label"],"secondAriaLabel":[1,"second-aria-label"],"secondLabel":[1,"second-label"],"mode":[1],"firstPickerReadOnly":[4,"first-picker-read-only"],"lastPickerReadOnly":[4,"last-picker-read-only"],"firstPickerPlaceholder":[1,"first-picker-placeholder"],"lastPickerPlaceholder":[1,"last-picker-placeholder"],"flatpickrPosition":[32],"activeInput":[32],"firstInputError":[32],"lastInputError":[32]},[[18,"click","handleClick"],[18,"keyup","handleKeyDown"]],{"firstPickerReadOnly":["setupFirstPickersReadOnly"],"lastPickerReadOnly":["setupLastPickersReadOnly"],"mode":["setupPickers"]}]]],["p-82eeea83",[[1,"z-td",{"colspan":[2],"sticky":[516],"showMenu":[513,"show-menu"],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-efa6b991",[[1,"z-th",{"colspan":[2],"showMenu":[513,"show-menu"],"showSorting":[513,"show-sorting"],"sticky":[516],"sortDirection":[1025,"sort-direction"],"sorted":[1540],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-f2c2ad04",[[1,"z-tool",{"icon":[1],"tooltip":[1],"tooltipPosition":[1,"tooltip-position"],"htmlAriaLabel":[1,"html-aria-label"],"active":[516],"disabled":[516],"open":[1540],"indicatorColor":[1025,"indicator-color"],"tooltipOpen":[32],"hasSlottedContent":[32],"isMobile":[32],"hasNestedOpenTools":[32],"setFocus":[64],"setTabIndex":[64],"closeTooltip":[64]},[[0,"keydown","handleKeyDown"],[16,"click","onOutsideClick"],[0,"toggleSubmenu","onNestedToolToggle"],[0,"colorSelected","handleColorSelected"],[17,"focusin","handleExternalFocusin"]],{"open":["handleOpenChange"],"tooltipOpen":["handleTooltipOpenChange"]}]]],["p-47b59f05",[[4,"z-anchor-navigation",{"hideUnselected":[516,"hide-unselected"],"autoCurrent":[4,"auto-current"],"collapsedLabel":[1,"collapsed-label"],"isCollapsed":[516,"is-collapsed"],"collapsed":[32]}]]],["p-92f13701",[[1,"z-book-card-app",{"logo":[1],"name":[1],"link":[1],"laz":[4],"info":[1]}]]],["p-c811b0cf",[[1,"z-myz-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["p-fbce9614",[[1,"z-myz-card-info",{"data":[1],"htmltabindex":[2],"hiddenContent":[32],"tooltip":[32]}]]],["p-4504375f",[[1,"z-myz-list",{"inputrawdata":[1],"list":[1040]},null,{"inputrawdata":["oninputrawdataChange"]}]]],["p-0aed3ddc",[[1,"z-otp",{"inputNum":[2,"input-num"],"status":[1],"message":[1]}]]],["p-31bd2a1c",[[1,"z-result-card",{"cardTitle":[1,"card-title"],"cardSubtitle":[1,"card-subtitle"],"authors":[1],"cover":[1],"fallbackCover":[1,"fallback-cover"],"hasMultipleCovers":[4,"has-multiple-covers"],"isInfoCard":[4,"is-info-card"],"titleHtmlTag":[1,"title-html-tag"]}]]],["p-32bc8a40",[[1,"z-accordion",{"label":[1],"icon":[1],"size":[513],"isDisabled":[516,"is-disabled"],"open":[1540],"highlight":[516],"variant":[513],"shadow":[516],"hasSlottedTags":[32]},null,{"isDisabled":["onDisabledChange"]}]]],["p-447a6391",[[1,"z-book-card-deprecated",{"variant":[1],"cover":[1],"operaTitle":[1,"opera-title"],"volumeTitle":[1,"volume-title"],"authors":[1],"isbn":[1],"isbnLabel":[1,"isbn-label"],"ribbon":[1],"ribbonIcon":[1,"ribbon-icon"],"ribbonInteractive":[4,"ribbon-interactive"],"borderless":[4],"fallbackCover":[1,"fallback-cover"],"operaTitleTag":[1,"opera-title-tag"],"isMobile":[32],"hasResources":[32],"showResources":[32]}]]],["p-7d655f96",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028],"allowTooltip":[32]}]]],["p-66c0f993",[[1,"z-card",{"variant":[513],"coverIcon":[1,"cover-icon"],"showShadow":[516,"show-shadow"],"clickable":[516],"hasCoverImage":[32]}]]],["p-7a4f6a5b",[[1,"z-info-box",{"boxid":[1],"isclosable":[4]}]]],["p-a3f9a5da",[[1,"z-menu",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"htmlTabindex":[1026,"html-tabindex"],"hasHeader":[32],"hasContent":[32],"setFocus":[64],"focusLastItem":[64]},[[4,"click","onItemClick"],[0,"keydown","onKeyDown"]],{"open":["onOpenChanged"],"htmlTabindex":["setLabelA11yAttrs"]}]]],["p-6c6a655e",[[1,"z-menu-deprecated",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]],{"open":["onOpenChanged"]}]]],["p-93d349ee",[[1,"z-menu-section",{"active":[516],"htmlTabindex":[2,"html-tabindex"],"open":[1028],"hasItems":[32],"items":[32],"focusLastItem":[64],"setFocus":[64]},[[0,"keydown","onItemsKeydown"]],{"open":["onOpenChange"],"htmlTabindex":["onTabindexChange"]}]]],["p-9ae0c0c6",[[1,"z-menu-section-deprecated",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["p-b7056859",[[1,"z-myz-card-icon",{"icon":[1],"isdisabled":[4],"ariaLabel":[1,"aria-label"]}]]],["p-f4b987ed",[[4,"z-navigation-tabs",{"ariaLabel":[1,"aria-label"],"orientation":[513],"size":[513],"selectedTab":[1026,"selected-tab"],"canNavigate":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},[[0,"click","handleTabClick"],[0,"focusin","onTabFocusIn"],[0,"keydown","navigateThroughTabs"],[0,"focusout","onTabFocusOut"]],{"canNavigate":["checkScrollEnabled"],"selectedTab":["onTabSelected"]}]]],["p-c89e1f4b",[[1,"z-notification",{"contenticonname":[1],"actiontext":[1],"type":[513],"showclose":[4],"showshadow":[516],"sticky":[516]}]]],["p-5989465b",[[6,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descrSlotName":[1,"descr-slot-name"]}]]],["p-252893a8",[[1,"z-section-title",{"dividerPosition":[1,"divider-position"],"uppercase":[516]}]]],["p-b0324c7d",[[1,"z-slideshow",{"slideshowid":[1],"data":[1],"device":[32],"currentSlide":[32]},null,{"data":["watchData"]}]]],["p-b7ec2cc4",[[1,"z-stepper-item",{"index":[514],"href":[513],"pressed":[516],"checked":[516],"disabled":[516]}]]],["p-e8eacbeb",[[1,"z-toast-notification",{"heading":[1],"message":[1],"closebutton":[4],"autoclose":[2],"pauseonfocusloss":[4],"type":[1],"isdraggable":[4],"draggablepercentage":[2],"transition":[1],"percentage":[32],"hasSlottedButton":[32]},null,{"isdraggable":["watchPropIsdraggable"],"autoclose":["watchPropAutoclose"],"pauseonfocusloss":["watchPropPauseonfocusloss"]}]]],["p-b391211f",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"opened":[1028],"ariaLabel":[1,"aria-label"]}]]],["p-35d73edf",[[6,"z-toggle-switch",{"disabled":[516],"labelPosition":[513,"label-position"],"checked":[1028],"htmlid":[1]}]]],["p-f7e65eb0",[[1,"z-tr",{"expandable":[516],"expanded":[32],"expandableContentId":[32]},[[0,"colspanchange","updateColumns"]],{"expandable":["updateColumns"]}]]],["p-da3abb97",[[4,"z-aria-alert",{"mode":[1]}]]],["p-c9b81cab",[[1,"z-avatar",{"size":[1],"text":[1],"textColor":[1,"text-color"],"backgroundColor":[1,"background-color"],"image":[1025]}]]],["p-bd76ca35",[[1,"z-color-picker",{"selectedColor":[1025,"selected-color"],"lng":[1],"htmlAriaLabel":[1,"html-aria-label"],"disableTransparent":[4,"disable-transparent"],"setFocus":[64]},[[0,"focus","setFocus"],[0,"keydown","handleKeyDown"],[0,"blur","handleBlur"]],{"disableTransparent":["validateTransparentSelection"],"selectedColor":["validateTransparentSelection","emitColorSelected"]}]]],["p-8fd50cc5",[[1,"z-cover-hero",{"variant":[513],"contentPosition":[513,"content-position"],"preserveAspectRatio":[516,"preserve-aspect-ratio"]},[[2,"load","onImgLoad"]]]]],["p-943db3a8",[[1,"z-logo",{"width":[2],"height":[2],"imageAlt":[1,"image-alt"],"link":[1],"targetBlank":[4,"target-blank"],"mobileLogo":[4,"mobile-logo"]}]]],["p-76d1d0e4",[[1,"z-myz-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"opened":[4],"customContent":[4,"custom-content"],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["p-f92e0c29",[[1,"z-myz-card-footer-sections"]]],["p-8988eee3",[[1,"z-myz-card-list",{"listdata":[1]}]]],["p-43adca09",[[2,"z-skip-to-content",{"variant":[513],"links":[1025],"visible":[32],"visibleLink":[32]},[[4,"focusout","handleFocusOutSkipToContent"],[4,"focusin","handleFocusSkipToContent"]]]]],["p-b71a3f69",[[1,"z-stepper"]]],["p-ec1270db",[[1,"z-table",{"bordered":[516],"expandable":[32]}]]],["p-988a58dd",[[1,"z-tbody"]]],["p-3977b0ae",[[1,"z-tfoot",{"sticky":[516]}]]],["p-42abfe3b",[[1,"z-thead",{"sticky":[516],"isFocusable":[516,"is-focusable"]}]]],["p-accbc381",[[1,"z-toast-notification-list",{"position":[513],"newestontop":[4]},null,{"newestontop":["watchPropNewestontop"]}]]],["p-b54d923e",[[1,"z-toolbar",{"htmlAriaLabel":[1,"html-aria-label"],"currentFocusIndex":[32]},[[0,"toggleSubmenu","closeSiblingSubmenusOnOpen"],[0,"toggleTooltip","closeSiblingTooltipsOnOpen"],[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"]]]]],["p-8c52635e",[[1,"z-visually-hidden"]]],["p-cbc09112",[[6,"z-chip",{"icon":[1],"type":[513],"interactiveIcon":[513,"interactive-icon"],"disabled":[516],"ariaLabel":[1,"aria-label"]}]]],["p-a4d2cf55",[[1,"z-info-reveal",{"icon":[1],"position":[513],"label":[1],"ariaLabel":[1,"aria-label"],"size":[513],"open":[32]},[[9,"resize","adjustPanelPosition"],[10,"keydown","handleEscapeKey"]],{"position":["adjustPanelPosition"],"open":["adjustPanelPosition"]}]]],["p-869295ce",[[1,"z-myz-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]],["p-6d15da6f",[[1,"z-tooltip",{"position":[513],"dark":[516],"open":[1540],"bindTo":[1,"bind-to"],"closable":[4]},[[0,"openChange","onPopoverOpenChange"]]]]],["p-f662e7ff",[[1,"z-alert",{"type":[1]}]]],["p-767b66ca",[[1,"z-ghost-loading"]]],["p-565c1815",[[1,"z-dragdrop-area",{"dragAndDropLabel":[1,"drag-and-drop-label"],"dragging":[32]}],[1,"z-modal",{"modalid":[1],"modaltitle":[1],"modalsubtitle":[1],"closeButtonLabel":[1,"close-button-label"],"alertdialog":[4],"closable":[4],"scrollInside":[4,"scroll-inside"],"lockPageScroll":[4,"lock-page-scroll"],"open":[64],"close":[64]},[[0,"keydown","handleKeyDown"]]]]],["p-6c9cd6be",[[1,"z-book-cover",{"cover":[1],"fallbackCover":[1,"fallback-cover"],"multiple":[516],"bordered":[516]}]]],["p-0643d684",[[1,"z-myz-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}],[1,"z-myz-card-body"],[1,"z-myz-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}],[1,"z-myz-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["p-1b972597",[[1,"z-popover",{"position":[1537],"open":[1540],"bindTo":[1,"bind-to"],"showArrow":[516,"show-arrow"],"center":[516],"closable":[4],"currentPosition":[32]},[[10,"keyup","closePopoverWithKeyboard"],[18,"click","handleOutsideClick"]],{"position":["validatePosition"],"open":["onOpen"],"bindTo":["onBindingChange"]}]]]]'),e)}));
1
+ import{p as e,H as a,b as t}from"./p-75c4a726.js";export{s as setNonce}from"./p-75c4a726.js";import{g as o}from"./p-e1255160.js";var l=()=>{{i(a.prototype)}const t=import.meta.url;const o={};if(t!==""){o.resourcesUrl=new URL(".",t).href}return e(o)};var i=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const t=a.call(this,false);const o=this.childNodes;if(e){for(let e=0;e<o.length;e++){if(o[e].nodeType!==2){t.appendChild(o[e].cloneNode(true))}}}return t}};l().then((async e=>{await o();return t(JSON.parse('[["p-463e0ac0",[[1,"z-app-header",{"stuck":[516],"enableOffcanvas":[1540,"enable-offcanvas"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"enableZLogo":[516,"enable-z-logo"],"drawerOpen":[1028,"drawer-open"],"_stuck":[32],"menuLength":[32],"isMobile":[32],"isTablet":[32]},[[5,"focusin","manageMenus"],[5,"click","manageMenus"],[1,"keydown","handleKeydown"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckChange"]}],[1,"z-searchbar",{"htmlid":[513],"preventSubmit":[4,"prevent-submit"],"label":[1],"htmlAriaLabel":[1,"html-aria-label"],"value":[1],"placeholder":[1],"autocomplete":[4],"autocompleteMinChars":[2,"autocomplete-min-chars"],"resultsCount":[2,"results-count"],"searchHelperLabel":[1,"search-helper-label"],"resultsItems":[1,"results-items"],"sortResultsItems":[4,"sort-results-items"],"showSearchButton":[4,"show-search-button"],"searchButtonIconOnly":[4,"search-button-icon-only"],"size":[1],"variant":[1],"searchString":[32],"currResultsCount":[32],"showResults":[32],"isMobile":[32],"selectedItem":[32]},[[4,"click","handleOutsideClick"]],{"resultsItems":["watchItems"],"resultsCount":["watchResultsCount"],"value":["watchValue"],"searchString":["watchSearchString"],"showResults":["watchShowResults"]}],[6,"z-offcanvas",{"variant":[513],"open":[1540],"transitiondirection":[513],"skipLoadAnimation":[4,"skip-load-animation"],"showBackdrop":[4,"show-backdrop"],"skipAnimation":[32]},[[4,"keydown","handleKeyDown"],[2,"click","stopEvent"],[2,"focusin","stopEvent"]],{"variant":["handlePageOverflow"],"open":["onOpenChanged"]}],[6,"z-tag",{"icon":[1],"expandable":[4]}],[1,"z-list-group",{"size":[513],"dividerType":[513,"divider-type"],"dividerSize":[513,"divider-size"],"dividerColor":[513,"divider-color"],"listType":[513,"list-type"],"hasTreeItems":[4,"has-tree-items"],"role":[513]}],[1,"z-list",{"size":[513],"listType":[513,"list-type"],"role":[513]}],[1,"z-list-element",{"alignButton":[513,"align-button"],"clickable":[516],"dividerColor":[1,"divider-color"],"dividerType":[1,"divider-type"],"dividerSize":[1,"divider-size"],"expandable":[516],"expandableStyle":[1,"expandable-style"],"listElementId":[514,"list-element-id"],"size":[513],"color":[513],"disabled":[516],"listElementPosition":[513,"list-element-position"],"listType":[513,"list-type"],"hasTreeItems":[4,"has-tree-items"],"role":[513],"htmlTabindex":[2,"html-tabindex"],"showInnerContent":[32]},[[4,"accessibleFocus","accessibleFocusHandler"]]],[2,"z-input",{"htmlid":[1],"type":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"htmlAriaExpanded":[1,"html-aria-expanded"],"htmlAriaControls":[1,"html-aria-controls"],"htmlAriaAutocomplete":[1,"html-aria-autocomplete"],"htmlAriaActivedescendant":[1,"html-aria-activedescendant"],"value":[1025],"disabled":[516],"readonly":[4],"required":[4],"checked":[1028],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"labelPosition":[1,"label-position"],"autocomplete":[1],"role":[1],"hasclearicon":[4],"icon":[1],"min":[2],"minlength":[2],"max":[2],"maxlength":[2],"step":[2],"pattern":[1],"size":[513],"isTyping":[32],"passwordHidden":[32],"isChecked":[64]},[[4,"inputCheck","inputCheckListener"]]],[1,"z-input-message",{"message":[1],"status":[513],"disabled":[516],"statusRole":[32]},null,{"message":["onMessageChange"],"status":["onMessageChange"]}],[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}],[6,"z-button",{"ariaLabel":[1,"aria-label"],"role":[1],"htmlrole":[1],"href":[1],"target":[1],"htmlid":[1],"name":[1],"disabled":[516],"type":[1],"variant":[513],"icon":[1],"iconPosition":[513,"icon-position"],"size":[513]}],[1,"z-icon",{"name":[1],"height":[8],"width":[8],"iconid":[1],"fill":[1],"indicatorColor":[1,"indicator-color"]}]]],["p-6164feb9",[[1,"z-app-header-deprecated",{"stuck":[516],"hero":[1],"overlay":[516],"flow":[513],"drawerOpen":[516,"drawer-open"],"enableSearch":[516,"enable-search"],"searchPlaceholder":[1,"search-placeholder"],"searchString":[1025,"search-string"],"searchPageUrl":[1,"search-page-url"],"_stuck":[32],"currentViewport":[32],"menuLength":[32]},[[9,"resize","evaluateViewport"]],{"_stuck":["onStuck"],"drawerOpen":["setMenuFloatingMode"],"stuck":["onStuckMode"]}]]],["p-a8790237",[[2,"z-select",{"htmlid":[1],"items":[1],"name":[1],"label":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"readonly":[4],"placeholder":[1],"htmltitle":[1],"status":[1],"message":[8],"autocomplete":[4],"noresultslabel":[1],"hasGroupItems":[4,"has-group-items"],"hasTreeItems":[4,"has-tree-items"],"showChildrenOfMatchingParent":[4,"show-children-of-matching-parent"],"isfixed":[4],"resetItem":[1,"reset-item"],"size":[1],"isOpen":[32],"selectedItem":[32],"focusedItemId":[32],"searchString":[32],"getSelectedItem":[64],"getValue":[64],"setValue":[64]},null,{"items":["watchItems"]}]]],["p-9814f864",[[1,"z-breadcrumb",{"pathStyle":[513,"path-style"],"homepageVariant":[1,"homepage-variant"],"maxNodesToShow":[2,"max-nodes-to-show"],"preventFollowUrl":[4,"prevent-follow-url"],"overflowMenuItemRows":[2,"overflow-menu-item-rows"],"truncateChar":[2,"truncate-char"],"viewPortWidth":[32],"hasOverflow":[32],"popoverEllipsisOpen":[32]},[[9,"resize","handleResize"]],{"maxNodesToShow":["handlePropChange"],"viewPortWidth":["handleResizeUp"]}]]],["p-c3e03e41",[[1,"z-combobox",{"inputid":[1],"items":[1],"label":[1],"disabled":[516],"hassearch":[4],"searchlabel":[1],"searchplaceholder":[1],"searchtitle":[1],"noresultslabel":[1],"isopen":[1028],"isfixed":[4],"hascheckall":[4],"checkalltext":[1],"uncheckalltext":[1],"maxcheckableitems":[2],"hasgroupitems":[4],"size":[1],"htmlAriaLabel":[1,"html-aria-label"],"searchValue":[32],"selectedCounter":[32],"renderItemsList":[32],"focusedItemId":[32]},null,{"items":["watchItems"],"searchValue":["watchSearchValue"]}]]],["p-d080b624",[[1,"z-myz-card-dictionary",{"name":[1],"cover":[1],"disabled":[4],"flipped":[1028],"flipbuttonlabel":[1],"hideinfobtn":[4]},[[0,"flipCard","handleFlipCard"]]]]],["p-88a9865c",[[6,"z-file-upload",{"type":[513],"buttonVariant":[1,"button-variant"],"acceptedFormat":[1,"accepted-format"],"fileMaxSize":[2,"file-max-size"],"mainTitle":[1,"main-title"],"description":[1],"uploadBtnLabel":[1,"upload-btn-label"],"dragAndDropLabel":[1,"drag-and-drop-label"],"allowedFilesMessage":[1,"allowed-files-message"],"uploadClickableMessage":[1,"upload-clickable-message"],"uploadMessage":[1,"upload-message"],"errorModalTitle":[1,"error-modal-title"],"errorModalMessage":[1,"error-modal-message"],"uploadedFilesLabel":[1,"uploaded-files-label"],"hasFileSection":[4,"has-file-section"],"inputName":[1,"input-name"],"showErrors":[4,"show-errors"],"_type":[32],"files":[32],"invalidFiles":[32],"input":[32],"getFiles":[64],"removeFile":[64]},[[0,"removeFile","onFileRemoved"],[0,"fileDropped","fileDroppedListener"]]]]],["p-41891d34",[[0,"z-pagination",{"label":[1],"navArrows":[4,"nav-arrows"],"totalPages":[2,"total-pages"],"skip":[2],"edges":[4],"split":[2],"visiblePages":[2,"visible-pages"],"currentPage":[1026,"current-page"],"goToPage":[4,"go-to-page"],"_visiblePages":[32],"isMobile":[32],"goToPageValue":[32]},[[9,"resize","onResize"]],{"_visiblePages":["setPagesContainerWidth"],"visiblePages":["setVisiblePages"],"currentPage":["onPageChanged"],"split":["onSplitChanged"]}]]],["p-a2ee659d",[[1,"z-tree-list",{"items":[1],"htmlAriaLabelledby":[513,"html-aria-labelledby"],"htmlSectionTitle":[513,"html-section-title"]},null,{"items":["watchItems"]}]]],["p-8503c87a",[[1,"z-book-card",{"variant":[513],"cover":[1],"operaTitle":[1,"opera-title"],"volumeTitle":[1,"volume-title"],"authors":[1],"isbn":[1],"isbnLabel":[1,"isbn-label"],"year":[1],"ebookUrl":[1,"ebook-url"],"linkTarget":[1,"link-target"],"fallbackCover":[1,"fallback-cover"],"hasMultipleCovers":[4,"has-multiple-covers"],"titleHtmlTag":[1,"title-html-tag"]}]]],["p-b421424f",[[1,"z-carousel",{"isLoading":[4,"is-loading"],"label":[1],"single":[516],"arrowsPosition":[513,"arrows-position"],"progressMode":[1,"progress-mode"],"fixedArrows":[516,"fixed-arrows"],"ghostLoadingHeight":[2,"ghost-loading-height"],"infinite":[4],"current":[32],"items":[32],"highlightedIndicator":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},null,{"current":["onIndexChange"],"single":["onSingleModeChange"],"infinite":["onInfiniteModeChange"]}]]],["p-aaa96c12",[[4,"z-date-picker",{"datePickerId":[1,"date-picker-id"],"ariaLabel":[1,"aria-label"],"label":[1],"mode":[1],"name":[1],"value":[1],"flatpickrPosition":[32],"inputError":[32]},[[2,"keydown","handleKeyDown"]],{"mode":["setupPickers"]}]]],["p-ff89d630",[[2,"z-file",{"fileNumber":[2,"file-number"],"fileName":[1,"file-name"],"allowPopover":[32],"popoverVisible":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseleave","onMouseLeave"],[0,"interactiveIconClick","onInteractiveIconClick"]]]]],["p-6e13aa8e",[[0,"z-range-picker",{"rangePickerId":[1,"range-picker-id"],"firstAriaLabel":[1,"first-aria-label"],"firstLabel":[1,"first-label"],"secondAriaLabel":[1,"second-aria-label"],"secondLabel":[1,"second-label"],"mode":[1],"firstPickerReadOnly":[4,"first-picker-read-only"],"lastPickerReadOnly":[4,"last-picker-read-only"],"firstPickerPlaceholder":[1,"first-picker-placeholder"],"lastPickerPlaceholder":[1,"last-picker-placeholder"],"flatpickrPosition":[32],"activeInput":[32],"firstInputError":[32],"lastInputError":[32]},[[18,"click","handleClick"],[18,"keyup","handleKeyDown"]],{"firstPickerReadOnly":["setupFirstPickersReadOnly"],"lastPickerReadOnly":["setupLastPickersReadOnly"],"mode":["setupPickers"]}]]],["p-82eeea83",[[1,"z-td",{"colspan":[2],"sticky":[516],"showMenu":[513,"show-menu"],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-efa6b991",[[1,"z-th",{"colspan":[2],"showMenu":[513,"show-menu"],"showSorting":[513,"show-sorting"],"sticky":[516],"sortDirection":[1025,"sort-direction"],"sorted":[1540],"popoverPosition":[1,"popover-position"],"isMenuOpen":[32]},null,{"colspan":["updateColspan"]}]]],["p-68278c42",[[1,"z-tool",{"icon":[1],"tooltip":[1],"tooltipPosition":[1,"tooltip-position"],"htmlAriaLabel":[1,"html-aria-label"],"active":[516],"disabled":[516],"open":[1540],"indicatorColor":[1025,"indicator-color"],"tooltipOpen":[32],"hasSlottedContent":[32],"isMobile":[32],"hasNestedOpenTools":[32],"setFocus":[64],"setTabIndex":[64],"closeTooltip":[64]},[[0,"keydown","handleKeyDown"],[16,"click","onOutsideClick"],[0,"toggleSubmenu","onNestedToolToggle"],[0,"colorSelected","handleColorSelected"],[17,"focusin","handleExternalFocusin"]],{"open":["handleOpenChange"],"tooltipOpen":["handleTooltipOpenChange"]}]]],["p-47b59f05",[[4,"z-anchor-navigation",{"hideUnselected":[516,"hide-unselected"],"autoCurrent":[4,"auto-current"],"collapsedLabel":[1,"collapsed-label"],"isCollapsed":[516,"is-collapsed"],"collapsed":[32]}]]],["p-92f13701",[[1,"z-book-card-app",{"logo":[1],"name":[1],"link":[1],"laz":[4],"info":[1]}]]],["p-64d5fdd8",[[1,"z-myz-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["p-662119bb",[[1,"z-myz-card-info",{"data":[1],"htmltabindex":[2],"hiddenContent":[32],"tooltip":[32]}]]],["p-8ff5b76b",[[1,"z-myz-list",{"inputrawdata":[1],"list":[1040]},null,{"inputrawdata":["oninputrawdataChange"]}]]],["p-2bb84080",[[1,"z-otp",{"inputNum":[2,"input-num"],"status":[1],"message":[1]}]]],["p-31bd2a1c",[[1,"z-result-card",{"cardTitle":[1,"card-title"],"cardSubtitle":[1,"card-subtitle"],"authors":[1],"cover":[1],"fallbackCover":[1,"fallback-cover"],"hasMultipleCovers":[4,"has-multiple-covers"],"isInfoCard":[4,"is-info-card"],"titleHtmlTag":[1,"title-html-tag"]}]]],["p-32bc8a40",[[1,"z-accordion",{"label":[1],"icon":[1],"size":[513],"isDisabled":[516,"is-disabled"],"open":[1540],"highlight":[516],"variant":[513],"shadow":[516],"hasSlottedTags":[32]},null,{"isDisabled":["onDisabledChange"]}]]],["p-447a6391",[[1,"z-book-card-deprecated",{"variant":[1],"cover":[1],"operaTitle":[1,"opera-title"],"volumeTitle":[1,"volume-title"],"authors":[1],"isbn":[1],"isbnLabel":[1,"isbn-label"],"ribbon":[1],"ribbonIcon":[1,"ribbon-icon"],"ribbonInteractive":[4,"ribbon-interactive"],"borderless":[4],"fallbackCover":[1,"fallback-cover"],"operaTitleTag":[1,"opera-title-tag"],"isMobile":[32],"hasResources":[32],"showResources":[32]}]]],["p-7d655f96",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028],"allowTooltip":[32]}]]],["p-66c0f993",[[1,"z-card",{"variant":[513],"coverIcon":[1,"cover-icon"],"showShadow":[516,"show-shadow"],"clickable":[516],"hasCoverImage":[32]}]]],["p-7a4f6a5b",[[1,"z-info-box",{"boxid":[1],"isclosable":[4]}]]],["p-a3f9a5da",[[1,"z-menu",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"htmlTabindex":[1026,"html-tabindex"],"hasHeader":[32],"hasContent":[32],"setFocus":[64],"focusLastItem":[64]},[[4,"click","onItemClick"],[0,"keydown","onKeyDown"]],{"open":["onOpenChanged"],"htmlTabindex":["setLabelA11yAttrs"]}]]],["p-6c6a655e",[[1,"z-menu-deprecated",{"active":[516],"floating":[516],"open":[1540],"verticalContext":[516,"vertical-context"],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]],{"open":["onOpenChanged"]}]]],["p-93d349ee",[[1,"z-menu-section",{"active":[516],"htmlTabindex":[2,"html-tabindex"],"open":[1028],"hasItems":[32],"items":[32],"focusLastItem":[64],"setFocus":[64]},[[0,"keydown","onItemsKeydown"]],{"open":["onOpenChange"],"htmlTabindex":["onTabindexChange"]}]]],["p-9ae0c0c6",[[1,"z-menu-section-deprecated",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["p-bbc20250",[[1,"z-myz-card-icon",{"icon":[1],"isdisabled":[4],"ariaLabel":[1,"aria-label"]}]]],["p-f4b987ed",[[4,"z-navigation-tabs",{"ariaLabel":[1,"aria-label"],"orientation":[513],"size":[513],"selectedTab":[1026,"selected-tab"],"canNavigate":[32],"canNavigatePrev":[32],"canNavigateNext":[32]},[[0,"click","handleTabClick"],[0,"focusin","onTabFocusIn"],[0,"keydown","navigateThroughTabs"],[0,"focusout","onTabFocusOut"]],{"canNavigate":["checkScrollEnabled"],"selectedTab":["onTabSelected"]}]]],["p-be1c414e",[[1,"z-notification",{"contenticonname":[1],"actiontext":[1],"type":[513],"showclose":[4],"showshadow":[516],"sticky":[516],"borderposition":[513]}]]],["p-36b84a8e",[[6,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descrSlotName":[1,"descr-slot-name"]}]]],["p-252893a8",[[1,"z-section-title",{"dividerPosition":[1,"divider-position"],"uppercase":[516]}]]],["p-b0324c7d",[[1,"z-slideshow",{"slideshowid":[1],"data":[1],"device":[32],"currentSlide":[32]},null,{"data":["watchData"]}]]],["p-08b16bb4",[[1,"z-stepper-item",{"index":[514],"href":[513],"pressed":[516],"checked":[516],"disabled":[516]}]]],["p-f74973b5",[[1,"z-toast-notification",{"heading":[1],"message":[1],"closebutton":[4],"autoclose":[2],"pauseonfocusloss":[4],"type":[1],"isdraggable":[4],"draggablepercentage":[2],"transition":[1],"percentage":[32],"hasSlottedButton":[32]},null,{"isdraggable":["watchPropIsdraggable"],"autoclose":["watchPropAutoclose"],"pauseonfocusloss":["watchPropPauseonfocusloss"]}]]],["p-5372d49f",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"opened":[1028],"ariaLabel":[1,"aria-label"]}]]],["p-8ee2a9d2",[[6,"z-toggle-switch",{"disabled":[516],"labelPosition":[513,"label-position"],"checked":[1028],"htmlid":[1]}]]],["p-f7e65eb0",[[1,"z-tr",{"expandable":[516],"expanded":[32],"expandableContentId":[32]},[[0,"colspanchange","updateColumns"]],{"expandable":["updateColumns"]}]]],["p-da3abb97",[[4,"z-aria-alert",{"mode":[1]}]]],["p-c9b81cab",[[1,"z-avatar",{"size":[1],"text":[1],"textColor":[1,"text-color"],"backgroundColor":[1,"background-color"],"image":[1025]}]]],["p-bd76ca35",[[1,"z-color-picker",{"selectedColor":[1025,"selected-color"],"lng":[1],"htmlAriaLabel":[1,"html-aria-label"],"disableTransparent":[4,"disable-transparent"],"setFocus":[64]},[[0,"focus","setFocus"],[0,"keydown","handleKeyDown"],[0,"blur","handleBlur"]],{"disableTransparent":["validateTransparentSelection"],"selectedColor":["validateTransparentSelection","emitColorSelected"]}]]],["p-8fd50cc5",[[1,"z-cover-hero",{"variant":[513],"contentPosition":[513,"content-position"],"preserveAspectRatio":[516,"preserve-aspect-ratio"]},[[2,"load","onImgLoad"]]]]],["p-943db3a8",[[1,"z-logo",{"width":[2],"height":[2],"imageAlt":[1,"image-alt"],"link":[1],"targetBlank":[4,"target-blank"],"mobileLogo":[4,"mobile-logo"]}]]],["p-d6f43903",[[1,"z-myz-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"opened":[4],"customContent":[4,"custom-content"],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["p-5fde1b41",[[1,"z-myz-card-footer-sections"]]],["p-caced575",[[1,"z-myz-card-list",{"listdata":[1]}]]],["p-0b9fc73c",[[2,"z-skip-to-content",{"variant":[513],"links":[1025],"visible":[32],"visibleLink":[32]},[[4,"focusout","handleFocusOutSkipToContent"],[4,"focusin","handleFocusSkipToContent"]]]]],["p-80b04954",[[1,"z-stepper"]]],["p-ec1270db",[[1,"z-table",{"bordered":[516],"expandable":[32]}]]],["p-988a58dd",[[1,"z-tbody"]]],["p-3977b0ae",[[1,"z-tfoot",{"sticky":[516]}]]],["p-42abfe3b",[[1,"z-thead",{"sticky":[516],"isFocusable":[516,"is-focusable"]}]]],["p-93bb075f",[[1,"z-toast-notification-list",{"position":[513],"newestontop":[4]},null,{"newestontop":["watchPropNewestontop"]}]]],["p-a6c07588",[[1,"z-toolbar",{"htmlAriaLabel":[1,"html-aria-label"],"currentFocusIndex":[32]},[[0,"toggleSubmenu","closeSiblingSubmenusOnOpen"],[0,"toggleTooltip","closeSiblingTooltipsOnOpen"],[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"]]]]],["p-8c52635e",[[1,"z-visually-hidden"]]],["p-cbc09112",[[6,"z-chip",{"icon":[1],"type":[513],"interactiveIcon":[513,"interactive-icon"],"disabled":[516],"ariaLabel":[1,"aria-label"]}]]],["p-a4d2cf55",[[1,"z-info-reveal",{"icon":[1],"position":[513],"label":[1],"ariaLabel":[1,"aria-label"],"size":[513],"open":[32]},[[9,"resize","adjustPanelPosition"],[10,"keydown","handleEscapeKey"]],{"position":["adjustPanelPosition"],"open":["adjustPanelPosition"]}]]],["p-5b577b6f",[[1,"z-myz-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]],["p-78af415b",[[1,"z-tooltip",{"position":[513],"dark":[516],"open":[1540],"bindTo":[1,"bind-to"],"closable":[4]},[[0,"openChange","onPopoverOpenChange"]]]]],["p-146a4d4b",[[1,"z-alert",{"type":[1]}]]],["p-767b66ca",[[1,"z-ghost-loading"]]],["p-565c1815",[[1,"z-dragdrop-area",{"dragAndDropLabel":[1,"drag-and-drop-label"],"dragging":[32]}],[1,"z-modal",{"modalid":[1],"modaltitle":[1],"modalsubtitle":[1],"closeButtonLabel":[1,"close-button-label"],"alertdialog":[4],"closable":[4],"scrollInside":[4,"scroll-inside"],"lockPageScroll":[4,"lock-page-scroll"],"open":[64],"close":[64]},[[0,"keydown","handleKeyDown"]]]]],["p-6c9cd6be",[[1,"z-book-cover",{"cover":[1],"fallbackCover":[1,"fallback-cover"],"multiple":[516],"bordered":[516]}]]],["p-7ade2a71",[[1,"z-myz-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}],[1,"z-myz-card-body"],[1,"z-myz-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}],[1,"z-myz-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["p-bd2156cc",[[1,"z-popover",{"position":[1537],"open":[1540],"bindTo":[1,"bind-to"],"showArrow":[516,"show-arrow"],"center":[516],"closable":[4],"currentPosition":[32]},[[10,"keyup","closePopoverWithKeyboard"],[18,"click","handleOutsideClick"]],{"position":["validatePosition"],"open":["onOpen"],"bindTo":["onBindingChange"]}]]]]'),e)}));
2
2
  //# sourceMappingURL=web-components-library.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,uxmBAAuCJ,EAAA","ignoreList":[]}
1
+ {"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,8ymBAAuCJ,EAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zanichelli/albe-web-components",
3
- "version": "19.2.2",
3
+ "version": "19.2.3",
4
4
  "description": "The Web Components implementation of Albe, the Zanichelli's design system.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs.js",
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"eee285538af50ff09c49ead53e0589f20f810567",role:"listitem"},t("button",Object.assign({key:"0b354bc4e0ad809044e1cf0beb80a6259b2df43a",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"3227f3ce382e6340cfc9bec365cb2d7b79dba2ed",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"1099214dda81271f48d2453d1e111042a79207af"},t("slot",{key:"50262e5fbb88d2b628de778243d52087225eec7b"}))))}};a.style=o;export{a as z_stepper_item};
2
- //# sourceMappingURL=p-b7ec2cc4.entry.js.map
1
+ import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"91f2e37b743cbd76bad5b23d6a7038377ed325c3",role:"listitem"},t("button",Object.assign({key:"8f9c85524aff451dfa316fe050295cd17a95d817",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"5f28d57cc6bc5508655297367ac09252f6df9452",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"e24121243032ab104e2e19a373ec264db070525a"},t("slot",{key:"06e7d27fa7a997c7fff44a539d065af3f7814880"}))))}};a.style=o;export{a as z_stepper_item};
2
+ //# sourceMappingURL=p-08b16bb4.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,a as n,g as o}from"./p-75c4a726.js";import{T as s}from"./p-86618221.js";import{f as e,d as c}from"./p-061e28d6.js";import"./p-5145a606.js";const r=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-default-text)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";const a=r;const l=class{constructor(i){t(this,i);this.variant=undefined;this.links=[];this.visible=false;this.visibleLink=""}handleFocusOutSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=false}}handleFocusSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=true}}componentDidLoad(){this.showFirstChild()}componentWillRender(){if(this.links){this.links=typeof this.links==="string"?JSON.parse(this.links):this.links}}isInSkipToContent(t){const i=e(t);const n=i.find((t=>t.nodeName.toLowerCase()==="z-skip-to-content"));return!!n}showFirstChild(){var t;const i=(t=this.hostElement.children)===null||t===void 0?void 0:t[0];if(i){this.visibleLink=i.id}}handleLinkClick(){this.visible=false}render(){return i(n,{key:"1a7ea404cfe0bc4dcf7f60787b218cdf58f28a28",class:{[this.variant]:true,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("div",{class:"link-container"},i("a",{id:o,class:{"body-1-sb":true,"z-link":true,"z-link-underline":true,"z-link-inverse":this.variant===s.DARK,"link-visible":o==this.visibleLink,"link-invisible":o!=this.visibleLink},"aria-label":t.ariaLabel||t.label,href:t.href,onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>c(t,this.handleLinkClick.bind(this))},t.label))})))}get hostElement(){return o(this)}};l.style=a;export{l as z_skip_to_content};
2
- //# sourceMappingURL=p-43adca09.entry.js.map
1
+ import{r as t,h as i,a as n,g as o}from"./p-75c4a726.js";import{T as s}from"./p-86618221.js";import{f as e,d as c}from"./p-061e28d6.js";import"./p-5145a606.js";const r=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-default-text)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";const a=r;const l=class{constructor(i){t(this,i);this.variant=undefined;this.links=[];this.visible=false;this.visibleLink=""}handleFocusOutSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=false}}handleFocusSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=true}}componentDidLoad(){this.showFirstChild()}componentWillRender(){if(this.links){this.links=typeof this.links==="string"?JSON.parse(this.links):this.links}}isInSkipToContent(t){const i=e(t);const n=i.find((t=>t.nodeName.toLowerCase()==="z-skip-to-content"));return!!n}showFirstChild(){var t;const i=(t=this.hostElement.children)===null||t===void 0?void 0:t[0];if(i){this.visibleLink=i.id}}handleLinkClick(){this.visible=false}render(){return i(n,{key:"b28906d64e95ddb5bac9fe36fc2b522b1b77f51d",class:{[this.variant]:true,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("div",{class:"link-container"},i("a",{id:o,class:{"body-1-sb":true,"z-link":true,"z-link-underline":true,"z-link-inverse":this.variant===s.DARK,"link-visible":o==this.visibleLink,"link-invisible":o!=this.visibleLink},"aria-label":t.ariaLabel||t.label,href:t.href,onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>c(t,this.handleLinkClick.bind(this))},t.label))})))}get hostElement(){return o(this)}};l.style=a;export{l as z_skip_to_content};
2
+ //# sourceMappingURL=p-0b9fc73c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,h as o}from"./p-75c4a726.js";const e=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=e;const a=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"9cdbd685674a5ee5f5d2dec9b9272402f76b9de8",class:this.type},o("slot",{key:"36d8361bdc4a04c47695afe8e824f976ee8c47df"}))}};a.style=s;export{a as z_alert};
2
- //# sourceMappingURL=p-f662e7ff.entry.js.map
1
+ import{r,h as o}from"./p-75c4a726.js";const a=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=a;const c=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"089bda749c586a5910c417781923cbefe0372dd8",class:this.type},o("slot",{key:"7d222e10b779779ba7ef9be1c1162aa436225610"}))}};c.style=s;export{c as z_alert};
2
+ //# sourceMappingURL=p-146a4d4b.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as a}from"./p-75c4a726.js";import{f as n}from"./p-86618221.js";const r="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-default-error);background-color:var(--color-inverse-error);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";const o=r;const s=class{constructor(a){t(this,a);this.otpChange=i(this,"otpChange",7);this.inputNum=6;this.status=undefined;this.message=undefined}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)];this.otpRef=[...Array(this.inputNum)]}render(){return a("div",{key:"9814a8c35149033a7ce7091ff7d9807cd400f50a",class:"otp-container"},a("div",{key:"f85cbf0862d6b50da4a015e8ca6651b56ba96b30",class:"digits-container"},this.otp.map(((t,i)=>a("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{if(t.keyCode>47){this.otpRef[i].value=""}},onKeyUp:t=>{if(t.keyCode>47){i<this.inputNum-1&&this.otpRef[i+1].focus()}},onInput:t=>{this.otp[i]=t.target.value;this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),a("z-input-message",{key:"666ac57e8c41d6f6c205839f05337c5ec29bf9ba",message:this.message,status:this.status}))}};s.style=o;export{s as z_otp};
2
- //# sourceMappingURL=p-0aed3ddc.entry.js.map
1
+ import{r as t,c as i,h as e}from"./p-75c4a726.js";import{f as n}from"./p-86618221.js";const r="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-default-error);background-color:var(--color-inverse-error);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";const a=r;const o=class{constructor(e){t(this,e);this.otpChange=i(this,"otpChange",7);this.inputNum=6;this.status=undefined;this.message=undefined}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)];this.otpRef=[...Array(this.inputNum)]}render(){return e("div",{key:"78c6a2c425f8b8d222be16db33bb9d12307015d1",class:"otp-container"},e("div",{key:"18e0d6a908aabdfe49ce4613c094fb12166b0914",class:"digits-container"},this.otp.map(((t,i)=>e("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{if(t.keyCode>47){this.otpRef[i].value=""}},onKeyUp:t=>{if(t.keyCode>47){i<this.inputNum-1&&this.otpRef[i+1].focus()}},onInput:t=>{this.otp[i]=t.target.value;this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),e("z-input-message",{key:"1d3207b1411926edb77efbc8a57e179972b77a2e",message:this.message,status:this.status}))}};o.style=a;export{o as z_otp};
2
+ //# sourceMappingURL=p-2bb84080.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as a}from"./p-75c4a726.js";const n=".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";const i=n;const t=class{constructor(a){e(this,a);this.elemid=undefined;this.imgurl=undefined;this.imgalt=undefined;this.linkicon=undefined;this.linklabel=undefined;this.url=undefined;this.target="_blank";this.isdisabled=false;this.descrSlotName=undefined}render(){const e=this.elemid?this.elemid:"";return a("div",{key:"7ccde7a594052fb877c381d8f2db8df80d64e96e",class:"panel-elem-container"},(this.imgurl||this.imgalt)&&a("div",{key:"f925fb70d03baa4a8a7f96006c515c9116785ff7","aria-hidden":"true",class:"panel-elem-icon"},a("img",{key:"b0349cf006ded4cc02f686e1ea1adfbd76550fb8",src:this.imgurl,alt:this.imgalt})),a("div",{key:"c9393757ba1c849c8558dc668189f6f27b232e94",class:"panel-elem-link"},a("a",{key:"7c552ae67030c9bf12a6e52e8d8f6f82df88b4a2",class:{"z-link":true,"z-link-disabled":this.isdisabled,"z-link-icon":true,"z-link-blue":true},id:e+"link_id",href:this.url,target:this.target},a("z-icon",{key:"f72a6a2634b41803ea7eaf8d51ba3439f095457a",height:14,width:14,name:this.linkicon}),this.linklabel)),this.descrSlotName&&a("div",{key:"6cd08ffd2e65f13d500f88682724f4f762c1f118",class:"panel-elem-desc"},a("slot",{key:"01f55703602ee64f92eed8bc918ac5032927850c",name:this.descrSlotName})))}};t.style=i;export{t as z_panel_elem};
2
- //# sourceMappingURL=p-5989465b.entry.js.map
1
+ import{r as e,h as a}from"./p-75c4a726.js";const n=".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";const i=n;const t=class{constructor(a){e(this,a);this.elemid=undefined;this.imgurl=undefined;this.imgalt=undefined;this.linkicon=undefined;this.linklabel=undefined;this.url=undefined;this.target="_blank";this.isdisabled=false;this.descrSlotName=undefined}render(){const e=this.elemid?this.elemid:"";return a("div",{key:"5d734919b0fd927095c2e65ff1200ed550e48bd2",class:"panel-elem-container"},(this.imgurl||this.imgalt)&&a("div",{key:"3d315fef58dfe7ecf601ade8f1652e447fdbe636","aria-hidden":"true",class:"panel-elem-icon"},a("img",{key:"47f8a1c400949b67c984d25c5bdf9f20ee3d846b",src:this.imgurl,alt:this.imgalt})),a("div",{key:"9757e879ebe255ccdbdd815c7404a6cfe9f9cb1e",class:"panel-elem-link"},a("a",{key:"4ee9897a9875081e871e4a72d7cdd9c6df23f6e1",class:{"z-link":true,"z-link-disabled":this.isdisabled,"z-link-icon":true,"z-link-blue":true},id:e+"link_id",href:this.url,target:this.target},a("z-icon",{key:"b651e1ab06b937189e46634c0a91470afcde9168",height:14,width:14,name:this.linkicon}),this.linklabel)),this.descrSlotName&&a("div",{key:"5ab6f6ba7f8f3f50a3018b56b7ff3ea75f7e5aa5",class:"panel-elem-desc"},a("slot",{key:"c4d1f5928e8be8f25e36f1a3bf9a33f603b37148",name:this.descrSlotName})))}};t.style=i;export{t as z_panel_elem};
2
+ //# sourceMappingURL=p-36b84a8e.entry.js.map