@geotrekce/geotrek-rando-widget 0.5.9 → 0.6.0

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 (257) hide show
  1. package/dist/cjs/grw-app.cjs.entry.js +18 -9
  2. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  3. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  4. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  5. package/dist/cjs/grw-common-button_20.cjs.entry.js +79 -3411
  6. package/dist/cjs/grw-common-button_20.cjs.entry.js.br +0 -0
  7. package/dist/cjs/grw-common-button_20.cjs.entry.js.gz +0 -0
  8. package/dist/cjs/grw-common-button_20.cjs.entry.js.map +1 -1
  9. package/dist/cjs/grw-filter.cjs.entry.js +3 -3
  10. package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
  11. package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
  12. package/dist/cjs/grw-filter.cjs.entry.js.map +1 -1
  13. package/dist/cjs/grw-information-desk_6.cjs.entry.js +42 -58
  14. package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
  15. package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
  16. package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -1
  17. package/dist/collection/components/grw-app/grw-app.css +1 -2
  18. package/dist/collection/components/grw-app/grw-app.css.br +0 -0
  19. package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
  20. package/dist/collection/components/grw-app/grw-app.js +18 -8
  21. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  22. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  23. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  24. package/dist/collection/components/grw-common-button/grw-common-button.css +1 -1
  25. package/dist/collection/components/grw-common-button/grw-common-button.css.br +0 -0
  26. package/dist/collection/components/grw-common-button/grw-common-button.css.gz +0 -0
  27. package/dist/collection/components/grw-common-button/grw-common-button.js +1 -1
  28. package/dist/collection/components/grw-common-button/grw-common-button.js.br +0 -0
  29. package/dist/collection/components/grw-common-button/grw-common-button.js.gz +0 -0
  30. package/dist/collection/components/grw-common-button/grw-common-button.js.map +1 -1
  31. package/dist/collection/components/grw-extended-fab/grw-extended-fab.css +1 -1
  32. package/dist/collection/components/grw-extended-fab/grw-extended-fab.css.br +0 -0
  33. package/dist/collection/components/grw-extended-fab/grw-extended-fab.css.gz +0 -0
  34. package/dist/collection/components/grw-extended-fab/grw-extended-fab.js +1 -1
  35. package/dist/collection/components/grw-extended-fab/grw-extended-fab.js.br +0 -0
  36. package/dist/collection/components/grw-extended-fab/grw-extended-fab.js.gz +0 -0
  37. package/dist/collection/components/grw-extended-fab/grw-extended-fab.js.map +1 -1
  38. package/dist/collection/components/grw-filter/grw-filter.css +3 -5
  39. package/dist/collection/components/grw-filter/grw-filter.css.br +0 -0
  40. package/dist/collection/components/grw-filter/grw-filter.css.gz +0 -0
  41. package/dist/collection/components/grw-filter/grw-filter.js +2 -2
  42. package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
  43. package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
  44. package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
  45. package/dist/collection/components/grw-filters/grw-filters.js +1 -1
  46. package/dist/collection/components/grw-filters/grw-filters.js.br +0 -0
  47. package/dist/collection/components/grw-filters/grw-filters.js.gz +0 -0
  48. package/dist/collection/components/grw-filters/grw-filters.js.map +1 -1
  49. package/dist/collection/components/grw-information-desk/grw-information-desk.css +6 -8
  50. package/dist/collection/components/grw-information-desk/grw-information-desk.css.br +0 -0
  51. package/dist/collection/components/grw-information-desk/grw-information-desk.css.gz +0 -0
  52. package/dist/collection/components/grw-information-desk/grw-information-desk.js +2 -3
  53. package/dist/collection/components/grw-information-desk/grw-information-desk.js.br +0 -0
  54. package/dist/collection/components/grw-information-desk/grw-information-desk.js.gz +0 -0
  55. package/dist/collection/components/grw-information-desk/grw-information-desk.js.map +1 -1
  56. package/dist/collection/components/grw-loader/grw-loader.js +1 -1
  57. package/dist/collection/components/grw-loader/grw-loader.js.br +0 -0
  58. package/dist/collection/components/grw-loader/grw-loader.js.gz +0 -0
  59. package/dist/collection/components/grw-loader/grw-loader.js.map +1 -1
  60. package/dist/collection/components/grw-map/grw-map.css +266 -136
  61. package/dist/collection/components/grw-map/grw-map.css.br +0 -0
  62. package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
  63. package/dist/collection/components/grw-map/grw-map.js +2 -2
  64. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  65. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  66. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  67. package/dist/collection/components/grw-poi-detail/grw-poi.css +0 -2
  68. package/dist/collection/components/grw-poi-detail/grw-poi.css.br +0 -0
  69. package/dist/collection/components/grw-poi-detail/grw-poi.css.gz +0 -0
  70. package/dist/collection/components/grw-poi-detail/grw-poi.js +4 -6
  71. package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
  72. package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
  73. package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -1
  74. package/dist/collection/components/grw-search/grw-search.css +1 -1
  75. package/dist/collection/components/grw-search/grw-search.css.br +0 -0
  76. package/dist/collection/components/grw-search/grw-search.css.gz +0 -0
  77. package/dist/collection/components/grw-search/grw-search.js +1 -1
  78. package/dist/collection/components/grw-search/grw-search.js.br +0 -0
  79. package/dist/collection/components/grw-search/grw-search.js.gz +0 -0
  80. package/dist/collection/components/grw-search/grw-search.js.map +1 -1
  81. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js +1 -1
  82. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.br +0 -0
  83. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.gz +0 -0
  84. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.map +1 -1
  85. package/dist/collection/components/grw-select-language/grw-select-language.css +1 -1
  86. package/dist/collection/components/grw-select-language/grw-select-language.css.br +0 -0
  87. package/dist/collection/components/grw-select-language/grw-select-language.css.gz +0 -0
  88. package/dist/collection/components/grw-select-language/grw-select-language.js +1 -1
  89. package/dist/collection/components/grw-select-language/grw-select-language.js.br +0 -0
  90. package/dist/collection/components/grw-select-language/grw-select-language.js.gz +0 -0
  91. package/dist/collection/components/grw-select-language/grw-select-language.js.map +1 -1
  92. package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.css +6 -6
  93. package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.css.br +0 -0
  94. package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.css.gz +0 -0
  95. package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js +5 -5
  96. package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js.br +0 -0
  97. package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js.gz +0 -0
  98. package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js.map +1 -1
  99. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css +11 -4
  100. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.br +0 -0
  101. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.gz +0 -0
  102. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +8 -11
  103. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
  104. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
  105. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.map +1 -1
  106. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +7 -0
  107. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
  108. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
  109. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +6 -9
  110. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
  111. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
  112. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -1
  113. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +4 -2
  114. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.br +0 -0
  115. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.gz +0 -0
  116. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +1 -1
  117. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
  118. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
  119. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.map +1 -1
  120. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css +4 -4
  121. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.br +0 -0
  122. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.gz +0 -0
  123. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +8 -11
  124. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
  125. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
  126. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.map +1 -1
  127. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +6 -9
  128. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
  129. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
  130. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -1
  131. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css +4 -2
  132. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.br +0 -0
  133. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.gz +0 -0
  134. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js +1 -1
  135. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.br +0 -0
  136. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.gz +0 -0
  137. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.map +1 -1
  138. package/dist/collection/components/grw-trek-card/grw-trek-card.css +37 -33
  139. package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
  140. package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
  141. package/dist/collection/components/grw-trek-card/grw-trek-card.js +9 -16
  142. package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
  143. package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
  144. package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
  145. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +17 -12
  146. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
  147. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
  148. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +21 -29
  149. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  150. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  151. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  152. package/dist/collection/components/grw-treks-list/grw-treks-list.css +4 -2
  153. package/dist/collection/components/grw-treks-list/grw-treks-list.css.br +0 -0
  154. package/dist/collection/components/grw-treks-list/grw-treks-list.css.gz +0 -0
  155. package/dist/collection/components/grw-treks-list/grw-treks-list.js +1 -1
  156. package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
  157. package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
  158. package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
  159. package/dist/esm/grw-app.entry.js +18 -9
  160. package/dist/esm/grw-app.entry.js.br +0 -0
  161. package/dist/esm/grw-app.entry.js.gz +0 -0
  162. package/dist/esm/grw-app.entry.js.map +1 -1
  163. package/dist/esm/grw-common-button_20.entry.js +60 -3372
  164. package/dist/esm/grw-common-button_20.entry.js.br +0 -0
  165. package/dist/esm/grw-common-button_20.entry.js.gz +0 -0
  166. package/dist/esm/grw-common-button_20.entry.js.map +1 -1
  167. package/dist/esm/grw-filter.entry.js +3 -3
  168. package/dist/esm/grw-filter.entry.js.br +0 -0
  169. package/dist/esm/grw-filter.entry.js.gz +0 -0
  170. package/dist/esm/grw-filter.entry.js.map +1 -1
  171. package/dist/esm/grw-information-desk_6.entry.js +42 -58
  172. package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
  173. package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
  174. package/dist/esm/grw-information-desk_6.entry.js.map +1 -1
  175. package/dist/esm-es5/grw-app.entry.js +1 -1
  176. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  177. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  178. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  179. package/dist/esm-es5/grw-common-button_20.entry.js +5 -3
  180. package/dist/esm-es5/grw-common-button_20.entry.js.br +0 -0
  181. package/dist/esm-es5/grw-common-button_20.entry.js.gz +0 -0
  182. package/dist/esm-es5/grw-common-button_20.entry.js.map +1 -1
  183. package/dist/esm-es5/grw-filter.entry.js +1 -1
  184. package/dist/esm-es5/grw-filter.entry.js.br +0 -0
  185. package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
  186. package/dist/esm-es5/grw-filter.entry.js.map +1 -1
  187. package/dist/esm-es5/grw-information-desk_6.entry.js +1 -1
  188. package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
  189. package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
  190. package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -1
  191. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  192. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  193. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  194. package/dist/geotrek-rando-widget/p-02bd7acc.system.entry.js +2 -0
  195. package/dist/geotrek-rando-widget/p-02bd7acc.system.entry.js.br +0 -0
  196. package/dist/geotrek-rando-widget/p-02bd7acc.system.entry.js.gz +0 -0
  197. package/dist/geotrek-rando-widget/p-02bd7acc.system.entry.js.map +1 -0
  198. package/dist/geotrek-rando-widget/p-067c274c.system.js +1 -1
  199. package/dist/geotrek-rando-widget/p-067c274c.system.js.br +0 -0
  200. package/dist/geotrek-rando-widget/p-067c274c.system.js.gz +0 -0
  201. package/dist/geotrek-rando-widget/p-0a30bc22.entry.js +16 -0
  202. package/dist/geotrek-rando-widget/p-0a30bc22.entry.js.br +0 -0
  203. package/dist/geotrek-rando-widget/p-0a30bc22.entry.js.gz +0 -0
  204. package/dist/geotrek-rando-widget/p-0a30bc22.entry.js.map +1 -0
  205. package/dist/geotrek-rando-widget/p-17a43c6e.system.entry.js +2 -0
  206. package/dist/geotrek-rando-widget/p-17a43c6e.system.entry.js.br +0 -0
  207. package/dist/geotrek-rando-widget/p-17a43c6e.system.entry.js.gz +0 -0
  208. package/dist/geotrek-rando-widget/p-17a43c6e.system.entry.js.map +1 -0
  209. package/dist/geotrek-rando-widget/p-338d6cf9.entry.js +2 -0
  210. package/dist/geotrek-rando-widget/p-338d6cf9.entry.js.br +0 -0
  211. package/dist/geotrek-rando-widget/p-338d6cf9.entry.js.gz +0 -0
  212. package/dist/geotrek-rando-widget/p-338d6cf9.entry.js.map +1 -0
  213. package/dist/geotrek-rando-widget/{p-3478a0e0.system.entry.js → p-350c5074.system.entry.js} +2 -2
  214. package/dist/geotrek-rando-widget/p-350c5074.system.entry.js.br +0 -0
  215. package/dist/geotrek-rando-widget/{p-3478a0e0.system.entry.js.gz → p-350c5074.system.entry.js.gz} +0 -0
  216. package/dist/geotrek-rando-widget/p-350c5074.system.entry.js.map +1 -0
  217. package/dist/geotrek-rando-widget/p-480cc02a.entry.js +2 -0
  218. package/dist/geotrek-rando-widget/p-480cc02a.entry.js.br +0 -0
  219. package/dist/geotrek-rando-widget/p-480cc02a.entry.js.gz +0 -0
  220. package/dist/geotrek-rando-widget/p-480cc02a.entry.js.map +1 -0
  221. package/dist/geotrek-rando-widget/{p-fca0c8b9.entry.js → p-488b5ac3.entry.js} +2 -2
  222. package/dist/geotrek-rando-widget/p-488b5ac3.entry.js.br +0 -0
  223. package/dist/geotrek-rando-widget/{p-fca0c8b9.entry.js.gz → p-488b5ac3.entry.js.gz} +0 -0
  224. package/dist/geotrek-rando-widget/p-488b5ac3.entry.js.map +1 -0
  225. package/dist/geotrek-rando-widget/p-b79ccc5b.system.entry.js +16 -0
  226. package/dist/geotrek-rando-widget/p-b79ccc5b.system.entry.js.br +0 -0
  227. package/dist/geotrek-rando-widget/p-b79ccc5b.system.entry.js.gz +0 -0
  228. package/dist/geotrek-rando-widget/p-b79ccc5b.system.entry.js.map +1 -0
  229. package/package.json +10 -5
  230. package/dist/geotrek-rando-widget/p-3478a0e0.system.entry.js.br +0 -0
  231. package/dist/geotrek-rando-widget/p-3478a0e0.system.entry.js.map +0 -1
  232. package/dist/geotrek-rando-widget/p-37d57a2f.entry.js +0 -2
  233. package/dist/geotrek-rando-widget/p-37d57a2f.entry.js.br +0 -0
  234. package/dist/geotrek-rando-widget/p-37d57a2f.entry.js.gz +0 -0
  235. package/dist/geotrek-rando-widget/p-37d57a2f.entry.js.map +0 -1
  236. package/dist/geotrek-rando-widget/p-44a48723.entry.js +0 -2
  237. package/dist/geotrek-rando-widget/p-44a48723.entry.js.br +0 -0
  238. package/dist/geotrek-rando-widget/p-44a48723.entry.js.gz +0 -0
  239. package/dist/geotrek-rando-widget/p-44a48723.entry.js.map +0 -1
  240. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js +0 -14
  241. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.br +0 -0
  242. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.gz +0 -0
  243. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.map +0 -1
  244. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js +0 -2
  245. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.br +0 -0
  246. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.gz +0 -0
  247. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.map +0 -1
  248. package/dist/geotrek-rando-widget/p-67932866.system.entry.js +0 -14
  249. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.br +0 -0
  250. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.gz +0 -0
  251. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.map +0 -1
  252. package/dist/geotrek-rando-widget/p-f3bb7e69.system.entry.js +0 -2
  253. package/dist/geotrek-rando-widget/p-f3bb7e69.system.entry.js.br +0 -0
  254. package/dist/geotrek-rando-widget/p-f3bb7e69.system.entry.js.gz +0 -0
  255. package/dist/geotrek-rando-widget/p-f3bb7e69.system.entry.js.map +0 -1
  256. package/dist/geotrek-rando-widget/p-fca0c8b9.entry.js.br +0 -0
  257. package/dist/geotrek-rando-widget/p-fca0c8b9.entry.js.map +0 -1
