@geotrekce/geotrek-rando-widget 0.18.2 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/geotrek-rando-widget.cjs.js +1 -1
- package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
- package/dist/cjs/grw-app.cjs.entry.js +4 -62
- package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
- package/dist/cjs/{grw-common-button_27.cjs.entry.js → grw-common-button_28.cjs.entry.js} +174 -46
- package/dist/cjs/grw-common-button_28.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_28.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_28.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-db.service-8542603e.js.map +1 -1
- package/dist/cjs/grw-information-desk_3.cjs.entry.js +11 -9
- package/dist/cjs/grw-information-desk_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk_3.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js +1 -1
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js +17 -13
- package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +6 -4
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/grw-app/grw-app.css +0 -74
- package/dist/collection/components/grw-app/grw-app.css.br +0 -0
- package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js +4 -124
- package/dist/collection/components/grw-app/grw-app.js.br +0 -0
- package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js.map +1 -1
- package/dist/collection/components/grw-map/grw-map.js +67 -15
- package/dist/collection/components/grw-map/grw-map.js.br +0 -0
- package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js.map +1 -1
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.css +77 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.css.br +0 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.css.gz +0 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js +179 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.br +0 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.gz +0 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.map +1 -0
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.js +6 -4
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.js.br +0 -0
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.js.map +1 -1
- package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js +2 -2
- package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.br +0 -0
- package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.map +1 -1
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.js +6 -6
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.js.br +0 -0
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.js.map +1 -1
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js +2 -2
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.br +0 -0
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.map +1 -1
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js +1 -1
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js.br +0 -0
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js +3 -3
- package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -1
- package/dist/collection/components/grw-search/grw-search.js +2 -2
- package/dist/collection/components/grw-search/grw-search.js.br +0 -0
- package/dist/collection/components/grw-search/grw-search.js.gz +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js +2 -2
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.br +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.gz +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js +1 -1
- package/dist/collection/components/grw-select-language/grw-select-language.js.br +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js.gz +0 -0
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js +2 -2
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js.br +0 -0
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js.gz +0 -0
- package/dist/collection/components/grw-switch/grw-switch.js +2 -2
- package/dist/collection/components/grw-switch/grw-switch.js.br +0 -0
- package/dist/collection/components/grw-switch/grw-switch.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +7 -5
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.map +1 -1
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +2 -2
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -1
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +1 -1
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +7 -5
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.map +1 -1
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +2 -2
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -1
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js +1 -1
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.br +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js +4 -2
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +2 -2
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.js +1 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
- package/dist/collection/services/grw-db.service.js.map +1 -1
- package/dist/collection/store/grw-outdoor-course-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-course-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-course-provider.js.gz +0 -0
- package/dist/collection/store/grw-outdoor-courses-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-courses-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-courses-provider.js.gz +0 -0
- package/dist/collection/store/grw-outdoor-site-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-site-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-site-provider.js.gz +0 -0
- package/dist/collection/store/grw-outdoor-sites-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-sites-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-sites-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js +1 -1
- package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-contents-provider.js +1 -1
- package/dist/collection/store/grw-touristic-contents-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-contents-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js +1 -1
- package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-events-provider.js +1 -1
- package/dist/collection/store/grw-touristic-events-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-events-provider.js.gz +0 -0
- package/dist/collection/store/grw-trek-provider.js +1 -1
- package/dist/collection/store/grw-trek-provider.js.br +0 -0
- package/dist/collection/store/grw-trek-provider.js.gz +0 -0
- package/dist/collection/store/grw-treks-provider.js +1 -1
- package/dist/collection/store/grw-treks-provider.js.br +0 -0
- package/dist/collection/store/grw-treks-provider.js.gz +0 -0
- package/dist/esm/geotrek-rando-widget.js +1 -1
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/grw-app.entry.js +5 -63
- package/dist/esm/grw-app.entry.js.br +0 -0
- package/dist/esm/grw-app.entry.js.gz +0 -0
- package/dist/esm/grw-app.entry.js.map +1 -1
- package/dist/esm/{grw-common-button_27.entry.js → grw-common-button_28.entry.js} +175 -48
- package/dist/esm/grw-common-button_28.entry.js.br +0 -0
- package/dist/esm/grw-common-button_28.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_28.entry.js.map +1 -0
- package/dist/esm/grw-db.service-fdc4b29c.js.map +1 -1
- package/dist/esm/grw-information-desk_3.entry.js +11 -9
- package/dist/esm/grw-information-desk_3.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_3.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk_3.entry.js.map +1 -1
- package/dist/esm/grw-outdoor-courses-provider.entry.js +1 -1
- package/dist/esm/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm/grw-poi_3.entry.js +17 -13
- package/dist/esm/grw-poi_3.entry.js.br +0 -0
- package/dist/esm/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm/grw-poi_3.entry.js.map +1 -1
- package/dist/esm/grw-sensitive-area-detail_2.entry.js +6 -4
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
- package/dist/esm-es5/grw-app.entry.js +1 -1
- package/dist/esm-es5/grw-app.entry.js.br +0 -0
- package/dist/esm-es5/grw-app.entry.js.gz +0 -0
- package/dist/esm-es5/grw-app.entry.js.map +1 -1
- package/dist/esm-es5/grw-common-button_28.entry.js +10 -0
- package/dist/esm-es5/grw-common-button_28.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_28.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_28.entry.js.map +1 -0
- package/dist/esm-es5/grw-db.service-fdc4b29c.js.map +1 -1
- package/dist/esm-es5/grw-information-desk_3.entry.js +1 -1
- package/dist/esm-es5/grw-information-desk_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_3.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk_3.entry.js.map +1 -1
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js +1 -1
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js +1 -1
- package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js.map +1 -1
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +1 -1
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/p-0b53a258.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-0b53a258.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0b53a258.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0b53a258.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-1ba90962.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-1ba90962.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1ba90962.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1ba90962.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-341817fb.entry.js +10 -0
- package/dist/geotrek-rando-widget/p-341817fb.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-341817fb.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-341817fb.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-dd72682e.entry.js → p-35af7f14.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-35af7f14.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-35af7f14.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-35af7f14.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-3d6336e7.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-3d6336e7.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3d6336e7.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-0c016da2.entry.js.map → p-3d6336e7.entry.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-45213284.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-45213284.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-45213284.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-45213284.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-4f8ca64d.system.js.map +1 -1
- package/dist/geotrek-rando-widget/{p-52aed2fc.system.entry.js → p-5532b061.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-5532b061.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5532b061.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6b9f6213.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-6b9f6213.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6b9f6213.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6b9f6213.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-775aaaa7.system.js +1 -1
- package/dist/geotrek-rando-widget/p-775aaaa7.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-775aaaa7.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-775aaaa7.system.js.map +1 -1
- package/dist/geotrek-rando-widget/{p-2ed1025e.entry.js → p-948319c9.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-948319c9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-948319c9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-948319c9.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-3ea6b596.system.entry.js → p-be187a49.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-be187a49.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-be187a49.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-be187a49.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-c207d219.system.entry.js +10 -0
- package/dist/geotrek-rando-widget/p-c207d219.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c207d219.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c207d219.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-f34dc852.js.map +1 -1
- package/dist/geotrek-rando-widget/{p-6a2d0540.system.entry.js → p-f34e7d3a.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-f34e7d3a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f34e7d3a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f34e7d3a.system.entry.js.map +1 -0
- package/dist/types/components/grw-app/grw-app.d.ts +0 -17
- package/dist/types/components/grw-offline-confirm-modal/grw-offline-confirm-modal.d.ts +22 -0
- package/dist/types/components.d.ts +35 -20
- package/package.json +1 -1
- package/readme.md +1 -0
- package/dist/cjs/grw-common-button_27.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_27.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_27.cjs.entry.js.map +0 -1
- package/dist/esm/grw-common-button_27.entry.js.br +0 -0
- package/dist/esm/grw-common-button_27.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_27.entry.js.map +0 -1
- package/dist/esm-es5/grw-common-button_27.entry.js +0 -10
- package/dist/esm-es5/grw-common-button_27.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_27.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_27.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-0c016da2.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-0c016da2.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0c016da2.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-2ed1025e.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2ed1025e.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-2ed1025e.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-3ea6b596.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3ea6b596.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3ea6b596.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-45fc47d9.entry.js +0 -10
- package/dist/geotrek-rando-widget/p-45fc47d9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-45fc47d9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-45fc47d9.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-52aed2fc.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-52aed2fc.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6a2d0540.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6a2d0540.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6a2d0540.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-76e3667f.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-9d7b3f9a.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-9d7b3f9a.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9d7b3f9a.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9d7b3f9a.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-bee90815.system.entry.js +0 -10
- package/dist/geotrek-rando-widget/p-bee90815.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bee90815.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bee90815.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c61ad2b7.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-dd72682e.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-dd72682e.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-dd72682e.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-f3a9a20f.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-f3a9a20f.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f3a9a20f.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f3a9a20f.system.entry.js.map +0 -1
- /package/dist/geotrek-rando-widget/{p-52aed2fc.system.entry.js.map → p-5532b061.system.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,i){function r(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,i){function r(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{f(i.next(t))}catch(t){s(t)}}function o(t){try{f(i["throw"](t))}catch(t){s(t)}}function f(t){t.done?e(t.value):r(t.value).then(u,o)}f((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,r,s,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(n){return f([t,n])}}function f(o){if(i)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(i=1,r&&(s=o[0]&2?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;if(r=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;r=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}catch(t){o=[6,t];r=0}finally{i=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,n,e){if(e||arguments.length===2)for(var i=0,r=n.length,s;i<r;i++){if(s||!(i in n)){if(!s)s=Array.prototype.slice.call(n,0,i);s[i]=n[i]}}return t.concat(s||Array.prototype.slice.call(n))};System.register(["./p-ee8964dd.system.js","./p-4f8ca64d.system.js","./p-42525761.system.js","./p-ebe1072e.system.js","./p-4dc3f45e.system.js"],(function(t){"use strict";var n,e,i,r,s,u,o,f,c,a;return{setters:[function(t){n=t.r;e=t.h;i=t.H},function(t){r=t.h;s=t.g},function(t){u=t.g},function(t){o=t.g;f=t.a;c=t.b},function(t){a=t.s}],execute:function(){var h=t("grw_outdoor_courses_provider",function(){function t(t){n(this,t);this.controller=new AbortController;this.signal=this.controller.signal;this.init={cache:"default",signal:this.signal};this.languages="fr";this.api=undefined;this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined}t.prototype.connectedCallback=function(){if(!a.api){a.api=this.api;a.languages=this.languages.split(",");a.language=a.languages[0]}this.handleOutdoorCourses()};t.prototype.handleOutdoorCourses=function(){this.handleOnlineOutdoorCourses()};t.prototype.handleOfflineOutdoorCourses=function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i;return __generator(this,(function(s){switch(s.label){case 0:n=a;return[4,r("cities")];case 1:n.cities=s.sent();e=a;return[4,r("districts")];case 2:e.districts=s.sent();i=a;return[4,r("themes")];case 3:i.themes=s.sent();return[4,r("outdoorCourses")];case 4:t=s.sent();a.outdoorCourses=t;a.currentOutdoorCourses=t;return[2]}}))}))};t.prototype.handleOnlineOutdoorCourses=function(){var t=this;var n=[];n.push(!a.cities?o(a.api,a.language,this.init):new Response("null"));n.push(!a.districts?f(a.api,a.language,this.init):new Response("null"));n.push(!a.themes?c(a.api,a.language,this.portals,this.init):new Response("null"));n.push(u(a.api,a.language,this.inBbox,this.cities,this.districts,this.structures,this.themes,this.portals,this.init));Promise.all(__spreadArray([],n,true)).then((function(t){return Promise.all(t.map((function(t){return t.json()})))})).then((function(t){var n=t[0],e=t[1],i=t[2],r=t[3];a.networkError=false;if(n){a.cities=n.results}if(e){a.districts=e.results}if(i){a.themes=i.results}a.outdoorCourses=r.results;a.currentOutdoorCourses=r.results})).catch((function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:return[4,s("outdoorCourses")];case 1:t=n.sent();if(t&&t.length>0){this.handleOfflineOutdoorCourses(t)}else{a.networkError=true}return[2]}}))}))}))};t.prototype.disconnectedCallback=function(){this.controller.abort();a.networkError=false};t.prototype.render=function(){return e(i,{key:"551b1fe7237f9aee4f86e19d3448191d65390953"})};return t}())}}}));
|
|
2
|
+
//# sourceMappingURL=p-5532b061.system.entry.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register(["./p-ee8964dd.system.js","./p-4dc3f45e.system.js","./p-5d955904.system.js"],(function(i){"use strict";var t,s,e,r,o,n,a,h,l,c,u,d,f;return{setters:[function(i){t=i.r;s=i.h;e=i.F;r=i.H;o=i.g},function(i){n=i.s;a=i.C;h=i.r;l=i.a;c=i.h;u=i.b;d=i.i},function(i){f=i.t}],execute:function(){var p='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>';var w="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-content-trek{height:100%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100vh - 64px - 48px)}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:calc(100vh - 64px)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";var g=w;var m=i("grw_app",function(){function i(i){t(this,i);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showOutdoorSite=false;this.showOutdoorCourse=false;this.showOutdoorSiteMap=false;this.showOutdoorCourseMap=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.currentOutdoorSiteId=undefined;this.currentOutdoorCourseId=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.labels=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.emergencyNumber=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6750a4";this.colorPrimary="#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.rounded=true;this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorMarkers=null;this.colorClusters=null;this.colorOutdoorArea="#ffb700";this.useGradient=false;this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.outdoor=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.tilesMinZoomOffline=12;this.tilesMaxZoomOffline=16}i.prototype.onTrekCardPress=function(i){this.currentTouristicContentId=null;this.showTouristicContent=false;n.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;n.currentTouristicEvent=null;var t=n.parentTrekId?n.parentTrekId:n.currentTrekSteps?this.currentTrekId:null;n.currentTrek=null;this.currentTrekId=i.detail;n.mode="treks";this.showTrek=true;this.showTrekMap=false;var s=new URL(window.location.toString());s.searchParams.set("trek",this.currentTrekId.toString());if(n.currentTrekSteps){s.searchParams.set("parenttrek",t.toString())}window.history.pushState({},"",s)};i.prototype.onParentTrekPress=function(i){n.currentTrek=null;this.currentTrekId=i.detail;n.mode="treks";this.showTrek=true;this.showTrekMap=false;var t=new URL(window.location.toString());t.searchParams.set("trek",this.currentTrekId.toString());t.searchParams.delete("parenttrek");window.history.pushState({},"",t)};i.prototype.onTouristicContentCardPress=function(i){n.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=i.detail;n.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",t)};i.prototype.onTouristiceEventCardPress=function(i){n.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=i.detail;n.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",t)};i.prototype.onOutdoorSiteCardPress=function(i){n.currentTrek=null;this.currentTrekId=null;this.showTrek=false;n.mode="outdoor";n.currentOutdoorSite=null;n.currentRelatedOutdoorSites=null;n.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=i.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;var t=new URL(window.location.toString());t.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",t)};i.prototype.onOutdoorCourseCardPress=function(i){n.currentTrek=null;this.currentTrekId=null;this.showTrek=false;n.mode="outdoor";n.currentOutdoorSite=null;n.currentOutdoorCourse=null;n.currentRelatedOutdoorSites=null;n.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=i.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;var t=new URL(window.location.toString());t.searchParams.delete("outdoorsite");t.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",t)};i.prototype.onWindowResize=function(){this.handleView()};i.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};i.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};i.prototype.componentWillLoad=function(){if(this.treks){n.mode="treks"}else if(this.touristicContents){n.mode="touristicContents"}else if(this.touristicEvents){n.mode="touristicEvents"}else if(this.outdoor){n.mode="outdoor"}var i=new URL(window.location.toString());var t=i.searchParams.get("trek");var s=i.searchParams.get("parenttrek");var e=i.searchParams.get("touristiccontent");var r=i.searchParams.get("touristicevent");var o=i.searchParams.get("outdoorsite");var a=i.searchParams.get("outdoorcourse");if(t){window.history.replaceState({isInitialHistoryWithDetails:true},"",i);n.parentTrekId=s?Number(s):null;this.currentTrekId=Number(t);n.mode="treks";this.showTrek=true}else if(e){window.history.replaceState({isInitialHistoryWithDetails:true},"",i);this.currentTouristicContentId=Number(e);n.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",i);this.currentTouristicEventId=Number(r);n.mode="touristicEvents";this.showTouristicEvent=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",i);this.currentOutdoorSiteId=Number(o);n.mode="outdoor";this.showOutdoorSite=true}else if(a){window.history.replaceState({isInitialHistoryWithDetails:true},"",i);this.currentOutdoorCourseId=Number(a);n.mode="outdoor";this.showOutdoorCourse=true}};i.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};i.prototype.onDetailsClose=function(){if(n.mode==="treks"){this.showTrek=false;this.showTrekMap=false;n.currentTrek=null;n.currentTrekSteps=null;n.parentTrekId=null;this.currentTrekId=null}else if(n.mode==="touristicContents"){n.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(n.mode==="touristicEvents"){n.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(n.mode==="outdoor"){n.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;n.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=false}};i.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};i.prototype.handleFilters=function(){this.showFilters=!this.showFilters};i.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){if(n.currentTrek&&n.currentTrek.offline&&!a.isNativePlatform()){h(n.currentPois,d,["url"]);h(n.trekTouristicEvents,d,["url"]);h(n.trekTouristicContents,d,["url"]);h(n.currentInformationDesks,d);h(n.currentTrek,d,["url"])}this.onDetailsClose();var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.delete("touristiccontent");i.searchParams.delete("touristicevent");i.searchParams.delete("outdoorsite");i.searchParams.delete("outdoorcourse");window.history.pushState({},"",i)}else{window.history.back()}};i.prototype.handlePopState=function(){var i=new URL(window.location.toString());var t=Number(i.searchParams.get("trek"));var s=i.searchParams.get("touristiccontent");var e=i.searchParams.get("touristicevent");var r=Number(i.searchParams.get("outdoorsite"));if(t&&this.currentTrekId!==t){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;n.currentTouristicContent=null;n.currentTouristicEvent=null;n.currentTrek=null;this.currentTrekId=t;n.mode="treks";this.showTrek=true}else if(r&&this.currentOutdoorSiteId!==r){this.currentOutdoorSiteId=r;n.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!t&&!s&&!e&&!r){this.onDetailsClose()}};i.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 if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}else{this.showHomeMap=!this.showHomeMap}};i.prototype.getMapVisibilityIconButton=function(){var i;if(this.showTrek){i=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){i=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){i=this.showTouristicEventMap?"summarize":"map"}else if(this.showOutdoorSite||this.showOutdoorCourse){i=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{i=this.showHomeMap?"list":"map"}return i};i.prototype.getMapVisibilityLabelButton=function(){var i;if(n.language){if(this.showTrek){i=this.showTrekMap?f[n.language].showDetails:f[n.language].showRoute}else if(this.showTouristicContent){i=this.showTouristicContentMap?f[n.language].showDetails:f[n.language].showMap}else if(this.showTouristicEvent){i=this.showTouristicEventMap?f[n.language].showDetails:f[n.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){i=this.showOutdoorSiteMap?f[n.language].showDetails:f[n.language].showMap}else{i=this.showHomeMap?f[n.language].showList:f[n.language].showMap}}return i};i.prototype.reload=function(){window.location.reload()};i.prototype.disconnectedCallback=function(){l();window.removeEventListener("popstate",this.handlePopStateBind)};i.prototype.handleOffline=function(){if(n.mode==="treks"){n.offlineTreks=!n.offlineTreks;n.currentTreks=c()}else{n.offlineOutdoorSites=!n.offlineOutdoorSites;n.currentOutdoorSites=u()}};i.prototype.getFiltersName=function(){var i=n.selectedActivitiesFilters+n.selectedLocationFilters+n.selectedThemesFilters;return"".concat(f[n.language].filter).concat(i>0?" ("+i+")":"")};i.prototype.render=function(){var i=this;return s(r,{key:"ce08993982d1a3009c0127c40ff142241991882e",style:{"--font-family":this.fontFamily,"--color-primary-app":this.colorPrimaryApp,"--color-primary":this.colorPrimary,"--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,"--color-sensitive-area":this.colorSensitiveArea,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1?this.enableOffline?"188px":"136px":this.enableOffline?"116px":"64px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--border-radius":this.rounded?"":"0px"}},!n.currentTreks&&!n.currentTrek&&!n.currentTouristicContent&&!n.currentTouristicEvent&&!n.currentTouristicContents&&!n.currentTouristicEvents&&!n.currentOutdoorSites&&!n.currentOutdoorSite&&!n.currentOutdoorCourses&&!n.currentOutdoorCourse&&s("div",{class:"grw-init-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&n.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!n.currentTreks&&s("grw-treks-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTrek&&this.currentTrekId&&!n.currentTrek&&s("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTouristicContent&&this.currentTouristicContentId&&s("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&s("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!n.currentOutdoorSite&&s("grw-outdoor-site-provider",{api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!n.currentOutdoorCourse&&s("grw-outdoor-course-provider",{api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&n.mode==="touristicContents"&&!n.currentTouristicContents&&!this.showTouristicContent&&s("grw-touristic-contents-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.touristicEvents&&n.mode==="touristicEvents"&&!n.currentTouristicEvents&&!this.showTouristicEvent&&s("grw-touristic-events-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.outdoor&&n.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!n.outdoorSites&&s("grw-outdoor-sites-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes}),(n.currentTreks||n.currentTrek||n.touristicContents||n.touristicEvents||n.currentTouristicContent||n.currentTouristicEvent||n.currentOutdoorSites||n.currentOutdoorSite||n.currentOutdoorCourses||n.currentOutdoorCourse||n.networkError)&&s("div",{class:"grw-app-container"},n.languages&&n.languages.length>1&&s("div",{class:"grw-languages-container"},s("grw-select-language",null)),s("div",{class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?" grw-header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse&&s("grw-segmented-segment",{"font-family":this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents,outdoor:this.outdoor}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse?s(e,null,s("div",{class:"grw-handle-search-filters-container"},s("div",{class:"grw-handle-search-container"},s("grw-search",{"font-family":this.fontFamily})),s("div",{class:"grw-handle-filters-container"},s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return i.handleFilters()},icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(n.mode==="treks"||n.mode==="outdoor")&&s("div",{part:"grw-offline-container",class:"grw-offline-container"},s("div",{class:"grw-offline-label"},n.mode==="treks"?f[n.language].onlyOfflineTreks:f[n.language].onlyOfflineOutdoor),s("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return i.handleOffline()},checked:n.mode==="treks"?n.offlineTreks:n.offlineOutdoorSites}))):s("div",{class:"grw-arrow-back-container"},s("button",{onClick:function(){return i.handleBackButton()},class:"grw-arrow-back-icon"},s("span",{part:"icon",class:"icon",innerHTML:p})))),s("div",{class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks")},n.networkError&&s("div",{class:"grw-error-container"},"Une erreur est survenue.",s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return i.reload()}})),(n.mode==="treks"&&this.treks&&n.treks||n.mode==="touristicContents"&&this.touristicContents&&n.touristicContents||n.mode==="touristicEvents"&&this.touristicEvents&&n.touristicEvents||n.mode==="outdoor"&&this.outdoor&&n.outdoorSites)&&s("div",{class:this.isLargeView?"grw-large-view-app-list-container":"grw-app-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"none":"flex",position:this.showTrek?"absolute":"relative"}},n.mode==="treks"&&this.treks&&n.treks&&s("grw-treks-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),n.mode==="touristicContents"&&this.touristicContents&&n.touristicContents&&s("grw-touristic-contents-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),n.mode==="touristicEvents"&&this.touristicEvents&&n.touristicEvents&&s("grw-touristic-events-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),n.mode==="outdoor"&&this.outdoor&&n.outdoorSites&&s("grw-outdoor-sites-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),(this.showTrek&&!n.currentTrek||this.showTouristicContent&&!n.currentTouristicContent||this.showTouristicEvent&&!n.currentTouristicEvent||this.showOutdoorSite&&!n.currentOutdoorSite||this.showOutdoorCourse&&!n.currentOutdoorCourse||!n.treks&&n.mode==="treks"&&!this.showTrek||!n.touristicContents&&n.mode==="touristicContents"&&!this.showTouristicContent||!n.touristicEvents&&n.mode==="touristicEvents"&&!this.showTouristicEvent||!n.outdoorSites&&n.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&s("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&n.currentTrek&&s("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},s("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView,"emergency-number":this.emergencyNumber,"default-background-layer-url":this.urlLayer.split(",http").map((function(i,t){return t===0?i:"http"+i}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"tiles-min-zoom-offline":this.tilesMinZoomOffline,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true}),s("grw-offline-confirm-modal",{mode:"treks"})),this.showTouristicContent&&n.currentTouristicContent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},s("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap&&this.showTouristicContent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showTouristicEvent&&n.currentTouristicEvent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},s("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showOutdoorSite&&n.currentOutdoorSite&&s("div",{class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},s("grw-outdoor-site-detail",{style:{visibility:!this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorSiteMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,weather:this.weather,"default-background-layer-url":this.urlLayer.split(",http").map((function(i,t){return t===0?i:"http"+i}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline}),s("grw-offline-confirm-modal",{mode:"treks"})),this.showOutdoorCourse&&n.currentOutdoorCourse&&s("div",{class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},s("grw-outdoor-course-detail",{style:{visibility:!this.showOutdoorCourseMap&&this.showOutdoorCourse||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorCourseMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),!n.networkError&&s("grw-map",{exportparts:"map,elevation,map-bottom-space,map-loader-container,loader",class:this.isLargeView?"grw-large-view-app-map-container":"grw-app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap||this.showOutdoorSiteMap?"1":"0"},"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-markers":this.colorMarkers?this.colorMarkers:this.colorPrimaryApp,"color-clusters":this.colorClusters?this.colorClusters:this.colorPrimaryApp,"is-large-view":this.isLargeView,"use-gradient":this.useGradient,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&n.currentTrek||this.showTouristicContent&&n.currentTouristicContent||this.showTouristicEvent&&n.currentTouristicEvent||this.showOutdoorSite&&n.currentOutdoorSite)&&s("div",{class:"grw-map-visibility-button-container"},s("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:function(){return i.handleShowMap()},icon:function(){return i.getMapVisibilityIconButton()},name:function(){return i.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&s("grw-filters",{"font-family":this.fontFamily,handleFilters:function(){return i.handleFilters()}}))};Object.defineProperty(i.prototype,"appElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return i}());m.style=g}}}));
|
|
2
|
+
//# sourceMappingURL=p-6b9f6213.system.entry.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["grwAppCss","GrwAppStyle0","GrwApp","exports","this","largeViewSize","handlePopStateBind","handlePopState","bind","class_1","prototype","onTrekCardPress","event","currentTouristicContentId","showTouristicContent","state","currentTouristicContent","currentTouristicEventId","showTouristicEvent","currentTouristicEvent","parentTrek","parentTrekId","currentTrekSteps","currentTrekId","currentTrek","detail","mode","showTrek","showTrekMap","url","URL","window","location","toString","searchParams","set","history","pushState","onParentTrekPress","delete","onTouristicContentCardPress","showTouristicContentMap","onTouristiceEventCardPress","showTouristicEventMap","onOutdoorSiteCardPress","currentOutdoorSite","currentRelatedOutdoorSites","currentRelatedOutdoorCourses","currentOutdoorSiteId","showOutdoorSite","showOutdoorSiteMap","onOutdoorCourseCardPress","currentOutdoorCourse","currentOutdoorCourseId","showOutdoorCourse","onWindowResize","handleView","onCenterOnMap","isLargeView","watchPropHandler","dispatchEvent","Event","componentWillLoad","treks","touristicContents","touristicEvents","outdoor","trekParam","get","touristicContentParam","touristicEventParam","outdoorSiteParam","outdoorCourseParam","replaceState","isInitialHistoryWithDetails","Number","componentDidLoad","addEventListener","onDetailsClose","showOutdoorCourseMap","appElement","getBoundingClientRect","width","showHomeMap","handleFilters","showFilters","handleBackButton","offline","Capacitor","isNativePlatform","revokeObjectURL","currentPois","imagesRegExp","trekTouristicEvents","trekTouristicContents","currentInformationDesks","back","handleShowMap","getMapVisibilityIconButton","mapIconButton","getMapVisibilityLabelButton","mapLabelButton","language","translate","showDetails","showRoute","showMap","showList","reload","disconnectedCallback","reset","removeEventListener","handleOffline","offlineTreks","currentTreks","handleTreksFiltersAndSearch","offlineOutdoorSites","currentOutdoorSites","handleOutdoorSitesFiltersAndSearch","getFiltersName","activeFilters","selectedActivitiesFilters","selectedLocationFilters","selectedThemesFilters","concat","filter","render","_this","h","Host","key","style","fontFamily","colorPrimaryApp","colorPrimary","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","colorSensitiveArea","appWidth","appHeight","enableOffline","languages","split","length","rounded","currentTouristicContents","currentTouristicEvents","currentOutdoorCourses","class","exportparts","api","portals","inBbox","cities","districts","structures","themes","routes","practices","labels","outdoorSites","networkError","Fragment","action","icon","name","part","onlyOfflineTreks","onlyOfflineOutdoor","checked","onClick","innerHTML","ArrowBackIcon","display","position","visibility","zIndex","weather","emergencyNumber","urlLayer","map","index","attributionLayer","globalTilesMinZoomOffline","globalTilesMaxZoomOffline","tilesMinZoomOffline","tilesMaxZoomOffline","nameLayer","colorTrekLine","colorMarkers","colorClusters","useGradient"],"sources":["src/components/grw-app/grw-app.scss?tag=grw-app","src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: var(--header-height);\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.grw-handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n min-height: 64px;\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.grw-content-container {\n position: relative;\n display: flex;\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height) - var(--header-with-languages));\n}\n\n.grw-content-trek {\n height: 100%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container,\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-app-touristic-event-detail-container,\n.grw-app-outdoor-site-detail-container,\n.grw-app-outdoor-course-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list,\ngrw-touristic-events-list,\ngrw-outdoor-sites-list {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail {\n position: relative;\n max-height: calc(100vh - 64px - 48px);\n}\n\ngrw-touristic-content-detail,\ngrw-touristic-event-detail,\ngrw-outdoor-site-detail {\n position: relative;\n max-height: calc(100vh - 64px);\n}\n\n.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n position: relative;\n width: 50%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n\n.grw-offline-container {\n display: flex;\n align-items: center;\n margin: 0px 0px 0px 16px;\n height: 48px;\n .grw-offline-label {\n display: flex;\n }\n grw-switch {\n margin-top: -10px;\n }\n}\n","import { Capacitor } from '@capacitor/core';\nimport { Component, Host, h, Listen, State, Prop, Element, Watch, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleOutdoorSitesFiltersAndSearch, handleTreksFiltersAndSearch, imagesRegExp, revokeObjectURL } from 'utils/utils';\nimport ArrowBackIcon from '../../assets/arrow-back.svg';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showOutdoorSite = false;\n @State() showOutdoorCourse = false;\n @State() showOutdoorSiteMap = false;\n @State() showOutdoorCourseMap = false;\n\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @State() currentOutdoorSiteId: number;\n @State() currentOutdoorCourseId: number;\n\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() labels: string;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorPrimary = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorMarkers = null;\n @Prop() colorClusters = null;\n @Prop() colorOutdoorArea = '#ffb700';\n\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n @Prop() outdoor = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() tilesMinZoomOffline = 12;\n @Prop() tilesMaxZoomOffline = 16;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorSiteCardPress', { target: 'window' })\n onOutdoorSiteCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = event.detail;\n this.showOutdoorSite = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('outdoorsite', this.currentOutdoorSiteId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorCourseCardPress', { target: 'window' })\n onOutdoorCourseCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentOutdoorCourse = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = null;\n this.currentOutdoorCourseId = event.detail;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n this.showOutdoorCourse = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('outdoorsite');\n url.searchParams.set('outdoorcourse', this.currentOutdoorCourseId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n } else if (this.outdoor) {\n state.mode = 'outdoor';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = url.searchParams.get('outdoorsite');\n const outdoorCourseParam = url.searchParams.get('outdoorcourse');\n\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n } else if (outdoorSiteParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorSiteId = Number(outdoorSiteParam);\n state.mode = 'outdoor';\n this.showOutdoorSite = true;\n } else if (outdoorCourseParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorCourseId = Number(outdoorCourseParam);\n state.mode = 'outdoor';\n this.showOutdoorCourse = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (state.mode === 'treks') {\n this.showTrek = false;\n this.showTrekMap = false;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n } else if (state.mode === 'touristicContents') {\n state.currentTouristicContent = null;\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n } else if (state.mode === 'touristicEvents') {\n state.currentTouristicEvent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n } else if (state.mode === 'outdoor') {\n state.currentOutdoorSite = null;\n this.currentOutdoorSiteId = null;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n state.currentOutdoorCourse = null;\n this.currentOutdoorCourseId = null;\n this.showOutdoorCourse = false;\n this.showOutdoorCourseMap = false;\n }\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n if (state.currentTrek && state.currentTrek.offline && !Capacitor.isNativePlatform()) {\n revokeObjectURL(state.currentPois, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicEvents, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicContents, imagesRegExp, ['url']);\n revokeObjectURL(state.currentInformationDesks, imagesRegExp);\n revokeObjectURL(state.currentTrek, imagesRegExp, ['url']);\n }\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n url.searchParams.delete('outdoorsite');\n url.searchParams.delete('outdoorcourse');\n\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = Number(url.searchParams.get('outdoorsite'));\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n state.mode = 'treks';\n this.showTrek = true;\n } else if (outdoorSiteParam && this.currentOutdoorSiteId !== outdoorSiteParam) {\n this.currentOutdoorSiteId = outdoorSiteParam;\n state.currentOutdoorSite = null;\n this.showOutdoorCourse = false;\n this.showOutdoorSite = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam && !outdoorSiteParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else if (this.showOutdoorSite) {\n this.showOutdoorSiteMap = !this.showOutdoorSiteMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapIconButton = this.showOutdoorSiteMap || this.showOutdoorCourseMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapLabelButton = this.showOutdoorSiteMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOffline() {\n if (state.mode === 'treks') {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n } else {\n state.offlineOutdoorSites = !state.offlineOutdoorSites;\n state.currentOutdoorSites = handleOutdoorSitesFiltersAndSearch();\n }\n }\n\n getFiltersName() {\n const activeFilters = state.selectedActivitiesFilters + state.selectedLocationFilters + state.selectedThemesFilters;\n return `${translate[state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1\n ? this.enableOffline\n ? '188px'\n : '136px'\n : this.enableOffline\n ? '116px'\n : '64px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents &&\n !state.currentOutdoorSites &&\n !state.currentOutdoorSite &&\n !state.currentOutdoorCourses &&\n !state.currentOutdoorCourse && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.showOutdoorSite && this.currentOutdoorSiteId && !state.currentOutdoorSite && (\n <grw-outdoor-site-provider api={this.api} languages={this.languages} outdoor-site-id={this.currentOutdoorSiteId} portals={this.portals}></grw-outdoor-site-provider>\n )}\n {this.showOutdoorCourse && this.currentOutdoorCourseId && !state.currentOutdoorCourse && (\n <grw-outdoor-course-provider\n api={this.api}\n languages={this.languages}\n outdoor-course-id={this.currentOutdoorCourseId}\n portals={this.portals}\n ></grw-outdoor-course-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {this.outdoor &&\n state.mode === 'outdoor' &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !state.outdoorSites && (\n <grw-outdoor-sites-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n ></grw-outdoor-sites-provider>\n )}\n\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.currentOutdoorSites ||\n state.currentOutdoorSite ||\n state.currentOutdoorCourses ||\n state.currentOutdoorCourse ||\n state.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? ' grw-header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse && (\n <grw-segmented-segment\n font-family={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n outdoor={this.outdoor}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (\n <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search font-family={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={this.getFiltersName()}\n ></grw-common-button>\n </div>\n </div>\n {this.enableOffline && (state.mode === 'treks' || state.mode === 'outdoor') && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">{state.mode === 'treks' ? translate[state.language].onlyOfflineTreks : translate[state.language].onlyOfflineOutdoor}</div>\n <grw-switch\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleOffline()}\n checked={state.mode === 'treks' ? state.offlineTreks : state.offlineOutdoorSites}\n ></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={ArrowBackIcon}></span>\n </button>\n </div>\n )}\n </div>\n\n <div\n class={`grw-content-container ${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'grw-content-trek' : 'grw-content-treks'\n }`}\n >\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n {((state.mode === 'treks' && this.treks && state.treks) ||\n (state.mode === 'touristicContents' && this.touristicContents && state.touristicContents) ||\n (state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents) ||\n (state.mode === 'outdoor' && this.outdoor && state.outdoorSites)) && (\n <div\n class={this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container'}\n style={{\n display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',\n position: this.showTrek ? 'absolute' : 'relative',\n }}\n >\n {state.mode === 'treks' && this.treks && state.treks && (\n <grw-treks-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && state.touristicContents && (\n <grw-touristic-contents-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents && (\n <grw-touristic-events-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n {state.mode === 'outdoor' && this.outdoor && state.outdoorSites && (\n <grw-outdoor-sites-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-outdoor-sites-list>\n )}\n </div>\n )}\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (this.showOutdoorSite && !state.currentOutdoorSite) ||\n (this.showOutdoorCourse && !state.currentOutdoorCourse) ||\n (!state.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent) ||\n (!state.outdoorSites && state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && state.currentTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n emergency-number={this.emergencyNumber}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n tiles-min-zoom-offline={this.tilesMinZoomOffline}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n ></grw-trek-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showTouristicContent && state.currentTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && state.currentTouristicEvent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-event-detail>\n </div>\n )}\n {this.showOutdoorSite && state.currentOutdoorSite && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container'}>\n <grw-outdoor-site-detail\n style={{\n visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorSiteMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n weather={this.weather}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n ></grw-outdoor-site-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showOutdoorCourse && state.currentOutdoorCourse && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container'}>\n <grw-outdoor-course-detail\n style={{\n visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorCourseMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-outdoor-course-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n (this.showOutdoorSiteMap && this.showOutdoorSite) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',\n }}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-markers={this.colorMarkers ? this.colorMarkers : this.colorPrimaryApp}\n color-clusters={this.colorClusters ? this.colorClusters : this.colorPrimaryApp}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent) ||\n (this.showOutdoorSite && state.currentOutdoorSite)) && (\n <div class=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters font-family={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"mapp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C,UAIXlM,KAAKuB,WAAavB,KAAKU,uBAAyBV,KAAKc,qBAAuBd,KAAK6C,iBAClF7C,KAAKuB,UAAYZ,EAAMS,aACvBpB,KAAKU,sBAAwBC,EAAMC,yBACnCZ,KAAKc,oBAAsBH,EAAMI,uBACjCf,KAAK6C,iBAAmBlC,EAAM8B,qBAC/BmF,EAAA,OAAKgC,MAAM,uCACThC,EAAA,oBACEiC,YAAY,+EAA8E,cAC7E7J,KAAKgI,WAClB2C,OAAQ,WAAM,OAAAhD,EAAK9B,eAAL,EACd+E,KAAM,WAAM,OAAAjD,EAAK7B,4BAAL,EACZ+E,KAAM,WAAM,OAAAlD,EAAK3B,6BAAL,EACZqF,QAASrL,KAAKsD,YAAc,OAAS,YAM7CtD,KAAKuB,UAAYvB,KAAKiF,aAAe2C,EAAA,6BAA0B5H,KAAKgI,WAAYhD,cAAe,WAAM,OAAA2C,EAAK3C,eAAL,I,iQAv4B5F,I"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(o,r,e,n){function i(o){return o instanceof e?o:new e((function(r){r(o)}))}return new(e||(e=Promise))((function(e,a){function t(o){try{s(n.next(o))}catch(o){a(o)}}function c(o){try{s(n["throw"](o))}catch(o){a(o)}}function s(o){o.done?e(o.value):i(o.value).then(t,c)}s((n=n.apply(o,r||[])).next())}))};var __generator=this&&this.__generator||function(o,r){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,t;return t={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function c(o){return function(r){return s([o,r])}}function s(c){if(n)throw new TypeError("Generator is already executing.");while(t&&(t=0,c[0]&&(e=0)),e)try{if(n=1,i&&(a=c[0]&2?i["return"]:c[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;if(i=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){e.label=c[1];break}if(c[0]===6&&e.label<a[1]){e.label=a[1];a=c;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(c);break}if(a[2])e.ops.pop();e.trys.pop();continue}c=r.call(o,e)}catch(o){c=[6,o];i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-ee8964dd.system.js","./p-56ba5cbf.system.js"],(function(o,r){"use strict";var e,n,i,a,t;return{setters:[function(r){e=r.p;n=r.d;i=r.N;a=r.b;o("setNonce",r.s)},function(o){t=o.g}],execute:function(){var o=this;var c=function(){var o=Array.from(n.querySelectorAll("script")).find((function(o){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(o.src)||o.getAttribute("data-stencil-namespace")===i}));var a=r.meta.url;var t=(o||{})["data-opts"]||{};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};c().then((function(r){return __awaiter(o,void 0,void 0,(function(){return __generator(this,(function(o){switch(o.label){case 0:return[4,t()];case 1:o.sent();return[2,a(JSON.parse('[["p-f3a9a20f.system",[[0,"grw-app",{"appWidth":[1,"app-width"],"appHeight":[1,"app-height"],"api":[1],"languages":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1],"labels":[1],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"weather":[4],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorPrimary":[1,"color-primary"],"colorOnPrimary":[1,"color-on-primary"],"colorSurface":[1,"color-surface"],"colorOnSurface":[1,"color-on-surface"],"colorSurfaceVariant":[1,"color-surface-variant"],"colorOnSurfaceVariant":[1,"color-on-surface-variant"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorBackground":[1,"color-background"],"colorSurfaceContainerHigh":[1,"color-surface-container-high"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"rounded":[4],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"useGradient":[4,"use-gradient"],"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"showTrek":[32],"showTouristicContent":[32],"showTouristicEvent":[32],"showOutdoorSite":[32],"showOutdoorCourse":[32],"showOutdoorSiteMap":[32],"showOutdoorCourseMap":[32],"showHomeMap":[32],"showTrekMap":[32],"showTouristicContentMap":[32],"showTouristicEventMap":[32],"showFilters":[32],"isLargeView":[32],"currentTrekId":[32],"currentTouristicContentId":[32],"currentTouristicEventId":[32],"currentOutdoorSiteId":[32],"currentOutdoorCourseId":[32],"showOfflineModal":[32],"showConfirmModal":[32],"showLoaderModal":[32],"showSuccessModal":[32],"showConfirmDeleteModal":[32],"showDeletingMessage":[32],"showDeleteSuccessMessage":[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"outdoorSiteCardPress","onOutdoorSiteCardPress"],[8,"outdoorCourseCardPress","onOutdoorCourseCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"],[8,"downloadConfirm","onDownloadConfirm"],[8,"downloadedSuccessConfirm","onDownloadedSuccessConfirm"],[8,"deleteConfirm","onDeleteConfirm"],[8,"deleteSuccessConfirm","onDeleteSuccessConfirm"]],{"isLargeView":["watchPropHandler"]}]]],["p-52aed2fc.system",[[1,"grw-outdoor-courses-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}]]],["p-7d40db89.system",[[1,"grw-filter",{"fontFamily":[1,"font-family"],"filterType":[1,"filter-type"],"filterName":[1,"filter-name"],"filterPlaceholder":[1,"filter-placeholder"],"filterNameProperty":[1,"filter-name-property"],"segment":[1]},[[8,"resetFilter","onResetFilter"]]]]],["p-6a2d0540.system",[[1,"grw-sensitive-area-detail",{"sensitiveArea":[16]}],[1,"grw-trek-card",{"trek":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isStep":[4,"is-step"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"departureCity":[32],"isAvailableOffline":[32],"showDefaultImage":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-3ea6b596.system",[[1,"grw-outdoor-course-card",{"outdoorCourse":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-information-desk",{"informationDesk":[16],"displayShortDescription":[32],"showInformationDeskDescriptionButton":[32],"offline":[32],"showDefaultImage":[32]}],[1,"grw-outdoor-site-card",{"outdoorSite":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-76e3667f.system",[[1,"grw-poi",{"poi":[16],"displayShortDescription":[32],"showPoiDescriptionButton":[32],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"]]],[1,"grw-touristic-content-card",{"fontFamily":[1,"font-family"],"touristicContent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{"fontFamily":[1,"font-family"],"touristicEvent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-bee90815.system",[[1,"grw-outdoor-site-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"enableOffline":[4,"enable-offline"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"offline":[32],"displayFullscreen":[32],"currentOutdoorSite":[32],"sources":[32]},[[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-trek-detail",{"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"weather":[4],"isLargeView":[4,"is-large-view"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"labels":[32],"sources":[32],"accessibilities":[32],"accessibilityLevel":[32],"displayFullscreen":[32],"cities":[32],"options":[32],"offline":[32]},[[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-outdoor-course-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"displayFullscreen":[32],"currentOutdoorCourse":[32],"offline":[32]}],[1,"grw-filters",{"handleFilters":[16],"fontFamily":[1,"font-family"],"selectedSegment":[32]}],[1,"grw-outdoor-sites-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"outdoorSitesToDisplay":[32]}],[1,"grw-touristic-contents-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicContentsToDisplay":[32]}],[1,"grw-touristic-events-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicEventsToDisplay":[32]}],[1,"grw-treks-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayOnlyOfflineTreks":[4,"display-only-offline-treks"],"isLargeView":[4,"is-large-view"],"treksToDisplay":[32]}],[1,"grw-common-button",{"action":[16],"icon":[1],"name":[1],"fontFamily":[1,"font-family"]}],[1,"grw-extended-fab",{"action":[16],"icon":[16],"name":[16],"display":[1],"fontFamily":[1,"font-family"]}],[1,"grw-loader",{"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"]}],[1,"grw-map",{"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorBackground":[1,"color-background"],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"useGradient":[4,"use-gradient"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"mapIsReady":[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationPlacesIsInViewport","onInformationPlacesIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"sitesIsInViewport","sitesIsInViewport"],[8,"coursesIsInViewport","coursesIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"],[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[8,"cardOutdoorSiteMouseOver","onOutdoorSiteMouseOver"],[8,"cardOutdoorSiteMouseLeave","onOutdoorSiteMouseLeave"]]],[1,"grw-outdoor-course-provider",{"languages":[1],"api":[1],"outdoorCourseId":[2,"outdoor-course-id"],"portals":[1]}],[1,"grw-outdoor-site-provider",{"languages":[1],"api":[1],"outdoorSiteId":[2,"outdoor-site-id"],"portals":[1]}],[1,"grw-outdoor-sites-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-search",{"fontFamily":[1,"font-family"]}],[1,"grw-segmented-segment",{"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"fontFamily":[1,"font-family"]}],[1,"grw-select-language"],[1,"grw-switch",{"action":[16],"fontFamily":[1,"font-family"],"checked":[4]}],[1,"grw-touristic-content-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-content-provider",{"languages":[1],"api":[1],"touristicContentId":[2,"touristic-content-id"],"portals":[1]}],[1,"grw-touristic-contents-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-touristic-event-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-event-provider",{"languages":[1],"api":[1],"touristicEventId":[2,"touristic-event-id"],"portals":[1]}],[1,"grw-touristic-events-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-trek-provider",{"languages":[1],"api":[1],"trekId":[2,"trek-id"],"portals":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"routes":[1],"practices":[1],"labels":[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],"labels":[1]}]]]]'),r)]}}))}))}))}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(o,r,e,n){function i(o){return o instanceof e?o:new e((function(r){r(o)}))}return new(e||(e=Promise))((function(e,a){function t(o){try{s(n.next(o))}catch(o){a(o)}}function c(o){try{s(n["throw"](o))}catch(o){a(o)}}function s(o){o.done?e(o.value):i(o.value).then(t,c)}s((n=n.apply(o,r||[])).next())}))};var __generator=this&&this.__generator||function(o,r){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,t;return t={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function c(o){return function(r){return s([o,r])}}function s(c){if(n)throw new TypeError("Generator is already executing.");while(t&&(t=0,c[0]&&(e=0)),e)try{if(n=1,i&&(a=c[0]&2?i["return"]:c[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;if(i=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){e.label=c[1];break}if(c[0]===6&&e.label<a[1]){e.label=a[1];a=c;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(c);break}if(a[2])e.ops.pop();e.trys.pop();continue}c=r.call(o,e)}catch(o){c=[6,o];i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-ee8964dd.system.js","./p-56ba5cbf.system.js"],(function(o,r){"use strict";var e,n,i,a,t;return{setters:[function(r){e=r.p;n=r.d;i=r.N;a=r.b;o("setNonce",r.s)},function(o){t=o.g}],execute:function(){var o=this;var c=function(){var o=Array.from(n.querySelectorAll("script")).find((function(o){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(o.src)||o.getAttribute("data-stencil-namespace")===i}));var a=r.meta.url;var t=(o||{})["data-opts"]||{};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};c().then((function(r){return __awaiter(o,void 0,void 0,(function(){return __generator(this,(function(o){switch(o.label){case 0:return[4,t()];case 1:o.sent();return[2,a(JSON.parse('[["p-6b9f6213.system",[[0,"grw-app",{"appWidth":[1,"app-width"],"appHeight":[1,"app-height"],"api":[1],"languages":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"routes":[1],"practices":[1],"labels":[1],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"weather":[4],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorPrimary":[1,"color-primary"],"colorOnPrimary":[1,"color-on-primary"],"colorSurface":[1,"color-surface"],"colorOnSurface":[1,"color-on-surface"],"colorSurfaceVariant":[1,"color-surface-variant"],"colorOnSurfaceVariant":[1,"color-on-surface-variant"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorBackground":[1,"color-background"],"colorSurfaceContainerHigh":[1,"color-surface-container-high"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"rounded":[4],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"useGradient":[4,"use-gradient"],"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"showTrek":[32],"showTouristicContent":[32],"showTouristicEvent":[32],"showOutdoorSite":[32],"showOutdoorCourse":[32],"showOutdoorSiteMap":[32],"showOutdoorCourseMap":[32],"showHomeMap":[32],"showTrekMap":[32],"showTouristicContentMap":[32],"showTouristicEventMap":[32],"showFilters":[32],"isLargeView":[32],"currentTrekId":[32],"currentTouristicContentId":[32],"currentTouristicEventId":[32],"currentOutdoorSiteId":[32],"currentOutdoorCourseId":[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"outdoorSiteCardPress","onOutdoorSiteCardPress"],[8,"outdoorCourseCardPress","onOutdoorCourseCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]],{"isLargeView":["watchPropHandler"]}]]],["p-5532b061.system",[[1,"grw-outdoor-courses-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}]]],["p-7d40db89.system",[[1,"grw-filter",{"fontFamily":[1,"font-family"],"filterType":[1,"filter-type"],"filterName":[1,"filter-name"],"filterPlaceholder":[1,"filter-placeholder"],"filterNameProperty":[1,"filter-name-property"],"segment":[1]},[[8,"resetFilter","onResetFilter"]]]]],["p-f34e7d3a.system",[[1,"grw-sensitive-area-detail",{"sensitiveArea":[16]}],[1,"grw-trek-card",{"trek":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isStep":[4,"is-step"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"departureCity":[32],"isAvailableOffline":[32],"showDefaultImage":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-be187a49.system",[[1,"grw-outdoor-course-card",{"outdoorCourse":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-information-desk",{"informationDesk":[16],"displayShortDescription":[32],"showInformationDeskDescriptionButton":[32],"offline":[32],"showDefaultImage":[32]}],[1,"grw-outdoor-site-card",{"outdoorSite":[16],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-1ba90962.system",[[1,"grw-poi",{"poi":[16],"displayShortDescription":[32],"showPoiDescriptionButton":[32],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"]]],[1,"grw-touristic-content-card",{"fontFamily":[1,"font-family"],"touristicContent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{"fontFamily":[1,"font-family"],"touristicEvent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-c207d219.system",[[1,"grw-outdoor-site-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"enableOffline":[4,"enable-offline"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"offline":[32],"displayFullscreen":[32],"currentOutdoorSite":[32],"sources":[32]},[[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-trek-detail",{"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"weather":[4],"isLargeView":[4,"is-large-view"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"labels":[32],"sources":[32],"accessibilities":[32],"accessibilityLevel":[32],"displayFullscreen":[32],"cities":[32],"options":[32],"offline":[32]},[[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-outdoor-course-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"displayFullscreen":[32],"currentOutdoorCourse":[32],"offline":[32]}],[1,"grw-filters",{"handleFilters":[16],"fontFamily":[1,"font-family"],"selectedSegment":[32]}],[1,"grw-outdoor-sites-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"outdoorSitesToDisplay":[32]}],[1,"grw-touristic-contents-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicContentsToDisplay":[32]}],[1,"grw-touristic-events-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"isLargeView":[4,"is-large-view"],"touristicEventsToDisplay":[32]}],[1,"grw-treks-list",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayOnlyOfflineTreks":[4,"display-only-offline-treks"],"isLargeView":[4,"is-large-view"],"treksToDisplay":[32]}],[1,"grw-common-button",{"action":[16],"icon":[1],"name":[1],"fontFamily":[1,"font-family"]}],[1,"grw-extended-fab",{"action":[16],"icon":[16],"name":[16],"display":[1],"fontFamily":[1,"font-family"]}],[1,"grw-loader",{"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"]}],[1,"grw-map",{"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorBackground":[1,"color-background"],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"useGradient":[4,"use-gradient"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"mapIsReady":[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationPlacesIsInViewport","onInformationPlacesIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"sitesIsInViewport","sitesIsInViewport"],[8,"coursesIsInViewport","coursesIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"],[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[8,"cardOutdoorSiteMouseOver","onOutdoorSiteMouseOver"],[8,"cardOutdoorSiteMouseLeave","onOutdoorSiteMouseLeave"]]],[1,"grw-offline-confirm-modal",{"mode":[1],"showOfflineModal":[32],"showConfirmModal":[32],"showLoaderModal":[32],"showSuccessModal":[32],"showConfirmDeleteModal":[32],"showDeletingMessage":[32],"showDeleteSuccessMessage":[32]},[[8,"downloadConfirm","onDownloadConfirm"],[8,"downloadedSuccessConfirm","onDownloadedSuccessConfirm"],[8,"deleteConfirm","onDeleteConfirm"],[8,"deleteSuccessConfirm","onDeleteSuccessConfirm"]]],[1,"grw-outdoor-course-provider",{"languages":[1],"api":[1],"outdoorCourseId":[2,"outdoor-course-id"],"portals":[1]}],[1,"grw-outdoor-site-provider",{"languages":[1],"api":[1],"outdoorSiteId":[2,"outdoor-site-id"],"portals":[1]}],[1,"grw-outdoor-sites-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-search",{"fontFamily":[1,"font-family"]}],[1,"grw-segmented-segment",{"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"fontFamily":[1,"font-family"]}],[1,"grw-select-language"],[1,"grw-switch",{"action":[16],"fontFamily":[1,"font-family"],"checked":[4]}],[1,"grw-touristic-content-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-content-provider",{"languages":[1],"api":[1],"touristicContentId":[2,"touristic-content-id"],"portals":[1]}],[1,"grw-touristic-contents-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-touristic-event-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-event-provider",{"languages":[1],"api":[1],"touristicEventId":[2,"touristic-event-id"],"portals":[1]}],[1,"grw-touristic-events-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-trek-provider",{"languages":[1],"api":[1],"trekId":[2,"trek-id"],"portals":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"routes":[1],"practices":[1],"labels":[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],"labels":[1]}]]]]'),r)]}}))}))}))}}}));
|
|
2
2
|
//# sourceMappingURL=p-775aaaa7.system.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","scriptElm","Array","from","doc","querySelectorAll","find","s","RegExp","concat","NAMESPACE","test","src","getAttribute","importMeta","module","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","_this","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"qrDAKA,IAAMA,EAAe,WASjB,IAAMC,EACAC,MAAMC,KAAKC,EAAIC,iBAAiB,WAAWC,MAAK,SAACC,GAAM,WAAIC,OAAO,IAAAC,OAAKC,EAAS,4BAA2BC,KAAKJ,EAAEK,MAChHL,EAAEM,aAAa,4BAA8BH,CADQ,IAG7D,IAAMI,EAAaC,EAAAC,KAAAC,IACnB,IAAMC,GAA+BjB,GAAa,IAAI,cAAgB,GACtE,GAAIa,IAAe,GAAI,CACnBI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACrD,CACI,OAAOC,EAAeJ,EAC1B,ECpBAlB,IAAeuB,MAAK,SAAOC,GAAO,OAAAC,UAAAC,OAAA,qB,4DAChC,SAAMC,K,OAANC,EAAAC,OACA,SAAOC,EAAcC,KAAAC,MAAA,
|
|
1
|
+
{"version":3,"names":["patchBrowser","scriptElm","Array","from","doc","querySelectorAll","find","s","RegExp","concat","NAMESPACE","test","src","getAttribute","importMeta","module","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","_this","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"qrDAKA,IAAMA,EAAe,WASjB,IAAMC,EACAC,MAAMC,KAAKC,EAAIC,iBAAiB,WAAWC,MAAK,SAACC,GAAM,WAAIC,OAAO,IAAAC,OAAKC,EAAS,4BAA2BC,KAAKJ,EAAEK,MAChHL,EAAEM,aAAa,4BAA8BH,CADQ,IAG7D,IAAMI,EAAaC,EAAAC,KAAAC,IACnB,IAAMC,GAA+BjB,GAAa,IAAI,cAAgB,GACtE,GAAIa,IAAe,GAAI,CACnBI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACrD,CACI,OAAOC,EAAeJ,EAC1B,ECpBAlB,IAAeuB,MAAK,SAAOC,GAAO,OAAAC,UAAAC,OAAA,qB,4DAChC,SAAMC,K,OAANC,EAAAC,OACA,SAAOC,EAAcC,KAAAC,MAAA,uqgBAAuCR,I"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as o,c as t,e as i,h as e,H as r}from"./p-835a85e7.js";import{s as a}from"./p-d87140c7.js";import{t as s}from"./p-6b64ae12.js";import{a as n}from"./p-f34dc852.js";import{C as c}from"./p-8ba930cb.js";const d=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M440-40v-80q-125-14-214.5-103.5T122-438H42v-80h80q14-125 103.5-214.5T440-836v-80h80v80q125 14 214.5 103.5T838-518h80v80h-80q-14 125-103.5 214.5T520-120v80h-80Zm40-158q116 0 198-82t82-198q0-116-82-198t-198-82q-116 0-198 82t-82 198q0 116 82 198t198 82Z"/></svg>`;const l=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm320-280L160-640v400h640v-400L480-440Zm0-80 320-200H160l320 200ZM160-640v-80 480-400Z"/></svg>`;const u=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z"/></svg>`;const h=":host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border:1px solid gray;border-radius:var(--border-radius, 12px);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}:host a{color:var(--color-primary-app)}.information-desk-img-container{position:relative}.information-desk-img-container .information-desk-img{width:100%;height:200px;-o-object-fit:cover;object-fit:cover}.information-desk-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.information-desk-sub-container-short{max-height:200px;overflow:hidden}.information-desk-name{font-size:16px;line-height:24px;font-weight:500}.information-desk-description{font-size:14px;line-height:20px}.handle-information-desk-description{cursor:pointer;color:var(--color-primary-app);text-decoration:underline;margin-top:12px}.phone-container,.mail-container,.link-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.phone-container .icon,.mail-container .icon,.link-container .icon{display:-ms-flexbox;display:flex;font-size:16px;margin-right:8px}.center-on-map-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:4px 8px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);min-height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative;border:none;font-size:14px;margin:12px auto}.center-on-map-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.center-on-map-button .icon{display:-ms-flexbox;display:flex}";const p=h;const f=class{constructor(i){o(this,i);this.centerOnMap=t(this,"centerOnMap",7);this.displayShortDescription=true;this.showInformationDeskDescriptionButton=false;this.informationDesk=undefined;this.offline=false;this.showDefaultImage=false}componentDidLoad(){this.handleOffline();if(this.descriptionRef){this.showInformationDeskDescriptionButton=this.descriptionRef.clientHeight<this.descriptionRef.scrollHeight}}handleInformationDeskDescription(){this.displayShortDescription=!this.displayShortDescription}handleCenterOnMap(){this.centerOnMap.emit({latitude:this.informationDesk.latitude,longitude:this.informationDesk.longitude})}async handleOffline(){if(a.currentTrek){const o=await n("treks",a.currentTrek.id);if(o&&o.offline){const o=await n("informationDesks",this.informationDesk.id);this.offline=Boolean(o)}}else if(a.currentOutdoorSite){const o=await n("outdoorSites",a.currentOutdoorSite.id);if(o&&o.offline){const o=await n("informationDesks",this.informationDesk.id);this.offline=Boolean(o)}}}render(){const o=i(`${""}assets/default-image.svg`);return e(r,{key:"d6fbd14c706c6f10a06f8bf5fe1c021754a9991e"},this.informationDesk.photo_url&&e("div",{part:"information-desk-img-container",class:"information-desk-img-container"},e("img",{part:"information-desk-img",class:"information-desk-img",src:this.informationDesk.photo_url,alt:this.informationDesk.name,loading:"lazy",onerror:t=>{t.target.onerror=null;t.target.src=o}})),e("div",{key:"19949e15216744826dc42c3f94dd81cf374897f7",part:"information-desk-sub-container",class:"information-desk-sub-container"},e("div",{key:"1aa17f2423227f6135a41159fec1229b32c11d46",class:this.displayShortDescription?"information-desk-sub-container-short":""},this.informationDesk.name&&e("div",{part:"information-desk-name",class:"information-desk-name"},this.informationDesk.name),this.informationDesk.latitude&&this.informationDesk.longitude&&e("button",{part:"center-on-map-button",class:"center-on-map-button",onClick:()=>this.handleCenterOnMap()},e("span",{part:"icon",class:"icon",innerHTML:d}),e("span",{part:"label"},s[a.language].centerOnMap)),(this.informationDesk.postal_code||this.informationDesk.municipality||this.informationDesk.street)&&e("div",{part:"information-desk-informations",class:"information-desk-informations"},this.informationDesk.postal_code&&this.informationDesk.postal_code,this.informationDesk.municipality&&` ${this.informationDesk.municipality}`,this.informationDesk.street&&` ${this.informationDesk.street}`),this.informationDesk.phone&&e("div",{class:"phone-container"},e("span",{part:"icon",class:"icon",innerHTML:c}),e("a",{part:"label",class:"label",href:`tel:${this.informationDesk.phone}`},this.informationDesk.phone)),this.informationDesk.email&&e("div",{part:"mail-container",class:"mail-container"},e("span",{part:"icon",class:"icon",innerHTML:l}),e("a",{part:"label",class:"label",href:`mailto:${this.informationDesk.email}`},this.informationDesk.email)),this.informationDesk.website&&e("div",{part:"link-container",class:"link-container"},e("span",{part:"icon",class:"icon",innerHTML:u}),e("a",{part:"label",class:"label",href:`${this.informationDesk.website}`},this.informationDesk.website)),this.informationDesk.description&&e("div",{part:"information-desk-description-container",class:"information-desk-description-container"},e("div",{part:"information-desk-description",class:"information-desk-description",innerHTML:this.informationDesk.description,ref:o=>this.descriptionRef=o}))),this.informationDesk.description&&e("div",{part:"handle-information-desk-description",class:"handle-information-desk-description",onClick:()=>this.handleInformationDeskDescription()},this.displayShortDescription?s[a.language].readMore:s[a.language].readLess)))}};f.style=p;const m=":host a{color:var(--color-primary-app)}.outdoor-course-img-container{position:relative;height:200px}.outdoor-course-img-container .outdoor-course-img,.outdoor-course-img-container .default-outdoor-course-img{width:100%;height:100%;max-height:200px;-o-object-fit:cover;object-fit:cover}.outdoor-course-img-container .outdoor-course-img{cursor:pointer;-o-object-fit:cover;object-fit:cover}.outdoor-course-img-container .default-outdoor-course-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.outdoor-course-img-container .img-fullscreen{max-height:none;-o-object-fit:contain;object-fit:contain}.outdoor-course-img-container .outdoor-course-practice{width:24px;height:24px;padding:4px;border:2px solid #ffffff;border-radius:var(--border-radius, 50%);background-color:var(--color-on-surface);position:absolute;top:8px;left:8px;z-index:200}.outdoor-course-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.outdoor-course-sub-container .outdoor-course-practice-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:12px}.outdoor-course-sub-container .outdoor-course-practice-container .outdoor-course-practice-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.outdoor-course-sub-container .outdoor-course-practice-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.outdoor-course-sub-container .outdoor-course-name{font-size:16px;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:48px}.outdoor-course-more-detail-container{padding:0px 12px 12px 12px}.outdoor-course-more-detail-container .more-details-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);width:100%;height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative;border:none;font-size:14px;font-family:var(--font-family)}.outdoor-course-more-detail-container .more-details-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.outdoor-course-more-detail-container .more-details-button span{font-size:18px}.outdoor-course-card-container,.outdoor-course-card-large-view-container{font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}.outdoor-course-card-container .outdoor-course-img,.outdoor-course-card-large-view-container .outdoor-course-img{height:100%;-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.outdoor-course-card-container{width:100%;max-width:350px}.outdoor-course-card-container .outdoor-course-img{width:100%;height:100%}.outdoor-course-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.outdoor-course-card-large-view-container .outdoor-course-img{width:250px;height:100%;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.is-inside-vertical-list{cursor:pointer;border:none}.is-inside-vertical-list .touristic-content-img,.is-inside-vertical-list .default-touristic-content-img{height:100%}.selected-outdoor-course-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}";const b=m;const x=class{constructor(i){o(this,i);this.outdoorCourseCardPress=t(this,"outdoorCourseCardPress",7);this.cardOutdoorCourseMouseOver=t(this,"cardOutdoorCourseMouseOver",7);this.cardOutdoorCourseMouseLeave=t(this,"cardOutdoorCourseMouseLeave",7);this.outdoorCourse=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6b0030";this.colorOnSurface="#49454e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorSurfaceContainerLow="#f7f2fa";this.isLargeView=false;this.isInsideHorizontalList=false;this.offline=false}handleMouseOver(){this.cardOutdoorCourseMouseOver.emit(this.outdoorCourse.id)}handleMouseLeave(){this.cardOutdoorCourseMouseLeave.emit()}async handleOffline(){if(a.currentOutdoorSite){const o=await n("outdoorSites",a.currentOutdoorSite.id);if(o&&o.offline){const o=await n("outdoorCourses",this.outdoorCourse.id);this.offline=Boolean(o)}}}render(){const o=i(`${""}assets/default-image.svg`);const t=null;return e(r,{key:"cb289a14df9906e598869d2d5cc6b52b0d6e45fe",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto"}},e("div",{key:"a139f833ab5412b7ed2d933487e49c781088503e",part:"outdoor-course-card",class:this.isLargeView?`outdoor-course-card outdoor-course-card-large-view-container${a.selectedOutdoorCourseId===this.outdoorCourse.id?" selected-outdoor-course-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`:` outdoor-course-card outdoor-course-card-container${a.selectedOutdoorCourseId===this.outdoorCourse.id?" selected-outdoor-course-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`,onClick:()=>{if(!this.isInsideHorizontalList){this.outdoorCourseCardPress.emit(this.outdoorCourse.id)}}},e("div",{key:"798969828fc020b0fd42db25f15f8bc6c261431a",part:"outdoor-course-img-container",class:"outdoor-course-img-container"},this.outdoorCourse.attachments.filter((o=>o.type==="image")).length>0?e("img",{part:"outdoor-course-img",class:"outdoor-course-img",src:`${this.outdoorCourse.attachments.filter((o=>o.type==="image"))[0].thumbnail}`,alt:`${this.outdoorCourse.attachments.filter((o=>o.type==="image"))[0].legend}`,loading:"lazy"}):e("img",{class:"image default-outdoor-course-img",src:o,alt:"",loading:"lazy"})),e("div",{key:"954b9e83d1f71f750c2a80a7b8ccf6c56f0eb643",part:"outdoor-course-sub-container",class:"outdoor-course-sub-container"},e("div",{key:"6ac0a5c21250cd6ccebd7fa2726b17a89936f3db",part:"outdoor-course-practice-container",class:"outdoor-course-practice-container"},t,t),e("div",{key:"d54a7db486cdfb8b849e7173d1fe48be2cfdbaa7",part:"outdoor-course-name",class:"outdoor-course-name"},this.outdoorCourse.name)),this.isInsideHorizontalList&&e("div",{part:"outdoor-course-more-detail-container",class:"outdoor-course-more-detail-container"},e("button",{part:"more-details-button",class:"more-details-button",onClick:()=>this.outdoorCourseCardPress.emit(this.outdoorCourse.id)},"Plus de détails"))))}};x.style=b;const g=":host a{color:var(--color-primary-app)}.outdoor-site-img-container{position:relative;height:200px}.outdoor-site-img-container .outdoor-site-img,.outdoor-site-img-container .default-outdoor-site-img{width:100%;height:100%;max-height:200px;-o-object-fit:cover;object-fit:cover}.outdoor-site-img-container .outdoor-site-img{cursor:pointer;-o-object-fit:cover;object-fit:cover}.outdoor-site-img-container .default-outdoor-site-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.outdoor-site-img-container .img-fullscreen{max-height:none;-o-object-fit:contain;object-fit:contain}.outdoor-site-img-container .outdoor-site-practice{width:24px;height:24px;padding:4px;border:2px solid #ffffff;border-radius:var(--border-radius, 50%);background-color:var(--color-on-surface);position:absolute;top:8px;left:8px;z-index:200}.outdoor-site-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.outdoor-site-sub-container .outdoor-site-practice-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:12px}.outdoor-site-sub-container .outdoor-site-practice-container .outdoor-site-practice-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.outdoor-site-sub-container .outdoor-site-practice-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.outdoor-site-sub-container .outdoor-site-name{font-size:16px;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:48px}.outdoor-site-more-detail-container{padding:0px 12px 12px 12px}.outdoor-site-more-detail-container .more-details-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);width:100%;height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative;border:none;font-size:14px;font-family:var(--font-family)}.outdoor-site-more-detail-container .more-details-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.outdoor-site-more-detail-container .more-details-button span{font-size:18px}.outdoor-site-card-container,.outdoor-site-card-large-view-container{font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}.outdoor-site-card-container .outdoor-site-img,.outdoor-site-card-large-view-container .outdoor-site-img{height:100%;-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.outdoor-site-card-container{width:100%;max-width:350px}.outdoor-site-card-container .outdoor-site-img{width:100%;height:100%}.outdoor-site-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.outdoor-site-card-large-view-container .outdoor-site-img{width:250px;height:100%;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.is-inside-vertical-list{cursor:pointer;border:none}.is-inside-vertical-list .touristic-content-img,.is-inside-vertical-list .default-touristic-content-img{height:100%}.selected-outdoor-site-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.themes-container{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.themes-container .theme{background-color:var(--color-secondary-container);color:var(--color-on-secondary-container);border-radius:var(--border-radius, 40px);padding:8px 16px;margin:0px 8px 8px 0px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative}";const v=g;const w=class{constructor(i){o(this,i);this.outdoorSiteCardPress=t(this,"outdoorSiteCardPress",7);this.cardOutdoorSiteMouseOver=t(this,"cardOutdoorSiteMouseOver",7);this.cardOutdoorSiteMouseLeave=t(this,"cardOutdoorSiteMouseLeave",7);this.outdoorSite=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6b0030";this.colorOnSurface="#49454e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorSurfaceContainerLow="#f7f2fa";this.isLargeView=false;this.isInsideHorizontalList=false;this.offline=false}handleMouseOver(){this.cardOutdoorSiteMouseOver.emit(this.outdoorSite.id)}handleMouseLeave(){this.cardOutdoorSiteMouseLeave.emit()}async handleOffline(){if(a.currentOutdoorSite){const o=await n("outdoorSites",a.currentOutdoorSite.id);this.offline=o&&o.offline}}render(){const o=i(`${""}assets/default-image.svg`);const t=a.outdoorPractices.find((o=>o.id===this.outdoorSite.practice));return e(r,{key:"688e20c45b7eacda5bd34b6f62f2195da624a034",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto"}},e("div",{key:"a21d54186b3b27900edfcc95bf15971cbb512bff",part:"outdoor-site-card",class:this.isLargeView?`outdoor-site-card outdoor-site-card-large-view-container${a.selectedOutdoorSiteId===this.outdoorSite.id?" selected-outdoor-site-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`:` outdoor-site-card outdoor-site-card-container${a.selectedOutdoorSiteId===this.outdoorSite.id?" selected-outdoor-site-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`,onClick:()=>{if(!this.isInsideHorizontalList){this.outdoorSiteCardPress.emit(this.outdoorSite.id)}}},e("div",{key:"6fe018cff5655f200e773daab902a1d8e1345af7",part:"outdoor-site-img-container",class:"outdoor-site-img-container"},this.outdoorSite.attachments.filter((o=>o.type==="image")).length>0?e("img",{part:"outdoor-site-img",class:"outdoor-site-img",src:`${this.outdoorSite.attachments.filter((o=>o.type==="image"))[0].thumbnail}`,alt:`${this.outdoorSite.attachments.filter((o=>o.type==="image"))[0].legend}`,loading:"lazy"}):e("img",{class:"image default-outdoor-site-img",src:o,alt:"",loading:"lazy"})),e("div",{key:"580adce5644da1d1824a9fd60528d34cde8144c4",part:"outdoor-site-sub-container",class:"outdoor-site-sub-container"},e("div",{key:"c2976ca125966aafe2d6ec2efeb115f2a3c4f606",part:"outdoor-site-practice-container",class:"outdoor-site-practice-container"},t&&t.pictogram&&e("img",{part:"outdoor-site-type-img",class:"outdoor-site-type-img",src:t.pictogram,alt:""}),t&&t.name&&e("div",{part:"outdoor-site-practice-name",class:"outdoor-site-practice-name"},t.name)),e("div",{key:"1ebe6a654bb632f3754cd75a1fafcb455483f155",part:"outdoor-site-name",class:"outdoor-site-name"},this.outdoorSite.name),!this.isInsideHorizontalList&&a.themes&&a.themes.filter((o=>this.outdoorSite.themes.includes(o.id))).length>0&&e("div",{part:"themes-container",class:"themes-container"},a.themes.filter((o=>this.outdoorSite.themes.includes(o.id))).map((o=>e("div",{part:"theme",class:"theme"},o.label))))),this.isInsideHorizontalList&&e("div",{part:"outdoor-site-more-detail-container",class:"outdoor-site-more-detail-container"},e("button",{part:"more-details-button",class:"more-details-button",onClick:()=>this.outdoorSiteCardPress.emit(this.outdoorSite.id)},"Plus de détails"))))}};w.style=v;export{f as grw_information_desk,x as grw_outdoor_course_card,w as grw_outdoor_site_card};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as o,c as i,e as t,h as e,H as r}from"./p-835a85e7.js";import{s as a}from"./p-d87140c7.js";import{t as s}from"./p-6b64ae12.js";import{a as n}from"./p-f34dc852.js";import{C as c}from"./p-8ba930cb.js";const d=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M440-40v-80q-125-14-214.5-103.5T122-438H42v-80h80q14-125 103.5-214.5T440-836v-80h80v80q125 14 214.5 103.5T838-518h80v80h-80q-14 125-103.5 214.5T520-120v80h-80Zm40-158q116 0 198-82t82-198q0-116-82-198t-198-82q-116 0-198 82t-82 198q0 116 82 198t198 82Z"/></svg>`;const l=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm320-280L160-640v400h640v-400L480-440Zm0-80 320-200H160l320 200ZM160-640v-80 480-400Z"/></svg>`;const u=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z"/></svg>`;const h=":host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border:1px solid gray;border-radius:var(--border-radius, 12px);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}:host a{color:var(--color-primary-app)}.information-desk-img-container{position:relative}.information-desk-img-container .information-desk-img{width:100%;height:200px;-o-object-fit:cover;object-fit:cover}.information-desk-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.information-desk-sub-container-short{max-height:200px;overflow:hidden}.information-desk-name{font-size:16px;line-height:24px;font-weight:500}.information-desk-description{font-size:14px;line-height:20px}.handle-information-desk-description{cursor:pointer;color:var(--color-primary-app);text-decoration:underline;margin-top:12px}.phone-container,.mail-container,.link-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.phone-container .icon,.mail-container .icon,.link-container .icon{display:-ms-flexbox;display:flex;font-size:16px;margin-right:8px}.center-on-map-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:4px 8px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);min-height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative;border:none;font-size:14px;margin:12px auto}.center-on-map-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.center-on-map-button .icon{display:-ms-flexbox;display:flex}";const p=h;const f=class{constructor(t){o(this,t);this.centerOnMap=i(this,"centerOnMap",7);this.displayShortDescription=true;this.showInformationDeskDescriptionButton=false;this.informationDesk=undefined;this.offline=false;this.showDefaultImage=false}componentDidLoad(){this.handleOffline();if(this.descriptionRef){this.showInformationDeskDescriptionButton=this.descriptionRef.clientHeight<this.descriptionRef.scrollHeight}}handleInformationDeskDescription(){this.displayShortDescription=!this.displayShortDescription}handleCenterOnMap(){this.centerOnMap.emit({latitude:this.informationDesk.latitude,longitude:this.informationDesk.longitude})}async handleOffline(){if(a.currentTrek){const o=await n("treks",a.currentTrek.id);if(o&&o.offline){const o=await n("informationDesks",this.informationDesk.id);this.offline=Boolean(o)}}else if(a.currentOutdoorSite){const o=await n("outdoorSites",a.currentOutdoorSite.id);if(o&&o.offline){const o=await n("informationDesks",this.informationDesk.id);this.offline=Boolean(o)}}}render(){const o=t(`${""}assets/default-image.svg`);return e(r,{key:"d6fbd14c706c6f10a06f8bf5fe1c021754a9991e"},this.informationDesk.photo_url&&e("div",{part:"information-desk-img-container",class:"information-desk-img-container"},e("img",{part:"information-desk-img",class:"information-desk-img",src:this.informationDesk.photo_url,alt:this.informationDesk.name,loading:"lazy",onerror:i=>{i.target.onerror=null;i.target.src=o}})),e("div",{key:"19949e15216744826dc42c3f94dd81cf374897f7",part:"information-desk-sub-container",class:"information-desk-sub-container"},e("div",{key:"1aa17f2423227f6135a41159fec1229b32c11d46",class:this.displayShortDescription?"information-desk-sub-container-short":""},this.informationDesk.name&&e("div",{part:"information-desk-name",class:"information-desk-name"},this.informationDesk.name),this.informationDesk.latitude&&this.informationDesk.longitude&&e("button",{part:"center-on-map-button",class:"center-on-map-button",onClick:()=>this.handleCenterOnMap()},e("span",{part:"icon",class:"icon",innerHTML:d}),e("span",{part:"label"},s[a.language].centerOnMap)),(this.informationDesk.postal_code||this.informationDesk.municipality||this.informationDesk.street)&&e("div",{part:"information-desk-informations",class:"information-desk-informations"},this.informationDesk.postal_code&&this.informationDesk.postal_code,this.informationDesk.municipality&&` ${this.informationDesk.municipality}`,this.informationDesk.street&&` ${this.informationDesk.street}`),this.informationDesk.phone&&e("div",{class:"phone-container"},e("span",{part:"icon",class:"icon",innerHTML:c}),e("a",{part:"label",class:"label",href:`tel:${this.informationDesk.phone}`},this.informationDesk.phone)),this.informationDesk.email&&e("div",{part:"mail-container",class:"mail-container"},e("span",{part:"icon",class:"icon",innerHTML:l}),e("a",{part:"label",class:"label",href:`mailto:${this.informationDesk.email}`},this.informationDesk.email)),this.informationDesk.website&&e("div",{part:"link-container",class:"link-container"},e("span",{part:"icon",class:"icon",innerHTML:u}),e("a",{part:"label",class:"label",href:`${this.informationDesk.website}`},this.informationDesk.website)),this.informationDesk.description&&e("div",{part:"information-desk-description-container",class:"information-desk-description-container"},e("div",{part:"information-desk-description",class:"information-desk-description",innerHTML:this.informationDesk.description,ref:o=>this.descriptionRef=o}))),this.informationDesk.description&&e("div",{part:"handle-information-desk-description",class:"handle-information-desk-description",onClick:()=>this.handleInformationDeskDescription()},this.displayShortDescription?s[a.language].readMore:s[a.language].readLess)))}};f.style=p;const m=":host a{color:var(--color-primary-app)}.outdoor-course-img-container{position:relative;height:200px}.outdoor-course-img-container .outdoor-course-img,.outdoor-course-img-container .default-outdoor-course-img{width:100%;height:100%;max-height:200px;-o-object-fit:cover;object-fit:cover}.outdoor-course-img-container .outdoor-course-img{cursor:pointer;-o-object-fit:cover;object-fit:cover}.outdoor-course-img-container .default-outdoor-course-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.outdoor-course-img-container .img-fullscreen{max-height:none;-o-object-fit:contain;object-fit:contain}.outdoor-course-img-container .outdoor-course-practice{width:24px;height:24px;padding:4px;border:2px solid #ffffff;border-radius:var(--border-radius, 50%);background-color:var(--color-on-surface);position:absolute;top:8px;left:8px;z-index:200}.outdoor-course-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.outdoor-course-sub-container .outdoor-course-practice-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:12px}.outdoor-course-sub-container .outdoor-course-practice-container .outdoor-course-practice-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.outdoor-course-sub-container .outdoor-course-practice-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.outdoor-course-sub-container .outdoor-course-name{font-size:16px;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:48px}.outdoor-course-more-detail-container{padding:0px 12px 12px 12px}.outdoor-course-more-detail-container .more-details-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);width:100%;height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative;border:none;font-size:14px;font-family:var(--font-family)}.outdoor-course-more-detail-container .more-details-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.outdoor-course-more-detail-container .more-details-button span{font-size:18px}.outdoor-course-card-container,.outdoor-course-card-large-view-container{font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}.outdoor-course-card-container .outdoor-course-img,.outdoor-course-card-large-view-container .outdoor-course-img{height:100%;-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.outdoor-course-card-container{width:100%;max-width:350px}.outdoor-course-card-container .outdoor-course-img{width:100%;height:100%}.outdoor-course-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.outdoor-course-card-large-view-container .outdoor-course-img{width:250px;height:100%;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.is-inside-vertical-list{cursor:pointer;border:none}.is-inside-vertical-list .touristic-content-img,.is-inside-vertical-list .default-touristic-content-img{height:100%}.selected-outdoor-course-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}";const b=m;const x=class{constructor(t){o(this,t);this.outdoorCourseCardPress=i(this,"outdoorCourseCardPress",7);this.cardOutdoorCourseMouseOver=i(this,"cardOutdoorCourseMouseOver",7);this.cardOutdoorCourseMouseLeave=i(this,"cardOutdoorCourseMouseLeave",7);this.outdoorCourse=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6b0030";this.colorOnSurface="#49454e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorSurfaceContainerLow="#f7f2fa";this.isLargeView=false;this.isInsideHorizontalList=false;this.offline=false}handleMouseOver(){this.cardOutdoorCourseMouseOver.emit(this.outdoorCourse.id)}handleMouseLeave(){this.cardOutdoorCourseMouseLeave.emit()}async handleOffline(){if(a.currentOutdoorSite){const o=await n("outdoorSites",a.currentOutdoorSite.id);if(o&&o.offline){const o=await n("outdoorCourses",this.outdoorCourse.id);this.offline=Boolean(o)}}}render(){const o=t(`${""}assets/default-image.svg`);const i=null;return e(r,{key:"2d399d7376128e88f7be032c44366745b5ddecd2",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto"}},e("div",{key:"1d105e15fa37ad1180053a15c1c3d6e536b919e9",part:"outdoor-course-card",class:this.isLargeView?`outdoor-course-card outdoor-course-card-large-view-container${a.selectedOutdoorCourseId===this.outdoorCourse.id?" selected-outdoor-course-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`:` outdoor-course-card outdoor-course-card-container${a.selectedOutdoorCourseId===this.outdoorCourse.id?" selected-outdoor-course-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`,onClick:()=>{if(!this.isInsideHorizontalList){this.outdoorCourseCardPress.emit(this.outdoorCourse.id)}}},e("div",{key:"3a593c45a4e277ef4390edd268d99adaf61dd136",part:"outdoor-course-img-container",class:"outdoor-course-img-container"},this.outdoorCourse.attachments.filter((o=>o.type==="image")).length>0?e("img",{part:"outdoor-course-img",class:"outdoor-course-img",src:`${this.outdoorCourse.attachments.filter((o=>o.type==="image"))[0].thumbnail!==""?this.outdoorCourse.attachments.filter((o=>o.type==="image"))[0].thumbnail:this.outdoorCourse.attachments.filter((o=>o.type==="image"))[0].url}`,alt:`${this.outdoorCourse.attachments.filter((o=>o.type==="image"))[0].legend}`,loading:"lazy"}):e("img",{class:"image default-outdoor-course-img",src:o,alt:"",loading:"lazy"})),e("div",{key:"897c96064dec3dc7918c78713aeba248eac39b6d",part:"outdoor-course-sub-container",class:"outdoor-course-sub-container"},e("div",{key:"a9848b955a49b2b39a13eb3d8670b270714f9b72",part:"outdoor-course-practice-container",class:"outdoor-course-practice-container"},i,i),e("div",{key:"8e2648ddd81c8e5aabf82b28ede9818a7c5b3c01",part:"outdoor-course-name",class:"outdoor-course-name"},this.outdoorCourse.name)),this.isInsideHorizontalList&&e("div",{part:"outdoor-course-more-detail-container",class:"outdoor-course-more-detail-container"},e("button",{part:"more-details-button",class:"more-details-button",onClick:()=>this.outdoorCourseCardPress.emit(this.outdoorCourse.id)},"Plus de détails"))))}};x.style=b;const g=":host a{color:var(--color-primary-app)}.outdoor-site-img-container{position:relative;height:200px}.outdoor-site-img-container .outdoor-site-img,.outdoor-site-img-container .default-outdoor-site-img{width:100%;height:100%;max-height:200px;-o-object-fit:cover;object-fit:cover}.outdoor-site-img-container .outdoor-site-img{cursor:pointer;-o-object-fit:cover;object-fit:cover}.outdoor-site-img-container .default-outdoor-site-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.outdoor-site-img-container .img-fullscreen{max-height:none;-o-object-fit:contain;object-fit:contain}.outdoor-site-img-container .outdoor-site-practice{width:24px;height:24px;padding:4px;border:2px solid #ffffff;border-radius:var(--border-radius, 50%);background-color:var(--color-on-surface);position:absolute;top:8px;left:8px;z-index:200}.outdoor-site-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:12px}.outdoor-site-sub-container .outdoor-site-practice-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:12px}.outdoor-site-sub-container .outdoor-site-practice-container .outdoor-site-practice-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.outdoor-site-sub-container .outdoor-site-practice-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.outdoor-site-sub-container .outdoor-site-name{font-size:16px;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:48px}.outdoor-site-more-detail-container{padding:0px 12px 12px 12px}.outdoor-site-more-detail-container .more-details-button{cursor:pointer;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:var(--border-radius, 8px);padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);width:100%;height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative;border:none;font-size:14px;font-family:var(--font-family)}.outdoor-site-more-detail-container .more-details-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.outdoor-site-more-detail-container .more-details-button span{font-size:18px}.outdoor-site-card-container,.outdoor-site-card-large-view-container{font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low);color:var(--color-on-surface)}.outdoor-site-card-container .outdoor-site-img,.outdoor-site-card-large-view-container .outdoor-site-img{height:100%;-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.outdoor-site-card-container{width:100%;max-width:350px}.outdoor-site-card-container .outdoor-site-img{width:100%;height:100%}.outdoor-site-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.outdoor-site-card-large-view-container .outdoor-site-img{width:250px;height:100%;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.is-inside-vertical-list{cursor:pointer;border:none}.is-inside-vertical-list .touristic-content-img,.is-inside-vertical-list .default-touristic-content-img{height:100%}.selected-outdoor-site-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.themes-container{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.themes-container .theme{background-color:var(--color-secondary-container);color:var(--color-on-secondary-container);border-radius:var(--border-radius, 40px);padding:8px 16px;margin:0px 8px 8px 0px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;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;position:relative}";const v=g;const w=class{constructor(t){o(this,t);this.outdoorSiteCardPress=i(this,"outdoorSiteCardPress",7);this.cardOutdoorSiteMouseOver=i(this,"cardOutdoorSiteMouseOver",7);this.cardOutdoorSiteMouseLeave=i(this,"cardOutdoorSiteMouseLeave",7);this.outdoorSite=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6b0030";this.colorOnSurface="#49454e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorSurfaceContainerLow="#f7f2fa";this.isLargeView=false;this.isInsideHorizontalList=false;this.offline=false}handleMouseOver(){this.cardOutdoorSiteMouseOver.emit(this.outdoorSite.id)}handleMouseLeave(){this.cardOutdoorSiteMouseLeave.emit()}async handleOffline(){if(a.currentOutdoorSite){const o=await n("outdoorSites",a.currentOutdoorSite.id);this.offline=o&&o.offline}}render(){const o=t(`${""}assets/default-image.svg`);const i=a.outdoorPractices.find((o=>o.id===this.outdoorSite.practice));return e(r,{key:"f24c8775f6fd392c6b7ff8236a23bb42cb40908d",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto"}},e("div",{key:"eff9657d1dbe63e79143ebf49f1fb3a374bb4934",part:"outdoor-site-card",class:this.isLargeView?`outdoor-site-card outdoor-site-card-large-view-container${a.selectedOutdoorSiteId===this.outdoorSite.id?" selected-outdoor-site-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`:` outdoor-site-card outdoor-site-card-container${a.selectedOutdoorSiteId===this.outdoorSite.id?" selected-outdoor-site-card":""}${!this.isInsideHorizontalList?" is-inside-vertical-list":""}`,onClick:()=>{if(!this.isInsideHorizontalList){this.outdoorSiteCardPress.emit(this.outdoorSite.id)}}},e("div",{key:"0e078f39d79446237a4dfdb70876a46f441cf840",part:"outdoor-site-img-container",class:"outdoor-site-img-container"},this.outdoorSite.attachments.filter((o=>o.type==="image")).length>0?e("img",{part:"outdoor-site-img",class:"outdoor-site-img",src:`${this.outdoorSite.attachments.filter((o=>o.type==="image"))[0].thumbnail!==""?this.outdoorSite.attachments.filter((o=>o.type==="image"))[0].thumbnail:this.outdoorSite.attachments.filter((o=>o.type==="image"))[0].url}`,alt:`${this.outdoorSite.attachments.filter((o=>o.type==="image"))[0].legend}`,loading:"lazy"}):e("img",{class:"image default-outdoor-site-img",src:o,alt:"",loading:"lazy"})),e("div",{key:"5bda61941bfc8097acaf81c3e76a87445cb8d70d",part:"outdoor-site-sub-container",class:"outdoor-site-sub-container"},e("div",{key:"9efb9f723772ce119964f824bf6744fd0dc904fb",part:"outdoor-site-practice-container",class:"outdoor-site-practice-container"},i&&i.pictogram&&e("img",{part:"outdoor-site-type-img",class:"outdoor-site-type-img",src:i.pictogram,alt:""}),i&&i.name&&e("div",{part:"outdoor-site-practice-name",class:"outdoor-site-practice-name"},i.name)),e("div",{key:"d5925c901b71d9bb6b9a68b76851cb4e05c53b6e",part:"outdoor-site-name",class:"outdoor-site-name"},this.outdoorSite.name),!this.isInsideHorizontalList&&a.themes&&a.themes.filter((o=>this.outdoorSite.themes.includes(o.id))).length>0&&e("div",{part:"themes-container",class:"themes-container"},a.themes.filter((o=>this.outdoorSite.themes.includes(o.id))).map((o=>e("div",{part:"theme",class:"theme"},o.label))))),this.isInsideHorizontalList&&e("div",{part:"outdoor-site-more-detail-container",class:"outdoor-site-more-detail-container"},e("button",{part:"more-details-button",class:"more-details-button",onClick:()=>this.outdoorSiteCardPress.emit(this.outdoorSite.id)},"Plus de détails"))))}};w.style=v;export{f as grw_information_desk,x as grw_outdoor_course_card,w as grw_outdoor_site_card};
|
|
2
|
+
//# sourceMappingURL=p-948319c9.entry.js.map
|
|
Binary file
|
|
Binary file
|