{"version":3,"file":"validation.cjs","sources":["../../src/validation.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n  /** Array must have exactly \"$wantedLength\" items, but has more/less */\n  'array.exact-length': 'Debe tener exactamente {{wantedLength}} elementos',\n  /** Portable Text array must have exactly \"$wantedLength\" blocks, but has more/less */\n  'array.exact-length_blocks': 'Debe tener exactamente {{wantedLength}} bloques',\n  /** Array item is a duplicate, but array wants only unique items */\n  'array.item-duplicate': 'No puede ser un duplicado',\n  /** Array has more than the maximum of \"$maxLength\" items */\n  'array.maximum-length': 'Debe tener como máximo {{maxLength}} elementos',\n  /** Portable Text array has more than the maximum of \"$maxLength\" items */\n  'array.maximum-length_blocks': 'Debe tener como máximo {{maxLength}} bloques',\n  /** Array has less than the minimum of \"$minLength\" items */\n  'array.minimum-length': 'Debe tener al menos {{minLength}} elementos',\n  /** Portable Text array has less than the minimum of \"$minLength\" blocks */\n  'array.minimum-length_blocks': 'Debe tener al menos {{minLength}} bloques',\n\n  /** Date is not valid or not in the correct format (ISO-8601) */\n  'date.invalid-format': 'Debe ser una cadena de fecha con formato ISO-8601 válido',\n  /** Date is later than the given maximum date \"$maxDate\" */\n  'date.maximum': 'Debe ser en o antes de {{maxDate}}',\n  /** Date is earlier than the given minimum date \"$minDate\" */\n  'date.minimum': 'Debe ser en o después de {{minDate}}',\n\n  /** A value of incorrect type is found, eg found `number` instead of `string` */\n  'generic.incorrect-type': 'Se esperaba el tipo \"{{expectedType}}\", se obtuvo \"{{actualType}}\"',\n  /** Value is not one of the values specifically allowed */\n  'generic.not-allowed': 'El valor no coincide con ninguno de los valores permitidos',\n  /** Value \"$givenValue\" is not one of the values specifically allowed */\n  'generic.not-allowed_hint':\n    'El valor \"{{hint}}\" no coincide con ninguno de los valores permitidos',\n  /** A value is expected, but none is provided */\n  'generic.required': 'Requerido',\n\n  /** Number is less than the given minimum threshold value \"$threshold\" */\n  'number.greater-than': 'Debe ser mayor que {{threshold}}',\n  /** Number is greater than the given maximum threshold value \"$threshold\" */\n  'number.less-than': 'Debe ser menor que {{threshold}}',\n  /** Number is higher than the given maximum value \"$maxNumber\" */\n  'number.maximum': 'Debe ser menor o igual a {{maxNumber}}',\n  /** Number has more precision (decimals) than the allowed \"$limit\" */\n  'number.maximum-precision': 'La máxima precisión es {{limit}}',\n  /** Number is lower than the given minimum value \"$minNumber\" */\n  'number.minimum': 'Debe ser mayor o igual a {{minNumber}}',\n  /** Number is not an integer (\"whole number\") */\n  'number.non-integer': 'Debe ser un número entero',\n\n  /** Object is missing a reference to an asset document in its `asset` field */\n  'object.asset-required': 'Se requiere un archivo',\n  /** Object is missing a reference to a file asset document in its `asset` field */\n  'object.asset-required_file': 'Se requiere un archivo',\n  /** Object is missing a reference to an image asset document in its `asset` field */\n  'object.asset-required_image': 'Se requiere una imagen',\n  /** Media can't be found in the Media Library */\n  'object.media-not-found': 'El activo no pudo ser encontrado en la Biblioteca de Medios',\n  /** Media object is missing a reference to a document in its `_ref` field */\n  'object.not-media-library-asset':\n    'Debe ser una referencia a un activo de la Biblioteca de Medios',\n  /** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */\n  'object.not-reference': 'Debe ser una referencia a un documento',\n  /** Object references a document which is not published */\n  'object.reference-not-published': 'El documento referenciado debe estar publicado',\n\n  /** Accessibility label for closing the validation panel */\n  'panel.close-button-aria-label': 'Cerrar validación',\n  /** Message shown when the validation panel is opened but there are no errors/warnings */\n  'panel.no-errors-message': 'No hay errores de validación',\n  /** Title for the actual \"Validation\" panel/feature */\n  'panel.title': 'Validación',\n  /** Message shown when the validation panel is opened but the document is going to unpublish */\n  'panel.unpublish-message':\n    'El documento se va a despublicar, no se muestran errores de validación',\n\n  /** Slug is an object, but is missing a `current` string property */\n  'slug.missing-current': 'El slug debe tener un valor',\n  /** Slug is not an object (eg `{current: 'some-slug'}`) */\n  'slug.not-object': 'El slug debe ser un objeto',\n  /** Slug is already in use somewhere else, but needs to be unique */\n  'slug.not-unique': 'El slug ya está en uso',\n\n  /** String is not a valid email address */\n  'string.email': 'Debe ser una dirección de correo electrónico válida',\n  /** String has a different character length than the exact number \"$wantedLength\" */\n  'string.exact-length': 'Debe tener exactamente {{wantedLength}} caracteres de longitud',\n  /** String contains characters that are not in lowercase  */\n  'string.lowercase': 'Debe estar en minúsculas',\n  /** String is longer than the limit of \"$maxLength\" characters */\n  'string.maximum-length': 'Debe tener como máximo {{maxLength}} caracteres de longitud',\n  /** String is shorter than the limit of \"$minLength\" characters */\n  'string.minimum-length': 'Debe tener al menos {{minLength}} caracteres de longitud',\n  /** String does not match the given regular expression, but should */\n  'string.regex-does-not-match': 'No coincide con el patrón \"{{name}}\"',\n  /** String matches the given regular expression, but should not */\n  'string.regex-match': 'No debe coincidir con el patrón \"{{name}}\"',\n  /** String contains characters that are not in uppercase */\n  'string.uppercase': 'Debe estar en mayúsculas',\n  /** String contains a protocol/scheme that is not allowed, eg (`ftp`, `mailto`…) */\n  'string.url.disallowed-scheme': 'No coincide con los protocolos/esquemas permitidos',\n  /** String contains a URL with a username or password specified before the host */\n  'string.url.includes-credentials': 'No se permite nombre de usuario/contraseña',\n  /** String is not a valid URL */\n  'string.url.invalid': 'No es una URL válida',\n  /** String is not an absolute URL (eg it is missing a protocol/host) */\n  'string.url.not-absolute': 'No se permiten URLs relativas',\n  /** String is not a relative URL (eg it contains a protocol/host) */\n  'string.url.not-relative': 'Solo se permiten URLs relativas',\n})\n"],"names":["removeUndefinedLocaleResources"],"mappings":";gCAEA,aAAeA,sCAA+B;AAAA;AAAA,EAE5C,sBAAsB;AAAA;AAAA,EAEtB,6BAA6B;AAAA;AAAA,EAE7B,wBAAwB;AAAA;AAAA,EAExB,wBAAwB;AAAA;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAE/B,wBAAwB;AAAA;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAG/B,uBAAuB;AAAA;AAAA,EAEvB,gBAAgB;AAAA;AAAA,EAEhB,gBAAgB;AAAA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