@geotrekce/geotrek-rando-widget 0.27.3 → 0.28.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/grw-common-button_23.cjs.entry.js +23 -26
- package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
- 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-sensitive-area-detail_2.cjs.entry.js +1 -1
- 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/{treks.service-90bf9b5f.js → treks.service-5d19ad5f.js} +2 -2
- package/dist/cjs/treks.service-5d19ad5f.js.br +0 -0
- package/dist/cjs/treks.service-5d19ad5f.js.gz +0 -0
- package/dist/cjs/{treks.service-90bf9b5f.js.map → treks.service-5d19ad5f.js.map} +1 -1
- package/dist/collection/components/grw-map/grw-map.js +8 -16
- 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-trek-detail/grw-trek-detail.js +14 -9
- 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/services/treks.service.js +1 -1
- package/dist/collection/services/treks.service.js.br +0 -0
- package/dist/collection/services/treks.service.js.gz +0 -0
- package/dist/collection/services/treks.service.js.map +1 -1
- package/dist/collection/types/types.js.map +1 -1
- package/dist/esm/grw-common-button_23.entry.js +23 -26
- package/dist/esm/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm/grw-details-modal_8.entry.js +1 -1
- package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
- 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-sensitive-area-detail_2.entry.js +1 -1
- 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/{treks.service-dec95114.js → treks.service-01e48d12.js} +2 -2
- package/dist/esm/treks.service-01e48d12.js.br +0 -0
- package/dist/esm/treks.service-01e48d12.js.gz +0 -0
- package/dist/esm/{treks.service-dec95114.js.map → treks.service-01e48d12.js.map} +1 -1
- package/dist/esm-es5/grw-common-button_23.entry.js +2 -2
- package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
- 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-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/{treks.service-dec95114.js → treks.service-01e48d12.js} +2 -2
- package/dist/esm-es5/treks.service-01e48d12.js.br +0 -0
- package/dist/esm-es5/treks.service-01e48d12.js.gz +0 -0
- package/dist/esm-es5/treks.service-01e48d12.js.map +1 -0
- 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/{p-c8b7cf2e.system.entry.js → p-10adcbc3.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-10adcbc3.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-10adcbc3.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-13ad307b.system.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-13ad307b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-13ad307b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-13ad307b.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-91be2094.entry.js → p-1ef5158a.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-1ef5158a.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1ef5158a.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-39f76031.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-39f76031.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-39f76031.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-39f76031.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js +1 -1
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-a965f1a6.system.js → p-5e1d038f.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-5e1d038f.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5e1d038f.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5e1d038f.system.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-6365e7de.system.entry.js → p-7102a4d3.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-7102a4d3.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7102a4d3.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-ca852f00.entry.js → p-8f1283ca.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-8f1283ca.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/{p-ca852f00.entry.js.gz → p-8f1283ca.entry.js.gz} +0 -0
- package/dist/geotrek-rando-widget/{p-ae7266c4.js → p-bb81fb52.js} +2 -2
- package/dist/geotrek-rando-widget/p-bb81fb52.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bb81fb52.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-ae7266c4.js.map → p-bb81fb52.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-c61d0c7b.system.entry.js → p-e28536dd.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-e28536dd.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e28536dd.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e4da40fc.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-e4da40fc.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e4da40fc.entry.js.gz +0 -0
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +1 -0
- package/dist/types/types/types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/treks.service-90bf9b5f.js.br +0 -0
- package/dist/cjs/treks.service-90bf9b5f.js.gz +0 -0
- package/dist/esm/treks.service-dec95114.js.br +0 -0
- package/dist/esm/treks.service-dec95114.js.gz +0 -0
- package/dist/esm-es5/treks.service-dec95114.js.br +0 -0
- package/dist/esm-es5/treks.service-dec95114.js.gz +0 -0
- package/dist/esm-es5/treks.service-dec95114.js.map +0 -1
- package/dist/geotrek-rando-widget/p-201a8fe8.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-201a8fe8.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-201a8fe8.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-201a8fe8.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-6365e7de.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6365e7de.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-641e709b.system.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-641e709b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-641e709b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-641e709b.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-91be2094.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-91be2094.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a965f1a6.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a965f1a6.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a965f1a6.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-ae7266c4.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ae7266c4.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c61d0c7b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c61d0c7b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c8b7cf2e.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c8b7cf2e.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ca852f00.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f5f1db40.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-f5f1db40.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f5f1db40.entry.js.gz +0 -0
- /package/dist/geotrek-rando-widget/{p-c8b7cf2e.system.entry.js.map → p-10adcbc3.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-91be2094.entry.js.map → p-1ef5158a.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-6365e7de.system.entry.js.map → p-7102a4d3.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-ca852f00.entry.js.map → p-8f1283ca.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-c61d0c7b.system.entry.js.map → p-e28536dd.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-f5f1db40.entry.js.map → p-e4da40fc.entry.js.map} +0 -0
|
@@ -7,7 +7,7 @@ const i18n = require('./i18n-d757c0bf.js');
|
|
|
7
7
|
const store = require('./store-ac1ed8ce.js');
|
|
8
8
|
const utils = require('./utils-934a22f0.js');
|
|
9
9
|
const grwDb_service = require('./grw-db.service-0ad254f2.js');
|
|
10
|
-
const treks_service = require('./treks.service-
|
|
10
|
+
const treks_service = require('./treks.service-5d19ad5f.js');
|
|
11
11
|
const pagination = require('./pagination-00dcc9db.js');
|
|
12
12
|
const call = require('./call-a8e7c8f6.js');
|
|
13
13
|
const moving = require('./moving-6504a9b0.js');
|
|
@@ -2035,20 +2035,12 @@ const GrwMap = class {
|
|
|
2035
2035
|
grwDb_service.L.registerLocale('fr', elevationTranslation);
|
|
2036
2036
|
/* @ts-ignore */
|
|
2037
2037
|
grwDb_service.L.setLocale('fr');
|
|
2038
|
-
const
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
distanceMarkers: { distance: false, direction: true },
|
|
2043
|
-
summary: 'inline',
|
|
2044
|
-
legend: false,
|
|
2045
|
-
downloadLink: false,
|
|
2046
|
-
autofitBounds: false,
|
|
2047
|
-
ruler: false,
|
|
2048
|
-
waypoints: false,
|
|
2049
|
-
almostOver: false,
|
|
2050
|
-
dragging: false,
|
|
2038
|
+
const elevations = store.state.currentTrek.geometry.coordinates.map(coord => coord[2]).filter(el => el !== undefined && el !== null);
|
|
2039
|
+
const minMaxElevation = {
|
|
2040
|
+
yAxisMin: elevations.length > 0 ? Math.min(...elevations) * 0.75 : 0,
|
|
2041
|
+
yAxisMax: elevations.length > 0 ? Math.max(...elevations) * 1.25 : 0,
|
|
2051
2042
|
};
|
|
2043
|
+
const elevationOptions = Object.assign({ elevationDiv: `#elevation-container`, theme: `custom-theme use-theme-color`, height: this.mapElement.getBoundingClientRect().width >= this.largeViewSize / 2 ? this.elevationHeight : this.mobileElevationHeight, distanceMarkers: { distance: false, direction: true }, summary: 'inline', legend: false, downloadLink: false, autofitBounds: false, ruler: false, waypoints: false, almostOver: false, dragging: false }, minMaxElevation);
|
|
2052
2044
|
this.elevationControl = grwDb_service.L.control.elevation(elevationOptions).addTo(this.map);
|
|
2053
2045
|
const elevation = JSON.stringify({
|
|
2054
2046
|
name: `${store.state.currentTrek.name}`,
|
|
@@ -3735,7 +3727,7 @@ const GrwMap = class {
|
|
|
3735
3727
|
render() {
|
|
3736
3728
|
const layersImageSrc = index.getAssetPath(`${''}assets/layers.svg`);
|
|
3737
3729
|
const contractImageSrc = index.getAssetPath(`${''}assets/contract.svg`);
|
|
3738
|
-
return (index.h(index.Host, { key: '
|
|
3730
|
+
return (index.h(index.Host, { key: '8ec65d4a4cf23d89158c4fea689301b3da99f977', ref: el => (this.hostElement = el), style: {
|
|
3739
3731
|
'--font-family': this.fontFamily,
|
|
3740
3732
|
'--color-primary-app': this.colorPrimaryApp,
|
|
3741
3733
|
'--color-on-surface': this.colorOnSurface,
|
|
@@ -3750,13 +3742,13 @@ const GrwMap = class {
|
|
|
3750
3742
|
'--elevation-height': (this.mapElement.getBoundingClientRect().width >= this.largeViewSize / 2 ? this.elevationHeight : this.mobileElevationHeight)
|
|
3751
3743
|
.toString()
|
|
3752
3744
|
.concat('px'),
|
|
3753
|
-
} }, index.h("div", { key: '
|
|
3745
|
+
} }, index.h("div", { key: 'e0cdcee61686b35702c88e94b42c43890e0508ed', id: "map", part: "map", class: (store.state.currentTouristicContent || store.state.currentTouristicEvent || store.state.currentOutdoorSite || store.state.currentOutdoorCourse) && this.grwApp
|
|
3754
3746
|
? 'common-map'
|
|
3755
3747
|
: store.state.currentTrek && this.elevationControl && this.elevationControl.eleDiv.style.display === 'block'
|
|
3756
3748
|
? 'trek-map-and-elevation'
|
|
3757
3749
|
: store.state.currentTrek
|
|
3758
3750
|
? 'trek-map'
|
|
3759
|
-
: 'treks-map', ref: el => (this.mapRef = el) }, store.state.currentTrek && (index.h("div", { key: '
|
|
3751
|
+
: 'treks-map', ref: el => (this.mapRef = el) }, store.state.currentTrek && (index.h("div", { key: '82c7098582bf8358e60dd2c0359050550b253de6', class: "grw-elevation-visibility-button-container" }, index.h("grw-fab", { key: 'bf9b7649e57d5439d55bd4578c952f436352b8c3', exportparts: "fab-visibility-button,fab-visibility-button-icon,fab-visibility-button-label", "font-family": this.fontFamily, action: () => this.handleElevation(), icon: () => (this.elevationControl && this.elevationControl.eleDiv.style.display === 'block' ? 'show-elevation' : 'hide-elevation'), showTitle: i18n.translate[store.state.language].showElevation, hideTitle: i18n.translate[store.state.language].hideElevation, "fab-background-color": this.fabBackgroundColor, "fab-color": this.fabColor })))), !this.mapIsReady && (index.h("div", { key: '1d7d721c0bcd4db08adb65f7f5378e5ec1f9bd06', part: "map-loader-container", class: "map-loader-container" }, index.h("span", { key: 'a4f1d5295295b0159eeea294dfca08a96832feac', part: "loader", class: "loader" })))));
|
|
3760
3752
|
}
|
|
3761
3753
|
get mapElement() { return index.getElement(this); }
|
|
3762
3754
|
};
|
|
@@ -6675,11 +6667,16 @@ const GrwTrekDetail = class {
|
|
|
6675
6667
|
delete trekInStore.sensitiveAreas;
|
|
6676
6668
|
delete trekInStore.offline;
|
|
6677
6669
|
}
|
|
6670
|
+
getDepartureCityCode() {
|
|
6671
|
+
var _a;
|
|
6672
|
+
const departureCity = store.state.cities.find(currentCity => currentCity.id === store.state.currentTrek.departure_city);
|
|
6673
|
+
return (_a = departureCity.code) !== null && _a !== void 0 ? _a : departureCity.id;
|
|
6674
|
+
}
|
|
6678
6675
|
render() {
|
|
6679
6676
|
var _a, _b, _c, _d, _e;
|
|
6680
6677
|
const defaultImageSrc = index.getAssetPath(`${''}assets/default-image.svg`);
|
|
6681
6678
|
const displayPaginationAndNavigation = (this.currentTrek && this.currentTrek.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;
|
|
6682
|
-
return (index.h(index.Host, { key: '
|
|
6679
|
+
return (index.h(index.Host, { key: '64171f774811c6f517dfda187c4ade2e98dc327d', style: {
|
|
6683
6680
|
'--font-family': this.fontFamily,
|
|
6684
6681
|
'--color-primary-app': this.colorPrimaryApp,
|
|
6685
6682
|
'--color-on-surface': this.colorOnSurface,
|
|
@@ -6695,11 +6692,11 @@ const GrwTrekDetail = class {
|
|
|
6695
6692
|
: store.state.languages && store.state.languages.length > 1
|
|
6696
6693
|
? '164px'
|
|
6697
6694
|
: '124px',
|
|
6698
|
-
} }, this.currentTrek && (index.h("div", { key: '
|
|
6695
|
+
} }, this.currentTrek && (index.h("div", { key: 'a548677a345a2bd8c1948a8fe4b3421b43a1b3b7', part: "trek-options", class: "trek-options" }, index.h("a", { key: '189a5cc70ba0f2ccc17964937240a80d27437c9a', part: "trek-option", class: `presentation trek-option${this.indicatorSelectedTrekOption.ref === 'presentationOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.presentationOptionRef = el), onClick: () => this.handleScrollTo(this.presentationRef) }, i18n.translate[store.state.language].options.presentation), this.options.steps.visible && (index.h("a", { key: '3856284f4f58b29b9891a8203757dd5fb10357a0', part: "trek-option", class: `steps trek-option${this.options.steps.indicator ? ' selected-trek-option' : ''}`, ref: el => (this.stepsOptionRef = el), onClick: () => this.handleScrollTo(this.stepsRef) }, i18n.translate[store.state.language].options.steps)), this.options.description.visible && (index.h("a", { key: 'bbd13184a020b3fbe6dd3983aee19f487ade8444', part: "trek-option", class: `description trek-option${this.indicatorSelectedTrekOption.ref === 'descriptionOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.descriptionOptionRef = el), onClick: () => this.handleScrollTo(this.descriptionRef) }, i18n.translate[store.state.language].options.description)), this.options.pois.visible && (index.h("a", { key: '59d45d513864e7ea0e75bd7b47de131b351b6da6', part: "trek-option", class: `pois trek-option${this.indicatorSelectedTrekOption.ref === 'poisOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.poisOptionRef = el), onClick: () => this.handleScrollTo(this.poiRef) }, i18n.translate[store.state.language].options.pois)), this.options.recommendations.visible && (index.h("a", { key: '5b1fffb807b2e61c34e6489135dd5f6b3e7884f3', part: "trek-option", class: `recommendations trek-option${this.indicatorSelectedTrekOption.ref === 'recommendationsOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.recommendationsOptionRef = el), onClick: () => this.handleScrollTo(this.recommendationRef) }, i18n.translate[store.state.language].options.recommendations)), this.options.sensitiveArea.visible && (index.h("a", { key: '6abd5a0d353d4e8cf9178b3a34f4ea4b209b719e', part: "trek-option", class: `sensitive-areas trek-option${this.indicatorSelectedTrekOption.ref === 'sensitiveAreaOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.sensitiveAreaOptionRef = el), onClick: () => this.handleScrollTo(this.sensitiveAreaRef) }, i18n.translate[store.state.language].options.environmentalSensitiveAreas)), this.options.informationPlaces.visible && (index.h("a", { key: '26c5cc5534b00318c12b00af377db070f0de2815', part: "trek-option", class: `information-places trek-option${this.indicatorSelectedTrekOption.ref === 'informationPlacesOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.informationPlacesOptionRef = el), onClick: () => this.handleScrollTo(this.informationPlacesRef) }, i18n.translate[store.state.language].options.informationPlaces)), this.options.accessibility.visible && (index.h("a", { key: 'fe99d7655d931f9e02a09d5ea1c8404ce063f8b8', part: "trek-option", class: `accessibility trek-option${this.indicatorSelectedTrekOption.ref === 'accessibilityOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.accessibilityOptionRef = el), onClick: () => this.handleScrollTo(this.accessibilityRef) }, i18n.translate[store.state.language].options.accessibility)), this.options.touristicContents.visible && (index.h("a", { key: 'b78b060098d7073f0bf99f6e592806f47d49d4ea', part: "trek-option", class: `touristic-content trek-option${this.indicatorSelectedTrekOption.ref === 'touristicContentsOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.touristicContentsOptionRef = el), onClick: () => this.handleScrollTo(this.touristicContentsRef) }, i18n.translate[store.state.language].options.touristicContents)), this.options.touristicEvents.visible && (index.h("a", { key: '4cf45360c9db0593135c8b9eec1722faea48a08e', part: "trek-option", class: `touristic-event trek-option${this.indicatorSelectedTrekOption.ref === 'touristicEventsOptionRef' ? ' selected-trek-option' : ''}`, ref: el => (this.touristicEventsOptionRef = el), onClick: () => this.handleScrollTo(this.touristicEventsRef) }, i18n.translate[store.state.language].options.touristicEvents)), this.presentationOptionRef && (index.h("span", { key: '669da8ac92e154bbda5aa7e834eb574e01c3fb2c', part: "trek-indicator-selected-trek-option", class: "trek-indicator-selected-trek-option", style: {
|
|
6699
6696
|
transform: `translateX(${this.indicatorSelectedTrekOption.translateX})`,
|
|
6700
6697
|
width: this.indicatorSelectedTrekOption.width,
|
|
6701
6698
|
backgroundSize: this.indicatorSelectedTrekOption.backgroundSize,
|
|
6702
|
-
} })))), this.currentTrek && (index.h("div", { key: '
|
|
6699
|
+
} })))), this.currentTrek && (index.h("div", { key: '1e05596cd28124aacee8e22872e0440330de8135', part: "trek-detail-container", class: "trek-detail-container", ref: el => (this.trekDetailContainerRef = el) }, index.h("div", { key: 'ba504423416e84c3f7ed4d78257f61a02e3fdbaf', part: "trek-images", class: "trek-images-container", ref: el => (this.presentationRef = el) }, index.h("div", { key: 'df6e828e2125d9e53e04dfb64c19a01cfd5af600', part: "swiper-images", class: "swiper swiper-images", ref: el => (this.swiperImagesRef = el) }, index.h("div", { key: '0d940c001ea90767dfd2596d36b4f6a6c2694bfa', part: "swiper-wrapper", class: "swiper-wrapper" }, this.currentTrek.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (this.currentTrek.attachments
|
|
6703
6700
|
.filter(attachment => attachment.type === 'image')
|
|
6704
6701
|
.map(attachment => {
|
|
6705
6702
|
const legend = [attachment.legend, attachment.author].filter(Boolean).join(' - ');
|
|
@@ -6710,16 +6707,16 @@ const GrwTrekDetail = class {
|
|
|
6710
6707
|
event.target.className = 'trek-img default-trek-img';
|
|
6711
6708
|
event.target.src = defaultImageSrc;
|
|
6712
6709
|
}, alt: attachment.legend })));
|
|
6713
|
-
})) : (index.h("img", { part: "trek-img", class: "trek-img default-trek-img", src: defaultImageSrc, loading: "lazy", alt: "" }))), index.h("div", { key: '
|
|
6710
|
+
})) : (index.h("img", { part: "trek-img", class: "trek-img default-trek-img", src: defaultImageSrc, loading: "lazy", alt: "" }))), index.h("div", { key: '6ce0586904c93e929b17d469cace7c76d27ed620', style: { display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-pagination", class: "swiper-pagination", ref: el => (this.paginationElImagesRef = el) }), index.h("div", { key: '9741e27b6ada4bde2362434e5badd86c5a17440d', style: { display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-button-prev", class: "swiper-button-prev", ref: el => (this.prevElImagesRef = el) }), index.h("div", { key: '0f55ed995d2754b2088163143533d2e5c183fa9d', style: { display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-button-next", class: "swiper-button-next", ref: el => (this.nextElImagesRef = el) }))), index.h("div", { key: 'b9df78fcf64eaea35ae9dcc92f2c58a88e89d437', part: "trek-name", class: "trek-name" }, this.currentTrek.name), this.themes.length > 0 && (index.h("div", { key: 'c90eb34ad0d2cf11f0d580c65317176a148de3bb', part: "themes-container", class: "themes-container" }, this.themes.map(theme => (index.h("div", { part: "theme", class: "theme" }, theme.label))))), index.h("div", { key: '3d2a2f0eb6192ca7b5ceda65831e53ff1b620e4c', part: "sub-container", class: "sub-container" }, index.h("div", { key: '4db0c5e1c52eebfb25f97c2ac0f58acd91b55622', part: "icons-labels-container", class: "icons-labels-container" }, this.difficulty && (index.h("div", { key: '86535fb89403498663db6e3904b0f210713406e2', part: "icon-label", class: "icon-label difficulty" }, this.difficulty.pictogram && index.h("img", { key: 'd82c7b573671e1c13921f41e62749e6d00b4722c', part: "icon", class: "icon", src: this.difficulty.pictogram, alt: "" }), index.h("span", { key: 'e706eb4096f4f1c49d660b28470978effbe1ac2c', part: "label", class: "label" }, this.difficulty.label))), index.h("div", { key: '24a39ca603b365d9ffb7920d5556abe1ff8dd5a6', part: "icon-label", class: "icon-label duration" }, index.h("span", { key: '6f7407c097cda2ce3471db925a2897f50fea2a4f', part: "icon", class: "icon", innerHTML: moving.TimelapseIcon }), index.h("span", { key: '3bcc557bdd953553e2fcb661256697d6642e28ef', part: "label", class: "label" }, utils.formatDuration((_a = this.currentTrek) === null || _a === void 0 ? void 0 : _a.duration))), index.h("div", { key: '26f57db9874bfa4e8e98c2aee91be9c1e7d1d006', part: "icon-label", class: "icon-label route" }, ((_b = this.route) === null || _b === void 0 ? void 0 : _b.pictogram) && index.h("img", { key: 'bc912af446afe0e441b954f116c42e0fb2fc4fae', part: "icon", class: "icon", src: this.route.pictogram, alt: "" }), index.h("span", { key: 'c7126c1419483b1bf14ddc9c56862fafb2a98d3e', part: "label", class: "label" }, (_c = this.route) === null || _c === void 0 ? void 0 : _c.route)), index.h("div", { key: 'bc66ebcc476e6071d0840f6b769e37a74757eef3', part: "icon-label", class: "icon-label length" }, index.h("span", { key: '3b8f7114ebbb2421d1caf3fae62d9ab9ffac30b5', part: "icon", class: "icon", innerHTML: moving.OpenInFullIcon }), index.h("span", { key: '528b01af3f19af173ae0245d7970eb7c8d3914a6', part: "label", class: "label" }, utils.formatLength(this.currentTrek.length_2d))), this.currentTrek.ascent && (index.h("div", { key: '83bb2a6127d63d5693c8a372329cc4afb513ec58', part: "icon-label", class: "icon-label ascent" }, index.h("span", { key: '160a977ab4476b19d427efa42c6e8cbd9f0aa5c2', part: "icon", class: "icon", innerHTML: moving.MovingIcon }), index.h("span", { key: 'aae24c4ea075f4092f222cdcc9eb41a1e568a67f', part: "label", class: "label" }, utils.formatAscent(this.currentTrek.ascent)))), this.currentTrek.descent && (index.h("div", { key: 'f6ee0c767f7c65204886801ff663a018ebd4a7bc', part: "icon-label", class: "icon-label descent" }, index.h("span", { key: '2e14f4114cb05221414a1d59a26b7ca1981333fa', part: "icon", class: "icon", innerHTML: moving.MovingIcon }), index.h("span", { key: '3ad8ca80de5b9ca148e7c0cbb58d86f65cc36f20', part: "label", class: "label" }, utils.formatDescent(this.currentTrek.descent)))), index.h("div", { key: 'f07ff69e07bc6cef0d30134eb78aca7112c7319e', part: "icon-label", class: "icon-label practice" }, ((_d = this.practice) === null || _d === void 0 ? void 0 : _d.pictogram) && index.h("img", { key: '4d1f7abc5395624de7f1b5b249d1480faa15b671', part: "icon", class: "icon", src: this.practice.pictogram, alt: "" }), index.h("span", { key: '17c44692bd59a980071e3b5fce50283c1d1dba6b', part: "label", class: "label" }, (_e = this.practice) === null || _e === void 0 ? void 0 : _e.name)), index.h("div", { key: 'b53d2e87a7c39394cffa202fe1114ea5e7f00656', part: "icon-label", class: "icon-label networks" }, this.currentTrek.networks.map(networkId => {
|
|
6714
6711
|
const currentNetwork = store.state.networks.find(network => network.id === networkId);
|
|
6715
6712
|
return (index.h("div", { part: "network", class: "network" }, index.h("img", { part: "icon", class: "icon", src: currentNetwork.pictogram, alt: "" }), index.h("span", { part: "label", class: "label" }, currentNetwork.label)));
|
|
6716
|
-
})), this.currentTrek.ratings.map(trekRating => (index.h("div", { part: "row", class: "row" }, `${store.state.ratingsScale.find(ratingScale => ratingScale.id === store.state.ratings.find(rating => rating.id === trekRating).scale).name} : ${store.state.ratings.find(rating => rating.id === trekRating).name}`))), this.currentTrek.ratings_description && this.currentTrek.ratings_description !== '' && (index.h("div", { key: '
|
|
6713
|
+
})), this.currentTrek.ratings.map(trekRating => (index.h("div", { part: "row", class: "row" }, `${store.state.ratingsScale.find(ratingScale => ratingScale.id === store.state.ratings.find(rating => rating.id === trekRating).scale).name} : ${store.state.ratings.find(rating => rating.id === trekRating).name}`))), this.currentTrek.ratings_description && this.currentTrek.ratings_description !== '' && (index.h("div", { key: '8ba779042ac51545eb88d4f78aac578443c7d217', part: "row", class: "row", innerHTML: this.currentTrek.ratings_description })))), index.h("div", { key: '2e694add34197204fe3a0a74015d80aa574372da', part: "divider", class: "divider" }), index.h("div", { key: 'b854ad1ad31573b80557d8c2b781648fcb4814d7', part: "downloads-container", class: "downloads-container" }, index.h("div", { key: '20d88534f47c02e3264265e79a9636fe8a4786da', part: "download-title", class: "download-title" }, i18n.translate[store.state.language].downloads), this.enableOffline && !this.offline && (!this.currentTrek.parents || this.currentTrek.parents.length === 0) && (index.h("button", { key: 'f18f5f307b01d0f073e64f9f88c82d5c069ead2a', part: "offline-button", class: "offline-button", onClick: () => this.displayDownloadModal() }, index.h("span", { key: '1fb4bea2e0f3b87fec3ca5a44d3c9ae4d4525153', part: "icon", class: "icon", innerHTML: DownloadForOfflineIcon }), index.h("span", { key: '4f21e0d063c8e308b52f6a25053c8014a7d49488', part: "label", class: "label" }, i18n.translate[store.state.language].offline.downloadOffline))), this.enableOffline && this.offline && (!this.currentTrek.parents || this.currentTrek.parents.length === 0) && (index.h("button", { key: '49294517a1edef52d8ddefb2663d857725c3cb4e', part: "offline-button", class: "offline-button", onClick: () => this.displayDeleteModal() }, index.h("span", { key: '326cd5d252c4b57499e41bd3a6c9a148728a1d9f', part: "icon", class: "icon", innerHTML: DeleteIcon }), index.h("span", { key: '403ac55e18d7061ff4a586d4cfdb82a4aef21b87', part: "label", class: "label" }, i18n.translate[store.state.language].offline.deleteOffline))), index.h("div", { key: '71e4a76d2db3d65740e213292a6d82828a27849e', part: "links-container", class: "links-container" }, index.h("a", { key: 'e01b9ee13138838e15bd353a008c0a00ac6cdfc1', part: "download-gpx-button", href: `${this.currentTrek.gpx}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { key: 'f1b3161aa80ca5fea89d2eeb91ed7d57d52961ac', part: "icon", class: " icon", innerHTML: call.DownloadIcon }), index.h("span", { key: '96d283c108d40dda3344a343c9defe81388d43a6', part: "label", class: "label" }, "GPX")), index.h("a", { key: '2603c64e28bd792ca95452dd428e6056c4b660ed', part: "download-kml-button", href: `${this.currentTrek.kml}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { key: 'f470ccb56a2ebf377645f6cc782a28b69db3c237', part: "icon", class: "icon", innerHTML: call.DownloadIcon }), index.h("span", { key: '4ee6595b053ac6cb0ba667b6ec6db324b7dc4cb2', part: "label", class: "label" }, "KML")), index.h("a", { key: '4028ed31f831b34ec562ff80b6580322a1cb91a3', part: "download-pdf-button", href: `${this.currentTrek.pdf}${store.state.portalsFromProviders && store.state.portalsFromProviders.length === 1 ? '?portal=' + store.state.portalsFromProviders[0] : ''}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { key: 'd0f4fc37ddddbed9100139299b52aced36e44aef', part: "icon", class: "icon", innerHTML: call.DownloadIcon }), index.h("span", { key: '3e80cb4f551a02c6e4acd3c0bb3d8d927d802711', part: "label", class: "label" }, "PDF")))), index.h("div", { key: '8336ed9e370674830ac6ab033d5e8f8f599d3ecb', part: "divider", class: "divider" }), this.currentTrek.description_teaser && index.h("div", { key: '25947a4e69c5b6cc670e0a413ebe41aaf4a1764b', part: "description-teaser", class: "description-teaser", innerHTML: this.currentTrek.description_teaser }), this.currentTrek.ambiance && index.h("div", { key: '8237eb42811850976c5765579c179fd0bdd0c0cb', part: "ambiance", class: "ambiance", innerHTML: this.currentTrek.ambiance }), store.state.parentTrekId && store.state.parentTrek && this.currentTrek.id !== store.state.parentTrekId && (index.h("div", { key: '2d6da2aff02d1152f5df5dc27c130ee019a728ad' }, index.h("div", { key: '678eeb1dc6b1288ed64ba0a24db3145b4aba9ed9', part: "divider", class: "divider" }), index.h("div", { key: 'c289d0e84c11e900bc3675e54a24e1bfce922b72', part: "parent-trek-container", class: "parent-trek-container" }, index.h("button", { key: '53db2c2ce2a243a9f69024256d6375f8e6a5b026', part: "parent-trek-title", class: "parent-trek-title", onClick: () => this.parentTrekPress.emit(store.state.parentTrekId) }, index.h("div", { key: '73051fb57b06a3d810de89579e10f2b97b53e811' }, "<"), store.state.parentTrek.name)))), store.state.currentTrekSteps && (index.h("div", { key: 'd802c6df1a81a31012601fe983900646e4ee31f9', part: "step-container", class: "step-container" }, index.h("div", { key: '213141afc5f5f5564582213cda47d38681028694', part: "step-title", class: "step-title", ref: el => (this.stepsRef = el) }, `${store.state.currentTrekSteps.length} ${i18n.translate[store.state.language].steps}`), index.h("div", { key: '2ecc1418f6d93e914ff7407cb61554244eb1122a', part: "swiper-step", class: "swiper swiper-step", ref: el => (this.swiperStepRef = el) }, index.h("div", { key: '8677cbff72fe13840a0602320db43b753bcd3e32', part: "swiper-wrapper", class: "swiper-wrapper" }, store.state.currentTrekSteps &&
|
|
6717
6714
|
store.state.currentTrekSteps.map(trek => {
|
|
6718
6715
|
return (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-trek-card", { exportparts: "trek-card,trek-img-container,trek-img,trek-sub-container,trek-departure,trek-name,trek-themes-container,trek-theme,trek-icons-labels-container,trek-icon-label,trek-icon,trek-label", key: `trek-${trek.id}`, trek: trek, "is-large-view": false, "is-step": true, fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "grw-app": this.grwApp })));
|
|
6719
|
-
})), index.h("div", { key: '
|
|
6720
|
-
store.state.currentInformationDesks.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id)).length > 0 && (index.h("div", { key: '
|
|
6716
|
+
})), index.h("div", { key: 'ed229480f672075e6b45fd7b62ec66450a8e95a5', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.stepSwiperScrollbar = el) })))), index.h("div", { key: 'b0ff4e89eb899962a8984a31e3111912d2af1c30', part: "divider", class: "divider" }), this.currentTrek.description && (index.h("div", { key: '42bbf236026dca099b11e931b59ffbfbb6a843d7', part: "description-container", class: "description-container" }, index.h("div", { key: '8a12f83a4d1f4b96140b5429f981cad389416bb6', part: "description-title", class: "description-title", ref: el => (this.descriptionRef = el) }, i18n.translate[store.state.language].description), index.h("div", { key: '0bd3acbf362dcd382dc06e1952b497c249baa01e', part: "description", class: "description", innerHTML: this.currentTrek.description }))), this.currentTrek.departure && (index.h("div", { key: '09667b2e67d4fee307f454f3542317f8e0b23183', part: "departure-container", class: "departure-container" }, index.h("div", { key: '99b7898bafd1ee92297036a1b2ae0992c6c0fed5', part: "departure-title", class: "departure-title" }, i18n.translate[store.state.language].departure, " :\u00A0"), index.h("div", { key: '35af3698ff9582c31ae9554640a09424e5c356ce', part: "departure", innerHTML: this.currentTrek.departure }))), this.currentTrek.arrival && (index.h("div", { key: 'd48983ae178ae72d5dc78e48f252e2cae6a8edb2', part: "arrival-container", class: "arrival-container" }, index.h("div", { key: '8056cc5fc7f72384fb819c5c32399014aede624a', part: "arrival-title", class: "arrival-title" }, i18n.translate[store.state.language].arrival, " :\u00A0"), index.h("div", { key: 'd495453c91947421334e96cdf7bf3916058bcce5', part: "arrival", innerHTML: this.currentTrek.arrival }))), this.currentTrek.cities && this.currentTrek.cities.length > 0 && (index.h("div", { key: '649b9f8a4da4cec7e4b2b3a2c5970eda42c77864', part: "cities-container", class: "cities-container" }, index.h("div", { key: '83c317ab625863769d0929f413e6beda5dc733b7', part: "cities-title", class: "cities-title" }, i18n.translate[store.state.language].crossedCities, " :\u00A0"), index.h("div", { key: '4993589280a286aceed4b81773075399fef41cdd', part: "cities", innerHTML: this.cities.join(', ') }))), store.state.currentPois && store.state.currentPois.length > 0 && (index.h("div", { key: '89a5ceb617520c046aed5768fd58ae8b0e314728', part: "divider-and-pois-container", class: "divider-and-pois-container" }, index.h("div", { key: '0e9f58ca88421a3061ae2d826908d06db08a567c', part: "divider", class: "divider" }), index.h("div", { key: '6a3c123c6ae6fbaeda8cd33580eb76cd1ed7c6f7', part: "pois-container", class: "pois-container" }, index.h("div", { key: 'ac122ff3d8b328b5ca68277a3d64a3560747320b', part: "pois-title", class: "pois-title", ref: el => (this.poiRef = el) }, i18n.translate[store.state.language].pois(store.state.currentPois.length)), index.h("div", { key: '795718a23d2b959e58a1d095d2e7d3b09f571c6d', part: "swiper-pois", class: "swiper swiper-pois", ref: el => (this.swiperPoisRef = el) }, index.h("div", { key: '143354c95579bb780125ab0afaa2f48944fe07e9', part: "swiper-wrapper", class: "swiper-wrapper" }, store.state.currentPois.map(poi => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-poi", { exportparts: "poi-type-img-container,poi-type,swiper-poi,swiper-wrapper,swiper-slide,poi-img,default-poi-img,swiper-pagination,swiper-button-prev,swiper-button-next,poi-sub-container,poi-name,poi-description,handle-poi-description", poi: poi, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), index.h("div", { key: '7c803c88573456f57ee6bd573bf62f8370d34258', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.poisSwiperScrollbar = el) }))))), this.weather && this.currentTrek.departure_city && !this.offline && (index.h("div", { key: '48d2f6dddde225bf4738937b1ec6e3384b48cd60', part: "divider-and-weather-container", class: "divider-and-weather-container" }, index.h("div", { key: '1c1f45046381767f151173c437344cec2032a2f0', part: "divider", class: "divider" }), index.h("div", { key: '9ff7aaacafa036678c5bd635a6bffbf12b24236c', part: "weather-container", class: "weather-container" }, index.h("iframe", { key: '4b39305270e8100ae25ec8712ce4df68eedee3cc', height: "150", frameborder: "0", src: `https://meteofrance.com/widget/prevision/${this.getDepartureCityCode()}0#${this.colorPrimaryApp}` })))), this.currentTrek.access && (index.h("div", { key: '485f5177f92cbd7dfcaa5d03220e9d5e4c728490', part: "divider-and-access-container", class: "divider-and-access-container" }, index.h("div", { key: 'c9a87d55121e2b595b8ee3a60cc19b2a4d18d9c5', part: "divider", class: "divider" }), index.h("div", { key: '53f2079f391c39accf12fcb979c6a316e18438e9', part: "access-container", class: "access-container" }, index.h("div", { key: '24b31afdf2e07c6a37ce4a2fc0fea20c7cc9ff8b', part: "access-title", class: "access-title" }, i18n.translate[store.state.language].roadAccessAndParking), index.h("div", { key: 'bbfd8d73692e0f5de2d162129389ccfa232d481f', part: "access", class: "access", innerHTML: this.currentTrek.access }), this.currentTrek.advised_parking && (index.h("div", { key: '9799ac93b8fdbf85a2042e2ce170359416e84d24' }, index.h("div", { key: '34597bb45c50918d63bbbc24168066dfbaa81e7d', part: "advised-parking-title", class: "advised-parking-title", ref: el => (this.parkingRef = el) }, i18n.translate[store.state.language].recommendedParking), index.h("div", { key: '0fce2e95d22fdc2470c54d5948e33ff46e16c346', part: "advised-parking", class: "advised-parking", innerHTML: this.currentTrek.advised_parking })))))), this.currentTrek.public_transport && (index.h("div", { key: '50166f9774e294418dabb9f8401a5fc978458be6', part: "divider-and-public-transport-container", class: "divider-and-public-transport-container" }, index.h("div", { key: 'b8deeb5d68e5d26a944e5e71533e77d886215126', part: "divider", class: "divider" }), index.h("div", { key: '2413c653cf90f43f8c0b195d8f8588f79f1abac4', part: "public-transport-container", class: "public-transport-container" }, index.h("div", { key: 'edda0d010f68380dcf6d9aeb33a95fa44211e1f1', part: "public-transport-title", class: "public-transport-title" }, i18n.translate[store.state.language].transport), index.h("div", { key: '3e0f5496573968a10e0c1fb8323ec82d24638434', part: "public-transport", class: "public-transport", innerHTML: this.currentTrek.public_transport })))), (this.currentTrek.advice || this.currentTrek.gear || this.labels.length > 0) && (index.h("div", { key: 'ca784b84f5bcf47606c3db29af01f13efc5ca290', part: "divider-and-advice-container", class: "divider-and-advice-container" }, index.h("div", { key: '1c476043573c92439220c214245148cd5c4c8e1b', part: "divider", class: "divider" }), index.h("div", { key: '331cf1fd3bf8484a6eb8b64c3c66bde39ae6515e', part: "advice-container", class: "advice-container" }, index.h("div", { key: 'fefd9d81f60144178e702a4c318ea644c5adc049', part: "advice-title", class: "advice-title", ref: el => (this.recommendationRef = el) }, i18n.translate[store.state.language].recommendations), this.currentTrek.advice && (index.h("div", { key: '5a2dec7be0e6f61a1c4513860fc695613e218647', part: "current-advice-container", class: "current-advice-container" }, index.h("span", { key: '7666b66fa8eff3816b1547d4334591a91c7ac4cc', part: "icon", class: "icon", innerHTML: WarningIcon }), index.h("div", { key: 'ff217d00ed21f83cb31fc118ad89b9bed6da3b8b', part: "advice", class: "advice", innerHTML: this.currentTrek.advice }))), this.currentTrek.gear && (index.h("div", { key: '281f148701da9c4853acff2f455e503058531f2d', part: "gear-container", class: "gear-container" }, index.h("span", { key: 'e539f398cad42eb4ac7e62239e9977c7008bd858', part: "icon", class: "icon", innerHTML: BackpackIcon }), index.h("div", { key: '941802260c4fb5c569cedf01c2042152275b3d08', part: "gear", class: "gear", innerHTML: this.currentTrek.gear }))), this.labels.map(label => (index.h("div", { part: "label-container", class: "label-container" }, index.h("div", { part: "label-sub-container", class: "label-sub-container" }, label.pictogram && index.h("img", { src: label.pictogram, alt: "" }), index.h("div", { part: "label-name", class: "label-name", innerHTML: label.name })), index.h("div", { part: "label-advice", class: "label-advice", innerHTML: label.advice }))))))), store.state.currentSensitiveAreas && store.state.currentSensitiveAreas.length > 0 && (index.h("div", { key: 'abe167c5c79333087359cb5dd41238d9bc56fc34', part: "divider-and-sensitive-areas-container", class: "divider-and-sensitive-areas-container" }, index.h("div", { key: 'e540941c6f52ef66ad05c64c04a5ed3937cd3626', part: "divider", class: "divider" }), index.h("div", { key: '697403fdcb791eedb8978e926060f1afcf098e22', part: "sensitive-areas-container", class: "sensitive-areas-container" }, index.h("div", { key: 'fdd6cbd274da0b602959479781ec051d6d6088d3', part: "ensitive-areas-title", class: "sensitive-areas-title", ref: el => (this.sensitiveAreaRef = el) }, i18n.translate[store.state.language].environmentalSensitiveAreas), index.h("div", { key: '19157c6dcb4265642d1e9a90067634fb81d38eb7', part: "sensitive-areas-description", class: "sensitive-areas-description" }, i18n.translate[store.state.language].sensitiveAreasDescription), store.state.currentSensitiveAreas.map(sensitiveArea => (index.h("grw-sensitive-area-detail", { exportparts: "sensitive-area-title-container,sensitive-area-color-container,sensitive-area-title,sensitive-area-description,sensitive-area-practice-container,sensitive-area-practice-title,sensitive-area-practices,sensitive-area-practice,sensitive-area-period-container,sensitive-area-period-title,sensitive-area-periods,sensitive-area-period,sensitive-area-contact-container,sensitive-area-contact-title,sensitive-area-contact-value", sensitiveArea: sensitiveArea })))))), store.state.currentInformationDesks &&
|
|
6717
|
+
store.state.currentInformationDesks.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id)).length > 0 && (index.h("div", { key: 'd63a2fc49383abfbc504fe399ab3efebfac5b36f', part: "divider-and-information-desks-container", class: "divider-and-information-desks-container" }, index.h("div", { key: '631a03dfc13a01ca6fd37f9d71b8aa4666ba87a2', part: "divider", class: "divider" }), index.h("div", { key: '96906210f7f92481f8bdc560b044d60672844912', part: "information-desks-container", class: "information-desks-container" }, index.h("div", { key: '152d496b0445cba586cf419349a353ea9ae00f39', part: "information-desks-title", class: "information-desks-title", ref: el => (this.informationPlacesRef = el) }, i18n.translate[store.state.language].informationPlaces), index.h("div", { key: '874fe31576d049aed95107e6c43dbf5a1f366220', part: "swiper-information-desks", class: "swiper swiper-information-desks", ref: el => (this.swiperInformationDesksRef = el) }, index.h("div", { key: 'abd6d5e11080e00f45890661c08c327847abef71', part: "swiper-wrapper", class: "swiper-wrapper" }, store.state.currentInformationDesks
|
|
6721
6718
|
.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id))
|
|
6722
|
-
.map(informationDesk => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-information-desk", { exportparts: "information-desk-img-container,information-desk-img,information-desk-sub-container,information-desk-name,center-on-map-button,icon,label,information-desk-informations,phone-container,mail-container,link-container,information-desk-description-container,information-desk-description,handle-information-desk-description", informationDesk: informationDesk, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), index.h("div", { key: '
|
|
6719
|
+
.map(informationDesk => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-information-desk", { exportparts: "information-desk-img-container,information-desk-img,information-desk-sub-container,information-desk-name,center-on-map-button,icon,label,information-desk-informations,phone-container,mail-container,link-container,information-desk-description-container,information-desk-description,handle-information-desk-description", informationDesk: informationDesk, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), index.h("div", { key: '85acc427ced541880fc66d0f6feb645cf10fea09', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.informationDesksContentsSwiperScrollbar = el) }))))), (this.currentTrek.disabled_infrastructure ||
|
|
6723
6720
|
(this.accessibilities && this.accessibilities.length > 0) ||
|
|
6724
6721
|
this.currentTrek.accessibility_level ||
|
|
6725
6722
|
this.currentTrek.accessibility_slope ||
|
|
@@ -6728,7 +6725,7 @@ const GrwTrekDetail = class {
|
|
|
6728
6725
|
this.currentTrek.accessibility_covering ||
|
|
6729
6726
|
this.currentTrek.accessibility_exposure ||
|
|
6730
6727
|
this.currentTrek.accessibility_advice ||
|
|
6731
|
-
this.emergencyNumber) && (index.h("div", { key: 'd8628a8598d9d424a412c32f2f230600f94b1795' }, index.h("div", { key: 'f897604e0a3aa22c8a3b50fe2844f58494895557', part: "divider", class: "divider" }), index.h("div", { key: 'cba7432b967f73ad8a0493c8bc2db95aaf4c7017', part: "accessibilities-container", class: "accessibilities-container" }, index.h("div", { key: '7c553ba444ca47d6503ff3b36f65e583bfd199a1', part: "accessibilities-title", class: "accessibilities-title", ref: el => (this.accessibilityRef = el) }, i18n.translate[store.state.language].accessibility), this.currentTrek.disabled_infrastructure && index.h("div", { key: 'd5df1e2971db5b2a2d6ddb5eb39607992a9afaf6', part: "disabled-infrastructure", innerHTML: this.currentTrek.disabled_infrastructure }), this.accessibilities && this.accessibilities.length > 0 && (index.h("div", { key: '74819355bc3d7998d8a959e5b998e9f08692f41e', part: "accessibilities-content-container", class: "accessibilities-content-container" }, this.accessibilities.map(accessibility => (index.h("div", { part: "accessibility-content-container", class: "accessibility-content-container" }, index.h("img", { src: accessibility.pictogram, alt: "" }), index.h("div", { part: "accessibility-name", innerHTML: accessibility.name })))))), this.emergencyNumber && (index.h("div", { key: 'e75c55e7138ea3c7d25d6c6141618203d8334109', part: "accessibility-emergency-number-container", class: "accessibility-emergency-number-container" }, index.h("div", { key: '418758b7b0a51b6a9feac99a1ccfa7fd257dc030', part: "accessibility-emergency-number-title", class: "accessibility-emergency-number-title" }, i18n.translate[store.state.language].emergencyNumber), index.h("div", { key: '75a3f0e3c2676bf9c18db78aec3f16b355c19f7b', part: "accessibility-emergency-number-content", class: "accessibility-emergency-number-content" }, index.h("a", { key: '1d4db54aa44754a8e56eaa28e1beaf67ec79a175', href: `tel:${this.emergencyNumber.toString()}` }, index.h("span", { key: '022bac8cfc6cfec5a6b9444fa3ff52b434158087', part: "icon", class: "icon", innerHTML: call.CallIcon }), index.h("span", { key: '943a5d286788ba20f5f7817f1b4304a3165c8a26', part: "emergency-number", class: "emergency-number" }, this.emergencyNumber.toString()))))), this.currentTrek.accessibility_level && (index.h("div", { key: '29de6dddeb76dfc3b50a98685e29d9ad09ff7be8', part: "accessibility-level-container", class: "accessibility-level-container" }, index.h("div", { key: '976130236a8361cfa5bcd8c0e8bc2c4fab794d25', part: "accessibility-level-title", class: "accessibility-level-title" }, i18n.translate[store.state.language].accessibilityLevel), index.h("div", { key: '70759f27d6e8617291a98afed9fcda9aebcf7028', part: "accessibility-level-name", innerHTML: this.accessibilityLevel.name }))), this.currentTrek.accessibility_slope && (index.h("div", { key: 'c996c359f461f6224b75757946e9c23f9b2280a5', part: "accessibility-slope-container", class: "accessibility-slope-container" }, index.h("div", { key: 'babce6ace86ec78cc23740d2db0898edcbcf45bb', part: "accessibility-slope-title", class: "accessibility-slope-title" }, i18n.translate[store.state.language].accessibilitySlope), index.h("div", { key: '311a8505e4e3630dcc383eb43323f862475ebd25', part: "accessibility-slope", innerHTML: this.currentTrek.accessibility_slope }))), this.currentTrek.accessibility_width && (index.h("div", { key: '1aabd859b714e7cb7655861495748026681ad6a5', part: "accessibility-width-container", class: "accessibility-width-container" }, index.h("div", { key: '9f016368ce02a21a3d1f5b129ca3c097d77fcd11', part: "accessibility-width-title", class: "accessibility-width-title" }, i18n.translate[store.state.language].accessibilityWidth), index.h("div", { key: '969d1c02474e91c6b8984bed4ea367340d14bdf5', part: "accessibility-width", innerHTML: this.currentTrek.accessibility_width }))), this.currentTrek.accessibility_signage && (index.h("div", { key: '070827d789bf167f7c4e2abd17f9b71a20fe49a1', part: "accessibility-signage-container", class: "accessibility-signage-container" }, index.h("div", { key: '7a46cc13d5ffe97a8723acfad74c682a2c4348b8', part: "accessibility-signage-title", class: "accessibility-signage-title" }, i18n.translate[store.state.language].accessibilitySignage), index.h("div", { key: 'b5e133c4f9b2e55f73497271e5ec3354331cc8a6', part: "accessibility-signage", innerHTML: this.currentTrek.accessibility_signage }))), this.currentTrek.accessibility_covering && (index.h("div", { key: '18b94c150e638cb054c49acaa48ad1b343bfed7c', part: "accessibility-covering-container", class: "accessibility-covering-container" }, index.h("div", { key: '4d7fb47e3b2160527455988c97d775a1019aff93', part: "accessibility-covering-title", class: "accessibility-covering-title" }, i18n.translate[store.state.language].accessibilityCovering), index.h("div", { key: 'cf3164aa3f83ddc351288e40727e95ce50fbf579', part: "accessibility-covering", innerHTML: this.currentTrek.accessibility_covering }))), this.currentTrek.accessibility_exposure && (index.h("div", { key: '949fec54d542262a7d7961e77fceab7e1d2f7152', part: "accessibility-exposure-container", class: "accessibility-exposure-container" }, index.h("div", { key: '0aea1bdfc38a33c70f0f0f4206a7fa3407e9c361', part: "accessibility-exposure-title", class: "accessibility-exposure-title" }, i18n.translate[store.state.language].accessibilityExposure), index.h("div", { key: 'a15ee3a41242b7f16e03ab6231bb59a90ae1dc8b', part: "accessibility-exposure", innerHTML: this.currentTrek.accessibility_exposure }))), this.currentTrek.accessibility_advice && (index.h("div", { key: '98eae0c17a7fc55500324461aabcc835b8e37e9d', part: "accessibility-advice-container", class: "accessibility-advice-container" }, index.h("div", { key: '1e001059de4bcbc9ba0a898692ea4c90636fb9e4', part: "accessibility-advice-title", class: "accessibility-advice-title" }, i18n.translate[store.state.language].accessibilityAdvices), index.h("div", { key: '000f065f45be8a7a47d0edb1a64288c7d1c3298e', part: "accessibility-advice", innerHTML: this.currentTrek.accessibility_advice })))))), store.state.trekTouristicContents && store.state.trekTouristicContents.length > 0 && (index.h("div", { key: 'ef6742ef0b89a8639047532484c8fc69544f8bef' }, index.h("div", { key: '178234118359bfe8a05640edf7857bd66630a8a9', part: "divider", class: "divider" }), index.h("div", { key: 'db21d1880aaa5d0e11862602cc8b02f376ff625e', part: "touristic-content-container", class: "touristic-content-container" }, index.h("div", { key: 'c6e837bceb8d40664fcb0eefb7180c97358e695f', part: "touristic-content-title", class: "touristic-content-title", ref: el => (this.touristicContentsRef = el) }, i18n.translate[store.state.language].touristicContents(store.state.trekTouristicContents.length)), index.h("div", { key: '1644f3076085379d5f9407f43ce7059a8501c891', part: "swiper-touristic-content", class: "swiper swiper-touristic-content", ref: el => (this.swiperTouristicContentsRef = el) }, index.h("div", { key: '22e04a3464b28b6f0e4c321150c79a64a949d3a7', part: "swiper-wrapper", class: "swiper-wrapper" }, store.state.trekTouristicContents.map(touristicContent => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-touristic-content-card", { exportparts: "touristic-content-card,touristic-content-img-container,swiper-touristic-content,swiper-wrapper,swiper-slide,touristic-content-img,default-touristic-content-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-content-sub-container,touristic-content-category-container,touristic-content-category-img,touristic-content-category-name,touristic-content-name,touristic-content-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicContent: touristicContent, isInsideHorizontalList: true, "color-surface-container-low": this.colorSurfaceContainerLow }))))), index.h("div", { key: 'dc1f7f965afe9c8cb712d8b888db5bf28989f49f', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicContentsSwiperScrollbar = el) }))))), store.state.trekTouristicEvents && store.state.trekTouristicEvents.length > 0 && (index.h("div", { key: '762a3101299ac6022b731cadaece2b660a810d80' }, index.h("div", { key: 'a1b952ae449af9739ff446c871e38d1c17682ab5', part: "divider", class: "divider" }), index.h("div", { key: 'e36b3e5376246d6b46c6c06d6c35262d701e809b', part: "touristic-event-container", class: "touristic-event-container" }, index.h("div", { key: '9766cd8bd5c7f65cd5ab047a4e4050f95a4809d2', part: "touristic-event-title", class: "touristic-event-title", ref: el => (this.touristicEventsRef = el) }, i18n.translate[store.state.language].touristicEvents(store.state.trekTouristicEvents.length)), index.h("div", { key: '5f36f398cbb8d189de8e9dbabf8de5060b65b1a3', part: "swiper-touristic-event", class: "swiper swiper-touristic-event", ref: el => (this.swiperTouristicEventsRef = el) }, index.h("div", { key: '1572baafdf6dd370a74e853c01c296b470ec8d9c', part: "swiper-wrapper", class: "swiper-wrapper" }, store.state.trekTouristicEvents.map(touristicEvent => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-touristic-event-card", { exportparts: "touristic-event-card,touristic-event-img-container,swiper-touristic-event,swiper-wrapper,swiper-slide,touristic-event-img,default-touristic-event-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-event-sub-container,touristic-event-sub-container,touristic-event-type-img,touristic-event-type-name,touristic-event-name,touristic-event-date-container,touristic-event-date,touristic-event-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicEvent: touristicEvent, isInsideHorizontalList: true, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), index.h("div", { key: '5ebdd37e537a063e631fb6f86ac143ccaa6d0485', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicEventsSwiperScrollbar = el) }))))), this.currentTrek.web_links && this.currentTrek.web_links.length > 0 && (index.h("div", { key: 'f3caa944cc52abfd9bec89fe54135349f1b01ca4' }, index.h("div", { key: '5d86b95ee6404d6c0458edafbe1386d7d46f8f42', part: "divider", class: "divider" }), index.h("div", { key: '05adcf93fcc58594df9caf01c92e7aa378f6eb8c', part: "weblinks-container", class: "weblinks-container" }, index.h("div", { key: '3d865c2da5a17fa9520271253d29414210495f77', part: "weblinks-title", class: "weblinks-title" }, i18n.translate[store.state.language].learnMore), this.currentTrek.web_links.map(weblink => (index.h("a", { part: "weblink-container", class: "weblink-container", href: weblink.url, target: "_blank", rel: "noopener noreferrer" }, weblink.category && weblink.category.pictogram && index.h("img", { src: weblink.category.pictogram, alt: weblink.category.label }), weblink.name)))))), this.currentTrek.source && this.currentTrek.source.length > 0 && (index.h("div", { key: '20b7b37d0ba476aa79bbf4e0d47c2e6c05b5765a' }, index.h("div", { key: 'd6c9b9a4ec84b767eeeea63411e7258a566234b7', part: "divider", class: "divider" }), index.h("div", { key: 'd50d1f20ec6b86fdba54da746a20328c5c274c80', part: "source-container", class: "source-container" }, index.h("div", { key: 'fabe70c534120c3affddcf8ded9a7dfddae99f22', part: "source-title", class: "source-title" }, i18n.translate[store.state.language].sources), this.sources.map(source => (index.h("div", { part: "source-sub-container", class: "source-sub-container" }, source.pictogram && index.h("img", { src: source.pictogram, alt: "" }), index.h("div", null, index.h("div", { part: "source-name", class: "source-name", innerHTML: source.name }), index.h("a", { part: "source-advice", class: "source-advice", href: source.website, innerHTML: source.website })))))))), this.grwApp && index.h("div", { key: '9dbfd36ba5891c008f17cc1d1332160c84d7d674', part: "detail-bottom-space", class: "detail-bottom-space" }))), this.modalDetailsId && (index.h(index.Fragment, { key: 'e0220dbb0f1877ac1e3ec6cfccf17831a8b352d9' }, this.showTouristicContentDetailsModal && index.h("grw-touristic-content-provider", { key: '17b148fa628d6836bf07e2d54ec6ad8bf04cbf7f', api: store.state.api, "touristic-content-id": this.modalDetailsId }), this.showTouristicEventDetailsModal && index.h("grw-touristic-event-provider", { key: 'bb3402337b53d47c8371765ba895a012e03c5f48', api: store.state.api, "touristic-event-id": this.modalDetailsId })))));
|
|
6728
|
+
this.emergencyNumber) && (index.h("div", { key: 'a5330b741c30f1079fb2d3c650a60fe13fbedd71', part: "divider-and-accessibilities-container", class: "divider-and-accessibilities-container" }, index.h("div", { key: '6881d662c79a1b143427d3f383422115b2c1bf0f', part: "divider", class: "divider" }), index.h("div", { key: '661df0ef883209c7e0f35ba23a005c0fe2a1d6e0', part: "accessibilities-container", class: "accessibilities-container" }, index.h("div", { key: 'c444c7251c3b356bcc4c1f587263c5e611485806', part: "accessibilities-title", class: "accessibilities-title", ref: el => (this.accessibilityRef = el) }, i18n.translate[store.state.language].accessibility), this.currentTrek.disabled_infrastructure && index.h("div", { key: '61f8dd967b0d9fd293588ac08cdb1d005dcab70f', part: "disabled-infrastructure", innerHTML: this.currentTrek.disabled_infrastructure }), this.accessibilities && this.accessibilities.length > 0 && (index.h("div", { key: 'ddea684e5d65212a9a8445ada2b75fef8b937d5a', part: "accessibilities-content-container", class: "accessibilities-content-container" }, this.accessibilities.map(accessibility => (index.h("div", { part: "accessibility-content-container", class: "accessibility-content-container" }, index.h("img", { src: accessibility.pictogram, alt: "" }), index.h("div", { part: "accessibility-name", innerHTML: accessibility.name })))))), this.emergencyNumber && (index.h("div", { key: 'fc9fd33062e3e8dc78b203b02b9746d98aee59e6', part: "accessibility-emergency-number-container", class: "accessibility-emergency-number-container" }, index.h("div", { key: '3ce0f480c39303ff9754864424016989db5bc8a3', part: "accessibility-emergency-number-title", class: "accessibility-emergency-number-title" }, i18n.translate[store.state.language].emergencyNumber), index.h("div", { key: 'ae761aaf615756891e81c3dd4ee21526705b7410', part: "accessibility-emergency-number-content", class: "accessibility-emergency-number-content" }, index.h("a", { key: '60b1fefcf8602ef846a8dec97c2ee83a18880139', href: `tel:${this.emergencyNumber.toString()}` }, index.h("span", { key: '7c71ada87035065f720149cbc5947d4492a536d5', part: "icon", class: "icon", innerHTML: call.CallIcon }), index.h("span", { key: '9495d4466c7cafa2a6d2bb38b7440aff9dba6699', part: "emergency-number", class: "emergency-number" }, this.emergencyNumber.toString()))))), this.currentTrek.accessibility_level && (index.h("div", { key: '152ce37946418d8f5653403b32e1f94c7292f034', part: "accessibility-level-container", class: "accessibility-level-container" }, index.h("div", { key: 'f58a7001234a92202fa6a02ee2266ac2adc87570', part: "accessibility-level-title", class: "accessibility-level-title" }, i18n.translate[store.state.language].accessibilityLevel), index.h("div", { key: '7d7b8e21800f43efaa42c3445ef72e5da55b043f', part: "accessibility-level-name", innerHTML: this.accessibilityLevel.name }))), this.currentTrek.accessibility_slope && (index.h("div", { key: 'ab844bcd6853aa9a04eb77bf747dafb4d04d07fb', part: "accessibility-slope-container", class: "accessibility-slope-container" }, index.h("div", { key: '9bf71efe837f9e30a94f4499b9a6a365547cf9a4', part: "accessibility-slope-title", class: "accessibility-slope-title" }, i18n.translate[store.state.language].accessibilitySlope), index.h("div", { key: '10245e7a3d22f9a48ef8226fbae799cbffb79e46', part: "accessibility-slope", innerHTML: this.currentTrek.accessibility_slope }))), this.currentTrek.accessibility_width && (index.h("div", { key: 'c7d20910906c9334d3a1504432d9a73b7920fb10', part: "accessibility-width-container", class: "accessibility-width-container" }, index.h("div", { key: '192f82d0d09a48b44df30ae17a44db318f9a1827', part: "accessibility-width-title", class: "accessibility-width-title" }, i18n.translate[store.state.language].accessibilityWidth), index.h("div", { key: 'bb8f20e44d5bf790f2d9f359e5410c975d34fc0a', part: "accessibility-width", innerHTML: this.currentTrek.accessibility_width }))), this.currentTrek.accessibility_signage && (index.h("div", { key: '708ddf47dec8883c3e49c303bd575ede2489ea3d', part: "accessibility-signage-container", class: "accessibility-signage-container" }, index.h("div", { key: 'cc28b9fdad41e531bbcef396667048629184d2c1', part: "accessibility-signage-title", class: "accessibility-signage-title" }, i18n.translate[store.state.language].accessibilitySignage), index.h("div", { key: 'b26ab3f38f065b5aae2b58e351d105ea42ae0060', part: "accessibility-signage", innerHTML: this.currentTrek.accessibility_signage }))), this.currentTrek.accessibility_covering && (index.h("div", { key: 'a3368ff2357e4dbe22e883c48e3e5679e6a0625c', part: "accessibility-covering-container", class: "accessibility-covering-container" }, index.h("div", { key: '645f9dee0a49de3e3b8230b6bd165e410d17ad6f', part: "accessibility-covering-title", class: "accessibility-covering-title" }, i18n.translate[store.state.language].accessibilityCovering), index.h("div", { key: 'd820fd94ea0f086c569ec9ebaa1024c41fa749e3', part: "accessibility-covering", innerHTML: this.currentTrek.accessibility_covering }))), this.currentTrek.accessibility_exposure && (index.h("div", { key: '088a81d2bbfc43865057e57aea00c02e1de238bb', part: "accessibility-exposure-container", class: "accessibility-exposure-container" }, index.h("div", { key: '5b75b0f0d86ada935b4ebc5dc3d24df7505d915d', part: "accessibility-exposure-title", class: "accessibility-exposure-title" }, i18n.translate[store.state.language].accessibilityExposure), index.h("div", { key: '3c1c31aba42336b3f30c507ba3a716d2e350f236', part: "accessibility-exposure", innerHTML: this.currentTrek.accessibility_exposure }))), this.currentTrek.accessibility_advice && (index.h("div", { key: 'e50d5a92dbc04c22017297b96c77788b001057ea', part: "accessibility-advice-container", class: "accessibility-advice-container" }, index.h("div", { key: '2fbc202f02eb40042b0b8b99f2dcf19fb501c7df', part: "accessibility-advice-title", class: "accessibility-advice-title" }, i18n.translate[store.state.language].accessibilityAdvices), index.h("div", { key: 'f45c17e27600db5c042b5cef7dc303e09c7dde54', part: "accessibility-advice", innerHTML: this.currentTrek.accessibility_advice })))))), store.state.trekTouristicContents && store.state.trekTouristicContents.length > 0 && (index.h("div", { key: 'bce94f87ec3b7e8e4ed52f35b4f6b72e38950e72', part: "divider-and-touristic-content-container", class: "divider-and-touristic-content-container" }, index.h("div", { key: 'e79fd5d6c052b231937ef887df2f8201aafe6aff', part: "divider", class: "divider" }), index.h("div", { key: '335c70eb75cc727a3246f7366ef96a1c85f3eae1', part: "touristic-content-container", class: "touristic-content-container" }, index.h("div", { key: 'b3e18f219e629ed736e29da7014f7ce587a778b5', part: "touristic-content-title", class: "touristic-content-title", ref: el => (this.touristicContentsRef = el) }, i18n.translate[store.state.language].touristicContents(store.state.trekTouristicContents.length)), index.h("div", { key: '3c90d22c79ae5161d9e33e5696d1e569785aed4f', part: "swiper-touristic-content", class: "swiper swiper-touristic-content", ref: el => (this.swiperTouristicContentsRef = el) }, index.h("div", { key: '87a42940555d9bfbc70e69760fe2aab8c392b337', part: "swiper-wrapper", class: "swiper-wrapper" }, store.state.trekTouristicContents.map(touristicContent => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-touristic-content-card", { exportparts: "touristic-content-card,touristic-content-img-container,swiper-touristic-content,swiper-wrapper,swiper-slide,touristic-content-img,default-touristic-content-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-content-sub-container,touristic-content-category-container,touristic-content-category-img,touristic-content-category-name,touristic-content-name,touristic-content-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicContent: touristicContent, isInsideHorizontalList: true, "color-surface-container-low": this.colorSurfaceContainerLow }))))), index.h("div", { key: '0c507d7617cc940873126e35a1f00e4745f43928', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicContentsSwiperScrollbar = el) }))))), store.state.trekTouristicEvents && store.state.trekTouristicEvents.length > 0 && (index.h("div", { key: 'd5cad174934b41a78713da22acf6b895f8db6062', part: "divider-and-touristic-event-container", class: "divider-and-touristic-event-container" }, index.h("div", { key: '74eee95574b301f8e1f4225d1ff4e031540057c0', part: "divider", class: "divider" }), index.h("div", { key: '2c345f70bdef03b5eecdf35bee51e4daa83586b0', part: "touristic-event-container", class: "touristic-event-container" }, index.h("div", { key: '1b60223986fd21f9233613da89e0d2b4ea3a6172', part: "touristic-event-title", class: "touristic-event-title", ref: el => (this.touristicEventsRef = el) }, i18n.translate[store.state.language].touristicEvents(store.state.trekTouristicEvents.length)), index.h("div", { key: '1d1c02762899777834ff55dca7551a1f590dbd40', part: "swiper-touristic-event", class: "swiper swiper-touristic-event", ref: el => (this.swiperTouristicEventsRef = el) }, index.h("div", { key: '0fa81f334ee14c3e30ea6741b089769bca8c6074', part: "swiper-wrapper", class: "swiper-wrapper" }, store.state.trekTouristicEvents.map(touristicEvent => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-touristic-event-card", { exportparts: "touristic-event-card,touristic-event-img-container,swiper-touristic-event,swiper-wrapper,swiper-slide,touristic-event-img,default-touristic-event-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-event-sub-container,touristic-event-sub-container,touristic-event-type-img,touristic-event-type-name,touristic-event-name,touristic-event-date-container,touristic-event-date,touristic-event-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicEvent: touristicEvent, isInsideHorizontalList: true, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), index.h("div", { key: 'e3e4084ad06ca88a9fa0c42f29f4b0c965764111', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicEventsSwiperScrollbar = el) }))))), this.currentTrek.web_links && this.currentTrek.web_links.length > 0 && (index.h("div", { key: 'e682fa0a17e5f71e05facb2ffbc1acecb13dd67a', part: "divider-and-weblinks-container", class: "divider-and-weblinks-container" }, index.h("div", { key: '26184d951f99fb35f50da7b662674eed66a9fdd1', part: "divider", class: "divider" }), index.h("div", { key: '4629327f1ab973e6732e3964dd2fe0146d67aa47', part: "weblinks-container", class: "weblinks-container" }, index.h("div", { key: '47cbdb8232f3bcd91d4733bbe40c5c0de3666c52', part: "weblinks-title", class: "weblinks-title" }, i18n.translate[store.state.language].learnMore), this.currentTrek.web_links.map(weblink => (index.h("a", { part: "weblink-container", class: "weblink-container", href: weblink.url, target: "_blank", rel: "noopener noreferrer" }, weblink.category && weblink.category.pictogram && index.h("img", { src: weblink.category.pictogram, alt: weblink.category.label }), weblink.name)))))), this.currentTrek.source && this.currentTrek.source.length > 0 && (index.h("div", { key: '44cc04d24a869bad89194c71e6248e8c34762198', part: "divider-and-source-container", class: "divider-and-source-container" }, index.h("div", { key: 'ff17a4126d5774e5f2c35a62d7dac71baac5df84', part: "divider", class: "divider" }), index.h("div", { key: '1c415ee348802194636341e62dcb778894a71e85', part: "source-container", class: "source-container" }, index.h("div", { key: '72c5bc73580d9fb74d4264d5b2f46ee30eb0b389', part: "source-title", class: "source-title" }, i18n.translate[store.state.language].sources), this.sources.map(source => (index.h("div", { part: "source-sub-container", class: "source-sub-container" }, source.pictogram && index.h("img", { src: source.pictogram, alt: "" }), index.h("div", null, index.h("div", { part: "source-name", class: "source-name", innerHTML: source.name }), index.h("a", { part: "source-advice", class: "source-advice", href: source.website, innerHTML: source.website })))))))), this.grwApp && index.h("div", { key: '9945450d102292fb05be14b45f1278569051c532', part: "detail-bottom-space", class: "detail-bottom-space" }))), this.modalDetailsId && (index.h(index.Fragment, { key: '74f6a13e4e120cd15385a3f6749da841c286095b' }, this.showTouristicContentDetailsModal && index.h("grw-touristic-content-provider", { key: '929df87264b5c7b2ef9f61b262eff954f96475e1', api: store.state.api, "touristic-content-id": this.modalDetailsId }), this.showTouristicEventDetailsModal && index.h("grw-touristic-event-provider", { key: '3da8e576d4563188f4abd3f1f19cb8031d3fd1ec', api: store.state.api, "touristic-event-id": this.modalDetailsId })))));
|
|
6732
6729
|
}
|
|
6733
6730
|
};
|
|
6734
6731
|
GrwTrekDetail.style = GrwTrekDetailStyle0;
|
|
Binary file
|
|
Binary file
|