{namespace poi=Newland\Toubiz\Poi\Neos\ViewHelpers}
{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<nav class="tb-tab-navigation">
    <ul class="list-reset p-0">
        <poi:collection.attributes.notAllEmpty
            arrays="{
                0: article.flatAttributes.prices,
                1: article.flatAttributes.discountCard
            }"

            strings="{
                0: article.flatAttributes.freeEntrance,
                1: article.flatAttributes.priceInformation
            }">

            <li
                class="tb-tab-navigation__item"
                data-target-enhancement
                data-target-enhancement-plugins.0.name="toggle-aria-expanded"
                data-target-enhancement-exclusive-group="tb-tab-navigation-poi-detail"
                data-target-enhancement-targets.0="#target-enhancement-target-pricing"
                aria-expanded="true"
                aria-haspopup="true">

                {vh:translate(id: 'tabs.pricing.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
        <poi:collection.attributes.notAllEmpty
            strings="{
                0: article.flatAttributes.thermalPoolAreaInside,
                1: article.flatAttributes.thermalPoolAreaOutside,
                2: article.flatAttributes.thermalPoolFeatures,
                3: article.flatAttributes.thermalPoolFeaturesAdditional,
                4: article.flatAttributes.thermalWaterType,
                5: article.flatAttributes.thermalWaterCleaning,
                6: article.flatAttributes.thermalWaterDepthAverage,
                7: article.flatAttributes.thermalSaunaFeatures,
                8: article.flatAttributes.thermalSaunaAdditionalFeatures,
                9: article.flatAttributes.thermalSaunaInfusionInterval,
                10: article.flatAttributes.thermalSaunaColdApplication,
                11: article.flatAttributes.thermalSaunaQuietRoom,
                12: article.flatAttributes.thermalSaunaService,
                13: article.flatAttributes.thermalFitnessIndoor,
                14: article.flatAttributes.thermalFitnessOutdoor
            }"

            booleans="{
                0: article.flatAttributes.thermalHasNonSwimmerSeperation,
                1: article.flatAttributes.thermalHasTherapyPool,
                2: article.flatAttributes.thermalHasSportPool,
                3: article.flatAttributes.thermalHasUnderwaterMusic,
                4: article.flatAttributes.thermalHasNatureBathingLake,
                5: article.flatAttributes.thermalHasWhirlPool,
                6: article.flatAttributes.thermalHasPoolMassageJet,
                7: article.flatAttributes.thermalHasFluxPool,
                8: article.flatAttributes.thermalHasSeaPool,
                9: article.flatAttributes.thermalHasBrinePool,
                10: article.flatAttributes.thermalHasSingleCabin,
                11: article.flatAttributes.thermalHasFamilyCabin,
                12: article.flatAttributes.thermalHasWardrobe,
                13: article.flatAttributes.thermalHasLocker,
                14: article.flatAttributes.thermalHasHairDryer,
                15: article.flatAttributes.thermalHasShowers,
                16: article.flatAttributes.thermalHasEmergencyRoom,
                17: article.flatAttributes.thermalHasTowelRental,
                18: article.flatAttributes.thermalHasBathrobeRental,
                19: article.flatAttributes.thermalHasShop,
                20: article.flatAttributes.thermalHasGastronomy,
                21: article.flatAttributes.thermalSaunaIsInfusionQuarterHourly,
                22: article.flatAttributes.thermalSaunaIsInfusionHalfHourly,
                23: article.flatAttributes.thermalSaunaIsInfusionHourly,
                24: article.flatAttributes.thermalWellnessHasApplications,
                25: article.flatAttributes.thermalWellnessHasMassages,
                26: article.flatAttributes.thermalWellnessHasExotic,
                27: article.flatAttributes.thermalWellnessHasSoftpack,
                28: article.flatAttributes.thermalWellnessHasTubbath,
                29: article.flatAttributes.thermalWellnessHasPeeling,
                30: article.flatAttributes.thermalWellnessHasCosmetic,
                31: article.flatAttributes.thermalWellnessHasRelaxation,
                32: article.flatAttributes.thermalWellnessHasPrivateSpa
            }"

            integers="{
                0: article.flatAttributes.thermalSaunaQuietRoomQuantity
            }">

            <li
                class="tb-tab-navigation__item"
                data-target-enhancement
                data-target-enhancement-plugins.0.name="toggle-aria-expanded"
                data-target-enhancement-exclusive-group="tb-tab-navigation-poi-detail"
                data-target-enhancement-targets.0="#target-enhancement-target-details"
                aria-expanded="false"
                aria-haspopup="true">

                {vh:translate(id: 'tabs.details.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
        <poi:collection.attributes.notAllEmpty
            arrays="{
                0: article.flatAttributes.features
            }"

            strings="{
                0: article.flatAttributes.thermalFamilyChildAgeMinimum,
                1: article.flatAttributes.thermalCamperQuantity,
                2: article.flatAttributes.accessibleText
            }"

            booleans="{
                0: article.flatAttributes.thermalHasHotel,
                1: article.flatAttributes.thermalIsFamilyFriendly,
                2: article.flatAttributes.accessibleIs90,
                3: article.flatAttributes.accessibleIs80,
                4: article.flatAttributes.accessibleIs70,
                5: article.flatAttributes.accessibleIs60,
                6: article.flatAttributes.accessibleIsForDeafs,
                7: article.flatAttributes.accessibleIsForBlinds,
                8: article.flatAttributes.accessibleIsForDisordes,
                9: article.flatAttributes.accessibleHasElevator,
                10: article.flatAttributes.accessibleHasWc,
                11: article.flatAttributes.accessibleWcPart
            }"

            integers="{
                0: article.flatAttributes.accessibleElevatorWidth,
                1: article.flatAttributes.accessibleWcWidth,
                2: article.flatAttributes.accessibleWcPartWidth
            }">

            <li
                class="tb-tab-navigation__item"
                data-target-enhancement
                data-target-enhancement-plugins.0.name="toggle-aria-expanded"
                data-target-enhancement-exclusive-group="tb-tab-navigation-poi-detail"
                data-target-enhancement-targets.0="#target-enhancement-target-travel"
                aria-expanded="false"
                aria-haspopup="true">

                {vh:translate(id: 'tabs.visit.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
    </ul>
</nav>


<f:render partial="PointOfInterests/Show/Attributes/Attraction/Pricing" arguments="{_all}"/>
<f:render partial="PointOfInterests/Show/Attributes/Attraction/Details" arguments="{_all}"/>
<f:render partial="PointOfInterests/Show/Attributes/Attraction/Visit" arguments="{_all}"/>
