export const environment = {
  production: true
};

export const public_key = "WrBEGoJnMnMhC/2hiaYypcmPwP9Z4p4/bNex0T/WUWA=";
export const secret_key = "CEIBkv7QG1WoAoBO7Ny5cqzyJ5yCUwBMhnFYUBbCeTk=";

export const availableFiles = {
  "250": ["zip", "tar", "rar", "7z", "mp3", "mpeg", "wav", "ogg", "opus", "jpg", "png", "gif", "bmp", "tiff", "svg",
  "txt", "webm", "mp4", "3gp", "mov", "avi", "wmv", "flv", "dwg", "dxf", "3ds", "ai", "psd"],
  "50" : ["doc", "docx", "vsd", "vsdx", "pdf"],
  "75" : ["xls", "xlsx"],
  "100": ["ppt", "pptx"],
};

export const docClassification = [
  {category: 'Avisos',              code: 'AV'},
  {category: 'Audios',              code: 'AU'},
  {category: 'Catálogos',           code: 'CA'},
  {category: 'Certificaciones',     code: 'CE'},
  {category: 'Contratos',           code: 'CO'},
  {category: 'Diagramas o Planos',  code: 'DP'},
  {category: 'Facturas',            code: 'FA'},
  {category: 'Ficheros',            code: 'FI'},
  {category: 'Fotografías',         code: 'FO'},
  {category: 'Informes',            code: 'IN'},
  {category: 'Layouts',             code: 'LA'},
  {category: 'Órdenes',             code: 'OR'},
  {category: 'Plantillas',          code: 'PL'},
  {category: 'Referencias',         code: 'RE'},
  {category: 'Videos',              code: 'VI'},
];

export const modules = [
  {name: "Gestión de adquisiciones",                          code: "GEAD"},
  {name: "Gestión de inventario y/o stock",                   code: "GIST"},
  {name: "Gestión de mantenimiento preventivo",               code: "GMPR"},
  {name: "Gestión de mantenimiento correctivo",               code: "GMCO"},
  {name: "Gestión de equipamientos",                          code: "GEEQ"},
  {name: "Contadores y activadores",                          code: "COAC"},
  {name: "Gestión de los procesos",                           code: "GEPW"},
  {name: "Análisis de fallas",                                code: "ANFA"},
  {name: "Panel de control y seguimiento de actividades",     code: "PCSA"},
  {name: "Gestión del personal, recursos y subcontratación",  code: "GPRS"},
  {name: "Gestión de presupuesto",                            code: "GEPR"},
  {name: "Gestión documental electrónica",                    code: "GDEL"},
  {name: "Administrador del sistema",                         code: "ADSI"},
  {name: "Usuarios y perfiles",                               code: "USPE"},
];

export const supportedFiles = [
  {
    category: 'Office',
    files: [
      {name: 'Word',        ext: 'doc, docx'},
      {name: 'Excel',       ext: 'xls, xlsx'},
      {name: 'PowerPoint',  ext: 'ppt, pptx'},
      {name: 'Visio',       ext: 'vsd, vsdx'},
    ]
  },
  {
    category: 'Audio',
    files: [
      {name: '', ext: 'mp3'},
      {name: '', ext: 'wav'},
      {name: '', ext: 'ogg'},
      {name: '', ext: 'opus'},
    ]
  },
  {
    category: 'Video',
    files: [
      {name: '', ext: 'mpeg'},
      {name: '', ext: 'ogg'},
      {name: '', ext: 'opus'},
      {name: '', ext: 'webm'},
      {name: '', ext: 'mp4'},
      {name: '', ext: '3gp'},
      {name: '', ext: 'mov'},
      {name: '', ext: 'avi'},
      {name: '', ext: 'wmv'},
      {name: '', ext: 'flv'},
    ]
  },
  {
    category: 'Imagen',
    files: [
      {name: '', ext: 'jpg'},
      {name: '', ext: 'png'},
      {name: '', ext: 'bmp'},
      {name: '', ext: 'tiff'},
    ]
  },
  {
    category: 'Adobe',
    files: [
      {name: 'Photoshop',           ext: 'svg, psd'},
      {name: 'Illustrator',         ext: 'ai'},
      {name: 'Documento portátil',  ext: 'pdf'},
    ]
  },
  {
    category: 'Ficheros',
    files: [
      {name: '', ext: 'zip'},
      {name: '', ext: 'tar'},
      {name: '', ext: 'rar'},
      {name: '', ext: '7z'},
    ]
  },
  {
    category: 'Otros',
    files: [
      {name: 'Texto',       ext: 'txt'},
      {name: 'AutoCAD',     ext: 'dwg, dxf'},
      {name: 'Archivos 3D', ext: '3ds'},
    ]
  }
];

export const validateRFC = /^([A-ZÑ&]{3,4}) ?(?:- ?)?(\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])) ?(?:- ?)?([A-Z\d]{2})([A\d])$/;
// export const socket = 'http://localhost:3200';
export const socket = 'https://38934015f7aa.ngrok-free.app';
// export const apiTemp = `http://192.168.100.105:8000/api/`;
export const apiTemp = 'http://git.ittec.mx/sam/public/api/';


/*******************************************************************************/
/* Para evitar que surjan errores como en el sistema de vacaciones, se eliminó */
/* la constante 'apiUriJean' y solamente se utilizarán las contates 'socket' y */
/*  'apiTemp', ya están configurados los pares de rutas necesarios, por favor  */
/*   no crear más constantes, únicamente comentar y descomentar las que sean   */
/*                                 necesarias                                  */
/*******************************************************************************/
