@geotrekce/geotrek-rando-widget 0.18.0 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/cjs/grw-app.cjs.entry.js +5 -5
  2. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  3. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  4. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  5. package/dist/cjs/grw-common-button_27.cjs.entry.js +496 -374
  6. package/dist/cjs/grw-common-button_27.cjs.entry.js.br +0 -0
  7. package/dist/cjs/grw-common-button_27.cjs.entry.js.gz +0 -0
  8. package/dist/cjs/grw-common-button_27.cjs.entry.js.map +1 -1
  9. package/dist/cjs/grw-information-desk_3.cjs.entry.js +1 -1
  10. package/dist/cjs/grw-information-desk_3.cjs.entry.js.br +0 -0
  11. package/dist/cjs/grw-information-desk_3.cjs.entry.js.gz +0 -0
  12. package/dist/cjs/grw-poi_3.cjs.entry.js +58 -38
  13. package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
  14. package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
  15. package/dist/cjs/grw-poi_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/{i18n-2df02bcf.js → i18n-736691e8.js} +5 -1
  17. package/dist/cjs/i18n-736691e8.js.br +0 -0
  18. package/dist/cjs/i18n-736691e8.js.gz +0 -0
  19. package/dist/cjs/i18n-736691e8.js.map +1 -0
  20. package/dist/collection/components/grw-app/grw-app.js +4 -4
  21. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  22. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  23. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  24. package/dist/collection/components/grw-common-button/grw-common-button.css +1 -0
  25. package/dist/collection/components/grw-common-button/grw-common-button.css.br +0 -0
  26. package/dist/collection/components/grw-common-button/grw-common-button.css.gz +0 -0
  27. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js +104 -77
  28. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.br +0 -0
  29. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.gz +0 -0
  30. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.map +1 -1
  31. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js +185 -143
  32. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.br +0 -0
  33. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.gz +0 -0
  34. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.map +1 -1
  35. package/dist/collection/components/grw-poi-detail/grw-poi.js +31 -23
  36. package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
  37. package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
  38. package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -1
  39. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +13 -7
  40. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
  41. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
  42. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.map +1 -1
  43. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +24 -16
  44. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
  45. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
  46. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -1
  47. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +13 -7
  48. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
  49. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
  50. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.map +1 -1
  51. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +24 -16
  52. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
  53. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
  54. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -1
  55. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +157 -120
  56. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  57. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  58. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  59. package/dist/collection/i18n/i18n.js +4 -0
  60. package/dist/collection/i18n/i18n.js.br +0 -0
  61. package/dist/collection/i18n/i18n.js.gz +0 -0
  62. package/dist/collection/i18n/i18n.js.map +1 -1
  63. package/dist/collection/stories/App.js +2 -1
  64. package/dist/collection/stories/App.js.br +0 -0
  65. package/dist/collection/stories/App.js.gz +0 -0
  66. package/dist/collection/stories/App.stories.js +1 -0
  67. package/dist/collection/stories/App.stories.js.br +0 -0
  68. package/dist/collection/stories/App.stories.js.gz +0 -0
  69. package/dist/esm/grw-app.entry.js +5 -5
  70. package/dist/esm/grw-app.entry.js.br +0 -0
  71. package/dist/esm/grw-app.entry.js.gz +0 -0
  72. package/dist/esm/grw-app.entry.js.map +1 -1
  73. package/dist/esm/grw-common-button_27.entry.js +496 -374
  74. package/dist/esm/grw-common-button_27.entry.js.br +0 -0
  75. package/dist/esm/grw-common-button_27.entry.js.gz +0 -0
  76. package/dist/esm/grw-common-button_27.entry.js.map +1 -1
  77. package/dist/esm/grw-information-desk_3.entry.js +1 -1
  78. package/dist/esm/grw-information-desk_3.entry.js.br +0 -0
  79. package/dist/esm/grw-information-desk_3.entry.js.gz +0 -0
  80. package/dist/esm/grw-poi_3.entry.js +58 -38
  81. package/dist/esm/grw-poi_3.entry.js.br +0 -0
  82. package/dist/esm/grw-poi_3.entry.js.gz +0 -0
  83. package/dist/esm/grw-poi_3.entry.js.map +1 -1
  84. package/dist/esm/{i18n-9a7ac609.js → i18n-84192695.js} +5 -1
  85. package/dist/esm/i18n-84192695.js.br +0 -0
  86. package/dist/esm/i18n-84192695.js.gz +0 -0
  87. package/dist/esm/i18n-84192695.js.map +1 -0
  88. package/dist/esm-es5/grw-app.entry.js +1 -1
  89. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  90. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  91. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  92. package/dist/esm-es5/grw-common-button_27.entry.js +3 -3
  93. package/dist/esm-es5/grw-common-button_27.entry.js.br +0 -0
  94. package/dist/esm-es5/grw-common-button_27.entry.js.gz +0 -0
  95. package/dist/esm-es5/grw-common-button_27.entry.js.map +1 -1
  96. package/dist/esm-es5/grw-information-desk_3.entry.js +1 -1
  97. package/dist/esm-es5/grw-information-desk_3.entry.js.br +0 -0
  98. package/dist/esm-es5/grw-information-desk_3.entry.js.gz +0 -0
  99. package/dist/esm-es5/grw-poi_3.entry.js +1 -1
  100. package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
  101. package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
  102. package/dist/esm-es5/grw-poi_3.entry.js.map +1 -1
  103. package/dist/esm-es5/i18n-84192695.js +2 -0
  104. package/dist/esm-es5/i18n-84192695.js.br +0 -0
  105. package/dist/esm-es5/i18n-84192695.js.gz +0 -0
  106. package/dist/esm-es5/i18n-84192695.js.map +1 -0
  107. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  108. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  109. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  110. package/dist/geotrek-rando-widget/{p-989276bc.entry.js → p-2ed1025e.entry.js} +2 -2
  111. package/dist/geotrek-rando-widget/p-2ed1025e.entry.js.br +0 -0
  112. package/dist/geotrek-rando-widget/p-2ed1025e.entry.js.gz +0 -0
  113. package/dist/geotrek-rando-widget/{p-6f7d6ea5.system.entry.js → p-3ea6b596.system.entry.js} +2 -2
  114. package/dist/geotrek-rando-widget/p-3ea6b596.system.entry.js.br +0 -0
  115. package/dist/geotrek-rando-widget/p-3ea6b596.system.entry.js.gz +0 -0
  116. package/dist/geotrek-rando-widget/p-45fc47d9.entry.js +10 -0
  117. package/dist/geotrek-rando-widget/p-45fc47d9.entry.js.br +0 -0
  118. package/dist/geotrek-rando-widget/p-45fc47d9.entry.js.gz +0 -0
  119. package/dist/geotrek-rando-widget/p-45fc47d9.entry.js.map +1 -0
  120. package/dist/geotrek-rando-widget/p-5d955904.system.js +2 -0
  121. package/dist/geotrek-rando-widget/p-5d955904.system.js.br +0 -0
  122. package/dist/geotrek-rando-widget/p-5d955904.system.js.gz +0 -0
  123. package/dist/geotrek-rando-widget/p-5d955904.system.js.map +1 -0
  124. package/dist/geotrek-rando-widget/p-6b64ae12.js +2 -0
  125. package/dist/geotrek-rando-widget/p-6b64ae12.js.br +0 -0
  126. package/dist/geotrek-rando-widget/p-6b64ae12.js.gz +0 -0
  127. package/dist/geotrek-rando-widget/p-6b64ae12.js.map +1 -0
  128. package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js +2 -0
  129. package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js.br +0 -0
  130. package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js.gz +0 -0
  131. package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js.map +1 -0
  132. package/dist/geotrek-rando-widget/p-775aaaa7.system.js +1 -1
  133. package/dist/geotrek-rando-widget/p-775aaaa7.system.js.br +0 -0
  134. package/dist/geotrek-rando-widget/p-775aaaa7.system.js.gz +0 -0
  135. package/dist/geotrek-rando-widget/{p-6ac9b3f1.entry.js → p-9d7b3f9a.entry.js} +2 -2
  136. package/dist/geotrek-rando-widget/p-9d7b3f9a.entry.js.br +0 -0
  137. package/dist/geotrek-rando-widget/p-9d7b3f9a.entry.js.gz +0 -0
  138. package/dist/geotrek-rando-widget/p-9d7b3f9a.entry.js.map +1 -0
  139. package/dist/geotrek-rando-widget/p-bee90815.system.entry.js +10 -0
  140. package/dist/geotrek-rando-widget/p-bee90815.system.entry.js.br +0 -0
  141. package/dist/geotrek-rando-widget/p-bee90815.system.entry.js.gz +0 -0
  142. package/dist/geotrek-rando-widget/p-bee90815.system.entry.js.map +1 -0
  143. package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js +2 -0
  144. package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js.br +0 -0
  145. package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js.gz +0 -0
  146. package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js.map +1 -0
  147. package/dist/geotrek-rando-widget/{p-01061bf4.system.entry.js → p-f3a9a20f.system.entry.js} +2 -2
  148. package/dist/geotrek-rando-widget/p-f3a9a20f.system.entry.js.br +0 -0
  149. package/dist/geotrek-rando-widget/p-f3a9a20f.system.entry.js.gz +0 -0
  150. package/dist/geotrek-rando-widget/p-f3a9a20f.system.entry.js.map +1 -0
  151. package/dist/types/components/grw-outdoor-course-detail/grw-outdoor-course-detail.d.ts +3 -0
  152. package/dist/types/components/grw-outdoor-site-detail/grw-outdoor-site-detail.d.ts +3 -0
  153. package/dist/types/components/grw-poi-detail/grw-poi.d.ts +2 -0
  154. package/dist/types/components/grw-touristic-content-card/grw-touristic-content-card.d.ts +2 -0
  155. package/dist/types/components/grw-touristic-content-detail/grw-touristic-content-detail.d.ts +2 -0
  156. package/dist/types/components/grw-touristic-event-card/grw-touristic-event-card.d.ts +2 -0
  157. package/dist/types/components/grw-touristic-event-detail/grw-touristic-event-detail.d.ts +2 -0
  158. package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +1 -0
  159. package/dist/types/i18n/i18n.d.ts +2 -0
  160. package/package.json +1 -1
  161. package/dist/cjs/i18n-2df02bcf.js.br +0 -0
  162. package/dist/cjs/i18n-2df02bcf.js.gz +0 -0
  163. package/dist/cjs/i18n-2df02bcf.js.map +0 -1
  164. package/dist/esm/i18n-9a7ac609.js.br +0 -0
  165. package/dist/esm/i18n-9a7ac609.js.gz +0 -0
  166. package/dist/esm/i18n-9a7ac609.js.map +0 -1
  167. package/dist/esm-es5/i18n-9a7ac609.js +0 -2
  168. package/dist/esm-es5/i18n-9a7ac609.js.br +0 -0
  169. package/dist/esm-es5/i18n-9a7ac609.js.gz +0 -0
  170. package/dist/esm-es5/i18n-9a7ac609.js.map +0 -1
  171. package/dist/geotrek-rando-widget/p-01061bf4.system.entry.js.br +0 -0
  172. package/dist/geotrek-rando-widget/p-01061bf4.system.entry.js.gz +0 -0
  173. package/dist/geotrek-rando-widget/p-01061bf4.system.entry.js.map +0 -1
  174. package/dist/geotrek-rando-widget/p-105ea0c8.js +0 -2
  175. package/dist/geotrek-rando-widget/p-105ea0c8.js.br +0 -0
  176. package/dist/geotrek-rando-widget/p-105ea0c8.js.gz +0 -0
  177. package/dist/geotrek-rando-widget/p-105ea0c8.js.map +0 -1
  178. package/dist/geotrek-rando-widget/p-2b7b2f0b.entry.js +0 -2
  179. package/dist/geotrek-rando-widget/p-2b7b2f0b.entry.js.br +0 -0
  180. package/dist/geotrek-rando-widget/p-2b7b2f0b.entry.js.gz +0 -0
  181. package/dist/geotrek-rando-widget/p-2b7b2f0b.entry.js.map +0 -1
  182. package/dist/geotrek-rando-widget/p-6ac9b3f1.entry.js.br +0 -0
  183. package/dist/geotrek-rando-widget/p-6ac9b3f1.entry.js.gz +0 -0
  184. package/dist/geotrek-rando-widget/p-6ac9b3f1.entry.js.map +0 -1
  185. package/dist/geotrek-rando-widget/p-6f7d6ea5.system.entry.js.br +0 -0
  186. package/dist/geotrek-rando-widget/p-6f7d6ea5.system.entry.js.gz +0 -0
  187. package/dist/geotrek-rando-widget/p-7e28980f.system.entry.js +0 -10
  188. package/dist/geotrek-rando-widget/p-7e28980f.system.entry.js.br +0 -0
  189. package/dist/geotrek-rando-widget/p-7e28980f.system.entry.js.gz +0 -0
  190. package/dist/geotrek-rando-widget/p-7e28980f.system.entry.js.map +0 -1
  191. package/dist/geotrek-rando-widget/p-989276bc.entry.js.br +0 -0
  192. package/dist/geotrek-rando-widget/p-989276bc.entry.js.gz +0 -0
  193. package/dist/geotrek-rando-widget/p-a2af6c11.entry.js +0 -10
  194. package/dist/geotrek-rando-widget/p-a2af6c11.entry.js.br +0 -0
  195. package/dist/geotrek-rando-widget/p-a2af6c11.entry.js.gz +0 -0
  196. package/dist/geotrek-rando-widget/p-a2af6c11.entry.js.map +0 -1
  197. package/dist/geotrek-rando-widget/p-b4942f58.system.js +0 -2
  198. package/dist/geotrek-rando-widget/p-b4942f58.system.js.br +0 -0
  199. package/dist/geotrek-rando-widget/p-b4942f58.system.js.gz +0 -0
  200. package/dist/geotrek-rando-widget/p-b4942f58.system.js.map +0 -1
  201. package/dist/geotrek-rando-widget/p-c5a341b3.system.entry.js +0 -2
  202. package/dist/geotrek-rando-widget/p-c5a341b3.system.entry.js.br +0 -0
  203. package/dist/geotrek-rando-widget/p-c5a341b3.system.entry.js.gz +0 -0
  204. package/dist/geotrek-rando-widget/p-c5a341b3.system.entry.js.map +0 -1
  205. /package/dist/geotrek-rando-widget/{p-989276bc.entry.js.map → p-2ed1025e.entry.js.map} +0 -0
  206. /package/dist/geotrek-rando-widget/{p-6f7d6ea5.system.entry.js.map → p-3ea6b596.system.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{r as i,e,h as t,H as r,c as a}from"./p-835a85e7.js";import{S as s,N as o,P as n,K as p}from"./p-6b440166.js";import{s as l}from"./p-d87140c7.js";import{t as w}from"./p-6b64ae12.js";import{a as c}from"./p-f34dc852.js";const d='@font-face{font-family:"swiper-icons";src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRA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5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide,swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:"";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper{z-index:0}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border:1px solid gray;border-radius:var(--border-radius, 12px);background-color:var(--color-surface-container-low);color:var(--color-on-surface);--swiper-navigation-size:24px;--swiper-navigation-color:var(--color-on-primary-container);--swiper-pagination-color:var(--color-primary-container);--swiper-pagination-bullet-size:12px}:host a{color:var(--color-primary-app)}:host .swiper-button-prev,:host .swiper-button-next{background-color:var(--color-primary-container);padding:4px;width:32px;height:32px;border-radius:var(--border-radius, 32px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1)}:host .swiper-button-prev:hover,:host .swiper-button-next:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.poi-type-img-container{position:relative}.poi-type-img-container .poi-img,.poi-type-img-container .default-poi-img{width:100%;height:100%;height:200px;-o-object-fit:cover;object-fit:cover}.poi-type-img-container .poi-img{cursor:pointer;-o-object-fit:cover;object-fit:cover}.poi-type-img-container .default-poi-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.poi-type-img-container .img-fullscreen{max-height:none;-o-object-fit:contain;object-fit:contain}.poi-type-img-container .poi-type{width:24px;height:24px;padding:4px;border:2px solid #ffffff;border-radius:var(--border-radius, 50%);background-color:var(--color-on-surface);position:absolute;top:8px;left:8px;z-index:200}.poi-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.poi-name{font-size:16px;line-height:24px;height:64px}.poi-description{font-size:14px;line-height:20px}.poi-description-short{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.handle-poi-description{cursor:pointer;color:var(--color-primary-app);text-decoration:underline;margin-top:12px;height:22px}p{margin:0}';const g=d;const b=class{constructor(e){i(this,e);this.poi=undefined;this.displayShortDescription=true;this.showPoiDescriptionButton=false;this.displayFullscreen=false;this.offline=false}onTrekDownloadedSuccessConfirm(){if(this.swiperPoi){this.swiperPoi.slideTo(0)}this.offline=true}onTrekDeleteSuccessConfirm(){this.offline=false}handleSwipers(){if(this.swiperPoiRef&&!this.swiperPoi){this.swiperPoi=new s(this.swiperPoiRef,{modules:[o,n,p],navigation:{prevEl:this.prevElPoiRef,nextEl:this.nextElPoiRef},pagination:{el:this.paginationElPoiRef},allowTouchMove:false,keyboard:false,loop:true});this.swiperPoiRef.onfullscreenchange=()=>{this.displayFullscreen=!this.displayFullscreen&&!this.offline;if(this.displayFullscreen){this.swiperPoi.keyboard.enable()}else{this.swiperPoi.keyboard.disable()}};this.showPoiDescriptionButton=this.descriptionRef.clientHeight<this.descriptionRef.scrollHeight}}componentDidUpdate(){this.handleSwipers()}componentDidLoad(){this.handleOffline();this.handleSwipers()}handlePoiDescription(){this.displayShortDescription=!this.displayShortDescription}handleFullscreen(){if(this.poi.attachments&&this.poi.attachments[0]&&this.poi.attachments[0].url){this.swiperPoiRef.requestFullscreen()}}async handleOffline(){if(l.currentTrek){const i=await c("treks",l.currentTrek.id);const e=await c("pois",this.poi.id);if(i&&i.offline){this.offline=Boolean(e)}}else if(l.currentOutdoorSite){const i=await c("outdoorSites",l.currentOutdoorSite.id);if(i&&i.offline){const i=await c("pois",this.poi.id);this.offline=Boolean(i)}}}render(){var i;const a=e(`${""}assets/default-image.svg`);return t(r,{key:"51c84c570ebe6a3c123dd559ced1ef73703ad1c6"},t("div",{key:"b9ab37b1b71bdc28af03072df707cff175d9abeb",part:"poi-type-img-container",class:"poi-type-img-container"},t("img",{key:"020f4a7365acda4c5d4433fd45726187aff25c4d",part:"poi-type",class:"poi-type",src:`${(i=l.poiTypes.find((i=>i.id===this.poi.type)))===null||i===void 0?void 0:i.pictogram}`,alt:""}),t("div",{key:"55b4c670c214cfa4ddd06752caad1f43bf0f779a",part:"swiper-poi",class:"swiper swiper-poi",ref:i=>this.swiperPoiRef=i},t("div",{key:"81ec24810f7b13846c15669ec480044851b5a964",part:"swiper-wrapper",class:"swiper-wrapper"},this.poi.attachments.filter((i=>i.type==="image")).length>0?this.poi.attachments.filter((i=>i.type==="image")).map((i=>t("div",{part:"swiper-slide",class:"swiper-slide"},t("img",{part:"poi-iamg",class:`poi-img${this.displayFullscreen?" img-fullscreen":""}`,src:this.displayFullscreen?i.url:i.thumbnail,alt:i.legend,loading:"lazy",onerror:i=>{i.target.onerror=null;i.target.className="default-poi-img";i.target.src=a},onClick:()=>this.handleFullscreen()})))):t("div",{part:"swiper-slide",class:"swiper-slide"},t("img",{part:"default-poi-img",class:"default-poi-img",src:a,alt:"",loading:"lazy"}))),t("div",{key:"ad45324ca7b75a831dcc1ef67c8c39393bce78ca",style:{display:this.offline?"none":"block"},part:"swiper-pagination",class:"swiper-pagination",ref:i=>this.paginationElPoiRef=i}),t("div",{key:"c0932197c3580e9cbb412c050afa271ade756192",style:{display:this.offline?"none":"flex"},part:"swiper-button-prev",class:"swiper-button-prev",ref:i=>this.prevElPoiRef=i}),t("div",{key:"b66ddb0cd5880f5895eac6ea024ee71048a319a2",style:{display:this.offline?"none":"flex"},part:"swiper-button-next",class:"swiper-button-next",ref:i=>this.nextElPoiRef=i}))),t("div",{key:"049b2849529671a31da1ed75976b519d2f42bc90",part:"poi-sub-container",class:"poi-sub-container"},t("div",{key:"b34bfcbc2533bab1c21910c4e860823e3892dba6",part:"poi-name",class:"poi-name"},this.poi.name),t("div",{key:"cd65421b578819cdd7ee5bde4af57981da625628",part:"poi-description",class:this.displayShortDescription?"poi-description poi-description-short":"poi-description",innerHTML:this.poi.description,ref:i=>this.descriptionRef=i}),t("div",{key:"32d0afd9faf442cf3a6fc6cb6d77f71eec33ae18",part:"handle-poi-description",class:"handle-poi-description",onClick:()=>this.handlePoiDescription()},this.showPoiDescriptionButton&&(this.displayShortDescription?w[l.language].readMore:w[l.language].readLess))))}};b.style=g;const A='@font-face{font-family:"swiper-icons";src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBW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dVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide,swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:"";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper{z-index:0}:host{--swiper-navigation-size:24px;--swiper-navigation-color:var(--color-on-primary-container);--swiper-pagination-color:var(--color-primary-container);--swiper-pagination-bullet-size:12px}:host a{color:var(--color-primary-app)}:host .swiper{height:200px}:host .swiper-button-prev,:host .swiper-button-next{background-color:var(--color-primary-container);padding:4px;width:32px;height:32px;border-radius:var(--border-radius, 32px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1)}:host .swiper-button-prev:hover,:host .swiper-button-next:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.touristic-content-img-container{position:relative;height:200px}.touristic-content-img-container .touristic-content-img,.touristic-content-img-container .default-touristic-content-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.touristic-content-img-container .touristic-content-img{cursor:pointer;-o-object-fit:cover;object-fit:cover}.touristic-content-img-container .default-touristic-content-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.touristic-content-img-container .img-fullscreen{max-height:none;-o-object-fit:contain;object-fit:contain}.touristic-content-img-container .touristic-content-type{width:24px;height:24px;padding:4px;border:2px solid #ffffff;border-radius:var(--border-radius, 50%);background-color:var(--color-on-surface);position:absolute;top:8px;left:8px;z-index:200}.touristic-content-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.touristic-content-sub-container .touristic-content-category-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:12px}.touristic-content-sub-container .touristic-content-category-container .touristic-content-category-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.touristic-content-sub-container .touristic-content-category-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.touristic-content-sub-container .touristic-content-name{font-size:16px;line-height:24px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:48px}.touristic-content-more-detail-container{padding:0px 12px 12px 12px}.touristic-content-more-detail-container .more-details-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);width:100%;height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;border:none;font-size:14px;font-family:var(--font-family)}.touristic-content-more-detail-container .more-details-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.touristic-content-more-detail-container .more-details-button span{font-size:18px}.touristic-content-card-container,.touristic-content-card-large-view-container{font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}.touristic-content-card-container .touristic-content-img,.touristic-content-card-large-view-container .touristic-content-img{height:100%;-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.touristic-content-card-container{width:100%;max-width:350px}.touristic-content-card-container .touristic-content-img{width:100%;height:100%}.touristic-content-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.touristic-content-card-large-view-container .touristic-content-img{width:250px;height:100%;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.is-inside-vertical-list{cursor:pointer;border:none}.is-inside-vertical-list .touristic-event-img,.is-inside-vertical-list .default-touristic-event-img{height:100%}.selected-touristic-content-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.touristic-content-category-img{border-radius:100%;padding:2px;max-height:20px;max-width:20px}';const f=A;const m=class{constructor(e){i(this,e);this.touristicContentCardPress=a(this,"touristicContentCardPress",7);this.cardTouristicContentMouseOver=a(this,"cardTouristicContentMouseOver",7);this.cardTouristicContentMouseLeave=a(this,"cardTouristicContentMouseLeave",7);this.fontFamily="Roboto";this.touristicContent=undefined;this.isLargeView=false;this.isInsideHorizontalList=false;this.displayFullscreen=false;this.offline=false}onTrekDownloadedSuccessConfirm(){if(this.swiperTouristicContent){this.swiperTouristicContent.slideTo(0)}this.offline=true}onTrekDeleteSuccessConfirm(){this.offline=false}handleSwipers(){if(this.swiperTouristicContentRef&&!this.swiperTouristicContent){this.swiperTouristicContent=new s(this.swiperTouristicContentRef,{modules:[o,n,p],navigation:{prevEl:this.prevElTouristicContentRef,nextEl:this.nextElTouristicContentRef},pagination:{el:this.paginationElTouristicContentRef},allowTouchMove:false,keyboard:false,loop:true});this.swiperTouristicContentRef.onfullscreenchange=()=>{this.displayFullscreen=!this.displayFullscreen&&!this.offline;if(this.displayFullscreen){this.swiperTouristicContent.keyboard.enable()}else{this.swiperTouristicContent.keyboard.disable()}}}}componentDidUpdate(){this.handleSwipers()}componentDidLoad(){this.handleOffline();this.handleSwipers()}async handleOffline(){if(l.currentTrek){const i=await c("treks",l.currentTrek.id);if(i&&i.offline){const i=await c("touristicContents",this.touristicContent.id);this.offline=i&&i.offline}}else if(l.currentOutdoorSite){const i=await c("outdoorSites",l.currentOutdoorSite.id);if(i&&i.offline){const i=await c("touristicContents",this.touristicContent.id);this.offline=i&&i.offline}}}handleFullscreen(){if(this.touristicContent.attachments&&this.touristicContent.attachments[0]&&this.touristicContent.attachments[0].url){this.swiperTouristicContentRef.requestFullscreen()}}handleMouseOver(){this.cardTouristicContentMouseOver.emit(this.touristicContent.id)}handleMouseLeave(){this.cardTouristicContentMouseLeave.emit()}render(){const i=e(`${""}assets/default-image.svg`);const a=l.touristicContentCategories.find((i=>i.id===this.touristicContent.category));return t(r,{key:"fae16e24fd7f9b2ae395c4393d3a9fb26acc18db",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto"}},t("div",{key:"cc30449024b21d5b474c596be39bf86247193b58",part:"touristic-content-card",class:this.isLargeView?`touristic-content-card touristic-content-card-large-view-container${l.selectedTouristicContentId===this.touristicContent.id?" selected-touristic-content-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`:`touristic-content-card touristic-content-card-container${l.selectedTouristicContentId===this.touristicContent.id?" selected-touristic-content-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`,onClick:()=>{if(!this.isInsideHorizontalList){this.touristicContentCardPress.emit(this.touristicContent.id)}}},t("div",{key:"be3b7a0d92aacbb446edfb1fd0411677b95413d2",part:"touristic-content-img-container",class:"touristic-content-img-container"},this.isInsideHorizontalList?t("div",{part:"swiper-touristic-content",class:"swiper swiper-touristic-content",ref:i=>this.swiperTouristicContentRef=i},t("div",{part:"swiper-wrapper",class:"swiper-wrapper"},this.touristicContent.attachments.filter((i=>i.type==="image")).length>0?this.touristicContent.attachments.filter((i=>i.type==="image")).map((e=>t("div",{part:"swiper-slide",class:"swiper-slide"},t("img",{part:"touristic-content-img",class:`touristic-content-img${this.displayFullscreen?" img-fullscreen":""}`,src:this.displayFullscreen?this.offline?e.thumbnail:e.url:e.thumbnail,loading:"lazy",onerror:e=>{e.target.onerror=null;e.target.className="default-touristic-content-img";e.target.src=i},onClick:()=>this.handleFullscreen(),alt:e.legend})))):t("div",{part:"swiper-slide",class:"swiper-slide"},t("img",{part:"default-touristic-content-img",src:i,class:"default-touristic-content-img",alt:"",loading:"lazy"}))),t("div",{style:{display:this.offline?"none":"block"},part:"swiper-pagination",class:"swiper-pagination",ref:i=>this.paginationElTouristicContentRef=i}),t("div",{style:{display:this.offline?"none":"flex"},part:"swiper-button-prev",class:"swiper-button-prev",ref:i=>this.prevElTouristicContentRef=i}),t("div",{style:{display:this.offline?"none":"flex"},part:"swiper-button-next",class:"swiper-button-next",ref:i=>this.nextElTouristicContentRef=i})):this.touristicContent.attachments.filter((i=>i.type==="image")).length>0?t("img",{part:"touristic-content-img",class:"touristic-content-img",src:`${this.touristicContent.attachments.filter((i=>i.type==="image"))[0].thumbnail}`,alt:`${this.touristicContent.attachments.filter((i=>i.type==="image"))[0].legend}`,loading:"lazy"}):t("img",{class:"image default-touristic-content-img",src:i,loading:"lazy",alt:""})),t("div",{key:"f9238be9feb7faff38f04d4a367ebaf7df83522e",part:"touristic-content-sub-container",class:"touristic-content-sub-container"},t("div",{key:"9eada8f244529c1fa64b9162185a315b89634802",part:"touristic-content-category-container",class:"touristic-content-category-container"},a&&a.pictogram&&t("img",{part:"touristic-content-category-img",class:"touristic-content-category-img",src:a.pictogram,alt:""}),t("div",{key:"7f371b852730cddde844e5c7255c67a84b43e2aa",part:"touristic-content-category-name",class:"touristic-content-category-name"},a.label)),t("div",{key:"ac31930c2f67b4f4f253e02da4db8e43188fe1bb",part:"touristic-content-name",class:"touristic-content-name"},this.touristicContent.name)),this.isInsideHorizontalList&&t("div",{part:"touristic-content-more-detail-container",class:"touristic-content-more-detail-container"},t("button",{part:"more-details-button",class:"more-details-button",onClick:()=>this.touristicContentCardPress.emit(this.touristicContent.id)},"Plus de détails"))))}};m.style=f;const h='@font-face{font-family:"swiper-icons";src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/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fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide,swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:"";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper{z-index:0}:host{--swiper-navigation-size:24px;--swiper-navigation-color:var(--color-on-primary-container);--swiper-pagination-color:var(--color-primary-container);--swiper-pagination-bullet-size:12px}:host a{color:var(--color-primary-app)}:host .swiper{height:200px}:host .swiper-button-prev,:host .swiper-button-next{background-color:var(--color-primary-container);padding:4px;width:32px;height:32px;border-radius:var(--border-radius, 32px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1)}:host .swiper-button-prev:hover,:host .swiper-button-next:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.touristic-event-img-container{position:relative;height:200px}.touristic-event-img-container .touristic-event-img,.touristic-event-img-container .default-touristic-event-img{width:100%;height:100%;max-height:200px;-o-object-fit:cover;object-fit:cover}.touristic-event-img-container .touristic-event-img{cursor:pointer;-o-object-fit:cover;object-fit:cover}.touristic-event-img-container .default-touristic-event-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.touristic-event-img-container .img-fullscreen{max-height:none;-o-object-fit:contain;object-fit:contain}.touristic-event-img-container .touristic-event-type{width:24px;height:24px;padding:4px;border:2px solid #ffffff;border-radius:var(--border-radius, 50%);background-color:var(--color-on-surface);position:absolute;top:8px;left:8px;z-index:200}.touristic-event-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.touristic-event-sub-container .touristic-event-type-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:12px}.touristic-event-sub-container .touristic-event-type-container .touristic-event-type-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.touristic-event-sub-container .touristic-event-type-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.touristic-event-sub-container .touristic-event-name{font-size:16px;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:48px}.touristic-event-more-detail-container{padding:0px 12px 12px 12px}.touristic-event-more-detail-container .more-details-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);width:100%;height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;border:none;font-size:14px;font-family:var(--font-family)}.touristic-event-more-detail-container .more-details-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.touristic-event-more-detail-container .more-details-button span{font-size:18px}.touristic-event-card-container,.touristic-event-card-large-view-container{font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}.touristic-event-card-container .touristic-event-img,.touristic-event-card-large-view-container .touristic-event-img{height:100%;-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.touristic-event-card-container{width:100%;max-width:350px}.touristic-event-card-container .touristic-event-img{width:100%;height:100%}.touristic-event-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.touristic-event-card-large-view-container .touristic-event-img{width:250px;height:100%;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.is-inside-vertical-list{cursor:pointer;border:none}.is-inside-vertical-list .touristic-content-img,.is-inside-vertical-list .default-touristic-event-img{height:100%}.selected-touristic-event-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.touristic-event-date-container{margin-top:12px}';const u=h;const v=class{constructor(e){i(this,e);this.touristicEventCardPress=a(this,"touristicEventCardPress",7);this.cardTouristicEventMouseOver=a(this,"cardTouristicEventMouseOver",7);this.cardTouristicEventMouseLeave=a(this,"cardTouristicEventMouseLeave",7);this.fontFamily="Roboto";this.touristicEvent=undefined;this.isLargeView=false;this.isInsideHorizontalList=false;this.displayFullscreen=false;this.offline=false}onTrekDownloadedSuccessConfirm(){if(this.swiperTouristicEvent){this.swiperTouristicEvent.slideTo(0)}this.offline=true}onTrekDeleteSuccessConfirm(){this.offline=false}handleSwipers(){if(this.swiperTouristicEventRef&&!this.swiperTouristicEvent){this.swiperTouristicEvent=new s(this.swiperTouristicEventRef,{modules:[o,n,p],navigation:{prevEl:this.prevElTouristicEventRef,nextEl:this.nextElTouristicEventRef},pagination:{el:this.paginationElTouristicEventRef},allowTouchMove:false,keyboard:false,loop:true});this.swiperTouristicEventRef.onfullscreenchange=()=>{this.displayFullscreen=!this.displayFullscreen&&!this.offline;if(this.displayFullscreen){this.swiperTouristicEvent.keyboard.enable()}else{this.swiperTouristicEvent.keyboard.disable()}}}}componentDidUpdate(){this.handleSwipers()}componentDidLoad(){this.handleOffline();this.handleSwipers()}async handleOffline(){if(l.currentTrek){const i=await c("treks",l.currentTrek.id);if(i&&i.offline){const e=await c("touristicEvents",this.touristicEvent.id);this.offline=i&&i.offline&&e&&e.offline}}else if(l.currentOutdoorSite){const i=await c("outdoorSites",l.currentOutdoorSite.id);if(i&&i.offline){const i=await c("touristicEvents",this.touristicEvent.id);this.offline=i&&i.offline}}}handleFullscreen(){if(this.touristicEvent.attachments&&this.touristicEvent.attachments[0]&&this.touristicEvent.attachments[0].url){this.swiperTouristicEventRef.requestFullscreen()}}handleMouseOver(){this.cardTouristicEventMouseOver.emit(this.touristicEvent.id)}handleMouseLeave(){this.cardTouristicEventMouseLeave.emit()}render(){const i=e(`${""}assets/default-image.svg`);const a=l.touristicEventTypes.find((i=>i.id===this.touristicEvent.type));return t(r,{key:"f45a2624a4fc98418107d15d27c1eca21a3c2b08",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto"}},t("div",{key:"e88664547e283bc7fc4f3b1c1712886d942753bd",part:"touristic-event-card",class:this.isLargeView?`touristic-event-card touristic-event-card-large-view-container${l.selectedTouristicEventId===this.touristicEvent.id?" selected-touristic-event-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`:` touristic-event-card touristic-event-card-container${l.selectedTouristicEventId===this.touristicEvent.id?" selected-touristic-event-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`,onClick:()=>{if(!this.isInsideHorizontalList){this.touristicEventCardPress.emit(this.touristicEvent.id)}}},t("div",{key:"82e1fe19a6f8a5885e59521f798813555f1dc604",part:"touristic-event-img-container",class:"touristic-event-img-container"},this.isInsideHorizontalList?t("div",{part:"swiper-touristic-event",class:"swiper swiper-touristic-event",ref:i=>this.swiperTouristicEventRef=i},t("div",{part:"swiper-wrapper",class:"swiper-wrapper"},this.touristicEvent.attachments.filter((i=>i.type==="image")).length>0?this.touristicEvent.attachments.filter((i=>i.type==="image")).map((e=>t("div",{part:"swiper-slide",class:"swiper-slide"},t("img",{part:"touristic-event-img",class:`touristic-event-img${this.displayFullscreen?" img-fullscreen":""}`,src:this.displayFullscreen?this.offline?e.thumbnail:e.url:e.thumbnail,loading:"lazy",onerror:e=>{e.target.onerror=null;e.target.className="default-touristic-event-img";e.target.src=i},onClick:()=>this.handleFullscreen(),alt:e.legend})))):t("div",{part:"swiper-slide",class:"swiper-slide"},t("img",{part:"default-touristic-event-img",class:"default-touristic-event-img",src:i,alt:"",loading:"lazy"}))),t("div",{style:{display:this.offline?"none":"block"},part:"swiper-pagination",class:"swiper-pagination",ref:i=>this.paginationElTouristicEventRef=i}),t("div",{style:{display:this.offline?"none":"flex"},part:"swiper-button-prev",class:"swiper-button-prev",ref:i=>this.prevElTouristicEventRef=i}),t("div",{style:{display:this.offline?"none":"flex"},part:"swiper-button-next",class:"swiper-button-next",ref:i=>this.nextElTouristicEventRef=i})):this.touristicEvent.attachments.filter((i=>i.type==="image")).length>0?t("img",{part:"touristic-event-img",class:"touristic-event-img",src:`${this.touristicEvent.attachments.filter((i=>i.type==="image"))[0].thumbnail}`,alt:`${this.touristicEvent.attachments.filter((i=>i.type==="image"))[0].legend}`,loading:"lazy"}):t("img",{class:"image default-touristic-event-img",src:i,alt:"",loading:"lazy"})),t("div",{key:"2c8301acd32a3b4d39fa0fa979afdffd1b8c9376",part:"touristic-event-sub-container",class:"touristic-event-sub-container"},t("div",{key:"f8a15aa9cd7f2682cc91065a2a486425d5c68f1f",part:"touristic-event-type-container",class:"touristic-event-type-container"},a&&a.pictogram&&t("img",{part:"touristic-event-type-img",class:"touristic-event-type-img",src:a.pictogram,alt:""}),a&&a.type&&t("div",{part:"touristic-event-type-name",class:"touristic-event-type-name"},a.type)),t("div",{key:"86ebde91c4e37899e74b30549cc0721ea49706fb",part:"touristic-event-name",class:"touristic-event-name"},this.touristicEvent.name),(this.touristicEvent.begin_date||this.touristicEvent.end_date)&&t("div",{part:"touristic-event-date-container",class:"touristic-event-date-container"},this.touristicEvent.begin_date===this.touristicEvent.end_date&&t("div",{part:"touristic-event-date",class:"touristic-event-date"},w[l.language].date," : ",this.touristicEvent.begin_date),this.touristicEvent.begin_date&&this.touristicEvent.begin_date!==this.touristicEvent.end_date&&t("div",{part:"touristic-event-date",class:"touristic-event-date"},w[l.language].startDate," : ",this.touristicEvent.begin_date),this.touristicEvent.end_date&&this.touristicEvent.begin_date!==this.touristicEvent.end_date&&t("div",{part:"touristic-event-date",class:"touristic-event-date"},w[l.language].endDate," : ",this.touristicEvent.end_date))),this.isInsideHorizontalList&&t("div",{part:"touristic-event-more-detail-container",class:"touristic-event-more-detail-container"},t("button",{part:"more-details-button",class:"more-details-button",onClick:()=>this.touristicEventCardPress.emit(this.touristicEvent.id)},"Plus de détails"))))}};v.style=u;export{b as grw_poi,m as grw_touristic_content_card,v as grw_touristic_event_card};
2
+ //# sourceMappingURL=p-c61ad2b7.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["grwPoiCss","GrwPoiStyle0","GrwPoiDetail","onTrekDownloadedSuccessConfirm","this","swiperPoi","slideTo","offline","onTrekDeleteSuccessConfirm","handleSwipers","swiperPoiRef","Swiper","modules","Navigation","Pagination","Keyboard","navigation","prevEl","prevElPoiRef","nextEl","nextElPoiRef","pagination","el","paginationElPoiRef","allowTouchMove","keyboard","loop","onfullscreenchange","displayFullscreen","enable","disable","showPoiDescriptionButton","descriptionRef","clientHeight","scrollHeight","componentDidUpdate","componentDidLoad","handleOffline","handlePoiDescription","displayShortDescription","handleFullscreen","poi","attachments","url","requestFullscreen","state","currentTrek","trekInStore","getDataInStore","id","poiInStore","Boolean","currentOutdoorSite","outdoorSiteInStore","render","defaultImageSrc","getAssetPath","h","Host","key","part","class","src","_a","poiTypes","find","poiType","type","pictogram","alt","ref","filter","attachment","length","map","thumbnail","legend","loading","onerror","event","target","className","onClick","style","display","name","innerHTML","description","translate","language","readMore","readLess","grwTouristicContentCardCss","GrwTouristicContentCardStyle0","GrwTouristicContentCard","swiperTouristicContent","swiperTouristicContentRef","prevElTouristicContentRef","nextElTouristicContentRef","paginationElTouristicContentRef","touristicContentInStore","touristicContent","handleMouseOver","cardTouristicContentMouseOver","emit","handleMouseLeave","cardTouristicContentMouseLeave","touristicContentCategory","touristicContentCategories","category","fontFamily","width","isLargeView","selectedTouristicContentId","isInsideHorizontalList","touristicContentCardPress","label","grwTouristicEventCardCss","GrwTouristicEventCardStyle0","GrwTouristicEvent","swiperTouristicEvent","swiperTouristicEventRef","prevElTouristicEventRef","nextElTouristicEventRef","paginationElTouristicEventRef","touristicEventInStore","touristicEvent","cardTouristicEventMouseOver","cardTouristicEventMouseLeave","touristicEventType","touristicEventTypes","selectedTouristicEventId","touristicEventCardPress","begin_date","end_date","date","startDate","endDate"],"sources":["src/components/grw-poi-detail/grw-poi.scss?tag=grw-poi&encapsulation=shadow","src/components/grw-poi-detail/grw-poi.tsx","src/components/grw-touristic-content-card/grw-touristic-content-card.scss?tag=grw-touristic-content-card&encapsulation=shadow","src/components/grw-touristic-content-card/grw-touristic-content-card.tsx","src/components/grw-touristic-event-card/grw-touristic-event-card.scss?tag=grw-touristic-event-card&encapsulation=shadow","src/components/grw-touristic-event-card/grw-touristic-event-card.tsx"],"sourcesContent":["@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.poi-type-img-container {\n position: relative;\n .poi-img,\n .default-poi-img {\n width: 100%;\n height: 100%;\n height: 200px;\n object-fit: cover;\n }\n .poi-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-poi-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .poi-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.poi-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n}\n\n.poi-name {\n font-size: 16px;\n line-height: 24px;\n height: 64px;\n}\n\n.poi-description {\n font-size: 14px;\n line-height: 20px;\n}\n\n.poi-description-short {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n overflow: hidden;\n}\n\n.handle-poi-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n height: 22px;\n}\n\np {\n margin: 0;\n}\n","import { Component, Host, h, Prop, State, Build, getAssetPath, Listen } from '@stencil/core';\nimport Swiper, { Navigation, Pagination, Keyboard } from 'swiper';\nimport state from 'store/store';\nimport { OutdoorSite, Poi, Trek } from 'types/types';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\n\n@Component({\n tag: 'grw-poi',\n styleUrl: 'grw-poi.scss',\n shadow: true,\n})\nexport class GrwPoiDetail {\n swiperPoi?: Swiper;\n swiperPoiRef?: HTMLDivElement;\n prevElPoiRef?: HTMLDivElement;\n nextElPoiRef?: HTMLDivElement;\n paginationElPoiRef?: HTMLDivElement;\n descriptionRef?: HTMLDivElement;\n\n @Prop() poi: Poi;\n @State() displayShortDescription = true;\n @State() showPoiDescriptionButton = false;\n @State() displayFullscreen = false;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperPoi) {\n this.swiperPoi.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperPoiRef && !this.swiperPoi) {\n this.swiperPoi = new Swiper(this.swiperPoiRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElPoiRef,\n nextEl: this.nextElPoiRef,\n },\n pagination: { el: this.paginationElPoiRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperPoiRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperPoi.keyboard.enable();\n } else {\n this.swiperPoi.keyboard.disable();\n }\n };\n this.showPoiDescriptionButton = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n handlePoiDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n }\n\n handleFullscreen() {\n if (this.poi.attachments && this.poi.attachments[0] && this.poi.attachments[0].url) {\n this.swiperPoiRef.requestFullscreen();\n }\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n const poiInStore: Poi = await getDataInStore('pois', this.poi.id);\n if (trekInStore && trekInStore.offline) {\n this.offline = Boolean(poiInStore);\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const poiInStore: Poi = await getDataInStore('pois', this.poi.id);\n this.offline = Boolean(poiInStore);\n }\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n return (\n <Host>\n <div part=\"poi-type-img-container\" class=\"poi-type-img-container\">\n <img part=\"poi-type\" class=\"poi-type\" src={`${state.poiTypes.find(poiType => poiType.id === this.poi.type)?.pictogram}`} alt=\"\" />\n <div part=\"swiper-poi\" class=\"swiper swiper-poi\" ref={el => (this.swiperPoiRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.poi.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.poi.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"poi-iamg\"\n class={`poi-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail}\n alt={attachment.legend}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-poi-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-poi-img\" class=\"default-poi-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div style={{ display: this.offline ? 'none' : 'block' }} part=\"swiper-pagination\" class=\"swiper-pagination\" ref={el => (this.paginationElPoiRef = el)}></div>\n <div style={{ display: this.offline ? 'none' : 'flex' }} part=\"swiper-button-prev\" class=\"swiper-button-prev\" ref={el => (this.prevElPoiRef = el)}></div>\n <div style={{ display: this.offline ? 'none' : 'flex' }} part=\"swiper-button-next\" class=\"swiper-button-next\" ref={el => (this.nextElPoiRef = el)}></div>\n </div>\n </div>\n <div part=\"poi-sub-container\" class=\"poi-sub-container\">\n <div part=\"poi-name\" class=\"poi-name\">\n {this.poi.name}\n </div>\n <div\n part=\"poi-description\"\n class={this.displayShortDescription ? 'poi-description poi-description-short' : 'poi-description'}\n innerHTML={this.poi.description}\n ref={el => (this.descriptionRef = el)}\n ></div>\n <div part=\"handle-poi-description\" class=\"handle-poi-description\" onClick={() => this.handlePoiDescription()}>\n {this.showPoiDescriptionButton && (this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess)}\n </div>\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-content-img-container {\n position: relative;\n height: 200px;\n .touristic-content-img,\n .default-touristic-content-img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .touristic-content-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-content-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-content-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-content-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-content-category-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-content-category-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-content-name {\n font-size: 16px;\n line-height: 24px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-content-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-content-card-container,\n.touristic-content-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .touristic-content-img {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-content-card-container {\n width: 100%;\n max-width: 350px;\n .touristic-content-img {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-content-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .touristic-content-img {\n width: 250px;\n height: 100%;\n border-bottom-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 0px);\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-event-img,\n .default-touristic-event-img {\n height: 100%;\n }\n}\n\n.selected-touristic-content-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-content-category-img {\n border-radius: 100%;\n padding: 2px;\n max-height: 20px;\n max-width: 20px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { getDataInStore } from 'services/grw-db.service';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { OutdoorSite, TouristicContent, Trek } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-content-card',\n styleUrl: 'grw-touristic-content-card.scss',\n shadow: true,\n})\nexport class GrwTouristicContentCard {\n @Event() touristicContentCardPress: EventEmitter<number>;\n swiperTouristicContent?: Swiper;\n swiperTouristicContentRef?: HTMLDivElement;\n prevElTouristicContentRef?: HTMLDivElement;\n nextElTouristicContentRef?: HTMLDivElement;\n paginationElTouristicContentRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicContent: TouristicContent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicContentMouseOver: EventEmitter<number>;\n @Event() cardTouristicContentMouseLeave: EventEmitter;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperTouristicContent) {\n this.swiperTouristicContent.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperTouristicContentRef && !this.swiperTouristicContent) {\n this.swiperTouristicContent = new Swiper(this.swiperTouristicContentRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicContentRef,\n nextEl: this.nextElTouristicContentRef,\n },\n pagination: { el: this.paginationElTouristicContentRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperTouristicContentRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperTouristicContent.keyboard.enable();\n } else {\n this.swiperTouristicContent.keyboard.disable();\n }\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n if (trekInStore && trekInStore.offline) {\n const touristicContentInStore: TouristicContent = await getDataInStore('touristicContents', this.touristicContent.id);\n this.offline = touristicContentInStore && touristicContentInStore.offline;\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const touristicContentInStore: TouristicContent = await getDataInStore('touristicContents', this.touristicContent.id);\n this.offline = touristicContentInStore && touristicContentInStore.offline;\n }\n }\n }\n\n handleFullscreen() {\n if (this.touristicContent.attachments && this.touristicContent.attachments[0] && this.touristicContent.attachments[0].url) {\n this.swiperTouristicContentRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicContentMouseOver.emit(this.touristicContent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicContentMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicContentCategory = state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === this.touristicContent.category);\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n }}\n >\n <div\n part=\"touristic-content-card\"\n class={\n this.isLargeView\n ? `touristic-content-card touristic-content-card-large-view-container${\n state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''\n }${!this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''}`\n : `touristic-content-card touristic-content-card-container${state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.touristicContentCardPress.emit(this.touristicContent.id);\n }\n }}\n >\n <div part=\"touristic-content-img-container\" class=\"touristic-content-img-container\">\n {this.isInsideHorizontalList ? (\n <div part=\"swiper-touristic-content\" class=\"swiper swiper-touristic-content\" ref={el => (this.swiperTouristicContentRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicContent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"touristic-content-img\"\n class={`touristic-content-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? (this.offline ? attachment.thumbnail : attachment.url) : attachment.thumbnail}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-touristic-content-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-touristic-content-img\" src={defaultImageSrc} class=\"default-touristic-content-img\" alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: this.offline ? 'none' : 'block' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElTouristicContentRef = el)}\n ></div>\n <div\n style={{ display: this.offline ? 'none' : 'flex' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElTouristicContentRef = el)}\n ></div>\n <div\n style={{ display: this.offline ? 'none' : 'flex' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElTouristicContentRef = el)}\n ></div>\n </div>\n ) : this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n part=\"touristic-content-img\"\n class=\"touristic-content-img\"\n src={`${this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n alt={`${this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].legend}`}\n loading=\"lazy\"\n />\n ) : (\n <img class=\"image default-touristic-content-img\" src={defaultImageSrc} loading=\"lazy\" alt=\"\" />\n )}\n </div>\n <div part=\"touristic-content-sub-container\" class=\"touristic-content-sub-container\">\n <div part=\"touristic-content-category-container\" class=\"touristic-content-category-container\">\n {touristicContentCategory && touristicContentCategory.pictogram && (\n <img part=\"touristic-content-category-img\" class=\"touristic-content-category-img\" src={touristicContentCategory.pictogram} alt=\"\" />\n )}\n <div part=\"touristic-content-category-name\" class=\"touristic-content-category-name\">\n {touristicContentCategory.label}\n </div>\n </div>\n <div part=\"touristic-content-name\" class=\"touristic-content-name\">\n {this.touristicContent.name}\n </div>\n </div>\n {this.isInsideHorizontalList && (\n <div part=\"touristic-content-more-detail-container\" class=\"touristic-content-more-detail-container\">\n <button part=\"more-details-button\" class=\"more-details-button\" onClick={() => this.touristicContentCardPress.emit(this.touristicContent.id)}>\n Plus de détails\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-event-img-container {\n position: relative;\n height: 200px;\n .touristic-event-img,\n .default-touristic-event-img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n .touristic-event-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-event-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-event-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-event-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-event-type-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-event-type-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-event-name {\n font-size: 16px;\n line-height: 24px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-event-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-event-card-container,\n.touristic-event-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .touristic-event-img {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-event-card-container {\n width: 100%;\n max-width: 350px;\n .touristic-event-img {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-event-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .touristic-event-img {\n width: 250px;\n height: 100%;\n border-bottom-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 0px);\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-content-img,\n .default-touristic-event-img {\n height: 100%;\n }\n}\n\n.selected-touristic-event-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-event-date-container {\n margin-top: 12px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { OutdoorSite, TouristicEvent, Trek } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-event-card',\n styleUrl: 'grw-touristic-event-card.scss',\n shadow: true,\n})\nexport class GrwTouristicEvent {\n @Event() touristicEventCardPress: EventEmitter<number>;\n swiperTouristicEvent?: Swiper;\n swiperTouristicEventRef?: HTMLDivElement;\n prevElTouristicEventRef?: HTMLDivElement;\n nextElTouristicEventRef?: HTMLDivElement;\n paginationElTouristicEventRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicEvent: TouristicEvent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicEventMouseOver: EventEmitter<number>;\n @Event() cardTouristicEventMouseLeave: EventEmitter;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperTouristicEvent) {\n this.swiperTouristicEvent.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperTouristicEventRef && !this.swiperTouristicEvent) {\n this.swiperTouristicEvent = new Swiper(this.swiperTouristicEventRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicEventRef,\n nextEl: this.nextElTouristicEventRef,\n },\n pagination: { el: this.paginationElTouristicEventRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperTouristicEventRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperTouristicEvent.keyboard.enable();\n } else {\n this.swiperTouristicEvent.keyboard.disable();\n }\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n if (trekInStore && trekInStore.offline) {\n const touristicEventInStore: TouristicEvent = await getDataInStore('touristicEvents', this.touristicEvent.id);\n this.offline = trekInStore && trekInStore.offline && touristicEventInStore && touristicEventInStore.offline;\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const touristicEventInStore: TouristicEvent = await getDataInStore('touristicEvents', this.touristicEvent.id);\n this.offline = touristicEventInStore && touristicEventInStore.offline;\n }\n }\n }\n\n handleFullscreen() {\n if (this.touristicEvent.attachments && this.touristicEvent.attachments[0] && this.touristicEvent.attachments[0].url) {\n this.swiperTouristicEventRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicEventMouseOver.emit(this.touristicEvent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicEventMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicEventType = state.touristicEventTypes.find(touristicEventType => touristicEventType.id === this.touristicEvent.type);\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n }}\n >\n <div\n part=\"touristic-event-card\"\n class={\n this.isLargeView\n ? `touristic-event-card touristic-event-card-large-view-container${\n state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''\n }${!this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''}`\n : ` touristic-event-card touristic-event-card-container${state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.touristicEventCardPress.emit(this.touristicEvent.id);\n }\n }}\n >\n <div part=\"touristic-event-img-container\" class=\"touristic-event-img-container\">\n {this.isInsideHorizontalList ? (\n <div part=\"swiper-touristic-event\" class=\"swiper swiper-touristic-event\" ref={el => (this.swiperTouristicEventRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicEvent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"touristic-event-img\"\n class={`touristic-event-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? (this.offline ? attachment.thumbnail : attachment.url) : attachment.thumbnail}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-touristic-event-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-touristic-event-img\" class=\"default-touristic-event-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: this.offline ? 'none' : 'block' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElTouristicEventRef = el)}\n ></div>\n <div style={{ display: this.offline ? 'none' : 'flex' }} part=\"swiper-button-prev\" class=\"swiper-button-prev\" ref={el => (this.prevElTouristicEventRef = el)}></div>\n <div style={{ display: this.offline ? 'none' : 'flex' }} part=\"swiper-button-next\" class=\"swiper-button-next\" ref={el => (this.nextElTouristicEventRef = el)}></div>\n </div>\n ) : this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n part=\"touristic-event-img\"\n class=\"touristic-event-img\"\n src={`${this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n alt={`${this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].legend}`}\n loading=\"lazy\"\n />\n ) : (\n <img class=\"image default-touristic-event-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n )}\n </div>\n <div part=\"touristic-event-sub-container\" class=\"touristic-event-sub-container\">\n <div part=\"touristic-event-type-container\" class=\"touristic-event-type-container\">\n {touristicEventType && touristicEventType.pictogram && (\n <img part=\"touristic-event-type-img\" class=\"touristic-event-type-img\" src={touristicEventType.pictogram} alt=\"\" />\n )}\n {touristicEventType && touristicEventType.type && (\n <div part=\"touristic-event-type-name\" class=\"touristic-event-type-name\">\n {touristicEventType.type}\n </div>\n )}\n </div>\n <div part=\"touristic-event-name\" class=\"touristic-event-name\">\n {this.touristicEvent.name}\n </div>\n {(this.touristicEvent.begin_date || this.touristicEvent.end_date) && (\n <div part=\"touristic-event-date-container\" class=\"touristic-event-date-container\">\n {this.touristicEvent.begin_date === this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].date} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.begin_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].startDate} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.end_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].endDate} : {this.touristicEvent.end_date}\n </div>\n )}\n </div>\n )}\n </div>\n\n {this.isInsideHorizontalList && (\n <div part=\"touristic-event-more-detail-container\" class=\"touristic-event-more-detail-container\">\n <button part=\"more-details-button\" class=\"more-details-button\" onClick={() => this.touristicEventCardPress.emit(this.touristicEvent.id)}>\n Plus de détails\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"gOAAA,M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KAAK0H,eAAeQ,WACtD7E,EAAA,OAAKG,KAAK,iCAAiCC,MAAM,kCAC9CzD,KAAK0H,eAAeO,aAAejI,KAAK0H,eAAeQ,UACtD7E,EAAA,OAAKG,KAAK,uBAAuBC,MAAM,wBACpC2B,EAAU3C,EAAM4C,UAAU8C,KAAI,MAAKnI,KAAK0H,eAAeO,YAG3DjI,KAAK0H,eAAeO,YAAcjI,KAAK0H,eAAeO,aAAejI,KAAK0H,eAAeQ,UACxF7E,EAAA,OAAKG,KAAK,uBAAuBC,MAAM,wBACpC2B,EAAU3C,EAAM4C,UAAU+C,UAAS,MAAKpI,KAAK0H,eAAeO,YAGhEjI,KAAK0H,eAAeQ,UAAYlI,KAAK0H,eAAeO,aAAejI,KAAK0H,eAAeQ,UACtF7E,EAAA,OAAKG,KAAK,uBAAuBC,MAAM,wBACpC2B,EAAU3C,EAAM4C,UAAUgD,QAAO,MAAKrI,KAAK0H,eAAeQ,YAOpElI,KAAK8G,wBACJzD,EAAA,OAAKG,KAAK,wCAAwCC,MAAM,yCACtDJ,EAAA,UAAQG,KAAK,sBAAsBC,MAAM,sBAAsBqB,QAAS,IAAM9E,KAAKgI,wBAAwB5B,KAAKpG,KAAK0H,eAAe7E,KAAG,qB"}
@@ -1,2 +1,2 @@
1
- System.register(["./p-ee8964dd.system.js","./p-4dc3f45e.system.js","./p-b4942f58.system.js"],(function(t){"use strict";var i,e,s,r,o,n,a,l,h,c,u,d,f,p;return{setters:[function(t){i=t.r;e=t.c;s=t.h;r=t.F;o=t.H;n=t.g},function(t){a=t.s;l=t.C;h=t.r;c=t.a;u=t.h;d=t.b;f=t.i},function(t){p=t.t}],execute:function(){var g='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>';var m="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-content-trek{height:100%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100vh - 64px - 48px)}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:calc(100vh - 64px)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.modal-container{z-index:40000;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:var(--font-family);top:-64px;left:0px;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.6)}.modal-container .modal-content-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;width:380px;height:120px;padding:16px;margin:0px 16px;background-color:var(--color-background);border-radius:var(--border-radius, 8px)}.modal-container .modal-message-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal-container .modal-message-container .modal-loader{width:16px;height:16px;border:3px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite;margin-right:16px}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.modal-container .modal-buttons-container,.modal-container .modal-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.modal-container .modal-buttons-container .modal-button,.modal-container .modal-button-container .modal-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;height:32px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary-app);background-color:transparent;font-family:var(--font-family)}.modal-container .modal-button-container{-ms-flex-pack:end;justify-content:flex-end}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";var w=m;var b=t("grw_app",function(){function t(t){i(this,t);this.downloadPress=e(this,"downloadPress",7);this.deletePress=e(this,"deletePress",7);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showOutdoorSite=false;this.showOutdoorCourse=false;this.showOutdoorSiteMap=false;this.showOutdoorCourseMap=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.currentOutdoorSiteId=undefined;this.currentOutdoorCourseId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.labels=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.emergencyNumber=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6750a4";this.colorPrimary="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.rounded=true;this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorMarkers=null;this.colorClusters=null;this.colorOutdoorArea="#ffb700";this.useGradient=false;this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.outdoor=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.tilesMinZoomOffline=12;this.tilesMaxZoomOffline=16;this.showOfflineModal=false;this.showConfirmModal=false;this.showLoaderModal=false;this.showSuccessModal=false;this.showConfirmDeleteModal=false;this.showDeletingMessage=false;this.showDeleteSuccessMessage=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;a.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;a.currentTouristicEvent=null;var i=a.parentTrekId?a.parentTrekId:a.currentTrekSteps?this.currentTrekId:null;a.currentTrek=null;this.currentTrekId=t.detail;a.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());if(a.currentTrekSteps){e.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",e)};t.prototype.onParentTrekPress=function(t){a.currentTrek=null;this.currentTrekId=t.detail;a.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)};t.prototype.onTouristicContentCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;a.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)};t.prototype.onTouristiceEventCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;a.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorSiteCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;a.mode="outdoor";a.currentOutdoorSite=null;a.currentRelatedOutdoorSites=null;a.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorCourseCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;a.mode="outdoor";a.currentOutdoorSite=null;a.currentOutdoorCourse=null;a.currentRelatedOutdoorSites=null;a.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.delete("outdoorsite");i.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",i)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.onDownloadConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showDeletingMessage=false;this.showConfirmDeleteModal=false;this.showOfflineModal=true;this.showConfirmModal=true};t.prototype.onDownloadedSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true};t.prototype.onDeleteConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showOfflineModal=true;this.showConfirmModal=true;this.showConfirmDeleteModal=true};t.prototype.onDeleteSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true;this.showDeleteSuccessMessage=true};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){a.mode="treks"}else if(this.touristicContents){a.mode="touristicContents"}else if(this.touristicEvents){a.mode="touristicEvents"}else if(this.outdoor){a.mode="outdoor"}var t=new URL(window.location.toString());var i=t.searchParams.get("trek");var e=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");var o=t.searchParams.get("outdoorsite");var n=t.searchParams.get("outdoorcourse");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);a.parentTrekId=e?Number(e):null;this.currentTrekId=Number(i);a.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);a.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);a.mode="touristicEvents";this.showTouristicEvent=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(o);a.mode="outdoor";this.showOutdoorSite=true}else if(n){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(n);a.mode="outdoor";this.showOutdoorCourse=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(a.mode==="treks"){this.showTrek=false;this.showTrekMap=false;a.currentTrek=null;a.currentTrekSteps=null;a.parentTrekId=null;this.currentTrekId=null}else if(a.mode==="touristicContents"){a.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(a.mode==="touristicEvents"){a.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(a.mode==="outdoor"){a.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;a.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=false}};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){if(a.currentTrek&&a.currentTrek.offline&&!l.isNativePlatform()){h(a.currentPois,f,["url"]);h(a.trekTouristicEvents,f,["url"]);h(a.trekTouristicContents,f,["url"]);h(a.currentInformationDesks,f);h(a.currentTrek,f,["url"])}this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");t.searchParams.delete("outdoorsite");t.searchParams.delete("outdoorcourse");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var i=Number(t.searchParams.get("trek"));var e=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");var r=Number(t.searchParams.get("outdoorsite"));if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;a.currentTouristicContent=null;a.currentTouristicEvent=null;a.currentTrek=null;this.currentTrekId=i;a.mode="treks";this.showTrek=true}else if(r&&this.currentOutdoorSiteId!==r){this.currentOutdoorSiteId=r;a.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!i&&!e&&!s&&!r){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(a.language){if(this.showTrek){t=this.showTrekMap?p[a.language].showDetails:p[a.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?p[a.language].showDetails:p[a.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?p[a.language].showDetails:p[a.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?p[a.language].showDetails:p[a.language].showMap}else{t=this.showHomeMap?p[a.language].showList:p[a.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){c();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOkDeleteModal=function(){this.showDeletingMessage=true;this.showConfirmDeleteModal=false;this.showConfirmModal=false;this.showLoaderModal=true;this.deletePress.emit()};t.prototype.handleOkDownloadModal=function(){this.showConfirmModal=false;this.showLoaderModal=true;this.downloadPress.emit()};t.prototype.handleCancelModal=function(){this.showOfflineModal=false};t.prototype.handleOffline=function(){if(a.mode==="treks"){a.offlineTreks=!a.offlineTreks;a.currentTreks=u()}else{a.offlineOutdoorSites=!a.offlineOutdoorSites;a.currentOutdoorSites=d()}};t.prototype.getFiltersName=function(){var t=a.selectedActivitiesFilters+a.selectedLocationFilters+a.selectedThemesFilters;return"".concat(p[a.language].filter).concat(t>0?" ("+t+")":"")};t.prototype.render=function(){var t=this;return s(o,{key:"169886b406f2fd83aa73881a201985fd1e276ebc",style:{"--font-family":this.fontFamily,"--color-primary-app":this.colorPrimaryApp,"--color-primary":this.colorPrimary,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--color-sensitive-area":this.colorSensitiveArea,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1?this.enableOffline?"188px":"136px":this.enableOffline?"116px":"64px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--border-radius":this.rounded?"":"0px"}},!a.currentTreks&&!a.currentTrek&&!a.currentTouristicContent&&!a.currentTouristicEvent&&!a.currentTouristicContents&&!a.currentTouristicEvents&&!a.currentOutdoorSites&&!a.currentOutdoorSite&&!a.currentOutdoorCourses&&!a.currentOutdoorCourse&&s("div",{class:"grw-init-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&a.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!a.currentTreks&&s("grw-treks-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTrek&&this.currentTrekId&&!a.currentTrek&&s("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTouristicContent&&this.currentTouristicContentId&&s("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&s("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!a.currentOutdoorSite&&s("grw-outdoor-site-provider",{api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!a.currentOutdoorCourse&&s("grw-outdoor-course-provider",{api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&a.mode==="touristicContents"&&!a.currentTouristicContents&&!this.showTouristicContent&&s("grw-touristic-contents-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.touristicEvents&&a.mode==="touristicEvents"&&!a.currentTouristicEvents&&!this.showTouristicEvent&&s("grw-touristic-events-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.outdoor&&a.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!a.outdoorSites&&s("grw-outdoor-sites-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes}),(a.currentTreks||a.currentTrek||a.touristicContents||a.touristicEvents||a.currentTouristicContent||a.currentTouristicEvent||a.currentOutdoorSites||a.currentOutdoorSite||a.currentOutdoorCourses||a.currentOutdoorCourse||a.networkError)&&s("div",{class:"grw-app-container"},a.languages&&a.languages.length>1&&s("div",{class:"grw-languages-container"},s("grw-select-language",null)),s("div",{class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?" grw-header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse&&s("grw-segmented-segment",{"font-family":this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents,outdoor:this.outdoor}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse?s(r,null,s("div",{class:"grw-handle-search-filters-container"},s("div",{class:"grw-handle-search-container"},s("grw-search",{"font-family":this.fontFamily})),s("div",{class:"grw-handle-filters-container"},s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&s("div",{part:"grw-offline-container",class:"grw-offline-container"},s("div",{class:"grw-offline-label"},a.mode==="treks"?"Afficher uniquement les itinéraires hors ligne":"Afficher uniquement les outdoor hors ligne"),s("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleOffline()},checked:a.mode==="treks"?a.offlineTreks:a.offlineOutdoorSites}))):s("div",{class:"grw-arrow-back-container"},s("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},s("span",{part:"icon",class:"icon",innerHTML:g})))),s("div",{class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks")},a.networkError&&s("div",{class:"grw-error-container"},"Une erreur est survenue.",s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),(a.mode==="treks"&&this.treks||a.mode==="touristicContents"&&this.touristicContents||a.mode==="touristicEvents"&&this.touristicEvents||a.mode==="outdoor"&&this.outdoor)&&s("div",{class:this.isLargeView?"grw-large-view-app-list-container":"grw-app-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"none":"flex",position:this.showTrek?"absolute":"relative"}},a.mode==="treks"&&this.treks&&a.treks&&s("grw-treks-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),a.mode==="touristicContents"&&this.touristicContents&&a.touristicContents&&s("grw-touristic-contents-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),a.mode==="touristicEvents"&&this.touristicEvents&&a.touristicEvents&&s("grw-touristic-events-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),a.mode==="outdoor"&&this.outdoor&&a.outdoorSites&&s("grw-outdoor-sites-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),(this.showTrek&&!a.currentTrek||this.showTouristicContent&&!a.currentTouristicContent||this.showTouristicEvent&&!a.currentTouristicEvent||this.showOutdoorSite&&!a.currentOutdoorSite||this.showOutdoorCourse&&!a.currentOutdoorCourse||!a.treks&&a.mode==="treks"&&!this.showTrek||!a.touristicContents&&a.mode==="touristicContents"&&!this.showTouristicContent||!a.touristicEvents&&a.mode==="touristicEvents"&&!this.showTouristicEvent||!a.outdoorSites&&a.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&s("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&a.currentTrek&&s("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},s("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView,"emergency-number":this.emergencyNumber,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"tiles-min-zoom-offline":this.tilesMinZoomOffline,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true}),this.showOfflineModal&&s("div",{class:"modal-container"},s("div",{class:"modal-content-container"},this.showConfirmModal&&!this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"".concat(this.showTrek?"Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?":this.showOutdoorSite?"Êtes-vous sûr de vouloir rendre cet outdoor disponible hors ligne ?":"")),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDownloadModal()}},"OK"))),this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDeleteModal()}},"OK"))),this.showLoaderModal&&s(r,null,s("div",{class:"modal-message-container"},s("div",{class:"modal-loader"}),this.showDeletingMessage?"Suppression en cours":"Téléchargement en cours")),this.showSuccessModal&&s(r,null,s("div",{class:"modal-message-container"},this.showDeleteSuccessMessage?"L'itinéraire est supprimé du hors ligne":"L'itinéraire est disponible hors ligne"),s("div",{class:"modal-button-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"OK")))))),this.showTouristicContent&&a.currentTouristicContent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},s("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap&&this.showTouristicContent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showTouristicEvent&&a.currentTouristicEvent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},s("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showOutdoorSite&&a.currentOutdoorSite&&s("div",{class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},s("grw-outdoor-site-detail",{style:{visibility:!this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorSiteMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,weather:this.weather,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline}),this.showOfflineModal&&s("div",{class:"modal-container"},s("div",{class:"modal-content-container"},this.showConfirmModal&&!this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"".concat(this.showTrek?"Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?":this.showOutdoorSite?"Êtes-vous sûr de vouloir rendre cet outdoor disponible hors ligne ?":"")),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDownloadModal()}},"OK"))),this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDeleteModal()}},"OK"))),this.showLoaderModal&&s(r,null,s("div",{class:"modal-message-container"},s("div",{class:"modal-loader"}),this.showDeletingMessage?"Suppression en cours":"Téléchargement en cours")),this.showSuccessModal&&s(r,null,s("div",{class:"modal-message-container"},this.showDeleteSuccessMessage?"L'itinéraire est supprimé du hors ligne":"L'itinéraire est disponible hors ligne"),s("div",{class:"modal-button-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"OK")))))),this.showOutdoorCourse&&a.currentOutdoorCourse&&s("div",{class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},s("grw-outdoor-course-detail",{style:{visibility:!this.showOutdoorCourseMap&&this.showOutdoorCourse||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorCourseMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),!a.networkError&&s("grw-map",{exportparts:"map,elevation,map-bottom-space,map-loader-container,loader",class:this.isLargeView?"grw-large-view-app-map-container":"grw-app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap||this.showOutdoorSiteMap?"1":"0"},"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-markers":this.colorMarkers?this.colorMarkers:this.colorPrimaryApp,"color-clusters":this.colorClusters?this.colorClusters:this.colorPrimaryApp,"is-large-view":this.isLargeView,"use-gradient":this.useGradient,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&a.currentTrek||this.showTouristicContent&&a.currentTouristicContent||this.showTouristicEvent&&a.currentTouristicEvent||this.showOutdoorSite&&a.currentOutdoorSite)&&s("div",{class:"grw-map-visibility-button-container"},s("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&s("grw-filters",{"font-family":this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());b.style=w}}}));
2
- //# sourceMappingURL=p-01061bf4.system.entry.js.map
1
+ System.register(["./p-ee8964dd.system.js","./p-4dc3f45e.system.js","./p-5d955904.system.js"],(function(t){"use strict";var i,e,s,r,o,n,a,l,h,c,u,d,f,p;return{setters:[function(t){i=t.r;e=t.c;s=t.h;r=t.F;o=t.H;n=t.g},function(t){a=t.s;l=t.C;h=t.r;c=t.a;u=t.h;d=t.b;f=t.i},function(t){p=t.t}],execute:function(){var g='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>';var m="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-content-trek{height:100%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100vh - 64px - 48px)}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:calc(100vh - 64px)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.modal-container{z-index:40000;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:var(--font-family);top:-64px;left:0px;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.6)}.modal-container .modal-content-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;width:380px;height:120px;padding:16px;margin:0px 16px;background-color:var(--color-background);border-radius:var(--border-radius, 8px)}.modal-container .modal-message-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal-container .modal-message-container .modal-loader{width:16px;height:16px;border:3px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite;margin-right:16px}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.modal-container .modal-buttons-container,.modal-container .modal-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.modal-container .modal-buttons-container .modal-button,.modal-container .modal-button-container .modal-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;height:32px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary-app);background-color:transparent;font-family:var(--font-family)}.modal-container .modal-button-container{-ms-flex-pack:end;justify-content:flex-end}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";var w=m;var b=t("grw_app",function(){function t(t){i(this,t);this.downloadPress=e(this,"downloadPress",7);this.deletePress=e(this,"deletePress",7);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showOutdoorSite=false;this.showOutdoorCourse=false;this.showOutdoorSiteMap=false;this.showOutdoorCourseMap=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.currentOutdoorSiteId=undefined;this.currentOutdoorCourseId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.labels=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.emergencyNumber=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6750a4";this.colorPrimary="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.rounded=true;this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorMarkers=null;this.colorClusters=null;this.colorOutdoorArea="#ffb700";this.useGradient=false;this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.outdoor=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.tilesMinZoomOffline=12;this.tilesMaxZoomOffline=16;this.showOfflineModal=false;this.showConfirmModal=false;this.showLoaderModal=false;this.showSuccessModal=false;this.showConfirmDeleteModal=false;this.showDeletingMessage=false;this.showDeleteSuccessMessage=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;a.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;a.currentTouristicEvent=null;var i=a.parentTrekId?a.parentTrekId:a.currentTrekSteps?this.currentTrekId:null;a.currentTrek=null;this.currentTrekId=t.detail;a.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());if(a.currentTrekSteps){e.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",e)};t.prototype.onParentTrekPress=function(t){a.currentTrek=null;this.currentTrekId=t.detail;a.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)};t.prototype.onTouristicContentCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;a.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)};t.prototype.onTouristiceEventCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;a.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorSiteCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;a.mode="outdoor";a.currentOutdoorSite=null;a.currentRelatedOutdoorSites=null;a.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorCourseCardPress=function(t){a.currentTrek=null;this.currentTrekId=null;this.showTrek=false;a.mode="outdoor";a.currentOutdoorSite=null;a.currentOutdoorCourse=null;a.currentRelatedOutdoorSites=null;a.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.delete("outdoorsite");i.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",i)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.onDownloadConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showDeletingMessage=false;this.showConfirmDeleteModal=false;this.showOfflineModal=true;this.showConfirmModal=true};t.prototype.onDownloadedSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true};t.prototype.onDeleteConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showOfflineModal=true;this.showConfirmModal=true;this.showConfirmDeleteModal=true};t.prototype.onDeleteSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true;this.showDeleteSuccessMessage=true};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){a.mode="treks"}else if(this.touristicContents){a.mode="touristicContents"}else if(this.touristicEvents){a.mode="touristicEvents"}else if(this.outdoor){a.mode="outdoor"}var t=new URL(window.location.toString());var i=t.searchParams.get("trek");var e=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");var o=t.searchParams.get("outdoorsite");var n=t.searchParams.get("outdoorcourse");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);a.parentTrekId=e?Number(e):null;this.currentTrekId=Number(i);a.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);a.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);a.mode="touristicEvents";this.showTouristicEvent=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(o);a.mode="outdoor";this.showOutdoorSite=true}else if(n){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(n);a.mode="outdoor";this.showOutdoorCourse=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(a.mode==="treks"){this.showTrek=false;this.showTrekMap=false;a.currentTrek=null;a.currentTrekSteps=null;a.parentTrekId=null;this.currentTrekId=null}else if(a.mode==="touristicContents"){a.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(a.mode==="touristicEvents"){a.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(a.mode==="outdoor"){a.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;a.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=false}};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){if(a.currentTrek&&a.currentTrek.offline&&!l.isNativePlatform()){h(a.currentPois,f,["url"]);h(a.trekTouristicEvents,f,["url"]);h(a.trekTouristicContents,f,["url"]);h(a.currentInformationDesks,f);h(a.currentTrek,f,["url"])}this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");t.searchParams.delete("outdoorsite");t.searchParams.delete("outdoorcourse");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var i=Number(t.searchParams.get("trek"));var e=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");var r=Number(t.searchParams.get("outdoorsite"));if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;a.currentTouristicContent=null;a.currentTouristicEvent=null;a.currentTrek=null;this.currentTrekId=i;a.mode="treks";this.showTrek=true}else if(r&&this.currentOutdoorSiteId!==r){this.currentOutdoorSiteId=r;a.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!i&&!e&&!s&&!r){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(a.language){if(this.showTrek){t=this.showTrekMap?p[a.language].showDetails:p[a.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?p[a.language].showDetails:p[a.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?p[a.language].showDetails:p[a.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?p[a.language].showDetails:p[a.language].showMap}else{t=this.showHomeMap?p[a.language].showList:p[a.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){c();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOkDeleteModal=function(){this.showDeletingMessage=true;this.showConfirmDeleteModal=false;this.showConfirmModal=false;this.showLoaderModal=true;this.deletePress.emit()};t.prototype.handleOkDownloadModal=function(){this.showConfirmModal=false;this.showLoaderModal=true;this.downloadPress.emit()};t.prototype.handleCancelModal=function(){this.showOfflineModal=false};t.prototype.handleOffline=function(){if(a.mode==="treks"){a.offlineTreks=!a.offlineTreks;a.currentTreks=u()}else{a.offlineOutdoorSites=!a.offlineOutdoorSites;a.currentOutdoorSites=d()}};t.prototype.getFiltersName=function(){var t=a.selectedActivitiesFilters+a.selectedLocationFilters+a.selectedThemesFilters;return"".concat(p[a.language].filter).concat(t>0?" ("+t+")":"")};t.prototype.render=function(){var t=this;return s(o,{key:"169886b406f2fd83aa73881a201985fd1e276ebc",style:{"--font-family":this.fontFamily,"--color-primary-app":this.colorPrimaryApp,"--color-primary":this.colorPrimary,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--color-sensitive-area":this.colorSensitiveArea,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1?this.enableOffline?"188px":"136px":this.enableOffline?"116px":"64px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--border-radius":this.rounded?"":"0px"}},!a.currentTreks&&!a.currentTrek&&!a.currentTouristicContent&&!a.currentTouristicEvent&&!a.currentTouristicContents&&!a.currentTouristicEvents&&!a.currentOutdoorSites&&!a.currentOutdoorSite&&!a.currentOutdoorCourses&&!a.currentOutdoorCourse&&s("div",{class:"grw-init-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&a.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!a.currentTreks&&s("grw-treks-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTrek&&this.currentTrekId&&!a.currentTrek&&s("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTouristicContent&&this.currentTouristicContentId&&s("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&s("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!a.currentOutdoorSite&&s("grw-outdoor-site-provider",{api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!a.currentOutdoorCourse&&s("grw-outdoor-course-provider",{api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&a.mode==="touristicContents"&&!a.currentTouristicContents&&!this.showTouristicContent&&s("grw-touristic-contents-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.touristicEvents&&a.mode==="touristicEvents"&&!a.currentTouristicEvents&&!this.showTouristicEvent&&s("grw-touristic-events-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.outdoor&&a.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!a.outdoorSites&&s("grw-outdoor-sites-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes}),(a.currentTreks||a.currentTrek||a.touristicContents||a.touristicEvents||a.currentTouristicContent||a.currentTouristicEvent||a.currentOutdoorSites||a.currentOutdoorSite||a.currentOutdoorCourses||a.currentOutdoorCourse||a.networkError)&&s("div",{class:"grw-app-container"},a.languages&&a.languages.length>1&&s("div",{class:"grw-languages-container"},s("grw-select-language",null)),s("div",{class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?" grw-header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse&&s("grw-segmented-segment",{"font-family":this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents,outdoor:this.outdoor}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse?s(r,null,s("div",{class:"grw-handle-search-filters-container"},s("div",{class:"grw-handle-search-container"},s("grw-search",{"font-family":this.fontFamily})),s("div",{class:"grw-handle-filters-container"},s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(a.mode==="treks"||a.mode==="outdoor")&&s("div",{part:"grw-offline-container",class:"grw-offline-container"},s("div",{class:"grw-offline-label"},a.mode==="treks"?p[a.language].onlyOfflineTreks:p[a.language].onlyOfflineOutdoor),s("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleOffline()},checked:a.mode==="treks"?a.offlineTreks:a.offlineOutdoorSites}))):s("div",{class:"grw-arrow-back-container"},s("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},s("span",{part:"icon",class:"icon",innerHTML:g})))),s("div",{class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks")},a.networkError&&s("div",{class:"grw-error-container"},"Une erreur est survenue.",s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),(a.mode==="treks"&&this.treks&&a.treks||a.mode==="touristicContents"&&this.touristicContents&&a.touristicContents||a.mode==="touristicEvents"&&this.touristicEvents&&a.touristicEvents||a.mode==="outdoor"&&this.outdoor&&a.outdoorSites)&&s("div",{class:this.isLargeView?"grw-large-view-app-list-container":"grw-app-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"none":"flex",position:this.showTrek?"absolute":"relative"}},a.mode==="treks"&&this.treks&&a.treks&&s("grw-treks-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),a.mode==="touristicContents"&&this.touristicContents&&a.touristicContents&&s("grw-touristic-contents-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),a.mode==="touristicEvents"&&this.touristicEvents&&a.touristicEvents&&s("grw-touristic-events-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),a.mode==="outdoor"&&this.outdoor&&a.outdoorSites&&s("grw-outdoor-sites-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),(this.showTrek&&!a.currentTrek||this.showTouristicContent&&!a.currentTouristicContent||this.showTouristicEvent&&!a.currentTouristicEvent||this.showOutdoorSite&&!a.currentOutdoorSite||this.showOutdoorCourse&&!a.currentOutdoorCourse||!a.treks&&a.mode==="treks"&&!this.showTrek||!a.touristicContents&&a.mode==="touristicContents"&&!this.showTouristicContent||!a.touristicEvents&&a.mode==="touristicEvents"&&!this.showTouristicEvent||!a.outdoorSites&&a.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&s("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&a.currentTrek&&s("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},s("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView,"emergency-number":this.emergencyNumber,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"tiles-min-zoom-offline":this.tilesMinZoomOffline,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true}),this.showOfflineModal&&s("div",{class:"modal-container"},s("div",{class:"modal-content-container"},this.showConfirmModal&&!this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"".concat(this.showTrek?"Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?":this.showOutdoorSite?"Êtes-vous sûr de vouloir rendre cet outdoor disponible hors ligne ?":"")),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDownloadModal()}},"OK"))),this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDeleteModal()}},"OK"))),this.showLoaderModal&&s(r,null,s("div",{class:"modal-message-container"},s("div",{class:"modal-loader"}),this.showDeletingMessage?"Suppression en cours":"Téléchargement en cours")),this.showSuccessModal&&s(r,null,s("div",{class:"modal-message-container"},this.showDeleteSuccessMessage?"L'itinéraire est supprimé du hors ligne":"L'itinéraire est disponible hors ligne"),s("div",{class:"modal-button-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"OK")))))),this.showTouristicContent&&a.currentTouristicContent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},s("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap&&this.showTouristicContent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showTouristicEvent&&a.currentTouristicEvent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},s("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showOutdoorSite&&a.currentOutdoorSite&&s("div",{class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},s("grw-outdoor-site-detail",{style:{visibility:!this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorSiteMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,weather:this.weather,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline}),this.showOfflineModal&&s("div",{class:"modal-container"},s("div",{class:"modal-content-container"},this.showConfirmModal&&!this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"".concat(this.showTrek?"Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?":this.showOutdoorSite?"Êtes-vous sûr de vouloir rendre cet outdoor disponible hors ligne ?":"")),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDownloadModal()}},"OK"))),this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDeleteModal()}},"OK"))),this.showLoaderModal&&s(r,null,s("div",{class:"modal-message-container"},s("div",{class:"modal-loader"}),this.showDeletingMessage?"Suppression en cours":"Téléchargement en cours")),this.showSuccessModal&&s(r,null,s("div",{class:"modal-message-container"},this.showDeleteSuccessMessage?"L'itinéraire est supprimé du hors ligne":"L'itinéraire est disponible hors ligne"),s("div",{class:"modal-button-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"OK")))))),this.showOutdoorCourse&&a.currentOutdoorCourse&&s("div",{class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},s("grw-outdoor-course-detail",{style:{visibility:!this.showOutdoorCourseMap&&this.showOutdoorCourse||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorCourseMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),!a.networkError&&s("grw-map",{exportparts:"map,elevation,map-bottom-space,map-loader-container,loader",class:this.isLargeView?"grw-large-view-app-map-container":"grw-app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap||this.showOutdoorSiteMap?"1":"0"},"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-markers":this.colorMarkers?this.colorMarkers:this.colorPrimaryApp,"color-clusters":this.colorClusters?this.colorClusters:this.colorPrimaryApp,"is-large-view":this.isLargeView,"use-gradient":this.useGradient,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&a.currentTrek||this.showTouristicContent&&a.currentTouristicContent||this.showTouristicEvent&&a.currentTouristicEvent||this.showOutdoorSite&&a.currentOutdoorSite)&&s("div",{class:"grw-map-visibility-button-container"},s("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&s("grw-filters",{"font-family":this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());b.style=w}}}));
2
+ //# sourceMappingURL=p-f3a9a20f.system.entry.js.map