(this["webpackJsonpgonzo-test-client"]=this["webpackJsonpgonzo-test-client"]||[]).push([[16],{"/pZs":function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={FEEDING:"FDN",NOT_SPECIFIED:"NSP"}},"0gjr":function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={FEEDING_SCHEDULE_BASIC:5,FEEDING_SCHEDULE_EXTENDED:15,FEEDING_CURVE_BASIC:5,FEEDING_CURVE_EXTENDED:15,FEEDING_FORAGE_BASIC:2,FEEDING_FORAGE_EXTENDED:8}},"10H7":function(E,_,T){"use strict";T.d(_,"b",(function(){return e})),T.d(_,"a",(function(){return a})),T.d(_,"d",(function(){return n})),T.d(_,"c",(function(){return S}));const e={TRANSFER:"T",INSEMINATION:"I",PARTURITION:"P",NO_PREGNANCY:"N",FALL:"F",GRAFTING:"G",SEPARATION:"S",SELL:"L",USG:"U",SEPARATION_TO_MOMMY:"M",CHANGE_CURVE:"C",JOIN:"J",SELECTION:"X",MOMMY:"W",FALL_PIGLETS:"V",CONDITION:"D",INCIDENT:"IN",TREATMENT:"TR",WEIGHTING:"WE",ACTIVE_NIPPLES:"AN",RECLASSIFY:"R",PIGLETS_TREATMENT:"PT",HEAT:"H",SOW_CYCLES:"B",CASTRATION:"CA",TO_INSEMINATION:"TI",TO_REPEAT:"TT",PARTURITION_START:"PS",PARTURITION_END:"PE"},a={OVERALL:"O",GRAFTING:"G",PROCREATION:"PR",PARTURITION:"P",FALL:"F",SELL:"S"},n={NEGATIVE:0,POSITIVE:1,REPEAT:2},S={LOW:0,MEDIUM:1,HARD:2}},"6/k7":function(E,_,T){"use strict";T.d(_,"f",(function(){return e})),T.d(_,"e",(function(){return a})),T.d(_,"b",(function(){return n})),T.d(_,"d",(function(){return S})),T.d(_,"c",(function(){return I})),T.d(_,"g",(function(){return N})),T.d(_,"a",(function(){return A}));const e={INDIVIDUAL:0,GROUP:1,MIXED:3},a={BEFORE_PARTURITION:"4",AFTER_PARTURITION:"5",MIXED_PARTURITION:"6"},n={INDIVIDUAL:"IND",MATING:"MAT",PARTURITION:"PAR"},S=[n.PARTURITION],I=[n.MATING],N={SCHEDULE:"H",TRIGGER:"Z",RFID:"R"},A={BEFORE:-1,BOTH:0,AFTER:1,NORMAL:2}},"64Zf":function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={GRAFTING:1,MEDICALFEED:2,DOSATRON:3}},"7Gv0":function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={MONTH:31,TWO_WEEKS:14,TEST:1e3}},"8vhO":function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={USG_BEFORE_X_DAYS:1,PARTURITION_BEFORE_X_DAYS:2,PARTURITION_AFTER_X_DAYS:3,FIRST_INSEMINATION_FROM_BIRTH:4,NO_INSEMINATION_BEFORE_EV:5,NO_USG_BEFORE_EV:6,NO_PARTURITION_AFTER_EV:7,NO_SEPARATION_AFTER_EV:8,NO_PARTURITION_AFTER_X_DAYS:9,SEPARATION_CNT_BIGGER_THAN_PARTURITION_CNT:10,SEPARATION_CNT_BIGGER_THAN_BIRTH_CNT:11,PIGLET_CNT_BIGGER_THAN_NIPPLES:12,NO_SEPARATION_BUT_SOW_CYCLES:13,LAST_SEPARATION_DIFF_THAN_IN_REALITY:14}},"BO/6":function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={SECOND:1e3,MINUTE:6e4,HOUR:36e5,DAY:864e5,WEEK:6048e5,MONTH:2592e6,YEAR:31104e6}},BUlv:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={PORKER_AND_PIGLET_GROUP_INSERTION:"porkerAndPigletGroupInsertion",PORKER_AND_PIGLET_RFID_INSERTION:"porkerAndPigletRFIDInsertion",RENOVATION_SOW_AND_BOAR_INSERTION:"renovationSowAndBoarInsert",SOW_INSERTION:"sowInsertion",INSEMINATION:"insemination",USG:"usg",NO_PREGNANCY:"noPregnancy",PARTURITION:"parturition",SEPARATION_TO_PORKHOUSE:"separationToPigletHouse",SEPARATION_TO_MOMMY:"separationToMommy",TREATMENT:"treatment",GRAFTING:"grafting",FALL_PIGLETS:"fallPiglets",TRANSFER_CHAMBER:"transferChamber",TRANSFER_STAND:"transferStand",FALL:"fall",SELL:"sell",SELECTION:"selection",WEIGHTING:"weighting",ACTIVE_NIPPLES:"activeNipples",RECLASSIFY:"reclassify",PIGLETS_TREATMENT:"pigletsTreatment",HEAT:"heat"}},EP7i:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={DEVICE_MQTT_RESEND_STATE:42e4,DEVICE_OUTDATED_DATA:9e5,DEVICE_OUTDATED_DATA_CHECK:5e3}},"FPv+":function(E,_,T){"use strict";T.d(_,"a",(function(){return S}));const e=/^\b(0x([0-9]|[a-fA-F])|([1-9]|1[0-5]))(?: *- *\b(0x([0-9]|[a-fA-F])|([1-9]|1[0-5])))?(?: *, *\b(0x([0-9]|[a-fA-F])|([1-9]|1[0-5]))(?: *- *\b(0x([0-9]|[a-fA-F])|([1-9]|1[0-5])))?)*$/,a=/^\b(0x([1-7]?[0-9a-fA-F])|([1-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7]))(?: *- *\b(0x([1-7]?[0-9a-fA-F])|([1-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])))?(?: *, *\b(0x([1-7]?[0-9a-fA-F])|([1-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7]))(?: *- *\b(0x([1-7]?[0-9a-fA-F])|([1-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])))?)*$/,n=/^(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(00)(?: *- *\b(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(00))?(?: *, *\b(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(00)(?: *- *\b(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(0[0]))?)*$/,S={NUMBER_DEC_OR_HEX:/^\b(0x[0-9a-fA-F]+|[0-9]+)*$/,DEVICE_MANY_ADDR:/^\b(0x[0-9a-fA-F]+|[0-9]+)(?: *- *\b(0x[0-9a-fA-F]+|[0-9]+))?(?: *, *\b(0x[0-9a-fA-F]+|[0-9]+)(?: *- *\b(0x[0-9a-fA-F]+|[0-9]+))?)*$/,DEVICE_MANY_ADDR_DI_NRF:/^\b(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(0[1-9a-fA-F])(?: *- *\b(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(0[1-9a-fA-F]))?(?: *, *\b(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(0[1-9a-fA-F])(?: *- *\b(0x[1-9a-fA-F]{1}[3579BDFbdf]{1})(0[1-9a-fA-F]))?)*$/,DEVICE_MANY_ADDR_CA:a,DEVICE_MANY_ADDR_DI:a,DEVICE_MANY_ADDR_SC:a,DEVICE_MANY_ADDR_CL:a,DEVICE_MANY_ADDR_BR:e,DEVICE_MANY_ADDR_TE:a,DEVICE_MANY_ADDR_DI_NRF_MULTI:n,DEVICE_MANY_ADDR_ANT:e,DEVICE_MANY_ADDR_SP:n}},HGzA:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={OPENED:"OPENED",DONE:"DONE"}},I8zd:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={FARM:-1,BUILDING:0,SECTOR:1,CHAMBER:2,BOX:3}},IBmF:function(E,_,T){"use strict";T.d(_,"l",(function(){return e})),T.d(_,"e",(function(){return a})),T.d(_,"k",(function(){return n})),T.d(_,"p",(function(){return S})),T.d(_,"f",(function(){return I})),T.d(_,"n",(function(){return N})),T.d(_,"d",(function(){return A})),T.d(_,"m",(function(){return R})),T.d(_,"o",(function(){return t})),T.d(_,"g",(function(){return O})),T.d(_,"i",(function(){return i})),T.d(_,"c",(function(){return o})),T.d(_,"a",(function(){return D})),T.d(_,"h",(function(){return r})),T.d(_,"j",(function(){return c})),T.d(_,"b",(function(){return G}));const e={REQUEST:"R",SMALL_RESPONSE:"a",BIG_RESPONSE:"A",LAMBDA:"L"},a={GET_STATUS_ERROR:0,WAITING:1,SUCCESS:2,MESSAGE_PARSER_ERROR:3,COMMAND_REJECTED:4,NO_RESPONSE:5,NO_DATA:6,RETURNING_PARSER_ERROR:7,NO_PRIVILEGES:11,DEVICE_ALREADY_FEEDING:12},n={GET_FULL_DEV_STATE:"GET_FULL_DEV_STATE",GET_FULL_DEV_STATE_DELTA:"GET_FULL_DEV_STATE_DELTA",STOP_SENDING_DEV_STATE:"STOP_SENDING_DEV_STATE",GET_AGGREGATED_DATA:"GET_AGGREGATED_DATA",UPDATE_DEVICES:"TREE_UPDATE_DEVICES",UPDATE_SINGLE_DEVICE:"TREE_UPDATE_SINGLE_DEVICE",REMOVE_DEVICES:"TREE_DELETE_SINGLE_DEVICE",GET_DEVICES:"TREE_GET_DEVICES",GET_NRF_FEEDERS:"GET_NRF_FEEDERS",PING:"PING",AUTH_USER:"AUTH_USER",GET_FEED_STATE:"GET_FEED_STATE",STOP_FEED_STATE:"STOP_FEED_STATE",GET_FEED_STATE_DELTA:"GET_FEED_STATE_DELTA",GET_FEED_RFID_STATE:"GET_FEED_RFID_STATE",GET_FEED_RFID_STATE_DELTA:"GET_FEED_RFID_STATE_DELTA",STOP_FEED_RFID_STATE:"STOP_FEED_RFID_STATE",REFRESH_TOKEN:"REFRESH_TOKEN"},S={ALARMS:"alarms",COMMANDS:"commands",RESPONSES:"responses",STATE:"state",AGGREGATED_DATA:"aggregatedData",AUTH:"auth"},I={GET_CONFIGURATION:"GET_CONFIGURATION",SET_CONFIGURATION:"SET_CONFIGURATION",GET_PARAM_OUTS:"GET_PARAM_OUTS",SET_PARAM_OUTS:"SET_PARAM_OUTS",GET_BLOCK_OUTS:"GET_BLOCK_OUTS",SET_BLOCK_OUTS:"SET_BLOCK_OUTS",GET_RTC:"GET_RTC",SET_RTC:"SET_RTC",GET_MOTOR_OVERCURRENTS:"GET_MOTOR_OVERCURRENTS",SET_MOTOR_OVERCURRENTS:"SET_MOTOR_OVERCURRENTS",SET_FORCE_LATE_FEEDING:"SET_FORCE_LATE_FEEDING",GET_SKIP_DOSES:"GET_SKIP_DOSES",SET_SKIP_DOSES:"SET_SKIP_DOSES",GET_SCHEDULE:"GET_SCHEDULE",SET_SCHEDULE:"SET_SCHEDULE",GET_NUTRITION_CURVE:"GET_NUTRITION_CURVE",SET_NUTRITION_CURVE:"SET_NUTRITION_CURVE",START_MOTORS:"SET_START_MOTORS",STOP_MOTORS:"SET_STOP_MOTORS",GET_CONTROLLER_STATUS:"GET_CONTROLLER_STATUS",GET_NON_FEED_DETAILS:"GET_NON_FEED_DETAILS",GET_POWER_ON_EVENTS:"GET_POWER_ON_EVENTS",SET_CLEAR_POWER_ON_EVENTS:"SET_CLEAR_POWER_ON_EVENTS",GET_CLEAR_POE_ORDERS:"GET_CLEAR_POE_ORDERS",GET_SET_RTC_ORDERS:"GET_SET_RTC_ORDERS",SET_CLEAR_FEED_PROBLEM:"SET_CLEAR_FEED_PROBLEM",SET_CLEAR_MOTOR_PROBLEM:"SET_CLEAR_MOTOR_PROBLEM",SET_HOLD_OUT:"SET_HOLD_OUT",GET_HOLD_OUT:"GET_HOLD_OUT",SET_FORCE_FEEDING:"SET_FORCE_FEEDING",FORMAT_FACTORY_CONFIGURATION:"SET_FORMAT_FACTORY_CONFIGURATION",GET_CONSUMPTION:"GET_CONSUMPTION",RESET_CONSUMPTION:"SET_RESET_CONSUMPTION",GET_DEBUG:"GET_DEBUG",GET_DEBUG_INDEX:"GET_DEBUG_INDEX",SET_SINGLE_SCHEDULE:"SET_SINGLE_SCHEDULE",ALERT:"Alert"},N={SET_RTC:"SET_RTC",GET_RTC:"GET_RTC",SIMULATE_WEIGHTS:"SET_SIMULATE_WEIGHTS",GET_CURRENT_DATA:"GET_CURRENT_DATA",GET_EXPEDITION_ANIMAL_COUNT:"GET_EXPEDITION_ANIMAL_COUNT",GET_SEPARATION_ANIMALS_NUMBER:"GET_SEPARATION_ANIMALS_NUMBER",GET_WEIGHT:"GET_WEIGHT",GET_SENSORS_AND_VALVES:"GET_SENSORS_AND_VALVES",GET_DATE:"GET_DATE",GET_WORK_TYPE:"GET_WORK_TYPE",GET_DEFAULT_EXIT:"GET_DEFAULT_EXIT",GET_DEFAULT_EXIT_EXPEDITION:"GET_DEFAULT_EXIT_EXPEDITION",GET_WORK_TYPE_DURATION:"GET_WORK_TYPE_DURATION",GET_EXPEDITION_WORK_TYPE:"GET_EXPEDITION_WORK_TYPE",GET_EXPEDITION_WEIGHT_RANGE:"GET_EXPEDITION_WEIGHT_RANGE",GET_EXPEDITION_COUNTER:"GET_EXPEDITION_COUNTER",GET_SEPARATION_COUNTER:"GET_SEPARATION_COUNTER",GET_SEPARATION_WEIGHT_RANGE:"GET_SEPARATION_WEIGHT_RANGE",GET_SCALE_FACTORS:"GET_SCALE_FACTORS",GET_AVERAGE_WEIGHT_CLOSED:"GET_AVERAGE_WEIGHT_CLOSED",SET_WORK_TYPE:"SET_WORK_TYPE",SET_WORK_TYPE_DURATION:"SET_WORK_TYPE_DURATIONS",SET_VALVE:"SET_VALVE",RESET:"SET_RESET",SET_DEFAULT_EXIT:"SET_DEFAULT_EXIT",SET_DEFAULT_EXIT_EXPEDITION:"SET_DEFAULT_EXIT_EXPEDITION",SET_EXPEDITION_ANIMALS_NUMBER:"SET_EXPEDITION_ANIMALS_NUMBER",SET_EXPEDITION_WEIGHT_RANGE:"SET_EXPEDITION_WEIGHT_RANGE",SET_EXPEDITION_WORK_TYPE:"SET_EXPEDITION_WORK_TYPE",SET_SEPARATION_WEIGHT_RANGE:"SET_SEPARATION_WEIGHT_RANGE",SET_SEPARATION_ANIMAL_COUNT:"SET_SEPARATION_ANIMALS_NUMBER",SET_SCALE:"SET_SCALE",SET_SCALE_FACTOR:"SET_SCALE_FACTORS",CLEAR_INSERTION_DATA:"SET_CLEAR_INSERTION_DATA",GET_ERRORS:"GET_ERRORS",GET_VISITS_IN_WEIGHTS_YESTERDAY:"GET_VISITS_IN_WEIGHTS_YESTERDAY",GET_AVERAGE_WEIGHT_ALL_EXITS_YESTERDAY:"GET_AVERAGE_WEIGHT_ALL_EXITS_YESTERDAY",GET_DAILY_VISITS_NUMBER_YESTERDAY_EXIT1:"GET_DAILY_VISITS_NUMBER_YESTERDAY_EXIT1",GET_DAILY_VISITS_NUMBER_YESTERDAY_EXIT3:"GET_DAILY_VISITS_NUMBER_YESTERDAY_EXIT3",GET_DAILY_VISITS_NUMBER_YESTERDAY_EXIT2:"GET_DAILY_VISITS_NUMBER_YESTERDAY_EXIT2",GET_VISITS_NUMBER_YESTERDAY:"GET_VISITS_NUMBER_YESTERDAY",SET_INSERTED:"SET_INSERTED",GET_ISMAD:"GET_ISMAD",GET_DAILY_VISITS_NUMBER_NOW:"GET_DAILY_VISITS_NUMBER_NOW",GET_DAILY_VISITS_NUMBER_NOW_EXIT1:"GET_DAILY_VISITS_NUMBER_NOW_EXIT1",GET_DAILY_VISITS_NUMBER_NOW_EXIT3:"GET_DAILY_VISITS_NUMBER_NOW_EXIT3",GET_DAILY_VISITS_NUMBER_NOW_EXIT2:"GET_DAILY_VISITS_NUMBER_NOW_EXIT2",GET_RETURN_TO_DEFAULT_EXIT:"GET_RETURN_TO_DEFAULT_EXIT",SET_RETURN_TO_DEFAULT_EXITL:"SET_RETURN_TO_DEFAULT_EXIT",GET_ATTEMPTS_NUMBER:"GET_ATTEMPTS_NUMBER",SET_ATTEMPTS_NUMBER:"SET_ATTEMPTS_NUMBER",GET_EXIT_TIME:"GET_EXIT_TIME",SET_EXIT_TIME:"SET_EXIT_TIME",GET_TARE_STATUS:"GET_TARE_STATUS",SET_TARE_STATUS:"SET_TARE_STATUS",DO_TARE:"SET_DO_TARE",RESET_DAILY_VISITS:"SET_RESET_DAILY_VISITS",SET_AVERAGE_HERD_WEIGHT:"SET_AVERAGE_HERD_WEIGHT",SET_NUMBERS_SEND_TO_EXITS:"SET_NUMBERS_SEND_TO_SIDE_EXITS",SET_AVERAGE_WEIGHT_YESTERDAY:"SET_AVERAGE_WEIGHT_YESTERDAY",SET_MARKING_CONFIG:"SET_MARKING_CONFIG",SET_RESET_DYE_USAGE:"SET_RESET_DYE_USAGE",SET_EXPEDITION_DATA:"SET_EXPEDITION_DATA",SET_CLEAR_ERRORS:"SET_CLEAR_ERRORS"},A={SET_CONFIGURATION:"SET_CONFIGURATION",PING:"SET_PING",GET_CONFIGURATION:"GET_CONFIGURATION",GET_AMBIENT_CONDITIONS:"GET_AMBIENT_CONDITIONS",GET_CLOCK_MENU:"GET_CLOCK_MENU",SET_CLOCK_MENU:"SET_CLOCK_MENU",GET_SERVICE_MENU:"GET_SERVICE_MENU",SET_SERVICE_MENU:"SET_SERVICE_MENU"},R={GET_WEIGHT_CALCULATED:"GET_WEIGHT_CALCULATED",GET_CONFIGURATION:"GET_CONFIGURATION",SET_CONFIGURATION:"SET_CONFIGURATION",GET_WEIGHT_RAW:"GET_WEIGHT_RAW",GET_TARES_SCALES:"GET_TARES_SCALES",SET_TARE:"SET_TARE",SET_SCALE:"SET_SCALE",PING:"SET_PING"},t={TEST_RAW_DATA:"TEST_RAW_DATA",TEST_RAW_DATA_CRC:"TEST_RAW_DATA_CRC",TEST_RAW_DATA_ASCII:"TEST_RAW_DATA_ASCII"},O={GET_CONFIGURATION:"GET_CONFIGURATION",SET_WORK_TYPE:"SET_WORK_TYPE",SET_MOTOR_SETUP:"SET_MOTOR_SETUP",SET_SCHEDULE:"SET_SCHEDULE",SET_NUTRITION_CURVE:"SET_NUTRITION_CURVE",GET_LOGS:"GET_LOGS",GET_MOTOR_SETUP:"GET_MOTOR_SETUP",GET_NUTRITION_CURVE:"GET_NUTRITION_CURVE",GET_SCHEDULE:"GET_SCHEDULE",GET_FEED_EFC_TIME:"GET_FEED_EFC_TIME",GET_FEED_EFC_IMPULSE:"GET_FEED_EFC_IMPULSE",GET_HISTORY_STANDARD:"GET_HISTORY_STANDARD",GET_WORK_TYPE:"GET_WORK_TYPE",DELETE_LOGS:"SET_DELETE_LOGS",START_MOTORS:"SET_START_MOTORS",STOP_MOTORS:"SET_STOP_MOTORS",SET_FEED_EFC_TIME:"SET_FEED_EFC_TIME",SET_FEED_EFC_IMPULSE:"SET_FEED_EFC_IMPULSE",SET_CONFIG_STANDARD:"SET_CONFIG_STANDARD",ADD_PIG:"SET_ADD_PIG",GET_PIG:"GET_PIG",DELETE_PIG:"SET_DELETE_PIG",SET_LOCK:"SET_LOCK",SET_ALERT:"SET_ALERT",GET_DAILY_USAGE:"GET_DAILY_USAGE",GET_DAILY_USAGE_DELTA:"GET_DAILY_USAGE_DELTA",SET_CHAMBER_DEVICES:"SET_CHAMBER_DEVICES",SET_TYPE_EVENT:"SET_TYPE_EVENT",SET_SYNC_DEVICES:"SET_SYNC_DEVICES",GET_UPLOAD_SOFTWARE_STATUS:"GET_UPLOAD_SOFTWARE_STATUS",GET_CURVE_CRC:"GET_CURVE_CRC",GET_SCHEDULE_CRC:"GET_SCHEDULE_CRC",GET_CAN_STATUS:"GET_CAN_STATUS",SET_SKIP_DOSES:"SET_SKIP_DOSES",GET_SKIP_DOSES:"GET_SKIP_DOSES",SET_MINUS_CONFIG:"SET_MINUS_CONFIG",SET_FORCE_FEEDING:"SET_FORCE_FEEDING",SET_SWITCH_MOTOR_ON_INFO:"SET_SWITCH_MOTOR_ON_INFO",SET_CLEAR_FRAM:"SET_CLEAR_FRAM",SET_NRF_POWER:"SET_NRF_POWER",SET_CLEAR_HISTORY:"SET_CLEAR_HISTORY",SET_CONTROL_BOOTLOADER:"SET_CONTROL_BOOTLOADER",GET_FRAM_RAM_STATUS_CRC:"GET_FRAM_RAM_STATUS_CRC",SET_INSEMINATION_PARTURITION:"SET_INSEMINATION_PARTURITION",SET_WATER_EFFICIENCY:"SET_WATER_EFFICIENCY",SET_ADDITIONAL_WATER:"SET_ADDITIONAL_WATER",SET_FEEDING_EFFICIENCY:"SET_FEEDING_EFFICIENCY",SET_ANIMAL_MODIFICATION:"SET_ANIMAL_MODIFICATION"},i={START_ADDRESSING:"ADDR_START_ADDRESSING",START_ADR_WST:"START_ADR_WST",STOP_ADR_WST:"STOP_ADR_WST",START_ADDRESSING_NRF:"START_ADDRESSING_NRF",STOP_ADDRESSING_NRF:"STOP_ADDRESSING_NRF",GET_GATEWAY_TIME:"GET_GATEWAY_TIME",OPEN_SSH:"OPEN_SSH",PING:"GET_PING",GET_NRF_STATS:"GET_NRF_STATS",SET_PLCMNTS:"SET_PLCMNTS",ADDRESS_DELTA:"ADDRESS_DELTA",GET_SCHEMA:"GET_SCHEMA",ADDR_START_SUBADDRESSING_NRF:"ADDR_START_SUBADDRESSING_NRF",GET_QUEUES_LAST_SUCCESS:"GET_QUEUES_LAST_SUCCESS",GET_PIGS_DATA:"GET_PIGS_DATA",GET_ASCII_CLIMATE_TESTING_DATA:"GET_ASCII_CLIMATE_TESTING_DATA",SET_SCHEDULE_OUTPUT:"SET_SCHEDULE_OUTPUT",SET_CLEAR_PROBLEM:"SET_CLEAR_PROBLEM",SET_CHANGE_DISPENSERS_DOSE_CORRECTION:"SET_CHANGE_DISPENSERS_DOSE_CORRECTION",SET_DISPENSERS_DOSE_CORRECTION:"SET_DISPENSERS_DOSE_CORRECTION",SET_SKIP_DOSES_IN_TIME:"SET_SKIP_DOSES_IN_TIME",GET_ALL_ONGOING_ALARMS:"GET_ALL_ONGOING_ALARMS",GET_ALL_ALARMS:"GET_ALL_ALARMS",GET_USAGE_FOR_PIG:"GET_USAGE_FOR_PIG",SET_ANIMAL_CHANGES:"SET_ANIMAL_CHANGES",SET_NEW_INSERTION:"SET_NEW_INSERTION",GET_FEEDING_DATA_FOR_PIG:"GET_FEEDING_DATA_FOR_PIG"},o={SET_CLIMATE_WORK_TYPE_INACTIVE:"SET_CLIMATE_WORK_TYPE_INACTIVE",SET_CLIMATE_WORK_TYPE_MANUAL:"SET_CLIMATE_WORK_TYPE_MANUAL",SET_CLIMATE_WORK_TYPE_AUTOMATIC:"SET_CLIMATE_WORK_TYPE_AUTOMATIC",SET_CLIMATE_WORK_TYPE_CURVE:"SET_CLIMATE_WORK_TYPE_CURVE",SET_CLIMATE_ALARMS:"SET_CLIMATE_ALARMS",SET_MAT_MENU:"SET_MAT_MENU",SET_CLIMATE_HEATING:"SET_CLIMATE_HEATING",SET_CLIMATE_COOLING:"SET_CLIMATE_COOLING",SET_CLIMATE_VENTILATION:"SET_CLIMATE_VENTILATION",SET_CLIMATE_FLAPS:"SET_CLIMATE_FLAPS",SET_CLIMATE_THROTTLE:"SET_CLIMATE_THROTTLE",SET_CLIMATE_SENSORS_CALIBRATION:"SET_CLIMATE_SENSOR_CALIBRATION",SET_CLIMATE_SINGLE_MAT:"SET_CLIMATE_SINGLE_MAT",SET_REQUESTED_TEMPERATURE:"SET_REQUESTED_TEMPERATURE",SET_REQUESTED_TEMPERATURE_DEVIATION:"SET_REQUESTED_TEMPERATURE_DEVIATION",SET_HEATING_DEVIATION:"SET_HEATING_DEVIATION",SET_BANDWIDTH:"SET_BANDWIDTH",SET_MINIMUM_TEMPERATURE_ALARM_DEVIATION:"SET_MINIMUM_TEMPERATURE_ALARM_DEVIATION",SET_MAXIMUM_TEMPERATURE_ALARM_DEVIATION:"SET_MAXIMUM_TEMPERATURE_ALARM_DEVIATION",SET_ABSOLUTE_ALARM:"SET_ABSOLUTE_ALARM",SET_MINIMUM_VENTILATION:"SET_MINIMUM_VENTILATION",SET_MAXIMUM_VENTILATION:"SET_MAXIMUM_VENTILATION",SET_MINIMUM_VENTILATION_DEVIATION:"SET_MINIMUM_VENTILATION_DEVIATION",SET_COOLING_ENABLE_TEMPERATURE:"SET_COOLING_ENABLE_TEMPERATURE",SET_COOLING_WORK_TIME:"SET_COOLING_WORK_TIME",SET_COOLING_BREAK_TIME:"SET_COOLING_BREAK_TIME",SET_COOLING_MAXIMUM_HUMIDITY:"SET_COOLING_MAXIMUM_HUMIDITY",SET_COOLING_MINIMUM_PRESSURE:"SET_COOLING_MINIMUM_PRESSURE",SET_COOLING_MAXIMUM_PRESSURE:"SET_COOLING_MAXIMUM_PRESSURE",SET_MANUAL_VENTILATION:"SET_MANUAL_VENTILATION",SET_DEVICE_ADDRESS:"SET_DEVICE_ADDRESS",SET_OBJECT_DYNAMICS:"SET_OBJECT_DYNAMICS",SET_CHIMNEY_VENTILATORS_COUNT:"SET_CHIMNEY_VENTILATORS_COUNT",SET_MASTERS_COUNT:"SET_MASTERS_COUNT",SET_THROTTLE_VOLTAGE_MIN:"SET_THROTTLE_VOLTAGE_MIN",SET_THROTTLE_VOLTAGE_MAX:"SET_THROTTLE_VOLTAGE_MAX",SET_FLAPS_VOLTAGE_MIN:"SET_FLAPS_VOLTAGE_MIN",SET_FLAPS_VOLTAGE_MAX:"SET_FLAPS_VOLTAGE_MAX",SET_HEATING_BREAK_TIME:"SET_HEATING_BREAK_TIME",SET_HEATING_WORK_TIME:"SET_HEATING_WORK_TIME",SET_VENTILATION_DELAY:"SET_VENTILATION_DELAY",SET_MINIMUM_ROTATION:"SET_MINIMUM_ROTATION",SET_TEMPERATURE_SENSORS_CALIBRATION_1:"SET_TEMPERATURE_SENSORS_CALIBRATION_1",SET_TEMPERATURE_SENSORS_CALIBRATION_2:"SET_TEMPERATURE_SENSORS_CALIBRATION_2",SET_TEMPERATURE_SENSORS_CALIBRATION_3:"SET_TEMPERATURE_SENSORS_CALIBRATION_3",SET_TEMPERATURE_SENSORS_CALIBRATION_4:"SET_TEMPERATURE_SENSORS_CALIBRATION_4",SET_TEMPERATURE_SENSORS_CALIBRATION_5:"SET_TEMPERATURE_SENSORS_CALIBRATION_5",SET_VENTILATION_CYCLE_TIME:"SET_VENTILATION_CYCLE_TIME",SET_VENTILATION_INTENSITY:"SET_VENTILATION_INTENSITY"},D={SET_BEACON_ON:"SET_B_NRF_BEACON_ON",SET_BEACON_OFF:"SET_B_NRF_BEACON_OFF",SET_CHANNEL:"SET_B_NRF_CH_W",GET_CHANNEL:"GET_B_NRF_CH_R",SET_POWER:"SET_B_NRF_POWER_W",GET_POWER:"GET_B_NRF_POWER_R",SET_TOUT:"SET_B_485_TOUT_W",GET_TOUT:"GET_B_485_TOUT_R",B_INFO:"GET_B_INFO",B_BOOT_INFO:"GET_B_BOOT_INFO",B_BOOT_INFO_NRF:"GET_B_BOOT_INFO_NRF",B_NRF_STAT:"GET_B_NRF_STAT",B_485_TOUT_R:"GET_B_485_TOUT_R",B_GET_SCAN_ADDR:"GET_B_GET_SCAN_ADDR",SET_B_SEND_DOZO_PRG:"SET_B_SEND_DOZO_PRG"},r={NO_EVENT:0,INSEMINATION:1,PARTURITION:2},c={ANIMALS:"animals",BUILDINGS:"buildings",DEVICES:"Devices",DICTIONARY:"dictionary",EVENTS:"events",NOTIFICATIONS:"Notifications",SETTINGS:"Settings",TECHNO_GROUPS:"TechnoGroups",USERS:"Users",GROUPS:"AnimalsGroup",ATHENA:"AthenaQueries",SETTLEMENTS:"FarmTimeInterval",TRANSLATIONS:"translations",CHANGE_CLIENT:"cc",ITS:"ITS"},G={SET_START_STOP_MOTOR:"SET_START_STOP_MOTOR",SET_CLEAR_ALARM:"SET_CLEAR_ALARM",SET_SCHEDULE:"SET_SCHEDULE",SET_SCHEDULE_ANALOG:"SET_SCHEDULE_ANALOG",SET_WORK_TYPE:"SET_WORK_TYPE",SET_SENSOR_WORK_TYPE:"SET_SENSOR_WORK_TYPE"}},JFfd:function(E,_,T){"use strict";T.d(_,"a",(function(){return e})),T.d(_,"b",(function(){return a}));const e={INSEMINATIONS:"Inseminations",CONDITION:"Condition",USG:"USG",SOWS_TO_INSEMINATION:"SowsToInsemination",SOWS_TO_TRANSFER:"SowsToTransfer",PLANNED_PARTURITIONS:"PlannedParturitions",SOWS_TO_GRAFTING:"SowsToGrafting",BOARS_TO_GRAFRING:"BoarsToGrafting",PORKER_TO_GRAFTING:"PorkerToGrafting",PIGLET_TO_GRAFTING:"PigletToGrafting",SOWS_FORAGE:"SowsForage",BOARS_FORAGE:"BoarsForage",PORKER_FORAGE:"PorkerForage",PIGLET_FORAGE:"PigletForage",SOWS_DOSATRON:"SowsDosatron",BOARS_DOSATRON:"BoarsDosatron",PORKER_DOSATRON:"PorkerDosatron",PIGLET_DOSATRON:"PigletDosatron",SOWS_STIMULATOR:"SowsStimulators",REMANENT:"Remanent"},a={X_DAYS:"0",END_OF_MONTH:"1",TO_DAY_IN_MONTH:"2",RANGE:"3"}},P0Qa:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={GENERAL:"X",FEEDING_CURVE:"C",FEEDING_SCHEDULE:"S",YEARLY_PLANS:"P",FEEDING_FORAGE:"F",LAYOUT:"L",ECONOMY:"E",DEVICE_TREE:"T",FRAMES:"FRM",COMMANDS:"CMD",ENDPOINT_ARN:"ARN",NOTIFICATIONS:"N",FARM_MAP:"FM",CLIMATE_CURVE:"CC",DEVICE_SETTINGS:"D",SYSTEM_SCHEDULE_WORKTYPE:"SSW",SYSTEM_SCHEDULE:"SS",CLIMATE_SK3_CURVE:"CC3"}},P5Co:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={LOCATION:"location",NUMBER:"number",STRING:"string",DATE:"date",CUSTOM:"custom",DEV_ADDRESS:"address"}},ST2B:function(E,_,T){"use strict";function e(E,_){var T=Object.keys(E);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(E);_&&(e=e.filter((function(_){return Object.getOwnPropertyDescriptor(E,_).enumerable}))),T.push.apply(T,e)}return T}function a(E){for(var _=1;_t.a.createElement("div",null),K=D()({loader:()=>Promise.resolve().then(()=>T("6HiO")),loading:p}),k=D()({loader:()=>Promise.resolve().then(()=>T("ZM30")),loading:p});let y=Object(r.connect)(E=>({user:E.user,path:E.history.path,documents:E.documents.documents,doRedirect:E.history.haveToRedirect,view:E.view.viewProperties,farm:E.location.farm,globalLoading:E.view.globalLoading,general:E.settings.general,maintenance:E.maintenance}))(e=class extends R.Component{constructor(E){super(E),this.setUserLang=()=>{const{dispatch:E,i18n:_}=this.props;let T="en";try{T=window.navigator.language||"en"}catch(e){T="en"}T.includes("-")&&(T=T.split("-")[0]),["en","pl","es","ru"].includes(T)||(T="en"),_.changeLanguage(T),E(Object(c.b)(T))},this.onAddClick=E=>{this.props.history.push("/".concat(this.props.farm,"/eventChooser/animalKind")),this.props.dispatch(Object(F.c)("insertion",{animals:[{rfid:E}],rfids:[{rfid:E}],assignRFID:!0}))},this.setUserLang(),E.dispatch(Object(W.b)())}UNSAFE_componentWillMount(){const{dispatch:E}=this.props;E(Object(U.a)())}componentDidMount(){const{dispatch:E,user:{isAuthenticated:_},path:T,location:e}=this.props;if("/confirm"===e.pathname){let _=V.a.parse(e.search);E(Object(G.a)("/confirm/".concat(_.code,"/").concat(_.username)))}E(Object(c.d)()),_&&E(Object(G.a)(T));let a=Object(H.detect)();window.addEventListener("storage",E=>{"safari"!==a.name&&(E&&!A()(E.key)&&E.key.includes("LastAuthUser")&&null===E.oldValue&&window.location.reload(),E&&!A()(E.key)&&E.key.includes("LastAuthUser")&&null!==E.oldValue&&E.newValue!==E.oldValue&&Object(g.b)()),E&&!A()(E.key)&&E.key.includes("refreshToken")&&E.newValue&&Object(Y.b)(E.newValue),E&&!A()(E.key)&&E.key.includes("deviceKey")&&E.newValue&&Object(Y.b)(null,E.newValue)});let n=null;for(let S=0;SE.BlockAccess).map(E=>E.DocID).forEach(E=>{o.includes(E)||(O=!0)}),O||(O=!n()(e,"Roles",[]).filter(E=>E.Role!==P.c._SUBSCRIPTION).length);let D=R.inMaintenance;return t.a.createElement(t.a.Fragment,null,t.a.createElement("div",{className:"App"},t.a.createElement(M.a,{fluid:!0},t.a.createElement(u.a,{style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:2137},isLoading:E||T||I}),t.a.createElement("div",{className:"error-main-container"},!E&&!D&&_&&t.a.createElement(t.a.Fragment,null,!O&&t.a.createElement(s.a,null))),!E&&!D&&_&&S&&N&&t.a.createElement(K,null),t.a.createElement("div",{className:"content",id:"center-content"},t.a.createElement(b.a,null),t.a.createElement(l.a,null),!E&&t.a.createElement(i.a,{childProps:{FarmID:a,isAuthenticated:_,isAuthenticating:T}})),!D&&_&&Object(v.getRFIDTagReader)()&&t.a.createElement(f.a,null))),!D&&_&&t.a.createElement(k,null),t.a.createElement(d.b,null))}})||e;y=Object(r.connect)(null,E=>Object(L.b)({show:m.d,hide:m.b},E))(y);y=Object(O.o)(y),y=Object(C.a)(y),y=Object(h.a)()(y),_.a=y},r8wt:function(E,_,T){"use strict";T.d(_,"b",(function(){return e})),T.d(_,"a",(function(){return a}));const e={STIMULATOR:1,FORAGE:2,VACCINE:3,DOSATRON:4},a={CASTRATE:1,TAILS:2,TEETH:3,WEIGHTING:4}},s506:function(E,_,T){"use strict";T.d(_,"c",(function(){return e})),T.d(_,"d",(function(){return a})),T.d(_,"b",(function(){return n})),T.d(_,"a",(function(){return S}));const e={SERVICE:"SERVICE",OWNER:"OWNER",MANAGER:"MANAGER",DEVICE_STANDARD_READ:"DEVICE_STANDARD_READ",DEVICE_STANDARD_WRITE:"DEVICE_STANDARD_WRITE",DEVICE_DI_READ:"DEVICE_DI_READ",DEVICE_DI_WRITE:"DEVICE_DI_WRITE",ANIMAL_READ:"ANIMAL_READ",ANIMAL_WRITE:"ANIMAL_WRITE",GENERAL_READ:"GENERAL_READ",GENERAL_WRITE:"GENERAL_WRITE",SUBSCRIBE:"SUBSCRIPTION",_SUBSCRIPTION:"_SUBSCRIPTION",_SERVICE:"_SERVICE",_TRANSLATION:"_TRANSLATION",_REPORT_WRITE:"_REPORT_WRITE",_REPORT_READ:"_REPORT_READ",_GENERAL_READ:"_GENERAL_READ",_DEVICE_SILO:"_DEVICE_SILO",_DEVICE_FEEDING:"_DEVICE_FEEDING",_DEVICE_CLIMATE:"_DEVICE_CLIMATE",_DEVICE_CHAIN:"_DEVICE_CHAIN",_DEVICE_CAGE:"_DEVICE_CAGE",_BUILDING:"_BUILDING",_BREEDING:"_BREEDING",_BILLING:"_BILLING",_USER_MANAGE:"_USER_MANAGE",_DEVICE_PIGLET_CAGE:"_DEVICE_PIGLET_CAGE",_DEVICE_COUNTER:"_DEVICE_COUNTER",_DEVICE_CONFIG:"_DEVICE_CONFIG"},a={GENERAL_READ:"_GENERAL_READ",BREEDING:"_BREEDING",DEVICE_CAGE:"_DEVICE_CAGE",DEVICE_SILO:"_DEVICE_SILO",DEVICE_CONFIG:"_DEVICE_CONFIG",REPORT_WRITE:"_REPORT_WRITE",REPORT_READ:"_REPORT_READ",REPORTS:"_REPORT",DEVICE_FEEDING:"_DEVICE_FEEDING",DEVICE_CLIMATE:"_DEVICE_CLIMATE",DEVICE_CHAIN:"_DEVICE_CHAIN",BUILDING:"_BUILDING",BILLING:"_BILLING",DEVICE_PIGLET_CAGE:"_DEVICE_PIGLET_CAGE",DEVICE_COUNTER:"_DEVICE_COUNTER",USER_MANAGE:"_USER_MANAGE",SERVICE:"_SERVICE"},n={NO_ACCESS:null,BASIC:"BASIC",EXTENDED:"EXTENDED"},S={ADMINISTRATION:"administration",ALARM:"alarms",CAGE:"cages",CHAIN:"chains",CLIMATE:"climates",COUNTER:"counters",DISPENSER_5G:"dispensers5G",DISPENSER:"dispensers",PORKER:"porkers",SMALL_CAGE:"smallCages",SILO:"siloses",SOW:"sows"}},tkTQ:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={SOW:0,PIG:1,PIGLET:2,PORKER:3,BOAR:4,RENOVATION_SOW:5}},u5mRF:function(E,_,T){"use strict";var e=T("q1tI"),a=T.n(e),n=T("Fo9A"),S=T("XEta"),I=T.n(S),N=T("58Gz"),A=T.n(N),R=T("GvuJ"),t=T.n(R);_.a=Object(n.createDevTools)(a.a.createElement(t.a,{toggleVisibilityKey:"ctrl-h",changePositionKey:"ctrl-q",changeMonitorKey:"ctrl-m"},a.a.createElement(I.a,null),a.a.createElement(A.a,null)))},uVg0:function(E,_,T){"use strict";T.d(_,"a",(function(){return e})),T.d(_,"b",(function(){return a}));const e={INFO:"INFO",WARN:"WARN",ALERT:"ALERT"},a={PLACE:"Place",NO_INSEMINATION:"NoInsemination",TOO_FAST_BIRTH:"TooFastBirth",SEPARATION_WRONG_AMOUNT:"SeparationWrongAmount",TOO_FAST_INSEMINATION:"TooFastInsemination",DEVICE_ALARM:"DeviceAlarm",ANIMAL:"Animal",TREATMENT:"Treatment",USG_NO_INSEMINATION:"USGNoInsemination",BIRTH_NO_PREGNANCY:"BirthNoPregnancy",BIRTH_NEGATIVE_USG:"BirthNegativeUSG",FALL_PIGLETS_WRONG_AMOUNT:"FallPigletsWrongAmount",MOMMY_WRONG_AMOUNT:"MommyWrongAmount",AUTO_CREATE_ANIMAL:"AutoCreateAnimal",NO_PREGNANCY_NO_INSEMINATION:"NoPregnancyNoInsemination",REPORT_GENERATED:"RaportGenerated"}},ujxO:function(E,_,T){"use strict";T.d(_,"a",(function(){return e}));const e={XS:576,SM:768,MD:992,LG:1200,XL:1600}},zDJl:function(E,_,T){"use strict";T.d(_,"d",(function(){return e})),T.d(_,"f",(function(){return a})),T.d(_,"e",(function(){return n})),T.d(_,"h",(function(){return S})),T.d(_,"g",(function(){return I})),T.d(_,"a",(function(){return N})),T.d(_,"i",(function(){return A})),T.d(_,"b",(function(){return R})),T.d(_,"c",(function(){return t}));const e={GATEWAY:"GW",BRIDGE:"BR",SCALE:"SC",CAGE:"CA",CLIMATE:"CL",CLIMATE_SK3:"CL_SK3",DISPENSER:"DI",DISPENSER_NRF:"DI_NRF",DISPENSER_NRF_MULTI:"DI_MULTI",BRIDGE_WORK:"BR_WORK",BRIDGE_CONF:"BR_CONF",DI_TIME:"DI_TIME",BROADCAST:"BROADCAST",THERMOEYE:"TE",ANTENNA_RFID:"ANT",WATER_FLOW_METER:"MBUS_WATER",ELECTRICITY_FLOW_METER:"MBUS_ELECTRIC",CHAIN_FEEDING:"SP",SMALL_CAGE:"PS"},a={DISPENSER_DTM:"DTM",DISPENSER_NRF:"NRF",ALL:"ALL"},n={STOP:0,PAUSE:1,ACTIVE:2,NOT_CONNECTED:3,ALERTED:4,NOT_FEED:5},S={RS:0,CAN_0:1,CAN_1:2,RS485_0:3,RS485_1:4,NRF_0:5,NRF_1:6,NRF_2:7,RS422:8,DEBUG:9,LCD:10,BRIDGE_CONFIGURATION:11,ERROR:12,LOG:13,BRIDGE_MBUS:14,BRIDGE_WORK:15},I={WST:"WST",CAN:"CAN",NRF:"NRF",MODBUS:"MBUS",BRIDGE_CONF:"BRIDGE_CONF",BRIDGE_WORK:"BRIDGE_WORK",ERROR_BRIDGE:"BERR",LOG_BRIDGE:"BLOG",LCD:"LCD",SLIP:"SLIP",RFID:"RFID",BRIDGE_MBUS:"BRIDGE_MBUS"},N=(I.CAN,I.CAN,I.WST,I.NRF,I.NRF,I.NRF,I.LCD,{NORMAL:"",CONFIGURATION:"_CONF"}),A={SHADOW:"shadow",DYNAMO:"dynamo",NO_DATA:"no_data"},R={MANUAL:0,TRAINING_1:1,TRAINING_2:2,TRAINING_3:3,SEPARATION:4,EXPEDITION:5},t={INACTIVE:0,MANUAL:1,AUTOMATIC:2,SCHEDULE:3}}}]); //# sourceMappingURL=main~21833f8f.a12ff577.chunk.js.map