/*! phoscon-app 2024-05-27 */

import{initPhilipsPages}from"./philips/map-philips.js";import{initIkeaPages}from"./ikea/map-ikea.js";import{initGiraPages}from"./gira/map-gira.js";import{initdePages}from"./dresden-elektronik/map-dresden-elektronik.js";import{initJungPages}from"./jung/map-jung.js";import{initFriendsOfHuePages}from"./friends-of-hue/map-friends-of-hue.js";import{initBuschjaegerPages}from"./buschjaeger/map-buschjaeger.js";import{initXiaomiPages}from"./xiaomi/map-xiaomi.js";import{initSmartThingsPages}from"./smartthings/map-smartthings.js";import{initOtherPages}from"./other/map-other.js";import{initSenicPages}from"./senic/map-senic.js";import{initNodonPages}from"./nodon/map-nodon.js";import{initFellerPages}from"./feller/map-feller.js";import{initNikoPages}from"./nico/map-nico.js";import{initVimarPages}from"./vimar/map-vimar.js";import{initIcasaPages}from"./icasa/map-icasa.js";import{initLutronPages}from"./lutron/map-lutron.js";import{initGePages}from"./ge/map-ge.js";import{initInstallcodePages}from"./installcode/map-installcode.js";import{initLightingModePages}from"./dresden-elektronik/map-lighting-mode.js";export function initPages(pageParams){let c=pageParams.constants,philipsPages=initPhilipsPages(pageParams),ikeaPages=initIkeaPages(pageParams),giraPages=initGiraPages(pageParams),dePages=initdePages(pageParams),jungPages=initJungPages(pageParams),friendsOfHuePages=initFriendsOfHuePages(pageParams),buschjaegerPages=initBuschjaegerPages(pageParams),xiaomiPages=initXiaomiPages(pageParams),smartThingsPages=initSmartThingsPages(pageParams),senicPages=initSenicPages(pageParams),nodonPages=initNodonPages(pageParams),fellerPages=initFellerPages(pageParams),nikoPages=initNikoPages(pageParams),vimarPages=initVimarPages(pageParams),otherPages=initOtherPages(pageParams),icasaPages=initIcasaPages(pageParams),lutronPages=initLutronPages(pageParams),gePages=initGePages(pageParams),installcodePages=initInstallcodePages(pageParams),lightingModePages=initLightingModePages(pageParams);return[{id:c.PAGE_INIT,url:"",eventHandler:[{event:c.BTN_ADD_SWITCH_PRESSED,actions:[{type:c.OPEN_MODAL,data:"switchWizardModal"},{type:c.CALL_PAGE,data:c.PAGE_VENDOR},{type:c.REMOVE_CLASS_ELEM,data:{identifier:c.MODAL_FOOTER,c:c.DANGER}},{type:c.REMOVE_CLASS_ELEM,data:{identifier:c.MODAL_FOOTER,c:c.SUCCESS}}]},{event:c.BTN_LIGHTING_MODE_PRESSED,actions:[{type:c.OPEN_MODAL,data:"switchWizardModal"},{type:c.CALL_PAGE,data:c.PAGE_LIGHTING_MODE},{type:c.REMOVE_CLASS_ELEM,data:{identifier:c.MODAL_FOOTER,c:c.DANGER}},{type:c.REMOVE_CLASS_ELEM,data:{identifier:c.MODAL_FOOTER,c:c.SUCCESS}}]}]},{id:c.PAGE_VENDOR,url:"devices-switches/page-vendor.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:c.PAGE_VENDOR},{type:c.ADD_CLASS_ELEM,data:{identifier:c.BTN_NEXT,c:c.HIDE}},{type:c.ADD_CLASS_ELEM,data:{identifier:c.BTN_PREV,c:c.HIDE}}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PHILIPS_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_PHILIPS_PRODUCT}]},{event:c.BTN_IKEA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_IKEA_PRODUCT}]},{event:c.BTN_GIRA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_GIRA_PRODUCT}]},{event:c.BTN_DE_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_DRESDEN_ELEKTRONIK_PRODUCT}]},{event:c.BTN_JUNG_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_JUNG_PRODUCT}]},{event:c.BTN_FRIENDS_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_FRIENDS_OF_HUE_PRODUCT}]},{event:c.BTN_BUJA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_BUSCHJAEGER_PRODUCT}]},{event:c.BTN_XIAOMI_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_XIAOMI_PRODUCT}]},{event:c.BTN_SMARTTHINGS_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_SMARTTHINGS_PRODUCT}]},{event:c.BTN_SENIC_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_SENIC_PRODUCT}]},{event:c.BTN_NODON_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_NODON_PRODUCT}]},{event:c.BTN_FELLER_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_FELLER_PRODUCT}]},{event:c.BTN_VIMAR_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_NIKO_PRODUCT}]},{event:c.BTN_NIKO_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_VIMAR_PRODUCT}]},{event:c.BTN_ICASA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_ICASA_PRODUCT}]},{event:c.BTN_LUTRON_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_LUTRON_PRODUCT}]},{event:c.BTN_GE_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_GE_PRODUCT}]},{event:c.BTN_OTHER_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_OTHER_PAGE_1}]}]},...philipsPages,...ikeaPages,...giraPages,...dePages,...jungPages,...friendsOfHuePages,...buschjaegerPages,...xiaomiPages,...smartThingsPages,...senicPages,...nodonPages,...fellerPages,...nikoPages,...vimarPages,...icasaPages,...lutronPages,...gePages,...otherPages,...installcodePages,...lightingModePages]};