import * as I from "../types/types";

export const config: I.Config = {
    childHasVenueXML: false,
    debug: true,
    branch: "master",
    version: "0.2.1",
    maxSelectedSeats: 10,
    resources: {
        master: {
            seatmap: "https://tickets.provenue.de",
            JSC: "https://tickets.provenue.de/libs/jQuery-Seat-Charts/jquery.seat-charts.min.js",
            CSSChild: "https://tickets.provenue.de/dist/seatmap.css",
            CSSJSC: "https://tickets.provenue.de/libs/jQuery-Seat-Charts/jquery.seat-charts.css",
            CSSParent: "https://tickets.provenue.de/dist/inject.css",
            CSSjQueryUI: "https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css",
            CSSjBox: "https://tickets.provenue.de/dist/jBox.all.min.css"
        },
        staging: {
            seatmap: "https://staging.tickets.provenue.de",
            JSC: "https://staging.tickets.provenue.de/libs/jQuery-Seat-Charts/jquery.seat-charts.min.js",
            CSSChild: "https://staging.tickets.provenue.de/dist/seatmap.css",
            CSSJSC: "https://staging.tickets.provenue.de/libs/jQuery-Seat-Charts/jquery.seat-charts.css",
            CSSParent: "https://staging.tickets.provenue.de/dist/inject.css",
            CSSjQueryUI: "https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css",
            CSSjBox: "https://tickets.provenue.de/dist/jBox.all.min.css"
        }
    },
    state: {
        priceOverall: "",
        priceOverallEur: "",
        cartChanged: false,
        selectedSeatsArr: [],
        selectedSeatsObj: {},
        layoutRows: {},
        isValidSeatSelection: false,
        inputsWithValue: undefined,
        seatmap: undefined,
        panzoom: undefined,
        inVenueXML: undefined,
        seatmapXML: undefined,
    },
    fallbackColors: [
        "#ae2fb7",
        "#f1c232",
        "#90af80",
        "#7f261a",
        "#040fdb",
        "#5896dd",
        "#47994d",
        "#6937bf",
        "#5b2d53",
        "#4f4d28"
    ]
}