@geotrekce/geotrek-rando-widget 0.3.3 → 0.3.5

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 (330) hide show
  1. package/dist/cjs/geotrek-rando-widget.cjs.js +1 -1
  2. package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
  3. package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
  4. package/dist/cjs/grw-app.cjs.entry.js +23 -4
  5. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  6. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  7. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  8. package/dist/cjs/grw-filter_7.cjs.entry.js +306 -31
  9. package/dist/cjs/grw-filter_7.cjs.entry.js.br +0 -0
  10. package/dist/cjs/grw-filter_7.cjs.entry.js.gz +0 -0
  11. package/dist/cjs/grw-filter_7.cjs.entry.js.map +1 -1
  12. package/dist/cjs/grw-information-desk_5.cjs.entry.js +227 -0
  13. package/dist/cjs/grw-information-desk_5.cjs.entry.js.br +0 -0
  14. package/dist/cjs/grw-information-desk_5.cjs.entry.js.gz +0 -0
  15. package/dist/cjs/grw-information-desk_5.cjs.entry.js.map +1 -0
  16. package/dist/cjs/grw-select-language.cjs.entry.js +1 -1
  17. package/dist/cjs/grw-select-language.cjs.entry.js.br +0 -0
  18. package/dist/cjs/grw-select-language.cjs.entry.js.gz +0 -0
  19. package/dist/cjs/{i18n-cb39db65.js → i18n-691abc83.js} +11 -1
  20. package/dist/cjs/i18n-691abc83.js.br +0 -0
  21. package/dist/cjs/i18n-691abc83.js.gz +0 -0
  22. package/dist/cjs/i18n-691abc83.js.map +1 -0
  23. package/dist/cjs/loader.cjs.js +1 -1
  24. package/dist/cjs/loader.cjs.js.br +0 -0
  25. package/dist/cjs/loader.cjs.js.gz +0 -0
  26. package/dist/cjs/{store-f3f3d4e3.js → store-a36efc0f.js} +6 -1
  27. package/dist/cjs/store-a36efc0f.js.br +0 -0
  28. package/dist/cjs/store-a36efc0f.js.gz +0 -0
  29. package/dist/cjs/store-a36efc0f.js.map +1 -0
  30. package/dist/cjs/{utils-691c0e59.js → utils-151d3b05.js} +2 -2
  31. package/dist/cjs/utils-151d3b05.js.br +0 -0
  32. package/dist/cjs/utils-151d3b05.js.gz +0 -0
  33. package/dist/cjs/{utils-691c0e59.js.map → utils-151d3b05.js.map} +1 -1
  34. package/dist/collection/collection-manifest.json +3 -2
  35. package/dist/collection/components/grw-app/grw-app.css +6 -2
  36. package/dist/collection/components/grw-app/grw-app.css.br +0 -0
  37. package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
  38. package/dist/collection/components/grw-app/grw-app.js +25 -0
  39. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  40. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  41. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  42. package/dist/collection/components/{grw-information-desk-detail/grw-information-desk-detail.js → grw-information-desk/grw-information-desk.js} +4 -4
  43. package/dist/collection/components/grw-information-desk/grw-information-desk.js.br +0 -0
  44. package/dist/collection/components/grw-information-desk/grw-information-desk.js.gz +0 -0
  45. package/dist/collection/components/grw-information-desk/grw-information-desk.js.map +1 -0
  46. package/dist/collection/components/grw-map/grw-map.css +64 -10
  47. package/dist/collection/components/grw-map/grw-map.css.br +0 -0
  48. package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
  49. package/dist/collection/components/grw-map/grw-map.js +232 -8
  50. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  51. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  52. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  53. package/dist/collection/components/grw-poi-detail/{grw-poi-detail.js → grw-poi.js} +4 -4
  54. package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
  55. package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
  56. package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -0
  57. package/dist/collection/components/grw-search/grw-search.css +1 -0
  58. package/dist/collection/components/grw-search/grw-search.css.br +0 -0
  59. package/dist/collection/components/grw-search/grw-search.css.gz +0 -0
  60. package/dist/collection/components/grw-touristic-content/grw-touristic-content.css +601 -0
  61. package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.br +0 -0
  62. package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.gz +0 -0
  63. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js +84 -0
  64. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.br +0 -0
  65. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.gz +0 -0
  66. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.map +1 -0
  67. package/dist/collection/components/grw-trek-card/grw-trek-card.css +3 -2
  68. package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
  69. package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
  70. package/dist/collection/components/grw-trek-card/grw-trek-card.js +6 -6
  71. package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
  72. package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
  73. package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
  74. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +103 -5
  75. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
  76. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
  77. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +102 -11
  78. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  79. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  80. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  81. package/dist/collection/i18n/i18n.js +10 -0
  82. package/dist/collection/i18n/i18n.js.br +0 -0
  83. package/dist/collection/i18n/i18n.js.gz +0 -0
  84. package/dist/collection/i18n/i18n.js.map +1 -1
  85. package/dist/collection/store/grw-trek-provider.js +24 -9
  86. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  87. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  88. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  89. package/dist/collection/store/store.js +5 -0
  90. package/dist/collection/store/store.js.br +0 -0
  91. package/dist/collection/store/store.js.gz +0 -0
  92. package/dist/collection/store/store.js.map +1 -1
  93. package/dist/collection/types/types.js.map +1 -1
  94. package/dist/esm/geotrek-rando-widget.js +1 -1
  95. package/dist/esm/geotrek-rando-widget.js.br +0 -0
  96. package/dist/esm/geotrek-rando-widget.js.gz +0 -0
  97. package/dist/esm/grw-app.entry.js +23 -4
  98. package/dist/esm/grw-app.entry.js.br +0 -0
  99. package/dist/esm/grw-app.entry.js.gz +0 -0
  100. package/dist/esm/grw-app.entry.js.map +1 -1
  101. package/dist/esm/grw-filter_7.entry.js +306 -31
  102. package/dist/esm/grw-filter_7.entry.js.br +0 -0
  103. package/dist/esm/grw-filter_7.entry.js.gz +0 -0
  104. package/dist/esm/grw-filter_7.entry.js.map +1 -1
  105. package/dist/esm/grw-information-desk_5.entry.js +219 -0
  106. package/dist/esm/grw-information-desk_5.entry.js.br +0 -0
  107. package/dist/esm/grw-information-desk_5.entry.js.gz +0 -0
  108. package/dist/esm/grw-information-desk_5.entry.js.map +1 -0
  109. package/dist/esm/grw-select-language.entry.js +1 -1
  110. package/dist/esm/grw-select-language.entry.js.br +0 -0
  111. package/dist/esm/grw-select-language.entry.js.gz +0 -0
  112. package/dist/esm/{i18n-a9d6ba05.js → i18n-16a29f6f.js} +11 -1
  113. package/dist/esm/i18n-16a29f6f.js.br +0 -0
  114. package/dist/esm/i18n-16a29f6f.js.gz +0 -0
  115. package/dist/esm/i18n-16a29f6f.js.map +1 -0
  116. package/dist/esm/loader.js +1 -1
  117. package/dist/esm/loader.js.br +0 -0
  118. package/dist/esm/loader.js.gz +0 -0
  119. package/dist/esm/{store-8f6de05a.js → store-6101ed72.js} +6 -1
  120. package/dist/esm/store-6101ed72.js.br +0 -0
  121. package/dist/esm/store-6101ed72.js.gz +0 -0
  122. package/dist/esm/store-6101ed72.js.map +1 -0
  123. package/dist/esm/{utils-be103adf.js → utils-83029b76.js} +2 -2
  124. package/dist/esm/utils-83029b76.js.br +0 -0
  125. package/dist/esm/utils-83029b76.js.gz +0 -0
  126. package/dist/esm/{utils-be103adf.js.map → utils-83029b76.js.map} +1 -1
  127. package/dist/esm-es5/geotrek-rando-widget.js +1 -1
  128. package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
  129. package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
  130. package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
  131. package/dist/esm-es5/grw-app.entry.js +1 -1
  132. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  133. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  134. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  135. package/dist/esm-es5/grw-filter_7.entry.js +3 -3
  136. package/dist/esm-es5/grw-filter_7.entry.js.br +0 -0
  137. package/dist/esm-es5/grw-filter_7.entry.js.gz +0 -0
  138. package/dist/esm-es5/grw-filter_7.entry.js.map +1 -1
  139. package/dist/esm-es5/grw-information-desk_5.entry.js +2 -0
  140. package/dist/esm-es5/grw-information-desk_5.entry.js.br +0 -0
  141. package/dist/esm-es5/grw-information-desk_5.entry.js.gz +0 -0
  142. package/dist/esm-es5/grw-information-desk_5.entry.js.map +1 -0
  143. package/dist/esm-es5/grw-select-language.entry.js +1 -1
  144. package/dist/esm-es5/grw-select-language.entry.js.br +0 -0
  145. package/dist/esm-es5/grw-select-language.entry.js.gz +0 -0
  146. package/dist/esm-es5/i18n-16a29f6f.js +2 -0
  147. package/dist/esm-es5/i18n-16a29f6f.js.br +0 -0
  148. package/dist/esm-es5/i18n-16a29f6f.js.gz +0 -0
  149. package/dist/esm-es5/i18n-16a29f6f.js.map +1 -0
  150. package/dist/esm-es5/loader.js +1 -1
  151. package/dist/esm-es5/loader.js.br +0 -0
  152. package/dist/esm-es5/loader.js.gz +0 -0
  153. package/dist/esm-es5/loader.js.map +1 -1
  154. package/dist/esm-es5/{store-8f6de05a.js → store-6101ed72.js} +2 -2
  155. package/dist/esm-es5/store-6101ed72.js.br +0 -0
  156. package/dist/esm-es5/store-6101ed72.js.gz +0 -0
  157. package/dist/esm-es5/store-6101ed72.js.map +1 -0
  158. package/dist/esm-es5/{utils-be103adf.js → utils-83029b76.js} +2 -2
  159. package/dist/esm-es5/utils-83029b76.js.br +0 -0
  160. package/dist/esm-es5/utils-83029b76.js.gz +0 -0
  161. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  162. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  163. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  164. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
  165. package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js +2 -0
  166. package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.br +0 -0
  167. package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.gz +0 -0
  168. package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.map +1 -0
  169. package/dist/geotrek-rando-widget/{p-bba5af15.system.entry.js → p-1266b9a7.system.entry.js} +2 -2
  170. package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.br +0 -0
  171. package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.gz +0 -0
  172. package/dist/geotrek-rando-widget/p-148f5f1d.system.js +1 -1
  173. package/dist/geotrek-rando-widget/p-148f5f1d.system.js.br +0 -0
  174. package/dist/geotrek-rando-widget/p-148f5f1d.system.js.gz +0 -0
  175. package/dist/geotrek-rando-widget/p-148f5f1d.system.js.map +1 -1
  176. package/dist/geotrek-rando-widget/p-291b7192.system.js +2 -0
  177. package/dist/geotrek-rando-widget/p-291b7192.system.js.br +0 -0
  178. package/dist/geotrek-rando-widget/p-291b7192.system.js.gz +0 -0
  179. package/dist/geotrek-rando-widget/p-291b7192.system.js.map +1 -0
  180. package/dist/geotrek-rando-widget/p-370f741f.entry.js +2 -0
  181. package/dist/geotrek-rando-widget/p-370f741f.entry.js.br +0 -0
  182. package/dist/geotrek-rando-widget/p-370f741f.entry.js.gz +0 -0
  183. package/dist/geotrek-rando-widget/p-370f741f.entry.js.map +1 -0
  184. package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js +2 -0
  185. package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.br +0 -0
  186. package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.gz +0 -0
  187. package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.map +1 -0
  188. package/dist/geotrek-rando-widget/{p-3c8ed548.js → p-5a6577cd.js} +2 -2
  189. package/dist/geotrek-rando-widget/p-5a6577cd.js.br +0 -0
  190. package/dist/geotrek-rando-widget/p-5a6577cd.js.gz +0 -0
  191. package/dist/geotrek-rando-widget/p-5a6577cd.js.map +1 -0
  192. package/dist/geotrek-rando-widget/{p-b7b00edf.system.entry.js → p-6d738828.system.entry.js} +4 -4
  193. package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.br +0 -0
  194. package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.gz +0 -0
  195. package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.map +1 -0
  196. package/dist/geotrek-rando-widget/p-6fe69455.entry.js +2 -0
  197. package/dist/geotrek-rando-widget/p-6fe69455.entry.js.br +0 -0
  198. package/dist/geotrek-rando-widget/p-6fe69455.entry.js.gz +0 -0
  199. package/dist/geotrek-rando-widget/p-6fe69455.entry.js.map +1 -0
  200. package/dist/geotrek-rando-widget/{p-78595a7d.entry.js → p-703802d9.entry.js} +2 -2
  201. package/dist/geotrek-rando-widget/p-703802d9.entry.js.br +0 -0
  202. package/dist/geotrek-rando-widget/p-703802d9.entry.js.gz +0 -0
  203. package/dist/geotrek-rando-widget/{p-f0811cf9.entry.js → p-bacd6952.entry.js} +4 -4
  204. package/dist/geotrek-rando-widget/p-bacd6952.entry.js.br +0 -0
  205. package/dist/geotrek-rando-widget/p-bacd6952.entry.js.gz +0 -0
  206. package/dist/geotrek-rando-widget/p-bacd6952.entry.js.map +1 -0
  207. package/dist/geotrek-rando-widget/{p-e0651ca9.js → p-d0083a9b.js} +2 -2
  208. package/dist/geotrek-rando-widget/p-d0083a9b.js.br +0 -0
  209. package/dist/geotrek-rando-widget/p-d0083a9b.js.gz +0 -0
  210. package/dist/geotrek-rando-widget/p-e653caed.js +2 -0
  211. package/dist/geotrek-rando-widget/p-e653caed.js.br +0 -0
  212. package/dist/geotrek-rando-widget/p-e653caed.js.gz +0 -0
  213. package/dist/geotrek-rando-widget/p-e653caed.js.map +1 -0
  214. package/dist/geotrek-rando-widget/{p-c45eb7b7.system.js → p-fe1917d3.system.js} +2 -2
  215. package/dist/geotrek-rando-widget/p-fe1917d3.system.js.br +0 -0
  216. package/dist/geotrek-rando-widget/p-fe1917d3.system.js.gz +0 -0
  217. package/dist/geotrek-rando-widget/p-fe1917d3.system.js.map +1 -0
  218. package/dist/geotrek-rando-widget/{p-8956507a.system.js → p-ff9cac04.system.js} +2 -2
  219. package/dist/geotrek-rando-widget/p-ff9cac04.system.js.br +0 -0
  220. package/dist/geotrek-rando-widget/p-ff9cac04.system.js.gz +0 -0
  221. package/dist/types/components/grw-app/grw-app.d.ts +1 -0
  222. package/dist/types/components/grw-map/grw-map.d.ts +9 -2
  223. package/dist/types/components/grw-touristic-content/grw-touristic-content.d.ts +14 -0
  224. package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +18 -1
  225. package/dist/types/components.d.ts +42 -24
  226. package/dist/types/i18n/i18n.d.ts +5 -0
  227. package/dist/types/store/store.d.ts +11 -1
  228. package/dist/types/types/types.d.ts +17 -0
  229. package/package.json +3 -2
  230. package/readme.md +14 -6
  231. package/dist/cjs/grw-information-desk-detail_4.cjs.entry.js +0 -182
  232. package/dist/cjs/grw-information-desk-detail_4.cjs.entry.js.br +0 -0
  233. package/dist/cjs/grw-information-desk-detail_4.cjs.entry.js.gz +0 -0
  234. package/dist/cjs/grw-information-desk-detail_4.cjs.entry.js.map +0 -1
  235. package/dist/cjs/i18n-cb39db65.js.br +0 -0
  236. package/dist/cjs/i18n-cb39db65.js.gz +0 -0
  237. package/dist/cjs/i18n-cb39db65.js.map +0 -1
  238. package/dist/cjs/store-f3f3d4e3.js.br +0 -0
  239. package/dist/cjs/store-f3f3d4e3.js.gz +0 -0
  240. package/dist/cjs/store-f3f3d4e3.js.map +0 -1
  241. package/dist/cjs/utils-691c0e59.js.br +0 -0
  242. package/dist/cjs/utils-691c0e59.js.gz +0 -0
  243. package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.br +0 -0
  244. package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.gz +0 -0
  245. package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.map +0 -1
  246. package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.br +0 -0
  247. package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.gz +0 -0
  248. package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.map +0 -1
  249. package/dist/esm/grw-information-desk-detail_4.entry.js +0 -175
  250. package/dist/esm/grw-information-desk-detail_4.entry.js.br +0 -0
  251. package/dist/esm/grw-information-desk-detail_4.entry.js.gz +0 -0
  252. package/dist/esm/grw-information-desk-detail_4.entry.js.map +0 -1
  253. package/dist/esm/i18n-a9d6ba05.js.br +0 -0
  254. package/dist/esm/i18n-a9d6ba05.js.gz +0 -0
  255. package/dist/esm/i18n-a9d6ba05.js.map +0 -1
  256. package/dist/esm/store-8f6de05a.js.br +0 -0
  257. package/dist/esm/store-8f6de05a.js.gz +0 -0
  258. package/dist/esm/store-8f6de05a.js.map +0 -1
  259. package/dist/esm/utils-be103adf.js.br +0 -0
  260. package/dist/esm/utils-be103adf.js.gz +0 -0
  261. package/dist/esm-es5/grw-information-desk-detail_4.entry.js +0 -2
  262. package/dist/esm-es5/grw-information-desk-detail_4.entry.js.br +0 -0
  263. package/dist/esm-es5/grw-information-desk-detail_4.entry.js.gz +0 -0
  264. package/dist/esm-es5/grw-information-desk-detail_4.entry.js.map +0 -1
  265. package/dist/esm-es5/i18n-a9d6ba05.js +0 -2
  266. package/dist/esm-es5/i18n-a9d6ba05.js.br +0 -0
  267. package/dist/esm-es5/i18n-a9d6ba05.js.gz +0 -0
  268. package/dist/esm-es5/i18n-a9d6ba05.js.map +0 -1
  269. package/dist/esm-es5/store-8f6de05a.js.br +0 -0
  270. package/dist/esm-es5/store-8f6de05a.js.gz +0 -0
  271. package/dist/esm-es5/store-8f6de05a.js.map +0 -1
  272. package/dist/esm-es5/utils-be103adf.js.br +0 -0
  273. package/dist/esm-es5/utils-be103adf.js.gz +0 -0
  274. package/dist/geotrek-rando-widget/p-29f817ac.entry.js +0 -2
  275. package/dist/geotrek-rando-widget/p-29f817ac.entry.js.br +0 -0
  276. package/dist/geotrek-rando-widget/p-29f817ac.entry.js.gz +0 -0
  277. package/dist/geotrek-rando-widget/p-29f817ac.entry.js.map +0 -1
  278. package/dist/geotrek-rando-widget/p-33b7a4a8.system.entry.js +0 -2
  279. package/dist/geotrek-rando-widget/p-33b7a4a8.system.entry.js.br +0 -0
  280. package/dist/geotrek-rando-widget/p-33b7a4a8.system.entry.js.gz +0 -0
  281. package/dist/geotrek-rando-widget/p-33b7a4a8.system.entry.js.map +0 -1
  282. package/dist/geotrek-rando-widget/p-3c8ed548.js.br +0 -0
  283. package/dist/geotrek-rando-widget/p-3c8ed548.js.gz +0 -0
  284. package/dist/geotrek-rando-widget/p-3c8ed548.js.map +0 -1
  285. package/dist/geotrek-rando-widget/p-5d5f6ab5.js +0 -2
  286. package/dist/geotrek-rando-widget/p-5d5f6ab5.js.br +0 -0
  287. package/dist/geotrek-rando-widget/p-5d5f6ab5.js.gz +0 -0
  288. package/dist/geotrek-rando-widget/p-5d5f6ab5.js.map +0 -1
  289. package/dist/geotrek-rando-widget/p-78595a7d.entry.js.br +0 -0
  290. package/dist/geotrek-rando-widget/p-78595a7d.entry.js.gz +0 -0
  291. package/dist/geotrek-rando-widget/p-8956507a.system.js.br +0 -0
  292. package/dist/geotrek-rando-widget/p-8956507a.system.js.gz +0 -0
  293. package/dist/geotrek-rando-widget/p-93f67955.system.js +0 -2
  294. package/dist/geotrek-rando-widget/p-93f67955.system.js.br +0 -0
  295. package/dist/geotrek-rando-widget/p-93f67955.system.js.gz +0 -0
  296. package/dist/geotrek-rando-widget/p-93f67955.system.js.map +0 -1
  297. package/dist/geotrek-rando-widget/p-b7b00edf.system.entry.js.br +0 -0
  298. package/dist/geotrek-rando-widget/p-b7b00edf.system.entry.js.gz +0 -0
  299. package/dist/geotrek-rando-widget/p-b7b00edf.system.entry.js.map +0 -1
  300. package/dist/geotrek-rando-widget/p-ba390498.system.entry.js +0 -2
  301. package/dist/geotrek-rando-widget/p-ba390498.system.entry.js.br +0 -0
  302. package/dist/geotrek-rando-widget/p-ba390498.system.entry.js.gz +0 -0
  303. package/dist/geotrek-rando-widget/p-ba390498.system.entry.js.map +0 -1
  304. package/dist/geotrek-rando-widget/p-bba5af15.system.entry.js.br +0 -0
  305. package/dist/geotrek-rando-widget/p-bba5af15.system.entry.js.gz +0 -0
  306. package/dist/geotrek-rando-widget/p-c45eb7b7.system.js.br +0 -0
  307. package/dist/geotrek-rando-widget/p-c45eb7b7.system.js.gz +0 -0
  308. package/dist/geotrek-rando-widget/p-c45eb7b7.system.js.map +0 -1
  309. package/dist/geotrek-rando-widget/p-e04da9f0.entry.js +0 -2
  310. package/dist/geotrek-rando-widget/p-e04da9f0.entry.js.br +0 -0
  311. package/dist/geotrek-rando-widget/p-e04da9f0.entry.js.gz +0 -0
  312. package/dist/geotrek-rando-widget/p-e04da9f0.entry.js.map +0 -1
  313. package/dist/geotrek-rando-widget/p-e0651ca9.js.br +0 -0
  314. package/dist/geotrek-rando-widget/p-e0651ca9.js.gz +0 -0
  315. package/dist/geotrek-rando-widget/p-f0811cf9.entry.js.br +0 -0
  316. package/dist/geotrek-rando-widget/p-f0811cf9.entry.js.gz +0 -0
  317. package/dist/geotrek-rando-widget/p-f0811cf9.entry.js.map +0 -1
  318. /package/dist/collection/components/{grw-information-desk-detail/grw-information-desk-detail.css → grw-information-desk/grw-information-desk.css} +0 -0
  319. /package/dist/collection/components/{grw-information-desk-detail/grw-information-desk-detail.css.br → grw-information-desk/grw-information-desk.css.br} +0 -0
  320. /package/dist/collection/components/{grw-information-desk-detail/grw-information-desk-detail.css.gz → grw-information-desk/grw-information-desk.css.gz} +0 -0
  321. /package/dist/collection/components/grw-poi-detail/{grw-poi-detail.css → grw-poi.css} +0 -0
  322. /package/dist/collection/components/grw-poi-detail/{grw-poi-detail.css.br → grw-poi.css.br} +0 -0
  323. /package/dist/collection/components/grw-poi-detail/{grw-poi-detail.css.gz → grw-poi.css.gz} +0 -0
  324. /package/dist/esm-es5/{utils-be103adf.js.map → utils-83029b76.js.map} +0 -0
  325. /package/dist/geotrek-rando-widget/{p-bba5af15.system.entry.js.map → p-1266b9a7.system.entry.js.map} +0 -0
  326. /package/dist/geotrek-rando-widget/{p-78595a7d.entry.js.map → p-703802d9.entry.js.map} +0 -0
  327. /package/dist/geotrek-rando-widget/{p-e0651ca9.js.map → p-d0083a9b.js.map} +0 -0
  328. /package/dist/geotrek-rando-widget/{p-8956507a.system.js.map → p-ff9cac04.system.js.map} +0 -0
  329. /package/dist/types/components/{grw-information-desk-detail/grw-information-desk-detail.d.ts → grw-information-desk/grw-information-desk.d.ts} +0 -0
  330. /package/dist/types/components/grw-poi-detail/{grw-poi-detail.d.ts → grw-poi.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","getDynamicImportFunction","namespace","replace","patchBrowser","plt","$cssShim$","win","__cssshim","scriptElm","Array","from","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","opts","history","scrollRestoration","then","resourcesUrl","URL","location","href","patchDynamicImport","customElements","__sc_import_geotrek_rando_widget","promiseResolve","base","orgScriptElm","importFunctionName","Function","Math","random","e","moduleMap","Map","url","mod","get","script","createElement","type","crossOrigin","createObjectURL","Blob","nonce","$nonce$","setAttribute","Promise","resolve","onload","m","remove","set","appendChild","options","bootstrapLazy","appWidth","appHeight","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","center","zoom","nameLayer","urlLayer","attributionLayer","weather","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","showTrek","showTreksMap","showTrekMap","showFilters","isLargeView","selectedSegment","currentTrekId","informationDesk","displayShortDescription","poi","displayFullscreen","sensitiveArea","trek","resetStoreOnDisconnected","isStep","currentTrek","difficulty","route","practice","departureCity","labels","sources","accessibilities","accessibilityLevel","treksToDisplay","filterType","filterName","filterNameProperty","segment","mapIsReady","trekId"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.4.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"6GAaA,SAASA,EAAyBC,GAC9B,IAAIC,EAAIC,EAAIC,EACZ,OAAQA,GAAMD,GAAMD,EAAKD,EAAII,QAAU,MAAQH,SAAY,OAAS,EAAIA,EAAGI,cAAc,6BAA+B,MAAQH,SAAY,OAAS,EAAIA,EAAGI,aAAa,cAAgB,MAAQH,SAAY,EAAIA,EAAKI,SAC1N,CAEA,MA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,KAAAgD,cAAA,sHAAAP,KAAA,KAAA/B,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAC,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAF,gBAAA,uBAAAsB,yBAAA,kCAAAjC,QAAA,IAAAwB,YAAA,oBAAAW,YAAA,KAAAC,WAAA,KAAAC,MAAA,KAAAC,SAAA,KAAA/C,OAAA,KAAAiD,OAAA,KAAAC,QAAA,KAAAC,gBAAA,KAAAC,mBAAA,KAAAb,kBAAA,KAAA1C,OAAA,KAAAP,QAAA,4BAAAoB,gBAAA,wBAAAG,eAAA,uBAAAK,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAW,YAAA,oBAAAS,yBAAA,kCAAAW,eAAA,wBAAAC,WAAA,kBAAAC,WAAA,kBAAAC,mBAAA,2BAAAC,QAAA,wDAAAnD,UAAA,iBAAAC,SAAA,gBAAAC,iBAAA,wBAAAJ,OAAA,IAAAC,KAAA,IAAAK,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAG,gBAAA,uBAAAK,cAAA,sBAAAC,mBAAA,2BAAAC,aAAA,qBAAAC,YAAA,mBAAAc,yBAAA,kCAAAT,YAAA,oBAAAyB,WAAA,mdAAA/D,UAAA,IAAAD,IAAA,IAAAiE,OAAA,yCAAAhE,UAAA,IAAAD,IAAA,IAAAE,OAAA,cAAAC,OAAA,IAAAC,UAAA,IAAAC,WAAA,IAAAC,OAAA,IAAAC,QAAA,IAAAC,OAAA,IAAAC,UAAA,SAAAb"}
1
+ {"version":3,"names":["queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","getDynamicImportFunction","namespace","replace","patchBrowser","plt","$cssShim$","win","__cssshim","scriptElm","Array","from","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","opts","history","scrollRestoration","then","resourcesUrl","URL","location","href","patchDynamicImport","customElements","__sc_import_geotrek_rando_widget","promiseResolve","base","orgScriptElm","importFunctionName","Function","Math","random","e","moduleMap","Map","url","mod","get","script","createElement","type","crossOrigin","createObjectURL","Blob","nonce","$nonce$","setAttribute","Promise","resolve","onload","m","remove","set","appendChild","options","bootstrapLazy","appWidth","appHeight","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","center","zoom","nameLayer","urlLayer","attributionLayer","weather","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","showTrek","showTreksMap","showTrekMap","showFilters","isLargeView","selectedSegment","currentTrekId","informationDesk","displayShortDescription","poi","displayFullscreen","sensitiveArea","touristicContent","trek","resetStoreOnDisconnected","isStep","currentTrek","difficulty","route","practice","departureCity","labels","sources","accessibilities","accessibilityLevel","treksToDisplay","filterType","filterName","filterNameProperty","segment","mapIsReady","trekId"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.4.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"6GAaA,SAASA,EAAyBC,GAC9B,IAAIC,EAAIC,EAAIC,EACZ,OAAQA,GAAMD,GAAMD,EAAKD,EAAII,QAAU,MAAQH,SAAY,OAAS,EAAIA,EAAGI,cAAc,6BAA+B,MAAQH,SAAY,OAAS,EAAIA,EAAGI,aAAa,cAAgB,MAAQH,SAAY,EAAIA,EAAKI,SAC1N,CAEA,MAAMC,EAA4BC,GAAc,eAAeA,EAAUC,QAAQ,QAAS,OAC1F,MAAMC,EAAe,KAMK,CAGlBC,EAAIC,EAAY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AAG,sBAAA,8BAAAC,wBAAA,iCAAAC,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAF,gBAAA,uBAAAuB,yBAAA,kCAAAlC,QAAA,IAAAwB,YAAA,oBAAAY,YAAA,KAAAC,WAAA,KAAAC,MAAA,KAAAC,SAAA,KAAAhD,OAAA,KAAAkD,OAAA,KAAAC,QAAA,KAAAC,gBAAA,KAAAC,mBAAA,KAAAd,kBAAA,KAAA1C,OAAA,KAAAP,QAAA,4BAAAoB,gBAAA,wBAAAG,eAAA,uBAAAK,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAW,YAAA,oBAAAU,yBAAA,kCAAAW,eAAA,wBAAAC,WAAA,kBAAAC,WAAA,kBAAAC,mBAAA,2BAAAC,QAAA,wDAAApD,UAAA,iBAAAC,SAAA,gBAAAC,iBAAA,wBAAAJ,OAAA,IAAAC,KAAA,IAAAK,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAG,gBAAA,uBAAAK,cAAA,sBAAAC,mBAAA,2BAAAC,aAAA,qBAAAC,YAAA,mBAAAe,yBAAA,kCAAAV,YAAA,oBAAA0B,WAAA,ijBAAAhE,UAAA,IAAAD,IAAA,IAAAkE,OAAA,yCAAAjE,UAAA,IAAAD,IAAA,IAAAE,OAAA,cAAAC,OAAA,IAAAC,UAAA,IAAAC,WAAA,IAAAC,OAAA,IAAAC,QAAA,IAAAC,OAAA,IAAAC,UAAA,SAAAb"}
@@ -0,0 +1,2 @@
1
+ System.register(["./p-266b2cee.system.js","./p-291b7192.system.js","./p-fe1917d3.system.js","./p-ff9cac04.system.js"],(function(e){"use strict";var t,r,i,n,o,s,a,l,c,h,d;return{setters:[function(e){t=e.r;r=e.c;i=e.h;n=e.H;o=e.g},function(e){s=e.t},function(e){a=e.s;l=e.o;c=e.r},function(e){h=e.f;d=e.h}],execute:function(){var p='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:"Roboto";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:64px}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.options-container{height:100%;position:absolute;width:100%;z-index:1100;top:0px}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.handle-search-filters-container .handle-filters-button span{font-size:18px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.filters-container{background-color:var(--color-background);position:relative;width:100%;height:100%;z-index:1100}.filters-container .segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.filters-container .segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.filters-container .segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.filters-container .segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.filters-container .segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.filters-container .segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}.filters-segment-container{overflow-y:scroll;padding-bottom:32px;max-height:calc(100% - 64px - 32px)}.back-filters-container{background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:absolute;z-index:1099}.divider{margin:16px;border-top:1px solid var(--color-outline)}.init-loader-container,.loader-container,.large-view-loader-container{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)}.init-loader-container .loader,.loader-container .loader,.large-view-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - 64px);background-color:var(--color-background)}.content-treks{height:calc(100% - 64px)}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list{max-height:calc(100vh - 64px)}grw-trek-detail{max-height:calc(100vh - 64px - 48px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.filters-options-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;margin:0px 16px}.filters-options-container .filters-options-buttons-container{display:-ms-flexbox;display:flex}.filters-options-container .filters-options-buttons-container .filter-option-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;margin:8px 0px 0px 8px;padding:8px 16px;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary);background-color:transparent}.segment-container{margin-bottom:64px}.filter-container:not(:last-child)::after{content:"";display:block;margin:16px;border-top:1px solid var(--color-outline)}';var u=e("grw_app",function(){function e(e){t(this,e);this.resetFilter=r(this,"resetFilter",7);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTreksMap=false;this.showTrekMap=false;this.showFilters=false;this.isLargeView=false;this.selectedSegment="selectedActivitiesFilters";this.currentTrekId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.center=undefined;this.zoom=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.colorPrimaryApp="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorPoiIcon="#974c6e";this.useGradient=false}e.prototype.onTrekCardPress=function(e){var t=a.parentTrekId?a.parentTrekId:a.currentTrekSteps?this.currentTrekId:null;a.currentTrek=null;this.currentTrekId=e.detail;this.showTrek=true;this.showTrekMap=false;var r=new URL(window.location.toString());r.searchParams.set("trek",this.currentTrekId.toString());if(a.currentTrekSteps){r.searchParams.set("parentTrek",t.toString())}window.history.pushState({},"",r)};e.prototype.onParentTrekPress=function(e){a.currentTrek=null;this.currentTrekId=e.detail;this.showTrek=true;this.showTrekMap=false;var t=new URL(window.location.toString());t.searchParams.set("trek",this.currentTrekId.toString());t.searchParams.delete("parentTrek");window.history.pushState({},"",t)};e.prototype.onWindowResize=function(){this.handleView()};e.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};e.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};e.prototype.componentWillLoad=function(){var e=new URL(window.location.toString());var t=e.searchParams.get("trek");var r=e.searchParams.get("parentTrek");if(t){window.history.replaceState({isInitialHistoryWithTrek:true},"",e);a.parentTrekId=r?Number(r):null;this.currentTrekId=Number(t);this.showTrek=!this.showTrek}};e.prototype.componentDidLoad=function(){var e=this;l("trekNetworkError",(function(){if(a.trekNetworkError){var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("parentTrek");window.history.replaceState({},"",t);e.onTrekDetailsClose()}}));window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};e.prototype.onTrekDetailsClose=function(){a.currentTrek=null;a.currentTrekSteps=null;a.parentTrekId=null;this.currentTrekId=null;this.showTrek=!this.showTrek};e.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showTreksMap=this.isLargeView;this.showTrekMap=this.isLargeView};e.prototype.handleFilters=function(){this.showFilters=!this.showFilters};e.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithTrek){this.onTrekDetailsClose();var e=new URL(window.location.toString());e.searchParams.delete("trek");window.history.pushState({},"",e)}else{window.history.back()}};e.prototype.handlePopState=function(){var e=new URL(window.location.toString());var t=Number(e.searchParams.get("trek"));if(t&&this.currentTrekId!==t){a.currentTrek=null;this.currentTrekId=t;this.showTrek=true}else if(!t){this.onTrekDetailsClose()}};e.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else{this.showTreksMap=!this.showTreksMap}};e.prototype.handleEraseFilters=function(){h.forEach((function(e){a[e.property].forEach((function(e){return e.selected=false}))}));a.selectedActivitiesFilters=0;a.selectedThemesFilters=0;a.selectedLocationFilters=0;a.currentTreks=d();this.resetFilter.emit()};e.prototype.handleOkFilters=function(){this.handleFilters()};e.prototype.disconnectedCallback=function(){c();window.removeEventListener("popstate",this.handlePopStateBind)};e.prototype.handleSelectedSegment=function(e){this.selectedSegment=e};e.prototype.handleSegment=function(e){return h.filter((function(t){return t.segment===e})).some((function(e){return a[e.property]&&a[e.property].length>0}))};e.prototype.render=function(){var e=this;return i(n,{style:{"--color-primary-app":this.colorPrimaryApp,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--app-width":this.appWidth,"--app-height":this.appHeight}},!a.currentTreks&&!a.currentTrek&&i("div",{class:"init-loader-container"},i("span",{class:"loader"})),!this.showTrek&&!a.treks&&i("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&&!a.currentTrek&&i("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId}),(a.currentTreks||a.currentTrek)&&i("div",{class:"app-container"},i("div",{class:this.isLargeView?"large-view-header-container":"header-container"},!this.showTrek?i("div",{class:"handle-search-filters-container"},i("div",{class:"handle-search-container"},i("grw-search",null)),i("div",{class:"handle-filters-container"},i("button",{onClick:function(){return e.handleFilters()},class:"handle-filters-button"},i("span",{class:"material-symbols material-symbols-outlined margin-right-icon"},"filter_list"),s[a.language].filter))):i("div",{class:"arrow-back-container"},i("button",{onClick:function(){return e.handleBackButton()},class:"arrow-back-icon"},i("span",{class:"material-symbols material-symbols-outlined"},"arrow_back")))),i("div",{class:"content-container ".concat(this.showTrek?"content-trek":"content-treks")},i("div",{class:this.isLargeView?"large-view-app-treks-list-container":"app-treks-list-container",style:{display:this.showTrek?"none":"flex",position:this.showTrek?"absolute":"relative"}},i("grw-treks-list",{"reset-store-on-disconnected":"false","is-large-view":this.isLargeView,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),this.showTrek&&!a.currentTrek&&i("div",{class:this.isLargeView?"large-view-loader-container":"loader-container"},i("span",{class:"loader"})),a.currentTrek&&i("div",{class:this.isLargeView?"large-view-app-trek-detail-container":"app-trek-detail-container"},i("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"reset-store-on-disconnected":"false","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})),i("grw-map",{"reset-store-on-disconnected":"false",class:this.isLargeView?"large-view-app-map-container":"app-map-container",style:{visibility:this.showTreksMap&&!this.showTrek||this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:this.showTrekMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"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.showTrek&&a.currentTrek)&&i("div",{class:"map-visibility-button-container"},i("button",{onClick:function(){return e.handleShowMap()},class:"map-visibility-button",style:{display:this.isLargeView?"none":"flex"}},i("span",{class:"material-symbols material-symbols-outlined"},this.showTrek?this.showTrekMap?"summarize":"map":this.showTreksMap?"list":"map"),this.showTrek?this.showTrekMap?s[a.language].showDetails:s[a.language].showRoute:this.showTreksMap?s[a.language].showList:s[a.language].showMap))),!this.showTrek&&this.showFilters&&i("div",{class:"options-container"},i("div",{class:"filters-container"},i("div",{class:"filters-options-container"},a.treksWithinBounds&&i("div",{class:"current-treks-within-bounds-length"},"".concat(a.treksWithinBounds.length," ").concat(a.treksWithinBounds.length>1?s[a.language].treks:s[a.language].trek)),i("div",{class:"filters-options-buttons-container"},i("button",{class:"filter-option-button",onClick:function(){return e.handleEraseFilters()}},s[a.language].erase),i("button",{class:"filter-option-button",onClick:function(){return e.handleOkFilters()}},s[a.language].ok))),i("div",{class:"segmented-buttons-container"},this.handleSegment("selectedActivitiesFilters")&&i("label",{class:"segment".concat(this.selectedSegment==="selectedActivitiesFilters"?" selected-segment":""),onClick:function(){return e.handleSelectedSegment("selectedActivitiesFilters")}},s[a.language].activities," ",a.selectedActivitiesFilters!==0&&"(".concat(a.selectedActivitiesFilters,")")),this.handleSegment("selectedThemesFilters")&&i("label",{class:"segment".concat(this.selectedSegment==="selectedThemesFilters"?" selected-segment":""),onClick:function(){return e.handleSelectedSegment("selectedThemesFilters")}},s[a.language].themes," ",a.selectedThemesFilters!==0&&"(".concat(a.selectedThemesFilters,")")),this.handleSegment("selectedLocationFilters")&&i("label",{class:"segment".concat(this.selectedSegment==="selectedLocationFilters"?" selected-segment":""),onClick:function(){return e.handleSelectedSegment("selectedLocationFilters")}},s[a.language].location," ",a.selectedLocationFilters!==0&&"(".concat(a.selectedLocationFilters,")"))),i("div",{class:"filters-segment-container"},this.selectedSegment==="selectedActivitiesFilters"&&i("div",{class:"segment-container"},a["practices"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].practice,filterType:"practices",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),a["difficulties"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].difficulty,filterType:"difficulties",filterNameProperty:"label",segment:"selectedActivitiesFilters"})),a["durations"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].duration,filterType:"durations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),a["lengths"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].length,filterType:"lengths",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),a["elevations"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].elevation,filterType:"elevations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),a["routes"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].routes,filterType:"routes",filterNameProperty:"route",segment:"selectedActivitiesFilters"})),a["accessibilities"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].accessibility,filterType:"accessibilities",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),a["labels"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].activities,filterType:"labels",filterNameProperty:"name",segment:"selectedActivitiesFilters"}))),this.selectedSegment==="selectedThemesFilters"&&i("div",{class:"segment-container"},a["themes"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].themes,filterType:"themes",filterNameProperty:"label",segment:"selectedThemesFilters"}))),this.selectedSegment==="selectedLocationFilters"&&i("div",{class:"segment-container"},a["districts"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].districts,filterType:"districts",filterNameProperty:"name",segment:"selectedLocationFilters"})),a["cities"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:s[a.language].cities,filterType:"cities",filterNameProperty:"name",segment:"selectedLocationFilters"}))))),i("div",{onClick:function(){return e.handleFilters()},class:"back-filters-container"})))};Object.defineProperty(e.prototype,"appElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return e}());u.style=p}}}));
2
+ //# sourceMappingURL=p-05cd2f4e.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["grwAppCss","GrwApp","exports","this","largeViewSize","handlePopStateBind","handlePopState","bind","class_1","prototype","onTrekCardPress","event","parentTrek","state","parentTrekId","currentTrekSteps","currentTrekId","currentTrek","detail","showTrek","showTrekMap","url","URL","window","location","toString","searchParams","set","history","pushState","onParentTrekPress","delete","onWindowResize","handleView","onCenterOnMap","isLargeView","watchPropHandler","dispatchEvent","Event","componentWillLoad","trekParam","get","replaceState","isInitialHistoryWithTrek","Number","componentDidLoad","_this","onChange","trekNetworkError","urlRedirect","onTrekDetailsClose","addEventListener","appElement","getBoundingClientRect","width","showTreksMap","handleFilters","showFilters","handleBackButton","back","handleShowMap","handleEraseFilters","filters","forEach","filter","property","currentFilter","selected","selectedActivitiesFilters","selectedThemesFilters","selectedLocationFilters","currentTreks","handleFiltersAndSearch","resetFilter","emit","handleOkFilters","disconnectedCallback","reset","removeEventListener","handleSelectedSegment","selectedSegment","handleSegment","segment","some","length","render","h","Host","style","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","appWidth","appHeight","class","treks","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","onClick","translate","language","concat","display","position","visibility","zIndex","weather","center","zoom","nameLayer","urlLayer","attributionLayer","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","showDetails","showRoute","showList","showMap","treksWithinBounds","trek","erase","ok","activities","filterName","practice","filterType","filterNameProperty","difficulty","duration","elevation","accessibility"],"sources":["src/components/grw-app/grw-app.scss?tag=grw-app","src/components/grw-app/grw-app.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\ngrw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n font-family: 'Roboto';\n color: var(--color-on-surface);\n overflow: hidden;\n line-height: initial;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.header-container,\n.large-view-header-container {\n background-color: var(--color-background);\n box-shadow: var(--elevation-2);\n height: 64px;\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: 50%;\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.options-container {\n height: 100%;\n position: absolute;\n width: 100%;\n z-index: 1100;\n top: 0px;\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n\n .handle-filters-button {\n margin-left: 16px;\n user-select: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: var(--color-background);\n color: var(--color-on-surface);\n padding: 12px 24px;\n border-radius: 20px;\n box-sizing: border-box;\n position: relative;\n gap: 8px;\n white-space: nowrap;\n line-height: 20px;\n letter-spacing: 0.10000000149011612px;\n font-size: 14px;\n font-weight: 500;\n box-shadow: var(--elevation-1);\n transition: box-shadow 0.2s ease-in-out 0s;\n span {\n font-size: 18px;\n }\n }\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.filters-container {\n background-color: var(--color-background);\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1100;\n .segmented-buttons-container {\n display: flex;\n justify-content: center;\n width: calc(100% - 32px);\n height: 40px;\n margin: 16px;\n border: 1px solid var(--color-outline);\n border-radius: 20px;\n line-height: 20px;\n .segment {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface-variant);\n background-color: transparent;\n border-radius: 0px;\n min-width: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n &:first-child {\n border-top-left-radius: 20px;\n border-bottom-left-radius: 20px;\n }\n &:not(:last-child) {\n border-right: 1px solid var(--color-outline);\n }\n &:last-child {\n border-top-right-radius: 20px;\n border-bottom-right-radius: 20px;\n }\n }\n .selected-segment {\n color: var(--color-on-secondary-container);\n background-color: var(--color-secondary-container);\n }\n }\n}\n\n.filters-segment-container {\n overflow-y: scroll;\n padding-bottom: 32px;\n max-height: calc(100% - 64px - 32px);\n}\n\n.back-filters-container {\n background-color: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 1099;\n}\n\n.divider {\n margin: 16px;\n border-top: 1px solid var(--color-outline);\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n .loader {\n width: 48px;\n height: 48px;\n border: 5px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - 64px);\n background-color: var(--color-background);\n}\n\n.content-treks {\n height: calc(100% - 64px);\n}\n\n.content-trek {\n height: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n .map-visibility-button {\n cursor: pointer;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n text-decoration: none;\n padding: 16px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n box-shadow: var(--elevation-1);\n border-radius: 12px;\n height: 56px;\n font-size: 16px;\n width: unset;\n &:hover {\n box-shadow: var(--elevation-4);\n }\n span {\n font-size: 24px;\n margin-right: 8px;\n color: var(--color-on-primary-container);\n }\n }\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container {\n width: 100%;\n}\n\ngrw-treks-list {\n max-height: calc(100vh - 64px);\n}\n\ngrw-trek-detail {\n max-height: calc(100vh - 64px - 48px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.filters-options-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n height: 64px;\n margin: 0px 16px;\n .filters-options-buttons-container {\n display: flex;\n .filter-option-button {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n margin: 8px 0px 0px 8px;\n padding: 8px 16px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: var(--elevation-0);\n border: none;\n -webkit-tap-highlight-color: transparent;\n line-height: 20px;\n color: var(--color-primary);\n background-color: transparent;\n }\n }\n}\n\n.segment-container {\n margin-bottom: 64px;\n}\n\n.filter-container {\n &:not(:last-child) {\n &::after {\n content: '';\n display: block;\n margin: 16px;\n border-top: 1px solid var(--color-outline);\n }\n }\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch, Event, EventEmitter } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { onChange, reset } from 'store/store';\nimport { filters, handleFiltersAndSearch } from 'utils/utils';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @Event() resetFilter: EventEmitter;\n @State() showTrek = false;\n @State() showTreksMap = false;\n @State() showTrekMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() selectedSegment = 'selectedActivitiesFilters';\n @State() currentTrekId: 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\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\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = 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 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('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 const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parentTrek');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithTrek: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = !this.showTrek;\n }\n }\n\n componentDidLoad() {\n onChange('trekNetworkError', () => {\n if (state.trekNetworkError) {\n const urlRedirect = new URL(window.location.toString());\n urlRedirect.searchParams.delete('trek');\n urlRedirect.searchParams.delete('parentTrek');\n window.history.replaceState({}, '', urlRedirect);\n this.onTrekDetailsClose();\n }\n });\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onTrekDetailsClose() {\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = !this.showTrek;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showTreksMap = 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.isInitialHistoryWithTrek) {\n this.onTrekDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\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 if (trekParam && this.currentTrekId !== trekParam) {\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam) {\n this.onTrekDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else {\n this.showTreksMap = !this.showTreksMap;\n }\n }\n\n handleEraseFilters() {\n filters.forEach(filter => {\n state[filter.property].forEach(currentFilter => (currentFilter.selected = false));\n });\n state.selectedActivitiesFilters = 0;\n state.selectedThemesFilters = 0;\n state.selectedLocationFilters = 0;\n state.currentTreks = handleFiltersAndSearch();\n this.resetFilter.emit();\n }\n\n handleOkFilters() {\n this.handleFilters();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleSelectedSegment(selectedSegment) {\n this.selectedSegment = selectedSegment;\n }\n\n handleSegment(segment) {\n return filters.filter(filter => filter.segment === segment).some(filter => state[filter.property] && state[filter.property].length > 0);\n }\n\n render() {\n return (\n <Host\n style={{\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 '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n }}\n >\n {!state.currentTreks && !state.currentTrek && (\n <div class=\"init-loader-container\">\n <span class=\"loader\"></span>\n </div>\n )}\n {!this.showTrek && !state.treks && (\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}></grw-trek-provider>\n )}\n {(state.currentTreks || state.currentTrek) && (\n <div class=\"app-container\">\n <div class={this.isLargeView ? 'large-view-header-container' : 'header-container'}>\n {!this.showTrek ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <button onClick={() => this.handleFilters()} class=\"handle-filters-button\">\n <span class=\"material-symbols material-symbols-outlined margin-right-icon\">filter_list</span>\n {translate[state.language].filter}\n </button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n <span class=\"material-symbols material-symbols-outlined\">arrow_back</span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek ? 'content-trek' : 'content-treks'}`}>\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n <grw-treks-list\n reset-store-on-disconnected=\"false\"\n is-large-view={this.isLargeView}\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 </div>\n {this.showTrek && !state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <span class=\"loader\"></span>\n </div>\n )}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected=\"false\"\n 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 ></grw-trek-detail>\n </div>\n )}\n <grw-map\n reset-store-on-disconnected=\"false\"\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility: (this.showTreksMap && !this.showTrek) || (this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: this.showTrekMap ? '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 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 </div>\n {(!this.showTrek || (this.showTrek && state.currentTrek)) && (\n <div class=\"map-visibility-button-container\">\n <button onClick={() => this.handleShowMap()} class=\"map-visibility-button\" style={{ display: this.isLargeView ? 'none' : 'flex' }}>\n <span class=\"material-symbols material-symbols-outlined\">{this.showTrek ? (this.showTrekMap ? 'summarize' : 'map') : this.showTreksMap ? 'list' : 'map'}</span>\n {this.showTrek\n ? this.showTrekMap\n ? translate[state.language].showDetails\n : translate[state.language].showRoute\n : this.showTreksMap\n ? translate[state.language].showList\n : translate[state.language].showMap}\n </button>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && (\n <div class=\"options-container\">\n <div class=\"filters-container\">\n <div class=\"filters-options-container\">\n {state.treksWithinBounds && (\n <div class=\"current-treks-within-bounds-length\">{`${state.treksWithinBounds.length} ${\n state.treksWithinBounds.length > 1 ? translate[state.language].treks : translate[state.language].trek\n }`}</div>\n )}\n <div class=\"filters-options-buttons-container\">\n <button class=\"filter-option-button\" onClick={() => this.handleEraseFilters()}>\n {translate[state.language].erase}\n </button>\n <button class=\"filter-option-button\" onClick={() => this.handleOkFilters()}>\n {translate[state.language].ok}\n </button>\n </div>\n </div>\n <div class=\"segmented-buttons-container\">\n {this.handleSegment('selectedActivitiesFilters') && (\n <label\n class={`segment${this.selectedSegment === 'selectedActivitiesFilters' ? ' selected-segment' : ''}`}\n onClick={() => this.handleSelectedSegment('selectedActivitiesFilters')}\n >\n {translate[state.language].activities} {state.selectedActivitiesFilters !== 0 && `(${state.selectedActivitiesFilters})`}\n </label>\n )}\n {this.handleSegment('selectedThemesFilters') && (\n <label\n class={`segment${this.selectedSegment === 'selectedThemesFilters' ? ' selected-segment' : ''}`}\n onClick={() => this.handleSelectedSegment('selectedThemesFilters')}\n >\n {translate[state.language].themes} {state.selectedThemesFilters !== 0 && `(${state.selectedThemesFilters})`}\n </label>\n )}\n {this.handleSegment('selectedLocationFilters') && (\n <label\n class={`segment${this.selectedSegment === 'selectedLocationFilters' ? ' selected-segment' : ''}`}\n onClick={() => this.handleSelectedSegment('selectedLocationFilters')}\n >\n {translate[state.language].location} {state.selectedLocationFilters !== 0 && `(${state.selectedLocationFilters})`}\n </label>\n )}\n </div>\n <div class=\"filters-segment-container\">\n {this.selectedSegment === 'selectedActivitiesFilters' && (\n <div class=\"segment-container\">\n {state['practices'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter\n filterName={translate[state.language].practice}\n filterType=\"practices\"\n filterNameProperty=\"name\"\n segment=\"selectedActivitiesFilters\"\n ></grw-filter>\n </div>\n )}\n {state['difficulties'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter\n filterName={translate[state.language].difficulty}\n filterType=\"difficulties\"\n filterNameProperty=\"label\"\n segment=\"selectedActivitiesFilters\"\n ></grw-filter>\n </div>\n )}\n {state['durations'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter\n filterName={translate[state.language].duration}\n filterType=\"durations\"\n filterNameProperty=\"name\"\n segment=\"selectedActivitiesFilters\"\n ></grw-filter>\n </div>\n )}\n {state['lengths'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter filterName={translate[state.language].length} filterType=\"lengths\" filterNameProperty=\"name\" segment=\"selectedActivitiesFilters\"></grw-filter>\n </div>\n )}\n {state['elevations'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter\n filterName={translate[state.language].elevation}\n filterType=\"elevations\"\n filterNameProperty=\"name\"\n segment=\"selectedActivitiesFilters\"\n ></grw-filter>\n </div>\n )}\n {state['routes'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter filterName={translate[state.language].routes} filterType=\"routes\" filterNameProperty=\"route\" segment=\"selectedActivitiesFilters\"></grw-filter>\n </div>\n )}\n {state['accessibilities'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter\n filterName={translate[state.language].accessibility}\n filterType=\"accessibilities\"\n filterNameProperty=\"name\"\n segment=\"selectedActivitiesFilters\"\n ></grw-filter>\n </div>\n )}\n {state['labels'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter\n filterName={translate[state.language].activities}\n filterType=\"labels\"\n filterNameProperty=\"name\"\n segment=\"selectedActivitiesFilters\"\n ></grw-filter>\n </div>\n )}\n </div>\n )}\n {this.selectedSegment === 'selectedThemesFilters' && (\n <div class=\"segment-container\">\n {state['themes'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter filterName={translate[state.language].themes} filterType=\"themes\" filterNameProperty=\"label\" segment=\"selectedThemesFilters\"></grw-filter>\n </div>\n )}\n </div>\n )}\n {this.selectedSegment === 'selectedLocationFilters' && (\n <div class=\"segment-container\">\n {state['districts'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter\n filterName={translate[state.language].districts}\n filterType=\"districts\"\n filterNameProperty=\"name\"\n segment=\"selectedLocationFilters\"\n ></grw-filter>\n </div>\n )}\n {state['cities'].length > 0 && (\n <div class=\"filter-container\">\n <grw-filter filterName={translate[state.language].cities} filterType=\"cities\" filterNameProperty=\"name\" segment=\"selectedLocationFilters\"></grw-filter>\n </div>\n )}\n </div>\n )}\n </div>\n </div>\n <div onClick={() => this.handleFilters()} class=\"back-filters-container\"></div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"oUAAA,IAAMA,EAAY,qhQ,ICULC,EAAMC,EAAA,qB,iEAkDjBC,KAAAC,cAAgB,KAChBD,KAAAE,mBAA2CF,KAAKG,eAAeC,KAAKJ,M,cAhDhD,M,kBACI,M,iBACD,M,iBACA,M,iBACA,M,qBACI,4B,2CAEA,O,eACC,Q,kCAER,K,mUAcF,M,qBAEQ,U,oBACD,U,kBACF,U,oBACE,U,yBACK,U,2BACE,U,2BACA,U,6BACE,U,6BACA,U,+BACE,U,qBACV,U,+BACU,U,8BACD,U,wBACN,U,cACV,U,mBAEK,U,wBACK,U,kBACN,U,iBACD,K,CAMtBK,EAAAC,UAAAC,gBAAA,SAAgBC,GACd,IAAMC,EAAaC,EAAMC,aAAeD,EAAMC,aAAeD,EAAME,iBAAmBZ,KAAKa,cAAgB,KAC3GH,EAAMI,YAAc,KACpBd,KAAKa,cAAgBL,EAAMO,OAC3Bf,KAAKgB,SAAW,KAChBhB,KAAKiB,YAAc,MACnB,IAAMC,EAAM,IAAIC,IAAIC,OAAOC,SAASC,YACpCJ,EAAIK,aAAaC,IAAI,OAAQxB,KAAKa,cAAcS,YAChD,GAAIZ,EAAME,iBAAkB,CAC1BM,EAAIK,aAAaC,IAAI,aAAcf,EAAWa,W,CAEhDF,OAAOK,QAAQC,UAAU,GAAI,GAAIR,E,EAInCb,EAAAC,UAAAqB,kBAAA,SAAkBnB,GAChBE,EAAMI,YAAc,KACpBd,KAAKa,cAAgBL,EAAMO,OAC3Bf,KAAKgB,SAAW,KAChBhB,KAAKiB,YAAc,MACnB,IAAMC,EAAM,IAAIC,IAAIC,OAAOC,SAASC,YACpCJ,EAAIK,aAAaC,IAAI,OAAQxB,KAAKa,cAAc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AAKoB,MAAM,oBACTpB,EAAA,cAAY2D,WAAY1B,EAAU1G,EAAM2G,UAAUJ,OAAQ+B,WAAW,SAASC,mBAAmB,QAAQlE,QAAQ,+BAGpHrE,EAAM,mBAAmBuE,OAAS,GACjCE,EAAA,OAAKoB,MAAM,oBACTpB,EAAA,cACE2D,WAAY1B,EAAU1G,EAAM2G,UAAUgC,cACtCL,WAAW,kBACXC,mBAAmB,OACnBlE,QAAQ,+BAIbrE,EAAM,UAAUuE,OAAS,GACxBE,EAAA,OAAKoB,MAAM,oBACTpB,EAAA,cACE2D,WAAY1B,EAAU1G,EAAM2G,UAAUwB,WACtCG,WAAW,SACXC,mBAAmB,OACnBlE,QAAQ,gCAMjB/E,KAAK6E,kBAAoB,yBACxBM,EAAA,OAAKoB,MAAM,qBACR7F,EAAM,UAAUuE,OAAS,GACxBE,EAAA,OAAKoB,MAAM,oBACTpB,EAAA,cAAY2D,WAAY1B,EAAU1G,EAAM2G,UAAUN,OAAQiC,WAAW,SAASC,mBAAmB,QAAQlE,QAAQ,4BAKxH/E,KAAK6E,kBAAoB,2BACxBM,EAAA,OAAKoB,MAAM,qBACR7F,EAAM,aAAauE,OAAS,GAC3BE,EAAA,OAAKoB,MAAM,oBACTpB,EAAA,cACE2D,WAAY1B,EAAU1G,EAAM2G,UAAUR,UACtCmC,WAAW,YACXC,mBAAmB,OACnBlE,QAAQ,6BAIbrE,EAAM,UAAUuE,OAAS,GACxBE,EAAA,OAAKoB,MAAM,oBACTpB,EAAA,cAAY2D,WAAY1B,EAAU1G,EAAM2G,UAAUT,OAAQoC,WAAW,SAASC,mBAAmB,OAAOlE,QAAQ,gCAO5HI,EAAA,OAAKgC,QAAS,WAAM,OAAAxE,EAAKU,eAAL,EAAsBkD,MAAM,4B,iQAnfzC,I"}
@@ -1,2 +1,2 @@
1
- System.register(["./p-266b2cee.system.js","./p-c45eb7b7.system.js"],(function(e){"use strict";var t,n,l,a;return{setters:[function(e){t=e.r;n=e.h;l=e.H},function(e){a=e.s}],execute:function(){var s='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host span{font-size:18px}:host #language-select{border:none;background-color:var(--color-background)}:host #language-select:focus-visible{outline:none}';var r=e("grw_select_language",function(){function e(e){t(this,e)}e.prototype.handleSelect=function(e){a.treks=null;a.currentTreks=null;a.currentTrek=null;a.language=e.target.value};e.prototype.render=function(){var e=this;return n(l,null,n("span",{class:"material-symbols material-symbols-outlined margin-right-icon"},"translate"),n("select",{onInput:function(t){return e.handleSelect(t)},name:"languages",id:"language-select"},a.languages.map((function(e){return n("option",{selected:e===a.language,value:e.toLocaleLowerCase()},e.toLocaleUpperCase())}))))};return e}());r.style=s}}}));
2
- //# sourceMappingURL=p-bba5af15.system.entry.js.map
1
+ System.register(["./p-266b2cee.system.js","./p-fe1917d3.system.js"],(function(e){"use strict";var t,n,l,a;return{setters:[function(e){t=e.r;n=e.h;l=e.H},function(e){a=e.s}],execute:function(){var s='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host span{font-size:18px}:host #language-select{border:none;background-color:var(--color-background)}:host #language-select:focus-visible{outline:none}';var r=e("grw_select_language",function(){function e(e){t(this,e)}e.prototype.handleSelect=function(e){a.treks=null;a.currentTreks=null;a.currentTrek=null;a.language=e.target.value};e.prototype.render=function(){var e=this;return n(l,null,n("span",{class:"material-symbols material-symbols-outlined margin-right-icon"},"translate"),n("select",{onInput:function(t){return e.handleSelect(t)},name:"languages",id:"language-select"},a.languages.map((function(e){return n("option",{selected:e===a.language,value:e.toLocaleLowerCase()},e.toLocaleUpperCase())}))))};return e}());r.style=s}}}));
2
+ //# sourceMappingURL=p-1266b9a7.system.entry.js.map
@@ -1,2 +1,2 @@
1
- System.register(["./p-266b2cee.system.js"],(function(r,e){"use strict";var o,n,a,t,i,c;return{setters:[function(e){o=e.p;n=e.w;a=e.d;t=e.N;i=e.a;c=e.b;r("setNonce",e.s)}],execute:function(){function r(r){var e,o,n;return(n=(o=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||o===void 0?void 0:o.getAttribute("content"))!==null&&n!==void 0?n:undefined}var s=function(r){return"__sc_import_".concat(r.replace(/\s|-/g,"_"))};var l=function(){{o.$cssShim$=n.__cssshim}var r=Array.from(a.querySelectorAll("script")).find((function(r){return new RegExp("/".concat(t,"(\\.esm)?\\.js($|\\?|#)")).test(r.src)||r.getAttribute("data-stencil-namespace")===t}));var c=(r||{})["data-opts"]||{};if("onbeforeload"in r&&!history.scrollRestoration){return{then:function(){}}}{c.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,n.location.href)).href;{p(c.resourcesUrl,r)}if(!n.customElements){return e.import("./p-2a99981a.system.js").then((function(){return c}))}}return i(c)};var p=function(e,i){var c=s(t);try{n[c]=new Function("w","return import(w);//".concat(Math.random()))}catch(p){var l=new Map;n[c]=function(t){var s;var p=new URL(t,e).href;var u=l.get(p);if(!u){var d=a.createElement("script");d.type="module";d.crossOrigin=i.crossOrigin;d.src=URL.createObjectURL(new Blob(["import * as m from '".concat(p,"'; window.").concat(c,".m = m;")],{type:"application/javascript"}));var y=(s=o.$nonce$)!==null&&s!==void 0?s:r(a);if(y!=null){d.setAttribute("nonce",y)}u=new Promise((function(r){d.onload=function(){r(n[c].m);d.remove()}}));l.set(p,u);a.head.appendChild(d)}return u}}};l().then((function(r){return c([["p-33b7a4a8.system",[[0,"grw-app",{appWidth:[1,"app-width"],appHeight:[1,"app-height"],api:[1],languages:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],center:[1],zoom:[2],nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],weather:[4],colorPrimaryApp:[1,"color-primary-app"],colorOnPrimary:[1,"color-on-primary"],colorSurface:[1,"color-surface"],colorOnSurface:[1,"color-on-surface"],colorSurfaceVariant:[1,"color-surface-variant"],colorOnSurfaceVariant:[1,"color-on-surface-variant"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorBackground:[1,"color-background"],colorSurfaceContainerHigh:[1,"color-surface-container-high"],colorSurfaceContainerLow:[1,"color-surface-container-low"],fabBackgroundColor:[1,"fab-background-color"],fabColor:[1,"fab-color"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],showTrek:[32],showTreksMap:[32],showTrekMap:[32],showFilters:[32],isLargeView:[32],selectedSegment:[32],currentTrekId:[32]},[[8,"trekCardPress","onTrekCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]],["p-bba5af15.system",[[1,"grw-select-language"]]],["p-ba390498.system",[[1,"grw-information-desk-detail",{informationDesk:[16],displayShortDescription:[32]}],[1,"grw-poi-detail",{poi:[16],displayShortDescription:[32],displayFullscreen:[32]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}],[1,"grw-trek-card",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isStep:[4,"is-step"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],departureCity:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-b7b00edf.system",[[1,"grw-trek-detail",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],weather:[4],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],displayFullscreen:[32],cities:[32],options:[32]}],[1,"grw-treks-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],treksToDisplay:[32]}],[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterNameProperty:[1,"filter-name-property"],segment:[1]},[[8,"resetFilter","onResetFilter"]]],[0,"grw-map",{nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],center:[1],zoom:[2],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorBackground:[1,"color-background"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isLargeView:[4,"is-large-view"],mapIsReady:[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"descriptionReferenceIsInViewport","descriptionReferenceIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationDeskIsInViewport","onInformationDesksIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","oncardTrekMouseLeave"]]],[1,"grw-search"],[1,"grw-trek-provider",{languages:[1],api:[1],trekId:[1,"trek-id"]}],[1,"grw-treks-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]]],r)}))}}}));
1
+ System.register(["./p-266b2cee.system.js"],(function(r,e){"use strict";var o,n,t,a,i,c;return{setters:[function(e){o=e.p;n=e.w;t=e.d;a=e.N;i=e.a;c=e.b;r("setNonce",e.s)}],execute:function(){function r(r){var e,o,n;return(n=(o=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||o===void 0?void 0:o.getAttribute("content"))!==null&&n!==void 0?n:undefined}var s=function(r){return"__sc_import_".concat(r.replace(/\s|-/g,"_"))};var l=function(){{o.$cssShim$=n.__cssshim}var r=Array.from(t.querySelectorAll("script")).find((function(r){return new RegExp("/".concat(a,"(\\.esm)?\\.js($|\\?|#)")).test(r.src)||r.getAttribute("data-stencil-namespace")===a}));var c=(r||{})["data-opts"]||{};if("onbeforeload"in r&&!history.scrollRestoration){return{then:function(){}}}{c.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,n.location.href)).href;{p(c.resourcesUrl,r)}if(!n.customElements){return e.import("./p-2a99981a.system.js").then((function(){return c}))}}return i(c)};var p=function(e,i){var c=s(a);try{n[c]=new Function("w","return import(w);//".concat(Math.random()))}catch(p){var l=new Map;n[c]=function(a){var s;var p=new URL(a,e).href;var u=l.get(p);if(!u){var d=t.createElement("script");d.type="module";d.crossOrigin=i.crossOrigin;d.src=URL.createObjectURL(new Blob(["import * as m from '".concat(p,"'; window.").concat(c,".m = m;")],{type:"application/javascript"}));var y=(s=o.$nonce$)!==null&&s!==void 0?s:r(t);if(y!=null){d.setAttribute("nonce",y)}u=new Promise((function(r){d.onload=function(){r(n[c].m);d.remove()}}));l.set(p,u);t.head.appendChild(d)}return u}}};l().then((function(r){return c([["p-05cd2f4e.system",[[0,"grw-app",{appWidth:[1,"app-width"],appHeight:[1,"app-height"],api:[1],languages:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],center:[1],zoom:[2],nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],weather:[4],colorPrimaryApp:[1,"color-primary-app"],colorOnPrimary:[1,"color-on-primary"],colorSurface:[1,"color-surface"],colorOnSurface:[1,"color-on-surface"],colorSurfaceVariant:[1,"color-surface-variant"],colorOnSurfaceVariant:[1,"color-on-surface-variant"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorBackground:[1,"color-background"],colorSurfaceContainerHigh:[1,"color-surface-container-high"],colorSurfaceContainerLow:[1,"color-surface-container-low"],fabBackgroundColor:[1,"fab-background-color"],fabColor:[1,"fab-color"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],showTrek:[32],showTreksMap:[32],showTrekMap:[32],showFilters:[32],isLargeView:[32],selectedSegment:[32],currentTrekId:[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]],["p-1266b9a7.system",[[1,"grw-select-language"]]],["p-42a3c374.system",[[1,"grw-information-desk",{informationDesk:[16],displayShortDescription:[32]}],[1,"grw-poi",{poi:[16],displayShortDescription:[32],displayFullscreen:[32]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}],[1,"grw-touristic-content",{touristicContent:[16],displayFullscreen:[32]}],[1,"grw-trek-card",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isStep:[4,"is-step"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],departureCity:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-6d738828.system",[[1,"grw-trek-detail",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],weather:[4],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],displayFullscreen:[32],cities:[32],options:[32]}],[1,"grw-treks-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],treksToDisplay:[32]}],[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterNameProperty:[1,"filter-name-property"],segment:[1]},[[8,"resetFilter","onResetFilter"]]],[1,"grw-map",{nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],center:[1],zoom:[2],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorBackground:[1,"color-background"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isLargeView:[4,"is-large-view"],mapIsReady:[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationDeskIsInViewport","onInformationDesksIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","oncardTrekMouseLeave"]]],[1,"grw-search"],[1,"grw-trek-provider",{languages:[1],api:[1],trekId:[1,"trek-id"]}],[1,"grw-treks-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]]],r)}))}}}));
2
2
  //# sourceMappingURL=p-148f5f1d.system.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","getDynamicImportFunction","namespace","concat","replace","patchBrowser","plt","$cssShim$","win","__cssshim","scriptElm","Array","from","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","opts","history","scrollRestoration","then","resourcesUrl","URL","location","href","patchDynamicImport","customElements","module","import","promiseResolve","base","orgScriptElm","importFunctionName","Function","Math","random","e","moduleMap_1","Map","url","mod","get","script_1","createElement","type","crossOrigin","createObjectURL","Blob","nonce","$nonce$","setAttribute","Promise","resolve","onload","m","remove","set","appendChild","options","bootstrapLazy","appWidth","appHeight","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","center","zoom","nameLayer","urlLayer","attributionLayer","weather","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","showTrek","showTreksMap","showTrekMap","showFilters","isLargeView","selectedSegment","currentTrekId","informationDesk","displayShortDescription","poi","displayFullscreen","sensitiveArea","trek","resetStoreOnDisconnected","isStep","currentTrek","difficulty","route","practice","departureCity","labels","sources","accessibilities","accessibilityLevel","treksToDisplay","filterType","filterName","filterNameProperty","segment","mapIsReady","trekId"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.4.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"8LAaA,SAASA,EAAyBC,GAC9B,IAAIC,EAAIC,EAAIC,EACZ,OAAQA,GAAMD,GAAMD,EAAKD,EAAII,QAAU,MAAQH,SAAY,OAAS,EAAIA,EAAGI,cAAc,6BAA+B,MAAQH,SAAY,OAAS,EAAIA,EAAGI,aAAa,cAAgB,MAAQH,SAAY,EAAIA,EAAKI,SAC1N,CAEA,IAAMC,EAA2B,SAACC,GAAc,qBAAAC,OAAeD,EAAUE,QAAQ,QAAS,KAA1C,EAChD,IAAMC,EAAe,WAMK,CAGlBC,EAAIC,UAAYC,EAAIC,S,CAkBxB,IAAMC,EAIAC,MAAMC,KAAKnB,EAAIoB,iBAAiB,WAAWC,MAAK,SAACC,GAAM,WA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,iCAAAC,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAF,gBAAA,uBAAAsB,yBAAA,kCAAAjC,QAAA,IAAAwB,YAAA,oBAAAW,YAAA,KAAAC,WAAA,KAAAC,MAAA,KAAAC,SAAA,KAAA/C,OAAA,KAAAiD,OAAA,KAAAC,QAAA,KAAAC,gBAAA,KAAAC,mBAAA,KAAAb,kBAAA,KAAA1C,OAAA,KAAAP,QAAA,4BAAAoB,gBAAA,wBAAAG,eAAA,uBAAAK,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAW,YAAA,oBAAAS,yBAAA,kCAAAW,eAAA,wBAAAC,WAAA,kBAAAC,WAAA,kBAAAC,mBAAA,2BAAAC,QAAA,wDAAAnD,UAAA,iBAAAC,SAAA,gBAAAC,iBAAA,wBAAAJ,OAAA,IAAAC,KAAA,IAAAK,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAG,gBAAA,uBAAAK,cAAA,sBAAAC,mBAAA,2BAAAC,aAAA,qBAAAC,YAAA,mBAAAc,yBAAA,kCAAAT,YAAA,oBAAAyB,WAAA,mdAAA/D,UAAA,IAAAD,IAAA,IAAAiE,OAAA,yCAAAhE,UAAA,IAAAD,IAAA,IAAAE,OAAA,cAAAC,OAAA,IAAAC,UAAA,IAAAC,WAAA,IAAAC,OAAA,IAAAC,QAAA,IAAAC,OAAA,IAAAC,UAAA,SAAAb,EAC9D,G"}
1
+ {"version":3,"names":["queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","getDynamicImportFunction","namespace","concat","replace","patchBrowser","plt","$cssShim$","win","__cssshim","scriptElm","Array","from","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","opts","history","scrollRestoration","then","resourcesUrl","URL","location","href","patchDynamicImport","customElements","module","import","promiseResolve","base","orgScriptElm","importFunctionName","Function","Math","random","e","moduleMap_1","Map","url","mod","get","script_1","createElement","type","crossOrigin","createObjectURL","Blob","nonce","$nonce$","setAttribute","Promise","resolve","onload","m","remove","set","appendChild","options","bootstrapLazy","appWidth","appHeight","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","center","zoom","nameLayer","urlLayer","attributionLayer","weather","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","showTrek","showTreksMap","showTrekMap","showFilters","isLargeView","selectedSegment","currentTrekId","informationDesk","displayShortDescription","poi","displayFullscreen","sensitiveArea","touristicContent","trek","resetStoreOnDisconnected","isStep","currentTrek","difficulty","route","practice","departureCity","labels","sources","accessibilities","accessibilityLevel","treksToDisplay","filterType","filterName","filterNameProperty","segment","mapIsReady","trekId"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.4.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"8LAaA,SAASA,EAAyBC,GAC9B,IAAIC,EAAIC,EAAIC,EACZ,OAAQA,GAAMD,GAAMD,EAAKD,EAAII,QAAU,MAAQH,SAAY,OAAS,EAAIA,EAAGI,cAAc,6BAA+B,MAAQH,SAAY,OAAS,EAAIA,EAAGI,aAAa,cAAgB,MAAQH,SAAY,EAAIA,EAAKI,SAC1N,CAEA,IAAMC,EAA2B,SAACC,GAAc,qBAAAC,OAAeD,EAAUE,QAAQ,QAAS,KAA1C,EAChD,IAAMC,EAAe,WAMK,CAGlBC,EAAIC,UAAYC,EAAIC,S,CAkBxB,IAAMC,EAIAC,MAAMC,KAAKnB,EAAIoB,iBAAiB,WA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hC,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAC,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAF,gBAAA,uBAAAuB,yBAAA,kCAAAlC,QAAA,IAAAwB,YAAA,oBAAAY,YAAA,KAAAC,WAAA,KAAAC,MAAA,KAAAC,SAAA,KAAAhD,OAAA,KAAAkD,OAAA,KAAAC,QAAA,KAAAC,gBAAA,KAAAC,mBAAA,KAAAd,kBAAA,KAAA1C,OAAA,KAAAP,QAAA,4BAAAoB,gBAAA,wBAAAG,eAAA,uBAAAK,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAW,YAAA,oBAAAU,yBAAA,kCAAAW,eAAA,wBAAAC,WAAA,kBAAAC,WAAA,kBAAAC,mBAAA,2BAAAC,QAAA,wDAAApD,UAAA,iBAAAC,SAAA,gBAAAC,iBAAA,wBAAAJ,OAAA,IAAAC,KAAA,IAAAK,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAG,gBAAA,uBAAAK,cAAA,sBAAAC,mBAAA,2BAAAC,aAAA,qBAAAC,YAAA,mBAAAe,yBAAA,kCAAAV,YAAA,oBAAA0B,WAAA,ijBAAAhE,UAAA,IAAAD,IAAA,IAAAkE,OAAA,yCAAAjE,UAAA,IAAAD,IAAA,IAAAE,OAAA,cAAAC,OAAA,IAAAC,UAAA,IAAAC,WAAA,IAAAC,OAAA,IAAAC,QAAA,IAAAC,OAAA,IAAAC,UAAA,SAAAb,EAC9D,G"}
@@ -0,0 +1,2 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){var i=e("t",{fr:{filter:"Filtrer",practice:"Pratique",difficulty:"Difficulté",duration:"Durée",length:"Longueur",treks:"randonnées",trek:"randonnée",showList:"Voir la liste",showMap:"Voir la carte",showRoute:"Voir l'itinéraire",showDetails:"Voir la fiche",downloads:"Téléchargements",description:"Description",departure:"Départ",arrival:"Arrivée",elevationProfile:"Profil altimétrique",roadAccess:"Accès routier",transport:"Transport",recommendations:"Recommandations",recommendedParking:"Parking conseillé",equipments:"Équipements",environmentalSensitiveAreas:"Zones de sensibilité environnementale",informationPlaces:"Lieux de renseignement",accessibility:"Accessibilité",accessibilityLevel:"Niveau d'accessibilité",accessibilitySlope:"Pente",accessibilityWidth:"Largeur",accessibilitySignage:"Signalisation",accessibilityCovering:"Revêtement",accessibilityExposure:"Exposition",accessibilityAdvices:"Conseils",pois:function(e){return"Les ".concat(e," patrimoines à découvrir")},touristicContents:function(e){return"À proximité (".concat(e,")")},sources:"Sources",cities:"Communes traversées",options:{presentation:"Présentation",description:"Description",recommendations:"Recommandations",environmentalSensitiveAreas:"Zones sensibles",informationPlaces:"Lieux d'informations",pois:"Patrimoines",steps:"Étapes",touristicContents:"À proximité"},layers:{pointsReference:"Points de référence",parking:"Parking conseillé",sensitiveArea:"Zones de sensibilité environnementale",informationPlaces:"Lieux de renseignement",pois:"Patrimoines",steps:"Étapes",touristicContents:"À proximité"},themes:"Thèmes",routes:"Type de parcours",elevation:"Denivelé positif",activities:"Activités",districts:"Secteurs",erase:"Effacer",ok:"Ok",location:"Localisation",steps:"étapes"},en:{filter:"Filter",practice:"Practice",difficulty:"Difficulty",duration:"Duration",length:"Length",treks:"Hikes",trek:"Hike",showList:"Show the list",showMap:"Show the map",showRoute:"Show the route",showDetails:"Show the details",downloads:"Downloads",description:"Description",departure:"Departure",arrival:"Arrival",elevationProfile:"Elevation profile",roadAccess:"Road acess",transport:"Transport",recommendations:"Recommendations",recommendedParking:"Parking recommended",equipments:"Equipements",environmentalSensitiveAreas:"Areas of environmental sensitivity",informationPlaces:"Information places",accessibility:"Accessibility",accessibilityLevel:"Accessibility level",accessibilitySlope:"Slope",accessibilityWidth:"Width",accessibilitySignage:"Signage",accessibilityCovering:"Covering",accessibilityExposure:"Exposure",accessibilityAdvices:"Advices",pois:function(e){return"".concat(e," points of interest")},touristicContents:function(e){return"Near (".concat(e,")")},sources:"Sources",cities:"Cities crossed",options:{presentation:"Presentation",description:"Description",recommendations:"Recommendations",environmentalSensitiveAreas:"Sensitive areas",informationPlaces:"Information places",pois:"Points of interest",steps:"Steps",touristicContents:"Near"},layers:{pointsReference:"Reference points",parking:"Parking",sensitiveArea:"Sensitive areas",informationPlaces:"Information places",pois:"Points of interest",steps:"Steps",touristicContents:"Near"},themes:"Themes",routes:"Type of course",elevation:"Positive elevation",activities:"Activities",districts:"Districts",erase:"Erase",ok:"Ok",location:"Location",steps:"steps"}})}}}));
2
+ //# sourceMappingURL=p-291b7192.system.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["translate","exports","fr","filter","practice","difficulty","duration","length","treks","trek","showList","showMap","showRoute","showDetails","downloads","description","departure","arrival","elevationProfile","roadAccess","transport","recommendations","recommendedParking","equipments","environmentalSensitiveAreas","informationPlaces","accessibility","accessibilityLevel","accessibilitySlope","accessibilityWidth","accessibilitySignage","accessibilityCovering","accessibilityExposure","accessibilityAdvices","pois","poisLength","concat","touristicContents","touristicContentsLength","sources","cities","options","presentation","steps","layers","pointsReference","parking","sensitiveArea","themes","routes","elevation","activities","districts","erase","ok","location","en"],"sources":["src/i18n/i18n.ts"],"sourcesContent":["interface Translation {\n filter: string;\n practice: string;\n difficulty: string;\n duration: string;\n length: string;\n treks: string;\n trek: string;\n showList: string;\n showMap: string;\n showRoute: string;\n showDetails: string;\n downloads: string;\n description: string;\n departure: string;\n arrival: string;\n elevationProfile: string;\n roadAccess: string;\n transport: string;\n recommendations: string;\n recommendedParking: string;\n equipments: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n accessibility: string;\n accessibilityLevel: string;\n accessibilitySlope: string;\n accessibilityWidth: string;\n accessibilitySignage: string;\n accessibilityCovering: string;\n accessibilityExposure: string;\n accessibilityAdvices: string;\n pois: Function;\n touristicContents: Function;\n sources: string;\n cities: string;\n options: {\n presentation: string;\n description: string;\n recommendations: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n };\n layers: {\n pointsReference: string;\n parking: string;\n sensitiveArea: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n };\n themes: string;\n routes: string;\n elevation: string;\n activities: string;\n districts: string;\n erase: string;\n ok: string;\n location: string;\n steps: string;\n}\n\ninterface AvailableTranslations {\n fr: Translation;\n en: Translation;\n}\n\nexport const translate: AvailableTranslations = {\n fr: {\n filter: 'Filtrer',\n practice: 'Pratique',\n difficulty: 'Difficulté',\n duration: 'Durée',\n length: 'Longueur',\n treks: 'randonnées',\n trek: 'randonnée',\n showList: 'Voir la liste',\n showMap: 'Voir la carte',\n showRoute: \"Voir l'itinéraire\",\n showDetails: 'Voir la fiche',\n downloads: 'Téléchargements',\n description: 'Description',\n departure: 'Départ',\n arrival: 'Arrivée',\n elevationProfile: 'Profil altimétrique',\n roadAccess: 'Accès routier',\n transport: 'Transport',\n recommendations: 'Recommandations',\n recommendedParking: 'Parking conseillé',\n equipments: 'Équipements',\n environmentalSensitiveAreas: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n accessibility: 'Accessibilité',\n accessibilityLevel: \"Niveau d'accessibilité\",\n accessibilitySlope: 'Pente',\n accessibilityWidth: 'Largeur',\n accessibilitySignage: 'Signalisation',\n accessibilityCovering: 'Revêtement',\n accessibilityExposure: 'Exposition',\n accessibilityAdvices: 'Conseils',\n pois: (poisLength: number) => `Les ${poisLength} patrimoines à découvrir`,\n touristicContents: (touristicContentsLength: number) => `À proximité (${touristicContentsLength})`,\n sources: 'Sources',\n cities: 'Communes traversées',\n options: {\n presentation: 'Présentation',\n description: 'Description',\n recommendations: 'Recommandations',\n environmentalSensitiveAreas: 'Zones sensibles',\n informationPlaces: \"Lieux d'informations\",\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n },\n layers: {\n pointsReference: 'Points de référence',\n parking: 'Parking conseillé',\n sensitiveArea: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n },\n themes: 'Thèmes',\n routes: 'Type de parcours',\n elevation: 'Denivelé positif',\n activities: 'Activités',\n districts: 'Secteurs',\n erase: 'Effacer',\n ok: 'Ok',\n location: 'Localisation',\n steps: 'étapes',\n },\n en: {\n filter: 'Filter',\n practice: 'Practice',\n difficulty: 'Difficulty',\n duration: 'Duration',\n length: 'Length',\n treks: 'Hikes',\n trek: 'Hike',\n showList: 'Show the list',\n showMap: 'Show the map',\n showRoute: 'Show the route',\n showDetails: 'Show the details',\n downloads: 'Downloads',\n description: 'Description',\n departure: 'Departure',\n arrival: 'Arrival',\n elevationProfile: 'Elevation profile',\n roadAccess: 'Road acess',\n transport: 'Transport',\n recommendations: 'Recommendations',\n recommendedParking: 'Parking recommended',\n equipments: 'Equipements',\n environmentalSensitiveAreas: 'Areas of environmental sensitivity',\n informationPlaces: 'Information places',\n accessibility: 'Accessibility',\n accessibilityLevel: 'Accessibility level',\n accessibilitySlope: 'Slope',\n accessibilityWidth: 'Width',\n accessibilitySignage: 'Signage',\n accessibilityCovering: 'Covering',\n accessibilityExposure: 'Exposure',\n accessibilityAdvices: 'Advices',\n pois: (poisLength: number) => `${poisLength} points of interest`,\n touristicContents: (touristicContentsLength: number) => `Near (${touristicContentsLength})`,\n sources: 'Sources',\n cities: 'Cities crossed',\n options: {\n presentation: 'Presentation',\n description: 'Description',\n recommendations: 'Recommendations',\n environmentalSensitiveAreas: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n },\n layers: {\n pointsReference: 'Reference points',\n parking: 'Parking',\n sensitiveArea: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n },\n themes: 'Themes',\n routes: 'Type of course',\n elevation: 'Positive elevation',\n activities: 'Activities',\n districts: 'Districts',\n erase: 'Erase',\n ok: 'Ok',\n location: 'Location',\n steps: 'steps',\n },\n};\n"],"mappings":"2EAuEaA,EAASC,EAAA,IAA0B,CAC9CC,GAAI,CACFC,OAAQ,UACRC,SAAU,WACVC,WAAY,aACZC,SAAU,QACVC,OAAQ,WACRC,MAAO,aACPC,KAAM,YACNC,SAAU,gBACVC,QAAS,gBACTC,UAAW,oBACXC,YAAa,gBACbC,UAAW,kBACXC,YAAa,cACbC,UAAW,SACXC,QAAS,UACTC,iBAAkB,sBAClBC,WAAY,gBACZC,UAAW,YACXC,gBAAiB,kBACjBC,mBAAoB,oBACpBC,WAAY,cACZC,4BAA6B,wCAC7BC,kBAAmB,yBACnBC,cAAe,gBACfC,mBAAoB,yBACpBC,mBAAoB,QACpBC,mBAAoB,UACpBC,qBAAsB,gBACtBC,sBAAuB,aACvBC,sBAAuB,aACvBC,qBAAsB,WACtBC,KAAM,SAACC,GAAuB,aAAAC,OAAOD,EAAU,2BAAjB,EAC9BE,kBAAmB,SAACC,GAAoC,sBAAAF,OAAgBE,EAAuB,IAAvC,EACxDC,QAAS,UACTC,OAAQ,sBACRC,QAAS,CACPC,aAAc,eACd3B,YAAa,cACbM,gBAAiB,kBACjBG,4BAA6B,kBAC7BC,kBAAmB,uBACnBS,KAAM,cACNS,MAAO,SACPN,kBAAmB,eAErBO,OAAQ,CACNC,gBAAiB,sBACjBC,QAAS,oBACTC,cAAe,wCACftB,kBAAmB,yBACnBS,KAAM,cACNS,MAAO,SACPN,kBAAmB,eAErBW,OAAQ,SACRC,OAAQ,mBACRC,UAAW,mBACXC,WAAY,YACZC,UAAW,WACXC,MAAO,UACPC,GAAI,KACJC,SAAU,eACVZ,MAAO,UAETa,GAAI,CACFrD,OAAQ,SACRC,SAAU,WACVC,WAAY,aACZC,SAAU,WACVC,OAAQ,SACRC,MAAO,QACPC,KAAM,OACNC,SAAU,gBACVC,QAAS,eACTC,UAAW,iBACXC,YAAa,mBACbC,UAAW,YACXC,YAAa,cACbC,UAAW,YACXC,QAAS,UACTC,iBAAkB,oBAClBC,WAAY,aACZC,UAAW,YACXC,gBAAiB,kBACjBC,mBAAoB,sBACpBC,WAAY,cACZC,4BAA6B,qCAC7BC,kBAAmB,qBACnBC,cAAe,gBACfC,mBAAoB,sBACpBC,mBAAoB,QACpBC,mBAAoB,QACpBC,qBAAsB,UACtBC,sBAAuB,WACvBC,sBAAuB,WACvBC,qBAAsB,UACtBC,KAAM,SAACC,GAAuB,SAAAC,OAAGD,EAAU,sBAAb,EAC9BE,kBAAmB,SAACC,GAAoC,eAAAF,OAASE,EAAuB,IAAhC,EACxDC,QAAS,UACTC,OAAQ,iBACRC,QAAS,CACPC,aAAc,eACd3B,YAAa,cACbM,gBAAiB,kBACjBG,4BAA6B,kBAC7BC,kBAAmB,qBACnBS,KAAM,qBACNS,MAAO,QACPN,kBAAmB,QAErBO,OAAQ,CACNC,gBAAiB,mBACjBC,QAAS,UACTC,cAAe,kBACftB,kBAAmB,qBACnBS,KAAM,qBACNS,MAAO,QACPN,kBAAmB,QAErBW,OAAQ,SACRC,OAAQ,iBACRC,UAAW,qBACXC,WAAY,aACZC,UAAW,YACXC,MAAO,QACPC,GAAI,KACJC,SAAU,WACVZ,MAAO,U"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as i,H as r,g as s}from"./p-b4e1f9ae.js";import{t as n}from"./p-e653caed.js";import{s as o,o as a,r as l}from"./p-5a6577cd.js";import{f as c,h}from"./p-d0083a9b.js";const d='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:"Roboto";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:64px}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.options-container{height:100%;position:absolute;width:100%;z-index:1100;top:0px}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.handle-search-filters-container .handle-filters-button span{font-size:18px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.filters-container{background-color:var(--color-background);position:relative;width:100%;height:100%;z-index:1100}.filters-container .segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.filters-container .segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.filters-container .segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.filters-container .segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.filters-container .segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.filters-container .segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}.filters-segment-container{overflow-y:scroll;padding-bottom:32px;max-height:calc(100% - 64px - 32px)}.back-filters-container{background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:absolute;z-index:1099}.divider{margin:16px;border-top:1px solid var(--color-outline)}.init-loader-container,.loader-container,.large-view-loader-container{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)}.init-loader-container .loader,.loader-container .loader,.large-view-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - 64px);background-color:var(--color-background)}.content-treks{height:calc(100% - 64px)}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list{max-height:calc(100vh - 64px)}grw-trek-detail{max-height:calc(100vh - 64px - 48px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.filters-options-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;margin:0px 16px}.filters-options-container .filters-options-buttons-container{display:-ms-flexbox;display:flex}.filters-options-container .filters-options-buttons-container .filter-option-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;margin:8px 0px 0px 8px;padding:8px 16px;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary);background-color:transparent}.segment-container{margin-bottom:64px}.filter-container:not(:last-child)::after{content:"";display:block;margin:16px;border-top:1px solid var(--color-outline)}';const p=class{constructor(i){e(this,i);this.resetFilter=t(this,"resetFilter",7);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTreksMap=false;this.showTrekMap=false;this.showFilters=false;this.isLargeView=false;this.selectedSegment="selectedActivitiesFilters";this.currentTrekId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.center=undefined;this.zoom=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.colorPrimaryApp="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorPoiIcon="#974c6e";this.useGradient=false}onTrekCardPress(e){const t=o.parentTrekId?o.parentTrekId:o.currentTrekSteps?this.currentTrekId:null;o.currentTrek=null;this.currentTrekId=e.detail;this.showTrek=true;this.showTrekMap=false;const i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());if(o.currentTrekSteps){i.searchParams.set("parentTrek",t.toString())}window.history.pushState({},"",i)}onParentTrekPress(e){o.currentTrek=null;this.currentTrekId=e.detail;this.showTrek=true;this.showTrekMap=false;const t=new URL(window.location.toString());t.searchParams.set("trek",this.currentTrekId.toString());t.searchParams.delete("parentTrek");window.history.pushState({},"",t)}onWindowResize(){this.handleView()}onCenterOnMap(){if(!this.isLargeView){this.showTrekMap=true}}watchPropHandler(){window.dispatchEvent(new window.Event("resize"))}componentWillLoad(){const e=new URL(window.location.toString());const t=e.searchParams.get("trek");const i=e.searchParams.get("parentTrek");if(t){window.history.replaceState({isInitialHistoryWithTrek:true},"",e);o.parentTrekId=i?Number(i):null;this.currentTrekId=Number(t);this.showTrek=!this.showTrek}}componentDidLoad(){a("trekNetworkError",(()=>{if(o.trekNetworkError){const e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.delete("parentTrek");window.history.replaceState({},"",e);this.onTrekDetailsClose()}}));window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()}onTrekDetailsClose(){o.currentTrek=null;o.currentTrekSteps=null;o.parentTrekId=null;this.currentTrekId=null;this.showTrek=!this.showTrek}handleView(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showTreksMap=this.isLargeView;this.showTrekMap=this.isLargeView}handleFilters(){this.showFilters=!this.showFilters}handleBackButton(){if(window.history.state&&window.history.state.isInitialHistoryWithTrek){this.onTrekDetailsClose();const e=new URL(window.location.toString());e.searchParams.delete("trek");window.history.pushState({},"",e)}else{window.history.back()}}handlePopState(){const e=new URL(window.location.toString());const t=Number(e.searchParams.get("trek"));if(t&&this.currentTrekId!==t){o.currentTrek=null;this.currentTrekId=t;this.showTrek=true}else if(!t){this.onTrekDetailsClose()}}handleShowMap(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else{this.showTreksMap=!this.showTreksMap}}handleEraseFilters(){c.forEach((e=>{o[e.property].forEach((e=>e.selected=false))}));o.selectedActivitiesFilters=0;o.selectedThemesFilters=0;o.selectedLocationFilters=0;o.currentTreks=h();this.resetFilter.emit()}handleOkFilters(){this.handleFilters()}disconnectedCallback(){l();window.removeEventListener("popstate",this.handlePopStateBind)}handleSelectedSegment(e){this.selectedSegment=e}handleSegment(e){return c.filter((t=>t.segment===e)).some((e=>o[e.property]&&o[e.property].length>0))}render(){return i(r,{style:{"--color-primary-app":this.colorPrimaryApp,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--app-width":this.appWidth,"--app-height":this.appHeight}},!o.currentTreks&&!o.currentTrek&&i("div",{class:"init-loader-container"},i("span",{class:"loader"})),!this.showTrek&&!o.treks&&i("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&&!o.currentTrek&&i("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId}),(o.currentTreks||o.currentTrek)&&i("div",{class:"app-container"},i("div",{class:this.isLargeView?"large-view-header-container":"header-container"},!this.showTrek?i("div",{class:"handle-search-filters-container"},i("div",{class:"handle-search-container"},i("grw-search",null)),i("div",{class:"handle-filters-container"},i("button",{onClick:()=>this.handleFilters(),class:"handle-filters-button"},i("span",{class:"material-symbols material-symbols-outlined margin-right-icon"},"filter_list"),n[o.language].filter))):i("div",{class:"arrow-back-container"},i("button",{onClick:()=>this.handleBackButton(),class:"arrow-back-icon"},i("span",{class:"material-symbols material-symbols-outlined"},"arrow_back")))),i("div",{class:`content-container ${this.showTrek?"content-trek":"content-treks"}`},i("div",{class:this.isLargeView?"large-view-app-treks-list-container":"app-treks-list-container",style:{display:this.showTrek?"none":"flex",position:this.showTrek?"absolute":"relative"}},i("grw-treks-list",{"reset-store-on-disconnected":"false","is-large-view":this.isLargeView,"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&&!o.currentTrek&&i("div",{class:this.isLargeView?"large-view-loader-container":"loader-container"},i("span",{class:"loader"})),o.currentTrek&&i("div",{class:this.isLargeView?"large-view-app-trek-detail-container":"app-trek-detail-container"},i("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"reset-store-on-disconnected":"false","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})),i("grw-map",{"reset-store-on-disconnected":"false",class:this.isLargeView?"large-view-app-map-container":"app-map-container",style:{visibility:this.showTreksMap&&!this.showTrek||this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:this.showTrekMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"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.showTrek&&o.currentTrek)&&i("div",{class:"map-visibility-button-container"},i("button",{onClick:()=>this.handleShowMap(),class:"map-visibility-button",style:{display:this.isLargeView?"none":"flex"}},i("span",{class:"material-symbols material-symbols-outlined"},this.showTrek?this.showTrekMap?"summarize":"map":this.showTreksMap?"list":"map"),this.showTrek?this.showTrekMap?n[o.language].showDetails:n[o.language].showRoute:this.showTreksMap?n[o.language].showList:n[o.language].showMap))),!this.showTrek&&this.showFilters&&i("div",{class:"options-container"},i("div",{class:"filters-container"},i("div",{class:"filters-options-container"},o.treksWithinBounds&&i("div",{class:"current-treks-within-bounds-length"},`${o.treksWithinBounds.length} ${o.treksWithinBounds.length>1?n[o.language].treks:n[o.language].trek}`),i("div",{class:"filters-options-buttons-container"},i("button",{class:"filter-option-button",onClick:()=>this.handleEraseFilters()},n[o.language].erase),i("button",{class:"filter-option-button",onClick:()=>this.handleOkFilters()},n[o.language].ok))),i("div",{class:"segmented-buttons-container"},this.handleSegment("selectedActivitiesFilters")&&i("label",{class:`segment${this.selectedSegment==="selectedActivitiesFilters"?" selected-segment":""}`,onClick:()=>this.handleSelectedSegment("selectedActivitiesFilters")},n[o.language].activities," ",o.selectedActivitiesFilters!==0&&`(${o.selectedActivitiesFilters})`),this.handleSegment("selectedThemesFilters")&&i("label",{class:`segment${this.selectedSegment==="selectedThemesFilters"?" selected-segment":""}`,onClick:()=>this.handleSelectedSegment("selectedThemesFilters")},n[o.language].themes," ",o.selectedThemesFilters!==0&&`(${o.selectedThemesFilters})`),this.handleSegment("selectedLocationFilters")&&i("label",{class:`segment${this.selectedSegment==="selectedLocationFilters"?" selected-segment":""}`,onClick:()=>this.handleSelectedSegment("selectedLocationFilters")},n[o.language].location," ",o.selectedLocationFilters!==0&&`(${o.selectedLocationFilters})`)),i("div",{class:"filters-segment-container"},this.selectedSegment==="selectedActivitiesFilters"&&i("div",{class:"segment-container"},o["practices"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].practice,filterType:"practices",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),o["difficulties"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].difficulty,filterType:"difficulties",filterNameProperty:"label",segment:"selectedActivitiesFilters"})),o["durations"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].duration,filterType:"durations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),o["lengths"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].length,filterType:"lengths",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),o["elevations"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].elevation,filterType:"elevations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),o["routes"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].routes,filterType:"routes",filterNameProperty:"route",segment:"selectedActivitiesFilters"})),o["accessibilities"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].accessibility,filterType:"accessibilities",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),o["labels"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].activities,filterType:"labels",filterNameProperty:"name",segment:"selectedActivitiesFilters"}))),this.selectedSegment==="selectedThemesFilters"&&i("div",{class:"segment-container"},o["themes"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].themes,filterType:"themes",filterNameProperty:"label",segment:"selectedThemesFilters"}))),this.selectedSegment==="selectedLocationFilters"&&i("div",{class:"segment-container"},o["districts"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].districts,filterType:"districts",filterNameProperty:"name",segment:"selectedLocationFilters"})),o["cities"].length>0&&i("div",{class:"filter-container"},i("grw-filter",{filterName:n[o.language].cities,filterType:"cities",filterNameProperty:"name",segment:"selectedLocationFilters"}))))),i("div",{onClick:()=>this.handleFilters(),class:"back-filters-container"})))}get appElement(){return s(this)}static get watchers(){return{isLargeView:["watchPropHandler"]}}};p.style=d;export{p as grw_app};
2
+ //# sourceMappingURL=p-370f741f.entry.js.map