@geotrekce/geotrek-rando-widget 0.5.7 → 0.5.8

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 (420) hide show
  1. package/dist/cjs/geotrek-rando-widget.cjs.js +2 -2
  2. package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
  3. package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
  4. package/dist/cjs/grw-app.cjs.entry.js +22 -19
  5. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  6. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  7. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  8. package/dist/cjs/grw-common-button_20.cjs.entry.js +434 -343
  9. package/dist/cjs/grw-common-button_20.cjs.entry.js.br +0 -0
  10. package/dist/cjs/grw-common-button_20.cjs.entry.js.gz +0 -0
  11. package/dist/cjs/grw-common-button_20.cjs.entry.js.map +1 -1
  12. package/dist/cjs/grw-filter.cjs.entry.js +6 -4
  13. package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
  14. package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
  15. package/dist/cjs/grw-filter.cjs.entry.js.map +1 -1
  16. package/dist/cjs/grw-information-desk_6.cjs.entry.js +28 -31
  17. package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
  18. package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
  19. package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -1
  20. package/dist/cjs/{i18n-54f97142.js → i18n-ffadc673.js} +9 -3
  21. package/dist/cjs/i18n-ffadc673.js.br +0 -0
  22. package/dist/cjs/i18n-ffadc673.js.gz +0 -0
  23. package/dist/cjs/i18n-ffadc673.js.map +1 -0
  24. package/dist/cjs/{index-9e4fe3f0.js → index-e9166f30.js} +60 -1
  25. package/dist/cjs/index-e9166f30.js.br +0 -0
  26. package/dist/cjs/index-e9166f30.js.gz +0 -0
  27. package/dist/cjs/index-e9166f30.js.map +1 -0
  28. package/dist/cjs/loader.cjs.js +2 -2
  29. package/dist/cjs/loader.cjs.js.br +0 -0
  30. package/dist/cjs/loader.cjs.js.gz +0 -0
  31. package/dist/cjs/{store-aa5044fc.js → store-1bee207d.js} +4 -4
  32. package/dist/cjs/store-1bee207d.js.br +0 -0
  33. package/dist/cjs/store-1bee207d.js.gz +0 -0
  34. package/dist/cjs/store-1bee207d.js.map +1 -0
  35. package/dist/cjs/{utils-08a59e4e.js → utils-c74a9612.js} +9 -9
  36. package/dist/cjs/utils-c74a9612.js.br +0 -0
  37. package/dist/cjs/utils-c74a9612.js.gz +0 -0
  38. package/dist/cjs/utils-c74a9612.js.map +1 -0
  39. package/dist/collection/components/grw-app/grw-app.js +19 -16
  40. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  41. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  42. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  43. package/dist/collection/components/grw-filter/grw-filter.js +3 -1
  44. package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
  45. package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
  46. package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
  47. package/dist/collection/components/grw-map/grw-map.css +72 -9
  48. package/dist/collection/components/grw-map/grw-map.css.br +0 -0
  49. package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
  50. package/dist/collection/components/grw-map/grw-map.js +90 -70
  51. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  52. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  53. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  54. package/dist/collection/components/grw-poi-detail/grw-poi.css +7 -1
  55. package/dist/collection/components/grw-poi-detail/grw-poi.css.br +0 -0
  56. package/dist/collection/components/grw-poi-detail/grw-poi.css.gz +0 -0
  57. package/dist/collection/components/grw-poi-detail/grw-poi.js +1 -1
  58. package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
  59. package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
  60. package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -1
  61. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css +1 -1
  62. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css.br +0 -0
  63. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css.gz +0 -0
  64. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css +19 -10
  65. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.br +0 -0
  66. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.gz +0 -0
  67. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +1 -1
  68. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
  69. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
  70. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.map +1 -1
  71. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +26 -0
  72. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
  73. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
  74. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +36 -24
  75. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
  76. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
  77. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -1
  78. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +1 -23
  79. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
  80. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
  81. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.map +1 -1
  82. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css +21 -8
  83. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.br +0 -0
  84. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.gz +0 -0
  85. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +3 -2
  86. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
  87. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
  88. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.map +1 -1
  89. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +26 -0
  90. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.br +0 -0
  91. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.gz +0 -0
  92. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +23 -9
  93. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
  94. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
  95. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -1
  96. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js +1 -23
  97. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.br +0 -0
  98. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.gz +0 -0
  99. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.map +1 -1
  100. package/dist/collection/components/grw-trek-card/grw-trek-card.css +62 -32
  101. package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
  102. package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
  103. package/dist/collection/components/grw-trek-card/grw-trek-card.js +18 -39
  104. package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
  105. package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
  106. package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
  107. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +30 -0
  108. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
  109. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
  110. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +36 -41
  111. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  112. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  113. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  114. package/dist/collection/components/grw-treks-list/grw-treks-list.js +1 -23
  115. package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
  116. package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
  117. package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
  118. package/dist/collection/i18n/i18n.js +8 -2
  119. package/dist/collection/i18n/i18n.js.br +0 -0
  120. package/dist/collection/i18n/i18n.js.gz +0 -0
  121. package/dist/collection/i18n/i18n.js.map +1 -1
  122. package/dist/collection/store/grw-touristic-content-provider.js +22 -18
  123. package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
  124. package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
  125. package/dist/collection/store/grw-touristic-content-provider.js.map +1 -1
  126. package/dist/collection/store/grw-touristic-contents-provider.js +23 -19
  127. package/dist/collection/store/grw-touristic-contents-provider.js.br +0 -0
  128. package/dist/collection/store/grw-touristic-contents-provider.js.gz +0 -0
  129. package/dist/collection/store/grw-touristic-contents-provider.js.map +1 -1
  130. package/dist/collection/store/grw-touristic-event-provider.js +22 -18
  131. package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
  132. package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
  133. package/dist/collection/store/grw-touristic-event-provider.js.map +1 -1
  134. package/dist/collection/store/grw-touristic-events-provider.js +23 -19
  135. package/dist/collection/store/grw-touristic-events-provider.js.br +0 -0
  136. package/dist/collection/store/grw-touristic-events-provider.js.gz +0 -0
  137. package/dist/collection/store/grw-touristic-events-provider.js.map +1 -1
  138. package/dist/collection/store/grw-trek-provider.js +107 -103
  139. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  140. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  141. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  142. package/dist/collection/store/grw-treks-provider.js +49 -43
  143. package/dist/collection/store/grw-treks-provider.js.br +0 -0
  144. package/dist/collection/store/grw-treks-provider.js.gz +0 -0
  145. package/dist/collection/store/grw-treks-provider.js.map +1 -1
  146. package/dist/collection/store/store.js +2 -2
  147. package/dist/collection/store/store.js.br +0 -0
  148. package/dist/collection/store/store.js.gz +0 -0
  149. package/dist/collection/store/store.js.map +1 -1
  150. package/dist/collection/utils/utils.js +7 -7
  151. package/dist/collection/utils/utils.js.br +0 -0
  152. package/dist/collection/utils/utils.js.gz +0 -0
  153. package/dist/collection/utils/utils.js.map +1 -1
  154. package/dist/esm/geotrek-rando-widget.js +3 -3
  155. package/dist/esm/geotrek-rando-widget.js.br +0 -0
  156. package/dist/esm/geotrek-rando-widget.js.gz +0 -0
  157. package/dist/esm/grw-app.entry.js +22 -19
  158. package/dist/esm/grw-app.entry.js.br +0 -0
  159. package/dist/esm/grw-app.entry.js.gz +0 -0
  160. package/dist/esm/grw-app.entry.js.map +1 -1
  161. package/dist/esm/grw-common-button_20.entry.js +434 -343
  162. package/dist/esm/grw-common-button_20.entry.js.br +0 -0
  163. package/dist/esm/grw-common-button_20.entry.js.gz +0 -0
  164. package/dist/esm/grw-common-button_20.entry.js.map +1 -1
  165. package/dist/esm/grw-filter.entry.js +6 -4
  166. package/dist/esm/grw-filter.entry.js.br +0 -0
  167. package/dist/esm/grw-filter.entry.js.gz +0 -0
  168. package/dist/esm/grw-filter.entry.js.map +1 -1
  169. package/dist/esm/grw-information-desk_6.entry.js +28 -31
  170. package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
  171. package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
  172. package/dist/esm/grw-information-desk_6.entry.js.map +1 -1
  173. package/dist/esm/{i18n-1b5344b9.js → i18n-174cee1d.js} +9 -3
  174. package/dist/esm/i18n-174cee1d.js.br +0 -0
  175. package/dist/esm/i18n-174cee1d.js.gz +0 -0
  176. package/dist/esm/i18n-174cee1d.js.map +1 -0
  177. package/dist/esm/{index-d5cacae4.js → index-51cc3412.js} +60 -2
  178. package/dist/esm/index-51cc3412.js.br +0 -0
  179. package/dist/esm/index-51cc3412.js.gz +0 -0
  180. package/dist/esm/index-51cc3412.js.map +1 -0
  181. package/dist/esm/loader.js +3 -3
  182. package/dist/esm/loader.js.br +0 -0
  183. package/dist/esm/loader.js.gz +0 -0
  184. package/dist/esm/{store-3496120b.js → store-f2da1d1a.js} +4 -4
  185. package/dist/esm/store-f2da1d1a.js.br +0 -0
  186. package/dist/esm/store-f2da1d1a.js.gz +0 -0
  187. package/dist/esm/store-f2da1d1a.js.map +1 -0
  188. package/dist/esm/{utils-3f44aaab.js → utils-629857b6.js} +9 -9
  189. package/dist/esm/utils-629857b6.js.br +0 -0
  190. package/dist/esm/utils-629857b6.js.gz +0 -0
  191. package/dist/esm/utils-629857b6.js.map +1 -0
  192. package/dist/esm-es5/geotrek-rando-widget.js +1 -1
  193. package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
  194. package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
  195. package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
  196. package/dist/esm-es5/grw-app.entry.js +1 -1
  197. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  198. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  199. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  200. package/dist/esm-es5/grw-common-button_20.entry.js +3 -3
  201. package/dist/esm-es5/grw-common-button_20.entry.js.br +0 -0
  202. package/dist/esm-es5/grw-common-button_20.entry.js.gz +0 -0
  203. package/dist/esm-es5/grw-common-button_20.entry.js.map +1 -1
  204. package/dist/esm-es5/grw-filter.entry.js +2 -2
  205. package/dist/esm-es5/grw-filter.entry.js.br +0 -0
  206. package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
  207. package/dist/esm-es5/grw-filter.entry.js.map +1 -1
  208. package/dist/esm-es5/grw-information-desk_6.entry.js +1 -1
  209. package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
  210. package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
  211. package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -1
  212. package/dist/esm-es5/i18n-174cee1d.js +2 -0
  213. package/dist/esm-es5/i18n-174cee1d.js.br +0 -0
  214. package/dist/esm-es5/i18n-174cee1d.js.gz +0 -0
  215. package/dist/esm-es5/i18n-174cee1d.js.map +1 -0
  216. package/dist/esm-es5/index-51cc3412.js +3 -0
  217. package/dist/esm-es5/index-51cc3412.js.br +0 -0
  218. package/dist/esm-es5/index-51cc3412.js.gz +0 -0
  219. package/dist/esm-es5/index-51cc3412.js.map +1 -0
  220. package/dist/esm-es5/loader.js +1 -1
  221. package/dist/esm-es5/loader.js.br +0 -0
  222. package/dist/esm-es5/loader.js.gz +0 -0
  223. package/dist/esm-es5/loader.js.map +1 -1
  224. package/dist/esm-es5/{store-3496120b.js → store-f2da1d1a.js} +2 -2
  225. package/dist/esm-es5/store-f2da1d1a.js.br +0 -0
  226. package/dist/esm-es5/store-f2da1d1a.js.gz +0 -0
  227. package/dist/esm-es5/store-f2da1d1a.js.map +1 -0
  228. package/dist/esm-es5/utils-629857b6.js +2 -0
  229. package/dist/esm-es5/utils-629857b6.js.br +0 -0
  230. package/dist/esm-es5/utils-629857b6.js.gz +0 -0
  231. package/dist/esm-es5/utils-629857b6.js.map +1 -0
  232. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  233. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  234. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  235. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
  236. package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
  237. package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
  238. package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
  239. package/dist/geotrek-rando-widget/p-067c274c.system.js +2 -0
  240. package/dist/geotrek-rando-widget/p-067c274c.system.js.br +0 -0
  241. package/dist/geotrek-rando-widget/p-067c274c.system.js.gz +0 -0
  242. package/dist/geotrek-rando-widget/p-067c274c.system.js.map +1 -0
  243. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js +2 -0
  244. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js.br +0 -0
  245. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js.gz +0 -0
  246. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js.map +1 -0
  247. package/dist/geotrek-rando-widget/p-1f05919b.js +2 -0
  248. package/dist/geotrek-rando-widget/p-1f05919b.js.br +0 -0
  249. package/dist/geotrek-rando-widget/p-1f05919b.js.gz +0 -0
  250. package/dist/geotrek-rando-widget/p-1f05919b.js.map +1 -0
  251. package/dist/geotrek-rando-widget/{p-e786bfac.system.entry.js → p-3478a0e0.system.entry.js} +3 -3
  252. package/dist/geotrek-rando-widget/p-3478a0e0.system.entry.js.br +0 -0
  253. package/dist/geotrek-rando-widget/p-3478a0e0.system.entry.js.gz +0 -0
  254. package/dist/geotrek-rando-widget/{p-e786bfac.system.entry.js.map → p-3478a0e0.system.entry.js.map} +1 -1
  255. package/dist/geotrek-rando-widget/p-357053e1.system.js +2 -0
  256. package/dist/geotrek-rando-widget/p-357053e1.system.js.br +0 -0
  257. package/dist/geotrek-rando-widget/p-357053e1.system.js.gz +0 -0
  258. package/dist/geotrek-rando-widget/p-357053e1.system.js.map +1 -0
  259. package/dist/geotrek-rando-widget/p-44a48723.entry.js +2 -0
  260. package/dist/geotrek-rando-widget/p-44a48723.entry.js.br +0 -0
  261. package/dist/geotrek-rando-widget/p-44a48723.entry.js.gz +0 -0
  262. package/dist/geotrek-rando-widget/p-44a48723.entry.js.map +1 -0
  263. package/dist/geotrek-rando-widget/p-54b52936.js +2 -0
  264. package/dist/geotrek-rando-widget/p-54b52936.js.br +0 -0
  265. package/dist/geotrek-rando-widget/p-54b52936.js.gz +0 -0
  266. package/dist/geotrek-rando-widget/p-54b52936.js.map +1 -0
  267. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js +14 -0
  268. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.br +0 -0
  269. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.gz +0 -0
  270. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.map +1 -0
  271. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js +2 -0
  272. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.br +0 -0
  273. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.gz +0 -0
  274. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.map +1 -0
  275. package/dist/geotrek-rando-widget/p-66ed5acc.js +3 -0
  276. package/dist/geotrek-rando-widget/p-66ed5acc.js.br +0 -0
  277. package/dist/geotrek-rando-widget/p-66ed5acc.js.gz +0 -0
  278. package/dist/geotrek-rando-widget/p-66ed5acc.js.map +1 -0
  279. package/dist/geotrek-rando-widget/p-67932866.system.entry.js +14 -0
  280. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.br +0 -0
  281. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.gz +0 -0
  282. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.map +1 -0
  283. package/dist/geotrek-rando-widget/p-88a9f840.entry.js +2 -0
  284. package/dist/geotrek-rando-widget/p-88a9f840.entry.js.br +0 -0
  285. package/dist/geotrek-rando-widget/p-88a9f840.entry.js.gz +0 -0
  286. package/dist/geotrek-rando-widget/p-88a9f840.entry.js.map +1 -0
  287. package/dist/geotrek-rando-widget/p-988009d3.system.js +3 -0
  288. package/dist/geotrek-rando-widget/p-988009d3.system.js.br +0 -0
  289. package/dist/geotrek-rando-widget/p-988009d3.system.js.gz +0 -0
  290. package/dist/geotrek-rando-widget/p-988009d3.system.js.map +1 -0
  291. package/dist/geotrek-rando-widget/p-a0907b4d.system.js +2 -0
  292. package/dist/geotrek-rando-widget/p-a0907b4d.system.js.br +0 -0
  293. package/dist/geotrek-rando-widget/p-a0907b4d.system.js.gz +0 -0
  294. package/dist/geotrek-rando-widget/p-a0907b4d.system.js.map +1 -0
  295. package/dist/geotrek-rando-widget/{p-41d98179.system.js → p-f17eda94.system.js} +2 -2
  296. package/dist/geotrek-rando-widget/p-f17eda94.system.js.br +0 -0
  297. package/dist/geotrek-rando-widget/p-f17eda94.system.js.gz +0 -0
  298. package/dist/geotrek-rando-widget/p-f17eda94.system.js.map +1 -0
  299. package/dist/geotrek-rando-widget/p-f88b4940.js +2 -0
  300. package/dist/geotrek-rando-widget/p-f88b4940.js.br +0 -0
  301. package/dist/geotrek-rando-widget/p-f88b4940.js.gz +0 -0
  302. package/dist/geotrek-rando-widget/p-f88b4940.js.map +1 -0
  303. package/dist/geotrek-rando-widget/{p-396e7309.entry.js → p-fca0c8b9.entry.js} +3 -3
  304. package/dist/geotrek-rando-widget/p-fca0c8b9.entry.js.br +0 -0
  305. package/dist/geotrek-rando-widget/p-fca0c8b9.entry.js.gz +0 -0
  306. package/dist/geotrek-rando-widget/{p-396e7309.entry.js.map → p-fca0c8b9.entry.js.map} +1 -1
  307. package/dist/types/components/grw-map/grw-map.d.ts +2 -3
  308. package/dist/types/components/grw-touristic-content-detail/grw-touristic-content-detail.d.ts +1 -1
  309. package/dist/types/components/grw-touristic-contents-list/grw-touristic-contents-list.d.ts +0 -1
  310. package/dist/types/components/grw-touristic-event-detail/grw-touristic-event-detail.d.ts +1 -1
  311. package/dist/types/components/grw-touristic-events-list/grw-touristic-events-list.d.ts +0 -1
  312. package/dist/types/components/grw-trek-card/grw-trek-card.d.ts +0 -2
  313. package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +2 -2
  314. package/dist/types/components/grw-treks-list/grw-treks-list.d.ts +0 -1
  315. package/dist/types/components.d.ts +0 -12
  316. package/dist/types/i18n/i18n.d.ts +3 -0
  317. package/dist/types/store/store.d.ts +4 -4
  318. package/package.json +1 -1
  319. package/dist/cjs/i18n-54f97142.js.br +0 -0
  320. package/dist/cjs/i18n-54f97142.js.gz +0 -0
  321. package/dist/cjs/i18n-54f97142.js.map +0 -1
  322. package/dist/cjs/index-9e4fe3f0.js.br +0 -0
  323. package/dist/cjs/index-9e4fe3f0.js.gz +0 -0
  324. package/dist/cjs/index-9e4fe3f0.js.map +0 -1
  325. package/dist/cjs/store-aa5044fc.js.br +0 -0
  326. package/dist/cjs/store-aa5044fc.js.gz +0 -0
  327. package/dist/cjs/store-aa5044fc.js.map +0 -1
  328. package/dist/cjs/utils-08a59e4e.js.br +0 -0
  329. package/dist/cjs/utils-08a59e4e.js.gz +0 -0
  330. package/dist/cjs/utils-08a59e4e.js.map +0 -1
  331. package/dist/esm/i18n-1b5344b9.js.br +0 -0
  332. package/dist/esm/i18n-1b5344b9.js.gz +0 -0
  333. package/dist/esm/i18n-1b5344b9.js.map +0 -1
  334. package/dist/esm/index-d5cacae4.js.br +0 -0
  335. package/dist/esm/index-d5cacae4.js.gz +0 -0
  336. package/dist/esm/index-d5cacae4.js.map +0 -1
  337. package/dist/esm/store-3496120b.js.br +0 -0
  338. package/dist/esm/store-3496120b.js.gz +0 -0
  339. package/dist/esm/store-3496120b.js.map +0 -1
  340. package/dist/esm/utils-3f44aaab.js.br +0 -0
  341. package/dist/esm/utils-3f44aaab.js.gz +0 -0
  342. package/dist/esm/utils-3f44aaab.js.map +0 -1
  343. package/dist/esm-es5/i18n-1b5344b9.js +0 -2
  344. package/dist/esm-es5/i18n-1b5344b9.js.br +0 -0
  345. package/dist/esm-es5/i18n-1b5344b9.js.gz +0 -0
  346. package/dist/esm-es5/i18n-1b5344b9.js.map +0 -1
  347. package/dist/esm-es5/index-d5cacae4.js +0 -3
  348. package/dist/esm-es5/index-d5cacae4.js.br +0 -0
  349. package/dist/esm-es5/index-d5cacae4.js.gz +0 -0
  350. package/dist/esm-es5/index-d5cacae4.js.map +0 -1
  351. package/dist/esm-es5/store-3496120b.js.br +0 -0
  352. package/dist/esm-es5/store-3496120b.js.gz +0 -0
  353. package/dist/esm-es5/store-3496120b.js.map +0 -1
  354. package/dist/esm-es5/utils-3f44aaab.js +0 -2
  355. package/dist/esm-es5/utils-3f44aaab.js.br +0 -0
  356. package/dist/esm-es5/utils-3f44aaab.js.gz +0 -0
  357. package/dist/esm-es5/utils-3f44aaab.js.map +0 -1
  358. package/dist/geotrek-rando-widget/p-007ecbb7.system.js +0 -2
  359. package/dist/geotrek-rando-widget/p-007ecbb7.system.js.br +0 -0
  360. package/dist/geotrek-rando-widget/p-007ecbb7.system.js.gz +0 -0
  361. package/dist/geotrek-rando-widget/p-007ecbb7.system.js.map +0 -1
  362. package/dist/geotrek-rando-widget/p-0c07a3f0.js +0 -3
  363. package/dist/geotrek-rando-widget/p-0c07a3f0.js.br +0 -0
  364. package/dist/geotrek-rando-widget/p-0c07a3f0.js.gz +0 -0
  365. package/dist/geotrek-rando-widget/p-0c07a3f0.js.map +0 -1
  366. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js +0 -2
  367. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js.br +0 -0
  368. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js.gz +0 -0
  369. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js.map +0 -1
  370. package/dist/geotrek-rando-widget/p-159a8bb1.js +0 -2
  371. package/dist/geotrek-rando-widget/p-159a8bb1.js.br +0 -0
  372. package/dist/geotrek-rando-widget/p-159a8bb1.js.gz +0 -0
  373. package/dist/geotrek-rando-widget/p-159a8bb1.js.map +0 -1
  374. package/dist/geotrek-rando-widget/p-396e7309.entry.js.br +0 -0
  375. package/dist/geotrek-rando-widget/p-396e7309.entry.js.gz +0 -0
  376. package/dist/geotrek-rando-widget/p-41d98179.system.js.br +0 -0
  377. package/dist/geotrek-rando-widget/p-41d98179.system.js.gz +0 -0
  378. package/dist/geotrek-rando-widget/p-41d98179.system.js.map +0 -1
  379. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js +0 -2
  380. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.br +0 -0
  381. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.gz +0 -0
  382. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.map +0 -1
  383. package/dist/geotrek-rando-widget/p-623b4c89.entry.js +0 -2
  384. package/dist/geotrek-rando-widget/p-623b4c89.entry.js.br +0 -0
  385. package/dist/geotrek-rando-widget/p-623b4c89.entry.js.gz +0 -0
  386. package/dist/geotrek-rando-widget/p-623b4c89.entry.js.map +0 -1
  387. package/dist/geotrek-rando-widget/p-86b11946.js +0 -2
  388. package/dist/geotrek-rando-widget/p-86b11946.js.br +0 -0
  389. package/dist/geotrek-rando-widget/p-86b11946.js.gz +0 -0
  390. package/dist/geotrek-rando-widget/p-86b11946.js.map +0 -1
  391. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js +0 -2
  392. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js.br +0 -0
  393. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js.gz +0 -0
  394. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js.map +0 -1
  395. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js +0 -14
  396. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.br +0 -0
  397. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.gz +0 -0
  398. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.map +0 -1
  399. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +0 -2
  400. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
  401. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
  402. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.map +0 -1
  403. package/dist/geotrek-rando-widget/p-d2c035bc.system.js +0 -3
  404. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.br +0 -0
  405. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.gz +0 -0
  406. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.map +0 -1
  407. package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js.br +0 -0
  408. package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js.gz +0 -0
  409. package/dist/geotrek-rando-widget/p-f5b24b94.js +0 -2
  410. package/dist/geotrek-rando-widget/p-f5b24b94.js.br +0 -0
  411. package/dist/geotrek-rando-widget/p-f5b24b94.js.gz +0 -0
  412. package/dist/geotrek-rando-widget/p-f5b24b94.js.map +0 -1
  413. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js +0 -2
  414. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.br +0 -0
  415. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.gz +0 -0
  416. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.map +0 -1
  417. package/dist/geotrek-rando-widget/p-fc06af41.entry.js +0 -14
  418. package/dist/geotrek-rando-widget/p-fc06af41.entry.js.br +0 -0
  419. package/dist/geotrek-rando-widget/p-fc06af41.entry.js.gz +0 -0
  420. package/dist/geotrek-rando-widget/p-fc06af41.entry.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-9e4fe3f0.js');
