@geotrekce/geotrek-rando-widget 0.4.3 → 0.4.4

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 (95) hide show
  1. package/dist/cjs/grw-app.cjs.entry.js +1 -1
  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-filters_12.cjs.entry.js +1 -1
  5. package/dist/cjs/grw-filters_12.cjs.entry.js.br +0 -0
  6. package/dist/cjs/grw-filters_12.cjs.entry.js.gz +0 -0
  7. package/dist/cjs/{i18n-e2c62fa9.js → i18n-a5ad3083.js} +9 -9
  8. package/dist/cjs/i18n-a5ad3083.js.br +0 -0
  9. package/dist/cjs/i18n-a5ad3083.js.gz +0 -0
  10. package/dist/cjs/{i18n-e2c62fa9.js.map → i18n-a5ad3083.js.map} +1 -1
  11. package/dist/collection/i18n/i18n.js +8 -8
  12. package/dist/collection/i18n/i18n.js.br +0 -0
  13. package/dist/collection/i18n/i18n.js.gz +0 -0
  14. package/dist/collection/i18n/i18n.js.map +1 -1
  15. package/dist/collection/stories/App.js +6 -0
  16. package/dist/collection/stories/App.js.br +0 -0
  17. package/dist/collection/stories/App.js.gz +0 -0
  18. package/dist/collection/stories/App.stories.js +3 -0
  19. package/dist/collection/stories/App.stories.js.br +0 -0
  20. package/dist/collection/stories/App.stories.js.gz +0 -0
  21. package/dist/esm/grw-app.entry.js +1 -1
  22. package/dist/esm/grw-app.entry.js.br +0 -0
  23. package/dist/esm/grw-app.entry.js.gz +0 -0
  24. package/dist/esm/grw-filters_12.entry.js +1 -1
  25. package/dist/esm/grw-filters_12.entry.js.br +0 -0
  26. package/dist/esm/grw-filters_12.entry.js.gz +0 -0
  27. package/dist/esm/{i18n-b5c3a8d7.js → i18n-e6325e81.js} +9 -9
  28. package/dist/esm/i18n-e6325e81.js.br +0 -0
  29. package/dist/esm/i18n-e6325e81.js.gz +0 -0
  30. package/dist/esm/{i18n-b5c3a8d7.js.map → i18n-e6325e81.js.map} +1 -1
  31. package/dist/esm-es5/grw-app.entry.js +1 -1
  32. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  33. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  34. package/dist/esm-es5/grw-filters_12.entry.js +1 -1
  35. package/dist/esm-es5/grw-filters_12.entry.js.br +0 -0
  36. package/dist/esm-es5/grw-filters_12.entry.js.gz +0 -0
  37. package/dist/esm-es5/i18n-e6325e81.js +2 -0
  38. package/dist/esm-es5/i18n-e6325e81.js.br +0 -0
  39. package/dist/esm-es5/i18n-e6325e81.js.gz +0 -0
  40. package/dist/esm-es5/i18n-e6325e81.js.map +1 -0
  41. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  42. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  43. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  44. package/dist/geotrek-rando-widget/p-0f47847d.system.js +2 -0
  45. package/dist/geotrek-rando-widget/p-0f47847d.system.js.br +0 -0
  46. package/dist/geotrek-rando-widget/p-0f47847d.system.js.gz +0 -0
  47. package/dist/geotrek-rando-widget/p-0f47847d.system.js.map +1 -0
  48. package/dist/geotrek-rando-widget/{p-2545bc2a.system.entry.js → p-2c4abcd9.system.entry.js} +2 -2
  49. package/dist/geotrek-rando-widget/p-2c4abcd9.system.entry.js.br +0 -0
  50. package/dist/geotrek-rando-widget/p-2c4abcd9.system.entry.js.gz +0 -0
  51. package/dist/geotrek-rando-widget/{p-eb0e19d4.entry.js → p-3bbe169c.entry.js} +2 -2
  52. package/dist/geotrek-rando-widget/p-3bbe169c.entry.js.br +0 -0
  53. package/dist/geotrek-rando-widget/p-3bbe169c.entry.js.gz +0 -0
  54. package/dist/geotrek-rando-widget/p-5e7ed046.js +2 -0
  55. package/dist/geotrek-rando-widget/p-5e7ed046.js.br +0 -0
  56. package/dist/geotrek-rando-widget/p-5e7ed046.js.gz +0 -0
  57. package/dist/geotrek-rando-widget/p-5e7ed046.js.map +1 -0
  58. package/dist/geotrek-rando-widget/{p-4d2be020.system.entry.js → p-b40c2ea8.system.entry.js} +2 -2
  59. package/dist/geotrek-rando-widget/p-b40c2ea8.system.entry.js.br +0 -0
  60. package/dist/geotrek-rando-widget/p-b40c2ea8.system.entry.js.gz +0 -0
  61. package/dist/geotrek-rando-widget/{p-01d57fd7.entry.js → p-ba971c93.entry.js} +2 -2
  62. package/dist/geotrek-rando-widget/p-ba971c93.entry.js.br +0 -0
  63. package/dist/geotrek-rando-widget/p-ba971c93.entry.js.gz +0 -0
  64. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +1 -1
  65. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
  66. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
  67. package/package.json +1 -1
  68. package/dist/cjs/i18n-e2c62fa9.js.br +0 -0
  69. package/dist/cjs/i18n-e2c62fa9.js.gz +0 -0
  70. package/dist/esm/i18n-b5c3a8d7.js.br +0 -0
  71. package/dist/esm/i18n-b5c3a8d7.js.gz +0 -0
  72. package/dist/esm-es5/i18n-b5c3a8d7.js +0 -2
  73. package/dist/esm-es5/i18n-b5c3a8d7.js.br +0 -0
  74. package/dist/esm-es5/i18n-b5c3a8d7.js.gz +0 -0
  75. package/dist/esm-es5/i18n-b5c3a8d7.js.map +0 -1
  76. package/dist/geotrek-rando-widget/p-01d57fd7.entry.js.br +0 -0
  77. package/dist/geotrek-rando-widget/p-01d57fd7.entry.js.gz +0 -0
  78. package/dist/geotrek-rando-widget/p-23c34829.js +0 -2
  79. package/dist/geotrek-rando-widget/p-23c34829.js.br +0 -0
  80. package/dist/geotrek-rando-widget/p-23c34829.js.gz +0 -0
  81. package/dist/geotrek-rando-widget/p-23c34829.js.map +0 -1
  82. package/dist/geotrek-rando-widget/p-2545bc2a.system.entry.js.br +0 -0
  83. package/dist/geotrek-rando-widget/p-2545bc2a.system.entry.js.gz +0 -0
  84. package/dist/geotrek-rando-widget/p-4d2be020.system.entry.js.br +0 -0
  85. package/dist/geotrek-rando-widget/p-4d2be020.system.entry.js.gz +0 -0
  86. package/dist/geotrek-rando-widget/p-7b61eee1.system.js +0 -2
  87. package/dist/geotrek-rando-widget/p-7b61eee1.system.js.br +0 -0
  88. package/dist/geotrek-rando-widget/p-7b61eee1.system.js.gz +0 -0
  89. package/dist/geotrek-rando-widget/p-7b61eee1.system.js.map +0 -1
  90. package/dist/geotrek-rando-widget/p-eb0e19d4.entry.js.br +0 -0
  91. package/dist/geotrek-rando-widget/p-eb0e19d4.entry.js.gz +0 -0
  92. /package/dist/geotrek-rando-widget/{p-2545bc2a.system.entry.js.map → p-2c4abcd9.system.entry.js.map} +0 -0
  93. /package/dist/geotrek-rando-widget/{p-eb0e19d4.entry.js.map → p-3bbe169c.entry.js.map} +0 -0
  94. /package/dist/geotrek-rando-widget/{p-4d2be020.system.entry.js.map → p-b40c2ea8.system.entry.js.map} +0 -0
  95. /package/dist/geotrek-rando-widget/{p-01d57fd7.entry.js.map → p-ba971c93.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function a(t){try{l(n.next(t))}catch(e){o(e)}}function s(t){try{l(n["throw"](t))}catch(e){o(e)}}function l(t){t.done?i(t.value):r(t.value).then(a,s)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(i=0)),i)try{if(n=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;r=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(l){s=[6,l];r=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,r=e.length,o;n<r;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};import{r as registerInstance,e as createEvent,h,H as Host,i as getAssetPath,g as getElement}from"./index-d5cacae4.js";import{t as translate}from"./i18n-b5c3a8d7.js";import{s as state,o as onChange,r as reset}from"./store-032ab1f5.js";import{t as treksFilters,h as handleTreksFiltersAndSearch,a as touristicContentsFilters,b as handleTouristicContentsFiltersAndSearch,f as formatDuration,c as formatLength,d as formatAscent}from"./utils-b09ac7c9.js";import{g as getWindow,n as nextTick,a as now,e as elementTransitionEnd,S as Swiper,N as Navigation,P as Pagination,K as Keyboard}from"./pagination-24051620.js";var grwFiltersCss='.options-container{height:100%;position:absolute;width:100%;z-index:1100;top:0px}.filters-container{background-color:var(--color-background);position:relative;width:100%;height:100%;z-index:1100}.filters-container .filters-treks-container,.filters-container .filters-touristic-contents-container{height:100%}.filters-container .segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.filters-container .segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.filters-container .segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.filters-container .segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.filters-container .segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.filters-container .segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}.filters-segment-container{overflow-y:visible;height:100%;max-height:calc(100% - 64px - 42px - 32px)}.back-filters-container{background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:absolute;z-index:1099}.divider{margin:16px;border-top:1px solid var(--color-outline)}.filters-options-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;margin:0px 16px}.filters-options-container .filters-options-buttons-container{display:-ms-flexbox;display:flex}.filters-options-container .filters-options-buttons-container .filter-option-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;margin:8px 0px 0px 8px;padding:8px 16px;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary);background-color:transparent}.segment-container{overflow:scroll;height:100%}.filter-container:not(:last-child)::after{content:"";display:block;margin:16px;border-top:1px solid var(--color-outline)}.filter-container:last-child{margin-bottom:16px}';var GrwFilters=function(){function t(t){registerInstance(this,t);this.resetFilter=createEvent(this,"resetFilter",7);this.selectedSegment="selectedActivitiesFilters";this.handleFilters=undefined}t.prototype.handleEraseTreksFilters=function(){treksFilters.forEach((function(t){state[t.property].forEach((function(t){return t.selected=false}))}));state.selectedActivitiesFilters=0;state.selectedThemesFilters=0;state.selectedLocationFilters=0;state.currentTreks=handleTreksFiltersAndSearch();this.resetFilter.emit()};t.prototype.handleOkTreksFilters=function(){this.handleFilters()};t.prototype.handleSelectedSegment=function(t){this.selectedSegment=t};t.prototype.handleSegment=function(t){if(state.mode==="treks"){return treksFilters.filter((function(e){return e.segment===t})).some((function(t){return state[t.property]&&state[t.property].length>0}))}else if(state.mode==="touristicContents"){return touristicContentsFilters.filter((function(e){return e.segment===t})).some((function(t){return state[t.property]&&state[t.property].length>0}))}};t.prototype.handleEraseTouristicContentsFilters=function(){touristicContentsFilters.forEach((function(t){state[t.property].forEach((function(t){return t.selected=false}))}));state.selectedActivitiesFilters=0;state.selectedLocationFilters=0;state.currentTouristicContents=handleTouristicContentsFiltersAndSearch();this.resetFilter.emit()};t.prototype.handleOkTouristicContentsFilters=function(){this.handleFilters()};t.prototype.render=function(){var t=this;return h(Host,null,h("div",{class:"options-container"},h("div",{class:"filters-container"},state.mode==="treks"&&h("div",{class:"filters-treks-container"},h("div",{class:"filters-options-container"},state.treksWithinBounds&&h("div",{class:"current-treks-within-bounds-length"},"".concat(state.treksWithinBounds.length," ").concat(state.treksWithinBounds.length>1?translate[state.language].treks:translate[state.language].trek)),h("div",{class:"filters-options-buttons-container"},h("button",{class:"filter-option-button",onClick:function(){return t.handleEraseTreksFilters()}},translate[state.language].erase),h("button",{class:"filter-option-button",onClick:function(){return t.handleOkTreksFilters()}},translate[state.language].ok))),h("div",{class:"segmented-buttons-container"},this.handleSegment("selectedActivitiesFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedActivitiesFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedActivitiesFilters")}},translate[state.language].activities," ",state.selectedActivitiesFilters!==0&&"(".concat(state.selectedActivitiesFilters,")")),this.handleSegment("selectedThemesFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedThemesFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedThemesFilters")}},translate[state.language].themes," ",state.selectedThemesFilters!==0&&"(".concat(state.selectedThemesFilters,")")),this.handleSegment("selectedLocationFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedLocationFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedLocationFilters")}},translate[state.language].location," ",state.selectedLocationFilters!==0&&"(".concat(state.selectedLocationFilters,")"))),h("div",{class:"filters-segment-container"},this.selectedSegment==="selectedActivitiesFilters"&&h("div",{key:"treks-activities-segment-container",class:"segment-container"},state["practices"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].practice,filterType:"practices",filterNameProperty:"name",segment:"selectedActivitiesFilters",filterPlaceholder:translate[state.language].placeholderPractices})),state["difficulties"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].difficulty,filterType:"difficulties",filterNameProperty:"label",segment:"selectedActivitiesFilters"})),state["durations"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].duration,filterType:"durations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["lengths"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].length,filterType:"lengths",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["elevations"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].elevation,filterType:"elevations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["routes"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].routes,filterType:"routes",filterNameProperty:"route",segment:"selectedActivitiesFilters"})),state["accessibilities"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].accessibility,filterType:"accessibilities",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["labels"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].activities,filterType:"labels",filterNameProperty:"name",segment:"selectedActivitiesFilters"}))),this.selectedSegment==="selectedThemesFilters"&&h("div",{key:"treks-themes-segment-container",class:"segment-container"},state["themes"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].themes,filterPlaceholder:translate[state.language].placeholderThemes,filterType:"themes",filterNameProperty:"label",segment:"selectedThemesFilters"}))),this.selectedSegment==="selectedLocationFilters"&&h("div",{key:"treks-location-segment-container",class:"segment-container"},state["districts"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].districts,filterType:"districts",filterNameProperty:"name",segment:"selectedLocationFilters"})),state["cities"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].crossedCities,filterPlaceholder:translate[state.language].placeholderCrossedCities,filterType:"cities",filterNameProperty:"name",segment:"selectedLocationFilters"}))))),state.mode==="touristicContents"&&h("div",{class:"filters-touristic-contents-container"},h("div",{class:"filters-options-container"},state.touristicContentsWithinBounds&&h("div",{class:"current-treks-within-bounds-length"},"".concat(state.touristicContentsWithinBounds.length," ").concat(state.touristicContentsWithinBounds.length>1?translate[state.language].home.touristicContents:translate[state.language].home.touristicContent)),h("div",{class:"filters-options-buttons-container"},h("button",{class:"filter-option-button",onClick:function(){return t.handleEraseTouristicContentsFilters()}},translate[state.language].erase),h("button",{class:"filter-option-button",onClick:function(){return t.handleOkTouristicContentsFilters()}},translate[state.language].ok))),h("div",{class:"segmented-buttons-container"},this.handleSegment("selectedActivitiesFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedActivitiesFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedActivitiesFilters")}},translate[state.language].services," ",state.selectedActivitiesFilters!==0&&"(".concat(state.selectedActivitiesFilters,")")),this.handleSegment("selectedLocationFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedLocationFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedLocationFilters")}},translate[state.language].location," ",state.selectedLocationFilters!==0&&"(".concat(state.selectedLocationFilters,")"))),h("div",{class:"filters-segment-container"},this.selectedSegment==="selectedActivitiesFilters"&&h("div",{key:"touristic-contents-activities-segment-container",class:"segment-container"},state["touristicContentCategories"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].category,filterType:"touristicContentCategories",filterNameProperty:"label",segment:"selectedActivitiesFilters"}))),this.selectedSegment==="selectedLocationFilters"&&h("div",{key:"touristic-contents-location-segment-container",class:"segment-container"},state["districts"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].districts,filterType:"districts",filterNameProperty:"name",segment:"selectedLocationFilters"})),state["cities"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].crossedCities,filterPlaceholder:translate[state.language].placeholderCrossedCities,filterType:"cities",filterNameProperty:"name",segment:"selectedLocationFilters"})))))),h("div",{onClick:function(){return t.handleFilters()},class:"back-filters-container"})))};return t}();GrwFilters.style=grwFiltersCss;var commonjsGlobal=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function createCommonjsModule(t,e,i){return i={path:e,exports:{},require:function(t,e){return commonjsRequire()}},t(i,i.exports),i.exports}function getAugmentedNamespace(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:true});Object.keys(t).forEach((function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:true,get:function(){return t[i]}})}));return e}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var leafletSrc=createCommonjsModule((function(t,e){
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function a(t){try{l(n.next(t))}catch(e){o(e)}}function s(t){try{l(n["throw"](t))}catch(e){o(e)}}function l(t){t.done?i(t.value):r(t.value).then(a,s)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(i=0)),i)try{if(n=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;r=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(l){s=[6,l];r=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,r=e.length,o;n<r;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};import{r as registerInstance,e as createEvent,h,H as Host,i as getAssetPath,g as getElement}from"./index-d5cacae4.js";import{t as translate}from"./i18n-e6325e81.js";import{s as state,o as onChange,r as reset}from"./store-032ab1f5.js";import{t as treksFilters,h as handleTreksFiltersAndSearch,a as touristicContentsFilters,b as handleTouristicContentsFiltersAndSearch,f as formatDuration,c as formatLength,d as formatAscent}from"./utils-b09ac7c9.js";import{g as getWindow,n as nextTick,a as now,e as elementTransitionEnd,S as Swiper,N as Navigation,P as Pagination,K as Keyboard}from"./pagination-24051620.js";var grwFiltersCss='.options-container{height:100%;position:absolute;width:100%;z-index:1100;top:0px}.filters-container{background-color:var(--color-background);position:relative;width:100%;height:100%;z-index:1100}.filters-container .filters-treks-container,.filters-container .filters-touristic-contents-container{height:100%}.filters-container .segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.filters-container .segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.filters-container .segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.filters-container .segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.filters-container .segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.filters-container .segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}.filters-segment-container{overflow-y:visible;height:100%;max-height:calc(100% - 64px - 42px - 32px)}.back-filters-container{background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:absolute;z-index:1099}.divider{margin:16px;border-top:1px solid var(--color-outline)}.filters-options-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;margin:0px 16px}.filters-options-container .filters-options-buttons-container{display:-ms-flexbox;display:flex}.filters-options-container .filters-options-buttons-container .filter-option-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;margin:8px 0px 0px 8px;padding:8px 16px;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary);background-color:transparent}.segment-container{overflow:scroll;height:100%}.filter-container:not(:last-child)::after{content:"";display:block;margin:16px;border-top:1px solid var(--color-outline)}.filter-container:last-child{margin-bottom:16px}';var GrwFilters=function(){function t(t){registerInstance(this,t);this.resetFilter=createEvent(this,"resetFilter",7);this.selectedSegment="selectedActivitiesFilters";this.handleFilters=undefined}t.prototype.handleEraseTreksFilters=function(){treksFilters.forEach((function(t){state[t.property].forEach((function(t){return t.selected=false}))}));state.selectedActivitiesFilters=0;state.selectedThemesFilters=0;state.selectedLocationFilters=0;state.currentTreks=handleTreksFiltersAndSearch();this.resetFilter.emit()};t.prototype.handleOkTreksFilters=function(){this.handleFilters()};t.prototype.handleSelectedSegment=function(t){this.selectedSegment=t};t.prototype.handleSegment=function(t){if(state.mode==="treks"){return treksFilters.filter((function(e){return e.segment===t})).some((function(t){return state[t.property]&&state[t.property].length>0}))}else if(state.mode==="touristicContents"){return touristicContentsFilters.filter((function(e){return e.segment===t})).some((function(t){return state[t.property]&&state[t.property].length>0}))}};t.prototype.handleEraseTouristicContentsFilters=function(){touristicContentsFilters.forEach((function(t){state[t.property].forEach((function(t){return t.selected=false}))}));state.selectedActivitiesFilters=0;state.selectedLocationFilters=0;state.currentTouristicContents=handleTouristicContentsFiltersAndSearch();this.resetFilter.emit()};t.prototype.handleOkTouristicContentsFilters=function(){this.handleFilters()};t.prototype.render=function(){var t=this;return h(Host,null,h("div",{class:"options-container"},h("div",{class:"filters-container"},state.mode==="treks"&&h("div",{class:"filters-treks-container"},h("div",{class:"filters-options-container"},state.treksWithinBounds&&h("div",{class:"current-treks-within-bounds-length"},"".concat(state.treksWithinBounds.length," ").concat(state.treksWithinBounds.length>1?translate[state.language].treks:translate[state.language].trek)),h("div",{class:"filters-options-buttons-container"},h("button",{class:"filter-option-button",onClick:function(){return t.handleEraseTreksFilters()}},translate[state.language].erase),h("button",{class:"filter-option-button",onClick:function(){return t.handleOkTreksFilters()}},translate[state.language].ok))),h("div",{class:"segmented-buttons-container"},this.handleSegment("selectedActivitiesFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedActivitiesFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedActivitiesFilters")}},translate[state.language].activities," ",state.selectedActivitiesFilters!==0&&"(".concat(state.selectedActivitiesFilters,")")),this.handleSegment("selectedThemesFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedThemesFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedThemesFilters")}},translate[state.language].themes," ",state.selectedThemesFilters!==0&&"(".concat(state.selectedThemesFilters,")")),this.handleSegment("selectedLocationFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedLocationFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedLocationFilters")}},translate[state.language].location," ",state.selectedLocationFilters!==0&&"(".concat(state.selectedLocationFilters,")"))),h("div",{class:"filters-segment-container"},this.selectedSegment==="selectedActivitiesFilters"&&h("div",{key:"treks-activities-segment-container",class:"segment-container"},state["practices"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].practice,filterType:"practices",filterNameProperty:"name",segment:"selectedActivitiesFilters",filterPlaceholder:translate[state.language].placeholderPractices})),state["difficulties"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].difficulty,filterType:"difficulties",filterNameProperty:"label",segment:"selectedActivitiesFilters"})),state["durations"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].duration,filterType:"durations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["lengths"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].length,filterType:"lengths",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["elevations"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].elevation,filterType:"elevations",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["routes"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].routes,filterType:"routes",filterNameProperty:"route",segment:"selectedActivitiesFilters"})),state["accessibilities"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].accessibility,filterType:"accessibilities",filterNameProperty:"name",segment:"selectedActivitiesFilters"})),state["labels"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].activities,filterType:"labels",filterNameProperty:"name",segment:"selectedActivitiesFilters"}))),this.selectedSegment==="selectedThemesFilters"&&h("div",{key:"treks-themes-segment-container",class:"segment-container"},state["themes"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].themes,filterPlaceholder:translate[state.language].placeholderThemes,filterType:"themes",filterNameProperty:"label",segment:"selectedThemesFilters"}))),this.selectedSegment==="selectedLocationFilters"&&h("div",{key:"treks-location-segment-container",class:"segment-container"},state["districts"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].districts,filterType:"districts",filterNameProperty:"name",segment:"selectedLocationFilters"})),state["cities"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].crossedCities,filterPlaceholder:translate[state.language].placeholderCrossedCities,filterType:"cities",filterNameProperty:"name",segment:"selectedLocationFilters"}))))),state.mode==="touristicContents"&&h("div",{class:"filters-touristic-contents-container"},h("div",{class:"filters-options-container"},state.touristicContentsWithinBounds&&h("div",{class:"current-treks-within-bounds-length"},"".concat(state.touristicContentsWithinBounds.length," ").concat(state.touristicContentsWithinBounds.length>1?translate[state.language].home.touristicContents:translate[state.language].home.touristicContent)),h("div",{class:"filters-options-buttons-container"},h("button",{class:"filter-option-button",onClick:function(){return t.handleEraseTouristicContentsFilters()}},translate[state.language].erase),h("button",{class:"filter-option-button",onClick:function(){return t.handleOkTouristicContentsFilters()}},translate[state.language].ok))),h("div",{class:"segmented-buttons-container"},this.handleSegment("selectedActivitiesFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedActivitiesFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedActivitiesFilters")}},translate[state.language].services," ",state.selectedActivitiesFilters!==0&&"(".concat(state.selectedActivitiesFilters,")")),this.handleSegment("selectedLocationFilters")&&h("label",{class:"segment".concat(this.selectedSegment==="selectedLocationFilters"?" selected-segment":""),onClick:function(){return t.handleSelectedSegment("selectedLocationFilters")}},translate[state.language].location," ",state.selectedLocationFilters!==0&&"(".concat(state.selectedLocationFilters,")"))),h("div",{class:"filters-segment-container"},this.selectedSegment==="selectedActivitiesFilters"&&h("div",{key:"touristic-contents-activities-segment-container",class:"segment-container"},state["touristicContentCategories"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].category,filterType:"touristicContentCategories",filterNameProperty:"label",segment:"selectedActivitiesFilters"}))),this.selectedSegment==="selectedLocationFilters"&&h("div",{key:"touristic-contents-location-segment-container",class:"segment-container"},state["districts"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].districts,filterType:"districts",filterNameProperty:"name",segment:"selectedLocationFilters"})),state["cities"].length>0&&h("div",{class:"filter-container"},h("grw-filter",{filterName:translate[state.language].crossedCities,filterPlaceholder:translate[state.language].placeholderCrossedCities,filterType:"cities",filterNameProperty:"name",segment:"selectedLocationFilters"})))))),h("div",{onClick:function(){return t.handleFilters()},class:"back-filters-container"})))};return t}();GrwFilters.style=grwFiltersCss;var commonjsGlobal=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function createCommonjsModule(t,e,i){return i={path:e,exports:{},require:function(t,e){return commonjsRequire()}},t(i,i.exports),i.exports}function getAugmentedNamespace(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:true});Object.keys(t).forEach((function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:true,get:function(){return t[i]}})}));return e}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var leafletSrc=createCommonjsModule((function(t,e){
2
2
  /* @preserve
3
3
  * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
4
4
  * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
@@ -0,0 +1,2 @@
1
+ var translate={fr:{filter:"Filtrer",practice:"Pratique",difficulty:"Difficulté",duration:"Durée",length:"Longueur",treks:"itinéraires",trek:"itinéraire",showList:"Voir la liste",showMap:"Voir la carte",showRoute:"Voir l'itinéraire",showDetails:"Voir la fiche",download:"Téléchargement",downloads:"Téléchargements",description:"Description",departure:"Départ",arrival:"Arrivée",elevationProfile:"Profil altimétrique",roadAccess:"Accès routier",transport:"Transport",recommendations:"Recommandations",recommendedParking:"Parking conseillé",equipments:"Équipements",environmentalSensitiveAreas:"Zones de sensibilité environnementale",informationPlaces:"Lieux de renseignement",accessibility:"Accessibilité",accessibilityLevel:"Niveau d'accessibilité",accessibilitySlope:"Pente",accessibilityWidth:"Largeur",accessibilitySignage:"Signalisation",accessibilityCovering:"Revêtement",accessibilityExposure:"Exposition",accessibilityAdvices:"Conseils",pois:function(e){return"Les ".concat(e," patrimoines à découvrir")},touristicContents:function(e){return"À proximité (".concat(e,")")},touristicEvents:function(e){return"Événements (".concat(e,")")},sources:"Sources",city:"Commune",crossedCities:"Communes",placeholderCrossedCities:"Sélectionner une ou plusieurs communes",home:{segment:{treks:"Itinéraires",touristicContents:"Services"},touristicContents:"Services",touristicContent:"Service"},options:{presentation:"Présentation",description:"Description",recommendations:"Recommandations",environmentalSensitiveAreas:"Zones sensibles",informationPlaces:"Lieux d'informations",pois:"Patrimoines",steps:"Étapes",touristicContents:"À proximité",touristicEvents:"Événements"},layers:{referencePoints:"Points de référence",parking:"Parking conseillé",sensitiveArea:"Zones de sensibilité environnementale",informationPlaces:"Lieux de renseignement",pois:"Patrimoines",steps:"Étapes",touristicContents:"À proximité",touristicEvents:"Événements"},themes:"Thèmes",placeholderThemes:"Sélectionner un ou plusieurs thèmes",placeholderPractices:"Sélectionner une ou plusieurs pratiques",routes:"Type de parcours",elevation:"Denivelé positif",activities:"Activités",districts:"Secteurs",erase:"EFFACER",ok:"OK",location:"Localisation",steps:"étapes",usefulInformation:"Informations pratiques",contact:"Contact",email:"Email",website:"Site web",category:"Catégorie",services:"Services"},en:{filter:"Filter",practice:"Practice",difficulty:"Difficulty",duration:"Duration",length:"Length",treks:"routes",trek:"route",showList:"Show the list",showMap:"Show the map",showRoute:"Show the route",showDetails:"Show the details",download:"Download",downloads:"Downloads",description:"Description",departure:"Departure",arrival:"Arrival",elevationProfile:"Elevation profile",roadAccess:"Road acess",transport:"Transport",recommendations:"Recommendations",recommendedParking:"Parking recommended",equipments:"Equipements",environmentalSensitiveAreas:"Areas of environmental sensitivity",informationPlaces:"Information places",accessibility:"Accessibility",accessibilityLevel:"Accessibility level",accessibilitySlope:"Slope",accessibilityWidth:"Width",accessibilitySignage:"Signage",accessibilityCovering:"Covering",accessibilityExposure:"Exposure",accessibilityAdvices:"Advices",pois:function(e){return"".concat(e," points of interest")},touristicContents:function(e){return"Near (".concat(e,")")},touristicEvents:function(e){return"Events (".concat(e,")")},sources:"Sources",city:"City",crossedCities:"Cities",placeholderCrossedCities:"Select one or more municipalities",home:{segment:{treks:"Routes",touristicContents:"Services"},touristicContents:"Services",touristicContent:"Service"},options:{presentation:"Presentation",description:"Description",recommendations:"Recommendations",environmentalSensitiveAreas:"Sensitive areas",informationPlaces:"Information places",pois:"Points of interest",steps:"Steps",touristicContents:"Near",touristicEvents:"Events"},layers:{referencePoints:"Reference points",parking:"Parking",sensitiveArea:"Sensitive areas",informationPlaces:"Information places",pois:"Points of interest",steps:"Steps",touristicContents:"Near",touristicEvents:"Events"},themes:"Themes",placeholderThemes:"Select one or more themes",placeholderPractices:"Select one or more practices",routes:"Type of course",elevation:"Positive elevation",activities:"Activities",districts:"Districts",erase:"ERASE",ok:"OK",location:"Location",usefulInformation:"Useful information",steps:"steps",contact:"Contact",email:"Email",website:"Website",category:"Category",services:"Services"}};export{translate as t};
2
+ //# sourceMappingURL=i18n-e6325e81.js.map
Binary file
Binary file
@@ -0,0 +1 @@
1
+ {"version":3,"names":["translate","fr","filter","practice","difficulty","duration","length","treks","trek","showList","showMap","showRoute","showDetails","download","downloads","description","departure","arrival","elevationProfile","roadAccess","transport","recommendations","recommendedParking","equipments","environmentalSensitiveAreas","informationPlaces","accessibility","accessibilityLevel","accessibilitySlope","accessibilityWidth","accessibilitySignage","accessibilityCovering","accessibilityExposure","accessibilityAdvices","pois","poisLength","concat","touristicContents","touristicContentsLength","touristicEvents","touristicEventsLength","sources","city","crossedCities","placeholderCrossedCities","home","segment","touristicContent","options","presentation","steps","layers","referencePoints","parking","sensitiveArea","themes","placeholderThemes","placeholderPractices","routes","elevation","activities","districts","erase","ok","location","usefulInformation","contact","email","website","category","services","en"],"sources":["src/i18n/i18n.ts"],"sourcesContent":["interface Translation {\n filter: string;\n practice: string;\n difficulty: string;\n duration: string;\n length: string;\n treks: string;\n trek: string;\n showList: string;\n showMap: string;\n showRoute: string;\n showDetails: string;\n download: string;\n downloads: string;\n description: string;\n departure: string;\n arrival: string;\n elevationProfile: string;\n roadAccess: string;\n transport: string;\n recommendations: string;\n recommendedParking: string;\n equipments: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n accessibility: string;\n accessibilityLevel: string;\n accessibilitySlope: string;\n accessibilityWidth: string;\n accessibilitySignage: string;\n accessibilityCovering: string;\n accessibilityExposure: string;\n accessibilityAdvices: string;\n pois: Function;\n touristicContents: Function;\n touristicEvents: Function;\n sources: string;\n city: string;\n crossedCities: string;\n placeholderCrossedCities: string;\n home: {\n segment: {\n treks: string;\n touristicContents: string;\n };\n touristicContents: string;\n touristicContent: string;\n };\n options: {\n presentation: string;\n description: string;\n recommendations: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n touristicEvents: string;\n };\n layers: {\n referencePoints: string;\n parking: string;\n sensitiveArea: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n touristicEvents: string;\n };\n themes: string;\n placeholderThemes: string;\n placeholderPractices: string;\n routes: string;\n elevation: string;\n activities: string;\n districts: string;\n erase: string;\n ok: string;\n location: string;\n steps: string;\n usefulInformation: string;\n contact: string;\n email: string;\n website: string;\n category: string;\n services: string;\n}\n\ninterface AvailableTranslations {\n fr: Translation;\n en: Translation;\n}\n\nexport const translate: AvailableTranslations = {\n fr: {\n filter: 'Filtrer',\n practice: 'Pratique',\n difficulty: 'Difficulté',\n duration: 'Durée',\n length: 'Longueur',\n treks: 'itinéraires',\n trek: 'itinéraire',\n showList: 'Voir la liste',\n showMap: 'Voir la carte',\n showRoute: \"Voir l'itinéraire\",\n showDetails: 'Voir la fiche',\n download: 'Téléchargement',\n downloads: 'Téléchargements',\n description: 'Description',\n departure: 'Départ',\n arrival: 'Arrivée',\n elevationProfile: 'Profil altimétrique',\n roadAccess: 'Accès routier',\n transport: 'Transport',\n recommendations: 'Recommandations',\n recommendedParking: 'Parking conseillé',\n equipments: 'Équipements',\n environmentalSensitiveAreas: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n accessibility: 'Accessibilité',\n accessibilityLevel: \"Niveau d'accessibilité\",\n accessibilitySlope: 'Pente',\n accessibilityWidth: 'Largeur',\n accessibilitySignage: 'Signalisation',\n accessibilityCovering: 'Revêtement',\n accessibilityExposure: 'Exposition',\n accessibilityAdvices: 'Conseils',\n pois: (poisLength: number) => `Les ${poisLength} patrimoines à découvrir`,\n touristicContents: (touristicContentsLength: number) => `À proximité (${touristicContentsLength})`,\n touristicEvents: (touristicEventsLength: number) => `Événements (${touristicEventsLength})`,\n sources: 'Sources',\n city: 'Commune',\n crossedCities: 'Communes',\n placeholderCrossedCities: 'Sélectionner une ou plusieurs communes',\n home: {\n segment: {\n treks: 'Itinéraires',\n touristicContents: 'Services',\n },\n touristicContents: 'Services',\n touristicContent: 'Service',\n },\n options: {\n presentation: 'Présentation',\n description: 'Description',\n recommendations: 'Recommandations',\n environmentalSensitiveAreas: 'Zones sensibles',\n informationPlaces: \"Lieux d'informations\",\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n touristicEvents: 'Événements',\n },\n layers: {\n referencePoints: 'Points de référence',\n parking: 'Parking conseillé',\n sensitiveArea: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n touristicEvents: 'Événements',\n },\n themes: 'Thèmes',\n placeholderThemes: 'Sélectionner un ou plusieurs thèmes',\n placeholderPractices: 'Sélectionner une ou plusieurs pratiques',\n routes: 'Type de parcours',\n elevation: 'Denivelé positif',\n activities: 'Activités',\n districts: 'Secteurs',\n erase: 'EFFACER',\n ok: 'OK',\n location: 'Localisation',\n steps: 'étapes',\n usefulInformation: 'Informations pratiques',\n contact: 'Contact',\n email: 'Email',\n website: 'Site web',\n category: 'Catégorie',\n services: 'Services',\n },\n en: {\n filter: 'Filter',\n practice: 'Practice',\n difficulty: 'Difficulty',\n duration: 'Duration',\n length: 'Length',\n treks: 'routes',\n trek: 'route',\n showList: 'Show the list',\n showMap: 'Show the map',\n showRoute: 'Show the route',\n showDetails: 'Show the details',\n download: 'Download',\n downloads: 'Downloads',\n description: 'Description',\n departure: 'Departure',\n arrival: 'Arrival',\n elevationProfile: 'Elevation profile',\n roadAccess: 'Road acess',\n transport: 'Transport',\n recommendations: 'Recommendations',\n recommendedParking: 'Parking recommended',\n equipments: 'Equipements',\n environmentalSensitiveAreas: 'Areas of environmental sensitivity',\n informationPlaces: 'Information places',\n accessibility: 'Accessibility',\n accessibilityLevel: 'Accessibility level',\n accessibilitySlope: 'Slope',\n accessibilityWidth: 'Width',\n accessibilitySignage: 'Signage',\n accessibilityCovering: 'Covering',\n accessibilityExposure: 'Exposure',\n accessibilityAdvices: 'Advices',\n pois: (poisLength: number) => `${poisLength} points of interest`,\n touristicContents: (touristicContentsLength: number) => `Near (${touristicContentsLength})`,\n touristicEvents: (touristicEventsLength: number) => `Events (${touristicEventsLength})`,\n sources: 'Sources',\n city: 'City',\n crossedCities: 'Cities',\n placeholderCrossedCities: 'Select one or more municipalities',\n home: {\n segment: {\n treks: 'Routes',\n touristicContents: 'Services',\n },\n touristicContents: 'Services',\n touristicContent: 'Service',\n },\n options: {\n presentation: 'Presentation',\n description: 'Description',\n recommendations: 'Recommendations',\n environmentalSensitiveAreas: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n touristicEvents: 'Events',\n },\n layers: {\n referencePoints: 'Reference points',\n parking: 'Parking',\n sensitiveArea: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n touristicEvents: 'Events',\n },\n themes: 'Themes',\n placeholderThemes: 'Select one or more themes',\n placeholderPractices: 'Select one or more practices',\n routes: 'Type of course',\n elevation: 'Positive elevation',\n activities: 'Activities',\n districts: 'Districts',\n erase: 'ERASE',\n ok: 'OK',\n location: 'Location',\n usefulInformation: 'Useful information',\n steps: 'steps',\n contact: 'Contact',\n email: 'Email',\n website: 'Website',\n category: 'Category',\n services: 'Services',\n },\n};\n"],"mappings":"IA6FaA,UAAmC,CAC9CC,GAAI,CACFC,OAAQ,UACRC,SAAU,WACVC,WAAY,aACZC,SAAU,QACVC,OAAQ,WACRC,MAAO,cACPC,KAAM,aACNC,SAAU,gBACVC,QAAS,gBACTC,UAAW,oBACXC,YAAa,gBACbC,SAAU,iBACVC,UAAW,kBACXC,YAAa,cACbC,UAAW,SACXC,QAAS,UACTC,iBAAkB,sBAClBC,WAAY,gBACZC,UAAW,YACXC,gBAAiB,kBACjBC,mBAAoB,oBACpBC,WAAY,cACZC,4BAA6B,wCAC7BC,kBAAmB,yBACnBC,cAAe,gBACfC,mBAAoB,yBACpBC,mBAAoB,QACpBC,mBAAoB,UACpBC,qBAAsB,gBACtBC,sBAAuB,aACvBC,sBAAuB,aACvBC,qBAAsB,WACtBC,KAAM,SAACC,GAAuB,aAAAC,OAAOD,EAAU,2BAAjB,EAC9BE,kBAAmB,SAACC,GAAoC,sBAAAF,OAAgBE,EAAuB,IAAvC,EACxDC,gBAAiB,SAACC,GAAkC,qBAAAJ,OAAeI,EAAqB,IAApC,EACpDC,QAAS,UACTC,KAAM,UACNC,cAAe,WACfC,yBAA0B,yCAC1BC,KAAM,CACJC,QAAS,CACPvC,MAAO,cACP8B,kBAAmB,YAErBA,kBAAmB,WACnBU,iBAAkB,WAEpBC,QAAS,CACPC,aAAc,eACdlC,YAAa,cACbM,gBAAiB,kBACjBG,4BAA6B,kBAC7BC,kBAAmB,uBACnBS,KAAM,cACNgB,MAAO,SACPb,kBAAmB,cACnBE,gBAAiB,cAEnBY,OAAQ,CACNC,gBAAiB,sBACjBC,QAAS,oBACTC,cAAe,wCACf7B,kBAAmB,yBACnBS,KAAM,cACNgB,MAAO,SACPb,kBAAmB,cACnBE,gBAAiB,cAEnBgB,OAAQ,SACRC,kBAAmB,sCACnBC,qBAAsB,0CACtBC,OAAQ,mBACRC,UAAW,mBACXC,WAAY,YACZC,UAAW,WACXC,MAAO,UACPC,GAAI,KACJC,SAAU,eACVd,MAAO,SACPe,kBAAmB,yBACnBC,QAAS,UACTC,MAAO,QACPC,QAAS,WACTC,SAAU,YACVC,SAAU,YAEZC,GAAI,CACFrE,OAAQ,SACRC,SAAU,WACVC,WAAY,aACZC,SAAU,WACVC,OAAQ,SACRC,MAAO,SACPC,KAAM,QACNC,SAAU,gBACVC,QAAS,eACTC,UAAW,iBACXC,YAAa,mBACbC,SAAU,WACVC,UAAW,YACXC,YAAa,cACbC,UAAW,YACXC,QAAS,UACTC,iBAAkB,oBAClBC,WAAY,aACZC,UAAW,YACXC,gBAAiB,kBACjBC,mBAAoB,sBACpBC,WAAY,cACZC,4BAA6B,qCAC7BC,kBAAmB,qBACnBC,cAAe,gBACfC,mBAAoB,sBACpBC,mBAAoB,QACpBC,mBAAoB,QACpBC,qBAAsB,UACtBC,sBAAuB,WACvBC,sBAAuB,WACvBC,qBAAsB,UACtBC,KAAM,SAACC,GAAuB,SAAAC,OAAGD,EAAU,sBAAb,EAC9BE,kBAAmB,SAACC,GAAoC,eAAAF,OAASE,EAAuB,IAAhC,EACxDC,gBAAiB,SAACC,GAAkC,iBAAAJ,OAAWI,EAAqB,IAAhC,EACpDC,QAAS,UACTC,KAAM,OACNC,cAAe,SACfC,yBAA0B,oCAC1BC,KAAM,CACJC,QAAS,CACPvC,MAAO,SACP8B,kBAAmB,YAErBA,kBAAmB,WACnBU,iBAAkB,WAEpBC,QAAS,CACPC,aAAc,eACdlC,YAAa,cACbM,gBAAiB,kBACjBG,4BAA6B,kBAC7BC,kBAAmB,qBACnBS,KAAM,qBACNgB,MAAO,QACPb,kBAAmB,OACnBE,gBAAiB,UAEnBY,OAAQ,CACNC,gBAAiB,mBACjBC,QAAS,UACTC,cAAe,kBACf7B,kBAAmB,qBACnBS,KAAM,qBACNgB,MAAO,QACPb,kBAAmB,OACnBE,gBAAiB,UAEnBgB,OAAQ,SACRC,kBAAmB,4BACnBC,qBAAsB,+BACtBC,OAAQ,iBACRC,UAAW,qBACXC,WAAY,aACZC,UAAW,YACXC,MAAO,QACPC,GAAI,KACJC,SAAU,WACVC,kBAAmB,qBACnBf,MAAO,QACPgB,QAAS,UACTC,MAAO,QACPC,QAAS,UACTC,SAAU,WACVC,SAAU,oB"}
@@ -1,2 +1,2 @@
1
- import{p as r,w as o,d as e,N as n,a as i,b as t}from"./p-0c07a3f0.js";export{s as setNonce}from"./p-0c07a3f0.js";function c(r){var o,e,n;return(n=(e=(o=r.head)===null||o===void 0?void 0:o.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&n!==void 0?n:undefined}const a=r=>`__sc_import_${r.replace(/\s|-/g,"_")}`;const l=()=>{{r.o=o.__cssshim}const t=Array.from(e.querySelectorAll("script")).find((r=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(r.src)||r.getAttribute("data-stencil-namespace")===n));const c=(t||{})["data-opts"]||{};if("onbeforeload"in t&&!history.scrollRestoration){return{then(){}}}{c.resourcesUrl=new URL(".",new URL(t.getAttribute("data-resources-url")||t.src,o.location.href)).href;{p(c.resourcesUrl,t)}if(!o.customElements){return __sc_import_geotrek_rando_widget("./p-00cfef9b.js").then((()=>c))}}return i(c)};const p=(i,t)=>{const s=a(n);try{o[s]=new Function("w",`return import(w);//${Math.random()}`)}catch(l){const n=new Map;o[s]=a=>{var l;const p=new URL(a,i).href;let u=n.get(p);if(!u){const i=e.createElement("script");i.type="module";i.crossOrigin=t.crossOrigin;i.src=URL.createObjectURL(new Blob([`import * as m from '${p}'; window.${s}.m = m;`],{type:"application/javascript"}));const a=(l=r.i)!==null&&l!==void 0?l:c(e);if(a!=null){i.setAttribute("nonce",a)}u=new Promise((r=>{i.onload=()=>{r(o[s].m);i.remove()}}));n.set(p,u);e.head.appendChild(i)}return u}}};l().then((r=>t([["p-01d57fd7",[[0,"grw-app",{appWidth:[1,"app-width"],appHeight:[1,"app-height"],api:[1],languages:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],center:[1],zoom:[2],nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],weather:[4],colorPrimaryApp:[1,"color-primary-app"],colorOnPrimary:[1,"color-on-primary"],colorSurface:[1,"color-surface"],colorOnSurface:[1,"color-on-surface"],colorSurfaceVariant:[1,"color-surface-variant"],colorOnSurfaceVariant:[1,"color-on-surface-variant"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorBackground:[1,"color-background"],colorSurfaceContainerHigh:[1,"color-surface-container-high"],colorSurfaceContainerLow:[1,"color-surface-container-low"],fabBackgroundColor:[1,"fab-background-color"],fabColor:[1,"fab-color"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],treks:[4],touristicContents:[4,"touristic-contents"],touristicEvents:[4,"touristic-events"],showTrek:[32],showTouristicContent:[32],showTouristicEvent:[32],showHomeMap:[32],showTrekMap:[32],showTouristicContentMap:[32],showTouristicEventMap:[32],showFilters:[32],isLargeView:[32],currentTrekId:[32],currentTouristicContentId:[32],currentTouristicEventId:[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]],["p-1a0c7f72",[[1,"grw-select-language"]]],["p-42ee320d",[[1,"grw-touristic-event-card-provider",{languages:[1],api:[1],touristicEventId:[1,"touristic-event-id"],portals:[1]}]]],["p-fccc2cf2",[[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterPlaceholder:[1,"filter-placeholder"],filterNameProperty:[1,"filter-name-property"],segment:[1]},[[8,"resetFilter","onResetFilter"]]]]],["p-689557e0",[[1,"grw-information-desk",{informationDesk:[16],displayShortDescription:[32]}],[1,"grw-poi",{poi:[16],displayShortDescription:[32],displayFullscreen:[32]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}],[1,"grw-touristic-event-card",{touristicEvent:[16],displayFullscreen:[32]}],[1,"grw-touristic-content-card",{touristicContent:[16],isLargeView:[4,"is-large-view"],isInsideHorizontalList:[4,"is-inside-horizontal-list"],displayFullscreen:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-trek-card",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isStep:[4,"is-step"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],departureCity:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-eb0e19d4",[[1,"grw-trek-detail",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],weather:[4],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],displayFullscreen:[32],cities:[32],options:[32]}],[1,"grw-filters",{handleFilters:[16],selectedSegment:[32]}],[1,"grw-touristic-contents-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],touristicContentsToDisplay:[32]}],[1,"grw-treks-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],treksToDisplay:[32]}],[1,"grw-map",{nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],center:[1],zoom:[2],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorBackground:[1,"color-background"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isLargeView:[4,"is-large-view"],mapIsReady:[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationDeskIsInViewport","onInformationDesksIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"]]],[1,"grw-search"],[1,"grw-touristic-content-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-touristic-content-provider",{languages:[1],api:[1],touristicContentId:[1,"touristic-content-id"],portals:[1]}],[1,"grw-touristic-contents-provider",{languages:[1],api:[1],touristicContentId:[1,"touristic-content-id"],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1]}],[1,"grw-touristic-event-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-trek-provider",{languages:[1],api:[1],trekId:[1,"trek-id"],portals:[1]}],[1,"grw-treks-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]]],r)));
1
+ import{p as r,w as o,d as e,N as n,a as i,b as t}from"./p-0c07a3f0.js";export{s as setNonce}from"./p-0c07a3f0.js";function c(r){var o,e,n;return(n=(e=(o=r.head)===null||o===void 0?void 0:o.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&n!==void 0?n:undefined}const a=r=>`__sc_import_${r.replace(/\s|-/g,"_")}`;const l=()=>{{r.o=o.__cssshim}const t=Array.from(e.querySelectorAll("script")).find((r=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(r.src)||r.getAttribute("data-stencil-namespace")===n));const c=(t||{})["data-opts"]||{};if("onbeforeload"in t&&!history.scrollRestoration){return{then(){}}}{c.resourcesUrl=new URL(".",new URL(t.getAttribute("data-resources-url")||t.src,o.location.href)).href;{p(c.resourcesUrl,t)}if(!o.customElements){return __sc_import_geotrek_rando_widget("./p-00cfef9b.js").then((()=>c))}}return i(c)};const p=(i,t)=>{const s=a(n);try{o[s]=new Function("w",`return import(w);//${Math.random()}`)}catch(l){const n=new Map;o[s]=a=>{var l;const p=new URL(a,i).href;let u=n.get(p);if(!u){const i=e.createElement("script");i.type="module";i.crossOrigin=t.crossOrigin;i.src=URL.createObjectURL(new Blob([`import * as m from '${p}'; window.${s}.m = m;`],{type:"application/javascript"}));const a=(l=r.i)!==null&&l!==void 0?l:c(e);if(a!=null){i.setAttribute("nonce",a)}u=new Promise((r=>{i.onload=()=>{r(o[s].m);i.remove()}}));n.set(p,u);e.head.appendChild(i)}return u}}};l().then((r=>t([["p-ba971c93",[[0,"grw-app",{appWidth:[1,"app-width"],appHeight:[1,"app-height"],api:[1],languages:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],center:[1],zoom:[2],nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],weather:[4],colorPrimaryApp:[1,"color-primary-app"],colorOnPrimary:[1,"color-on-primary"],colorSurface:[1,"color-surface"],colorOnSurface:[1,"color-on-surface"],colorSurfaceVariant:[1,"color-surface-variant"],colorOnSurfaceVariant:[1,"color-on-surface-variant"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorBackground:[1,"color-background"],colorSurfaceContainerHigh:[1,"color-surface-container-high"],colorSurfaceContainerLow:[1,"color-surface-container-low"],fabBackgroundColor:[1,"fab-background-color"],fabColor:[1,"fab-color"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],treks:[4],touristicContents:[4,"touristic-contents"],touristicEvents:[4,"touristic-events"],showTrek:[32],showTouristicContent:[32],showTouristicEvent:[32],showHomeMap:[32],showTrekMap:[32],showTouristicContentMap:[32],showTouristicEventMap:[32],showFilters:[32],isLargeView:[32],currentTrekId:[32],currentTouristicContentId:[32],currentTouristicEventId:[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]],["p-1a0c7f72",[[1,"grw-select-language"]]],["p-42ee320d",[[1,"grw-touristic-event-card-provider",{languages:[1],api:[1],touristicEventId:[1,"touristic-event-id"],portals:[1]}]]],["p-fccc2cf2",[[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterPlaceholder:[1,"filter-placeholder"],filterNameProperty:[1,"filter-name-property"],segment:[1]},[[8,"resetFilter","onResetFilter"]]]]],["p-689557e0",[[1,"grw-information-desk",{informationDesk:[16],displayShortDescription:[32]}],[1,"grw-poi",{poi:[16],displayShortDescription:[32],displayFullscreen:[32]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}],[1,"grw-touristic-event-card",{touristicEvent:[16],displayFullscreen:[32]}],[1,"grw-touristic-content-card",{touristicContent:[16],isLargeView:[4,"is-large-view"],isInsideHorizontalList:[4,"is-inside-horizontal-list"],displayFullscreen:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-trek-card",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isStep:[4,"is-step"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],departureCity:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-3bbe169c",[[1,"grw-trek-detail",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],weather:[4],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],displayFullscreen:[32],cities:[32],options:[32]}],[1,"grw-filters",{handleFilters:[16],selectedSegment:[32]}],[1,"grw-touristic-contents-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],touristicContentsToDisplay:[32]}],[1,"grw-treks-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],treksToDisplay:[32]}],[1,"grw-map",{nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],center:[1],zoom:[2],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorBackground:[1,"color-background"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isLargeView:[4,"is-large-view"],mapIsReady:[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationDeskIsInViewport","onInformationDesksIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"]]],[1,"grw-search"],[1,"grw-touristic-content-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-touristic-content-provider",{languages:[1],api:[1],touristicContentId:[1,"touristic-content-id"],portals:[1]}],[1,"grw-touristic-contents-provider",{languages:[1],api:[1],touristicContentId:[1,"touristic-content-id"],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1]}],[1,"grw-touristic-event-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-trek-provider",{languages:[1],api:[1],trekId:[1,"trek-id"],portals:[1]}],[1,"grw-treks-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]]],r)));
2
2
  //# sourceMappingURL=geotrek-rando-widget.esm.js.map
@@ -0,0 +1,2 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){var i=e("t",{fr:{filter:"Filtrer",practice:"Pratique",difficulty:"Difficulté",duration:"Durée",length:"Longueur",treks:"itinéraires",trek:"itinéraire",showList:"Voir la liste",showMap:"Voir la carte",showRoute:"Voir l'itinéraire",showDetails:"Voir la fiche",download:"Téléchargement",downloads:"Téléchargements",description:"Description",departure:"Départ",arrival:"Arrivée",elevationProfile:"Profil altimétrique",roadAccess:"Accès routier",transport:"Transport",recommendations:"Recommandations",recommendedParking:"Parking conseillé",equipments:"Équipements",environmentalSensitiveAreas:"Zones de sensibilité environnementale",informationPlaces:"Lieux de renseignement",accessibility:"Accessibilité",accessibilityLevel:"Niveau d'accessibilité",accessibilitySlope:"Pente",accessibilityWidth:"Largeur",accessibilitySignage:"Signalisation",accessibilityCovering:"Revêtement",accessibilityExposure:"Exposition",accessibilityAdvices:"Conseils",pois:function(e){return"Les ".concat(e," patrimoines à découvrir")},touristicContents:function(e){return"À proximité (".concat(e,")")},touristicEvents:function(e){return"Événements (".concat(e,")")},sources:"Sources",city:"Commune",crossedCities:"Communes",placeholderCrossedCities:"Sélectionner une ou plusieurs communes",home:{segment:{treks:"Itinéraires",touristicContents:"Services"},touristicContents:"Services",touristicContent:"Service"},options:{presentation:"Présentation",description:"Description",recommendations:"Recommandations",environmentalSensitiveAreas:"Zones sensibles",informationPlaces:"Lieux d'informations",pois:"Patrimoines",steps:"Étapes",touristicContents:"À proximité",touristicEvents:"Événements"},layers:{referencePoints:"Points de référence",parking:"Parking conseillé",sensitiveArea:"Zones de sensibilité environnementale",informationPlaces:"Lieux de renseignement",pois:"Patrimoines",steps:"Étapes",touristicContents:"À proximité",touristicEvents:"Événements"},themes:"Thèmes",placeholderThemes:"Sélectionner un ou plusieurs thèmes",placeholderPractices:"Sélectionner une ou plusieurs pratiques",routes:"Type de parcours",elevation:"Denivelé positif",activities:"Activités",districts:"Secteurs",erase:"EFFACER",ok:"OK",location:"Localisation",steps:"étapes",usefulInformation:"Informations pratiques",contact:"Contact",email:"Email",website:"Site web",category:"Catégorie",services:"Services"},en:{filter:"Filter",practice:"Practice",difficulty:"Difficulty",duration:"Duration",length:"Length",treks:"routes",trek:"route",showList:"Show the list",showMap:"Show the map",showRoute:"Show the route",showDetails:"Show the details",download:"Download",downloads:"Downloads",description:"Description",departure:"Departure",arrival:"Arrival",elevationProfile:"Elevation profile",roadAccess:"Road acess",transport:"Transport",recommendations:"Recommendations",recommendedParking:"Parking recommended",equipments:"Equipements",environmentalSensitiveAreas:"Areas of environmental sensitivity",informationPlaces:"Information places",accessibility:"Accessibility",accessibilityLevel:"Accessibility level",accessibilitySlope:"Slope",accessibilityWidth:"Width",accessibilitySignage:"Signage",accessibilityCovering:"Covering",accessibilityExposure:"Exposure",accessibilityAdvices:"Advices",pois:function(e){return"".concat(e," points of interest")},touristicContents:function(e){return"Near (".concat(e,")")},touristicEvents:function(e){return"Events (".concat(e,")")},sources:"Sources",city:"City",crossedCities:"Cities",placeholderCrossedCities:"Select one or more municipalities",home:{segment:{treks:"Routes",touristicContents:"Services"},touristicContents:"Services",touristicContent:"Service"},options:{presentation:"Presentation",description:"Description",recommendations:"Recommendations",environmentalSensitiveAreas:"Sensitive areas",informationPlaces:"Information places",pois:"Points of interest",steps:"Steps",touristicContents:"Near",touristicEvents:"Events"},layers:{referencePoints:"Reference points",parking:"Parking",sensitiveArea:"Sensitive areas",informationPlaces:"Information places",pois:"Points of interest",steps:"Steps",touristicContents:"Near",touristicEvents:"Events"},themes:"Themes",placeholderThemes:"Select one or more themes",placeholderPractices:"Select one or more practices",routes:"Type of course",elevation:"Positive elevation",activities:"Activities",districts:"Districts",erase:"ERASE",ok:"OK",location:"Location",usefulInformation:"Useful information",steps:"steps",contact:"Contact",email:"Email",website:"Website",category:"Category",services:"Services"}})}}}));
2
+ //# sourceMappingURL=p-0f47847d.system.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["translate","exports","fr","filter","practice","difficulty","duration","length","treks","trek","showList","showMap","showRoute","showDetails","download","downloads","description","departure","arrival","elevationProfile","roadAccess","transport","recommendations","recommendedParking","equipments","environmentalSensitiveAreas","informationPlaces","accessibility","accessibilityLevel","accessibilitySlope","accessibilityWidth","accessibilitySignage","accessibilityCovering","accessibilityExposure","accessibilityAdvices","pois","poisLength","concat","touristicContents","touristicContentsLength","touristicEvents","touristicEventsLength","sources","city","crossedCities","placeholderCrossedCities","home","segment","touristicContent","options","presentation","steps","layers","referencePoints","parking","sensitiveArea","themes","placeholderThemes","placeholderPractices","routes","elevation","activities","districts","erase","ok","location","usefulInformation","contact","email","website","category","services","en"],"sources":["src/i18n/i18n.ts"],"sourcesContent":["interface Translation {\n filter: string;\n practice: string;\n difficulty: string;\n duration: string;\n length: string;\n treks: string;\n trek: string;\n showList: string;\n showMap: string;\n showRoute: string;\n showDetails: string;\n download: string;\n downloads: string;\n description: string;\n departure: string;\n arrival: string;\n elevationProfile: string;\n roadAccess: string;\n transport: string;\n recommendations: string;\n recommendedParking: string;\n equipments: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n accessibility: string;\n accessibilityLevel: string;\n accessibilitySlope: string;\n accessibilityWidth: string;\n accessibilitySignage: string;\n accessibilityCovering: string;\n accessibilityExposure: string;\n accessibilityAdvices: string;\n pois: Function;\n touristicContents: Function;\n touristicEvents: Function;\n sources: string;\n city: string;\n crossedCities: string;\n placeholderCrossedCities: string;\n home: {\n segment: {\n treks: string;\n touristicContents: string;\n };\n touristicContents: string;\n touristicContent: string;\n };\n options: {\n presentation: string;\n description: string;\n recommendations: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n touristicEvents: string;\n };\n layers: {\n referencePoints: string;\n parking: string;\n sensitiveArea: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n touristicEvents: string;\n };\n themes: string;\n placeholderThemes: string;\n placeholderPractices: string;\n routes: string;\n elevation: string;\n activities: string;\n districts: string;\n erase: string;\n ok: string;\n location: string;\n steps: string;\n usefulInformation: string;\n contact: string;\n email: string;\n website: string;\n category: string;\n services: string;\n}\n\ninterface AvailableTranslations {\n fr: Translation;\n en: Translation;\n}\n\nexport const translate: AvailableTranslations = {\n fr: {\n filter: 'Filtrer',\n practice: 'Pratique',\n difficulty: 'Difficulté',\n duration: 'Durée',\n length: 'Longueur',\n treks: 'itinéraires',\n trek: 'itinéraire',\n showList: 'Voir la liste',\n showMap: 'Voir la carte',\n showRoute: \"Voir l'itinéraire\",\n showDetails: 'Voir la fiche',\n download: 'Téléchargement',\n downloads: 'Téléchargements',\n description: 'Description',\n departure: 'Départ',\n arrival: 'Arrivée',\n elevationProfile: 'Profil altimétrique',\n roadAccess: 'Accès routier',\n transport: 'Transport',\n recommendations: 'Recommandations',\n recommendedParking: 'Parking conseillé',\n equipments: 'Équipements',\n environmentalSensitiveAreas: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n accessibility: 'Accessibilité',\n accessibilityLevel: \"Niveau d'accessibilité\",\n accessibilitySlope: 'Pente',\n accessibilityWidth: 'Largeur',\n accessibilitySignage: 'Signalisation',\n accessibilityCovering: 'Revêtement',\n accessibilityExposure: 'Exposition',\n accessibilityAdvices: 'Conseils',\n pois: (poisLength: number) => `Les ${poisLength} patrimoines à découvrir`,\n touristicContents: (touristicContentsLength: number) => `À proximité (${touristicContentsLength})`,\n touristicEvents: (touristicEventsLength: number) => `Événements (${touristicEventsLength})`,\n sources: 'Sources',\n city: 'Commune',\n crossedCities: 'Communes',\n placeholderCrossedCities: 'Sélectionner une ou plusieurs communes',\n home: {\n segment: {\n treks: 'Itinéraires',\n touristicContents: 'Services',\n },\n touristicContents: 'Services',\n touristicContent: 'Service',\n },\n options: {\n presentation: 'Présentation',\n description: 'Description',\n recommendations: 'Recommandations',\n environmentalSensitiveAreas: 'Zones sensibles',\n informationPlaces: \"Lieux d'informations\",\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n touristicEvents: 'Événements',\n },\n layers: {\n referencePoints: 'Points de référence',\n parking: 'Parking conseillé',\n sensitiveArea: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n touristicEvents: 'Événements',\n },\n themes: 'Thèmes',\n placeholderThemes: 'Sélectionner un ou plusieurs thèmes',\n placeholderPractices: 'Sélectionner une ou plusieurs pratiques',\n routes: 'Type de parcours',\n elevation: 'Denivelé positif',\n activities: 'Activités',\n districts: 'Secteurs',\n erase: 'EFFACER',\n ok: 'OK',\n location: 'Localisation',\n steps: 'étapes',\n usefulInformation: 'Informations pratiques',\n contact: 'Contact',\n email: 'Email',\n website: 'Site web',\n category: 'Catégorie',\n services: 'Services',\n },\n en: {\n filter: 'Filter',\n practice: 'Practice',\n difficulty: 'Difficulty',\n duration: 'Duration',\n length: 'Length',\n treks: 'routes',\n trek: 'route',\n showList: 'Show the list',\n showMap: 'Show the map',\n showRoute: 'Show the route',\n showDetails: 'Show the details',\n download: 'Download',\n downloads: 'Downloads',\n description: 'Description',\n departure: 'Departure',\n arrival: 'Arrival',\n elevationProfile: 'Elevation profile',\n roadAccess: 'Road acess',\n transport: 'Transport',\n recommendations: 'Recommendations',\n recommendedParking: 'Parking recommended',\n equipments: 'Equipements',\n environmentalSensitiveAreas: 'Areas of environmental sensitivity',\n informationPlaces: 'Information places',\n accessibility: 'Accessibility',\n accessibilityLevel: 'Accessibility level',\n accessibilitySlope: 'Slope',\n accessibilityWidth: 'Width',\n accessibilitySignage: 'Signage',\n accessibilityCovering: 'Covering',\n accessibilityExposure: 'Exposure',\n accessibilityAdvices: 'Advices',\n pois: (poisLength: number) => `${poisLength} points of interest`,\n touristicContents: (touristicContentsLength: number) => `Near (${touristicContentsLength})`,\n touristicEvents: (touristicEventsLength: number) => `Events (${touristicEventsLength})`,\n sources: 'Sources',\n city: 'City',\n crossedCities: 'Cities',\n placeholderCrossedCities: 'Select one or more municipalities',\n home: {\n segment: {\n treks: 'Routes',\n touristicContents: 'Services',\n },\n touristicContents: 'Services',\n touristicContent: 'Service',\n },\n options: {\n presentation: 'Presentation',\n description: 'Description',\n recommendations: 'Recommendations',\n environmentalSensitiveAreas: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n touristicEvents: 'Events',\n },\n layers: {\n referencePoints: 'Reference points',\n parking: 'Parking',\n sensitiveArea: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n touristicEvents: 'Events',\n },\n themes: 'Themes',\n placeholderThemes: 'Select one or more themes',\n placeholderPractices: 'Select one or more practices',\n routes: 'Type of course',\n elevation: 'Positive elevation',\n activities: 'Activities',\n districts: 'Districts',\n erase: 'ERASE',\n ok: 'OK',\n location: 'Location',\n usefulInformation: 'Useful information',\n steps: 'steps',\n contact: 'Contact',\n email: 'Email',\n website: 'Website',\n category: 'Category',\n services: 'Services',\n },\n};\n"],"mappings":"2EA6FaA,EAASC,EAAA,IAA0B,CAC9CC,GAAI,CACFC,OAAQ,UACRC,SAAU,WACVC,WAAY,aACZC,SAAU,QACVC,OAAQ,WACRC,MAAO,cACPC,KAAM,aACNC,SAAU,gBACVC,QAAS,gBACTC,UAAW,oBACXC,YAAa,gBACbC,SAAU,iBACVC,UAAW,kBACXC,YAAa,cACbC,UAAW,SACXC,QAAS,UACTC,iBAAkB,sBAClBC,WAAY,gBACZC,UAAW,YACXC,gBAAiB,kBACjBC,mBAAoB,oBACpBC,WAAY,cACZC,4BAA6B,wCAC7BC,kBAAmB,yBACnBC,cAAe,gBACfC,mBAAoB,yBACpBC,mBAAoB,QACpBC,mBAAoB,UACpBC,qBAAsB,gBACtBC,sBAAuB,aACvBC,sBAAuB,aACvBC,qBAAsB,WACtBC,KAAM,SAACC,GAAuB,aAAAC,OAAOD,EAAU,2BAAjB,EAC9BE,kBAAmB,SAACC,GAAoC,sBAAAF,OAAgBE,EAAuB,IAAvC,EACxDC,gBAAiB,SAACC,GAAkC,qBAAAJ,OAAeI,EAAqB,IAApC,EACpDC,QAAS,UACTC,KAAM,UACNC,cAAe,WACfC,yBAA0B,yCAC1BC,KAAM,CACJC,QAAS,CACPvC,MAAO,cACP8B,kBAAmB,YAErBA,kBAAmB,WACnBU,iBAAkB,WAEpBC,QAAS,CACPC,aAAc,eACdlC,YAAa,cACbM,gBAAiB,kBACjBG,4BAA6B,kBAC7BC,kBAAmB,uBACnBS,KAAM,cACNgB,MAAO,SACPb,kBAAmB,cACnBE,gBAAiB,cAEnBY,OAAQ,CACNC,gBAAiB,sBACjBC,QAAS,oBACTC,cAAe,wCACf7B,kBAAmB,yBACnBS,KAAM,cACNgB,MAAO,SACPb,kBAAmB,cACnBE,gBAAiB,cAEnBgB,OAAQ,SACRC,kBAAmB,sCACnBC,qBAAsB,0CACtBC,OAAQ,mBACRC,UAAW,mBACXC,WAAY,YACZC,UAAW,WACXC,MAAO,UACPC,GAAI,KACJC,SAAU,eACVd,MAAO,SACPe,kBAAmB,yBACnBC,QAAS,UACTC,MAAO,QACPC,QAAS,WACTC,SAAU,YACVC,SAAU,YAEZC,GAAI,CACFrE,OAAQ,SACRC,SAAU,WACVC,WAAY,aACZC,SAAU,WACVC,OAAQ,SACRC,MAAO,SACPC,KAAM,QACNC,SAAU,gBACVC,QAAS,eACTC,UAAW,iBACXC,YAAa,mBACbC,SAAU,WACVC,UAAW,YACXC,YAAa,cACbC,UAAW,YACXC,QAAS,UACTC,iBAAkB,oBAClBC,WAAY,aACZC,UAAW,YACXC,gBAAiB,kBACjBC,mBAAoB,sBACpBC,WAAY,cACZC,4BAA6B,qCAC7BC,kBAAmB,qBACnBC,cAAe,gBACfC,mBAAoB,sBACpBC,mBAAoB,QACpBC,mBAAoB,QACpBC,qBAAsB,UACtBC,sBAAuB,WACvBC,sBAAuB,WACvBC,qBAAsB,UACtBC,KAAM,SAACC,GAAuB,SAAAC,OAAGD,EAAU,sBAAb,EAC9BE,kBAAmB,SAACC,GAAoC,eAAAF,OAASE,EAAuB,IAAhC,EACxDC,gBAAiB,SAACC,GAAkC,iBAAAJ,OAAWI,EAAqB,IAAhC,EACpDC,QAAS,UACTC,KAAM,OACNC,cAAe,SACfC,yBAA0B,oCAC1BC,KAAM,CACJC,QAAS,CACPvC,MAAO,SACP8B,kBAAmB,YAErBA,kBAAmB,WACnBU,iBAAkB,WAEpBC,QAAS,CACPC,aAAc,eACdlC,YAAa,cACbM,gBAAiB,kBACjBG,4BAA6B,kBAC7BC,kBAAmB,qBACnBS,KAAM,qBACNgB,MAAO,QACPb,kBAAmB,OACnBE,gBAAiB,UAEnBY,OAAQ,CACNC,gBAAiB,mBACjBC,QAAS,UACTC,cAAe,kBACf7B,kBAAmB,qBACnBS,KAAM,qBACNgB,MAAO,QACPb,kBAAmB,OACnBE,gBAAiB,UAEnBgB,OAAQ,SACRC,kBAAmB,4BACnBC,qBAAsB,+BACtBC,OAAQ,iBACRC,UAAW,qBACXC,WAAY,aACZC,UAAW,YACXC,MAAO,QACPC,GAAI,KACJC,SAAU,WACVC,kBAAmB,qBACnBf,MAAO,QACPgB,QAAS,UACTC,MAAO,QACPC,QAAS,UACTC,SAAU,WACVC,SAAU,a"}
@@ -1,2 +1,2 @@
1
- System.register(["./p-d2c035bc.system.js","./p-7b61eee1.system.js","./p-10ee2e5e.system.js","./p-c63228e8.system.js"],(function(t){"use strict";var e,i,r,o,n,s,a,c,l,h,u,d;return{setters:[function(t){e=t.r;i=t.h;r=t.H;o=t.g},function(t){n=t.t},function(t){s=t.s;a=t.o;c=t.r},function(t){l=t.t;h=t.h;u=t.a;d=t.b}],execute:function(){var p='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:"Roboto";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:var(--header-height)}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.handle-search-filters-container .handle-filters-button span{font-size:18px}.header-detail{height:64px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.init-loader-container .loader,.loader-container .loader,.large-view-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - var(--header-height));background-color:var(--color-background)}.content-treks{height:calc(100% - var(--header-height))}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.app-touristic-content-detail-container,.app-touristic-event-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{max-width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail,grw-touristic-content-detail,grw-touristic-event-detail{max-height:calc(100vh - 64px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}';var w=t("grw_app",function(){function t(t){e(this,t);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.center=undefined;this.zoom=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.colorPrimaryApp="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorPoiIcon="#974c6e";this.useGradient=false;this.treks=true;this.touristicContents=false;this.touristicEvents=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;s.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;s.currentTouristicEvent=null;var e=s.parentTrekId?s.parentTrekId:s.currentTrekSteps?this.currentTrekId:null;s.currentTrek=null;this.currentTrekId=t.detail;this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());if(s.currentTrekSteps){i.searchParams.set("parenttrek",e.toString())}window.history.pushState({},"",i)};t.prototype.onParentTrekPress=function(t){s.currentTrek=null;this.currentTrekId=t.detail;this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());e.searchParams.delete("parenttrek");window.history.pushState({},"",e)};t.prototype.onTouristicContentCardPress=function(t){s.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;this.showTouristicContent=true;this.showTouristicContentMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",e)};t.prototype.onTouristiceEventCardPress=function(t){s.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;this.showTouristicEvent=true;this.showTouristicEventMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",e)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){s.mode="treks"}else if(this.touristicContents){s.mode="touristicContents"}var t=new URL(window.location.toString());var e=t.searchParams.get("trek");var i=t.searchParams.get("parenttrek");var r=t.searchParams.get("touristiccontent");var o=t.searchParams.get("touristicevent");if(e){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);s.parentTrekId=i?Number(i):null;this.currentTrekId=Number(e);this.showTrek=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(r);this.showTouristicContent=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(o);this.showTouristicEvent=true}};t.prototype.componentDidLoad=function(){var t=this;a("trekNetworkError",(function(){if(s.trekNetworkError){var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.delete("parenttrek");e.searchParams.delete("touristiccontent");e.searchParams.delete("touristicevent");window.history.replaceState({},"",e);t.onDetailsClose()}}));window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false;this.showTouristicEvent=false;this.showTouristicEventMap=false;s.currentTouristicContent=null;s.currentTouristicEvent=null;s.currentTrek=null;s.currentTrekSteps=null;s.parentTrekId=null;this.currentTrekId=null;this.showTrek=false};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var e=Number(t.searchParams.get("trek"));var i=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");if(e&&this.currentTrekId!==e){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;s.currentTouristicContent=null;s.currentTouristicEvent=null;s.currentTrek=null;this.currentTrekId=e;this.showTrek=true}else if(!e&&!i&&!r){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(this.showTrek){t=this.showTrekMap?n[s.language].showDetails:n[s.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?n[s.language].showDetails:n[s.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?n[s.language].showDetails:n[s.language].showMap}else{t=this.showHomeMap?n[s.language].showList:n[s.language].showMap}return t};t.prototype.disconnectedCallback=function(){c();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.changeMode=function(t){s.searchValue="";if(t==="treks"&&s.currentTreks){l.forEach((function(t){s[t.property].forEach((function(t){return t.selected=false}))}));s.selectedActivitiesFilters=0;s.selectedThemesFilters=0;s.selectedLocationFilters=0;s.currentTreks=h()}else if(t==="touristicContents"&&s.currentTouristicContents){u.forEach((function(t){s[t.property].forEach((function(t){return t.selected=false}))}));s.selectedActivitiesFilters=0;s.selectedLocationFilters=0;s.currentTouristicContents=d()}s.mode=t};t.prototype.render=function(){var t=this;return i(r,{style:{"--color-primary-app":this.colorPrimaryApp,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1?"136px":"64px"}},!s.currentTreks&&!s.currentTrek&&!s.currentTouristicContent&&!s.currentTouristicEvent&&!s.currentTouristicContents&&i("div",{class:"init-loader-container"},i("span",{class:"loader"})),this.treks&&s.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!s.currentTreks&&i("grw-treks-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals,routes:this.routes,practices:this.practices}),this.showTrek&&this.currentTrekId&&!s.currentTrek&&i("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals}),this.showTouristicContent&&this.currentTouristicContentId&&i("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&i("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.touristicContents&&s.mode==="touristicContents"&&!s.currentTouristicContents&&!this.showTouristicContent&&i("grw-touristic-contents-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),(s.currentTreks||s.currentTrek||s.touristicContents||s.currentTouristicContent||s.currentTouristicEvent)&&i("div",{class:"app-container"},i("div",{class:"".concat(this.isLargeView?"large-view-header-container":"header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?" header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&i("div",{class:"segmented-buttons-container"},this.treks&&i("label",{class:"segment".concat(s.mode==="treks"?" selected-segment":""),onClick:function(){return t.changeMode("treks")}},n[s.language].home.segment.treks),this.touristicContents&&i("label",{class:"segment".concat(s.mode==="touristicContents"?" selected-segment":""),onClick:function(){return t.changeMode("touristicContents")}},n[s.language].home.segment.touristicContents)),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent?i("div",{class:"handle-search-filters-container"},i("div",{class:"handle-search-container"},i("grw-search",null)),i("div",{class:"handle-filters-container"},i("button",{onClick:function(){return t.handleFilters()},class:"handle-filters-button"},i("span",{translate:false,class:"material-symbols material-symbols-outlined margin-right-icon"},"filter_list"),n[s.language].filter))):i("div",{class:"arrow-back-container"},i("button",{onClick:function(){return t.handleBackButton()},class:"arrow-back-icon"},i("span",{translate:false,class:"material-symbols material-symbols-outlined"},"arrow_back")))),i("div",{class:"content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?"content-trek":"content-treks")},i("div",{class:this.isLargeView?"large-view-app-treks-list-container":"app-treks-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent?"none":"flex",position:this.showTrek?"absolute":"relative"}},s.mode==="treks"&&this.treks&&i("grw-treks-list",{"reset-store-on-disconnected":"false","is-large-view":this.isLargeView,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),s.mode==="touristicContents"&&this.touristicContents&&i("grw-touristic-contents-list",{"reset-store-on-disconnected":"false","is-large-view":this.isLargeView,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),this.showTrek&&!s.currentTrek||this.showTouristicContent&&!s.currentTouristicContent||this.showTouristicEvent&&!s.currentTouristicEvent||!s.currentTreks&&s.mode==="treks"||!s.touristicContents&&s.mode==="touristicContents"&&i("div",{class:this.isLargeView?"large-view-loader-container":"loader-container"},i("span",{class:"loader"})),s.currentTrek&&i("div",{class:this.isLargeView?"large-view-app-trek-detail-container":"app-trek-detail-container"},i("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"reset-store-on-disconnected":"false","color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView})),this.showTouristicContent&&i("div",{class:this.isLargeView?"large-view-app-touristic-content-detail-container":"app-touristic-content-detail-container"},i("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showTouristicEvent&&i("div",{class:this.isLargeView?"large-view-app-touristic-event-detail-container":"app-touristic-event-detail-container"},i("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"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})),i("grw-map",{"reset-store-on-disconnected":"false",class:this.isLargeView?"large-view-app-map-container":"app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-poi-icon":this.colorPoiIcon,"is-large-view":this.isLargeView,"use-gradient":this.useGradient})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent||this.showTrek&&s.currentTrek||this.showTouristicContent&&s.currentTouristicContent||this.showTouristicEvent&&s.currentTouristicEvent)&&i("div",{class:"map-visibility-button-container"},i("button",{onClick:function(){return t.handleShowMap()},class:"map-visibility-button",style:{display:this.isLargeView?"none":"flex"}},i("span",{translate:false,class:"material-symbols material-symbols-outlined"},this.getMapVisibilityIconButton()),this.getMapVisibilityLabelButton()))),!this.showTrek&&this.showFilters&&i("grw-filters",{handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());w.style=p}}}));
2
- //# sourceMappingURL=p-2545bc2a.system.entry.js.map
1
+ System.register(["./p-d2c035bc.system.js","./p-0f47847d.system.js","./p-10ee2e5e.system.js","./p-c63228e8.system.js"],(function(t){"use strict";var e,i,r,o,n,s,a,c,l,h,u,d;return{setters:[function(t){e=t.r;i=t.h;r=t.H;o=t.g},function(t){n=t.t},function(t){s=t.s;a=t.o;c=t.r},function(t){l=t.t;h=t.h;u=t.a;d=t.b}],execute:function(){var p='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:"Roboto";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:var(--header-height)}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.handle-search-filters-container .handle-filters-button span{font-size:18px}.header-detail{height:64px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.init-loader-container .loader,.loader-container .loader,.large-view-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - var(--header-height));background-color:var(--color-background)}.content-treks{height:calc(100% - var(--header-height))}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.app-touristic-content-detail-container,.app-touristic-event-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{max-width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail,grw-touristic-content-detail,grw-touristic-event-detail{max-height:calc(100vh - 64px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}';var w=t("grw_app",function(){function t(t){e(this,t);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.center=undefined;this.zoom=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.colorPrimaryApp="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorPoiIcon="#974c6e";this.useGradient=false;this.treks=true;this.touristicContents=false;this.touristicEvents=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;s.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;s.currentTouristicEvent=null;var e=s.parentTrekId?s.parentTrekId:s.currentTrekSteps?this.currentTrekId:null;s.currentTrek=null;this.currentTrekId=t.detail;this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());if(s.currentTrekSteps){i.searchParams.set("parenttrek",e.toString())}window.history.pushState({},"",i)};t.prototype.onParentTrekPress=function(t){s.currentTrek=null;this.currentTrekId=t.detail;this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());e.searchParams.delete("parenttrek");window.history.pushState({},"",e)};t.prototype.onTouristicContentCardPress=function(t){s.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;this.showTouristicContent=true;this.showTouristicContentMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",e)};t.prototype.onTouristiceEventCardPress=function(t){s.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;this.showTouristicEvent=true;this.showTouristicEventMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",e)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){s.mode="treks"}else if(this.touristicContents){s.mode="touristicContents"}var t=new URL(window.location.toString());var e=t.searchParams.get("trek");var i=t.searchParams.get("parenttrek");var r=t.searchParams.get("touristiccontent");var o=t.searchParams.get("touristicevent");if(e){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);s.parentTrekId=i?Number(i):null;this.currentTrekId=Number(e);this.showTrek=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(r);this.showTouristicContent=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(o);this.showTouristicEvent=true}};t.prototype.componentDidLoad=function(){var t=this;a("trekNetworkError",(function(){if(s.trekNetworkError){var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.delete("parenttrek");e.searchParams.delete("touristiccontent");e.searchParams.delete("touristicevent");window.history.replaceState({},"",e);t.onDetailsClose()}}));window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false;this.showTouristicEvent=false;this.showTouristicEventMap=false;s.currentTouristicContent=null;s.currentTouristicEvent=null;s.currentTrek=null;s.currentTrekSteps=null;s.parentTrekId=null;this.currentTrekId=null;this.showTrek=false};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var e=Number(t.searchParams.get("trek"));var i=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");if(e&&this.currentTrekId!==e){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;s.currentTouristicContent=null;s.currentTouristicEvent=null;s.currentTrek=null;this.currentTrekId=e;this.showTrek=true}else if(!e&&!i&&!r){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(this.showTrek){t=this.showTrekMap?n[s.language].showDetails:n[s.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?n[s.language].showDetails:n[s.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?n[s.language].showDetails:n[s.language].showMap}else{t=this.showHomeMap?n[s.language].showList:n[s.language].showMap}return t};t.prototype.disconnectedCallback=function(){c();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.changeMode=function(t){s.searchValue="";if(t==="treks"&&s.currentTreks){l.forEach((function(t){s[t.property].forEach((function(t){return t.selected=false}))}));s.selectedActivitiesFilters=0;s.selectedThemesFilters=0;s.selectedLocationFilters=0;s.currentTreks=h()}else if(t==="touristicContents"&&s.currentTouristicContents){u.forEach((function(t){s[t.property].forEach((function(t){return t.selected=false}))}));s.selectedActivitiesFilters=0;s.selectedLocationFilters=0;s.currentTouristicContents=d()}s.mode=t};t.prototype.render=function(){var t=this;return i(r,{style:{"--color-primary-app":this.colorPrimaryApp,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1?"136px":"64px"}},!s.currentTreks&&!s.currentTrek&&!s.currentTouristicContent&&!s.currentTouristicEvent&&!s.currentTouristicContents&&i("div",{class:"init-loader-container"},i("span",{class:"loader"})),this.treks&&s.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!s.currentTreks&&i("grw-treks-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals,routes:this.routes,practices:this.practices}),this.showTrek&&this.currentTrekId&&!s.currentTrek&&i("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals}),this.showTouristicContent&&this.currentTouristicContentId&&i("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&i("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.touristicContents&&s.mode==="touristicContents"&&!s.currentTouristicContents&&!this.showTouristicContent&&i("grw-touristic-contents-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),(s.currentTreks||s.currentTrek||s.touristicContents||s.currentTouristicContent||s.currentTouristicEvent)&&i("div",{class:"app-container"},i("div",{class:"".concat(this.isLargeView?"large-view-header-container":"header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?" header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&i("div",{class:"segmented-buttons-container"},this.treks&&i("label",{class:"segment".concat(s.mode==="treks"?" selected-segment":""),onClick:function(){return t.changeMode("treks")}},n[s.language].home.segment.treks),this.touristicContents&&i("label",{class:"segment".concat(s.mode==="touristicContents"?" selected-segment":""),onClick:function(){return t.changeMode("touristicContents")}},n[s.language].home.segment.touristicContents)),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent?i("div",{class:"handle-search-filters-container"},i("div",{class:"handle-search-container"},i("grw-search",null)),i("div",{class:"handle-filters-container"},i("button",{onClick:function(){return t.handleFilters()},class:"handle-filters-button"},i("span",{translate:false,class:"material-symbols material-symbols-outlined margin-right-icon"},"filter_list"),n[s.language].filter))):i("div",{class:"arrow-back-container"},i("button",{onClick:function(){return t.handleBackButton()},class:"arrow-back-icon"},i("span",{translate:false,class:"material-symbols material-symbols-outlined"},"arrow_back")))),i("div",{class:"content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?"content-trek":"content-treks")},i("div",{class:this.isLargeView?"large-view-app-treks-list-container":"app-treks-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent?"none":"flex",position:this.showTrek?"absolute":"relative"}},s.mode==="treks"&&this.treks&&i("grw-treks-list",{"reset-store-on-disconnected":"false","is-large-view":this.isLargeView,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),s.mode==="touristicContents"&&this.touristicContents&&i("grw-touristic-contents-list",{"reset-store-on-disconnected":"false","is-large-view":this.isLargeView,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),this.showTrek&&!s.currentTrek||this.showTouristicContent&&!s.currentTouristicContent||this.showTouristicEvent&&!s.currentTouristicEvent||!s.currentTreks&&s.mode==="treks"||!s.touristicContents&&s.mode==="touristicContents"&&i("div",{class:this.isLargeView?"large-view-loader-container":"loader-container"},i("span",{class:"loader"})),s.currentTrek&&i("div",{class:this.isLargeView?"large-view-app-trek-detail-container":"app-trek-detail-container"},i("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"reset-store-on-disconnected":"false","color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView})),this.showTouristicContent&&i("div",{class:this.isLargeView?"large-view-app-touristic-content-detail-container":"app-touristic-content-detail-container"},i("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showTouristicEvent&&i("div",{class:this.isLargeView?"large-view-app-touristic-event-detail-container":"app-touristic-event-detail-container"},i("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"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})),i("grw-map",{"reset-store-on-disconnected":"false",class:this.isLargeView?"large-view-app-map-container":"app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-poi-icon":this.colorPoiIcon,"is-large-view":this.isLargeView,"use-gradient":this.useGradient})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent||this.showTrek&&s.currentTrek||this.showTouristicContent&&s.currentTouristicContent||this.showTouristicEvent&&s.currentTouristicEvent)&&i("div",{class:"map-visibility-button-container"},i("button",{onClick:function(){return t.handleShowMap()},class:"map-visibility-button",style:{display:this.isLargeView?"none":"flex"}},i("span",{translate:false,class:"material-symbols material-symbols-outlined"},this.getMapVisibilityIconButton()),this.getMapVisibilityLabelButton()))),!this.showTrek&&this.showFilters&&i("grw-filters",{handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());w.style=p}}}));
2
+ //# sourceMappingURL=p-2c4abcd9.system.entry.js.map