PageSourceSearch

https://ecofy.taxi/main.js

js ecofy.taxi collected 2026-10-02 01:09:11 UTC 738 bytes, 47 lines download raw bytes

1const _app = {
2	main: {},
3	header: _header
4};
5
6const version = '1.14.0'
7
8var lang = new Lang();
9
10_app.main.getVersion = () => {	
11	return version;
12}
13
14_app.main.translateSetup = () => {		
15	const defaultLanguage = 'es';
16	
17	lang.dynamic('es', 'assets/translations/es.json');
18	lang.dynamic('en', 'assets/translations/en.json');			
19	
20	lang.init({
21		defaultLang: defaultLanguage
22	});	
23	
24	var language = _app.main.getStoredLanguage();
25	
26	if (!language) {
27		language = defaultLanguage;
28	}
29	
30	_app.header.translate(language);
31};
32
33_app.main.getStoredLanguage = () => {
34	var language;
35	
36	if (Cookies) {
37		language = Cookies.get(lang.cookieName);	
38	}	
39	
40	return language;
41}
42
43_app.main.load = () => {
44	_app.main.translateSetup();	
45};
46
47_app.main.load();

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.