5
+ const index = require('./index-e9166f30.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v3.4.2 | MIT Licensed | https://stenciljs.com
@@ -113,7 +113,7 @@ const patchDynamicImport = (base, orgScriptElm) => {
113
113
  };
114
114
 
115
115
  patchBrowser().then(options => {
116
- return index.bootstrapLazy(JSON.parse("[[\"grw-filter.cjs\",[[1,\"grw-filter\",{\"fontFamily\":[1,\"font-family\"],\"filterType\":[1,\"filter-type\"],\"filterName\":[1,\"filter-name\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterNameProperty\":[1,\"filter-name-property\"],\"segment\":[1]},[[8,\"resetFilter\",\"onResetFilter\"]]]]],[\"grw-information-desk_6.cjs\",[[1,\"grw-information-desk\",{\"informationDesk\":[16],\"displayShortDescription\":[32],\"showInformationDeskDescriptionButton\":[32]}],[1,\"grw-poi\",{\"poi\":[16],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32]}],[1,\"grw-sensitive-area-detail\",{\"sensitiveArea\":[16]}],[1,\"grw-touristic-content-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicContent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-trek-card\",{\"trek\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"isStep\":[4,\"is-step\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-common-button_20.cjs\",[[1,\"grw-trek-detail\",{\"trek\":[16],\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32]}],[1,\"grw-filters\",{\"handleFilters\":[16],\"fontFamily\":[1,\"font-family\"],\"selectedSegment\":[32]}],[1,\"grw-touristic-contents-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"touristicContentsToDisplay\":[32]}],[1,\"grw-touristic-events-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"touristicEventsToDisplay\":[32]}],[1,\"grw-treks-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"treksToDisplay\":[32]}],[1,\"grw-common-button\",{\"action\":[16],\"icon\":[1],\"name\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-extended-fab\",{\"action\":[16],\"icon\":[16],\"name\":[16],\"display\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-loader\",{\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"]}],[1,\"grw-map\",{\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"center\":[1],\"zoom\":[2],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorPoiIcon\":[1,\"color-poi-icon\"],\"useGradient\":[4,\"use-gradient\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"isLargeView\":[4,\"is-large-view\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"informationDeskIsInViewport\",\"onInformationDesksIsInViewport\"],[8,\"sensitiveAreaIsInViewport\",\"sensitiveAreaIsInViewport\"],[8,\"poiIsInViewport\",\"poiIsInViewport\"],[8,\"touristicContentsIsInViewport\",\"touristicContentsIsInViewport\"],[8,\"touristicEventsIsInViewport\",\"touristicEventsIsInViewport\"],[8,\"cardTrekMouseOver\",\"onCardTrekMouseOver\"],[8,\"cardTrekMouseLeave\",\"onCardTrekMouseLeave\"],[8,\"cardTouristicContentMouseOver\",\"onTouristicContentMouseOver\"],[8,\"cardTouristicContentMouseLeave\",\"onTouristicContentMouseLeave\"],[8,\"cardTouristicEventMouseOver\",\"onTouristicEventMouseOver\"],[8,\"cardTouristicEventMouseLeave\",\"onTouristicEventMouseLeave\"]]],[1,\"grw-search\",{\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-segmented-segment\",{\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-select-language\"],[1,\"grw-touristic-content-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[1,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[1,\"touristic-event-id\"],\"portals\":[1]}],[1,\"grw-touristic-events-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-trek-provider\",{\"languages\":[1],\"api\":[1],\"trekId\":[1,\"trek-id\"],\"portals\":[1]}],[1,\"grw-treks-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1]}]]],[\"grw-app.cjs\",[[0,\"grw-app\",{\"appWidth\":[1,\"app-width\"],\"appHeight\":[1,\"app-height\"],\"api\":[1],\"languages\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"center\":[1],\"zoom\":[2],\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"weather\":[4],\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnPrimary\":[1,\"color-on-primary\"],\"colorSurface\":[1,\"color-surface\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSurfaceVariant\":[1,\"color-surface-variant\"],\"colorOnSurfaceVariant\":[1,\"color-on-surface-variant\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorSurfaceContainerHigh\":[1,\"color-surface-container-high\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"rounded\":[4],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorPoiIcon\":[1,\"color-poi-icon\"],\"useGradient\":[4,\"use-gradient\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"]]]]]]"), options);
116
+ return index.bootstrapLazy([["grw-filter.cjs",[[1,"grw-filter",{"fontFamily":[1,"font-family"],"filterType":[1,"filter-type"],"filterName":[1,"filter-name"],"filterPlaceholder":[1,"filter-placeholder"],"filterNameProperty":[1,"filter-name-property"],"segment":[1]},[[8,"resetFilter","onResetFilter"]]]]],["grw-information-desk_6.cjs",[[1,"grw-information-desk",{"informationDesk":[16],"displayShortDescription":[32],"showInformationDeskDescriptionButton":[32]}],[1,"grw-poi",{"poi":[16],"displayShortDescription":[32],"showPoiDescriptionButton":[32],"displayFullscreen":[32]}],[1,"grw-sensitive-area-detail",{"sensitiveArea":[16]}],[1,"grw-touristic-content-card",{"fontFamily":[1,"font-family"],"touristicContent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{"fontFamily":[1,"font-family"],"touristicEvent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-trek-card",{"trek":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isStep":[4,"is-step"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"departureCity":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-common-button_20.cjs",[[1,"grw-trek-detail",{"trek":[16],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"weather":[4],"isLargeView":[4,"is-large-view"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"labels":[32],"sources":[32],"accessibilities":[32],"accessibilityLevel":[32],"displayFullscreen":[32],"cities":[32],"options":[32]}],[1,"grw-filters",{"handleFilters":[16],"fontFamily":[1,"font-family"],"selectedSegment":[32]}],[1,"grw-touristic-contents-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicContentsToDisplay":[32]}],[1,"grw-touristic-events-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicEventsToDisplay":[32]}],[1,"grw-treks-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"treksToDisplay":[32]}],[1,"grw-common-button",{"action":[16],"icon":[1],"name":[1],"fontFamily":[1,"font-family"]}],[1,"grw-extended-fab",{"action":[16],"icon":[16],"name":[16],"display":[1],"fontFamily":[1,"font-family"]}],[1,"grw-loader",{"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"]}],[1,"grw-map",{"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"center":[1],"zoom":[2],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorBackground":[1,"color-background"],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorPoiIcon":[1,"color-poi-icon"],"useGradient":[4,"use-gradient"],"isLargeView":[4,"is-large-view"],"mapIsReady":[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationDeskIsInViewport","onInformationDesksIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"]]],[1,"grw-search",{"fontFamily":[1,"font-family"]}],[1,"grw-segmented-segment",{"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"fontFamily":[1,"font-family"]}],[1,"grw-select-language"],[1,"grw-touristic-content-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"displayFullscreen":[32]}],[1,"grw-touristic-content-provider",{"languages":[1],"api":[1],"touristicContentId":[1,"touristic-content-id"],"portals":[1]}],[1,"grw-touristic-contents-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-touristic-event-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"displayFullscreen":[32]}],[1,"grw-touristic-event-provider",{"languages":[1],"api":[1],"touristicEventId":[1,"touristic-event-id"],"portals":[1]}],[1,"grw-touristic-events-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-trek-provider",{"languages":[1],"api":[1],"trekId":[1,"trek-id"],"portals":[1]}],[1,"grw-treks-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1]}]]],["grw-app.cjs",[[0,"grw-app",{"appWidth":[1,"app-width"],"appHeight":[1,"app-height"],"api":[1],"languages":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1],"center":[1],"zoom":[2],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"weather":[4],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnPrimary":[1,"color-on-primary"],"colorSurface":[1,"color-surface"],"colorOnSurface":[1,"color-on-surface"],"colorSurfaceVariant":[1,"color-surface-variant"],"colorOnSurfaceVariant":[1,"color-on-surface-variant"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorBackground":[1,"color-background"],"colorSurfaceContainerHigh":[1,"color-surface-container-high"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"rounded":[4],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorPoiIcon":[1,"color-poi-icon"],"useGradient":[4,"use-gradient"],"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"showTrek":[32],"showTouristicContent":[32],"showTouristicEvent":[32],"showHomeMap":[32],"showTrekMap":[32],"showTouristicContentMap":[32],"showTouristicEventMap":[32],"showFilters":[32],"isLargeView":[32],"currentTrekId":[32],"currentTouristicContentId":[32],"currentTouristicEventId":[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]]], options);
117
117
  });
