export const shared_consts = {

  Accepted: {
    CHECK_READ_GUIDELINES: {
      value: 1,
      label: 'steps.linee_guida',
      icon: 'fas fa-user-shield',
      color: 'red',
    },
    CHECK_SEE_VIDEO_PRINCIPI: {
      value: 2,
      label: 'steps.video_intro',
      icon: 'fas fa-tools',
      color: 'green',
    },
  },

  QUERYTYPE_MYGROUP: 1,
  QUERYTYPE_REFUSED_USER_GRP: 2,
  ALL_SAW_AND_ACCEPTED: 3,
  QUERYTYPE_CIRCUIT: 10,
  QUERYTYPE_REFUSED_USER_CIRCUIT: 12,
  QUERYTYPE_LIST_MOVEMENTS: 15,
  QUERYTYPE_LIST_ALLMOVEMENTS: 16,

  FILTER_EXTRALIST_NOT_REGISTERED: 1,
  FILTER_EXTRALIST_NOT_CONTACTED: 2,
  FILTER_EXTRALIST_WITH_NOTE: 4,
  FILTER_USER_NO_ZOOM: 8,
  FILTER_USER_NO_INVITANTE: 16,
  FILTER_USER_NO_TELEGRAM_ID: 32,
  FILTER_USER_CODICE_AUTH_TELEGRAM: 64,
  FILTER_USER_NO_EMAIL_VERIFICATA: 128,
  FILTER_USER_NO_DREAM: 256,
  FILTER_USER_TELEGRAM_BLOCKED: 1024,
  FILTER_ATTIVI: 2048,
  FILTER_NASCOSTI: 4096,
  FILTER_NAVI_NON_PRESENTI: 8192,
  FILTER_QUALIFIED: 16384,
  FILTER_ASK_ZOOM_VISTO: 32768,
  FILTER_HOURS_MYLIST: 65536,
  FILTER_HOURS_ALL: 131072,
  FILTER_REPORTED: 262144,
  FILTER_TO_MAKE_MEMBERSHIP_CARD: 524288,
  FILTER_MEMBERSHIP_CARD_OK: 1048576,
  FILTER_USER_NO_VERIFIED_APORTADOR: 2097152,
  FILTER_USER_SI_TELEGRAM_ID: 4194304,
  FILTER_USER_WITHOUT_USERNAME_TELEGRAM: 8388608,

  OPTIONS_SEARCH_ONLY_FULL_WORDS: 1,
  OPTIONS_SEARCH_USER_ONLY_FULL_WORDS: 2,
  OPTIONS_SEARCH_USER_ALL_WORDS: 4,

  FRIENDSCMD: {
    SETTRUST: 121,
    REQFRIEND: 125,
    SETFRIEND: 132,
    REMOVE_FROM_MYFRIENDS: 144,
    REFUSE_REQ_FRIEND: 145,
    CANCEL_REQ_FRIEND: 146,
    BLOCK_USER: 155,
    UNBLOCK_USER: 156,
    REPORT_USER: 158,
    FIND_PEOPLE: 166,
  },

  GROUPSCMD: {
    SETTRUST: 1121,
    REQGROUP: 1125,
    SETGROUP: 1132,
    REMOVE_FROM_MYGROUP: 1144,
    REFUSE_REQ_GROUP: 1145,
    CANCEL_REQ_GROUP: 1146,
    BLOCK_GROUP: 1155,
    FIND_GROUP: 1166,
    DELETE_GROUP: 1170,
    ADDADMIN_OFMYGROUP: 1180,
    REMOVEADMIN_OFMYGROUP: 1185,
  },

  CIRCUITCMD: {
    REQ: 2000,
    SET: 2001,
    REMOVE_FROM_MYLIST: 2144,
    REFUSE_REQ: 2145,
    CANCEL_REQ: 2146,
    DELETE: 2170,
    ADDADMIN: 2180,
    REMOVEADMIN: 2185,
    SENDCOINS_REQ: 2200,
    SENDCOINS_ACCEPT: 2210,
    SENDCOINS_REFUSE: 2220,
  },

  PUBTOSHARE: {
    ALL: 0,
    ONLY_TABLE_FOLLOW: 1,
  },

  REPORT_FILT_RESP: 1,
  REPORT_FILT_ATTIVITA: 2,

  TAB_COUNTRY: 'countries',
  TAB_CITIES: 'cities',
  TAB_PROVINCES: 'provinces',
  TAB_PHONES: 'phones',
  TAB_SITES: 'sites',
  TAB_SETTINGS: 'settings',

  KEY_TO_CRYPTED: ['PWD_FROM'],

  TablePickup: ['countries', 'phones', 'cities'],

  PARAM_SHOW_PROVINCE: 1,

  TABLES_MYSKILLS: 'myskills',
  TABLES_MYBACHECAS: 'mybachecas',
  TABLES_MYHOSPS: 'myhosps',
  TABLES_MYGOODS: 'mygoods',
  TABLES_MYEVENTS: 'myevents',

  TABLES_ENABLE_GETREC_BYID: ['mybachecas', 'myhosps'],

  TABLES_USER_INCLUDE_MY: ['mygroups'],
  TABLES_GETCOMPLETEREC: ['myskills', 'mybachecas', 'myhosps', 'mygoods'],
  TABLES_WITH_FILTER_FIELD: ['caldate'],
  TABLES_WITH_SPECIAL_FILTER: ['pub_to_share'],
  COL_WITH_FILTER_GTE: ['numMaxPeopleHosp'],
  TABLES_WITH_DATE: ['mybachecas', 'myhosps'],
  TABLES_WITH_SORTING: ['mybachecas', 'myhosps'],
  TABLES_REC_ID: ['skills', 'goods', 'subskills', 'myskills', 'mybachecas', 'myhosps', 'mygoods'],

  // costanti.VISUTABLE_SCHEDA_USER, VISUTABLE_SCHEDA_GROUP, VISUTABLE_USER_TABGROUP, VISUTABLE_USER_TABCIRCUIT
  VERTIC_SHOW_GRID: [-1, 2, -3, -4, -5],

  TABLES_UPDATE_LASTIFIED: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'bots'],
  TABLES_FINDER: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'mygroups'],
  TABLES_VISU_CMYSRECCARD: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'mygroups'],
  TABLES_SHOW_ADTYPE: ['myskills', 'mygoods'],

  TABLES_VISU_LISTA_USER: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'users'],

  TABLES_VISU_IMG: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'mygroups'],
  TABLES_DIRECTORY_A_PARTE: ['mygroups'],
  TABLES_WITH_ADMINS: ['mygroups', 'circuits'],
  TABLES_DIRECTORY_SINGLE_IMG: ['circuits'],

  VISIB_ALL: 0,
  VISIB_ONLYIF_VERIFIED: 1,
  VISIB_ONLY_MANAGER: 2,
  VISIB_ONLY_ADMIN: 4,

  Visibility_Group: {
    PRIVATE: 1,
    HIDDEN: 2,
    // PASSWORD: 4,
  },

  BOTTYPE_NONE: 0,
  BOTTYPE_PAGE: 1,
  BOTTYPE_LINK: 2,
  BOTTYPE_TEXT: 3,
  BOTTYPE_MENU: 4,

  CashType: {
    None: 0,
    Incoming: 1,
    Outcoming: 2,
  },

  Cmd: {
    PROVINCE: 1,
    COMUNI: 2,
    CITIES_SERVER: 3,
    CAT_SKILL_TXT: 4,
    CAT_NO_SPAZI: 5,
    CAT_GOODS_TXT: 10,
  },

  BotType: [
    {
      value: 0,
      label: '[Nessuno]',
    },
    {
      value: 1,
      label: 'Pagina',
    },
    {
      value: 2,
      label: 'Link',
    },
    {
      value: 3,
      label: 'Testo',
    },
    {
      value: 4, // BOTTYPE_MENU
      label: 'Menu',
    },
  ],

  Shippings: [
    {
      label: 'Di Persona',
      value: 1,
    },
    {
      label: 'Tramite Corriere',
      value: 2,
    },
    {
      label: 'Tramite Posta',
      value: 3,
    },
  ],

  OtherFilters: [
    {
      label: 'AutoProduzione',
      value: 1,
    },
    {
      label: 'Ecovillaggio',
      value: 2,
    },
    {
      label: 'Azienda Prodotti Locali',
      value: 4,
    },
    {
      label: 'Upcycle',
      value: 8,
    },
  ],

  TypeHosps: [
    {
      value: 1,
      label: 'Scambio Casa',
    },
    {
      value: 2,
      label: 'Ospitalità',
    }
  ],

  TypeAccom: [
    {
      value: 1,
      label: 'Letti matrimoniali',
    },
    {
      value: 2,
      label: 'Letti singoli',
    },
    {
      value: 3,
      label: 'Divani-letto',
    },
    {
      value: 4,
      label: 'Almaca',
    },
    {
      value: 5,
      label: 'sul materasso',
    },
    {
      value: 6,
      label: 'sul tappeto',
    },
    {
      value: 7,
      label: 'sacco a pelo',
    },
    {
      value: 8,
      label: 'Culla',
    },
  ],

  LocationAccom: [
    {
      value: 1,
      label: 'Camera Privata',
    },
    {
      value: 2,
      label: 'Camera Condivisa',
    },
    {
      value: 3,
      label: 'Soggiorno',
    },
    {
      value: 4,
      label: 'Camper',
    },
    {
      value: 5,
      label: 'Roulotte',
    },
    {
      value: 6,
      label: 'Tenda',
    },
    {
      value: 7,
      label: 'Casetta sull\'Albero',
    },
    {
      value: 8,
      label: 'Yurta',
    },
    {
      value: 9,
      label: 'Giardino',
    },
    {
      value: 10,
      label: 'Aria aperta',
    },
  ],


  People: [
    {
      value: 0,
      label: 'Nessuno',
    },
    {
      value: 1,
      label: '1',
    },
    {
      value: 2,
      label: '2',
    },
    {
      value: 3,
      label: '3',
    },
    {
      value: 4,
      label: '4',
    },
    {
      value: 5,
      label: '5',
    },
    {
      value: 6,
      label: '6',
    },
    {
      value: 7,
      label: '7',
    },
    {
      value: 8,
      label: '8',
    },
    {
      value: 9,
      label: '9',
    },
    {
      value: 10,
      label: '10',
    },
    {
      value: 11,
      label: '11',
    },
    {
      value: 12,
      label: '12',
    },
    {
      value: 15,
      label: '15',
    },
    {
      value: 20,
      label: '20',
    },
  ],

  Preferences: [
    {
      value: 2,
      label: 'Si accettano cani',
    },
    {
      value: 3,
      label: 'Si accettano gatti',
    },
    {
      value: 4,
      label: 'E\' consentito fumare in casa',
    },
    {
      value: 5,
      label: 'Accessibile con sedia a rotelle',
    },
    {
      value: 6,
      label: 'Parcheggio gratuito nella proprietà',
    },
    {
      value: 7,
      label: 'Wi-fi disponibile',
    },
    {
      value: 8,
      label: 'Sono permessi soggiorni a lungo termine',
    },
    {
      value: 9,
      label: 'Cucina Vegetariana',
    },
    {
      value: 10,
      label: 'Cucina Vegana',
    },
    {
      value: 11,
      label: 'Uso della Cucina',
    },
    {
      value: 12,
      label: 'Uso della Lavatrice',
    },
    {
      value: 13,
      label: 'Aria condizionata',
    },
    {
      value: 14,
      label: 'Ventilatore',
    },
    {
      value: 15,
      label: 'Doccia all\'aperto',
    },
    {
      value: 16,
      label: 'TV',
    },
    {
      value: 17,
      label: 'Eventi consentiti',
    },
    {
      value: 18,
      label: 'Adatto a bambini da 2 a 12 anni',
    },
    {
      value: 19,
      label: 'Adatto ai neonati (fino ai 2 anni)',
    },
    {
      value: 20,
      label: 'Biancheria inclusa',
    },
    {
      value: 21,
      label: 'Biancheria su richiesta (a parte)',
    },
    {
      value: 22,
      label: 'Asciugamani',
    },
    {
      value: 23,
      label: 'Asciugacapelli',
    },
  ],

  Regions: [
    {
      value: 'ABR',
      label: 'Abruzzo',
    },
    {
      value: 'BAS',
      label: 'Basilicata',
    },
    {
      value: 'CAL',
      label: 'Calabria',
    },
    {
      value: 'CAM',
      label: 'Campania',
    },
    {
      value: 'EMR',
      label: 'Emilia-Romagna',
    },
    {
      value: 'FVG',
      label: 'Friuli Venezia Giulia',
    },
    {
      value: 'LAZ',
      label: 'Lazio',
    },
    {
      value: 'LIG',
      label: 'Liguria',
    },
    {
      value: 'LOM',
      label: 'Lombardia',
    },
    {
      value: 'MAR',
      label: 'Marche',
    },
    {
      value: 'MOL',
      label: 'Molise',
    },
    {
      value: 'PIE',
      label: 'Piemonte',
    },
    {
      value: 'PUG',
      label: 'Puglia',
    },
    {
      value: 'RSM',
      label: 'Repubblica di San Marino',
    },
    {
      value: 'SAR',
      label: 'Sardegna',
    },
    {
      value: 'SIC',
      label: 'Sicilia',
    },
    {
      value: 'TOS',
      label: 'Toscana',
    },
    {
      value: 'TAA',
      label: 'Trentino-Alto Adige',
    },
    {
      value: 'UMB',
      label: 'Umbria',
    },
    {
      value: 'VDA',
      label: 'Valle d\'Aosta',
    },
    {
      value: 'VEN',
      label: 'Veneto',
    },
    {
      value: 'EST',
      label: 'Estero',
    },
    {
      value: 'ONL',
      label: 'On Line',
    },
  ],

  Lang: [
    {
      value: 'it',
      label: 'Italiano',
    },
    {
      value: 'es',
      label: 'Spagnolo',
    },
    {
      value: 'enUs',
      label: 'Inglese',
    },
  ],

  Visibility: [
    {
      value: 1,
      label: 'Verificato',
    },
    {
      value: 2,
      label: 'Gestione',
    },
    {
      value: 4,
      label: 'Admin',
    },
  ],

  Cat_Interesse_Arcadei: [
    {
      value: 1,
      label: 'Agricoltura sostenibile e naturale, autonomia alimentare locale (orto, g.a.s.)',
    },
    {
      value: 2,
      label: 'Creazione ed Integrazione ecologica di nuove strutture Abitative, rimboschimento, conservazione del territorio.',
    },
    {
      value: 4,
      label: 'Economia circolare e creazione di sistemi di unità di conto scambio beni e servizi, sistemi di baratto, dono e solidarietà.',
    },
    {
      value: 8,
      label: 'Ricerca, sviluppo e implementazione di tecnologie di approvigionamento energetico.',
    },
    {
      value: 16,
      label: 'Risveglio del potenziale umano e ricerca spirituale.',
    },
    {
      value: 32,
      label: 'Benessere, salute e guarigione relazionale della comunità.',
    },
    {
      value: 64,
      label: 'Formazione, informazione, divulgazione, Educazione e trasmissione generazionale della conoscenza.',
    },
    {
      value: 128,
      label: 'Convivialità, Arte e Cultura. Tutela, conservazione e promozione delle tradizioni e culture locali.',
    },
  ],

  Pub_to_Share: [
    {
      value: 0,
      label: 'Tutti',
    },
    {
      value: 1,
      label: 'Miei Gruppi',
    },
  ],


  VisibilGroup: [
    {
      value: 1,
      label: 'Privato',
      hint: 'Solo i membri possono vedere chi fa parte del gruppo'
    },
    {
      value: 2,
      label: 'Nascosto',
      hint: 'il Gruppo non sarà visibile nella ricerca'
    },
  ],

  StatusCircuit: [
    {
      value: 0,
      label: '',
      hint: ''
    },
    {
      value: 1,
      label: 'Creazione Gruppo in corso',
      hint: 'Prima di abilitare il circuito monetario RIS, è consigliato raggiungere un certo numero di partecipanti.',
      icon: 'fas fa-users',
    },
    {
      value: 2,
      label: 'Sottoscrizione regolamento',
      hint: 'I membri devono ora accettare il regolamento prima di attivare gli scambi in RIS',
      icon: 'far fa-hourglass',
    },
    {
      value: 3,
      label: 'Circuito Abilitato️',
      hint: 'il Circuito è stato abilitato allo scambio di monete RIS',
      icon: 'far fa-check-circle',
    },
  ],

  Permissions: {
    Admin: {
      value: 1,
      label: 'pages.Admin',
      icon: 'fas fa-user-shield',
      color: 'red',
    },
    Manager: {
      value: 2,
      label: 'otherpages.manage.manager',
      icon: 'fas fa-tools',
      color: 'green',
    },
    Teacher: {
      value: 4,
      label: 'event.teacher',
      icon: 'fas fa-user-tie',
      color: 'blue',
    },
    Facilitatore: {
      value: 8,
      label: 'dashboard.facilitatore',
      icon: 'fas fa-user-tie',
      color: 'fuchsia',
    },
    Editor: {
      value: 16,
      label: 'dashboard.Editor',
      icon: 'fas fa-user-tie',
      color: 'orange',
    },
    Zoomeri: {
      value: 32,
      label: 'dashboard.zoomeri',
      icon: 'fas fa-user-tie',
      color: 'yellow',
    },
    Department: {
      value: 64,
      label: 'pages.department',
      icon: 'fas fa-user-tie',
      color: 'yellow',
    },
  },

  MessageOptions: {
    Notify_ByEmail: 2,
    Notify_ByPushNotification: 4,
  },

  CmdToSend: {
    SHARE_MSGREG: 1,
    SHARE_TEXT: 2,
  },

  TypeMsg: {
    SEND_TO_ALL: 1,
    SEND_TO_SOCI: 2,
    SEND_TO_SOCIO_RESIDENTE: 3,
    SEND_TO_NON_SOCI: 10,
    SEND_TO_PAOLO: 20,
    SEND_TO_USER: 25,
    SEND_TO_GROUP: 30,
    SEND_TO_MYSELF: 40,
    SEND_TO_TELEG_NO_USERNAME_TELEG: 50,
    SEND_TO_TELEG_NO_VERIF_BY_APORTADOR: 60,
  },

  TypeMsg_Actions: {
    NORMAL: 0,
    YESNO: 1,
    OPZ1_2: 2,
  },

  whatMsgToSend: {
    MSG_OF_TEMPLATE: 1,
    MSG_TEXT: 2,
  },

  selectwhatMsgToSend: [
    {
      id: 1,
      label: 'Messaggio su Template',
      value: 1,  //MSG_OF_TEMPLATE
    },
    {
      id: 2,
      label: 'Messaggio di Testo',
      value: 2,  // MSG_TEXT
    },
  ],

  selectActions: [
    {
      id: 0,
      label: 'Normale',
      value: 0,
    },
    {
      id: 1,
      label: 'Si / No',
      value: 1,
    },
    {
      id: 2,
      label: 'Opzione 1 / Opzione 2',
      value: 2,
    },
  ],

  selectSendReally: [
    {
      id: 0,
      label: 'Vedi quanti msg saranno inviati',
      value: false,
    },
    {
      id: 1,
      label: 'Invia il messaggio veramente',
      value: true,
    },
  ],
  selectDestination: [
    {
      id: 0,
      label: 'A Tutti',
      value: 1,
    },
    {
      id: 1,
      label: 'Solo ai Soci',
      value: 2,
    },
    {
      id: 2,
      label: 'Solo ai Soci Residenti',
      value: 3,
    },
    {
      id: 3,
      label: 'Solo ai NON Soci',
      value: 10,
    },
    {
      id: 4,
      label: 'a Paolo (test)',
      value: 20,
    },
    {
      id: 5,
      label: 'a un Utente',
      value: 25,  //TypeMsg.SEND_TO_USER
    },
    {
      id: 6,
      label: 'a un Gruppo',
      value: 30,  //SEND_TO_GROUP: 30,

    },
    {
      id: 7,
      label: 'a me stesso',
      value: 40,  //SEND_TO_MYSELF: 40,

    },
    {
      id: 8,
      label: 'Abilitati Telegram (senza Username telegram)',
      value: 50,  //SEND_TO_TELEG_NO_USERNAME_TELEG: 50,

    },
    {
      id: 9,
      label: 'Abilitati Telegram (Non Verificati dall\'Invitante)',
      value: 60,  //SEND_TO_TELEG_NO_VERIF_BY_APORTADOR: 60,

    },
  ],

  OrderStatus: {
    NONE: 0,
    IN_CART: 1,
    CHECKOUT_SENT: 2,
    ORDER_CONFIRMED: 3,
    PAYED: 4,
    DELIVEDED: 5,
    RECEIVED: 6,
    CANCELED: 10,
  },

  OrderStatusView: [
    2,
    3,
    4,
    6,
    10,
  ],

  OrderStatusStr: [
    {
      label: 'Nessuno',
      value: 0,
    },
    {
      label: 'In Carrello',
      value: 1,
    },
    {
      label: 'Ordine in Lavorazione',
      value: 2,
    },
    {
      label: 'Ordine Confermato',
      value: 3,
    },
    {
      label: 'Pagato',
      value: 4,
    },
    {
      label: 'Spedito',
      value: 5,
    },
    {
      label: 'Ricevuto',
      value: 6,
    },
    {
      label: 'Cancellato',
      value: 10,
    },
  ],

  ConfSite: {
    Notif_Reg_Bot_ToManagers: 1,
    Notif_Reg_Push_Admin: 2,
    Need_Aportador_On_DataReg_To_Verify_Reg: 4,
  },

  MsgTeleg: {
    SHARE_MSGREG: 1,
    SHARE_TEXT: 2,
  },

  TypeMsgTemplate: {
    MSG_BENVENUTO: 2010,
    MS_SHARE_LINK: 2000
  },

  TypeSend: {
    PUSH_NOTIFICATION: 1,
    TELEGRAM: 2,
  },

  UsersNotif: {
    NEW_ADV_CITY: 1,
    NEW_ADV_PROVINCE: 2,
    NEW_ADV_REGION: 4,
    NEW_ADV_MY_GROUPS: 8,
    NEW_ADV_MY_RIS_CIRCUIT: 16,
    NEW_ADV_SECTOR: 32,
  },

  StatusNotifs: {
    STATUS_FRIENDS_ACCEPTED: 1,
    STATUS_FRIENDS_REFUSED: 2,
  },

  GroupsNotifs: {
    STATUS_GROUPS_NEW: 1,
    STATUS_GROUPS_ACCEPTED: 3,
    STATUS_GROUPS_REFUSED: 4,
    STATUS_GROUPS_BLOCKED: 5,
    STATUS_GROUPS_DELETED: 6,
    STATUS_GROUPS_REMOVED: 7,
  },

  QualiNotifs: {
    CIRCUITS: 1,
    OTHERS: 2,
  },

  TypeNotifs: {
    TYPEDIR_BACHECA: 1,
    ID_BACHECA_NEW_GOOD: 1,
    ID_BACHECA_NEW_SERVICE: 2,

    TYPEDIR_EVENTS: 2,
    ID_EVENTS_NEW_REC: 1,
    ID_EVENTS_REMOVE_REC: 2,

    TYPEDIR_FRIENDS: 3,
    ID_FRIENDS_NEW_REC: 1,
    ID_FRIENDS_ACCEPTED: 2,
    ID_FRIENDS_REFUSED: 4,
    ID_FRIENDS_ACCEPTED_MY_REQUEST: 8,
    ID_FRIENDS_REPORTED: 16,
    ID_FRIENDS_UNBLOCKED: 32,

    TYPEDIR_GROUPS: 4,
    ID_GROUP_NEW_REC: 1,
    ID_GROUP_ACCEPTED: 2,
    ID_GROUP_REFUSED: 4,
    ID_GROUP_REQUEST_TO_ENTER: 8,
    ID_GROUP_BLOCK_USER: 16,
    ID_GROUP_DELETE_USER: 32,
    ID_GROUP_REMOVED: 64,
    ID_GROUP_ADDED_ADMIN_OFMYGROUP: 128,
    ID_GROUP_REMOVED_ADMIN_OFMYGROUP: 256,

    TYPEDIR_CIRCUITS: 5,
    ID_CIRCUIT_NEW_REC: 1,
    ID_CIRCUIT_ACCEPTED: 2,
    ID_CIRCUIT_REFUSED: 4,
    ID_CIRCUIT_REQUEST_TO_ENTER: 8,
    ID_CIRCUIT_BLOCK_USER: 16,
    ID_CIRCUIT_DELETE_USER: 32,
    ID_CIRCUIT_REMOVED: 64,
    ID_CIRCUIT_ADDED_ADMIN: 128,
    ID_CIRCUIT_REMOVED_ADMIN: 256,
    ID_CIRCUIT_SENDCOINSREQ: 512,
    ID_CIRCUIT_COINS_ACCEPTED: 1024,
    ID_CIRCUIT_COINS_REFUSED: 2048,
    ID_CIRCUIT_SENDCOINSREQ_SENT: 4096,
    ID_CIRCUIT_COINS_ACCEPTED_SENT: 8192,
    ID_CIRCUIT_COINS_REFUSED_SENT: 16384,

    TYPEDIR_BOOKING: 6,

    TYPEDIR_MSGS: 7,
    ID_MSGS_NEW_REC: 1,

    TYPEDIR_TEST: 444,
    ID_TEST_NEW_REC: 1,
  },

  TypeNotifs_Test: [
    {
      value: 1, //
      labeltrans: 'typenotifs.test',
      descr: 'typenotifs.new_rec_bacheca_descr',
      icon:'fas fa-house-user',
      list: [
        {
          value: 1, // ID_TEST_NEW_REC
          labeltrans: 'notifsid.test_new',
        },
      ],
    },
    ],

  TypeNotifs_Arr: [
    {
      value: 1, //
      labeltrans: 'typenotifs.new_rec_bacheca',
      descr: 'typenotifs.new_rec_bacheca_descr',
      icon:'fas fa-house-user',
      list: [
        {
          value: 1, // ID_BACHECA_NEW_GOOD
          labeltrans: 'notifsid.bacheca_new_good',
        },
        {
          value: 2, // ID_BACHECA_NEW_SERVICE
          labeltrans: 'notifsid.bacheca_new_service',
        }
      ],
    },
    {
      value: 2, //
      labeltrans: 'typenotifs.events',
      descr: 'typenotifs.events_descr',
      icon:'fas fa-bullhorn',
      list: [
        {
          value: 1, // ID_EVENTS_NEW_REC
          labeltrans: 'notifsid.events_new',
        }
      ],
    },
    {
      value: 3, //
      labeltrans: 'typenotifs.friends',
      descr: 'typenotifs.friends_descr',
      icon:'fas fa-user-plus',
      list: [
        {
          value: 1, // ID_FRIENDS_NEW_REC
          labeltrans: 'notifsid.friends_new',
        }
      ],
    },
    {
      value: 4, //
      labeltrans: 'typenotifs.groups',
      descr: 'typenotifs.friends_descr',
      icon:'fas fa-user-plus',
      list: [
        {
          value: 1, // ID_GROUP_NEW_REC
          labeltrans: 'notifsid.groups_new',
        }
      ],
    },
    {
      value: 5, //
      labeltrans: 'typenotifs.circuits',
      descr: 'typenotifs.circuits_descr',
      icon:'fas fa-coins',
      list: [
        {
          value: 1, // ID_CIRCUIT_NEW_REC
          labeltrans: 'notifsid.circuits_new',
        }
      ],
    },
    {
      value: 6, //
      labeltrans: 'typenotifs.booking',
      descr: '',
      icon:'fas fa-book-open',
    },
  ],



  UsersNotif_Adv_List: [
    /*{
      value: 1, // NEW_ADV_CITY
      labeltrans: 'notifs.warn_city',
      directory: 1,
    },*/
    {
      value: 2, // NEW_ADV_PROVINCE
      labeltrans: 'notifs.warn_province',
      directory: 1,
    },
    {
      value: 32, // NEW_ADV_SECTOR
      labeltrans: 'notifs.warn_sector',
      directory: 1,
    },
    {
      value: 4, // NEW_ADV_PROVINCE
      labeltrans: 'notifs.warn_region',
      directory: 1,
    },
    {
      value: 8, // NEW_ADV_MY_GROUPS
      labeltrans: 'notifs.warn_my_groups',
      directory: 1,
    },
    {
      value: 16, // NEW_ADV_MY_RIS_CIRCUIT
      labeltrans: 'notifs.warn_my_ris_circuit',
      directory: 1,
    },
    {
      value: 1, //
      labeltrans: 'notifs.new_event',
      directory: 2,
    },
    {
      value: 1, //
      labeltrans: 'notifs.new_friends',
      directory: 3,
    },
    {
      value: 1, // GroupsNotifs.STATUS_GROUPS_NEW
      labeltrans: 'notifsid.groups_new',
      directory: 4,
    },
    {
      value: 1, // GroupsNotifs.STATUS_GROUPS_NEW
      labeltrans: 'notifsid.circuits_new',
      directory: 5,
    },
  ],

  CIRCUIT_STATUS: {
    FASE0: 0,
    FASE1_CREAZIONE_GRUPPO: 1,
    FASE2_ORGANIZZAZIONE: 2,
    FASE3_MONETA_ABILITATA: 3,
  },

  TypesElem: [
    {
      value: 5,
      label: 'Titolo',
    },
    {
      value: 6,
      label: 'Margine',
    },
    {
      value: 8,
      label: 'ImgTitolo',
    },
    {
      value: 10,
      label: 'Testo',
    },
    {
      value: 20,
      label: 'Html',
    },
    {
      value: 30,
      label: 'Immagine',
    },
    {
      value: 40,
      label: 'Separatore',
    },
    {
      value: 50,
      label: 'Video',
    },
    {
      value: 55,
      label: 'Pagina',
    },
    {
      value: 58,
      label: 'Pagina Intro',
    },
    {
      value: 60,
      label: 'Galleria',
    },
    {
      value: 70,
      label: 'Calendario',
    },
    {
      value: 80,
      label: 'Carosello Discipline',
    },
    {
      value: 85,
      label: 'Carosello Home',
    },
    {
      value: 110,
      label: 'Carosello Immagini',
    },
    {
      value: 90,
      label: 'Footer',
    },
    {
      value: 100,
      label: 'Check Email',
    },
    {
      value: 120,
      label: 'OpenStreetMap',
    },
  ],

  ELEMTYPE: {
    TITLE: 5,
    MARGINI: 6,
    IMGTITLE: 8,
    TEXT: 10,
    HTML: 20,
    IMAGE: 30,
    SEPARATOR: 40,
    VIDEO: 50,
    PAGE: 55,
    PAGEINTRO: 58,
    GALLERY: 60,
    CALENDAR: 70,
    CAROUSEL_IDISCIPLINE: 80,
    CAROUSEL_HOME: 85,
    FOOTER: 90,
    CHECK_EMAIL: 100,
    CAROUSEL_IMGS: 110,
    OPENSTREETMAP: 120,
  },

  getStatusStr(status: number) {
    const trovatorec = this.OrderStatusStr.find((rec) => rec.value === status)
    return (trovatorec) ? trovatorec.label : ''
  },

  getLabelByValueAndArr(value: number, array: any) {
    const trovatorec = array.find((rec: any) => rec.value === value)
    return (trovatorec) ? trovatorec.label : ''
  },

  fieldsUserToChange() {
    return ['_id', 'username', 'group', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'notask_verif', 'verified_by_aportador', 'trust_modified', 'img', 'ipaddr', 'lasttimeonline', 'profile', 'news_on']
  },

}