@@ -6,7 +6,7 @@ const index = require('./index-e9166f30.js');
6
6
  const i18n = require('./i18n-ffadc673.js');
7
7
  const store = require('./store-1bee207d.js');
8
8
 
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}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - var(--header-height))}.grw-content-treks{height:calc(100% - var(--header-height))}.grw-content-trek{height:100%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-treks-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-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)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{width:50%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}";
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}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-segment))}.grw-content-trek{height:100%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-treks-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-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)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{width:50%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}";
10
10
 
11
11
  const GrwApp = class {
12
12
  constructor(hostRef) {
@@ -79,6 +79,7 @@ const GrwApp = class {
79
79
  const parentTrek = store.state.parentTrekId ? store.state.parentTrekId : store.state.currentTrekSteps ? this.currentTrekId : null;
80
80
  store.state.currentTrek = null;
81
81
  this.currentTrekId = event.detail;
82
+ store.state.mode = 'treks';
82
83
  this.showTrek = true;
83
84
  this.showTrekMap = false;
84
85
  const url = new URL(window.location.toString());
@@ -91,6 +92,7 @@ const GrwApp = class {
91
92
  onParentTrekPress(event) {
92
93
  store.state.currentTrek = null;
93
94
  this.currentTrekId = event.detail;
95
+ store.state.mode = 'treks';
94
96
  this.showTrek = true;
95
97
  this.showTrekMap = false;
96
98
  const url = new URL(window.location.toString());
@@ -103,6 +105,7 @@ const GrwApp = class {
103
105
  this.currentTrekId = null;
104
106
  this.showTrek = false;
105
107
  this.currentTouristicContentId = event.detail;
108
+ store.state.mode = 'touristicContents';
106
109
  this.showTouristicContent = true;
107
110
  this.showTouristicContentMap = false;
108
111
  const url = new URL(window.location.toString());
@@ -115,6 +118,7 @@ const GrwApp = class {
115
118
  this.currentTrekId = null;
116
119
  this.showTrek = false;
117
120
  this.currentTouristicEventId = event.detail;
121
+ store.state.mode = 'touristicEvents';
118
122
  this.showTouristicEvent = true;
119
123
  this.showTouristicEventMap = false;
120
124
  const url = new URL(window.location.toString());
@@ -152,16 +156,19 @@ const GrwApp = class {
152
156
  window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
153
157
  store.state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;
154
158
  this.currentTrekId = Number(trekParam);
159
+ store.state.mode = 'treks';
155
160
  this.showTrek = true;
156
161
  }
157
162
  else if (touristicContentParam) {
158
163
  window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
159
164
  this.currentTouristicContentId = Number(touristicContentParam);
165
+ store.state.mode = 'touristicContents';
160
166
  this.showTouristicContent = true;
161
167
  }
162
168
  else if (touristicEventParam) {
163
169
  window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
164
170
  this.currentTouristicEventId = Number(touristicEventParam);
171
+ store.state.mode = 'touristicEvents';
165
172
  this.showTouristicEvent = true;
166
173
  }
167
174
  }
@@ -226,6 +233,7 @@ const GrwApp = class {
226
233
  store.state.currentTouristicEvent = null;
227
234
  store.state.currentTrek = null;
228
235
  this.currentTrekId = trekParam;
236
+ store.state.mode = 'treks';
229
237
  this.showTrek = true;
230
238
  }
231
239
  else if (!trekParam && !touristicContentParam && !touristicEventParam) {
@@ -309,13 +317,14 @@ const GrwApp = class {
309
317
  '--app-width': this.appWidth,
310
318
  '--app-height': this.appHeight,
311
319
  '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',
320
+ '--header-with-segment': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '16px' : '0px',
312
321
  '--border-radius': this.rounded ? '' : '0px',
313
322
  } }, !store.state.currentTreks &&
314
323
  !store.state.currentTrek &&
315
324
  !store.state.currentTouristicContent &&
316
325
  !store.state.currentTouristicEvent &&
317
326
  !store.state.currentTouristicContents &&
318
- !store.state.currentTouristicEvents && (index.h("div", { class: "grw-init-loader-container" }, index.h("grw-loader", { "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer }))), this.treks && store.state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !store.state.currentTreks && (index.h("grw-treks-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals, routes: this.routes, practices: this.practices })), this.showTrek && this.currentTrekId && !store.state.currentTrek && (index.h("grw-trek-provider", { api: this.api, languages: this.languages, "trek-id": this.currentTrekId, portals: this.portals })), this.showTouristicContent && this.currentTouristicContentId && (index.h("grw-touristic-content-provider", { api: this.api, languages: this.languages, "touristic-content-id": this.currentTouristicContentId, portals: this.portals })), this.showTouristicEvent && this.currentTouristicEventId && (index.h("grw-touristic-event-provider", { api: this.api, languages: this.languages, "touristic-event-id": this.currentTouristicEventId, portals: this.portals })), this.touristicContents && store.state.mode === 'touristicContents' && !store.state.currentTouristicContents && !this.showTouristicContent && (index.h("grw-touristic-contents-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), this.touristicEvents && store.state.mode === 'touristicEvents' && !store.state.currentTouristicEvents && !this.showTouristicEvent && (index.h("grw-touristic-events-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), (store.state.currentTreks ||
327
+ !store.state.currentTouristicEvents && (index.h("div", { class: "grw-init-loader-container" }, index.h("grw-loader", { exportparts: "loader", "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer }))), this.treks && store.state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !store.state.currentTreks && (index.h("grw-treks-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals, routes: this.routes, practices: this.practices })), this.showTrek && this.currentTrekId && !store.state.currentTrek && (index.h("grw-trek-provider", { api: this.api, languages: this.languages, "trek-id": this.currentTrekId, portals: this.portals })), this.showTouristicContent && this.currentTouristicContentId && (index.h("grw-touristic-content-provider", { api: this.api, languages: this.languages, "touristic-content-id": this.currentTouristicContentId, portals: this.portals })), this.showTouristicEvent && this.currentTouristicEventId && (index.h("grw-touristic-event-provider", { api: this.api, languages: this.languages, "touristic-event-id": this.currentTouristicEventId, portals: this.portals })), this.touristicContents && store.state.mode === 'touristicContents' && !store.state.currentTouristicContents && !this.showTouristicContent && (index.h("grw-touristic-contents-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), this.touristicEvents && store.state.mode === 'touristicEvents' && !store.state.currentTouristicEvents && !this.showTouristicEvent && (index.h("grw-touristic-events-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), (store.state.currentTreks ||
319
328
  store.state.currentTrek ||
320
329
  store.state.touristicContents ||
321
330
  store.state.touristicEvents ||
@@ -324,21 +333,21 @@ const GrwApp = class {
324
333
  store.state.networkError) && (index.h("div", { class: "grw-app-container" }, store.state.languages && store.state.languages.length > 1 && (index.h("div", { class: "grw-languages-container" }, index.h("grw-select-language", null))), index.h("div", { class: `${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' grw-header-detail' : ''}` }, Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 &&
325
334
  !this.showTrek &&
326
335
  !this.showTouristicContent &&
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: "grw-handle-search-filters-container" }, index.h("div", { class: "grw-handle-search-container" }, index.h("grw-search", { fontFamily: this.fontFamily })), index.h("div", { class: "hgrw-andle-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: "grw-arrow-back-container" }, index.h("button", { onClick: () => this.handleBackButton(), class: "grw-arrow-back-icon" }, index.h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), index.h("div", { class: `grw-content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'grw-content-trek' : 'grw-content-treks'}` }, store.state.networkError && (index.h("div", { class: "grw-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 ? 'grw-large-view-app-treks-list-container' : 'grw-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) ||
336
+ !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: "grw-handle-search-filters-container" }, index.h("div", { class: "grw-handle-search-container" }, index.h("grw-search", { fontFamily: this.fontFamily })), index.h("div", { class: "grw-handle-filters-container" }, index.h("grw-common-button", { exportparts: "common-button,common-button-icon,common-button-label", fontFamily: this.fontFamily, action: () => this.handleFilters(), icon: 'filter_list', name: i18n.translate[store.state.language].filter })))) : (index.h("div", { class: "grw-arrow-back-container" }, index.h("button", { onClick: () => this.handleBackButton(), class: "grw-arrow-back-icon" }, index.h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), index.h("div", { class: `grw-content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'grw-content-trek' : 'grw-content-treks'}` }, store.state.networkError && (index.h("div", { class: "grw-error-container" }, "Une erreur est survenue.", index.h("grw-common-button", { exportparts: "common-button,common-button-icon,common-button-label", icon: "refresh", name: "Recharger la page", action: () => this.reload() }))), index.h("div", { class: this.isLargeView ? 'grw-large-view-app-treks-list-container' : 'grw-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", { "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", { "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", { "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) ||
328
337
  (this.showTouristicContent && !store.state.currentTouristicContent) ||
329
338
  (this.showTouristicEvent && !store.state.currentTouristicEvent) ||
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 ? 'grw-large-view-loader-container' : 'grw-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 ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container' }, index.h("grw-trek-detail", { style: {
339
+ (!store.state.treks && store.state.mode === 'treks' && !this.showTrek) ||
340
+ (!store.state.touristicContents && store.state.mode === 'touristicContents' && !this.showTouristicContent) ||
341
+ (!store.state.touristicEvents && store.state.mode === 'touristicEvents' && !this.showTouristicEvent)) && (index.h("div", { class: this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container' }, index.h("grw-loader", { exportparts: "loader", "color-primary-container": this.colorSecondaryContainer, "color-on-primary-container": this.colorOnSecondaryContainer }))), this.showTrek && (index.h("div", { class: this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container' }, index.h("grw-trek-detail", { style: {
333
342
  visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',
334
343
  zIndex: !this.showTrekMap ? '1' : '0',
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 ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container' }, index.h("grw-touristic-content-detail", { style: {
344
+ }, 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 ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container' }, index.h("grw-touristic-content-detail", { style: {
336
345
  visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',
337
346
  zIndex: !this.showTouristicContentMap ? '1' : '0',
338
347
  }, 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 ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container' }, index.h("grw-touristic-event-detail", { style: {
339
348
  visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',
340
349
  zIndex: !this.showTouristicEventMap ? '1' : '0',
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 ? 'grw-large-view-app-map-container' : 'grw-app-map-container', style: {
350
+ }, 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", { exportparts: "map,elevation,map-bottom-space,map-loader-container,loader", class: this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container', style: {
342
351
  visibility: (this.showHomeMap && !this.showTrek) ||
343
352
  (this.showTrekMap && this.showTrek) ||
344
353
  (this.showTouristicContentMap && this.showTouristicContent) ||
@@ -350,7 +359,7 @@ const GrwApp = class {
350
359
  }, center: this.center, zoom: this.zoom, "name-layer": this.nameLayer, "url-layer": this.urlLayer, "attribution-layer": this.attributionLayer, 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-background": this.colorBackground, "color-trek-line": this.colorTrekLine, "color-sensitive-area": this.colorSensitiveArea, "color-poi-icon": this.colorPoiIcon, "is-large-view": this.isLargeView, "use-gradient": this.useGradient }))), ((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||
351
360
  (this.showTrek && store.state.currentTrek) ||
352
361
  (this.showTouristicContent && store.state.currentTouristicContent) ||
353
- (this.showTouristicEvent && store.state.currentTouristicEvent)) && (index.h("div", { class: "grw-map-visibility-button-container" }, index.h("grw-extended-fab", { fontFamily: this.fontFamily, action: () => this.handleShowMap(), icon: () => this.getMapVisibilityIconButton(), name: () => this.getMapVisibilityLabelButton(), display: this.isLargeView ? 'none' : 'flex' }))))), !this.showTrek && this.showFilters && index.h("grw-filters", { fontFamily: this.fontFamily, handleFilters: () => this.handleFilters() })));
362
+ (this.showTouristicEvent && store.state.currentTouristicEvent)) && (index.h("div", { class: "grw-map-visibility-button-container" }, index.h("grw-extended-fab", { exportparts: "map-visibility-button,map-visibility-button-icon,map-visibility-button-label", fontFamily: this.fontFamily, action: () => this.handleShowMap(), icon: () => this.getMapVisibilityIconButton(), name: () => this.getMapVisibilityLabelButton(), display: this.isLargeView ? 'none' : 'flex' }))))), !this.showTrek && this.showFilters && index.h("grw-filters", { fontFamily: this.fontFamily, handleFilters: () => this.handleFilters() })));
354
363
  }
355
364
  get appElement() { return index.getElement(this); }
356
365
  static get watchers() { return {
Binary file
Binary file
@@ -1 +1 @@
1
- {"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,SAAS,GAAG,mtHAAmtH;;MCSxtH,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,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AAI,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.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: var(--header-height);\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-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.grw-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 .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-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.grw-content-container {\n position: relative;\n display: flex;\n height: calc(100% - var(--header-height));\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height));\n}\n\n.grw-content-trek {\n height: 100%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-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.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-treks-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-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.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n width: 50%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-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=\"grw-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=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' grw-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=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search fontFamily={this.fontFamily}></grw-search>\n </div>\n <div class=\"hgrw-andle-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=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-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={`grw-content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'grw-content-trek' : 'grw-content-treks'}`}>\n {state.networkError && (\n <div class=\"grw-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 ? 'grw-large-view-app-treks-list-container' : 'grw-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 ? 'grw-large-view-loader-container' : 'grw-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 ? 'grw-large-view-app-trek-detail-container' : 'grw-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 ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-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 ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-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 ? 'grw-large-view-app-map-container' : 'grw-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=\"grw-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,usHAAusH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;OAC3D,IAAI,CAAC,kBAAkB,IAAIA,WAAK,CAAC,qBAAqB,CAAC,MACxDG,iBAAK,KAAK,EAAC,qCAAqC,IAC9CA,8BACE,WAAW,EAAC,8EAA8E,EAC1F,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.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: var(--header-height);\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-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.grw-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 .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-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.grw-content-container {\n position: relative;\n display: flex;\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height) - var(--header-with-segment));\n}\n\n.grw-content-trek {\n height: 100%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-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.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-treks-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-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.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n width: 50%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-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 state.mode = 'treks';\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 state.mode = 'treks';\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 state.mode = 'touristicContents';\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 ``;\n state.mode = 'touristicEvents';\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 state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\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 state.mode = 'treks';\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 '--header-with-segment': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '16px' : '0px',\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=\"grw-init-loader-container\">\n <grw-loader exportparts=\"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=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' grw-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=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search fontFamily={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\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=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-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={`grw-content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'grw-content-trek' : 'grw-content-treks'}`}>\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n <div\n class={this.isLargeView ? 'grw-large-view-app-treks-list-container' : 'grw-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 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 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 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' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"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 ? 'grw-large-view-app-trek-detail-container' : 'grw-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 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 ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-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 ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-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 exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-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=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\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}