"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCurrentFrontendId = exports.HotelSpecDefault = exports.OvoloFlashCashIcon = exports.TEST_SUPPORT_INFANTS = void 0;
const core_1 = require("@roomstay/core");
const index_1 = require("index");
const react_1 = __importDefault(require("react"));
exports.TEST_SUPPORT_INFANTS = true; //Conditionally showing the infant input
exports.OvoloFlashCashIcon = (react_1.default.createElement("svg", { id: "Layer_2", "data-name": "Layer 2", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 8.04 13.05", width: 18, height: 18 },
    react_1.default.createElement("defs", null,
        react_1.default.createElement("style", null, '\n      .cls-1 {\n        stroke-width: 0px;\n        fill: #000!important;\n      }\n    ')),
    react_1.default.createElement("g", { id: "Layer_1-2", "data-name": "Layer 1" },
        react_1.default.createElement("path", { className: "cls-1", d: "m7.29,4.88L0,13.05c1.24-2.34,2.49-4.67,3.74-7.03.05-.1-.02-.22-.13-.22h-1.93c-.12,0-.19-.14-.12-.24h0C2.99,3.76,4.41,1.95,5.83.14,5.9.05,6.01,0,6.13,0c.58,0,1.16,0,1.77,0,.12,0,.19.14.12.24-1.05,1.39-2.09,2.77-3.14,4.16-.07.1,0,.24.12.24h2.19c.13,0,.19.15.11.24Z" }))));
exports.HotelSpecDefault = {
    hotelID: TEST_OFFLINE_HOTEL_ID,
    providerHotelID: '1',
    name: 'Ovolo Woolloomooloo',
    logo: '',
    defaultDatepickerType: 'Month',
    defaultLanguage: index_1.Language.en_us,
    distanceUnitType: index_1.DistanceUnitType.Metric,
    showAddonLoader: true,
    startsWeekOnDay: index_1.WeekdayStartsOn.Sunday,
    datalayer: {
        gtmIds: [],
    },
    // hotelInfo: {
    //     countryPrefix: 'Port Stephens,',
    // },
    heroImage: 'https://ovolohotels.com/wp-content/uploads/2020/02/Banner-e1587412618532.jpg',
    privacyPolicyUrl: '/privacy',
    colors: {
        accent: '#249aba',
        accent2: '#e1f6fc',
        accent3: '#1f839e',
        success: '#0EB086',
    },
    vgs: {
        vaultNames: {
            standard: 'tntmupn9ras',
            members: 'tntjyo5u2pi',
        },
    },
    memberOnlyPromoCode: '',
    // memberOnlyRenderRateLast: true,
    defaultCurrency: 'NZD',
    hotelUrl: 'https://roomstay.io',
    checkoutUrl: '/fullpage/',
    transportDistances: {
        plane: 6.9,
        train: 1.1,
        tram: 0.98,
        bus: 0.29,
        taxi: 0,
        // displayCard: true,
        // ferry: '20',
        // ferrySubTitle: 'From Central Station',
        // location: '1',
        // locationSubTitle: 'From Dubbo Airport',
        // car: '1',
        // carSubTitle: 'From SYD Airport',
    },
    overwrites: {
        NWS_TEST: {
            prePerkDisclaimer: '*Direct booking perks may vary by hotel and region. Discount rates negotiated by corporate and group booking partners may be excluded from the perks offered. Perk inclusions will be outlined within the individual room offering under the rate detail.',
            perks: [
                {
                    icon: index_1.IconType.Bar,
                    name: 'Nightly Drink at Social Hour',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/socialhour_large.png',
                },
                {
                    iconElement: exports.OvoloFlashCashIcon,
                    name: 'Flash Cash',
                    perkNameRenderer: () => {
                        const basePrice = 1;
                        const baseCurrency = 'USD';
                        return (react_1.default.createElement("div", { style: { lineHeight: '1em' } },
                            "Flash Cash",
                            react_1.default.createElement("div", { style: { display: 'inline-flex', padding: '0px 4px' } },
                                react_1.default.createElement(index_1.Currency, { hideDecimals: true, fromCurrencyCode: baseCurrency }, basePrice)),
                            "per stay*"));
                    },
                },
                {
                    icon: index_1.IconType.WiFi,
                    name: 'Super Speed WiFi',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/wifi_large.png',
                },
                {
                    icon: index_1.IconType.Laundry,
                    name: 'Self-service laundry',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/laundry_large.png',
                },
                {
                    icon: index_1.IconType.Gym,
                    name: '24-hour Gym',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/gym_large.png',
                },
                {
                    icon: index_1.IconType.Snacks,
                    name: 'All day snacks',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/snacks_large.png',
                },
                {
                    icon: index_1.IconType.LootBag,
                    name: 'Free Loot Bag',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/lootbag_large.png',
                },
            ],
        },
        VEQ_TEST: {
            prePerkDisclaimer: '*Direct booking perks may vary by hotel and region. Discount rates negotiated by corporate and group booking partners may be excluded from the perks offered. Perk inclusions will be outlined within the individual room offering under the rate detail.',
            perks: [
                {
                    iconElement: exports.OvoloFlashCashIcon,
                    name: 'Flash Cash',
                    perkNameRenderer: () => {
                        const basePrice = 2.5;
                        const baseCurrency = 'USD';
                        return (react_1.default.createElement("div", { style: { display: 'flex' } },
                            "Flash Cash",
                            react_1.default.createElement("span", { style: { paddingLeft: '4px', paddingRight: '4px' } },
                                react_1.default.createElement(index_1.Currency, { hideDecimals: true, fromCurrencyCode: baseCurrency }, basePrice)),
                            "per stay*"));
                    },
                },
                {
                    icon: index_1.IconType.WiFi,
                    name: 'Super Speed WiFi',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/wifi_large.png',
                },
                {
                    icon: index_1.IconType.Snacks,
                    name: 'All day snacks',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/snacks_large.png',
                },
                {
                    icon: index_1.IconType.LootBag,
                    name: 'Free Loot Bag',
                    image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/lootbag_large.png',
                },
            ],
        },
        PRS: {
            RoomDimensions: '50 m²',
        },
        DBL: {
            RoomDimensions: '65 m²',
        },
        JRS: {
            RoomDimensions: '60 m²',
        },
        SGL: {
            RoomDimensions: '26 m²',
        },
        A1K: {
            RoomDimensions: '55 m²',
        },
        ABC: {
            RoomDimensions: '100 m²',
        },
    },
    showMealPill: true,
    googleMapsImage: 'https://clients.app.roomstay.io/assets/Ovolo/Woolloomooloo/staticmap.png',
    perks: [
        {
            icon: index_1.IconType.Breakfast,
            name: 'Breakfast',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/breakfast_large.png',
        },
        {
            icon: index_1.IconType.WiFi,
            name: 'Superspeed Wifi',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/wifi_large.png',
        },
        {
            icon: index_1.IconType.Bar,
            name: 'Social Hour',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/socialhour_large.png',
        },
        {
            icon: index_1.IconType.Fridge,
            name: 'In-room mini bar',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/minibar_large.png',
        },
        {
            icon: index_1.IconType.Laundry,
            name: 'Self-service laundry',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/laundry_large.png',
        },
        {
            icon: index_1.IconType.Gym,
            name: '24-hour Gym',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/gym_large.png',
        },
        {
            icon: index_1.IconType.Snacks,
            name: 'All day snacks',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/snacks_large.png',
        },
        {
            icon: index_1.IconType.LootBag,
            name: 'Free Loot Bag',
            image: 'https://ovolohotels.com/wp-content/themes/wonderful/assets/img/wonderful/perks/lootbag_large.png',
        },
    ],
    paymentCardTypes: [index_1.EPaymentCardType.Visa, index_1.EPaymentCardType.JCB, index_1.EPaymentCardType.AmericanExpress, index_1.EPaymentCardType.Mastercard],
    paymentMethods: [],
    address: {
        city: 'Cairns',
        country: 'Australia',
        line1: '163 Abbott Street',
        line2: ' Cairns',
        line3: '',
        postalCode: '04870',
        state: 'Queensland',
    },
    maxAdults: 2,
    maxOccupancy: 5,
    memberOnlyModalUsePrimaryColor: true,
    childConfiguration: {
        supportChildren: true,
        supportInfants: exports.TEST_SUPPORT_INFANTS,
    },
    showYearOnCalendar: true,
    yearDisplayOption: 'YYYY',
    onLoad: () => {
        index_1.FeatureProvider.load(index_1.ConfirmationVerifyFeature);
    },
    stateFieldConfiguration: core_1.EHotelStateFieldConfiguration.Optional,
    currentRoomSort: index_1.RoomSort.PriceHigh,
    currentRoomRateSort: index_1.RoomSort.PriceLow,
};
const getCurrentFrontendId = () => {
    const urlParams = new URLSearchParams(window.location.search);
    const customHotel = urlParams.get('hotel');
    if (customHotel) {
        return customHotel;
    }
    return TEST_OFFLINE_HOTEL_ID;
};
exports.getCurrentFrontendId = getCurrentFrontendId;
//# sourceMappingURL=hotelSpecDefault.js.map