/*
 * Copyright (C) Schweizerische Bundesbahnen SBB, 2014.
 */

/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
var h = {
    "vorne0": {
        3:[2,3,4],
        4:[1,5],
        5:[1,4,5],
        6:[1,3,5],
        7:[1,2,5],
        8:[1,5],
        9:[2,3,4]
    },
    "hinten0": {
        3:[8,9,10],
        4:[7,11],
        5:[7,10,11],
        6:[7,9,11],
        7:[7,8,11],
        8:[7,11],
        9:[8,9,10]
    },
    "vorne1": {
        3:[3],
        4:[2,3],
        5:[3],
        6:[3],
        7:[3],
        8:[3],
        9:[2,3,4]
    },
    "hinten1": {
        3:[9],
        4:[8,9],
        5:[9],
        6:[9],
        7:[9],
        8:[9],
        9:[8,9,10]
    },
    "vorne2": {
        3:[2,3,4],
        4:[1,5],
        5:[5],
        6:[4],
        7:[3],
        8:[2],
        9:[1,2,3,4,5]
    },
    "hinten2": {
        3:[8,9,10],
        4:[7,11],
        5:[11],
        6:[10],
        7:[9],
        8:[8],
        9:[7,8,9,10,11]
    },
    "vorne3": {
        3:[1,2,3,4,5],
        4:[4],
        5:[3],
        6:[4],
        7:[5],
        8:[1,5],
        9:[2,3,4]
    },
    "hinten3": {
        3:[7,8,9,10,11],
        4:[10],
        5:[9],
        6:[10],
        7:[11],
        8:[7,11],
        9:[8,9,10]
    },
    "vorne4": {
        3:[4],
        4:[3,4],
        5:[2,4],
        6:[1,4],
        7:[1,2,3,4,5],
        8:[4],
        9:[4]
    },
    "hinten4": {
        3:[10],
        4:[9,10],
        5:[8,10],
        6:[7,10],
        7:[7,8,9,10,11],
        8:[10],
        9:[10]
    },
    "vorne5": {
        3:[1,2,3,4,5],
        4:[1],
        5:[1,2,3,4],
        6:[5],
        7:[5],
        8:[1,5],
        9:[2,3,4]
    },
    "hinten5": {
        3:[7,8,9,10,11],
        4:[7],
        5:[7,8,9,10],
        6:[11],
        7:[11],
        8:[7,11],
        9:[8,9,10]
    },
    "hinten6": {
        3:[9,10],
        4:[8],
        5:[7],
        6:[7,8,9,10],
        7:[7,11],
        8:[7,11],
        9:[8,9,10]
    },
    "hinten7": {
        3:[7,8,9,10,11],
        4:[11],
        5:[10],
        6:[9],
        7:[8],
        8:[8],
        9:[8]
    },
    "hinten8": {
        3:[8,9,10],
        4:[7,11],
        5:[7,11],
        6:[8,9,10],
        7:[7,11],
        8:[7,11],
        9:[8,9,10]
    },
    "hinten9": {
        3:[8,9,10],
        4:[7,11],
        5:[7,11],
        6:[8,9,10,11],
        7:[11],
        8:[10],
        9:[8,9]
    }
};
var layout = {
	"version": 3,
	"language": 'Bärndütschi Sekunde (genau)',
	"letters": [
		'ESKISCHAFÜF',
		'VIERTUBFZÄÄ',
		'ZWÄNZGGENAU',
		'VORABOHAUBI',
		'EISZWÖISDRÜ',
		'VIERIFÜFIQT',
		'SÄCHSISIBNI',
		'ACHTINÜNIEL',
		'ZÄNIERBEUFI',
		'ZWÖUFINAUHR'
	],
    "seconds": {
        "0": [h.vorne0, h.hinten0]
    }
};
window,_uhr.register('de_CH_seconds', layout);