118
118
 
119
119
  exports.setNonce = index.setNonce;
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-9e4fe3f0.js');
6
- const i18n = require('./i18n-54f97142.js');
7
- const store = require('./store-aa5044fc.js');
5
+ const index = require('./index-e9166f30.js');
6
+ const i18n = require('./i18n-ffadc673.js');
7
+ const store = require('./store-1bee207d.js');
8
8
 
9
9
  const grwAppCss = "grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.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}.header-container,.large-view-header-container{height:var(--header-height)}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .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}.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}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-container{margin-left:16px}.header-detail{height:64px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.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)}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - var(--header-height))}.content-treks{height:calc(100% - var(--header-height))}.content-trek{height:100%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.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}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container,.app-touristic-content-detail-container,.app-touristic-event-detail-container{width:100%}grw-treks-list,grw-touristic-contents-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{position:relative;max-height:calc(100vh - 64px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.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}.error-container grw-common-button{margin-top:16px}";
10
10
 
@@ -264,17 +264,19 @@ const GrwApp = class {
264
264
  }
265
265
  getMapVisibilityLabelButton() {
266
266
  let mapLabelButton;
267
- if (this.showTrek) {
268
- mapLabelButton = this.showTrekMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showRoute;
269
- }
270
- else if (this.showTouristicContent) {
271
- mapLabelButton = this.showTouristicContentMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showMap;
272
- }
273
- else if (this.showTouristicEvent) {
274
- mapLabelButton = this.showTouristicEventMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showMap;
275
- }
276
- else {
277
- mapLabelButton = this.showHomeMap ? i18n.translate[store.state.language].showList : i18n.translate[store.state.language].showMap;
267
+ if (store.state.language) {
268
+ if (this.showTrek) {
269
+ mapLabelButton = this.showTrekMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showRoute;
270
+ }
271
+ else if (this.showTouristicContent) {
272
+ mapLabelButton = this.showTouristicContentMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showMap;
273
+ }
274
+ else if (this.showTouristicEvent) {
275
+ mapLabelButton = this.showTouristicEventMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showMap;
276
+ }
277
+ else {
278
+ mapLabelButton = this.showHomeMap ? i18n.translate[store.state.language].showList : i18n.translate[store.state.language].showMap;
279
+ }
278
280
  }
279
281
  return mapLabelButton;
280
282
  }
@@ -319,14 +321,15 @@ const GrwApp = class {
319
321
  store.state.touristicEvents ||
320
322
  store.state.currentTouristicContent ||
321
323
  store.state.currentTouristicEvent ||
322
- store.state.trekNetworkError) && (index.h("div", { class: "app-container" }, store.state.languages && store.state.languages.length > 1 && (index.h("div", { class: "languages-container" }, index.h("grw-select-language", null))), index.h("div", { class: `${this.isLargeView ? 'large-view-header-container' : 'header-container'}${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''}` }, Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 &&
324
+ store.state.networkError) && (index.h("div", { class: "app-container" }, store.state.languages && store.state.languages.length > 1 && (index.h("div", { class: "languages-container" }, index.h("grw-select-language", null))), index.h("div", { class: `${this.isLargeView ? 'large-view-header-container' : 'header-container'}${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''}` }, Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 &&
323
325
  !this.showTrek &&
324
326
  !this.showTouristicContent &&
325
- !this.showTouristicEvent && (index.h("grw-segmented-segment", { fontFamily: this.fontFamily, treks: this.treks, touristicContents: this.touristicContents, touristicEvents: this.touristicEvents })), !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (index.h("div", { class: "handle-search-filters-container" }, index.h("div", { class: "handle-search-container" }, index.h("grw-search", { fontFamily: this.fontFamily })), index.h("div", { class: "handle-filters-container" }, index.h("grw-common-button", { fontFamily: this.fontFamily, action: () => this.handleFilters(), icon: 'filter_list', name: i18n.translate[store.state.language].filter })))) : (index.h("div", { class: "arrow-back-container" }, index.h("button", { onClick: () => this.handleBackButton(), class: "arrow-back-icon" }, index.h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), index.h("div", { class: `content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}` }, store.state.trekNetworkError && (index.h("div", { class: "error-container" }, "Une erreur est survenue.", index.h("grw-common-button", { icon: "refresh", name: "Recharger la page", action: () => this.reload() }))), index.h("div", { class: this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container', style: { display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' } }, store.state.mode === 'treks' && this.treks && (index.h("grw-treks-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: 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 })), store.state.mode === 'touristicContents' && this.touristicContents && (index.h("grw-touristic-contents-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: 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 })), store.state.mode === 'touristicEvents' && this.touristicEvents && (index.h("grw-touristic-events-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: 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 && !store.state.currentTrek) ||
327
+ !this.showTouristicEvent && (index.h("grw-segmented-segment", { fontFamily: this.fontFamily, treks: this.treks, touristicContents: this.touristicContents, touristicEvents: this.touristicEvents })), !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (index.h("div", { class: "handle-search-filters-container" }, index.h("div", { class: "handle-search-container" }, index.h("grw-search", { fontFamily: this.fontFamily })), index.h("div", { class: "handle-filters-container" }, index.h("grw-common-button", { fontFamily: this.fontFamily, action: () => this.handleFilters(), icon: 'filter_list', name: i18n.translate[store.state.language].filter })))) : (index.h("div", { class: "arrow-back-container" }, index.h("button", { onClick: () => this.handleBackButton(), class: "arrow-back-icon" }, index.h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), index.h("div", { class: `content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}` }, store.state.networkError && (index.h("div", { class: "error-container" }, "Une erreur est survenue.", index.h("grw-common-button", { icon: "refresh", name: "Recharger la page", action: () => this.reload() }))), index.h("div", { class: this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container', style: { display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' } }, store.state.mode === 'treks' && this.treks && (index.h("grw-treks-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: 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 })), store.state.mode === 'touristicContents' && this.touristicContents && (index.h("grw-touristic-contents-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: 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 })), store.state.mode === 'touristicEvents' && this.touristicEvents && (index.h("grw-touristic-events-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: 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 && !store.state.currentTrek) ||
326
328
  (this.showTouristicContent && !store.state.currentTouristicContent) ||
327
329
  (this.showTouristicEvent && !store.state.currentTouristicEvent) ||
328
- (!store.state.currentTreks && store.state.mode === 'treks') ||
329
- (!store.state.touristicContents && store.state.mode === 'touristicContents' && (index.h("div", { class: this.isLargeView ? 'large-view-loader-container' : 'loader-container' }, index.h("grw-loader", { "color-primary-container": this.colorSecondaryContainer, "color-on-primary-container": this.colorOnSecondaryContainer })))), store.state.currentTrek && (index.h("div", { class: this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container' }, index.h("grw-trek-detail", { style: {
330
+ (!store.state.treks && store.state.mode === 'treks') ||
331
+ (!store.state.touristicContents && store.state.mode === 'touristicContents') ||
332
+ (!store.state.touristicEvents && store.state.mode === 'touristicEvents')) && (index.h("div", { class: this.isLargeView ? 'large-view-loader-container' : 'loader-container' }, index.h("grw-loader", { "color-primary-container": this.colorSecondaryContainer, "color-on-primary-container": this.colorOnSecondaryContainer }))), this.showTrek && (index.h("div", { class: this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container' }, index.h("grw-trek-detail", { style: {
330
333
  visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',
331
334
  zIndex: !this.showTrekMap ? '1' : '0',
332
335
  }, "reset-store-on-disconnected": 'false', fontFamily: 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 }))), this.showTouristicContent && (index.h("div", { class: this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container' }, index.h("grw-touristic-content-detail", { style: {
@@ -335,7 +338,7 @@ const GrwApp = class {
335
338
  }, fontFamily: 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 && (index.h("div", { class: this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container' }, index.h("grw-touristic-event-detail", { style: {
336
339
  visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',
337
340
  zIndex: !this.showTouristicEventMap ? '1' : '0',
338
- }, fontFamily: 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 }))), !store.state.trekNetworkError && (index.h("grw-map", { "reset-store-on-disconnected": 'false', class: this.isLargeView ? 'large-view-app-map-container' : 'app-map-container', style: {
341
+ }, fontFamily: 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 }))), !store.state.networkError && (index.h("grw-map", { "reset-store-on-disconnected": 'false', class: this.isLargeView ? 'large-view-app-map-container' : 'app-map-container', style: {
339
342
  visibility: (this.showHomeMap && !this.showTrek) ||
340
343
  (this.showTrekMap && this.showTrek) ||
341
344
  (this.showTouristicContentMap && this.showTouristicContent) ||
Binary file
Binary file
@@ -1 +1 @@
1
- {"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,SAAS,GAAG,2gHAA2gH;;MCShhH,MAAM;;;IA6DjB,kBAAa,GAAG,IAAI,CAAC;IACrB,uBAAkB,GAAyB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBA5DtD,KAAK;gCACO,KAAK;8BACP,KAAK;uBACZ,KAAK;uBACL,KAAK;mCACO,KAAK;iCACP,KAAK;uBACf,KAAK;uBACL,KAAK;;;;oBAID,MAAM;qBACL,OAAO;;qBAEf,IAAI;;;;;;;;;;;;;;mBAcN,KAAK;;sBAGF,QAAQ;2BACH,SAAS;0BACV,SAAS;wBACX,SAAS;0BACP,SAAS;+BACJ,SAAS;iCACP,SAAS;iCACT,SAAS;mCACP,SAAS;mCACT,SAAS;qCACP,SAAS;2BACnB,SAAS;qCACC,SAAS;oCACV,SAAS;8BACf,SAAS;oBACnB,SAAS;mBACV,IAAI;yBAEE,SAAS;8BACJ,SAAS;wBACf,SAAS;uBACV,KAAK;iBAEX,IAAI;6BACQ,KAAK;2BACP,KAAK;;EAM/B,eAAe,CAAC,KAA0B;IACxC,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC;IACtC,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;IAClCA,WAAK,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACrC,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACpC,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;IAChCA,WAAK,CAAC,qBAAqB,GAAG,IAAI,CAAC;IACnC,MAAM,UAAU,GAAGA,WAAK,CAAC,YAAY,GAAGA,WAAK,C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ACP;GACH;;;;;;;;;;","names":["state","translate","reset","h","Host"],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.header-container,\n.large-view-header-container {\n height: var(--header-height);\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.header-detail {\n height: 64px;\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - var(--header-height));\n}\n\n.content-treks {\n height: calc(100% - var(--header-height));\n}\n\n.content-trek {\n height: 100%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.app-touristic-content-detail-container,\n.app-touristic-event-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail {\n position: relative;\n max-height: calc(100vh - 64px - 48px);\n}\n\ngrw-touristic-content-detail,\ngrw-touristic-event-detail {\n position: relative;\n max-height: calc(100vh - 64px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n this.showTouristicEvent = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = false;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents && (\n <div class=\"init-loader-container\">\n <grw-loader color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId} portals={this.portals}></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.trekNetworkError) && (\n <div class=\"app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'large-view-header-container' : 'header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent && (\n <grw-segmented-segment\n fontFamily={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search fontFamily={this.fontFamily}></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <grw-common-button\n fontFamily={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={translate[state.language].filter}\n ></grw-common-button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}`}>\n {state.trekNetworkError && (\n <div class=\"error-container\">\n Une erreur est survenue.\n <grw-common-button icon=\"refresh\" name=\"Recharger la page\" action={() => this.reload()}></grw-common-button>\n </div>\n )}\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n {state.mode === 'treks' && this.treks && (\n <grw-treks-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && (\n <grw-touristic-contents-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && (\n <grw-touristic-events-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n </div>\n {(this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (!state.currentTreks && state.mode === 'treks') ||\n (!state.touristicContents && state.mode === 'touristicContents' && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <grw-loader color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n ))}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected={'false'}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n emergency-number={this.emergencyNumber}\n ></grw-trek-detail>\n </div>\n )}\n {this.showTouristicContent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-event-detail>\n </div>\n )}\n {!state.trekNetworkError && (\n <grw-map\n reset-store-on-disconnected={'false'}\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent)) && (\n <div class=\"map-visibility-button-container\">\n <grw-extended-fab\n fontFamily={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters fontFamily={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,SAAS,GAAG,2gHAA2gH;;MCShhH,MAAM;;;IA6DjB,kBAAa,GAAG,IAAI,CAAC;IACrB,uBAAkB,GAAyB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBA5DtD,KAAK;gCACO,KAAK;8BACP,KAAK;uBACZ,KAAK;uBACL,KAAK;mCACO,KAAK;iCACP,KAAK;uBACf,KAAK;uBACL,KAAK;;;;oBAID,MAAM;qBACL,OAAO;;qBAEf,IAAI;;;;;;;;;;;;;;mBAcN,KAAK;;sBAGF,QAAQ;2BACH,SAAS;0BACV,SAAS;wBACX,SAAS;0BACP,SAAS;+BACJ,SAAS;iCACP,SAAS;iCACT,SAAS;mCACP,SAAS;mCACT,SAAS;qCACP,SAAS;2BACnB,SAAS;qCACC,SAAS;oCACV,SAAS;8BACf,SAAS;oBACnB,SAAS;mBACV,IAAI;yBAEE,SAAS;8BACJ,SAAS;wBACf,SAAS;uBACV,KAA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AAIA,WAAK,CAAC,qBAAqB,CAAC,MACxDG,iBAAK,KAAK,EAAC,iCAAiC,IAC1CA,8BACE,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,EAClC,IAAI,EAAE,MAAM,IAAI,CAAC,0BAA0B,EAAE,EAC7C,IAAI,EAAE,MAAM,IAAI,CAAC,2BAA2B,EAAE,EAC9C,OAAO,EAAE,IAAI,CAAC,WAAW,GAAG,MAAM,GAAG,MAAM,GACzB,CAChB,CACP,CACG,CACP,EACA,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,IAAIA,yBAAa,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,GAAgB,CACrI,EACP;GACH;;;;;;;;;;","names":["state","translate","reset","h","Host"],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.header-container,\n.large-view-header-container {\n height: var(--header-height);\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.header-detail {\n height: 64px;\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - var(--header-height));\n}\n\n.content-treks {\n height: calc(100% - var(--header-height));\n}\n\n.content-trek {\n height: 100%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.app-touristic-content-detail-container,\n.app-touristic-event-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail {\n position: relative;\n max-height: calc(100vh - 64px - 48px);\n}\n\ngrw-touristic-content-detail,\ngrw-touristic-event-detail {\n position: relative;\n max-height: calc(100vh - 64px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n this.showTouristicEvent = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = false;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents && (\n <div class=\"init-loader-container\">\n <grw-loader color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId} portals={this.portals}></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.networkError) && (\n <div class=\"app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'large-view-header-container' : 'header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent && (\n <grw-segmented-segment\n fontFamily={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search fontFamily={this.fontFamily}></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <grw-common-button\n fontFamily={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={translate[state.language].filter}\n ></grw-common-button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}`}>\n {state.networkError && (\n <div class=\"error-container\">\n Une erreur est survenue.\n <grw-common-button icon=\"refresh\" name=\"Recharger la page\" action={() => this.reload()}></grw-common-button>\n </div>\n )}\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n {state.mode === 'treks' && this.treks && (\n <grw-treks-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && (\n <grw-touristic-contents-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && (\n <grw-touristic-events-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n </div>\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (!state.treks && state.mode === 'treks') ||\n (!state.touristicContents && state.mode === 'touristicContents') ||\n (!state.touristicEvents && state.mode === 'touristicEvents')) && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <grw-loader color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected={'false'}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n emergency-number={this.emergencyNumber}\n ></grw-trek-detail>\n </div>\n )}\n {this.showTouristicContent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-event-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n reset-store-on-disconnected={'false'}\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n fontFamily={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent)) && (\n <div class=\"map-visibility-button-container\">\n <grw-extended-fab\n fontFamily={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters fontFamily={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}