PageSourceSearch

https://www.bne.cl/static/scripts/numeral/locales/es.js?v=3.88.01_20260714060036

js bne.cl collected 2026-09-25 18:21:00 UTC 1,013 bytes, 37 lines download raw bytes

vendor: 1,013 bytes, lines 1-37
1// numeral.js locale configuration
2// locale : spanish
3// author : Hernan Garcia : https://github.com/hgarcia
4
5(function (global, factory) {
6    if (typeof define === 'function' && define.amd) {
7        define(['../numeral'], factory);
8    } else if (typeof module === 'object' && module.exports) {
9        factory(require('../numeral'));
10    } else {
11        factory(global.numeral);
12    }
13}(this, function (numeral) {
14    numeral.register('locale', 'es', {
15        delimiters: {
16            thousands: '.',
17            decimal: ','
18        },
19        abbreviations: {
20            thousand: 'k',
21            million: 'mm',
22            billion: 'b',
23            trillion: 't'
24        },
25        ordinal: function (number) {
26            var b = number % 10;
27            return (b === 1 || b === 3) ? 'er' :
28                (b === 2) ? 'do' :
29                (b === 7 || b === 0) ? 'mo' :
30		(b === 8) ? 'vo' :
31		(b === 9) ? 'no' : 'to';
32        },
33        currency: {
34            symbol: '$'
35        }
36    });
37}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.