@geotrekce/geotrek-rando-widget 0.30.5 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/cjs/grw-app.cjs.entry.js +11 -11
  2. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  3. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  4. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  5. package/dist/cjs/grw-common-button_23.cjs.entry.js +67 -68
  6. package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
  7. package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
  8. package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
  9. package/dist/cjs/grw-details-modal_8.cjs.entry.js +2 -2
  10. package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
  11. package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
  12. package/dist/cjs/grw-details-modal_8.cjs.entry.js.map +1 -1
  13. package/dist/collection/components/grw-app/grw-app.css +6 -10
  14. package/dist/collection/components/grw-app/grw-app.css.br +0 -0
  15. package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
  16. package/dist/collection/components/grw-app/grw-app.js +10 -10
  17. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  18. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  19. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  20. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.css +7 -2
  21. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.css.br +0 -0
  22. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.css.gz +0 -0
  23. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js +8 -8
  24. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.br +0 -0
  25. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.gz +0 -0
  26. package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.map +1 -1
  27. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.css +8 -2
  28. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.css.br +0 -0
  29. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.css.gz +0 -0
  30. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js +14 -14
  31. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.br +0 -0
  32. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.gz +0 -0
  33. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.map +1 -1
  34. package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.css +7 -1
  35. package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.css.br +0 -0
  36. package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.css.gz +0 -0
  37. package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js +1 -1
  38. package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js.br +0 -0
  39. package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js.gz +0 -0
  40. package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js.map +1 -1
  41. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +7 -2
  42. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
  43. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
  44. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +7 -1
  45. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.br +0 -0
  46. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.gz +0 -0
  47. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +1 -1
  48. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
  49. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
  50. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.map +1 -1
  51. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +7 -2
  52. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.br +0 -0
  53. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.gz +0 -0
  54. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css +7 -1
  55. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.br +0 -0
  56. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.gz +0 -0
  57. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js +1 -1
  58. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.br +0 -0
  59. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.gz +0 -0
  60. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.map +1 -1
  61. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +8 -2
  62. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
  63. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
  64. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +34 -35
  65. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  66. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  67. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  68. package/dist/collection/components/grw-treks-list/grw-treks-list.css +7 -1
  69. package/dist/collection/components/grw-treks-list/grw-treks-list.css.br +0 -0
  70. package/dist/collection/components/grw-treks-list/grw-treks-list.css.gz +0 -0
  71. package/dist/collection/components/grw-treks-list/grw-treks-list.js +1 -1
  72. package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
  73. package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
  74. package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
  75. package/dist/esm/grw-app.entry.js +11 -11
  76. package/dist/esm/grw-app.entry.js.br +0 -0
  77. package/dist/esm/grw-app.entry.js.gz +0 -0
  78. package/dist/esm/grw-app.entry.js.map +1 -1
  79. package/dist/esm/grw-common-button_23.entry.js +67 -68
  80. package/dist/esm/grw-common-button_23.entry.js.br +0 -0
  81. package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
  82. package/dist/esm/grw-common-button_23.entry.js.map +1 -1
  83. package/dist/esm/grw-details-modal_8.entry.js +2 -2
  84. package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
  85. package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
  86. package/dist/esm/grw-details-modal_8.entry.js.map +1 -1
  87. package/dist/esm-es5/grw-app.entry.js +1 -1
  88. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  89. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  90. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  91. package/dist/esm-es5/grw-common-button_23.entry.js +2 -2
  92. package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
  93. package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
  94. package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
  95. package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
  96. package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
  97. package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
  98. package/dist/esm-es5/grw-details-modal_8.entry.js.map +1 -1
  99. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  100. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  101. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  102. package/dist/geotrek-rando-widget/p-1e795ee8.system.entry.js +2 -0
  103. package/dist/geotrek-rando-widget/p-1e795ee8.system.entry.js.br +0 -0
  104. package/dist/geotrek-rando-widget/p-1e795ee8.system.entry.js.gz +0 -0
  105. package/dist/geotrek-rando-widget/p-1e795ee8.system.entry.js.map +1 -0
  106. package/dist/geotrek-rando-widget/{p-1003cebb.entry.js → p-6c19344a.entry.js} +2 -2
  107. package/dist/geotrek-rando-widget/p-6c19344a.entry.js.br +0 -0
  108. package/dist/geotrek-rando-widget/{p-1003cebb.entry.js.gz → p-6c19344a.entry.js.gz} +0 -0
  109. package/dist/geotrek-rando-widget/p-6c19344a.entry.js.map +1 -0
  110. package/dist/geotrek-rando-widget/p-71ab99db.system.entry.js +2 -0
  111. package/dist/geotrek-rando-widget/p-71ab99db.system.entry.js.br +0 -0
  112. package/dist/geotrek-rando-widget/p-71ab99db.system.entry.js.gz +0 -0
  113. package/dist/geotrek-rando-widget/p-71ab99db.system.entry.js.map +1 -0
  114. package/dist/geotrek-rando-widget/p-Tuqj6IZY.system.js +1 -1
  115. package/dist/geotrek-rando-widget/p-Tuqj6IZY.system.js.br +0 -0
  116. package/dist/geotrek-rando-widget/p-Tuqj6IZY.system.js.gz +0 -0
  117. package/dist/geotrek-rando-widget/p-a5290f23.entry.js +2 -0
  118. package/dist/geotrek-rando-widget/p-a5290f23.entry.js.br +0 -0
  119. package/dist/geotrek-rando-widget/p-a5290f23.entry.js.gz +0 -0
  120. package/dist/geotrek-rando-widget/p-a5290f23.entry.js.map +1 -0
  121. package/dist/geotrek-rando-widget/p-ea4c5b43.entry.js +2 -0
  122. package/dist/geotrek-rando-widget/p-ea4c5b43.entry.js.br +0 -0
  123. package/dist/geotrek-rando-widget/p-ea4c5b43.entry.js.gz +0 -0
  124. package/dist/geotrek-rando-widget/p-ea4c5b43.entry.js.map +1 -0
  125. package/dist/geotrek-rando-widget/{p-9d9f2d4f.system.entry.js → p-fb5e0b9b.system.entry.js} +2 -2
  126. package/dist/geotrek-rando-widget/p-fb5e0b9b.system.entry.js.br +0 -0
  127. package/dist/geotrek-rando-widget/{p-9d9f2d4f.system.entry.js.gz → p-fb5e0b9b.system.entry.js.gz} +0 -0
  128. package/dist/geotrek-rando-widget/p-fb5e0b9b.system.entry.js.map +1 -0
  129. package/package.json +1 -1
  130. package/dist/geotrek-rando-widget/p-05b652d3.system.entry.js +0 -2
  131. package/dist/geotrek-rando-widget/p-05b652d3.system.entry.js.br +0 -0
  132. package/dist/geotrek-rando-widget/p-05b652d3.system.entry.js.gz +0 -0
  133. package/dist/geotrek-rando-widget/p-05b652d3.system.entry.js.map +0 -1
  134. package/dist/geotrek-rando-widget/p-1003cebb.entry.js.br +0 -0
  135. package/dist/geotrek-rando-widget/p-1003cebb.entry.js.map +0 -1
  136. package/dist/geotrek-rando-widget/p-38287f62.entry.js +0 -2
  137. package/dist/geotrek-rando-widget/p-38287f62.entry.js.br +0 -0
  138. package/dist/geotrek-rando-widget/p-38287f62.entry.js.gz +0 -0
  139. package/dist/geotrek-rando-widget/p-38287f62.entry.js.map +0 -1
  140. package/dist/geotrek-rando-widget/p-90ef2a19.entry.js +0 -2
  141. package/dist/geotrek-rando-widget/p-90ef2a19.entry.js.br +0 -0
  142. package/dist/geotrek-rando-widget/p-90ef2a19.entry.js.gz +0 -0
  143. package/dist/geotrek-rando-widget/p-90ef2a19.entry.js.map +0 -1
  144. package/dist/geotrek-rando-widget/p-9d9f2d4f.system.entry.js.br +0 -0
  145. package/dist/geotrek-rando-widget/p-9d9f2d4f.system.entry.js.map +0 -1
  146. package/dist/geotrek-rando-widget/p-d32e6c1c.system.entry.js +0 -2
  147. package/dist/geotrek-rando-widget/p-d32e6c1c.system.entry.js.br +0 -0
  148. package/dist/geotrek-rando-widget/p-d32e6c1c.system.entry.js.gz +0 -0
  149. package/dist/geotrek-rando-widget/p-d32e6c1c.system.entry.js.map +0 -1
@@ -7,7 +7,7 @@ var store = require('./store-ByoGdPY8.js');
7
7
 
8
8
  var ArrowBackIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>`;
9
9
 
10
- const grwAppCss = () => `grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages))}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages) - var(--header-with-offline))}.grw-content-trek{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4;pointer-events:none}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:100%}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:100%}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}`;
10
+ const grwAppCss = () => `grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages))}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;min-height:0;overflow:hidden}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4;pointer-events:none}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:100%}grw-trek-detail{position:relative;max-height:100%}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail,grw-outdoor-course-detail{position:relative;max-height:100%}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}`;
11
11
 
12
12
  const GrwApp = class {
13
13
  constructor(hostRef) {
@@ -463,13 +463,13 @@ const GrwApp = class {
463
463
  !this.showTouristicContent &&
464
464
  !this.showTouristicEvent &&
465
465
  !this.showOutdoorSite &&
466
- !this.showOutdoorCourse && (index.h("grw-segmented-segment", { key: 'ec1a14c048703e6b77e301cef21d47df0b322c51', "font-family": this.fontFamily, treks: this.treks, touristicContents: this.touristicContents, touristicEvents: this.touristicEvents, outdoor: this.outdoor })), !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (index.h(index.Fragment, null, index.h("div", { class: "grw-handle-search-filters-container" }, index.h("div", { class: "grw-handle-search-container" }, index.h("grw-search", { "font-family": this.fontFamily })), index.h("div", { class: "grw-handle-filters-container" }, index.h("grw-common-button", { exportparts: "common-button,common-button-icon,common-button-label", "font-family": this.fontFamily, action: () => this.handleFilters(), icon: 'filter_list', name: this.getFiltersName() }))), this.enableOffline && (store.state.mode === 'treks' || store.state.mode === 'outdoor') && (index.h("div", { part: "grw-offline-container", class: "grw-offline-container" }, index.h("div", { class: "grw-offline-label" }, store.state.mode === 'treks' ? i18n.translate[store.state.language].onlyOfflineTreks : i18n.translate[store.state.language].onlyOfflineOutdoor), index.h("grw-switch", { exportparts: "common-button,common-button-icon,common-button-label", "font-family": this.fontFamily, action: () => this.handleOffline(), checked: store.state.mode === 'treks' ? store.state.offlineTreks : store.state.offlineOutdoorSites }))))) : (index.h("div", { class: "grw-arrow-back-container" }, index.h("button", { onClick: () => this.handleBackButton(), class: "grw-arrow-back-icon" }, index.h("span", { part: "icon", class: "icon", innerHTML: ArrowBackIcon }))))), index.h("div", { key: '557b745339ae0b4b7d2b4bc1d9854236d481ea1d', class: `grw-content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'grw-content-trek' : 'grw-content-treks'}` }, store.state.networkError && (index.h("div", { key: 'eb896c7d6849c944a3e179a5152c717003bc4abf', class: "grw-error-container" }, "Une erreur est survenue.", index.h("grw-common-button", { key: '7ad1f6b8c69866c4b6979d3c7daa941334847c55', exportparts: "common-button,common-button-icon,common-button-label", icon: "refresh", name: "Recharger la page", action: () => this.reload() }))), ((store.state.mode === 'treks' && this.treks && store.state.treks) ||
466
+ !this.showOutdoorCourse && (index.h("grw-segmented-segment", { key: 'ec1a14c048703e6b77e301cef21d47df0b322c51', "font-family": this.fontFamily, treks: this.treks, touristicContents: this.touristicContents, touristicEvents: this.touristicEvents, outdoor: this.outdoor })), !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (index.h(index.Fragment, null, index.h("div", { class: "grw-handle-search-filters-container" }, index.h("div", { class: "grw-handle-search-container" }, index.h("grw-search", { "font-family": this.fontFamily })), index.h("div", { class: "grw-handle-filters-container" }, index.h("grw-common-button", { exportparts: "common-button,common-button-icon,common-button-label", "font-family": this.fontFamily, action: () => this.handleFilters(), icon: 'filter_list', name: this.getFiltersName() }))), this.enableOffline && (store.state.mode === 'treks' || store.state.mode === 'outdoor') && (index.h("div", { part: "grw-offline-container", class: "grw-offline-container" }, index.h("div", { class: "grw-offline-label" }, store.state.mode === 'treks' ? i18n.translate[store.state.language].onlyOfflineTreks : i18n.translate[store.state.language].onlyOfflineOutdoor), index.h("grw-switch", { exportparts: "common-button,common-button-icon,common-button-label", "font-family": this.fontFamily, action: () => this.handleOffline(), checked: store.state.mode === 'treks' ? store.state.offlineTreks : store.state.offlineOutdoorSites }))))) : (index.h("div", { class: "grw-arrow-back-container" }, index.h("button", { onClick: () => this.handleBackButton(), class: "grw-arrow-back-icon" }, index.h("span", { part: "icon", class: "icon", innerHTML: ArrowBackIcon }))))), index.h("div", { key: '37240361a8e12e5e08f1b02da95e5b1837fa7871', class: "grw-content-container" }, store.state.networkError && (index.h("div", { key: '6acdc2140c0e62415bcc16b16472737f2beedfad', class: "grw-error-container" }, "Une erreur est survenue.", index.h("grw-common-button", { key: 'e5c499799be2b5d5543ecf9863c19c5bff1b2527', exportparts: "common-button,common-button-icon,common-button-label", icon: "refresh", name: "Recharger la page", action: () => this.reload() }))), ((store.state.mode === 'treks' && this.treks && store.state.treks) ||
467
467
  (store.state.mode === 'touristicContents' && this.touristicContents && store.state.touristicContents) ||
468
468
  (store.state.mode === 'touristicEvents' && this.touristicEvents && store.state.touristicEvents) ||
469
- (store.state.mode === 'outdoor' && this.outdoor && store.state.outdoorSites)) && (index.h("div", { key: '1cd1cf594d28eb2c6a3f0fd4df9de09792441cc6', class: this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container', style: {
469
+ (store.state.mode === 'outdoor' && this.outdoor && store.state.outdoorSites)) && (index.h("div", { key: '67b0131b7cbc526fd672ddabe5753a9abd37692f', class: this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container', style: {
470
470
  display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',
471
471
  position: this.showTrek ? 'absolute' : 'relative',
472
- } }, store.state.mode === 'treks' && this.treks && store.state.treks && (index.h("grw-treks-list", { key: 'a86143222866560b653d3a7ff34f967992bb1490', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "grw-app": true })), store.state.mode === 'touristicContents' && this.touristicContents && store.state.touristicContents && (index.h("grw-touristic-contents-list", { key: '9531f514885300646efad33e3824be142baf64b9', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), store.state.mode === 'touristicEvents' && this.touristicEvents && store.state.touristicEvents && (index.h("grw-touristic-events-list", { key: '4adda08a7ddc26acb8a486ee6f8298c74faa6d29', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), store.state.mode === 'outdoor' && this.outdoor && store.state.outdoorSites && (index.h("grw-outdoor-sites-list", { key: 'a4d48841e3d467abcd734334e53abe4de302acc2', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })))), ((this.showTrek && !store.state.currentTrek) ||
472
+ } }, store.state.mode === 'treks' && this.treks && store.state.treks && (index.h("grw-treks-list", { key: '578f8aef073fb13519904936d56b50510d936fd7', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "grw-app": true })), store.state.mode === 'touristicContents' && this.touristicContents && store.state.touristicContents && (index.h("grw-touristic-contents-list", { key: '531065eeb15db4dfa513a1f672bfcd6e08ffb6af', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), store.state.mode === 'touristicEvents' && this.touristicEvents && store.state.touristicEvents && (index.h("grw-touristic-events-list", { key: 'b1a9c5d7e3b4871994fce8a7af42f2893496c4b8', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), store.state.mode === 'outdoor' && this.outdoor && store.state.outdoorSites && (index.h("grw-outdoor-sites-list", { key: '70a91d0804ff76a3537b68ddacdb54cf1f0906ab', "is-large-view": this.isLargeView, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })))), ((this.showTrek && !store.state.currentTrek) ||
473
473
  (this.showTouristicContent && !store.state.currentTouristicContent) ||
474
474
  (this.showTouristicEvent && !store.state.currentTouristicEvent) ||
475
475
  (this.showOutdoorSite && !store.state.currentOutdoorSite) ||
@@ -477,22 +477,22 @@ const GrwApp = class {
477
477
  (!store.state.treks && store.state.mode === 'treks' && !this.showTrek) ||
478
478
  (!store.state.touristicContents && store.state.mode === 'touristicContents' && !this.showTouristicContent) ||
479
479
  (!store.state.touristicEvents && store.state.mode === 'touristicEvents' && !this.showTouristicEvent) ||
480
- (!store.state.outdoorSites && store.state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (index.h("div", { key: '8a507c6b993c5215e2232f555e4f1bf24f390700', class: this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container' }, index.h("grw-loader", { key: '5290acdc573f9e8eaca2c1bad19156a04004453d', exportparts: "loader", "color-primary-container": this.colorSecondaryContainer, "color-on-primary-container": this.colorOnSecondaryContainer }))), this.showTrek && store.state.currentTrek && (index.h("div", { key: 'bd9e49a3f9c01dc166ce0b008a715faba5a53ebd', class: this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container' }, index.h("grw-trek-detail", { key: 'e2ae144be7270d27a140ff00b7dd25465b28f2c4', style: {
480
+ (!store.state.outdoorSites && store.state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (index.h("div", { key: 'e0695681093238f2d5a79ef8e1a87b2bc77aa8c8', class: this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container' }, index.h("grw-loader", { key: 'db8f6e53e8fac6ef227f42b599be5bbd56a1bb5a', exportparts: "loader", "color-primary-container": this.colorSecondaryContainer, "color-on-primary-container": this.colorOnSecondaryContainer }))), this.showTrek && store.state.currentTrek && (index.h("div", { key: 'd53954bc41201d011555f190189599a795f2822e', class: this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container' }, index.h("grw-trek-detail", { key: '7a7908499fa79fa7c4560af854a886fa1f4f0fca', style: {
481
481
  visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',
482
482
  zIndex: !this.showTrekMap ? '1' : '0',
483
- }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, weather: this.weather, "is-large-view": this.isLargeView, "emergency-number": this.emergencyNumber, "default-background-layer-url": this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0], "default-background-layer-attribution": this.attributionLayer ? this.attributionLayer.split(',')[0] : [], "enable-offline": this.enableOffline, "global-tiles-min-zoom-offline": this.globalTilesMinZoomOffline, "global-tiles-max-zoom-offline": this.globalTilesMaxZoomOffline, "tiles-min-zoom-offline": this.tilesMinZoomOffline, "tiles-max-zoom-offline": this.tilesMaxZoomOffline, "grw-app": true, rounded: this.rounded }), index.h("grw-offline-confirm-modal", { key: '474818d2d82f13ef9af8e734ed2bae9e4f1091e1', mode: "treks" }))), this.showTouristicContent && store.state.currentTouristicContent && (index.h("div", { key: '9a7047fa2b233ce6bcd405c656b5bb8d5c71e7f3', class: this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container' }, index.h("grw-touristic-content-detail", { key: 'a3ae87bea6a5bda9a17bd820d233dee5ec9cead5', style: {
483
+ }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, weather: this.weather, "is-large-view": this.isLargeView, "emergency-number": this.emergencyNumber, "default-background-layer-url": this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0], "default-background-layer-attribution": this.attributionLayer ? this.attributionLayer.split(',')[0] : [], "enable-offline": this.enableOffline, "global-tiles-min-zoom-offline": this.globalTilesMinZoomOffline, "global-tiles-max-zoom-offline": this.globalTilesMaxZoomOffline, "tiles-min-zoom-offline": this.tilesMinZoomOffline, "tiles-max-zoom-offline": this.tilesMaxZoomOffline, "grw-app": true, rounded: this.rounded }), index.h("grw-offline-confirm-modal", { key: '024811103050ad4227ad2c237c63fbf591af4306', mode: "treks" }))), this.showTouristicContent && store.state.currentTouristicContent && (index.h("div", { key: '79804cad72f0aee50fde6ef58f14aa8c811b16a0', class: this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container' }, index.h("grw-touristic-content-detail", { key: '4de45cbbb930b6330b2a455790bf82aac48e311e', style: {
484
484
  visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',
485
485
  zIndex: !this.showTouristicContentMap ? '1' : '0',
486
- }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, "grw-app": true }))), this.showTouristicEvent && store.state.currentTouristicEvent && (index.h("div", { key: '557aa542f5aa85ab79258bb5e33f51dd5c5220a4', class: this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container' }, index.h("grw-touristic-event-detail", { key: '88ccdc996f10bb22ffde399924df575580a2800d', style: {
486
+ }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, "grw-app": true }))), this.showTouristicEvent && store.state.currentTouristicEvent && (index.h("div", { key: '86854621f5354aecfb9f91ef851267a452d29e68', class: this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container' }, index.h("grw-touristic-event-detail", { key: '937a820b126fbec96f8123d6e9ca12f02200f41d', style: {
487
487
  visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',
488
488
  zIndex: !this.showTouristicEventMap ? '1' : '0',
489
- }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, "grw-app": true }))), this.showOutdoorSite && store.state.currentOutdoorSite && (index.h("div", { key: '3f6a7224a53ebb93aee175badcb2cc357304bbf8', class: this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container' }, index.h("grw-outdoor-site-detail", { key: 'ef74294de2f7b00a1e657a3718774f3eaaabbb94', style: {
489
+ }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, "grw-app": true }))), this.showOutdoorSite && store.state.currentOutdoorSite && (index.h("div", { key: '7ae05f22af9acb27e0d9eb6077c87a73c9b19e45', class: this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container' }, index.h("grw-outdoor-site-detail", { key: '96533c0c8873dfcc54bb63a93d5b447fd1afba42', style: {
490
490
  visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',
491
491
  zIndex: !this.showOutdoorSiteMap ? '1' : '0',
492
- }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, weather: this.weather, "default-background-layer-url": this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0], "default-background-layer-attribution": this.attributionLayer ? this.attributionLayer.split(',')[0] : [], "enable-offline": this.enableOffline, "grw-app": true }), index.h("grw-offline-confirm-modal", { key: '07c1652f43f99fa08e3a4b12c180eed17073c71a', mode: "treks" }))), this.showOutdoorCourse && store.state.currentOutdoorCourse && (index.h("div", { key: '873f413148b965ba46fb04b4d1b70c2442b65b0c', class: this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container' }, index.h("grw-outdoor-course-detail", { key: '2d90e0f9df0f8e97ab350354f65f437cd44cfbdd', style: {
492
+ }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, weather: this.weather, "default-background-layer-url": this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0], "default-background-layer-attribution": this.attributionLayer ? this.attributionLayer.split(',')[0] : [], "enable-offline": this.enableOffline, "grw-app": true }), index.h("grw-offline-confirm-modal", { key: '026da6240cb2cea7b114a53b1075dfa9715c71a4', mode: "treks" }))), this.showOutdoorCourse && store.state.currentOutdoorCourse && (index.h("div", { key: '5694c7af2acfaf510a323aaccb002eec5d8b858f', class: this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container' }, index.h("grw-outdoor-course-detail", { key: '18db6b684cccaa65773ad26186f900789e5c820b', style: {
493
493
  visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',
494
494
  zIndex: !this.showOutdoorCourseMap ? '1' : '0',
495
- }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, "grw-app": true }))), !store.state.networkError && (index.h("grw-map", { key: '152a958a712dc34467ea34989540e4686a010a31', exportparts: "map,elevation,map-bottom-space,map-loader-container,loader", class: this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container', style: {
495
+ }, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView, "grw-app": true }))), !store.state.networkError && (index.h("grw-map", { key: '4571c22666ffcfb6131e05a0f8fe7ca001de8b58', exportparts: "map,elevation,map-bottom-space,map-loader-container,loader", class: this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container', style: {
496
496
  visibility: (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||
497
497
  (this.showTrekMap && this.showTrek) ||
498
498
  (this.showTouristicContentMap && this.showTouristicContent) ||
@@ -506,7 +506,7 @@ const GrwApp = class {
506
506
  (this.showTrek && store.state.currentTrek) ||
507
507
  (this.showTouristicContent && store.state.currentTouristicContent) ||
508
508
  (this.showTouristicEvent && store.state.currentTouristicEvent) ||
509
- (this.showOutdoorSite && store.state.currentOutdoorSite)) && (index.h("div", { key: '480335a512bc25163b83ca3855ecdee8904a3140', class: "grw-map-visibility-button-container" }, index.h("grw-extended-fab", { key: '3cad5ea4f530a54cd9f4967582541a75d38e057d', exportparts: "map-visibility-button,map-visibility-button-icon,map-visibility-button-label", "font-family": this.fontFamily, action: () => this.handleShowMap(), icon: () => this.getMapVisibilityIconButton(), name: () => this.getMapVisibilityLabelButton(), display: this.isLargeView ? 'none' : 'flex', "fab-background-color": this.fabBackgroundColor, "fab-color": this.fabColor }))))), !this.showTrek && this.showFilters && index.h("grw-filters", { key: 'd4bce6d7b4ccd591d96a4b58718c23b42f9cc65e', "font-family": this.fontFamily, handleFilters: () => this.handleFilters() })));
509
+ (this.showOutdoorSite && store.state.currentOutdoorSite)) && (index.h("div", { key: '8b08be567d8e4ade24a9443f5f2b886ad15e22d7', class: "grw-map-visibility-button-container" }, index.h("grw-extended-fab", { key: 'f280a9c80ce2a32f0089b51905ee107eebaf4758', exportparts: "map-visibility-button,map-visibility-button-icon,map-visibility-button-label", "font-family": this.fontFamily, action: () => this.handleShowMap(), icon: () => this.getMapVisibilityIconButton(), name: () => this.getMapVisibilityLabelButton(), display: this.isLargeView ? 'none' : 'flex', "fab-background-color": this.fabBackgroundColor, "fab-color": this.fabColor }))))), !this.showTrek && this.showFilters && index.h("grw-filters", { key: 'd9cd674df94658af6a8aa338fdaefc59ea2b8986', "font-family": this.fontFamily, handleFilters: () => this.handleFilters() })));
510
510
  }
511
511
  get appElement() { return index.getElement(this); }
512
512
  static get watchers() { return {
Binary file
Binary file
@@ -1 +1 @@
1
- {"file":"grw-app.cjs.entry.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,MAAM,CAAC,4hJAA4hJ,CAAC;;MCYziJ,MAAM,GAAA,MAAA;AALnB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAOW,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAoB,CAAA,oBAAA,GAAG,KAAK;AAC5B,QAAA,IAAkB,CAAA,kBAAA,GAAG,KAAK;AAC1B,QAAA,IAAe,CAAA,eAAA,GAAG,KAAK;AACvB,QAAA,IAAiB,CAAA,iBAAA,GAAG,KAAK;AACzB,QAAA,IAAkB,CAAA,kBAAA,GAAG,KAAK;AAC1B,QAAA,IAAoB,CAAA,oBAAA,GAAG,KAAK;AAE5B,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AACnB,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AACnB,QAAA,IAAuB,CAAA,uBAAA,GAAG,KAAK;AAC/B,QAAA,IAAqB,CAAA,qBAAA,GAAG,KAAK;AAC7B,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AACnB,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AAOpB,QAAA,IAAQ,CAAA,QAAA,GAAW,MAAM;AACzB,QAAA,IAAS,CAAA,SAAA,GAAW,OAAO;AAE3B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CAAC;AACxD,aAAC,IAAI,CAAC,eAAe,IAAIA,WAAK,CAAC,kBAAkB,CAAC,MAClDQ,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qCAAqC,EAAA,EAC9CA,OAAA,CAAA,kBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,WAAW,EAAC,8EAA8E,EAAA,aAAA,EAC7E,IAAI,CAAC,UAAU,EAC5B,MAAM,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,EAClC,IAAI,EAAE,MAAM,IAAI,CAAC,0BAA0B,EAAE,EAC7C,IAAI,EAAE,MAAM,IAAI,CAAC,2BAA2B,EAAE,EAC9C,OAAO,EAAE,IAAI,CAAC,WAAW,GAAG,MAAM,GAAG,MAAM,EAAA,sBAAA,EACrB,IAAI,CAAC,kBAAkB,EAAA,WAAA,EAClC,IAAI,CAAC,QAAQ,EAAA,CACN,CAChB,CACP,CACG,CACP,EACA,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,IAAIA,OAA0B,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,aAAA,EAAA,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,EAAA,CAAgB,CACtI;;;;;;;;;;;;;","names":["state","Capacitor","revokeObjectURL","imagesRegExp","translate","reset","handleTreksFiltersAndSearch","handleOutdoorSitesFiltersAndSearch","h","Host","Fragment"],"sources":["src/components/grw-app/grw-app.scss?tag=grw-app","src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages));\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.grw-handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n min-height: 64px;\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.grw-content-container {\n position: relative;\n display: flex;\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height) - var(--header-with-languages) - var(--header-with-offline));\n}\n\n.grw-content-trek {\n height: calc(100% - var(--header-height) - var(--header-with-languages));\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container,\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n pointer-events: none;\n}\n\n.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-app-touristic-event-detail-container,\n.grw-app-outdoor-site-detail-container,\n.grw-app-outdoor-course-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list,\ngrw-touristic-events-list,\ngrw-outdoor-sites-list {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail {\n position: relative;\n max-height: 100%;\n}\n\ngrw-touristic-content-detail,\ngrw-touristic-event-detail,\ngrw-outdoor-site-detail {\n position: relative;\n max-height: 100%;\n}\n\n.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n position: relative;\n width: 50%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n\n.grw-offline-container {\n display: flex;\n align-items: center;\n margin: 0px 0px 0px 16px;\n height: 48px;\n .grw-offline-label {\n display: flex;\n }\n grw-switch {\n margin-top: -10px;\n }\n}\n","import { Capacitor } from '@capacitor/core';\nimport { Component, Host, h, Listen, State, Prop, Element, Watch, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleOutdoorSitesFiltersAndSearch, handleTreksFiltersAndSearch, imagesRegExp, revokeObjectURL } from 'utils/utils';\nimport ArrowBackIcon from '../../assets/arrow-back.svg';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showOutdoorSite = false;\n @State() showOutdoorCourse = false;\n @State() showOutdoorSiteMap = false;\n @State() showOutdoorCourseMap = false;\n\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @State() currentOutdoorSiteId: number;\n @State() currentOutdoorCourseId: number;\n\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() labels: string;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorPrimary = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorMarkers = null;\n @Prop() colorClusters = null;\n @Prop() colorOutdoorArea = '#ffb700';\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n @Prop() outdoor = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() tilesMinZoomOffline = 12;\n @Prop() tilesMaxZoomOffline = 16;\n\n @Prop() mainMarkerSize = 32;\n @Prop() selectedMainMarkerSize = 48;\n @Prop() mainClusterSize = 48;\n @Prop() commonMarkerSize = 48;\n @Prop() departureArrivalMarkerSize = 14;\n @Prop() pointReferenceMarkerSize = 24;\n\n @Prop() largeViewSize = 1024;\n @Prop() elevationHeight = 280;\n @Prop() mobileElevationHeight = 280;\n\n @Prop() signages = false;\n @Prop() arrowRepeat = 20;\n\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorSiteCardPress', { target: 'window' })\n onOutdoorSiteCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = event.detail;\n this.showOutdoorSite = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('outdoorsite', this.currentOutdoorSiteId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorCourseCardPress', { target: 'window' })\n onOutdoorCourseCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentOutdoorCourse = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = null;\n this.currentOutdoorCourseId = event.detail;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n this.showOutdoorCourse = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('outdoorsite');\n url.searchParams.set('outdoorcourse', this.currentOutdoorCourseId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n } else if (this.outdoor) {\n state.mode = 'outdoor';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = url.searchParams.get('outdoorsite');\n const outdoorCourseParam = url.searchParams.get('outdoorcourse');\n\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n } else if (outdoorSiteParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorSiteId = Number(outdoorSiteParam);\n state.mode = 'outdoor';\n this.showOutdoorSite = true;\n } else if (outdoorCourseParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorCourseId = Number(outdoorCourseParam);\n state.mode = 'outdoor';\n this.showOutdoorCourse = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (state.mode === 'treks') {\n this.showTrek = false;\n this.showTrekMap = false;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n } else if (state.mode === 'touristicContents') {\n state.currentTouristicContent = null;\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n } else if (state.mode === 'touristicEvents') {\n state.currentTouristicEvent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n } else if (state.mode === 'outdoor') {\n state.currentOutdoorSite = null;\n this.currentOutdoorSiteId = null;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n state.currentOutdoorCourse = null;\n this.currentOutdoorCourseId = null;\n this.showOutdoorCourse = false;\n this.showOutdoorCourseMap = false;\n }\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n if (state.currentTrek && state.currentTrek.offline && !Capacitor.isNativePlatform()) {\n revokeObjectURL(state.currentPois, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicEvents, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicContents, imagesRegExp, ['url']);\n revokeObjectURL(state.currentInformationDesks, imagesRegExp);\n revokeObjectURL(state.currentTrek, imagesRegExp, ['url']);\n }\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n url.searchParams.delete('outdoorsite');\n url.searchParams.delete('outdoorcourse');\n\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = Number(url.searchParams.get('outdoorsite'));\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n state.mode = 'treks';\n this.showTrek = true;\n } else if (outdoorSiteParam && this.currentOutdoorSiteId !== outdoorSiteParam) {\n this.currentOutdoorSiteId = outdoorSiteParam;\n state.currentOutdoorSite = null;\n this.showOutdoorCourse = false;\n this.showOutdoorSite = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam && !outdoorSiteParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else if (this.showOutdoorSite) {\n this.showOutdoorSiteMap = !this.showOutdoorSiteMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapIconButton = this.showOutdoorSiteMap || this.showOutdoorCourseMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapLabelButton = this.showOutdoorSiteMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOffline() {\n if (state.mode === 'treks') {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n } else {\n state.offlineOutdoorSites = !state.offlineOutdoorSites;\n state.currentOutdoorSites = handleOutdoorSitesFiltersAndSearch();\n }\n }\n\n getFiltersName() {\n const activeFilters = state.selectedActivitiesFilters + state.selectedLocationFilters + state.selectedThemesFilters;\n return `${translate[state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;\n }\n\n trekIsLoading() {\n return this.showTrek && this.currentTrekId && !state.currentTrek;\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n this.showTrek && this.showTouristicContent && this.showTouristicEvent\n ? '116px'\n : Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1\n ? '148px'\n : '64px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--header-with-offline': this.enableOffline ? '48px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents &&\n !state.currentOutdoorSites &&\n !state.currentOutdoorSite &&\n !state.currentOutdoorCourses &&\n !state.currentOutdoorCourse && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-treks-provider>\n )}\n {this.trekIsLoading() && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n signages={this.signages}\n ></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.showOutdoorSite && this.currentOutdoorSiteId && !state.currentOutdoorSite && (\n <grw-outdoor-site-provider api={this.api} languages={this.languages} outdoor-site-id={this.currentOutdoorSiteId} portals={this.portals}></grw-outdoor-site-provider>\n )}\n {this.showOutdoorCourse && this.currentOutdoorCourseId && !state.currentOutdoorCourse && (\n <grw-outdoor-course-provider\n api={this.api}\n languages={this.languages}\n outdoor-course-id={this.currentOutdoorCourseId}\n portals={this.portals}\n ></grw-outdoor-course-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {this.outdoor &&\n state.mode === 'outdoor' &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !state.outdoorSites && (\n <grw-outdoor-sites-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n ></grw-outdoor-sites-provider>\n )}\n\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.currentOutdoorSites ||\n state.currentOutdoorSite ||\n state.currentOutdoorCourses ||\n state.currentOutdoorCourse ||\n state.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? ' grw-header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse && (\n <grw-segmented-segment\n font-family={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n outdoor={this.outdoor}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (\n <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search font-family={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={this.getFiltersName()}\n ></grw-common-button>\n </div>\n </div>\n {this.enableOffline && (state.mode === 'treks' || state.mode === 'outdoor') && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">{state.mode === 'treks' ? translate[state.language].onlyOfflineTreks : translate[state.language].onlyOfflineOutdoor}</div>\n <grw-switch\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleOffline()}\n checked={state.mode === 'treks' ? state.offlineTreks : state.offlineOutdoorSites}\n ></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={ArrowBackIcon}></span>\n </button>\n </div>\n )}\n </div>\n\n <div\n class={`grw-content-container ${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'grw-content-trek' : 'grw-content-treks'\n }`}\n >\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n {((state.mode === 'treks' && this.treks && state.treks) ||\n (state.mode === 'touristicContents' && this.touristicContents && state.touristicContents) ||\n (state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents) ||\n (state.mode === 'outdoor' && this.outdoor && state.outdoorSites)) && (\n <div\n class={this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container'}\n style={{\n display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',\n position: this.showTrek ? 'absolute' : 'relative',\n }}\n >\n {state.mode === 'treks' && this.treks && state.treks && (\n <grw-treks-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n grw-app={true}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && state.touristicContents && (\n <grw-touristic-contents-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents && (\n <grw-touristic-events-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n {state.mode === 'outdoor' && this.outdoor && state.outdoorSites && (\n <grw-outdoor-sites-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-outdoor-sites-list>\n )}\n </div>\n )}\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (this.showOutdoorSite && !state.currentOutdoorSite) ||\n (this.showOutdoorCourse && !state.currentOutdoorCourse) ||\n (!state.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent) ||\n (!state.outdoorSites && state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && state.currentTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n emergency-number={this.emergencyNumber}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n tiles-min-zoom-offline={this.tilesMinZoomOffline}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n rounded={this.rounded}\n ></grw-trek-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showTouristicContent && state.currentTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n grw-app={true}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && state.currentTouristicEvent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n grw-app={true}\n ></grw-touristic-event-detail>\n </div>\n )}\n {this.showOutdoorSite && state.currentOutdoorSite && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container'}>\n <grw-outdoor-site-detail\n style={{\n visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorSiteMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n weather={this.weather}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n grw-app={true}\n ></grw-outdoor-site-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showOutdoorCourse && state.currentOutdoorCourse && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container'}>\n <grw-outdoor-course-detail\n style={{\n visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorCourseMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n grw-app={true}\n ></grw-outdoor-course-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n (this.showOutdoorSiteMap && this.showOutdoorSite) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',\n }}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-markers={this.colorMarkers ? this.colorMarkers : this.colorPrimaryApp}\n color-clusters={this.colorClusters ? this.colorClusters : this.colorPrimaryApp}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n main-marker-size={this.mainMarkerSize}\n selected-main-marker-size={this.selectedMainMarkerSize}\n main-cluster-size={this.mainClusterSize}\n common-marker-size={this.commonMarkerSize}\n departure-arrival-marker-size={this.departureArrivalMarkerSize}\n point-reference-marker-size={this.pointReferenceMarkerSize}\n elevation-height={this.elevationHeight}\n mobile-elevation-height={this.mobileElevationHeight}\n large-view-size={this.largeViewSize}\n is-large-view={this.isLargeView}\n arrow-repeat={this.arrowRepeat}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent) ||\n (this.showOutdoorSite && state.currentOutdoorSite)) && (\n <div class=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n fab-background-color={this.fabBackgroundColor}\n fab-color={this.fabColor}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters font-family={this.fontFamily} handleFilters={() => this.handleFilters()}></grw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WAAA,EAClC,IAAI,CAAC,QAAQ,EAAA,CACN,CAChB,CACP,CACG,CACP,EACA,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,IAAIA,OAA0B,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,aAAA,EAAA,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,EAAA,CAAgB,CACtI;;;;;;;;;;;;;","names":["state","Capacitor","revokeObjectURL","imagesRegExp","translate","reset","handleTreksFiltersAndSearch","handleOutdoorSitesFiltersAndSearch","h","Host","Fragment"],"sources":["src/components/grw-app/grw-app.scss?tag=grw-app","src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages));\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.grw-handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n min-height: 64px;\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.grw-content-container {\n position: relative;\n display: flex;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container,\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n pointer-events: none;\n}\n\n.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-app-touristic-event-detail-container,\n.grw-app-outdoor-site-detail-container,\n.grw-app-outdoor-course-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list,\ngrw-touristic-events-list,\ngrw-outdoor-sites-list {\n max-height: 100%;\n}\n\ngrw-trek-detail {\n position: relative;\n max-height: 100%;\n}\n\ngrw-touristic-content-detail,\ngrw-touristic-event-detail,\ngrw-outdoor-site-detail,\ngrw-outdoor-course-detail {\n position: relative;\n max-height: 100%;\n}\n\n.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n position: relative;\n width: 50%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n\n.grw-offline-container {\n display: flex;\n align-items: center;\n margin: 0px 0px 0px 16px;\n height: 48px;\n .grw-offline-label {\n display: flex;\n }\n grw-switch {\n margin-top: -10px;\n }\n}\n","import { Capacitor } from '@capacitor/core';\nimport { Component, Host, h, Listen, State, Prop, Element, Watch, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleOutdoorSitesFiltersAndSearch, handleTreksFiltersAndSearch, imagesRegExp, revokeObjectURL } from 'utils/utils';\nimport ArrowBackIcon from '../../assets/arrow-back.svg';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showOutdoorSite = false;\n @State() showOutdoorCourse = false;\n @State() showOutdoorSiteMap = false;\n @State() showOutdoorCourseMap = false;\n\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @State() currentOutdoorSiteId: number;\n @State() currentOutdoorCourseId: number;\n\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() labels: string;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorPrimary = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorMarkers = null;\n @Prop() colorClusters = null;\n @Prop() colorOutdoorArea = '#ffb700';\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n @Prop() outdoor = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() tilesMinZoomOffline = 12;\n @Prop() tilesMaxZoomOffline = 16;\n\n @Prop() mainMarkerSize = 32;\n @Prop() selectedMainMarkerSize = 48;\n @Prop() mainClusterSize = 48;\n @Prop() commonMarkerSize = 48;\n @Prop() departureArrivalMarkerSize = 14;\n @Prop() pointReferenceMarkerSize = 24;\n\n @Prop() largeViewSize = 1024;\n @Prop() elevationHeight = 280;\n @Prop() mobileElevationHeight = 280;\n\n @Prop() signages = false;\n @Prop() arrowRepeat = 20;\n\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorSiteCardPress', { target: 'window' })\n onOutdoorSiteCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = event.detail;\n this.showOutdoorSite = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('outdoorsite', this.currentOutdoorSiteId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorCourseCardPress', { target: 'window' })\n onOutdoorCourseCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentOutdoorCourse = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = null;\n this.currentOutdoorCourseId = event.detail;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n this.showOutdoorCourse = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('outdoorsite');\n url.searchParams.set('outdoorcourse', this.currentOutdoorCourseId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n } else if (this.outdoor) {\n state.mode = 'outdoor';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = url.searchParams.get('outdoorsite');\n const outdoorCourseParam = url.searchParams.get('outdoorcourse');\n\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n } else if (outdoorSiteParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorSiteId = Number(outdoorSiteParam);\n state.mode = 'outdoor';\n this.showOutdoorSite = true;\n } else if (outdoorCourseParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorCourseId = Number(outdoorCourseParam);\n state.mode = 'outdoor';\n this.showOutdoorCourse = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (state.mode === 'treks') {\n this.showTrek = false;\n this.showTrekMap = false;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n } else if (state.mode === 'touristicContents') {\n state.currentTouristicContent = null;\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n } else if (state.mode === 'touristicEvents') {\n state.currentTouristicEvent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n } else if (state.mode === 'outdoor') {\n state.currentOutdoorSite = null;\n this.currentOutdoorSiteId = null;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n state.currentOutdoorCourse = null;\n this.currentOutdoorCourseId = null;\n this.showOutdoorCourse = false;\n this.showOutdoorCourseMap = false;\n }\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n if (state.currentTrek && state.currentTrek.offline && !Capacitor.isNativePlatform()) {\n revokeObjectURL(state.currentPois, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicEvents, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicContents, imagesRegExp, ['url']);\n revokeObjectURL(state.currentInformationDesks, imagesRegExp);\n revokeObjectURL(state.currentTrek, imagesRegExp, ['url']);\n }\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n url.searchParams.delete('outdoorsite');\n url.searchParams.delete('outdoorcourse');\n\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = Number(url.searchParams.get('outdoorsite'));\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n state.mode = 'treks';\n this.showTrek = true;\n } else if (outdoorSiteParam && this.currentOutdoorSiteId !== outdoorSiteParam) {\n this.currentOutdoorSiteId = outdoorSiteParam;\n state.currentOutdoorSite = null;\n this.showOutdoorCourse = false;\n this.showOutdoorSite = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam && !outdoorSiteParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else if (this.showOutdoorSite) {\n this.showOutdoorSiteMap = !this.showOutdoorSiteMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapIconButton = this.showOutdoorSiteMap || this.showOutdoorCourseMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapLabelButton = this.showOutdoorSiteMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOffline() {\n if (state.mode === 'treks') {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n } else {\n state.offlineOutdoorSites = !state.offlineOutdoorSites;\n state.currentOutdoorSites = handleOutdoorSitesFiltersAndSearch();\n }\n }\n\n getFiltersName() {\n const activeFilters = state.selectedActivitiesFilters + state.selectedLocationFilters + state.selectedThemesFilters;\n return `${translate[state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;\n }\n\n trekIsLoading() {\n return this.showTrek && this.currentTrekId && !state.currentTrek;\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n this.showTrek && this.showTouristicContent && this.showTouristicEvent\n ? '116px'\n : Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1\n ? '148px'\n : '64px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--header-with-offline': this.enableOffline ? '48px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents &&\n !state.currentOutdoorSites &&\n !state.currentOutdoorSite &&\n !state.currentOutdoorCourses &&\n !state.currentOutdoorCourse && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-treks-provider>\n )}\n {this.trekIsLoading() && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n signages={this.signages}\n ></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.showOutdoorSite && this.currentOutdoorSiteId && !state.currentOutdoorSite && (\n <grw-outdoor-site-provider api={this.api} languages={this.languages} outdoor-site-id={this.currentOutdoorSiteId} portals={this.portals}></grw-outdoor-site-provider>\n )}\n {this.showOutdoorCourse && this.currentOutdoorCourseId && !state.currentOutdoorCourse && (\n <grw-outdoor-course-provider\n api={this.api}\n languages={this.languages}\n outdoor-course-id={this.currentOutdoorCourseId}\n portals={this.portals}\n ></grw-outdoor-course-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {this.outdoor &&\n state.mode === 'outdoor' &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !state.outdoorSites && (\n <grw-outdoor-sites-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n ></grw-outdoor-sites-provider>\n )}\n\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.currentOutdoorSites ||\n state.currentOutdoorSite ||\n state.currentOutdoorCourses ||\n state.currentOutdoorCourse ||\n state.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? ' grw-header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse && (\n <grw-segmented-segment\n font-family={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n outdoor={this.outdoor}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (\n <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search font-family={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={this.getFiltersName()}\n ></grw-common-button>\n </div>\n </div>\n {this.enableOffline && (state.mode === 'treks' || state.mode === 'outdoor') && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">{state.mode === 'treks' ? translate[state.language].onlyOfflineTreks : translate[state.language].onlyOfflineOutdoor}</div>\n <grw-switch\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleOffline()}\n checked={state.mode === 'treks' ? state.offlineTreks : state.offlineOutdoorSites}\n ></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={ArrowBackIcon}></span>\n </button>\n </div>\n )}\n </div>\n\n <div class=\"grw-content-container\">\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n {((state.mode === 'treks' && this.treks && state.treks) ||\n (state.mode === 'touristicContents' && this.touristicContents && state.touristicContents) ||\n (state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents) ||\n (state.mode === 'outdoor' && this.outdoor && state.outdoorSites)) && (\n <div\n class={this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container'}\n style={{\n display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',\n position: this.showTrek ? 'absolute' : 'relative',\n }}\n >\n {state.mode === 'treks' && this.treks && state.treks && (\n <grw-treks-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n grw-app={true}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && state.touristicContents && (\n <grw-touristic-contents-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents && (\n <grw-touristic-events-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n {state.mode === 'outdoor' && this.outdoor && state.outdoorSites && (\n <grw-outdoor-sites-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-outdoor-sites-list>\n )}\n </div>\n )}\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (this.showOutdoorSite && !state.currentOutdoorSite) ||\n (this.showOutdoorCourse && !state.currentOutdoorCourse) ||\n (!state.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent) ||\n (!state.outdoorSites && state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && state.currentTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n emergency-number={this.emergencyNumber}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n tiles-min-zoom-offline={this.tilesMinZoomOffline}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n rounded={this.rounded}\n ></grw-trek-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showTouristicContent && state.currentTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n grw-app={true}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && state.currentTouristicEvent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n grw-app={true}\n ></grw-touristic-event-detail>\n </div>\n )}\n {this.showOutdoorSite && state.currentOutdoorSite && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container'}>\n <grw-outdoor-site-detail\n style={{\n visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorSiteMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n weather={this.weather}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n grw-app={true}\n ></grw-outdoor-site-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showOutdoorCourse && state.currentOutdoorCourse && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container'}>\n <grw-outdoor-course-detail\n style={{\n visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorCourseMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n grw-app={true}\n ></grw-outdoor-course-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n (this.showOutdoorSiteMap && this.showOutdoorSite) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',\n }}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-markers={this.colorMarkers ? this.colorMarkers : this.colorPrimaryApp}\n color-clusters={this.colorClusters ? this.colorClusters : this.colorPrimaryApp}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n main-marker-size={this.mainMarkerSize}\n selected-main-marker-size={this.selectedMainMarkerSize}\n main-cluster-size={this.mainClusterSize}\n common-marker-size={this.commonMarkerSize}\n departure-arrival-marker-size={this.departureArrivalMarkerSize}\n point-reference-marker-size={this.pointReferenceMarkerSize}\n elevation-height={this.elevationHeight}\n mobile-elevation-height={this.mobileElevationHeight}\n large-view-size={this.largeViewSize}\n is-large-view={this.isLargeView}\n arrow-repeat={this.arrowRepeat}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent) ||\n (this.showOutdoorSite && state.currentOutdoorSite)) && (\n <div class=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n fab-background-color={this.fabBackgroundColor}\n fab-color={this.fabColor}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters font-family={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}